@bendyline/squisq 1.4.0 → 1.4.1

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 (588) hide show
  1. package/dist/doc/index.d.ts +5 -10
  2. package/dist/doc/index.js +145 -7
  3. package/dist/doc/index.js.map +1 -1
  4. package/dist/generate/index.d.ts +99 -7
  5. package/dist/generate/index.js +16 -3
  6. package/dist/generate/index.js.map +1 -1
  7. package/dist/icons/index.d.ts +84 -9
  8. package/dist/icons/index.js +16 -9
  9. package/dist/icons/index.js.map +1 -1
  10. package/dist/imageEdit/index.d.ts +213 -11
  11. package/dist/imageEdit/index.js +53 -21
  12. package/dist/imageEdit/index.js.map +1 -1
  13. package/dist/index.d.ts +21 -13
  14. package/dist/index.js +461 -12
  15. package/dist/index.js.map +1 -1
  16. package/dist/jsonForm/index.d.ts +189 -12
  17. package/dist/jsonForm/index.js +26 -11
  18. package/dist/jsonForm/index.js.map +1 -1
  19. package/dist/markdown/index.d.ts +265 -19
  20. package/dist/markdown/index.js +39 -33
  21. package/dist/markdown/index.js.map +1 -1
  22. package/dist/random/index.d.ts +51 -2
  23. package/dist/random/index.js +9 -1
  24. package/dist/random/index.js.map +1 -1
  25. package/dist/recommend/index.d.ts +39 -13
  26. package/dist/recommend/index.js +9 -14
  27. package/dist/recommend/index.js.map +1 -1
  28. package/dist/schemas/index.d.ts +188 -15
  29. package/dist/schemas/index.js +120 -11
  30. package/dist/schemas/index.js.map +1 -1
  31. package/dist/spatial/index.d.ts +111 -3
  32. package/dist/spatial/index.js +24 -2
  33. package/dist/spatial/index.js.map +1 -1
  34. package/dist/storage/index.d.ts +159 -10
  35. package/dist/storage/index.js +20 -6
  36. package/dist/storage/index.js.map +1 -1
  37. package/dist/timing/index.d.ts +109 -4
  38. package/dist/timing/index.js +23 -2
  39. package/dist/timing/index.js.map +1 -1
  40. package/dist/transform/index.d.ts +175 -6
  41. package/dist/transform/index.js +490 -3
  42. package/dist/transform/index.js.map +1 -1
  43. package/dist/versions/index.d.ts +123 -24
  44. package/dist/versions/index.js +34 -27
  45. package/dist/versions/index.js.map +1 -1
  46. package/package.json +1 -1
  47. package/dist/__tests__/animationUtils.test.d.ts +0 -2
  48. package/dist/__tests__/animationUtils.test.d.ts.map +0 -1
  49. package/dist/__tests__/animationUtils.test.js +0 -60
  50. package/dist/__tests__/animationUtils.test.js.map +0 -1
  51. package/dist/__tests__/colorUtils.test.d.ts +0 -2
  52. package/dist/__tests__/colorUtils.test.d.ts.map +0 -1
  53. package/dist/__tests__/colorUtils.test.js +0 -94
  54. package/dist/__tests__/colorUtils.test.js.map +0 -1
  55. package/dist/__tests__/contentContainer.test.d.ts +0 -2
  56. package/dist/__tests__/contentContainer.test.d.ts.map +0 -1
  57. package/dist/__tests__/contentContainer.test.js +0 -234
  58. package/dist/__tests__/contentContainer.test.js.map +0 -1
  59. package/dist/__tests__/contentExtractor.test.d.ts +0 -2
  60. package/dist/__tests__/contentExtractor.test.d.ts.map +0 -1
  61. package/dist/__tests__/contentExtractor.test.js +0 -151
  62. package/dist/__tests__/contentExtractor.test.js.map +0 -1
  63. package/dist/__tests__/coverBlock.test.d.ts +0 -2
  64. package/dist/__tests__/coverBlock.test.d.ts.map +0 -1
  65. package/dist/__tests__/coverBlock.test.js +0 -197
  66. package/dist/__tests__/coverBlock.test.js.map +0 -1
  67. package/dist/__tests__/dataTable.test.d.ts +0 -2
  68. package/dist/__tests__/dataTable.test.d.ts.map +0 -1
  69. package/dist/__tests__/dataTable.test.js +0 -110
  70. package/dist/__tests__/dataTable.test.js.map +0 -1
  71. package/dist/__tests__/geohash.test.d.ts +0 -2
  72. package/dist/__tests__/geohash.test.d.ts.map +0 -1
  73. package/dist/__tests__/geohash.test.js +0 -87
  74. package/dist/__tests__/geohash.test.js.map +0 -1
  75. package/dist/__tests__/getLayers.test.d.ts +0 -2
  76. package/dist/__tests__/getLayers.test.d.ts.map +0 -1
  77. package/dist/__tests__/getLayers.test.js +0 -191
  78. package/dist/__tests__/getLayers.test.js.map +0 -1
  79. package/dist/__tests__/haversine.test.d.ts +0 -2
  80. package/dist/__tests__/haversine.test.d.ts.map +0 -1
  81. package/dist/__tests__/haversine.test.js +0 -56
  82. package/dist/__tests__/haversine.test.js.map +0 -1
  83. package/dist/__tests__/iconResolve.test.d.ts +0 -2
  84. package/dist/__tests__/iconResolve.test.d.ts.map +0 -1
  85. package/dist/__tests__/iconResolve.test.js +0 -99
  86. package/dist/__tests__/iconResolve.test.js.map +0 -1
  87. package/dist/__tests__/imageEditState.test.d.ts +0 -2
  88. package/dist/__tests__/imageEditState.test.d.ts.map +0 -1
  89. package/dist/__tests__/imageEditState.test.js +0 -61
  90. package/dist/__tests__/imageEditState.test.js.map +0 -1
  91. package/dist/__tests__/imageEditVersions.test.d.ts +0 -2
  92. package/dist/__tests__/imageEditVersions.test.d.ts.map +0 -1
  93. package/dist/__tests__/imageEditVersions.test.js +0 -141
  94. package/dist/__tests__/imageEditVersions.test.js.map +0 -1
  95. package/dist/__tests__/inferDocumentTitle.test.d.ts +0 -2
  96. package/dist/__tests__/inferDocumentTitle.test.d.ts.map +0 -1
  97. package/dist/__tests__/inferDocumentTitle.test.js +0 -42
  98. package/dist/__tests__/inferDocumentTitle.test.js.map +0 -1
  99. package/dist/__tests__/jsonForm.chooseControl.test.d.ts +0 -2
  100. package/dist/__tests__/jsonForm.chooseControl.test.d.ts.map +0 -1
  101. package/dist/__tests__/jsonForm.chooseControl.test.js +0 -74
  102. package/dist/__tests__/jsonForm.chooseControl.test.js.map +0 -1
  103. package/dist/__tests__/jsonForm.evaluateWhen.test.d.ts +0 -2
  104. package/dist/__tests__/jsonForm.evaluateWhen.test.d.ts.map +0 -1
  105. package/dist/__tests__/jsonForm.evaluateWhen.test.js +0 -51
  106. package/dist/__tests__/jsonForm.evaluateWhen.test.js.map +0 -1
  107. package/dist/__tests__/jsonForm.inferSchema.test.d.ts +0 -2
  108. package/dist/__tests__/jsonForm.inferSchema.test.d.ts.map +0 -1
  109. package/dist/__tests__/jsonForm.inferSchema.test.js +0 -23
  110. package/dist/__tests__/jsonForm.inferSchema.test.js.map +0 -1
  111. package/dist/__tests__/jsonForm.pointer.test.d.ts +0 -2
  112. package/dist/__tests__/jsonForm.pointer.test.d.ts.map +0 -1
  113. package/dist/__tests__/jsonForm.pointer.test.js +0 -94
  114. package/dist/__tests__/jsonForm.pointer.test.js.map +0 -1
  115. package/dist/__tests__/localForageAdapter.test.d.ts +0 -8
  116. package/dist/__tests__/localForageAdapter.test.d.ts.map +0 -1
  117. package/dist/__tests__/localForageAdapter.test.js +0 -130
  118. package/dist/__tests__/localForageAdapter.test.js.map +0 -1
  119. package/dist/__tests__/markdown.test.d.ts +0 -2
  120. package/dist/__tests__/markdown.test.d.ts.map +0 -1
  121. package/dist/__tests__/markdown.test.js +0 -715
  122. package/dist/__tests__/markdown.test.js.map +0 -1
  123. package/dist/__tests__/markdownIcons.test.d.ts +0 -2
  124. package/dist/__tests__/markdownIcons.test.d.ts.map +0 -1
  125. package/dist/__tests__/markdownIcons.test.js +0 -93
  126. package/dist/__tests__/markdownIcons.test.js.map +0 -1
  127. package/dist/__tests__/markdownToDoc.test.d.ts +0 -2
  128. package/dist/__tests__/markdownToDoc.test.d.ts.map +0 -1
  129. package/dist/__tests__/markdownToDoc.test.js +0 -458
  130. package/dist/__tests__/markdownToDoc.test.js.map +0 -1
  131. package/dist/__tests__/recommendTemplates.test.d.ts +0 -2
  132. package/dist/__tests__/recommendTemplates.test.d.ts.map +0 -1
  133. package/dist/__tests__/recommendTemplates.test.js +0 -158
  134. package/dist/__tests__/recommendTemplates.test.js.map +0 -1
  135. package/dist/__tests__/scopedContentContainer.test.d.ts +0 -2
  136. package/dist/__tests__/scopedContentContainer.test.d.ts.map +0 -1
  137. package/dist/__tests__/scopedContentContainer.test.js +0 -74
  138. package/dist/__tests__/scopedContentContainer.test.js.map +0 -1
  139. package/dist/__tests__/seededRandom.test.d.ts +0 -2
  140. package/dist/__tests__/seededRandom.test.d.ts.map +0 -1
  141. package/dist/__tests__/seededRandom.test.js +0 -125
  142. package/dist/__tests__/seededRandom.test.js.map +0 -1
  143. package/dist/__tests__/slideshowGenerator.test.d.ts +0 -2
  144. package/dist/__tests__/slideshowGenerator.test.d.ts.map +0 -1
  145. package/dist/__tests__/slideshowGenerator.test.js +0 -114
  146. package/dist/__tests__/slideshowGenerator.test.js.map +0 -1
  147. package/dist/__tests__/storage.test.d.ts +0 -2
  148. package/dist/__tests__/storage.test.d.ts.map +0 -1
  149. package/dist/__tests__/storage.test.js +0 -51
  150. package/dist/__tests__/storage.test.js.map +0 -1
  151. package/dist/__tests__/surface.test.d.ts +0 -2
  152. package/dist/__tests__/surface.test.d.ts.map +0 -1
  153. package/dist/__tests__/surface.test.js +0 -57
  154. package/dist/__tests__/surface.test.js.map +0 -1
  155. package/dist/__tests__/templateAnnotationParse.test.d.ts +0 -2
  156. package/dist/__tests__/templateAnnotationParse.test.d.ts.map +0 -1
  157. package/dist/__tests__/templateAnnotationParse.test.js +0 -42
  158. package/dist/__tests__/templateAnnotationParse.test.js.map +0 -1
  159. package/dist/__tests__/templates.test.d.ts +0 -2
  160. package/dist/__tests__/templates.test.d.ts.map +0 -1
  161. package/dist/__tests__/templates.test.js +0 -298
  162. package/dist/__tests__/templates.test.js.map +0 -1
  163. package/dist/__tests__/themeCompile.test.d.ts +0 -2
  164. package/dist/__tests__/themeCompile.test.d.ts.map +0 -1
  165. package/dist/__tests__/themeCompile.test.js +0 -134
  166. package/dist/__tests__/themeCompile.test.js.map +0 -1
  167. package/dist/__tests__/themeValidator.test.d.ts +0 -2
  168. package/dist/__tests__/themeValidator.test.d.ts.map +0 -1
  169. package/dist/__tests__/themeValidator.test.js +0 -107
  170. package/dist/__tests__/themeValidator.test.js.map +0 -1
  171. package/dist/__tests__/timing.test.d.ts +0 -2
  172. package/dist/__tests__/timing.test.d.ts.map +0 -1
  173. package/dist/__tests__/timing.test.js +0 -131
  174. package/dist/__tests__/timing.test.js.map +0 -1
  175. package/dist/__tests__/versions.test.d.ts +0 -2
  176. package/dist/__tests__/versions.test.d.ts.map +0 -1
  177. package/dist/__tests__/versions.test.js +0 -339
  178. package/dist/__tests__/versions.test.js.map +0 -1
  179. package/dist/doc/audioMapping.d.ts +0 -36
  180. package/dist/doc/audioMapping.d.ts.map +0 -1
  181. package/dist/doc/audioMapping.js +0 -350
  182. package/dist/doc/audioMapping.js.map +0 -1
  183. package/dist/doc/docToMarkdown.d.ts +0 -41
  184. package/dist/doc/docToMarkdown.d.ts.map +0 -1
  185. package/dist/doc/docToMarkdown.js +0 -88
  186. package/dist/doc/docToMarkdown.js.map +0 -1
  187. package/dist/doc/getLayers.d.ts +0 -65
  188. package/dist/doc/getLayers.d.ts.map +0 -1
  189. package/dist/doc/getLayers.js +0 -114
  190. package/dist/doc/getLayers.js.map +0 -1
  191. package/dist/doc/index.d.ts.map +0 -1
  192. package/dist/doc/markdownToDoc.d.ts +0 -75
  193. package/dist/doc/markdownToDoc.d.ts.map +0 -1
  194. package/dist/doc/markdownToDoc.js +0 -432
  195. package/dist/doc/markdownToDoc.js.map +0 -1
  196. package/dist/doc/templates/accentImage.d.ts +0 -59
  197. package/dist/doc/templates/accentImage.d.ts.map +0 -1
  198. package/dist/doc/templates/accentImage.js +0 -275
  199. package/dist/doc/templates/accentImage.js.map +0 -1
  200. package/dist/doc/templates/captionUtils.d.ts +0 -20
  201. package/dist/doc/templates/captionUtils.d.ts.map +0 -1
  202. package/dist/doc/templates/captionUtils.js +0 -29
  203. package/dist/doc/templates/captionUtils.js.map +0 -1
  204. package/dist/doc/templates/comparisonBar.d.ts +0 -13
  205. package/dist/doc/templates/comparisonBar.d.ts.map +0 -1
  206. package/dist/doc/templates/comparisonBar.js +0 -145
  207. package/dist/doc/templates/comparisonBar.js.map +0 -1
  208. package/dist/doc/templates/coverBlock.d.ts +0 -51
  209. package/dist/doc/templates/coverBlock.d.ts.map +0 -1
  210. package/dist/doc/templates/coverBlock.js +0 -153
  211. package/dist/doc/templates/coverBlock.js.map +0 -1
  212. package/dist/doc/templates/dataTable.d.ts +0 -14
  213. package/dist/doc/templates/dataTable.d.ts.map +0 -1
  214. package/dist/doc/templates/dataTable.js +0 -73
  215. package/dist/doc/templates/dataTable.js.map +0 -1
  216. package/dist/doc/templates/dateEvent.d.ts +0 -15
  217. package/dist/doc/templates/dateEvent.d.ts.map +0 -1
  218. package/dist/doc/templates/dateEvent.js +0 -114
  219. package/dist/doc/templates/dateEvent.js.map +0 -1
  220. package/dist/doc/templates/definitionCard.d.ts +0 -13
  221. package/dist/doc/templates/definitionCard.d.ts.map +0 -1
  222. package/dist/doc/templates/definitionCard.js +0 -117
  223. package/dist/doc/templates/definitionCard.js.map +0 -1
  224. package/dist/doc/templates/factCard.d.ts +0 -15
  225. package/dist/doc/templates/factCard.d.ts.map +0 -1
  226. package/dist/doc/templates/factCard.js +0 -104
  227. package/dist/doc/templates/factCard.js.map +0 -1
  228. package/dist/doc/templates/featureBlock.d.ts +0 -18
  229. package/dist/doc/templates/featureBlock.d.ts.map +0 -1
  230. package/dist/doc/templates/featureBlock.js +0 -180
  231. package/dist/doc/templates/featureBlock.js.map +0 -1
  232. package/dist/doc/templates/fullBleedQuote.d.ts +0 -25
  233. package/dist/doc/templates/fullBleedQuote.d.ts.map +0 -1
  234. package/dist/doc/templates/fullBleedQuote.js +0 -67
  235. package/dist/doc/templates/fullBleedQuote.js.map +0 -1
  236. package/dist/doc/templates/imageWithCaption.d.ts +0 -13
  237. package/dist/doc/templates/imageWithCaption.d.ts.map +0 -1
  238. package/dist/doc/templates/imageWithCaption.js +0 -146
  239. package/dist/doc/templates/imageWithCaption.js.map +0 -1
  240. package/dist/doc/templates/index.d.ts +0 -129
  241. package/dist/doc/templates/index.d.ts.map +0 -1
  242. package/dist/doc/templates/index.js +0 -478
  243. package/dist/doc/templates/index.js.map +0 -1
  244. package/dist/doc/templates/listBlock.d.ts +0 -13
  245. package/dist/doc/templates/listBlock.d.ts.map +0 -1
  246. package/dist/doc/templates/listBlock.js +0 -109
  247. package/dist/doc/templates/listBlock.js.map +0 -1
  248. package/dist/doc/templates/mapBlock.d.ts +0 -17
  249. package/dist/doc/templates/mapBlock.d.ts.map +0 -1
  250. package/dist/doc/templates/mapBlock.js +0 -115
  251. package/dist/doc/templates/mapBlock.js.map +0 -1
  252. package/dist/doc/templates/persistentLayers.d.ts +0 -39
  253. package/dist/doc/templates/persistentLayers.d.ts.map +0 -1
  254. package/dist/doc/templates/persistentLayers.js +0 -447
  255. package/dist/doc/templates/persistentLayers.js.map +0 -1
  256. package/dist/doc/templates/photoGrid.d.ts +0 -20
  257. package/dist/doc/templates/photoGrid.d.ts.map +0 -1
  258. package/dist/doc/templates/photoGrid.js +0 -175
  259. package/dist/doc/templates/photoGrid.js.map +0 -1
  260. package/dist/doc/templates/pullQuote.d.ts +0 -13
  261. package/dist/doc/templates/pullQuote.d.ts.map +0 -1
  262. package/dist/doc/templates/pullQuote.js +0 -113
  263. package/dist/doc/templates/pullQuote.js.map +0 -1
  264. package/dist/doc/templates/quoteBlock.d.ts +0 -15
  265. package/dist/doc/templates/quoteBlock.d.ts.map +0 -1
  266. package/dist/doc/templates/quoteBlock.js +0 -101
  267. package/dist/doc/templates/quoteBlock.js.map +0 -1
  268. package/dist/doc/templates/sectionHeader.d.ts +0 -14
  269. package/dist/doc/templates/sectionHeader.d.ts.map +0 -1
  270. package/dist/doc/templates/sectionHeader.js +0 -97
  271. package/dist/doc/templates/sectionHeader.js.map +0 -1
  272. package/dist/doc/templates/statHighlight.d.ts +0 -27
  273. package/dist/doc/templates/statHighlight.d.ts.map +0 -1
  274. package/dist/doc/templates/statHighlight.js +0 -114
  275. package/dist/doc/templates/statHighlight.js.map +0 -1
  276. package/dist/doc/templates/titleBlock.d.ts +0 -24
  277. package/dist/doc/templates/titleBlock.d.ts.map +0 -1
  278. package/dist/doc/templates/titleBlock.js +0 -103
  279. package/dist/doc/templates/titleBlock.js.map +0 -1
  280. package/dist/doc/templates/twoColumn.d.ts +0 -15
  281. package/dist/doc/templates/twoColumn.d.ts.map +0 -1
  282. package/dist/doc/templates/twoColumn.js +0 -225
  283. package/dist/doc/templates/twoColumn.js.map +0 -1
  284. package/dist/doc/templates/videoPullQuote.d.ts +0 -20
  285. package/dist/doc/templates/videoPullQuote.d.ts.map +0 -1
  286. package/dist/doc/templates/videoPullQuote.js +0 -122
  287. package/dist/doc/templates/videoPullQuote.js.map +0 -1
  288. package/dist/doc/templates/videoWithCaption.d.ts +0 -20
  289. package/dist/doc/templates/videoWithCaption.d.ts.map +0 -1
  290. package/dist/doc/templates/videoWithCaption.js +0 -107
  291. package/dist/doc/templates/videoWithCaption.js.map +0 -1
  292. package/dist/doc/utils/animationUtils.d.ts +0 -34
  293. package/dist/doc/utils/animationUtils.d.ts.map +0 -1
  294. package/dist/doc/utils/animationUtils.js +0 -110
  295. package/dist/doc/utils/animationUtils.js.map +0 -1
  296. package/dist/doc/utils/themeUtils.d.ts +0 -64
  297. package/dist/doc/utils/themeUtils.d.ts.map +0 -1
  298. package/dist/doc/utils/themeUtils.js +0 -136
  299. package/dist/doc/utils/themeUtils.js.map +0 -1
  300. package/dist/generate/contentExtractor.d.ts +0 -112
  301. package/dist/generate/contentExtractor.d.ts.map +0 -1
  302. package/dist/generate/contentExtractor.js +0 -638
  303. package/dist/generate/contentExtractor.js.map +0 -1
  304. package/dist/generate/index.d.ts.map +0 -1
  305. package/dist/generate/slideshowGenerator.d.ts +0 -72
  306. package/dist/generate/slideshowGenerator.d.ts.map +0 -1
  307. package/dist/generate/slideshowGenerator.js +0 -159
  308. package/dist/generate/slideshowGenerator.js.map +0 -1
  309. package/dist/generate/templateMapper.d.ts +0 -23
  310. package/dist/generate/templateMapper.d.ts.map +0 -1
  311. package/dist/generate/templateMapper.js +0 -114
  312. package/dist/generate/templateMapper.js.map +0 -1
  313. package/dist/icons/iconData.d.ts +0 -26
  314. package/dist/icons/iconData.d.ts.map +0 -1
  315. package/dist/icons/iconData.js +0 -12
  316. package/dist/icons/iconData.js.map +0 -1
  317. package/dist/icons/index.d.ts.map +0 -1
  318. package/dist/icons/resolve.d.ts +0 -61
  319. package/dist/icons/resolve.d.ts.map +0 -1
  320. package/dist/icons/resolve.js +0 -130
  321. package/dist/icons/resolve.js.map +0 -1
  322. package/dist/imageEdit/ImageEditVersionManager.d.ts +0 -31
  323. package/dist/imageEdit/ImageEditVersionManager.d.ts.map +0 -1
  324. package/dist/imageEdit/ImageEditVersionManager.js +0 -39
  325. package/dist/imageEdit/ImageEditVersionManager.js.map +0 -1
  326. package/dist/imageEdit/export.d.ts +0 -33
  327. package/dist/imageEdit/export.d.ts.map +0 -1
  328. package/dist/imageEdit/export.js +0 -253
  329. package/dist/imageEdit/export.js.map +0 -1
  330. package/dist/imageEdit/index.d.ts.map +0 -1
  331. package/dist/imageEdit/persistence.d.ts +0 -15
  332. package/dist/imageEdit/persistence.d.ts.map +0 -1
  333. package/dist/imageEdit/persistence.js +0 -49
  334. package/dist/imageEdit/persistence.js.map +0 -1
  335. package/dist/imageEdit/state.d.ts +0 -42
  336. package/dist/imageEdit/state.d.ts.map +0 -1
  337. package/dist/imageEdit/state.js +0 -98
  338. package/dist/imageEdit/state.js.map +0 -1
  339. package/dist/imageEdit/versionPaths.d.ts +0 -27
  340. package/dist/imageEdit/versionPaths.d.ts.map +0 -1
  341. package/dist/imageEdit/versionPaths.js +0 -57
  342. package/dist/imageEdit/versionPaths.js.map +0 -1
  343. package/dist/imageEdit/versions.d.ts +0 -67
  344. package/dist/imageEdit/versions.d.ts.map +0 -1
  345. package/dist/imageEdit/versions.js +0 -161
  346. package/dist/imageEdit/versions.js.map +0 -1
  347. package/dist/index.d.ts.map +0 -1
  348. package/dist/jsonForm/chooseControl.d.ts +0 -20
  349. package/dist/jsonForm/chooseControl.d.ts.map +0 -1
  350. package/dist/jsonForm/chooseControl.js +0 -82
  351. package/dist/jsonForm/chooseControl.js.map +0 -1
  352. package/dist/jsonForm/evaluateWhen.d.ts +0 -12
  353. package/dist/jsonForm/evaluateWhen.d.ts.map +0 -1
  354. package/dist/jsonForm/evaluateWhen.js +0 -65
  355. package/dist/jsonForm/evaluateWhen.js.map +0 -1
  356. package/dist/jsonForm/index.d.ts.map +0 -1
  357. package/dist/jsonForm/inferSchema.d.ts +0 -12
  358. package/dist/jsonForm/inferSchema.d.ts.map +0 -1
  359. package/dist/jsonForm/inferSchema.js +0 -15
  360. package/dist/jsonForm/inferSchema.js.map +0 -1
  361. package/dist/jsonForm/pointer.d.ts +0 -26
  362. package/dist/jsonForm/pointer.d.ts.map +0 -1
  363. package/dist/jsonForm/pointer.js +0 -102
  364. package/dist/jsonForm/pointer.js.map +0 -1
  365. package/dist/jsonForm/types.d.ts +0 -120
  366. package/dist/jsonForm/types.d.ts.map +0 -1
  367. package/dist/jsonForm/types.js +0 -10
  368. package/dist/jsonForm/types.js.map +0 -1
  369. package/dist/markdown/convert.d.ts +0 -81
  370. package/dist/markdown/convert.d.ts.map +0 -1
  371. package/dist/markdown/convert.js +0 -975
  372. package/dist/markdown/convert.js.map +0 -1
  373. package/dist/markdown/htmlParse.d.ts +0 -26
  374. package/dist/markdown/htmlParse.d.ts.map +0 -1
  375. package/dist/markdown/htmlParse.js +0 -195
  376. package/dist/markdown/htmlParse.js.map +0 -1
  377. package/dist/markdown/index.d.ts.map +0 -1
  378. package/dist/markdown/parse.d.ts +0 -27
  379. package/dist/markdown/parse.d.ts.map +0 -1
  380. package/dist/markdown/parse.js +0 -90
  381. package/dist/markdown/parse.js.map +0 -1
  382. package/dist/markdown/stringify.d.ts +0 -32
  383. package/dist/markdown/stringify.d.ts.map +0 -1
  384. package/dist/markdown/stringify.js +0 -108
  385. package/dist/markdown/stringify.js.map +0 -1
  386. package/dist/markdown/types.d.ts +0 -531
  387. package/dist/markdown/types.d.ts.map +0 -1
  388. package/dist/markdown/types.js +0 -17
  389. package/dist/markdown/types.js.map +0 -1
  390. package/dist/markdown/utils.d.ts +0 -118
  391. package/dist/markdown/utils.d.ts.map +0 -1
  392. package/dist/markdown/utils.js +0 -308
  393. package/dist/markdown/utils.js.map +0 -1
  394. package/dist/random/SeededRandom.d.ts +0 -50
  395. package/dist/random/SeededRandom.d.ts.map +0 -1
  396. package/dist/random/SeededRandom.js +0 -115
  397. package/dist/random/SeededRandom.js.map +0 -1
  398. package/dist/random/index.d.ts.map +0 -1
  399. package/dist/recommend/index.d.ts.map +0 -1
  400. package/dist/recommend/templates.d.ts +0 -39
  401. package/dist/recommend/templates.d.ts.map +0 -1
  402. package/dist/recommend/templates.js +0 -235
  403. package/dist/recommend/templates.js.map +0 -1
  404. package/dist/schemas/BlockTemplates.d.ts +0 -638
  405. package/dist/schemas/BlockTemplates.d.ts.map +0 -1
  406. package/dist/schemas/BlockTemplates.js +0 -72
  407. package/dist/schemas/BlockTemplates.js.map +0 -1
  408. package/dist/schemas/Doc.d.ts +0 -503
  409. package/dist/schemas/Doc.d.ts.map +0 -1
  410. package/dist/schemas/Doc.js +0 -90
  411. package/dist/schemas/Doc.js.map +0 -1
  412. package/dist/schemas/ImageEditDoc.d.ts +0 -81
  413. package/dist/schemas/ImageEditDoc.d.ts.map +0 -1
  414. package/dist/schemas/ImageEditDoc.js +0 -20
  415. package/dist/schemas/ImageEditDoc.js.map +0 -1
  416. package/dist/schemas/LayoutStrategy.d.ts +0 -84
  417. package/dist/schemas/LayoutStrategy.d.ts.map +0 -1
  418. package/dist/schemas/LayoutStrategy.js +0 -123
  419. package/dist/schemas/LayoutStrategy.js.map +0 -1
  420. package/dist/schemas/MediaProvider.d.ts +0 -65
  421. package/dist/schemas/MediaProvider.d.ts.map +0 -1
  422. package/dist/schemas/MediaProvider.js +0 -13
  423. package/dist/schemas/MediaProvider.js.map +0 -1
  424. package/dist/schemas/Theme.d.ts +0 -233
  425. package/dist/schemas/Theme.d.ts.map +0 -1
  426. package/dist/schemas/Theme.js +0 -129
  427. package/dist/schemas/Theme.js.map +0 -1
  428. package/dist/schemas/Types.d.ts +0 -14
  429. package/dist/schemas/Types.d.ts.map +0 -1
  430. package/dist/schemas/Types.js +0 -5
  431. package/dist/schemas/Types.js.map +0 -1
  432. package/dist/schemas/Viewport.d.ts +0 -74
  433. package/dist/schemas/Viewport.d.ts.map +0 -1
  434. package/dist/schemas/Viewport.js +0 -63
  435. package/dist/schemas/Viewport.js.map +0 -1
  436. package/dist/schemas/colorUtils.d.ts +0 -51
  437. package/dist/schemas/colorUtils.d.ts.map +0 -1
  438. package/dist/schemas/colorUtils.js +0 -154
  439. package/dist/schemas/colorUtils.js.map +0 -1
  440. package/dist/schemas/fontStacks.d.ts +0 -57
  441. package/dist/schemas/fontStacks.d.ts.map +0 -1
  442. package/dist/schemas/fontStacks.js +0 -227
  443. package/dist/schemas/fontStacks.js.map +0 -1
  444. package/dist/schemas/index.d.ts.map +0 -1
  445. package/dist/schemas/themeCompile.d.ts +0 -45
  446. package/dist/schemas/themeCompile.d.ts.map +0 -1
  447. package/dist/schemas/themeCompile.js +0 -160
  448. package/dist/schemas/themeCompile.js.map +0 -1
  449. package/dist/schemas/themeLibrary.d.ts +0 -37
  450. package/dist/schemas/themeLibrary.d.ts.map +0 -1
  451. package/dist/schemas/themeLibrary.js +0 -49
  452. package/dist/schemas/themeLibrary.js.map +0 -1
  453. package/dist/schemas/themeValidator.d.ts +0 -26
  454. package/dist/schemas/themeValidator.d.ts.map +0 -1
  455. package/dist/schemas/themeValidator.js +0 -352
  456. package/dist/schemas/themeValidator.js.map +0 -1
  457. package/dist/schemas/themes/bold.json +0 -48
  458. package/dist/schemas/themes/cinematic.json +0 -54
  459. package/dist/schemas/themes/documentary.json +0 -49
  460. package/dist/schemas/themes/gezellig.json +0 -44
  461. package/dist/schemas/themes/index.d.ts +0 -26
  462. package/dist/schemas/themes/index.d.ts.map +0 -1
  463. package/dist/schemas/themes/index.js +0 -49
  464. package/dist/schemas/themes/index.js.map +0 -1
  465. package/dist/schemas/themes/magazine.json +0 -44
  466. package/dist/schemas/themes/minimalist.json +0 -45
  467. package/dist/schemas/themes/morning-light.json +0 -42
  468. package/dist/schemas/themes/standard-dark.json +0 -50
  469. package/dist/schemas/themes/standard.json +0 -42
  470. package/dist/schemas/themes/tech-dark.json +0 -48
  471. package/dist/schemas/themes/warm-earth.json +0 -50
  472. package/dist/spatial/Geohash.d.ts +0 -85
  473. package/dist/spatial/Geohash.d.ts.map +0 -1
  474. package/dist/spatial/Geohash.js +0 -142
  475. package/dist/spatial/Geohash.js.map +0 -1
  476. package/dist/spatial/Haversine.d.ts +0 -24
  477. package/dist/spatial/Haversine.d.ts.map +0 -1
  478. package/dist/spatial/Haversine.js +0 -48
  479. package/dist/spatial/Haversine.js.map +0 -1
  480. package/dist/spatial/index.d.ts.map +0 -1
  481. package/dist/storage/ContentContainer.d.ts +0 -87
  482. package/dist/storage/ContentContainer.d.ts.map +0 -1
  483. package/dist/storage/ContentContainer.js +0 -131
  484. package/dist/storage/ContentContainer.js.map +0 -1
  485. package/dist/storage/LocalForageAdapter.d.ts +0 -36
  486. package/dist/storage/LocalForageAdapter.d.ts.map +0 -1
  487. package/dist/storage/LocalForageAdapter.js +0 -82
  488. package/dist/storage/LocalForageAdapter.js.map +0 -1
  489. package/dist/storage/LocalStorageAdapter.d.ts +0 -16
  490. package/dist/storage/LocalStorageAdapter.d.ts.map +0 -1
  491. package/dist/storage/LocalStorageAdapter.js +0 -50
  492. package/dist/storage/LocalStorageAdapter.js.map +0 -1
  493. package/dist/storage/MediaProviderFromContainer.d.ts +0 -21
  494. package/dist/storage/MediaProviderFromContainer.d.ts.map +0 -1
  495. package/dist/storage/MediaProviderFromContainer.js +0 -79
  496. package/dist/storage/MediaProviderFromContainer.js.map +0 -1
  497. package/dist/storage/MemoryStorageAdapter.d.ts +0 -15
  498. package/dist/storage/MemoryStorageAdapter.d.ts.map +0 -1
  499. package/dist/storage/MemoryStorageAdapter.js +0 -34
  500. package/dist/storage/MemoryStorageAdapter.js.map +0 -1
  501. package/dist/storage/ScopedContentContainer.d.ts +0 -44
  502. package/dist/storage/ScopedContentContainer.d.ts.map +0 -1
  503. package/dist/storage/ScopedContentContainer.js +0 -94
  504. package/dist/storage/ScopedContentContainer.js.map +0 -1
  505. package/dist/storage/Storage.d.ts +0 -23
  506. package/dist/storage/Storage.d.ts.map +0 -1
  507. package/dist/storage/Storage.js +0 -9
  508. package/dist/storage/Storage.js.map +0 -1
  509. package/dist/storage/index.d.ts.map +0 -1
  510. package/dist/timing/index.d.ts.map +0 -1
  511. package/dist/timing/narrationTiming.d.ts +0 -54
  512. package/dist/timing/narrationTiming.d.ts.map +0 -1
  513. package/dist/timing/narrationTiming.js +0 -190
  514. package/dist/timing/narrationTiming.js.map +0 -1
  515. package/dist/timing/readingTime.d.ts +0 -54
  516. package/dist/timing/readingTime.d.ts.map +0 -1
  517. package/dist/timing/readingTime.js +0 -49
  518. package/dist/timing/readingTime.js.map +0 -1
  519. package/dist/transform/applyTransform.d.ts +0 -22
  520. package/dist/transform/applyTransform.d.ts.map +0 -1
  521. package/dist/transform/applyTransform.js +0 -68
  522. package/dist/transform/applyTransform.js.map +0 -1
  523. package/dist/transform/blockAnalyzer.d.ts +0 -48
  524. package/dist/transform/blockAnalyzer.d.ts.map +0 -1
  525. package/dist/transform/blockAnalyzer.js +0 -135
  526. package/dist/transform/blockAnalyzer.js.map +0 -1
  527. package/dist/transform/index.d.ts.map +0 -1
  528. package/dist/transform/registry.d.ts +0 -19
  529. package/dist/transform/registry.d.ts.map +0 -1
  530. package/dist/transform/registry.js +0 -41
  531. package/dist/transform/registry.js.map +0 -1
  532. package/dist/transform/styles/dataDriven.d.ts +0 -4
  533. package/dist/transform/styles/dataDriven.d.ts.map +0 -1
  534. package/dist/transform/styles/dataDriven.js +0 -15
  535. package/dist/transform/styles/dataDriven.js.map +0 -1
  536. package/dist/transform/styles/documentary.d.ts +0 -4
  537. package/dist/transform/styles/documentary.d.ts.map +0 -1
  538. package/dist/transform/styles/documentary.js +0 -15
  539. package/dist/transform/styles/documentary.js.map +0 -1
  540. package/dist/transform/styles/index.d.ts +0 -6
  541. package/dist/transform/styles/index.d.ts.map +0 -1
  542. package/dist/transform/styles/index.js +0 -6
  543. package/dist/transform/styles/index.js.map +0 -1
  544. package/dist/transform/styles/magazine.d.ts +0 -4
  545. package/dist/transform/styles/magazine.d.ts.map +0 -1
  546. package/dist/transform/styles/magazine.js +0 -15
  547. package/dist/transform/styles/magazine.js.map +0 -1
  548. package/dist/transform/styles/minimal.d.ts +0 -4
  549. package/dist/transform/styles/minimal.d.ts.map +0 -1
  550. package/dist/transform/styles/minimal.js +0 -15
  551. package/dist/transform/styles/minimal.js.map +0 -1
  552. package/dist/transform/styles/narrative.d.ts +0 -4
  553. package/dist/transform/styles/narrative.d.ts.map +0 -1
  554. package/dist/transform/styles/narrative.js +0 -15
  555. package/dist/transform/styles/narrative.js.map +0 -1
  556. package/dist/transform/templateSelector.d.ts +0 -30
  557. package/dist/transform/templateSelector.d.ts.map +0 -1
  558. package/dist/transform/templateSelector.js +0 -218
  559. package/dist/transform/templateSelector.js.map +0 -1
  560. package/dist/transform/timingAllocator.d.ts +0 -21
  561. package/dist/transform/timingAllocator.d.ts.map +0 -1
  562. package/dist/transform/timingAllocator.js +0 -111
  563. package/dist/transform/timingAllocator.js.map +0 -1
  564. package/dist/transform/types.d.ts +0 -86
  565. package/dist/transform/types.d.ts.map +0 -1
  566. package/dist/transform/types.js +0 -9
  567. package/dist/transform/types.js.map +0 -1
  568. package/dist/versions/DocumentVersionManager.d.ts +0 -31
  569. package/dist/versions/DocumentVersionManager.d.ts.map +0 -1
  570. package/dist/versions/DocumentVersionManager.js +0 -33
  571. package/dist/versions/DocumentVersionManager.js.map +0 -1
  572. package/dist/versions/index.d.ts.map +0 -1
  573. package/dist/versions/operations.d.ts +0 -44
  574. package/dist/versions/operations.d.ts.map +0 -1
  575. package/dist/versions/operations.js +0 -190
  576. package/dist/versions/operations.js.map +0 -1
  577. package/dist/versions/paths.d.ts +0 -29
  578. package/dist/versions/paths.d.ts.map +0 -1
  579. package/dist/versions/paths.js +0 -66
  580. package/dist/versions/paths.js.map +0 -1
  581. package/dist/versions/timestamp.d.ts +0 -22
  582. package/dist/versions/timestamp.d.ts.map +0 -1
  583. package/dist/versions/timestamp.js +0 -44
  584. package/dist/versions/timestamp.js.map +0 -1
  585. package/dist/versions/types.d.ts +0 -92
  586. package/dist/versions/types.d.ts.map +0 -1
  587. package/dist/versions/types.js +0 -11
  588. package/dist/versions/types.js.map +0 -1
