one 1.1.325 → 1.1.327

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. package/dist/cjs/createApp.native.js +0 -2
  2. package/dist/cjs/createApp.native.js.map +1 -1
  3. package/dist/cjs/hooks.js.map +1 -1
  4. package/dist/cjs/hooks.native.js.map +1 -1
  5. package/dist/cjs/href.cjs +29 -0
  6. package/dist/cjs/href.js +25 -0
  7. package/dist/cjs/href.js.map +6 -0
  8. package/dist/cjs/href.native.js +30 -0
  9. package/dist/cjs/href.native.js.map +6 -0
  10. package/dist/cjs/imperative-api.cjs +1 -3
  11. package/dist/cjs/imperative-api.js +1 -4
  12. package/dist/cjs/imperative-api.js.map +1 -1
  13. package/dist/cjs/imperative-api.native.js +1 -4
  14. package/dist/cjs/imperative-api.native.js.map +1 -1
  15. package/dist/cjs/index.cjs +16 -14
  16. package/dist/cjs/index.js +3 -1
  17. package/dist/cjs/index.js.map +1 -1
  18. package/dist/cjs/index.native.js +4 -1
  19. package/dist/cjs/index.native.js.map +1 -1
  20. package/dist/cjs/router/router.js.map +1 -1
  21. package/dist/cjs/router/router.native.js.map +1 -1
  22. package/dist/cjs/vite/clientTreeShakePlugin.cjs +1 -3
  23. package/dist/cjs/vite/clientTreeShakePlugin.js +1 -2
  24. package/dist/cjs/vite/clientTreeShakePlugin.js.map +1 -1
  25. package/dist/cjs/vite/clientTreeShakePlugin.native.js +1 -2
  26. package/dist/cjs/vite/clientTreeShakePlugin.native.js.map +1 -1
  27. package/dist/cjs/vite/vitePluginSsrCss.js.map +1 -1
  28. package/dist/cjs/vite/vitePluginSsrCss.native.js.map +1 -1
  29. package/dist/esm/createApp.native.js +0 -2
  30. package/dist/esm/createApp.native.js.map +1 -1
  31. package/dist/esm/hooks.js.map +1 -1
  32. package/dist/esm/hooks.mjs.map +1 -1
  33. package/dist/esm/hooks.native.js.map +1 -1
  34. package/dist/esm/href.js +9 -0
  35. package/dist/esm/href.js.map +6 -0
  36. package/dist/esm/href.mjs +6 -0
  37. package/dist/esm/href.mjs.map +1 -0
  38. package/dist/esm/href.native.js +9 -0
  39. package/dist/esm/href.native.js.map +6 -0
  40. package/dist/esm/imperative-api.js +1 -4
  41. package/dist/esm/imperative-api.js.map +1 -1
  42. package/dist/esm/imperative-api.mjs +1 -3
  43. package/dist/esm/imperative-api.mjs.map +1 -1
  44. package/dist/esm/imperative-api.native.js +1 -4
  45. package/dist/esm/imperative-api.native.js.map +1 -1
  46. package/dist/esm/index.js +15 -13
  47. package/dist/esm/index.js.map +1 -1
  48. package/dist/esm/index.mjs +15 -14
  49. package/dist/esm/index.mjs.map +1 -1
  50. package/dist/esm/index.native.js +15 -13
  51. package/dist/esm/index.native.js.map +2 -2
  52. package/dist/esm/router/router.js.map +1 -1
  53. package/dist/esm/router/router.mjs.map +1 -1
  54. package/dist/esm/router/router.native.js.map +1 -1
  55. package/dist/esm/vite/clientTreeShakePlugin.js +1 -2
  56. package/dist/esm/vite/clientTreeShakePlugin.js.map +1 -1
  57. package/dist/esm/vite/clientTreeShakePlugin.mjs +1 -3
  58. package/dist/esm/vite/clientTreeShakePlugin.mjs.map +1 -1
  59. package/dist/esm/vite/clientTreeShakePlugin.native.js +1 -2
  60. package/dist/esm/vite/clientTreeShakePlugin.native.js.map +1 -1
  61. package/dist/esm/vite/vitePluginSsrCss.js.map +1 -1
  62. package/dist/esm/vite/vitePluginSsrCss.mjs.map +1 -1
  63. package/dist/esm/vite/vitePluginSsrCss.native.js.map +1 -1
  64. package/package.json +9 -9
  65. package/src/createApp.native.tsx +0 -3
  66. package/src/hooks.tsx +1 -2
  67. package/src/href.ts +12 -0
  68. package/src/imperative-api.ts +1 -5
  69. package/src/index.ts +22 -25
  70. package/src/interfaces/router.ts +4 -3
  71. package/src/router/router.ts +1 -1
  72. package/src/vite/clientTreeShakePlugin.ts +0 -1
  73. package/src/vite/vitePluginSsrCss.ts +0 -1
  74. package/types/createApp.native.d.ts.map +1 -1
  75. package/types/createRoute.d.ts +2 -2
  76. package/types/hooks.d.ts +1 -1
  77. package/types/hooks.d.ts.map +1 -1
  78. package/types/href.d.ts +7 -0
  79. package/types/href.d.ts.map +1 -0
  80. package/types/imperative-api.d.ts.map +1 -1
  81. package/types/index.d.ts +14 -13
  82. package/types/index.d.ts.map +1 -1
  83. package/types/interfaces/router.d.ts +3 -1
  84. package/types/interfaces/router.d.ts.map +1 -1
  85. package/types/router/router.d.ts +1 -1
  86. package/types/router/router.d.ts.map +1 -1
  87. package/types/vite/clientTreeShakePlugin.d.ts.map +1 -1
  88. package/types/vite/vitePluginSsrCss.d.ts.map +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vite/Users/n8/one/packages/one/src/vite/clientTreeShakePlugin.ts"],
