react-native-screen-transitions 3.8.0 → 3.9.0-alpha.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 (485) hide show
  1. package/lib/commonjs/blank-stack/components/stack-view.js +2 -1
  2. package/lib/commonjs/blank-stack/components/stack-view.js.map +1 -1
  3. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/components/boundary-target.js +21 -8
  4. package/lib/commonjs/shared/components/boundary/components/boundary-target.js.map +1 -0
  5. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/create-boundary-component.js +10 -24
  6. package/lib/commonjs/shared/components/boundary/create-boundary-component.js.map +1 -0
  7. package/lib/commonjs/shared/components/boundary/hooks/use-boundary-presence.js.map +1 -0
  8. package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js +115 -0
  9. package/lib/commonjs/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +1 -0
  10. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.js +4 -5
  11. package/lib/commonjs/shared/components/boundary/hooks/use-initial-source-measurement.js.map +1 -0
  12. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.js +26 -22
  13. package/lib/commonjs/shared/components/boundary/hooks/use-measurer.js.map +1 -0
  14. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-refresh-boundary.js +10 -7
  15. package/lib/commonjs/shared/components/boundary/hooks/use-refresh-boundary.js.map +1 -0
  16. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/index.js +8 -1
  17. package/lib/commonjs/shared/components/boundary/index.js.map +1 -0
  18. package/lib/commonjs/shared/components/boundary/portal/components/host.js +99 -0
  19. package/lib/commonjs/shared/components/boundary/portal/components/host.js.map +1 -0
  20. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js +68 -0
  21. package/lib/commonjs/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -0
  22. package/lib/commonjs/shared/components/boundary/portal/components/portal-provider.js +17 -0
  23. package/lib/commonjs/shared/components/boundary/portal/components/portal-provider.js.map +1 -0
  24. package/lib/commonjs/shared/components/boundary/portal/components/portal.js +195 -0
  25. package/lib/commonjs/shared/components/boundary/portal/components/portal.js.map +1 -0
  26. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js +74 -0
  27. package/lib/commonjs/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
  28. package/lib/commonjs/shared/components/boundary/portal/index.js +27 -0
  29. package/lib/commonjs/shared/components/boundary/portal/index.js.map +1 -0
  30. package/lib/commonjs/shared/components/boundary/portal/stores/host-bounds.store.js +47 -0
  31. package/lib/commonjs/shared/components/boundary/portal/stores/host-bounds.store.js.map +1 -0
  32. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js +137 -0
  33. package/lib/commonjs/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -0
  34. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js +60 -0
  35. package/lib/commonjs/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
  36. package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js +40 -0
  37. package/lib/commonjs/shared/components/boundary/portal/utils/attachment.js.map +1 -0
  38. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js +15 -0
  39. package/lib/commonjs/shared/components/boundary/portal/utils/naming.js.map +1 -0
  40. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js +71 -0
  41. package/lib/commonjs/shared/components/boundary/portal/utils/offset-style.js.map +1 -0
  42. package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js +16 -0
  43. package/lib/commonjs/shared/components/boundary/portal/utils/teleport-control.js.map +1 -0
  44. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/providers/boundary-owner.provider.js +26 -25
  45. package/lib/commonjs/shared/components/boundary/providers/boundary-owner.provider.js.map +1 -0
  46. package/lib/commonjs/shared/components/boundary/types.js.map +1 -0
  47. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js +25 -0
  48. package/lib/commonjs/shared/components/boundary/utils/destination-signals.js.map +1 -0
  49. package/lib/commonjs/shared/components/{create-boundary-component → boundary}/utils/measured-bounds.js +19 -9
  50. package/lib/commonjs/shared/components/boundary/utils/measured-bounds.js.map +1 -0
  51. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js +105 -0
  52. package/lib/commonjs/shared/components/boundary/utils/refresh-signals.js.map +1 -0
  53. package/lib/commonjs/shared/components/boundary/utils/source-signals.js +48 -0
  54. package/lib/commonjs/shared/components/boundary/utils/source-signals.js.map +1 -0
  55. package/lib/commonjs/shared/components/create-transition-aware-component.js +8 -3
  56. package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
  57. package/lib/commonjs/shared/components/{integrations/masked-view.js → masked-view.js} +2 -2
  58. package/lib/commonjs/shared/components/masked-view.js.map +1 -0
  59. package/lib/commonjs/shared/components/screen-container/layers/content.js +9 -5
  60. package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
  61. package/lib/commonjs/shared/configs/presets.js +6 -6
  62. package/lib/commonjs/shared/configs/presets.js.map +1 -1
  63. package/lib/commonjs/shared/index.js +4 -4
  64. package/lib/commonjs/shared/index.js.map +1 -1
  65. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js +4 -2
  66. package/lib/commonjs/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  67. package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js +7 -3
  68. package/lib/commonjs/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
  69. package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +8 -1
  70. package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
  71. package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +21 -6
  72. package/lib/commonjs/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +1 -1
  73. package/lib/commonjs/shared/providers/screen/origin.provider.js +41 -0
  74. package/lib/commonjs/shared/providers/screen/origin.provider.js.map +1 -0
  75. package/lib/commonjs/shared/providers/screen/styles/constants.js +2 -0
  76. package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -1
  77. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js +58 -0
  78. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +1 -0
  79. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +7 -0
  80. package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  81. package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
  82. package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  83. package/lib/commonjs/shared/providers/screen/styles/styles.provider.js +7 -5
  84. package/lib/commonjs/shared/providers/screen/styles/styles.provider.js.map +1 -1
  85. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js +1 -10
  86. package/lib/commonjs/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  87. package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
  88. package/lib/commonjs/shared/stores/bounds/internals/entries.js.map +1 -1
  89. package/lib/commonjs/shared/stores/bounds/internals/links.js +36 -19
  90. package/lib/commonjs/shared/stores/bounds/internals/links.js.map +1 -1
  91. package/lib/commonjs/shared/stores/bounds/internals/resolver.js +6 -4
  92. package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
  93. package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
  94. package/lib/commonjs/shared/stores/scroll.store.js +54 -1
  95. package/lib/commonjs/shared/stores/scroll.store.js.map +1 -1
  96. package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js +38 -4
  97. package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
  98. package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js +40 -87
  99. package/lib/commonjs/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  100. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +6 -67
  101. package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  102. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +8 -12
  103. package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  104. package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js +235 -68
  105. package/lib/commonjs/shared/utils/bounds/helpers/styles/composers.js.map +1 -1
  106. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +74 -4
  107. package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  108. package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js +5 -9
  109. package/lib/commonjs/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
  110. package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js +5 -10
  111. package/lib/commonjs/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
  112. package/lib/module/blank-stack/components/stack-view.js +3 -2
  113. package/lib/module/blank-stack/components/stack-view.js.map +1 -1
  114. package/lib/module/shared/components/{create-boundary-component → boundary}/components/boundary-target.js +21 -8
  115. package/lib/module/shared/components/boundary/components/boundary-target.js.map +1 -0
  116. package/lib/module/shared/components/{create-boundary-component → boundary}/create-boundary-component.js +11 -25
  117. package/lib/module/shared/components/boundary/create-boundary-component.js.map +1 -0
  118. package/lib/module/shared/components/boundary/hooks/use-boundary-presence.js.map +1 -0
  119. package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js +110 -0
  120. package/lib/module/shared/components/boundary/hooks/use-initial-destination-measurement.js.map +1 -0
  121. package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.js +4 -5
  122. package/lib/module/shared/components/boundary/hooks/use-initial-source-measurement.js.map +1 -0
  123. package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.js +27 -23
  124. package/lib/module/shared/components/boundary/hooks/use-measurer.js.map +1 -0
  125. package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-refresh-boundary.js +10 -7
  126. package/lib/module/shared/components/boundary/hooks/use-refresh-boundary.js.map +1 -0
  127. package/lib/module/shared/components/{create-boundary-component → boundary}/index.js +8 -1
  128. package/lib/module/shared/components/boundary/index.js.map +1 -0
  129. package/lib/module/shared/components/boundary/portal/components/host.js +94 -0
  130. package/lib/module/shared/components/boundary/portal/components/host.js.map +1 -0
  131. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js +63 -0
  132. package/lib/module/shared/components/boundary/portal/components/portal-boundary-host.js.map +1 -0
  133. package/lib/module/shared/components/boundary/portal/components/portal-provider.js +13 -0
  134. package/lib/module/shared/components/boundary/portal/components/portal-provider.js.map +1 -0
  135. package/lib/module/shared/components/boundary/portal/components/portal.js +190 -0
  136. package/lib/module/shared/components/boundary/portal/components/portal.js.map +1 -0
  137. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js +69 -0
  138. package/lib/module/shared/components/boundary/portal/hooks/use-host-measurement.js.map +1 -0
  139. package/lib/module/shared/components/boundary/portal/index.js +6 -0
  140. package/lib/module/shared/components/boundary/portal/index.js.map +1 -0
  141. package/lib/module/shared/components/boundary/portal/stores/host-bounds.store.js +40 -0
  142. package/lib/module/shared/components/boundary/portal/stores/host-bounds.store.js.map +1 -0
  143. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js +126 -0
  144. package/lib/module/shared/components/boundary/portal/stores/host-registry.store.js.map +1 -0
  145. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js +53 -0
  146. package/lib/module/shared/components/boundary/portal/stores/portal-boundary-host.store.js.map +1 -0
  147. package/lib/module/shared/components/boundary/portal/utils/attachment.js +35 -0
  148. package/lib/module/shared/components/boundary/portal/utils/attachment.js.map +1 -0
  149. package/lib/module/shared/components/boundary/portal/utils/naming.js +10 -0
  150. package/lib/module/shared/components/boundary/portal/utils/naming.js.map +1 -0
  151. package/lib/module/shared/components/boundary/portal/utils/offset-style.js +66 -0
  152. package/lib/module/shared/components/boundary/portal/utils/offset-style.js.map +1 -0
  153. package/lib/module/shared/components/boundary/portal/utils/teleport-control.js +11 -0
  154. package/lib/module/shared/components/boundary/portal/utils/teleport-control.js.map +1 -0
  155. package/lib/module/shared/components/boundary/providers/boundary-owner.provider.js +60 -0
  156. package/lib/module/shared/components/boundary/providers/boundary-owner.provider.js.map +1 -0
  157. package/lib/module/shared/components/boundary/types.js.map +1 -0
  158. package/lib/module/shared/components/boundary/utils/destination-signals.js +20 -0
  159. package/lib/module/shared/components/boundary/utils/destination-signals.js.map +1 -0
  160. package/lib/module/shared/components/{create-boundary-component → boundary}/utils/measured-bounds.js +16 -7
  161. package/lib/module/shared/components/boundary/utils/measured-bounds.js.map +1 -0
  162. package/lib/module/shared/components/boundary/utils/refresh-signals.js +100 -0
  163. package/lib/module/shared/components/boundary/utils/refresh-signals.js.map +1 -0
  164. package/lib/module/shared/components/boundary/utils/source-signals.js +43 -0
  165. package/lib/module/shared/components/boundary/utils/source-signals.js.map +1 -0
  166. package/lib/module/shared/components/create-transition-aware-component.js +8 -3
  167. package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
  168. package/lib/module/shared/components/{integrations/masked-view.js → masked-view.js} +2 -2
  169. package/lib/module/shared/components/masked-view.js.map +1 -0
  170. package/lib/module/shared/components/screen-container/layers/content.js +10 -6
  171. package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
  172. package/lib/module/shared/configs/presets.js +6 -6
  173. package/lib/module/shared/configs/presets.js.map +1 -1
  174. package/lib/module/shared/index.js +2 -2
  175. package/lib/module/shared/index.js.map +1 -1
  176. package/lib/module/shared/providers/helpers/measured-bounds-writes.js +4 -2
  177. package/lib/module/shared/providers/helpers/measured-bounds-writes.js.map +1 -1
  178. package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js +8 -4
  179. package/lib/module/shared/providers/screen/descriptors/descriptors.provider.js.map +1 -1
  180. package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +8 -1
  181. package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
  182. package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js +20 -6
  183. package/lib/module/shared/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +1 -1
  184. package/lib/module/shared/providers/screen/origin.provider.js +33 -0
  185. package/lib/module/shared/providers/screen/origin.provider.js.map +1 -0
  186. package/lib/module/shared/providers/screen/styles/constants.js +2 -0
  187. package/lib/module/shared/providers/screen/styles/constants.js.map +1 -1
  188. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js +53 -0
  189. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.js.map +1 -0
  190. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js +1 -0
  191. package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles/index.js.map +1 -1
  192. package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +2 -1
  193. package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -1
  194. package/lib/module/shared/providers/screen/styles/styles.provider.js +7 -5
  195. package/lib/module/shared/providers/screen/styles/styles.provider.js.map +1 -1
  196. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js +1 -8
  197. package/lib/module/shared/stores/bounds/helpers/link-pairs.helpers.js.map +1 -1
  198. package/lib/module/shared/stores/bounds/index.js.map +1 -1
  199. package/lib/module/shared/stores/bounds/internals/entries.js.map +1 -1
  200. package/lib/module/shared/stores/bounds/internals/links.js +36 -19
  201. package/lib/module/shared/stores/bounds/internals/links.js.map +1 -1
  202. package/lib/module/shared/stores/bounds/internals/resolver.js +6 -4
  203. package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
  204. package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
  205. package/lib/module/shared/stores/scroll.store.js +50 -0
  206. package/lib/module/shared/stores/scroll.store.js.map +1 -1
  207. package/lib/module/shared/types/animation.types.js.map +1 -1
  208. package/lib/module/shared/types/bounds.types.js.map +1 -1
  209. package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js +36 -3
  210. package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
  211. package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js +42 -89
  212. package/lib/module/shared/utils/bounds/helpers/create-bounds-accessor-core.js.map +1 -1
  213. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +6 -67
  214. package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
  215. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +8 -13
  216. package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
  217. package/lib/module/shared/utils/bounds/helpers/styles/composers.js +236 -69
  218. package/lib/module/shared/utils/bounds/helpers/styles/composers.js.map +1 -1
  219. package/lib/module/shared/utils/bounds/helpers/styles/compute.js +74 -4
  220. package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
  221. package/lib/module/shared/utils/bounds/navigation/reveal/build.js +5 -9
  222. package/lib/module/shared/utils/bounds/navigation/reveal/build.js.map +1 -1
  223. package/lib/module/shared/utils/bounds/navigation/zoom/build.js +5 -10
  224. package/lib/module/shared/utils/bounds/navigation/zoom/build.js.map +1 -1
  225. package/lib/typescript/blank-stack/components/stack-view.d.ts.map +1 -1
  226. package/lib/typescript/shared/components/boundary/components/boundary-target.d.ts.map +1 -0
  227. package/lib/typescript/shared/components/boundary/create-boundary-component.d.ts.map +1 -0
  228. package/lib/typescript/shared/components/boundary/hooks/use-boundary-presence.d.ts.map +1 -0
  229. package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-initial-destination-measurement.d.ts +1 -4
  230. package/lib/typescript/shared/components/boundary/hooks/use-initial-destination-measurement.d.ts.map +1 -0
  231. package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.d.ts +0 -2
  232. package/lib/typescript/shared/components/boundary/hooks/use-initial-source-measurement.d.ts.map +1 -0
  233. package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.d.ts +4 -2
  234. package/lib/typescript/shared/components/boundary/hooks/use-measurer.d.ts.map +1 -0
  235. package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts +10 -0
  236. package/lib/typescript/shared/components/boundary/hooks/use-refresh-boundary.d.ts.map +1 -0
  237. package/lib/typescript/shared/components/{create-boundary-component → boundary}/index.d.ts +8 -2
  238. package/lib/typescript/shared/components/boundary/index.d.ts.map +1 -0
  239. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts +7 -0
  240. package/lib/typescript/shared/components/boundary/portal/components/host.d.ts.map +1 -0
  241. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts +9 -0
  242. package/lib/typescript/shared/components/boundary/portal/components/portal-boundary-host.d.ts.map +1 -0
  243. package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts +4 -0
  244. package/lib/typescript/shared/components/boundary/portal/components/portal-provider.d.ts.map +1 -0
  245. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts +19 -0
  246. package/lib/typescript/shared/components/boundary/portal/components/portal.d.ts.map +1 -0
  247. package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts +13 -0
  248. package/lib/typescript/shared/components/boundary/portal/hooks/use-host-measurement.d.ts.map +1 -0
  249. package/lib/typescript/shared/components/boundary/portal/index.d.ts +4 -0
  250. package/lib/typescript/shared/components/boundary/portal/index.d.ts.map +1 -0
  251. package/lib/typescript/shared/components/boundary/portal/stores/host-bounds.store.d.ts +9 -0
  252. package/lib/typescript/shared/components/boundary/portal/stores/host-bounds.store.d.ts.map +1 -0
  253. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts +19 -0
  254. package/lib/typescript/shared/components/boundary/portal/stores/host-registry.store.d.ts.map +1 -0
  255. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts +11 -0
  256. package/lib/typescript/shared/components/boundary/portal/stores/portal-boundary-host.store.d.ts.map +1 -0
  257. package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts +21 -0
  258. package/lib/typescript/shared/components/boundary/portal/utils/attachment.d.ts.map +1 -0
  259. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts +3 -0
  260. package/lib/typescript/shared/components/boundary/portal/utils/naming.d.ts.map +1 -0
  261. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts +37 -0
  262. package/lib/typescript/shared/components/boundary/portal/utils/offset-style.d.ts.map +1 -0
  263. package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts +3 -0
  264. package/lib/typescript/shared/components/boundary/portal/utils/teleport-control.d.ts.map +1 -0
  265. package/lib/typescript/shared/components/{create-boundary-component → boundary}/providers/boundary-owner.provider.d.ts +14 -6
  266. package/lib/typescript/shared/components/boundary/providers/boundary-owner.provider.d.ts.map +1 -0
  267. package/lib/typescript/shared/components/boundary/types.d.ts +78 -0
  268. package/lib/typescript/shared/components/boundary/types.d.ts.map +1 -0
  269. package/lib/typescript/shared/components/{create-boundary-component → boundary}/utils/destination-signals.d.ts +2 -3
  270. package/lib/typescript/shared/components/boundary/utils/destination-signals.d.ts.map +1 -0
  271. package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts +12 -0
  272. package/lib/typescript/shared/components/boundary/utils/measured-bounds.d.ts.map +1 -0
  273. package/lib/typescript/shared/components/{create-boundary-component → boundary}/utils/refresh-signals.d.ts +4 -3
  274. package/lib/typescript/shared/components/boundary/utils/refresh-signals.d.ts.map +1 -0
  275. package/lib/typescript/shared/components/{create-boundary-component → boundary}/utils/source-signals.d.ts +1 -2
  276. package/lib/typescript/shared/components/boundary/utils/source-signals.d.ts.map +1 -0
  277. package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
  278. package/lib/typescript/shared/components/masked-view.d.ts.map +1 -0
  279. package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
  280. package/lib/typescript/shared/configs/presets.d.ts.map +1 -1
  281. package/lib/typescript/shared/index.d.ts +19 -17
  282. package/lib/typescript/shared/index.d.ts.map +1 -1
  283. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts +3 -1
  284. package/lib/typescript/shared/providers/helpers/measured-bounds-writes.d.ts.map +1 -1
  285. package/lib/typescript/shared/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
  286. package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +6 -1
  287. package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
  288. package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts +9 -3
  289. package/lib/typescript/shared/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts.map +1 -1
  290. package/lib/typescript/shared/providers/screen/origin.provider.d.ts +11 -0
  291. package/lib/typescript/shared/providers/screen/origin.provider.d.ts.map +1 -0
  292. package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -1
  293. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts +3 -0
  294. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.d.ts.map +1 -0
  295. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts +1 -0
  296. package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles/index.d.ts.map +1 -1
  297. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +1 -0
  298. package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -1
  299. package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts +1 -0
  300. package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts.map +1 -1
  301. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts +1 -3
  302. package/lib/typescript/shared/stores/bounds/helpers/link-pairs.helpers.d.ts.map +1 -1
  303. package/lib/typescript/shared/stores/bounds/index.d.ts +1 -1
  304. package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
  305. package/lib/typescript/shared/stores/bounds/internals/entries.d.ts +2 -2
  306. package/lib/typescript/shared/stores/bounds/internals/entries.d.ts.map +1 -1
  307. package/lib/typescript/shared/stores/bounds/internals/links.d.ts +2 -2
  308. package/lib/typescript/shared/stores/bounds/internals/links.d.ts.map +1 -1
  309. package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
  310. package/lib/typescript/shared/stores/bounds/internals/state.d.ts +4 -2
  311. package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
  312. package/lib/typescript/shared/stores/bounds/types.d.ts +47 -12
  313. package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
  314. package/lib/typescript/shared/stores/scroll.store.d.ts +12 -1
  315. package/lib/typescript/shared/stores/scroll.store.d.ts.map +1 -1
  316. package/lib/typescript/shared/types/animation.types.d.ts +13 -2
  317. package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
  318. package/lib/typescript/shared/types/bounds.types.d.ts +10 -40
  319. package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
  320. package/lib/typescript/shared/types/index.d.ts +2 -2
  321. package/lib/typescript/shared/types/index.d.ts.map +1 -1
  322. package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts +2 -1
  323. package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts.map +1 -1
  324. package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts +7 -11
  325. package/lib/typescript/shared/utils/bounds/helpers/create-bounds-accessor-core.d.ts.map +1 -1
  326. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +0 -3
  327. package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
  328. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +7 -3
  329. package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
  330. package/lib/typescript/shared/utils/bounds/helpers/styles/composers.d.ts +3 -0
  331. package/lib/typescript/shared/utils/bounds/helpers/styles/composers.d.ts.map +1 -1
  332. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts +1 -1
  333. package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
  334. package/lib/typescript/shared/utils/bounds/navigation/reveal/build.d.ts.map +1 -1
  335. package/lib/typescript/shared/utils/bounds/navigation/zoom/build.d.ts.map +1 -1
  336. package/lib/typescript/shared/utils/bounds/types/options.d.ts +93 -6
  337. package/lib/typescript/shared/utils/bounds/types/options.d.ts.map +1 -1
  338. package/package.json +3 -2
  339. package/src/blank-stack/components/stack-view.tsx +4 -3
  340. package/src/shared/components/{create-boundary-component → boundary}/components/boundary-target.tsx +28 -11
  341. package/src/shared/components/{create-boundary-component → boundary}/create-boundary-component.tsx +20 -31
  342. package/src/shared/components/boundary/hooks/use-initial-destination-measurement.ts +156 -0
  343. package/src/shared/components/{create-boundary-component → boundary}/hooks/use-initial-source-measurement.ts +5 -14
  344. package/src/shared/components/{create-boundary-component → boundary}/hooks/use-measurer.ts +42 -46
  345. package/src/shared/components/{create-boundary-component → boundary}/hooks/use-refresh-boundary.ts +16 -11
  346. package/src/shared/components/{create-boundary-component → boundary}/index.tsx +12 -0
  347. package/src/shared/components/boundary/portal/components/host.tsx +114 -0
  348. package/src/shared/components/boundary/portal/components/portal-boundary-host.tsx +90 -0
  349. package/src/shared/components/boundary/portal/components/portal-provider.tsx +10 -0
  350. package/src/shared/components/boundary/portal/components/portal.tsx +278 -0
  351. package/src/shared/components/boundary/portal/hooks/use-host-measurement.ts +102 -0
  352. package/src/shared/components/boundary/portal/index.ts +3 -0
  353. package/src/shared/components/boundary/portal/stores/host-bounds.store.ts +45 -0
  354. package/src/shared/components/boundary/portal/stores/host-registry.store.ts +182 -0
  355. package/src/shared/components/boundary/portal/stores/portal-boundary-host.store.ts +91 -0
  356. package/src/shared/components/boundary/portal/utils/attachment.ts +48 -0
  357. package/src/shared/components/boundary/portal/utils/naming.ts +10 -0
  358. package/src/shared/components/boundary/portal/utils/offset-style.ts +171 -0
  359. package/src/shared/components/boundary/portal/utils/teleport-control.ts +13 -0
  360. package/src/shared/components/{create-boundary-component → boundary}/providers/boundary-owner.provider.tsx +41 -33
  361. package/src/shared/components/boundary/types.ts +92 -0
  362. package/src/shared/components/boundary/utils/destination-signals.ts +31 -0
  363. package/src/shared/components/{create-boundary-component → boundary}/utils/measured-bounds.ts +34 -11
  364. package/src/shared/components/boundary/utils/refresh-signals.ts +175 -0
  365. package/src/shared/components/boundary/utils/source-signals.ts +63 -0
  366. package/src/shared/components/create-transition-aware-component.tsx +8 -3
  367. package/src/shared/components/{integrations/masked-view.tsx → masked-view.tsx} +2 -2
  368. package/src/shared/components/screen-container/layers/content.tsx +12 -7
  369. package/src/shared/configs/presets.ts +2 -6
  370. package/src/shared/index.ts +13 -5
  371. package/src/shared/providers/helpers/measured-bounds-writes.ts +11 -1
  372. package/src/shared/providers/screen/descriptors/descriptors.provider.tsx +7 -3
  373. package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +16 -0
  374. package/src/shared/providers/screen/descriptors/helpers/get-ancestor-keys.ts +31 -6
  375. package/src/shared/providers/screen/origin.provider.tsx +38 -0
  376. package/src/shared/providers/screen/styles/constants.ts +2 -0
  377. package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.ts +74 -0
  378. package/src/shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts +1 -0
  379. package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +1 -0
  380. package/src/shared/providers/screen/styles/styles.provider.tsx +5 -3
  381. package/src/shared/stores/bounds/helpers/link-pairs.helpers.ts +1 -10
  382. package/src/shared/stores/bounds/index.ts +2 -4
  383. package/src/shared/stores/bounds/internals/entries.ts +4 -4
  384. package/src/shared/stores/bounds/internals/links.ts +52 -18
  385. package/src/shared/stores/bounds/internals/resolver.ts +5 -3
  386. package/src/shared/stores/bounds/internals/state.ts +5 -2
  387. package/src/shared/stores/bounds/types.ts +59 -15
  388. package/src/shared/stores/scroll.store.ts +68 -0
  389. package/src/shared/types/animation.types.ts +17 -2
  390. package/src/shared/types/bounds.types.ts +22 -60
  391. package/src/shared/types/index.ts +5 -0
  392. package/src/shared/utils/bounds/helpers/create-bound-tag.ts +46 -4
  393. package/src/shared/utils/bounds/helpers/create-bounds-accessor-core.ts +65 -116
  394. package/src/shared/utils/bounds/helpers/create-link-accessor.ts +10 -80
  395. package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +10 -13
  396. package/src/shared/utils/bounds/helpers/styles/composers.ts +269 -46
  397. package/src/shared/utils/bounds/helpers/styles/compute.ts +134 -2
  398. package/src/shared/utils/bounds/navigation/reveal/build.ts +5 -7
  399. package/src/shared/utils/bounds/navigation/zoom/build.ts +5 -8
  400. package/src/shared/utils/bounds/types/options.ts +105 -6
  401. package/lib/commonjs/shared/components/create-boundary-component/components/boundary-target.js.map +0 -1
  402. package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +0 -1
  403. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +0 -1
  404. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +0 -99
  405. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +0 -1
  406. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +0 -1
  407. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +0 -1
  408. package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +0 -1
  409. package/lib/commonjs/shared/components/create-boundary-component/index.js.map +0 -1
  410. package/lib/commonjs/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +0 -1
  411. package/lib/commonjs/shared/components/create-boundary-component/types.js.map +0 -1
  412. package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js +0 -75
  413. package/lib/commonjs/shared/components/create-boundary-component/utils/destination-signals.js.map +0 -1
  414. package/lib/commonjs/shared/components/create-boundary-component/utils/measured-bounds.js.map +0 -1
  415. package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js +0 -103
  416. package/lib/commonjs/shared/components/create-boundary-component/utils/refresh-signals.js.map +0 -1
  417. package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js +0 -52
  418. package/lib/commonjs/shared/components/create-boundary-component/utils/source-signals.js.map +0 -1
  419. package/lib/commonjs/shared/components/integrations/masked-view.js.map +0 -1
  420. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +0 -68
  421. package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +0 -1
  422. package/lib/commonjs/shared/utils/bounds/helpers/styles/interpolate-link-style.js +0 -30
  423. package/lib/commonjs/shared/utils/bounds/helpers/styles/interpolate-link-style.js.map +0 -1
  424. package/lib/module/shared/components/create-boundary-component/components/boundary-target.js.map +0 -1
  425. package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +0 -1
  426. package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +0 -1
  427. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js +0 -94
  428. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.js.map +0 -1
  429. package/lib/module/shared/components/create-boundary-component/hooks/use-initial-source-measurement.js.map +0 -1
  430. package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +0 -1
  431. package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +0 -1
  432. package/lib/module/shared/components/create-boundary-component/index.js.map +0 -1
  433. package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js +0 -60
  434. package/lib/module/shared/components/create-boundary-component/providers/boundary-owner.provider.js.map +0 -1
  435. package/lib/module/shared/components/create-boundary-component/types.js.map +0 -1
  436. package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js +0 -70
  437. package/lib/module/shared/components/create-boundary-component/utils/destination-signals.js.map +0 -1
  438. package/lib/module/shared/components/create-boundary-component/utils/measured-bounds.js.map +0 -1
  439. package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js +0 -98
  440. package/lib/module/shared/components/create-boundary-component/utils/refresh-signals.js.map +0 -1
  441. package/lib/module/shared/components/create-boundary-component/utils/source-signals.js +0 -47
  442. package/lib/module/shared/components/create-boundary-component/utils/source-signals.js.map +0 -1
  443. package/lib/module/shared/components/integrations/masked-view.js.map +0 -1
  444. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +0 -63
  445. package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +0 -1
  446. package/lib/module/shared/utils/bounds/helpers/styles/interpolate-link-style.js +0 -26
  447. package/lib/module/shared/utils/bounds/helpers/styles/interpolate-link-style.js.map +0 -1
  448. package/lib/typescript/shared/components/create-boundary-component/components/boundary-target.d.ts.map +0 -1
  449. package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +0 -1
  450. package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +0 -1
  451. package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.d.ts.map +0 -1
  452. package/lib/typescript/shared/components/create-boundary-component/hooks/use-initial-source-measurement.d.ts.map +0 -1
  453. package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +0 -1
  454. package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +0 -14
  455. package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +0 -1
  456. package/lib/typescript/shared/components/create-boundary-component/index.d.ts.map +0 -1
  457. package/lib/typescript/shared/components/create-boundary-component/providers/boundary-owner.provider.d.ts.map +0 -1
  458. package/lib/typescript/shared/components/create-boundary-component/types.d.ts +0 -37
  459. package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +0 -1
  460. package/lib/typescript/shared/components/create-boundary-component/utils/destination-signals.d.ts.map +0 -1
  461. package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts +0 -8
  462. package/lib/typescript/shared/components/create-boundary-component/utils/measured-bounds.d.ts.map +0 -1
  463. package/lib/typescript/shared/components/create-boundary-component/utils/refresh-signals.d.ts.map +0 -1
  464. package/lib/typescript/shared/components/create-boundary-component/utils/source-signals.d.ts.map +0 -1
  465. package/lib/typescript/shared/components/integrations/masked-view.d.ts.map +0 -1
  466. package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts +0 -14
  467. package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +0 -1
  468. package/lib/typescript/shared/utils/bounds/helpers/styles/interpolate-link-style.d.ts +0 -17
  469. package/lib/typescript/shared/utils/bounds/helpers/styles/interpolate-link-style.d.ts.map +0 -1
  470. package/src/shared/components/create-boundary-component/hooks/use-initial-destination-measurement.ts +0 -130
  471. package/src/shared/components/create-boundary-component/types.ts +0 -48
  472. package/src/shared/components/create-boundary-component/utils/destination-signals.ts +0 -129
  473. package/src/shared/components/create-boundary-component/utils/refresh-signals.ts +0 -164
  474. package/src/shared/components/create-boundary-component/utils/source-signals.ts +0 -72
  475. package/src/shared/utils/bounds/helpers/create-interpolators.ts +0 -117
  476. package/src/shared/utils/bounds/helpers/styles/interpolate-link-style.ts +0 -43
  477. /package/lib/commonjs/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.js +0 -0
  478. /package/lib/commonjs/shared/components/{create-boundary-component → boundary}/types.js +0 -0
  479. /package/lib/module/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.js +0 -0
  480. /package/lib/module/shared/components/{create-boundary-component → boundary}/types.js +0 -0
  481. /package/lib/typescript/shared/components/{create-boundary-component → boundary}/components/boundary-target.d.ts +0 -0
  482. /package/lib/typescript/shared/components/{create-boundary-component → boundary}/create-boundary-component.d.ts +0 -0
  483. /package/lib/typescript/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.d.ts +0 -0
  484. /package/lib/typescript/shared/components/{integrations/masked-view.d.ts → masked-view.d.ts} +0 -0
  485. /package/src/shared/components/{create-boundary-component → boundary}/hooks/use-boundary-presence.ts +0 -0
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet } from "react-native";
4
+ import Animated, { useAnimatedRef } from "react-native-reanimated";
5
+ import createProvider from "../../utils/create-provider";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ export const {
8
+ OriginProvider,
9
+ useOriginContext
10
+ } = createProvider("Origin", {
11
+ guarded: true
12
+ })(({
13
+ children
14
+ }) => {
15
+ const originRef = useAnimatedRef();
16
+ return {
17
+ value: {
18
+ originRef
19
+ },
20
+ children: /*#__PURE__*/_jsx(Animated.View, {
21
+ style: styles.container,
22
+ collapsable: false,
23
+ ref: originRef,
24
+ children: children
25
+ })
26
+ };
27
+ });
28
+ const styles = StyleSheet.create({
29
+ container: {
30
+ flex: 1
31
+ }
32
+ });
33
+ //# sourceMappingURL=origin.provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","Animated","useAnimatedRef","createProvider","jsx","_jsx","OriginProvider","useOriginContext","guarded","children","originRef","value","View","style","styles","container","collapsable","ref","create","flex"],"sourceRoot":"../../../../../src","sources":["shared/providers/screen/origin.provider.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAmB,cAAc;AACpD,OAAOC,QAAQ,IAEdC,cAAc,QACR,yBAAyB;AAChC,OAAOC,cAAc,MAAM,6BAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AASzD,OAAO,MAAM;EAAEC,cAAc;EAAEC;AAAiB,CAAC,GAAGJ,cAAc,CAAC,QAAQ,EAAE;EAC5EK,OAAO,EAAE;AACV,CAAC,CAAC,CAAsB,CAAC;EAAEC;AAAS,CAAC,KAAK;EACzC,MAAMC,SAAS,GAAGR,cAAc,CAAO,CAAC;EAExC,OAAO;IACNS,KAAK,EAAE;MACND;IACD,CAAC;IACDD,QAAQ,eACPJ,IAAA,CAACJ,QAAQ,CAACW,IAAI;MACbC,KAAK,EAAEC,MAAM,CAACC,SAAU;MACxBC,WAAW,EAAE,KAAM;MACnBC,GAAG,EAAEP,SAAU;MAAAD,QAAA,EAEdA;IAAQ,CACK;EAEjB,CAAC;AACF,CAAC,CAAC;AAEF,MAAMK,MAAM,GAAGd,UAAU,CAACkB,MAAM,CAAC;EAChCH,SAAS,EAAE;IAAEI,IAAI,EAAE;EAAE;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ import { PORTAL_HOST_NAME_RESET_VALUE } from "../../../components/boundary/portal/utils/naming";
3
4
  import { NAVIGATION_MASK_CONTAINER_STYLE_ID, NAVIGATION_MASK_ELEMENT_STYLE_ID } from "../../../constants";
