@e1011/es-kit 1.2.0 → 1.2.4

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 (2004) hide show
  1. package/README.md +179 -34
  2. package/dist/hooks/_virtual/_rollupPluginBabelHelpers.js +1 -1
  3. package/dist/hooks/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
  4. package/dist/hooks/esm/index.css +388 -368
  5. package/dist/hooks/esm/node_modules/gsap/CSSPlugin.js +5 -6
  6. package/dist/hooks/esm/node_modules/gsap/CSSPlugin.js.map +1 -1
  7. package/dist/hooks/esm/node_modules/gsap/gsap-core.js +4 -5
  8. package/dist/hooks/esm/node_modules/gsap/gsap-core.js.map +1 -1
  9. package/dist/hooks/esm/node_modules/gsap/index.js +1 -1
  10. package/dist/hooks/esm/node_modules/gsap/index.js.map +1 -1
  11. package/dist/hooks/esm/node_modules/lodash-es/_getRawTag.js.map +1 -1
  12. package/dist/hooks/esm/node_modules/lodash-es/debounce.js.map +1 -1
  13. package/dist/hooks/esm/node_modules/lodash-es/toNumber.js.map +1 -1
  14. package/dist/hooks/esm/src/core/constants/ui.constants.js.map +1 -1
  15. package/dist/hooks/esm/src/core/hooks/useAnimation.js +1 -1
  16. package/dist/hooks/esm/src/core/hooks/useAnimation.js.map +1 -1
  17. package/dist/hooks/esm/src/core/hooks/useApi.js +1 -1
  18. package/dist/hooks/esm/src/core/hooks/useApi.js.map +1 -1
  19. package/dist/hooks/esm/src/core/hooks/useClassNames.js +1 -1
  20. package/dist/hooks/esm/src/core/hooks/useClassNames.js.map +1 -1
  21. package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js +1 -1
  22. package/dist/hooks/esm/src/core/hooks/useIntersectionObserver.js.map +1 -1
  23. package/dist/hooks/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  24. package/dist/hooks/esm/src/core/hooks/useParseProps.js.map +1 -1
  25. package/dist/hooks/esm/src/core/hooks/useResize.js +1 -1
  26. package/dist/hooks/esm/src/core/hooks/useResize.js.map +1 -1
  27. package/dist/hooks/esm/src/core/hooks/useThemePreference.js.map +1 -1
  28. package/dist/hooks/esm/src/core/hooks/useToggle.js +1 -1
  29. package/dist/hooks/esm/src/core/hooks/useToggle.js.map +1 -1
  30. package/dist/hooks/esm/src/core/hooks/useToggle2.js +1 -1
  31. package/dist/hooks/esm/src/core/hooks/useToggle2.js.map +1 -1
  32. package/dist/hooks/esm/src/core/ui/utils/clickOutside.js +1 -1
  33. package/dist/hooks/esm/src/core/ui/utils/clickOutside.js.map +1 -1
  34. package/dist/hooks/esm/src/core/utils/helpers/ui.js +1 -1
  35. package/dist/hooks/esm/src/core/utils/helpers/ui.js.map +1 -1
  36. package/dist/hooks/index.css +388 -368
  37. package/dist/hooks/node_modules/gsap/CSSPlugin.js +5 -6
  38. package/dist/hooks/node_modules/gsap/CSSPlugin.js.map +1 -1
  39. package/dist/hooks/node_modules/gsap/gsap-core.js +4 -5
  40. package/dist/hooks/node_modules/gsap/gsap-core.js.map +1 -1
  41. package/dist/hooks/node_modules/gsap/index.js +1 -1
  42. package/dist/hooks/node_modules/gsap/index.js.map +1 -1
  43. package/dist/hooks/node_modules/lodash-es/_baseGetTag.js.map +1 -1
  44. package/dist/hooks/node_modules/lodash-es/_getRawTag.js.map +1 -1
  45. package/dist/hooks/node_modules/lodash-es/_root.js.map +1 -1
  46. package/dist/hooks/node_modules/lodash-es/debounce.js.map +1 -1
  47. package/dist/hooks/node_modules/lodash-es/isSymbol.js.map +1 -1
  48. package/dist/hooks/node_modules/lodash-es/now.js.map +1 -1
  49. package/dist/hooks/node_modules/lodash-es/toNumber.js.map +1 -1
  50. package/dist/hooks/src/core/constants/ui.constants.js.map +1 -1
  51. package/dist/hooks/src/core/hooks/useAnimation.js +1 -1
  52. package/dist/hooks/src/core/hooks/useAnimation.js.map +1 -1
  53. package/dist/hooks/src/core/hooks/useApi.js +1 -1
  54. package/dist/hooks/src/core/hooks/useApi.js.map +1 -1
  55. package/dist/hooks/src/core/hooks/useClassNames.js +1 -1
  56. package/dist/hooks/src/core/hooks/useClassNames.js.map +1 -1
  57. package/dist/hooks/src/core/hooks/useIntersectionObserver.js +1 -1
  58. package/dist/hooks/src/core/hooks/useIntersectionObserver.js.map +1 -1
  59. package/dist/hooks/src/core/hooks/useOutsideClick.js.map +1 -1
  60. package/dist/hooks/src/core/hooks/useResize.js +1 -1
  61. package/dist/hooks/src/core/hooks/useResize.js.map +1 -1
  62. package/dist/hooks/src/core/hooks/useThemePreference.js.map +1 -1
  63. package/dist/hooks/src/core/hooks/useToggle.js +1 -1
  64. package/dist/hooks/src/core/hooks/useToggle.js.map +1 -1
  65. package/dist/hooks/src/core/hooks/useToggle2.js +1 -1
  66. package/dist/hooks/src/core/hooks/useToggle2.js.map +1 -1
  67. package/dist/hooks/src/core/ui/utils/clickOutside.js +1 -1
  68. package/dist/hooks/src/core/ui/utils/clickOutside.js.map +1 -1
  69. package/dist/hooks/src/core/utils/helpers/ui.js +1 -1
  70. package/dist/hooks/src/core/utils/helpers/ui.js.map +1 -1
  71. package/dist/lib/cjs/_virtual/_rollupPluginBabelHelpers.js +1 -1
  72. package/dist/lib/cjs/index.css +51 -31
  73. package/dist/lib/cjs/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
  74. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
  75. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js.map +1 -1
  76. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
  77. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js.map +1 -1
  78. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js.map +1 -1
  79. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js.map +1 -1
  80. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
  81. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js.map +1 -1
  82. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js.map +1 -1
  83. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
  84. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
  85. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js.map +1 -1
  86. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js.map +1 -1
  87. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js.map +1 -1
  88. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js.map +1 -1
  89. package/dist/lib/cjs/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js.map +1 -1
  90. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
  91. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
  92. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
  93. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
  94. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
  95. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
  96. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
  97. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
  98. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
  99. package/dist/lib/cjs/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
  100. package/dist/lib/cjs/node_modules/@popperjs/core/lib/popper.js.map +1 -1
  101. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
  102. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
  103. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
  104. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
  105. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
  106. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
  107. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
  108. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
  109. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
  110. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
  111. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
  112. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
  113. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
  114. package/dist/lib/cjs/node_modules/@popperjs/core/lib/utils/within.js.map +1 -1
  115. package/dist/lib/cjs/node_modules/core-js/internals/a-callable.js.map +1 -1
  116. package/dist/lib/cjs/node_modules/core-js/internals/add-to-unscopables.js.map +1 -1
  117. package/dist/lib/cjs/node_modules/core-js/internals/an-object.js.map +1 -1
  118. package/dist/lib/cjs/node_modules/core-js/internals/array-includes.js.map +1 -1
  119. package/dist/lib/cjs/node_modules/core-js/internals/classof-raw.js.map +1 -1
  120. package/dist/lib/cjs/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -1
  121. package/dist/lib/cjs/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -1
  122. package/dist/lib/cjs/node_modules/core-js/internals/define-built-in.js.map +1 -1
  123. package/dist/lib/cjs/node_modules/core-js/internals/define-global-property.js.map +1 -1
  124. package/dist/lib/cjs/node_modules/core-js/internals/descriptors.js.map +1 -1
  125. package/dist/lib/cjs/node_modules/core-js/internals/document-create-element.js.map +1 -1
  126. package/dist/lib/cjs/node_modules/core-js/internals/environment-user-agent.js.map +1 -1
  127. package/dist/lib/cjs/node_modules/core-js/internals/environment-v8-version.js.map +1 -1
  128. package/dist/lib/cjs/node_modules/core-js/internals/export.js.map +1 -1
  129. package/dist/lib/cjs/node_modules/core-js/internals/fails.js.map +1 -1
  130. package/dist/lib/cjs/node_modules/core-js/internals/function-bind-native.js.map +1 -1
  131. package/dist/lib/cjs/node_modules/core-js/internals/function-call.js.map +1 -1
  132. package/dist/lib/cjs/node_modules/core-js/internals/function-name.js +1 -1
  133. package/dist/lib/cjs/node_modules/core-js/internals/function-name.js.map +1 -1
  134. package/dist/lib/cjs/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
  135. package/dist/lib/cjs/node_modules/core-js/internals/get-built-in.js.map +1 -1
  136. package/dist/lib/cjs/node_modules/core-js/internals/get-method.js.map +1 -1
  137. package/dist/lib/cjs/node_modules/core-js/internals/has-own-property.js.map +1 -1
  138. package/dist/lib/cjs/node_modules/core-js/internals/html.js.map +1 -1
  139. package/dist/lib/cjs/node_modules/core-js/internals/ie8-dom-define.js.map +1 -1
  140. package/dist/lib/cjs/node_modules/core-js/internals/indexed-object.js.map +1 -1
  141. package/dist/lib/cjs/node_modules/core-js/internals/inspect-source.js.map +1 -1
  142. package/dist/lib/cjs/node_modules/core-js/internals/internal-state.js +1 -1
  143. package/dist/lib/cjs/node_modules/core-js/internals/internal-state.js.map +1 -1
  144. package/dist/lib/cjs/node_modules/core-js/internals/is-forced.js.map +1 -1
  145. package/dist/lib/cjs/node_modules/core-js/internals/is-object.js.map +1 -1
  146. package/dist/lib/cjs/node_modules/core-js/internals/is-symbol.js.map +1 -1
  147. package/dist/lib/cjs/node_modules/core-js/internals/length-of-array-like.js.map +1 -1
  148. package/dist/lib/cjs/node_modules/core-js/internals/make-built-in.js.map +1 -1
  149. package/dist/lib/cjs/node_modules/core-js/internals/object-create.js.map +1 -1
  150. package/dist/lib/cjs/node_modules/core-js/internals/object-define-properties.js.map +1 -1
  151. package/dist/lib/cjs/node_modules/core-js/internals/object-define-property.js.map +1 -1
  152. package/dist/lib/cjs/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
  153. package/dist/lib/cjs/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
  154. package/dist/lib/cjs/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
  155. package/dist/lib/cjs/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -1
  156. package/dist/lib/cjs/node_modules/core-js/internals/object-keys-internal.js.map +1 -1
  157. package/dist/lib/cjs/node_modules/core-js/internals/object-keys.js.map +1 -1
  158. package/dist/lib/cjs/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
  159. package/dist/lib/cjs/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -1
  160. package/dist/lib/cjs/node_modules/core-js/internals/own-keys.js.map +1 -1
  161. package/dist/lib/cjs/node_modules/core-js/internals/require-object-coercible.js.map +1 -1
  162. package/dist/lib/cjs/node_modules/core-js/internals/shared-key.js.map +1 -1
  163. package/dist/lib/cjs/node_modules/core-js/internals/shared-store.js +1 -1
  164. package/dist/lib/cjs/node_modules/core-js/internals/shared-store.js.map +1 -1
  165. package/dist/lib/cjs/node_modules/core-js/internals/shared.js.map +1 -1
  166. package/dist/lib/cjs/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
  167. package/dist/lib/cjs/node_modules/core-js/internals/to-absolute-index.js.map +1 -1
  168. package/dist/lib/cjs/node_modules/core-js/internals/to-indexed-object.js.map +1 -1
  169. package/dist/lib/cjs/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -1
  170. package/dist/lib/cjs/node_modules/core-js/internals/to-length.js.map +1 -1
  171. package/dist/lib/cjs/node_modules/core-js/internals/to-object.js.map +1 -1
  172. package/dist/lib/cjs/node_modules/core-js/internals/to-primitive.js.map +1 -1
  173. package/dist/lib/cjs/node_modules/core-js/internals/to-property-key.js.map +1 -1
  174. package/dist/lib/cjs/node_modules/core-js/internals/try-to-string.js.map +1 -1
  175. package/dist/lib/cjs/node_modules/core-js/internals/uid.js +1 -1
  176. package/dist/lib/cjs/node_modules/core-js/internals/uid.js.map +1 -1
  177. package/dist/lib/cjs/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -1
  178. package/dist/lib/cjs/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -1
  179. package/dist/lib/cjs/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -1
  180. package/dist/lib/cjs/node_modules/core-js/internals/well-known-symbol.js.map +1 -1
  181. package/dist/lib/cjs/node_modules/core-js/modules/es.array.includes.js +2 -0
  182. package/dist/lib/cjs/node_modules/core-js/modules/es.array.includes.js.map +1 -0
  183. package/dist/lib/cjs/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
  184. package/dist/lib/cjs/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
  185. package/dist/lib/cjs/node_modules/dayjs/plugin/updateLocale.js +1 -1
  186. package/dist/lib/cjs/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
  187. package/dist/lib/cjs/node_modules/gsap/CSSPlugin.js +5 -6
  188. package/dist/lib/cjs/node_modules/gsap/CSSPlugin.js.map +1 -1
  189. package/dist/lib/cjs/node_modules/gsap/gsap-core.js +4 -5
  190. package/dist/lib/cjs/node_modules/gsap/gsap-core.js.map +1 -1
  191. package/dist/lib/cjs/node_modules/gsap/index.js +1 -1
  192. package/dist/lib/cjs/node_modules/gsap/index.js.map +1 -1
  193. package/dist/lib/cjs/node_modules/lodash-es/_baseGetTag.js.map +1 -1
  194. package/dist/lib/cjs/node_modules/lodash-es/_getRawTag.js.map +1 -1
  195. package/dist/lib/cjs/node_modules/lodash-es/_root.js.map +1 -1
  196. package/dist/lib/cjs/node_modules/lodash-es/debounce.js.map +1 -1
  197. package/dist/lib/cjs/node_modules/lodash-es/isSymbol.js.map +1 -1
  198. package/dist/lib/cjs/node_modules/lodash-es/now.js.map +1 -1
  199. package/dist/lib/cjs/node_modules/lodash-es/toNumber.js.map +1 -1
  200. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
  201. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/v4.js +1 -1
  202. package/dist/lib/cjs/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  203. package/dist/lib/cjs/src/core/constants/ui.constants.js.map +1 -1
  204. package/dist/lib/cjs/src/core/hooks/useAnimation.js +1 -1
  205. package/dist/lib/cjs/src/core/hooks/useAnimation.js.map +1 -1
  206. package/dist/lib/cjs/src/core/hooks/useApi.js +1 -1
  207. package/dist/lib/cjs/src/core/hooks/useApi.js.map +1 -1
  208. package/dist/lib/cjs/src/core/hooks/useClassNames.js +1 -1
  209. package/dist/lib/cjs/src/core/hooks/useClassNames.js.map +1 -1
  210. package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js +1 -1
  211. package/dist/lib/cjs/src/core/hooks/useIntersectionObserver.js.map +1 -1
  212. package/dist/lib/cjs/src/core/hooks/useOutsideClick.js.map +1 -1
  213. package/dist/lib/cjs/src/core/hooks/useResize.js +1 -1
  214. package/dist/lib/cjs/src/core/hooks/useResize.js.map +1 -1
  215. package/dist/lib/cjs/src/core/hooks/useThemePreference.js.map +1 -1
  216. package/dist/lib/cjs/src/core/hooks/useToggle.js +1 -1
  217. package/dist/lib/cjs/src/core/hooks/useToggle.js.map +1 -1
  218. package/dist/lib/cjs/src/core/hooks/useToggle2.js +1 -1
  219. package/dist/lib/cjs/src/core/hooks/useToggle2.js.map +1 -1
  220. package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js +1 -1
  221. package/dist/lib/cjs/src/core/ui/components/atoms/button/Button.js.map +1 -1
  222. package/dist/lib/cjs/src/core/ui/components/atoms/icons.js.map +1 -1
  223. package/dist/lib/cjs/src/core/ui/components/atoms/tag/Tag.js +1 -1
  224. package/dist/lib/cjs/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  225. package/dist/lib/cjs/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
  226. package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js +1 -1
  227. package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  228. package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js +1 -1
  229. package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js.map +1 -1
  230. package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  231. package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  232. package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js +1 -1
  233. package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js.map +1 -1
  234. package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  235. package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  236. package/dist/lib/cjs/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
  237. package/dist/lib/cjs/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
  238. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  239. package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  240. package/dist/lib/cjs/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  241. package/dist/lib/cjs/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  242. package/dist/lib/cjs/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
  243. package/dist/lib/cjs/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  244. package/dist/lib/cjs/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  245. package/dist/lib/cjs/src/core/ui/components/container/ResizableContainer.js +1 -1
  246. package/dist/lib/cjs/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  247. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  248. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  249. package/dist/lib/cjs/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  250. package/dist/lib/cjs/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  251. package/dist/lib/cjs/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  252. package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js +1 -1
  253. package/dist/lib/cjs/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  254. package/dist/lib/cjs/src/core/ui/components/error/ErrorBoundary.js +1 -1
  255. package/dist/lib/cjs/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  256. package/dist/lib/cjs/src/core/ui/components/field/Field.js +1 -1
  257. package/dist/lib/cjs/src/core/ui/components/field/Field.js.map +1 -1
  258. package/dist/lib/cjs/src/core/ui/components/field/field.module.scss.js +1 -1
  259. package/dist/lib/cjs/src/core/ui/components/icon/Icon.js +1 -1
  260. package/dist/lib/cjs/src/core/ui/components/icon/Icon.js.map +1 -1
  261. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js +1 -1
  262. package/dist/lib/cjs/src/core/ui/components/icon/IconBase.js.map +1 -1
  263. package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js +1 -1
  264. package/dist/lib/cjs/src/core/ui/components/icon/IconWC.js.map +1 -1
  265. package/dist/lib/cjs/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  266. package/dist/lib/cjs/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  267. package/dist/lib/cjs/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  268. package/dist/lib/cjs/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  269. package/dist/lib/cjs/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  270. package/dist/lib/cjs/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  271. package/dist/lib/cjs/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  272. package/dist/lib/cjs/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  273. package/dist/lib/cjs/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
  274. package/dist/lib/cjs/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
  275. package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js +1 -1
  276. package/dist/lib/cjs/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  277. package/dist/lib/cjs/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
  278. package/dist/lib/cjs/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
  279. package/dist/lib/cjs/src/core/ui/utils/clickOutside.js +1 -1
  280. package/dist/lib/cjs/src/core/ui/utils/clickOutside.js.map +1 -1
  281. package/dist/lib/cjs/src/core/ui/utils/style.js +1 -1
  282. package/dist/lib/cjs/src/core/ui/utils/style.js.map +1 -1
  283. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
  284. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
  285. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  286. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  287. package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  288. package/dist/lib/cjs/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
  289. package/dist/lib/cjs/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
  290. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js +1 -1
  291. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  292. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
  293. package/dist/lib/cjs/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
  294. package/dist/lib/cjs/src/core/utils/appState/store/useStore.react.js.map +1 -1
  295. package/dist/lib/cjs/src/core/utils/array.js.map +1 -1
  296. package/dist/lib/cjs/src/core/utils/date.js +1 -1
  297. package/dist/lib/cjs/src/core/utils/date.js.map +1 -1
  298. package/dist/lib/cjs/src/core/utils/helpers/birthnumber.validator.js +1 -1
  299. package/dist/lib/cjs/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
  300. package/dist/lib/cjs/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
  301. package/dist/lib/cjs/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
  302. package/dist/lib/cjs/src/core/utils/helpers/date.js.map +1 -1
  303. package/dist/lib/cjs/src/core/utils/helpers/deviceInfo.js +1 -1
  304. package/dist/lib/cjs/src/core/utils/helpers/deviceInfo.js.map +1 -1
  305. package/dist/lib/cjs/src/core/utils/helpers/emailMatcher.js +1 -1
  306. package/dist/lib/cjs/src/core/utils/helpers/emailMatcher.js.map +1 -1
  307. package/dist/lib/cjs/src/core/utils/helpers/file.js +1 -1
  308. package/dist/lib/cjs/src/core/utils/helpers/file.js.map +1 -1
  309. package/dist/lib/cjs/src/core/utils/helpers/fileValidator.js +1 -1
  310. package/dist/lib/cjs/src/core/utils/helpers/fileValidator.js.map +1 -1
  311. package/dist/lib/cjs/src/core/utils/helpers/objectOperations.js +1 -1
  312. package/dist/lib/cjs/src/core/utils/helpers/objectOperations.js.map +1 -1
  313. package/dist/lib/cjs/src/core/utils/helpers/other.js +1 -1
  314. package/dist/lib/cjs/src/core/utils/helpers/other.js.map +1 -1
  315. package/dist/lib/cjs/src/core/utils/helpers/text.js +1 -1
  316. package/dist/lib/cjs/src/core/utils/helpers/text.js.map +1 -1
  317. package/dist/lib/cjs/src/core/utils/helpers/textValueOperations.js +1 -1
  318. package/dist/lib/cjs/src/core/utils/helpers/textValueOperations.js.map +1 -1
  319. package/dist/lib/cjs/src/core/utils/helpers/ui.js +1 -1
  320. package/dist/lib/cjs/src/core/utils/helpers/ui.js.map +1 -1
  321. package/dist/lib/cjs/src/core/utils/helpers/valueOperations.js +1 -1
  322. package/dist/lib/cjs/src/core/utils/helpers/valueOperations.js.map +1 -1
  323. package/dist/lib/cjs/src/core/utils/keyExtractor.js +1 -1
  324. package/dist/lib/cjs/src/core/utils/keyExtractor.js.map +1 -1
  325. package/dist/lib/cjs/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
  326. package/dist/lib/cjs/src/index.js +1 -1
  327. package/dist/lib/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
  328. package/dist/lib/esm/index.css +51 -31
  329. package/dist/lib/esm/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
  330. package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
  331. package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +1 -1
  332. package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
  333. package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
  334. package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
  335. package/dist/lib/esm/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
  336. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
  337. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
  338. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
  339. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
  340. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
  341. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
  342. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
  343. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
  344. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
  345. package/dist/lib/esm/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
  346. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
  347. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
  348. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
  349. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
  350. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
  351. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
  352. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
  353. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
  354. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
  355. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
  356. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
  357. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
  358. package/dist/lib/esm/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
  359. package/dist/lib/esm/node_modules/core-js/internals/array-includes.js.map +1 -1
  360. package/dist/lib/esm/node_modules/core-js/internals/classof-raw.js.map +1 -1
  361. package/dist/lib/esm/node_modules/core-js/internals/define-built-in.js.map +1 -1
  362. package/dist/lib/esm/node_modules/core-js/internals/define-global-property.js.map +1 -1
  363. package/dist/lib/esm/node_modules/core-js/internals/descriptors.js.map +1 -1
  364. package/dist/lib/esm/node_modules/core-js/internals/document-create-element.js.map +1 -1
  365. package/dist/lib/esm/node_modules/core-js/internals/fails.js.map +1 -1
  366. package/dist/lib/esm/node_modules/core-js/internals/function-bind-native.js.map +1 -1
  367. package/dist/lib/esm/node_modules/core-js/internals/function-call.js.map +1 -1
  368. package/dist/lib/esm/node_modules/core-js/internals/function-name.js +1 -1
  369. package/dist/lib/esm/node_modules/core-js/internals/function-name.js.map +1 -1
  370. package/dist/lib/esm/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
  371. package/dist/lib/esm/node_modules/core-js/internals/has-own-property.js.map +1 -1
  372. package/dist/lib/esm/node_modules/core-js/internals/inspect-source.js.map +1 -1
  373. package/dist/lib/esm/node_modules/core-js/internals/internal-state.js +1 -1
  374. package/dist/lib/esm/node_modules/core-js/internals/internal-state.js.map +1 -1
  375. package/dist/lib/esm/node_modules/core-js/internals/is-forced.js.map +1 -1
  376. package/dist/lib/esm/node_modules/core-js/internals/make-built-in.js.map +1 -1
  377. package/dist/lib/esm/node_modules/core-js/internals/object-create.js.map +1 -1
  378. package/dist/lib/esm/node_modules/core-js/internals/object-define-property.js.map +1 -1
  379. package/dist/lib/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
  380. package/dist/lib/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
  381. package/dist/lib/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
  382. package/dist/lib/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
  383. package/dist/lib/esm/node_modules/core-js/internals/shared-store.js +1 -1
  384. package/dist/lib/esm/node_modules/core-js/internals/shared-store.js.map +1 -1
  385. package/dist/lib/esm/node_modules/core-js/internals/try-to-string.js.map +1 -1
  386. package/dist/lib/esm/node_modules/core-js/internals/uid.js +1 -1
  387. package/dist/lib/esm/node_modules/core-js/internals/uid.js.map +1 -1
  388. package/dist/lib/esm/node_modules/core-js/modules/es.array.includes.js +2 -0
  389. package/dist/lib/esm/node_modules/core-js/modules/es.array.includes.js.map +1 -0
  390. package/dist/lib/esm/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
  391. package/dist/lib/esm/node_modules/dayjs/plugin/relativeTime.js +1 -1
  392. package/dist/lib/esm/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
  393. package/dist/lib/esm/node_modules/dayjs/plugin/updateLocale.js +1 -1
  394. package/dist/lib/esm/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
  395. package/dist/lib/esm/node_modules/gsap/CSSPlugin.js +5 -6
  396. package/dist/lib/esm/node_modules/gsap/CSSPlugin.js.map +1 -1
  397. package/dist/lib/esm/node_modules/gsap/gsap-core.js +4 -5
  398. package/dist/lib/esm/node_modules/gsap/gsap-core.js.map +1 -1
  399. package/dist/lib/esm/node_modules/gsap/index.js +1 -1
  400. package/dist/lib/esm/node_modules/gsap/index.js.map +1 -1
  401. package/dist/lib/esm/node_modules/lodash-es/_getRawTag.js.map +1 -1
  402. package/dist/lib/esm/node_modules/lodash-es/debounce.js.map +1 -1
  403. package/dist/lib/esm/node_modules/lodash-es/toNumber.js.map +1 -1
  404. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
  405. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/v4.js +1 -1
  406. package/dist/lib/esm/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  407. package/dist/lib/esm/src/core/constants/ui.constants.js.map +1 -1
  408. package/dist/lib/esm/src/core/hooks/useAnimation.js +1 -1
  409. package/dist/lib/esm/src/core/hooks/useAnimation.js.map +1 -1
  410. package/dist/lib/esm/src/core/hooks/useApi.js +1 -1
  411. package/dist/lib/esm/src/core/hooks/useApi.js.map +1 -1
  412. package/dist/lib/esm/src/core/hooks/useClassNames.js +1 -1
  413. package/dist/lib/esm/src/core/hooks/useClassNames.js.map +1 -1
  414. package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js +1 -1
  415. package/dist/lib/esm/src/core/hooks/useIntersectionObserver.js.map +1 -1
  416. package/dist/lib/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  417. package/dist/lib/esm/src/core/hooks/useParseProps.js.map +1 -1
  418. package/dist/lib/esm/src/core/hooks/useResize.js +1 -1
  419. package/dist/lib/esm/src/core/hooks/useResize.js.map +1 -1
  420. package/dist/lib/esm/src/core/hooks/useThemePreference.js.map +1 -1
  421. package/dist/lib/esm/src/core/hooks/useToggle.js +1 -1
  422. package/dist/lib/esm/src/core/hooks/useToggle.js.map +1 -1
  423. package/dist/lib/esm/src/core/hooks/useToggle2.js +1 -1
  424. package/dist/lib/esm/src/core/hooks/useToggle2.js.map +1 -1
  425. package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js +1 -1
  426. package/dist/lib/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
  427. package/dist/lib/esm/src/core/ui/components/atoms/icons.js.map +1 -1
  428. package/dist/lib/esm/src/core/ui/components/atoms/tag/Tag.js +1 -1
  429. package/dist/lib/esm/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  430. package/dist/lib/esm/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
  431. package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js +1 -1
  432. package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  433. package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js +1 -1
  434. package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
  435. package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  436. package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  437. package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js +1 -1
  438. package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
  439. package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  440. package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  441. package/dist/lib/esm/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
  442. package/dist/lib/esm/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
  443. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  444. package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  445. package/dist/lib/esm/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  446. package/dist/lib/esm/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  447. package/dist/lib/esm/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
  448. package/dist/lib/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  449. package/dist/lib/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  450. package/dist/lib/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
  451. package/dist/lib/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  452. package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  453. package/dist/lib/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  454. package/dist/lib/esm/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  455. package/dist/lib/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  456. package/dist/lib/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  457. package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
  458. package/dist/lib/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  459. package/dist/lib/esm/src/core/ui/components/error/ErrorBoundary.js +1 -1
  460. package/dist/lib/esm/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  461. package/dist/lib/esm/src/core/ui/components/field/Field.js +1 -1
  462. package/dist/lib/esm/src/core/ui/components/field/Field.js.map +1 -1
  463. package/dist/lib/esm/src/core/ui/components/field/field.module.scss.js +1 -1
  464. package/dist/lib/esm/src/core/ui/components/icon/Icon.js +1 -1
  465. package/dist/lib/esm/src/core/ui/components/icon/Icon.js.map +1 -1
  466. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js +1 -1
  467. package/dist/lib/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  468. package/dist/lib/esm/src/core/ui/components/icon/IconWC.js +1 -1
  469. package/dist/lib/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
  470. package/dist/lib/esm/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  471. package/dist/lib/esm/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  472. package/dist/lib/esm/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  473. package/dist/lib/esm/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  474. package/dist/lib/esm/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  475. package/dist/lib/esm/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  476. package/dist/lib/esm/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  477. package/dist/lib/esm/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  478. package/dist/lib/esm/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
  479. package/dist/lib/esm/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
  480. package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js +1 -1
  481. package/dist/lib/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  482. package/dist/lib/esm/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
  483. package/dist/lib/esm/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
  484. package/dist/lib/esm/src/core/ui/utils/clickOutside.js +1 -1
  485. package/dist/lib/esm/src/core/ui/utils/clickOutside.js.map +1 -1
  486. package/dist/lib/esm/src/core/ui/utils/style.js +1 -1
  487. package/dist/lib/esm/src/core/ui/utils/style.js.map +1 -1
  488. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
  489. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  490. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  491. package/dist/lib/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  492. package/dist/lib/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
  493. package/dist/lib/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
  494. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js +1 -1
  495. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  496. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
  497. package/dist/lib/esm/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
  498. package/dist/lib/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
  499. package/dist/lib/esm/src/core/utils/array.js.map +1 -1
  500. package/dist/lib/esm/src/core/utils/date.js +1 -1
  501. package/dist/lib/esm/src/core/utils/date.js.map +1 -1
  502. package/dist/lib/esm/src/core/utils/helpers/birthnumber.validator.js +1 -1
  503. package/dist/lib/esm/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
  504. package/dist/lib/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
  505. package/dist/lib/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
  506. package/dist/lib/esm/src/core/utils/helpers/date.js.map +1 -1
  507. package/dist/lib/esm/src/core/utils/helpers/deviceInfo.js +1 -1
  508. package/dist/lib/esm/src/core/utils/helpers/deviceInfo.js.map +1 -1
  509. package/dist/lib/esm/src/core/utils/helpers/emailMatcher.js +1 -1
  510. package/dist/lib/esm/src/core/utils/helpers/emailMatcher.js.map +1 -1
  511. package/dist/lib/esm/src/core/utils/helpers/file.js +1 -1
  512. package/dist/lib/esm/src/core/utils/helpers/file.js.map +1 -1
  513. package/dist/lib/esm/src/core/utils/helpers/fileValidator.js +1 -1
  514. package/dist/lib/esm/src/core/utils/helpers/fileValidator.js.map +1 -1
  515. package/dist/lib/esm/src/core/utils/helpers/objectOperations.js +1 -1
  516. package/dist/lib/esm/src/core/utils/helpers/objectOperations.js.map +1 -1
  517. package/dist/lib/esm/src/core/utils/helpers/other.js +1 -1
  518. package/dist/lib/esm/src/core/utils/helpers/other.js.map +1 -1
  519. package/dist/lib/esm/src/core/utils/helpers/text.js +1 -1
  520. package/dist/lib/esm/src/core/utils/helpers/text.js.map +1 -1
  521. package/dist/lib/esm/src/core/utils/helpers/textValueOperations.js +1 -1
  522. package/dist/lib/esm/src/core/utils/helpers/textValueOperations.js.map +1 -1
  523. package/dist/lib/esm/src/core/utils/helpers/ui.js +1 -1
  524. package/dist/lib/esm/src/core/utils/helpers/ui.js.map +1 -1
  525. package/dist/lib/esm/src/core/utils/helpers/valueOperations.js +1 -1
  526. package/dist/lib/esm/src/core/utils/helpers/valueOperations.js.map +1 -1
  527. package/dist/lib/esm/src/core/utils/keyExtractor.js +1 -1
  528. package/dist/lib/esm/src/core/utils/keyExtractor.js.map +1 -1
  529. package/dist/lib/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
  530. package/dist/lib/esm/src/index.js +1 -1
  531. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  532. package/dist/types/src/core/hooks/hooks.stories.d.ts +1 -1
  533. package/dist/types/src/core/hooks/hooks.stories.d.ts.map +1 -1
  534. package/dist/types/src/core/hooks/useAnimation.d.ts.map +1 -1
  535. package/dist/types/src/core/hooks/useApi.d.ts.map +1 -1
  536. package/dist/types/src/core/hooks/useClassNames.d.ts.map +1 -1
  537. package/dist/types/src/core/hooks/useIntersectionObserver.d.ts.map +1 -1
  538. package/dist/types/src/core/hooks/useParseProps.d.ts.map +1 -1
  539. package/dist/types/src/core/hooks/useResize.d.ts.map +1 -1
  540. package/dist/types/src/core/hooks/useSetTimeout.d.ts.map +1 -1
  541. package/dist/types/src/core/hooks/useThemePreference.d.ts.map +1 -1
  542. package/dist/types/src/core/hooks/useToggle.d.ts.map +1 -1
  543. package/dist/types/src/core/hooks/useToggle2.d.ts.map +1 -1
  544. package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts +1 -1
  545. package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts.map +1 -1
  546. package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts +1 -1
  547. package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts.map +1 -1
  548. package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts +1 -1
  549. package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts.map +1 -1
  550. package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts +1 -1
  551. package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts.map +1 -1
  552. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts +2 -2
  553. package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts.map +1 -1
  554. package/dist/types/src/core/ui/components/atoms/toggle/toggle.stories.d.ts +1 -1
  555. package/dist/types/src/core/ui/components/atoms/toggle/toggle.stories.d.ts.map +1 -1
  556. package/dist/types/src/core/ui/components/container/lazyComponent/LazyComponent.d.ts.map +1 -1
  557. package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts +3 -3
  558. package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts.map +1 -1
  559. package/dist/types/src/core/ui/components/field/Field.d.ts.map +1 -1
  560. package/dist/types/src/core/ui/components/icon/unifyIconUrl.d.ts.map +1 -1
  561. package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts +2 -2
  562. package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts.map +1 -1
  563. package/dist/types/src/core/ui/utils/clickOutside.d.ts.map +1 -1
  564. package/dist/types/src/core/ui/utils/style.d.ts.map +1 -1
  565. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.d.ts.map +1 -1
  566. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts +1 -1
  567. package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts.map +1 -1
  568. package/dist/types/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.d.ts.map +1 -1
  569. package/dist/types/src/core/utils/appState/stateMachine/tiny-state-machine.base.d.ts.map +1 -1
  570. package/dist/types/src/core/utils/appState/store/simpleComponent/SimpleComponent.d.ts.map +1 -1
  571. package/dist/types/src/core/utils/appState/store/simpleComponent/SimpleComponent2.d.ts.map +1 -1
  572. package/dist/types/src/core/utils/appState/store/store.stories.d.ts +1 -1
  573. package/dist/types/src/core/utils/appState/store/store.stories.d.ts.map +1 -1
  574. package/dist/types/src/core/utils/appState/store/store.vanillajs.d.ts.map +1 -1
  575. package/dist/types/src/core/utils/appState/store/store.vanillajs.templates.d.ts.map +1 -1
  576. package/dist/types/src/core/utils/date.d.ts.map +1 -1
  577. package/dist/types/src/core/utils/decorators/convert.d.ts.map +1 -1
  578. package/dist/types/src/core/utils/helpers/birthnumber.validator.d.ts.map +1 -1
  579. package/dist/types/src/core/utils/helpers/birthnumberCZSKvalidator.d.ts.map +1 -1
  580. package/dist/types/src/core/utils/helpers/cancelableDelayedFunction.d.ts.map +1 -1
  581. package/dist/types/src/core/utils/helpers/date.d.ts.map +1 -1
  582. package/dist/types/src/core/utils/helpers/emailMatcher.d.ts.map +1 -1
  583. package/dist/types/src/core/utils/helpers/file.d.ts.map +1 -1
  584. package/dist/types/src/core/utils/helpers/fileValidator.d.ts.map +1 -1
  585. package/dist/types/src/core/utils/helpers/objectOperations.d.ts.map +1 -1
  586. package/dist/types/src/core/utils/helpers/other.d.ts.map +1 -1
  587. package/dist/types/src/core/utils/helpers/text.d.ts.map +1 -1
  588. package/dist/types/src/core/utils/helpers/textValueOperations.d.ts.map +1 -1
  589. package/dist/types/src/core/utils/helpers/ui.d.ts +11 -6
  590. package/dist/types/src/core/utils/helpers/ui.d.ts.map +1 -1
  591. package/dist/types/src/core/utils/helpers/valueOperations.d.ts.map +1 -1
  592. package/dist/types/src/core/utils/logger.spec.d.ts.map +1 -1
  593. package/dist/types/src/core/utils/test/testRenderer.d.ts.map +1 -1
  594. package/dist/types/src/core/utils/webComponents/webComponent.utils.d.ts.map +1 -1
  595. package/dist/ui/_virtual/_rollupPluginBabelHelpers.js +1 -1
  596. package/dist/ui/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
  597. package/dist/ui/esm/index.css +51 -31
  598. package/dist/ui/esm/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
  599. package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
  600. package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +1 -1
  601. package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
  602. package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
  603. package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
  604. package/dist/ui/esm/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
  605. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
  606. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
  607. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
  608. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
  609. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
  610. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
  611. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
  612. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
  613. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
  614. package/dist/ui/esm/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
  615. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
  616. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
  617. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
  618. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
  619. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
  620. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
  621. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
  622. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
  623. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
  624. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
  625. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
  626. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
  627. package/dist/ui/esm/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
  628. package/dist/ui/esm/node_modules/core-js/internals/array-includes.js.map +1 -1
  629. package/dist/ui/esm/node_modules/core-js/internals/classof-raw.js.map +1 -1
  630. package/dist/ui/esm/node_modules/core-js/internals/define-built-in.js.map +1 -1
  631. package/dist/ui/esm/node_modules/core-js/internals/define-global-property.js.map +1 -1
  632. package/dist/ui/esm/node_modules/core-js/internals/descriptors.js.map +1 -1
  633. package/dist/ui/esm/node_modules/core-js/internals/document-create-element.js.map +1 -1
  634. package/dist/ui/esm/node_modules/core-js/internals/fails.js.map +1 -1
  635. package/dist/ui/esm/node_modules/core-js/internals/function-bind-native.js.map +1 -1
  636. package/dist/ui/esm/node_modules/core-js/internals/function-call.js.map +1 -1
  637. package/dist/ui/esm/node_modules/core-js/internals/function-name.js +1 -1
  638. package/dist/ui/esm/node_modules/core-js/internals/function-name.js.map +1 -1
  639. package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
  640. package/dist/ui/esm/node_modules/core-js/internals/has-own-property.js.map +1 -1
  641. package/dist/ui/esm/node_modules/core-js/internals/inspect-source.js.map +1 -1
  642. package/dist/ui/esm/node_modules/core-js/internals/internal-state.js +1 -1
  643. package/dist/ui/esm/node_modules/core-js/internals/internal-state.js.map +1 -1
  644. package/dist/ui/esm/node_modules/core-js/internals/is-forced.js.map +1 -1
  645. package/dist/ui/esm/node_modules/core-js/internals/make-built-in.js.map +1 -1
  646. package/dist/ui/esm/node_modules/core-js/internals/object-create.js.map +1 -1
  647. package/dist/ui/esm/node_modules/core-js/internals/object-define-property.js.map +1 -1
  648. package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
  649. package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
  650. package/dist/ui/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
  651. package/dist/ui/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
  652. package/dist/ui/esm/node_modules/core-js/internals/shared-store.js +1 -1
  653. package/dist/ui/esm/node_modules/core-js/internals/shared-store.js.map +1 -1
  654. package/dist/ui/esm/node_modules/core-js/internals/try-to-string.js.map +1 -1
  655. package/dist/ui/esm/node_modules/core-js/internals/uid.js +1 -1
  656. package/dist/ui/esm/node_modules/core-js/internals/uid.js.map +1 -1
  657. package/dist/ui/esm/node_modules/core-js/modules/es.array.includes.js +2 -0
  658. package/dist/ui/esm/node_modules/core-js/modules/es.array.includes.js.map +1 -0
  659. package/dist/ui/esm/node_modules/lodash-es/_getRawTag.js.map +1 -1
  660. package/dist/ui/esm/node_modules/lodash-es/debounce.js.map +1 -1
  661. package/dist/ui/esm/node_modules/lodash-es/toNumber.js.map +1 -1
  662. package/dist/ui/esm/src/core/constants/ui.constants.js.map +1 -1
  663. package/dist/ui/esm/src/core/hooks/useClassNames.js +1 -1
  664. package/dist/ui/esm/src/core/hooks/useClassNames.js.map +1 -1
  665. package/dist/ui/esm/src/core/hooks/useOutsideClick.js.map +1 -1
  666. package/dist/ui/esm/src/core/hooks/useParseProps.js.map +1 -1
  667. package/dist/ui/esm/src/core/hooks/useResize.js +1 -1
  668. package/dist/ui/esm/src/core/hooks/useResize.js.map +1 -1
  669. package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js +1 -1
  670. package/dist/ui/esm/src/core/ui/components/atoms/button/Button.js.map +1 -1
  671. package/dist/ui/esm/src/core/ui/components/atoms/icons.js.map +1 -1
  672. package/dist/ui/esm/src/core/ui/components/atoms/tag/Tag.js +1 -1
  673. package/dist/ui/esm/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  674. package/dist/ui/esm/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
  675. package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js +1 -1
  676. package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  677. package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js +1 -1
  678. package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
  679. package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  680. package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  681. package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js +1 -1
  682. package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
  683. package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  684. package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  685. package/dist/ui/esm/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
  686. package/dist/ui/esm/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
  687. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  688. package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  689. package/dist/ui/esm/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  690. package/dist/ui/esm/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  691. package/dist/ui/esm/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
  692. package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  693. package/dist/ui/esm/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  694. package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js +1 -1
  695. package/dist/ui/esm/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  696. package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  697. package/dist/ui/esm/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  698. package/dist/ui/esm/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  699. package/dist/ui/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  700. package/dist/ui/esm/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  701. package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js +1 -1
  702. package/dist/ui/esm/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  703. package/dist/ui/esm/src/core/ui/components/error/ErrorBoundary.js +1 -1
  704. package/dist/ui/esm/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  705. package/dist/ui/esm/src/core/ui/components/field/Field.js +1 -1
  706. package/dist/ui/esm/src/core/ui/components/field/Field.js.map +1 -1
  707. package/dist/ui/esm/src/core/ui/components/field/field.module.scss.js +1 -1
  708. package/dist/ui/esm/src/core/ui/components/icon/Icon.js +1 -1
  709. package/dist/ui/esm/src/core/ui/components/icon/Icon.js.map +1 -1
  710. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js +1 -1
  711. package/dist/ui/esm/src/core/ui/components/icon/IconBase.js.map +1 -1
  712. package/dist/ui/esm/src/core/ui/components/icon/IconWC.js +1 -1
  713. package/dist/ui/esm/src/core/ui/components/icon/IconWC.js.map +1 -1
  714. package/dist/ui/esm/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  715. package/dist/ui/esm/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  716. package/dist/ui/esm/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  717. package/dist/ui/esm/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  718. package/dist/ui/esm/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  719. package/dist/ui/esm/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  720. package/dist/ui/esm/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  721. package/dist/ui/esm/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  722. package/dist/ui/esm/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
  723. package/dist/ui/esm/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
  724. package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js +1 -1
  725. package/dist/ui/esm/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  726. package/dist/ui/esm/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
  727. package/dist/ui/esm/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
  728. package/dist/ui/esm/src/core/ui/index.js +1 -1
  729. package/dist/ui/esm/src/core/ui/utils/clickOutside.js +1 -1
  730. package/dist/ui/esm/src/core/ui/utils/clickOutside.js.map +1 -1
  731. package/dist/ui/esm/src/core/ui/utils/style.js +1 -1
  732. package/dist/ui/esm/src/core/ui/utils/style.js.map +1 -1
  733. package/dist/ui/esm/src/core/utils/helpers/text.js +1 -1
  734. package/dist/ui/esm/src/core/utils/helpers/text.js.map +1 -1
  735. package/dist/ui/esm/src/core/utils/helpers/ui.js +1 -1
  736. package/dist/ui/esm/src/core/utils/helpers/ui.js.map +1 -1
  737. package/dist/ui/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
  738. package/dist/ui/index.css +51 -31
  739. package/dist/ui/node_modules/@popperjs/core/lib/createPopper.js.map +1 -1
  740. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/contains.js.map +1 -1
  741. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js.map +1 -1
  742. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js.map +1 -1
  743. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js.map +1 -1
  744. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js.map +1 -1
  745. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js.map +1 -1
  746. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js.map +1 -1
  747. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js.map +1 -1
  748. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js.map +1 -1
  749. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.map +1 -1
  750. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.map +1 -1
  751. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js.map +1 -1
  752. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js.map +1 -1
  753. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js.map +1 -1
  754. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js.map +1 -1
  755. package/dist/ui/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js.map +1 -1
  756. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/applyStyles.js.map +1 -1
  757. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/arrow.js.map +1 -1
  758. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.map +1 -1
  759. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/eventListeners.js.map +1 -1
  760. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/flip.js.map +1 -1
  761. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/hide.js.map +1 -1
  762. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/offset.js.map +1 -1
  763. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +1 -1
  764. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.map +1 -1
  765. package/dist/ui/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js.map +1 -1
  766. package/dist/ui/node_modules/@popperjs/core/lib/popper.js.map +1 -1
  767. package/dist/ui/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.map +1 -1
  768. package/dist/ui/node_modules/@popperjs/core/lib/utils/computeOffsets.js.map +1 -1
  769. package/dist/ui/node_modules/@popperjs/core/lib/utils/debounce.js.map +1 -1
  770. package/dist/ui/node_modules/@popperjs/core/lib/utils/detectOverflow.js +1 -1
  771. package/dist/ui/node_modules/@popperjs/core/lib/utils/detectOverflow.js.map +1 -1
  772. package/dist/ui/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.map +1 -1
  773. package/dist/ui/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.map +1 -1
  774. package/dist/ui/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.map +1 -1
  775. package/dist/ui/node_modules/@popperjs/core/lib/utils/mergeByName.js.map +1 -1
  776. package/dist/ui/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.map +1 -1
  777. package/dist/ui/node_modules/@popperjs/core/lib/utils/orderModifiers.js.map +1 -1
  778. package/dist/ui/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.map +1 -1
  779. package/dist/ui/node_modules/@popperjs/core/lib/utils/userAgent.js.map +1 -1
  780. package/dist/ui/node_modules/@popperjs/core/lib/utils/within.js.map +1 -1
  781. package/dist/ui/node_modules/core-js/internals/a-callable.js.map +1 -1
  782. package/dist/ui/node_modules/core-js/internals/add-to-unscopables.js.map +1 -1
  783. package/dist/ui/node_modules/core-js/internals/an-object.js.map +1 -1
  784. package/dist/ui/node_modules/core-js/internals/array-includes.js.map +1 -1
  785. package/dist/ui/node_modules/core-js/internals/classof-raw.js.map +1 -1
  786. package/dist/ui/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -1
  787. package/dist/ui/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -1
  788. package/dist/ui/node_modules/core-js/internals/define-built-in.js.map +1 -1
  789. package/dist/ui/node_modules/core-js/internals/define-global-property.js.map +1 -1
  790. package/dist/ui/node_modules/core-js/internals/descriptors.js.map +1 -1
  791. package/dist/ui/node_modules/core-js/internals/document-create-element.js.map +1 -1
  792. package/dist/ui/node_modules/core-js/internals/environment-user-agent.js.map +1 -1
  793. package/dist/ui/node_modules/core-js/internals/environment-v8-version.js.map +1 -1
  794. package/dist/ui/node_modules/core-js/internals/export.js.map +1 -1
  795. package/dist/ui/node_modules/core-js/internals/fails.js.map +1 -1
  796. package/dist/ui/node_modules/core-js/internals/function-bind-native.js.map +1 -1
  797. package/dist/ui/node_modules/core-js/internals/function-call.js.map +1 -1
  798. package/dist/ui/node_modules/core-js/internals/function-name.js +1 -1
  799. package/dist/ui/node_modules/core-js/internals/function-name.js.map +1 -1
  800. package/dist/ui/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
  801. package/dist/ui/node_modules/core-js/internals/get-built-in.js.map +1 -1
  802. package/dist/ui/node_modules/core-js/internals/get-method.js.map +1 -1
  803. package/dist/ui/node_modules/core-js/internals/has-own-property.js.map +1 -1
  804. package/dist/ui/node_modules/core-js/internals/html.js.map +1 -1
  805. package/dist/ui/node_modules/core-js/internals/ie8-dom-define.js.map +1 -1
  806. package/dist/ui/node_modules/core-js/internals/indexed-object.js.map +1 -1
  807. package/dist/ui/node_modules/core-js/internals/inspect-source.js.map +1 -1
  808. package/dist/ui/node_modules/core-js/internals/internal-state.js +1 -1
  809. package/dist/ui/node_modules/core-js/internals/internal-state.js.map +1 -1
  810. package/dist/ui/node_modules/core-js/internals/is-forced.js.map +1 -1
  811. package/dist/ui/node_modules/core-js/internals/is-object.js.map +1 -1
  812. package/dist/ui/node_modules/core-js/internals/is-symbol.js.map +1 -1
  813. package/dist/ui/node_modules/core-js/internals/length-of-array-like.js.map +1 -1
  814. package/dist/ui/node_modules/core-js/internals/make-built-in.js.map +1 -1
  815. package/dist/ui/node_modules/core-js/internals/object-create.js.map +1 -1
  816. package/dist/ui/node_modules/core-js/internals/object-define-properties.js.map +1 -1
  817. package/dist/ui/node_modules/core-js/internals/object-define-property.js.map +1 -1
  818. package/dist/ui/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
  819. package/dist/ui/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
  820. package/dist/ui/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
  821. package/dist/ui/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -1
  822. package/dist/ui/node_modules/core-js/internals/object-keys-internal.js.map +1 -1
  823. package/dist/ui/node_modules/core-js/internals/object-keys.js.map +1 -1
  824. package/dist/ui/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
  825. package/dist/ui/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -1
  826. package/dist/ui/node_modules/core-js/internals/own-keys.js.map +1 -1
  827. package/dist/ui/node_modules/core-js/internals/require-object-coercible.js.map +1 -1
  828. package/dist/ui/node_modules/core-js/internals/shared-key.js.map +1 -1
  829. package/dist/ui/node_modules/core-js/internals/shared-store.js +1 -1
  830. package/dist/ui/node_modules/core-js/internals/shared-store.js.map +1 -1
  831. package/dist/ui/node_modules/core-js/internals/shared.js.map +1 -1
  832. package/dist/ui/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
  833. package/dist/ui/node_modules/core-js/internals/to-absolute-index.js.map +1 -1
  834. package/dist/ui/node_modules/core-js/internals/to-indexed-object.js.map +1 -1
  835. package/dist/ui/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -1
  836. package/dist/ui/node_modules/core-js/internals/to-length.js.map +1 -1
  837. package/dist/ui/node_modules/core-js/internals/to-object.js.map +1 -1
  838. package/dist/ui/node_modules/core-js/internals/to-primitive.js.map +1 -1
  839. package/dist/ui/node_modules/core-js/internals/to-property-key.js.map +1 -1
  840. package/dist/ui/node_modules/core-js/internals/try-to-string.js.map +1 -1
  841. package/dist/ui/node_modules/core-js/internals/uid.js +1 -1
  842. package/dist/ui/node_modules/core-js/internals/uid.js.map +1 -1
  843. package/dist/ui/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -1
  844. package/dist/ui/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -1
  845. package/dist/ui/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -1
  846. package/dist/ui/node_modules/core-js/internals/well-known-symbol.js.map +1 -1
  847. package/dist/ui/node_modules/core-js/modules/es.array.includes.js +2 -0
  848. package/dist/ui/node_modules/core-js/modules/es.array.includes.js.map +1 -0
  849. package/dist/ui/node_modules/lodash-es/_baseGetTag.js.map +1 -1
  850. package/dist/ui/node_modules/lodash-es/_getRawTag.js.map +1 -1
  851. package/dist/ui/node_modules/lodash-es/_root.js.map +1 -1
  852. package/dist/ui/node_modules/lodash-es/debounce.js.map +1 -1
  853. package/dist/ui/node_modules/lodash-es/isSymbol.js.map +1 -1
  854. package/dist/ui/node_modules/lodash-es/now.js.map +1 -1
  855. package/dist/ui/node_modules/lodash-es/toNumber.js.map +1 -1
  856. package/dist/ui/src/core/constants/ui.constants.js.map +1 -1
  857. package/dist/ui/src/core/hooks/useClassNames.js +1 -1
  858. package/dist/ui/src/core/hooks/useClassNames.js.map +1 -1
  859. package/dist/ui/src/core/hooks/useOutsideClick.js.map +1 -1
  860. package/dist/ui/src/core/hooks/useResize.js +1 -1
  861. package/dist/ui/src/core/hooks/useResize.js.map +1 -1
  862. package/dist/ui/src/core/ui/components/atoms/button/Button.js +1 -1
  863. package/dist/ui/src/core/ui/components/atoms/button/Button.js.map +1 -1
  864. package/dist/ui/src/core/ui/components/atoms/icons.js.map +1 -1
  865. package/dist/ui/src/core/ui/components/atoms/tag/Tag.js +1 -1
  866. package/dist/ui/src/core/ui/components/atoms/tag/Tag.js.map +1 -1
  867. package/dist/ui/src/core/ui/components/atoms/tag/tag.types.js.map +1 -1
  868. package/dist/ui/src/core/ui/components/atoms/text/Headline.js +1 -1
  869. package/dist/ui/src/core/ui/components/atoms/text/Headline.js.map +1 -1
  870. package/dist/ui/src/core/ui/components/atoms/text/Link.js +1 -1
  871. package/dist/ui/src/core/ui/components/atoms/text/Link.js.map +1 -1
  872. package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js +1 -1
  873. package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
  874. package/dist/ui/src/core/ui/components/atoms/text/Text.js +1 -1
  875. package/dist/ui/src/core/ui/components/atoms/text/Text.js.map +1 -1
  876. package/dist/ui/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js +1 -1
  877. package/dist/ui/src/core/ui/components/atoms/text/anchor-link/AnchorLink.js.map +1 -1
  878. package/dist/ui/src/core/ui/components/atoms/text/anchor-link/anchorLink.module.scss.js +1 -1
  879. package/dist/ui/src/core/ui/components/atoms/text/typography.module.scss.js +1 -1
  880. package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js +1 -1
  881. package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -1
  882. package/dist/ui/src/core/ui/components/atoms/toggle/Toggle.js +1 -1
  883. package/dist/ui/src/core/ui/components/atoms/toggle/Toggle.js.map +1 -1
  884. package/dist/ui/src/core/ui/components/atoms/toggle/toggle.module.scss.js +1 -1
  885. package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js +1 -1
  886. package/dist/ui/src/core/ui/components/container/CollapsibleContainer.js.map +1 -1
  887. package/dist/ui/src/core/ui/components/container/ResizableContainer.js +1 -1
  888. package/dist/ui/src/core/ui/components/container/ResizableContainer.js.map +1 -1
  889. package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js +1 -1
  890. package/dist/ui/src/core/ui/components/container/layoutBox/LayoutBox.js.map +1 -1
  891. package/dist/ui/src/core/ui/components/container/layoutBox/layoutBox.types.js.map +1 -1
  892. package/dist/ui/src/core/ui/components/container/lazyComponent/LazyComponent.js +1 -1
  893. package/dist/ui/src/core/ui/components/container/lazyComponent/LazyComponent.js.map +1 -1
  894. package/dist/ui/src/core/ui/components/dividers/DividerLine.js +1 -1
  895. package/dist/ui/src/core/ui/components/dividers/DividerLine.js.map +1 -1
  896. package/dist/ui/src/core/ui/components/error/ErrorBoundary.js +1 -1
  897. package/dist/ui/src/core/ui/components/error/ErrorBoundary.js.map +1 -1
  898. package/dist/ui/src/core/ui/components/field/Field.js +1 -1
  899. package/dist/ui/src/core/ui/components/field/Field.js.map +1 -1
  900. package/dist/ui/src/core/ui/components/field/field.module.scss.js +1 -1
  901. package/dist/ui/src/core/ui/components/icon/Icon.js +1 -1
  902. package/dist/ui/src/core/ui/components/icon/Icon.js.map +1 -1
  903. package/dist/ui/src/core/ui/components/icon/IconBase.js +1 -1
  904. package/dist/ui/src/core/ui/components/icon/IconBase.js.map +1 -1
  905. package/dist/ui/src/core/ui/components/icon/IconWC.js +1 -1
  906. package/dist/ui/src/core/ui/components/icon/IconWC.js.map +1 -1
  907. package/dist/ui/src/core/ui/components/icon/unifyIconUrl.js +1 -1
  908. package/dist/ui/src/core/ui/components/icon/unifyIconUrl.js.map +1 -1
  909. package/dist/ui/src/core/ui/components/molecules/layouts/FlowLayout.js +1 -1
  910. package/dist/ui/src/core/ui/components/molecules/layouts/FlowLayout.js.map +1 -1
  911. package/dist/ui/src/core/ui/components/molecules/popover/PopoverLite.js +1 -1
  912. package/dist/ui/src/core/ui/components/molecules/popover/PopoverLite.js.map +1 -1
  913. package/dist/ui/src/core/ui/components/molecules/popover/Tooltip.js +1 -1
  914. package/dist/ui/src/core/ui/components/molecules/popover/Tooltip.js.map +1 -1
  915. package/dist/ui/src/core/ui/components/molecules/popover/popover.types.js.map +1 -1
  916. package/dist/ui/src/core/ui/components/molecules/popover/tooltip.module.scss.js +1 -1
  917. package/dist/ui/src/core/ui/components/molecules/popup/Popup.js +1 -1
  918. package/dist/ui/src/core/ui/components/molecules/popup/Popup.js.map +1 -1
  919. package/dist/ui/src/core/ui/components/molecules/popup/popup.module.scss.js +1 -1
  920. package/dist/ui/src/core/ui/components/molecules/popup/popup.types.js.map +1 -1
  921. package/dist/ui/src/core/ui/index.js +1 -1
  922. package/dist/ui/src/core/ui/utils/clickOutside.js +1 -1
  923. package/dist/ui/src/core/ui/utils/clickOutside.js.map +1 -1
  924. package/dist/ui/src/core/ui/utils/style.js +1 -1
  925. package/dist/ui/src/core/ui/utils/style.js.map +1 -1
  926. package/dist/ui/src/core/utils/helpers/text.js +1 -1
  927. package/dist/ui/src/core/utils/helpers/text.js.map +1 -1
  928. package/dist/ui/src/core/utils/helpers/ui.js +1 -1
  929. package/dist/ui/src/core/utils/helpers/ui.js.map +1 -1
  930. package/dist/ui/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
  931. package/dist/utils/_virtual/_rollupPluginBabelHelpers.js +1 -1
  932. package/dist/utils/esm/_virtual/_rollupPluginBabelHelpers.js +1 -1
  933. package/dist/utils/esm/index.css +388 -368
  934. package/dist/utils/esm/node_modules/core-js/internals/array-includes.js.map +1 -1
  935. package/dist/utils/esm/node_modules/core-js/internals/classof-raw.js.map +1 -1
  936. package/dist/utils/esm/node_modules/core-js/internals/define-built-in.js.map +1 -1
  937. package/dist/utils/esm/node_modules/core-js/internals/define-global-property.js.map +1 -1
  938. package/dist/utils/esm/node_modules/core-js/internals/descriptors.js.map +1 -1
  939. package/dist/utils/esm/node_modules/core-js/internals/document-create-element.js.map +1 -1
  940. package/dist/utils/esm/node_modules/core-js/internals/fails.js.map +1 -1
  941. package/dist/utils/esm/node_modules/core-js/internals/function-bind-native.js.map +1 -1
  942. package/dist/utils/esm/node_modules/core-js/internals/function-call.js.map +1 -1
  943. package/dist/utils/esm/node_modules/core-js/internals/function-name.js +1 -1
  944. package/dist/utils/esm/node_modules/core-js/internals/function-name.js.map +1 -1
  945. package/dist/utils/esm/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
  946. package/dist/utils/esm/node_modules/core-js/internals/has-own-property.js.map +1 -1
  947. package/dist/utils/esm/node_modules/core-js/internals/inspect-source.js.map +1 -1
  948. package/dist/utils/esm/node_modules/core-js/internals/internal-state.js +1 -1
  949. package/dist/utils/esm/node_modules/core-js/internals/internal-state.js.map +1 -1
  950. package/dist/utils/esm/node_modules/core-js/internals/is-forced.js.map +1 -1
  951. package/dist/utils/esm/node_modules/core-js/internals/make-built-in.js.map +1 -1
  952. package/dist/utils/esm/node_modules/core-js/internals/object-create.js.map +1 -1
  953. package/dist/utils/esm/node_modules/core-js/internals/object-define-property.js.map +1 -1
  954. package/dist/utils/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
  955. package/dist/utils/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
  956. package/dist/utils/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
  957. package/dist/utils/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
  958. package/dist/utils/esm/node_modules/core-js/internals/shared-store.js +1 -1
  959. package/dist/utils/esm/node_modules/core-js/internals/shared-store.js.map +1 -1
  960. package/dist/utils/esm/node_modules/core-js/internals/try-to-string.js.map +1 -1
  961. package/dist/utils/esm/node_modules/core-js/internals/uid.js +1 -1
  962. package/dist/utils/esm/node_modules/core-js/internals/uid.js.map +1 -1
  963. package/dist/utils/esm/node_modules/core-js/modules/es.array.includes.js +2 -0
  964. package/dist/utils/esm/node_modules/core-js/modules/es.array.includes.js.map +1 -0
  965. package/dist/utils/esm/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
  966. package/dist/utils/esm/node_modules/dayjs/plugin/relativeTime.js +1 -1
  967. package/dist/utils/esm/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
  968. package/dist/utils/esm/node_modules/dayjs/plugin/updateLocale.js +1 -1
  969. package/dist/utils/esm/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
  970. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
  971. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/v4.js +1 -1
  972. package/dist/utils/esm/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  973. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
  974. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  975. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  976. package/dist/utils/esm/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  977. package/dist/utils/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
  978. package/dist/utils/esm/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
  979. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js +1 -1
  980. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  981. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
  982. package/dist/utils/esm/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
  983. package/dist/utils/esm/src/core/utils/appState/store/useStore.react.js.map +1 -1
  984. package/dist/utils/esm/src/core/utils/array.js.map +1 -1
  985. package/dist/utils/esm/src/core/utils/date.js +1 -1
  986. package/dist/utils/esm/src/core/utils/date.js.map +1 -1
  987. package/dist/utils/esm/src/core/utils/helpers/birthnumber.validator.js +1 -1
  988. package/dist/utils/esm/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
  989. package/dist/utils/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
  990. package/dist/utils/esm/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
  991. package/dist/utils/esm/src/core/utils/helpers/date.js.map +1 -1
  992. package/dist/utils/esm/src/core/utils/helpers/deviceInfo.js +1 -1
  993. package/dist/utils/esm/src/core/utils/helpers/deviceInfo.js.map +1 -1
  994. package/dist/utils/esm/src/core/utils/helpers/emailMatcher.js +1 -1
  995. package/dist/utils/esm/src/core/utils/helpers/emailMatcher.js.map +1 -1
  996. package/dist/utils/esm/src/core/utils/helpers/file.js +1 -1
  997. package/dist/utils/esm/src/core/utils/helpers/file.js.map +1 -1
  998. package/dist/utils/esm/src/core/utils/helpers/fileValidator.js +1 -1
  999. package/dist/utils/esm/src/core/utils/helpers/fileValidator.js.map +1 -1
  1000. package/dist/utils/esm/src/core/utils/helpers/objectOperations.js +1 -1
  1001. package/dist/utils/esm/src/core/utils/helpers/objectOperations.js.map +1 -1
  1002. package/dist/utils/esm/src/core/utils/helpers/other.js +1 -1
  1003. package/dist/utils/esm/src/core/utils/helpers/other.js.map +1 -1
  1004. package/dist/utils/esm/src/core/utils/helpers/text.js +1 -1
  1005. package/dist/utils/esm/src/core/utils/helpers/text.js.map +1 -1
  1006. package/dist/utils/esm/src/core/utils/helpers/textValueOperations.js +1 -1
  1007. package/dist/utils/esm/src/core/utils/helpers/textValueOperations.js.map +1 -1
  1008. package/dist/utils/esm/src/core/utils/helpers/ui.js +1 -1
  1009. package/dist/utils/esm/src/core/utils/helpers/ui.js.map +1 -1
  1010. package/dist/utils/esm/src/core/utils/helpers/valueOperations.js +1 -1
  1011. package/dist/utils/esm/src/core/utils/helpers/valueOperations.js.map +1 -1
  1012. package/dist/utils/esm/src/core/utils/index.js +1 -1
  1013. package/dist/utils/esm/src/core/utils/keyExtractor.js +1 -1
  1014. package/dist/utils/esm/src/core/utils/keyExtractor.js.map +1 -1
  1015. package/dist/utils/esm/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
  1016. package/dist/utils/index.css +388 -368
  1017. package/dist/utils/node_modules/core-js/internals/a-callable.js.map +1 -1
  1018. package/dist/utils/node_modules/core-js/internals/add-to-unscopables.js.map +1 -1
  1019. package/dist/utils/node_modules/core-js/internals/an-object.js.map +1 -1
  1020. package/dist/utils/node_modules/core-js/internals/array-includes.js.map +1 -1
  1021. package/dist/utils/node_modules/core-js/internals/classof-raw.js.map +1 -1
  1022. package/dist/utils/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -1
  1023. package/dist/utils/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -1
  1024. package/dist/utils/node_modules/core-js/internals/define-built-in.js.map +1 -1
  1025. package/dist/utils/node_modules/core-js/internals/define-global-property.js.map +1 -1
  1026. package/dist/utils/node_modules/core-js/internals/descriptors.js.map +1 -1
  1027. package/dist/utils/node_modules/core-js/internals/document-create-element.js.map +1 -1
  1028. package/dist/utils/node_modules/core-js/internals/environment-user-agent.js.map +1 -1
  1029. package/dist/utils/node_modules/core-js/internals/environment-v8-version.js.map +1 -1
  1030. package/dist/utils/node_modules/core-js/internals/export.js.map +1 -1
  1031. package/dist/utils/node_modules/core-js/internals/fails.js.map +1 -1
  1032. package/dist/utils/node_modules/core-js/internals/function-bind-native.js.map +1 -1
  1033. package/dist/utils/node_modules/core-js/internals/function-call.js.map +1 -1
  1034. package/dist/utils/node_modules/core-js/internals/function-name.js +1 -1
  1035. package/dist/utils/node_modules/core-js/internals/function-name.js.map +1 -1
  1036. package/dist/utils/node_modules/core-js/internals/function-uncurry-this.js.map +1 -1
  1037. package/dist/utils/node_modules/core-js/internals/get-built-in.js.map +1 -1
  1038. package/dist/utils/node_modules/core-js/internals/get-method.js.map +1 -1
  1039. package/dist/utils/node_modules/core-js/internals/has-own-property.js.map +1 -1
  1040. package/dist/utils/node_modules/core-js/internals/html.js.map +1 -1
  1041. package/dist/utils/node_modules/core-js/internals/ie8-dom-define.js.map +1 -1
  1042. package/dist/utils/node_modules/core-js/internals/indexed-object.js.map +1 -1
  1043. package/dist/utils/node_modules/core-js/internals/inspect-source.js.map +1 -1
  1044. package/dist/utils/node_modules/core-js/internals/internal-state.js +1 -1
  1045. package/dist/utils/node_modules/core-js/internals/internal-state.js.map +1 -1
  1046. package/dist/utils/node_modules/core-js/internals/is-forced.js.map +1 -1
  1047. package/dist/utils/node_modules/core-js/internals/is-object.js.map +1 -1
  1048. package/dist/utils/node_modules/core-js/internals/is-symbol.js.map +1 -1
  1049. package/dist/utils/node_modules/core-js/internals/length-of-array-like.js.map +1 -1
  1050. package/dist/utils/node_modules/core-js/internals/make-built-in.js.map +1 -1
  1051. package/dist/utils/node_modules/core-js/internals/object-create.js.map +1 -1
  1052. package/dist/utils/node_modules/core-js/internals/object-define-properties.js.map +1 -1
  1053. package/dist/utils/node_modules/core-js/internals/object-define-property.js.map +1 -1
  1054. package/dist/utils/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -1
  1055. package/dist/utils/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -1
  1056. package/dist/utils/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -1
  1057. package/dist/utils/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -1
  1058. package/dist/utils/node_modules/core-js/internals/object-keys-internal.js.map +1 -1
  1059. package/dist/utils/node_modules/core-js/internals/object-keys.js.map +1 -1
  1060. package/dist/utils/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -1
  1061. package/dist/utils/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -1
  1062. package/dist/utils/node_modules/core-js/internals/own-keys.js.map +1 -1
  1063. package/dist/utils/node_modules/core-js/internals/require-object-coercible.js.map +1 -1
  1064. package/dist/utils/node_modules/core-js/internals/shared-key.js.map +1 -1
  1065. package/dist/utils/node_modules/core-js/internals/shared-store.js +1 -1
  1066. package/dist/utils/node_modules/core-js/internals/shared-store.js.map +1 -1
  1067. package/dist/utils/node_modules/core-js/internals/shared.js.map +1 -1
  1068. package/dist/utils/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -1
  1069. package/dist/utils/node_modules/core-js/internals/to-absolute-index.js.map +1 -1
  1070. package/dist/utils/node_modules/core-js/internals/to-indexed-object.js.map +1 -1
  1071. package/dist/utils/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -1
  1072. package/dist/utils/node_modules/core-js/internals/to-length.js.map +1 -1
  1073. package/dist/utils/node_modules/core-js/internals/to-object.js.map +1 -1
  1074. package/dist/utils/node_modules/core-js/internals/to-primitive.js.map +1 -1
  1075. package/dist/utils/node_modules/core-js/internals/to-property-key.js.map +1 -1
  1076. package/dist/utils/node_modules/core-js/internals/try-to-string.js.map +1 -1
  1077. package/dist/utils/node_modules/core-js/internals/uid.js +1 -1
  1078. package/dist/utils/node_modules/core-js/internals/uid.js.map +1 -1
  1079. package/dist/utils/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -1
  1080. package/dist/utils/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -1
  1081. package/dist/utils/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -1
  1082. package/dist/utils/node_modules/core-js/internals/well-known-symbol.js.map +1 -1
  1083. package/dist/utils/node_modules/core-js/modules/es.array.includes.js +2 -0
  1084. package/dist/utils/node_modules/core-js/modules/es.array.includes.js.map +1 -0
  1085. package/dist/utils/node_modules/dayjs/plugin/customParseFormat.js.map +1 -1
  1086. package/dist/utils/node_modules/dayjs/plugin/relativeTime.js.map +1 -1
  1087. package/dist/utils/node_modules/dayjs/plugin/updateLocale.js +1 -1
  1088. package/dist/utils/node_modules/dayjs/plugin/updateLocale.js.map +1 -1
  1089. package/dist/utils/node_modules/uuid/dist/esm-browser/native.js.map +1 -1
  1090. package/dist/utils/node_modules/uuid/dist/esm-browser/v4.js +1 -1
  1091. package/dist/utils/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  1092. package/dist/utils/src/core/utils/appState/peregrineMQ/index.js.map +1 -1
  1093. package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js +1 -1
  1094. package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
  1095. package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js +1 -1
  1096. package/dist/utils/src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.js.map +1 -1
  1097. package/dist/utils/src/core/utils/appState/stateMachine/tiny-state-machine.base.js +1 -1
  1098. package/dist/utils/src/core/utils/appState/stateMachine/tiny-state-machine.base.js.map +1 -1
  1099. package/dist/utils/src/core/utils/appState/store/store.vanillajs.js +1 -1
  1100. package/dist/utils/src/core/utils/appState/store/store.vanillajs.js.map +1 -1
  1101. package/dist/utils/src/core/utils/appState/store/store.vanillajs.templates.js +1 -1
  1102. package/dist/utils/src/core/utils/appState/store/store.vanillajs.templates.js.map +1 -1
  1103. package/dist/utils/src/core/utils/appState/store/useStore.react.js.map +1 -1
  1104. package/dist/utils/src/core/utils/array.js.map +1 -1
  1105. package/dist/utils/src/core/utils/date.js +1 -1
  1106. package/dist/utils/src/core/utils/date.js.map +1 -1
  1107. package/dist/utils/src/core/utils/helpers/birthnumber.validator.js +1 -1
  1108. package/dist/utils/src/core/utils/helpers/birthnumber.validator.js.map +1 -1
  1109. package/dist/utils/src/core/utils/helpers/birthnumberCZSKvalidator.js +1 -1
  1110. package/dist/utils/src/core/utils/helpers/birthnumberCZSKvalidator.js.map +1 -1
  1111. package/dist/utils/src/core/utils/helpers/date.js.map +1 -1
  1112. package/dist/utils/src/core/utils/helpers/deviceInfo.js +1 -1
  1113. package/dist/utils/src/core/utils/helpers/deviceInfo.js.map +1 -1
  1114. package/dist/utils/src/core/utils/helpers/emailMatcher.js +1 -1
  1115. package/dist/utils/src/core/utils/helpers/emailMatcher.js.map +1 -1
  1116. package/dist/utils/src/core/utils/helpers/file.js +1 -1
  1117. package/dist/utils/src/core/utils/helpers/file.js.map +1 -1
  1118. package/dist/utils/src/core/utils/helpers/fileValidator.js +1 -1
  1119. package/dist/utils/src/core/utils/helpers/fileValidator.js.map +1 -1
  1120. package/dist/utils/src/core/utils/helpers/objectOperations.js +1 -1
  1121. package/dist/utils/src/core/utils/helpers/objectOperations.js.map +1 -1
  1122. package/dist/utils/src/core/utils/helpers/other.js +1 -1
  1123. package/dist/utils/src/core/utils/helpers/other.js.map +1 -1
  1124. package/dist/utils/src/core/utils/helpers/text.js +1 -1
  1125. package/dist/utils/src/core/utils/helpers/text.js.map +1 -1
  1126. package/dist/utils/src/core/utils/helpers/textValueOperations.js +1 -1
  1127. package/dist/utils/src/core/utils/helpers/textValueOperations.js.map +1 -1
  1128. package/dist/utils/src/core/utils/helpers/ui.js +1 -1
  1129. package/dist/utils/src/core/utils/helpers/ui.js.map +1 -1
  1130. package/dist/utils/src/core/utils/helpers/valueOperations.js +1 -1
  1131. package/dist/utils/src/core/utils/helpers/valueOperations.js.map +1 -1
  1132. package/dist/utils/src/core/utils/index.js +1 -1
  1133. package/dist/utils/src/core/utils/keyExtractor.js +1 -1
  1134. package/dist/utils/src/core/utils/keyExtractor.js.map +1 -1
  1135. package/dist/utils/src/core/utils/webComponents/webComponent.utils.js.map +1 -1
  1136. package/package.json +9 -1
  1137. package/dist/hooks/_virtual/_commonjsHelpers.js +0 -2
  1138. package/dist/hooks/_virtual/_commonjsHelpers.js.map +0 -1
  1139. package/dist/hooks/_virtual/make-built-in.js +0 -2
  1140. package/dist/hooks/_virtual/make-built-in.js.map +0 -1
  1141. package/dist/hooks/_virtual/object-define-properties.js +0 -2
  1142. package/dist/hooks/_virtual/object-define-properties.js.map +0 -1
  1143. package/dist/hooks/_virtual/object-define-property.js +0 -2
  1144. package/dist/hooks/_virtual/object-define-property.js.map +0 -1
  1145. package/dist/hooks/_virtual/object-get-own-property-descriptor.js +0 -2
  1146. package/dist/hooks/_virtual/object-get-own-property-descriptor.js.map +0 -1
  1147. package/dist/hooks/_virtual/object-get-own-property-names.js +0 -2
  1148. package/dist/hooks/_virtual/object-get-own-property-names.js.map +0 -1
  1149. package/dist/hooks/_virtual/object-get-own-property-symbols.js +0 -2
  1150. package/dist/hooks/_virtual/object-get-own-property-symbols.js.map +0 -1
  1151. package/dist/hooks/_virtual/object-property-is-enumerable.js +0 -2
  1152. package/dist/hooks/_virtual/object-property-is-enumerable.js.map +0 -1
  1153. package/dist/hooks/_virtual/shared-store.js +0 -2
  1154. package/dist/hooks/_virtual/shared-store.js.map +0 -1
  1155. package/dist/hooks/esm/_virtual/_commonjsHelpers.js +0 -2
  1156. package/dist/hooks/esm/_virtual/_commonjsHelpers.js.map +0 -1
  1157. package/dist/hooks/esm/_virtual/make-built-in.js +0 -2
  1158. package/dist/hooks/esm/_virtual/make-built-in.js.map +0 -1
  1159. package/dist/hooks/esm/_virtual/object-define-properties.js +0 -2
  1160. package/dist/hooks/esm/_virtual/object-define-properties.js.map +0 -1
  1161. package/dist/hooks/esm/_virtual/object-define-property.js +0 -2
  1162. package/dist/hooks/esm/_virtual/object-define-property.js.map +0 -1
  1163. package/dist/hooks/esm/_virtual/object-get-own-property-descriptor.js +0 -2
  1164. package/dist/hooks/esm/_virtual/object-get-own-property-descriptor.js.map +0 -1
  1165. package/dist/hooks/esm/_virtual/object-get-own-property-names.js +0 -2
  1166. package/dist/hooks/esm/_virtual/object-get-own-property-names.js.map +0 -1
  1167. package/dist/hooks/esm/_virtual/object-get-own-property-symbols.js +0 -2
  1168. package/dist/hooks/esm/_virtual/object-get-own-property-symbols.js.map +0 -1
  1169. package/dist/hooks/esm/_virtual/object-property-is-enumerable.js +0 -2
  1170. package/dist/hooks/esm/_virtual/object-property-is-enumerable.js.map +0 -1
  1171. package/dist/hooks/esm/_virtual/shared-store.js +0 -2
  1172. package/dist/hooks/esm/_virtual/shared-store.js.map +0 -1
  1173. package/dist/hooks/esm/node_modules/core-js/internals/a-callable.js +0 -2
  1174. package/dist/hooks/esm/node_modules/core-js/internals/a-callable.js.map +0 -1
  1175. package/dist/hooks/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1176. package/dist/hooks/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1177. package/dist/hooks/esm/node_modules/core-js/internals/add-to-unscopables.js +0 -2
  1178. package/dist/hooks/esm/node_modules/core-js/internals/add-to-unscopables.js.map +0 -1
  1179. package/dist/hooks/esm/node_modules/core-js/internals/an-object.js +0 -2
  1180. package/dist/hooks/esm/node_modules/core-js/internals/an-object.js.map +0 -1
  1181. package/dist/hooks/esm/node_modules/core-js/internals/array-includes.js +0 -2
  1182. package/dist/hooks/esm/node_modules/core-js/internals/array-includes.js.map +0 -1
  1183. package/dist/hooks/esm/node_modules/core-js/internals/classof-raw.js +0 -2
  1184. package/dist/hooks/esm/node_modules/core-js/internals/classof-raw.js.map +0 -1
  1185. package/dist/hooks/esm/node_modules/core-js/internals/copy-constructor-properties.js +0 -2
  1186. package/dist/hooks/esm/node_modules/core-js/internals/copy-constructor-properties.js.map +0 -1
  1187. package/dist/hooks/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1188. package/dist/hooks/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1189. package/dist/hooks/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1190. package/dist/hooks/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1191. package/dist/hooks/esm/node_modules/core-js/internals/create-non-enumerable-property.js +0 -2
  1192. package/dist/hooks/esm/node_modules/core-js/internals/create-non-enumerable-property.js.map +0 -1
  1193. package/dist/hooks/esm/node_modules/core-js/internals/create-property-descriptor.js +0 -2
  1194. package/dist/hooks/esm/node_modules/core-js/internals/create-property-descriptor.js.map +0 -1
  1195. package/dist/hooks/esm/node_modules/core-js/internals/define-built-in.js +0 -2
  1196. package/dist/hooks/esm/node_modules/core-js/internals/define-built-in.js.map +0 -1
  1197. package/dist/hooks/esm/node_modules/core-js/internals/define-global-property.js +0 -2
  1198. package/dist/hooks/esm/node_modules/core-js/internals/define-global-property.js.map +0 -1
  1199. package/dist/hooks/esm/node_modules/core-js/internals/descriptors.js +0 -2
  1200. package/dist/hooks/esm/node_modules/core-js/internals/descriptors.js.map +0 -1
  1201. package/dist/hooks/esm/node_modules/core-js/internals/document-create-element.js +0 -2
  1202. package/dist/hooks/esm/node_modules/core-js/internals/document-create-element.js.map +0 -1
  1203. package/dist/hooks/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
  1204. package/dist/hooks/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1205. package/dist/hooks/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1206. package/dist/hooks/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1207. package/dist/hooks/esm/node_modules/core-js/internals/enum-bug-keys.js +0 -2
  1208. package/dist/hooks/esm/node_modules/core-js/internals/enum-bug-keys.js.map +0 -1
  1209. package/dist/hooks/esm/node_modules/core-js/internals/environment-user-agent.js +0 -2
  1210. package/dist/hooks/esm/node_modules/core-js/internals/environment-user-agent.js.map +0 -1
  1211. package/dist/hooks/esm/node_modules/core-js/internals/environment-v8-version.js +0 -2
  1212. package/dist/hooks/esm/node_modules/core-js/internals/environment-v8-version.js.map +0 -1
  1213. package/dist/hooks/esm/node_modules/core-js/internals/export.js +0 -2
  1214. package/dist/hooks/esm/node_modules/core-js/internals/export.js.map +0 -1
  1215. package/dist/hooks/esm/node_modules/core-js/internals/fails.js +0 -2
  1216. package/dist/hooks/esm/node_modules/core-js/internals/fails.js.map +0 -1
  1217. package/dist/hooks/esm/node_modules/core-js/internals/function-bind-native.js +0 -2
  1218. package/dist/hooks/esm/node_modules/core-js/internals/function-bind-native.js.map +0 -1
  1219. package/dist/hooks/esm/node_modules/core-js/internals/function-call.js +0 -2
  1220. package/dist/hooks/esm/node_modules/core-js/internals/function-call.js.map +0 -1
  1221. package/dist/hooks/esm/node_modules/core-js/internals/function-name.js +0 -2
  1222. package/dist/hooks/esm/node_modules/core-js/internals/function-name.js.map +0 -1
  1223. package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1224. package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1225. package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this.js +0 -2
  1226. package/dist/hooks/esm/node_modules/core-js/internals/function-uncurry-this.js.map +0 -1
  1227. package/dist/hooks/esm/node_modules/core-js/internals/get-built-in.js +0 -2
  1228. package/dist/hooks/esm/node_modules/core-js/internals/get-built-in.js.map +0 -1
  1229. package/dist/hooks/esm/node_modules/core-js/internals/get-method.js +0 -2
  1230. package/dist/hooks/esm/node_modules/core-js/internals/get-method.js.map +0 -1
  1231. package/dist/hooks/esm/node_modules/core-js/internals/global-this.js +0 -2
  1232. package/dist/hooks/esm/node_modules/core-js/internals/global-this.js.map +0 -1
  1233. package/dist/hooks/esm/node_modules/core-js/internals/has-own-property.js +0 -2
  1234. package/dist/hooks/esm/node_modules/core-js/internals/has-own-property.js.map +0 -1
  1235. package/dist/hooks/esm/node_modules/core-js/internals/hidden-keys.js +0 -2
  1236. package/dist/hooks/esm/node_modules/core-js/internals/hidden-keys.js.map +0 -1
  1237. package/dist/hooks/esm/node_modules/core-js/internals/html.js +0 -2
  1238. package/dist/hooks/esm/node_modules/core-js/internals/html.js.map +0 -1
  1239. package/dist/hooks/esm/node_modules/core-js/internals/ie8-dom-define.js +0 -2
  1240. package/dist/hooks/esm/node_modules/core-js/internals/ie8-dom-define.js.map +0 -1
  1241. package/dist/hooks/esm/node_modules/core-js/internals/indexed-object.js +0 -2
  1242. package/dist/hooks/esm/node_modules/core-js/internals/indexed-object.js.map +0 -1
  1243. package/dist/hooks/esm/node_modules/core-js/internals/inspect-source.js +0 -2
  1244. package/dist/hooks/esm/node_modules/core-js/internals/inspect-source.js.map +0 -1
  1245. package/dist/hooks/esm/node_modules/core-js/internals/internal-state.js +0 -2
  1246. package/dist/hooks/esm/node_modules/core-js/internals/internal-state.js.map +0 -1
  1247. package/dist/hooks/esm/node_modules/core-js/internals/is-callable.js +0 -2
  1248. package/dist/hooks/esm/node_modules/core-js/internals/is-callable.js.map +0 -1
  1249. package/dist/hooks/esm/node_modules/core-js/internals/is-forced.js +0 -2
  1250. package/dist/hooks/esm/node_modules/core-js/internals/is-forced.js.map +0 -1
  1251. package/dist/hooks/esm/node_modules/core-js/internals/is-null-or-undefined.js +0 -2
  1252. package/dist/hooks/esm/node_modules/core-js/internals/is-null-or-undefined.js.map +0 -1
  1253. package/dist/hooks/esm/node_modules/core-js/internals/is-object.js +0 -2
  1254. package/dist/hooks/esm/node_modules/core-js/internals/is-object.js.map +0 -1
  1255. package/dist/hooks/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1256. package/dist/hooks/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1257. package/dist/hooks/esm/node_modules/core-js/internals/is-symbol.js +0 -2
  1258. package/dist/hooks/esm/node_modules/core-js/internals/is-symbol.js.map +0 -1
  1259. package/dist/hooks/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1260. package/dist/hooks/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1261. package/dist/hooks/esm/node_modules/core-js/internals/iterator-define.js +0 -2
  1262. package/dist/hooks/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1263. package/dist/hooks/esm/node_modules/core-js/internals/iterators-core.js +0 -2
  1264. package/dist/hooks/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1265. package/dist/hooks/esm/node_modules/core-js/internals/iterators.js +0 -2
  1266. package/dist/hooks/esm/node_modules/core-js/internals/iterators.js.map +0 -1
  1267. package/dist/hooks/esm/node_modules/core-js/internals/length-of-array-like.js +0 -2
  1268. package/dist/hooks/esm/node_modules/core-js/internals/length-of-array-like.js.map +0 -1
  1269. package/dist/hooks/esm/node_modules/core-js/internals/make-built-in.js +0 -2
  1270. package/dist/hooks/esm/node_modules/core-js/internals/make-built-in.js.map +0 -1
  1271. package/dist/hooks/esm/node_modules/core-js/internals/math-trunc.js +0 -2
  1272. package/dist/hooks/esm/node_modules/core-js/internals/math-trunc.js.map +0 -1
  1273. package/dist/hooks/esm/node_modules/core-js/internals/object-create.js +0 -2
  1274. package/dist/hooks/esm/node_modules/core-js/internals/object-create.js.map +0 -1
  1275. package/dist/hooks/esm/node_modules/core-js/internals/object-define-properties.js +0 -2
  1276. package/dist/hooks/esm/node_modules/core-js/internals/object-define-properties.js.map +0 -1
  1277. package/dist/hooks/esm/node_modules/core-js/internals/object-define-property.js +0 -2
  1278. package/dist/hooks/esm/node_modules/core-js/internals/object-define-property.js.map +0 -1
  1279. package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js +0 -2
  1280. package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +0 -1
  1281. package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-names.js +0 -2
  1282. package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-names.js.map +0 -1
  1283. package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-symbols.js +0 -2
  1284. package/dist/hooks/esm/node_modules/core-js/internals/object-get-own-property-symbols.js.map +0 -1
  1285. package/dist/hooks/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1286. package/dist/hooks/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1287. package/dist/hooks/esm/node_modules/core-js/internals/object-is-prototype-of.js +0 -2
  1288. package/dist/hooks/esm/node_modules/core-js/internals/object-is-prototype-of.js.map +0 -1
  1289. package/dist/hooks/esm/node_modules/core-js/internals/object-keys-internal.js +0 -2
  1290. package/dist/hooks/esm/node_modules/core-js/internals/object-keys-internal.js.map +0 -1
  1291. package/dist/hooks/esm/node_modules/core-js/internals/object-keys.js +0 -2
  1292. package/dist/hooks/esm/node_modules/core-js/internals/object-keys.js.map +0 -1
  1293. package/dist/hooks/esm/node_modules/core-js/internals/object-property-is-enumerable.js +0 -2
  1294. package/dist/hooks/esm/node_modules/core-js/internals/object-property-is-enumerable.js.map +0 -1
  1295. package/dist/hooks/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1296. package/dist/hooks/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1297. package/dist/hooks/esm/node_modules/core-js/internals/ordinary-to-primitive.js +0 -2
  1298. package/dist/hooks/esm/node_modules/core-js/internals/ordinary-to-primitive.js.map +0 -1
  1299. package/dist/hooks/esm/node_modules/core-js/internals/own-keys.js +0 -2
  1300. package/dist/hooks/esm/node_modules/core-js/internals/own-keys.js.map +0 -1
  1301. package/dist/hooks/esm/node_modules/core-js/internals/require-object-coercible.js +0 -2
  1302. package/dist/hooks/esm/node_modules/core-js/internals/require-object-coercible.js.map +0 -1
  1303. package/dist/hooks/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1304. package/dist/hooks/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1305. package/dist/hooks/esm/node_modules/core-js/internals/shared-key.js +0 -2
  1306. package/dist/hooks/esm/node_modules/core-js/internals/shared-key.js.map +0 -1
  1307. package/dist/hooks/esm/node_modules/core-js/internals/shared-store.js +0 -2
  1308. package/dist/hooks/esm/node_modules/core-js/internals/shared-store.js.map +0 -1
  1309. package/dist/hooks/esm/node_modules/core-js/internals/shared.js +0 -2
  1310. package/dist/hooks/esm/node_modules/core-js/internals/shared.js.map +0 -1
  1311. package/dist/hooks/esm/node_modules/core-js/internals/symbol-constructor-detection.js +0 -2
  1312. package/dist/hooks/esm/node_modules/core-js/internals/symbol-constructor-detection.js.map +0 -1
  1313. package/dist/hooks/esm/node_modules/core-js/internals/to-absolute-index.js +0 -2
  1314. package/dist/hooks/esm/node_modules/core-js/internals/to-absolute-index.js.map +0 -1
  1315. package/dist/hooks/esm/node_modules/core-js/internals/to-indexed-object.js +0 -2
  1316. package/dist/hooks/esm/node_modules/core-js/internals/to-indexed-object.js.map +0 -1
  1317. package/dist/hooks/esm/node_modules/core-js/internals/to-integer-or-infinity.js +0 -2
  1318. package/dist/hooks/esm/node_modules/core-js/internals/to-integer-or-infinity.js.map +0 -1
  1319. package/dist/hooks/esm/node_modules/core-js/internals/to-length.js +0 -2
  1320. package/dist/hooks/esm/node_modules/core-js/internals/to-length.js.map +0 -1
  1321. package/dist/hooks/esm/node_modules/core-js/internals/to-object.js +0 -2
  1322. package/dist/hooks/esm/node_modules/core-js/internals/to-object.js.map +0 -1
  1323. package/dist/hooks/esm/node_modules/core-js/internals/to-primitive.js +0 -2
  1324. package/dist/hooks/esm/node_modules/core-js/internals/to-primitive.js.map +0 -1
  1325. package/dist/hooks/esm/node_modules/core-js/internals/to-property-key.js +0 -2
  1326. package/dist/hooks/esm/node_modules/core-js/internals/to-property-key.js.map +0 -1
  1327. package/dist/hooks/esm/node_modules/core-js/internals/try-to-string.js +0 -2
  1328. package/dist/hooks/esm/node_modules/core-js/internals/try-to-string.js.map +0 -1
  1329. package/dist/hooks/esm/node_modules/core-js/internals/uid.js +0 -2
  1330. package/dist/hooks/esm/node_modules/core-js/internals/uid.js.map +0 -1
  1331. package/dist/hooks/esm/node_modules/core-js/internals/use-symbol-as-uid.js +0 -2
  1332. package/dist/hooks/esm/node_modules/core-js/internals/use-symbol-as-uid.js.map +0 -1
  1333. package/dist/hooks/esm/node_modules/core-js/internals/v8-prototype-define-bug.js +0 -2
  1334. package/dist/hooks/esm/node_modules/core-js/internals/v8-prototype-define-bug.js.map +0 -1
  1335. package/dist/hooks/esm/node_modules/core-js/internals/weak-map-basic-detection.js +0 -2
  1336. package/dist/hooks/esm/node_modules/core-js/internals/weak-map-basic-detection.js.map +0 -1
  1337. package/dist/hooks/esm/node_modules/core-js/internals/well-known-symbol.js +0 -2
  1338. package/dist/hooks/esm/node_modules/core-js/internals/well-known-symbol.js.map +0 -1
  1339. package/dist/hooks/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1340. package/dist/hooks/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1341. package/dist/hooks/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1342. package/dist/hooks/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1343. package/dist/hooks/node_modules/core-js/internals/a-callable.js +0 -2
  1344. package/dist/hooks/node_modules/core-js/internals/a-callable.js.map +0 -1
  1345. package/dist/hooks/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1346. package/dist/hooks/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1347. package/dist/hooks/node_modules/core-js/internals/add-to-unscopables.js +0 -2
  1348. package/dist/hooks/node_modules/core-js/internals/add-to-unscopables.js.map +0 -1
  1349. package/dist/hooks/node_modules/core-js/internals/an-object.js +0 -2
  1350. package/dist/hooks/node_modules/core-js/internals/an-object.js.map +0 -1
  1351. package/dist/hooks/node_modules/core-js/internals/array-includes.js +0 -2
  1352. package/dist/hooks/node_modules/core-js/internals/array-includes.js.map +0 -1
  1353. package/dist/hooks/node_modules/core-js/internals/classof-raw.js +0 -2
  1354. package/dist/hooks/node_modules/core-js/internals/classof-raw.js.map +0 -1
  1355. package/dist/hooks/node_modules/core-js/internals/copy-constructor-properties.js +0 -2
  1356. package/dist/hooks/node_modules/core-js/internals/copy-constructor-properties.js.map +0 -1
  1357. package/dist/hooks/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1358. package/dist/hooks/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1359. package/dist/hooks/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1360. package/dist/hooks/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1361. package/dist/hooks/node_modules/core-js/internals/create-non-enumerable-property.js +0 -2
  1362. package/dist/hooks/node_modules/core-js/internals/create-non-enumerable-property.js.map +0 -1
  1363. package/dist/hooks/node_modules/core-js/internals/create-property-descriptor.js +0 -2
  1364. package/dist/hooks/node_modules/core-js/internals/create-property-descriptor.js.map +0 -1
  1365. package/dist/hooks/node_modules/core-js/internals/define-built-in.js +0 -2
  1366. package/dist/hooks/node_modules/core-js/internals/define-built-in.js.map +0 -1
  1367. package/dist/hooks/node_modules/core-js/internals/define-global-property.js +0 -2
  1368. package/dist/hooks/node_modules/core-js/internals/define-global-property.js.map +0 -1
  1369. package/dist/hooks/node_modules/core-js/internals/descriptors.js +0 -2
  1370. package/dist/hooks/node_modules/core-js/internals/descriptors.js.map +0 -1
  1371. package/dist/hooks/node_modules/core-js/internals/document-create-element.js +0 -2
  1372. package/dist/hooks/node_modules/core-js/internals/document-create-element.js.map +0 -1
  1373. package/dist/hooks/node_modules/core-js/internals/dom-iterables.js +0 -2
  1374. package/dist/hooks/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1375. package/dist/hooks/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1376. package/dist/hooks/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1377. package/dist/hooks/node_modules/core-js/internals/enum-bug-keys.js +0 -2
  1378. package/dist/hooks/node_modules/core-js/internals/enum-bug-keys.js.map +0 -1
  1379. package/dist/hooks/node_modules/core-js/internals/environment-user-agent.js +0 -2
  1380. package/dist/hooks/node_modules/core-js/internals/environment-user-agent.js.map +0 -1
  1381. package/dist/hooks/node_modules/core-js/internals/environment-v8-version.js +0 -2
  1382. package/dist/hooks/node_modules/core-js/internals/environment-v8-version.js.map +0 -1
  1383. package/dist/hooks/node_modules/core-js/internals/export.js +0 -2
  1384. package/dist/hooks/node_modules/core-js/internals/export.js.map +0 -1
  1385. package/dist/hooks/node_modules/core-js/internals/fails.js +0 -2
  1386. package/dist/hooks/node_modules/core-js/internals/fails.js.map +0 -1
  1387. package/dist/hooks/node_modules/core-js/internals/function-bind-native.js +0 -2
  1388. package/dist/hooks/node_modules/core-js/internals/function-bind-native.js.map +0 -1
  1389. package/dist/hooks/node_modules/core-js/internals/function-call.js +0 -2
  1390. package/dist/hooks/node_modules/core-js/internals/function-call.js.map +0 -1
  1391. package/dist/hooks/node_modules/core-js/internals/function-name.js +0 -2
  1392. package/dist/hooks/node_modules/core-js/internals/function-name.js.map +0 -1
  1393. package/dist/hooks/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1394. package/dist/hooks/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1395. package/dist/hooks/node_modules/core-js/internals/function-uncurry-this.js +0 -2
  1396. package/dist/hooks/node_modules/core-js/internals/function-uncurry-this.js.map +0 -1
  1397. package/dist/hooks/node_modules/core-js/internals/get-built-in.js +0 -2
  1398. package/dist/hooks/node_modules/core-js/internals/get-built-in.js.map +0 -1
  1399. package/dist/hooks/node_modules/core-js/internals/get-method.js +0 -2
  1400. package/dist/hooks/node_modules/core-js/internals/get-method.js.map +0 -1
  1401. package/dist/hooks/node_modules/core-js/internals/global-this.js +0 -2
  1402. package/dist/hooks/node_modules/core-js/internals/global-this.js.map +0 -1
  1403. package/dist/hooks/node_modules/core-js/internals/has-own-property.js +0 -2
  1404. package/dist/hooks/node_modules/core-js/internals/has-own-property.js.map +0 -1
  1405. package/dist/hooks/node_modules/core-js/internals/hidden-keys.js +0 -2
  1406. package/dist/hooks/node_modules/core-js/internals/hidden-keys.js.map +0 -1
  1407. package/dist/hooks/node_modules/core-js/internals/html.js +0 -2
  1408. package/dist/hooks/node_modules/core-js/internals/html.js.map +0 -1
  1409. package/dist/hooks/node_modules/core-js/internals/ie8-dom-define.js +0 -2
  1410. package/dist/hooks/node_modules/core-js/internals/ie8-dom-define.js.map +0 -1
  1411. package/dist/hooks/node_modules/core-js/internals/indexed-object.js +0 -2
  1412. package/dist/hooks/node_modules/core-js/internals/indexed-object.js.map +0 -1
  1413. package/dist/hooks/node_modules/core-js/internals/inspect-source.js +0 -2
  1414. package/dist/hooks/node_modules/core-js/internals/inspect-source.js.map +0 -1
  1415. package/dist/hooks/node_modules/core-js/internals/internal-state.js +0 -2
  1416. package/dist/hooks/node_modules/core-js/internals/internal-state.js.map +0 -1
  1417. package/dist/hooks/node_modules/core-js/internals/is-callable.js +0 -2
  1418. package/dist/hooks/node_modules/core-js/internals/is-callable.js.map +0 -1
  1419. package/dist/hooks/node_modules/core-js/internals/is-forced.js +0 -2
  1420. package/dist/hooks/node_modules/core-js/internals/is-forced.js.map +0 -1
  1421. package/dist/hooks/node_modules/core-js/internals/is-null-or-undefined.js +0 -2
  1422. package/dist/hooks/node_modules/core-js/internals/is-null-or-undefined.js.map +0 -1
  1423. package/dist/hooks/node_modules/core-js/internals/is-object.js +0 -2
  1424. package/dist/hooks/node_modules/core-js/internals/is-object.js.map +0 -1
  1425. package/dist/hooks/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1426. package/dist/hooks/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1427. package/dist/hooks/node_modules/core-js/internals/is-symbol.js +0 -2
  1428. package/dist/hooks/node_modules/core-js/internals/is-symbol.js.map +0 -1
  1429. package/dist/hooks/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1430. package/dist/hooks/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1431. package/dist/hooks/node_modules/core-js/internals/iterator-define.js +0 -2
  1432. package/dist/hooks/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1433. package/dist/hooks/node_modules/core-js/internals/iterators-core.js +0 -2
  1434. package/dist/hooks/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1435. package/dist/hooks/node_modules/core-js/internals/iterators.js +0 -2
  1436. package/dist/hooks/node_modules/core-js/internals/iterators.js.map +0 -1
  1437. package/dist/hooks/node_modules/core-js/internals/length-of-array-like.js +0 -2
  1438. package/dist/hooks/node_modules/core-js/internals/length-of-array-like.js.map +0 -1
  1439. package/dist/hooks/node_modules/core-js/internals/make-built-in.js +0 -2
  1440. package/dist/hooks/node_modules/core-js/internals/make-built-in.js.map +0 -1
  1441. package/dist/hooks/node_modules/core-js/internals/math-trunc.js +0 -2
  1442. package/dist/hooks/node_modules/core-js/internals/math-trunc.js.map +0 -1
  1443. package/dist/hooks/node_modules/core-js/internals/object-create.js +0 -2
  1444. package/dist/hooks/node_modules/core-js/internals/object-create.js.map +0 -1
  1445. package/dist/hooks/node_modules/core-js/internals/object-define-properties.js +0 -2
  1446. package/dist/hooks/node_modules/core-js/internals/object-define-properties.js.map +0 -1
  1447. package/dist/hooks/node_modules/core-js/internals/object-define-property.js +0 -2
  1448. package/dist/hooks/node_modules/core-js/internals/object-define-property.js.map +0 -1
  1449. package/dist/hooks/node_modules/core-js/internals/object-get-own-property-descriptor.js +0 -2
  1450. package/dist/hooks/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +0 -1
  1451. package/dist/hooks/node_modules/core-js/internals/object-get-own-property-names.js +0 -2
  1452. package/dist/hooks/node_modules/core-js/internals/object-get-own-property-names.js.map +0 -1
  1453. package/dist/hooks/node_modules/core-js/internals/object-get-own-property-symbols.js +0 -2
  1454. package/dist/hooks/node_modules/core-js/internals/object-get-own-property-symbols.js.map +0 -1
  1455. package/dist/hooks/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1456. package/dist/hooks/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1457. package/dist/hooks/node_modules/core-js/internals/object-is-prototype-of.js +0 -2
  1458. package/dist/hooks/node_modules/core-js/internals/object-is-prototype-of.js.map +0 -1
  1459. package/dist/hooks/node_modules/core-js/internals/object-keys-internal.js +0 -2
  1460. package/dist/hooks/node_modules/core-js/internals/object-keys-internal.js.map +0 -1
  1461. package/dist/hooks/node_modules/core-js/internals/object-keys.js +0 -2
  1462. package/dist/hooks/node_modules/core-js/internals/object-keys.js.map +0 -1
  1463. package/dist/hooks/node_modules/core-js/internals/object-property-is-enumerable.js +0 -2
  1464. package/dist/hooks/node_modules/core-js/internals/object-property-is-enumerable.js.map +0 -1
  1465. package/dist/hooks/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1466. package/dist/hooks/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1467. package/dist/hooks/node_modules/core-js/internals/ordinary-to-primitive.js +0 -2
  1468. package/dist/hooks/node_modules/core-js/internals/ordinary-to-primitive.js.map +0 -1
  1469. package/dist/hooks/node_modules/core-js/internals/own-keys.js +0 -2
  1470. package/dist/hooks/node_modules/core-js/internals/own-keys.js.map +0 -1
  1471. package/dist/hooks/node_modules/core-js/internals/require-object-coercible.js +0 -2
  1472. package/dist/hooks/node_modules/core-js/internals/require-object-coercible.js.map +0 -1
  1473. package/dist/hooks/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1474. package/dist/hooks/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1475. package/dist/hooks/node_modules/core-js/internals/shared-key.js +0 -2
  1476. package/dist/hooks/node_modules/core-js/internals/shared-key.js.map +0 -1
  1477. package/dist/hooks/node_modules/core-js/internals/shared-store.js +0 -2
  1478. package/dist/hooks/node_modules/core-js/internals/shared-store.js.map +0 -1
  1479. package/dist/hooks/node_modules/core-js/internals/shared.js +0 -2
  1480. package/dist/hooks/node_modules/core-js/internals/shared.js.map +0 -1
  1481. package/dist/hooks/node_modules/core-js/internals/symbol-constructor-detection.js +0 -2
  1482. package/dist/hooks/node_modules/core-js/internals/symbol-constructor-detection.js.map +0 -1
  1483. package/dist/hooks/node_modules/core-js/internals/to-absolute-index.js +0 -2
  1484. package/dist/hooks/node_modules/core-js/internals/to-absolute-index.js.map +0 -1
  1485. package/dist/hooks/node_modules/core-js/internals/to-indexed-object.js +0 -2
  1486. package/dist/hooks/node_modules/core-js/internals/to-indexed-object.js.map +0 -1
  1487. package/dist/hooks/node_modules/core-js/internals/to-integer-or-infinity.js +0 -2
  1488. package/dist/hooks/node_modules/core-js/internals/to-integer-or-infinity.js.map +0 -1
  1489. package/dist/hooks/node_modules/core-js/internals/to-length.js +0 -2
  1490. package/dist/hooks/node_modules/core-js/internals/to-length.js.map +0 -1
  1491. package/dist/hooks/node_modules/core-js/internals/to-object.js +0 -2
  1492. package/dist/hooks/node_modules/core-js/internals/to-object.js.map +0 -1
  1493. package/dist/hooks/node_modules/core-js/internals/to-primitive.js +0 -2
  1494. package/dist/hooks/node_modules/core-js/internals/to-primitive.js.map +0 -1
  1495. package/dist/hooks/node_modules/core-js/internals/to-property-key.js +0 -2
  1496. package/dist/hooks/node_modules/core-js/internals/to-property-key.js.map +0 -1
  1497. package/dist/hooks/node_modules/core-js/internals/try-to-string.js +0 -2
  1498. package/dist/hooks/node_modules/core-js/internals/try-to-string.js.map +0 -1
  1499. package/dist/hooks/node_modules/core-js/internals/uid.js +0 -2
  1500. package/dist/hooks/node_modules/core-js/internals/uid.js.map +0 -1
  1501. package/dist/hooks/node_modules/core-js/internals/use-symbol-as-uid.js +0 -2
  1502. package/dist/hooks/node_modules/core-js/internals/use-symbol-as-uid.js.map +0 -1
  1503. package/dist/hooks/node_modules/core-js/internals/v8-prototype-define-bug.js +0 -2
  1504. package/dist/hooks/node_modules/core-js/internals/v8-prototype-define-bug.js.map +0 -1
  1505. package/dist/hooks/node_modules/core-js/internals/weak-map-basic-detection.js +0 -2
  1506. package/dist/hooks/node_modules/core-js/internals/weak-map-basic-detection.js.map +0 -1
  1507. package/dist/hooks/node_modules/core-js/internals/well-known-symbol.js +0 -2
  1508. package/dist/hooks/node_modules/core-js/internals/well-known-symbol.js.map +0 -1
  1509. package/dist/hooks/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1510. package/dist/hooks/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1511. package/dist/hooks/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1512. package/dist/hooks/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1513. package/dist/lib/cjs/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1514. package/dist/lib/cjs/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1515. package/dist/lib/cjs/node_modules/core-js/internals/advance-string-index.js +0 -2
  1516. package/dist/lib/cjs/node_modules/core-js/internals/advance-string-index.js.map +0 -1
  1517. package/dist/lib/cjs/node_modules/core-js/internals/classof.js +0 -2
  1518. package/dist/lib/cjs/node_modules/core-js/internals/classof.js.map +0 -1
  1519. package/dist/lib/cjs/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1520. package/dist/lib/cjs/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1521. package/dist/lib/cjs/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1522. package/dist/lib/cjs/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1523. package/dist/lib/cjs/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
  1524. package/dist/lib/cjs/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
  1525. package/dist/lib/cjs/node_modules/core-js/internals/dom-iterables.js +0 -2
  1526. package/dist/lib/cjs/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1527. package/dist/lib/cjs/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1528. package/dist/lib/cjs/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1529. package/dist/lib/cjs/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
  1530. package/dist/lib/cjs/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
  1531. package/dist/lib/cjs/node_modules/core-js/internals/function-apply.js +0 -2
  1532. package/dist/lib/cjs/node_modules/core-js/internals/function-apply.js.map +0 -1
  1533. package/dist/lib/cjs/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1534. package/dist/lib/cjs/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1535. package/dist/lib/cjs/node_modules/core-js/internals/get-substitution.js +0 -2
  1536. package/dist/lib/cjs/node_modules/core-js/internals/get-substitution.js.map +0 -1
  1537. package/dist/lib/cjs/node_modules/core-js/internals/inherit-if-required.js +0 -2
  1538. package/dist/lib/cjs/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
  1539. package/dist/lib/cjs/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1540. package/dist/lib/cjs/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1541. package/dist/lib/cjs/node_modules/core-js/internals/is-regexp.js +0 -2
  1542. package/dist/lib/cjs/node_modules/core-js/internals/is-regexp.js.map +0 -1
  1543. package/dist/lib/cjs/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1544. package/dist/lib/cjs/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1545. package/dist/lib/cjs/node_modules/core-js/internals/iterator-define.js +0 -2
  1546. package/dist/lib/cjs/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1547. package/dist/lib/cjs/node_modules/core-js/internals/iterators-core.js +0 -2
  1548. package/dist/lib/cjs/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1549. package/dist/lib/cjs/node_modules/core-js/internals/iterators.js +0 -2
  1550. package/dist/lib/cjs/node_modules/core-js/internals/iterators.js.map +0 -1
  1551. package/dist/lib/cjs/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1552. package/dist/lib/cjs/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1553. package/dist/lib/cjs/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1554. package/dist/lib/cjs/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1555. package/dist/lib/cjs/node_modules/core-js/internals/proxy-accessor.js +0 -2
  1556. package/dist/lib/cjs/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
  1557. package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
  1558. package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
  1559. package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec.js +0 -2
  1560. package/dist/lib/cjs/node_modules/core-js/internals/regexp-exec.js.map +0 -1
  1561. package/dist/lib/cjs/node_modules/core-js/internals/regexp-flags.js +0 -2
  1562. package/dist/lib/cjs/node_modules/core-js/internals/regexp-flags.js.map +0 -1
  1563. package/dist/lib/cjs/node_modules/core-js/internals/regexp-get-flags.js +0 -2
  1564. package/dist/lib/cjs/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
  1565. package/dist/lib/cjs/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
  1566. package/dist/lib/cjs/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
  1567. package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
  1568. package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
  1569. package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
  1570. package/dist/lib/cjs/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
  1571. package/dist/lib/cjs/node_modules/core-js/internals/set-species.js +0 -2
  1572. package/dist/lib/cjs/node_modules/core-js/internals/set-species.js.map +0 -1
  1573. package/dist/lib/cjs/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1574. package/dist/lib/cjs/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1575. package/dist/lib/cjs/node_modules/core-js/internals/string-multibyte.js +0 -2
  1576. package/dist/lib/cjs/node_modules/core-js/internals/string-multibyte.js.map +0 -1
  1577. package/dist/lib/cjs/node_modules/core-js/internals/string-trim-forced.js +0 -2
  1578. package/dist/lib/cjs/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
  1579. package/dist/lib/cjs/node_modules/core-js/internals/string-trim.js +0 -2
  1580. package/dist/lib/cjs/node_modules/core-js/internals/string-trim.js.map +0 -1
  1581. package/dist/lib/cjs/node_modules/core-js/internals/to-string-tag-support.js +0 -2
  1582. package/dist/lib/cjs/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
  1583. package/dist/lib/cjs/node_modules/core-js/internals/to-string.js +0 -2
  1584. package/dist/lib/cjs/node_modules/core-js/internals/to-string.js.map +0 -1
  1585. package/dist/lib/cjs/node_modules/core-js/internals/whitespaces.js +0 -2
  1586. package/dist/lib/cjs/node_modules/core-js/internals/whitespaces.js.map +0 -1
  1587. package/dist/lib/cjs/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1588. package/dist/lib/cjs/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1589. package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
  1590. package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
  1591. package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.exec.js +0 -2
  1592. package/dist/lib/cjs/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
  1593. package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace-all.js +0 -2
  1594. package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
  1595. package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace.js +0 -2
  1596. package/dist/lib/cjs/node_modules/core-js/modules/es.string.replace.js.map +0 -1
  1597. package/dist/lib/cjs/node_modules/core-js/modules/es.string.trim.js +0 -2
  1598. package/dist/lib/cjs/node_modules/core-js/modules/es.string.trim.js.map +0 -1
  1599. package/dist/lib/cjs/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1600. package/dist/lib/cjs/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1601. package/dist/lib/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1602. package/dist/lib/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1603. package/dist/lib/esm/node_modules/core-js/internals/advance-string-index.js +0 -2
  1604. package/dist/lib/esm/node_modules/core-js/internals/advance-string-index.js.map +0 -1
  1605. package/dist/lib/esm/node_modules/core-js/internals/classof.js +0 -2
  1606. package/dist/lib/esm/node_modules/core-js/internals/classof.js.map +0 -1
  1607. package/dist/lib/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1608. package/dist/lib/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1609. package/dist/lib/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1610. package/dist/lib/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1611. package/dist/lib/esm/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
  1612. package/dist/lib/esm/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
  1613. package/dist/lib/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
  1614. package/dist/lib/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1615. package/dist/lib/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1616. package/dist/lib/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1617. package/dist/lib/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
  1618. package/dist/lib/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
  1619. package/dist/lib/esm/node_modules/core-js/internals/function-apply.js +0 -2
  1620. package/dist/lib/esm/node_modules/core-js/internals/function-apply.js.map +0 -1
  1621. package/dist/lib/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1622. package/dist/lib/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1623. package/dist/lib/esm/node_modules/core-js/internals/get-substitution.js +0 -2
  1624. package/dist/lib/esm/node_modules/core-js/internals/get-substitution.js.map +0 -1
  1625. package/dist/lib/esm/node_modules/core-js/internals/inherit-if-required.js +0 -2
  1626. package/dist/lib/esm/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
  1627. package/dist/lib/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1628. package/dist/lib/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1629. package/dist/lib/esm/node_modules/core-js/internals/is-regexp.js +0 -2
  1630. package/dist/lib/esm/node_modules/core-js/internals/is-regexp.js.map +0 -1
  1631. package/dist/lib/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1632. package/dist/lib/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1633. package/dist/lib/esm/node_modules/core-js/internals/iterator-define.js +0 -2
  1634. package/dist/lib/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1635. package/dist/lib/esm/node_modules/core-js/internals/iterators-core.js +0 -2
  1636. package/dist/lib/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1637. package/dist/lib/esm/node_modules/core-js/internals/iterators.js +0 -2
  1638. package/dist/lib/esm/node_modules/core-js/internals/iterators.js.map +0 -1
  1639. package/dist/lib/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1640. package/dist/lib/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1641. package/dist/lib/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1642. package/dist/lib/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1643. package/dist/lib/esm/node_modules/core-js/internals/proxy-accessor.js +0 -2
  1644. package/dist/lib/esm/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
  1645. package/dist/lib/esm/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
  1646. package/dist/lib/esm/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
  1647. package/dist/lib/esm/node_modules/core-js/internals/regexp-exec.js +0 -2
  1648. package/dist/lib/esm/node_modules/core-js/internals/regexp-exec.js.map +0 -1
  1649. package/dist/lib/esm/node_modules/core-js/internals/regexp-flags.js +0 -2
  1650. package/dist/lib/esm/node_modules/core-js/internals/regexp-flags.js.map +0 -1
  1651. package/dist/lib/esm/node_modules/core-js/internals/regexp-get-flags.js +0 -2
  1652. package/dist/lib/esm/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
  1653. package/dist/lib/esm/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
  1654. package/dist/lib/esm/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
  1655. package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
  1656. package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
  1657. package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
  1658. package/dist/lib/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
  1659. package/dist/lib/esm/node_modules/core-js/internals/set-species.js +0 -2
  1660. package/dist/lib/esm/node_modules/core-js/internals/set-species.js.map +0 -1
  1661. package/dist/lib/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1662. package/dist/lib/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1663. package/dist/lib/esm/node_modules/core-js/internals/string-multibyte.js +0 -2
  1664. package/dist/lib/esm/node_modules/core-js/internals/string-multibyte.js.map +0 -1
  1665. package/dist/lib/esm/node_modules/core-js/internals/string-trim-forced.js +0 -2
  1666. package/dist/lib/esm/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
  1667. package/dist/lib/esm/node_modules/core-js/internals/string-trim.js +0 -2
  1668. package/dist/lib/esm/node_modules/core-js/internals/string-trim.js.map +0 -1
  1669. package/dist/lib/esm/node_modules/core-js/internals/to-string-tag-support.js +0 -2
  1670. package/dist/lib/esm/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
  1671. package/dist/lib/esm/node_modules/core-js/internals/to-string.js +0 -2
  1672. package/dist/lib/esm/node_modules/core-js/internals/to-string.js.map +0 -1
  1673. package/dist/lib/esm/node_modules/core-js/internals/whitespaces.js +0 -2
  1674. package/dist/lib/esm/node_modules/core-js/internals/whitespaces.js.map +0 -1
  1675. package/dist/lib/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1676. package/dist/lib/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1677. package/dist/lib/esm/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
  1678. package/dist/lib/esm/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
  1679. package/dist/lib/esm/node_modules/core-js/modules/es.regexp.exec.js +0 -2
  1680. package/dist/lib/esm/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
  1681. package/dist/lib/esm/node_modules/core-js/modules/es.string.replace-all.js +0 -2
  1682. package/dist/lib/esm/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
  1683. package/dist/lib/esm/node_modules/core-js/modules/es.string.replace.js +0 -2
  1684. package/dist/lib/esm/node_modules/core-js/modules/es.string.replace.js.map +0 -1
  1685. package/dist/lib/esm/node_modules/core-js/modules/es.string.trim.js +0 -2
  1686. package/dist/lib/esm/node_modules/core-js/modules/es.string.trim.js.map +0 -1
  1687. package/dist/lib/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1688. package/dist/lib/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1689. package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1690. package/dist/ui/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1691. package/dist/ui/esm/node_modules/core-js/internals/advance-string-index.js +0 -2
  1692. package/dist/ui/esm/node_modules/core-js/internals/advance-string-index.js.map +0 -1
  1693. package/dist/ui/esm/node_modules/core-js/internals/classof.js +0 -2
  1694. package/dist/ui/esm/node_modules/core-js/internals/classof.js.map +0 -1
  1695. package/dist/ui/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1696. package/dist/ui/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1697. package/dist/ui/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1698. package/dist/ui/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1699. package/dist/ui/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
  1700. package/dist/ui/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1701. package/dist/ui/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1702. package/dist/ui/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1703. package/dist/ui/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
  1704. package/dist/ui/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
  1705. package/dist/ui/esm/node_modules/core-js/internals/function-apply.js +0 -2
  1706. package/dist/ui/esm/node_modules/core-js/internals/function-apply.js.map +0 -1
  1707. package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1708. package/dist/ui/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1709. package/dist/ui/esm/node_modules/core-js/internals/get-substitution.js +0 -2
  1710. package/dist/ui/esm/node_modules/core-js/internals/get-substitution.js.map +0 -1
  1711. package/dist/ui/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1712. package/dist/ui/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1713. package/dist/ui/esm/node_modules/core-js/internals/is-regexp.js +0 -2
  1714. package/dist/ui/esm/node_modules/core-js/internals/is-regexp.js.map +0 -1
  1715. package/dist/ui/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1716. package/dist/ui/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1717. package/dist/ui/esm/node_modules/core-js/internals/iterator-define.js +0 -2
  1718. package/dist/ui/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1719. package/dist/ui/esm/node_modules/core-js/internals/iterators-core.js +0 -2
  1720. package/dist/ui/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1721. package/dist/ui/esm/node_modules/core-js/internals/iterators.js +0 -2
  1722. package/dist/ui/esm/node_modules/core-js/internals/iterators.js.map +0 -1
  1723. package/dist/ui/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1724. package/dist/ui/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1725. package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1726. package/dist/ui/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1727. package/dist/ui/esm/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
  1728. package/dist/ui/esm/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
  1729. package/dist/ui/esm/node_modules/core-js/internals/regexp-exec.js +0 -2
  1730. package/dist/ui/esm/node_modules/core-js/internals/regexp-exec.js.map +0 -1
  1731. package/dist/ui/esm/node_modules/core-js/internals/regexp-flags.js +0 -2
  1732. package/dist/ui/esm/node_modules/core-js/internals/regexp-flags.js.map +0 -1
  1733. package/dist/ui/esm/node_modules/core-js/internals/regexp-get-flags.js +0 -2
  1734. package/dist/ui/esm/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
  1735. package/dist/ui/esm/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
  1736. package/dist/ui/esm/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
  1737. package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
  1738. package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
  1739. package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
  1740. package/dist/ui/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
  1741. package/dist/ui/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1742. package/dist/ui/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1743. package/dist/ui/esm/node_modules/core-js/internals/string-multibyte.js +0 -2
  1744. package/dist/ui/esm/node_modules/core-js/internals/string-multibyte.js.map +0 -1
  1745. package/dist/ui/esm/node_modules/core-js/internals/to-string-tag-support.js +0 -2
  1746. package/dist/ui/esm/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
  1747. package/dist/ui/esm/node_modules/core-js/internals/to-string.js +0 -2
  1748. package/dist/ui/esm/node_modules/core-js/internals/to-string.js.map +0 -1
  1749. package/dist/ui/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1750. package/dist/ui/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1751. package/dist/ui/esm/node_modules/core-js/modules/es.regexp.exec.js +0 -2
  1752. package/dist/ui/esm/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
  1753. package/dist/ui/esm/node_modules/core-js/modules/es.string.replace-all.js +0 -2
  1754. package/dist/ui/esm/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
  1755. package/dist/ui/esm/node_modules/core-js/modules/es.string.replace.js +0 -2
  1756. package/dist/ui/esm/node_modules/core-js/modules/es.string.replace.js.map +0 -1
  1757. package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1758. package/dist/ui/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1759. package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1760. package/dist/ui/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1761. package/dist/ui/node_modules/core-js/internals/advance-string-index.js +0 -2
  1762. package/dist/ui/node_modules/core-js/internals/advance-string-index.js.map +0 -1
  1763. package/dist/ui/node_modules/core-js/internals/classof.js +0 -2
  1764. package/dist/ui/node_modules/core-js/internals/classof.js.map +0 -1
  1765. package/dist/ui/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1766. package/dist/ui/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1767. package/dist/ui/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1768. package/dist/ui/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1769. package/dist/ui/node_modules/core-js/internals/dom-iterables.js +0 -2
  1770. package/dist/ui/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1771. package/dist/ui/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1772. package/dist/ui/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1773. package/dist/ui/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
  1774. package/dist/ui/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
  1775. package/dist/ui/node_modules/core-js/internals/function-apply.js +0 -2
  1776. package/dist/ui/node_modules/core-js/internals/function-apply.js.map +0 -1
  1777. package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1778. package/dist/ui/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1779. package/dist/ui/node_modules/core-js/internals/get-substitution.js +0 -2
  1780. package/dist/ui/node_modules/core-js/internals/get-substitution.js.map +0 -1
  1781. package/dist/ui/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1782. package/dist/ui/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1783. package/dist/ui/node_modules/core-js/internals/is-regexp.js +0 -2
  1784. package/dist/ui/node_modules/core-js/internals/is-regexp.js.map +0 -1
  1785. package/dist/ui/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1786. package/dist/ui/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1787. package/dist/ui/node_modules/core-js/internals/iterator-define.js +0 -2
  1788. package/dist/ui/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1789. package/dist/ui/node_modules/core-js/internals/iterators-core.js +0 -2
  1790. package/dist/ui/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1791. package/dist/ui/node_modules/core-js/internals/iterators.js +0 -2
  1792. package/dist/ui/node_modules/core-js/internals/iterators.js.map +0 -1
  1793. package/dist/ui/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1794. package/dist/ui/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1795. package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1796. package/dist/ui/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1797. package/dist/ui/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
  1798. package/dist/ui/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
  1799. package/dist/ui/node_modules/core-js/internals/regexp-exec.js +0 -2
  1800. package/dist/ui/node_modules/core-js/internals/regexp-exec.js.map +0 -1
  1801. package/dist/ui/node_modules/core-js/internals/regexp-flags.js +0 -2
  1802. package/dist/ui/node_modules/core-js/internals/regexp-flags.js.map +0 -1
  1803. package/dist/ui/node_modules/core-js/internals/regexp-get-flags.js +0 -2
  1804. package/dist/ui/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
  1805. package/dist/ui/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
  1806. package/dist/ui/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
  1807. package/dist/ui/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
  1808. package/dist/ui/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
  1809. package/dist/ui/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
  1810. package/dist/ui/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
  1811. package/dist/ui/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1812. package/dist/ui/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1813. package/dist/ui/node_modules/core-js/internals/string-multibyte.js +0 -2
  1814. package/dist/ui/node_modules/core-js/internals/string-multibyte.js.map +0 -1
  1815. package/dist/ui/node_modules/core-js/internals/to-string-tag-support.js +0 -2
  1816. package/dist/ui/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
  1817. package/dist/ui/node_modules/core-js/internals/to-string.js +0 -2
  1818. package/dist/ui/node_modules/core-js/internals/to-string.js.map +0 -1
  1819. package/dist/ui/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1820. package/dist/ui/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1821. package/dist/ui/node_modules/core-js/modules/es.regexp.exec.js +0 -2
  1822. package/dist/ui/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
  1823. package/dist/ui/node_modules/core-js/modules/es.string.replace-all.js +0 -2
  1824. package/dist/ui/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
  1825. package/dist/ui/node_modules/core-js/modules/es.string.replace.js +0 -2
  1826. package/dist/ui/node_modules/core-js/modules/es.string.replace.js.map +0 -1
  1827. package/dist/ui/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1828. package/dist/ui/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1829. package/dist/utils/esm/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1830. package/dist/utils/esm/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1831. package/dist/utils/esm/node_modules/core-js/internals/advance-string-index.js +0 -2
  1832. package/dist/utils/esm/node_modules/core-js/internals/advance-string-index.js.map +0 -1
  1833. package/dist/utils/esm/node_modules/core-js/internals/classof.js +0 -2
  1834. package/dist/utils/esm/node_modules/core-js/internals/classof.js.map +0 -1
  1835. package/dist/utils/esm/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1836. package/dist/utils/esm/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1837. package/dist/utils/esm/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1838. package/dist/utils/esm/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1839. package/dist/utils/esm/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
  1840. package/dist/utils/esm/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
  1841. package/dist/utils/esm/node_modules/core-js/internals/dom-iterables.js +0 -2
  1842. package/dist/utils/esm/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1843. package/dist/utils/esm/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1844. package/dist/utils/esm/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1845. package/dist/utils/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
  1846. package/dist/utils/esm/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
  1847. package/dist/utils/esm/node_modules/core-js/internals/function-apply.js +0 -2
  1848. package/dist/utils/esm/node_modules/core-js/internals/function-apply.js.map +0 -1
  1849. package/dist/utils/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1850. package/dist/utils/esm/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1851. package/dist/utils/esm/node_modules/core-js/internals/get-substitution.js +0 -2
  1852. package/dist/utils/esm/node_modules/core-js/internals/get-substitution.js.map +0 -1
  1853. package/dist/utils/esm/node_modules/core-js/internals/inherit-if-required.js +0 -2
  1854. package/dist/utils/esm/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
  1855. package/dist/utils/esm/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1856. package/dist/utils/esm/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1857. package/dist/utils/esm/node_modules/core-js/internals/is-regexp.js +0 -2
  1858. package/dist/utils/esm/node_modules/core-js/internals/is-regexp.js.map +0 -1
  1859. package/dist/utils/esm/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1860. package/dist/utils/esm/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1861. package/dist/utils/esm/node_modules/core-js/internals/iterator-define.js +0 -2
  1862. package/dist/utils/esm/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1863. package/dist/utils/esm/node_modules/core-js/internals/iterators-core.js +0 -2
  1864. package/dist/utils/esm/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1865. package/dist/utils/esm/node_modules/core-js/internals/iterators.js +0 -2
  1866. package/dist/utils/esm/node_modules/core-js/internals/iterators.js.map +0 -1
  1867. package/dist/utils/esm/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1868. package/dist/utils/esm/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1869. package/dist/utils/esm/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1870. package/dist/utils/esm/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1871. package/dist/utils/esm/node_modules/core-js/internals/proxy-accessor.js +0 -2
  1872. package/dist/utils/esm/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
  1873. package/dist/utils/esm/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
  1874. package/dist/utils/esm/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
  1875. package/dist/utils/esm/node_modules/core-js/internals/regexp-exec.js +0 -2
  1876. package/dist/utils/esm/node_modules/core-js/internals/regexp-exec.js.map +0 -1
  1877. package/dist/utils/esm/node_modules/core-js/internals/regexp-flags.js +0 -2
  1878. package/dist/utils/esm/node_modules/core-js/internals/regexp-flags.js.map +0 -1
  1879. package/dist/utils/esm/node_modules/core-js/internals/regexp-get-flags.js +0 -2
  1880. package/dist/utils/esm/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
  1881. package/dist/utils/esm/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
  1882. package/dist/utils/esm/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
  1883. package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
  1884. package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
  1885. package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
  1886. package/dist/utils/esm/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
  1887. package/dist/utils/esm/node_modules/core-js/internals/set-species.js +0 -2
  1888. package/dist/utils/esm/node_modules/core-js/internals/set-species.js.map +0 -1
  1889. package/dist/utils/esm/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1890. package/dist/utils/esm/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1891. package/dist/utils/esm/node_modules/core-js/internals/string-multibyte.js +0 -2
  1892. package/dist/utils/esm/node_modules/core-js/internals/string-multibyte.js.map +0 -1
  1893. package/dist/utils/esm/node_modules/core-js/internals/string-trim-forced.js +0 -2
  1894. package/dist/utils/esm/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
  1895. package/dist/utils/esm/node_modules/core-js/internals/string-trim.js +0 -2
  1896. package/dist/utils/esm/node_modules/core-js/internals/string-trim.js.map +0 -1
  1897. package/dist/utils/esm/node_modules/core-js/internals/to-string-tag-support.js +0 -2
  1898. package/dist/utils/esm/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
  1899. package/dist/utils/esm/node_modules/core-js/internals/to-string.js +0 -2
  1900. package/dist/utils/esm/node_modules/core-js/internals/to-string.js.map +0 -1
  1901. package/dist/utils/esm/node_modules/core-js/internals/whitespaces.js +0 -2
  1902. package/dist/utils/esm/node_modules/core-js/internals/whitespaces.js.map +0 -1
  1903. package/dist/utils/esm/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1904. package/dist/utils/esm/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1905. package/dist/utils/esm/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
  1906. package/dist/utils/esm/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
  1907. package/dist/utils/esm/node_modules/core-js/modules/es.regexp.exec.js +0 -2
  1908. package/dist/utils/esm/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
  1909. package/dist/utils/esm/node_modules/core-js/modules/es.string.replace-all.js +0 -2
  1910. package/dist/utils/esm/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
  1911. package/dist/utils/esm/node_modules/core-js/modules/es.string.replace.js +0 -2
  1912. package/dist/utils/esm/node_modules/core-js/modules/es.string.replace.js.map +0 -1
  1913. package/dist/utils/esm/node_modules/core-js/modules/es.string.trim.js +0 -2
  1914. package/dist/utils/esm/node_modules/core-js/modules/es.string.trim.js.map +0 -1
  1915. package/dist/utils/esm/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  1916. package/dist/utils/esm/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
  1917. package/dist/utils/node_modules/core-js/internals/a-possible-prototype.js +0 -2
  1918. package/dist/utils/node_modules/core-js/internals/a-possible-prototype.js.map +0 -1
  1919. package/dist/utils/node_modules/core-js/internals/advance-string-index.js +0 -2
  1920. package/dist/utils/node_modules/core-js/internals/advance-string-index.js.map +0 -1
  1921. package/dist/utils/node_modules/core-js/internals/classof.js +0 -2
  1922. package/dist/utils/node_modules/core-js/internals/classof.js.map +0 -1
  1923. package/dist/utils/node_modules/core-js/internals/correct-prototype-getter.js +0 -2
  1924. package/dist/utils/node_modules/core-js/internals/correct-prototype-getter.js.map +0 -1
  1925. package/dist/utils/node_modules/core-js/internals/create-iter-result-object.js +0 -2
  1926. package/dist/utils/node_modules/core-js/internals/create-iter-result-object.js.map +0 -1
  1927. package/dist/utils/node_modules/core-js/internals/define-built-in-accessor.js +0 -2
  1928. package/dist/utils/node_modules/core-js/internals/define-built-in-accessor.js.map +0 -1
  1929. package/dist/utils/node_modules/core-js/internals/dom-iterables.js +0 -2
  1930. package/dist/utils/node_modules/core-js/internals/dom-iterables.js.map +0 -1
  1931. package/dist/utils/node_modules/core-js/internals/dom-token-list-prototype.js +0 -2
  1932. package/dist/utils/node_modules/core-js/internals/dom-token-list-prototype.js.map +0 -1
  1933. package/dist/utils/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +0 -2
  1934. package/dist/utils/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +0 -1
  1935. package/dist/utils/node_modules/core-js/internals/function-apply.js +0 -2
  1936. package/dist/utils/node_modules/core-js/internals/function-apply.js.map +0 -1
  1937. package/dist/utils/node_modules/core-js/internals/function-uncurry-this-accessor.js +0 -2
  1938. package/dist/utils/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +0 -1
  1939. package/dist/utils/node_modules/core-js/internals/get-substitution.js +0 -2
  1940. package/dist/utils/node_modules/core-js/internals/get-substitution.js.map +0 -1
  1941. package/dist/utils/node_modules/core-js/internals/inherit-if-required.js +0 -2
  1942. package/dist/utils/node_modules/core-js/internals/inherit-if-required.js.map +0 -1
  1943. package/dist/utils/node_modules/core-js/internals/is-possible-prototype.js +0 -2
  1944. package/dist/utils/node_modules/core-js/internals/is-possible-prototype.js.map +0 -1
  1945. package/dist/utils/node_modules/core-js/internals/is-regexp.js +0 -2
  1946. package/dist/utils/node_modules/core-js/internals/is-regexp.js.map +0 -1
  1947. package/dist/utils/node_modules/core-js/internals/iterator-create-constructor.js +0 -2
  1948. package/dist/utils/node_modules/core-js/internals/iterator-create-constructor.js.map +0 -1
  1949. package/dist/utils/node_modules/core-js/internals/iterator-define.js +0 -2
  1950. package/dist/utils/node_modules/core-js/internals/iterator-define.js.map +0 -1
  1951. package/dist/utils/node_modules/core-js/internals/iterators-core.js +0 -2
  1952. package/dist/utils/node_modules/core-js/internals/iterators-core.js.map +0 -1
  1953. package/dist/utils/node_modules/core-js/internals/iterators.js +0 -2
  1954. package/dist/utils/node_modules/core-js/internals/iterators.js.map +0 -1
  1955. package/dist/utils/node_modules/core-js/internals/object-get-prototype-of.js +0 -2
  1956. package/dist/utils/node_modules/core-js/internals/object-get-prototype-of.js.map +0 -1
  1957. package/dist/utils/node_modules/core-js/internals/object-set-prototype-of.js +0 -2
  1958. package/dist/utils/node_modules/core-js/internals/object-set-prototype-of.js.map +0 -1
  1959. package/dist/utils/node_modules/core-js/internals/proxy-accessor.js +0 -2
  1960. package/dist/utils/node_modules/core-js/internals/proxy-accessor.js.map +0 -1
  1961. package/dist/utils/node_modules/core-js/internals/regexp-exec-abstract.js +0 -2
  1962. package/dist/utils/node_modules/core-js/internals/regexp-exec-abstract.js.map +0 -1
  1963. package/dist/utils/node_modules/core-js/internals/regexp-exec.js +0 -2
  1964. package/dist/utils/node_modules/core-js/internals/regexp-exec.js.map +0 -1
  1965. package/dist/utils/node_modules/core-js/internals/regexp-flags.js +0 -2
  1966. package/dist/utils/node_modules/core-js/internals/regexp-flags.js.map +0 -1
  1967. package/dist/utils/node_modules/core-js/internals/regexp-get-flags.js +0 -2
  1968. package/dist/utils/node_modules/core-js/internals/regexp-get-flags.js.map +0 -1
  1969. package/dist/utils/node_modules/core-js/internals/regexp-sticky-helpers.js +0 -2
  1970. package/dist/utils/node_modules/core-js/internals/regexp-sticky-helpers.js.map +0 -1
  1971. package/dist/utils/node_modules/core-js/internals/regexp-unsupported-dot-all.js +0 -2
  1972. package/dist/utils/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +0 -1
  1973. package/dist/utils/node_modules/core-js/internals/regexp-unsupported-ncg.js +0 -2
  1974. package/dist/utils/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +0 -1
  1975. package/dist/utils/node_modules/core-js/internals/set-species.js +0 -2
  1976. package/dist/utils/node_modules/core-js/internals/set-species.js.map +0 -1
  1977. package/dist/utils/node_modules/core-js/internals/set-to-string-tag.js +0 -2
  1978. package/dist/utils/node_modules/core-js/internals/set-to-string-tag.js.map +0 -1
  1979. package/dist/utils/node_modules/core-js/internals/string-multibyte.js +0 -2
  1980. package/dist/utils/node_modules/core-js/internals/string-multibyte.js.map +0 -1
  1981. package/dist/utils/node_modules/core-js/internals/string-trim-forced.js +0 -2
  1982. package/dist/utils/node_modules/core-js/internals/string-trim-forced.js.map +0 -1
  1983. package/dist/utils/node_modules/core-js/internals/string-trim.js +0 -2
  1984. package/dist/utils/node_modules/core-js/internals/string-trim.js.map +0 -1
  1985. package/dist/utils/node_modules/core-js/internals/to-string-tag-support.js +0 -2
  1986. package/dist/utils/node_modules/core-js/internals/to-string-tag-support.js.map +0 -1
  1987. package/dist/utils/node_modules/core-js/internals/to-string.js +0 -2
  1988. package/dist/utils/node_modules/core-js/internals/to-string.js.map +0 -1
  1989. package/dist/utils/node_modules/core-js/internals/whitespaces.js +0 -2
  1990. package/dist/utils/node_modules/core-js/internals/whitespaces.js.map +0 -1
  1991. package/dist/utils/node_modules/core-js/modules/es.array.iterator.js +0 -2
  1992. package/dist/utils/node_modules/core-js/modules/es.array.iterator.js.map +0 -1
  1993. package/dist/utils/node_modules/core-js/modules/es.regexp.constructor.js +0 -2
  1994. package/dist/utils/node_modules/core-js/modules/es.regexp.constructor.js.map +0 -1
  1995. package/dist/utils/node_modules/core-js/modules/es.regexp.exec.js +0 -2
  1996. package/dist/utils/node_modules/core-js/modules/es.regexp.exec.js.map +0 -1
  1997. package/dist/utils/node_modules/core-js/modules/es.string.replace-all.js +0 -2
  1998. package/dist/utils/node_modules/core-js/modules/es.string.replace-all.js.map +0 -1
  1999. package/dist/utils/node_modules/core-js/modules/es.string.replace.js +0 -2
  2000. package/dist/utils/node_modules/core-js/modules/es.string.replace.js.map +0 -1
  2001. package/dist/utils/node_modules/core-js/modules/es.string.trim.js +0 -2
  2002. package/dist/utils/node_modules/core-js/modules/es.string.trim.js.map +0 -1
  2003. package/dist/utils/node_modules/core-js/modules/web.dom-collections.iterator.js +0 -2
  2004. package/dist/utils/node_modules/core-js/modules/web.dom-collections.iterator.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Popup.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/Popup.tsx"],"sourcesContent":["import {\n cloneElement, memo, PropsWithChildren, FC, ReactNode, CSSProperties, useMemo, ReactElement,\n} from 'react'\n\nimport { Popover as PopoverLite } from '../popover/PopoverLite'\nimport { HeadlineTertiary as H3 } from '../../atoms/text'\nimport { IconBase } from '../../icon'\nimport { DividerLine } from '../../dividers'\nimport { LayoutBox } from '../../container'\nimport { closeIconJSX } from '../../atoms/icons'\n\nimport classes from './popup.module.scss'\nimport classesOverlay from './popup.overlay.module.scss'\nimport { PopupAnimateVariant, PopupProps } from './popup.types'\n\n\n/**\n * Styles for the Popup component.\n *\n * @typedef {Object} PopupStyles\n * @property {Object} inner - The inner styles for the popup.\n * @property {CSSProperties} content - The styles for the popup content.\n */\n\nconst styles: {\n popup: {\n inner: Record<string, Record<string, string>>\n }\n\n} = {\n popup: {\n inner: {\n [PopupAnimateVariant.SLIDE_DOWN]: { '--slideYFrom': '-48px' },\n [PopupAnimateVariant.SLIDE_UP]: { '--slideYFrom': '48px' },\n [PopupAnimateVariant.SLIDE_RIGHT]: { '--slideXFrom': '-64px' },\n [PopupAnimateVariant.SLIDE_LEFT]: { '--slideXFrom': '64px' },\n },\n },\n}\n\n/**\n * Popup component.\n *\n * @type {React.FC<PopupProps>}\n * @returns {React.ReactElement} The Popup.\n */\nexport const Popup: FC<PopupProps> = memo<PopupProps>(({\n title = 'Popup\\'s title',\n children,\n components = {},\n isModal = true,\n hideOnClickOutside = false,\n hideOnContentClick = false,\n animateVariant = PopupAnimateVariant.SLIDE_UP,\n hasHeader = true,\n hasCloseIcon = true,\n width,\n height,\n style,\n ...props\n}: PopupProps) => {\n /**\n * The ContentComponent to render.\n *\n * @type {ComponentType}\n */\n const ContentComponent = components?.ContentComponent\n\n /**\n * The popup styles.\n *\n * @type {CSSProperties}\n */\n const styles = useMemo(() => ({\n ...(width ? { '--popup-width': width } : {}),\n ...(height ? { '--popup-height': height } : {}),\n ...style,\n }), [height, style, width])\n\n return (\n <PopoverLite\n clickable\n isPopup\n isModal={isModal}\n hideOnContentClick={hideOnContentClick}\n hideOnClickOutside={hideOnClickOutside}\n modalOverlayClassName={classesOverlay['popup-modal-overlay']}\n {...props}\n >\n <p>{/* Placeholder element to avoid error with no children */}</p>\n <PopupContent\n title={title}\n hasHeader={hasHeader}\n hasCloseIcon={hasCloseIcon}\n animateVariant={animateVariant}\n popupStyle={styles}\n >\n {/* Render children if ContentComponent is not provided */}\n {(!ContentComponent && children) && children}\n {/* Render ContentComponent if children are not provided */}\n {(!children && ContentComponent) && <ContentComponent />}\n </PopupContent>\n </PopoverLite>\n )\n})\n\n/**\n * The display name of the Popup component.\n *\n * @type {string}\n */\nPopup.displayName = 'Popup'\n\ntype PopupContentProps = PropsWithChildren<unknown> & {\n title?: string\n forwardedRef?: ForwardedRef['forwardedRef']\n animateVariant?: PopupProps['animateVariant']\n popupStyle?: CSSProperties\n hasHeader?: boolean\n hasCloseIcon?: boolean\n closeIconURL?: string\n hide?: () => void\n}\n\n/**\n * The PopupContent component.\n *\n * @param {PopupContentProps} props The props for the PopupContent component.\n * @returns {React.ReactElement} The PopupContent.\n */\nconst PopupContent = memo(({\n title,\n forwardedRef,\n hide,\n children,\n animateVariant,\n popupStyle,\n hasHeader = true,\n hasCloseIcon = true,\n closeIconURL,\n ...props\n}: PopupContentProps) => {\n /**\n * The ContentRemapped element.\n *\n * @type {React.ReactElement[] | React.ReactElement}\n */\n const ContentRemapped = children && Array.isArray(children)\n ? children.filter((child: ReactNode | ReactElement) => !!child)\n .map((child: ReactElement, index: number) => cloneElement(\n // eslint-disable-next-line react/no-array-index-key\n child, { key: index, ...child.props, hide, ...props },\n ))\n : <div>Pseudo Content</div>\n\n return (\n <div className={`${classes['popup-container']}`} ref={forwardedRef} style={popupStyle}>\n <LayoutBox\n className={`${classes['popup-container-inner']}`}\n style={animateVariant ? styles.popup.inner[animateVariant] as CSSProperties : {}}\n >\n {hasHeader && (\n <>\n <LayoutBox justify='space-between' align='start' width='100%' padding='20px 20px 16px 20px'>\n <H3>{title}</H3>\n {hasCloseIcon && (\n <div\n onClick={hide}\n onKeyDown={hide}\n role='button'\n tabIndex={-1}\n className={classes['close-button']}\n >\n {closeIconURL && <IconBase iconUrl={closeIconURL} />}\n {!closeIconURL && (\n <IconBase>\n {closeIconJSX}\n </IconBase>\n )}\n </div>\n )}\n </LayoutBox>\n <DividerLine length='100%' />\n </>\n )}\n <div className={classes['popup-container-inner-div']}>\n {ContentRemapped && ContentRemapped}\n </div>\n </LayoutBox>\n </div>\n )\n})\n\n/**\n * The display name of the PopupContent component.\n *\n * @type {string}\n */\nPopupContent.displayName = 'PopupContent'\n"],"names":["styles","popup","inner","PopupAnimateVariant","SLIDE_DOWN","SLIDE_UP","SLIDE_RIGHT","SLIDE_LEFT","Popup","memo","_ref","title","children","components","isModal","hideOnClickOutside","hideOnContentClick","animateVariant","hasHeader","hasCloseIcon","width","height","style","props","_objectWithoutProperties","_excluded","ContentComponent","useMemo","_objectSpread","React","createElement","PopoverLite","_extends","clickable","isPopup","modalOverlayClassName","classesOverlay","PopupContent","popupStyle","displayName","_ref2","forwardedRef","hide","closeIconURL","_excluded2","ContentRemapped","Array","isArray","filter","child","map","index","cloneElement","key","className","concat","classes","ref","LayoutBox","Fragment","justify","align","padding","H3","onClick","onKeyDown","role","tabIndex","IconBase","iconUrl","closeIconJSX","DividerLine","length"],"mappings":"07BAwBMA,EAKF,CACFC,MAAO,CACLC,MAAO,CACL,CAACC,EAAoBC,YAAa,CAAE,eAAgB,SACpD,CAACD,EAAoBE,UAAW,CAAE,eAAgB,QAClD,CAACF,EAAoBG,aAAc,CAAE,eAAgB,SACrD,CAACH,EAAoBI,YAAa,CAAE,eAAgB,WAW7CC,EAAwBC,GAAiBC,IAcpC,IAdqCC,MACrDA,EAAQ,gBAAgBC,SACxBA,EAAQC,WACRA,EAAa,CAAE,EAAAC,QACfA,GAAU,EAAIC,mBACdA,GAAqB,EAAKC,mBAC1BA,GAAqB,EAAKC,eAC1BA,EAAiBd,EAAoBE,SAAQa,UAC7CA,GAAY,EAAIC,aAChBA,GAAe,EAAIC,MACnBA,EAAKC,OACLA,EAAMC,MACNA,GAEWZ,EADRa,EAAKC,EAAAd,EAAAe,GAOR,MAAMC,EAAmBb,aAAAA,EAAAA,EAAYa,iBAO/B1B,EAAS2B,GAAQ,IAAAC,EAAAA,EAAAA,EACjBR,CAAAA,EAAAA,EAAQ,CAAE,gBAAiBA,GAAU,CAAA,GACrCC,EAAS,CAAE,iBAAkBA,GAAW,CAAA,GACzCC,IACD,CAACD,EAAQC,EAAOF,IAEpB,OACES,MAAAC,cAACC,EAAWC,EAAA,CACVC,WAAS,EACTC,SAAO,EACPpB,QAASA,EACTE,mBAAoBA,EACpBD,mBAAoBA,EACpBoB,sBAAuBC,EAAe,wBAClCb,GAEJM,MAAAC,cAAA,IAAA,MACAD,MAAAC,cAACO,EAAY,CACX1B,MAAOA,EACPO,UAAWA,EACXC,aAAcA,EACdF,eAAgBA,EAChBqB,WAAYtC,IAGT0B,GAAoBd,GAAaA,GAEjCA,GAAYc,GAAqBG,MAAAC,cAACJ,EAAkB,OAE7C,IASlBlB,EAAM+B,YAAc,QAmBpB,MAAMF,EAAe5B,GAAK+B,IAWD,IAXE7B,MACzBA,EAAK8B,aACLA,EAAYC,KACZA,EAAI9B,SACJA,EAAQK,eACRA,EAAcqB,WACdA,EAAUpB,UACVA,GAAY,EAAIC,aAChBA,GAAe,EAAIwB,aACnBA,GAEkBH,EADfjB,EAAKC,EAAAgB,EAAAI,GAOR,MAAMC,EAAkBjC,GAAYkC,MAAMC,QAAQnC,GAC9CA,EAASoC,QAAQC,KAAsCA,IACtDC,KAAI,CAACD,EAAqBE,IAAkBC,EAE3CH,EAAKrB,EAAAA,EAAA,CAAIyB,IAAKF,GAAUF,EAAM1B,OAAK,GAAA,CAAEmB,QAASnB,MAEhDM,MAAAC,cAAK,MAAA,KAAA,kBAET,OACED,MAAAC,cAAA,MAAA,CAAKwB,aAASC,OAAKC,EAAQ,oBAAsBC,IAAKhB,EAAcnB,MAAOgB,GACzET,MAAAC,cAAC4B,EAAS,CACRJ,aAASC,OAAKC,EAAQ,0BACtBlC,MAAOL,EAAiBjB,EAAOC,MAAMC,MAAMe,GAAmC,CAAA,GAE7EC,GACCW,MAAAC,cAAAD,MAAA8B,SACE9B,KAAAA,MAAAC,cAAC4B,EAAS,CAACE,QAAQ,gBAAgBC,MAAM,QAAQzC,MAAM,OAAO0C,QAAQ,uBACpEjC,MAAAC,cAACiC,EAAE,KAAEpD,GACJQ,GACCU,MAAAC,cAAA,MAAA,CACEkC,QAAStB,EACTuB,UAAWvB,EACXwB,KAAK,SACLC,UAAW,EACXb,UAAWE,EAAQ,iBAElBb,GAAgBd,MAAAC,cAACsC,EAAQ,CAACC,QAAS1B,KAClCA,GACAd,MAAAC,cAACsC,OACEE,KAMXzC,MAAAC,cAACyC,EAAW,CAACC,OAAO,UAGxB3C,MAAAC,cAAA,MAAA,CAAKwB,UAAWE,EAAQ,8BACrBX,GAAmBA,IAGpB,IASVR,EAAaE,YAAc"}
1
+ {"version":3,"file":"Popup.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/Popup.tsx"],"sourcesContent":["import {\n cloneElement, memo, PropsWithChildren, FC, ReactNode, CSSProperties, useMemo, ReactElement,\n} from 'react'\n\nimport { Popover as PopoverLite } from '../popover/PopoverLite'\nimport { HeadlineTertiary as H3 } from '../../atoms/text'\nimport { IconBase } from '../../icon'\nimport { DividerLine } from '../../dividers'\nimport { LayoutBox } from '../../container'\nimport { closeIconJSX } from '../../atoms/icons'\n\nimport classes from './popup.module.scss'\nimport classesOverlay from './popup.overlay.module.scss'\nimport { PopupAnimateVariant, PopupProps } from './popup.types'\n\n\n/**\n * Styles for the Popup component.\n *\n * @typedef {Object} PopupStyles\n * @property {Object} inner - The inner styles for the popup.\n * @property {CSSProperties} content - The styles for the popup content.\n */\n\nconst styles: {\n popup: {\n inner: Record<string, Record<string, string>>\n }\n\n} = {\n popup: {\n inner: {\n [PopupAnimateVariant.SLIDE_DOWN]: { '--slideYFrom': '-48px' },\n [PopupAnimateVariant.SLIDE_UP]: { '--slideYFrom': '48px' },\n [PopupAnimateVariant.SLIDE_RIGHT]: { '--slideXFrom': '-64px' },\n [PopupAnimateVariant.SLIDE_LEFT]: { '--slideXFrom': '64px' },\n },\n },\n}\n\n/**\n * Popup component.\n *\n * @type {React.FC<PopupProps>}\n * @returns {React.ReactElement} The Popup.\n */\nexport const Popup: FC<PopupProps> = memo<PopupProps>(({\n title = 'Popup\\'s title',\n children,\n components = {},\n isModal = true,\n hideOnClickOutside = false,\n hideOnContentClick = false,\n animateVariant = PopupAnimateVariant.SLIDE_UP,\n hasHeader = true,\n hasCloseIcon = true,\n width,\n height,\n style,\n ...props\n}: PopupProps) => {\n /**\n * The ContentComponent to render.\n *\n * @type {ComponentType}\n */\n const ContentComponent = components?.ContentComponent\n\n /**\n * The popup styles.\n *\n * @type {CSSProperties}\n */\n const styles = useMemo(() => ({\n ...(width ? { '--popup-width': width } : {}),\n ...(height ? { '--popup-height': height } : {}),\n ...style,\n }), [height, style, width])\n\n return (\n <PopoverLite\n clickable\n isPopup\n isModal={isModal}\n hideOnContentClick={hideOnContentClick}\n hideOnClickOutside={hideOnClickOutside}\n modalOverlayClassName={classesOverlay['popup-modal-overlay']}\n {...props}\n >\n <p>{/* Placeholder element to avoid error with no children */}</p>\n <PopupContent\n title={title}\n hasHeader={hasHeader}\n hasCloseIcon={hasCloseIcon}\n animateVariant={animateVariant}\n popupStyle={styles}\n >\n {/* Render children if ContentComponent is not provided */}\n {(!ContentComponent && children) && children}\n {/* Render ContentComponent if children are not provided */}\n {(!children && ContentComponent) && <ContentComponent />}\n </PopupContent>\n </PopoverLite>\n )\n})\n\n/**\n * The display name of the Popup component.\n *\n * @type {string}\n */\nPopup.displayName = 'Popup'\n\ntype PopupContentProps = PropsWithChildren<unknown> & {\n title?: string\n forwardedRef?: ForwardedRef['forwardedRef']\n animateVariant?: PopupProps['animateVariant']\n popupStyle?: CSSProperties\n hasHeader?: boolean\n hasCloseIcon?: boolean\n closeIconURL?: string\n hide?: () => void\n}\n\n/**\n * The PopupContent component.\n *\n * @param {PopupContentProps} props The props for the PopupContent component.\n * @returns {React.ReactElement} The PopupContent.\n */\nconst PopupContent = memo(({\n title,\n forwardedRef,\n hide,\n children,\n animateVariant,\n popupStyle,\n hasHeader = true,\n hasCloseIcon = true,\n closeIconURL,\n ...props\n}: PopupContentProps) => {\n /**\n * The ContentRemapped element.\n *\n * @type {React.ReactElement[] | React.ReactElement}\n */\n const ContentRemapped = children && Array.isArray(children)\n ? children.filter((child: ReactNode | ReactElement) => !!child)\n .map((child: ReactElement, index: number) => cloneElement(\n // eslint-disable-next-line react/no-array-index-key\n child, { key: index, ...child.props, hide, ...props },\n ))\n : <div>Pseudo Content</div>\n\n return (\n <div className={`${classes['popup-container']}`} ref={forwardedRef} style={popupStyle}>\n <LayoutBox\n className={`${classes['popup-container-inner']}`}\n style={animateVariant ? styles.popup.inner[animateVariant] as CSSProperties : {}}\n >\n {hasHeader && (\n <>\n <LayoutBox justify='space-between' align='start' width='100%' padding='20px 20px 16px 20px'>\n <H3>{title}</H3>\n {hasCloseIcon && (\n <div\n onClick={hide}\n onKeyDown={hide}\n role='button'\n tabIndex={-1}\n className={classes['close-button']}\n >\n {closeIconURL && <IconBase iconUrl={closeIconURL} />}\n {!closeIconURL && (\n <IconBase>\n {closeIconJSX}\n </IconBase>\n )}\n </div>\n )}\n </LayoutBox>\n <DividerLine length='100%' />\n </>\n )}\n <div className={classes['popup-container-inner-div']}>\n {ContentRemapped && ContentRemapped}\n </div>\n </LayoutBox>\n </div>\n )\n})\n\n/**\n * The display name of the PopupContent component.\n *\n * @type {string}\n */\nPopupContent.displayName = 'PopupContent'\n"],"names":["styles","popup","inner","PopupAnimateVariant","SLIDE_DOWN","SLIDE_UP","SLIDE_RIGHT","SLIDE_LEFT","Popup","memo","_ref","title","children","components","isModal","hideOnClickOutside","hideOnContentClick","animateVariant","hasHeader","hasCloseIcon","width","height","style","props","ContentComponent","useMemo","React","createElement","PopoverLite","_extends","clickable","isPopup","modalOverlayClassName","classesOverlay","PopupContent","popupStyle","displayName","_ref2","forwardedRef","hide","closeIconURL","ContentRemapped","Array","isArray","filter","child","map","index","cloneElement","key","className","classes","ref","LayoutBox","Fragment","justify","align","padding","H3","onClick","onKeyDown","role","tabIndex","IconBase","iconUrl","closeIconJSX","DividerLine","length"],"mappings":"knBAwBA,MAAMA,EAKF,CACFC,MAAO,CACLC,MAAO,CACL,CAACC,EAAoBC,YAAa,CAAE,eAAgB,SACpD,CAACD,EAAoBE,UAAW,CAAE,eAAgB,QAClD,CAACF,EAAoBG,aAAc,CAAE,eAAgB,SACrD,CAACH,EAAoBI,YAAa,CAAE,eAAgB,WAW7CC,EAAwBC,GAAiBC,IAcpC,IAdqCC,MACrDA,EAAQ,gBAAgBC,SACxBA,EAAQC,WACRA,EAAa,CAAA,EAAEC,QACfA,GAAU,EAAIC,mBACdA,GAAqB,EAAKC,mBAC1BA,GAAqB,EAAKC,eAC1BA,EAAiBd,EAAoBE,SAAQa,UAC7CA,GAAY,EAAIC,aAChBA,GAAe,EAAIC,MACnBA,EAAKC,OACLA,EAAMC,MACNA,KACGC,GACQb,EAMX,MAAMc,EAAmBX,GAAYW,iBAO/BxB,EAASyB,GAAQ,KAAA,IACjBL,EAAQ,CAAE,gBAAiBA,GAAU,MACrCC,EAAS,CAAE,iBAAkBA,GAAW,MACzCC,KACD,CAACD,EAAQC,EAAOF,IAEpB,OACEM,MAAAC,cAACC,EAAWC,EAAA,CACVC,WAAS,EACTC,SAAO,EACPjB,QAASA,EACTE,mBAAoBA,EACpBD,mBAAoBA,EACpBiB,sBAAuBC,EAAe,wBAClCV,GAEJG,MAAAC,cAAA,IAAA,MACAD,MAAAC,cAACO,EAAY,CACXvB,MAAOA,EACPO,UAAWA,EACXC,aAAcA,EACdF,eAAgBA,EAChBkB,WAAYnC,IAGTwB,GAAoBZ,GAAaA,GAEjCA,GAAYY,GAAqBE,MAAAC,cAACH,EAAgB,OAE3C,IASlBhB,EAAM4B,YAAc,QAmBpB,MAAMF,EAAezB,GAAK4B,IAWD,IAXE1B,MACzBA,EAAK2B,aACLA,EAAYC,KACZA,EAAI3B,SACJA,EAAQK,eACRA,EAAckB,WACdA,EAAUjB,UACVA,GAAY,EAAIC,aAChBA,GAAe,EAAIqB,aACnBA,KACGjB,GACec,EAMlB,MAAMI,EAAkB7B,GAAY8B,MAAMC,QAAQ/B,GAC9CA,EAASgC,QAAQC,KAAsCA,IACtDC,KAAI,CAACD,EAAqBE,IAAkBC,EAE3CH,EAAO,CAAEI,IAAKF,KAAUF,EAAMtB,MAAOgB,UAAShB,MAEhDG,MAAAC,cAAA,MAAA,KAAK,kBAET,OACED,MAAAC,cAAA,MAAA,CAAKuB,UAAW,GAAGC,EAAQ,qBAAsBC,IAAKd,EAAchB,MAAOa,GACzET,MAAAC,cAAC0B,EAAS,CACRH,UAAW,GAAGC,EAAQ,2BACtB7B,MAAOL,EAAiBjB,EAAOC,MAAMC,MAAMe,GAAmC,CAAA,GAE7EC,GACCQ,MAAAC,cAAAD,MAAA4B,SAAA,KACE5B,MAAAC,cAAC0B,EAAS,CAACE,QAAQ,gBAAgBC,MAAM,QAAQpC,MAAM,OAAOqC,QAAQ,uBACpE/B,MAAAC,cAAC+B,EAAE,KAAE/C,GACJQ,GACCO,MAAAC,cAAA,MAAA,CACEgC,QAASpB,EACTqB,UAAWrB,EACXsB,KAAK,SACLC,UAAU,EACVZ,UAAWC,EAAQ,iBAElBX,GAAgBd,MAAAC,cAACoC,EAAQ,CAACC,QAASxB,KAClCA,GACAd,MAAAC,cAACoC,OACEE,KAMXvC,MAAAC,cAACuC,EAAW,CAACC,OAAO,UAGxBzC,MAAAC,cAAA,MAAA,CAAKuB,UAAWC,EAAQ,8BACrBV,GAAmBA,IAGpB,IASVP,EAAaE,YAAc"}
@@ -1,2 +1,2 @@
1
- var p={"overflow-hidden":"popup-module_overflow-hidden__uimg4","text-truncate":"popup-module_text-truncate__y-5c1","text-nowrap":"popup-module_text-nowrap__eDCv3","text-ellipsis":"popup-module_text-ellipsis__yu8nx","popup-container":"popup-module_popup-container__PJ0oQ","popup-container-inner":"popup-module_popup-container-inner__n83Cz","close-button":"popup-module_close-button__-8sZx","popup-container-inner-div":"popup-module_popup-container-inner-div__sDNBm"};export{p as default};
1
+ var p={"popup-container":"popup-module_popup-container__PJ0oQ","popup-container-inner":"popup-module_popup-container-inner__n83Cz","close-button":"popup-module_close-button__-8sZx","popup-container-inner-div":"popup-module_popup-container-inner-div__sDNBm"};export{p as default};
2
2
  //# sourceMappingURL=popup.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popup.types.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/popup.types.ts"],"sourcesContent":["import { CSSProperties, ComponentType, PropsWithChildren } from 'react'\n\nimport { PopoverProps } from '../popover/popover.types'\n\n\n/**\n * Enumeration of animation variants for the Popup component.\n *\n * @readonly\n * @enum {string}\n */\nexport enum PopupAnimateVariant {\n SLIDE_DOWN = 'slideDown',\n SLIDE_UP = 'slideUp',\n SLIDE_RIGHT = 'slideRight',\n SLIDE_LEFT = 'slideLeft',\n}\n\n/**\n * Props for the Popup component.\n *\n * @typedef {PropsWithChildren & PopoverProps & {\n* title?: string\n* className?: string\n* components?: {\n* ContentComponent?: ComponentType | undefined\n* }\n* animateVariant?: PopupAnimateVariant\n* width?: string\n* height?: string\n* style?: CSSProperties\n* }} PopupProps\n* @property {string} [title=\"Popup's title\"] - The title of the popup.\n* @property {string} [className] - The CSS class name for the popup.\n* @property {Object} [components] - The components to be used for rendering the popup content.\n* @property {ComponentType | undefined} [components.ContentComponent]\n* - The component to be used for rendering the popup content.\n* @property {PopupAnimateVariant} [animateVariant=PopupAnimateVariant.SLIDE_UP]\n* - The animation variant to be used for the popup.\n* @property {string} [width] - The width of the popup.\n* @property {string} [height] - The height of the popup.\n* @property {CSSProperties} [style] - The inline style for the popup.\n*/\nexport type PopupProps = PropsWithChildren & PopoverProps & {\n title?: string\n className?: string\n components?: {\n ContentComponent?: ComponentType | undefined\n }\n animateVariant?: PopupAnimateVariant\n hasHeader?: boolean\n hasCloseIcon?: boolean\n width?: string\n height?: string\n style?: CSSProperties\n}\n"],"names":["PopupAnimateVariant"],"mappings":"AAWYA,IAAAA,WAAAA,GAAmB,OAAnBA,EAAmB,WAAA,YAAnBA,EAAmB,SAAA,UAAnBA,EAAmB,YAAA,aAAnBA,EAAmB,WAAA,YAAnBA,CAAmB,EAAA,CAAA"}
1
+ {"version":3,"file":"popup.types.js","sources":["../../../../../../../../../src/core/ui/components/molecules/popup/popup.types.ts"],"sourcesContent":["import { CSSProperties, ComponentType, PropsWithChildren } from 'react'\n\nimport { PopoverProps } from '../popover/popover.types'\n\n\n/**\n * Enumeration of animation variants for the Popup component.\n *\n * @readonly\n * @enum {string}\n */\nexport enum PopupAnimateVariant {\n SLIDE_DOWN = 'slideDown',\n SLIDE_UP = 'slideUp',\n SLIDE_RIGHT = 'slideRight',\n SLIDE_LEFT = 'slideLeft',\n}\n\n/**\n * Props for the Popup component.\n *\n * @typedef {PropsWithChildren & PopoverProps & {\n* title?: string\n* className?: string\n* components?: {\n* ContentComponent?: ComponentType | undefined\n* }\n* animateVariant?: PopupAnimateVariant\n* width?: string\n* height?: string\n* style?: CSSProperties\n* }} PopupProps\n* @property {string} [title=\"Popup's title\"] - The title of the popup.\n* @property {string} [className] - The CSS class name for the popup.\n* @property {Object} [components] - The components to be used for rendering the popup content.\n* @property {ComponentType | undefined} [components.ContentComponent]\n* - The component to be used for rendering the popup content.\n* @property {PopupAnimateVariant} [animateVariant=PopupAnimateVariant.SLIDE_UP]\n* - The animation variant to be used for the popup.\n* @property {string} [width] - The width of the popup.\n* @property {string} [height] - The height of the popup.\n* @property {CSSProperties} [style] - The inline style for the popup.\n*/\nexport type PopupProps = PropsWithChildren & PopoverProps & {\n title?: string\n className?: string\n components?: {\n ContentComponent?: ComponentType | undefined\n }\n animateVariant?: PopupAnimateVariant\n hasHeader?: boolean\n hasCloseIcon?: boolean\n width?: string\n height?: string\n style?: CSSProperties\n}\n"],"names":["PopupAnimateVariant"],"mappings":"AAWA,IAAYA,WAAAA,GAAmB,OAAnBA,EAAmB,WAAA,YAAnBA,EAAmB,SAAA,UAAnBA,EAAmB,YAAA,aAAnBA,EAAmB,WAAA,YAAnBA,CAAmB,EAAA,CAAA"}
@@ -1,2 +1,2 @@
1
- const t=(t,n)=>o=>{const c=o.target,e="function"==typeof t?t():t;e&&!e.contains(c)&&(null==n||n(c))};export{t as handleClickOutside};
1
+ const t=(t,n)=>o=>{const c=o.target,e="function"==typeof t?t():t;e&&!e.contains(c)&&n?.(c)};export{t as handleClickOutside};
2
2
  //# sourceMappingURL=clickOutside.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"clickOutside.js","sources":["../../../../../../../src/core/ui/utils/clickOutside.ts"],"sourcesContent":["type Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\nexport const handleClickOutside = (\n element: Element,\n callback?: CallbackFunction,\n) => (event: MouseEvent): void => {\n const target = event.target as HTMLElement | null\n const resolvedElement:HTMLElement | null = typeof element === 'function' ? element() : element\n\n if (resolvedElement && !resolvedElement.contains(target)) {\n callback?.(target)\n }\n}\n"],"names":["handleClickOutside","element","callback","event","target","resolvedElement","contains"],"mappings":"AAGO,MAAMA,EAAqBA,CAChCC,EACAC,IACIC,IACJ,MAAMC,EAASD,EAAMC,OACfC,EAAwD,mBAAZJ,EAAyBA,IAAYA,EAEnFI,IAAoBA,EAAgBC,SAASF,KAC/CF,SAAAA,EAAWE,GACb"}
1
+ {"version":3,"file":"clickOutside.js","sources":["../../../../../../../src/core/ui/utils/clickOutside.ts"],"sourcesContent":["type Element = HTMLElement | null | (() => HTMLElement)\ntype CallbackFunction = (target: HTMLElement | null) => void\n\nexport const handleClickOutside = (\n element: Element,\n callback?: CallbackFunction,\n) => (event: MouseEvent): void => {\n const target = event.target as HTMLElement | null\n const resolvedElement:HTMLElement | null = typeof element === 'function' ? element() : element\n\n if (resolvedElement && !resolvedElement.contains(target)) {\n callback?.(target)\n }\n}\n"],"names":["handleClickOutside","element","callback","event","target","resolvedElement","contains"],"mappings":"AAGO,MAAMA,EAAqBA,CAChCC,EACAC,IACIC,IACJ,MAAMC,EAASD,EAAMC,OACfC,EAAwD,mBAAZJ,EAAyBA,IAAYA,EAEnFI,IAAoBA,EAAgBC,SAASF,IAC/CF,IAAWE,EACb"}
@@ -1,2 +1,2 @@
1
- import"../../../../node_modules/core-js/modules/es.regexp.exec.js";import"../../../../node_modules/core-js/modules/es.string.replace.js";let t=16;const n=n=>{t=n},e=n=>n/t,s=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rem";return"string"==typeof t?t:"px"===n?"".concat(e(t),"rem"):"".concat(t).concat(n)},c=t=>(t=t.toString(16)).padStart(2,"0"),r=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const s=t.replace("#",""),r=s.substring(0,2),o=s.substring(2,4),a=s.substring(4,6),i=parseInt(r,16),u=parseInt(o,16),p=parseInt(a,16),l=n<=1?n:n/100;return(e?"rgba(".concat(i,",").concat(u,",").concat(p,",").concat(l,")"):"#".concat(r).concat(o).concat(a).concat(c(Math.round(255*(n<=1?n:n/100))))).toLowerCase()},o=(t,n,e,s)=>"#".concat(c(t)).concat(c(n)).concat(c(e)).concat(c(Math.round(255*(s<=1?s:s/100)))),a=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5;0===t.indexOf("#")&&(t=t.substr(1)),0===n.indexOf("#")&&(n=n.substr(1));const s=Math.ceil(parseInt(n.substring(0,2),16)*e+parseInt(t.substring(0,2),16)*(1-e)),r=Math.ceil(parseInt(n.substring(2,4),16)*e+parseInt(t.substring(2,4),16)*(1-e)),o=Math.ceil(parseInt(n.substring(4,6),16)*e+parseInt(t.substring(4,6),16)*(1-e));return"#".concat(c(s)+c(r)+c(o))},i=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const s=e/(e+1)/e,c=[];let r=s;for(;e--;)c.push(r),r+=s;return c.map((e=>a(t,n,e)))};export{i as calculateColors,a as calculatePercColor,r as convertHex,o as convertRGB,t as defaultFontSize,e as pxToRem,s as resolveStyleValue,n as setDefaultFontSize,c as toHex};
1
+ let t=16;const n=n=>{t=n},r=n=>n/t,s=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rem";return"string"==typeof t?t:"px"===n?`${r(t)}rem`:`${t}${n}`},e=t=>(t=t.toString(16)).padStart(2,"0"),i=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const s=t.replace("#",""),i=s.substring(0,2),u=s.substring(2,4),a=s.substring(4,6),o=parseInt(i,16),g=parseInt(u,16),p=parseInt(a,16);return(r?`rgba(${o},${g},${p},${n<=1?n:n/100})`:`#${i}${u}${a}${e(Math.round(255*(n<=1?n:n/100)))}`).toLowerCase()},u=(t,n,r,s)=>`#${e(t)}${e(n)}${e(r)}${e(Math.round(255*(s<=1?s:s/100)))}`,a=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5;0===t.indexOf("#")&&(t=t.substr(1)),0===n.indexOf("#")&&(n=n.substr(1));const s=Math.ceil(parseInt(n.substring(0,2),16)*r+parseInt(t.substring(0,2),16)*(1-r)),i=Math.ceil(parseInt(n.substring(2,4),16)*r+parseInt(t.substring(2,4),16)*(1-r)),u=Math.ceil(parseInt(n.substring(4,6),16)*r+parseInt(t.substring(4,6),16)*(1-r));return`#${e(s)+e(i)+e(u)}`},o=function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const s=r/(r+1)/r,e=[];let i=s;for(;r--;)e.push(i),i+=s;return e.map((r=>a(t,n,r)))};export{o as calculateColors,a as calculatePercColor,i as convertHex,u as convertRGB,t as defaultFontSize,r as pxToRem,s as resolveStyleValue,n as setDefaultFontSize,e as toHex};
2
2
  //# sourceMappingURL=style.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"style.js","sources":["../../../../../../../src/core/ui/utils/style.ts"],"sourcesContent":["// eslint-disable-next-line import/no-mutable-exports\nexport let defaultFontSize = 16\nexport const setDefaultFontSize = (fontSize: number): void => {\n defaultFontSize = fontSize\n}\n\nexport const pxToRem = (px: number): number => px / defaultFontSize\n\nexport const resolveStyleValue = (\n value: string | number,\n units = 'rem',\n): string => {\n if (typeof value === 'string') {\n return value as string\n }\n\n if (units === 'px') {\n return `${pxToRem(value)}rem`\n }\n\n return `${value}${units}`\n}\n\n/* eslint-disable no-param-reassign */\nexport const toHex = (x: number | string): string => {\n x = x.toString(16)\n return x.padStart(2, '0')\n}\n\nexport const convertHex = (hex: string, opacity: number, rgba = false): string => {\n const hexValue = hex.replace('#', '')\n const rValue = hexValue.substring(0, 2)\n const gValue = hexValue.substring(2, 4)\n const bValue = hexValue.substring(4, 6)\n const r = parseInt(rValue, 16)\n const g = parseInt(gValue, 16)\n const b = parseInt(bValue, 16)\n\n const a = opacity <= 1 ? opacity : (opacity / 100)\n\n return (rgba\n ? `rgba(${r},${g},${b},${a})`\n : `#${rValue}${gValue}${bValue}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`)\n .toLowerCase()\n}\n\nexport const convertRGB = (\n r: number, g: number, b: number, opacity: number,\n): string => `#${toHex(r)}${toHex(g)}${toHex(b)}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`\n\nexport const calculatePercColor = (startColor: string, endColor: string, ratio = 0.5): string => {\n if (startColor.indexOf('#') === 0) {\n startColor = startColor.substr(1)\n }\n if (endColor.indexOf('#') === 0) {\n endColor = endColor.substr(1)\n }\n\n const r = Math.ceil(parseInt(endColor.substring(0, 2), 16) * ratio\n + parseInt(startColor.substring(0, 2), 16) * (1 - ratio))\n const g = Math.ceil(parseInt(endColor.substring(2, 4), 16) * ratio\n + parseInt(startColor.substring(2, 4), 16) * (1 - ratio))\n const b = Math.ceil(parseInt(endColor.substring(4, 6), 16) * ratio\n + parseInt(startColor.substring(4, 6), 16) * (1 - ratio))\n\n return `#${toHex(r) + toHex(g) + toHex(b)}`\n}\n\nexport const calculateColors = (startColor: string, endColor: string, num = 10): string[] => {\n const ratioIterator = (num / (num + 1)) / num\n const ratios = []\n let ratio = ratioIterator\n\n // eslint-disable-next-line no-plusplus\n while (num--) {\n ratios.push(ratio)\n ratio += ratioIterator\n }\n\n return ratios.map((rat) => calculatePercColor(startColor, endColor, rat))\n}\n"],"names":["defaultFontSize","setDefaultFontSize","fontSize","pxToRem","px","resolveStyleValue","value","units","arguments","length","undefined","concat","toHex","x","toString","padStart","convertHex","hex","opacity","rgba","hexValue","replace","rValue","substring","gValue","bValue","r","parseInt","g","b","a","Math","round","toLowerCase","convertRGB","calculatePercColor","startColor","endColor","ratio","indexOf","substr","ceil","calculateColors","num","ratioIterator","ratios","push","map","rat"],"mappings":"yIACO,IAAIA,EAAkB,GAChBC,MAAAA,EAAsBC,IACjCF,EAAkBE,CAAQ,EAGfC,EAAWC,GAAuBA,EAAKJ,EAEvCK,EAAoB,SAC/BC,GAEW,IADXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,MAER,MAAqB,iBAAVF,EACFA,EAGK,OAAVC,EACF,GAAAI,OAAUR,EAAQG,GAAM,OAG1B,GAAAK,OAAUL,GAAKK,OAAGJ,EACpB,EAGaK,EAASC,IACpBA,EAAIA,EAAEC,SAAS,KACNC,SAAS,EAAG,KAGVC,EAAa,SAACC,EAAaC,GAA0C,IAAzBC,EAAIX,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAC3D,MAAMY,EAAWH,EAAII,QAAQ,IAAK,IAC5BC,EAASF,EAASG,UAAU,EAAG,GAC/BC,EAASJ,EAASG,UAAU,EAAG,GAC/BE,EAASL,EAASG,UAAU,EAAG,GAC/BG,EAAIC,SAASL,EAAQ,IACrBM,EAAID,SAASH,EAAQ,IACrBK,EAAIF,SAASF,EAAQ,IAErBK,EAAIZ,GAAW,EAAIA,EAAWA,EAAU,IAE9C,OAAQC,EAAI,QAAAR,OACAe,EAAC,KAAAf,OAAIiB,EAAC,KAAAjB,OAAIkB,EAAClB,KAAAA,OAAImB,EAACnB,KAAAA,IAAAA,OACpBW,GAAMX,OAAGa,GAAMb,OAAGc,GAAMd,OAAGC,EAAMmB,KAAKC,MAAmD,KAA5Cd,GAAW,EAAIA,EAAWA,EAAU,SACtFe,aACL,EAEaC,EAAaA,CACxBR,EAAWE,EAAWC,EAAWX,IAAe,IAAAP,OACjCC,EAAMc,IAAEf,OAAGC,EAAMgB,IAAEjB,OAAGC,EAAMiB,IAAElB,OAAGC,EAAMmB,KAAKC,MAAmD,KAA5Cd,GAAW,EAAIA,EAAWA,EAAU,QAE3FiB,EAAqB,SAACC,EAAoBC,GAA0C,IAAxBC,EAAK9B,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC/C,IAA5B4B,EAAWG,QAAQ,OACrBH,EAAaA,EAAWI,OAAO,IAEH,IAA1BH,EAASE,QAAQ,OACnBF,EAAWA,EAASG,OAAO,IAG7B,MAAMd,EAAIK,KAAKU,KAAKd,SAASU,EAASd,UAAU,EAAG,GAAI,IAAMe,EACzDX,SAASS,EAAWb,UAAU,EAAG,GAAI,KAAO,EAAIe,IAC9CV,EAAIG,KAAKU,KAAKd,SAASU,EAASd,UAAU,EAAG,GAAI,IAAMe,EACzDX,SAASS,EAAWb,UAAU,EAAG,GAAI,KAAO,EAAIe,IAC9CT,EAAIE,KAAKU,KAAKd,SAASU,EAASd,UAAU,EAAG,GAAI,IAAMe,EACzDX,SAASS,EAAWb,UAAU,EAAG,GAAI,KAAO,EAAIe,IAEpD,MAAA,IAAA3B,OAAWC,EAAMc,GAAKd,EAAMgB,GAAKhB,EAAMiB,GACzC,EAEaa,EAAkB,SAACN,EAAoBC,GAAyC,IAAvBM,EAAGnC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC1E,MAAMoC,EAAiBD,GAAOA,EAAM,GAAMA,EACpCE,EAAS,GACf,IAAIP,EAAQM,EAGZ,KAAOD,KACLE,EAAOC,KAAKR,GACZA,GAASM,EAGX,OAAOC,EAAOE,KAAKC,GAAQb,EAAmBC,EAAYC,EAAUW,IACtE"}
1
+ {"version":3,"file":"style.js","sources":["../../../../../../../src/core/ui/utils/style.ts"],"sourcesContent":["// eslint-disable-next-line import/no-mutable-exports\nexport let defaultFontSize = 16\nexport const setDefaultFontSize = (fontSize: number): void => {\n defaultFontSize = fontSize\n}\n\nexport const pxToRem = (px: number): number => px / defaultFontSize\n\nexport const resolveStyleValue = (\n value: string | number,\n units = 'rem',\n): string => {\n if (typeof value === 'string') {\n return value as string\n }\n\n if (units === 'px') {\n return `${pxToRem(value)}rem`\n }\n\n return `${value}${units}`\n}\n\n/* eslint-disable no-param-reassign */\nexport const toHex = (x: number | string): string => {\n x = x.toString(16)\n return x.padStart(2, '0')\n}\n\nexport const convertHex = (hex: string, opacity: number, rgba = false): string => {\n const hexValue = hex.replace('#', '')\n const rValue = hexValue.substring(0, 2)\n const gValue = hexValue.substring(2, 4)\n const bValue = hexValue.substring(4, 6)\n const r = parseInt(rValue, 16)\n const g = parseInt(gValue, 16)\n const b = parseInt(bValue, 16)\n\n const a = opacity <= 1 ? opacity : (opacity / 100)\n\n return (rgba\n ? `rgba(${r},${g},${b},${a})`\n : `#${rValue}${gValue}${bValue}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`)\n .toLowerCase()\n}\n\nexport const convertRGB = (\n r: number, g: number, b: number, opacity: number,\n): string => `#${toHex(r)}${toHex(g)}${toHex(b)}${toHex(Math.round((opacity <= 1 ? opacity : (opacity / 100)) * 255))}`\n\nexport const calculatePercColor = (startColor: string, endColor: string, ratio = 0.5): string => {\n if (startColor.indexOf('#') === 0) {\n startColor = startColor.substr(1)\n }\n if (endColor.indexOf('#') === 0) {\n endColor = endColor.substr(1)\n }\n\n const r = Math.ceil(parseInt(endColor.substring(0, 2), 16) * ratio\n + parseInt(startColor.substring(0, 2), 16) * (1 - ratio))\n const g = Math.ceil(parseInt(endColor.substring(2, 4), 16) * ratio\n + parseInt(startColor.substring(2, 4), 16) * (1 - ratio))\n const b = Math.ceil(parseInt(endColor.substring(4, 6), 16) * ratio\n + parseInt(startColor.substring(4, 6), 16) * (1 - ratio))\n\n return `#${toHex(r) + toHex(g) + toHex(b)}`\n}\n\nexport const calculateColors = (startColor: string, endColor: string, num = 10): string[] => {\n const ratioIterator = (num / (num + 1)) / num\n const ratios = []\n let ratio = ratioIterator\n\n // eslint-disable-next-line no-plusplus\n while (num--) {\n ratios.push(ratio)\n ratio += ratioIterator\n }\n\n return ratios.map((rat) => calculatePercColor(startColor, endColor, rat))\n}\n"],"names":["defaultFontSize","setDefaultFontSize","fontSize","pxToRem","px","resolveStyleValue","value","units","arguments","length","undefined","toHex","x","toString","padStart","convertHex","hex","opacity","rgba","hexValue","replace","rValue","substring","gValue","bValue","r","parseInt","g","b","Math","round","toLowerCase","convertRGB","calculatePercColor","startColor","endColor","ratio","indexOf","substr","ceil","calculateColors","num","ratioIterator","ratios","push","map","rat"],"mappings":"AACO,IAAIA,EAAkB,GACtB,MAAMC,EAAsBC,IACjCF,EAAkBE,CAAQ,EAGfC,EAAWC,GAAuBA,EAAKJ,EAEvCK,EAAoB,SAC/BC,GAEW,IADXC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,MAER,MAAqB,iBAAVF,EACFA,EAGK,OAAVC,EACK,GAAGJ,EAAQG,QAGb,GAAGA,IAAQC,GACpB,EAGaI,EAASC,IACpBA,EAAIA,EAAEC,SAAS,KACNC,SAAS,EAAG,KAGVC,EAAa,SAACC,EAAaC,GAA0C,IAAzBC,EAAIV,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAC3D,MAAMW,EAAWH,EAAII,QAAQ,IAAK,IAC5BC,EAASF,EAASG,UAAU,EAAG,GAC/BC,EAASJ,EAASG,UAAU,EAAG,GAC/BE,EAASL,EAASG,UAAU,EAAG,GAC/BG,EAAIC,SAASL,EAAQ,IACrBM,EAAID,SAASH,EAAQ,IACrBK,EAAIF,SAASF,EAAQ,IAI3B,OAAQN,EACJ,QAAQO,KAAKE,KAAKC,KAHZX,GAAW,EAAIA,EAAWA,EAAU,OAI1C,IAAII,IAASE,IAASC,IAASb,EAAMkB,KAAKC,MAAmD,KAA5Cb,GAAW,EAAIA,EAAWA,EAAU,UACtFc,aACL,EAEaC,EAAaA,CACxBP,EAAWE,EAAWC,EAAWX,IACtB,IAAIN,EAAMc,KAAKd,EAAMgB,KAAKhB,EAAMiB,KAAKjB,EAAMkB,KAAKC,MAAmD,KAA5Cb,GAAW,EAAIA,EAAWA,EAAU,SAE3FgB,EAAqB,SAACC,EAAoBC,GAA0C,IAAxBC,EAAK5B,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC/C,IAA5B0B,EAAWG,QAAQ,OACrBH,EAAaA,EAAWI,OAAO,IAEH,IAA1BH,EAASE,QAAQ,OACnBF,EAAWA,EAASG,OAAO,IAG7B,MAAMb,EAAII,KAAKU,KAAKb,SAASS,EAASb,UAAU,EAAG,GAAI,IAAMc,EACzDV,SAASQ,EAAWZ,UAAU,EAAG,GAAI,KAAO,EAAIc,IAC9CT,EAAIE,KAAKU,KAAKb,SAASS,EAASb,UAAU,EAAG,GAAI,IAAMc,EACzDV,SAASQ,EAAWZ,UAAU,EAAG,GAAI,KAAO,EAAIc,IAC9CR,EAAIC,KAAKU,KAAKb,SAASS,EAASb,UAAU,EAAG,GAAI,IAAMc,EACzDV,SAASQ,EAAWZ,UAAU,EAAG,GAAI,KAAO,EAAIc,IAEpD,MAAO,IAAIzB,EAAMc,GAAKd,EAAMgB,GAAKhB,EAAMiB,IACzC,EAEaY,EAAkB,SAACN,EAAoBC,GAAyC,IAAvBM,EAAGjC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,GAC1E,MAAMkC,EAAiBD,GAAOA,EAAM,GAAMA,EACpCE,EAAS,GACf,IAAIP,EAAQM,EAGZ,KAAOD,KACLE,EAAOC,KAAKR,GACZA,GAASM,EAGX,OAAOC,EAAOE,KAAKC,GAAQb,EAAmBC,EAAYC,EAAUW,IACtE"}
@@ -1,2 +1,2 @@
1
- import{objectSpread2 as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{NON_EXISTENT_CHANNEL as t}from"./peregrineMQ.types.js";import s from"../../../../../node_modules/uuid/dist/esm-browser/v4.js";class n extends Error{constructor(){super("Clearing PeregrineMQ is not allowed. Please read the documentation for more information."),this.name="PeregrineMQClearError"}}class r{constructor(r,i){this.id=void 0,this.config={allowAutoPrune:!1,pruneInterval:1e4,allowClear:!1},this.channels=new Map,this.listeners=new Map,this.addListener=(e,t)=>{const s=this.listeners.get(e),n=this.channels.get(t);n&&(s?s.push(n):this.listeners.set(e,[n]))},this.removeListener=e=>{const t=this.listeners.get(e);let s=!0;for(const n of t||[])if(s=!n.has(e),!s)break;s&&this.listeners.delete(e)},this.publishToChannel=(e,s,n)=>{const r=this.channels.get(e);if(!r)return t;const i=r[Symbol.iterator]();let l=i.next().value;const h=[];for(;l;)h.push(l(e,n)),l=i.next().value;return 1===(null==h?void 0:h.length)?h[0]:h},this.configure=t=>{this.config=t;const{allowAutoPrune:s,pruneInterval:n}=t;let r;s&&(r=setInterval((()=>{this.prune()}),n));const i=this;return e({},s?{clearPruneInterval:()=>{clearInterval(r)},restartPruneInterval:()=>{clearInterval(r),r=setInterval((()=>{i.prune()}),n)}}:{})},this.getChannels=()=>[...this.channels.keys()],this.prune=()=>{const e=this.channels[Symbol.iterator]();let t=e.next().value;const s=[];for(;t;){var n;0===(null===(n=t[1])||void 0===n?void 0:n.size)&&(s.push(t[0]),this.channels.delete(t[0])),t=e.next().value}return s},this.removeChannel=e=>{const t=this.channels.get(e);if(t&&t.size>0){const e=[...t||[]];t.clear();let s=e.length;for(;s--;)this.removeListener(e[s])}return this.channels.delete(e)},this.publish=(e,t)=>{if(e.includes(".")){const s=e.split(".");let{length:n}=s,r=0;const i=[];for(;n--;){const e=this.publishToChannel(s.slice(0,r+1).join("."),n!==s.length-1,t);r+=1,i.push(e)}return i}return this.publishToChannel(e,!1,t)},this.subscribe=(e,t)=>{const s=this.channels.get(e);return s?s.add(t):this.channels.set(e,new Set([t])),this.addListener(t,e),()=>this.unsubscribe(t,{channel:e,prune:!0})},this.unsubscribe=(e,t)=>{const{channel:s,prune:n}=t||{};let r=!1;if(s){const t=this.channels.get(s);return r=!!t&&t.delete(e),n&&0===(null==t?void 0:t.size)&&this.channels.delete(s),this.removeListener(e),r}const i=this.listeners.get(e)||[];for(const t of i)r=t.delete(e),n&&0===t.size&&this.prune();return this.listeners.delete(e),r},this.isSubscribed=(e,t)=>{if(t){const s=this.channels.get(t);return!!s&&s.has(e)}return this.listeners.has(e)},this.clear=()=>{if(!this.config.allowClear)throw new n;this.channels.clear(),this.listeners.clear()},this.getId=()=>this.id,this.id=r||s(),this.configure(i||{})}get length(){return[...this.channels.values()].reduce(((e,t)=>e+t.size),0)}}export{r as PeregrineMQ,n as PeregrineMQClearError};
1
+ import"../../../../../node_modules/core-js/modules/es.array.includes.js";import{NON_EXISTENT_CHANNEL as e}from"./peregrineMQ.types.js";import t from"../../../../../node_modules/uuid/dist/esm-browser/v4.js";class s extends Error{constructor(){super("Clearing PeregrineMQ is not allowed. Please read the documentation for more information."),this.name="PeregrineMQClearError"}}class n{constructor(n,r){this.id=void 0,this.config={allowAutoPrune:!1,pruneInterval:1e4,allowClear:!1},this.channels=new Map,this.listeners=new Map,this.addListener=(e,t)=>{const s=this.listeners.get(e),n=this.channels.get(t);n&&(s?s.push(n):this.listeners.set(e,[n]))},this.removeListener=e=>{const t=this.listeners.get(e);let s=!0;for(const n of t||[])if(s=!n.has(e),!s)break;s&&this.listeners.delete(e)},this.publishToChannel=(t,s,n)=>{const r=this.channels.get(t);if(!r)return e;const i=r[Symbol.iterator]();let l=i.next().value;const h=[];for(;l;)h.push(l(t,n)),l=i.next().value;return 1===h?.length?h[0]:h},this.configure=e=>{this.config=e;const{allowAutoPrune:t,pruneInterval:s}=e;let n;t&&(n=setInterval((()=>{this.prune()}),s));const r=this;return{...t?{clearPruneInterval:()=>{clearInterval(n)},restartPruneInterval:()=>{clearInterval(n),n=setInterval((()=>{r.prune()}),s)}}:{}}},this.getChannels=()=>[...this.channels.keys()],this.prune=()=>{const e=this.channels[Symbol.iterator]();let t=e.next().value;const s=[];for(;t;)0===t[1]?.size&&(s.push(t[0]),this.channels.delete(t[0])),t=e.next().value;return s},this.removeChannel=e=>{const t=this.channels.get(e);if(t&&t.size>0){const e=[...t||[]];t.clear();let s=e.length;for(;s--;)this.removeListener(e[s])}return this.channels.delete(e)},this.publish=(e,t)=>{if(e.includes(".")){const s=e.split(".");let{length:n}=s,r=0;const i=[];for(;n--;){const e=this.publishToChannel(s.slice(0,r+1).join("."),n!==s.length-1,t);r+=1,i.push(e)}return i}return this.publishToChannel(e,!1,t)},this.subscribe=(e,t)=>{const s=this.channels.get(e);return s?s.add(t):this.channels.set(e,new Set([t])),this.addListener(t,e),()=>this.unsubscribe(t,{channel:e,prune:!0})},this.unsubscribe=(e,t)=>{const{channel:s,prune:n}=t||{};let r=!1;if(s){const t=this.channels.get(s);return r=!!t&&t.delete(e),n&&0===t?.size&&this.channels.delete(s),this.removeListener(e),r}const i=this.listeners.get(e)||[];for(const t of i)r=t.delete(e),n&&0===t.size&&this.prune();return this.listeners.delete(e),r},this.isSubscribed=(e,t)=>{if(t){const s=this.channels.get(t);return!!s&&s.has(e)}return this.listeners.has(e)},this.clear=()=>{if(!this.config.allowClear)throw new s;this.channels.clear(),this.listeners.clear()},this.getId=()=>this.id,this.id=n||t(),this.configure(r||{})}get length(){return[...this.channels.values()].reduce(((e,t)=>e+t.size),0)}}export{n as PeregrineMQ,s as PeregrineMQClearError};
2
2
  //# sourceMappingURL=peregrineMQ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"peregrineMQ.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/peregrineMQ.ts"],"sourcesContent":["import { v4 as uuidv4 } from 'uuid'\n\nimport {\n Callback, Config, PeregrineMQApi, PublishToChannelReturnType,\n PublishReturnType, SubscribersSet,\n UnsubscribeOptions, NON_EXISTENT_CHANNEL_TYPE,\n NON_EXISTENT_CHANNEL,\n CallbackPayload,\n} from './peregrineMQ.types'\n\n\nexport class PeregrineMQClearError extends Error {\n constructor() {\n super('Clearing PeregrineMQ is not allowed. Please read the documentation for more information.')\n this.name = 'PeregrineMQClearError'\n }\n}\n\n/**\n * Represents a message queue with publish/subscribe functionality.\n */\nexport class PeregrineMQ implements PeregrineMQApi {\n private id: string\n\n private config: Config = {\n allowAutoPrune: false,\n pruneInterval: 10000,\n allowClear: false,\n }\n\n /**\n * The map of channels and their subscribers sets.\n */\n private channels: Map<string, SubscribersSet> = new Map()\n\n /**\n * The map of listeners and their subscribed channels.\n */\n private listeners: Map<Callback, SubscribersSet[]> = new Map()\n\n /**\n * Adds a callback as a listener to a channel.\n * @param callback The callback function to add as a listener.\n * @param channel The channel to add the listener to.\n */\n private addListener = (callback: Callback, channel: string): void => {\n const listener = this.listeners.get(callback)\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet) {\n if (listener) {\n listener.push(subscribersSet)\n } else {\n this.listeners.set(callback, [subscribersSet])\n }\n }\n }\n\n /**\n * Removes the callback from the listeners collection if it is not subscribed to any channels.\n * @description Removes the callback only when it is not present in any other subscriberSet\n * (Ref to Map<string, SubscribersSet>).\n * @param callback The callback to remove from listeners.\n */\n private removeListener = (callback: Callback): void => {\n const channelSubscriberSets = this.listeners.get(callback)\n let isEmpty = true\n\n // eslint-disable-next-line no-restricted-syntax\n for (const channelSubscriberSet of channelSubscriberSets || []) {\n isEmpty = !channelSubscriberSet.has(callback)\n if (!isEmpty) {\n break\n }\n }\n\n if (isEmpty) {\n this.listeners.delete(callback)\n }\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param isParent Indicates if the channel is a parent channel.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n private publishToChannel = (\n channel: string, isParent: boolean, data?: unknown,\n ): PublishToChannelReturnType => {\n const subscribersSet = this.channels.get(channel)\n\n if (!subscribersSet) {\n return NON_EXISTENT_CHANNEL as NON_EXISTENT_CHANNEL_TYPE\n }\n\n const iterator = subscribersSet[Symbol.iterator]()\n let subscriberFunc = iterator.next().value\n\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (subscriberFunc) {\n // eslint-disable-next-line no-await-in-loop\n results.push(subscriberFunc(channel, data as CallbackPayload))\n subscriberFunc = iterator.next().value\n }\n return results?.length === 1 ? results[0] : results\n }\n\n /**\n * Creates a new instance of PeregrineMQ.\n * @param id Specific instance of PeregrineMQ identifier\n * @param config The configuration options for PeregrineMQ.\n */\n constructor(id?: string, config?: Config) {\n this.id = id || uuidv4()\n this.configure(config || {})\n }\n\n /**\n * Gets the total number of subscribers across all channels.\n */\n get length(): number {\n return [...this.channels.values()].reduce((acc, subscribersList) => acc + subscribersList.size, 0)\n }\n\n /**\n * Configures PeregrineMQ with the specified options.\n * @param config The configuration options for PeregrineMQ.\n * @returns An object containing the prune interval handler (if auto prune is enabled).\n */\n configure = (config: Config): {\n clearPruneInterval?: () => void\n restartPruneInterval?: () => void\n } => {\n this.config = config\n const { allowAutoPrune, pruneInterval } = config\n\n let pruneIntervalHandler: ReturnType<typeof setInterval>\n\n if (allowAutoPrune) {\n pruneIntervalHandler = setInterval(() => {\n this.prune()\n }, pruneInterval)\n }\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const instance: PeregrineMQ = this\n\n return {\n ...(allowAutoPrune\n ? {\n clearPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n },\n restartPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n pruneIntervalHandler = setInterval(() => {\n instance.prune()\n }, pruneInterval)\n },\n }\n : {}),\n }\n }\n\n /**\n * Gets an array of all channels.\n * @returns An array of channel names.\n */\n getChannels = (): string[] => [...this.channels.keys()]\n\n /**\n * Prunes the channels with no subscribers.\n * @returns An array of pruned channel names.\n */\n prune = (): string[] => {\n const iterator = this.channels[Symbol.iterator]()\n let subscribersSet = iterator.next().value\n const prunedChannels: string[] = []\n\n // eslint-disable-next-line no-plusplus\n while (subscribersSet) {\n if (subscribersSet[1]?.size === 0) {\n prunedChannels.push(subscribersSet[0])\n this.channels.delete(subscribersSet[0])\n }\n subscribersSet = iterator.next().value\n }\n\n return prunedChannels\n }\n\n /**\n * Removes a channel and its subscribers.\n * @param channel The channel to remove.\n * @returns A boolean indicating if the channel was successfully removed.\n */\n removeChannel = (channel: string): boolean => {\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet && subscribersSet.size > 0) {\n const channelListeners = [...subscribersSet || []]\n\n subscribersSet.clear()\n\n let index = channelListeners.length\n\n // eslint-disable-next-line no-plusplus\n while (index--) {\n this.removeListener(channelListeners[index])\n }\n }\n\n return this.channels.delete(channel)\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n publish = <T>(channel: string, data?: T): PublishReturnType => {\n if (channel.includes('.')) {\n const nestedChannels = channel.split('.')\n\n let { length } = nestedChannels\n let it = 0\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (length--) {\n // eslint-disable-next-line no-await-in-loop\n const result = this.publishToChannel(\n nestedChannels.slice(0, it + 1).join('.'),\n length !== nestedChannels.length - 1,\n data,\n )\n\n it += 1\n results.push(result)\n }\n return results\n }\n\n return this.publishToChannel(channel, false, data)\n }\n\n /**\n * Subscribes a callback to a channel.\n * @param channel The channel to subscribe to.\n * @param callback The callback function to subscribe.\n * @returns A function to unsubscribe the callback.\n */\n subscribe = (channel: string, callback: Callback): () => boolean => {\n const subscribersList = this.channels.get(channel)\n\n if (subscribersList) {\n subscribersList.add(callback)\n } else {\n this.channels.set(channel, new Set([callback]))\n }\n\n this.addListener(callback, channel)\n\n return () => this.unsubscribe(callback, { channel, prune: true })\n }\n\n /**\n * Unsubscribes a callback from a channel or all channels.\n * @param callback The callback function to unsubscribe.\n * @param options Optional unsubscribe options.\n * @returns A boolean indicating if the callback was successfully unsubscribed.\n */\n unsubscribe = (callback: Callback, options?: UnsubscribeOptions): boolean => {\n const { channel, prune } = options || {}\n\n let unsubscribed = false\n\n if (channel) {\n const subscriberSet = this.channels.get(channel)\n\n unsubscribed = subscriberSet ? subscriberSet.delete(callback) : false\n if (prune && subscriberSet?.size === 0) {\n this.channels.delete(channel)\n }\n\n this.removeListener(callback)\n\n return unsubscribed\n }\n\n const subscriberSetArray = this.listeners.get(callback) || []\n\n // remove callback form listeners and all channels\n // TODO remove only if has\n // eslint-disable-next-line no-restricted-syntax\n for (const subscriberSet of subscriberSetArray) {\n unsubscribed = subscriberSet.delete(callback) as boolean\n\n if (prune && subscriberSet.size === 0) {\n this.prune()\n }\n }\n\n this.listeners.delete(callback)\n\n return unsubscribed\n }\n\n /**\n * Checks if a callback is subscribed to a specific channel or any channel.\n * @param callback The callback function to check.\n * @param channel Optional channel name to check subscription for.\n * @returns A boolean indicating if the callback is subscribed.\n */\n isSubscribed = (callback: Callback, channel?: string): boolean => {\n if (channel) {\n const subscribersList = this.channels.get(channel)\n\n return subscribersList ? subscribersList.has(callback) : false\n }\n\n return this.listeners.has(callback)\n }\n\n /**\n * Clears all channels and listeners.\n * @throws {Error} If clearing PeregrineMQ is not allowed.\n */\n clear = (): void => {\n if (this.config.allowClear) {\n this.channels.clear()\n this.listeners.clear()\n } else {\n throw new PeregrineMQClearError()\n }\n }\n\n /**\n * Returns the specific instance of PeregrineMQ.\n * @returns A string identifier of the specific instance of PeregrineMQ.\n */\n getId = (): string => this.id\n}\n"],"names":["PeregrineMQClearError","Error","constructor","super","this","name","PeregrineMQ","id","config","allowAutoPrune","pruneInterval","allowClear","channels","Map","listeners","addListener","callback","channel","listener","get","subscribersSet","push","set","removeListener","channelSubscriberSets","isEmpty","channelSubscriberSet","has","delete","publishToChannel","isParent","data","NON_EXISTENT_CHANNEL","iterator","Symbol","subscriberFunc","next","value","results","length","configure","pruneIntervalHandler","setInterval","prune","instance","_objectSpread","clearPruneInterval","clearInterval","restartPruneInterval","getChannels","keys","prunedChannels","_subscribersSet$","size","removeChannel","channelListeners","clear","index","publish","includes","nestedChannels","split","it","result","slice","join","subscribe","subscribersList","add","Set","unsubscribe","options","unsubscribed","subscriberSet","subscriberSetArray","isSubscribed","getId","uuidv4","values","reduce","acc"],"mappings":"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"}
1
+ {"version":3,"file":"peregrineMQ.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/peregrineMQ.ts"],"sourcesContent":["import { v4 as uuidv4 } from 'uuid'\n\nimport {\n Callback, Config, PeregrineMQApi, PublishToChannelReturnType,\n PublishReturnType, SubscribersSet,\n UnsubscribeOptions, NON_EXISTENT_CHANNEL_TYPE,\n NON_EXISTENT_CHANNEL,\n CallbackPayload,\n} from './peregrineMQ.types'\n\n\nexport class PeregrineMQClearError extends Error {\n constructor() {\n super('Clearing PeregrineMQ is not allowed. Please read the documentation for more information.')\n this.name = 'PeregrineMQClearError'\n }\n}\n\n/**\n * Represents a message queue with publish/subscribe functionality.\n */\nexport class PeregrineMQ implements PeregrineMQApi {\n private id: string\n\n private config: Config = {\n allowAutoPrune: false,\n pruneInterval: 10000,\n allowClear: false,\n }\n\n /**\n * The map of channels and their subscribers sets.\n */\n private channels: Map<string, SubscribersSet> = new Map()\n\n /**\n * The map of listeners and their subscribed channels.\n */\n private listeners: Map<Callback, SubscribersSet[]> = new Map()\n\n /**\n * Adds a callback as a listener to a channel.\n * @param callback The callback function to add as a listener.\n * @param channel The channel to add the listener to.\n */\n private addListener = (callback: Callback, channel: string): void => {\n const listener = this.listeners.get(callback)\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet) {\n if (listener) {\n listener.push(subscribersSet)\n } else {\n this.listeners.set(callback, [subscribersSet])\n }\n }\n }\n\n /**\n * Removes the callback from the listeners collection if it is not subscribed to any channels.\n * @description Removes the callback only when it is not present in any other subscriberSet\n * (Ref to Map<string, SubscribersSet>).\n * @param callback The callback to remove from listeners.\n */\n private removeListener = (callback: Callback): void => {\n const channelSubscriberSets = this.listeners.get(callback)\n let isEmpty = true\n\n // eslint-disable-next-line no-restricted-syntax\n for (const channelSubscriberSet of channelSubscriberSets || []) {\n isEmpty = !channelSubscriberSet.has(callback)\n if (!isEmpty) {\n break\n }\n }\n\n if (isEmpty) {\n this.listeners.delete(callback)\n }\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param isParent Indicates if the channel is a parent channel.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n private publishToChannel = (\n channel: string, isParent: boolean, data?: unknown,\n ): PublishToChannelReturnType => {\n const subscribersSet = this.channels.get(channel)\n\n if (!subscribersSet) {\n return NON_EXISTENT_CHANNEL as NON_EXISTENT_CHANNEL_TYPE\n }\n\n const iterator = subscribersSet[Symbol.iterator]()\n let subscriberFunc = iterator.next().value\n\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (subscriberFunc) {\n // eslint-disable-next-line no-await-in-loop\n results.push(subscriberFunc(channel, data as CallbackPayload))\n subscriberFunc = iterator.next().value\n }\n return results?.length === 1 ? results[0] : results\n }\n\n /**\n * Creates a new instance of PeregrineMQ.\n * @param id Specific instance of PeregrineMQ identifier\n * @param config The configuration options for PeregrineMQ.\n */\n constructor(id?: string, config?: Config) {\n this.id = id || uuidv4()\n this.configure(config || {})\n }\n\n /**\n * Gets the total number of subscribers across all channels.\n */\n get length(): number {\n return [...this.channels.values()].reduce((acc, subscribersList) => acc + subscribersList.size, 0)\n }\n\n /**\n * Configures PeregrineMQ with the specified options.\n * @param config The configuration options for PeregrineMQ.\n * @returns An object containing the prune interval handler (if auto prune is enabled).\n */\n configure = (config: Config): {\n clearPruneInterval?: () => void\n restartPruneInterval?: () => void\n } => {\n this.config = config\n const { allowAutoPrune, pruneInterval } = config\n\n let pruneIntervalHandler: ReturnType<typeof setInterval>\n\n if (allowAutoPrune) {\n pruneIntervalHandler = setInterval(() => {\n this.prune()\n }, pruneInterval)\n }\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const instance: PeregrineMQ = this\n\n return {\n ...(allowAutoPrune\n ? {\n clearPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n },\n restartPruneInterval: (): void => {\n clearInterval(pruneIntervalHandler)\n pruneIntervalHandler = setInterval(() => {\n instance.prune()\n }, pruneInterval)\n },\n }\n : {}),\n }\n }\n\n /**\n * Gets an array of all channels.\n * @returns An array of channel names.\n */\n getChannels = (): string[] => [...this.channels.keys()]\n\n /**\n * Prunes the channels with no subscribers.\n * @returns An array of pruned channel names.\n */\n prune = (): string[] => {\n const iterator = this.channels[Symbol.iterator]()\n let subscribersSet = iterator.next().value\n const prunedChannels: string[] = []\n\n // eslint-disable-next-line no-plusplus\n while (subscribersSet) {\n if (subscribersSet[1]?.size === 0) {\n prunedChannels.push(subscribersSet[0])\n this.channels.delete(subscribersSet[0])\n }\n subscribersSet = iterator.next().value\n }\n\n return prunedChannels\n }\n\n /**\n * Removes a channel and its subscribers.\n * @param channel The channel to remove.\n * @returns A boolean indicating if the channel was successfully removed.\n */\n removeChannel = (channel: string): boolean => {\n const subscribersSet = this.channels.get(channel)\n\n if (subscribersSet && subscribersSet.size > 0) {\n const channelListeners = [...subscribersSet || []]\n\n subscribersSet.clear()\n\n let index = channelListeners.length\n\n // eslint-disable-next-line no-plusplus\n while (index--) {\n this.removeListener(channelListeners[index])\n }\n }\n\n return this.channels.delete(channel)\n }\n\n /**\n * Publishes data to a channel.\n * @param channel The channel to publish the data to.\n * @param data The data to publish.\n * @returns A boolean indicating if the publication was successful.\n */\n publish = <T>(channel: string, data?: T): PublishReturnType => {\n if (channel.includes('.')) {\n const nestedChannels = channel.split('.')\n\n let { length } = nestedChannels\n let it = 0\n const results = []\n\n // eslint-disable-next-line no-plusplus\n while (length--) {\n // eslint-disable-next-line no-await-in-loop\n const result = this.publishToChannel(\n nestedChannels.slice(0, it + 1).join('.'),\n length !== nestedChannels.length - 1,\n data,\n )\n\n it += 1\n results.push(result)\n }\n return results\n }\n\n return this.publishToChannel(channel, false, data)\n }\n\n /**\n * Subscribes a callback to a channel.\n * @param channel The channel to subscribe to.\n * @param callback The callback function to subscribe.\n * @returns A function to unsubscribe the callback.\n */\n subscribe = (channel: string, callback: Callback): () => boolean => {\n const subscribersList = this.channels.get(channel)\n\n if (subscribersList) {\n subscribersList.add(callback)\n } else {\n this.channels.set(channel, new Set([callback]))\n }\n\n this.addListener(callback, channel)\n\n return () => this.unsubscribe(callback, { channel, prune: true })\n }\n\n /**\n * Unsubscribes a callback from a channel or all channels.\n * @param callback The callback function to unsubscribe.\n * @param options Optional unsubscribe options.\n * @returns A boolean indicating if the callback was successfully unsubscribed.\n */\n unsubscribe = (callback: Callback, options?: UnsubscribeOptions): boolean => {\n const { channel, prune } = options || {}\n\n let unsubscribed = false\n\n if (channel) {\n const subscriberSet = this.channels.get(channel)\n\n unsubscribed = subscriberSet ? subscriberSet.delete(callback) : false\n if (prune && subscriberSet?.size === 0) {\n this.channels.delete(channel)\n }\n\n this.removeListener(callback)\n\n return unsubscribed\n }\n\n const subscriberSetArray = this.listeners.get(callback) || []\n\n // remove callback form listeners and all channels\n // TODO remove only if has\n // eslint-disable-next-line no-restricted-syntax\n for (const subscriberSet of subscriberSetArray) {\n unsubscribed = subscriberSet.delete(callback) as boolean\n\n if (prune && subscriberSet.size === 0) {\n this.prune()\n }\n }\n\n this.listeners.delete(callback)\n\n return unsubscribed\n }\n\n /**\n * Checks if a callback is subscribed to a specific channel or any channel.\n * @param callback The callback function to check.\n * @param channel Optional channel name to check subscription for.\n * @returns A boolean indicating if the callback is subscribed.\n */\n isSubscribed = (callback: Callback, channel?: string): boolean => {\n if (channel) {\n const subscribersList = this.channels.get(channel)\n\n return subscribersList ? subscribersList.has(callback) : false\n }\n\n return this.listeners.has(callback)\n }\n\n /**\n * Clears all channels and listeners.\n * @throws {Error} If clearing PeregrineMQ is not allowed.\n */\n clear = (): void => {\n if (this.config.allowClear) {\n this.channels.clear()\n this.listeners.clear()\n } else {\n throw new PeregrineMQClearError()\n }\n }\n\n /**\n * Returns the specific instance of PeregrineMQ.\n * @returns A string identifier of the specific instance of PeregrineMQ.\n */\n getId = (): string => this.id\n}\n"],"names":["PeregrineMQClearError","Error","constructor","super","this","name","PeregrineMQ","id","config","allowAutoPrune","pruneInterval","allowClear","channels","Map","listeners","addListener","callback","channel","listener","get","subscribersSet","push","set","removeListener","channelSubscriberSets","isEmpty","channelSubscriberSet","has","delete","publishToChannel","isParent","data","NON_EXISTENT_CHANNEL","iterator","Symbol","subscriberFunc","next","value","results","length","configure","pruneIntervalHandler","setInterval","prune","instance","clearPruneInterval","clearInterval","restartPruneInterval","getChannels","keys","prunedChannels","size","removeChannel","channelListeners","clear","index","publish","includes","nestedChannels","split","it","result","slice","join","subscribe","subscribersList","add","Set","unsubscribe","options","unsubscribed","subscriberSet","subscriberSetArray","isSubscribed","getId","uuidv4","values","reduce","acc"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{useCallback as r,useRef as t,useEffect as c}from"react";const n=(n,u,e)=>{const l=r(e,[e]),o=t();return c((()=>(o.current=n.subscribe(u,l),()=>{var r;null==o||null===(r=o.current)||void 0===r||r.call(o)})),[l,u,n]),[o.current,n.publish]};export{n as usePeregrineMQ};
1
+ import{useCallback as r,useRef as t,useEffect as c}from"react";const e=(e,n,u)=>{const o=r(u,[u]),s=t();return c((()=>(s.current=e.subscribe(n,o),()=>{s?.current?.()})),[o,n,e]),[s.current,e.publish]};export{e as usePeregrineMQ};
2
2
  //# sourceMappingURL=usePeregrineMQ.react.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePeregrineMQ.react.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nimport { PeregrineMQ } from './peregrineMQ'\nimport { Callback, PublishReturnType } from './peregrineMQ.types'\n\nexport type usePeregrineMQReturnType = [\n (() => boolean) | undefined,\n <T>(channel: string, data?: T) => PublishReturnType\n]\n\nexport const usePeregrineMQ = (\n peregrineInstance: PeregrineMQ, channel: string, callback: Callback,\n): usePeregrineMQReturnType => {\n const memCallback = useCallback(callback, [callback])\n\n const unsubscribeRef = useRef<ReturnType<typeof peregrineInstance.subscribe>>()\n\n useEffect(() => {\n unsubscribeRef.current = peregrineInstance.subscribe(channel, memCallback)\n\n return (): void => {\n unsubscribeRef?.current?.()\n }\n }, [memCallback, channel, peregrineInstance])\n\n return [unsubscribeRef.current, peregrineInstance.publish]\n}\n"],"names":["usePeregrineMQ","peregrineInstance","channel","callback","memCallback","useCallback","unsubscribeRef","useRef","useEffect","current","subscribe","_unsubscribeRef$curre","call","publish"],"mappings":"+DAUO,MAAMA,EAAiBA,CAC5BC,EAAgCC,EAAiBC,KAEjD,MAAMC,EAAcC,EAAYF,EAAU,CAACA,IAErCG,EAAiBC,IAUvB,OARAC,GAAU,KACRF,EAAeG,QAAUR,EAAkBS,UAAUR,EAASE,GAEvD,KAAY,IAAAO,EACjBL,SAAuBK,QAATA,EAAdL,EAAgBG,mBAAOE,GAAvBA,EAAAC,KAAAN,EAA2B,IAE5B,CAACF,EAAaF,EAASD,IAEnB,CAACK,EAAeG,QAASR,EAAkBY,QAAQ"}
1
+ {"version":3,"file":"usePeregrineMQ.react.js","sources":["../../../../../../../../src/core/utils/appState/peregrineMQ/usePeregrineMQ.react.ts"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react'\n\nimport { PeregrineMQ } from './peregrineMQ'\nimport { Callback, PublishReturnType } from './peregrineMQ.types'\n\nexport type usePeregrineMQReturnType = [\n (() => boolean) | undefined,\n <T>(channel: string, data?: T) => PublishReturnType\n]\n\nexport const usePeregrineMQ = (\n peregrineInstance: PeregrineMQ, channel: string, callback: Callback,\n): usePeregrineMQReturnType => {\n const memCallback = useCallback(callback, [callback])\n\n const unsubscribeRef = useRef<ReturnType<typeof peregrineInstance.subscribe>>()\n\n useEffect(() => {\n unsubscribeRef.current = peregrineInstance.subscribe(channel, memCallback)\n\n return (): void => {\n unsubscribeRef?.current?.()\n }\n }, [memCallback, channel, peregrineInstance])\n\n return [unsubscribeRef.current, peregrineInstance.publish]\n}\n"],"names":["usePeregrineMQ","peregrineInstance","channel","callback","memCallback","useCallback","unsubscribeRef","useRef","useEffect","current","subscribe","publish"],"mappings":"+DAUO,MAAMA,EAAiBA,CAC5BC,EAAgCC,EAAiBC,KAEjD,MAAMC,EAAcC,EAAYF,EAAU,CAACA,IAErCG,EAAiBC,IAUvB,OARAC,GAAU,KACRF,EAAeG,QAAUR,EAAkBS,UAAUR,EAASE,GAEvD,KACLE,GAAgBG,WAAW,IAE5B,CAACL,EAAaF,EAASD,IAEnB,CAACK,EAAeG,QAASR,EAAkBU,QAAQ"}
@@ -1,2 +1,2 @@
1
- import{classPrivateFieldLooseBase as t,classPrivateFieldLooseKey as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";let i=function(t){return t.CHANGE="change",t.TRANSITIONED_TO="transitionedTo",t.TRANSITIONED_FROM="transitionedFrom",t.ADDED_TO_QUEUE="addedToQueue",t.REMOVED_FROM_QUEUE="removedFromQueue",t}({});class s extends Event{constructor(t,e){super(t,e)}}var r=e("name"),n=e("listeners");class o{constructor(e){Object.defineProperty(this,r,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:void 0}),this.subscribe=e=>(t(this,n)[n].add(e),()=>t(this,n)[n].delete(e)),this.unsubscribe=e=>t(this,n)[n].delete(e),this.publish=e=>{var i;if(null!==(i=t(this,n)[n])&&void 0!==i&&i.size)for(const i of t(this,n)[n])i(e)},this.toString=()=>"TinyStateMachineSate: ".concat(t(this,r)[r]),t(this,r)[r]=e,t(this,n)[n]=new Set}get name(){return t(this,r)[r]}get[Symbol.toStringTag](){return"TinyStateMachineSate: ".concat(t(this,r)[r])}}const a=t=>new Set(t.map((t=>new o(t))));var h=e("states"),l=e("listeners"),u=e("currentState"),d=e("getStateByName"),c=e("getStateByState");class _{constructor(e){Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),this.addState=e=>{t(this,h)[h].add(e)},this.removeState=e=>{t(this,h)[h].delete(e)},this.subscribe=e=>(t(this,l)[l].add(e),()=>t(this,l)[l].delete(e)),this.unsubscribe=e=>{t(this,l)[l].delete(e)},this.publish=(e,i)=>{var s;if(null!==(s=t(this,l)[l])&&void 0!==s&&s.size)for(const s of t(this,l)[l])s(e,i)},Object.defineProperty(this,d,{writable:!0,value:e=>Array.from(t(this,h)[h]).find((t=>t.name===e))}),Object.defineProperty(this,c,{writable:!0,value:e=>t(this,h)[h].has(e)?e:void 0}),this.gotoState=e=>{const r="string"==typeof e?t(this,d)[d](e):t(this,c)[c](e);if(!r)throw Error("TinyStateMachin::gotoState state not found: ".concat(e));const n=t(this,u)[u];return t(this,u)[u]=r,this.publish(new s(i.TRANSITIONED_FROM),n),this.publish(new s(i.TRANSITIONED_TO),r),null==n||n.publish(new s(i.TRANSITIONED_FROM)),t(this,u)[u].publish(new s(i.TRANSITIONED_TO)),!0},this.next=()=>{let e;const i=Array.from(t(this,h)[h]);if(!t(this,u)[u])return[e]=i,this.gotoState(e)?e:null;const s=i.findIndex((e=>e===t(this,u)[u]));return s<t(this,h)[h].size-2?(e=i[s+1],this.gotoState(e)?e:null):null},t(this,h)[h]=e,t(this,l)[l]=new Set}get states(){return t(this,h)[h]}get currentState(){return t(this,u)[u]}}const S=function*(){let t,e=S.IS_RUNNING;for(;;)if(t=yield e,t===S.DO_END){e=S.IS_FINITE,yield e;break}return yield*[1,2,3],yield 123,10};S.DO_END="__DO__END__",S.IS_FINITE="__IS__FINITE__",S.IS_RUNNING="__IS__RUNNING__";export{_ as TinyStateMachine,s as TinyStateMachineEvent,i as TinyStateMachineEventType,o as TinyStateMachineState,a as createStates,S as stateIterator};
1
+ import{classPrivateFieldLooseBase as t,classPrivateFieldLooseKey as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";let i=function(t){return t.CHANGE="change",t.TRANSITIONED_TO="transitionedTo",t.TRANSITIONED_FROM="transitionedFrom",t.ADDED_TO_QUEUE="addedToQueue",t.REMOVED_FROM_QUEUE="removedFromQueue",t}({});class s extends Event{constructor(t,e){super(t,e)}}var r=e("name"),n=e("listeners");class a{constructor(e){Object.defineProperty(this,r,{writable:!0,value:void 0}),Object.defineProperty(this,n,{writable:!0,value:void 0}),this.subscribe=e=>(t(this,n)[n].add(e),()=>t(this,n)[n].delete(e)),this.unsubscribe=e=>t(this,n)[n].delete(e),this.publish=e=>{if(t(this,n)[n]?.size)for(const i of t(this,n)[n])i(e)},this.toString=()=>`TinyStateMachineSate: ${t(this,r)[r]}`,t(this,r)[r]=e,t(this,n)[n]=new Set}get name(){return t(this,r)[r]}get[Symbol.toStringTag](){return`TinyStateMachineSate: ${t(this,r)[r]}`}}const o=t=>new Set(t.map((t=>new a(t))));var h=e("states"),l=e("listeners"),u=e("currentState"),d=e("getStateByName"),c=e("getStateByState");class _{constructor(e){Object.defineProperty(this,h,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,u,{writable:!0,value:void 0}),this.addState=e=>{t(this,h)[h].add(e)},this.removeState=e=>{t(this,h)[h].delete(e)},this.subscribe=e=>(t(this,l)[l].add(e),()=>t(this,l)[l].delete(e)),this.unsubscribe=e=>{t(this,l)[l].delete(e)},this.publish=(e,i)=>{if(t(this,l)[l]?.size)for(const s of t(this,l)[l])s(e,i)},Object.defineProperty(this,d,{writable:!0,value:e=>Array.from(t(this,h)[h]).find((t=>t.name===e))}),Object.defineProperty(this,c,{writable:!0,value:e=>t(this,h)[h].has(e)?e:void 0}),this.gotoState=e=>{const r="string"==typeof e?t(this,d)[d](e):t(this,c)[c](e);if(!r)throw Error(`TinyStateMachin::gotoState state not found: ${e}`);const n=t(this,u)[u];return t(this,u)[u]=r,this.publish(new s(i.TRANSITIONED_FROM),n),this.publish(new s(i.TRANSITIONED_TO),r),n?.publish(new s(i.TRANSITIONED_FROM)),t(this,u)[u].publish(new s(i.TRANSITIONED_TO)),!0},this.next=()=>{let e;const i=Array.from(t(this,h)[h]);if(!t(this,u)[u])return[e]=i,this.gotoState(e)?e:null;const s=i.findIndex((e=>e===t(this,u)[u]));return s<t(this,h)[h].size-2?(e=i[s+1],this.gotoState(e)?e:null):null},t(this,h)[h]=e,t(this,l)[l]=new Set}get states(){return t(this,h)[h]}get currentState(){return t(this,u)[u]}}const S=function*(){let t,e=S.IS_RUNNING;for(;;)if(t=yield e,t===S.DO_END){e=S.IS_FINITE,yield e;break}return yield*[1,2,3],yield 123,10};S.DO_END="__DO__END__",S.IS_FINITE="__IS__FINITE__",S.IS_RUNNING="__IS__RUNNING__";export{_ as TinyStateMachine,s as TinyStateMachineEvent,i as TinyStateMachineEventType,a as TinyStateMachineState,o as createStates,S as stateIterator};
2
2
  //# sourceMappingURL=tiny-state-machine.base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tiny-state-machine.base.js","sources":["../../../../../../../../src/core/utils/appState/stateMachine/tiny-state-machine.base.ts"],"sourcesContent":["export enum TinyStateMachineEventType {\n CHANGE = 'change',\n TRANSITIONED_TO = 'transitionedTo',\n TRANSITIONED_FROM = 'transitionedFrom',\n ADDED_TO_QUEUE = 'addedToQueue',\n REMOVED_FROM_QUEUE = 'removedFromQueue'\n}\n\nexport type TinyStateMachineListenerCallBack = (\n stateEvent: TinyStateMachineEvent,\n state?: ITinyStateMachineState\n) => void;\n\nexport class TinyStateMachineEvent extends Event {\n constructor(type: TinyStateMachineEventType, eventInitDict?: any) {\n super(type, eventInitDict)\n }\n}\n\ninterface IPubSub {\n subscribe: (listener: TinyStateMachineListenerCallBack) => () => void\n unsubscribe: (listener: TinyStateMachineListenerCallBack) => void\n publish: (...args: any[]) => void\n}\n\nexport interface ITinyStateMachineState extends IPubSub {\n name: string\n}\n\nexport class TinyStateMachineState implements ITinyStateMachineState {\n #name: string\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n constructor(name: string) {\n this.#name = name\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n get name(): string {\n return this.#name\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): boolean => this.#listeners.delete(listener)\n\n publish = (event: TinyStateMachineEvent): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event)\n }\n }\n\n toString = (): string => `TinyStateMachineSate: ${this.#name}`\n\n get [Symbol.toStringTag](): string {\n return `TinyStateMachineSate: ${this.#name}`\n }\n}\n\nexport interface ITinyStateMachine extends IPubSub {\n states: Set<TinyStateMachineState>\n addState: (state: TinyStateMachineState) => void\n removeState: (state: TinyStateMachineState) => void\n currentState: undefined | TinyStateMachineState\n gotoState: (state: TinyStateMachineState) => void | boolean\n\n}\n\nexport const createStates = (stateNames: string[]): Set<TinyStateMachineState> => new Set(\n stateNames.map((name: string) => new TinyStateMachineState(name)),\n)\n\nexport class TinyStateMachine implements ITinyStateMachine {\n #states: Set<TinyStateMachineState>\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n #currentState: undefined | TinyStateMachineState\n\n constructor(states: Set<TinyStateMachineState>) {\n this.#states = states\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n addState = (state: TinyStateMachineState): void => {\n this.#states.add(state)\n }\n\n removeState = (state: TinyStateMachineState): void => {\n this.#states.delete(state)\n }\n\n get states (): Set<TinyStateMachineState> {\n return this.#states\n }\n\n get currentState (): undefined | TinyStateMachineState {\n return this.#currentState\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): void => {\n this.#listeners.delete(listener)\n }\n\n publish = (event: TinyStateMachineEvent, state?: TinyStateMachineState): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event, state)\n }\n }\n\n #getStateByName = (stateName: string): undefined | TinyStateMachineState => Array\n .from(this.#states).find((state: TinyStateMachineState) => state.name === stateName)\n\n #getStateByState\n = (state: TinyStateMachineState): undefined | TinyStateMachineState => (this.#states.has(state) ? state : undefined)\n\n gotoState = (state: TinyStateMachineState | string): void | boolean => {\n const foundState = typeof state === 'string'\n ? this.#getStateByName(state as string)\n : this.#getStateByState(state as TinyStateMachineState)\n\n if (!foundState) {\n throw Error(`TinyStateMachin::gotoState state not found: ${state}`)\n }\n\n const prevState: undefined | TinyStateMachineState = this.#currentState\n\n this.#currentState = foundState\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM), prevState)\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO), foundState)\n\n prevState?.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM))\n this.#currentState.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO))\n return true\n }\n\n next = (): TinyStateMachineState | null => {\n let nextState: TinyStateMachineState\n const arrayOfStates: TinyStateMachineState[] = Array.from(this.#states)\n\n if (!this.#currentState) {\n [nextState] = arrayOfStates\n\n return this.gotoState(nextState) ? nextState : null\n }\n\n const currentStateIndex = arrayOfStates\n .findIndex((state: TinyStateMachineState) => state === this.#currentState)\n\n if (currentStateIndex < this.#states.size - 2) {\n nextState = arrayOfStates[currentStateIndex + 1]\n return this.gotoState(nextState) ? nextState : null\n }\n\n return null\n }\n}\n\n\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const stateIterator = function* () {\n let operation: string\n let state: string = stateIterator.IS_RUNNING\n\n while (true) {\n // console.log('inside while loop')\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n operation = yield state\n\n // // console.log('operation', operation)\n // // console.log('state', state)\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (operation === stateIterator.DO_END) {\n state = stateIterator.IS_FINITE\n yield state\n break\n }\n }\n yield* [1, 2, 3]\n yield 123\n\n return 10\n}\n\nstateIterator.DO_END = '__DO__END__'\nstateIterator.IS_FINITE = '__IS__FINITE__'\nstateIterator.IS_RUNNING = '__IS__RUNNING__'\n"],"names":["TinyStateMachineEventType","TinyStateMachineEvent","Event","constructor","type","eventInitDict","super","_name","_classPrivateFieldLooseKey","_listeners","TinyStateMachineState","name","Object","defineProperty","this","writable","value","subscribe","listener","_classPrivateFieldLooseBase","add","delete","unsubscribe","publish","event","_classPrivateFieldLoo","size","toString","concat","Set","Symbol","toStringTag","createStates","stateNames","map","_states","_listeners2","_currentState","_getStateByName","_getStateByState","TinyStateMachine","states","addState","state","removeState","_classPrivateFieldLoo2","stateName","Array","from","find","has","undefined","gotoState","foundState","Error","prevState","TRANSITIONED_FROM","TRANSITIONED_TO","next","nextState","arrayOfStates","currentStateIndex","findIndex","currentState","stateIterator","operation","IS_RUNNING","DO_END","IS_FINITE"],"mappings":"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"}
1
+ {"version":3,"file":"tiny-state-machine.base.js","sources":["../../../../../../../../src/core/utils/appState/stateMachine/tiny-state-machine.base.ts"],"sourcesContent":["export enum TinyStateMachineEventType {\n CHANGE = 'change',\n TRANSITIONED_TO = 'transitionedTo',\n TRANSITIONED_FROM = 'transitionedFrom',\n ADDED_TO_QUEUE = 'addedToQueue',\n REMOVED_FROM_QUEUE = 'removedFromQueue'\n}\n\nexport type TinyStateMachineListenerCallBack = (\n stateEvent: TinyStateMachineEvent,\n state?: ITinyStateMachineState\n) => void;\n\nexport class TinyStateMachineEvent extends Event {\n constructor(type: TinyStateMachineEventType, eventInitDict?: any) {\n super(type, eventInitDict)\n }\n}\n\ninterface IPubSub {\n subscribe: (listener: TinyStateMachineListenerCallBack) => () => void\n unsubscribe: (listener: TinyStateMachineListenerCallBack) => void\n publish: (...args: any[]) => void\n}\n\nexport interface ITinyStateMachineState extends IPubSub {\n name: string\n}\n\nexport class TinyStateMachineState implements ITinyStateMachineState {\n #name: string\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n constructor(name: string) {\n this.#name = name\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n get name(): string {\n return this.#name\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): boolean => this.#listeners.delete(listener)\n\n publish = (event: TinyStateMachineEvent): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event)\n }\n }\n\n toString = (): string => `TinyStateMachineSate: ${this.#name}`\n\n get [Symbol.toStringTag](): string {\n return `TinyStateMachineSate: ${this.#name}`\n }\n}\n\nexport interface ITinyStateMachine extends IPubSub {\n states: Set<TinyStateMachineState>\n addState: (state: TinyStateMachineState) => void\n removeState: (state: TinyStateMachineState) => void\n currentState: undefined | TinyStateMachineState\n gotoState: (state: TinyStateMachineState) => void | boolean\n\n}\n\nexport const createStates = (stateNames: string[]): Set<TinyStateMachineState> => new Set(\n stateNames.map((name: string) => new TinyStateMachineState(name)),\n)\n\nexport class TinyStateMachine implements ITinyStateMachine {\n #states: Set<TinyStateMachineState>\n\n #listeners: Set<TinyStateMachineListenerCallBack>\n\n #currentState: undefined | TinyStateMachineState\n\n constructor(states: Set<TinyStateMachineState>) {\n this.#states = states\n this.#listeners = new Set<TinyStateMachineListenerCallBack>()\n }\n\n addState = (state: TinyStateMachineState): void => {\n this.#states.add(state)\n }\n\n removeState = (state: TinyStateMachineState): void => {\n this.#states.delete(state)\n }\n\n get states (): Set<TinyStateMachineState> {\n return this.#states\n }\n\n get currentState (): undefined | TinyStateMachineState {\n return this.#currentState\n }\n\n subscribe = (listener: TinyStateMachineListenerCallBack): () => void => {\n this.#listeners.add(listener)\n return () => this.#listeners.delete(listener)\n }\n\n unsubscribe = (listener: TinyStateMachineListenerCallBack): void => {\n this.#listeners.delete(listener)\n }\n\n publish = (event: TinyStateMachineEvent, state?: TinyStateMachineState): void => {\n if (!this.#listeners?.size) {\n return\n }\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of this.#listeners) {\n listener(event, state)\n }\n }\n\n #getStateByName = (stateName: string): undefined | TinyStateMachineState => Array\n .from(this.#states).find((state: TinyStateMachineState) => state.name === stateName)\n\n #getStateByState\n = (state: TinyStateMachineState): undefined | TinyStateMachineState => (this.#states.has(state) ? state : undefined)\n\n gotoState = (state: TinyStateMachineState | string): void | boolean => {\n const foundState = typeof state === 'string'\n ? this.#getStateByName(state as string)\n : this.#getStateByState(state as TinyStateMachineState)\n\n if (!foundState) {\n throw Error(`TinyStateMachin::gotoState state not found: ${state}`)\n }\n\n const prevState: undefined | TinyStateMachineState = this.#currentState\n\n this.#currentState = foundState\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM), prevState)\n this.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO), foundState)\n\n prevState?.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_FROM))\n this.#currentState.publish(new TinyStateMachineEvent(TinyStateMachineEventType.TRANSITIONED_TO))\n return true\n }\n\n next = (): TinyStateMachineState | null => {\n let nextState: TinyStateMachineState\n const arrayOfStates: TinyStateMachineState[] = Array.from(this.#states)\n\n if (!this.#currentState) {\n [nextState] = arrayOfStates\n\n return this.gotoState(nextState) ? nextState : null\n }\n\n const currentStateIndex = arrayOfStates\n .findIndex((state: TinyStateMachineState) => state === this.#currentState)\n\n if (currentStateIndex < this.#states.size - 2) {\n nextState = arrayOfStates[currentStateIndex + 1]\n return this.gotoState(nextState) ? nextState : null\n }\n\n return null\n }\n}\n\n\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport const stateIterator = function* () {\n let operation: string\n let state: string = stateIterator.IS_RUNNING\n\n while (true) {\n // console.log('inside while loop')\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n\n\n // // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // // @ts-ignore\n operation = yield state\n\n // // console.log('operation', operation)\n // // console.log('state', state)\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (operation === stateIterator.DO_END) {\n state = stateIterator.IS_FINITE\n yield state\n break\n }\n }\n yield* [1, 2, 3]\n yield 123\n\n return 10\n}\n\nstateIterator.DO_END = '__DO__END__'\nstateIterator.IS_FINITE = '__IS__FINITE__'\nstateIterator.IS_RUNNING = '__IS__RUNNING__'\n"],"names":["TinyStateMachineEventType","TinyStateMachineEvent","Event","constructor","type","eventInitDict","super","_name","_classPrivateFieldLooseKey","_listeners","TinyStateMachineState","name","Object","defineProperty","this","writable","value","subscribe","listener","_classPrivateFieldLooseBase","add","delete","unsubscribe","publish","event","size","toString","Set","Symbol","toStringTag","createStates","stateNames","map","_states","_listeners2","_currentState","_getStateByName","_getStateByState","TinyStateMachine","states","addState","state","removeState","stateName","Array","from","find","has","undefined","gotoState","foundState","Error","prevState","TRANSITIONED_FROM","TRANSITIONED_TO","next","nextState","arrayOfStates","currentStateIndex","findIndex","currentState","stateIterator","operation","IS_RUNNING","DO_END","IS_FINITE"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{asyncToGenerator as e,objectSpread2 as r}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import"../../../../../node_modules/core-js/modules/web.dom-collections.iterator.js";import{isFunctionAsync as t}from"../../helpers/other.js";let o=!0;const n=e=>{o=!!e},c=()=>o,l=(n,c,l)=>{var s;let i=n;const u=new Set,a=()=>i,d=function(){var t=e((function*(e){i=o?r(r({},a()),e):e;for(const e of u){const r=null==e?void 0:e.selector,t=r?r(i):i;void 0!==e.previousValue&&e.previousValue===t||(e.previousValue=t,yield e(t))}return i}));return function(e){return t.apply(this,arguments)}}(),p={getState:a,setState:d,subscribe:(e,r)=>{if(r&&e.selector&&e.selector!==r)throw new Error("Error, mismatch selector, listener.selector !== selector.");return r&&!e.selector&&(e.selector=r),e.selector&&(e.previousValue=e.selector(a())),u.add(e),()=>u.delete(e)},unsubscribe:e=>{u.delete(e)}},v=c?null===(s=Object.entries(c))||void 0===s?void 0:s.reduce(((o,n)=>{let[c,s]=n;return o[c]=e((function*(){const e=t(s);e&&d(r(r({},a()),{},{["".concat(c,"Error")]:null,["".concat(c,"Pending")]:!0}));try{for(var o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];const t=yield s(a,d,...n);return l&&d(l(a(),c,...n)),e&&d(r(r({},a()),{},{["".concat(c,"Pending")]:!1})),t}catch(t){throw e&&d(r(r({},a()),{},{["".concat(c,"Pending")]:!1,["".concat(c,"Error")]:t})),t}})),o}),{}):null,f=r(r({},p),v?{actions:r({},v)}:{});return f};export{n as canSetStateMerge,l as createStore,c as getSetStateMerge};
1
+ import{asyncToGenerator as e}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{isFunctionAsync as r}from"../../helpers/other.js";let t=!0;const o=e=>{t=!!e},n=()=>t,s=(o,n,s)=>{let l=o;const c=new Set,u=()=>l,i=function(){var r=e((function*(e){l=t?{...u(),...e}:e;for(const e of c){const r=e?.selector,t=r?r(l):l;void 0!==e.previousValue&&e.previousValue===t||(e.previousValue=t,yield e(t))}return l}));return function(e){return r.apply(this,arguments)}}(),a={getState:u,setState:i,subscribe:(e,r)=>{if(r&&e.selector&&e.selector!==r)throw new Error("Error, mismatch selector, listener.selector !== selector.");return r&&!e.selector&&(e.selector=r),e.selector&&(e.previousValue=e.selector(u())),c.add(e),()=>c.delete(e)},unsubscribe:e=>{c.delete(e)}},p=n?Object.entries(n)?.reduce(((t,o)=>{let[n,l]=o;return t[n]=e((function*(){const e=r(l);e&&i({...u(),[`${n}Error`]:null,[`${n}Pending`]:!0});try{for(var t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];const r=yield l(u,i,...o);return s&&i(s(u(),n,...o)),e&&i({...u(),[`${n}Pending`]:!1}),r}catch(r){throw e&&i({...u(),[`${n}Pending`]:!1,[`${n}Error`]:r}),r}})),t}),{}):null,d={...a,...p?{actions:{...p}}:{}};return d};export{o as canSetStateMerge,s as createStore,n as getSetStateMerge};
2
2
  //# sourceMappingURL=store.vanillajs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.vanillajs.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.ts"],"sourcesContent":["\n// TinyStore, inspired by https://github.com/jherr/syncexternalstore/blob/main/csr/src/store.js\n\nimport { isFunctionAsync } from '../../helpers'\n\n\nlet SET_STATE_MERGE: boolean = true\n\n\nexport const canSetStateMerge = (value: boolean): void => {\n SET_STATE_MERGE = !!value\n}\n\nexport const getSetStateMerge = (): boolean => SET_STATE_MERGE\n\n/**\n * Represents the callback function for a store listener.\n */\nexport type ListenerCallBack<T> = (state: Partial<T>) => void\n\n/**\n * Represents a selector function that transforms the store state.\n */\n// export type Selector<T> = (state: Partial<T>) => Partial<T>;\nexport type SelectedValueType<T> = Partial<T> | Partial<keyof T>\n| string | number | boolean | undefined | string[] | number[] | boolean[] | undefined[];\nexport type Selector<T> = (state: Partial<T>) => SelectedValueType<T>;\n\n\n/**\n * Represents a listener for the store.\n */\nexport type Listener<T> = {\n selector?: Selector<T>\n previousValue?: SelectedValueType<T>\n} & ListenerCallBack<T>\n\n/**\n * Represents a store.\n */\nexport type Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState: () => Partial<T>\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState: (state: Partial<T>) => Promise<Partial<T>>\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @param selector - Optional selector function to transform the store state.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => () => void\n /**\n * Unubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => void\n}\n// & { actions?: { [actionName: string]: ActionHandlerCaller } }\n\n// TODO infer actionNames from createStore arguments\n/**\n * Represents a store with additional actions.\n */\nexport type StoreWithActions<T> = Store<T> & { actions: { [actionName: string]: ActionHandlerCaller<T> } }\n\n\n\n\n/**\n * Represents an action handler function.\n */\nexport type ActionHandler<T> = (\n getState: Store<T>['getState'], // Function to get the current state of the store\n setState: Store<T>['setState'], // Function to set the state of the store\n ...rest: unknown[]\n) => void | Partial<T> | Promise<void | Partial<T>>\n\n/**\n * Represents an reducer function.\n */\nexport type Reducer<T> = (\n state: Partial<T>,\n action: string,\n ...rest: unknown[]\n) => Partial<T>\n\n\n/**\n * Represents a function that calls an action handler.\n */\nexport type ActionHandlerCaller<T> = (...args: unknown[]) => void | Partial<T> | Promise<void | Partial<T>>\n\n\ntype Actions<T> = { [key: string]: ActionHandler<T>}\n/**\n * Creates a new store.\n * @param initialState - The initial state of the store.\n * @param actions - Optional actions for the store.\n * @returns The created store.\n */\nexport const createStore = <T>(\n initialState: Partial<T>,\n actions?: Actions<T>,\n reducer?: Reducer<T>,\n): Store<T> | StoreWithActions<T> => {\n let currentState: Partial<T> = initialState\n const listeners = new Set<Listener<T>>()\n\n /**\n * Gets the current state of the store.\n * @returns The current state of the store.\n */\n const getState = (): Partial<T> => currentState\n\n // TODO debounce, batch? what is the meaningful time between setState ofr UI to be rendered and registerd by User?\n /**\n * Sets the state of the store.\n * @param newState - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n const setState = async (newState: Partial<T>): Promise<Partial<T>> => {\n currentState = SET_STATE_MERGE ? { ...getState(), ...newState } : newState\n\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of listeners) {\n // has Listener selector?\n const selector: Selector<T> | undefined = listener?.selector\n\n // TODO compare selected value to the previous values of that listener/selector pair\n // if listener.previousValue === selector(currentState) no call\n // else listener.previousValue = selector(currentState) and call\n // l1 cache, weak references?\n const newValue: SelectedValueType<T> = selector ? selector(currentState) : currentState\n\n // TODO plugin equality\n if (listener.previousValue === undefined || listener.previousValue !== newValue) {\n listener.previousValue = newValue\n // eslint-disable-next-line no-await-in-loop\n await listener(newValue as Partial<T>)\n }\n }\n return currentState\n }\n\n /**\n * Represents the basic API of the store.\n */\n const storeBaseicApi: Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState,\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState,\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => {\n if (selector && listener.selector && listener.selector !== selector) {\n throw new Error('Error, mismatch selector, listener.selector !== selector.')\n }\n if (selector && !listener.selector) {\n // eslint-disable-next-line no-param-reassign\n listener.selector = selector\n }\n\n if (listener.selector) {\n // setting the previousValue for the next cache/equality check\n // eslint-disable-next-line no-param-reassign\n listener.previousValue = listener.selector(getState())\n }\n\n listeners.add(listener)\n return () => listeners.delete(listener)\n },\n /**\n * Unsubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => {\n listeners.delete(listener)\n },\n }\n\n /**\n * Resolves the actions and creates action handlers.\n */\n const resolvedActions: Actions<T> | null | undefined\n = actions ? Object.entries(actions)?.reduce(\n (\n aggregator: Record<string, ActionHandlerCaller<T>>,\n [actionName, actionHandler]: [string, ActionHandler<T>],\n ) => {\n // eslint-disable-next-line no-param-reassign\n aggregator[actionName] = async(...rest: unknown[]): Promise<void | Partial<T>> => {\n // TODO try to not call subscriber too many times becuase of Error and Pending values\n const isAsync = isFunctionAsync(actionHandler as () => unknown)\n\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Error`]: null,\n [`${actionName}Pending`]: true,\n })\n }\n\n try {\n const resultOfAction = await actionHandler(getState, setState, ...rest)\n\n // TODO try to mutate state only once with the results, that means pass custom setState to action,\n // so that it would matk pending and error already inside action\n if (reducer) {\n setState(reducer(getState(), actionName, ...rest))\n }\n\n if (isAsync) {\n setState({ ...getState(), [`${actionName}Pending`]: false })\n }\n\n return resultOfAction\n } catch (error) {\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Pending`]: false,\n [`${actionName}Error`]: error,\n })\n }\n throw error\n }\n }\n\n return aggregator\n },\n {},\n ) : null\n\n /**\n * Represents the store combined with actions.\n */\n const storeCombinedWithActions = {\n ...storeBaseicApi,\n ...(resolvedActions ? { actions: { ...resolvedActions } } : {}),\n }\n\n return resolvedActions\n ? storeCombinedWithActions as StoreWithActions<T>\n // ? storeCombinedWithActions as StoreWithActions<T> & ActionsStateReturnType<A>\n : storeCombinedWithActions as Store<T>\n}\n"],"names":["SET_STATE_MERGE","canSetStateMerge","value","getSetStateMerge","createStore","initialState","actions","reducer","_Object$entries","currentState","listeners","Set","getState","setState","_ref","_asyncToGenerator","newState","_objectSpread","listener","selector","newValue","undefined","previousValue","_x","apply","this","arguments","storeBaseicApi","subscribe","Error","add","delete","unsubscribe","resolvedActions","Object","entries","reduce","aggregator","_ref2","actionName","actionHandler","isAsync","isFunctionAsync","concat","_len","length","rest","Array","_key","resultOfAction","error","storeCombinedWithActions"],"mappings":"wPAMA,IAAIA,GAA2B,EAGlBC,MAAAA,EAAoBC,IAC/BF,IAAoBE,CAAK,EAGdC,EAAmBA,IAAeH,EA+FlCI,EAAcA,CACzBC,EACAC,EACAC,KACmC,IAAAC,EACnC,IAAIC,EAA2BJ,EAC/B,MAAMK,EAAY,IAAIC,IAMhBC,EAAWA,IAAkBH,EAQ7BI,EAAQ,WAAA,IAAAC,EAAAC,GAAG,UAAOC,GACtBP,EAAeT,EAAeiB,EAAAA,EAAQL,CAAAA,EAAAA,KAAeI,GAAaA,EAGlE,IAAK,MAAME,KAAYR,EAAW,CAEhC,MAAMS,EAAoCD,aAAAA,EAAAA,EAAUC,SAM9CC,EAAiCD,EAAWA,EAASV,GAAgBA,OAG5CY,IAA3BH,EAASI,eAA+BJ,EAASI,gBAAkBF,IACrEF,EAASI,cAAgBF,QAEnBF,EAASE,GAEnB,CACA,OAAOX,KACR,OAtBKI,SAAQU,GAAA,OAAAT,EAAAU,MAAAC,KAAAC,UAAA,EAAA,GA2BRC,EAA2B,CAK/Bf,WAMAC,WAMAe,UAAWA,CAACV,EAAuBC,KACjC,GAAIA,GAAYD,EAASC,UAAYD,EAASC,WAAaA,EACzD,MAAM,IAAIU,MAAM,6DAclB,OAZIV,IAAaD,EAASC,WAExBD,EAASC,SAAWA,GAGlBD,EAASC,WAGXD,EAASI,cAAgBJ,EAASC,SAASP,MAG7CF,EAAUoB,IAAIZ,GACP,IAAMR,EAAUqB,OAAOb,EAAS,EAMzCc,YAAcd,IACZR,EAAUqB,OAAOb,EAAS,GAOxBe,EACF3B,EAAiCE,QAA1BA,EAAG0B,OAAOC,QAAQ7B,UAAfE,IAAuBA,OAAvBA,EAAAA,EAAyB4B,QACnC,CACEC,EAAkDC,KAE/C,IADFC,EAAYC,GAA0CF,EAyCvD,OAtCAD,EAAWE,GAAWxB,GAAG,YAEvB,MAAM0B,EAAUC,EAAgBF,GAE5BC,GACF5B,EAAQI,EAAAA,EACHL,CAAAA,EAAAA,KAAU,GAAA,CACb,CAAA,GAAA+B,OAAIJ,EAAU,UAAU,KACxB,CAAAI,GAAAA,OAAIJ,EAAsB,aAAA,KAI9B,IAAI,IAAA,IAAAK,EAAAlB,UAAAmB,OAZ4BC,EAAIC,IAAAA,MAAAH,GAAAI,EAAA,EAAAA,EAAAJ,EAAAI,IAAJF,EAAIE,GAAAtB,UAAAsB,GAalC,MAAMC,QAAuBT,EAAc5B,EAAUC,KAAaiC,GAYlE,OARIvC,GACFM,EAASN,EAAQK,IAAY2B,KAAeO,IAG1CL,GACF5B,EAAQI,EAAAA,EAAML,CAAAA,EAAAA,KAAU,GAAA,CAAE,CAAA+B,GAAAA,OAAIJ,EAAsB,aAAA,KAG/CU,CACR,CAAC,MAAOC,GAQP,MAPIT,GACF5B,EAAQI,EAAAA,EACHL,CAAAA,EAAAA,KAAU,GAAA,CACb,CAAA,GAAA+B,OAAIJ,EAAU,aAAY,EAC1B,CAAAI,GAAAA,OAAIJ,EAAoBW,UAAAA,KAGtBA,CACR,KAGKb,CAAU,GAEnB,CAAA,GACE,KAKAc,EAAwBlC,EAAAA,EACzBU,CAAAA,EAAAA,GACCM,EAAkB,CAAE3B,QAAOW,EAAA,CAAA,EAAOgB,IAAsB,IAG9D,OACIkB,CAEoC"}
1
+ {"version":3,"file":"store.vanillajs.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.ts"],"sourcesContent":["\n// TinyStore, inspired by https://github.com/jherr/syncexternalstore/blob/main/csr/src/store.js\n\nimport { isFunctionAsync } from '../../helpers'\n\n\nlet SET_STATE_MERGE: boolean = true\n\n\nexport const canSetStateMerge = (value: boolean): void => {\n SET_STATE_MERGE = !!value\n}\n\nexport const getSetStateMerge = (): boolean => SET_STATE_MERGE\n\n/**\n * Represents the callback function for a store listener.\n */\nexport type ListenerCallBack<T> = (state: Partial<T>) => void\n\n/**\n * Represents a selector function that transforms the store state.\n */\n// export type Selector<T> = (state: Partial<T>) => Partial<T>;\nexport type SelectedValueType<T> = Partial<T> | Partial<keyof T>\n| string | number | boolean | undefined | string[] | number[] | boolean[] | undefined[];\nexport type Selector<T> = (state: Partial<T>) => SelectedValueType<T>;\n\n\n/**\n * Represents a listener for the store.\n */\nexport type Listener<T> = {\n selector?: Selector<T>\n previousValue?: SelectedValueType<T>\n} & ListenerCallBack<T>\n\n/**\n * Represents a store.\n */\nexport type Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState: () => Partial<T>\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState: (state: Partial<T>) => Promise<Partial<T>>\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @param selector - Optional selector function to transform the store state.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => () => void\n /**\n * Unubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => void\n}\n// & { actions?: { [actionName: string]: ActionHandlerCaller } }\n\n// TODO infer actionNames from createStore arguments\n/**\n * Represents a store with additional actions.\n */\nexport type StoreWithActions<T> = Store<T> & { actions: { [actionName: string]: ActionHandlerCaller<T> } }\n\n\n\n\n/**\n * Represents an action handler function.\n */\nexport type ActionHandler<T> = (\n getState: Store<T>['getState'], // Function to get the current state of the store\n setState: Store<T>['setState'], // Function to set the state of the store\n ...rest: unknown[]\n) => void | Partial<T> | Promise<void | Partial<T>>\n\n/**\n * Represents an reducer function.\n */\nexport type Reducer<T> = (\n state: Partial<T>,\n action: string,\n ...rest: unknown[]\n) => Partial<T>\n\n\n/**\n * Represents a function that calls an action handler.\n */\nexport type ActionHandlerCaller<T> = (...args: unknown[]) => void | Partial<T> | Promise<void | Partial<T>>\n\n\ntype Actions<T> = { [key: string]: ActionHandler<T>}\n/**\n * Creates a new store.\n * @param initialState - The initial state of the store.\n * @param actions - Optional actions for the store.\n * @returns The created store.\n */\nexport const createStore = <T>(\n initialState: Partial<T>,\n actions?: Actions<T>,\n reducer?: Reducer<T>,\n): Store<T> | StoreWithActions<T> => {\n let currentState: Partial<T> = initialState\n const listeners = new Set<Listener<T>>()\n\n /**\n * Gets the current state of the store.\n * @returns The current state of the store.\n */\n const getState = (): Partial<T> => currentState\n\n // TODO debounce, batch? what is the meaningful time between setState ofr UI to be rendered and registerd by User?\n /**\n * Sets the state of the store.\n * @param newState - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n const setState = async (newState: Partial<T>): Promise<Partial<T>> => {\n currentState = SET_STATE_MERGE ? { ...getState(), ...newState } : newState\n\n // eslint-disable-next-line no-restricted-syntax\n for (const listener of listeners) {\n // has Listener selector?\n const selector: Selector<T> | undefined = listener?.selector\n\n // TODO compare selected value to the previous values of that listener/selector pair\n // if listener.previousValue === selector(currentState) no call\n // else listener.previousValue = selector(currentState) and call\n // l1 cache, weak references?\n const newValue: SelectedValueType<T> = selector ? selector(currentState) : currentState\n\n // TODO plugin equality\n if (listener.previousValue === undefined || listener.previousValue !== newValue) {\n listener.previousValue = newValue\n // eslint-disable-next-line no-await-in-loop\n await listener(newValue as Partial<T>)\n }\n }\n return currentState\n }\n\n /**\n * Represents the basic API of the store.\n */\n const storeBaseicApi: Store<T> = {\n /**\n * Get the current state of the store.\n * @returns The current state of the store.\n */\n getState,\n /**\n * Set the state of the store.\n * @param state - The new state to set.\n * @returns A promise that resolves to the new state.\n */\n setState,\n /**\n * Subscribe a listener to the store.\n * @param listener - The listener function to be subscribed.\n * @returns A function to unsubscribe the listener.\n */\n subscribe: (listener: Listener<T>, selector?: Selector<T>) => {\n if (selector && listener.selector && listener.selector !== selector) {\n throw new Error('Error, mismatch selector, listener.selector !== selector.')\n }\n if (selector && !listener.selector) {\n // eslint-disable-next-line no-param-reassign\n listener.selector = selector\n }\n\n if (listener.selector) {\n // setting the previousValue for the next cache/equality check\n // eslint-disable-next-line no-param-reassign\n listener.previousValue = listener.selector(getState())\n }\n\n listeners.add(listener)\n return () => listeners.delete(listener)\n },\n /**\n * Unsubscribe a listener from the store.\n * @param listener - The listener function to be unsubscribed.\n */\n unsubscribe: (listener: Listener<T>) => {\n listeners.delete(listener)\n },\n }\n\n /**\n * Resolves the actions and creates action handlers.\n */\n const resolvedActions: Actions<T> | null | undefined\n = actions ? Object.entries(actions)?.reduce(\n (\n aggregator: Record<string, ActionHandlerCaller<T>>,\n [actionName, actionHandler]: [string, ActionHandler<T>],\n ) => {\n // eslint-disable-next-line no-param-reassign\n aggregator[actionName] = async(...rest: unknown[]): Promise<void | Partial<T>> => {\n // TODO try to not call subscriber too many times becuase of Error and Pending values\n const isAsync = isFunctionAsync(actionHandler as () => unknown)\n\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Error`]: null,\n [`${actionName}Pending`]: true,\n })\n }\n\n try {\n const resultOfAction = await actionHandler(getState, setState, ...rest)\n\n // TODO try to mutate state only once with the results, that means pass custom setState to action,\n // so that it would matk pending and error already inside action\n if (reducer) {\n setState(reducer(getState(), actionName, ...rest))\n }\n\n if (isAsync) {\n setState({ ...getState(), [`${actionName}Pending`]: false })\n }\n\n return resultOfAction\n } catch (error) {\n if (isAsync) {\n setState({\n ...getState(),\n [`${actionName}Pending`]: false,\n [`${actionName}Error`]: error,\n })\n }\n throw error\n }\n }\n\n return aggregator\n },\n {},\n ) : null\n\n /**\n * Represents the store combined with actions.\n */\n const storeCombinedWithActions = {\n ...storeBaseicApi,\n ...(resolvedActions ? { actions: { ...resolvedActions } } : {}),\n }\n\n return resolvedActions\n ? storeCombinedWithActions as StoreWithActions<T>\n // ? storeCombinedWithActions as StoreWithActions<T> & ActionsStateReturnType<A>\n : storeCombinedWithActions as Store<T>\n}\n"],"names":["SET_STATE_MERGE","canSetStateMerge","value","getSetStateMerge","createStore","initialState","actions","reducer","currentState","listeners","Set","getState","setState","_ref","_asyncToGenerator","newState","listener","selector","newValue","undefined","previousValue","_x","apply","this","arguments","storeBaseicApi","subscribe","Error","add","delete","unsubscribe","resolvedActions","Object","entries","reduce","aggregator","_ref2","actionName","actionHandler","isAsync","isFunctionAsync","_len","length","rest","Array","_key","resultOfAction","error","storeCombinedWithActions"],"mappings":"iJAMA,IAAIA,GAA2B,EAGxB,MAAMC,EAAoBC,IAC/BF,IAAoBE,CAAK,EAGdC,EAAmBA,IAAeH,EA+FlCI,EAAcA,CACzBC,EACAC,EACAC,KAEA,IAAIC,EAA2BH,EAC/B,MAAMI,EAAY,IAAIC,IAMhBC,EAAWA,IAAkBH,EAQ7BI,EAAQ,WAAA,IAAAC,EAAAC,GAAG,UAAOC,GACtBP,EAAeR,EAAkB,IAAKW,OAAeI,GAAaA,EAGlE,IAAK,MAAMC,KAAYP,EAAW,CAEhC,MAAMQ,EAAoCD,GAAUC,SAM9CC,EAAiCD,EAAWA,EAAST,GAAgBA,OAG5CW,IAA3BH,EAASI,eAA+BJ,EAASI,gBAAkBF,IACrEF,EAASI,cAAgBF,QAEnBF,EAASE,GAEnB,CACA,OAAOV,CACT,IAAC,OAAA,SAtBaa,GAAA,OAAAR,EAAAS,MAAAC,KAAAC,UAAA,CAAA,CAAA,GA2BRC,EAA2B,CAK/Bd,WAMAC,WAMAc,UAAWA,CAACV,EAAuBC,KACjC,GAAIA,GAAYD,EAASC,UAAYD,EAASC,WAAaA,EACzD,MAAM,IAAIU,MAAM,6DAclB,OAZIV,IAAaD,EAASC,WAExBD,EAASC,SAAWA,GAGlBD,EAASC,WAGXD,EAASI,cAAgBJ,EAASC,SAASN,MAG7CF,EAAUmB,IAAIZ,GACP,IAAMP,EAAUoB,OAAOb,EAAS,EAMzCc,YAAcd,IACZP,EAAUoB,OAAOb,EAAS,GAOxBe,EACFzB,EAAU0B,OAAOC,QAAQ3B,IAAU4B,QACnC,CACEC,EAAkDC,KAE/C,IADFC,EAAYC,GAA0CF,EAyCvD,OAtCAD,EAAWE,GAAWvB,GAAG,YAEvB,MAAMyB,EAAUC,EAAgBF,GAE5BC,GACF3B,EAAS,IACJD,IACH,CAAC,GAAG0B,UAAoB,KACxB,CAAC,GAAGA,aAAsB,IAI9B,IAAI,IAAA,IAAAI,EAAAjB,UAAAkB,OAZ4BC,EAAI,IAAAC,MAAAH,GAAAI,EAAA,EAAAA,EAAAJ,EAAAI,IAAJF,EAAIE,GAAArB,UAAAqB,GAalC,MAAMC,QAAuBR,EAAc3B,EAAUC,KAAa+B,GAYlE,OARIpC,GACFK,EAASL,EAAQI,IAAY0B,KAAeM,IAG1CJ,GACF3B,EAAS,IAAKD,IAAY,CAAC,GAAG0B,aAAsB,IAG/CS,CACT,CAAE,MAAOC,GAQP,MAPIR,GACF3B,EAAS,IACJD,IACH,CAAC,GAAG0B,aAAsB,EAC1B,CAAC,GAAGA,UAAoBU,IAGtBA,CACR,CACF,IAEOZ,CAAU,GAEnB,CAAA,GACE,KAKAa,EAA2B,IAC5BvB,KACCM,EAAkB,CAAEzB,QAAS,IAAKyB,IAAsB,CAAA,GAG9D,OACIiB,CAEoC"}
@@ -1,2 +1,2 @@
1
- import{objectSpread2 as r,asyncToGenerator as a}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{createStore as o}from"./store.vanillajs.js";const t=(t,n,i,s)=>{const e=r(r({},i),{},{load:(l=a((function*(a,o,t){const n=a();o(r(r({},n),{},{isLoading:!0}));try{const r=yield t;n.data=(null==r?void 0:r.data)||r}catch(r){n.error=r}return o(r(r({},n),{},{isLoading:!1}))})),function(r,a,o){return l.apply(this,arguments)})});var l;return o(r(r({},n),{},{dataId:t,isLoading:!1}),e,s)};export{t as createDataStore};
1
+ import{asyncToGenerator as r}from"../../../../../_virtual/_rollupPluginBabelHelpers.js";import{createStore as t}from"./store.vanillajs.js";const a=(a,o,n,i)=>{const s={...n,load:(e=r((function*(r,t,a){const o=r();t({...o,isLoading:!0});try{const r=yield a;o.data=r?.data||r}catch(r){o.error=r}return t({...o,isLoading:!1})})),function(r,t,a){return e.apply(this,arguments)})};var e;return t({...o,dataId:a,isLoading:!1},s,i)};export{a as createDataStore};
2
2
  //# sourceMappingURL=store.vanillajs.templates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.vanillajs.templates.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.templates.ts"],"sourcesContent":["import { ActionHandler, Reducer, Store, StoreWithActions, createStore } from './store.vanillajs'\n\n\ntype DefaultES = { [key: string]: any }\n\n\nexport type DataState<T, ES = DefaultES> = {\n dataId: string\n isLoading: boolean\n error?: unknown\n data?: T\n} & ES\n\n\ntype Load<T, ES = DefaultES> = (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n\ntype LoadHandler<T, ES = DefaultES> = (\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n/**\n * Creates a data store with actions.\n * @param dataId - The ID of the data.\n * @param actions - Optional actions for the data store.\n * @returns The created data store with actions.\n */\nexport const createDataStore\n= <T, ES = DefaultES>(\n dataId: string,\n initialState?: Partial<ES>,\n actions?: Record<string, ActionHandler<DataState<T, ES>>>,\n reducer?: Reducer<DataState<T, ES>>,\n): StoreWithActions<DataState<T, ES>>\n& { actions: { load: LoadHandler<T, ES> } } => {\n const loadActions: { load: Load<T, ES> } = {\n ...actions,\n /**\n * Loads data into the data store.\n * @param getState - Function to get the current state of the data store.\n * @param setState - Function to set the state of the data store.\n * @param dataPromise - The data promise to be loaded.\n * @returns A promise that resolves to the updated state of the data store.\n */\n load: async (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n ) => {\n const dataState: Partial<DataState<T, ES>> = getState()\n\n setState({ ...dataState, isLoading: true })\n\n try {\n const response: unknown = await dataPromise\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.data = response?.data || response\n } catch (error: unknown) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.error = error\n }\n return setState({ ...dataState, isLoading: false })\n },\n }\n\n return (createStore<DataState<T, ES>>({\n ...initialState,\n dataId,\n isLoading: false,\n } as Partial<DataState<T, ES>>, loadActions, reducer)) as StoreWithActions<DataState<T, ES>>\n & { actions: { load: LoadHandler<T, ES> } }\n}\n"],"names":["createDataStore","dataId","initialState","actions","reducer","loadActions","_objectSpread","load","_ref","_asyncToGenerator","getState","setState","dataPromise","dataState","isLoading","response","data","error","_x","_x2","_x3","apply","this","arguments","createStore"],"mappings":"8JA+BO,MAAMA,EACXA,CACAC,EACAC,EACAC,EACAC,KAGA,MAAMC,EAAkCC,EAAAA,KACnCH,GAAO,GAAA,CAQVI,MAAIC,EAAAC,GAAE,UACJC,EACAC,EACAC,GAEA,MAAMC,EAAuCH,IAE7CC,EAAQL,EAAAA,KAAMO,GAAS,CAAA,EAAA,CAAEC,WAAW,KAEpC,IACE,MAAMC,QAA0BH,EAIhCC,EAAUG,MAAOD,aAAQ,EAARA,EAAUC,OAAQD,CACpC,CAAC,MAAOE,GAGPJ,EAAUI,MAAQA,CACpB,CACA,OAAON,EAAQL,EAAAA,KAAMO,GAAS,GAAA,CAAEC,WAAW,QAC5C,SArBGI,EAAAC,EAAAC,GAAA,OAAAZ,EAAAa,MAAAC,KAAAC,UAAA,KAAA,IAAAf,EAwBN,OAAQgB,EAAWlB,EAAAA,KACdJ,GAAY,GAAA,CACfD,SACAa,WAAW,IACmBT,EAAaD,EAAQ"}
1
+ {"version":3,"file":"store.vanillajs.templates.js","sources":["../../../../../../../../src/core/utils/appState/store/store.vanillajs.templates.ts"],"sourcesContent":["import { ActionHandler, Reducer, Store, StoreWithActions, createStore } from './store.vanillajs'\n\n\ntype DefaultES = { [key: string]: any }\n\n\nexport type DataState<T, ES = DefaultES> = {\n dataId: string\n isLoading: boolean\n error?: unknown\n data?: T\n} & ES\n\n\ntype Load<T, ES = DefaultES> = (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n\ntype LoadHandler<T, ES = DefaultES> = (\n dataPromise: unknown | Promise<unknown>,\n) => Promise<Partial<DataState<T, ES>>>\n\n/**\n * Creates a data store with actions.\n * @param dataId - The ID of the data.\n * @param actions - Optional actions for the data store.\n * @returns The created data store with actions.\n */\nexport const createDataStore\n= <T, ES = DefaultES>(\n dataId: string,\n initialState?: Partial<ES>,\n actions?: Record<string, ActionHandler<DataState<T, ES>>>,\n reducer?: Reducer<DataState<T, ES>>,\n): StoreWithActions<DataState<T, ES>>\n& { actions: { load: LoadHandler<T, ES> } } => {\n const loadActions: { load: Load<T, ES> } = {\n ...actions,\n /**\n * Loads data into the data store.\n * @param getState - Function to get the current state of the data store.\n * @param setState - Function to set the state of the data store.\n * @param dataPromise - The data promise to be loaded.\n * @returns A promise that resolves to the updated state of the data store.\n */\n load: async (\n getState: Store<DataState<T, ES>>['getState'],\n setState: Store<DataState<T, ES>>['setState'],\n dataPromise: unknown | Promise<unknown>,\n ) => {\n const dataState: Partial<DataState<T, ES>> = getState()\n\n setState({ ...dataState, isLoading: true })\n\n try {\n const response: unknown = await dataPromise\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.data = response?.data || response\n } catch (error: unknown) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n dataState.error = error\n }\n return setState({ ...dataState, isLoading: false })\n },\n }\n\n return (createStore<DataState<T, ES>>({\n ...initialState,\n dataId,\n isLoading: false,\n } as Partial<DataState<T, ES>>, loadActions, reducer)) as StoreWithActions<DataState<T, ES>>\n & { actions: { load: LoadHandler<T, ES> } }\n}\n"],"names":["createDataStore","dataId","initialState","actions","reducer","loadActions","load","_ref","_asyncToGenerator","getState","setState","dataPromise","dataState","isLoading","response","data","error","_x","_x2","_x3","apply","this","arguments","createStore"],"mappings":"2IA+BO,MAAMA,EACXA,CACAC,EACAC,EACAC,EACAC,KAGA,MAAMC,EAAqC,IACtCF,EAQHG,MAAIC,EAAAC,GAAE,UACJC,EACAC,EACAC,GAEA,MAAMC,EAAuCH,IAE7CC,EAAS,IAAKE,EAAWC,WAAW,IAEpC,IACE,MAAMC,QAA0BH,EAIhCC,EAAUG,KAAOD,GAAUC,MAAQD,CACrC,CAAE,MAAOE,GAGPJ,EAAUI,MAAQA,CACpB,CACA,OAAON,EAAS,IAAKE,EAAWC,WAAW,GAC7C,IAAC,SArBGI,EAAAC,EAAAC,GAAA,OAAAZ,EAAAa,MAAAC,KAAAC,UAAA,IAAA,IAAAf,EAwBN,OAAQgB,EAA8B,IACjCrB,EACHD,SACAY,WAAW,GACmBR,EAAaD,EAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"useStore.react.js","sources":["../../../../../../../../src/core/utils/appState/store/useStore.react.ts"],"sourcesContent":["import { useSyncExternalStore } from 'react'\n\nimport { Store, StoreWithActions, Selector } from './store.vanillajs'\n\n\n/**\n * Represents the type for the partial store state used in the `useStore` hook.\n */\nexport type useStoreType<T> = Partial<T>\n\nexport type useStoreWithSetterType<T> = [Partial<T>, Store<T>['setState']]\n\ntype returnSetterTrueType = true\n\nexport function useStore<T>(\n store: Store<T> | StoreWithActions<T>,\n selector?: Selector<T>): useStoreType<T>\n\nexport function useStore<T>(\n store: Store<T> | StoreWithActions<T>,\n selector?: Selector<T>,\n returnSetter?: returnSetterTrueType): useStoreWithSetterType<T>\n/**\n * Custom hook to subscribe to a store and retrieve the selected state.\n * @param store - The store to subscribe to.\n * @param selector - Optional selector function to transform the store state.\n * @param returnSetter - Optional flag to have setState returned\n * @returns The selected state from the store. or selected state and seState tuple\n */\nexport function useStore<T>(\n store: Store<T> | StoreWithActions<T>,\n selector: Selector<T> = (state: Partial<T>): Partial<T> => state,\n returnSetter = false,\n // TODO pass selector\n // useSyncExternalStore((...args) => {\n // args[0].selector?? store.subscribe(...args) }, () => selector(store.getState()));\n): useStoreType<T> | useStoreWithSetterType<T> {\n const selectedValues = useSyncExternalStore(store.subscribe, () => (selector(store.getState()) as Partial<T>))\n\n if (returnSetter) {\n return [selectedValues, store.setState] as useStoreWithSetterType<T>\n }\n\n return selectedValues as useStoreType<T>\n}\n\n/**\n * Represents the type for the API returned by the `useStoreApi` hook.\n */\nexport type useStoreApiType<T> = [\n useStoreType<T>,\n Store<T>['getState'],\n Store<T>['setState'],\n StoreWithActions<T>['actions'],\n]\n\n/**\n * Custom hook to retrieve the store API including state, getters, setters, and actions (if applicable).\n * @param store - The store to retrieve the API from.\n * @param selector - Optional selector function to transform the store state.\n * @returns The store API including state, getters, setters, and actions (if applicable).\n */\nexport function useStoreApi<T>(\n store: Store<T>,\n selector: Selector<T> = (state: Partial<T>): Partial<T> => state,\n): useStoreApiType<T> {\n return [\n useStore(store, selector),\n store.getState,\n store.setState,\n (store as StoreWithActions<T>).actions,\n ]\n}\n"],"names":["useStore","store","selector","arguments","length","undefined","state","returnSetter","selectedValues","useSyncExternalStore","subscribe","getState","setState","useStoreApi","actions"],"mappings":"6CA6BO,SAASA,EACdC,GAM6C,IAL7CC,EAAqBC,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIG,GAAAA,GAAkCA,EAC3DC,EAAYJ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAKZ,MAAMK,EAAiBC,EAAqBR,EAAMS,WAAW,IAAOR,EAASD,EAAMU,cAEnF,OAAIJ,EACK,CAACC,EAAgBP,EAAMW,UAGzBJ,CACT,CAkBO,SAASK,EACdZ,GAGA,MAAO,CACLD,EAASC,EAHUE,UAAAC,OAAAD,QAAAE,IAAAF,UAAAE,GAAAF,UAAIG,GAAAA,GAAkCA,GAIzDL,EAAMU,SACNV,EAAMW,SACLX,EAA8Ba,QAEnC"}
1
+ {"version":3,"file":"useStore.react.js","sources":["../../../../../../../../src/core/utils/appState/store/useStore.react.ts"],"sourcesContent":["import { useSyncExternalStore } from 'react'\n\nimport { Store, StoreWithActions, Selector } from './store.vanillajs'\n\n\n/**\n * Represents the type for the partial store state used in the `useStore` hook.\n */\nexport type useStoreType<T> = Partial<T>\n\nexport type useStoreWithSetterType<T> = [Partial<T>, Store<T>['setState']]\n\ntype returnSetterTrueType = true\n\nexport function useStore<T>(\n store: Store<T> | StoreWithActions<T>,\n selector?: Selector<T>): useStoreType<T>\n\nexport function useStore<T>(\n store: Store<T> | StoreWithActions<T>,\n selector?: Selector<T>,\n returnSetter?: returnSetterTrueType): useStoreWithSetterType<T>\n/**\n * Custom hook to subscribe to a store and retrieve the selected state.\n * @param store - The store to subscribe to.\n * @param selector - Optional selector function to transform the store state.\n * @param returnSetter - Optional flag to have setState returned\n * @returns The selected state from the store. or selected state and seState tuple\n */\nexport function useStore<T>(\n store: Store<T> | StoreWithActions<T>,\n selector: Selector<T> = (state: Partial<T>): Partial<T> => state,\n returnSetter = false,\n // TODO pass selector\n // useSyncExternalStore((...args) => {\n // args[0].selector?? store.subscribe(...args) }, () => selector(store.getState()));\n): useStoreType<T> | useStoreWithSetterType<T> {\n const selectedValues = useSyncExternalStore(store.subscribe, () => (selector(store.getState()) as Partial<T>))\n\n if (returnSetter) {\n return [selectedValues, store.setState] as useStoreWithSetterType<T>\n }\n\n return selectedValues as useStoreType<T>\n}\n\n/**\n * Represents the type for the API returned by the `useStoreApi` hook.\n */\nexport type useStoreApiType<T> = [\n useStoreType<T>,\n Store<T>['getState'],\n Store<T>['setState'],\n StoreWithActions<T>['actions'],\n]\n\n/**\n * Custom hook to retrieve the store API including state, getters, setters, and actions (if applicable).\n * @param store - The store to retrieve the API from.\n * @param selector - Optional selector function to transform the store state.\n * @returns The store API including state, getters, setters, and actions (if applicable).\n */\nexport function useStoreApi<T>(\n store: Store<T>,\n selector: Selector<T> = (state: Partial<T>): Partial<T> => state,\n): useStoreApiType<T> {\n return [\n useStore(store, selector),\n store.getState,\n store.setState,\n (store as StoreWithActions<T>).actions,\n ]\n}\n"],"names":["useStore","store","selector","arguments","length","undefined","state","returnSetter","selectedValues","useSyncExternalStore","subscribe","getState","setState","useStoreApi","actions"],"mappings":"6CA6BO,SAASA,EACdC,GAM6C,IAL7CC,EAAqBC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAIG,GAAkCA,EAC3DC,EAAYJ,UAAAC,OAAA,QAAAC,IAAAF,UAAA,IAAAA,UAAA,GAKZ,MAAMK,EAAiBC,EAAqBR,EAAMS,WAAW,IAAOR,EAASD,EAAMU,cAEnF,OAAIJ,EACK,CAACC,EAAgBP,EAAMW,UAGzBJ,CACT,CAkBO,SAASK,EACdZ,GAGA,MAAO,CACLD,EAASC,EAHUE,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAIG,GAAkCA,GAIzDL,EAAMU,SACNV,EAAMW,SACLX,EAA8Ba,QAEnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"array.js","sources":["../../../../../../src/core/utils/array.ts"],"sourcesContent":["/* eslint-disable no-extend-native */\nObject.defineProperty(Array.prototype, 'last', {\n get() { return this[this.length - 1] },\n set(v) { this[this.length - 1] = v; return this },\n})\n\n\nObject.defineProperty(Array.prototype, 'first', {\n get() { return this[0] },\n set(v) { this[0] = v; return this },\n})\n\n// redeclare array, to have last, first accessors\ndeclare global {\n interface Array<T> {\n last: T | undefined\n first: T | undefined\n }\n}\n\nexport default Array.prototype\n\n\nexport const ArrayFirst = Array.prototype.first\nexport const ArrayLast = Array.prototype.last\n"],"names":["Object","defineProperty","Array","prototype","get","this","length","set","v","ArrayFirst","first","ArrayLast","last"],"mappings":"AACAA,OAAOC,eAAeC,MAAMC,UAAW,OAAQ,CAC7CC,GAAAA,GAAQ,OAAOC,KAAKA,KAAKC,OAAS,EAAI,EACtCC,GAAAA,CAAIC,GAAgC,OAA3BH,KAAKA,KAAKC,OAAS,GAAKE,EAAUH,IAAK,IAIlDL,OAAOC,eAAeC,MAAMC,UAAW,QAAS,CAC9CC,GAAAA,GAAQ,OAAOC,KAAK,EAAI,EACxBE,GAAAA,CAAIC,GAAkB,OAAbH,KAAK,GAAKG,EAAUH,IAAK,UAcvBI,EAAaP,MAAMC,UAAUO,MAC7BC,EAAYT,MAAMC,UAAUS"}
1
+ {"version":3,"file":"array.js","sources":["../../../../../../src/core/utils/array.ts"],"sourcesContent":["/* eslint-disable no-extend-native */\nObject.defineProperty(Array.prototype, 'last', {\n get() { return this[this.length - 1] },\n set(v) { this[this.length - 1] = v; return this },\n})\n\n\nObject.defineProperty(Array.prototype, 'first', {\n get() { return this[0] },\n set(v) { this[0] = v; return this },\n})\n\n// redeclare array, to have last, first accessors\ndeclare global {\n interface Array<T> {\n last: T | undefined\n first: T | undefined\n }\n}\n\nexport default Array.prototype\n\n\nexport const ArrayFirst = Array.prototype.first\nexport const ArrayLast = Array.prototype.last\n"],"names":["Object","defineProperty","Array","prototype","get","this","length","set","v","ArrayFirst","first","ArrayLast","last"],"mappings":"AACAA,OAAOC,eAAeC,MAAMC,UAAW,OAAQ,CAC7CC,GAAAA,GAAQ,OAAOC,KAAKA,KAAKC,OAAS,EAAG,EACrCC,GAAAA,CAAIC,GAAgC,OAA3BH,KAAKA,KAAKC,OAAS,GAAKE,EAAUH,IAAK,IAIlDL,OAAOC,eAAeC,MAAMC,UAAW,QAAS,CAC9CC,GAAAA,GAAQ,OAAOC,KAAK,EAAG,EACvBE,GAAAA,CAAIC,GAAkB,OAAbH,KAAK,GAAKG,EAAUH,IAAK,UAcvBI,EAAaP,MAAMC,UAAUO,MAC7BC,EAAYT,MAAMC,UAAUS"}
@@ -1,2 +1,2 @@
1
- import{objectSpread2 as e}from"../../../_virtual/_rollupPluginBabelHelpers.js";import o from"dayjs";import d from"../../../node_modules/dayjs/plugin/relativeTime.js";import a from"../../../node_modules/dayjs/plugin/updateLocale.js";import r from"../../../node_modules/dayjs/plugin/customParseFormat.js";const t={future:"in %s",past:"%s ago",s:"now",m:"now",mm:"now",h:"1 hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},l={future:"za %s",past:"%s před",s:"nyní",m:"nyní",mm:"nyní",h:"1 hodinu",hh:"%d hodiny",d:"den",dd:"%d dny",M:"měsíc",MM:"%d měsíci",y:"rok",yy:"%d roky"};o.extend(r),o.extend(d,{thresholds:[{l:"s",r:1},{l:"m",r:1},{l:"mm",r:59,d:"minute"},{l:"h",r:1},{l:"hh",r:23,d:"hour"},{l:"d",r:1},{l:"dd",r:29,d:"day"},{l:"M",r:1},{l:"MM",r:11,d:"month"},{l:"y",r:1},{l:"yy",d:"year"}]}),o.extend(a),o.updateLocale("cz",{relativeTime:e({},l)}),o.updateLocale("en",{relativeTime:e({},t)});const n=(a,r)=>(o.updateLocale("en",{relativeTime:e(e({},"cz"===r?l:t),d)}),o(a,void 0).fromNow(!0)),m=(o,d)=>i(e(e({},d),{},{from:!0,value:o})),s=(o,d)=>i(e(e({},d),{},{to:!0,value:o})),i=d=>{let{value:a,valueFormat:r,formatString:n,language:m="en",relativeTime:s,from:i,to:u,shouldAddDay:c=!1,shouldSubtractDay:y=!1,showPreffix:h=!1}=d;if(o.updateLocale("en",{relativeTime:e(e({},"cz"===m?l:t),s)}),o.locale(m),!i&&u){const e=o(a,r||void 0).add(c?1:0,"day");return o(new Date).locale(m).to(e,!h)}if(i&&!u){const e=o(a,r||void 0).subtract(y?1:0,"day");return o(e,r||void 0).locale(m).fromNow(!h)}return o(a,r||void 0).locale(m).format(n)},u=function(e,d,a,r){let t=arguments.length>4&&void 0!==arguments[4]?arguments[4]:" - ",l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"month";const n=o(e),m=o(d),s=n.diff(m,l);return"".concat(n.format(0===s?a:r)).concat(t).concat(m.format(r))};export{u as dateRangeFormat,i as getDateTime,m as getTimeFromNow,n as getTimeFromNowOriginal,s as getTimeTo};
1
+ import e from"dayjs";import o from"../../../node_modules/dayjs/plugin/relativeTime.js";import d from"../../../node_modules/dayjs/plugin/updateLocale.js";import r from"../../../node_modules/dayjs/plugin/customParseFormat.js";const t={future:"in %s",past:"%s ago",s:"now",m:"now",mm:"now",h:"1 hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},a={future:"za %s",past:"%s před",s:"nyní",m:"nyní",mm:"nyní",h:"1 hodinu",hh:"%d hodiny",d:"den",dd:"%d dny",M:"měsíc",MM:"%d měsíci",y:"rok",yy:"%d roky"};e.extend(r),e.extend(o,{thresholds:[{l:"s",r:1},{l:"m",r:1},{l:"mm",r:59,d:"minute"},{l:"h",r:1},{l:"hh",r:23,d:"hour"},{l:"d",r:1},{l:"dd",r:29,d:"day"},{l:"M",r:1},{l:"MM",r:11,d:"month"},{l:"y",r:1},{l:"yy",d:"year"}]}),e.extend(d),e.updateLocale("cz",{relativeTime:{...a}}),e.updateLocale("en",{relativeTime:{...t}});const l=(d,r)=>(e.updateLocale("en",{relativeTime:{..."cz"===r?a:t,...o}}),e(d,void 0).fromNow(!0)),n=(e,o)=>s({...o,from:!0,value:e}),m=(e,o)=>s({...o,to:!0,value:e}),s=o=>{let{value:d,valueFormat:r,formatString:l,language:n="en",relativeTime:m,from:s,to:i,shouldAddDay:u=!1,shouldSubtractDay:y=!1,showPreffix:h=!1}=o;if(e.updateLocale("en",{relativeTime:{..."cz"===n?a:t,...m}}),e.locale(n),!s&&i){const o=e(d,r||void 0).add(u?1:0,"day");return e(new Date).locale(n).to(o,!h)}if(s&&!i){const o=e(d,r||void 0).subtract(y?1:0,"day");return e(o,r||void 0).locale(n).fromNow(!h)}return e(d,r||void 0).locale(n).format(l)},i=function(o,d,r,t){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:" - ",l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"month";const n=e(o),m=e(d),s=n.diff(m,l);return`${n.format(0===s?r:t)}${a}${m.format(t)}`};export{i as dateRangeFormat,s as getDateTime,n as getTimeFromNow,l as getTimeFromNowOriginal,m as getTimeTo};
2
2
  //# sourceMappingURL=date.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date.js","sources":["../../../../../../src/core/utils/date.ts"],"sourcesContent":["import dayjs, { UnitType } from 'dayjs'\nimport relativeTime from 'dayjs/plugin/relativeTime'\nimport updateLocale from 'dayjs/plugin/updateLocale'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\n\nexport type DateTimeFormat = {\n value: Date | string | number\n valueFormat?: string\n formatString?: string\n language?: string\n relativeTime?: Record<string, string>\n from?: boolean\n to?: boolean\n shouldSubtractDay?: boolean\n shouldAddDay?: boolean\n showPreffix?: boolean\n}\n\nconst relativeTimeConfig = {\n thresholds: [\n { l: 's', r: 1 },\n { l: 'm', r: 1 },\n { l: 'mm', r: 59, d: 'minute' },\n { l: 'h', r: 1 },\n { l: 'hh', r: 23, d: 'hour' },\n { l: 'd', r: 1 },\n { l: 'dd', r: 29, d: 'day' },\n { l: 'M', r: 1 },\n { l: 'MM', r: 11, d: 'month' },\n { l: 'y', r: 1 },\n { l: 'yy', d: 'year' },\n ],\n}\n\nconst relativeTimeEN = {\n future: 'in %s',\n past: '%s ago',\n s: 'now',\n m: 'now',\n mm: 'now',\n h: '1 hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days', // probably 'a week' instead?\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n}\n\nconst relativeTimeCZ = {\n future: 'za %s',\n past: '%s před',\n s: 'nyní',\n m: 'nyní',\n mm: 'nyní',\n h: '1 hodinu',\n hh: '%d hodiny',\n d: 'den',\n dd: '%d dny',\n M: 'měsíc',\n MM: '%d měsíci',\n y: 'rok',\n yy: '%d roky',\n}\n\ndayjs.extend(customParseFormat)\ndayjs.extend(relativeTime, relativeTimeConfig)\ndayjs.extend(updateLocale)\n\ndayjs.updateLocale('cz', {\n relativeTime: {\n ...relativeTimeCZ,\n },\n})\ndayjs.updateLocale('en', {\n relativeTime: {\n ...relativeTimeEN,\n },\n})\n\nexport const getTimeFromNowOriginal = (value: string, language: string): string => {\n dayjs.updateLocale('en', {\n relativeTime: {\n ...(language === 'cz' ? relativeTimeCZ : relativeTimeEN),\n ...relativeTime,\n },\n })\n return dayjs(value, undefined).fromNow(true)\n}\n\nexport const getTimeFromNow = (\n value: Date | string | number,\n valueFormat?: Partial<DateTimeFormat>,\n): string => getDateTime({ ...valueFormat, from: true, value })\n\nexport const getTimeTo = (\n value: Date | string | number,\n valueFormat?: Partial<DateTimeFormat>,\n): string => getDateTime({ ...valueFormat, to: true, value })\n\nexport const getDateTime = ({\n value,\n valueFormat,\n formatString,\n language = 'en',\n relativeTime,\n from,\n to,\n shouldAddDay = false,\n shouldSubtractDay = false,\n showPreffix = false,\n}: DateTimeFormat): string => {\n dayjs.updateLocale('en', {\n relativeTime: {\n ...(language === 'cz' ? relativeTimeCZ : relativeTimeEN),\n ...relativeTime,\n },\n })\n\n dayjs.locale(language)\n\n if (!from && to) {\n const dateTo = dayjs(value, valueFormat || undefined).add(shouldAddDay ? 1 : 0, 'day')\n\n return dayjs(new Date()).locale(language).to(dateTo, !showPreffix)\n }\n\n if (from && !to) {\n const dateTo = dayjs(value, valueFormat || undefined).subtract(shouldSubtractDay ? 1 : 0, 'day')\n\n return dayjs(dateTo, valueFormat || undefined).locale(language).fromNow(!showPreffix)\n }\n\n return dayjs(value, valueFormat || undefined).locale(language).format(formatString)\n}\n\nexport const dateRangeFormat = (\n dateFrom: Date, dateTo: Date, shortFormat: string, longFormat: string,\n delimiter = ' - ', datePeriod: UnitType = 'month',\n) : string => {\n const dayJSFrom = dayjs(dateFrom)\n const dayJSTo = dayjs(dateTo)\n\n const diffMonths = dayJSFrom.diff(dayJSTo, datePeriod)\n\n return `${dayJSFrom.format(diffMonths === 0 ? shortFormat : longFormat)}${delimiter}${dayJSTo.format(longFormat)}`\n}\n"],"names":["relativeTimeEN","future","past","s","m","mm","h","hh","d","dd","M","MM","y","yy","relativeTimeCZ","dayjs","extend","customParseFormat","relativeTime","thresholds","l","r","updateLocale","_objectSpread","getTimeFromNowOriginal","value","language","undefined","fromNow","getTimeFromNow","valueFormat","getDateTime","from","getTimeTo","to","_ref","formatString","shouldAddDay","shouldSubtractDay","showPreffix","locale","dateTo","add","Date","subtract","format","dateRangeFormat","dateFrom","shortFormat","longFormat","delimiter","arguments","length","datePeriod","dayJSFrom","dayJSTo","diffMonths","diff","concat"],"mappings":"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"}
1
+ {"version":3,"file":"date.js","sources":["../../../../../../src/core/utils/date.ts"],"sourcesContent":["import dayjs, { UnitType } from 'dayjs'\nimport relativeTime from 'dayjs/plugin/relativeTime'\nimport updateLocale from 'dayjs/plugin/updateLocale'\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\n\nexport type DateTimeFormat = {\n value: Date | string | number\n valueFormat?: string\n formatString?: string\n language?: string\n relativeTime?: Record<string, string>\n from?: boolean\n to?: boolean\n shouldSubtractDay?: boolean\n shouldAddDay?: boolean\n showPreffix?: boolean\n}\n\nconst relativeTimeConfig = {\n thresholds: [\n { l: 's', r: 1 },\n { l: 'm', r: 1 },\n { l: 'mm', r: 59, d: 'minute' },\n { l: 'h', r: 1 },\n { l: 'hh', r: 23, d: 'hour' },\n { l: 'd', r: 1 },\n { l: 'dd', r: 29, d: 'day' },\n { l: 'M', r: 1 },\n { l: 'MM', r: 11, d: 'month' },\n { l: 'y', r: 1 },\n { l: 'yy', d: 'year' },\n ],\n}\n\nconst relativeTimeEN = {\n future: 'in %s',\n past: '%s ago',\n s: 'now',\n m: 'now',\n mm: 'now',\n h: '1 hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days', // probably 'a week' instead?\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years',\n}\n\nconst relativeTimeCZ = {\n future: 'za %s',\n past: '%s před',\n s: 'nyní',\n m: 'nyní',\n mm: 'nyní',\n h: '1 hodinu',\n hh: '%d hodiny',\n d: 'den',\n dd: '%d dny',\n M: 'měsíc',\n MM: '%d měsíci',\n y: 'rok',\n yy: '%d roky',\n}\n\ndayjs.extend(customParseFormat)\ndayjs.extend(relativeTime, relativeTimeConfig)\ndayjs.extend(updateLocale)\n\ndayjs.updateLocale('cz', {\n relativeTime: {\n ...relativeTimeCZ,\n },\n})\ndayjs.updateLocale('en', {\n relativeTime: {\n ...relativeTimeEN,\n },\n})\n\nexport const getTimeFromNowOriginal = (value: string, language: string): string => {\n dayjs.updateLocale('en', {\n relativeTime: {\n ...(language === 'cz' ? relativeTimeCZ : relativeTimeEN),\n ...relativeTime,\n },\n })\n return dayjs(value, undefined).fromNow(true)\n}\n\nexport const getTimeFromNow = (\n value: Date | string | number,\n valueFormat?: Partial<DateTimeFormat>,\n): string => getDateTime({ ...valueFormat, from: true, value })\n\nexport const getTimeTo = (\n value: Date | string | number,\n valueFormat?: Partial<DateTimeFormat>,\n): string => getDateTime({ ...valueFormat, to: true, value })\n\nexport const getDateTime = ({\n value,\n valueFormat,\n formatString,\n language = 'en',\n relativeTime,\n from,\n to,\n shouldAddDay = false,\n shouldSubtractDay = false,\n showPreffix = false,\n}: DateTimeFormat): string => {\n dayjs.updateLocale('en', {\n relativeTime: {\n ...(language === 'cz' ? relativeTimeCZ : relativeTimeEN),\n ...relativeTime,\n },\n })\n\n dayjs.locale(language)\n\n if (!from && to) {\n const dateTo = dayjs(value, valueFormat || undefined).add(shouldAddDay ? 1 : 0, 'day')\n\n return dayjs(new Date()).locale(language).to(dateTo, !showPreffix)\n }\n\n if (from && !to) {\n const dateTo = dayjs(value, valueFormat || undefined).subtract(shouldSubtractDay ? 1 : 0, 'day')\n\n return dayjs(dateTo, valueFormat || undefined).locale(language).fromNow(!showPreffix)\n }\n\n return dayjs(value, valueFormat || undefined).locale(language).format(formatString)\n}\n\nexport const dateRangeFormat = (\n dateFrom: Date, dateTo: Date, shortFormat: string, longFormat: string,\n delimiter = ' - ', datePeriod: UnitType = 'month',\n) : string => {\n const dayJSFrom = dayjs(dateFrom)\n const dayJSTo = dayjs(dateTo)\n\n const diffMonths = dayJSFrom.diff(dayJSTo, datePeriod)\n\n return `${dayJSFrom.format(diffMonths === 0 ? shortFormat : longFormat)}${delimiter}${dayJSTo.format(longFormat)}`\n}\n"],"names":["relativeTimeEN","future","past","s","m","mm","h","hh","d","dd","M","MM","y","yy","relativeTimeCZ","dayjs","extend","customParseFormat","relativeTime","thresholds","l","r","updateLocale","getTimeFromNowOriginal","value","language","undefined","fromNow","getTimeFromNow","valueFormat","getDateTime","from","getTimeTo","to","_ref","formatString","shouldAddDay","shouldSubtractDay","showPreffix","locale","dateTo","add","Date","subtract","format","dateRangeFormat","dateFrom","shortFormat","longFormat","delimiter","arguments","length","datePeriod","dayJSFrom","dayJSTo","diffMonths","diff"],"mappings":"gOAkBA,MAgBMA,EAAiB,CACrBC,OAAQ,QACRC,KAAM,SACNC,EAAG,MACHC,EAAG,MACHC,GAAI,MACJC,EAAG,SACHC,GAAI,WACJC,EAAG,QACHC,GAAI,UACJC,EAAG,UACHC,GAAI,YACJC,EAAG,SACHC,GAAI,YAGAC,EAAiB,CACrBb,OAAQ,QACRC,KAAM,UACNC,EAAG,OACHC,EAAG,OACHC,GAAI,OACJC,EAAG,WACHC,GAAI,YACJC,EAAG,MACHC,GAAI,SACJC,EAAG,QACHC,GAAI,YACJC,EAAG,MACHC,GAAI,WAGNE,EAAMC,OAAOC,GACbF,EAAMC,OAAOE,EAjDc,CACzBC,WAAY,CACV,CAAEC,EAAG,IAAKC,EAAG,GACb,CAAED,EAAG,IAAKC,EAAG,GACb,CAAED,EAAG,KAAMC,EAAG,GAAIb,EAAG,UACrB,CAAEY,EAAG,IAAKC,EAAG,GACb,CAAED,EAAG,KAAMC,EAAG,GAAIb,EAAG,QACrB,CAAEY,EAAG,IAAKC,EAAG,GACb,CAAED,EAAG,KAAMC,EAAG,GAAIb,EAAG,OACrB,CAAEY,EAAG,IAAKC,EAAG,GACb,CAAED,EAAG,KAAMC,EAAG,GAAIb,EAAG,SACrB,CAAEY,EAAG,IAAKC,EAAG,GACb,CAAED,EAAG,KAAMZ,EAAG,WAsClBO,EAAMC,OAAOM,GAEbP,EAAMO,aAAa,KAAM,CACvBJ,aAAc,IACTJ,KAGPC,EAAMO,aAAa,KAAM,CACvBJ,aAAc,IACTlB,WAIMuB,EAAyBA,CAACC,EAAeC,KACpDV,EAAMO,aAAa,KAAM,CACvBJ,aAAc,IACK,OAAbO,EAAoBX,EAAiBd,KACtCkB,KAGAH,EAAMS,OAAOE,GAAWC,SAAQ,IAG5BC,EAAiBA,CAC5BJ,EACAK,IACWC,EAAY,IAAKD,EAAaE,MAAM,EAAMP,UAE1CQ,EAAYA,CACvBR,EACAK,IACWC,EAAY,IAAKD,EAAaI,IAAI,EAAMT,UAExCM,EAAcI,IAWG,IAXFV,MAC1BA,EAAKK,YACLA,EAAWM,aACXA,EAAYV,SACZA,EAAW,KAAIP,aACfA,EAAYa,KACZA,EAAIE,GACJA,EAAEG,aACFA,GAAe,EAAKC,kBACpBA,GAAoB,EAAKC,YACzBA,GAAc,GACCJ,EAUf,GATAnB,EAAMO,aAAa,KAAM,CACvBJ,aAAc,IACK,OAAbO,EAAoBX,EAAiBd,KACtCkB,KAIPH,EAAMwB,OAAOd,IAERM,GAAQE,EAAI,CACf,MAAMO,EAASzB,EAAMS,EAAOK,QAAeH,GAAWe,IAAIL,EAAe,EAAI,EAAG,OAEhF,OAAOrB,EAAM,IAAI2B,MAAQH,OAAOd,GAAUQ,GAAGO,GAASF,EACxD,CAEA,GAAIP,IAASE,EAAI,CACf,MAAMO,EAASzB,EAAMS,EAAOK,QAAeH,GAAWiB,SAASN,EAAoB,EAAI,EAAG,OAE1F,OAAOtB,EAAMyB,EAAQX,QAAeH,GAAWa,OAAOd,GAAUE,SAASW,EAC3E,CAEA,OAAOvB,EAAMS,EAAOK,QAAeH,GAAWa,OAAOd,GAAUmB,OAAOT,EAAa,EAGxEU,EAAkB,SAC7BC,EAAgBN,EAAcO,EAAqBC,GAEvC,IADZC,EAASC,UAAAC,OAAA,QAAAzB,IAAAwB,UAAA,GAAAA,UAAA,GAAG,MAAOE,EAAoBF,UAAAC,OAAA,QAAAzB,IAAAwB,UAAA,GAAAA,UAAA,GAAG,QAE1C,MAAMG,EAAYtC,EAAM+B,GAClBQ,EAAUvC,EAAMyB,GAEhBe,EAAaF,EAAUG,KAAKF,EAASF,GAE3C,MAAO,GAAGC,EAAUT,OAAsB,IAAfW,EAAmBR,EAAcC,KAAcC,IAAYK,EAAQV,OAAOI,IACvG"}
@@ -1,2 +1,2 @@
1
- import{isValidFormat as t,isValidModulo11 as r,parse as n}from"./birthnumberCZSKvalidator.js";const a=(a,o,c)=>{if(!t(a)||!r(a))return!1;const e=n(a);if(e){if(c!==e.gender)return!1;const{year:t,month:r,day:n}=e;if(o!=="".concat(String(n).padStart(2,"0"),".").concat(String(r).padStart(2,"0"),".").concat(t))return!1}return!0};export{a as isBirthNumberValid};
1
+ import{isValidFormat as r,isValidModulo11 as t,parse as n}from"./birthnumberCZSKvalidator.js";const e=(e,i,a)=>{if(!r(e)||!t(e))return!1;const o=n(e);if(o){if(a!==o.gender)return!1;const{year:r,month:t,day:n}=o;if(i!==`${String(n).padStart(2,"0")}.${String(t).padStart(2,"0")}.${r}`)return!1}return!0};export{e as isBirthNumberValid};
2
2
  //# sourceMappingURL=birthnumber.validator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"birthnumber.validator.js","sources":["../../../../../../../src/core/utils/helpers/birthnumber.validator.ts"],"sourcesContent":["import {\n parse as parseBirthNumber,\n isValidFormat,\n isValidModulo11,\n} from './birthnumberCZSKvalidator'\n\n// TODO Lukas Z, add spec/test for isBirthNumberValid\nexport const isBirthNumberValid = (birthnumber: string, birthdate: string, gender: string): boolean => {\n if (!isValidFormat(birthnumber) || !isValidModulo11(birthnumber)) {\n return false\n }\n\n const parsedBirthNumber = parseBirthNumber(birthnumber)\n\n if (parsedBirthNumber) {\n if (gender !== parsedBirthNumber.gender) {\n return false\n }\n const { year, month, day } = parsedBirthNumber\n\n if (birthdate !== `${String(day).padStart(2, '0')}.${String(month).padStart(2, '0')}.${year}`) {\n return false\n }\n }\n return true\n}\n"],"names":["isBirthNumberValid","birthnumber","birthdate","gender","isValidFormat","isValidModulo11","parsedBirthNumber","parseBirthNumber","year","month","day","concat","String","padStart"],"mappings":"8FAOO,MAAMA,EAAqBA,CAACC,EAAqBC,EAAmBC,KACzE,IAAKC,EAAcH,KAAiBI,EAAgBJ,GAClD,OAAO,EAGT,MAAMK,EAAoBC,EAAiBN,GAE3C,GAAIK,EAAmB,CACrB,GAAIH,IAAWG,EAAkBH,OAC/B,OAAO,EAET,MAAMK,KAAEA,EAAIC,MAAEA,EAAKC,IAAEA,GAAQJ,EAE7B,GAAIJ,IAAS,GAAAS,OAAQC,OAAOF,GAAKG,SAAS,EAAG,KAAIF,KAAAA,OAAIC,OAAOH,GAAOI,SAAS,EAAG,KAAIF,KAAAA,OAAIH,GACrF,OAAO,CAEX,CACA,OAAO,CAAI"}
1
+ {"version":3,"file":"birthnumber.validator.js","sources":["../../../../../../../src/core/utils/helpers/birthnumber.validator.ts"],"sourcesContent":["import {\n parse as parseBirthNumber,\n isValidFormat,\n isValidModulo11,\n} from './birthnumberCZSKvalidator'\n\n// TODO Lukas Z, add spec/test for isBirthNumberValid\nexport const isBirthNumberValid = (birthnumber: string, birthdate: string, gender: string): boolean => {\n if (!isValidFormat(birthnumber) || !isValidModulo11(birthnumber)) {\n return false\n }\n\n const parsedBirthNumber = parseBirthNumber(birthnumber)\n\n if (parsedBirthNumber) {\n if (gender !== parsedBirthNumber.gender) {\n return false\n }\n const { year, month, day } = parsedBirthNumber\n\n if (birthdate !== `${String(day).padStart(2, '0')}.${String(month).padStart(2, '0')}.${year}`) {\n return false\n }\n }\n return true\n}\n"],"names":["isBirthNumberValid","birthnumber","birthdate","gender","isValidFormat","isValidModulo11","parsedBirthNumber","parseBirthNumber","year","month","day","String","padStart"],"mappings":"8FAOO,MAAMA,EAAqBA,CAACC,EAAqBC,EAAmBC,KACzE,IAAKC,EAAcH,KAAiBI,EAAgBJ,GAClD,OAAO,EAGT,MAAMK,EAAoBC,EAAiBN,GAE3C,GAAIK,EAAmB,CACrB,GAAIH,IAAWG,EAAkBH,OAC/B,OAAO,EAET,MAAMK,KAAEA,EAAIC,MAAEA,EAAKC,IAAEA,GAAQJ,EAE7B,GAAIJ,IAAc,GAAGS,OAAOD,GAAKE,SAAS,EAAG,QAAQD,OAAOF,GAAOG,SAAS,EAAG,QAAQJ,IACrF,OAAO,CAEX,CACA,OAAO,CAAI"}