4
- "mappings": "AAAA,OAAOA,mBAAmB;AAC1B,SAASC,aAAa;AACtB,OAAOC,mBAAmB;AAC1B,SAASC,qBAAqBC,iCAAiC;AAE/D,SAASC,2BAA2B;AAEpC,IAAMC,WAAWJ,cAAc,SACzBK,WAAWP,cAAc,SAElBQ,wBAAwB,WAAA;AACnC,SAAO;IACLC,MAAM;IAENC,SAAS;IAETC,mBAAmBC,KAAG;AACpB,aAAOA,IAAIH,SAAS,YAAYG,IAAIH,SAAS,SAASG,IAAIH,SAAS;IACrE;IAEA,MAAMI,UAAUC,MAAMC,IAAIC,UAAQ;AAChC,UAAI,KAAKC,YAAYR,SAAS;AAG9B,eAAO,MAAMS,yBAAyBJ,MAAMC,EAAAA;IAC9C;EACF;AACF;AAEA,eAAsBG,yBAAyBJ,MAAcC,IAAU;AACrE,MAAIA,IAAGI,SAAS,cAAA,KAEX,8BAA8BC,KAAKN,IAAAA,GAIxC;QAAMO,MAAMpB,MAAMa,MAAM;MAAEQ,YAAY;MAAUC,SAAS;QAAC;QAAc;;IAAO,CAAA,GACzEC,aAAapB,0BAA0BiB,GAAAA,GAEvCI,UAAU;MACdC,QAAQ;MACRC,sBAAsB;IACxB;AAEArB,aAASe,KAAK;MACZO,uBAAuBC,MAAI;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,YAAYG,OAAM,GAClBT,QAAQY,WAAWtB,GAAGN,IAAI,IAAI;UAElC;QACF,CAAA;MAEJ;IACF,CAAA;AAEA,QAAMiC,mBAAmBC,OAAOC,KAAKnB,OAAAA,EAASoB,OAAO,SAACC,KAAAA;aAAQrB,QAAQqB,GAAAA;;AAEtE,QAAIJ,iBAAiBK,QAAQ;AAC3B5C,0BAAoBkB,KAAKG,UAAAA;AAEzB,UAAMwB,MAAMzC,SAASc,GAAAA,GAGf4B,UACJD,IAAIlC,OACJ;;IACA4B,iBACGQ,IAAI,SAACJ,KAAAA;AACJ,eAAIA,QAAQ,WACHzC,sBAGF;MACT,CAAA,EACC8C,KAAK;CAAA;AAEV,aAAO;QACLrC,MAAMmC;QACNC,KAAKF,IAAIE;MACX;IACF;;AACF;",
5
5
  "names": ["BabelGenerate", "parse", "BabelTraverse", "deadCodeElimination", "findReferencedIdentifiers", "EMPTY_LOADER_STRING", "traverse", "generate", "clientTreeShakePlugin", "name", "enforce", "applyToEnvironment", "env", "transform", "code", "id", "settings", "environment", "transformTreeShakeClient", "includes", "test", "ast", "sourceType", "plugins", "referenced", "removed", "loader", "generateStaticParams", "ExportNamedDeclaration", "path", "node", "declaration", "type", "functionName", "remove", "declarations", "forEach", "declarator", "index", "get", "Array", "isArray", "removedFunctions", "Object", "keys", "filter", "key", "length", "out", "codeOut", "map", "join"]
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vite/vitePluginSsrCss.ts"],
4
- "mappings": "AAKO,MAAM,gBAAgB;AAEtB,SAAS,iBAAiB,YAA2C;AAC1E,MAAI;AAGJ,QAAM,cAAc,iBAAiB;AAErC,SAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,gBAAgB,SAAS;AACvB,eAAS,SAGT,OAAO,YAAY,IAAI,OAAO,KAAK,KAAK,SAAS;AAC/C,YAAI,IAAI,KAAK,SAAS,WAAW,GAAG;AAClC,2BAAiB,Q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IAAI,EAAE;AACd,UAAM,MAAM,OAAO,YAAY,cAAc,EAAE;AAC/C,IAAK,OAGL,MAAM,QAAQ,IAAI,CAAC,GAAG,IAAI,eAAe,EAAE,IAAI,CAAC,aAAa,SAAS,SAAS,GAAG,CAAC,CAAC;AAAA,EACtF;AAGA,eAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC,CAAC,GAGhE,MAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,QAAQ,SAAS,GAAG,CAAC,CAAC,GAG9C,CAAC,GAAG,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,MAAM,YAAY,CAAC;AAC7D;AAGA,MAAM,eAAe;",
5
5
  "names": []
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"names":["VIRTUAL_ENTRY","vitePluginSsrCss","pluginOpts","server","virtualHref","name","apply","configureServer","server_","middlewares","use","req","res","next","url","includes","invalidateModule","code","collectStyle","entries","setHeader","write","end","resolveId","source","_importer","_options","startsWith","load","id","URL","slice","searchParams","has","JSON","stringify","transformIndexHtml","handler","tag","injectTo","attrs","rel","href","type","children","mod","moduleGraph","getModuleById","urls","collectStyleUrls","Promise","all","map","transformRequest","prefix","transform","processed","filename","Buffer","from","config","css","lightningcss","toString","err","console","error","flat","filter","Boolean","join","visited","Set","traverse","resolveUrl","add","importedModules","childMod","e","match","CSS_LANGS_RE"],"sources":["../../../src/vite/vitePluginSsrCss.ts"],"sourcesContent":[null],"mappings":"AAKO,MAAMA,aAAA,GAAgB;AAEtB,SAASC,iBAAiBC,UAAA,EAA2C;EAC1E,IAAIC,MAAA;EAGJ,MAAMC,WAAA,GAAc,iBAAiBJ,aAAA;EAErC,OAAO;IACLK,IAAA,EAAM;IACNC,KAAA,EAAO;IACPC,gBAAgBC,OAAA,EAAS;MACvBL,MAAA,GAASK,OAAA,EAGTL,MAAA,CAAOM,WAAA,CAAYC,GAAA,CAAI,OAAOC,GAAA,EAAKC,GAAA,EAAKC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AAK,EAAEC,MAAA,CAAOC,OAAO,EAAEC,IAAA,CAAK;AAAA;AAAA,CAAM;AACjD;AAEA,eAAerB,iBAAiB9C,MAAA,EAAuBgB,OAAA,EAAsC;EAC3F,MAAMoD,OAAA,GAAU,mBAAIC,GAAA,CAAY;EAEhC,eAAeC,SAAS3D,GAAA,EAAa;IACnC,MAAM,GAAGe,EAAE,IAAI,MAAM1B,MAAA,CAAO2C,WAAA,CAAY4B,UAAA,CAAW5D,GAAG;IACtD,IAAIyD,OAAA,CAAQtC,GAAA,CAAIJ,EAAE,GAChB;IAEF0C,OAAA,CAAQI,GAAA,CAAI9C,EAAE;IACd,MAAMgB,GAAA,GAAM1C,MAAA,CAAO2C,WAAA,CAAYC,aAAA,CAAclB,EAAE;IAC1CgB,GAAA,KAGL,MAAMK,OAAA,CAAQC,GAAA,CAAI,CAAC,GAAGN,GAAA,CAAI+B,eAAe,EAAExB,GAAA,CAAKyB,QAAA,IAAaJ,QAAA,CAASI,QAAA,CAAS/D,GAAG,CAAC,CAAC;EACtF;EAGA,aAAMoC,OAAA,CAAQC,GAAA,CAAIhC,OAAA,CAAQiC,GAAA,CAAK0B,CAAA,IAAM3E,MAAA,CAAOkD,gBAAA,CAAiByB,CAAC,CAAC,CAAC,GAGhE,MAAM5B,OAAA,CAAQC,GAAA,CAAIhC,OAAA,CAAQiC,GAAA,CAAKtC,GAAA,IAAQ2D,QAAA,CAAS3D,GAAG,CAAC,CAAC,GAG9C,CAAC,GAAGyD,OAAO,EAAEH,MAAA,CAAQtD,GAAA,IAAQA,GAAA,CAAIiE,KAAA,CAAMC,YAAY,CAAC;AAC7D;AAGA,MAAMA,YAAA,GAAe","ignoreList":[]}
1
+ {"version":3,"names":["VIRTUAL_ENTRY","vitePluginSsrCss","pluginOpts","server","virtualHref","name","apply","configureServer","server_","middlewares","use","req","res","next","url","includes","invalidateModule","code","collectStyle","entries","setHeader","write","end","resolveId","source","_importer","_options","startsWith","load","id","URL","slice","searchParams","has","JSON","stringify","transformIndexHtml","handler","tag","injectTo","attrs","rel","href","type","children","mod","moduleGraph","getModuleById","urls","collectStyleUrls","Promise","all","map","transformRequest","prefix","transform","processed","filename","Buffer","from","config","css","lightningcss","toString","err","console","error","flat","filter","Boolean","join","visited","Set","traverse","resolveUrl","add","importedModules","childMod","e","match","CSS_LANGS_RE"],"sources":["../../../src/vite/vitePluginSsrCss.ts"],"sourcesContent":[null],"mappings":"AAKO,MAAMA,aAAA,GAAgB;AAEtB,SAASC,iBAAiBC,UAAA,EAA2C;EAC1E,IAAIC,MAAA;EAEJ,MAAMC,WAAA,GAAc,iBAAiBJ,aAAA;EAErC,OAAO;IACLK,IAAA,EAAM;IACNC,KAAA,EAAO;IACPC,gBAAgBC,OAAA,EAAS;MACvBL,MAAA,GAASK,OAAA,EAGTL,MAAA,CAAOM,WAAA,CAAYC,GAAA,CAAI,OAAOC,GAAA,EAAKC,GAAA,EAAKC,IAAA,KAAS;QAC/C,IAAIF,GAAA,CAAIG,GAAA,EAAKC,QAAA,CAASX,WAAW,GAAG;UAClCY,gBAAA,CAAiBb,MAAA,EAAQ,OAAOH,aAAA,GAAgB,SAAS;UAEzD,IAAIiB,IAAA,GAAO,MAAMC,YAAA,CAAaf,MAAA,EAAQD,UAAA,CAAWiB,OAAO;UAExDP,GAAA,CAAIQ,SAAA,CAAU,gBAAgB,UAAU,GACxCR,GAAA,CAAIQ,SAAA,CAAU,iBAAiB,UAAU,GACzCR,GAAA,CAAIQ,SAAA,CAAU,QAAQ,GAAG,GACzBR,GAAA,CAAIS,KAAA,CAAMJ,IAAI,GACdL,GAAA,CAAIU,GAAA,CAAI;UACR;QACF;QACAT,IAAA,CAAK;MACP,CAAC;IACH;IAAA;IAAA;IAIAU,UAAUC,MAAA,EAAQC,SAAA,EAAWC,QAAA,EAAU;MACrC,OAAOF,MAAA,CAAOG,UAAA,CAAW3B,aAAa,IAAI,OAAOwB,MAAA,GAAS;IAC5D;IAEA,MAAMI,KAAKC,EAAA,EAAIH,QA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ACxD,KAAAA;WAAQA,IAAImE,MAAMC,YAAAA;;AAChD;AAGA,IAAMA,eAAe;",
5
5
  "names": ["VIRTUAL_ENTRY", "vitePluginSsrCss", "pluginOpts", "server", "virtualHref", "name", "apply", "configureServer", "server_", "middlewares", "use", "req", "res", "next", "url", "includes", "invalidateModule", "code", "collectStyle", "entries", "setHeader", "write", "end", "resolveId", "source", "_importer", "_options", "startsWith", "undefined", "load", "id", "URL", "slice", "searchParams", "has", "JSON", "stringify", "transformIndexHtml", "handler", "tag", "injectTo", "attrs", "rel", "href", "type", "children", "mod", "moduleGraph", "getModuleById", "urls", "collectStyleUrls", "codes", "Promise", "all", "map", "transformRequest", "prefix", "transform", "processed", "filename", "Buffer", "from", "config", "css", "lightningcss", "toString", "err", "console", "error", "flat", "filter", "Boolean", "join", "visited", "Set", "traverse", "resolveUrl", "add", "importedModules", "childMod", "e", "match", "CSS_LANGS_RE"]
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "one",
3
- "version": "1.1.325",
3
+ "version": "1.1.327",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "sideEffects": false,
@@ -91,14 +91,14 @@
91
91
  "@react-navigation/native-stack": "~6.9.13",
92
92
  "@react-navigation/routers": "~6.1.9",
93
93
  "@ungap/structured-clone": "^1.2.0",
94
- "@vxrn/resolve": "1.1.325",
95
- "@vxrn/tslib-lite": "1.1.325",
96
- "@vxrn/universal-color-scheme": "1.1.325",
97
- "@vxrn/use-isomorphic-layout-effect": "1.1.325",
94
+ "@vxrn/resolve": "1.1.327",
95
+ "@vxrn/tslib-lite": "1.1.327",
96
+ "@vxrn/universal-color-scheme": "1.1.327",
97
+ "@vxrn/use-isomorphic-layout-effect": "1.1.327",
98
98
  "babel-dead-code-elimination": "^1.0.6",
99
99
  "citty": "^0.1.6",
100
100
  "core-js": "^3.38.1",
101
- "create-vxrn": "1.1.325",
101
+ "create-vxrn": "1.1.327",
102
102
  "escape-string-regexp": "^5.0.0",
103
103
  "expo-linking": "~6.3.1",
104
104
  "expo-modules-core": "^1.12.24",
@@ -111,16 +111,16 @@
111
111
  "nanoid": "^3.3.7",
112
112
  "perfect-debounce": "^1.0.0",
113
113
  "picocolors": "^1.0.0",
114
- "react": "^18.2.0 || ^19.0.0",
114
+ "react": ">=18.0.0",
115
115
  "react-dom": "^18.3.1",
116
116
  "react-native-gesture-handler": "^2.18.1",
117
117
  "react-native-safe-area-context": "4.10.5",
118
118
  "react-native-screens": "3.31.1",
119
119
  "rollup-plugin-node-externals": "^7.1.2",
120
120
  "url-parse": "^1.5.10",
121
- "vite": "6.0.0-beta.1",
121
+ "vite": "^6.0.0-beta.5",
122
122
  "vite-tsconfig-paths": "^5.0.1",
123
- "vxrn": "1.1.325",
123
+ "vxrn": "1.1.327",
124
124
  "ws": "^8.18.0",
125
125
  "xxhashjs": "^0.2.2"
126
126
  },
