@adyen/adyen-platform-experience-web 1.4.2 → 1.5.0

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 (287) hide show
  1. package/dist/adyen-platform-experience-web.css +1 -1
  2. package/dist/{angle-right-C1JIrQTg.cjs → angle-right-B2I_t62j.cjs} +2 -2
  3. package/dist/{angle-right-C1JIrQTg.cjs.map → angle-right-B2I_t62j.cjs.map} +1 -1
  4. package/dist/{checkmark-B8DhX3p1.cjs → checkmark-CIwP_FdK.cjs} +2 -2
  5. package/dist/{checkmark-B8DhX3p1.cjs.map → checkmark-CIwP_FdK.cjs.map} +1 -1
  6. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs → checkmark-circle-fill-Cw5UXqzN.cjs} +2 -2
  7. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs.map → checkmark-circle-fill-Cw5UXqzN.cjs.map} +1 -1
  8. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs → checkmark-square-fill-BwkQfKCG.cjs} +2 -2
  9. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs.map → checkmark-square-fill-BwkQfKCG.cjs.map} +1 -1
  10. package/dist/{chevron-down-CB77LxQY.cjs → chevron-down-BuYiZOY7.cjs} +2 -2
  11. package/dist/{chevron-down-CB77LxQY.cjs.map → chevron-down-BuYiZOY7.cjs.map} +1 -1
  12. package/dist/{chevron-left-DMAmIvLF.cjs → chevron-left-DhRCcHqQ.cjs} +2 -2
  13. package/dist/{chevron-left-DMAmIvLF.cjs.map → chevron-left-DhRCcHqQ.cjs.map} +1 -1
  14. package/dist/{chevron-right-BxLJu7Zf.cjs → chevron-right-DvPR8FD2.cjs} +2 -2
  15. package/dist/{chevron-right-BxLJu7Zf.cjs.map → chevron-right-DvPR8FD2.cjs.map} +1 -1
  16. package/dist/{chevron-up-CT79XJdh.cjs → chevron-up-DFrrO8PJ.cjs} +2 -2
  17. package/dist/{chevron-up-CT79XJdh.cjs.map → chevron-up-DFrrO8PJ.cjs.map} +1 -1
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/{copy-7UpFtMvt.cjs → copy-Bl3l133y.cjs} +2 -2
  20. package/dist/{copy-7UpFtMvt.cjs.map → copy-Bl3l133y.cjs.map} +1 -1
  21. package/dist/{cross-DtVirgrN.cjs → cross-BtdvCTEP.cjs} +2 -2
  22. package/dist/{cross-DtVirgrN.cjs.map → cross-BtdvCTEP.cjs.map} +1 -1
  23. package/dist/{cross-circle-fill-C47yImD2.cjs → cross-circle-fill-BBjJLOad.cjs} +2 -2
  24. package/dist/{cross-circle-fill-C47yImD2.cjs.map → cross-circle-fill-BBjJLOad.cjs.map} +1 -1
  25. package/dist/da-DK-qSZWEjaU.cjs +2 -0
  26. package/dist/da-DK-qSZWEjaU.cjs.map +1 -0
  27. package/dist/de-DE-Dngq7NwF.cjs +2 -0
  28. package/dist/de-DE-Dngq7NwF.cjs.map +1 -0
  29. package/dist/{download-A1m1wB_K.cjs → download-Cqu4yqTE.cjs} +2 -2
  30. package/dist/{download-A1m1wB_K.cjs.map → download-Cqu4yqTE.cjs.map} +1 -1
  31. package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +14 -14
  32. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +20 -20
  33. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +73 -62
  34. package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
  35. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +3 -3
  36. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +3 -3
  37. package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +3 -3
  38. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +6 -6
  39. package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +0 -1
  40. package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +2 -2
  41. package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +14 -14
  42. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +2 -2
  43. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +4 -4
  44. package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +1 -1
  45. package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +13 -13
  46. package/dist/es/components/external/CapitalOverview/components/Unqualified.js +2 -2
  47. package/dist/es/components/external/CapitalOverview/constants.js +0 -1
  48. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +21 -21
  49. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +17 -17
  50. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +4 -4
  51. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +16 -16
  52. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +1 -1
  53. package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +20 -20
  54. package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +4 -4
  55. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +8 -8
  56. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +1 -1
  57. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +2 -2
  58. package/dist/es/components/external/TransactionDetails/context/details/context.js +10 -10
  59. package/dist/es/components/external/TransactionDetails/context/refund/context.js +1 -1
  60. package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +2 -2
  61. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +20 -20
  62. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +3 -3
  63. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  64. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +4 -4
  65. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  66. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +8 -8
  67. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +66 -66
  68. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +19 -19
  69. package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +3 -3
  70. package/dist/es/components/internal/Accordion/Accordion.js +10 -10
  71. package/dist/es/components/internal/Alert/Alert.js +1 -1
  72. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +5 -5
  73. package/dist/es/components/internal/Button/hooks/useButton.js +7 -7
  74. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +104 -104
  75. package/dist/es/components/internal/Calendar/calendar/facade/index.js +12 -12
  76. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -14
  77. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +4 -4
  78. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +58 -58
  79. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +4 -4
  80. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +3 -3
  81. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +2 -2
  82. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +7 -7
  83. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +6 -6
  84. package/dist/es/components/internal/Calendar/calendar/utils.js +22 -22
  85. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +11 -11
  86. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +22 -22
  87. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +7 -7
  88. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +12 -12
  89. package/dist/es/components/internal/CapitalHeader/constants.js +4 -4
  90. package/dist/es/components/internal/CapitalHeader/helpers.js +14 -12
  91. package/dist/es/components/internal/Card/Card.js +9 -9
  92. package/dist/es/components/internal/DataGrid/DataGridCell.js +8 -8
  93. package/dist/es/components/internal/DataGrid/components/TableCells.js +16 -16
  94. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +13 -13
  95. package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
  96. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
  97. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +3 -3
  98. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  99. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -2
  100. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +23 -23
  101. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +2 -2
  102. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +31 -31
  103. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
  104. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +15 -15
  105. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +2 -2
  106. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +9 -9
  107. package/dist/es/components/internal/FormFields/InputBase.js +5 -5
  108. package/dist/es/components/internal/FormFields/Select/Select.js +15 -15
  109. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +43 -43
  110. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +14 -14
  111. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +5 -5
  112. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +2 -2
  113. package/dist/es/components/internal/Header/Header.js +4 -4
  114. package/dist/es/components/internal/Icon/Icon.js +3 -3
  115. package/dist/es/components/internal/Img/Img.js +2 -2
  116. package/dist/es/components/internal/Link/Link.js +2 -2
  117. package/dist/es/components/internal/Modal/Modal.js +4 -4
  118. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +12 -12
  119. package/dist/es/components/internal/Pagination/hooks/usePagination.js +22 -22
  120. package/dist/es/components/internal/Popover/Popover.js +4 -4
  121. package/dist/es/components/internal/ProgressBar/ProgressBar.js +3 -3
  122. package/dist/es/components/internal/SVGIcons/Checkmark.js +3 -3
  123. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +12 -10
  124. package/dist/es/components/internal/SVGIcons/ChevronRight.js +12 -10
  125. package/dist/es/components/internal/SVGIcons/CloseCircle.js +1 -1
  126. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +13 -13
  127. package/dist/es/components/internal/StructuredList/StructuredList.js +4 -4
  128. package/dist/es/components/internal/Translation/Translation.js +15 -15
  129. package/dist/es/components/utils/getErrorMessage.js +2 -2
  130. package/dist/es/constants/dateFormats.js +3 -3
  131. package/dist/es/core/ConfigContext/context.js +18 -18
  132. package/dist/es/core/ConfigContext/session/AuthSession.js +36 -36
  133. package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +7 -7
  134. package/dist/es/core/ConfigContext/session/SetupContext.js +5 -5
  135. package/dist/es/core/ConfigContext/session/constants.js +8 -8
  136. package/dist/es/core/ConfigContext/session/utils/sessionReady.js +5 -5
  137. package/dist/es/core/Http/utils.js +1 -1
  138. package/dist/es/core/Localization/Localization.js +32 -32
  139. package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
  140. package/dist/es/core/Localization/datetime/restamper/restamper.js +1 -1
  141. package/dist/es/core/Localization/utils.js +1 -1
  142. package/dist/es/core/core.js +1 -1
  143. package/dist/es/external/preact/compat/dist/compat.module.js +40 -40
  144. package/dist/es/external/preact/dist/preact.module.js +197 -195
  145. package/dist/es/external/preact/hooks/dist/hooks.module.js +71 -67
  146. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -9
  147. package/dist/es/hooks/element/useDetachedRender.js +11 -11
  148. package/dist/es/hooks/element/useFocusTrap.js +5 -5
  149. package/dist/es/hooks/useBalanceAccountSelection.js +10 -10
  150. package/dist/es/hooks/useCommitAction/useCommitAction.js +7 -7
  151. package/dist/es/hooks/useContainerQuery.js +4 -4
  152. package/dist/es/hooks/useCustomColumnsData.js +2 -2
  153. package/dist/es/hooks/useDefaultOverviewFilterParams.js +18 -18
  154. package/dist/es/hooks/useFetch.js +22 -22
  155. package/dist/es/hooks/useModalDetails/useModalDetails.js +7 -7
  156. package/dist/es/hooks/useMutation/useMutation.js +3 -3
  157. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -21
  158. package/dist/es/hooks/useResponsiveContainer.js +7 -10
  159. package/dist/es/hooks/useTabbedControl.js +9 -9
  160. package/dist/es/primitives/async/abortable/main.js +9 -9
  161. package/dist/es/primitives/async/deferred/main.js +1 -1
  162. package/dist/es/primitives/auxiliary/errorContainer/main.js +9 -9
  163. package/dist/es/primitives/auxiliary/indexed/helpers.js +4 -4
  164. package/dist/es/primitives/auxiliary/indexed/main.js +7 -7
  165. package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
  166. package/dist/es/primitives/context/session/internal/deadline.js +22 -22
  167. package/dist/es/primitives/context/session/internal/refresher.js +19 -19
  168. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -3
  169. package/dist/es/primitives/reactive/eventEmitter/main.js +3 -3
  170. package/dist/es/primitives/reactive/reflex/main.js +22 -22
  171. package/dist/es/primitives/reactive/reflex/register.js +25 -25
  172. package/dist/es/primitives/reactive/watchlist/main.js +24 -24
  173. package/dist/es/primitives/time/clock/main.js +6 -6
  174. package/dist/es/primitives/time/interval/main.js +9 -9
  175. package/dist/es/translations/da-DK.json.js +55 -46
  176. package/dist/es/translations/de-DE.json.js +67 -58
  177. package/dist/es/translations/en-US.json.js +33 -30
  178. package/dist/es/translations/es-ES.json.js +91 -82
  179. package/dist/es/translations/fi-FI.json.js +93 -84
  180. package/dist/es/translations/fr-FR.json.js +75 -66
  181. package/dist/es/translations/it-IT.json.js +95 -86
  182. package/dist/es/translations/nl-NL.json.js +92 -83
  183. package/dist/es/translations/no-NO.json.js +71 -62
  184. package/dist/es/translations/pt-BR.json.js +67 -58
  185. package/dist/es/translations/sv-SE.json.js +95 -86
  186. package/dist/es/utils/abort/internals.js +3 -3
  187. package/dist/es/utils/abort/main.js +19 -19
  188. package/dist/es/utils/collection/main.js +14 -14
  189. package/dist/es/utils/datetime/main.js +3 -3
  190. package/dist/es/utils/preact/className.js +2 -2
  191. package/dist/es/utils/struct/main.js +8 -8
  192. package/dist/es/utils/value/is.js +9 -9
  193. package/dist/es/utils/value/number.js +2 -2
  194. package/dist/es-ES-Bjddx94n.cjs +2 -0
  195. package/dist/es-ES-Bjddx94n.cjs.map +1 -0
  196. package/dist/{external-link-Ct-WlQoY.cjs → external-link-CqDz5BtK.cjs} +2 -2
  197. package/dist/{external-link-Ct-WlQoY.cjs.map → external-link-CqDz5BtK.cjs.map} +1 -1
  198. package/dist/fi-FI-CNpmToDG.cjs +2 -0
  199. package/dist/fi-FI-CNpmToDG.cjs.map +1 -0
  200. package/dist/{filter-DwSaMAG7.cjs → filter-DLAt7sYb.cjs} +2 -2
  201. package/dist/{filter-DwSaMAG7.cjs.map → filter-DLAt7sYb.cjs.map} +1 -1
  202. package/dist/fr-FR-CUUHB8JU.cjs +2 -0
  203. package/dist/fr-FR-CUUHB8JU.cjs.map +1 -0
  204. package/dist/index-DbNUA_xB.cjs +12 -0
  205. package/dist/index-DbNUA_xB.cjs.map +1 -0
  206. package/dist/{info-filled-bhD2VGA2.cjs → info-filled-B9fmmNGT.cjs} +2 -2
  207. package/dist/{info-filled-bhD2VGA2.cjs.map → info-filled-B9fmmNGT.cjs.map} +1 -1
  208. package/dist/it-IT-B-E80zCo.cjs +2 -0
  209. package/dist/it-IT-B-E80zCo.cjs.map +1 -0
  210. package/dist/{minus-circle-outline-pNXlRjce.cjs → minus-circle-outline-JkeH7g3f.cjs} +2 -2
  211. package/dist/{minus-circle-outline-pNXlRjce.cjs.map → minus-circle-outline-JkeH7g3f.cjs.map} +1 -1
  212. package/dist/nl-NL--CGhOJhH.cjs +2 -0
  213. package/dist/nl-NL--CGhOJhH.cjs.map +1 -0
  214. package/dist/no-NO-D0UNXgzr.cjs +2 -0
  215. package/dist/no-NO-D0UNXgzr.cjs.map +1 -0
  216. package/dist/{plus-circle-outline-B3Ttq6A2.cjs → plus-circle-outline-Cmz1Lb00.cjs} +2 -2
  217. package/dist/{plus-circle-outline-B3Ttq6A2.cjs.map → plus-circle-outline-Cmz1Lb00.cjs.map} +1 -1
  218. package/dist/pt-BR-Du4cDUgf.cjs +2 -0
  219. package/dist/pt-BR-Du4cDUgf.cjs.map +1 -0
  220. package/dist/{square-C3hb1Bxz.cjs → square-Bow_5TP1.cjs} +2 -2
  221. package/dist/{square-C3hb1Bxz.cjs.map → square-Bow_5TP1.cjs.map} +1 -1
  222. package/dist/sv-SE-C92aO-iv.cjs +2 -0
  223. package/dist/sv-SE-C92aO-iv.cjs.map +1 -0
  224. package/dist/{trash-can-D2GRVBnJ.cjs → trash-can-DLEmgXUG.cjs} +2 -2
  225. package/dist/{trash-can-D2GRVBnJ.cjs.map → trash-can-DLEmgXUG.cjs.map} +1 -1
  226. package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
  227. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts +1 -1
  228. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts.map +1 -1
  229. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +71 -0
  230. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  231. package/dist/types/components/internal/CapitalHeader/constants.d.ts +2 -1
  232. package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -1
  233. package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -1
  234. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -3
  235. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  236. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
  237. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
  238. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
  239. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +1 -1
  240. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
  241. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +1 -1
  242. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
  243. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
  244. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
  245. package/dist/types/components/internal/SVGIcons/Download.d.ts +1 -1
  246. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -1
  247. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
  248. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  249. package/dist/types/core/ConfigContext/context.d.ts +2 -0
  250. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  251. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +4 -0
  252. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  253. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +2 -0
  254. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  255. package/dist/types/translations/index.d.ts +3 -0
  256. package/dist/types/translations/index.d.ts.map +1 -1
  257. package/dist/types/types/api/resources/CapitalResource.d.ts +1 -0
  258. package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
  259. package/dist/{upload-CeUcEWmW.cjs → upload-DWOtVcWc.cjs} +2 -2
  260. package/dist/{upload-CeUcEWmW.cjs.map → upload-DWOtVcWc.cjs.map} +1 -1
  261. package/dist/{warning-C2NpcmL8.cjs → warning-DNUR39rT.cjs} +2 -2
  262. package/dist/{warning-C2NpcmL8.cjs.map → warning-DNUR39rT.cjs.map} +1 -1
  263. package/dist/{warning-filled-Bo82QPPc.cjs → warning-filled-qxDqTfWV.cjs} +2 -2
  264. package/dist/{warning-filled-Bo82QPPc.cjs.map → warning-filled-qxDqTfWV.cjs.map} +1 -1
  265. package/package.json +15 -14
  266. package/dist/da-DK-DHGqGo8Q.cjs +0 -2
  267. package/dist/da-DK-DHGqGo8Q.cjs.map +0 -1
  268. package/dist/de-DE-k_BRPv7a.cjs +0 -2
  269. package/dist/de-DE-k_BRPv7a.cjs.map +0 -1
  270. package/dist/es-ES-Cy-9bm8z.cjs +0 -2
  271. package/dist/es-ES-Cy-9bm8z.cjs.map +0 -1
  272. package/dist/fi-FI-C7ICLuS8.cjs +0 -2
  273. package/dist/fi-FI-C7ICLuS8.cjs.map +0 -1
  274. package/dist/fr-FR-DH8euUOp.cjs +0 -2
  275. package/dist/fr-FR-DH8euUOp.cjs.map +0 -1
  276. package/dist/index-CpBGZ2AH.cjs +0 -12
  277. package/dist/index-CpBGZ2AH.cjs.map +0 -1
  278. package/dist/it-IT-DsfPVAun.cjs +0 -2
  279. package/dist/it-IT-DsfPVAun.cjs.map +0 -1
  280. package/dist/nl-NL-DP_t6EpF.cjs +0 -2
  281. package/dist/nl-NL-DP_t6EpF.cjs.map +0 -1
  282. package/dist/no-NO-ARsXLWv0.cjs +0 -2
  283. package/dist/no-NO-ARsXLWv0.cjs.map +0 -1
  284. package/dist/pt-BR-CuTqntp7.cjs +0 -2
  285. package/dist/pt-BR-CuTqntp7.cjs.map +0 -1
  286. package/dist/sv-SE-DDAIHLKD.cjs +0 -2
  287. package/dist/sv-SE-DDAIHLKD.cjs.map +0 -1