4
5
  const IDENTITY_TRANSFORM = [{
5
6
  translateX: 0
@@ -63,6 +64,7 @@ export const STYLE_RESET_VALUES = {
63
64
  shadowRadius: 0
64
65
  };
65
66
  export const PROP_RESET_VALUES = {
67
+ hostName: PORTAL_HOST_NAME_RESET_VALUE,
66
68
  pointerEvents: "auto"
67
69
  };
68
70
  const LOCAL_ONLY_STYLE_SLOT_IDS = {
@@ -1 +1 @@
1
- {"version":3,"names":["NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","IDENTITY_TRANSFORM","translateX","translateY","scale","scaleX","scaleY","STYLE_RESET_VALUES","transform","opacity","zIndex","elevation","overflow","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","borderStartColor","borderEndColor","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","PROP_RESET_VALUES","pointerEvents","LOCAL_ONLY_STYLE_SLOT_IDS","content","backdrop","surface","shouldSlotInherit","slotId","Object","prototype","hasOwnProperty","call"],"sourceRoot":"../../../../../../src","sources":["shared/providers/screen/styles/constants.ts"],"mappings":";;AAAA,SACCA,kCAAkC,EAClCC,gCAAgC,QAC1B,oBAAoB;AAE3B,MAAMC,kBAAkB,GAAG,CAC1B;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,KAAK,EAAE;AAAE,CAAC,EACZ;EAAEC,MAAM,EAAE;AAAE,CAAC,EACb;EAAEC,MAAM,EAAE;AAAE,CAAC,CACJ;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAA2C,GAAG;EAC1DC,SAAS,EAAEP,kBAAkB;EAC7BC,UAAU,EAAE,CAAC;EACbC,UAAU,EAAE,CAAC;EACbC,KAAK,EAAE,CAAC;EACRC,MAAM,EAAE,CAAC;EACTC,MAAM,EAAE,CAAC;EACTG,OAAO,EAAE,CAAC;EACVC,MAAM,EAAE,CAAC;EACTC,SAAS,EAAE,CAAC;EACZC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,aAAa;EAC9BC,WAAW,EAAE,aAAa;EAC1BC,cAAc,EAAE,aAAa;EAC7BC,gBAAgB,EAAE,aAAa;EAC/BC,iBAAiB,EAAE,aAAa;EAChCC,eAAe,EAAE,aAAa;EAC9BC,gBAAgB,EAAE,aAAa;EAC/BC,cAAc,EAAE,aAAa;EAC7BC,YAAY,EAAE,CAAC;EACfC,mBAAmB,EAAE,CAAC;EACtBC,oBAAoB,EAAE,CAAC;EACvBC,uBAAuB,EAAE,CAAC;EAC1BC,sBAAsB,EAAE,CAAC;EACzBC,oBAAoB,EAAE,CAAC;EACvBC,kBAAkB,EAAE,CAAC;EACrBC,uBAAuB,EAAE,CAAC;EAC1BC,qBAAqB,EAAE,CAAC;EACxBC,sBAAsB,EAAE,CAAC;EACzBC,oBAAoB,EAAE,CAAC;EACvBC,oBAAoB,EAAE,CAAC;EACvBC,kBAAkB,EAAE,CAAC;EACrBC,WAAW,EAAE,aAAa;EAC1BC,YAAY,EAAE;IAAEC,KAAK,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAE,CAAC;EACrCC,aAAa,EAAE,CAAC;EAChBC,YAAY,EAAE;AACf,CAAC;AAED,OAAO,MAAMC,iBAA0C,GAAG;EACzDC,aAAa,EAAE;AAChB,CAAC;AAED,MAAMC,yBAAyB,GAAG;EACjCC,OAAO,EAAE,IAAI;EACbC,QAAQ,EAAE,IAAI;EACdC,OAAO,EAAE,IAAI;EACb,CAAC7C,gCAAgC,GAAG,IAAI;EACxC,CAACD,kCAAkC,GAAG;AACvC,CAAU;AAEV,OAAO,MAAM+C,iBAAiB,GAAIC,MAAc,IAAK;EACpD,SAAS;;EACT;EACA,OAAO,CAACC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAC3CT,yBAAyB,EACzBK,MACD,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["PORTAL_HOST_NAME_RESET_VALUE","NAVIGATION_MASK_CONTAINER_STYLE_ID","NAVIGATION_MASK_ELEMENT_STYLE_ID","IDENTITY_TRANSFORM","translateX","translateY","scale","scaleX","scaleY","STYLE_RESET_VALUES","transform","opacity","zIndex","elevation","overflow","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","borderStartColor","borderEndColor","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","PROP_RESET_VALUES","hostName","pointerEvents","LOCAL_ONLY_STYLE_SLOT_IDS","content","backdrop","surface","shouldSlotInherit","slotId","Object","prototype","hasOwnProperty","call"],"sourceRoot":"../../../../../../src","sources":["shared/providers/screen/styles/constants.ts"],"mappings":";;AAAA,SAASA,4BAA4B,QAAQ,kDAAkD;AAC/F,SACCC,kCAAkC,EAClCC,gCAAgC,QAC1B,oBAAoB;AAE3B,MAAMC,kBAAkB,GAAG,CAC1B;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,UAAU,EAAE;AAAE,CAAC,EACjB;EAAEC,KAAK,EAAE;AAAE,CAAC,EACZ;EAAEC,MAAM,EAAE;AAAE,CAAC,EACb;EAAEC,MAAM,EAAE;AAAE,CAAC,CACJ;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAA2C,GAAG;EAC1DC,SAAS,EAAEP,kBAAkB;EAC7BC,UAAU,EAAE,CAAC;EACbC,UAAU,EAAE,CAAC;EACbC,KAAK,EAAE,CAAC;EACRC,MAAM,EAAE,CAAC;EACTC,MAAM,EAAE,CAAC;EACTG,OAAO,EAAE,CAAC;EACVC,MAAM,EAAE,CAAC;EACTC,SAAS,EAAE,CAAC;EACZC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,aAAa;EAC9BC,WAAW,EAAE,aAAa;EAC1BC,cAAc,EAAE,aAAa;EAC7BC,gBAAgB,EAAE,aAAa;EAC/BC,iBAAiB,EAAE,aAAa;EAChCC,eAAe,EAAE,aAAa;EAC9BC,gBAAgB,EAAE,aAAa;EAC/BC,cAAc,EAAE,aAAa;EAC7BC,YAAY,EAAE,CAAC;EACfC,mBAAmB,EAAE,CAAC;EACtBC,oBAAoB,EAAE,CAAC;EACvBC,uBAAuB,EAAE,CAAC;EAC1BC,sBAAsB,EAAE,CAAC;EACzBC,oBAAoB,EAAE,CAAC;EACvBC,kBAAkB,EAAE,CAAC;EACrBC,uBAAuB,EAAE,CAAC;EAC1BC,qBAAqB,EAAE,CAAC;EACxBC,sBAAsB,EAAE,CAAC;EACzBC,oBAAoB,EAAE,CAAC;EACvBC,oBAAoB,EAAE,CAAC;EACvBC,kBAAkB,EAAE,CAAC;EACrBC,WAAW,EAAE,aAAa;EAC1BC,YAAY,EAAE;IAAEC,KAAK,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAE,CAAC;EACrCC,aAAa,EAAE,CAAC;EAChBC,YAAY,EAAE;AACf,CAAC;AAED,OAAO,MAAMC,iBAA0C,GAAG;EACzDC,QAAQ,EAAE3C,4BAA4B;EACtC4C,aAAa,EAAE;AAChB,CAAC;AAED,MAAMC,yBAAyB,GAAG;EACjCC,OAAO,EAAE,IAAI;EACbC,QAAQ,EAAE,IAAI;EACdC,OAAO,EAAE,IAAI;EACb,CAAC9C,gCAAgC,GAAG,IAAI;EACxC,CAACD,kCAAkC,GAAG;AACvC,CAAU;AAEV,OAAO,MAAMgD,iBAAiB,GAAIC,MAAc,IAAK;EACpD,SAAS;;EACT;EACA,OAAO,CAACC,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAC3CT,yBAAyB,EACzBK,MACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ const areRecordsEqual = (left, right) => {
4
+ "worklet";
5
+
6
+ if (left === right) {
7
+ return true;
8
+ }
9
+ if (!left || !right) {
10
+ return false;
11
+ }
12
+ for (const key in left) {
13
+ if (left[key] !== right[key]) {
14
+ return false;
15
+ }
16
+ }
17
+ for (const key in right) {
18
+ if (!(key in left)) {
19
+ return false;
20
+ }
21
+ }
22
+ return true;
23
+ };
24
+ const areResettableStatesEqual = (left, right) => {
25
+ "worklet";
26
+
27
+ if (left === right) {
28
+ return true;
29
+ }
30
+ if (!left || !right) {
31
+ return false;
32
+ }
33
+ return areRecordsEqual(left.styleKeys, right.styleKeys) && areRecordsEqual(left.styleResetValues, right.styleResetValues) && areRecordsEqual(left.propKeys, right.propKeys) && areRecordsEqual(left.propResetValues, right.propResetValues);
34
+ };
35
+ export const areResettableStatesBySlotEqual = (left, right) => {
36
+ "worklet";
37
+
38
+ if (left === right) {
39
+ return true;
40
+ }
41
+ for (const slotId in left) {
42
+ if (!areResettableStatesEqual(left[slotId], right[slotId])) {
43
+ return false;
44
+ }
45
+ }
46
+ for (const slotId in right) {
47
+ if (!(slotId in left)) {
48
+ return false;
49
+ }
50
+ }
51
+ return true;
52
+ };
53
+ //# sourceMappingURL=are-resettable-states-equal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["areRecordsEqual","left","right","key","areResettableStatesEqual","styleKeys","styleResetValues","propKeys","propResetValues","areResettableStatesBySlotEqual","slotId"],"sourceRoot":"../../../../../../../../src","sources":["shared/providers/screen/styles/helpers/resolve-slot-styles/are-resettable-states-equal.ts"],"mappings":";;AAEA,MAAMA,eAAe,GAAGA,CACvBC,IAAyC,EACzCC,KAA0C,KACtC;EACJ,SAAS;;EACT,IAAID,IAAI,KAAKC,KAAK,EAAE;IACnB,OAAO,IAAI;EACZ;EAEA,IAAI,CAACD,IAAI,IAAI,CAACC,KAAK,EAAE;IACpB,OAAO,KAAK;EACb;EAEA,KAAK,MAAMC,GAAG,IAAIF,IAAI,EAAE;IACvB,IAAIA,IAAI,CAACE,GAAG,CAAC,KAAKD,KAAK,CAACC,GAAG,CAAC,EAAE;MAC7B,OAAO,KAAK;IACb;EACD;EAEA,KAAK,MAAMA,GAAG,IAAID,KAAK,EAAE;IACxB,IAAI,EAAEC,GAAG,IAAIF,IAAI,CAAC,EAAE;MACnB,OAAO,KAAK;IACb;EACD;EAEA,OAAO,IAAI;AACZ,CAAC;AAED,MAAMG,wBAAwB,GAAGA,CAChCH,IAAqD,EACrDC,KAAsD,KAClD;EACJ,SAAS;;EACT,IAAID,IAAI,KAAKC,KAAK,EAAE;IACnB,OAAO,IAAI;EACZ;EAEA,IAAI,CAACD,IAAI,IAAI,CAACC,KAAK,EAAE;IACpB,OAAO,KAAK;EACb;EAEA,OACCF,eAAe,CAACC,IAAI,CAACI,SAAS,EAAEH,KAAK,CAACG,SAAS,CAAC,IAChDL,eAAe,CAACC,IAAI,CAACK,gBAAgB,EAAEJ,KAAK,CAACI,gBAAgB,CAAC,IAC9DN,eAAe,CAACC,IAAI,CAACM,QAAQ,EAAEL,KAAK,CAACK,QAAQ,CAAC,IAC9CP,eAAe,CAACC,IAAI,CAACO,eAAe,EAAEN,KAAK,CAACM,eAAe,CAAC;AAE9D,CAAC;AAED,OAAO,MAAMC,8BAA8B,GAAGA,CAC7CR,IAAiC,EACjCC,KAAkC,KAC9B;EACJ,SAAS;;EACT,IAAID,IAAI,KAAKC,KAAK,EAAE;IACnB,OAAO,IAAI;EACZ;EAEA,KAAK,MAAMQ,MAAM,IAAIT,IAAI,EAAE;IAC1B,IAAI,CAACG,wBAAwB,CAACH,IAAI,CAACS,MAAM,CAAC,EAAER,KAAK,CAACQ,MAAM,CAAC,CAAC,EAAE;MAC3D,OAAO,KAAK;IACb;EACD;EAEA,KAAK,MAAMA,MAAM,IAAIR,KAAK,EAAE;IAC3B,IAAI,EAAEQ,MAAM,IAAIT,IAAI,CAAC,EAAE;MACtB,OAAO,KAAK;IACb;EACD;EAEA,OAAO,IAAI;AACZ,CAAC","ignoreList":[]}
@@ -3,6 +3,7 @@
3
3
  import { shouldSlotInherit } from "../../constants";
4
4
  import { materializeResolvedSlot } from "./materialize-slot";
5
5
  import { getResolvedSlotState } from "./slot-state";
6
+ export { areResettableStatesBySlotEqual } from "./are-resettable-states-equal";
6
7
  const getForwardedSlot = (slot, hasAnyKeys) => {
7
8
  "worklet";
8
9
 
@@ -1 +1 @@
1
- {"version":3,"names":["shouldSlotInherit","materializeResolvedSlot","getResolvedSlotState","getForwardedSlot","slot","hasAnyKeys","undefined","hasEitherResetPatch","hasStyleResetPatch","hasPropResetPatch","hasDefinedBucketValue","value","hasResettableDisappearedKeys","previousKeys","previousResetValues","currentKeys","key","getResolvedSlotOutput","previousState","state","styleKeys","styleResetValues","propKeys","propResetValues","hasResetPatch","resolvedSlot","nextState","baseStyle","baseProps","hasAnyStyleKeys","hasAnyPropKeys","hasLocalSlot","context","slotId","index","localStylesMaps","length","mergeBucket","resolvedBucket","source","nextBucket","getMergedLocalSlot","mergedStyle","mergedProps","style","props","getSlotForId","ancestorStylesMap","writeResolvedSlotOutput","nextPreviousStyleStatesBySlot","resolvedStylesMap","areTransformItemsEqual","left","right","leftObject","rightObject","areTransformArraysEqual","Array","isArray","i","areFlatObjectsEqual","leftValue","rightValue","areSlotsEqual","reuseEqualResolvedSlots","previousResolvedStylesMap","changed","stableStylesMap","nextSlot","previousSlot","appendResolvedSlot","previousStyleStatesBySlot","appendCurrentSlots","appendedSlotIds","stylesMap","shouldAppendInheritedSlot","appendInheritedSlots","shouldAppendPreviousSlot","inheritedSlotExists","appendPreviousSlots","resolveSlotStyles"],"sourceRoot":"../../../../../../../../src","sources":["shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts"],"mappings":";;AAIA,SAASA,iBAAiB,QAAQ,iBAAiB;AACnD,SAASC,uBAAuB,QAAQ,oBAAoB;AAC5D,SAASC,oBAAoB,QAAQ,cAAc;AAiBnD,MAAMC,gBAAgB,GAAGA,CACxBC,IAA+C,EAC/CC,UAAmB,KACf;EACJ,SAAS;;EAET,IAAI,CAACA,UAAU,EAAE;IAChB,OAAOC,SAAS;EACjB;EAEA,OAAOF,IAAI;AACZ,CAAC;AAED,MAAMG,mBAAmB,GAAGA,CAC3BC,kBAA2B,EAC3BC,iBAA0B,KACtB;EACJ,SAAS;;EACT,OAAOD,kBAAkB,IAAIC,iBAAiB;AAC/C,CAAC;AAED,MAAMC,qBAAqB,GAAIC,KAAc,IAAK;EACjD,SAAS;;EACT,OAAOA,KAAK,KAA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AMC,MAAM,IAAID,OAAO,CAACuC,yBAAyB,EAAE;IACvD,IAAIM,wBAAwB,CAAC7C,OAAO,EAAEC,MAAM,CAAC,EAAE;MAC9CqC,kBAAkB,CAACtC,OAAO,EAAEC,MAAM,CAAC;IACpC;EACD;AACD,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAM+C,iBAAiB,GAAGA,CAAC;EACjC7C,eAAe;EACfY,iBAAiB;EACjBwB;AAKD,CAAC,KAAK;EACL,SAAS;;EACT,MAAMrB,iBAAwD,GAAG,CAAC,CAAC;EACnE,MAAMD,6BAA0D,GAAG,CAAC,CAAC;EACrE,MAAMjB,OAAO,GAAG;IACfG,eAAe;IACfY,iBAAiB;IACjBwB,yBAAyB;IACzBrB,iBAAiB;IACjBD;EACD,CAAC;EAEDuB,kBAAkB,CAACxC,OAAO,CAAC;EAC3B4C,oBAAoB,CAAC5C,OAAO,CAAC;EAC7B+C,mBAAmB,CAAC/C,OAAO,CAAC;EAE5B,OAAO;IACNkB,iBAAiB;IACjBD;EACD,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["shouldSlotInherit","materializeResolvedSlot","getResolvedSlotState","areResettableStatesBySlotEqual","getForwardedSlot","slot","hasAnyKeys","undefined","hasEitherResetPatch","hasStyleResetPatch","hasPropResetPatch","hasDefinedBucketValue","value","hasResettableDisappearedKeys","previousKeys","previousResetValues","currentKeys","key","getResolvedSlotOutput","previousState","state","styleKeys","styleResetValues","propKeys","propResetValues","hasResetPatch","resolvedSlot","nextState","baseStyle","baseProps","hasAnyStyleKeys","hasAnyPropKeys","hasLocalSlot","context","slotId","index","localStylesMaps","length","mergeBucket","resolvedBucket","source","nextBucket","getMergedLocalSlot","mergedStyle","mergedProps","style","props","getSlotForId","ancestorStylesMap","writeResolvedSlotOutput","nextPreviousStyleStatesBySlot","resolvedStylesMap","areTransformItemsEqual","left","right","leftObject","rightObject","areTransformArraysEqual","Array","isArray","i","areFlatObjectsEqual","leftValue","rightValue","areSlotsEqual","reuseEqualResolvedSlots","previousResolvedStylesMap","changed","stableStylesMap","nextSlot","previousSlot","appendResolvedSlot","previousStyleStatesBySlot","appendCurrentSlots","appendedSlotIds","stylesMap","shouldAppendInheritedSlot","appendInheritedSlots","shouldAppendPreviousSlot","inheritedSlotExists","appendPreviousSlots","resolveSlotStyles"],"sourceRoot":"../../../../../../../../src","sources":["shared/providers/screen/styles/helpers/resolve-slot-styles/index.ts"],"mappings":";;AAIA,SAASA,iBAAiB,QAAQ,iBAAiB;AACnD,SAASC,uBAAuB,QAAQ,oBAAoB;AAC5D,SAASC,oBAAoB,QAAQ,cAAc;AAOnD,SAASC,8BAA8B,QAAQ,+BAA+B;AAW9E,MAAMC,gBAAgB,GAAGA,CACxBC,IAA+C,EAC/CC,UAAmB,KACf;EACJ,SAAS;;EAET,IAAI,CAACA,UAAU,EAAE;IAChB,OAAOC,SAAS;EACjB;EAEA,OAAOF,IAAI;AACZ,CAAC;AAED,MAAMG,mBAAmB,GAAGA,CAC3BC,kBAA2B,EAC3BC,iBAA0B,KACtB;EACJ,SAAS;;EACT,OAAOD,kBAAkB,IAAIC,iBAAiB;AAC/C,CAAC;AAED,MAAMC,qBAAqB,GAAIC,KAAc,IAAK;EACjD,SAAS;;EACT,OAAOA,KAAK,KAAKL,SAAS,IAAIK,KAAK,KAAK,IAAI;AAC7C,CAAC;AAED,MAAMC,4BAA4B,GAAGA,CACpCC,YAA8C,EAC9CC,mBAAwD,EACxDC,WAA6C,KACzC;EACJ,SAAS;;EAET,IAAI,CAACF,YAAY,IAAI,CAACC,mBAAmB,EAAE;IAC1C,OAAO,KAAK;EACb;EAEA,KAAK,MAAME,GAAG,IAAIH,YAAY,EAAE;IAC/B,IAAIE,WAAW,KAAKT,SAAS,IAAIS,WAAW,CAACC,GAAG,CAAC,KAAK,IAAI,EAAE;MAC3D;IACD;IAEA,IAAIF,mBAAmB,CAACE,GAAG,CAAC,KAAKV,SAAS,EAAE;MAC3C,OAAO,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ACfG,eAAe;IACfY,iBAAiB;IACjBwB,yBAAyB;IACzBrB,iBAAiB;IACjBD;EACD,CAAC;EAEDuB,kBAAkB,CAACxC,OAAO,CAAC;EAC3B4C,oBAAoB,CAAC5C,OAAO,CAAC;EAC7B+C,mBAAmB,CAAC/C,OAAO,CAAC;EAE5B,OAAO;IACNkB,iBAAiB;IACjBD;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -79,7 +79,8 @@ export const useMaybeBlockVisibility = isFloatingOverlay => {
79
79
  });
80
80
  return {
81
81
  animatedStyle,
82
- animatedProps
82
+ animatedProps,
83
+ shouldBlockVisibility
83
84
  };
84
85
  };
85
86
  //# sourceMappingURL=use-maybe-block-visibility.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["useWindowDimensions","useAnimatedProps","useAnimatedReaction","useAnimatedStyle","useSharedValue","AnimationStore","SystemStore","getVisibilityBlockOffset","useDescriptorDerivations","resolveScreenVisibilityGate","useMaybeBlockVisibility","isFloatingOverlay","height","currentScreenKey","entering","transitionProgress","getBag","pendingLifecycleStartBlockCount","pendingLifecycleRequestKind","hasVisibilityGateOpened","shouldBlockVisibility","get","progress","gate","shouldOpenGate","set","shouldBlock","animatedStyle","offset","transform","translateY","animatedProps","pointerEvents"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,cAAc;AAClD,SACCC,gBAAgB,EAChBC,mBAAmB,EACnBC,gBAAgB,EAChBC,cAAc,QACR,yBAAyB;AAChC,SAASC,cAAc,QAAQ,oCAAoC;AACnE,SAASC,WAAW,QAAQ,iCAAiC;AAC7D,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,wBAAwB,QAAQ,mBAAmB;AAC5D,SAASC,2BAA2B,QAAQ,4BAA4B;AAExE,OAAO,MAAMC,uBAAuB,GAAIC,iBAA2B,IAAK;EACvE,MAAM;IAAEC;EAAO,CAAC,GAAGZ,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CAAC,CAAC,GAAGO,MAAM,GAAG;MACpD,CAAC;IAEH,CAAC;EACF,CAAC,CAAC;EAEF,MAAMG,aAAa,GAAG9B,gBAAgB,CAAC,MAAM;IAC5C,SAAS;;IACT,OAAO;MACN+B,aAAa,EAAEZ,qBAAqB,CAACC,GAAG,CAAC,CAAC,GACtC,MAAM,GACN;IACL,CAAC;EACF,CAAC,CAAC;EAEF,OAAO;IACNM,aAAa;IACbI;EACD,CAAC;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useWindowDimensions","useAnimatedProps","useAnimatedReaction","useAnimatedStyle","useSharedValue","AnimationStore","SystemStore","getVisibilityBlockOffset","useDescriptorDerivations","resolveScreenVisibilityGate","useMaybeBlockVisibility","isFloatingOverlay","height","currentScreenKey","entering","transitionProgress","getBag","pendingLifecycleStartBlockCount","pendingLifecycleRequestKind","hasVisibilityGateOpened","shouldBlockVisibility","get","progress","gate","shouldOpenGate","set","shouldBlock","animatedStyle","offset","transform","translateY","animatedProps","pointerEvents"],"sourceRoot":"../../../../../../../src","sources":["shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,cAAc;AAClD,SACCC,gBAAgB,EAChBC,mBAAmB,EACnBC,gBAAgB,EAChBC,cAAc,QACR,yBAAyB;AAChC,SAASC,cAAc,QAAQ,oCAAoC;AACnE,SAASC,WAAW,QAAQ,iCAAiC;AAC7D,SAASC,wBAAwB,QAAQ,2CAA2C;AACpF,SAASC,wBAAwB,QAAQ,mBAAmB;AAC5D,SAASC,2BAA2B,QAAQ,4BAA4B;AAExE,OAAO,MAAMC,uBAAuB,GAAIC,iBAA2B,IAAK;EACvE,MAAM;IAAEC;EAAO,CAAC,GAAGZ,mBAAmB,CAAC,CAAC;EACxC,MAAM;IAAEa;EAAiB,CAAC,GAAGL,wBAAwB,CAAC,CAAC;EACvD,MAAM;IAAEM,QAAQ;IAAEC;EAAmB,CAAC,GACrCV,cAAc,CAACW,M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N+B,aAAa,EAAEZ,qBAAqB,CAACC,GAAG,CAAC,CAAC,GACtC,MAAM,GACN;IACL,CAAC;EACF,CAAC,CAAC;EAEF,OAAO;IACNM,aAAa;IACbI,aAAa;IACbX;EACD,CAAC;AACF,CAAC","ignoreList":[]}
@@ -21,17 +21,19 @@ export const {
21
21
  }) => {
22
22
  const parentContext = useContext(ScreenStylesContext);
23
23
  const rawStylesMaps = useInterpolatedStylesMap();
24
+ const {
25
+ animatedStyle,
26
+ animatedProps,
27
+ shouldBlockVisibility
28
+ } = useMaybeBlockVisibility(isFloatingOverlay);
24
29
  const stylesMap = useResolvedStylesMap({
25
30
  localStylesMaps: rawStylesMaps,
26
31
  ancestorStylesMap: parentContext?.stylesMap
27
32
  });
28
- const {
29
- animatedStyle,
30
- animatedProps
31
- } = useMaybeBlockVisibility(isFloatingOverlay);
32
33
  return {
33
34
  value: {
34
- stylesMap
35
+ stylesMap,
36
+ shouldBlockVisibility
35
37
  },
36
38
  children: /*#__PURE__*/_jsx(FloatingOverlayLayer, {
37
39
  enabled: isFloatingOverlay,
@@ -1 +1 @@
1
- {"version":3,"names":["useContext","StyleSheet","Animated","createProvider","FloatingOverlayLayer","useInterpolatedStylesMap","useMaybeBlockVisibility","useResolvedStylesMap","jsx","_jsx","ScreenStylesProvider","ScreenStylesContext","useScreenStylesContext","useScreenStyles","guarded","children","isFloatingOverlay","parentContext","rawStylesMaps","stylesMap","localStylesMaps","ancestorStylesMap","animatedStyle","animatedProps","value","enabled","View","style","styles","container","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/providers/screen/styles/styles.provider.tsx"],"mappings":";;AAAA,SAAyBA,UAAU,QAAQ,OAAO;AAClD,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,QAAQ,MAA4B,yBAAyB;AAEpE,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,wBAAwB,QAAQ,qCAAqC;AAC9E,SAASC,uBAAuB,QAAQ,oCAAoC;AAC5E,SAASC,oBAAoB,QAAQ,qCAAqC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAW3E,OAAO,MAAM;EACZC,oBAAoB;EACpBC,mBAAmB;EACnBC,sBAAsB,EAAEC;AACzB,CAAC,GAAGV,cAAc,CAAC,cAAc,EAAE;EAClCW,OAAO,EAAE;AACV,CAAC,CAAC,CAAkC,CAAC;EAAEC,QAAQ;EAAEC;AAAkB,CAAC,KAAK;EACxE,MAAMC,aAAa,GAAGjB,UAAU,CAACW,mBAAmB,CAAC;EAErD,MAAMO,aAAa,GAAGb,wBAAwB,CAAC,CAAC;EAEhD,MAAMc,SAAS,GAAGZ,oBAAoB,CAAC;IACtCa,eAAe,EAAEF,aAAa;IAC9BG,iBAAiB,EAAEJ,aAAa,EAAEE;EACnC,CAAC,CAAC;EAEF,MAAM;IAAEG,aAAa;IAAEC;EAAc,CAAC,GACrCjB,uBAAuB,CAACU,iBAAiB,CAAC;EAE3C,OAAO;IACNQ,KAAK,EAAE;MACNL;IACD,CAAC;IACDJ,QAAQ,eACPN,IAAA,CAACL,oBAAoB;MAACqB,OAAO,EAAET,iBAAkB;MAAAD,QAAA,eAChDN,IAAA,CAACP,QAAQ,CAACwB,IAAI;QACbC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEP,aAAa,CAAE;QACzCC,aAAa,EAAEA,aAAc;QAAAR,QAAA,EAE5BA;MAAQ,CACK;IAAC,CACK;EAExB,CAAC;AACF,CAAC,CAAC;AAEF,MAAMa,MAAM,GAAG3B,UAAU,CAAC6B,MAAM,CAAC;EAChCD,SAAS,EAAE;IAAEE,IAAI,EAAE;EAAE;AACtB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useContext","StyleSheet","Animated","createProvider","FloatingOverlayLayer","useInterpolatedStylesMap","useMaybeBlockVisibility","useResolvedStylesMap","jsx","_jsx","ScreenStylesProvider","ScreenStylesContext","useScreenStylesContext","useScreenStyles","guarded","children","isFloatingOverlay","parentContext","rawStylesMaps","animatedStyle","animatedProps","shouldBlockVisibility","stylesMap","localStylesMaps","ancestorStylesMap","value","enabled","View","style","styles","container","create","flex"],"sourceRoot":"../../../../../../src","sources":["shared/providers/screen/styles/styles.provider.tsx"],"mappings":";;AAAA,SAAyBA,UAAU,QAAQ,OAAO;AAClD,SAASC,UAAU,QAAQ,cAAc;AACzC,OAAOC,QAAQ,MAA4B,yBAAyB;AAEpE,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,SAASC,oBAAoB,QAAQ,qCAAqC;AAC1E,SAASC,wBAAwB,QAAQ,qCAAqC;AAC9E,SAASC,uBAAuB,QAAQ,oCAAoC;AAC5E,SAASC,oBAAoB,QAAQ,qCAAqC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAY3E,OAAO,MAAM;EACZC,oBAAoB;EACpBC,mBAAmB;EACnBC,sBAAsB,EAAEC;AACzB,CAAC,GAAGV,cAAc,CAAC,cAAc,EAAE;EAClCW,OAAO,EAAE;AACV,CAAC,CAAC,CAAkC,CAAC;EAAEC,QAAQ;EAAEC;AAAkB,CAAC,KAAK;EACxE,MAAMC,aAAa,GAAGjB,UAAU,CAACW,mBAAmB,CAAC;EAErD,MAAMO,aAAa,GAAGb,wBAAwB,CAAC,CAAC;EAEhD,MAAM;IAAEc,aAAa;IAAEC,aAAa;IAAEC;EAAsB,CAAC,GAC5Df,uBAAuB,CAACU,iBAAiB,CAAC;EAE3C,MAAMM,SAAS,GAAGf,oBAAoB,CAAC;IACtCgB,eAAe,EAAEL,aAAa;IAC9BM,iBAAiB,EAAEP,aAAa,EAAEK;EACnC,CAAC,CAAC;EAEF,OAAO;IACNG,KAAK,EAAE;MACNH,SAAS;MACTD;IACD,CAAC;IACDN,QAAQ,eACPN,IAAA,CAACL,oBAAoB;MAACsB,OAAO,EAAEV,iBAAkB;MAAAD,QAAA,eAChDN,IAAA,CAACP,QAAQ,CAACyB,IAAI;QACbC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEX,aAAa,CAAE;QACzCC,aAAa,EAAEA,aAAc;QAAAL,QAAA,EAE5BA;MAAQ,CACK;IAAC,CACK;EAExB,CAAC;AACF,CAAC,CAAC;AAEF,MAAMc,MAAM,GAAG5B,UAAU,CAAC8B,MAAM,CAAC;EAChCD,SAAS,EAAE;IAAEE,IAAI,EAAE;EAAE;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -18,13 +18,6 @@ export const getSourceScreenKeyFromPairKey = pairKey => {
18
18
  if (separatorIndex === -1) return pairKey;
19
19
  return pairKey.slice(0, separatorIndex);
20
20
  };
21
- export const getDestinationScreenKeyFromPairKey = pairKey => {
22
- "worklet";
23
-
24
- const separatorIndex = pairKey.indexOf(PAIR_SEPARATOR);
25
- if (separatorIndex === -1) return "";
26
- return pairKey.slice(separatorIndex + PAIR_SEPARATOR.length);
27
- };
28
21
  export const isScreenPairKeyForScreen = (pairKey, screenKey) => {
29
22
  "worklet";
30
23
 
@@ -49,7 +42,7 @@ export const createGroupTag = (group, linkKey) => {
49
42
 
50
43
  return `${group}:${linkKey}`;
51
44
  };
52
- export const ensurePairState = (state, pairKey) => {
45
+ const ensurePairState = (state, pairKey) => {
53
46
  "worklet";
54
47
 
55
48
  if (!state[pairKey]) {
@@ -1 +1 @@
1
- {"version":3,"names":["PAIR_SEPARATOR","createScreenPairKey","sourceScreenKey","destinationScreenKey","createPendingPairKey","getSourceScreenKeyFromPairKey","pairKey","separatorIndex","indexOf","slice","getDestinationScreenKeyFromPairKey","length","isScreenPairKeyForScreen","screenKey","startsWith","endsWith","getLinkKeyFromTag","tag","getGroupKeyFromTag","createGroupTag","group","linkKey","ensurePairState","state","links","groups","ensurePairLinks","ensurePairGroups","removePairLink","pair","key","getLink","getSource","source","getDestination","destination","getActiveGroupId","activeId"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/helpers/link-pairs.helpers.ts"],"mappings":";;AAWA,MAAMA,cAAc,GAAG,IAAI;AAE3B,OAAO,MAAMC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ACZ;EACJ,SAAS;;EACT,MAAMQ,IAAI,GAAGN,KAAK,CAACjB,OAAO,CAAC;EAC3B,IAAI,CAACuB,IAAI,EAAE;EAEX,OAAOA,IAAI,CAACL,KAAK,CAACH,OAAO,CAAC;EAE1B,KAAK,MAAMS,GAAG,IAAID,IAAI,CAACL,KAAK,EAAE;IAC7B,IAAIK,IAAI,CAACL,KAAK,CAACM,GAAG,CAAC,EAAE;EACtB;EAEA,OAAOP,KAAK,CAACjB,OAAO,CAAC;AACtB,CAAC;AAED,OAAO,MAAMyB,OAAO,GAAGA,CACtBR,KAAqB,EACrBjB,OAAsB,EACtBe,OAAgB,KACI;EACpB,SAAS;;EACT,OAAOE,KAAK,CAACjB,OAAO,CAAC,EAAEkB,KAAK,CAACH,OAAO,CAAC,IAAI,IAAI;AAC9C,CAAC;AAED,OAAO,MAAMW,SAAS,GAAGA,CACxBT,KAAqB,EACrBjB,OAAsB,EACtBe,OAAgB,KACc;EAC9B,SAAS;;EACT,OAAOU,OAAO,CAACR,KAAK,EAAEjB,OAAO,EAAEe,OAAO,CAAC,EAAEY,MAAM,IAAI,IAAI;AACxD,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGA,CAC7BX,KAAqB,EACrBjB,OAAsB,EACtBe,OAAgB,KACmB;EACnC,SAAS;;EACT,OAAOU,OAAO,CAACR,KAAK,EAAEjB,OAAO,EAAEe,OAAO,CAAC,EAAEc,WAAW,IAAI,IAAI;AAC7D,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAGA,CAC/Bb,KAAqB,EACrBjB,OAAsB,EACtBc,KAAe,KACK;EACpB,SAAS;;EACT,OAAOG,KAAK,CAACjB,OAAO,CAAC,EAAEmB,MAAM,GAAGL,KAAK,CAAC,EAAEiB,QAAQ,IAAI,IAAI;AACzD,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["PAIR_SEPARATOR","createScreenPairKey","sourceScreenKey","destinationScreenKey","createPendingPairKey","getSourceScreenKeyFromPairKey","pairKey","separatorIndex","indexOf","slice","isScreenPairKeyForScreen","screenKey","startsWith","endsWith","getLinkKeyFromTag","tag","getGroupKeyFromTag","createGroupTag","group","linkKey","ensurePairState","state","links","groups","ensurePairLinks","ensurePairGroups","removePairLink","pair","key","getLink","getSource","source","getDestination","destination","getActiveGroupId","activeId"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/helpers/link-pairs.helpers.ts"],"mappings":";;AAWA,MAAMA,cAAc,GAAG,IAAI;AAE3B,OAAO,MAAMC,mBAAmB,GAAGA,CAClCC,eAA8C,EAC9CC,oBAAwD,KACrC;EACnB,SAAS;;EACT,OAAO,GAAGD,eAAe,GAAGF,cAAc,GAAGG,oBAAoB,EAAE;AACpE,CAAC;AAED,OAAO,MAAMC,oBAAoB,GAChCF,eAA8C,IAC3B;EACnB,SAAS;;EACT,OAAOD,mBAAmB,CAACC,eAAe,EAAE,EAAE,CAAC;AAChD,CAAC;AAED,OAAO,MAAMG,6BAA6B,GACzCC,OAAsB,IACa;EACnC,SAAS;;EACT,MAAMC,cAAc,GAAGD,OAAO,CAACE,OAAO,CAACR,cAAc,CAAC;EACtD,IAAIO,cAAc,KAAK,CAAC,CAAC,EAAE,OAAOD,OAAO;EACzC,OAAOA,OAAO,CAACG,KAAK,CAAC,CAAC,EAAEF,cAAc,CAAC;AACxC,CAAC;AAED,OAAO,MAAMG,wBAAwB,GAAGA,CACvCJ,OAAsB,EACtBK,SAAwC,KAC3B;EACb,SAAS;;EACT,OACCL,OAAO,KAAKF,oBAAoB,CAACO,SAAS,CAAC,IAC3CL,OAAO,CAACM,UAAU,CAAC,GAAGD,SAAS,GAAGX,cAAc,EAAE,CAAC,IACnDM,OAAO,CAACO,QAAQ,CAAC,GAAGb,cAAc,GAAGW,SAAS,EAAE,CAAC;AAEnD,CAAC;AAED,OAAO,MAAMG,iBAAiB,GAAIC,GAAW,IAAc;EAC1D,SAAS;;EACT,MAAMR,cAAc,GAAGQ,GAAG,CAACP,OAAO,CAAC,GAAG,CAAC;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AsB,EACtBa,OAAgB,KACZ;EACJ,SAAS;;EACT,MAAMQ,IAAI,GAAGN,KAAK,CAACf,OAAO,CAAC;EAC3B,IAAI,CAACqB,IAAI,EAAE;EAEX,OAAOA,IAAI,CAACL,KAAK,CAACH,OAAO,CAAC;EAE1B,KAAK,MAAMS,GAAG,IAAID,IAAI,CAACL,KAAK,EAAE;IAC7B,IAAIK,IAAI,CAACL,KAAK,CAACM,GAAG,CAAC,EAAE;EACtB;EAEA,OAAOP,KAAK,CAACf,OAAO,CAAC;AACtB,CAAC;AAED,OAAO,MAAMuB,OAAO,GAAGA,CACtBR,KAAqB,EACrBf,OAAsB,EACtBa,OAAgB,KACI;EACpB,SAAS;;EACT,OAAOE,KAAK,CAACf,OAAO,CAAC,EAAEgB,KAAK,CAACH,OAAO,CAAC,IAAI,IAAI;AAC9C,CAAC;AAED,OAAO,MAAMW,SAAS,GAAGA,CACxBT,KAAqB,EACrBf,OAAsB,EACtBa,OAAgB,KACc;EAC9B,SAAS;;EACT,OAAOU,OAAO,CAACR,KAAK,EAAEf,OAAO,EAAEa,OAAO,CAAC,EAAEY,MAAM,IAAI,IAAI;AACxD,CAAC;AAED,OAAO,MAAMC,cAAc,GAAGA,CAC7BX,KAAqB,EACrBf,OAAsB,EACtBa,OAAgB,KACmB;EACnC,SAAS;;EACT,OAAOU,OAAO,CAACR,KAAK,EAAEf,OAAO,EAAEa,OAAO,CAAC,EAAEc,WAAW,IAAI,IAAI;AAC7D,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAGA,CAC/Bb,KAAqB,EACrBf,OAAsB,EACtBY,KAAe,KACK;EACpB,SAAS;;EACT,OAAOG,KAAK,CAACf,OAAO,CAAC,EAAEiB,MAAM,GAAGL,KAAK,CAAC,EAAEiB,QAAQ,IAAI,IAAI;AACzD,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["clear","getEntry","removeEntry","setEntry","getActiveGroupId","getDestination","getLink","getSource","setActiveGroupId","setDestination","setSource","resolveTransitionPair","BoundStore","entry","set","get","remove","link","getPair","cleanup","byScreen"],"sourceRoot":"../../../../../src","sources":["shared/stores/bounds/index.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,mBAAmB;AACzC,SAASC,QAAQ,EAAEC,WAAW,EAAEC,QAAQ,QAAQ,qBAAqB;AACrE,SACCC,gBAAgB,EAChBC,cAAc,EACdC,OAAO,EACPC,SAAS,EACTC,gBAAgB,EAChBC,cAAc,EACdC,SAAS,QACH,mBAAmB;AAC1B,SAASC,qBAAqB,QAAQ,sBAAsB;AAc5D,OAAO,MAAMC,UAAU,GAAG;EACzBC,KAAK,EAAE;IACNC,GAAG,EAAEX,QAAQ;IACbY,GAAG,EAAEd,QAAQ;IACbe,MAAM,EAAEd;EACT,CAAC;EACDe,IAAI,EAAE;IACLP,SAAS;IACTD,cAAc;IACdD,gBAAgB;IAChBF,OAAO;IACPC,SAAS;IACTF,cAAc;IACdD,gBAAgB;IAChBc,OAAO,EAAEP;EACV,CAAC;EACDQ,OAAO,EAAE;IACRC,QAAQ,EAAEpB;EACX;AACD,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["clear","getEntry","removeEntry","setEntry","getActiveGroupId","getDestination","getLink","getSource","setActiveGroupId","setDestination","setSource","resolveTransitionPair","BoundStore","entry","set","get","remove","link","getPair","cleanup","byScreen"],"sourceRoot":"../../../../../src","sources":["shared/stores/bounds/index.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,mBAAmB;AACzC,SAASC,QAAQ,EAAEC,WAAW,EAAEC,QAAQ,QAAQ,qBAAqB;AACrE,SACCC,gBAAgB,EAChBC,cAAc,EACdC,OAAO,EACPC,SAAS,EACTC,gBAAgB,EAChBC,cAAc,EACdC,SAAS,QACH,mBAAmB;AAC1B,SAASC,qBAAqB,QAAQ,sBAAsB;AAY5D,OAAO,MAAMC,UAAU,GAAG;EACzBC,KAAK,EAAE;IACNC,GAAG,EAAEX,QAAQ;IACbY,GAAG,EAAEd,QAAQ;IACbe,MAAM,EAAEd;EACT,CAAC;EACDe,IAAI,EAAE;IACLP,SAAS;IACTD,cAAc;IACdD,gBAAgB;IAChBF,OAAO;IACPC,SAAS;IACTF,cAAc;IACdD,gBAAgB;IAChBc,OAAO,EAAEP;EACV,CAAC;EACDQ,OAAO,EAAE;IACRC,QAAQ,EAAEpB;EACX;AACD,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["hasAnyKeys","boundaryRegistry","ensureBoundaryState","state","tag","screens","ensureScreenEntry","screenKey","tagState","bounds","styles","applyEntryPatch","entry","patch","undefined","boundaryConfig","getEntry","key","get","setEntry","modify","removeEntry"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/entries.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAE5C,SAAoCC,gBAAgB,QAAQ,SAAS;AAErE,MAAMC,mBAAmB,GAAGA,CAACC,KAA2B,EAAEC,GAAU,KAAK;EACxE,SAAS;;EACT,IAAI,CAACD,KAAK,CAACC,GAAG,CAAC,EAAE;IAChBD,KAAK,CAACC,GAAG,CAAC,GAAG;MACZC,OAAO,EAAE,CAAC;IACX,CAAC;EACF;EACA,OAAOF,KAAK,CAACC,GAAG,CAAC;AAClB,CAAC;AAED,MAAME,iBAAiB,GAAGA,CACzBH,KAA2B,EAC3BC,GAAU,EACVG,SAAoB,KACH;EACjB,SAAS;;EACT,MAAMC,QAAQ,GAAGN,mBAAmB,CAACC,KAAK,EAAEC,GAAG,CAAC;EAChD,IAAI,CAACI,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC,EAAE;IACjCC,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC,GAAG;MAC7BE,MAAM,EAAE,IAAI;MACZC,MAAM,EAAE,CAAC;IACV,CAAC;EACF;EACA,OAAOF,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC;AACnC,CAAC;AAED,MAAMI,eAAe,GAAGA,CAACC,KAAkB,EAAEC,KAAiB,KAAK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K;IACb;IAEA,OAAOK,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC;IAClC,IAAI,CAACP,UAAU,CAACQ,QAAQ,CAACH,OAAO,CAAC,EAAE;MAClC,OAAOF,KAAK,CAACC,GAAG,CAAC;IAClB;IAEA,OAAOD,KAAK;EACb,CAAC,CAAC;AACH;AAEA,SAASa,QAAQ,EAAEK,WAAW,EAAEF,QAAQ","ignoreList":[]}
1
+ {"version":3,"names":["hasAnyKeys","boundaryRegistry","ensureBoundaryState","state","tag","screens","ensureScreenEntry","screenKey","tagState","bounds","styles","applyEntryPatch","entry","patch","undefined","boundaryConfig","getEntry","key","get","setEntry","modify","removeEntry"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/entries.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAE5C,SAAoCC,gBAAgB,QAAQ,SAAS;AAErE,MAAMC,mBAAmB,GAAGA,CAACC,KAA2B,EAAEC,GAAU,KAAK;EACxE,SAAS;;EACT,IAAI,CAACD,KAAK,CAACC,GAAG,CAAC,EAAE;IAChBD,KAAK,CAACC,GAAG,CAAC,GAAG;MACZC,OAAO,EAAE,CAAC;IACX,CAAC;EACF;EACA,OAAOF,KAAK,CAACC,GAAG,CAAC;AAClB,CAAC;AAED,MAAME,iBAAiB,GAAGA,CACzBH,KAA2B,EAC3BC,GAAU,EACVG,SAAoB,KACT;EACX,SAAS;;EACT,MAAMC,QAAQ,GAAGN,mBAAmB,CAACC,KAAK,EAAEC,GAAG,CAAC;EAChD,IAAI,CAACI,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC,EAAE;IACjCC,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC,GAAG;MAC7BE,MAAM,EAAE,IAAI;MACZC,MAAM,EAAE,CAAC;IACV,CAAC;EACF;EACA,OAAOF,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC;AACnC,CAAC;AAED,MAAMI,eAAe,GAAGA,CAACC,KAAY,EAAEC,KAAi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AOJ,KAAK;IACb;IAEA,OAAOK,QAAQ,CAACH,OAAO,CAACE,SAAS,CAAC;IAClC,IAAI,CAACP,UAAU,CAACQ,QAAQ,CAACH,OAAO,CAAC,EAAE;MAClC,OAAOF,KAAK,CAACC,GAAG,CAAC;IAClB;IAEA,OAAOD,KAAK;EACb,CAAC,CAAC;AACH;AAEA,SAASa,QAAQ,EAAEK,WAAW,EAAEF,QAAQ","ignoreList":[]}
@@ -2,10 +2,10 @@
2
2
 
3
3
  import { createGroupTag, createPendingPairKey, ensurePairGroups, ensurePairLinks, getGroupKeyFromTag, getLinkKeyFromTag, getActiveGroupId as getPairActiveGroupId, getDestination as getPairDestination, getLink as getPairLink, getSource as getPairSource, getSourceScreenKeyFromPairKey, removePairLink } from "../helpers/link-pairs.helpers";
4
4
  import { pairs } from "./state";
5
- const toLinkKey = tag => {
5
+ const syncLinkStatus = link => {
6
6
  "worklet";
7
7
 
8
- return getLinkKeyFromTag(tag);
8
+ link.status = link.source ? link.destination ? "complete" : "destination-incomplete" : "source-incomplete";
9
9
  };
10
10
  const createLinkSide = (screenKey, bounds, styles) => {
11
11
  "worklet";
@@ -33,12 +33,19 @@ const writeGroup = (state, pairKey, group, activeId, initialId) => {
33
33
  const writeDestination = (state, pairKey, linkKey, screenKey, bounds, styles, group) => {
34
34
  "worklet";
35
35
 
36
- const link = getPairLink(state, pairKey, linkKey);
37
- if (!link) return;
36
+ const existingLink = getPairLink(state, pairKey, linkKey);
38
37
  const destination = createLinkSide(screenKey, bounds, styles);
38
+ const link = existingLink ?? {
39
+ group,
40
+ status: "source-incomplete",
41
+ source: null,
42
+ destination,
43
+ initialDestination: destination
44
+ };
39
45
  link.group = group ?? link.group;
40
46
  link.destination = destination;
41
47
  link.initialDestination ??= destination;
48
+ syncLinkStatus(link);
42
49
  writePairLink(state, pairKey, linkKey, link);
43
50
  if (link.group) {
44
51
  writeGroup(state, pairKey, link.group, linkKey);
@@ -62,18 +69,26 @@ const promotePendingSource = (state, pairKey, linkKey) => {
62
69
  }
63
70
  removePairLink(state, pendingPairKey, linkKey);
64
71
  };
65
- function setSource(pairKey, tag, screenKey, bounds, styles = {}, group) {
72
+ function setSource(pairKey, tag, screenKey, bounds, styles = {}, group, portalAttachTarget, sourceHost) {
66
73
  "worklet";
67
74
 
68
75
  pairs.modify(state => {
69
76
  "worklet";
70
77
 
71
- const linkKey = toLinkKey(tag);
72
- const source = createLinkSide(screenKey, bounds, styles);
78
+ const linkKey = getLinkKeyFromTag(tag);
73
79
  const pairLinks = ensurePairLinks(state, pairKey);
74
80
  const existingLink = pairLinks[linkKey];
81
+
82
+ // Refresh paths may re-measure the source without portal context;
83
+ // keep the previously recorded host in that case.
84
+ const source = {
85
+ ...createLinkSide(screenKey, bounds, styles),
86
+ portalAttachTarget: portalAttachTarget ?? existingLink?.source?.portalAttachTarget,
87
+ sourceHost: sourceHost ?? existingLink?.source?.sourceHost
88
+ };
75
89
  const link = existingLink ?? {
76
90
  group,
91
+ status: "destination-incomplete",
77
92
  source,
78
93
  destination: null,
79
94
  initialSource: source
@@ -81,6 +96,7 @@ function setSource(pairKey, tag, screenKey, bounds, styles = {}, group) {
81
96
  link.group = group ?? link.group;
82
97
  link.source = source;
83
98
  link.initialSource ??= source;
99
+ syncLinkStatus(link);
84
100
  pairLinks[linkKey] = link;
85
101
  const pendingPairKey = createPendingPairKey(screenKey);
86
102
  if (pendingPairKey !== pairKey) {
@@ -95,7 +111,7 @@ function setDestination(pairKey, tag, screenKey, bounds, styles = {}, group) {
95
111
  pairs.modify(state => {
96
112
  "worklet";
97
113
 
98
- const linkKey = toLinkKey(tag);
114
+ const linkKey = getLinkKeyFromTag(tag);
99
115
  promotePendingSource(state, pairKey, linkKey);
100
116
  writeDestination(state, pairKey, linkKey, screenKey, bounds, styles, group);
101
117
  return state;
@@ -107,7 +123,7 @@ function setActiveGroupId(pairKey, group, tag) {
107
123
  pairs.modify(state => {
108
124
  "worklet";
109
125
 
110
- writeGroup(state, pairKey, group, toLinkKey(tag));
126
+ writeGroup(state, pairKey, group, getLinkKeyFromTag(tag));
111
127
  return state;
112
128
  });
113
129
  }
@@ -119,12 +135,12 @@ function getActiveGroupId(pairKey, group) {
119
135
  function getLink(pairKey, tag) {
120
136
  "worklet";
121
137
 
122
- return getPairLink(pairs.get(), pairKey, toLinkKey(tag));
138
+ return getPairLink(pairs.get(), pairKey, getLinkKeyFromTag(tag));
123
139
  }
124
- const isCompletedLink = link => {
140
+ const hasSourceLink = link => {
125
141
  "worklet";
126
142
 
127
- return !!link?.destination;
143
+ return !!link?.source;
128
144
  };
129
145
  const getPendingSourceLink = (state, pairKey, linkKey) => {
130
146
  "worklet";
@@ -138,7 +154,7 @@ function getResolvedLink(pairKey, tag) {
138
154
  "worklet";
139
155
 
140
156
  const state = pairs.get();
141
- const linkKey = toLinkKey(tag);
157
+ const linkKey = getLinkKeyFromTag(tag);
142
158
  const group = getGroupKeyFromTag(tag);
143
159
  const requestedLink = getPairLink(state, pairKey, linkKey);
144
160
 
@@ -150,8 +166,9 @@ function getResolvedLink(pairKey, tag) {
150
166
  const link = requestedLink ?? fallbackPendingLink;
151
167
 
152
168
  // Group active ids can update before the new member has a full source/destination
153
- // link, so unresolved grouped links fall back to the initial id's measurements.
154
- if (!group || isCompletedLink(link)) {
169
+ // link. As soon as the requested member has source bounds, prefer it; only
170
+ // fall back while the requested member has no source yet.
171
+ if (!group || hasSourceLink(link)) {
155
172
  return {
156
173
  tag,
157
174
  link
@@ -159,8 +176,8 @@ function getResolvedLink(pairKey, tag) {
159
176
  }
160
177
  const initialId = state[pairKey]?.groups?.[group]?.initialId;
161
178
  if (initialId) {
162
- const initialLink = getPairLink(state, pairKey, initialId);
163
- if (isCompletedLink(initialLink)) {
179
+ const initialLink = getPairLink(state, pairKey, initialId) ?? getPendingSourceLink(state, pairKey, initialId);
180
+ if (hasSourceLink(initialLink)) {
164
181
  return {
165
182
  tag: createGroupTag(group, initialId),
166
183
  link: initialLink
@@ -175,12 +192,12 @@ function getResolvedLink(pairKey, tag) {
175
192
  function getSource(pairKey, tag) {
176
193
  "worklet";
177
194
 
178
- return getPairSource(pairs.get(), pairKey, toLinkKey(tag));
195
+ return getPairSource(pairs.get(), pairKey, getLinkKeyFromTag(tag));
179
196
  }
180
197
  function getDestination(pairKey, tag) {
181
198
  "worklet";
182
199
 
183
- return getPairDestination(pairs.get(), pairKey, toLinkKey(tag));
200
+ return getPairDestination(pairs.get(), pairKey, getLinkKeyFromTag(tag));
184
201
  }
185
202
  export { getActiveGroupId, getDestination, getLink, getResolvedLink, getSource, setActiveGroupId, setDestination, setSource };
186
203
  //# sourceMappingURL=links.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createGroupTag","createPendingPairKey","ensurePairGroups","ensurePairLinks","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","getSourceScreenKeyFromPairKey","removePairLink","pairs","toLinkKey","tag","createLinkSide","screenKey","bounds","styles","writePairLink","state","pairKey","linkKey","link","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","destination","initialDestination","promotePendingSource","sourceScreenKey","pendingPairKey","pendingLink","pendingGroupState","setSource","modify","source","pairLinks","existingLink","initialSource","setDestination","setActiveGroupId","get","isCompletedLink","getPendingSourceLink","getResolvedLink","requestedLink","fallbackPendingLink","initialLink"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,oBAAoB,EACpBC,gBAAgB,EAChBC,eAAe,EACfC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,EAC1BC,6BAA6B,EAC7BC,cAAc,QACR,+BAA+B;AAUtC,SAASC,KAAK,QAAQ,SAAS;AAE/B,MAAMC,SAAS,GAAIC,GAAU,IAAc;EAC1C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AACkC,GAAG,CAAC,CAAC,EAAEzB,OAAO,EAAER,SAAS,CAACC,GAAG,CAAC,CAAC;AAChE;AAEA,SACCZ,gBAAgB,EAChBE,cAAc,EACdE,OAAO,EACP2C,eAAe,EACfzC,SAAS,EACTqC,gBAAgB,EAChBD,cAAc,EACdN,SAAS","ignoreList":[]}
1
+ {"version":3,"names":["createGroupTag","createPendingPairKey","ensurePairGroups","ensurePairLinks","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","getSourceScreenKeyFromPairKey","removePairLink","pairs","syncLinkStatus","link","status","source","destination","createLinkSide","screenKey","bounds","styles","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","promotePendingSource","sourceScreenKey","pendingPairKey","pendingLink","pendingGroupState","setSource","tag","portalAttachTarget","sourceHost","modify","pairLinks","initialSource","setDestination","setActiveGroupId","get","hasSourceLink","getPendingSourceLink","getResolvedLink","requestedLink","fallbackPendingLink","initialLink"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,oBAAoB,EACpBC,gBAAgB,EAChBC,eAAe,EACfC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,EAC1BC,6BAA6B,EAC7BC,cAAc,QACR,+BAA+B;AAatC,SAASC,KAAK,QAAQ,SAAS;AAE/B,MAAMC,cAAc,GAAIC,IAAa,IAAK;EACzC,SAAS;;EACTA,IAAI,CAACC,MAAM,GAAGD,IAAI,CAACE,MAAM,GACtBF,IAAI,CAACG,WAAW,GACf,UAAU,GACV,wBAAwB,GACzB,mBAAmB;AACvB,CAAC;AAED,MAAMC,cAAc,GAAGA,CACtBC,SAAoB,EACpB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Nd,GAAG,EAAE7C,cAAc,CAAC+B,KAAK,EAAEE,SAAS,CAAC;QACrCf,IAAI,EAAEyC;MACP,CAAC;IACF;EACD;EAEA,OAAO;IACNd,GAAG;IACH3B;EACD,CAAC;AACF;AAEA,SAASN,SAASA,CACjBgB,OAAsB,EACtBiB,GAAU,EACiB;EAC3B,SAAS;;EACT,OAAOhC,aAAa,CAACG,KAAK,CAACqC,GAAG,CAAC,CAAC,EAAEzB,OAAO,EAAEvB,iBAAiB,CAACwC,GAAG,CAAC,CAAC;AACnE;AAEA,SAASrC,cAAcA,CACtBoB,OAAsB,EACtBiB,GAAU,EACsB;EAChC,SAAS;;EACT,OAAOpC,kBAAkB,CAACO,KAAK,CAACqC,GAAG,CAAC,CAAC,EAAEzB,OAAO,EAAEvB,iBAAiB,CAACwC,GAAG,CAAC,CAAC;AACxE;AAEA,SACCvC,gBAAgB,EAChBE,cAAc,EACdE,OAAO,EACP8C,eAAe,EACf5C,SAAS,EACTwC,gBAAgB,EAChBD,cAAc,EACdP,SAAS","ignoreList":[]}
@@ -18,12 +18,14 @@ function resolveTransitionPair(tag, context) {
18
18
  const pairKey = resolvePairKey(context);
19
19
  const matchedLink = pairKey ? getResolvedLink(pairKey, tag).link : null;
20
20
  return {
21
- sourceBounds: matchedLink?.source.bounds ?? null,
21
+ sourceBounds: matchedLink?.source?.bounds ?? null,
22
22
  destinationBounds: matchedLink?.destination?.bounds ?? null,
23
- sourceStyles: matchedLink?.source.styles ?? null,
23
+ sourceStyles: matchedLink?.source?.styles ?? null,
24
24
  destinationStyles: matchedLink?.destination?.styles ?? null,
25
- sourceScreenKey: matchedLink?.source.screenKey ?? null,
26
- destinationScreenKey: matchedLink?.destination?.screenKey ?? null
25
+ sourceScreenKey: matchedLink?.source?.screenKey ?? null,
26
+ destinationScreenKey: matchedLink?.destination?.screenKey ?? null,
27
+ sourcePortalAttachTarget: matchedLink?.source?.portalAttachTarget,
28
+ sourceHost: matchedLink?.source?.sourceHost
27
29
  };
28
30
  }
29
31
  export { resolveTransitionPair };
@@ -1 +1 @@
1
- {"version":3,"names":["createScreenPairKey","getResolvedLink","resolvePairKey","context","entering","previousScreenKey","currentScreenKey","nextScreenKey","resolveTransitionPair","tag","pairKey","matchedLink","link","sourceBounds","source","bounds","destinationBounds","destination","sourceStyles","styles","destinationStyles","sourceScreenKey","screenKey","destinationScreenKey"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/resolver.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,+BAA+B;AAOnE,SAASC,eAAe,QAAQ,SAAS;AAEzC,SAASC,cAAcA,CACtBC,OAAiC,EACV;EACvB,SAAS;;EAET,IAAIA,OAAO,CAACC,QAAQ,EAAE;IACrB,IAAI,CAACD,OAAO,CAACE,iBAAiB,IAAI,CAACF,OAAO,CAACG,gBAAgB,EAAE,OAAO,IAAI;IACxE,OAAON,mBAAmB,CACzBG,OAAO,CAACE,iBAAiB,EACzBF,OAAO,CAACG,gBACT,CAAC;EACF;EAEA,IAAI,CAACH,OAAO,CAACG,gBAAgB,IAAI,CAACH,OAAO,CAACI,aAAa,EAAE,OAAO,IAAI;EACpE,OAAOP,mBAAmB,CAACG,OAAO,CAACG,gBAAgB,EAAEH,OAAO,CAACI,aAAa,CAAC;AAC5E;AAEA,SAASC,qBAAqBA,CAC7BC,GAAU,EACVN,OAAiC,EACR;EACzB,SAAS;;EACT,MAAMO,OAAO,GAAGR,cAAc,CAACC,OAAO,CAAC;EACvC,MAAMQ,WAAW,GAAGD,OAAO,GAAGT,eAAe,CAACS,OAAO,EAAED,GAAG,CAAC,CAACG,IAAI,GAAG,IAAI;EAEvE,OAAO;IACNC,YAAY,EAAEF,WAAW,EAAEG,MAAM,CAACC,MAAM,IAAI,IAAI;IAChDC,iBAAiB,EAAEL,WAAW,EAAEM,WAAW,EAAEF,MAAM,IAAI,IAAI;IAC3DG,YAAY,EAAEP,WAAW,EAAEG,MAAM,CAACK,MAAM,IAAI,IAAI;IAChDC,iBAAiB,EAAET,WAAW,EAAEM,WAAW,EAAEE,MAAM,IAAI,IAAI;IAC3DE,eAAe,EAAEV,WAAW,EAAEG,MAAM,CAACQ,SAAS,IAAI,IAAI;IACtDC,oBAAoB,EAAEZ,WAAW,EAAEM,WAAW,EAAEK,SAAS,IAAI;EAC9D,CAAC;AACF;AAEA,SAASd,qBAAqB","ignoreList":[]}
1
+ {"version":3,"names":["createScreenPairKey","getResolvedLink","resolvePairKey","context","entering","previousScreenKey","currentScreenKey","nextScreenKey","resolveTransitionPair","tag","pairKey","matchedLink","link","sourceBounds","source","bounds","destinationBounds","destination","sourceStyles","styles","destinationStyles","sourceScreenKey","screenKey","destinationScreenKey","sourcePortalAttachTarget","portalAttachTarget","sourceHost"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/resolver.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,+BAA+B;AAOnE,SAASC,eAAe,QAAQ,SAAS;AAEzC,SAASC,cAAcA,CACtBC,OAAiC,EACV;EACvB,SAAS;;EAET,IAAIA,OAAO,CAACC,QAAQ,EAAE;IACrB,IAAI,CAACD,OAAO,CAACE,iBAAiB,IAAI,CAACF,OAAO,CAACG,gBAAgB,EAAE,OAAO,IAAI;IACxE,OAAON,mBAAmB,CACzBG,OAAO,CAACE,iBAAiB,EACzBF,OAAO,CAACG,gBACT,CAAC;EACF;EAEA,IAAI,CAACH,OAAO,CAACG,gBAAgB,IAAI,CAACH,OAAO,CAACI,aAAa,EAAE,OAAO,IAAI;EACpE,OAAOP,mBAAmB,CAACG,OAAO,CAACG,gBAAgB,EAAEH,OAAO,CAACI,aAAa,CAAC;AAC5E;AAEA,SAASC,qBAAqBA,CAC7BC,GAAU,EACVN,OAAiC,EACR;EACzB,SAAS;;EACT,MAAMO,OAAO,GAAGR,cAAc,CAACC,OAAO,CAAC;EACvC,MAAMQ,WAAW,GAAGD,OAAO,GAAGT,eAAe,CAACS,OAAO,EAAED,GAAG,CAAC,CAACG,IAAI,GAAG,IAAI;EAEvE,OAAO;IACNC,YAAY,EAAEF,WAAW,EAAEG,MAAM,EAAEC,MAAM,IAAI,IAAI;IACjDC,iBAAiB,EAAEL,WAAW,EAAEM,WAAW,EAAEF,MAAM,IAAI,IAAI;IAC3DG,YAAY,EAAEP,WAAW,EAAEG,MAAM,EAAEK,MAAM,IAAI,IAAI;IACjDC,iBAAiB,EAAET,WAAW,EAAEM,WAAW,EAAEE,MAAM,IAAI,IAAI;IAC3DE,eAAe,EAAEV,WAAW,EAAEG,MAAM,EAAEQ,SAAS,IAAI,IAAI;IACvDC,oBAAoB,EAAEZ,WAAW,EAAEM,WAAW,EAAEK,SAAS,IAAI,IAAI;IACjEE,wBAAwB,EAAEb,WAAW,EAAEG,MAAM,EAAEW,kBAAkB;IACjEC,UAAU,EAAEf,WAAW,EAAEG,MAAM,EAAEY;EAClC,CAAC;AACF;AAEA,SAASlB,qBAAqB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["makeMutable","boundaryRegistry","pairs"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/state.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AAKrD,OAAO,MAAMC,gBAAgB,GAAGD,WAAW,CAAuB,CAAC,CAAC,CAAC;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,KAAK,GAAGF,WAAW,CAAiB,CAAC,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["makeMutable","boundaryRegistry","pairs"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/state.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,yBAAyB;AAQrD,OAAO,MAAMC,gBAAgB,GAAGD,WAAW,CAAuB,CAAC,CAAC,CAAC;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,KAAK,GAAGF,WAAW,CAAiB,CAAC,CAAC,CAAC","ignoreList":[]}