@@ -12,9 +12,6 @@ export function createApp(options: CreateAppProps): void {
12
12
 
13
13
  AppRegistry.registerComponent('main', () => App)
14
14
 
15
- // TODO remove once we get a nice setup in tamagui repo for building native app and loading it
16
- AppRegistry.registerComponent('tamaguikitchensink', () => App)
17
-
18
15
  if (process.env.ONE_APP_NAME) {
19
16
  AppRegistry.registerComponent(process.env.ONE_APP_NAME, () => App)
20
17
  }
package/src/hooks.tsx CHANGED
@@ -114,8 +114,7 @@ export const useGlobalSearchParams = useActiveParams
114
114
  * To observe updates even when the invoking route is not focused, use `useActiveParams()`.
115
115
  */
116
116
 
117
- // TODO @nate: i removed Partial<TParams> for better types for demo
118
- export function useParams<TParams extends Object = SearchParams>(): TParams {
117
+ export function useParams<TParams extends Object = SearchParams>(): Partial<TParams> {
119
118
  const context = React.useContext(NavigationRouteContext)
120
119
  const params = context?.params ?? {}
121
120
 
package/src/href.ts ADDED
@@ -0,0 +1,12 @@
1
+ import type { OneRouter } from './interfaces/router'
2
+
3
+ /**
4
+ * Type-level utility function to help pass valid Href typed strings.
5
+ * Does not actually validate at runtime, though we could add this later.
6
+ */
7
+ export function href<A extends OneRouter.Href>(a: A): A {
8
+ if (!a || typeof a !== 'string') {
9
+ throw new Error(`Invalid href`)
10
+ }
11
+ return a
12
+ }
@@ -10,11 +10,7 @@ export const router: OneRouter.Router = {
10
10
  replace: store.replace,
11
11
  back: store.goBack,
12
12
  canGoBack: store.canGoBack,
13
- setParams: (params) =>
14
- store.setParams(
15
- // TODO
16
- params as any
17
- ),
13
+ setParams: (params) => store.setParams(params),
18
14
  subscribe: store.subscribeToRootState,
19
15
  onLoadState: store.subscribeToLoadingState,
20
16
  }
package/src/index.ts CHANGED
@@ -6,34 +6,34 @@ export type LinkProps<T extends string | object = string> = OneRouter.LinkProps<
6
6
 
7
7
  export type { Endpoint, LoaderProps } from './types'
8
8
 
9
- export * from '@vxrn/universal-color-scheme'
9
+ // base
10
+ export { router } from './imperative-api'
11
+ export { createRoute, route } from './createRoute'
12
+ export { onClientLoaderResolve } from './clientLoaderResolver'
10
13
 
11
- export { Root } from './Root'
14
+ // internals
15
+ export { createApp } from './createApp'
12
16
  export { render } from './render'
17
+ export { Root } from './Root'
18
+ export * as routerStore from './router/router'
13
19
 
20
+ // components
14
21
  export { Stack } from './layouts/Stack'
15
22
  export { Tabs } from './layouts/Tabs'
16
-
17
23
  // TODO breaking due to react-native-gesture-handler
18
24
  // export { Drawer } from './layouts/Drawer'
19
-
25
+ // export { Unmatched } from './fallbackViews/Unmatched'
20
26
  export { SafeAreaView } from 'react-native-safe-area-context'
21
27
  export { Navigator, Slot } from './views/Navigator'
22
28
  export { ErrorBoundary } from './views/ErrorBoundary'
23
- // export { Unmatched } from './fallbackViews/Unmatched'
24
29
  export { ScrollRestoration } from './views/ScrollRestoration'
25
30
  export { LoadProgressBar } from './views/LoadProgressBar'
31
+ export { Link } from './link/Link'
32
+ export { Redirect } from './link/Redirect'
33
+ export { Head } from './head'
26
34
 
27
- export { createApp } from './createApp'
28
- export { createRoute, route } from './createRoute'
29
- export { onClientLoaderResolve } from './clientLoaderResolver'
30
-
31
- export { isResponse } from './utils/isResponse'
32
- export { getURL } from './getURL'
33
- export { redirect } from './utils/redirect'
34
-
35
+ // hooks
35
36
  export { useLinkTo } from './link/useLinkTo'
36
-
37
37
  export {
38
38
  useRouter,
39
39
  useUnstableGlobalHref,
@@ -44,26 +44,23 @@ export {
44
44
  useSegments,
45
45
  useRootNavigationState,
46
46
  } from './hooks'
47
-
48
47
  // for easier expo-router migration
49
48
  export {
50
49
  useLocalSearchParams,
51
50
  useGlobalSearchParams,
52
51
  } from './hooks'
53
52
 
54
- export * as routerStore from './router/router'
55
-
56
- export { router } from './imperative-api'
57
-
58
- export { Link } from './link/Link'
59
- export { Redirect } from './link/Redirect'
60
-
61
- export { Head } from './head'
62
-
53
+ // utilities
63
54
  export { withLayoutContext } from './layouts/withLayoutContext'
55
+ export { isResponse } from './utils/isResponse'
56
+ export { getURL } from './getURL'
57
+ export { redirect } from './utils/redirect'
58
+ export { href } from './href'
59
+
60
+ // re-export
61
+ export * from '@vxrn/universal-color-scheme'
64
62
 
65
63
  // React Navigation
66
64
  export { useFocusEffect } from './useFocusEffect'
67
65
  export { useNavigation } from './useNavigation'
68
-
69
66
  export { useLoader } from './useLoader'
@@ -218,6 +218,9 @@ export namespace OneRouter {
218
218
  * One Exports *
219
219
  ***********************/
220
220
 
221
+ export type InputRouteParamsBlank = Record<string, string | undefined | null>
222
+ export type InpurRouteParamsGeneric = InputRouteParamsBlank | InputRouteParams<any>
223
+
221
224
  export type Router = {
222
225
  /** Go back in the history. */
223
226
  back: () => void
@@ -236,9 +239,7 @@ export namespace OneRouter {
236
239
  /** If there's history that supports invoking the `dismiss` and `dismissAll` function. */
237
240
  canDismiss: () => boolean
238
241
  /** Update the current route query params. */
239
- setParams: <T = ''>(
240
- params?: T extends '' ? Record<string, string | undefined | null> : InputRouteParams<T>
241
- ) => void
242
+ setParams: <T = ''>(params?: T extends '' ? InputRouteParamsBlank : InputRouteParams<T>) => void
242
243
  /** Subscribe to state updates from the router */
243
244
  subscribe: (listener: RootStateListener) => () => void
244
245
  /** Subscribe to loading state updates */
@@ -164,7 +164,7 @@ export function replace(url: OneRouter.Href, options?: OneRouter.LinkToOptions)
164
164
  return linkTo(resolveHref(url), 'REPLACE', options)
165
165
  }
166
166
 
167
- export function setParams(params: Record<string, string | number> = {}) {
167
+ export function setParams(params: OneRouter.InpurRouteParamsGeneric = {}) {
168
168
  assertIsReady(navigationRef)
169
169
  return navigationRef?.current?.setParams(
170
170
  // @ts-expect-error
@@ -79,7 +79,6 @@ export async function transformTreeShakeClient(code: string, id: string) {
79
79
  const codeOut =
80
80
  out.code +
81
81
  '\n\n' +
82
- // TODO ideally put it back in same place as it was
83
82
  removedFunctions
84
83
  .map((key) => {
85
84
  if (key === 'loader') {
@@ -8,7 +8,6 @@ export const VIRTUAL_ENTRY = `virtual:ssr-css.css`
8
8
  export function vitePluginSsrCss(pluginOpts: { entries: string[] }): Plugin {
9
9
  let server: ViteDevServer
10
10
 
11
- // TODO: base
12
11
  const virtualHref = '/@id/__x00__' + VIRTUAL_ENTRY
13
12
 
14
13
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"createApp.native.d.ts","sourceRoot":"","sources":["../src/createApp.native.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAI3B,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;CAAE,CAAA;AAK/E,wBAAgB,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAWvD"}
1
+ {"version":3,"file":"createApp.native.d.ts","sourceRoot":"","sources":["../src/createApp.native.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAI3B,MAAM,MAAM,cAAc,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;CAAE,CAAA;AAK/E,wBAAgB,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAQvD"}
@@ -1,6 +1,6 @@
1
1
  import type { OneRouter } from './interfaces/router';
2
2
  export declare function createRoute<Path>(): {
3
- useParams: () => OneRouter.InputRouteParams<Path>;
3
+ useParams: () => Partial<OneRouter.InputRouteParams<Path>>;
4
4
  useActiveParams: () => Partial<OneRouter.InputRouteParams<Path>>;
5
5
  createLoader: (a: (props: {
6
6
  params: OneRouter.InputRouteParams<Path>;
@@ -9,7 +9,7 @@ export declare function createRoute<Path>(): {
9
9
  }) => any;
10
10
  };
11
11
  declare const postIdRoute: {
12
- useParams: () => OneRouter.InputRouteParams<"/feed/[id]">;
12
+ useParams: () => Partial<OneRouter.InputRouteParams<"/feed/[id]">>;
13
13
  useActiveParams: () => Partial<OneRouter.InputRouteParams<"/feed/[id]">>;
14
14
  createLoader: (a: (props: {
15
15
  params: OneRouter.InputRouteParams<"/feed/[id]">;
package/types/hooks.d.ts CHANGED
@@ -57,6 +57,6 @@ export declare const useGlobalSearchParams: typeof useActiveParams;
57
57
  *
58
58
  * To observe updates even when the invoking route is not focused, use `useActiveParams()`.
59
59
  */
60
- export declare function useParams<TParams extends Object = SearchParams>(): TParams;
60
+ export declare function useParams<TParams extends Object = SearchParams>(): Partial<TParams>;
61
61
  export {};
62
62
  //# sourceMappingURL=hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAiB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAGpD,KAAK,YAAY,GAAG,SAAS,CAAC,YAAY,CAAA;AAE1C,wBAAgB,sBAAsB,0BAErC;AAED,wBAAgB,YAAY,wDAE3B;AAED,uJAAuJ;AACvJ,wBAAgB,yBAAyB,4BAExC;AAID,wBAAgB,MAA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SAAS,IAAI,SAAS,CAAC,MAAM,CAE5C;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAE9C;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,SAAS,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,KAAK,SAAS,CAE9E;AAED,kEAAkE;AAClE,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,OAAO,SAAS,MAAM,GAAG,YAAY,KAAK,OAAO,CAAC,OAAO,CAAC,CAEzF;AAED,mCAAmC;AACnC,eAAO,MAAM,oBAAoB,kBAAY,CAAA;AAE7C,yCAAyC;AACzC,eAAO,MAAM,qBAAqB,wBAAkB,CAAA;AAEpD;;;;;GAKG;AAEH,wBAAgB,SAAS,CAAC,OAAO,SAAS,MAAM,GAAG,YAAY,KAAK,OAAO,CAAC,OAAO,CAAC,CAyBnF"}
@@ -0,0 +1,7 @@
1
+ import type { OneRouter } from './interfaces/router';
2
+ /**
3
+ * Type-level utility function to help pass valid Href typed strings.
4
+ * Does not actually validate at runtime, though we could add this later.
5
+ */
6
+ export declare function href<A extends OneRouter.Href>(a: A): A;
7
+ //# sourceMappingURL=href.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"href.d.ts","sourceRoot":"","sources":["../src/href.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD;;;GAGG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAKtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"imperative-api.d.ts","sourceRoot":"","sources":["../src/imperative-api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,eAAO,MAAM,MAAM,EAAE,SAAS,CAAC,MAgB9B,CAAA"}
1
+ {"version":3,"file":"imperative-api.d.ts","sourceRoot":"","sources":["../src/imperative-api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,eAAO,MAAM,MAAM,EAAE,SAAS,CAAC,MAY9B,CAAA"}
package/types/index.d.ts CHANGED
@@ -3,9 +3,13 @@ import type { OneRouter } from './interfaces/router';
3
3
  export type Href = OneRouter.Href;
4
4
  export type LinkProps<T extends string | object = string> = OneRouter.LinkProps<T>;
5
5
  export type { Endpoint, LoaderProps } from './types';
6
- export * from '@vxrn/universal-color-scheme';
7
- export { Root } from './Root';
6
+ export { router } from './imperative-api';
7
+ export { createRoute, route } from './createRoute';
8
+ export { onClientLoaderResolve } from './clientLoaderResolver';
9
+ export { createApp } from './createApp';
8
10
  export { render } from './render';
11
+ export { Root } from './Root';
12
+ export * as routerStore from './router/router';
9
13
  export { Stack } from './layouts/Stack';
10
14
  export { Tabs } from './layouts/Tabs';
11
15
  export { SafeAreaView } from 'react-native-safe-area-context';
@@ -13,21 +17,18 @@ export { Navigator, Slot } from './views/Navigator';
13
17
  export { ErrorBoundary } from './views/ErrorBoundary';
14
18
  export { ScrollRestoration } from './views/ScrollRestoration';
15
19
  export { LoadProgressBar } from './views/LoadProgressBar';
16
- export { createApp } from './createApp';
17
- export { createRoute, route } from './createRoute';
18
- export { onClientLoaderResolve } from './clientLoaderResolver';
19
- export { isResponse } from './utils/isResponse';
20
- export { getURL } from './getURL';
21
- export { redirect } from './utils/redirect';
22
- export { useLinkTo } from './link/useLinkTo';
23
- export { useRouter, useUnstableGlobalHref, usePathname, useNavigationContainerRef, useParams, useActiveParams, useSegments, useRootNavigationState, } from './hooks';
24
- export { useLocalSearchParams, useGlobalSearchParams, } from './hooks';
25
- export * as routerStore from './router/router';
26
- export { router } from './imperative-api';
27
20
  export { Link } from './link/Link';
28
21
  export { Redirect } from './link/Redirect';
29
22
  export { Head } from './head';
23
+ export { useLinkTo } from './link/useLinkTo';
24
+ export { useRouter, useUnstableGlobalHref, usePathname, useNavigationContainerRef, useParams, useActiveParams, useSegments, useRootNavigationState, } from './hooks';
25
+ export { useLocalSearchParams, useGlobalSearchParams, } from './hooks';
30
26
  export { withLayoutContext } from './layouts/withLayoutContext';
27
+ export { isResponse } from './utils/isResponse';
28
+ export { getURL } from './getURL';
29
+ export { redirect } from './utils/redirect';
30
+ export { href } from './href';
31
+ export * from '@vxrn/universal-color-scheme';
31
32
  export { useFocusEffect } from './useFocusEffect';
32
33
  export { useNavigation } from './useNavigation';
33
34
  export { useLoader } from './useLoader';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAA;AACjC,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,MAAM,IAAI,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;AAElF,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAEpD,cAAc,8BAA8B,CAAA;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAKrC,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,OAAO,EAAE,i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C5C,OAAO,EACL,SAAS,EACT,qBAAqB,EACrB,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,eAAe,EACf,WAAW,EACX,sBAAsB,GACvB,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG7B,cAAc,8BAA8B,CAAA;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
@@ -129,6 +129,8 @@ export declare namespace OneRouter {
129
129
  /***********************
130
130
  * One Exports *
131
131
  ***********************/
132
+ export type InputRouteParamsBlank = Record<string, string | undefined | null>;
133
+ export type InpurRouteParamsGeneric = InputRouteParamsBlank | InputRouteParams<any>;
132
134
  export type Router = {
133
135
  /** Go back in the history. */
134
136
  back: () => void;
@@ -147,7 +149,7 @@ export declare namespace OneRouter {
147
149
  /** If there's history that supports invoking the `dismiss` and `dismissAll` function. */
148
150
  canDismiss: () => boolean;
149
151
  /** Update the current route query params. */
150
- setParams: <T = ''>(params?: T extends '' ? Record<string, string | undefined | null> : InputRouteParams<T>) => void;
152
+ setParams: <T = ''>(params?: T extends '' ? InputRouteParamsBlank : InputRouteParams<T>) => void;
151
153
  /** Subscribe to state updates from the router */
152
154
  subscribe: (listener: RootStateListener) => () => void;
153
155
  /** Subscribe to loading state updates */
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":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,GAAG,MAAM,EAAE,GAAG,CAAC,CAAA;;CAElF;AAGD,yBAAiB,GAAG,CAAC;IACnB,KAAY,KAAK,CAAC,IAAI,IAAI,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;CAChD"}
@@ -18,7 +18,7 @@ export declare function navigate(url: OneRouter.Href, options?: OneRouter.LinkTo
18
18
  export declare function push(url: OneRouter.Href, options?: OneRouter.LinkToOptions): Promise<void>;
19
19
  export declare function dismiss(count?: number): void;
20
20
  export declare function replace(url: OneRouter.Href, options?: OneRouter.LinkToOptions): Promise<void>;
21
- export declare function setParams(params?: Record<string, string | number>): void | undefined;
21
+ export declare function setParams(params?: OneRouter.InpurRouteParamsGeneric): void | undefined;
22
22
  export declare function dismissAll(): void;
23
23
  export declare function goBack(): void;
24
24
  export declare function canGoBack(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/router/router.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,iCAAiC,EAEvC,MAAM,0BAA0B,CAAA;AAGjC,OAAO,EAAmD,KAAK,aAAa,EAAE,MAAM,OAAO,CAAA;AAE3F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAKzC,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAUrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAIjF,eAAO,IAAI,SAAS,EAAE,SAAS,GAAG,IAAW,CAAA;AAC7C,eAAO,IAAI,aAAa,EAAE,aAAa,CAAA;AACvC,eAAO,IAAI,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAA;AAElD,eAAO,IAAI,wBAAwB,SAAQ,CAAA;AAC3C,eAAO,IAAI,YAAY,EAAE,SAAS,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AAS,CAAC,WAAW,aAYxD;AAmBD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,SAAS,CAAC,iBAAiB,cAK3E;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,IAAI,cAKtD;AAGD,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,SAAS,CAAC,oBAAoB,cAKjF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,CAAC,YAAY,QAI5D;AAUD,wBAAgB,QAAQ;;;;;;;;;;;;qCArPa,IAAI;;gCAIF,IAAI;EAmP1C;AAqBD,wBAAgB,iBAAiB,0BAEhC;AAED,wBAAgB,iBAAiB,cAEhC;AAGD,wBAAgB,YAAY;;;;;;;;;;;;qCArRS,IAAI;;gCAIF,IAAI;EAmR1C;AAcD,wBAAgB,iBAAiB,0BAGhC;AAED,wBAAgB,iBAAiB,cAGhC;AAoCD,wBAAgB,OAAO,SAItB;AAGD,eAAO,MAAM,gBAAgB,IAAK,CAAA;AAoBlC,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,QAaxC;AAED,wBAAsB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,aAAa,iBAwG3F"}
@@ -1 +1 @@
1
- {"version":3,"file":"clientTreeShakePlugin.d.ts","sourceRoot":"","sources":["../../src/vite/clientTreeShakePlugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAMlC,eAAO,MAAM,qBAAqB,QAAO,MAiBxC,CAAA;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;eAoEtE"}
1
+ {"version":3,"file":"clientTreeShakePlugin.d.ts","sourceRoot":"","sources":["../../src/vite/clientTreeShakePlugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAMlC,eAAO,MAAM,qBAAqB,QAAO,MAiBxC,CAAA;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;eAmEtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"vitePluginSsrCss.d.ts","sourceRoot":"","sources":["../../src/vite/vitePluginSsrCss.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAKjD,eAAO,MAAM,aAAa,wBAAwB,CAAA;AAElD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,MAAM,CAiF1E;AAaD,wBAAsB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,mBAyB1E"}
1
+ {"version":3,"file":"vitePluginSsrCss.d.ts","sourceRoot":"","sources":["../../src/vite/vitePluginSsrCss.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAKjD,eAAO,MAAM,aAAa,wBAAwB,CAAA;AAElD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,MAAM,CAgF1E;AAaD,wBAAsB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,mBAyB1E"}