@@ -1,24 +1,21 @@
1
1
  import { BREAKPOINTS as m } from "../constants/index.js";
2
2
  import { useContainerQuery as o } from "./useContainerQuery.js";
3
- const l = {
3
+ const e = {
4
4
  up: {
5
5
  sm: ["up", m.sm],
6
- md: ["up", m.md],
7
- lg: ["up", m.lg]
6
+ md: ["up", m.md]
8
7
  },
9
8
  down: {
10
9
  xs: ["down", m.sm - 1],
11
- sm: ["down", m.md - 1],
12
- md: ["down", m.lg - 1]
10
+ sm: ["down", m.md - 1]
13
11
  },
14
12
  only: {
15
13
  xs: ["only", m.sm - 1, { max: m.sm - 1 }],
16
14
  sm: ["only", m.sm, { max: m.md - 1 }],
17
- md: ["only", m.md, { max: m.lg - 1 }],
18
- lg: ["only", m.lg, { min: m.lg }]
15
+ md: ["only", m.md, { max: m.lg - 1 }]
19
16
  }
20
- }, d = o;
17
+ }, r = o;
21
18
  export {
22
- l as containerQueries,
23
- d as useResponsiveContainer
19
+ e as containerQueries,
20
+ r as useResponsiveContainer
24
21
  };