@@ -1,44 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "magazine",
4
- "name": "Magazine",
5
- "description": "Rich editorial palette with mixed serif/sans typography and slide transitions.",
6
- "colors": {
7
- "primary": "#c53030",
8
- "secondary": "#2b6cb0",
9
- "background": "#1a202c",
10
- "backgroundLight": "#2d3748",
11
- "text": "#f7fafc",
12
- "textMuted": "#cbd5e0",
13
- "highlight": "#ed8936",
14
- "warning": "#fc8181"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "dm-sans" },
18
- "titleFont": { "stackId": "dm-serif" },
19
- "titleWeight": "bold",
20
- "titleScale": 1.05,
21
- "lineHeight": 1.5
22
- },
23
- "style": {
24
- "textShadow": true,
25
- "overlayOpacity": 0.45,
26
- "animationSpeed": 1.0,
27
- "borderRadius": 6
28
- },
29
- "renderStyle": {
30
- "name": "magazine",
31
- "defaultTextAnimation": "fadeIn",
32
- "defaultImageAnimation": "slowZoom",
33
- "ambientMotion": true,
34
- "defaultTransition": { "type": "slideLeft", "duration": 0.7 }
35
- },
36
- "colorSchemes": {
37
- "blue": { "bg": "#1a365d", "text": "#90cdf4", "accent": "#63b3ed" },
38
- "green": { "bg": "#1c4532", "text": "#9ae6b4", "accent": "#68d391" },
39
- "purple": { "bg": "#322659", "text": "#d6bcfa", "accent": "#b794f4" },
40
- "red": { "bg": "#63171b", "text": "#feb2b2", "accent": "#fc8181" },
41
- "orange": { "bg": "#652b19", "text": "#fbd38d", "accent": "#f6ad55" },
42
- "teal": { "bg": "#1d4044", "text": "#81e6d9", "accent": "#4fd1c5" }
43
- }
44
- }
@@ -1,45 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "minimalist",
4
- "name": "Minimalist",
5
- "description": "Clean near-white background with sans-serif type and minimal animation.",
6
- "colors": {
7
- "primary": "#2d3748",
8
- "secondary": "#4a5568",
9
- "background": "#f7fafc",
10
- "backgroundLight": "#edf2f7",
11
- "text": "#1a202c",
12
- "textMuted": "#718096",
13
- "highlight": "#3182ce",
14
- "warning": "#e53e3e"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "inter" },
18
- "titleFont": { "stackId": "inter" },
19
- "titleWeight": "bold",
20
- "lineHeight": 1.6
21
- },
22
- "style": {
23
- "textShadow": false,
24
- "overlayOpacity": 0.3,
25
- "animationSpeed": 1.2,
26
- "borderRadius": 8
27
- },
28
- "renderStyle": {
29
- "name": "minimalist",
30
- "defaultTextAnimation": "fadeIn",
31
- "ambientMotion": false,
32
- "defaultTransition": { "type": "fade", "duration": 0.6 },
33
- "templateHints": {
34
- "title": { "showAccentLine": false }
35
- }
36
- },
37
- "colorSchemes": {
38
- "blue": { "bg": "#ebf8ff", "text": "#2b6cb0", "accent": "#3182ce" },
39
- "green": { "bg": "#f0fff4", "text": "#276749", "accent": "#38a169" },
40
- "purple": { "bg": "#faf5ff", "text": "#553c9a", "accent": "#805ad5" },
41
- "red": { "bg": "#fff5f5", "text": "#c53030", "accent": "#e53e3e" },
42
- "orange": { "bg": "#fffaf0", "text": "#c05621", "accent": "#dd6b20" },
43
- "teal": { "bg": "#e6fffa", "text": "#285e61", "accent": "#319795" }
44
- }
45
- }
@@ -1,42 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "morning-light",
4
- "name": "Morning Light",
5
- "description": "Warm light background with dark text and gentle serif typography.",
6
- "colors": {
7
- "primary": "#744210",
8
- "secondary": "#975a16",
9
- "background": "#faf8f5",
10
- "backgroundLight": "#f5f0eb",
11
- "text": "#2d3748",
12
- "textMuted": "#718096",
13
- "highlight": "#dd6b20",
14
- "warning": "#c53030"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "lora" },
18
- "titleFont": { "stackId": "merriweather" },
19
- "titleWeight": "bold",
20
- "lineHeight": 1.7
21
- },
22
- "style": {
23
- "textShadow": false,
24
- "overlayOpacity": 0.35,
25
- "animationSpeed": 1.1,
26
- "borderRadius": 4
27
- },
28
- "renderStyle": {
29
- "name": "morning-light",
30
- "defaultTextAnimation": "fadeIn",
31
- "ambientMotion": false,
32
- "defaultTransition": { "type": "fade", "duration": 1.0 }
33
- },
34
- "colorSchemes": {
35
- "blue": { "bg": "#ebf8ff", "text": "#2c5282", "accent": "#4299e1" },
36
- "green": { "bg": "#f0fff4", "text": "#22543d", "accent": "#48bb78" },
37
- "purple": { "bg": "#faf5ff", "text": "#44337a", "accent": "#9f7aea" },
38
- "red": { "bg": "#fff5f5", "text": "#9b2c2c", "accent": "#fc8181" },
39
- "orange": { "bg": "#fffaf0", "text": "#744210", "accent": "#ed8936" },
40
- "teal": { "bg": "#e6fffa", "text": "#234e52", "accent": "#38b2ac" }
41
- }
42
- }
@@ -1,50 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "standard-dark",
4
- "name": "Standard Dark",
5
- "description": "Standard, dark variant. System fonts, dark navy background, light text.",
6
- "colors": {
7
- "primary": "#3182ce",
8
- "secondary": "#4a5568",
9
- "background": "#1a202c",
10
- "backgroundLight": "#2d3748",
11
- "text": "#f7fafc",
12
- "textMuted": "#a0aec0",
13
- "highlight": "#4299e1",
14
- "warning": "#fc8181"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "system-sans" },
18
- "titleFont": { "stackId": "system-serif" },
19
- "monoFont": { "stackId": "system-mono" },
20
- "titleWeight": "bold"
21
- },
22
- "style": {
23
- "textShadow": true,
24
- "overlayOpacity": 0.45,
25
- "animationSpeed": 1.0
26
- },
27
- "renderStyle": {
28
- "name": "standard",
29
- "defaultTextAnimation": "fadeIn",
30
- "defaultImageAnimation": "slowZoom",
31
- "ambientMotion": true,
32
- "defaultTransition": { "type": "fade", "duration": 0.7 }
33
- },
34
- "colorSchemes": {
35
- "blue": { "bg": "#1a365d", "text": "#63b3ed", "accent": "#90cdf4" },
36
- "green": { "bg": "#22543d", "text": "#9ae6b4", "accent": "#68d391" },
37
- "purple": { "bg": "#44337a", "text": "#d6bcfa", "accent": "#b794f4" },
38
- "red": { "bg": "#742a2a", "text": "#fc8181", "accent": "#feb2b2" },
39
- "orange": { "bg": "#744210", "text": "#fbd38d", "accent": "#f6ad55" },
40
- "teal": { "bg": "#234e52", "text": "#81e6d9", "accent": "#4fd1c5" }
41
- },
42
- "persistentLayers": {
43
- "bottomLayers": [
44
- {
45
- "template": "gradientBackground",
46
- "config": { "type": "gradientBackground", "preset": "dark-vignette" }
47
- }
48
- ]
49
- }
50
- }
@@ -1,42 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "standard",
4
- "name": "Standard Light",
5
- "description": "Clean and safe — black-on-white, system fonts only, no external font dependencies. Default theme.",
6
- "colors": {
7
- "primary": "#2563eb",
8
- "secondary": "#475569",
9
- "background": "#ffffff",
10
- "backgroundLight": "#f1f5f9",
11
- "text": "#0f172a",
12
- "textMuted": "#475569",
13
- "highlight": "#1d4ed8",
14
- "warning": "#dc2626"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "system-sans" },
18
- "titleFont": { "stackId": "system-serif" },
19
- "monoFont": { "stackId": "system-mono" },
20
- "titleWeight": "bold"
21
- },
22
- "style": {
23
- "textShadow": false,
24
- "overlayOpacity": 0.35,
25
- "animationSpeed": 1.0
26
- },
27
- "renderStyle": {
28
- "name": "standard",
29
- "defaultTextAnimation": "fadeIn",
30
- "defaultImageAnimation": "slowZoom",
31
- "ambientMotion": true,
32
- "defaultTransition": { "type": "fade", "duration": 0.7 }
33
- },
34
- "colorSchemes": {
35
- "blue": { "bg": "#dbeafe", "text": "#1d4ed8", "accent": "#2563eb" },
36
- "green": { "bg": "#dcfce7", "text": "#166534", "accent": "#16a34a" },
37
- "purple": { "bg": "#ede9fe", "text": "#5b21b6", "accent": "#7c3aed" },
38
- "red": { "bg": "#fee2e2", "text": "#991b1b", "accent": "#dc2626" },
39
- "orange": { "bg": "#ffedd5", "text": "#9a3412", "accent": "#ea580c" },
40
- "teal": { "bg": "#ccfbf1", "text": "#115e59", "accent": "#0d9488" }
41
- }
42
- }
@@ -1,48 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "tech-dark",
4
- "name": "Tech Dark",
5
- "description": "True black with neon cyan/green accents and monospace titles.",
6
- "colors": {
7
- "primary": "#00e5ff",
8
- "secondary": "#00e676",
9
- "background": "#0a0a0a",
10
- "backgroundLight": "#1a1a2e",
11
- "text": "#e0e0e0",
12
- "textMuted": "#9e9e9e",
13
- "highlight": "#00e5ff",
14
- "warning": "#ff5252"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "ibm-plex-sans" },
18
- "titleFont": { "stackId": "jetbrains-mono" },
19
- "monoFont": { "stackId": "jetbrains-mono" },
20
- "titleWeight": "bold",
21
- "titleScale": 0.9,
22
- "lineHeight": 1.5
23
- },
24
- "style": {
25
- "textShadow": true,
26
- "overlayOpacity": 0.55,
27
- "animationSpeed": 0.9,
28
- "borderRadius": 2
29
- },
30
- "renderStyle": {
31
- "name": "tech-dark",
32
- "defaultTextAnimation": "typewriter",
33
- "defaultImageAnimation": "slowZoom",
34
- "ambientMotion": true,
35
- "defaultTransition": { "type": "dissolve", "duration": 0.4 },
36
- "templateHints": {
37
- "statHighlight": { "entrance": "dramatic" }
38
- }
39
- },
40
- "colorSchemes": {
41
- "blue": { "bg": "#0d1b2a", "text": "#00b0ff", "accent": "#40c4ff" },
42
- "green": { "bg": "#0d1b0d", "text": "#00e676", "accent": "#69f0ae" },
43
- "purple": { "bg": "#1a0d2e", "text": "#d500f9", "accent": "#ea80fc" },
44
- "red": { "bg": "#2e0d0d", "text": "#ff5252", "accent": "#ff8a80" },
45
- "orange": { "bg": "#2e1a0d", "text": "#ff9100", "accent": "#ffab40" },
46
- "teal": { "bg": "#0d2e2e", "text": "#1de9b6", "accent": "#64ffda" }
47
- }
48
- }
@@ -1,50 +0,0 @@
1
- {
2
- "schemaVersion": "1",
3
- "id": "warm-earth",
4
- "name": "Warm Earth",
5
- "description": "Natural warm tones with earthy browns and terracotta accents.",
6
- "colors": {
7
- "primary": "#9c4221",
8
- "secondary": "#c05621",
9
- "background": "#1c1410",
10
- "backgroundLight": "#2d241e",
11
- "text": "#faf5f0",
12
- "textMuted": "#c4a882",
13
- "highlight": "#dd6b20",
14
- "warning": "#e53e3e"
15
- },
16
- "typography": {
17
- "bodyFont": { "stackId": "pt-serif" },
18
- "titleFont": { "stackId": "pt-serif" },
19
- "titleWeight": "bold",
20
- "lineHeight": 1.6
21
- },
22
- "style": {
23
- "textShadow": true,
24
- "overlayOpacity": 0.5,
25
- "animationSpeed": 1.1
26
- },
27
- "renderStyle": {
28
- "name": "warm-earth",
29
- "defaultTextAnimation": "fadeIn",
30
- "defaultImageAnimation": "panLeft",
31
- "ambientMotion": true,
32
- "defaultTransition": { "type": "fade", "duration": 0.9 }
33
- },
34
- "colorSchemes": {
35
- "blue": { "bg": "#2a1f14", "text": "#90cdf4", "accent": "#63b3ed" },
36
- "green": { "bg": "#1e2a14", "text": "#9ae6b4", "accent": "#68d391" },
37
- "purple": { "bg": "#2a142a", "text": "#d6bcfa", "accent": "#b794f4" },
38
- "red": { "bg": "#2a1414", "text": "#fc8181", "accent": "#feb2b2" },
39
- "orange": { "bg": "#2a1e0a", "text": "#fbd38d", "accent": "#f6ad55" },
40
- "teal": { "bg": "#142a28", "text": "#81e6d9", "accent": "#4fd1c5" }
41
- },
42
- "persistentLayers": {
43
- "bottomLayers": [
44
- {
45
- "template": "gradientBackground",
46
- "config": { "type": "gradientBackground", "preset": "earth-tones" }
47
- }
48
- ]
49
- }
50
- }
@@ -1,85 +0,0 @@
1
- /**
2
- * Geohash Utilities
3
- *
4
- * Provides geohash encoding/decoding and spatial utilities using the standard
5
- * ngeohash library for core operations, plus custom utilities for overlap checking
6
- * and distance calculation.
7
- *
8
- * Geohashes are a hierarchical spatial indexing system that divides the world
9
- * into a grid of cells. Each additional character narrows the area by ~1/32.
10
- *
11
- * Precision guide:
12
- * - 4 chars: ~39km x 19km (used for tile indexing)
13
- * - 5 chars: ~5km x 5km
14
- * - 6 chars: ~1.2km x 0.6km
15
- */
16
- /**
17
- * Encode latitude/longitude to a geohash string.
18
- * Uses the standard ngeohash library.
19
- */
20
- export declare function encodeGeohash(lat: number, lng: number, precision?: number): string;
21
- /**
22
- * Decode a geohash to latitude/longitude center with error bounds.
23
- * Uses the standard ngeohash library.
24
- */
25
- export declare function decodeGeohash(hash: string): {
26
- lat: number;
27
- lng: number;
28
- latErr: number;
29
- lngErr: number;
30
- };
31
- /**
32
- * Get the 8 neighboring geohash cells.
33
- * Returns up to 8 neighbors (fewer at poles or antimeridian).
34
- * Uses the standard ngeohash library.
35
- */
36
- export declare function getNeighbors(hash: string): string[];
37
- /**
38
- * Get a 3x3 grid of geohash4 cells (center + 8 neighbors).
39
- * Used for landing bonus expansions in Fly mode.
40
- *
41
- * @param geohash4 - Center geohash4 cell
42
- * @returns Array of 9 geohash4 cells (center first, then neighbors)
43
- *
44
- * @example
45
- * getGeohash4Neighbors('c23n')
46
- * // => ['c23n', 'c23p', 'c23q', 'c23j', 'c23m', 'c23k', 'c23h', 'c23e', 'c23s']
47
- */
48
- export declare function getGeohash4Neighbors(geohash4: string): string[];
49
- /**
50
- * Get the prefix of a geohash at a given precision.
51
- * Simple helper for extracting geohash prefixes for directory organization.
52
- */
53
- export declare function getGeohashPrefix(geohash: string, precision: number): string;
54
- /**
55
- * Convert a geohash prefix to a hierarchical path.
56
- *
57
- * Examples:
58
- * "9mud" -> "9/m/u/d"
59
- * "9q8y" -> "9/q/8/y"
60
- * "c24k" -> "c/2/4/k"
61
- *
62
- * This is used for organizing files in hierarchical directories to avoid
63
- * thousands of folders in a single directory, which causes filesystem
64
- * performance issues.
65
- */
66
- export declare function geohashToHierarchicalPath(geohash4: string): string;
67
- /**
68
- * Compute all geohash cells along the path between two geohash cells.
69
- * Interpolates lat/lng points between the centers of `from` and `to`,
70
- * encoding each to a geohash at the given precision, and returns the
71
- * deduplicated list of intermediate cells (excluding `from` and `to`).
72
- */
73
- export declare function getGeohashPath(from: string, to: string, precision?: number): string[];
74
- /**
75
- * Check if a geohash cell overlaps with a bounding box.
76
- * Custom implementation (not available in ngeohash).
77
- */
78
- export declare function geohashOverlapsBounds(hash: string, bounds: {
79
- north: number;
80
- south: number;
81
- east: number;
82
- west: number;
83
- }): boolean;
84
- export { haversineDistance } from './Haversine.js';
85
- //# sourceMappingURL=Geohash.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Geohash.d.ts","sourceRoot":"","sources":["../../src/spatial/Geohash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,CAE7E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG;IAC3C,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAQA;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAEnD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAM/D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE3E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAMlE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,SAAI,GAAG,MAAM,EAAE,CAiChF;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACnE,OAAO,CAcT;AAID,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,142 +0,0 @@
1
- /**
2
- * Geohash Utilities
3
- *
4
- * Provides geohash encoding/decoding and spatial utilities using the standard
5
- * ngeohash library for core operations, plus custom utilities for overlap checking
6
- * and distance calculation.
7
- *
8
- * Geohashes are a hierarchical spatial indexing system that divides the world
9
- * into a grid of cells. Each additional character narrows the area by ~1/32.
10
- *
11
- * Precision guide:
12
- * - 4 chars: ~39km x 19km (used for tile indexing)
13
- * - 5 chars: ~5km x 5km
14
- * - 6 chars: ~1.2km x 0.6km
15
- */
16
- import ngeohash from 'ngeohash';
17
- /**
18
- * Encode latitude/longitude to a geohash string.
19
- * Uses the standard ngeohash library.
20
- */
21
- export function encodeGeohash(lat, lng, precision = 9) {
22
- return ngeohash.encode(lat, lng, precision);
23
- }
24
- /**
25
- * Decode a geohash to latitude/longitude center with error bounds.
26
- * Uses the standard ngeohash library.
27
- */
28
- export function decodeGeohash(hash) {
29
- const result = ngeohash.decode(hash);
30
- return {
31
- lat: result.latitude,
32
- lng: result.longitude,
33
- latErr: result.error.latitude,
34
- lngErr: result.error.longitude,
35
- };
36
- }
37
- /**
38
- * Get the 8 neighboring geohash cells.
39
- * Returns up to 8 neighbors (fewer at poles or antimeridian).
40
- * Uses the standard ngeohash library.
41
- */
42
- export function getNeighbors(hash) {
43
- return ngeohash.neighbors(hash);
44
- }
45
- /**
46
- * Get a 3x3 grid of geohash4 cells (center + 8 neighbors).
47
- * Used for landing bonus expansions in Fly mode.
48
- *
49
- * @param geohash4 - Center geohash4 cell
50
- * @returns Array of 9 geohash4 cells (center first, then neighbors)
51
- *
52
- * @example
53
- * getGeohash4Neighbors('c23n')
54
- * // => ['c23n', 'c23p', 'c23q', 'c23j', 'c23m', 'c23k', 'c23h', 'c23e', 'c23s']
55
- */
56
- export function getGeohash4Neighbors(geohash4) {
57
- if (geohash4.length !== 4) {
58
- throw new Error(`getGeohash4Neighbors requires 4-char geohash, got: ${geohash4}`);
59
- }
60
- const neighbors = getNeighbors(geohash4);
61
- return [geohash4, ...neighbors];
62
- }
63
- /**
64
- * Get the prefix of a geohash at a given precision.
65
- * Simple helper for extracting geohash prefixes for directory organization.
66
- */
67
- export function getGeohashPrefix(geohash, precision) {
68
- return geohash.slice(0, precision);
69
- }
70
- /**
71
- * Convert a geohash prefix to a hierarchical path.
72
- *
73
- * Examples:
74
- * "9mud" -> "9/m/u/d"
75
- * "9q8y" -> "9/q/8/y"
76
- * "c24k" -> "c/2/4/k"
77
- *
78
- * This is used for organizing files in hierarchical directories to avoid
79
- * thousands of folders in a single directory, which causes filesystem
80
- * performance issues.
81
- */
82
- export function geohashToHierarchicalPath(geohash4) {
83
- if (geohash4.length !== 4) {
84
- throw new Error(`geohashToHierarchicalPath requires 4-char geohash, got: ${geohash4}`);
85
- }
86
- const [c1, c2, c3, c4] = geohash4.split('');
87
- return `${c1}/${c2}/${c3}/${c4}`;
88
- }
89
- /**
90
- * Compute all geohash cells along the path between two geohash cells.
91
- * Interpolates lat/lng points between the centers of `from` and `to`,
92
- * encoding each to a geohash at the given precision, and returns the
93
- * deduplicated list of intermediate cells (excluding `from` and `to`).
94
- */
95
- export function getGeohashPath(from, to, precision = 4) {
96
- if (from === to)
97
- return [];
98
- const fromCenter = decodeGeohash(from);
99
- const toCenter = decodeGeohash(to);
100
- // Compute approximate distance to determine step count
101
- const dLat = Math.abs(toCenter.lat - fromCenter.lat);
102
- const dLng = Math.abs(toCenter.lng - fromCenter.lng);
103
- // Rough km: 1 degree lat ≈ 111km, 1 degree lng ≈ 111km * cos(midLat)
104
- const midLatRad = ((fromCenter.lat + toCenter.lat) / 2) * (Math.PI / 180);
105
- const approxKm = Math.sqrt((dLat * 111) ** 2 + (dLng * 111 * Math.cos(midLatRad)) ** 2);
106
- // Step every ~15km to avoid skipping any geohash4 cell (~39x19km)
107
- const steps = Math.max(2, Math.ceil(approxKm / 15));
108
- const seen = new Set();
109
- seen.add(from);
110
- seen.add(to);
111
- const path = [];
112
- for (let i = 1; i < steps; i++) {
113
- const t = i / steps;
114
- const lat = fromCenter.lat + t * (toCenter.lat - fromCenter.lat);
115
- const lng = fromCenter.lng + t * (toCenter.lng - fromCenter.lng);
116
- const hash = encodeGeohash(lat, lng, precision);
117
- if (!seen.has(hash)) {
118
- seen.add(hash);
119
- path.push(hash);
120
- }
121
- }
122
- return path;
123
- }
124
- /**
125
- * Check if a geohash cell overlaps with a bounding box.
126
- * Custom implementation (not available in ngeohash).
127
- */
128
- export function geohashOverlapsBounds(hash, bounds) {
129
- const { lat, lng, latErr, lngErr } = decodeGeohash(hash);
130
- const hashNorth = lat + latErr;
131
- const hashSouth = lat - latErr;
132
- const hashEast = lng + lngErr;
133
- const hashWest = lng - lngErr;
134
- return !(hashNorth < bounds.south ||
135
- hashSouth > bounds.north ||
136
- hashEast < bounds.west ||
137
- hashWest > bounds.east);
138
- }
139
- // haversineDistance is now in shared/spatial/Haversine.ts (canonical location).
140
- // Re-export for backwards compatibility with existing imports.
141
- export { haversineDistance } from './Haversine.js';
142
- //# sourceMappingURL=Geohash.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Geohash.js","sourceRoot":"","sources":["../../src/spatial/Geohash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC;;;GAGG;AACH,MAA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AC,KAAK;QACxB,SAAS,GAAG,MAAM,CAAC,KAAK;QACxB,QAAQ,GAAG,MAAM,CAAC,IAAI;QACtB,QAAQ,GAAG,MAAM,CAAC,IAAI,CACvB,CAAC;AACJ,CAAC;AAED,gFAAgF;AAChF,+DAA+D;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,24 +0,0 @@
1
- /**
2
- * Haversine Distance Calculation
3
- *
4
- * Provides accurate distance calculation between two geographic coordinates
5
- * using the Haversine formula, which accounts for Earth's curvature.
6
- */
7
- import type { Coordinates } from '../schemas/Types.js';
8
- /**
9
- * Calculate distance between two coordinates using Haversine formula.
10
- *
11
- * @param from Start coordinates
12
- * @param to End coordinates
13
- * @returns Distance in kilometers
14
- */
15
- export declare function haversineDistance(from: Coordinates, to: Coordinates): number;
16
- /**
17
- * Calculate bearing from one coordinate to another.
18
- *
19
- * @param from Start coordinates
20
- * @param to End coordinates
21
- * @returns Bearing in degrees (0-360, where 0 = north, 90 = east)
22
- */
23
- export declare function calculateBearing(from: Coordinates, to: Coordinates): number;
24
- //# sourceMappingURL=Haversine.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Haversine.d.ts","sourceRoot":"","sources":["../../src/spatial/Haversine.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,GAAG,MAAM,CAgB5E;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,GAAG,MAAM,CAU3E"}
@@ -1,48 +0,0 @@
1
- /**
2
- * Haversine Distance Calculation
3
- *
4
- * Provides accurate distance calculation between two geographic coordinates
5
- * using the Haversine formula, which accounts for Earth's curvature.
6
- */
7
- /**
8
- * Calculate distance between two coordinates using Haversine formula.
9
- *
10
- * @param from Start coordinates
11
- * @param to End coordinates
12
- * @returns Distance in kilometers
13
- */
14
- export function haversineDistance(from, to) {
15
- const R = 6371; // Earth's radius in kilometers
16
- const dLat = toRadians(to.lat - from.lat);
17
- const dLng = toRadians(to.lng - from.lng);
18
- const a = Math.sin(dLat / 2) * Math.sin(dLat / 2) +
19
- Math.cos(toRadians(from.lat)) *
20
- Math.cos(toRadians(to.lat)) *
21
- Math.sin(dLng / 2) *
22
- Math.sin(dLng / 2);
23
- const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
24
- return R * c;
25
- }
26
- /**
27
- * Calculate bearing from one coordinate to another.
28
- *
29
- * @param from Start coordinates
30
- * @param to End coordinates
31
- * @returns Bearing in degrees (0-360, where 0 = north, 90 = east)
32
- */
33
- export function calculateBearing(from, to) {
34
- const dLng = toRadians(to.lng - from.lng);
35
- const lat1 = toRadians(from.lat);
36
- const lat2 = toRadians(to.lat);
37
- const x = Math.sin(dLng) * Math.cos(lat2);
38
- const y = Math.cos(lat1) * Math.sin(lat2) - Math.sin(lat1) * Math.cos(lat2) * Math.cos(dLng);
39
- const bearing = Math.atan2(x, y);
40
- return ((bearing * 180) / Math.PI + 360) % 360;
41
- }
42
- /**
43
- * Convert degrees to radians.
44
- */
45
- function toRadians(degrees) {
46
- return (degrees * Math.PI) / 180;
47
- }
48
- //# sourceMappingURL=Haversine.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Haversine.js","sourceRoot":"","sources":["../../src/spatial/Haversine.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAiB,EAAE,EAAe;IAClE,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,+BAA+B;IAE/C,MAAM,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,S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