@mountaya/studio 0.1.0 → 0.2.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/CHANGELOG.md +30 -0
- package/dist/agent/index.cjs +2561 -2815
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +766 -786
- package/dist/agent/index.d.ts +766 -786
- package/dist/agent/index.js +2553 -2790
- package/dist/agent/index.js.map +1 -1
- package/dist/chunk-3Oi_Zrtm.js +9 -0
- package/dist/chunk-3Oi_Zrtm.js.map +1 -0
- package/dist/chunk-B18OPIu_.js +6 -0
- package/dist/chunk-B18OPIu_.js.map +1 -0
- package/dist/chunk-B5Uz3Qct.cjs +15 -0
- package/dist/chunk-B5Uz3Qct.cjs.map +1 -0
- package/dist/chunk-BBEJwkd3.d.cts +839 -0
- package/dist/chunk-BIEc_SkR.cjs +29 -0
- package/dist/chunk-BIEc_SkR.cjs.map +1 -0
- package/dist/chunk-BKMFOe-N.js +171 -0
- package/dist/chunk-BKMFOe-N.js.map +1 -0
- package/dist/chunk-BP4uy7E1.d.ts +11583 -0
- package/dist/chunk-BSHTsFiB.js +1403 -0
- package/dist/chunk-BSHTsFiB.js.map +1 -0
- package/dist/chunk-BTUUABGI.js +17 -0
- package/dist/chunk-BTUUABGI.js.map +1 -0
- package/dist/chunk-BaPiaz5X.cjs +115 -0
- package/dist/chunk-BaPiaz5X.cjs.map +1 -0
- package/dist/chunk-BeCVpkYr.cjs +542 -0
- package/dist/chunk-BeCVpkYr.cjs.map +1 -0
- package/dist/chunk-BgngsvK8.cjs +6202 -0
- package/dist/chunk-BgngsvK8.cjs.map +1 -0
- package/dist/chunk-BhInd7CJ.d.cts +253 -0
- package/dist/chunk-Bn6ZbxkS.cjs +27 -0
- package/dist/chunk-By9ZnkVI.js +60 -0
- package/dist/chunk-By9ZnkVI.js.map +1 -0
- package/dist/chunk-BzqPhxsz.cjs +367 -0
- package/dist/chunk-BzqPhxsz.cjs.map +1 -0
- package/dist/chunk-C2mMX81q.d.ts +443 -0
- package/dist/chunk-C2rr9Q0V.cjs +1402 -0
- package/dist/chunk-C2rr9Q0V.cjs.map +1 -0
- package/dist/{directorThreads-CqmvsV8b.d.cts → chunk-CDJCbwIQ.d.cts} +20 -22
- package/dist/chunk-CLGvBOVH.d.cts +1654 -0
- package/dist/chunk-COdw1dc6.d.ts +525 -0
- package/dist/chunk-CQCJnT2i.d.ts +511 -0
- package/dist/chunk-CSyHY67q.cjs +353 -0
- package/dist/chunk-CSyHY67q.cjs.map +1 -0
- package/dist/chunk-CiK1Iqrv.js +950 -0
- package/dist/chunk-CiK1Iqrv.js.map +1 -0
- package/dist/chunk-CmJBgSwZ.cjs +24 -0
- package/dist/chunk-CmJBgSwZ.cjs.map +1 -0
- package/dist/chunk-CnrsRK2u.cjs +83 -0
- package/dist/chunk-CnrsRK2u.cjs.map +1 -0
- package/dist/chunk-Co782_9r.js +326 -0
- package/dist/chunk-Co782_9r.js.map +1 -0
- package/dist/chunk-Csr3KDpZ.cjs +32 -0
- package/dist/chunk-Csr3KDpZ.cjs.map +1 -0
- package/dist/chunk-CwkmccXv.js +89 -0
- package/dist/chunk-CwkmccXv.js.map +1 -0
- package/dist/chunk-D0Q4iL9B.cjs +255 -0
- package/dist/chunk-D0Q4iL9B.cjs.map +1 -0
- package/dist/chunk-DFwiSzUS.cjs +72 -0
- package/dist/chunk-DFwiSzUS.cjs.map +1 -0
- package/dist/chunk-DIFayl2P.d.cts +443 -0
- package/dist/chunk-DIGF58ux.d.cts +525 -0
- package/dist/chunk-DKuuuld5.js +101 -0
- package/dist/chunk-DKuuuld5.js.map +1 -0
- package/dist/chunk-DMePkFEo.js +5054 -0
- package/dist/chunk-DMePkFEo.js.map +1 -0
- package/dist/chunk-DO5SIBgu.js +305 -0
- package/dist/chunk-DO5SIBgu.js.map +1 -0
- package/dist/chunk-DOQ_7eE5.d.ts +6662 -0
- package/dist/{tabs-B2nRO4p_.d.ts → chunk-DThaaNeb.d.cts} +2 -2
- package/dist/{tabs-B2nRO4p_.d.cts → chunk-DThaaNeb.d.ts} +2 -2
- package/dist/{directorThreads-CqmvsV8b.d.ts → chunk-DUQzjUJy.d.ts} +20 -22
- package/dist/chunk-DX37IPhV.cjs +1903 -0
- package/dist/chunk-DX37IPhV.cjs.map +1 -0
- package/dist/chunk-Damps5Tk.cjs +155 -0
- package/dist/chunk-Damps5Tk.cjs.map +1 -0
- package/dist/chunk-DbK5PhpJ.d.ts +1654 -0
- package/dist/chunk-De0vAASv.d.ts +253 -0
- package/dist/chunk-DhSZ7YZt.d.cts +6662 -0
- package/dist/chunk-DjEvqvPA.cjs +43 -0
- package/dist/chunk-DjEvqvPA.cjs.map +1 -0
- package/dist/{saveFile-j-1kkApx.d.cts → chunk-DkwDzwvu.d.cts} +7 -9
- package/dist/{saveFile-j-1kkApx.d.ts → chunk-DkwDzwvu.d.ts} +7 -9
- package/dist/chunk-Dmszv9If.js +71 -0
- package/dist/chunk-Dmszv9If.js.map +1 -0
- package/dist/chunk-Dp_ftNWY.d.cts +511 -0
- package/dist/chunk-DsHQySz0.js +31 -0
- package/dist/chunk-DsHQySz0.js.map +1 -0
- package/dist/chunk-DwoUyHHh.js +281 -0
- package/dist/chunk-DwoUyHHh.js.map +1 -0
- package/dist/chunk-IaIDQflj.d.cts +2315 -0
- package/dist/chunk-IaIDQflj.d.ts +2315 -0
- package/dist/chunk-cVXLsZfL.d.ts +839 -0
- package/dist/chunk-mIaCX9EJ.d.cts +11583 -0
- package/dist/chunk-nJQxbOwQ.cjs +8962 -0
- package/dist/chunk-nJQxbOwQ.cjs.map +1 -0
- package/dist/chunk-o9jaxhCO.js +8852 -0
- package/dist/chunk-o9jaxhCO.js.map +1 -0
- package/dist/chunk-p-Tt_Lwz.js +14 -0
- package/dist/chunk-p-Tt_Lwz.js.map +1 -0
- package/dist/engines/index.cjs +2046 -3401
- package/dist/engines/index.cjs.map +1 -1
- package/dist/engines/index.d.cts +1510 -1550
- package/dist/engines/index.d.ts +1510 -1550
- package/dist/engines/index.js +2039 -3380
- package/dist/engines/index.js.map +1 -1
- package/dist/handlers/index.cjs +47 -93
- package/dist/handlers/index.cjs.map +1 -1
- package/dist/handlers/index.d.cts +61 -103
- package/dist/handlers/index.d.ts +61 -103
- package/dist/handlers/index.js +27 -36
- package/dist/handlers/index.js.map +1 -1
- package/dist/index.cjs +3347 -4398
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -7297
- package/dist/index.d.ts +8 -7297
- package/dist/index.js +2997 -3187
- package/dist/index.js.map +1 -1
- package/dist/plugins/index.cjs +482 -949
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.d.cts +44 -61
- package/dist/plugins/index.d.ts +44 -61
- package/dist/plugins/index.js +471 -915
- package/dist/plugins/index.js.map +1 -1
- package/dist/seams/index.cjs +77 -140
- package/dist/seams/index.cjs.map +1 -1
- package/dist/seams/index.d.cts +125 -158
- package/dist/seams/index.d.ts +125 -158
- package/dist/seams/index.js +41 -71
- package/dist/seams/index.js.map +1 -1
- package/dist/strings/fr/index.cjs +2130 -2116
- package/dist/strings/fr/index.cjs.map +1 -1
- package/dist/strings/fr/index.d.cts +3 -5
- package/dist/strings/fr/index.d.ts +3 -5
- package/dist/strings/fr/index.js +2125 -2114
- package/dist/strings/fr/index.js.map +1 -1
- package/dist/strings/index.cjs +2331 -2625
- package/dist/strings/index.cjs.map +1 -1
- package/dist/strings/index.d.cts +3 -731
- package/dist/strings/index.d.ts +3 -731
- package/dist/strings/index.js +2324 -2615
- package/dist/strings/index.js.map +1 -1
- package/dist/testing/index.cjs +214 -276
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +61 -121
- package/dist/testing/index.d.ts +61 -121
- package/dist/testing/index.js +208 -273
- package/dist/testing/index.js.map +1 -1
- package/dist/time/index.cjs +23 -23
- package/dist/time/index.cjs.map +1 -1
- package/dist/time/index.d.cts +5 -7
- package/dist/time/index.d.ts +5 -7
- package/dist/time/index.js +18 -21
- package/dist/time/index.js.map +1 -1
- package/package.json +14 -15
- package/src/agent/rules/stateDelta.ts +1 -0
- package/src/agent/stores/agentThreads.ts +1 -4
- package/src/bus/rules/bus.ts +1 -2
- package/src/bus/rules/defineRegistry.ts +3 -5
- package/src/bus/rules/types.ts +6 -7
- package/src/chrome/stores/uiStore.ts +4 -2
- package/src/embed/rules/fieldDependencies.ts +2 -0
- package/src/embed/rules/safetyRules.ts +2 -0
- package/src/embed/rules/tableCode.ts +4 -3
- package/src/index.ts +6 -27
- package/src/itinerary/rules/import.ts +6 -8
- package/src/plugins/contracts/plugin.ts +4 -2
- package/src/seams/rules/formatters.ts +5 -3
- package/src/testing/index.ts +1 -5
- package/src/viewer/rules/platformViewer.ts +1 -0
- package/dist/bus-BwiNiXdH.d.ts +0 -514
- package/dist/bus-DzmhPwdK.d.cts +0 -514
- package/dist/chainModel-B23pEP_1.d.cts +0 -127
- package/dist/chainModel-B23pEP_1.d.ts +0 -127
- package/dist/chunk-2HFY7ETU.js +0 -5721
- package/dist/chunk-2HFY7ETU.js.map +0 -1
- package/dist/chunk-355TOXSB.js +0 -72
- package/dist/chunk-355TOXSB.js.map +0 -1
- package/dist/chunk-4ZCUZVSV.js +0 -10275
- package/dist/chunk-4ZCUZVSV.js.map +0 -1
- package/dist/chunk-6HEKY3NF.js +0 -95
- package/dist/chunk-6HEKY3NF.js.map +0 -1
- package/dist/chunk-7GFLGGBX.cjs +0 -8
- package/dist/chunk-7GFLGGBX.cjs.map +0 -1
- package/dist/chunk-7NBRCENN.cjs +0 -19
- package/dist/chunk-7NBRCENN.cjs.map +0 -1
- package/dist/chunk-AF5GCXE3.js +0 -8
- package/dist/chunk-AF5GCXE3.js.map +0 -1
- package/dist/chunk-CJDIFRGZ.cjs +0 -2005
- package/dist/chunk-CJDIFRGZ.cjs.map +0 -1
- package/dist/chunk-CNPZY7N3.js +0 -349
- package/dist/chunk-CNPZY7N3.js.map +0 -1
- package/dist/chunk-DZJHTWSF.cjs +0 -45
- package/dist/chunk-DZJHTWSF.cjs.map +0 -1
- package/dist/chunk-EABIHHWA.js +0 -42
- package/dist/chunk-EABIHHWA.js.map +0 -1
- package/dist/chunk-EKZWV6RS.cjs +0 -415
- package/dist/chunk-EKZWV6RS.cjs.map +0 -1
- package/dist/chunk-EOKRXXAC.cjs +0 -24
- package/dist/chunk-EOKRXXAC.cjs.map +0 -1
- package/dist/chunk-F73W2ZTJ.js +0 -1126
- package/dist/chunk-F73W2ZTJ.js.map +0 -1
- package/dist/chunk-H4DVOZ5O.js +0 -1897
- package/dist/chunk-H4DVOZ5O.js.map +0 -1
- package/dist/chunk-HI52PBFT.cjs +0 -10314
- package/dist/chunk-HI52PBFT.cjs.map +0 -1
- package/dist/chunk-IDBXFBLG.cjs +0 -1225
- package/dist/chunk-IDBXFBLG.cjs.map +0 -1
- package/dist/chunk-LBWTJZUJ.js +0 -297
- package/dist/chunk-LBWTJZUJ.js.map +0 -1
- package/dist/chunk-NCLA6DKD.cjs +0 -310
- package/dist/chunk-NCLA6DKD.cjs.map +0 -1
- package/dist/chunk-O4MC5DPD.js +0 -19
- package/dist/chunk-O4MC5DPD.js.map +0 -1
- package/dist/chunk-OP37FKW6.cjs +0 -98
- package/dist/chunk-OP37FKW6.cjs.map +0 -1
- package/dist/chunk-OQSYFH3Z.cjs +0 -5945
- package/dist/chunk-OQSYFH3Z.cjs.map +0 -1
- package/dist/chunk-PACIO4NS.cjs +0 -26
- package/dist/chunk-PACIO4NS.cjs.map +0 -1
- package/dist/chunk-PSZ2R3TC.cjs +0 -75
- package/dist/chunk-PSZ2R3TC.cjs.map +0 -1
- package/dist/chunk-QFO5CZG2.cjs +0 -136
- package/dist/chunk-QFO5CZG2.cjs.map +0 -1
- package/dist/chunk-QL63MUEW.cjs +0 -140
- package/dist/chunk-QL63MUEW.cjs.map +0 -1
- package/dist/chunk-RFUPPVZO.js +0 -17
- package/dist/chunk-RFUPPVZO.js.map +0 -1
- package/dist/chunk-RPG2LWMP.js +0 -23
- package/dist/chunk-RPG2LWMP.js.map +0 -1
- package/dist/chunk-TIBXK6B7.cjs +0 -12
- package/dist/chunk-TIBXK6B7.cjs.map +0 -1
- package/dist/chunk-UU65VNEV.js +0 -381
- package/dist/chunk-UU65VNEV.js.map +0 -1
- package/dist/chunk-VGX6TR2I.js +0 -209
- package/dist/chunk-VGX6TR2I.js.map +0 -1
- package/dist/chunk-WUTDDBVP.js +0 -130
- package/dist/chunk-WUTDDBVP.js.map +0 -1
- package/dist/chunk-WVQQLKCI.cjs +0 -224
- package/dist/chunk-WVQQLKCI.cjs.map +0 -1
- package/dist/chunk-WZYXG3SE.js +0 -111
- package/dist/chunk-WZYXG3SE.js.map +0 -1
- package/dist/chunk-XDI2X3KE.js +0 -6
- package/dist/chunk-XDI2X3KE.js.map +0 -1
- package/dist/chunk-XKHLRIC7.cjs +0 -381
- package/dist/chunk-XKHLRIC7.cjs.map +0 -1
- package/dist/context-DNtd2WUv.d.cts +0 -11666
- package/dist/context-DgB72Bur.d.ts +0 -11666
- package/dist/en-Bu4Ti9Ev.d.cts +0 -2315
- package/dist/en-Bu4Ti9Ev.d.ts +0 -2315
- package/dist/shareLink-B6hlt942.d.ts +0 -144
- package/dist/shareLink-C7rIMb7x.d.ts +0 -527
- package/dist/shareLink-CnTxxXjp.d.cts +0 -144
- package/dist/shareLink-DyZVYH2V.d.cts +0 -527
- package/dist/studioPlugin-C3C7VjMy.d.ts +0 -847
- package/dist/studioPlugin-Cf3OBNUv.d.cts +0 -847
- package/dist/types-BzJRV6UI.d.cts +0 -845
- package/dist/types-BzJRV6UI.d.ts +0 -845
- package/dist/zoneForm-CdYNtnnA.d.cts +0 -320
- package/dist/zoneForm-mG85yt5e.d.ts +0 -320
package/dist/seams/index.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { ItineraryWithDetails } from '@mountaya/client';
|
|
6
|
-
import { CameraPlanner } from '@mountaya/elements/camera';
|
|
7
|
-
|
|
1
|
+
import { a as StudioIds, i as inertStudioSaveFile, n as StudioSaveFile, o as sequentialStudioIds, r as browserSaveFile, s as systemStudioIds, t as StudioFile } from "../chunk-DkwDzwvu.js";
|
|
2
|
+
import { CameraPlanner } from "@mountaya/elements/camera";
|
|
3
|
+
import { Clock, Clock as Clock$1, GeolocationSeam, manualClock, repeatEvery, systemClock } from "@mountaya/elements/seams";
|
|
4
|
+
import { ItineraryWithDetails } from "@mountaya/client";
|
|
8
5
|
/**
|
|
9
6
|
* StudioFormatters is how a number, a date and a relative moment reach a screen.
|
|
10
7
|
*
|
|
@@ -31,57 +28,58 @@ import { CameraPlanner } from '@mountaya/elements/camera';
|
|
|
31
28
|
type StudioRelativeUnit = "day" | "hour" | "minute" | "month" | "second" | "week" | "year";
|
|
32
29
|
/** StudioFormatters is the locale-formatting capability, as everything above it sees it. */
|
|
33
30
|
interface StudioFormatters {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
31
|
+
/**
|
|
32
|
+
* The pattern a date-time FIELD is written and read in, as Unicode LDML date-field symbols
|
|
33
|
+
* (`DD/MM/YYYY HH:mm`): the spelling `dayjs`, Swift's `DateFormatter` and Java's
|
|
34
|
+
* `DateTimeFormatter` all take.
|
|
35
|
+
*
|
|
36
|
+
* A pattern rather than a formatted string because the subject is an INPUT: the reader edits
|
|
37
|
+
* the text, so the field has to be able to parse back what it printed, and only a pattern
|
|
38
|
+
* expresses both halves at once.
|
|
39
|
+
*
|
|
40
|
+
* Numeric throughout, deliberately. A month NAME would need per-locale month data the
|
|
41
|
+
* rendering library has to have loaded, and the one shipped here does not, so an abbreviated
|
|
42
|
+
* month renders in English whatever the pattern says. A numeric field is also the one a reader
|
|
43
|
+
* types into rather than reads.
|
|
44
|
+
*/
|
|
45
|
+
readonly dateTimePattern: () => string;
|
|
46
|
+
/**
|
|
47
|
+
* A video's elapsed or total position, as `m:ss`.
|
|
48
|
+
*
|
|
49
|
+
* Here rather than assembled at the call site because the digits are the locale's: a clock
|
|
50
|
+
* concatenated from `String(minutes)` is Latin digits in a studio reading Arabic numerals
|
|
51
|
+
* everywhere else on the same screen.
|
|
52
|
+
*
|
|
53
|
+
* A position before the start reads as the start, `0:00`. A duration that is no finite number
|
|
54
|
+
* reads as the empty string, as a missing measurement does.
|
|
55
|
+
*/
|
|
56
|
+
readonly formatClock: (durationMs: number) => string;
|
|
57
|
+
/**
|
|
58
|
+
* An instant, as a date and a time, in the Gregorian calendar whatever calendar the locale
|
|
59
|
+
* keeps, and in the language's typography: in French, the first of a month is "1er" and the
|
|
60
|
+
* date never breaks across two lines. A `Date` that holds no instant, and options naming a time
|
|
61
|
+
* zone the runtime's zone data does not hold, read as the empty string.
|
|
62
|
+
*
|
|
63
|
+
* @default options `{ dateStyle: "medium", timeStyle: "short" }`
|
|
64
|
+
*/
|
|
65
|
+
readonly formatDateTime: (value: Date, options?: Intl.DateTimeFormatOptions) => string;
|
|
66
|
+
/** A plain number, grouped and rounded the way the locale writes numbers. */
|
|
67
|
+
readonly formatNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
68
|
+
/**
|
|
69
|
+
* A share of a whole, as a RATIO: `0.45` reads as "45%".
|
|
70
|
+
*
|
|
71
|
+
* A ratio rather than a number already multiplied, because that is what `Intl` takes and
|
|
72
|
+
* because a percentage's sign, separator and symbol placement are all the locale's: French
|
|
73
|
+
* writes `45 %` with a no-break space, and a `${n}%` template cannot.
|
|
74
|
+
*/
|
|
75
|
+
readonly formatPercent: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
76
|
+
/**
|
|
77
|
+
* A signed offset from now (negative is in the past), as "2 days ago" or "in 6 hours". An
|
|
78
|
+
* offset that is no finite number reads as the empty string.
|
|
79
|
+
*
|
|
80
|
+
* @default options `{ numeric: "auto" }`
|
|
81
|
+
*/
|
|
82
|
+
readonly formatRelativeTime: (value: number, unit: StudioRelativeUnit, options?: Intl.RelativeTimeFormatOptions) => string;
|
|
85
83
|
}
|
|
86
84
|
/**
|
|
87
85
|
* createIntlFormatters formats through the platform's own `Intl`, for one locale.
|
|
@@ -93,8 +91,7 @@ interface StudioFormatters {
|
|
|
93
91
|
* time zone the runtime's zone data does not hold and a relative offset that is no finite number
|
|
94
92
|
* each read as the empty string, where the platform's formatter throws a `RangeError`.
|
|
95
93
|
*/
|
|
96
|
-
declare const createIntlFormatters: (locale: string) => StudioFormatters;
|
|
97
|
-
|
|
94
|
+
export declare const createIntlFormatters: (locale: string) => StudioFormatters;
|
|
98
95
|
/**
|
|
99
96
|
* StudioLinks is where a link to somewhere ELSE comes from.
|
|
100
97
|
*
|
|
@@ -110,14 +107,14 @@ declare const createIntlFormatters: (locale: string) => StudioFormatters;
|
|
|
110
107
|
*/
|
|
111
108
|
/** StudioLinks is the outbound-link capability, as everything above it sees it. */
|
|
112
109
|
interface StudioLinks {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
110
|
+
/**
|
|
111
|
+
* A link to this coordinate on an external map, or null when there is none to offer.
|
|
112
|
+
*
|
|
113
|
+
* `name` is what the place is called, when the surface knows: a search hit and a waypoint both
|
|
114
|
+
* have one, a bare right-click on the map does not. A provider that can search by name uses
|
|
115
|
+
* it; one that cannot ignores it.
|
|
116
|
+
*/
|
|
117
|
+
readonly placeAt: (position: [number, number], name?: string) => string | null;
|
|
121
118
|
}
|
|
122
119
|
/**
|
|
123
120
|
* googleMapsLinks opens places on Google Maps.
|
|
@@ -126,7 +123,7 @@ interface StudioLinks {
|
|
|
126
123
|
* uses the search form so the pin carries the name: the plain coordinate form drops it, and a
|
|
127
124
|
* user who clicked "Refuge du Goûter" arrives at an unlabelled dot.
|
|
128
125
|
*/
|
|
129
|
-
declare const googleMapsLinks: StudioLinks;
|
|
126
|
+
export declare const googleMapsLinks: StudioLinks;
|
|
130
127
|
/**
|
|
131
128
|
* openStreetMapLinks opens places on OpenStreetMap.
|
|
132
129
|
*
|
|
@@ -135,7 +132,7 @@ declare const googleMapsLinks: StudioLinks;
|
|
|
135
132
|
* this link sees the map they were just looking at. OSM carries no search-by-name-at-coordinate
|
|
136
133
|
* form, so `name` is deliberately unused.
|
|
137
134
|
*/
|
|
138
|
-
declare const openStreetMapLinks: StudioLinks;
|
|
135
|
+
export declare const openStreetMapLinks: StudioLinks;
|
|
139
136
|
/**
|
|
140
137
|
* inertStudioLinks offers nowhere to go.
|
|
141
138
|
*
|
|
@@ -143,8 +140,7 @@ declare const openStreetMapLinks: StudioLinks;
|
|
|
143
140
|
* already handles it, because `placeAt` answering null is the same answer a provider gives for a
|
|
144
141
|
* coordinate it cannot address.
|
|
145
142
|
*/
|
|
146
|
-
declare const inertStudioLinks: StudioLinks;
|
|
147
|
-
|
|
143
|
+
export declare const inertStudioLinks: StudioLinks;
|
|
148
144
|
/**
|
|
149
145
|
* Holding a departure the studio is not ready to allow.
|
|
150
146
|
*
|
|
@@ -169,13 +165,13 @@ declare const inertStudioLinks: StudioLinks;
|
|
|
169
165
|
* seam.
|
|
170
166
|
*/
|
|
171
167
|
interface StudioNavigationTarget {
|
|
172
|
-
|
|
173
|
-
|
|
168
|
+
readonly pathname: string;
|
|
169
|
+
readonly search: Readonly<Record<string, unknown>>;
|
|
174
170
|
}
|
|
175
171
|
/** StudioNavigationAttempt is one navigation the host is about to perform. */
|
|
176
172
|
interface StudioNavigationAttempt {
|
|
177
|
-
|
|
178
|
-
|
|
173
|
+
readonly current: StudioNavigationTarget;
|
|
174
|
+
readonly next: StudioNavigationTarget;
|
|
179
175
|
}
|
|
180
176
|
/**
|
|
181
177
|
* StudioNavigationHold is a held navigation, and the two ways out of it.
|
|
@@ -186,12 +182,12 @@ interface StudioNavigationAttempt {
|
|
|
186
182
|
* the one path where doing nothing strands the reader.
|
|
187
183
|
*/
|
|
188
184
|
interface StudioNavigationHold {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
185
|
+
/** Whether a navigation is being held right now, waiting for an answer. */
|
|
186
|
+
readonly blocked: boolean;
|
|
187
|
+
/** Let the held navigation through. */
|
|
188
|
+
proceed(): void;
|
|
189
|
+
/** Abandon the held navigation and stay. */
|
|
190
|
+
reset(): void;
|
|
195
191
|
}
|
|
196
192
|
/**
|
|
197
193
|
* StudioNavigationBlocker holds an in-app navigation until the studio answers for it.
|
|
@@ -213,9 +209,9 @@ type StudioNavigationBlocker = (shouldBlock: (attempt: StudioNavigationAttempt)
|
|
|
213
209
|
* has already left. A binding's own tab-close guard needs no host at all, so the work a reader
|
|
214
210
|
* would actually lose stays protected either way.
|
|
215
211
|
*/
|
|
216
|
-
declare const inertNavigationHold: StudioNavigationHold;
|
|
212
|
+
export declare const inertNavigationHold: StudioNavigationHold;
|
|
217
213
|
/** inertNavigationBlocker is the blocker a studio reads when no host supplied one. */
|
|
218
|
-
declare const inertNavigationBlocker: StudioNavigationBlocker;
|
|
214
|
+
export declare const inertNavigationBlocker: StudioNavigationBlocker;
|
|
219
215
|
/**
|
|
220
216
|
* isStudioOwnNavigation reports whether a navigation is the studio mirroring its own state into
|
|
221
217
|
* the URL: the pathname stays, and every search key whose value differs is one the studio
|
|
@@ -240,8 +236,7 @@ declare const inertNavigationBlocker: StudioNavigationBlocker;
|
|
|
240
236
|
* const hold = blocker((attempt) => editing() && !isStudioOwnNavigation(attempt));
|
|
241
237
|
* ```
|
|
242
238
|
*/
|
|
243
|
-
declare const isStudioOwnNavigation: ({ current, next }: StudioNavigationAttempt) => boolean;
|
|
244
|
-
|
|
239
|
+
export declare const isStudioOwnNavigation: ({ current, next }: StudioNavigationAttempt) => boolean;
|
|
245
240
|
/**
|
|
246
241
|
* How a studio surface says something happened that the reader did not ask to be told twice.
|
|
247
242
|
*
|
|
@@ -269,12 +264,12 @@ declare const isStudioOwnNavigation: ({ current, next }: StudioNavigationAttempt
|
|
|
269
264
|
* long a toast should sit on that host's surfaces.
|
|
270
265
|
*/
|
|
271
266
|
interface StudioNotify {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
267
|
+
/** Reports something that failed. */
|
|
268
|
+
error(message: string): void;
|
|
269
|
+
/** Reports something that landed. */
|
|
270
|
+
success(message: string): void;
|
|
271
|
+
/** Reports something that landed in part, or that the reader should know before going on. */
|
|
272
|
+
warning(message: string): void;
|
|
278
273
|
}
|
|
279
274
|
/**
|
|
280
275
|
* inertStudioNotify is what a studio mounted without a host binding reads.
|
|
@@ -284,8 +279,7 @@ interface StudioNotify {
|
|
|
284
279
|
* built-in surface would draw chrome in whatever corner this package guessed at, over a host
|
|
285
280
|
* whose own notifications live somewhere else entirely.
|
|
286
281
|
*/
|
|
287
|
-
declare const inertStudioNotify: StudioNotify;
|
|
288
|
-
|
|
282
|
+
export declare const inertStudioNotify: StudioNotify;
|
|
289
283
|
/**
|
|
290
284
|
* StudioPersistenceDrawer is where a LOCAL studio session keeps its records.
|
|
291
285
|
*
|
|
@@ -304,13 +298,13 @@ declare const inertStudioNotify: StudioNotify;
|
|
|
304
298
|
* go picks a persistence, not a drawer.
|
|
305
299
|
*/
|
|
306
300
|
interface StudioPersistenceDrawer {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
301
|
+
/**
|
|
302
|
+
* Every record held, or null when the drawer holds no document this drawer wrote: nothing has
|
|
303
|
+
* been written yet, or what is stored is a document in another shape. Never throws.
|
|
304
|
+
*/
|
|
305
|
+
read: () => Record<string, ItineraryWithDetails> | null;
|
|
306
|
+
/** Replaces the whole document. Does nothing where it cannot; never throws. */
|
|
307
|
+
write: (records: Record<string, ItineraryWithDetails>) => void;
|
|
314
308
|
}
|
|
315
309
|
/**
|
|
316
310
|
* localPersistenceDrawer keeps the records in `localStorage`, namespaced, and degrades to keeping
|
|
@@ -340,7 +334,7 @@ interface StudioPersistenceDrawer {
|
|
|
340
334
|
*
|
|
341
335
|
* @param namespace - The name of the drawer, which keys its document in the storage.
|
|
342
336
|
*/
|
|
343
|
-
declare const localPersistenceDrawer: (namespace: string) => StudioPersistenceDrawer;
|
|
337
|
+
export declare const localPersistenceDrawer: (namespace: string) => StudioPersistenceDrawer;
|
|
344
338
|
/**
|
|
345
339
|
* memoryPersistenceDrawer keeps the records for the lifetime of the object and no longer.
|
|
346
340
|
*
|
|
@@ -348,8 +342,7 @@ declare const localPersistenceDrawer: (namespace: string) => StudioPersistenceDr
|
|
|
348
342
|
* {@link localStudioStorage}: a kiosk, a shared terminal, a server render and a test all want an
|
|
349
343
|
* editor whose verbs work and whose writes are gone when the object is.
|
|
350
344
|
*/
|
|
351
|
-
declare const memoryPersistenceDrawer: () => StudioPersistenceDrawer;
|
|
352
|
-
|
|
345
|
+
export declare const memoryPersistenceDrawer: () => StudioPersistenceDrawer;
|
|
353
346
|
/**
|
|
354
347
|
* StudioStorage is where a preference that outlives a session is kept.
|
|
355
348
|
*
|
|
@@ -378,12 +371,12 @@ declare const memoryPersistenceDrawer: () => StudioPersistenceDrawer;
|
|
|
378
371
|
type StudioStorageKey = "import.routingGuideSeen";
|
|
379
372
|
/** StudioStorage is the persistent-preference capability, as everything above it sees it. */
|
|
380
373
|
interface StudioStorage {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
374
|
+
/** Forgets a key. A key that was never written is not an error. */
|
|
375
|
+
readonly remove: (key: StudioStorageKey) => void;
|
|
376
|
+
/** The stored value, or null when there is none. Never throws. */
|
|
377
|
+
readonly read: (key: StudioStorageKey) => string | null;
|
|
378
|
+
/** Stores a value. Does nothing where nothing can be stored. Never throws. */
|
|
379
|
+
readonly write: (key: StudioStorageKey, value: string) => void;
|
|
387
380
|
}
|
|
388
381
|
/**
|
|
389
382
|
* localStudioStorage keeps values in the browser's `localStorage`, namespaced, and degrades to
|
|
@@ -399,7 +392,7 @@ interface StudioStorage {
|
|
|
399
392
|
* All three are held by `storage.test.ts`, which models each environment, since none of them is
|
|
400
393
|
* reachable in a normal test run.
|
|
401
394
|
*/
|
|
402
|
-
declare const localStudioStorage: () => StudioStorage;
|
|
395
|
+
export declare const localStudioStorage: () => StudioStorage;
|
|
403
396
|
/**
|
|
404
397
|
* memoryStudioStorage keeps values for the lifetime of the object and no longer.
|
|
405
398
|
*
|
|
@@ -407,50 +400,25 @@ declare const localStudioStorage: () => StudioStorage;
|
|
|
407
400
|
* a kiosk, a shared terminal or a preview render wants, and, unlike omitting the seam, it is a
|
|
408
401
|
* decision a reader of the host's code can see.
|
|
409
402
|
*/
|
|
410
|
-
declare const memoryStudioStorage: () => StudioStorage;
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* Every capability the studio needs from the world around it, in one place.
|
|
414
|
-
*
|
|
415
|
-
* Each of these is something the studio cannot do for itself and a host can do differently: where
|
|
416
|
-
* a device fix comes from, what time it is, where a preference is kept, and whether there is
|
|
417
|
-
* anywhere outside the product to send someone. They are gathered into one interface for the
|
|
418
|
-
* reason a Dart or Swift port exists at all: the list IS the port's checklist, and a port that
|
|
419
|
-
* reads one file per seam has a chance to miss one in each.
|
|
420
|
-
*
|
|
421
|
-
* Three properties hold for every member, and they are what makes this a seam rather than a bag
|
|
422
|
-
* of options:
|
|
423
|
-
*
|
|
424
|
-
* - **Framework-free.** Nothing here names React, a hook, a component or the DOM. A binding
|
|
425
|
-
* lives one level up, in `@mountaya/studio-react`, and a port writes its own.
|
|
426
|
-
* - **A defined absence.** Every seam has a shipped implementation that does nothing, and doing
|
|
427
|
-
* nothing is a STATE every surface already renders: a geolocation that answers `no_api`, a
|
|
428
|
-
* storage that forgets, a link provider that offers nowhere. Turning one off needs no new
|
|
429
|
-
* branch anywhere. {@link CameraPlanner} is the one member this reads differently for, and
|
|
430
|
-
* its own docblock says why: what a host varies there is where the work runs, not whether.
|
|
431
|
-
* - **Total.** No method throws. A private-mode browser refusing storage, a blocked permissions
|
|
432
|
-
* descriptor, a quota that is full: each is an answer, never an exception a surface has to
|
|
433
|
-
* wrap.
|
|
434
|
-
*/
|
|
435
|
-
|
|
403
|
+
export declare const memoryStudioStorage: () => StudioStorage;
|
|
436
404
|
/** StudioSeams is every capability the studio takes from its host. */
|
|
437
405
|
interface StudioSeams {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
406
|
+
/** Where a Camera Plan is resolved into per-frame poses, and therefore on which thread. */
|
|
407
|
+
readonly cameraPlanner: CameraPlanner;
|
|
408
|
+
/** Where a product-meaningful moment or delay comes from. */
|
|
409
|
+
readonly clock: Clock$1;
|
|
410
|
+
/** How a number, a date and a relative moment reach a screen. */
|
|
411
|
+
readonly formatters: StudioFormatters;
|
|
412
|
+
/** Where a device fix comes from, and whether asking would prompt. */
|
|
413
|
+
readonly geolocation: GeolocationSeam;
|
|
414
|
+
/** Where a client-side id comes from, for a draft that has no resource to name yet. */
|
|
415
|
+
readonly ids: StudioIds;
|
|
416
|
+
/** Where a link to somewhere outside the product goes, or that there is none. */
|
|
417
|
+
readonly links: StudioLinks;
|
|
418
|
+
/** Where a file the studio produced goes: a disk, a share sheet, or nowhere. */
|
|
419
|
+
readonly saveFile: StudioSaveFile;
|
|
420
|
+
/** Where a preference that outlives a session is kept. */
|
|
421
|
+
readonly storage: StudioStorage;
|
|
454
422
|
}
|
|
455
423
|
/**
|
|
456
424
|
* createDefaultStudioSeams is the studio wired to the browser it is running in.
|
|
@@ -464,7 +432,7 @@ interface StudioSeams {
|
|
|
464
432
|
*
|
|
465
433
|
* @param locale - The BCP 47 locale the formatters write in. Defaults to `"en"`.
|
|
466
434
|
*/
|
|
467
|
-
declare const createDefaultStudioSeams: (locale?: string) => StudioSeams;
|
|
435
|
+
export declare const createDefaultStudioSeams: (locale?: string) => StudioSeams;
|
|
468
436
|
/**
|
|
469
437
|
* createInertStudioSeams is the studio with every capability switched off, and it still renders.
|
|
470
438
|
*
|
|
@@ -479,7 +447,6 @@ declare const createDefaultStudioSeams: (locale?: string) => StudioSeams;
|
|
|
479
447
|
*
|
|
480
448
|
* @param locale - The BCP 47 locale the formatters write in. Defaults to `"en"`.
|
|
481
449
|
*/
|
|
482
|
-
declare const createInertStudioSeams: (locale?: string) => StudioSeams;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
export type { StudioFormatters, StudioLinks, StudioNavigationAttempt, StudioNavigationBlocker, StudioNavigationHold, StudioNavigationTarget, StudioNotify, StudioPersistenceDrawer, StudioRelativeUnit, StudioSeams, StudioStorage, StudioStorageKey };
|
|
450
|
+
export declare const createInertStudioSeams: (locale?: string) => StudioSeams;
|
|
451
|
+
export { type Clock, type StudioFile, type StudioFormatters, type StudioIds, type StudioLinks, type StudioNavigationAttempt, type StudioNavigationBlocker, type StudioNavigationHold, type StudioNavigationTarget, type StudioNotify, type StudioPersistenceDrawer, type StudioRelativeUnit, type StudioSaveFile, type StudioSeams, type StudioStorage, type StudioStorageKey, browserSaveFile, inertStudioSaveFile, manualClock, repeatEvery, sequentialStudioIds, systemClock, systemStudioIds };
|
|
452
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/seams/index.js
CHANGED
|
@@ -1,79 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
proceed: () => {
|
|
9
|
-
},
|
|
10
|
-
reset: () => {
|
|
11
|
-
}
|
|
1
|
+
import { a as inertStudioSaveFile, c as openStreetMapLinks, d as createIntlFormatters, i as browserSaveFile, l as sequentialStudioIds, m as memoryStudioStorage, n as createInertStudioSeams, o as googleMapsLinks, p as localStudioStorage, s as inertStudioLinks, t as createDefaultStudioSeams, u as systemStudioIds } from "../chunk-BKMFOe-N.js";
|
|
2
|
+
import { n as memoryPersistenceDrawer, t as localPersistenceDrawer } from "../chunk-By9ZnkVI.js";
|
|
3
|
+
import { manualClock, repeatEvery, systemClock } from "@mountaya/elements/seams";
|
|
4
|
+
const inertNavigationHold = {
|
|
5
|
+
blocked: false,
|
|
6
|
+
proceed: () => {},
|
|
7
|
+
reset: () => {}
|
|
12
8
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
const inertNavigationBlocker = () => inertNavigationHold;
|
|
10
|
+
const studioOwnSearchKeys = {
|
|
11
|
+
activeThread: "activeThread",
|
|
12
|
+
enrichments: "enrichments",
|
|
13
|
+
overlay: "overlay",
|
|
14
|
+
terrain: "terrain",
|
|
15
|
+
threads: "threads",
|
|
16
|
+
time_offset: "time_offset"
|
|
21
17
|
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
const prototype = Object.getPrototypeOf(value);
|
|
30
|
-
return prototype === Object.prototype || prototype === null;
|
|
18
|
+
const isParsedLiteral = (value) => {
|
|
19
|
+
if (typeof value !== "object" || value === null) return false;
|
|
20
|
+
if (Array.isArray(value)) return true;
|
|
21
|
+
const prototype = Object.getPrototypeOf(value);
|
|
22
|
+
return prototype === Object.prototype || prototype === null;
|
|
31
23
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
if (currentList !== null || nextList !== null) {
|
|
44
|
-
return currentList !== null && nextList !== null && currentList.length === nextList.length && currentList.every((member, index) => sameSearchValue(member, nextList[index]));
|
|
45
|
-
}
|
|
46
|
-
const keys = /* @__PURE__ */ new Set([...Object.keys(current), ...Object.keys(next)]);
|
|
47
|
-
for (const key of keys) {
|
|
48
|
-
if (!sameSearchValue(ownMember(current, key), ownMember(next, key))) {
|
|
49
|
-
return false;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return true;
|
|
24
|
+
const listOf = (value) => Array.isArray(value) ? value : null;
|
|
25
|
+
const ownMember = (record, key) => Object.hasOwn(record, key) ? record[key] : void 0;
|
|
26
|
+
const sameSearchValue = (current, next) => {
|
|
27
|
+
if (Object.is(current, next)) return true;
|
|
28
|
+
if (!isParsedLiteral(current) || !isParsedLiteral(next)) return false;
|
|
29
|
+
const currentList = listOf(current);
|
|
30
|
+
const nextList = listOf(next);
|
|
31
|
+
if (currentList !== null || nextList !== null) return currentList !== null && nextList !== null && currentList.length === nextList.length && currentList.every((member, index) => sameSearchValue(member, nextList[index]));
|
|
32
|
+
const keys = /* @__PURE__ */ new Set([...Object.keys(current), ...Object.keys(next)]);
|
|
33
|
+
for (const key of keys) if (!sameSearchValue(ownMember(current, key), ownMember(next, key))) return false;
|
|
34
|
+
return true;
|
|
53
35
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
for (const key of keys) {
|
|
60
|
-
if (!Object.hasOwn(studioOwnSearchKeys, key) && !sameSearchValue(current.search[key], next.search[key])) {
|
|
61
|
-
return false;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return true;
|
|
36
|
+
const isStudioOwnNavigation = ({ current, next }) => {
|
|
37
|
+
if (next.pathname !== current.pathname) return false;
|
|
38
|
+
const keys = /* @__PURE__ */ new Set([...Object.keys(current.search), ...Object.keys(next.search)]);
|
|
39
|
+
for (const key of keys) if (!Object.hasOwn(studioOwnSearchKeys, key) && !sameSearchValue(current.search[key], next.search[key])) return false;
|
|
40
|
+
return true;
|
|
65
41
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
success: () => {
|
|
72
|
-
},
|
|
73
|
-
warning: () => {
|
|
74
|
-
}
|
|
42
|
+
const inertStudioNotify = {
|
|
43
|
+
error: () => {},
|
|
44
|
+
success: () => {},
|
|
45
|
+
warning: () => {}
|
|
75
46
|
};
|
|
47
|
+
export { browserSaveFile, createDefaultStudioSeams, createInertStudioSeams, createIntlFormatters, googleMapsLinks, inertNavigationBlocker, inertNavigationHold, inertStudioLinks, inertStudioNotify, inertStudioSaveFile, isStudioOwnNavigation, localPersistenceDrawer, localStudioStorage, manualClock, memoryPersistenceDrawer, memoryStudioStorage, openStreetMapLinks, repeatEvery, sequentialStudioIds, systemClock, systemStudioIds };
|
|
76
48
|
|
|
77
|
-
export { inertNavigationBlocker, inertNavigationHold, inertStudioNotify, isStudioOwnNavigation };
|
|
78
|
-
//# sourceMappingURL=index.js.map
|
|
79
49
|
//# sourceMappingURL=index.js.map
|
package/dist/seams/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/seams/rules/navigation.ts","../../src/seams/rules/notify.ts"],"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/seams/rules/navigation.ts","../../src/seams/rules/notify.ts"],"mappings":";;;AA6EA,MAAa,sBAA4C;CACvD,SAAS;CACT,eAAe,CAAC;CAChB,aAAa,CAAC;AAChB;AAGA,MAAa,+BAAwD;AAgBrE,MAAM,sBAAsB;CAC1B,cAAc;CACd,aAAa;CACb,SAAS;CACT,SAAS;CACT,SAAS;CACT,aAAa;AACf;AASA,MAAM,mBAAmB,UAA+D;CACtF,IAAI,OAAO,UAAU,YAAY,UAAU,MACzC,OAAO;CAGT,IAAI,MAAM,QAAQ,KAAK,GACrB,OAAO;CAGT,MAAM,YAAqB,OAAO,eAAe,KAAK;CAEtD,OAAO,cAAc,OAAO,aAAa,cAAc;AACzD;AAGA,MAAM,UAAU,UAA+C,MAAM,QAAQ,KAAK,IAAI,QAAQ;AAG9F,MAAM,aAAa,QAA2C,QAC5D,OAAO,OAAO,QAAQ,GAAG,IAAI,OAAO,OAAO,KAAA;AAgB7C,MAAM,mBAAmB,SAAkB,SAA2B;CACpE,IAAI,OAAO,GAAG,SAAS,IAAI,GACzB,OAAO;CAGT,IAAI,CAAC,gBAAgB,OAAO,KAAK,CAAC,gBAAgB,IAAI,GACpD,OAAO;CAGT,MAAM,cAAc,OAAO,OAAO;CAClC,MAAM,WAAW,OAAO,IAAI;CAC5B,IAAI,gBAAgB,QAAQ,aAAa,MACvC,OACE,gBAAgB,QAChB,aAAa,QACb,YAAY,WAAW,SAAS,UAChC,YAAY,OAAO,QAAQ,UAAU,gBAAgB,QAAQ,SAAS,MAAM,CAAC;CAIjF,MAAM,uBAAO,IAAI,IAAY,CAAC,GAAG,OAAO,KAAK,OAAO,GAAG,GAAG,OAAO,KAAK,IAAI,CAAC,CAAC;CAC5E,KAAK,MAAM,OAAO,MAChB,IAAI,CAAC,gBAAgB,UAAU,SAAS,GAAG,GAAG,UAAU,MAAM,GAAG,CAAC,GAChE,OAAO;CAIX,OAAO;AACT;AA0BA,MAAa,yBAAyB,EAAE,SAAS,WAA6C;CAC5F,IAAI,KAAK,aAAa,QAAQ,UAC5B,OAAO;CAGT,MAAM,uBAAO,IAAI,IAAY,CAAC,GAAG,OAAO,KAAK,QAAQ,MAAM,GAAG,GAAG,OAAO,KAAK,KAAK,MAAM,CAAC,CAAC;CAC1F,KAAK,MAAM,OAAO,MAChB,IACE,CAAC,OAAO,OAAO,qBAAqB,GAAG,KACvC,CAAC,gBAAgB,QAAQ,OAAO,MAAM,KAAK,OAAO,IAAI,GAEtD,OAAO;CAIX,OAAO;AACT;ACjLA,MAAa,oBAAkC;CAC7C,aAAa,CAAC;CACd,eAAe,CAAC;CAChB,eAAe,CAAC;AAClB"}
|