@@ -3,15 +3,15 @@ import { InteractionKeyCode as l } from "../components/types.js";
3
3
  import { uniqueId as D } from "../utils/random/uniqueId.js";
4
4
  const T = (f, o) => {
5
5
  if (!o) return 0;
6
- const s = f.findIndex((i) => i.id === o);
6
+ const s = f.findIndex((d) => d.id === o);
7
7
  return s === -1 ? 0 : s;
8
8
  }, h = (f, o) => {
9
- const [s, i] = x(!1), [I, c] = x(T(f, o)), u = b([]), m = b(D().replace(/.*?(?=\d+$)/, "")).current, r = f.length, p = O(() => {
9
+ const [s, d] = x(!1), [I, c] = x(T(f, o)), u = b([]), m = b(D().replace(/.*?(?=\d+$)/, "")).current, r = f.length, p = O(() => {
10
10
  const e = [];
11
11
  for (let n = 0; n < r; n++)
12
12
  e[n] = (t) => u.current[n] = t;
13
13
  return e;
14
- }, [r]), d = R(
14
+ }, [r]), i = R(
15
15
  (e, n) => {
16
16
  var a;
17
17
  let t = e;
@@ -27,22 +27,22 @@ const T = (f, o) => {
27
27
  ((t = u.current[n]) == null ? void 0 : t.disabled) === !1 && (e.preventDefault(), c(n));
28
28
  }, []), k = O(() => {
29
29
  const e = {
30
- [l.ARROW_LEFT]: () => c((n) => d(
30
+ [l.ARROW_LEFT]: () => c((n) => i(
31
31
  n - 1,
32
32
  -1
33
33
  /* BACKWARD */
34
34
  )),
35
- [l.ARROW_RIGHT]: () => c((n) => d(
35
+ [l.ARROW_RIGHT]: () => c((n) => i(
36
36
  n + 1,
37
37
  1
38
38
  /* FORWARD */
39
39
  )),
40
- [l.HOME]: () => c(d(
40
+ [l.HOME]: () => c(i(
41
41
  0,
42
42
  1
43
43
  /* FORWARD */
44
44
  )),
45
- [l.END]: () => c(d(
45
+ [l.END]: () => c(i(
46
46
  r - 1,
47
47
  -1
48
48
  /* BACKWARD */
@@ -50,13 +50,13 @@ const T = (f, o) => {
50
50
  };
51
51
  return (n) => {
52
52
  var t;
53
- e[n.key] && (n.preventDefault(), (t = e[n.key]) == null || t.call(e), i(!0));
53
+ e[n.key] && (n.preventDefault(), (t = e[n.key]) == null || t.call(e), d(!0));
54
54
  };
55
55
  }, [r]);
56
56
  return A(() => {
57
57
  if (s) {
58
58
  const e = u.current[I];
59
- (e == null ? void 0 : e.disabled) === !1 && (e == null || e.focus()), i(!1);
59
+ (e == null ? void 0 : e.disabled) === !1 && (e == null || e.focus()), d(!1);
60
60
  }
61
61
  }, [I, s]), { activeIndex: I, onClick: g, onKeyDown: k, refs: p, uniqueId: m };
62
62
  };
@@ -1,19 +1,19 @@
1
- import { struct as u } from "../../../utils/struct/main.js";
2
- import { enumerable as n, getter as s } from "../../../utils/struct/property.js";
1
+ import { struct as d } from "../../../utils/struct/main.js";
2
+ import { getter as s, enumerable as n } from "../../../utils/struct/property.js";
3
3
  import { isUndefined as b } from "../../../utils/value/is.js";
4
- import { noop as _ } from "../../../utils/common.js";
4
+ import { noop as u } from "../../../utils/common.js";
5
5
  const w = (o) => {
6
6
  let r, t, e;
7
- const f = () => {
7
+ const l = () => {
8
8
  if (b(r)) return;
9
9
  const i = r.abort.bind(r);
10
10
  r = void 0, i();
11
- }, l = () => (e = new Promise((i, c) => {
12
- if (t.addEventListener("abort", function d() {
13
- t.removeEventListener("abort", d), c(o);
11
+ }, m = () => (e = new Promise((i, c) => {
12
+ if (t.addEventListener("abort", function _() {
13
+ t.removeEventListener("abort", _), c(o);
14
14
  }), t.aborted) throw o;
15
- }), e.catch(_), e), a = () => (b(r) && (r = new AbortController(), t = r.signal, e = l()), m), m = u({
16
- abort: n(f),
15
+ }), e.catch(u), e), a = () => (b(r) && (r = new AbortController(), t = r.signal, e = m()), f), f = d({
16
+ abort: n(l),
17
17
  promise: s(() => e),
18
18
  reason: n(o),
19
19
  refresh: n(a),
@@ -1,5 +1,5 @@
1
1
  import { struct as l } from "../../../utils/struct/main.js";
2
- import { getter as p, enumerable as t } from "../../../utils/struct/property.js";
2
+ import { enumerable as t, getter as p } from "../../../utils/struct/property.js";
3
3
  import { noop as u } from "../../../utils/common.js";
4
4
  const _ = () => {
5
5
  let o, s, r;
@@ -1,26 +1,26 @@
1
1
  import { struct as E } from "../../../utils/struct/main.js";
2
- import { getter as o, enumerable as n } from "../../../utils/struct/property.js";
2
+ import { enumerable as o, getter as s } from "../../../utils/struct/property.js";
3
3
  const e = Symbol("<<NO_ERR>>");
4
4
  function c(r) {
5
5
  /* istanbul ignore if -- @preserve */
6
6
  if (r === e)
7
7
  throw new TypeError("Illegal error");
8
8
  }
9
- const f = () => {
9
+ const i = () => {
10
10
  let r = e;
11
- const s = () => {
11
+ const n = () => {
12
12
  r = e;
13
13
  }, a = (t) => {
14
14
  c(t), r = t;
15
15
  };
16
16
  return E({
17
- error: o(() => r === e ? void 0 : r),
18
- hasError: o(() => r !== e),
19
- reset: n(s),
20
- set: n(a)
17
+ error: s(() => r === e ? void 0 : r),
18
+ hasError: s(() => r !== e),
19
+ reset: o(n),
20
+ set: o(a)
21
21
  });
22
22
  };
23
23
  export {
24
- f as createErrorContainer,
25
- f as default
24
+ i as createErrorContainer,
25
+ i as default
26
26
  };
@@ -1,13 +1,13 @@
1
- import { isString as r } from "../../../utils/value/is.js";
2
- import { identity as c } from "../../../utils/common.js";
1
+ import { identity as r } from "../../../utils/common.js";
2
+ import { isString as c } from "../../../utils/value/is.js";
3
3
  const s = (e) => (i, t, o) => {
4
- if (r(t)) {
4
+ if (c(t)) {
5
5
  const n = +t;
6
6
  if (n >= 0 && n < i.length)
7
7
  return e(n);
8
8
  }
9
9
  return Reflect.get(i, t, o);
10
- }, d = function* (e = c, i) {
10
+ }, d = function* (e = r, i) {
11
11
  for (let t = 0; t < this.length; t++)
12
12
  yield e.call(i, this[t], t, this);
13
13
  };
@@ -1,9 +1,9 @@
1
- import { mapIteratorFactory as m, indexedProxyGetTrap as f } from "./helpers.js";
1
+ import { indexedProxyGetTrap as f, mapIteratorFactory as m } from "./helpers.js";
2
2
  import { truthify as o } from "../../../utils/value/bool.js";
3
- import { struct as a, structFrom as c } from "../../../utils/struct/main.js";
4
- import { isFunction as d, isNumber as h } from "../../../utils/value/is.js";
3
+ import { isFunction as a, isNumber as c } from "../../../utils/value/is.js";
4
+ import { structFrom as d, struct as h } from "../../../utils/struct/main.js";
5
5
  const l = Object.freeze(
6
- a({
6
+ h({
7
7
  [Symbol.iterator]: {
8
8
  value() {
9
9
  return m.call(this);
@@ -15,17 +15,17 @@ const l = Object.freeze(
15
15
  }
16
16
  }
17
17
  })
18
- ), u = (t, n) => d(t) ? u(
18
+ ), u = (t, n) => a(t) ? u(
19
19
  {
20
20
  length: { get: t }
21
21
  },
22
22
  n
23
- ) : h(t) ? u(
23
+ ) : c(t) ? u(
24
24
  {
25
25
  length: { value: t }
26
26
  },
27
27
  n
28
- ) : new Proxy(c(l, t), {
28
+ ) : new Proxy(d(l, t), {
29
29
  get: f(n),
30
30
  set: o
31
31
  });
@@ -1,32 +1,32 @@
1
1
  import { EVT_SESSION_EXPIRED as l } from "../constants.js";
2
2
  import { createPromisor as m } from "../../../async/promisor/main.js";
3
3
  import { isFunction as p } from "../../../../utils/value/is.js";
4
- import { boolOrFalse as f, falsify as h } from "../../../../utils/value/bool.js";
4
+ import { boolOrFalse as c, falsify as h } from "../../../../utils/value/bool.js";
5
+ import { getter as _ } from "../../../../utils/struct/property.js";
5
6
  import { noop as i } from "../../../../utils/common.js";
6
- import { getter as d } from "../../../../utils/struct/property.js";
7
- import { tryResolve as _ } from "../../../../utils/async/main.js";
7
+ import { tryResolve as d } from "../../../../utils/async/main.js";
8
8
  const y = async (t) => {
9
- const { specification: s } = t.context, e = await _(async () => {
9
+ const { specification: s } = t.context, e = await d(async () => {
10
10
  const o = s.autoRefresh;
11
11
  return p(o) ? o.call(s, t.session) : o;
12
12
  }).catch(h);
13
- return f(e);
14
- }, O = (t) => {
15
- let s = t.context.emitter.on(l, () => n(!1)), e, o = m(async (r, c = !1) => {
13
+ return c(e);
14
+ }, v = (t) => {
15
+ let s = t.context.emitter.on(l, () => a(!1)), e, o = m(async (r, f = !1) => {
16
16
  e = r;
17
- const u = f(c) || await y(t);
17
+ const u = c(f) || await y(t);
18
18
  e === r && u && t.pending && !t.refreshing && t.refresh(e).catch(i);
19
- }), n = (r = !1) => {
19
+ }), a = (r = !1) => {
20
20
  t.refreshing || o(r);
21
- }, a = () => {
22
- s(), o.abort(), o = e = s = void 0, n = a = i;
21
+ }, n = () => {
22
+ s(), o.abort(), o = e = s = void 0, a = n = i;
23
23
  };
24
- return Object.defineProperties((r = !1) => n(r), {
25
- destruct: d(() => a, !1)
24
+ return Object.defineProperties((r = !1) => a(r), {
25
+ destruct: _(() => n, !1)
26
26
  });
27
27
  };
28
28
  export {
29
29
  y as _canAutofresh,
30
- O as createSessionAutofresher,
31
- O as default
30
+ v as createSessionAutofresher,
31
+ v as default
32
32
  };
@@ -1,36 +1,36 @@
1
- import { INTERNAL_EVT_SESSION_DEADLINE as y } from "./constants.js";
2
- import { createAbortable as A } from "../../../async/abortable/main.js";
3
- import { createEventEmitter as g } from "../../../reactive/eventEmitter/main.js";
4
- import { createPromisor as S } from "../../../async/promisor/main.js";
5
- import { parseDate as D } from "../../../../utils/datetime/main.js";
6
- import { isAbortSignal as I, abortSignalForAny as N, abortedSignal as v } from "../../../../utils/abort/main.js";
1
+ import { INTERNAL_EVT_SESSION_DEADLINE as v } from "./constants.js";
2
+ import { createAbortable as y } from "../../../async/abortable/main.js";
3
+ import { createEventEmitter as A } from "../../../reactive/eventEmitter/main.js";
4
+ import { createPromisor as g } from "../../../async/promisor/main.js";
5
+ import { parseDate as S } from "../../../../utils/datetime/main.js";
6
+ import { isAbortSignal as D, abortSignalForAny as I, abortedSignal as N } from "../../../../utils/abort/main.js";
7
7
  import { clock as w } from "../../../time/clock/main.js";
8
8
  import { isWatchlistUnsubscribeToken as F } from "../../../reactive/watchlist/main.js";
9
- import { tryResolve as L } from "../../../../utils/async/main.js";
10
- import { noop as T } from "../../../../utils/common.js";
11
- import { struct as k } from "../../../../utils/struct/main.js";
12
- import { enumerable as c, getter as _ } from "../../../../utils/struct/property.js";
9
+ import { struct as L } from "../../../../utils/struct/main.js";
10
+ import { getter as u, enumerable as c } from "../../../../utils/struct/property.js";
11
+ import { tryResolve as T } from "../../../../utils/async/main.js";
12
+ import { noop as k } from "../../../../utils/common.js";
13
13
  import { isFunction as P } from "../../../../utils/value/is.js";
14
14
  const O = (R, b) => {
15
15
  let r, i = 1 / 0, p, o;
16
- const n = A(), u = g(), m = () => {
17
- r == null || r.removeEventListener("abort", m), i = 1 / 0, o == null || o(), n.refresh(), u.emit(y);
18
- }, E = S(async (t, a) => {
16
+ const n = y(), _ = A(), m = () => {
17
+ r == null || r.removeEventListener("abort", m), i = 1 / 0, o == null || o(), n.refresh(), _.emit(v);
18
+ }, E = g(async (t, a) => {
19
19
  p = t;
20
- const f = await L(() => {
20
+ const f = await T(() => {
21
21
  const e = b.deadline;
22
22
  return P(e) ? e.call(b, a, t) : e;
23
- }).catch(T);
23
+ }).catch(k);
24
24
  if (p !== t) return;
25
25
  const d = (Array.isArray(f) ? f : [f]).filter((e) => e || e === 0);
26
26
  if (d.length > 0) {
27
27
  let e = !1, s = /* @__PURE__ */ new Set();
28
28
  for (const l of d)
29
- if (I(l)) {
29
+ if (D(l)) {
30
30
  if (e = l.aborted) break;
31
31
  s.add(l);
32
- } else if (i = Math.min(i, D(l) ?? 1 / 0), e = i <= Date.now()) break;
33
- e || (e = s.size < 1 && !Number.isFinite(i)), e ? r ?? (r = v()) : (r = N([...s, n.signal]), r.addEventListener("abort", m), h()), d.length = 0, s.clear();
32
+ } else if (i = Math.min(i, S(l) ?? 1 / 0), e = i <= Date.now()) break;
33
+ e || (e = s.size < 1 && !Number.isFinite(i)), e ? r ?? (r = N()) : (r = I([...s, n.signal]), r.addEventListener("abort", m), h()), d.length = 0, s.clear();
34
34
  } else r = void 0;
35
35
  }), h = () => {
36
36
  if (!Number.isFinite(i)) return;
@@ -42,12 +42,12 @@ const O = (R, b) => {
42
42
  t == null || t(), t = o = void 0;
43
43
  };
44
44
  };
45
- return k({
45
+ return L({
46
46
  elapse: c(n.abort),
47
- elapsed: _(() => r && r.aborted),
48
- on: c(u.on),
47
+ elapsed: u(() => r && r.aborted),
48
+ on: c(_.on),
49
49
  refresh: c(E.bind(void 0)),
50
- signal: _(() => n.signal)
50
+ signal: u(() => n.signal)
51
51
  });
52
52
  };
53
53
  export {
@@ -1,10 +1,10 @@
1
- import { INTERNAL_EVT_SESSION_REFRESHING_START as A, INTERNAL_EVT_SESSION_READY as u, INTERNAL_EVT_SESSION_REFRESHING_END as y } from "./constants.js";
2
- import { EVT_SESSION_EXPIRED as d, ERR_SESSION_REFRESH_ABORTED as O, ERR_SESSION_INVALID as T, ERR_SESSION_FACTORY_UNAVAILABLE as F } from "../constants.js";
1
+ import { INTERNAL_EVT_SESSION_REFRESHING_START as A, INTERNAL_EVT_SESSION_READY as y, INTERNAL_EVT_SESSION_REFRESHING_END as O } from "./constants.js";
2
+ import { EVT_SESSION_EXPIRED as T, ERR_SESSION_REFRESH_ABORTED as u, ERR_SESSION_FACTORY_UNAVAILABLE as d, ERR_SESSION_INVALID as F } from "../constants.js";
3
3
  import { createEventEmitter as L } from "../../../reactive/eventEmitter/main.js";
4
4
  import { createPromisor as P } from "../../../async/promisor/main.js";
5
5
  import { ALREADY_RESOLVED_PROMISE as c } from "../../../../utils/async/constants.js";
6
6
  import { struct as l } from "../../../../utils/struct/main.js";
7
- import { enumerable as s, getter as n } from "../../../../utils/struct/property.js";
7
+ import { getter as s, enumerable as n } from "../../../../utils/struct/property.js";
8
8
  import { isAbortSignal as w, abortSignalForAny as D } from "../../../../utils/abort/main.js";
9
9
  import { tryResolve as V } from "../../../../utils/async/main.js";
10
10
  import { isFunction as b } from "../../../../utils/value/is.js";
@@ -16,11 +16,11 @@ const X = (R, t) => {
16
16
  try {
17
17
  (r = t.assert) == null || r.call(t, e);
18
18
  } catch {
19
- throw T;
19
+ throw F;
20
20
  }
21
21
  }
22
22
  function h(e) {
23
- if (!b(e)) throw F;
23
+ if (!b(e)) throw d;
24
24
  }
25
25
  const m = P((e, r) => {
26
26
  if (!o) o = e;
@@ -31,31 +31,31 @@ const X = (R, t) => {
31
31
  _ = !1, o = e, S && await (i ?? (i = (async () => {
32
32
  await c, S = !1, E.emit(A);
33
33
  })())), h(t.onRefresh), r = await V(() => t.onRefresh(f, e)).finally(() => {
34
- if (e.aborted) throw O;
34
+ if (e.aborted) throw u;
35
35
  });
36
36
  } finally {
37
37
  if (o === e)
38
38
  try {
39
- r !== a && (N(r), f = r, E.emit(u));
39
+ r !== a && (N(r), f = r, E.emit(y));
40
40
  } finally {
41
- i = void 0, S = !0, E.emit(y);
41
+ i = void 0, S = !0, E.emit(O);
42
42
  }
43
43
  }
44
44
  };
45
- return R.on(d, () => _ = !i), m(), l({
46
- context: s(
45
+ return R.on(T, () => _ = !i), m(), l({
46
+ context: n(
47
47
  l({
48
- emitter: s(R),
49
- specification: s(t)
48
+ emitter: n(R),
49
+ specification: n(t)
50
50
  })
51
51
  ),
52
- on: s(E.on),
53
- pending: n(() => _),
54
- promise: n(() => m.promise),
55
- refresh: s(m.bind(void 0)),
56
- refreshing: n(() => !!i),
57
- session: n(() => f),
58
- signal: n(() => o)
52
+ on: n(E.on),
53
+ pending: s(() => _),
54
+ promise: s(() => m.promise),
55
+ refresh: n(m.bind(void 0)),
56
+ refreshing: s(() => !!i),
57
+ session: s(() => f),
58
+ signal: s(() => o)
59
59
  });
60
60
  };
61
61
  export {
@@ -1,5 +1,5 @@
1
1
  import { some as f } from "../../../utils/collection/main.js";
2
- import { isUndefined as h, isNullish as N, isNumber as R } from "../../../utils/value/is.js";
2
+ import { isNumber as N, isUndefined as h, isNullish as R } from "../../../utils/value/is.js";
3
3
  import { mod as x } from "../../../utils/value/number.js";
4
4
  const p = `
5
5
  a[href],
@@ -26,7 +26,7 @@ const p = `
26
26
  return !1;
27
27
  }, v = (t = document.body, n) => {
28
28
  if (h(t)) return !1;
29
- if (N(n)) return !!document.activeElement && v(t, document.activeElement);
29
+ if (R(n)) return !!document.activeElement && v(t, document.activeElement);
30
30
  let r = n == null ? void 0 : n.parentNode;
31
31
  for (; r; ) {
32
32
  if (r === t) return !0;
@@ -63,7 +63,7 @@ g(t) && t.hidden), s = (t) => !(I(t) && !b(t) || // (1) is not checked radio but
63
63
  get: () => n[r] ?? null,
64
64
  set: (o) => {
65
65
  if (o) {
66
- if (!R(o)) return i(n.indexOf(o));
66
+ if (!N(o)) return i(n.indexOf(o));
67
67
  if (o === ~~o)
68
68
  return i(x(r + o, n.length));
69
69
  }
@@ -1,12 +1,12 @@
1
1
  import { struct as a } from "../../../utils/struct/main.js";
2
2
  import { enumerable as e } from "../../../utils/struct/property.js";
3
- import { isUndefined as d, isFunction as m } from "../../../utils/value/is.js";
3
+ import { isFunction as d, isUndefined as m } from "../../../utils/value/is.js";
4
4
  import { noop as f } from "../../../utils/common.js";
5
5
  const E = () => {
6
6
  const r = new class extends EventTarget {
7
7
  }(), l = (o, ...t) => {
8
8
  const [n] = t;
9
- t.length && d(n) && console.warn(
9
+ t.length && m(n) && console.warn(
10
10
  "Unexpected value `undefined` provided for event detail.\n Turn off this warning by doing either of the following:\n (1) omit the optional event detail parameter.\n (2) explicitly pass `null` for the event detail parameter (instead of `undefined`).\n"
11
11
  );
12
12
  const i = new CustomEvent(
@@ -19,7 +19,7 @@ const E = () => {
19
19
  );
20
20
  return r.dispatchEvent(i);
21
21
  }, s = (o, t) => {
22
- if (!m(t)) return f;
22
+ if (!d(t)) return f;
23
23
  const n = (i) => t.call(
24
24
  null,
25
25
  a({
@@ -1,21 +1,21 @@
1
1
  import { assertReflexAction as c, unwrap as i } from "./helpers.js";
2
2
  import { $globalReflexRegister as x } from "./register.js";
3
3
  import { REF as _ } from "./constants.js";
4
- import { struct as d } from "../../../utils/struct/main.js";
4
+ import { struct as p } from "../../../utils/struct/main.js";
5
5
  import { isNullish as b } from "../../../utils/value/is.js";
6
- import { sameValue as p } from "../../../utils/value/compare.js";
7
- const R = (n) => {
6
+ import { sameValue as d } from "../../../utils/value/compare.js";
7
+ const v = (n) => {
8
8
  c(n);
9
- const r = new WeakMap([[n, 1]]), e = (u) => {
10
- if (p(t, u)) return;
11
- const o = t;
12
- n(t = u, o);
9
+ const r = new WeakMap([[n, 1]]), e = (o) => {
10
+ if (d(t, o)) return;
11
+ const u = t;
12
+ n(t = o, u);
13
13
  };
14
14
  let t = null;
15
15
  return Object.defineProperties(e, {
16
16
  [_]: { value: e },
17
17
  actions: {
18
- value: d({
18
+ value: p({
19
19
  get: { value: r.get.bind(r) },
20
20
  size: { value: 1 }
21
21
  })
@@ -26,40 +26,40 @@ const R = (n) => {
26
26
  }
27
27
  });
28
28
  }, $ = (n = x) => {
29
- let r, e = null, t, u = !1;
30
- const o = (l) => {
31
- r = void 0, e = null, t = l, u = !1;
29
+ let r, e = null, t, o = !1;
30
+ const u = (l) => {
31
+ r = void 0, e = null, t = l, o = !1;
32
32
  }, m = () => {
33
- u || (f(), u = !0);
34
- }, f = () => {
33
+ o || (a(), o = !0);
34
+ }, a = () => {
35
35
  try {
36
36
  if (!e) return;
37
37
  n.unbind(e, t);
38
38
  } catch {
39
39
  }
40
40
  };
41
- return d({
41
+ return p({
42
42
  action: { get: () => t },
43
43
  reflex: { get: () => r },
44
44
  release: { value: m },
45
45
  update: { value: (l, s) => {
46
- c(l), u && o(l);
47
- const a = b(s) ? null : s;
48
- if (t === l && e === a) {
46
+ c(l), o && u(l);
47
+ const f = b(s) ? null : s;
48
+ if (t === l && e === f) {
49
49
  if (r) return;
50
50
  } else if (e) {
51
- if (p(i(e), i(a))) {
52
- r = n.bind(e, l), f(), t = l;
51
+ if (d(i(e), i(f))) {
52
+ r = n.bind(e, l), a(), t = l;
53
53
  return;
54
54
  }
55
- f();
55
+ a();
56
56
  }
57
- t = l, r = (e = a) ? n.bind(e, t) : R(t);
57
+ t = l, r = (e = f) ? n.bind(e, t) : v(t);
58
58
  } }
59
59
  });
60
60
  };
61
61
  export {
62
- R as createIsolatedFauxReflex,
62
+ v as createIsolatedFauxReflex,
63
63
  $ as createReflexContainer,
64
64
  $ as default
65
65
  };
@@ -1,22 +1,22 @@
1
- import { unwrap as a, assertReflexAction as x } from "./helpers.js";
2
- import { UnknownRefError as w } from "./errors.js";
3
- import { REF as v } from "./constants.js";
1
+ import { unwrap as d, assertReflexAction as v } from "./helpers.js";
2
+ import { UnknownRefError as x } from "./errors.js";
3
+ import { REF as w } from "./constants.js";
4
4
  import { struct as m } from "../../../utils/struct/main.js";
5
5
  import { enumerable as p } from "../../../utils/struct/property.js";
6
6
  import { isFunction as z } from "../../../utils/value/is.js";
7
7
  import { sameValue as k } from "../../../utils/value/compare.js";
8
8
  const A = /* @__PURE__ */ (() => {
9
- const l = (r, s) => {
10
- const n = r.get(s);
11
- if (!n) throw new w();
12
- return n;
13
- }, b = (r, s, n) => {
9
+ const u = (n, s) => {
10
+ const r = n.get(s);
11
+ if (!r) throw new x();
12
+ return r;
13
+ }, b = (n, s, r) => {
14
14
  let o, e;
15
- const t = a(s);
15
+ const t = d(s);
16
16
  try {
17
- o = l(r, t);
17
+ o = u(n, t);
18
18
  } catch {
19
- x(n);
19
+ v(r);
20
20
  }
21
21
  if (o) [, e] = o;
22
22
  else {
@@ -24,17 +24,17 @@ const A = /* @__PURE__ */ (() => {
24
24
  t(i = c);
25
25
  } : (c) => {
26
26
  t && (t.current = c, i = t.current);
27
- }, u = (c) => {
27
+ }, l = (c) => {
28
28
  if (e.size === 0)
29
29
  return;
30
- const d = i;
31
- if (g(c), !k(i, d))
30
+ const a = i;
31
+ if (g(c), !k(i, a))
32
32
  for (const [_] of e)
33
- _(i, d);
33
+ _(i, a);
34
34
  };
35
35
  let i = f ? null : t.current;
36
- r.set(t, o = [u, e = /* @__PURE__ */ new Map()]), Object.defineProperties(u, {
37
- [v]: { value: t },
36
+ n.set(t, o = [l, e = /* @__PURE__ */ new Map()]), Object.defineProperties(l, {
37
+ [w]: { value: t },
38
38
  actions: {
39
39
  value: m({
40
40
  get: { value: e.get.bind(e) },
@@ -43,20 +43,20 @@ const A = /* @__PURE__ */ (() => {
43
43
  },
44
44
  current: {
45
45
  get: () => i,
46
- set: f ? void 0 : u
46
+ set: f ? void 0 : l
47
47
  }
48
48
  });
49
49
  }
50
- return n && e.set(n, 1 + (e.get(n) || 0)), o[0];
51
- }, R = (r, s, n) => {
52
- const o = a(s), [, e] = l(r, o), t = e.get(n) || 0;
53
- t === 1 ? e.delete(n) : t > 1 && e.set(n, t - 1), e.size === 0 && o && r.delete(o);
50
+ return r && e.set(r, 1 + (e.get(r) || 0)), o[0];
51
+ }, R = (n, s, r) => {
52
+ const o = d(s), [, e] = u(n, o), t = e.get(r) || 0;
53
+ t === 1 ? e.delete(r) : t > 1 && e.set(r, t - 1), e.size === 0 && o && n.delete(o);
54
54
  };
55
55
  return () => {
56
- const r = /* @__PURE__ */ new WeakMap();
56
+ const n = /* @__PURE__ */ new WeakMap();
57
57
  return m({
58
- bind: p(b.bind(void 0, r)),
59
- unbind: p(R.bind(void 0, r))
58
+ bind: p(b.bind(void 0, n)),
59
+ unbind: p(R.bind(void 0, n))
60
60
  });
61
61
  };
62
62
  })(), I = A();