react-native-screen-transitions 3.4.0 → 3.5.0-beta.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.
- package/README.md +5 -2
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js +21 -32
- package/lib/commonjs/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +2 -2
- package/lib/commonjs/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +5 -5
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js +27 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js +7 -2
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +110 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +40 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js +79 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -0
- package/lib/commonjs/shared/components/create-boundary-component/hooks/{use-pre-transition-measurement.js → use-refresh-boundary.js} +26 -27
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -0
- package/lib/commonjs/shared/components/create-transition-aware-component.js +4 -13
- package/lib/commonjs/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js +1 -0
- package/lib/commonjs/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js +7 -10
- package/lib/commonjs/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js +3 -3
- package/lib/commonjs/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/content.js +4 -5
- package/lib/commonjs/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js +4 -3
- package/lib/commonjs/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js +3 -3
- package/lib/commonjs/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +28 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/history/navigator-route-registry.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/{use-screen-events.js → history/use-screen-history.js} +17 -11
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/history/use-screen-history.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +140 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/{use-open-transition.js → use-open-transition-intent.js} +14 -24
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +53 -0
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -0
- package/lib/commonjs/shared/components/screen-lifecycle/index.js +17 -14
- package/lib/commonjs/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/commonjs/shared/constants.js +6 -17
- package/lib/commonjs/shared/constants.js.map +1 -1
- package/lib/commonjs/shared/providers/register-bounds.provider.js +6 -9
- package/lib/commonjs/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js +26 -44
- package/lib/commonjs/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js +19 -35
- package/lib/commonjs/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js +64 -38
- package/lib/commonjs/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -2
- package/lib/commonjs/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/animation/types.js +4 -0
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js +19 -5
- package/lib/commonjs/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -0
- package/lib/commonjs/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js +29 -0
- package/lib/commonjs/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js +36 -0
- package/lib/commonjs/shared/providers/screen/styles/constants.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js +49 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles.js +137 -0
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-slot-styles.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +75 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +49 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +31 -0
- package/lib/commonjs/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -0
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js +33 -107
- package/lib/commonjs/shared/providers/screen/styles/styles.provider.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +13 -7
- package/lib/commonjs/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/helpers/keys.js +10 -0
- package/lib/commonjs/shared/stores/bounds/helpers/keys.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/index.js +26 -25
- package/lib/commonjs/shared/stores/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/clear.js +13 -51
- package/lib/commonjs/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/groups.js +27 -0
- package/lib/commonjs/shared/stores/bounds/internals/groups.js.map +1 -0
- package/lib/commonjs/shared/stores/bounds/internals/registry.js +210 -185
- package/lib/commonjs/shared/stores/bounds/internals/registry.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js +2 -6
- package/lib/commonjs/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/shared/stores/bounds/internals/state.js +2 -3
- package/lib/commonjs/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/commonjs/shared/stores/system.store.js +44 -11
- package/lib/commonjs/shared/stores/system.store.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js +4 -0
- package/lib/commonjs/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js +6 -6
- package/lib/commonjs/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js +9 -3
- package/lib/commonjs/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -8
- package/lib/commonjs/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js +2 -8
- package/lib/commonjs/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/index.js +7 -5
- package/lib/commonjs/shared/utils/bounds/index.js.map +1 -1
- package/lib/commonjs/shared/utils/bounds/zoom/build.js +44 -144
- package/lib/commonjs/shared/utils/bounds/zoom/build.js.map +1 -1
- package/lib/commonjs/shared/utils/create-store.js +13 -4
- package/lib/commonjs/shared/utils/create-store.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js +21 -32
- package/lib/module/shared/components/create-boundary-component/create-boundary-component.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js +2 -2
- package/lib/module/shared/components/create-boundary-component/helpers/resolve-pending-source-key.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js +2 -2
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement-rules.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js +21 -0
- package/lib/module/shared/components/create-boundary-component/hooks/helpers/measurement.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js +7 -2
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-presence.js.map +1 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js +105 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js +35 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-capture-source-boundary.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js +74 -0
- package/lib/module/shared/components/create-boundary-component/hooks/use-measurer.js.map +1 -0
- package/lib/module/shared/components/create-boundary-component/hooks/{use-pre-transition-measurement.js → use-refresh-boundary.js} +24 -25
- package/lib/module/shared/components/create-boundary-component/hooks/use-refresh-boundary.js.map +1 -0
- package/lib/module/shared/components/create-transition-aware-component.js +4 -13
- package/lib/module/shared/components/create-transition-aware-component.js.map +1 -1
- package/lib/module/shared/components/overlay/variations/float-overlay.js +1 -0
- package/lib/module/shared/components/overlay/variations/float-overlay.js.map +1 -1
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js +8 -11
- package/lib/module/shared/components/screen-container/hooks/use-content-layout.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/backdrop.js +3 -3
- package/lib/module/shared/components/screen-container/layers/backdrop.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/content.js +4 -5
- package/lib/module/shared/components/screen-container/layers/content.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js +4 -3
- package/lib/module/shared/components/screen-container/layers/maybe-masked-navigation-container.js.map +1 -1
- package/lib/module/shared/components/screen-container/layers/surface-container.js +3 -3
- package/lib/module/shared/components/screen-container/layers/surface-container.js.map +1 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js +24 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/history/navigator-route-registry.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/{use-screen-events.js → history/use-screen-history.js} +16 -10
- package/lib/module/shared/components/screen-lifecycle/hooks/history/use-screen-history.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js +134 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition-intent.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/{use-open-transition.js → use-open-transition-intent.js} +13 -24
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition-intent.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js +48 -0
- package/lib/module/shared/components/screen-lifecycle/hooks/use-transition-start-controller.js.map +1 -0
- package/lib/module/shared/components/screen-lifecycle/index.js +18 -15
- package/lib/module/shared/components/screen-lifecycle/index.js.map +1 -1
- package/lib/module/shared/constants.js +5 -16
- package/lib/module/shared/constants.js.map +1 -1
- package/lib/module/shared/providers/register-bounds.provider.js +6 -9
- package/lib/module/shared/providers/register-bounds.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/animation.provider.js +22 -43
- package/lib/module/shared/providers/screen/animation/animation.provider.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js +19 -35
- package/lib/module/shared/providers/screen/animation/helpers/hydrate-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js +65 -39
- package/lib/module/shared/providers/screen/animation/helpers/pipeline.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/resolve-screen-animation-target.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js +3 -2
- package/lib/module/shared/providers/screen/animation/helpers/use-build-transition-state.js.map +1 -1
- package/lib/module/shared/providers/screen/animation/types.js +2 -0
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js +19 -5
- package/lib/module/shared/providers/screen/animation/use-screen-animation.js.map +1 -1
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -0
- package/lib/module/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js +25 -0
- package/lib/module/shared/providers/screen/styles/components/maybe-floating-container.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/constants.js +31 -0
- package/lib/module/shared/providers/screen/styles/constants.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js +45 -0
- package/lib/module/shared/providers/screen/styles/helpers/normalize-slots.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles.js +132 -0
- package/lib/module/shared/providers/screen/styles/helpers/resolve-slot-styles.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js +70 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js +44 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-maybe-block-visibility.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js +26 -0
- package/lib/module/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.js.map +1 -0
- package/lib/module/shared/providers/screen/styles/styles.provider.js +34 -108
- package/lib/module/shared/providers/screen/styles/styles.provider.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js +13 -7
- package/lib/module/shared/stores/bounds/helpers/apply-measured-bounds-writes.js.map +1 -1
- package/lib/module/shared/stores/bounds/helpers/keys.js +8 -0
- package/lib/module/shared/stores/bounds/helpers/keys.js.map +1 -1
- package/lib/module/shared/stores/bounds/index.js +27 -26
- package/lib/module/shared/stores/bounds/index.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/clear.js +14 -52
- package/lib/module/shared/stores/bounds/internals/clear.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/groups.js +23 -0
- package/lib/module/shared/stores/bounds/internals/groups.js.map +1 -0
- package/lib/module/shared/stores/bounds/internals/registry.js +204 -178
- package/lib/module/shared/stores/bounds/internals/registry.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/resolver.js +2 -6
- package/lib/module/shared/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/shared/stores/bounds/internals/state.js +1 -2
- package/lib/module/shared/stores/bounds/internals/state.js.map +1 -1
- package/lib/module/shared/stores/system.store.js +43 -10
- package/lib/module/shared/stores/system.store.js.map +1 -1
- package/lib/module/shared/types/animation.types.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js +4 -0
- package/lib/module/shared/utils/bounds/helpers/create-bound-tag.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js +6 -6
- package/lib/module/shared/utils/bounds/helpers/create-interpolators.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js +9 -3
- package/lib/module/shared/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js +5 -8
- package/lib/module/shared/utils/bounds/helpers/prepare-bound-styles.js.map +1 -1
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js +3 -9
- package/lib/module/shared/utils/bounds/helpers/styles/compute.js.map +1 -1
- package/lib/module/shared/utils/bounds/index.js +7 -5
- package/lib/module/shared/utils/bounds/index.js.map +1 -1
- package/lib/module/shared/utils/bounds/zoom/build.js +46 -146
- package/lib/module/shared/utils/bounds/zoom/build.js.map +1 -1
- package/lib/module/shared/utils/create-store.js +13 -4
- package/lib/module/shared/utils/create-store.js.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/create-boundary-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/helpers/resolve-pending-source-key.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts +8 -8
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement-rules.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts +5 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/helpers/measurement.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-presence.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts +13 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts +10 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-capture-source-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/{use-boundary-measure-and-store.d.ts → use-measurer.d.ts} +6 -4
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-measurer.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts +14 -0
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-refresh-boundary.d.ts.map +1 -0
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts +6 -3
- package/lib/typescript/shared/components/create-boundary-component/types.d.ts.map +1 -1
- package/lib/typescript/shared/components/create-transition-aware-component.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/hooks/use-content-layout.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/content.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-container/layers/maybe-masked-navigation-container.d.ts.map +1 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts +2 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/history/navigator-route-registry.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/history/use-screen-history.d.ts +7 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/history/use-screen-history.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts +11 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition-intent.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition-intent.d.ts +8 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition-intent.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts +11 -0
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-transition-start-controller.d.ts.map +1 -0
- package/lib/typescript/shared/components/screen-lifecycle/index.d.ts.map +1 -1
- package/lib/typescript/shared/constants.d.ts +1 -14
- package/lib/typescript/shared/constants.d.ts.map +1 -1
- package/lib/typescript/shared/providers/register-bounds.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts +7 -8
- package/lib/typescript/shared/providers/screen/animation/animation.provider.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts +0 -8
- package/lib/typescript/shared/providers/screen/animation/helpers/hydrate-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts +3 -3
- package/lib/typescript/shared/providers/screen/animation/helpers/pipeline.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts +4 -6
- package/lib/typescript/shared/providers/screen/animation/helpers/resolve-screen-animation-target.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/helpers/use-build-transition-state.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/types.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/animation/types.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts +1 -1
- package/lib/typescript/shared/providers/screen/animation/use-screen-animation.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +1 -0
- package/lib/typescript/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts +7 -0
- package/lib/typescript/shared/providers/screen/styles/components/maybe-floating-container.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts +23 -0
- package/lib/typescript/shared/providers/screen/styles/constants.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/normalize-slots.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles.d.ts +17 -0
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-slot-styles.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +3 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-maybe-block-visibility.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts +9 -0
- package/lib/typescript/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.d.ts.map +1 -0
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts +2 -2
- package/lib/typescript/shared/providers/screen/styles/styles.provider.d.ts.map +1 -1
- package/lib/typescript/shared/stores/animation.store.d.ts +1 -7
- package/lib/typescript/shared/stores/animation.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/apply-measured-bounds-writes.d.ts +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/apply-measured-bounds-writes.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/helpers/keys.d.ts +1 -0
- package/lib/typescript/shared/stores/bounds/helpers/keys.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/index.d.ts +28 -27
- package/lib/typescript/shared/stores/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/clear.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts +4 -0
- package/lib/typescript/shared/stores/bounds/internals/groups.d.ts.map +1 -0
- package/lib/typescript/shared/stores/bounds/internals/registry.d.ts +12 -11
- package/lib/typescript/shared/stores/bounds/internals/registry.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts +1 -2
- package/lib/typescript/shared/stores/bounds/internals/state.d.ts.map +1 -1
- package/lib/typescript/shared/stores/bounds/types.d.ts +21 -19
- package/lib/typescript/shared/stores/bounds/types.d.ts.map +1 -1
- package/lib/typescript/shared/stores/gesture.store.d.ts +1 -7
- package/lib/typescript/shared/stores/gesture.store.d.ts.map +1 -1
- package/lib/typescript/shared/stores/system.store.d.ts +33 -8
- package/lib/typescript/shared/stores/system.store.d.ts.map +1 -1
- package/lib/typescript/shared/types/animation.types.d.ts +5 -25
- package/lib/typescript/shared/types/animation.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/bounds.types.d.ts +7 -5
- package/lib/typescript/shared/types/bounds.types.d.ts.map +1 -1
- package/lib/typescript/shared/types/screen.types.d.ts +20 -0
- package/lib/typescript/shared/types/screen.types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts +6 -2
- package/lib/typescript/shared/utils/bounds/helpers/create-bound-tag.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-interpolators.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts +3 -2
- package/lib/typescript/shared/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/prepare-bound-styles.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/helpers/styles/compute.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/index.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/build.d.ts.map +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts +1 -1
- package/lib/typescript/shared/utils/bounds/zoom/types.d.ts.map +1 -1
- package/lib/typescript/shared/utils/create-store.d.ts +13 -8
- package/lib/typescript/shared/utils/create-store.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/components/create-boundary-component/create-boundary-component.tsx +21 -39
- package/src/shared/components/create-boundary-component/helpers/resolve-pending-source-key.ts +3 -6
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement-rules.ts +12 -12
- package/src/shared/components/create-boundary-component/hooks/helpers/measurement.ts +43 -0
- package/src/shared/components/create-boundary-component/hooks/use-boundary-presence.ts +3 -8
- package/src/shared/components/create-boundary-component/hooks/use-capture-destination-boundary.ts +149 -0
- package/src/shared/components/create-boundary-component/hooks/use-capture-source-boundary.ts +42 -0
- package/src/shared/components/create-boundary-component/hooks/use-measurer.ts +144 -0
- package/src/shared/components/create-boundary-component/hooks/{use-pre-transition-measurement.ts → use-refresh-boundary.ts} +35 -30
- package/src/shared/components/create-boundary-component/types.ts +7 -3
- package/src/shared/components/create-transition-aware-component.tsx +4 -13
- package/src/shared/components/overlay/variations/float-overlay.tsx +1 -1
- package/src/shared/components/screen-container/hooks/use-content-layout.ts +14 -11
- package/src/shared/components/screen-container/layers/backdrop.tsx +3 -3
- package/src/shared/components/screen-container/layers/content.tsx +4 -7
- package/src/shared/components/screen-container/layers/maybe-masked-navigation-container.tsx +4 -5
- package/src/shared/components/screen-container/layers/surface-container.tsx +3 -3
- package/src/shared/components/screen-lifecycle/hooks/helpers/reset-stores-for-screen.ts +29 -0
- package/src/shared/components/screen-lifecycle/hooks/{use-screen-events.ts → history/use-screen-history.ts} +25 -9
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition-intent.ts +160 -0
- package/src/shared/components/screen-lifecycle/hooks/{use-open-transition.ts → use-open-transition-intent.ts} +19 -23
- package/src/shared/components/screen-lifecycle/hooks/use-transition-start-controller.ts +71 -0
- package/src/shared/components/screen-lifecycle/index.tsx +17 -17
- package/src/shared/constants.ts +3 -11
- package/src/shared/providers/register-bounds.provider.tsx +7 -12
- package/src/shared/providers/screen/animation/animation.provider.tsx +30 -68
- package/src/shared/providers/screen/animation/helpers/hydrate-transition-state.ts +20 -33
- package/src/shared/providers/screen/animation/helpers/pipeline.ts +96 -69
- package/src/shared/providers/screen/animation/helpers/resolve-screen-animation-target.ts +5 -7
- package/src/shared/providers/screen/animation/helpers/use-build-transition-state.ts +14 -2
- package/src/shared/providers/screen/animation/types.ts +9 -0
- package/src/shared/providers/screen/animation/use-screen-animation.tsx +25 -7
- package/src/shared/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +2 -0
- package/src/shared/providers/screen/styles/components/maybe-floating-container.tsx +29 -0
- package/src/shared/providers/screen/styles/constants.ts +34 -0
- package/src/shared/providers/screen/styles/helpers/normalize-slots.ts +61 -0
- package/src/shared/providers/screen/styles/helpers/resolve-slot-styles.ts +190 -0
- package/src/shared/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +85 -0
- package/src/shared/providers/screen/styles/hooks/use-maybe-block-visibility.tsx +51 -0
- package/src/shared/providers/screen/styles/hooks/use-resolved-slot-style-map.tsx +40 -0
- package/src/shared/providers/screen/styles/styles.provider.tsx +42 -146
- package/src/shared/stores/bounds/helpers/apply-measured-bounds-writes.ts +15 -13
- package/src/shared/stores/bounds/helpers/keys.ts +8 -0
- package/src/shared/stores/bounds/index.ts +37 -44
- package/src/shared/stores/bounds/internals/clear.ts +22 -86
- package/src/shared/stores/bounds/internals/groups.ts +20 -0
- package/src/shared/stores/bounds/internals/registry.ts +280 -234
- package/src/shared/stores/bounds/internals/resolver.ts +1 -5
- package/src/shared/stores/bounds/internals/state.ts +2 -3
- package/src/shared/stores/bounds/types.ts +23 -21
- package/src/shared/stores/system.store.ts +77 -9
- package/src/shared/types/animation.types.ts +5 -25
- package/src/shared/types/bounds.types.ts +7 -8
- package/src/shared/types/screen.types.ts +21 -0
- package/src/shared/utils/bounds/helpers/create-bound-tag.ts +6 -2
- package/src/shared/utils/bounds/helpers/create-interpolators.ts +10 -7
- package/src/shared/utils/bounds/helpers/create-link-accessor.ts +12 -5
- package/src/shared/utils/bounds/helpers/prepare-bound-styles.ts +4 -7
- package/src/shared/utils/bounds/helpers/styles/compute.ts +2 -10
- package/src/shared/utils/bounds/index.ts +7 -6
- package/src/shared/utils/bounds/zoom/build.ts +53 -162
- package/src/shared/utils/bounds/zoom/types.ts +1 -1
- package/src/shared/utils/create-store.ts +39 -13
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +0 -44
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +0 -84
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +0 -149
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js +0 -29
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js +0 -47
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js +0 -158
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js +0 -36
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +0 -1
- package/lib/commonjs/shared/components/screen-lifecycle/hooks/use-screen-events.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/build-resolved-style-map.js +0 -144
- package/lib/commonjs/shared/providers/screen/styles/helpers/build-resolved-style-map.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js +0 -28
- package/lib/commonjs/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map +0 -1
- package/lib/commonjs/shared/providers/screen/styles/helpers/split-normalized-style-maps.js +0 -39
- package/lib/commonjs/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map +0 -1
- package/lib/commonjs/shared/stores/bounds/internals/presence.js +0 -125
- package/lib/commonjs/shared/stores/bounds/internals/presence.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js +0 -39
- package/lib/module/shared/components/create-boundary-component/hooks/use-auto-source-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js +0 -78
- package/lib/module/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js +0 -145
- package/lib/module/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.js.map +0 -1
- package/lib/module/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js +0 -24
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js +0 -42
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js +0 -153
- package/lib/module/shared/components/screen-lifecycle/hooks/use-close-transition/index.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js +0 -30
- package/lib/module/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-open-transition.js.map +0 -1
- package/lib/module/shared/components/screen-lifecycle/hooks/use-screen-events.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/build-resolved-style-map.js +0 -139
- package/lib/module/shared/providers/screen/styles/helpers/build-resolved-style-map.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js +0 -23
- package/lib/module/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.js.map +0 -1
- package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js +0 -34
- package/lib/module/shared/providers/screen/styles/helpers/split-normalized-style-maps.js.map +0 -1
- package/lib/module/shared/stores/bounds/internals/presence.js +0 -115
- package/lib/module/shared/stores/bounds/internals/presence.js.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts +0 -10
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-auto-source-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts +0 -27
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.d.ts +0 -12
- package/lib/typescript/shared/components/create-boundary-component/hooks/use-pre-transition-measurement.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/navigator-route-registry.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.d.ts +0 -2
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.d.ts +0 -2
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts +0 -8
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-close-transition/index.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.d.ts +0 -13
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts +0 -12
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-open-transition.d.ts.map +0 -1
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-screen-events.d.ts +0 -7
- package/lib/typescript/shared/components/screen-lifecycle/hooks/use-screen-events.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/build-resolved-style-map.d.ts +0 -11
- package/lib/typescript/shared/providers/screen/styles/helpers/build-resolved-style-map.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.d.ts +0 -7
- package/lib/typescript/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.d.ts.map +0 -1
- package/lib/typescript/shared/providers/screen/styles/helpers/split-normalized-style-maps.d.ts +0 -6
- package/lib/typescript/shared/providers/screen/styles/helpers/split-normalized-style-maps.d.ts.map +0 -1
- package/lib/typescript/shared/stores/bounds/internals/presence.d.ts +0 -12
- package/lib/typescript/shared/stores/bounds/internals/presence.d.ts.map +0 -1
- package/src/shared/components/create-boundary-component/hooks/use-auto-source-measurement.ts +0 -56
- package/src/shared/components/create-boundary-component/hooks/use-boundary-measure-and-store.ts +0 -154
- package/src/shared/components/create-boundary-component/hooks/use-pending-destination-measurement.ts +0 -223
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/reset-stores-for-screen.ts +0 -29
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/helpers/use-navigator-history-registry.ts +0 -58
- package/src/shared/components/screen-lifecycle/hooks/use-close-transition/index.ts +0 -183
- package/src/shared/components/screen-lifecycle/hooks/use-high-refresh-rate.ts +0 -34
- package/src/shared/providers/screen/styles/helpers/build-resolved-style-map.ts +0 -185
- package/src/shared/providers/screen/styles/helpers/resolve-interpolated-style-output.ts +0 -31
- package/src/shared/providers/screen/styles/helpers/split-normalized-style-maps.ts +0 -44
- package/src/shared/stores/bounds/internals/presence.ts +0 -145
- /package/lib/commonjs/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.js +0 -0
- /package/lib/module/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.js +0 -0
- /package/lib/typescript/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.d.ts +0 -0
- /package/src/shared/components/screen-lifecycle/hooks/{use-close-transition/helpers → history}/navigator-route-registry.ts +0 -0
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getActiveLink = getActiveLink;
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
7
|
+
exports.getEntry = getEntry;
|
|
8
|
+
exports.getEntryConfig = getEntryConfig;
|
|
9
|
+
exports.getMeasuredEntry = getMeasuredEntry;
|
|
10
|
+
exports.getPendingLink = getPendingLink;
|
|
9
11
|
exports.hasDestinationLink = hasDestinationLink;
|
|
10
|
-
exports.hasPendingLink = hasPendingLink;
|
|
11
|
-
exports.hasPendingLinkFromSource = hasPendingLinkFromSource;
|
|
12
12
|
exports.hasSourceLink = hasSourceLink;
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
|
|
13
|
+
exports.removeEntry = removeEntry;
|
|
14
|
+
exports.setDestination = setDestination;
|
|
15
|
+
exports.setEntry = setEntry;
|
|
16
|
+
exports.setSource = setSource;
|
|
17
|
+
var _keys = require("../helpers/keys");
|
|
18
18
|
var _matching = require("../helpers/matching");
|
|
19
19
|
var _state = require("./state");
|
|
20
20
|
const LINK_HISTORY_LIMIT = 3;
|
|
@@ -22,171 +22,218 @@ const ensureTagState = (state, tag) => {
|
|
|
22
22
|
"worklet";
|
|
23
23
|
|
|
24
24
|
if (!state[tag]) {
|
|
25
|
-
state[tag] =
|
|
25
|
+
state[tag] = {
|
|
26
|
+
screens: {},
|
|
27
|
+
linkStack: []
|
|
28
|
+
};
|
|
26
29
|
}
|
|
27
30
|
return state[tag];
|
|
28
31
|
};
|
|
29
|
-
const
|
|
32
|
+
const ensureScreenEntry = (tagState, screenKey) => {
|
|
30
33
|
"worklet";
|
|
31
34
|
|
|
32
|
-
|
|
35
|
+
if (!tagState.screens[screenKey]) {
|
|
36
|
+
tagState.screens[screenKey] = {
|
|
37
|
+
bounds: null,
|
|
38
|
+
styles: {}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
return tagState.screens[screenKey];
|
|
42
|
+
};
|
|
43
|
+
const hasMeasuredEntry = entry => {
|
|
44
|
+
"worklet";
|
|
45
|
+
|
|
46
|
+
return entry?.bounds !== null && entry?.bounds !== undefined;
|
|
47
|
+
};
|
|
48
|
+
const pruneTagState = (state, tag) => {
|
|
49
|
+
"worklet";
|
|
50
|
+
|
|
51
|
+
const tagState = state[tag];
|
|
52
|
+
if (!tagState) return;
|
|
53
|
+
if (!(0, _keys.hasAnyKeys)(tagState.screens) && tagState.linkStack.length === 0) {
|
|
54
|
+
delete state[tag];
|
|
55
|
+
}
|
|
33
56
|
};
|
|
34
|
-
const
|
|
57
|
+
const applyEntryPatch = (entry, patch) => {
|
|
35
58
|
"worklet";
|
|
36
59
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
60
|
+
if (patch.bounds !== undefined) {
|
|
61
|
+
entry.bounds = patch.bounds;
|
|
62
|
+
}
|
|
63
|
+
if (patch.styles !== undefined) {
|
|
64
|
+
entry.styles = patch.styles ?? {};
|
|
65
|
+
}
|
|
66
|
+
if (patch.boundaryConfig !== undefined) {
|
|
67
|
+
if (patch.boundaryConfig === null) {
|
|
68
|
+
delete entry.boundaryConfig;
|
|
69
|
+
} else {
|
|
70
|
+
entry.boundaryConfig = patch.boundaryConfig;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (patch.ancestorKeys !== undefined) {
|
|
74
|
+
if (patch.ancestorKeys === null) {
|
|
75
|
+
delete entry.ancestorKeys;
|
|
76
|
+
} else {
|
|
77
|
+
entry.ancestorKeys = patch.ancestorKeys;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (patch.navigatorKey !== undefined) {
|
|
81
|
+
if (patch.navigatorKey === null) {
|
|
82
|
+
delete entry.navigatorKey;
|
|
83
|
+
} else {
|
|
84
|
+
entry.navigatorKey = patch.navigatorKey;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (patch.ancestorNavigatorKeys !== undefined) {
|
|
88
|
+
if (patch.ancestorNavigatorKeys === null) {
|
|
89
|
+
delete entry.ancestorNavigatorKeys;
|
|
90
|
+
} else {
|
|
91
|
+
entry.ancestorNavigatorKeys = patch.ancestorNavigatorKeys;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
40
94
|
};
|
|
41
|
-
|
|
95
|
+
const findMatchingScreenEntry = (tagState, screenKey, shouldMatch) => {
|
|
42
96
|
"worklet";
|
|
43
97
|
|
|
44
|
-
const tagState = _state.registry.value[tag];
|
|
45
98
|
if (!tagState) return null;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return
|
|
49
|
-
bounds: snap.bounds,
|
|
50
|
-
styles: snap.styles
|
|
51
|
-
};
|
|
99
|
+
const direct = tagState.screens[screenKey];
|
|
100
|
+
if (direct && shouldMatch(direct)) {
|
|
101
|
+
return direct;
|
|
52
102
|
}
|
|
53
|
-
for (const
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
styles: snap.styles
|
|
59
|
-
};
|
|
103
|
+
for (const entryScreenKey in tagState.screens) {
|
|
104
|
+
const entry = tagState.screens[entryScreenKey];
|
|
105
|
+
if (!shouldMatch(entry)) continue;
|
|
106
|
+
if (entry.ancestorKeys?.includes(screenKey)) {
|
|
107
|
+
return entry;
|
|
60
108
|
}
|
|
61
109
|
}
|
|
62
110
|
return null;
|
|
63
|
-
}
|
|
64
|
-
|
|
111
|
+
};
|
|
112
|
+
const isSameScreenFamily = (a, b) => {
|
|
65
113
|
"worklet";
|
|
66
114
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
const tagState = ensureTagState(state, tag);
|
|
71
|
-
tagState.snapshots[screenKey] = {
|
|
72
|
-
bounds,
|
|
73
|
-
styles,
|
|
74
|
-
ancestorKeys,
|
|
75
|
-
navigatorKey,
|
|
76
|
-
ancestorNavigatorKeys
|
|
77
|
-
};
|
|
78
|
-
return state;
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
function setLinkSource(tag, screenKey, bounds, styles = {}, ancestorKeys, navigatorKey, ancestorNavigatorKeys) {
|
|
115
|
+
return a.screenKey === b.screenKey || (a.ancestorKeys?.includes(b.screenKey) ?? false) || (b.ancestorKeys?.includes(a.screenKey) ?? false);
|
|
116
|
+
};
|
|
117
|
+
function findLatestPendingIndex(stack, expectedSourceScreenKey) {
|
|
82
118
|
"worklet";
|
|
83
119
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const topIndex = stack.length - 1;
|
|
90
|
-
const topLink = topIndex >= 0 ? stack[topIndex] : null;
|
|
91
|
-
const source = {
|
|
92
|
-
screenKey,
|
|
93
|
-
ancestorKeys,
|
|
94
|
-
navigatorKey,
|
|
95
|
-
ancestorNavigatorKeys,
|
|
96
|
-
bounds,
|
|
97
|
-
styles
|
|
98
|
-
};
|
|
99
|
-
if (topLink && topLink.destination === null && isSameScreenFamily(topLink.source, source)) {
|
|
100
|
-
topLink.source = source;
|
|
101
|
-
return state;
|
|
120
|
+
for (let i = stack.length - 1; i >= 0; i--) {
|
|
121
|
+
const link = stack[i];
|
|
122
|
+
if (link.destination !== null) continue;
|
|
123
|
+
if (expectedSourceScreenKey && !(0, _matching.matchesScreenKey)(link.source, expectedSourceScreenKey)) {
|
|
124
|
+
continue;
|
|
102
125
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
});
|
|
107
|
-
trimLinkHistory(tagState);
|
|
108
|
-
return state;
|
|
109
|
-
});
|
|
126
|
+
return i;
|
|
127
|
+
}
|
|
128
|
+
return -1;
|
|
110
129
|
}
|
|
111
|
-
function
|
|
130
|
+
function findLatestSourceIndex(stack, expectedSourceScreenKey) {
|
|
112
131
|
"worklet";
|
|
113
132
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
const stack = tagState?.linkStack;
|
|
119
|
-
if (!stack || stack.length === 0) return state;
|
|
120
|
-
let targetIndex = -1;
|
|
121
|
-
for (let i = stack.length - 1; i >= 0; i--) {
|
|
122
|
-
const link = stack[i];
|
|
123
|
-
if (link.destination && (0, _matching.matchesScreenKey)(link.source, screenKey)) {
|
|
124
|
-
targetIndex = i;
|
|
125
|
-
break;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
if (targetIndex === -1) {
|
|
129
|
-
for (let i = stack.length - 1; i >= 0; i--) {
|
|
130
|
-
if ((0, _matching.matchesScreenKey)(stack[i].source, screenKey)) {
|
|
131
|
-
targetIndex = i;
|
|
132
|
-
break;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
if (targetIndex === -1) {
|
|
137
|
-
return state;
|
|
133
|
+
if (!expectedSourceScreenKey) return -1;
|
|
134
|
+
for (let i = stack.length - 1; i >= 0; i--) {
|
|
135
|
+
if ((0, _matching.matchesScreenKey)(stack[i].source, expectedSourceScreenKey)) {
|
|
136
|
+
return i;
|
|
138
137
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
ancestorKeys,
|
|
142
|
-
navigatorKey,
|
|
143
|
-
ancestorNavigatorKeys,
|
|
144
|
-
bounds,
|
|
145
|
-
styles
|
|
146
|
-
};
|
|
147
|
-
return state;
|
|
148
|
-
});
|
|
138
|
+
}
|
|
139
|
+
return -1;
|
|
149
140
|
}
|
|
150
|
-
|
|
141
|
+
function findLatestCompletedSourceIndex(stack, screenKey) {
|
|
151
142
|
"worklet";
|
|
152
143
|
|
|
144
|
+
if (!screenKey) return -1;
|
|
153
145
|
for (let i = stack.length - 1; i >= 0; i--) {
|
|
154
146
|
const link = stack[i];
|
|
155
|
-
if (link.destination
|
|
156
|
-
|
|
157
|
-
continue;
|
|
147
|
+
if (link.destination && (0, _matching.matchesScreenKey)(link.source, screenKey)) {
|
|
148
|
+
return i;
|
|
158
149
|
}
|
|
159
|
-
return i;
|
|
160
150
|
}
|
|
161
151
|
return -1;
|
|
162
|
-
}
|
|
163
|
-
|
|
152
|
+
}
|
|
153
|
+
function findLatestCompletedDestinationIndex(stack, screenKey) {
|
|
164
154
|
"worklet";
|
|
165
155
|
|
|
166
|
-
if (!
|
|
156
|
+
if (!screenKey) return -1;
|
|
167
157
|
for (let i = stack.length - 1; i >= 0; i--) {
|
|
168
|
-
|
|
158
|
+
const link = stack[i];
|
|
159
|
+
if (link.destination && (0, _matching.matchesScreenKey)(link.destination, screenKey)) {
|
|
169
160
|
return i;
|
|
170
161
|
}
|
|
171
162
|
}
|
|
172
163
|
return -1;
|
|
173
|
-
}
|
|
174
|
-
function
|
|
164
|
+
}
|
|
165
|
+
function selectSourceUpdateTargetIndex(stack, screenKey) {
|
|
166
|
+
"worklet";
|
|
167
|
+
|
|
168
|
+
const completedIndex = findLatestCompletedSourceIndex(stack, screenKey);
|
|
169
|
+
if (completedIndex !== -1) {
|
|
170
|
+
return completedIndex;
|
|
171
|
+
}
|
|
172
|
+
return findLatestSourceIndex(stack, screenKey);
|
|
173
|
+
}
|
|
174
|
+
function selectDestinationWriteTargetIndex(stack, screenKey, expectedSourceScreenKey) {
|
|
175
|
+
"worklet";
|
|
176
|
+
|
|
177
|
+
const completedIndex = findLatestCompletedDestinationIndex(stack, screenKey);
|
|
178
|
+
if (completedIndex !== -1) {
|
|
179
|
+
return completedIndex;
|
|
180
|
+
}
|
|
181
|
+
const pendingIndex = findLatestPendingIndex(stack, expectedSourceScreenKey);
|
|
182
|
+
if (pendingIndex !== -1) {
|
|
183
|
+
return pendingIndex;
|
|
184
|
+
}
|
|
185
|
+
return findLatestSourceIndex(stack, expectedSourceScreenKey);
|
|
186
|
+
}
|
|
187
|
+
function getEntry(tag, key) {
|
|
188
|
+
"worklet";
|
|
189
|
+
|
|
190
|
+
return findMatchingScreenEntry(_state.registry.get()[tag], key, () => true);
|
|
191
|
+
}
|
|
192
|
+
function getMeasuredEntry(tag, key) {
|
|
193
|
+
"worklet";
|
|
194
|
+
|
|
195
|
+
const entry = findMatchingScreenEntry(_state.registry.get()[tag], key, candidate => hasMeasuredEntry(candidate));
|
|
196
|
+
return entry ?? null;
|
|
197
|
+
}
|
|
198
|
+
function getEntryConfig(tag, screenKey) {
|
|
199
|
+
"worklet";
|
|
200
|
+
|
|
201
|
+
return getEntry(tag, screenKey)?.boundaryConfig ?? null;
|
|
202
|
+
}
|
|
203
|
+
function setEntry(tag, screenKey, patch) {
|
|
204
|
+
"worklet";
|
|
205
|
+
|
|
206
|
+
_state.registry.modify(state => {
|
|
207
|
+
"worklet";
|
|
208
|
+
|
|
209
|
+
const tagState = ensureTagState(state, tag);
|
|
210
|
+
const entry = ensureScreenEntry(tagState, screenKey);
|
|
211
|
+
applyEntryPatch(entry, patch);
|
|
212
|
+
return state;
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
function removeEntry(tag, screenKey) {
|
|
175
216
|
"worklet";
|
|
176
217
|
|
|
177
218
|
_state.registry.modify(state => {
|
|
178
219
|
"worklet";
|
|
179
220
|
|
|
180
221
|
const tagState = state[tag];
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
let targetIndex = findLatestPendingIndex(stack, expectedSourceScreenKey);
|
|
184
|
-
if (targetIndex === -1) {
|
|
185
|
-
targetIndex = findLatestSourceIndex(stack, expectedSourceScreenKey);
|
|
222
|
+
if (!tagState?.screens[screenKey]) {
|
|
223
|
+
return state;
|
|
186
224
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
225
|
+
delete tagState.screens[screenKey];
|
|
226
|
+
pruneTagState(state, tag);
|
|
227
|
+
return state;
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
function setSource(mode, tag, screenKey, bounds, styles = {}, ancestorKeys, navigatorKey, ancestorNavigatorKeys) {
|
|
231
|
+
"worklet";
|
|
232
|
+
|
|
233
|
+
_state.registry.modify(state => {
|
|
234
|
+
"worklet";
|
|
235
|
+
|
|
236
|
+
const source = {
|
|
190
237
|
screenKey,
|
|
191
238
|
ancestorKeys,
|
|
192
239
|
navigatorKey,
|
|
@@ -194,35 +241,43 @@ function setLinkDestination(tag, screenKey, bounds, styles = {}, ancestorKeys, e
|
|
|
194
241
|
bounds,
|
|
195
242
|
styles
|
|
196
243
|
};
|
|
244
|
+
if (mode === "capture") {
|
|
245
|
+
const tagState = ensureTagState(state, tag);
|
|
246
|
+
const stack = tagState.linkStack;
|
|
247
|
+
const topIndex = stack.length - 1;
|
|
248
|
+
const topLink = topIndex >= 0 ? stack[topIndex] : null;
|
|
249
|
+
if (topLink && topLink.destination === null && isSameScreenFamily(topLink.source, source)) {
|
|
250
|
+
topLink.source = source;
|
|
251
|
+
return state;
|
|
252
|
+
}
|
|
253
|
+
stack.push({
|
|
254
|
+
source,
|
|
255
|
+
destination: null
|
|
256
|
+
});
|
|
257
|
+
const overLimit = tagState.linkStack.length - LINK_HISTORY_LIMIT;
|
|
258
|
+
if (overLimit > 0) {
|
|
259
|
+
tagState.linkStack.splice(0, overLimit);
|
|
260
|
+
}
|
|
261
|
+
return state;
|
|
262
|
+
}
|
|
263
|
+
const stack = state[tag]?.linkStack;
|
|
264
|
+
if (!stack || stack.length === 0) return state;
|
|
265
|
+
const targetIndex = selectSourceUpdateTargetIndex(stack, screenKey);
|
|
266
|
+
if (targetIndex === -1) return state;
|
|
267
|
+
stack[targetIndex].source = source;
|
|
197
268
|
return state;
|
|
198
269
|
});
|
|
199
270
|
}
|
|
200
|
-
function
|
|
271
|
+
function setDestination(mode, tag, screenKey, bounds, styles = {}, ancestorKeys, expectedSourceScreenKey, navigatorKey, ancestorNavigatorKeys) {
|
|
201
272
|
"worklet";
|
|
202
273
|
|
|
203
274
|
_state.registry.modify(state => {
|
|
204
275
|
"worklet";
|
|
205
276
|
|
|
206
|
-
const
|
|
207
|
-
const stack = tagState?.linkStack;
|
|
277
|
+
const stack = state[tag]?.linkStack;
|
|
208
278
|
if (!stack || stack.length === 0) return state;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
const link = stack[i];
|
|
212
|
-
if (link.destination && (0, _matching.matchesScreenKey)(link.destination, screenKey)) {
|
|
213
|
-
targetIndex = i;
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
if (targetIndex === -1) {
|
|
218
|
-
targetIndex = findLatestPendingIndex(stack, expectedSourceScreenKey);
|
|
219
|
-
}
|
|
220
|
-
if (targetIndex === -1) {
|
|
221
|
-
targetIndex = findLatestSourceIndex(stack, expectedSourceScreenKey);
|
|
222
|
-
}
|
|
223
|
-
if (targetIndex === -1) {
|
|
224
|
-
return state;
|
|
225
|
-
}
|
|
279
|
+
const targetIndex = selectDestinationWriteTargetIndex(stack, mode === "refresh" ? screenKey : undefined, expectedSourceScreenKey);
|
|
280
|
+
if (targetIndex === -1) return state;
|
|
226
281
|
stack[targetIndex].destination = {
|
|
227
282
|
screenKey,
|
|
228
283
|
ancestorKeys,
|
|
@@ -237,7 +292,7 @@ function updateLinkDestination(tag, screenKey, bounds, styles = {}, ancestorKeys
|
|
|
237
292
|
function getActiveLink(tag, screenKey) {
|
|
238
293
|
"worklet";
|
|
239
294
|
|
|
240
|
-
const tagState = _state.registry.
|
|
295
|
+
const tagState = _state.registry.get()[tag];
|
|
241
296
|
const stack = tagState?.linkStack;
|
|
242
297
|
if (!stack || stack.length === 0) {
|
|
243
298
|
return null;
|
|
@@ -255,50 +310,20 @@ function getActiveLink(tag, screenKey) {
|
|
|
255
310
|
}
|
|
256
311
|
return null;
|
|
257
312
|
}
|
|
258
|
-
function
|
|
259
|
-
"worklet";
|
|
260
|
-
|
|
261
|
-
const tagState = _state.registry.value[tag];
|
|
262
|
-
const stack = tagState?.linkStack;
|
|
263
|
-
if (!stack || stack.length === 0) return false;
|
|
264
|
-
for (let i = stack.length - 1; i >= 0; i--) {
|
|
265
|
-
if (stack[i].destination === null) {
|
|
266
|
-
return true;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
return false;
|
|
270
|
-
}
|
|
271
|
-
function hasPendingLinkFromSource(tag, sourceScreenKey) {
|
|
272
|
-
"worklet";
|
|
273
|
-
|
|
274
|
-
const tagState = _state.registry.value[tag];
|
|
275
|
-
const stack = tagState?.linkStack;
|
|
276
|
-
if (!stack || stack.length === 0) return false;
|
|
277
|
-
for (let i = stack.length - 1; i >= 0; i--) {
|
|
278
|
-
const link = stack[i];
|
|
279
|
-
if (link.destination !== null) continue;
|
|
280
|
-
if ((0, _matching.matchesScreenKey)(link.source, sourceScreenKey)) return true;
|
|
281
|
-
}
|
|
282
|
-
return false;
|
|
283
|
-
}
|
|
284
|
-
function getLatestPendingSourceScreenKey(tag) {
|
|
313
|
+
function getPendingLink(tag, sourceScreenKey) {
|
|
285
314
|
"worklet";
|
|
286
315
|
|
|
287
|
-
const tagState = _state.registry.
|
|
316
|
+
const tagState = _state.registry.get()[tag];
|
|
288
317
|
const stack = tagState?.linkStack;
|
|
289
318
|
if (!stack || stack.length === 0) return null;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
return link.source.screenKey;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
return null;
|
|
319
|
+
const targetIndex = findLatestPendingIndex(stack, sourceScreenKey);
|
|
320
|
+
if (targetIndex === -1) return null;
|
|
321
|
+
return stack[targetIndex] ?? null;
|
|
297
322
|
}
|
|
298
323
|
function hasSourceLink(tag, screenKey) {
|
|
299
324
|
"worklet";
|
|
300
325
|
|
|
301
|
-
const tagState = _state.registry.
|
|
326
|
+
const tagState = _state.registry.get()[tag];
|
|
302
327
|
const stack = tagState?.linkStack;
|
|
303
328
|
if (!stack || stack.length === 0) return false;
|
|
304
329
|
for (let i = stack.length - 1; i >= 0; i--) {
|
|
@@ -309,7 +334,7 @@ function hasSourceLink(tag, screenKey) {
|
|
|
309
334
|
function hasDestinationLink(tag, screenKey) {
|
|
310
335
|
"worklet";
|
|
311
336
|
|
|
312
|
-
const tagState = _state.registry.
|
|
337
|
+
const tagState = _state.registry.get()[tag];
|
|
313
338
|
const stack = tagState?.linkStack;
|
|
314
339
|
if (!stack || stack.length === 0) return false;
|
|
315
340
|
for (let i = stack.length - 1; i >= 0; i--) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_matching","require","_state","LINK_HISTORY_LIMIT","ensureTagState","state","tag","createEmptyTagState","isSameScreenFamily","a","b","screenKey","ancestorKeys","includes","trimLinkHistory","tagState","overLimit","linkStack","length","splice","getSnapshot","key","registry","value","snapshots","snap","bounds","styles","registerSnapshot","navigatorKey","ancestorNavigatorKeys","modify","setLinkSource","stack","topIndex","topLink","source","destination","push","updateLinkSource","targetIndex","i","link","matchesScreenKey","findLatestPendingIndex","expectedSourceScreenKey","findLatestSourceIndex","setLinkDestination","targetLink","updateLinkDestination","getActiveLink","lastLink","hasPendingLink","hasPendingLinkFromSource","sourceScreenKey","getLatestPendingSourceScreenKey","hasSourceLink","hasDestinationLink"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/registry.ts"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AASA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,cAAc,GAAGA,CAACC,KAAoB,EAAEC,GAAU,KAAe;EACtE,SAAS;;EACT,IAAI,CAACD,KAAK,CAACC,GAAG,CAAC,EAAE;IAChBD,KAAK,CAACC,GAAG,CAAC,GAAG,IAAAC,0BAAmB,EAAC,CAAC;EACnC;EACA,OAAOF,KAAK,CAACC,GAAG,CAAC;AAClB,CAAC;AAED,MAAME,kBAAkB,GAAGA,CAC1BC,CAAuD,EACvDC,CAAuD,KAC1C;EACb,SAAS;;EACT,OACCD,CAAC,CAACE,SAAS,KAAKD,CAAC,CAACC,SAAS,KAC1BF,CAAC,CAACG,YAAY,EAAEC,QAAQ,CAACH,CAAC,CAACC,SAAS,CAAC,IAAI,KAAK,CAAC,KAC/CD,CAAC,CAACE,YAAY,EAAEC,QAAQ,CAACJ,CAAC,CAACE,SAAS,CAAC,IAAI,KAAK,CAAC;AAElD,CAAC;AAED,MAAMG,eAAe,GAAIC,QAAkB,IAAK;EAC/C,SAAS;;EACT,MAAMC,SAAS,GAAGD,QAAQ,CAACE,SAAS,CAACC,MAAM,GAAGf,kBAAkB;EAChE,IAAIa,SAAS,IAAI,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,CAAC,EAAEuB,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;IAC3C,IAAI,IAAAE,0BAAgB,EAACV,KAAK,CAACQ,CAAC,CAAC,CAACJ,WAAW,EAAE1B,SAAS,CAAC,EAAE,OAAO,IAAI;EACnE;EAEA,OAAO,KAAK;AACb","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_keys","require","_matching","_state","LINK_HISTORY_LIMIT","ensureTagState","state","tag","screens","linkStack","ensureScreenEntry","tagState","screenKey","bounds","styles","hasMeasuredEntry","entry","undefined","pruneTagState","hasAnyKeys","length","applyEntryPatch","patch","boundaryConfig","ancestorKeys","navigatorKey","ancestorNavigatorKeys","findMatchingScreenEntry","shouldMatch","direct","entryScreenKey","includes","isSameScreenFamily","a","b","findLatestPendingIndex","stack","expectedSourceScreenKey","i","link","destination","matchesScreenKey","source","findLatestSourceIndex","findLatestCompletedSourceIndex","findLatestCompletedDestinationIndex","selectSourceUpdateTargetIndex","completedIndex","selectDestinationWriteTargetIndex","pendingIndex","getEntry","key","registry","get","getMeasuredEntry","candidate","getEntryConfig","setEntry","modify","removeEntry","setSource","mode","topIndex","topLink","push","overLimit","splice","targetIndex","setDestination","getActiveLink","lastLink","getPendingLink","sourceScreenKey","hasSourceLink","hasDestinationLink"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/registry.ts"],"mappings":";;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAYA,IAAAE,MAAA,GAAAF,OAAA;AAEA,MAAMG,kBAAkB,GAAG,CAAC;AAK5B,MAAMC,cAAc,GAAGA,CAACC,KAAoB,EAAEC,GAAU,KAAe;EACtE,SAAS;;EACT,IAAI,CAACD,KAAK,CAACC,GAAG,CAAC,EAAE;IAChBD,KAAK,CAACC,GAAG,CAAC,GAAG;MACZC,OAAO,EAAE,CAAC,CAAC;MACXC,SAAS,EAAE;IACZ,CAAC;EACF;EACA,OA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,CAAC;EACpC,MAAM6B,KAAK,GAAGzB,QAAQ,EAAEF,SAAS;EACjC,IAAI,CAAC2B,KAAK,IAAIA,KAAK,CAAChB,MAAM,KAAK,CAAC,EAAE,OAAO,KAAK;EAE9C,KAAK,IAAIkB,CAAC,GAAGF,KAAK,CAAChB,MAAM,GAAG,CAAC,EAAEkB,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;IAC3C,IAAI,IAAAG,0BAAgB,EAACL,KAAK,CAACE,CAAC,CAAC,CAACE,WAAW,EAAE5B,SAAS,CAAC,EAAE,OAAO,IAAI;EACnE;EAEA,OAAO,KAAK;AACb","ignoreList":[]}
|
|
@@ -39,16 +39,14 @@ function findPendingLinkBySource(tagState, screenKey) {
|
|
|
39
39
|
function resolveTransitionPair(tag, context) {
|
|
40
40
|
"worklet";
|
|
41
41
|
|
|
42
|
-
const tagState = _state.registry.
|
|
42
|
+
const tagState = _state.registry.get()[tag];
|
|
43
43
|
const stack = tagState?.linkStack;
|
|
44
44
|
let matchedLink = null;
|
|
45
|
-
let usedPending = false;
|
|
46
45
|
if (tagState && stack && stack.length > 0) {
|
|
47
46
|
if (context.entering) {
|
|
48
47
|
matchedLink = findCompletedLinkByDestination(tagState, context.currentScreenKey);
|
|
49
48
|
if (!matchedLink) {
|
|
50
49
|
matchedLink = findPendingLinkBySource(tagState, context.previousScreenKey);
|
|
51
|
-
usedPending = !!matchedLink;
|
|
52
50
|
}
|
|
53
51
|
if (!matchedLink) {
|
|
54
52
|
matchedLink = findCompletedLinkBySource(tagState, context.previousScreenKey);
|
|
@@ -63,7 +61,6 @@ function resolveTransitionPair(tag, context) {
|
|
|
63
61
|
}
|
|
64
62
|
if (!matchedLink) {
|
|
65
63
|
matchedLink = findPendingLinkBySource(tagState, context.currentScreenKey);
|
|
66
|
-
usedPending = !!matchedLink;
|
|
67
64
|
}
|
|
68
65
|
}
|
|
69
66
|
}
|
|
@@ -79,8 +76,7 @@ function resolveTransitionPair(tag, context) {
|
|
|
79
76
|
sourceStyles,
|
|
80
77
|
destinationStyles,
|
|
81
78
|
sourceScreenKey,
|
|
82
|
-
destinationScreenKey
|
|
83
|
-
usedPending
|
|
79
|
+
destinationScreenKey
|
|
84
80
|
};
|
|
85
81
|
}
|
|
86
82
|
//# sourceMappingURL=resolver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_matching","require","_state","findLatestLink","tagState","predicate","stack","linkStack","i","length","link","findCompletedLinkByDestination","screenKey","destination","matchesScreenKey","findCompletedLinkBySource","source","findPendingLinkBySource","resolveTransitionPair","tag","context","registry","
|
|
1
|
+
{"version":3,"names":["_matching","require","_state","findLatestLink","tagState","predicate","stack","linkStack","i","length","link","findCompletedLinkByDestination","screenKey","destination","matchesScreenKey","findCompletedLinkBySource","source","findPendingLinkBySource","resolveTransitionPair","tag","context","registry","get","matchedLink","entering","currentScreenKey","previousScreenKey","nextScreenKey","sourceBounds","bounds","destinationBounds","sourceStyles","styles","destinationStyles","sourceScreenKey","destinationScreenKey"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/resolver.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AASA,IAAAC,MAAA,GAAAD,OAAA;AAEA,MAAME,cAAc,GAAGA,CACtBC,QAAkB,EAClBC,SAAqC,KACjB;EACpB,SAAS;;EACT,MAAMC,KAAK,GAAGF,QAAQ,CAACG,SAAS;EAChC,KAAK,IAAIC,CAAC,GAAGF,KAAK,CAACG,MAAM,GAAG,CAAC,EAAED,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;IAC3C,MAAME,IAAI,GAAGJ,KAAK,CAACE,CAAC,CAAC;IACrB,IAAIH,SAAS,CAACK,IAAI,CAAC,EAAE;MACpB,OAAOA,IAAI;IACZ;EACD;EACA,OAAO,IAAI;AACZ,CAAC;AAED,SAASC,8BAA8BA,CACtCP,QAAkB,EAClBQ,SAAqB,EACJ;EACjB,SAAS;;EACT,IAAI,CA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
exports.registry = exports.
|
|
6
|
+
exports.registry = exports.groups = exports.createEmptyTagState = void 0;
|
|
7
7
|
var _reactNativeReanimated = require("react-native-reanimated");
|
|
8
8
|
const createEmptyTagState = () => {
|
|
9
9
|
"worklet";
|
|
10
10
|
|
|
11
11
|
return {
|
|
12
|
-
|
|
12
|
+
screens: {},
|
|
13
13
|
linkStack: []
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.createEmptyTagState = createEmptyTagState;
|
|
17
17
|
const registry = exports.registry = (0, _reactNativeReanimated.makeMutable)({});
|
|
18
|
-
const presence = exports.presence = (0, _reactNativeReanimated.makeMutable)({});
|
|
19
18
|
const groups = exports.groups = (0, _reactNativeReanimated.makeMutable)({});
|
|
20
19
|
//# sourceMappingURL=state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeReanimated","require","createEmptyTagState","
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","createEmptyTagState","screens","linkStack","exports","registry","makeMutable","groups"],"sourceRoot":"../../../../../../src","sources":["shared/stores/bounds/internals/state.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAGO,MAAMC,mBAAmB,GAAGA,CAAA,KAAgB;EAClD,SAAS;;EACT,OAAO;IACNC,OAAO,EAAE,CAAC,CAAC;IACXC,SAAS,EAAE;EACZ,CAAC;AACF,CAAC;AAACC,OAAA,CAAAH,mBAAA,GAAAA,mBAAA;AAKK,MAAMI,QAAQ,GAAAD,OAAA,CAAAC,QAAA,GAAG,IAAAC,kCAAW,EAAgB,CAAC,CAAC,CAAC;AAC/C,MAAMC,MAAM,GAAAH,OAAA,CAAAG,MAAA,GAAG,IAAAD,kCAAW,EAAc,CAAC,CAAC,CAAC","ignoreList":[]}
|