react-native-screen-transitions 4.0.0-alpha.3 → 4.0.0-alpha.5
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/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +27 -15
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +3 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js +3 -5
- package/lib/commonjs/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js +5 -4
- package/lib/commonjs/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +4 -15
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +22 -24
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +3 -36
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -1
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/commonjs/components/boundary/utils/destination-signals.js +8 -4
- package/lib/commonjs/components/boundary/utils/destination-signals.js.map +1 -1
- package/lib/commonjs/components/boundary/utils/refresh-signals.js +2 -4
- package/lib/commonjs/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/commonjs/providers/screen/descriptors/descriptors.provider.js +3 -7
- package/lib/commonjs/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/commonjs/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -3
- package/lib/commonjs/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/commonjs/providers/screen/descriptors/helpers/get-ancestor-keys.js +3 -20
- package/lib/commonjs/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js +15 -14
- package/lib/commonjs/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js.map +1 -1
- package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js +17 -17
- package/lib/commonjs/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/commonjs/stores/bounds/internals/entries.js +27 -0
- package/lib/commonjs/stores/bounds/internals/entries.js.map +1 -1
- package/lib/commonjs/stores/bounds/internals/links.js +25 -0
- package/lib/commonjs/stores/bounds/internals/links.js.map +1 -1
- package/lib/commonjs/stores/bounds/internals/resolver.js +2 -12
- package/lib/commonjs/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/commonjs/utils/bounds/helpers/create-link-accessor.js +2 -2
- package/lib/commonjs/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js +30 -18
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-destination-measurement.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-source-measurement.js +3 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-initial-source-measurement.js.map +1 -1
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js +3 -5
- package/lib/module/components/boundary/hooks/lifecycles/use-refresh-boundary.js.map +1 -1
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js +5 -4
- package/lib/module/components/boundary/hooks/use-boundary-measurement.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js +4 -15
- package/lib/module/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js +22 -24
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js +3 -36
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js +2 -2
- package/lib/module/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.js.map +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js +1 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.js.map +1 -1
- package/lib/module/components/boundary/utils/destination-signals.js +8 -4
- package/lib/module/components/boundary/utils/destination-signals.js.map +1 -1
- package/lib/module/components/boundary/utils/refresh-signals.js +2 -4
- package/lib/module/components/boundary/utils/refresh-signals.js.map +1 -1
- package/lib/module/providers/screen/descriptors/descriptors.provider.js +4 -8
- package/lib/module/providers/screen/descriptors/descriptors.provider.js.map +1 -1
- package/lib/module/providers/screen/descriptors/helpers/derive-descriptor-derivations.js +1 -3
- package/lib/module/providers/screen/descriptors/helpers/derive-descriptor-derivations.js.map +1 -1
- package/lib/module/providers/screen/descriptors/helpers/get-ancestor-keys.js +3 -19
- package/lib/module/providers/screen/descriptors/helpers/get-ancestor-keys.js.map +1 -1
- package/lib/module/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js +15 -14
- package/lib/module/providers/screen/styles/helpers/resolve-interpolator-style-handoff.js.map +1 -1
- package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js +17 -17
- package/lib/module/providers/screen/styles/hooks/use-interpolated-style-maps.js.map +1 -1
- package/lib/module/stores/bounds/internals/entries.js +27 -1
- package/lib/module/stores/bounds/internals/entries.js.map +1 -1
- package/lib/module/stores/bounds/internals/links.js +25 -2
- package/lib/module/stores/bounds/internals/links.js.map +1 -1
- package/lib/module/stores/bounds/internals/resolver.js +3 -13
- package/lib/module/stores/bounds/internals/resolver.js.map +1 -1
- package/lib/module/utils/bounds/helpers/create-link-accessor.js +3 -3
- package/lib/module/utils/bounds/helpers/create-link-accessor.js.map +1 -1
- package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-destination-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/lifecycles/use-refresh-boundary.d.ts.map +1 -1
- package/lib/typescript/components/boundary/hooks/use-boundary-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts +1 -5
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.d.ts.map +1 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts +0 -2
- package/lib/typescript/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.d.ts.map +1 -1
- package/lib/typescript/components/boundary/utils/destination-signals.d.ts +2 -3
- package/lib/typescript/components/boundary/utils/destination-signals.d.ts.map +1 -1
- package/lib/typescript/components/boundary/utils/refresh-signals.d.ts +0 -2
- package/lib/typescript/components/boundary/utils/refresh-signals.d.ts.map +1 -1
- package/lib/typescript/providers/screen/descriptors/descriptors.provider.d.ts.map +1 -1
- package/lib/typescript/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts +1 -3
- package/lib/typescript/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map +1 -1
- package/lib/typescript/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts +0 -8
- package/lib/typescript/providers/screen/descriptors/helpers/get-ancestor-keys.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/helpers/resolve-interpolator-style-handoff.d.ts +1 -3
- package/lib/typescript/providers/screen/styles/helpers/resolve-interpolator-style-handoff.d.ts.map +1 -1
- package/lib/typescript/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts +4 -4
- package/lib/typescript/providers/screen/styles/hooks/use-interpolated-style-maps.d.ts.map +1 -1
- package/lib/typescript/stores/bounds/internals/entries.d.ts +2 -1
- package/lib/typescript/stores/bounds/internals/entries.d.ts.map +1 -1
- package/lib/typescript/stores/bounds/internals/links.d.ts +3 -1
- package/lib/typescript/stores/bounds/internals/links.d.ts.map +1 -1
- package/lib/typescript/stores/bounds/internals/resolver.d.ts.map +1 -1
- package/lib/typescript/utils/bounds/helpers/create-link-accessor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts +67 -24
- package/src/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts +6 -1
- package/src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts +8 -9
- package/src/components/boundary/hooks/use-boundary-measurement.ts +5 -4
- package/src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx +4 -20
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts +27 -37
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts +10 -57
- package/src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts +1 -8
- package/src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts +0 -3
- package/src/components/boundary/utils/destination-signals.ts +8 -8
- package/src/components/boundary/utils/refresh-signals.ts +2 -10
- package/src/providers/screen/descriptors/descriptors.provider.tsx +4 -11
- package/src/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts +0 -4
- package/src/providers/screen/descriptors/helpers/get-ancestor-keys.ts +3 -30
- package/src/providers/screen/styles/helpers/resolve-interpolator-style-handoff.ts +16 -16
- package/src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx +21 -24
- package/src/stores/bounds/internals/entries.ts +38 -1
- package/src/stores/bounds/internals/links.ts +36 -0
- package/src/stores/bounds/internals/resolver.ts +7 -21
- package/src/utils/bounds/helpers/create-link-accessor.ts +9 -3
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js +0 -18
- package/lib/commonjs/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +0 -1
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js +0 -13
- package/lib/module/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.js.map +0 -1
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts +0 -3
- package/lib/typescript/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.d.ts.map +0 -1
- package/src/components/boundary/portal/components/boundary-portal/helpers/has-local-slot.ts +0 -16
|
@@ -54,6 +54,32 @@ function getEntry(tag, key) {
|
|
|
54
54
|
|
|
55
55
|
return boundaryRegistry.get()[tag]?.screens[key] ?? null;
|
|
56
56
|
}
|
|
57
|
+
function getMatchingSourceScreenKey(tag, destinationScreenKey, preferredScreenKey, excludedScreenKeys) {
|
|
58
|
+
"worklet";
|
|
59
|
+
|
|
60
|
+
const screens = boundaryRegistry.get()[tag]?.screens;
|
|
61
|
+
if (!screens) return null;
|
|
62
|
+
const isExcluded = screenKey => {
|
|
63
|
+
"worklet";
|
|
64
|
+
|
|
65
|
+
for (let index = 0; index < (excludedScreenKeys?.length ?? 0); index++) {
|
|
66
|
+
if (excludedScreenKeys?.[index] === screenKey) {
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return false;
|
|
71
|
+
};
|
|
72
|
+
if (preferredScreenKey && preferredScreenKey !== destinationScreenKey && !isExcluded(preferredScreenKey) && screens[preferredScreenKey]) {
|
|
73
|
+
return preferredScreenKey;
|
|
74
|
+
}
|
|
75
|
+
let latestScreenKey = null;
|
|
76
|
+
for (const screenKey in screens) {
|
|
77
|
+
if (screenKey !== destinationScreenKey && !isExcluded(screenKey)) {
|
|
78
|
+
latestScreenKey = screenKey;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return latestScreenKey;
|
|
82
|
+
}
|
|
57
83
|
function setEntry(tag, screenKey, patch) {
|
|
58
84
|
"worklet";
|
|
59
85
|
|
|
@@ -82,5 +108,5 @@ function removeEntry(tag, screenKey) {
|
|
|
82
108
|
return state;
|
|
83
109
|
});
|
|
84
110
|
}
|
|
85
|
-
export { getEntry, removeEntry, setEntry };
|
|
111
|
+
export { getEntry, getMatchingSourceScreenKey, removeEntry, setEntry };
|
|
86
112
|
//# sourceMappingURL=entries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["hasAnyKeys","boundaryRegistry","ensureBoundaryState","state","tag","screens","ensureScreenEntry","screenKey","tagState","bounds","styles","applyEntryPatch","entry","patch","undefined","boundaryConfig","handoff","escapeClipping","getEntry","key","get","setEntry","modify","removeEntry"],"sourceRoot":"../../../../../src","sources":["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,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AAOL,KAAK,CAACK,cAAc;EAC5B,CAAC,MAAM,IAAIJ,KAAK,CAACI,cAAc,KAAKH,SAAS,EAAE;IAC9CF,KAAK,CAACK,cAAc,GAAGJ,KAAK,CAACI,cAAc;EAC5C;AACD,CAAC;AAED,SAASC,QAAQA,CAACd,GAAU,EAAEe,GAAc,EAAgB;EAC3D,SAAS;;EACT,OAAOlB,gBAAgB,CAACmB,GAAG,CAAC,CAAC,CAAChB,GAAG,CAAC,EAAEC,OAAO,CAACc,GAAG,CAAC,IAAI,IAAI;AACzD;AAEA,SAASE,QAAQA,
|
|
1
|
+
{"version":3,"names":["hasAnyKeys","boundaryRegistry","ensureBoundaryState","state","tag","screens","ensureScreenEntry","screenKey","tagState","bounds","styles","applyEntryPatch","entry","patch","undefined","boundaryConfig","handoff","escapeClipping","getEntry","key","get","getMatchingSourceScreenKey","destinationScreenKey","preferredScreenKey","excludedScreenKeys","isExcluded","index","length","latestScreenKey","setEntry","modify","removeEntry"],"sourceRoot":"../../../../../src","sources":["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,CAA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EACb,CAAC,CAAC;AACH;AAEA,SAAS4B,WAAWA,CAAC3B,GAAU,EAAEG,SAAoB,EAAE;EACtD,SAAS;;EACTN,gBAAgB,CAAC6B,MAAM,CAAkC3B,KAAQ,IAAQ;IACxE,SAAS;;IACT,MAAMK,QAAQ,GAAGL,KAAK,CAACC,GAAG,CAAC;IAC3B,IAAI,CAACI,QAAQ,EAAEH,OAAO,CAACE,SAAS,CAAC,EAAE;MAClC,OAAOJ,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,SAASe,QAAQ,EAAEG,0BAA0B,EAAEU,WAAW,EAAEF,QAAQ","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { createGroupTag, ensurePairGroups, ensurePairLinks, ensurePairSourceRequests, getGroupKeyFromTag, getLinkKeyFromTag, getActiveGroupId as getPairActiveGroupId, getDestination as getPairDestination, getLink as getPairLink, getSource as getPairSource } from "../helpers/link-pairs.helpers";
|
|
3
|
+
import { createGroupTag, ensurePairGroups, ensurePairLinks, ensurePairSourceRequests, getDestinationScreenKeyFromPairKey, getGroupKeyFromTag, getLinkKeyFromTag, getActiveGroupId as getPairActiveGroupId, getDestination as getPairDestination, getLink as getPairLink, getSource as getPairSource, getSourceScreenKeyFromPairKey } from "../helpers/link-pairs.helpers";
|
|
4
4
|
import { pairs } from "./state";
|
|
5
5
|
const syncLinkStatus = link => {
|
|
6
6
|
"worklet";
|
|
@@ -271,6 +271,29 @@ function getResolvedLink(pairKey, tag) {
|
|
|
271
271
|
link
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
|
+
function getPairKeyForSource(tag, screenKey) {
|
|
275
|
+
"worklet";
|
|
276
|
+
|
|
277
|
+
const state = pairs.get();
|
|
278
|
+
const linkKey = getLinkKeyFromTag(tag);
|
|
279
|
+
for (const pairKey in state) {
|
|
280
|
+
if (getSourceScreenKeyFromPairKey(pairKey) !== screenKey) continue;
|
|
281
|
+
if (getResolvedLink(pairKey, tag).link?.destination || state[pairKey]?.sourceRequests?.[linkKey]) {
|
|
282
|
+
return pairKey;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
return null;
|
|
286
|
+
}
|
|
287
|
+
function getPairKeyForDestination(tag, screenKey) {
|
|
288
|
+
"worklet";
|
|
289
|
+
|
|
290
|
+
const state = pairs.get();
|
|
291
|
+
for (const pairKey in state) {
|
|
292
|
+
if (getDestinationScreenKeyFromPairKey(pairKey) !== screenKey) continue;
|
|
293
|
+
if (getResolvedLink(pairKey, tag).link) return pairKey;
|
|
294
|
+
}
|
|
295
|
+
return null;
|
|
296
|
+
}
|
|
274
297
|
function getSource(pairKey, tag) {
|
|
275
298
|
"worklet";
|
|
276
299
|
|
|
@@ -281,5 +304,5 @@ function getDestination(pairKey, tag) {
|
|
|
281
304
|
|
|
282
305
|
return getPairDestination(pairs.get(), pairKey, getLinkKeyFromTag(tag));
|
|
283
306
|
}
|
|
284
|
-
export { getActiveGroupId, getDestination, getLink, getResolvedLink, getSource, requestSourceMeasure, setActiveGroupId, setDestination, setSource };
|
|
307
|
+
export { getActiveGroupId, getDestination, getLink, getPairKeyForDestination, getPairKeyForSource, getResolvedLink, getSource, requestSourceMeasure, setActiveGroupId, setDestination, setSource };
|
|
285
308
|
//# sourceMappingURL=links.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createGroupTag","ensurePairGroups","ensurePairLinks","ensurePairSourceRequests","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","pairs","syncLinkStatus","link","status","source","destination","isSharedValueLike","value","_isReanimatedSharedValue","snapshotSharedValue","snapshotTransformArrayValue","snapshot","index","length","snapshotValue","snapshotTransformEntryValue","undefined","push","Array","isArray","snapshotTransformItem","hasValue","key","snapshotTransform","snapshotStyles","styles","transform","createLinkSide","screenKey","bounds","runtimeFlags","handoff","escapeClipping","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","setSource","tag","modify","pairLinks","initialSource","sourceRequests","setDestination","setActiveGroupId","requestSourceMeasure","get","hasSourceLink","getResolvedLink","initialLink"],"sourceRoot":"../../../../../src","sources":["stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,EACfC,wBAAwB,EACxBC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,QACpB,+BAA+B;AAYtC,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;AAQD,MAAMC,iBAAiB,GAAIC,KAAc,IAA+B;EACvE,SAAS;;EACT,OACEA,KAAK,EAAsCC,wBAAwB,KACpE,IAAI;AAEN,CAAC;AAED,MAAMC,mBAAmB,GAAIF,KAAsB,IAAc;EAChE,SAAS;;EACT,OAAOA,KAAK,CAACA,KAAK;AACnB,CAAC;AAED,MAAMG,2BAA2B,GAChCH,KAAgB,IACW;EAC3B,SAAS;;EACT,MAAMI,QAAmB,GAAG,EAAE;EAE9B,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGL,KAAK,CAACM,MAAM,EAAED,KAAK,EAAE,EAAE;IAClD,MAAME,aAAa,GAAG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","ensurePairGroups","ensurePairLinks","ensurePairSourceRequests","getDestinationScreenKeyFromPairKey","getGroupKeyFromTag","getLinkKeyFromTag","getActiveGroupId","getPairActiveGroupId","getDestination","getPairDestination","getLink","getPairLink","getSource","getPairSource","getSourceScreenKeyFromPairKey","pairs","syncLinkStatus","link","status","source","destination","isSharedValueLike","value","_isReanimatedSharedValue","snapshotSharedValue","snapshotTransformArrayValue","snapshot","index","length","snapshotValue","snapshotTransformEntryValue","undefined","push","Array","isArray","snapshotTransformItem","hasValue","key","snapshotTransform","snapshotStyles","styles","transform","createLinkSide","screenKey","bounds","runtimeFlags","handoff","escapeClipping","writePairLink","state","pairKey","linkKey","writeGroup","group","activeId","initialId","previousInitialId","groups","writeDestination","existingLink","initialDestination","setSource","tag","modify","pairLinks","initialSource","sourceRequests","setDestination","setActiveGroupId","requestSourceMeasure","get","hasSourceLink","getResolvedLink","initialLink","getPairKeyForSource","getPairKeyForDestination"],"sourceRoot":"../../../../../src","sources":["stores/bounds/internals/links.ts"],"mappings":";;AACA,SACCA,cAAc,EACdC,gBAAgB,EAChBC,eAAe,EACfC,wBAAwB,EACxBC,kCAAkC,EAClCC,kBAAkB,EAClBC,iBAAiB,EACjBC,gBAAgB,IAAIC,oBAAoB,EACxCC,cAAc,IAAIC,kBAAkB,EACpCC,OAAO,IAAIC,WAAW,EACtBC,SAAS,IAAIC,aAAa,EAC1BC,6BAA6B,QACvB,+BAA+B;AAYtC,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;AAQD,MAAMC,iBAAiB,GAAIC,KAAc,IAA+B;EACvE,SAAS;;EACT,OACEA,KAAK,EAAsCC,wBAAwB,KACpE,IAAI;AAEN,CAAC;AAED,MAAMC,mBAAmB,GA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./links";
|
|
5
|
-
function resolvePairKey(context) {
|
|
6
|
-
"worklet";
|
|
7
|
-
|
|
8
|
-
if (context.entering) {
|
|
9
|
-
if (!context.previousScreenKey || !context.currentScreenKey) return null;
|
|
10
|
-
return createScreenPairKey(context.previousScreenKey, context.currentScreenKey);
|
|
11
|
-
}
|
|
12
|
-
if (!context.currentScreenKey || !context.nextScreenKey) return null;
|
|
13
|
-
return createScreenPairKey(context.currentScreenKey, context.nextScreenKey);
|
|
14
|
-
}
|
|
3
|
+
import { getPairKeyForDestination, getResolvedLink } from "./links";
|
|
15
4
|
function resolveTransitionPair(tag, context) {
|
|
16
5
|
"worklet";
|
|
17
6
|
|
|
18
|
-
const
|
|
7
|
+
const destinationScreenKey = context.entering ? context.currentScreenKey : context.nextScreenKey;
|
|
8
|
+
const pairKey = destinationScreenKey ? getPairKeyForDestination(tag, destinationScreenKey) : null;
|
|
19
9
|
const matchedLink = pairKey ? getResolvedLink(pairKey, tag).link : null;
|
|
20
10
|
return {
|
|
21
11
|
sourceBounds: matchedLink?.source?.bounds ?? null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["getPairKeyForDestination","getResolvedLink","resolveTransitionPair","tag","context","destinationScreenKey","entering","currentScreenKey","nextScreenKey","pairKey","matchedLink","link","sourceBounds","source","bounds","destinationBounds","destination","sourceStyles","styles","destinationStyles","sourceScreenKey","screenKey"],"sourceRoot":"../../../../../src","sources":["stores/bounds/internals/resolver.ts"],"mappings":";;AAKA,SAASA,wBAAwB,EAAEC,eAAe,QAAQ,SAAS;AAEnE,SAASC,qBAAqBA,CAC7BC,GAAU,EACVC,OAAiC,EACR;EACzB,SAAS;;EACT,MAAMC,oBAAoB,GAAGD,OAAO,CAACE,QAAQ,GAC1CF,OAAO,CAACG,gBAAgB,GACxBH,OAAO,CAACI,aAAa;EACxB,MAAMC,OAAO,GAAGJ,oBAAoB,GACjCL,wBAAwB,CAACG,GAAG,EAAEE,oBAAoB,CAAC,GACnD,IAAI;EACP,MAAMK,WAAW,GAAGD,OAAO,GAAGR,eAAe,CAACQ,OAAO,EAAEN,GAAG,CAAC,CAACQ,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;IACvDhB,oBAAoB,EAAEK,WAAW,EAAEM,WAAW,EAAEK,SAAS,IAAI;EAC9D,CAAC;AACF;AAEA,SAASnB,qBAAqB","ignoreList":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { getResolvedLink } from "../../../stores/bounds/internals/links";
|
|
4
|
-
import { resolveBoundsPairKey } from "./resolve-bounds-pair-key";
|
|
3
|
+
import { getPairKeyForDestination, getResolvedLink } from "../../../stores/bounds/internals/links";
|
|
5
4
|
export const createLinkAccessor = getProps => {
|
|
6
5
|
"worklet";
|
|
7
6
|
|
|
@@ -10,7 +9,8 @@ export const createLinkAccessor = getProps => {
|
|
|
10
9
|
|
|
11
10
|
const props = getProps();
|
|
12
11
|
const stringTag = String(tag);
|
|
13
|
-
const
|
|
12
|
+
const destinationScreenKey = props.next?.route.key ?? props.current?.route.key;
|
|
13
|
+
const pairKey = destinationScreenKey ? getPairKeyForDestination(stringTag, destinationScreenKey) : null;
|
|
14
14
|
if (!pairKey) return null;
|
|
15
15
|
const resolved = getResolvedLink(pairKey, stringTag);
|
|
16
16
|
return resolved.link ? {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["getPairKeyForDestination","getResolvedLink","createLinkAccessor","getProps","getLink","tag","props","stringTag","String","destinationScreenKey","next","route","key","current","pairKey","resolved","link","id"],"sourceRoot":"../../../../../src","sources":["utils/bounds/helpers/create-link-accessor.ts"],"mappings":";;AAAA,SACCA,wBAAwB,EACxBC,eAAe,QACT,wCAAwC;AAa/C,OAAO,MAAMC,kBAAkB,GAAIC,QAAkB,IAAmB;EACvE,SAAS;;EAET,MAAMC,OAAO,GAAIC,GAAY,IAAwB;IACpD,SAAS;;IACT,MAAMC,KAAK,GAAGH,QAAQ,CAAC,CAAC;IACxB,MAAMI,SAAS,GAAGC,MAAM,CAACH,GAAG,CAAC;IAC7B,MAAMI,oBAAoB,GACzBH,KAAK,CAACI,IAAI,EAAEC,KAAK,CAACC,GAAG,IAAIN,KAAK,CAACO,OAAO,EAAEF,KAAK,CAACC,GAAG;IAClD,MAAME,OAAO,GAAGL,oBAAoB,GACjCT,wBAAwB,CAACO,SAAS,EAAEE,oBAAoB,CAAC,GACzD,IAAI;IACP,IAAI,CAACK,OAAO,EAAE,OAAO,IAAI;IAEzB,MAAMC,QAAQ,GAAGd,eAAe,CAACa,OAAO,EAAEP,SAAS,CAAC;IACpD,OAAOQ,QAAQ,CAACC,IAAI,GACjB;MACAC,EAAE,EAAEF,QAAQ,CAACV,GAAG;MAChB,GAAGU,QAAQ,CAACC;IACb,CAAC,GACA,IAAI;EACR,CAAC;EAED,OAAO;IACNZ;EACD,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-initial-destination-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/hooks/lifecycles/use-initial-destination-measurement.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAanD,UAAU,sCAAsC;IAC/C,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,gCAAgC,GAAI,yDAK9C,sCAAsC,SAsOxC,CAAC"}
|
package/lib/typescript/components/boundary/hooks/lifecycles/use-initial-source-measurement.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-initial-source-measurement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/hooks/lifecycles/use-initial-source-measurement.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,eAAO,MAAM,2BAA2B,GAAI,QAAQ;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,QAAQ,EAAE,QAAQ,CAAC;CACnB,SAsCA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-refresh-boundary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/boundary/hooks/lifecycles/use-refresh-boundary.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,UAAU,wBAAwB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,eAAe,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,GAAI,yCAIhC,wBAAwB,SAwD1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-measurement.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/hooks/use-boundary-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,UAAU,4BAA4B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB,2EAA2E;IAC3E,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,+GAUpC,4BAA4B,
|
|
1
|
+
{"version":3,"file":"use-boundary-measurement.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/hooks/use-boundary-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAOpD,UAAU,4BAA4B;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB,2EAA2E;IAC3E,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;IAC/B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,+GAUpC,4BAA4B,SAiD9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/components/portal-boundary-host.tsx"],"names":[],"mappings":"AACA,OAAO,EAEN,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,MAAM,cAAc,CAAC;AActB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAMrF,KAAK,uBAAuB,GAAG;IAC9B,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAG5B,uBAAuB,wCAiGxB,CAAC"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { type SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { LocalStyleLayers } from "../../../../../../providers/screen/styles/helpers/resolve-slot-styles";
|
|
3
|
-
import type { ScreenPairKey } from "../../../../../../stores/bounds/types";
|
|
4
2
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
|
|
5
3
|
type UseActivePortalBoundaryHostParams = {
|
|
6
4
|
boundaryId: string;
|
|
7
5
|
currentScreenKey: string;
|
|
8
6
|
escapeHostKey?: string;
|
|
9
|
-
localStylesMaps: SharedValue<LocalStyleLayers>;
|
|
10
7
|
portalHostName: SharedValue<string | null>;
|
|
11
8
|
portalHostReady: SharedValue<boolean>;
|
|
12
9
|
slotsMap: SharedValue<NormalizedTransitionInterpolatedStyle>;
|
|
13
|
-
sourcePairKey?: ScreenPairKey;
|
|
14
10
|
};
|
|
15
|
-
export declare const useActivePortalBoundaryHost: ({ boundaryId, currentScreenKey, escapeHostKey,
|
|
11
|
+
export declare const useActivePortalBoundaryHost: ({ boundaryId, currentScreenKey, escapeHostKey, portalHostName, portalHostReady, slotsMap, }: UseActivePortalBoundaryHostParams) => void;
|
|
16
12
|
export {};
|
|
17
13
|
//# sourceMappingURL=use-active-portal-boundary-host.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-active-portal-boundary-host.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-active-portal-boundary-host.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAuB,MAAM,yBAAyB,CAAC;AAIhF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAOrG,KAAK,iCAAiC,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3C,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAMF,eAAO,MAAM,2BAA2B,GAAI,6FAOzC,iCAAiC,SAuEnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-boundary-portal-attachment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-boundary-portal-attachment.ts"],"names":[],"mappings":"AAQA,UAAU,iCAAiC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,2BAA2B,GAAI,iBAEzC,iCAAiC;;;;CA0CnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAGN,KAAK,WAAW,EAMhB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-host-measurement.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/hooks/use-host-measurement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAGN,KAAK,WAAW,EAMhB,MAAM,yBAAyB,CAAC;AAejC,KAAK,wBAAwB,GAAG;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,oGAQhC,wBAAwB;;CA6F1B,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { SharedValue } from "react-native-reanimated";
|
|
2
|
-
import type { LocalStyleLayers } from "../../../../../../providers/screen/styles/helpers/resolve-slot-styles";
|
|
3
2
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../../../../types/animation.types";
|
|
4
3
|
export type ActivePortalBoundaryHost = {
|
|
5
4
|
boundaryId: string;
|
|
6
5
|
hostKey: string;
|
|
7
|
-
localStylesMaps: SharedValue<LocalStyleLayers>;
|
|
8
6
|
pairKey: string;
|
|
9
7
|
portalHostName: string;
|
|
10
8
|
portalHostReady: SharedValue<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"portal-boundary-host.store.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/boundary/portal/components/boundary-portal/stores/portal-boundary-host.store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAErG,MAAM,MAAM,wBAAwB,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,WAAW,CAAC,qCAAqC,CAAC,CAAC;CAC7D,CAAC;AAoDF,eAAO,MAAM,uBAAuB,GAAI,MAAM,wBAAwB,SAQrE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC3C,gBAAgB,MAAM,GAAG,IAAI,GAAG,SAAS,SAOzC,CAAC;AAUF,eAAO,MAAM,4BAA4B,GAAI,SAAS,MAAM,+BAM3D,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import type { LinkPairsState, ScreenPairKey } from "../../../stores/bounds/types";
|
|
2
2
|
export type InitialDestinationMeasurementAction = "wait" | "release" | "measure" | "complete";
|
|
3
3
|
export type InitialDestinationMeasurementSignal = {
|
|
4
|
-
pairKey: ScreenPairKey;
|
|
4
|
+
pairKey: ScreenPairKey | null;
|
|
5
5
|
action: InitialDestinationMeasurementAction;
|
|
6
6
|
};
|
|
7
7
|
export declare const getInitialDestinationMeasurementSignal: (params: {
|
|
8
8
|
enabled: boolean;
|
|
9
|
-
|
|
10
|
-
ancestorDestinationPairKey?: ScreenPairKey;
|
|
9
|
+
pairKey?: ScreenPairKey;
|
|
11
10
|
linkId: string;
|
|
12
11
|
group?: string;
|
|
13
12
|
destinationPresent: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/utils/destination-signals.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,mCAAmC,GAC5C,MAAM,GACN,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAEd,MAAM,MAAM,mCAAmC,GAAG;IACjD,OAAO,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"destination-signals.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/utils/destination-signals.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,mCAAmC,GAC5C,MAAM,GACN,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAEd,MAAM,MAAM,mCAAmC,GAAG;IACjD,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,MAAM,EAAE,mCAAmC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,sCAAsC,GAAI,QAAQ;IAC9D,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,mCAAmC,GAAG,IA8CzC,CAAC"}
|
|
@@ -8,8 +8,6 @@ export declare const getRefreshBoundarySignal: (params: {
|
|
|
8
8
|
currentScreenKey: string;
|
|
9
9
|
sourcePairKey?: ScreenPairKey;
|
|
10
10
|
destinationPairKey?: ScreenPairKey;
|
|
11
|
-
ancestorDestinationPairKey?: ScreenPairKey;
|
|
12
|
-
nextScreenKey?: string;
|
|
13
11
|
linkId: string;
|
|
14
12
|
group?: string;
|
|
15
13
|
shouldRefresh: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/utils/refresh-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,
|
|
1
|
+
{"version":3,"file":"refresh-signals.d.ts","sourceRoot":"","sources":["../../../../../src/components/boundary/utils/refresh-signals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,cAAc,EACd,aAAa,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAK9C,KAAK,qBAAqB,GAAG,aAAa,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiBF,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC3B,KAAG,qBAAqB,GAAG,IA4F3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptors.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/descriptors/descriptors.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,uBAAuB,CACvC,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,iCAAiC,GAAG,qBAAqB,CAAC;AAEtE,UAAU,oBAAoB,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc,CAClD,SAAQ,uBAAuB,CAAC,WAAW,CAAC;IAC7C,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,EAAE,iCAAiC,CAAC;IAC/C,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,KAAK,wBAAwB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAQ,mBAAmB,gDAAE,mBAAmB;;;
|
|
1
|
+
{"version":3,"file":"descriptors.provider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/screen/descriptors/descriptors.provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAEjD,MAAM,WAAW,uBAAuB,CACvC,WAAW,SAAS,cAAc,GAAG,cAAc;IAEnD,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,MAAM,iCAAiC,GAAG,qBAAqB,CAAC;AAEtE,UAAU,oBAAoB,CAC7B,WAAW,SAAS,cAAc,GAAG,cAAc,CAClD,SAAQ,uBAAuB,CAAC,WAAW,CAAC;IAC7C,WAAW,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,EAAE,iCAAiC,CAAC;IAC/C,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,KAAK,wBAAwB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAQ,mBAAmB,gDAAE,mBAAmB;;;CAuEtD,CAAC"}
|
package/lib/typescript/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export interface DescriptorDerivations {
|
|
|
6
6
|
nextScreenKey?: string;
|
|
7
7
|
sourcePairKey?: ScreenPairKey;
|
|
8
8
|
destinationPairKey?: ScreenPairKey;
|
|
9
|
-
ancestorDestinationPairKey?: ScreenPairKey;
|
|
10
9
|
parentScreenKey?: string;
|
|
11
10
|
isFirstKey: boolean;
|
|
12
11
|
isTopMostScreen: boolean;
|
|
@@ -18,8 +17,7 @@ interface Params {
|
|
|
18
17
|
current: BaseStackDescriptor;
|
|
19
18
|
next?: BaseStackDescriptor;
|
|
20
19
|
ancestorKeys: string[];
|
|
21
|
-
ancestorDestinationPairKey?: ScreenPairKey;
|
|
22
20
|
}
|
|
23
|
-
export declare function deriveDescriptorDerivations({ previous, current, next, ancestorKeys,
|
|
21
|
+
export declare function deriveDescriptorDerivations({ previous, current, next, ancestorKeys, }: Params): DescriptorDerivations;
|
|
24
22
|
export {};
|
|
25
23
|
//# sourceMappingURL=derive-descriptor-derivations.d.ts.map
|
package/lib/typescript/providers/screen/descriptors/helpers/derive-descriptor-derivations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derive-descriptor-derivations.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,MAAM,WAAW,qBAAqB;IACrC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,
|
|
1
|
+
{"version":3,"file":"derive-descriptor-derivations.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/descriptors/helpers/derive-descriptor-derivations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,MAAM,WAAW,qBAAqB;IACrC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,yBAAyB,EAAE,OAAO,CAAC;CACnC;AAED,UAAU,MAAM;IACf,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,YAAY,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,wBAAgB,2BAA2B,CAAC,EAC3C,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,YAAY,GACZ,EAAE,MAAM,GAAG,qBAAqB,CAgChC"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import type { ScreenPairKey } from "../../../../stores/bounds/types";
|
|
2
1
|
import type { BaseStackDescriptor } from "../../../../types/stack.types";
|
|
3
|
-
export interface AncestorKeyState {
|
|
4
|
-
ancestorKeys: string[];
|
|
5
|
-
ancestorDestinationPairKey?: ScreenPairKey;
|
|
6
|
-
}
|
|
7
2
|
/**
|
|
8
3
|
* Builds nested navigator ancestor keys from immediate parent to root.
|
|
9
|
-
* The nearest ancestor destination pair lets child routes attach measurements
|
|
10
|
-
* to the transition owned by the parent stack.
|
|
11
4
|
*/
|
|
12
|
-
export declare function getAncestorKeyState(current: BaseStackDescriptor): AncestorKeyState;
|
|
13
5
|
export declare function getAncestorKeys(current: BaseStackDescriptor): string[];
|
|
14
6
|
//# sourceMappingURL=get-ancestor-keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ancestor-keys.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/descriptors/helpers/get-ancestor-keys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-ancestor-keys.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/descriptors/helpers/get-ancestor-keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,EAAE,CAsBtE"}
|
package/lib/typescript/providers/screen/styles/helpers/resolve-interpolator-style-handoff.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { NormalizedTransitionInterpolatedStyle } from "../../../../types/animation.types";
|
|
2
2
|
import type { LocalStyleLayers } from "./resolve-slot-styles";
|
|
3
|
-
export declare const resolveInterpolatorStyleHandoff: ({ currentOwnsInterpolator, currentStylesMap, nextStylesMap,
|
|
3
|
+
export declare const resolveInterpolatorStyleHandoff: ({ currentOwnsInterpolator, currentStylesMap, nextStylesMap, }: {
|
|
4
4
|
currentOwnsInterpolator: boolean;
|
|
5
5
|
currentStylesMap: NormalizedTransitionInterpolatedStyle | undefined;
|
|
6
6
|
nextStylesMap: NormalizedTransitionInterpolatedStyle | undefined;
|
|
7
|
-
frozenCurrentStylesMap: NormalizedTransitionInterpolatedStyle;
|
|
8
7
|
}) => {
|
|
9
8
|
localStylesMaps: LocalStyleLayers;
|
|
10
|
-
nextFrozenCurrentStylesMap: NormalizedTransitionInterpolatedStyle;
|
|
11
9
|
};
|
|
12
10
|
//# sourceMappingURL=resolve-interpolator-style-handoff.d.ts.map
|
package/lib/typescript/providers/screen/styles/helpers/resolve-interpolator-style-handoff.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-interpolator-style-handoff.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/helpers/resolve-interpolator-style-handoff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAiG9D,eAAO,MAAM,+BAA+B,GAAI
|
|
1
|
+
{"version":3,"file":"resolve-interpolator-style-handoff.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/helpers/resolve-interpolator-style-handoff.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,qCAAqC,EAErC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAiG9D,eAAO,MAAM,+BAA+B,GAAI,+DAI7C;IACF,uBAAuB,EAAE,OAAO,CAAC;IACjC,gBAAgB,EAAE,qCAAqC,GAAG,SAAS,CAAC;IACpE,aAAa,EAAE,qCAAqC,GAAG,SAAS,CAAC;CACjE,KAAG;IACH,eAAe,EAAE,gBAAgB,CAAC;CA2BlC,CAAC"}
|
|
@@ -16,10 +16,10 @@ import type { LocalStyleLayers } from "../helpers/resolve-slot-styles";
|
|
|
16
16
|
* normal interpolator selection once the gesture-driven close is no longer in
|
|
17
17
|
* play.
|
|
18
18
|
*
|
|
19
|
-
* At an ownership handoff, the
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* At an ownership handoff, the current interpolator remains live but is
|
|
20
|
+
* evaluated without the next-screen relationship. The next owner replaces
|
|
21
|
+
* matching scalar keys and composes its live transforms after the current
|
|
22
|
+
* screen's self-owned transforms.
|
|
23
23
|
*/
|
|
24
24
|
export declare const useInterpolatedStylesMap: ({ enabled, visibilityBlocked, }: {
|
|
25
25
|
enabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAIhB,MAAM,yBAAyB,CAAC;AA2BjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AA8EvE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,wBAAwB,GAAI,iCAGtC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC;;;
|
|
1
|
+
{"version":3,"file":"use-interpolated-style-maps.d.ts","sourceRoot":"","sources":["../../../../../../src/providers/screen/styles/hooks/use-interpolated-style-maps.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,WAAW,EAIhB,MAAM,yBAAyB,CAAC;AA2BjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AA8EvE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,wBAAwB,GAAI,iCAGtC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACxC;;;CAuMA,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Entry, EntryPatch, ScreenKey, TagID } from "../types";
|
|
2
2
|
declare function getEntry(tag: TagID, key: ScreenKey): Entry | null;
|
|
3
|
+
declare function getMatchingSourceScreenKey(tag: TagID, destinationScreenKey: ScreenKey, preferredScreenKey?: ScreenKey, excludedScreenKeys?: readonly ScreenKey[]): ScreenKey | null;
|
|
3
4
|
declare function setEntry(tag: TagID, screenKey: ScreenKey, patch: EntryPatch): void;
|
|
4
5
|
declare function removeEntry(tag: TagID, screenKey: ScreenKey): void;
|
|
5
|
-
export { getEntry, removeEntry, setEntry };
|
|
6
|
+
export { getEntry, getMatchingSourceScreenKey, removeEntry, setEntry };
|
|
6
7
|
//# sourceMappingURL=entries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/entries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AA0DpE,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAG1D;AAED,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,QAQpE;AAED,iBAAS,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,QAgBpD;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/entries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AA0DpE,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAG1D;AAED,iBAAS,0BAA0B,CAClC,GAAG,EAAE,KAAK,EACV,oBAAoB,EAAE,SAAS,EAC/B,kBAAkB,CAAC,EAAE,SAAS,EAC9B,kBAAkB,CAAC,EAAE,SAAS,SAAS,EAAE,GACvC,SAAS,GAAG,IAAI,CA8BlB;AAED,iBAAS,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,QAQpE;AAED,iBAAS,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,QAgBpD;AAED,OAAO,EAAE,QAAQ,EAAE,0BAA0B,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -10,7 +10,9 @@ declare function getResolvedLink(pairKey: ScreenPairKey, tag: TagID): {
|
|
|
10
10
|
tag: TagID;
|
|
11
11
|
link: TagLink | null;
|
|
12
12
|
};
|
|
13
|
+
declare function getPairKeyForSource(tag: TagID, screenKey: ScreenKey): ScreenPairKey | null;
|
|
14
|
+
declare function getPairKeyForDestination(tag: TagID, screenKey: ScreenKey): ScreenPairKey | null;
|
|
13
15
|
declare function getSource(pairKey: ScreenPairKey, tag: TagID): TagLink["source"] | null;
|
|
14
16
|
declare function getDestination(pairKey: ScreenPairKey, tag: TagID): TagLink["destination"] | null;
|
|
15
|
-
export { getActiveGroupId, getDestination, getLink, getResolvedLink, getSource, requestSourceMeasure, setActiveGroupId, setDestination, setSource, };
|
|
17
|
+
export { getActiveGroupId, getDestination, getLink, getPairKeyForDestination, getPairKeyForSource, getResolvedLink, getSource, requestSourceMeasure, setActiveGroupId, setDestination, setSource, };
|
|
16
18
|
//# sourceMappingURL=links.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAe9E,OAAO,KAAK,EACX,oBAAoB,EACpB,QAAQ,EACR,OAAO,EAEP,SAAS,EACT,aAAa,EAEb,KAAK,EACL,OAAO,EACP,MAAM,UAAU,CAAC;AAgOlB,iBAAS,SAAS,CACjB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,KAAK,CAAC,EAAE,QAAQ,EAChB,YAAY,GAAE,oBAAyB,QAoCvC;AAED,iBAAS,cAAc,CACtB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,kBAAkB,EAC1B,MAAM,GAAE,UAAe,EACvB,KAAK,CAAC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":"","sources":["../../../../../src/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../../../src/stores/bounds/internals/resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,sBAAsB,EACtB,wBAAwB,EACxB,KAAK,EACL,MAAM,UAAU,CAAC;AAGlB,iBAAS,qBAAqB,CAC7B,GAAG,EAAE,KAAK,EACV,OAAO,EAAE,wBAAwB,GAC/B,sBAAsB,CAkBxB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-link-accessor.d.ts","sourceRoot":"","sources":["../../../../../src/utils/bounds/helpers/create-link-accessor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-link-accessor.d.ts","sourceRoot":"","sources":["../../../../../src/utils/bounds/helpers/create-link-accessor.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACX,wBAAwB,EACxB,UAAU,EACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,wBAAwB,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG;IAC1B,OAAO,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,UAAU,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,UAAU,QAAQ,KAAG,YA0BvD,CAAC"}
|