@ankhorage/navigator 1.6.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/features/custom/application/resolveCustomNavigatorAdapterPlan.d.ts +1 -4
  4. package/dist/features/custom/application/resolveCustomNavigatorAdapterPlan.d.ts.map +1 -1
  5. package/dist/features/custom/application/resolveCustomNavigatorAdapterPlan.js.map +1 -1
  6. package/dist/features/custom/domain/addCustomNavigatorDiagnostics.d.ts +1 -4
  7. package/dist/features/custom/domain/addCustomNavigatorDiagnostics.d.ts.map +1 -1
  8. package/dist/features/custom/domain/addCustomNavigatorDiagnostics.js.map +1 -1
  9. package/dist/features/custom/domain/defineCustomNavigatorRegistry.d.ts +1 -2
  10. package/dist/features/custom/domain/defineCustomNavigatorRegistry.d.ts.map +1 -1
  11. package/dist/features/custom/domain/defineCustomNavigatorRegistry.js +2 -2
  12. package/dist/features/custom/domain/defineCustomNavigatorRegistry.js.map +1 -1
  13. package/dist/features/drawer/adapters/outbound/resolveDrawerRouteOptions.d.ts +1 -1
  14. package/dist/features/drawer/adapters/outbound/resolveDrawerRouteOptions.d.ts.map +1 -1
  15. package/dist/features/drawer/application/createDrawerAdapter.d.ts +1 -1
  16. package/dist/features/drawer/application/createDrawerAdapter.d.ts.map +1 -1
  17. package/dist/features/slot/adapters/outbound/generateSlotLayoutFile.d.ts +1 -1
  18. package/dist/features/slot/adapters/outbound/generateSlotLayoutFile.d.ts.map +1 -1
  19. package/dist/features/slot/application/createSlotAdapter.d.ts +1 -1
  20. package/dist/features/slot/application/createSlotAdapter.d.ts.map +1 -1
  21. package/dist/features/slot/domain/addSlotDiagnostics.d.ts +1 -2
  22. package/dist/features/slot/domain/addSlotDiagnostics.d.ts.map +1 -1
  23. package/dist/features/slot/domain/addSlotDiagnostics.js.map +1 -1
  24. package/dist/features/split-view/adapters/outbound/generateSplitViewLayoutFile.d.ts +1 -3
  25. package/dist/features/split-view/adapters/outbound/generateSplitViewLayoutFile.d.ts.map +1 -1
  26. package/dist/features/split-view/adapters/outbound/generateSplitViewLayoutFile.js +5 -6
  27. package/dist/features/split-view/adapters/outbound/generateSplitViewLayoutFile.js.map +1 -1
  28. package/dist/features/split-view/application/resolveSplitViewAdapterPlan.d.ts +1 -2
  29. package/dist/features/split-view/application/resolveSplitViewAdapterPlan.d.ts.map +1 -1
  30. package/dist/features/split-view/application/resolveSplitViewAdapterPlan.js.map +1 -1
  31. package/dist/features/split-view/domain/addSplitViewDiagnostics.d.ts +1 -3
  32. package/dist/features/split-view/domain/addSplitViewDiagnostics.d.ts.map +1 -1
  33. package/dist/features/split-view/domain/addSplitViewDiagnostics.js.map +1 -1
  34. package/dist/features/stack/application/createStackAdapter.d.ts +1 -3
  35. package/dist/features/stack/application/createStackAdapter.d.ts.map +1 -1
  36. package/dist/features/stack/application/createStackAdapter.js.map +1 -1
  37. package/dist/features/stack/domain/addExperimentalStackDiagnostics.d.ts +1 -3
  38. package/dist/features/stack/domain/addExperimentalStackDiagnostics.d.ts.map +1 -1
  39. package/dist/features/stack/domain/addStackAdapterDiagnostics.d.ts +1 -3
  40. package/dist/features/stack/domain/addStackAdapterDiagnostics.d.ts.map +1 -1
  41. package/dist/features/stack/domain/addStackAdapterDiagnostics.js.map +1 -1
  42. package/dist/features/stack/domain/resolveEffectiveStackConfig.d.ts +1 -2
  43. package/dist/features/stack/domain/resolveEffectiveStackConfig.d.ts.map +1 -1
  44. package/dist/features/stack/domain/resolveEffectiveStackConfigSource.d.ts +6 -3
  45. package/dist/features/stack/domain/resolveEffectiveStackConfigSource.d.ts.map +1 -1
  46. package/dist/features/stack/domain/resolveEffectiveStackConfigSource.js.map +1 -1
  47. package/dist/features/stack/domain/validateStackRouteOptions.d.ts +1 -2
  48. package/dist/features/stack/domain/validateStackRouteOptions.d.ts.map +1 -1
  49. package/dist/features/stack/domain/validateStackRouteOptions.js.map +1 -1
  50. package/dist/features/tabs/adapters/inbound/CustomTabsLayout.d.ts +35 -1
  51. package/dist/features/tabs/adapters/inbound/CustomTabsLayout.d.ts.map +1 -1
  52. package/dist/features/tabs/adapters/inbound/CustomTabsLayout.js.map +1 -1
  53. package/dist/features/tabs/adapters/inbound/NativeFontAwesome5Family.d.ts +1 -1
  54. package/dist/features/tabs/adapters/inbound/NativeFontAwesome5Family.d.ts.map +1 -1
  55. package/dist/features/tabs/adapters/inbound/NativeFontAwesome6Family.d.ts +1 -1
  56. package/dist/features/tabs/adapters/inbound/NativeFontAwesome6Family.d.ts.map +1 -1
  57. package/dist/features/tabs/adapters/inbound/NativeFontAwesomeFamily.d.ts +1 -1
  58. package/dist/features/tabs/adapters/inbound/NativeFontAwesomeFamily.d.ts.map +1 -1
  59. package/dist/features/tabs/adapters/inbound/NativeIoniconsFamily.d.ts +1 -1
  60. package/dist/features/tabs/adapters/inbound/NativeIoniconsFamily.d.ts.map +1 -1
  61. package/dist/features/tabs/adapters/inbound/NativeMaterialDesignIconsFamily.d.ts +1 -1
  62. package/dist/features/tabs/adapters/inbound/NativeMaterialDesignIconsFamily.d.ts.map +1 -1
  63. package/dist/features/tabs/adapters/outbound/generateTabsLayoutFile.d.ts +1 -3
  64. package/dist/features/tabs/adapters/outbound/generateTabsLayoutFile.d.ts.map +1 -1
  65. package/dist/features/tabs/adapters/outbound/generateTabsLayoutFile.js +19 -19
  66. package/dist/features/tabs/adapters/outbound/generateTabsLayoutFile.js.map +1 -1
  67. package/dist/features/tabs/application/createTabsAdapter.d.ts +1 -3
  68. package/dist/features/tabs/application/createTabsAdapter.d.ts.map +1 -1
  69. package/dist/features/tabs/application/createTabsAdapter.js.map +1 -1
  70. package/dist/features/tabs/application/resolveTabsNavigatorPlan.d.ts +1 -4
  71. package/dist/features/tabs/application/resolveTabsNavigatorPlan.d.ts.map +1 -1
  72. package/dist/features/tabs/application/resolveTabsNavigatorPlan.js.map +1 -1
  73. package/dist/features/tabs/application/resolveTabsPlan.d.ts +1 -4
  74. package/dist/features/tabs/application/resolveTabsPlan.d.ts.map +1 -1
  75. package/dist/features/tabs/application/resolveTabsPlan.js.map +1 -1
  76. package/dist/features/tabs/domain/addTabsAdapterDiagnostics.d.ts +1 -3
  77. package/dist/features/tabs/domain/addTabsAdapterDiagnostics.d.ts.map +1 -1
  78. package/dist/features/tabs/domain/addTabsAdapterDiagnostics.js.map +1 -1
  79. package/dist/features/tabs/domain/resolveCustomTabsPresentation.d.ts +1 -3
  80. package/dist/features/tabs/domain/resolveCustomTabsPresentation.d.ts.map +1 -1
  81. package/dist/features/tabs/domain/resolveCustomTabsPresentation.js.map +1 -1
  82. package/dist/features/tabs/domain/resolveEffectiveTabsConfig.d.ts +1 -2
  83. package/dist/features/tabs/domain/resolveEffectiveTabsConfig.d.ts.map +1 -1
  84. package/dist/features/tabs/domain/resolveEffectiveTabsConfig.js.map +1 -1
  85. package/dist/features/tabs/tabs.d.ts +0 -5
  86. package/dist/features/tabs/tabs.d.ts.map +1 -1
  87. package/dist/features/tabs/tabs.js.map +1 -1
  88. package/dist/navigator.d.ts +0 -25
  89. package/dist/navigator.d.ts.map +1 -1
  90. package/dist/navigator.js.map +1 -1
  91. package/dist/{features/tabs/adapters/inbound/NativeVectorIconFamily.d.ts → types/nativeIcons.d.ts} +1 -1
  92. package/dist/types/nativeIcons.d.ts.map +1 -0
  93. package/dist/types/nativeIcons.js +2 -0
  94. package/dist/types/nativeIcons.js.map +1 -0
  95. package/dist/utils/createNavigatorPlan.d.ts +1 -3
  96. package/dist/utils/createNavigatorPlan.d.ts.map +1 -1
  97. package/dist/utils/createNavigatorPlan.js.map +1 -1
  98. package/dist/utils/generateNavigatorFiles.d.ts +1 -4
  99. package/dist/utils/generateNavigatorFiles.d.ts.map +1 -1
  100. package/dist/utils/generateNavigatorFiles.js +14 -16
  101. package/dist/utils/generateNavigatorFiles.js.map +1 -1
  102. package/dist/utils/validateNavigatorManifest.d.ts +1 -4
  103. package/dist/utils/validateNavigatorManifest.d.ts.map +1 -1
  104. package/dist/utils/validateNavigatorManifest.js.map +1 -1
  105. package/dist/utils/validatePresetTopology.d.ts +1 -2
  106. package/dist/utils/validatePresetTopology.d.ts.map +1 -1
  107. package/dist/utils/validatePresetTopology.js.map +1 -1
  108. package/package.json +5 -4
  109. package/dist/features/custom/domain/CustomNavigatorConfigIssue.d.ts +0 -6
  110. package/dist/features/custom/domain/CustomNavigatorConfigIssue.d.ts.map +0 -1
  111. package/dist/features/custom/domain/CustomNavigatorConfigIssue.js +0 -2
  112. package/dist/features/custom/domain/CustomNavigatorConfigIssue.js.map +0 -1
  113. package/dist/features/custom/domain/CustomNavigatorRegistration.d.ts +0 -15
  114. package/dist/features/custom/domain/CustomNavigatorRegistration.d.ts.map +0 -1
  115. package/dist/features/custom/domain/CustomNavigatorRegistration.js +0 -2
  116. package/dist/features/custom/domain/CustomNavigatorRegistration.js.map +0 -1
  117. package/dist/features/custom/domain/CustomNavigatorRegistry.d.ts +0 -7
  118. package/dist/features/custom/domain/CustomNavigatorRegistry.d.ts.map +0 -1
  119. package/dist/features/custom/domain/CustomNavigatorRegistry.js +0 -2
  120. package/dist/features/custom/domain/CustomNavigatorRegistry.js.map +0 -1
  121. package/dist/features/stack/domain/ResolvedStackConfigSource.d.ts +0 -6
  122. package/dist/features/stack/domain/ResolvedStackConfigSource.d.ts.map +0 -1
  123. package/dist/features/stack/domain/ResolvedStackConfigSource.js +0 -2
  124. package/dist/features/stack/domain/ResolvedStackConfigSource.js.map +0 -1
  125. package/dist/features/tabs/adapters/inbound/CustomTabsIconSourceResolver.d.ts +0 -11
  126. package/dist/features/tabs/adapters/inbound/CustomTabsIconSourceResolver.d.ts.map +0 -1
  127. package/dist/features/tabs/adapters/inbound/CustomTabsIconSourceResolver.js +0 -2
  128. package/dist/features/tabs/adapters/inbound/CustomTabsIconSourceResolver.js.map +0 -1
  129. package/dist/features/tabs/adapters/inbound/CustomTabsLayoutProps.d.ts +0 -18
  130. package/dist/features/tabs/adapters/inbound/CustomTabsLayoutProps.d.ts.map +0 -1
  131. package/dist/features/tabs/adapters/inbound/CustomTabsLayoutProps.js +0 -2
  132. package/dist/features/tabs/adapters/inbound/CustomTabsLayoutProps.js.map +0 -1
  133. package/dist/features/tabs/adapters/inbound/CustomTabsPresentationProps.d.ts +0 -7
  134. package/dist/features/tabs/adapters/inbound/CustomTabsPresentationProps.d.ts.map +0 -1
  135. package/dist/features/tabs/adapters/inbound/CustomTabsPresentationProps.js +0 -2
  136. package/dist/features/tabs/adapters/inbound/CustomTabsPresentationProps.js.map +0 -1
  137. package/dist/features/tabs/adapters/inbound/CustomTabsRoute.d.ts +0 -12
  138. package/dist/features/tabs/adapters/inbound/CustomTabsRoute.d.ts.map +0 -1
  139. package/dist/features/tabs/adapters/inbound/CustomTabsRoute.js +0 -2
  140. package/dist/features/tabs/adapters/inbound/CustomTabsRoute.js.map +0 -1
  141. package/dist/features/tabs/adapters/inbound/NativeVectorIconFamily.d.ts.map +0 -1
  142. package/dist/features/tabs/adapters/inbound/NativeVectorIconFamily.js +0 -2
  143. package/dist/features/tabs/adapters/inbound/NativeVectorIconFamily.js.map +0 -1
  144. package/dist/features/tabs/domain/ResolvedCustomTabsPresentation.d.ts +0 -6
  145. package/dist/features/tabs/domain/ResolvedCustomTabsPresentation.d.ts.map +0 -1
  146. package/dist/features/tabs/domain/ResolvedCustomTabsPresentation.js +0 -2
  147. package/dist/features/tabs/domain/ResolvedCustomTabsPresentation.js.map +0 -1
  148. package/dist/features/tabs/domain/ResolvedTabsImplementation.d.ts +0 -2
  149. package/dist/features/tabs/domain/ResolvedTabsImplementation.d.ts.map +0 -1
  150. package/dist/features/tabs/domain/ResolvedTabsImplementation.js +0 -2
  151. package/dist/features/tabs/domain/ResolvedTabsImplementation.js.map +0 -1
  152. package/dist/features/tabs/domain/ResolvedTabsPresentation.d.ts +0 -2
  153. package/dist/features/tabs/domain/ResolvedTabsPresentation.d.ts.map +0 -1
  154. package/dist/features/tabs/domain/ResolvedTabsPresentation.js +0 -2
  155. package/dist/features/tabs/domain/ResolvedTabsPresentation.js.map +0 -1
  156. package/dist/features/tabs/domain/TabsNavigatorPlan.d.ts +0 -23
  157. package/dist/features/tabs/domain/TabsNavigatorPlan.d.ts.map +0 -1
  158. package/dist/features/tabs/domain/TabsNavigatorPlan.js +0 -2
  159. package/dist/features/tabs/domain/TabsNavigatorPlan.js.map +0 -1
  160. package/dist/utils/CreateNavigatorPlanOptions.d.ts +0 -10
  161. package/dist/utils/CreateNavigatorPlanOptions.d.ts.map +0 -1
  162. package/dist/utils/CreateNavigatorPlanOptions.js +0 -2
  163. package/dist/utils/CreateNavigatorPlanOptions.js.map +0 -1
  164. package/dist/utils/ExpoRouterNavigatorModule.d.ts +0 -2
  165. package/dist/utils/ExpoRouterNavigatorModule.d.ts.map +0 -1
  166. package/dist/utils/ExpoRouterNavigatorModule.js +0 -2
  167. package/dist/utils/ExpoRouterNavigatorModule.js.map +0 -1
  168. package/dist/utils/NavigatorAdapterId.d.ts +0 -2
  169. package/dist/utils/NavigatorAdapterId.d.ts.map +0 -1
  170. package/dist/utils/NavigatorAdapterId.js +0 -2
  171. package/dist/utils/NavigatorAdapterId.js.map +0 -1
  172. package/dist/utils/NavigatorAdapterPlan.d.ts +0 -13
  173. package/dist/utils/NavigatorAdapterPlan.d.ts.map +0 -1
  174. package/dist/utils/NavigatorAdapterPlan.js +0 -2
  175. package/dist/utils/NavigatorAdapterPlan.js.map +0 -1
  176. package/dist/utils/NavigatorApiStability.d.ts +0 -2
  177. package/dist/utils/NavigatorApiStability.d.ts.map +0 -1
  178. package/dist/utils/NavigatorApiStability.js +0 -2
  179. package/dist/utils/NavigatorApiStability.js.map +0 -1
  180. package/dist/utils/NavigatorDiagnostic.d.ts +0 -7
  181. package/dist/utils/NavigatorDiagnostic.d.ts.map +0 -1
  182. package/dist/utils/NavigatorDiagnostic.js +0 -2
  183. package/dist/utils/NavigatorDiagnostic.js.map +0 -1
  184. package/dist/utils/NavigatorGeneratedFile.d.ts +0 -5
  185. package/dist/utils/NavigatorGeneratedFile.d.ts.map +0 -1
  186. package/dist/utils/NavigatorGeneratedFile.js +0 -2
  187. package/dist/utils/NavigatorGeneratedFile.js.map +0 -1
  188. package/dist/utils/NavigatorGenerationBindings.d.ts +0 -12
  189. package/dist/utils/NavigatorGenerationBindings.d.ts.map +0 -1
  190. package/dist/utils/NavigatorGenerationBindings.js +0 -2
  191. package/dist/utils/NavigatorGenerationBindings.js.map +0 -1
  192. package/dist/utils/NavigatorGenerationOptions.d.ts +0 -8
  193. package/dist/utils/NavigatorGenerationOptions.d.ts.map +0 -1
  194. package/dist/utils/NavigatorGenerationOptions.js +0 -2
  195. package/dist/utils/NavigatorGenerationOptions.js.map +0 -1
  196. package/dist/utils/NavigatorNodePlan.d.ts +0 -32
  197. package/dist/utils/NavigatorNodePlan.d.ts.map +0 -1
  198. package/dist/utils/NavigatorNodePlan.js +0 -2
  199. package/dist/utils/NavigatorNodePlan.js.map +0 -1
  200. package/dist/utils/NavigatorPlan.d.ts +0 -14
  201. package/dist/utils/NavigatorPlan.d.ts.map +0 -1
  202. package/dist/utils/NavigatorPlan.js +0 -2
  203. package/dist/utils/NavigatorPlan.js.map +0 -1
  204. package/dist/utils/NavigatorResponsiveSize.d.ts +0 -2
  205. package/dist/utils/NavigatorResponsiveSize.d.ts.map +0 -1
  206. package/dist/utils/NavigatorResponsiveSize.js +0 -2
  207. package/dist/utils/NavigatorResponsiveSize.js.map +0 -1
  208. package/dist/utils/NavigatorRoutePlan.d.ts +0 -14
  209. package/dist/utils/NavigatorRoutePlan.d.ts.map +0 -1
  210. package/dist/utils/NavigatorRoutePlan.js +0 -2
  211. package/dist/utils/NavigatorRoutePlan.js.map +0 -1
  212. package/dist/utils/NavigatorRuntimePlatform.d.ts +0 -2
  213. package/dist/utils/NavigatorRuntimePlatform.d.ts.map +0 -1
  214. package/dist/utils/NavigatorRuntimePlatform.js +0 -2
  215. package/dist/utils/NavigatorRuntimePlatform.js.map +0 -1
  216. package/dist/utils/NavigatorScreenModule.d.ts +0 -5
  217. package/dist/utils/NavigatorScreenModule.d.ts.map +0 -1
  218. package/dist/utils/NavigatorScreenModule.js +0 -2
  219. package/dist/utils/NavigatorScreenModule.js.map +0 -1
  220. package/dist/utils/NavigatorSupportStatus.d.ts +0 -2
  221. package/dist/utils/NavigatorSupportStatus.d.ts.map +0 -1
  222. package/dist/utils/NavigatorSupportStatus.js +0 -2
  223. package/dist/utils/NavigatorSupportStatus.js.map +0 -1
  224. package/dist/utils/NavigatorValidationContext.d.ts +0 -6
  225. package/dist/utils/NavigatorValidationContext.d.ts.map +0 -1
  226. package/dist/utils/NavigatorValidationContext.js +0 -2
  227. package/dist/utils/NavigatorValidationContext.js.map +0 -1
  228. package/dist/utils/assertModuleBinding.d.ts +0 -4
  229. package/dist/utils/assertModuleBinding.d.ts.map +0 -1
  230. package/dist/utils/assertModuleBinding.js +0 -14
  231. package/dist/utils/assertModuleBinding.js.map +0 -1
  232. package/dist/utils/quote.d.ts +0 -3
  233. package/dist/utils/quote.d.ts.map +0 -1
  234. package/dist/utils/quote.js +0 -18
  235. package/dist/utils/quote.js.map +0 -1
  236. package/dist/utils/quoteJsxAttribute.d.ts +0 -3
  237. package/dist/utils/quoteJsxAttribute.d.ts.map +0 -1
  238. package/dist/utils/quoteJsxAttribute.js +0 -5
  239. package/dist/utils/quoteJsxAttribute.js.map +0 -1
  240. package/dist/utils/sourceLiteral.d.ts +0 -3
  241. package/dist/utils/sourceLiteral.d.ts.map +0 -1
  242. package/dist/utils/sourceLiteral.js +0 -21
  243. package/dist/utils/sourceLiteral.js.map +0 -1
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorAdapterId.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorAdapterId.js","sourceRoot":"","sources":["../../src/utils/NavigatorAdapterId.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import type { NavigatorAdapterId } from './NavigatorAdapterId';
2
- import type { NavigatorApiStability } from './NavigatorApiStability';
3
- import type { NavigatorSupportStatus } from './NavigatorSupportStatus';
4
- export interface NavigatorAdapterPlan {
5
- id: NavigatorAdapterId;
6
- /** Built-in Expo Router entry point or an explicitly registered custom module. */
7
- module?: string;
8
- exportName?: string;
9
- support: NavigatorSupportStatus;
10
- stability: NavigatorApiStability;
11
- limitations: readonly string[];
12
- }
13
- //# sourceMappingURL=NavigatorAdapterPlan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorAdapterPlan.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorAdapterPlan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,kBAAkB,CAAC;IACvB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,sBAAsB,CAAC;IAChC,SAAS,EAAE,qBAAqB,CAAC;IACjC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;CAChC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorAdapterPlan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorAdapterPlan.js","sourceRoot":"","sources":["../../src/utils/NavigatorAdapterPlan.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type NavigatorApiStability = 'stable' | 'alpha';
2
- //# sourceMappingURL=NavigatorApiStability.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorApiStability.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorApiStability.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,OAAO,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorApiStability.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorApiStability.js","sourceRoot":"","sources":["../../src/utils/NavigatorApiStability.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export interface NavigatorDiagnostic {
2
- code: string;
3
- severity: 'error' | 'warning';
4
- path: string;
5
- message: string;
6
- }
7
- //# sourceMappingURL=NavigatorDiagnostic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorDiagnostic.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorDiagnostic.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorDiagnostic.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorDiagnostic.js","sourceRoot":"","sources":["../../src/utils/NavigatorDiagnostic.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface NavigatorGeneratedFile {
2
- path: string;
3
- contents: string;
4
- }
5
- //# sourceMappingURL=NavigatorGeneratedFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorGeneratedFile.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorGeneratedFile.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorGeneratedFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorGeneratedFile.js","sourceRoot":"","sources":["../../src/utils/NavigatorGeneratedFile.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- import type { NavigatorScreenModule } from './NavigatorScreenModule';
2
- export interface NavigatorGenerationBindings {
3
- screens: Readonly<Record<string, NavigatorScreenModule>>;
4
- guards: Readonly<Record<string, NavigatorScreenModule>>;
5
- iconSourceResolver?: NavigatorScreenModule;
6
- flows?: {
7
- onboardingRoute?: string;
8
- authenticationRoute?: string;
9
- };
10
- tabPresentations?: Readonly<Record<string, NavigatorScreenModule>>;
11
- }
12
- //# sourceMappingURL=NavigatorGenerationBindings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorGenerationBindings.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorGenerationBindings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;IACzD,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;IACxD,kBAAkB,CAAC,EAAE,qBAAqB,CAAC;IAC3C,KAAK,CAAC,EAAE;QACN,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAC9B,CAAC;IACF,gBAAgB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC;CACpE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorGenerationBindings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorGenerationBindings.js","sourceRoot":"","sources":["../../src/utils/NavigatorGenerationBindings.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- /** Options for placing Navigator-owned files inside a consumer-owned Expo Router app shell. */
2
- export interface NavigatorGenerationOptions {
3
- /** Directory that receives the root navigator layout. Must be `src/app` or one of its safe descendants. */
4
- rootDirectory?: string;
5
- /** Emit routed screen re-export modules in addition to layouts. Defaults to true. */
6
- includeScreenFiles?: boolean;
7
- }
8
- //# sourceMappingURL=NavigatorGenerationOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorGenerationOptions.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorGenerationOptions.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,MAAM,WAAW,0BAA0B;IACzC,2GAA2G;IAC3G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorGenerationOptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorGenerationOptions.js","sourceRoot":"","sources":["../../src/utils/NavigatorGenerationOptions.ts"],"names":[],"mappings":""}
@@ -1,32 +0,0 @@
1
- import type { CustomNavigatorNode, DrawerNavigatorOptions, NavigatorType, StackImplementation, StackScreenOptions } from '@ankhorage/contracts/navigator';
2
- import type { TabsNavigatorPlan } from '../features/tabs/domain/TabsNavigatorPlan';
3
- import type { NavigatorAdapterPlan } from './NavigatorAdapterPlan';
4
- import type { NavigatorRoutePlan } from './NavigatorRoutePlan';
5
- export interface NavigatorNodePlan {
6
- type: NavigatorType;
7
- pointer: string;
8
- adapter: NavigatorAdapterPlan;
9
- initialRouteName?: string;
10
- routes: readonly NavigatorRoutePlan[];
11
- stack?: {
12
- implementation: StackImplementation;
13
- options?: StackScreenOptions;
14
- };
15
- drawer?: {
16
- options?: DrawerNavigatorOptions;
17
- };
18
- tabs?: TabsNavigatorPlan;
19
- splitView?: {
20
- columns: {
21
- primary: string;
22
- supplementary?: string;
23
- };
24
- inspector?: string;
25
- topColumnForCollapsing?: 'primary' | 'secondary' | 'supplementary';
26
- };
27
- custom?: {
28
- navigatorId: string;
29
- config?: CustomNavigatorNode['config'];
30
- };
31
- }
32
- //# sourceMappingURL=NavigatorNodePlan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorNodePlan.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorNodePlan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACtC,KAAK,CAAC,EAAE;QACN,cAAc,EAAE,mBAAmB,CAAC;QACpC,OAAO,CAAC,EAAE,kBAAkB,CAAC;KAC9B,CAAC;IACF,MAAM,CAAC,EAAE;QACP,OAAO,CAAC,EAAE,sBAAsB,CAAC;KAClC,CAAC;IACF,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,SAAS,CAAC,EAAE;QACV,OAAO,EAAE;YACP,OAAO,EAAE,MAAM,CAAC;YAChB,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,sBAAsB,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,eAAe,CAAC;KACpE,CAAC;IACF,MAAM,CAAC,EAAE;QACP,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;KACxC,CAAC;CACH"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorNodePlan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorNodePlan.js","sourceRoot":"","sources":["../../src/utils/NavigatorNodePlan.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- import type { NavigatorDiagnostic } from './NavigatorDiagnostic';
2
- import type { NavigatorNodePlan } from './NavigatorNodePlan';
3
- import type { NavigatorValidationContext } from './NavigatorValidationContext';
4
- export interface NavigatorPlan {
5
- context: NavigatorValidationContext;
6
- root: NavigatorNodePlan;
7
- diagnostics: readonly NavigatorDiagnostic[];
8
- supported: boolean;
9
- flows: {
10
- onboarding: boolean;
11
- authentication: boolean;
12
- };
13
- }
14
- //# sourceMappingURL=NavigatorPlan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorPlan.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorPlan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,0BAA0B,CAAC;IACpC,IAAI,EAAE,iBAAiB,CAAC;IACxB,WAAW,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAC5C,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE;QACL,UAAU,EAAE,OAAO,CAAC;QACpB,cAAc,EAAE,OAAO,CAAC;KACzB,CAAC;CACH"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorPlan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorPlan.js","sourceRoot":"","sources":["../../src/utils/NavigatorPlan.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type NavigatorResponsiveSize = 'compact' | 'medium' | 'expanded';
2
- //# sourceMappingURL=NavigatorResponsiveSize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorResponsiveSize.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorResponsiveSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorResponsiveSize.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorResponsiveSize.js","sourceRoot":"","sources":["../../src/utils/NavigatorResponsiveSize.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- import type { RouteDefinition, StackScreenOptions } from '@ankhorage/contracts/navigator';
2
- import type { NavigatorNodePlan } from './NavigatorNodePlan';
3
- export interface NavigatorRoutePlan {
4
- name: string;
5
- path?: string;
6
- label?: string;
7
- icon?: RouteDefinition['icon'];
8
- showInPrimaryNavigation?: boolean;
9
- guards: readonly string[];
10
- screenId?: string;
11
- stackOptions?: StackScreenOptions;
12
- navigator?: NavigatorNodePlan;
13
- }
14
- //# sourceMappingURL=NavigatorRoutePlan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorRoutePlan.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorRoutePlan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAE1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorRoutePlan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorRoutePlan.js","sourceRoot":"","sources":["../../src/utils/NavigatorRoutePlan.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type NavigatorRuntimePlatform = 'android' | 'ios' | 'web';
2
- //# sourceMappingURL=NavigatorRuntimePlatform.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorRuntimePlatform.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorRuntimePlatform.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,KAAK,GAAG,KAAK,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorRuntimePlatform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorRuntimePlatform.js","sourceRoot":"","sources":["../../src/utils/NavigatorRuntimePlatform.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface NavigatorScreenModule {
2
- module: string;
3
- exportName: string;
4
- }
5
- //# sourceMappingURL=NavigatorScreenModule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorScreenModule.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorScreenModule.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorScreenModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorScreenModule.js","sourceRoot":"","sources":["../../src/utils/NavigatorScreenModule.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type NavigatorSupportStatus = 'supported' | 'unavailable';
2
- //# sourceMappingURL=NavigatorSupportStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorSupportStatus.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorSupportStatus.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG,aAAa,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorSupportStatus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorSupportStatus.js","sourceRoot":"","sources":["../../src/utils/NavigatorSupportStatus.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import type { NavigatorRuntimePlatform } from './NavigatorRuntimePlatform';
2
- export interface NavigatorValidationContext {
3
- platform: NavigatorRuntimePlatform;
4
- expoRouterVersion: string;
5
- }
6
- //# sourceMappingURL=NavigatorValidationContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorValidationContext.d.ts","sourceRoot":"","sources":["../../src/utils/NavigatorValidationContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,wBAAwB,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=NavigatorValidationContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigatorValidationContext.js","sourceRoot":"","sources":["../../src/utils/NavigatorValidationContext.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { NavigatorScreenModule } from './NavigatorScreenModule';
2
- /*** Reject module and export bindings that cannot be emitted as safe static imports. */
3
- export declare function assertModuleBinding(binding: NavigatorScreenModule, description: string): void;
4
- //# sourceMappingURL=assertModuleBinding.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assertModuleBinding.d.ts","sourceRoot":"","sources":["../../src/utils/assertModuleBinding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAW7F"}
@@ -1,14 +0,0 @@
1
- /*** Reject module and export bindings that cannot be emitted as safe static imports. */
2
- export function assertModuleBinding(binding, description) {
3
- if (!SAFE_MODULE.test(binding.module) ||
4
- binding.module.includes('\\') ||
5
- binding.module.split('/').slice(1).includes('..')) {
6
- throw new Error(`${description} has an unsafe module specifier.`);
7
- }
8
- if (!SAFE_EXPORT_NAME.test(binding.exportName)) {
9
- throw new Error(`${description} has an invalid exported symbol.`);
10
- }
11
- }
12
- const SAFE_MODULE = /^(?:@\/[A-Za-z0-9_./-]+|\.{1,2}\/[A-Za-z0-9_./-]+|@?[A-Za-z0-9][A-Za-z0-9._-]*(?:\/[A-Za-z0-9._-]+)*)$/u;
13
- const SAFE_EXPORT_NAME = /^[A-Za-z_$][A-Za-z0-9_$]*$/u;
14
- //# sourceMappingURL=assertModuleBinding.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assertModuleBinding.js","sourceRoot":"","sources":["../../src/utils/assertModuleBinding.ts"],"names":[],"mappings":"AAEA,wFAAwF;AACxF,MAAM,UAAU,mBAAmB,CAAC,OAA8B,EAAE,WAAmB;IACrF,IACE,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACjC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC7B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EACjD,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,GAAG,WAAW,kCAAkC,CAAC,CAAC;IACpE,CAAC;IACD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CAAC,GAAG,WAAW,kCAAkC,CAAC,CAAC;IACpE,CAAC;AACH,CAAC;AAED,MAAM,WAAW,GACf,yGAAyG,CAAC;AAE5G,MAAM,gBAAgB,GAAG,6BAA6B,CAAC"}
@@ -1,3 +0,0 @@
1
- /*** Serialize a generated JavaScript string literal with safe single-quote escaping. */
2
- export declare function quote(value: string): string;
3
- //# sourceMappingURL=quote.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quote.d.ts","sourceRoot":"","sources":["../../src/utils/quote.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAW3C"}
@@ -1,18 +0,0 @@
1
- /*** Serialize a generated JavaScript string literal with safe single-quote escaping. */
2
- export function quote(value) {
3
- const content = [...value]
4
- .map((character) => {
5
- if (character === "'")
6
- return "\\'";
7
- if (character === '"')
8
- return '"';
9
- if (character === '\u2028')
10
- return '\\u2028';
11
- if (character === '\u2029')
12
- return '\\u2029';
13
- return JSON.stringify(character).slice(1, -1);
14
- })
15
- .join('');
16
- return `'${content}'`;
17
- }
18
- //# sourceMappingURL=quote.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quote.js","sourceRoot":"","sources":["../../src/utils/quote.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,MAAM,UAAU,KAAK,CAAC,KAAa;IACjC,MAAM,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC;SACvB,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE;QACjB,IAAI,SAAS,KAAK,GAAG;YAAE,OAAO,KAAK,CAAC;QACpC,IAAI,SAAS,KAAK,GAAG;YAAE,OAAO,GAAG,CAAC;QAClC,IAAI,SAAS,KAAK,QAAQ;YAAE,OAAO,SAAS,CAAC;QAC7C,IAAI,SAAS,KAAK,QAAQ;YAAE,OAAO,SAAS,CAAC;QAC7C,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAChD,CAAC,CAAC;SACD,IAAI,CAAC,EAAE,CAAC,CAAC;IACZ,OAAO,IAAI,OAAO,GAAG,CAAC;AACxB,CAAC"}
@@ -1,3 +0,0 @@
1
- /*** Serialize a generated JSX string attribute with JSON-compatible double-quote escaping. */
2
- export declare function quoteJsxAttribute(value: string): string;
3
- //# sourceMappingURL=quoteJsxAttribute.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quoteJsxAttribute.d.ts","sourceRoot":"","sources":["../../src/utils/quoteJsxAttribute.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEvD"}
@@ -1,5 +0,0 @@
1
- /*** Serialize a generated JSX string attribute with JSON-compatible double-quote escaping. */
2
- export function quoteJsxAttribute(value) {
3
- return JSON.stringify(value);
4
- }
5
- //# sourceMappingURL=quoteJsxAttribute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"quoteJsxAttribute.js","sourceRoot":"","sources":["../../src/utils/quoteJsxAttribute.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,MAAM,UAAU,iBAAiB,CAAC,KAAa;IAC7C,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC/B,CAAC"}
@@ -1,3 +0,0 @@
1
- /*** Serialize JSON-compatible data as a deterministic JavaScript source literal. */
2
- export declare function sourceLiteral(value: unknown): string;
3
- //# sourceMappingURL=sourceLiteral.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sourceLiteral.d.ts","sourceRoot":"","sources":["../../src/utils/sourceLiteral.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAgBpD"}
@@ -1,21 +0,0 @@
1
- import { quote } from './quote';
2
- /*** Serialize JSON-compatible data as a deterministic JavaScript source literal. */
3
- export function sourceLiteral(value) {
4
- if (value === null)
5
- return 'null';
6
- if (typeof value === 'string')
7
- return quote(value);
8
- if (typeof value === 'boolean')
9
- return String(value);
10
- if (typeof value === 'number' && Number.isFinite(value))
11
- return String(value);
12
- if (Array.isArray(value))
13
- return `[${value.map((entry) => (entry === undefined ? 'null' : sourceLiteral(entry))).join(', ')}]`;
14
- if (typeof value !== 'object')
15
- throw new Error('Unsupported generated source literal value.');
16
- const entries = Object.entries(value).filter(([, entry]) => entry !== undefined);
17
- return `{ ${entries
18
- .map(([key, entry]) => `${/^[A-Za-z_$][A-Za-z0-9_$]*$/u.test(key) ? key : quote(key)}: ${sourceLiteral(entry)}`)
19
- .join(', ')} }`;
20
- }
21
- //# sourceMappingURL=sourceLiteral.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sourceLiteral.js","sourceRoot":"","sources":["../../src/utils/sourceLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,oFAAoF;AACpF,MAAM,UAAU,aAAa,CAAC,KAAc;IAC1C,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,MAAM,CAAC;IAClC,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC;IACnD,IAAI,OAAO,KAAK,KAAK,SAAS;QAAE,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IAC9E,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QACtB,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;IACvG,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;IAE9F,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC;IACjF,OAAO,KAAK,OAAO;SAChB,GAAG,CACF,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CACf,GAAG,6BAA6B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,aAAa,CAAC,KAAK,CAAC,EAAE,CAC3F;SACA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACpB,CAAC"}