tungsten 0.7.2 → 0.8.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 (740) hide show
  1. package/AGENTS.md +154 -15
  2. package/dist/.build-complete +1 -1
  3. package/dist/Components.d.ts +6 -4
  4. package/dist/Components.js +2 -0
  5. package/dist/Framework.js +7 -7
  6. package/dist/FrameworkConfig.d.ts +8 -2
  7. package/dist/Instance/Instance.d.ts +6 -1
  8. package/dist/Instance/Instance.js +62 -22
  9. package/dist/Servers/DevServer.d.ts +8 -5
  10. package/dist/Servers/DevServer.js +196 -113
  11. package/dist/Servers/ProdServer.d.ts +3 -1
  12. package/dist/Servers/ProdServer.js +136 -34
  13. package/dist/Servers/TungstenServer.d.ts +34 -1
  14. package/dist/Servers/TungstenServer.js +94 -42
  15. package/dist/Servers/loadEnvsDev.js +4 -4
  16. package/dist/Servers/watchedServerMiddleware.d.ts +10 -0
  17. package/dist/Servers/watchedServerMiddleware.js +45 -0
  18. package/dist/TungstenApp.js +2 -1
  19. package/dist/_client/cjsHelpers.d.ts +1 -1
  20. package/dist/_client/hmr.js +1 -1
  21. package/dist/_client/liveReloadSource.js +1 -1
  22. package/dist/_testing/errorRoute.d.ts +8 -0
  23. package/dist/_testing/errorRoute.js +9 -0
  24. package/dist/appBuilder.d.ts +2 -1
  25. package/dist/babelPlugins/BabelTransformComponentStyles.js +5 -3
  26. package/dist/babelPlugins/BabelTransformPackageImports.js +3 -1
  27. package/dist/babelPlugins/StyleCompileError.d.ts +4 -0
  28. package/dist/babelPlugins/StyleCompileError.js +11 -0
  29. package/dist/bin/commands/devmon.js +2 -2
  30. package/dist/bin/vendorHook.js +2 -1
  31. package/dist/build/assetVersions.js +2 -1
  32. package/dist/build/babel.user.common.config.d.ts +3 -5
  33. package/dist/build/compileJavascript.js +12 -27
  34. package/dist/build/componentStylesCache.js +2 -2
  35. package/dist/build/frameworkDestLocation.js +2 -1
  36. package/dist/build/ignoreGlobs.d.ts +2 -0
  37. package/dist/build/ignoreGlobs.js +8 -0
  38. package/dist/build/makeBabelRawConfig.d.ts +2 -2
  39. package/dist/build/makeBabelUserDevConfig.d.ts +2 -2
  40. package/dist/build/makeBabelUserProdConfig.d.ts +2 -2
  41. package/dist/build/rollup.user.prod.config.js +2 -2
  42. package/dist/build/tallyBabel.d.ts +2 -2
  43. package/dist/build/tallyBabel.js +1 -1
  44. package/dist/clone.js +1 -0
  45. package/dist/componentHelpers.d.ts +1 -1
  46. package/dist/componentHelpers.js +3 -4
  47. package/dist/componentProxyHandlers.js +2 -1
  48. package/dist/components/NativeHtml.d.ts +1 -1
  49. package/dist/components/bindable/BindableInputTyped.d.ts +3 -1
  50. package/dist/components/bindable/BindableInputTypedLegacy.d.ts +3 -1
  51. package/dist/components/bindable/bindableHtmlElements.d.ts +3 -3
  52. package/dist/components/library/RichTextEditor/RichTextEditor.d.ts +1 -1
  53. package/dist/components/library/RichTextEditor/StoredContentNode.d.ts +6 -1
  54. package/dist/components/library/RichTextEditor/contentTree.js +33 -13
  55. package/dist/env/setPrivateEnvValidator.js +2 -2
  56. package/dist/env/setPublicEnvValidator.d.ts +2 -2
  57. package/dist/env/setPublicEnvValidator.js +2 -2
  58. package/dist/fileVersions.js +5 -1
  59. package/dist/findProjectDir.js +2 -1
  60. package/dist/findUserConfig.d.ts +1 -1
  61. package/dist/frameworkConfigSchema.d.ts +8 -4
  62. package/dist/frameworkConfigSchema.js +2 -0
  63. package/dist/getRoutes.js +0 -4
  64. package/dist/hydrate/hydrate.js +3 -2
  65. package/dist/hydrate/hydrateGlobalData.d.ts +3 -0
  66. package/dist/hydrate/stubRouting.d.ts +2 -1
  67. package/dist/hydrate/stubRouting.js +7 -5
  68. package/dist/indexInner.d.ts +1 -0
  69. package/dist/indexInner.js +1 -0
  70. package/dist/json.d.ts +4 -0
  71. package/dist/json.js +3 -0
  72. package/dist/makeFinalConfig.js +3 -1
  73. package/dist/mutatingFunctions.d.ts +3 -3
  74. package/dist/pipeline/hydratePipeline.js +46 -5
  75. package/dist/pipeline/pipeline.d.ts +21 -6
  76. package/dist/pipeline/pipeline.js +14 -3
  77. package/dist/pipeline/pipelineDefinition.d.ts +11 -3
  78. package/dist/pipeline/pipelineDefinition.js +2 -0
  79. package/dist/pipeline/runPipeline.d.ts +15 -5
  80. package/dist/pipeline/runPipeline.js +71 -29
  81. package/dist/pipeline/runSplitPipeline.d.ts +2 -2
  82. package/dist/pipeline/runSplitPipeline.js +11 -5
  83. package/dist/pipeline/settleRouting.d.ts +10 -0
  84. package/dist/pipeline/settleRouting.js +54 -0
  85. package/dist/pipeline/splitPipeline.d.ts +9 -6
  86. package/dist/pipeline/splitPipeline.js +6 -4
  87. package/dist/postcssPlugins/TransformCssNames.d.ts +6 -6
  88. package/dist/render/contentTreeToRenderingTree.js +1 -3
  89. package/dist/render/instantiateClassComponent.d.ts +1 -1
  90. package/dist/render/processHead.js +31 -0
  91. package/dist/render/processProps.d.ts +6 -1
  92. package/dist/render/processProps.js +6 -4
  93. package/dist/render/rootToHtml.d.ts +1 -1
  94. package/dist/render/rootToHtml.js +2 -2
  95. package/dist/render/rootToHtmlDev.d.ts +1 -1
  96. package/dist/render/rootToHtmlDev.js +2 -2
  97. package/dist/routing/DataRedirect.d.ts +4 -0
  98. package/dist/routing/DataRedirect.js +1 -0
  99. package/dist/routing/Group.d.ts +1 -1
  100. package/dist/routing/MatchedRoute.d.ts +1 -1
  101. package/dist/routing/MatchedRoute.js +9 -3
  102. package/dist/routing/builder.d.ts +28 -9
  103. package/dist/routing/builder.js +9 -2
  104. package/dist/routing/redirectOf.d.ts +3 -2
  105. package/dist/routing/redirectOf.js +16 -9
  106. package/dist/routing/registerGlobalData.d.ts +4 -3
  107. package/dist/routing/registerRouting.d.ts +2 -1
  108. package/dist/routing/resolveAppRoutes.js +10 -1
  109. package/dist/routing/routesArray.d.ts +3 -2
  110. package/dist/routing/routingBuilder.d.ts +2 -1
  111. package/dist/staticGen/staticGen.js +3 -11
  112. package/dist/style/styleContentSxy.js +8 -8
  113. package/dist/syncServer/preload.js +1 -1
  114. package/dist/testing/createTestApp.d.ts +1 -1
  115. package/dist/testing/ensure.d.ts +1 -1
  116. package/dist/testing/host.d.ts +4 -4
  117. package/dist/testing/hydrateTestApp.d.ts +1 -1
  118. package/dist/testing/loadEnv.js +1 -1
  119. package/dist/testing/pipeline/createTestPipelineApp.js +10 -10
  120. package/dist/testing/pipeline/hostPipeline.d.ts +4 -4
  121. package/dist/testing/pipeline/hydrateTestPipelineApp.js +3 -3
  122. package/dist/testing/pipeline/index.d.ts +2 -0
  123. package/dist/testing/pipeline/index.js +3 -1
  124. package/dist/testing/pipeline/routesOf.d.ts +14 -0
  125. package/dist/testing/pipeline/routesOf.js +19 -0
  126. package/dist/testing/pipeline/testingComponentPackageFromPacket.d.ts +11 -0
  127. package/dist/testing/pipeline/testingComponentPackageFromPacket.js +26 -0
  128. package/dist/testing/testingComponentPackage.d.ts +1 -0
  129. package/dist/testing/testingComponentPackage.js +2 -1
  130. package/dist-ti/AnyComponent.d.ts +7 -0
  131. package/dist-ti/AnyComponentType.d.ts +7 -0
  132. package/dist-ti/AppResponse.d.ts +9 -0
  133. package/dist-ti/AppTypeExtraction.d.ts +3 -0
  134. package/dist-ti/AssignedStyle.d.ts +6 -0
  135. package/dist-ti/Brands.d.ts +17 -0
  136. package/dist-ti/CjsTypes.d.ts +9 -0
  137. package/dist-ti/ComponentInstance.d.ts +3 -0
  138. package/dist-ti/ComponentRenderInfo.type.d.ts +7 -0
  139. package/dist-ti/ComponentStyle.d.ts +7 -0
  140. package/dist-ti/Components.d.ts +344 -0
  141. package/dist-ti/ContentFunction.d.ts +10 -0
  142. package/dist-ti/ContentNode.d.ts +95 -0
  143. package/dist-ti/ContentNodeNew.d.ts +3 -0
  144. package/dist-ti/CssNames.d.ts +10 -0
  145. package/dist-ti/DomNodes.d.ts +4 -0
  146. package/dist-ti/DomPointer.d.ts +24 -0
  147. package/dist-ti/DomRegion.d.ts +23 -0
  148. package/dist-ti/ExtendableHTMLElement.d.ts +6 -0
  149. package/dist-ti/Framework.d.ts +33 -0
  150. package/dist-ti/FrameworkConfig.d.ts +121 -0
  151. package/dist-ti/FunctionComponent.d.ts +14 -0
  152. package/dist-ti/FunctionComponentStandIn.d.ts +62 -0
  153. package/dist-ti/GenericObject.type.d.ts +3 -0
  154. package/dist-ti/HtmlElementAttributes.d.ts +3 -0
  155. package/dist-ti/Instance/ClientRuntimeContext.d.ts +9 -0
  156. package/dist-ti/Instance/Instance.d.ts +89 -0
  157. package/dist-ti/Instance/InstanceConfig.d.ts +14 -0
  158. package/dist-ti/IsDefined.d.ts +3 -0
  159. package/dist-ti/IsIndexableObject.d.ts +3 -0
  160. package/dist-ti/IsNumber.d.ts +3 -0
  161. package/dist-ti/IsObject.d.ts +4 -0
  162. package/dist-ti/Json.type.d.ts +8 -0
  163. package/dist-ti/JsxContent.d.ts +5 -0
  164. package/dist-ti/Key.d.ts +3 -0
  165. package/dist-ti/KeyAttr.d.ts +4 -0
  166. package/dist-ti/MapObject.d.ts +5 -0
  167. package/dist-ti/Mode.d.ts +3 -0
  168. package/dist-ti/Module.d.ts +6 -0
  169. package/dist-ti/NoDeproxy.d.ts +6 -0
  170. package/dist-ti/PopMessage.type.d.ts +7 -0
  171. package/dist-ti/ProcessedStylesObject.d.ts +7 -0
  172. package/dist-ti/RenderFunction.d.ts +4 -0
  173. package/dist-ti/RenderedContentNode.d.ts +83 -0
  174. package/dist-ti/RenderingNode.d.ts +58 -0
  175. package/dist-ti/ReqRes.d.ts +170 -0
  176. package/dist-ti/Sass.d.ts +7 -0
  177. package/dist-ti/Script.d.ts +9 -0
  178. package/dist-ti/ServerRpcFunction.type.d.ts +3 -0
  179. package/dist-ti/Servers/DevServer.d.ts +57 -0
  180. package/dist-ti/Servers/ProdServer.d.ts +38 -0
  181. package/dist-ti/Servers/ServerMiddleware.d.ts +7 -0
  182. package/dist-ti/Servers/StaticSiteServer.d.ts +15 -0
  183. package/dist-ti/Servers/TungstenServer.d.ts +43 -0
  184. package/dist-ti/Servers/cacheVersioned.d.ts +4 -0
  185. package/dist-ti/Servers/devErrorPageAutoRetry.d.ts +5 -0
  186. package/dist-ti/Servers/initStores.d.ts +17 -0
  187. package/dist-ti/Servers/listenVerified.d.ts +13 -0
  188. package/dist-ti/Servers/loadEnvsDev.d.ts +8 -0
  189. package/dist-ti/Servers/portError.d.ts +3 -0
  190. package/dist-ti/Servers/resetRegistrations.d.ts +3 -0
  191. package/dist-ti/Servers/routing.d.ts +7 -0
  192. package/dist-ti/Servers/serveStatic.d.ts +6 -0
  193. package/dist-ti/Servers/stubInstance.d.ts +9 -0
  194. package/dist-ti/Servers/tungstenCorePrivateEnvSchema.d.ts +8 -0
  195. package/dist-ti/Servers/tungstenCorePublicEnvSchema.d.ts +9 -0
  196. package/dist-ti/Servers/watchedServerMiddleware.d.ts +11 -0
  197. package/dist-ti/Store/BaseStoreSchema.d.ts +4 -0
  198. package/dist-ti/Store/InternalStoreSchema.d.ts +22 -0
  199. package/dist-ti/Store/ServerDataLoading.d.ts +5 -0
  200. package/dist-ti/Store/Store.d.ts +3 -0
  201. package/dist-ti/Store/StoreProxyInterface.d.ts +3 -0
  202. package/dist-ti/Store/StoreSchemaClass.d.ts +10 -0
  203. package/dist-ti/Store/StoreSubscriptions.types.d.ts +7 -0
  204. package/dist-ti/Store/TypeSafeStore.d.ts +3 -0
  205. package/dist-ti/Store/createStores.d.ts +9 -0
  206. package/dist-ti/Store/exportStore.d.ts +4 -0
  207. package/dist-ti/Store/getInternalStore.d.ts +5 -0
  208. package/dist-ti/Store/getStore.d.ts +3 -0
  209. package/dist-ti/Store/makeStore.d.ts +53 -0
  210. package/dist-ti/Store/registerStore.d.ts +13 -0
  211. package/dist-ti/Store/storeCreators.d.ts +4 -0
  212. package/dist-ti/StoreBindVariable.d.ts +4 -0
  213. package/dist-ti/StyleProcessor.d.ts +4 -0
  214. package/dist-ti/TElement.d.ts +3 -0
  215. package/dist-ti/TungstenApp.d.ts +27 -0
  216. package/dist-ti/TungstenAppOld.d.ts +3 -0
  217. package/dist-ti/TungstenElement.d.ts +4 -0
  218. package/dist-ti/TungstenError.d.ts +10 -0
  219. package/dist-ti/TungstenStyleObject.d.ts +3 -0
  220. package/dist-ti/__deproxy.d.ts +4 -0
  221. package/dist-ti/_client/RootComponent.d.ts +5 -0
  222. package/dist-ti/_client/cjsHelpers.d.ts +12 -0
  223. package/dist-ti/_client/client.d.ts +15 -0
  224. package/dist-ti/_client/hmr.d.ts +3 -0
  225. package/dist-ti/_client/liveReload.d.ts +3 -0
  226. package/dist-ti/_client/liveReloadSource.d.ts +4 -0
  227. package/dist-ti/_client/rootComponentRelFilePath.d.ts +3 -0
  228. package/dist-ti/_client/routes.d.ts +4 -0
  229. package/dist-ti/_testing/errorRoute.d.ts +9 -0
  230. package/dist-ti/_testing/regexEquals.d.ts +3 -0
  231. package/dist-ti/_testing/should.d.ts +3 -0
  232. package/dist-ti/_testing/sxy-test-runner.types.d.ts +6 -0
  233. package/dist-ti/alive.d.ts +4 -0
  234. package/dist-ti/api/ApiEndpoint.d.ts +4 -0
  235. package/dist-ti/api/ApiMethod.type.d.ts +3 -0
  236. package/dist-ti/api/ApiRoute.d.ts +8 -0
  237. package/dist-ti/api/ApiRoutes.d.ts +6 -0
  238. package/dist-ti/api/Request.d.ts +3 -0
  239. package/dist-ti/api/Response.d.ts +3 -0
  240. package/dist-ti/api/getApiRoutes.d.ts +7 -0
  241. package/dist-ti/api/getExport.d.ts +4 -0
  242. package/dist-ti/api/getExportDev.d.ts +3 -0
  243. package/dist-ti/appBuilder.d.ts +75 -0
  244. package/dist-ti/appOutput.d.ts +7 -0
  245. package/dist-ti/assert.d.ts +3 -0
  246. package/dist-ti/auth/checkPassword.d.ts +4 -0
  247. package/dist-ti/auth/hashPassword.d.ts +4 -0
  248. package/dist-ti/auth/index.d.ts +4 -0
  249. package/dist-ti/babelPlugins/BabelAddDevCacheBust.d.ts +19 -0
  250. package/dist-ti/babelPlugins/BabelExtractComponentStylesheet.d.ts +14 -0
  251. package/dist-ti/babelPlugins/BabelFakeType.d.ts +8 -0
  252. package/dist-ti/babelPlugins/BabelState.type.d.ts +4 -0
  253. package/dist-ti/babelPlugins/BabelTransformBindDirect.d.ts +16 -0
  254. package/dist-ti/babelPlugins/BabelTransformBindVar.d.ts +16 -0
  255. package/dist-ti/babelPlugins/BabelTransformCjsToEsm.d.ts +17 -0
  256. package/dist-ti/babelPlugins/BabelTransformCjsToFunction.d.ts +21 -0
  257. package/dist-ti/babelPlugins/BabelTransformCjsToFunction2.d.ts +22 -0
  258. package/dist-ti/babelPlugins/BabelTransformComponentState.d.ts +27 -0
  259. package/dist-ti/babelPlugins/BabelTransformComponentStyles.d.ts +38 -0
  260. package/dist-ti/babelPlugins/BabelTransformCssImports.d.ts +18 -0
  261. package/dist-ti/babelPlugins/BabelTransformDependencyImportsOld.d.ts +21 -0
  262. package/dist-ti/babelPlugins/BabelTransformDeproxyState.d.ts +23 -0
  263. package/dist-ti/babelPlugins/BabelTransformDocInit.d.ts +10 -0
  264. package/dist-ti/babelPlugins/BabelTransformJsxExtensionsToJs.d.ts +12 -0
  265. package/dist-ti/babelPlugins/BabelTransformJsxSignals.d.ts +3 -0
  266. package/dist-ti/babelPlugins/BabelTransformPackageImports.d.ts +89 -0
  267. package/dist-ti/babelPlugins/BabelTransformReactive.d.ts +16 -0
  268. package/dist-ti/babelPlugins/BabelTransformReactiveSvelteStyle.d.ts +11 -0
  269. package/dist-ti/babelPlugins/BabelTransformRemoveBlocks.d.ts +14 -0
  270. package/dist-ti/babelPlugins/BabelTransformRemoveDevBlocks.d.ts +11 -0
  271. package/dist-ti/babelPlugins/BabelTransformRemoveServerBlocks.d.ts +11 -0
  272. package/dist-ti/babelPlugins/BabelTransformRemoveServerCode.d.ts +3 -0
  273. package/dist-ti/babelPlugins/BabelTransformSxyFrameworkImports.d.ts +11 -0
  274. package/dist-ti/babelPlugins/BabelTransformSxyJsx.d.ts +3 -0
  275. package/dist-ti/babelPlugins/BabelTransformUniqueComponents.d.ts +11 -0
  276. package/dist-ti/babelPlugins/BabelTypes.d.ts +7 -0
  277. package/dist-ti/babelPlugins/StyleCompileError.d.ts +5 -0
  278. package/dist-ti/babelPlugins/fixImportsInSassErrorMessage.d.ts +9 -0
  279. package/dist-ti/babelPlugins/isBareImport.d.ts +3 -0
  280. package/dist-ti/babelPlugins/test.d.ts +3 -0
  281. package/dist-ti/babelPlugins/transformPackageImports/BabelTransformDependencyImportsCjs.d.ts +35 -0
  282. package/dist-ti/babelPlugins/transformPackageImports/BabelTransformDependencyImportsEsm.d.ts +35 -0
  283. package/dist-ti/babelPlugins/transformPackageImports/getWebLocationOfPackageFile.d.ts +3 -0
  284. package/dist-ti/babelPlugins/transformPackageImports/resolveBareImport.d.ts +3 -0
  285. package/dist-ti/bin/args.d.ts +12 -0
  286. package/dist-ti/bin/commands/build.d.ts +3 -0
  287. package/dist-ti/bin/commands/buildHelp.d.ts +3 -0
  288. package/dist-ti/bin/commands/clean.d.ts +3 -0
  289. package/dist-ti/bin/commands/compile.d.ts +3 -0
  290. package/dist-ti/bin/commands/compileSimplePackage.d.ts +3 -0
  291. package/dist-ti/bin/commands/dev.d.ts +3 -0
  292. package/dist-ti/bin/commands/devmon.d.ts +3 -0
  293. package/dist-ti/bin/commands/help.d.ts +3 -0
  294. package/dist-ti/bin/commands/speed.d.ts +3 -0
  295. package/dist-ti/bin/commands/start.d.ts +3 -0
  296. package/dist-ti/bin/commands/static.d.ts +3 -0
  297. package/dist-ti/bin/index.d.ts +3 -0
  298. package/dist-ti/bin/moduleLoadAnalysis.d.ts +3 -0
  299. package/dist-ti/bin/vendorHook.d.ts +4 -0
  300. package/dist-ti/booleanAttributeValue.d.ts +22 -0
  301. package/dist-ti/browserStorage.d.ts +65 -0
  302. package/dist-ti/build/BabelConfig.d.ts +6 -0
  303. package/dist-ti/build/CompilationInfo.d.ts +18 -0
  304. package/dist-ti/build/CompilationInfoFailure.d.ts +3 -0
  305. package/dist-ti/build/CompilationInfoSuccess.d.ts +3 -0
  306. package/dist-ti/build/Event.type.d.ts +3 -0
  307. package/dist-ti/build/ImportAliases.d.ts +5 -0
  308. package/dist-ti/build/PackageList.d.ts +3 -0
  309. package/dist-ti/build/PackagesCacheInfo.d.ts +3 -0
  310. package/dist-ti/build/ProcessPackageResult.d.ts +16 -0
  311. package/dist-ti/build/ProcessPackageResults.d.ts +4 -0
  312. package/dist-ti/build/PromiseSettledResultIsPromiseRejectedResult.d.ts +6 -0
  313. package/dist-ti/build/assetVersions.d.ts +10 -0
  314. package/dist-ti/build/babel.user.common.config.d.ts +11 -0
  315. package/dist-ti/build/bundle.d.ts +3 -0
  316. package/dist-ti/build/bundleBabelOptions.d.ts +6 -0
  317. package/dist-ti/build/clientModuleAliases.d.ts +3 -0
  318. package/dist-ti/build/clientRoutesFile.d.ts +3 -0
  319. package/dist-ti/build/combineComponentCss.d.ts +3 -0
  320. package/dist-ti/build/compileJavascript.d.ts +30 -0
  321. package/dist-ti/build/compileStyles.d.ts +5 -0
  322. package/dist-ti/build/compileUserApp.d.ts +7 -0
  323. package/dist-ti/build/componentStylesCache.d.ts +11 -0
  324. package/dist-ti/build/copyAssets.d.ts +4 -0
  325. package/dist-ti/build/copyPackageModulesToPackagesFolder.d.ts +5 -0
  326. package/dist-ti/build/copyPublicFiles.d.ts +4 -0
  327. package/dist-ti/build/createClientFiles.d.ts +5 -0
  328. package/dist-ti/build/createInstanceConfigFile.d.ts +5 -0
  329. package/dist-ti/build/createPackageVirtualFileSystem.d.ts +4 -0
  330. package/dist-ti/build/createPackageVirtualFileSystems.d.ts +4 -0
  331. package/dist-ti/build/customImportAliases.d.ts +5 -0
  332. package/dist-ti/build/customPackageEntryPoints.d.ts +7 -0
  333. package/dist-ti/build/devBundle.d.ts +3 -0
  334. package/dist-ti/build/devBundle.rollup.config.d.ts +7 -0
  335. package/dist-ti/build/findRequiredUserModules.d.ts +3 -0
  336. package/dist-ti/build/frameworkDestLocation.d.ts +4 -0
  337. package/dist-ti/build/frameworkStylesheets.d.ts +6 -0
  338. package/dist-ti/build/getAllSxyClientModules.d.ts +5 -0
  339. package/dist-ti/build/getPackageDirForFile.d.ts +3 -0
  340. package/dist-ti/build/getSxyClientPackageAliases.d.ts +4 -0
  341. package/dist-ti/build/getTempDirForAppCompilation.d.ts +4 -0
  342. package/dist-ti/build/ignoreGlobs.d.ts +3 -0
  343. package/dist-ti/build/internalAliases.d.ts +5 -0
  344. package/dist-ti/build/makeBabelRawConfig.d.ts +4 -0
  345. package/dist-ti/build/makeBabelUserDevConfig.d.ts +6 -0
  346. package/dist-ti/build/makeBabelUserProdConfig.d.ts +4 -0
  347. package/dist-ti/build/makeEnvJavascriptContent.d.ts +3 -0
  348. package/dist-ti/build/modifySassImports.d.ts +7 -0
  349. package/dist-ti/build/packageIdentifier.d.ts +7 -0
  350. package/dist-ti/build/processDataToLines.d.ts +3 -0
  351. package/dist-ti/build/resolveSassScssImports.d.ts +4 -0
  352. package/dist-ti/build/rollup.user.prod.config.d.ts +7 -0
  353. package/dist-ti/build/rollupExtractComponentStylesheets.d.ts +13 -0
  354. package/dist-ti/build/rollupProdConstants.d.ts +6 -0
  355. package/dist-ti/build/sassImportParser.d.ts +7 -0
  356. package/dist-ti/build/scssImportParserChatgpt.d.ts +7 -0
  357. package/dist-ti/build/tallyBabel.d.ts +4 -0
  358. package/dist-ti/cacheControl.d.ts +14 -0
  359. package/dist-ti/calculateImportedStaticFileLocations.d.ts +11 -0
  360. package/dist-ti/calledFrom.d.ts +8 -0
  361. package/dist-ti/checkedAttributeToBoolean.d.ts +3 -0
  362. package/dist-ti/checkedValueToBoolean.d.ts +3 -0
  363. package/dist-ti/cliOutput.d.ts +17 -0
  364. package/dist-ti/clone.d.ts +7 -0
  365. package/dist-ti/compat/context.d.ts +26 -0
  366. package/dist-ti/compat/forwardRef.d.ts +10 -0
  367. package/dist-ti/compat/index.d.ts +3 -0
  368. package/dist-ti/compat/propTypes.d.ts +18 -0
  369. package/dist-ti/compat/toTungstenClassComponent.d.ts +3 -0
  370. package/dist-ti/compat/toTungstenFunctionComponent.d.ts +3 -0
  371. package/dist-ti/compat/types.d.ts +17 -0
  372. package/dist-ti/componentClassName.d.ts +3 -0
  373. package/dist-ti/componentHelpers.d.ts +20 -0
  374. package/dist-ti/componentProxyHandlers.d.ts +39 -0
  375. package/dist-ti/componentType.d.ts +3 -0
  376. package/dist-ti/components/Await.d.ts +18 -0
  377. package/dist-ti/components/Fragment.d.ts +9 -0
  378. package/dist-ti/components/GoToComponent.d.ts +11 -0
  379. package/dist-ti/components/Lazy.d.ts +18 -0
  380. package/dist-ti/components/Link.d.ts +15 -0
  381. package/dist-ti/components/NativeHtml.d.ts +11 -0
  382. package/dist-ti/components/NoEscape.d.ts +9 -0
  383. package/dist-ti/components/PopMessages.d.ts +13 -0
  384. package/dist-ti/components/Protected.d.ts +11 -0
  385. package/dist-ti/components/RawHtml.d.ts +37 -0
  386. package/dist-ti/components/RouteRedirectComponent.d.ts +13 -0
  387. package/dist-ti/components/Stylesheet.d.ts +9 -0
  388. package/dist-ti/components/WebRedirectComponent.d.ts +12 -0
  389. package/dist-ti/components/_GoToComponent.d.ts +11 -0
  390. package/dist-ti/components/bindable/BindMode.d.ts +3 -0
  391. package/dist-ti/components/bindable/BindVariable.d.ts +37 -0
  392. package/dist-ti/components/bindable/BindableCheckbox.d.ts +26 -0
  393. package/dist-ti/components/bindable/BindableInput.d.ts +22 -0
  394. package/dist-ti/components/bindable/BindableInputNonString.d.ts +23 -0
  395. package/dist-ti/components/bindable/BindableInputString.d.ts +23 -0
  396. package/dist-ti/components/bindable/BindableInputTyped.d.ts +30 -0
  397. package/dist-ti/components/bindable/BindableInputTypedLegacy.d.ts +34 -0
  398. package/dist-ti/components/bindable/BindableRadio.d.ts +15 -0
  399. package/dist-ti/components/bindable/BindableSelect.d.ts +33 -0
  400. package/dist-ti/components/bindable/BindableSelectNaive.d.ts +3 -0
  401. package/dist-ti/components/bindable/BindableTextarea.d.ts +29 -0
  402. package/dist-ti/components/bindable/bindableCandidates.comparison.d.ts +142 -0
  403. package/dist-ti/components/bindable/bindableHtmlElements.d.ts +28 -0
  404. package/dist-ti/components/library/RichTextEditor/RichTextEditor.d.ts +52 -0
  405. package/dist-ti/components/library/RichTextEditor/StoredContentNode.d.ts +11 -0
  406. package/dist-ti/components/library/RichTextEditor/activeFormats.d.ts +21 -0
  407. package/dist-ti/components/library/RichTextEditor/contentTree.d.ts +31 -0
  408. package/dist-ti/components/library/RichTextEditor/sanitizeAuthoredHtml.d.ts +31 -0
  409. package/dist-ti/components/library/__StatefulMessage/MessageData.d.ts +8 -0
  410. package/dist-ti/components/library/__StatefulMessage/StatefulMessage.d.ts +23 -0
  411. package/dist-ti/components/library/index.d.ts +6 -0
  412. package/dist-ti/components/makeTypedLink.d.ts +10 -0
  413. package/dist-ti/concat.d.ts +3 -0
  414. package/dist-ti/contentNodeSymbols.d.ts +14 -0
  415. package/dist-ti/context/registerContext.d.ts +23 -0
  416. package/dist-ti/copy.d.ts +3 -0
  417. package/dist-ti/createElement.d.ts +3 -0
  418. package/dist-ti/createRef.d.ts +8 -0
  419. package/dist-ti/createRoutes.d.ts +4 -0
  420. package/dist-ti/defaultConfig.d.ts +5 -0
  421. package/dist-ti/deleteDirs.d.ts +3 -0
  422. package/dist-ti/devBanner.d.ts +5 -0
  423. package/dist-ti/docInit.d.ts +17 -0
  424. package/dist-ti/domNodeChecks.d.ts +4 -0
  425. package/dist-ti/env/Env.d.ts +3 -0
  426. package/dist-ti/env/Interfaces.d.ts +10 -0
  427. package/dist-ti/env/addToEnv.d.ts +3 -0
  428. package/dist-ti/env/droppedCoreEnvKeys.d.ts +6 -0
  429. package/dist-ti/env/funcs.d.ts +6 -0
  430. package/dist-ti/env/getEnvSchemas.d.ts +11 -0
  431. package/dist-ti/env/index.d.ts +3 -0
  432. package/dist-ti/env/privateEnv.d.ts +3 -0
  433. package/dist-ti/env/privateEnvOrThrow.d.ts +3 -0
  434. package/dist-ti/env/publicEnv.d.ts +3 -0
  435. package/dist-ti/env/publicEnvOrThrow.d.ts +3 -0
  436. package/dist-ti/env/registerEnvSchemas.d.ts +16 -0
  437. package/dist-ti/env/setPrivateEnvValidator.d.ts +9 -0
  438. package/dist-ti/env/setPublicEnvValidator.d.ts +9 -0
  439. package/dist-ti/env/test.d.ts +3 -0
  440. package/dist-ti/env/types.d.ts +4 -0
  441. package/dist-ti/env/windowGlobalEnvStatement.d.ts +3 -0
  442. package/dist-ti/experiments.d.ts +3 -0
  443. package/dist-ti/filePathFromUrl.d.ts +3 -0
  444. package/dist-ti/fileVersions.d.ts +10 -0
  445. package/dist-ti/findPackageDotJson.d.ts +3 -0
  446. package/dist-ti/findProjectDir.d.ts +6 -0
  447. package/dist-ti/findUserConfig.d.ts +7 -0
  448. package/dist-ti/fixExtension.d.ts +3 -0
  449. package/dist-ti/foreach.d.ts +8 -0
  450. package/dist-ti/frameworkConfigSchema.d.ts +107 -0
  451. package/dist-ti/getArrowFunctionBody.d.ts +3 -0
  452. package/dist-ti/getComponent.d.ts +5 -0
  453. package/dist-ti/getComponentDev.d.ts +4 -0
  454. package/dist-ti/getConfig.d.ts +3 -0
  455. package/dist-ti/getContentFromFunctionComponent.d.ts +4 -0
  456. package/dist-ti/getFrameworkDir.d.ts +3 -0
  457. package/dist-ti/getRoutes.d.ts +7 -0
  458. package/dist-ti/getRoutesDevs.d.ts +5 -0
  459. package/dist-ti/getStackTrace.d.ts +3 -0
  460. package/dist-ti/getStyledContentFromFunctionComponent.d.ts +4 -0
  461. package/dist-ti/getUserConfig.d.ts +4 -0
  462. package/dist-ti/glob.d.ts +6 -0
  463. package/dist-ti/globals.d.ts +3 -0
  464. package/dist-ti/goto.d.ts +3 -0
  465. package/dist-ti/hasDomain.d.ts +21 -0
  466. package/dist-ti/hasValidKey.d.ts +4 -0
  467. package/dist-ti/headChildren.d.ts +3 -0
  468. package/dist-ti/helpers/combineClassNames.d.ts +4 -0
  469. package/dist-ti/helpers/forwardingFetch.d.ts +4 -0
  470. package/dist-ti/helpers/getFetchCompatibleHeaders.d.ts +4 -0
  471. package/dist-ti/helpers/index.d.ts +6 -0
  472. package/dist-ti/helpers/perRequest.d.ts +4 -0
  473. package/dist-ti/hmr/applyHmrModule.d.ts +12 -0
  474. package/dist-ti/hmr/componentIdentity.d.ts +10 -0
  475. package/dist-ti/hmr/instanceRegistry.d.ts +5 -0
  476. package/dist-ti/hmr/liveReloadHub.d.ts +11 -0
  477. package/dist-ti/hmr/refreshStylesheets.d.ts +3 -0
  478. package/dist-ti/hooks/clearCurrentComponent.d.ts +3 -0
  479. package/dist-ti/hooks/getCurrentComponent.d.ts +8 -0
  480. package/dist-ti/hooks/globalObj.d.ts +3 -0
  481. package/dist-ti/hooks/globalType.d.ts +3 -0
  482. package/dist-ti/hooks/index.d.ts +7 -0
  483. package/dist-ti/hooks/setCurrentComponent.d.ts +4 -0
  484. package/dist-ti/hooks/shallowCompare.d.ts +3 -0
  485. package/dist-ti/hooks/useCallback.d.ts +3 -0
  486. package/dist-ti/hooks/useContext.d.ts +3 -0
  487. package/dist-ti/hooks/useEffect.d.ts +3 -0
  488. package/dist-ti/hooks/useInstance.d.ts +4 -0
  489. package/dist-ti/hooks/useMemo.d.ts +3 -0
  490. package/dist-ti/hooks/useReducer.d.ts +3 -0
  491. package/dist-ti/hooks/useRef.d.ts +5 -0
  492. package/dist-ti/hooks/useState.d.ts +4 -0
  493. package/dist-ti/htmlEntities.d.ts +3 -0
  494. package/dist-ti/htmlEventHandlerKey.d.ts +4 -0
  495. package/dist-ti/htmlEvents.d.ts +7 -0
  496. package/dist-ti/hydrate/hydrate.d.ts +21 -0
  497. package/dist-ti/hydrate/hydrateGlobalData.d.ts +14 -0
  498. package/dist-ti/hydrate/reconcileHydratedAttributes.d.ts +26 -0
  499. package/dist-ti/hydrate/renderHydrationMismatchBanner.d.ts +9 -0
  500. package/dist-ti/hydrate/stubRouting.d.ts +10 -0
  501. package/dist-ti/importDevModuleWithRetry.d.ts +5 -0
  502. package/dist-ti/importModule.d.ts +4 -0
  503. package/dist-ti/index.d.ts +5 -0
  504. package/dist-ti/indexInner.d.ts +116 -0
  505. package/dist-ti/info.d.ts +3 -0
  506. package/dist-ti/innerHtmlFromProps.d.ts +19 -0
  507. package/dist-ti/isBrowser.d.ts +3 -0
  508. package/dist-ti/isClient.d.ts +3 -0
  509. package/dist-ti/isDev.d.ts +4 -0
  510. package/dist-ti/isProd.d.ts +3 -0
  511. package/dist-ti/isServer.d.ts +3 -0
  512. package/dist-ti/iterationQueryString.d.ts +3 -0
  513. package/dist-ti/json.d.ts +17 -0
  514. package/dist-ti/jsx-runtime.d.ts +3 -0
  515. package/dist-ti/jsxHelpers.d.ts +4 -0
  516. package/dist-ti/jsxRuntime.d.ts +11 -0
  517. package/dist-ti/jsxRuntimeSignals.d.ts +23 -0
  518. package/dist-ti/loadPackageDotJsonFromDir.d.ts +4 -0
  519. package/dist-ti/logAndReturn.d.ts +4 -0
  520. package/dist-ti/makeFinalConfig.d.ts +4 -0
  521. package/dist-ti/makeInstanceConfigFromFrameworkConfig.d.ts +5 -0
  522. package/dist-ti/makeServerRpc.d.ts +8 -0
  523. package/dist-ti/markOptionSelected.d.ts +18 -0
  524. package/dist-ti/mergeConfigs.d.ts +4 -0
  525. package/dist-ti/moduleReloader.d.ts +3 -0
  526. package/dist-ti/mutatingFunctions.d.ts +13 -0
  527. package/dist-ti/nbsp.d.ts +3 -0
  528. package/dist-ti/objectMap.d.ts +4 -0
  529. package/dist-ti/objectTypesToCopy.d.ts +3 -0
  530. package/dist-ti/objectTypesToProxy.d.ts +3 -0
  531. package/dist-ti/output.d.ts +7 -0
  532. package/dist-ti/packageSettings.d.ts +3 -0
  533. package/dist-ti/pipeLog.d.ts +3 -0
  534. package/dist-ti/pipeline/contextStore.d.ts +13 -0
  535. package/dist-ti/pipeline/hydratePipeline.d.ts +5 -0
  536. package/dist-ti/pipeline/importRoutesModule.d.ts +7 -0
  537. package/dist-ti/pipeline/networkedTransport.d.ts +12 -0
  538. package/dist-ti/pipeline/pipeline.d.ts +124 -0
  539. package/dist-ti/pipeline/pipelineDefinition.d.ts +87 -0
  540. package/dist-ti/pipeline/runPipeline.d.ts +40 -0
  541. package/dist-ti/pipeline/runSplitPipeline.d.ts +11 -0
  542. package/dist-ti/pipeline/settleRouting.d.ts +11 -0
  543. package/dist-ti/pipeline/splitPipeline.d.ts +66 -0
  544. package/dist-ti/pop.d.ts +11 -0
  545. package/dist-ti/possibleEnvFiles.d.ts +3 -0
  546. package/dist-ti/postcssPlugins/TransformCssNames.d.ts +16 -0
  547. package/dist-ti/postcssPlugins/parseSelectors.d.ts +3 -0
  548. package/dist-ti/postcssPlugins/parseSelectorsRich.d.ts +9 -0
  549. package/dist-ti/postcssPlugins/scopeAnimationValue.d.ts +3 -0
  550. package/dist-ti/postcssPlugins/splitCssValue.d.ts +3 -0
  551. package/dist-ti/postcssPlugins/unwrapIgnoreMarker.d.ts +3 -0
  552. package/dist-ti/promise.d.ts +3 -0
  553. package/dist-ti/propsAreEqual.d.ts +9 -0
  554. package/dist-ti/rawHtml/HtmlAllowList.d.ts +18 -0
  555. package/dist-ti/rawHtml/decodeHtmlEntities.d.ts +9 -0
  556. package/dist-ti/rawHtml/filterContentNode.d.ts +21 -0
  557. package/dist-ti/rawHtml/htmlParsingTags.d.ts +24 -0
  558. package/dist-ti/rawHtml/parseHtml.d.ts +50 -0
  559. package/dist-ti/rawHtml/safeHtmlAllowList.d.ts +19 -0
  560. package/dist-ti/rawHtml/sanitizeHtml.d.ts +18 -0
  561. package/dist-ti/rawHtml/tokenizeHtml.d.ts +26 -0
  562. package/dist-ti/reRouting/addRequireResolveHooks.d.ts +3 -0
  563. package/dist-ti/reRouting/importLoader.d.ts +8 -0
  564. package/dist-ti/ref.d.ts +3 -0
  565. package/dist-ti/regexEscape.d.ts +3 -0
  566. package/dist-ti/removeRecursive.d.ts +3 -0
  567. package/dist-ti/render/HeadData.d.ts +22 -0
  568. package/dist-ti/render/SxyFrameworkModule.d.ts +6 -0
  569. package/dist-ti/render/SxyFrameworkModules.d.ts +4 -0
  570. package/dist-ti/render/addImportMap.d.ts +5 -0
  571. package/dist-ti/render/classComponentNodeToRenderingTree.d.ts +7 -0
  572. package/dist-ti/render/componentNodeToRenderingTree.d.ts +7 -0
  573. package/dist-ti/render/contentNodeToHtml.d.ts +19 -0
  574. package/dist-ti/render/contentToHtml.d.ts +10 -0
  575. package/dist-ti/render/contentToHtmlDev.d.ts +10 -0
  576. package/dist-ti/render/contentTreeToRenderingTree.d.ts +7 -0
  577. package/dist-ti/render/debug.d.ts +3 -0
  578. package/dist-ti/render/functionComponentNodeToRenderingTree.d.ts +7 -0
  579. package/dist-ti/render/getFunctionBodyAsString.d.ts +4 -0
  580. package/dist-ti/render/htmlMonoTags.d.ts +7 -0
  581. package/dist-ti/render/htmlNoSelfCloseTags.d.ts +28 -0
  582. package/dist-ti/render/htmlSelfClosableTags.d.ts +7 -0
  583. package/dist-ti/render/htmlSingleOnlyTags.d.ts +9 -0
  584. package/dist-ti/render/htmlVoidTags.d.ts +20 -0
  585. package/dist-ti/render/instantiateClassComponent.d.ts +6 -0
  586. package/dist-ti/render/instantiateComponent.d.ts +6 -0
  587. package/dist-ti/render/instantiateFunctionComponent.d.ts +7 -0
  588. package/dist-ti/render/printComponentNameInSource.d.ts +3 -0
  589. package/dist-ti/render/processBody.d.ts +3 -0
  590. package/dist-ti/render/processHead.d.ts +5 -0
  591. package/dist-ti/render/processHtmlNode.d.ts +4 -0
  592. package/dist-ti/render/processProps.d.ts +3 -0
  593. package/dist-ti/render/processRenderingNodeHtml.d.ts +4 -0
  594. package/dist-ti/render/readDocInitScript.d.ts +4 -0
  595. package/dist-ti/render/renderingTreeToHtml.d.ts +5 -0
  596. package/dist-ti/render/rootToHtml.d.ts +10 -0
  597. package/dist-ti/render/rootToHtmlDev.d.ts +10 -0
  598. package/dist-ti/requests/axios/get.d.ts +3 -0
  599. package/dist-ti/requests/axios/post.d.ts +3 -0
  600. package/dist-ti/requests/fetch/FetchExtras.d.ts +32 -0
  601. package/dist-ti/requests/fetch/_fetchPromise.d.ts +3 -0
  602. package/dist-ti/requests/fetch/delete.d.ts +4 -0
  603. package/dist-ti/requests/fetch/get.d.ts +4 -0
  604. package/dist-ti/requests/fetch/mergeFetchInit.d.ts +3 -0
  605. package/dist-ti/requests/fetch/paramsObjectToParamsString.d.ts +3 -0
  606. package/dist-ti/requests/fetch/patch.d.ts +4 -0
  607. package/dist-ti/requests/fetch/post.d.ts +4 -0
  608. package/dist-ti/requests/fetch/put.d.ts +4 -0
  609. package/dist-ti/requests/index.d.ts +7 -0
  610. package/dist-ti/routesLocationParts.d.ts +7 -0
  611. package/dist-ti/routing/AppRoutes.d.ts +7 -0
  612. package/dist-ti/routing/DataRedirect.d.ts +5 -0
  613. package/dist-ti/routing/Default404.d.ts +6 -0
  614. package/dist-ti/routing/ErrorRouteType.d.ts +9 -0
  615. package/dist-ti/routing/Group.d.ts +13 -0
  616. package/dist-ti/routing/Match.type.d.ts +18 -0
  617. package/dist-ti/routing/MatchedRoute.d.ts +15 -0
  618. package/dist-ti/routing/MatchedRouteInfo.d.ts +14 -0
  619. package/dist-ti/routing/Params.d.ts +3 -0
  620. package/dist-ti/routing/ParamsFromPath.d.ts +11 -0
  621. package/dist-ti/routing/RedirectCode.d.ts +3 -0
  622. package/dist-ti/routing/Route.d.ts +3 -0
  623. package/dist-ti/routing/RouteContent.d.ts +5 -0
  624. package/dist-ti/routing/RouteContentFunction.d.ts +6 -0
  625. package/dist-ti/routing/RouteData.d.ts +3 -0
  626. package/dist-ti/routing/RouteDataFunction.type.d.ts +9 -0
  627. package/dist-ti/routing/RouteDataReturnType.d.ts +12 -0
  628. package/dist-ti/routing/RouteParams.type.d.ts +3 -0
  629. package/dist-ti/routing/RoutePaths.d.ts +13 -0
  630. package/dist-ti/routing/RouteProp.d.ts +11 -0
  631. package/dist-ti/routing/RouteType.d.ts +3 -0
  632. package/dist-ti/routing/RouteTypes.d.ts +20 -0
  633. package/dist-ti/routing/Router.d.ts +3 -0
  634. package/dist-ti/routing/Routes.d.ts +39 -0
  635. package/dist-ti/routing/RoutesFunction.d.ts +14 -0
  636. package/dist-ti/routing/RoutesWithSafeParams.d.ts +3 -0
  637. package/dist-ti/routing/RoutingRedirect.d.ts +9 -0
  638. package/dist-ti/routing/Serializable.d.ts +6 -0
  639. package/dist-ti/routing/TungstenErrorInfo.d.ts +7 -0
  640. package/dist-ti/routing/WebRedirect.d.ts +9 -0
  641. package/dist-ti/routing/builder.d.ts +131 -0
  642. package/dist-ti/routing/builder.trial.d.ts +3 -0
  643. package/dist-ti/routing/compareRequestToRegex.d.ts +10 -0
  644. package/dist-ti/routing/debug.d.ts +3 -0
  645. package/dist-ti/routing/defineRoutes.d.ts +9 -0
  646. package/dist-ti/routing/getPathPriority.d.ts +3 -0
  647. package/dist-ti/routing/matchPath.d.ts +4 -0
  648. package/dist-ti/routing/patternToRegex.d.ts +6 -0
  649. package/dist-ti/routing/pyramidRouting.d.ts +3 -0
  650. package/dist-ti/routing/redirectOf.d.ts +13 -0
  651. package/dist-ti/routing/registerGlobalData.d.ts +19 -0
  652. package/dist-ti/routing/registerRoutes.d.ts +11 -0
  653. package/dist-ti/routing/registerRouting.d.ts +38 -0
  654. package/dist-ti/routing/registrationTypes.d.ts +12 -0
  655. package/dist-ti/routing/resolveAppRoutes.d.ts +6 -0
  656. package/dist-ti/routing/routeSymbols.d.ts +10 -0
  657. package/dist-ti/routing/routeUrl.d.ts +9 -0
  658. package/dist-ti/routing/routesArray.d.ts +31 -0
  659. package/dist-ti/routing/routingBuilder.d.ts +36 -0
  660. package/dist-ti/routing/routingRegistry.d.ts +20 -0
  661. package/dist-ti/routing/runContentFunction.d.ts +3 -0
  662. package/dist-ti/routing/splitRequest.d.ts +18 -0
  663. package/dist-ti/run.d.ts +3 -0
  664. package/dist-ti/server.d.ts +5 -0
  665. package/dist-ti/serverModuleLocation.d.ts +4 -0
  666. package/dist-ti/serverRpc.d.ts +3 -0
  667. package/dist-ti/serverRpcs.d.ts +4 -0
  668. package/dist-ti/settings.d.ts +34 -0
  669. package/dist-ti/signals/tracking.d.ts +34 -0
  670. package/dist-ti/slash.d.ts +3 -0
  671. package/dist-ti/spawnShellCommand.d.ts +4 -0
  672. package/dist-ti/standardSchema.d.ts +38 -0
  673. package/dist-ti/standardizeWebPath.d.ts +3 -0
  674. package/dist-ti/startDevServer.d.ts +3 -0
  675. package/dist-ti/stateTracking.d.ts +48 -0
  676. package/dist-ti/staticGen/RouteDefinition.d.ts +9 -0
  677. package/dist-ti/staticGen/getAppRoutes.d.ts +6 -0
  678. package/dist-ti/staticGen/staticGen.d.ts +4 -0
  679. package/dist-ti/staticGen/staticGenFunctions.d.ts +7 -0
  680. package/dist-ti/style/jssToCss.d.ts +3 -0
  681. package/dist-ti/style/styleContent.d.ts +4 -0
  682. package/dist-ti/style/styleContentReact.d.ts +3 -0
  683. package/dist-ti/style/styleContentReactClassOrClassname.d.ts +3 -0
  684. package/dist-ti/style/styleContentSxy.d.ts +5 -0
  685. package/dist-ti/style/styleContentSxyClassOrClassname.d.ts +3 -0
  686. package/dist-ti/style/styleElementContent.d.ts +3 -0
  687. package/dist-ti/style/unusedStyles.d.ts +10 -0
  688. package/dist-ti/styleProcessors.d.ts +3 -0
  689. package/dist-ti/symbols.d.ts +4 -0
  690. package/dist-ti/sync/index.d.ts +5 -0
  691. package/dist-ti/syncServer/preload.d.ts +3 -0
  692. package/dist-ti/testing/contentToString.d.ts +14 -0
  693. package/dist-ti/testing/createTestApp.d.ts +72 -0
  694. package/dist-ti/testing/display.d.ts +3 -0
  695. package/dist-ti/testing/ensure.d.ts +120 -0
  696. package/dist-ti/testing/ensure.trial.d.ts +3 -0
  697. package/dist-ti/testing/helpers/contentHtmlElements.d.ts +4 -0
  698. package/dist-ti/testing/host.d.ts +189 -0
  699. package/dist-ti/testing/hydrateTestApp.d.ts +57 -0
  700. package/dist-ti/testing/index.d.ts +12 -0
  701. package/dist-ti/testing/installTestDocInit.d.ts +3 -0
  702. package/dist-ti/testing/installTestStyleProcessors.d.ts +3 -0
  703. package/dist-ti/testing/loadEnv.d.ts +7 -0
  704. package/dist-ti/testing/normalize.d.ts +3 -0
  705. package/dist-ti/testing/pipeline/createTestPacketApp.d.ts +31 -0
  706. package/dist-ti/testing/pipeline/createTestPipelineApp.d.ts +71 -0
  707. package/dist-ti/testing/pipeline/hostPipeline.d.ts +26 -0
  708. package/dist-ti/testing/pipeline/hydrateTestPipelineApp.d.ts +31 -0
  709. package/dist-ti/testing/pipeline/index.d.ts +8 -0
  710. package/dist-ti/testing/pipeline/pipelineTestApp.d.ts +35 -0
  711. package/dist-ti/testing/pipeline/routesOf.d.ts +15 -0
  712. package/dist-ti/testing/pipeline/testPipelineRoute.d.ts +3 -0
  713. package/dist-ti/testing/pipeline/testingComponentPackageFromPacket.d.ts +12 -0
  714. package/dist-ti/testing/resolveContent.d.ts +19 -0
  715. package/dist-ti/testing/testEnvIsRequested.d.ts +4 -0
  716. package/dist-ti/testing/testingComponentPackage.d.ts +36 -0
  717. package/dist-ti/throwError.d.ts +5 -0
  718. package/dist-ti/timeProfiler.d.ts +17 -0
  719. package/dist-ti/todo.d.ts +3 -0
  720. package/dist-ti/update/UpdateResult.d.ts +7 -0
  721. package/dist-ti/update/UpdateScheduler.d.ts +18 -0
  722. package/dist-ti/update/guardedUpdate.d.ts +10 -0
  723. package/dist-ti/update/integrateUpdateVdom.d.ts +50 -0
  724. package/dist-ti/update/integrateUpdateVdomPrebuild.d.ts +3 -0
  725. package/dist-ti/update/pendingMounts.d.ts +26 -0
  726. package/dist-ti/validChildren.d.ts +6 -0
  727. package/dist-ti/warnOnFrameworkChange.d.ts +3 -0
  728. package/dist-ti/watch.d.ts +10 -0
  729. package/dist-ti/when.d.ts +4 -0
  730. package/dist-ti/zones/react.d.ts +54 -0
  731. package/package.json +75 -11
  732. package/types/globals.d.ts +65 -0
  733. package/types/helpers.d.ts +2 -1
  734. package/types/index.d.ts +2 -57
  735. package/types-ti/helpers.d.ts +0 -0
  736. package/types-ti/index.d.ts +12 -0
  737. package/types-ti/permissions.d.ts +39 -0
  738. package/vendor/manifest.json +2 -2
  739. package/dist/pipeline/PipelineRequestHandler.d.ts +0 -25
  740. package/dist/pipeline/PipelineRequestHandler.js +0 -104
@@ -0,0 +1,87 @@
1
+ // @tightscript-object-permissions
2
+ import type { AnyComponentType } from '../AnyComponentType.js';
3
+ import type { RouteCacheControl } from '../cacheControl.js';
4
+ import type { ReqRes } from '../ReqRes.js';
5
+ import type { MatchedRouteInfo } from '../routing/MatchedRouteInfo.js';
6
+ import type { RouteKey } from '../routing/RouteTypes.js';
7
+ export type ServerRequests = {
8
+ express: ReqRes;
9
+ hono: unknown;
10
+ };
11
+ export type ServerKind = keyof ServerRequests;
12
+ export type StageContext = object;
13
+ export type MaybePromise<T> = T | Promise<T>;
14
+ export type AllRoutesDataConstraint = object | undefined;
15
+ export type RegisteredStage = (reqRes: unknown, previous: StageContext | undefined, allRoutesData?: AllRoutesDataConstraint) => MaybePromise<StageContext | undefined>;
16
+ export type SplitResult = {
17
+ context?: object;
18
+ networked?: object;
19
+ };
20
+ export type RegisteredServerInit = (reqRes: unknown) => MaybePromise<SplitResult | undefined>;
21
+ export type RegisteredServerPost = (reqRes: unknown, init: SplitResult | undefined, allRoutesData: AllRoutesDataConstraint) => MaybePromise<SplitResult | undefined>;
22
+ export type RegisteredClientInit = (networked: object) => MaybePromise<SplitResult | undefined>;
23
+ export type RegisteredClientAllRoutesData = (init: SplitResult | undefined, location: string) => MaybePromise<object>;
24
+ export type RegisteredClientPost = (init: SplitResult | undefined, allRoutesData: AllRoutesDataConstraint) => MaybePromise<SplitResult | undefined>;
25
+ export type ClientRoute = {
26
+ key: RouteKey | null;
27
+ params: Record<string, string>;
28
+ data: unknown;
29
+ location: string;
30
+ };
31
+ export declare const clientRoute: (matched: MatchedRouteInfo, location: string) => ClientRoute;
32
+ export type RegisteredClientAfterRouting = (context: object, route: ClientRoute, allRoutesData: AllRoutesDataConstraint) => MaybePromise<SplitResult | undefined>;
33
+ export type ClientRun = (app: PipelineApp, fromPage: unknown) => Promise<ClientStarted>;
34
+ export type ClientStarted = {
35
+ init: StageContext | undefined;
36
+ routingContext: object;
37
+ routingNetworkedData: object;
38
+ allRoutesData: ((location: string) => MaybePromise<object>) | undefined;
39
+ allRoutesDataFallback: ((location: string, error: unknown) => Promise<object>) | undefined;
40
+ networked: object;
41
+ post: (allRoutesData: AllRoutesDataConstraint) => Promise<ClientPosted>;
42
+ };
43
+ export type ClientPosted = {
44
+ context: object;
45
+ afterRouting: ((route: ClientRoute, allRoutesData: AllRoutesDataConstraint) => Promise<object>) | undefined;
46
+ };
47
+ export type RegisteredRoutes = (reqRes: unknown, init: StageContext | undefined) => unknown;
48
+ export type RegisteredAllRoutesData = (reqRes: unknown, init: StageContext | undefined, location: string) => MaybePromise<object>;
49
+ export type RegisteredAllRoutesDataFallback = object | ((reqRes: unknown, init: StageContext | undefined, location: string, error: unknown) => MaybePromise<object>);
50
+ export type RegisteredClientAllRoutesDataFallback = object | ((init: SplitResult | undefined, location: string, error: unknown) => MaybePromise<object>);
51
+ export declare const isFallbackFunction: <F extends object>(fallback: F) => fallback is Extract<F, (...args: never[]) => unknown>;
52
+ export type RoutesOptions = {
53
+ cacheControl?: RouteCacheControl;
54
+ };
55
+ export type PipelineDefinition = exact {
56
+ server: ServerKind;
57
+ split?: true;
58
+ client: ClientRun;
59
+ init?: RegisteredStage;
60
+ allRoutesData?: RegisteredAllRoutesData;
61
+ allRoutesDataFallback?: RegisteredAllRoutesDataFallback | undefined;
62
+ post?: RegisteredStage;
63
+ serverInit?: RegisteredServerInit;
64
+ serverPost?: RegisteredServerPost;
65
+ clientInit?: RegisteredClientInit;
66
+ clientAllRoutesData?: RegisteredClientAllRoutesData;
67
+ clientAllRoutesDataFallback?: RegisteredClientAllRoutesDataFallback | undefined;
68
+ clientPost?: RegisteredClientPost;
69
+ clientAfterRouting?: RegisteredClientAfterRouting;
70
+ errorPage?: AnyComponentType;
71
+ };
72
+ export declare const $pipelineApp: unique symbol;
73
+ declare const $appTypes: unique symbol;
74
+ export type PipelineApp<R = unknown, Ctx = unknown, N = unknown, G = unknown> = -exact PipelineDefinition & {
75
+ readonly [$pipelineApp]: true;
76
+ readonly routes: R;
77
+ readonly routesOptions: RoutesOptions;
78
+ readonly [$appTypes]?: {
79
+ context: Ctx;
80
+ networked: N;
81
+ allRoutesData: G;
82
+ };
83
+ };
84
+ export declare const isPipelineApp: (value: unknown) => value is PipelineApp;
85
+ export declare const appRoutesFunction: (app: PipelineApp) => RegisteredRoutes;
86
+ export {};
87
+ //# sourceMappingURL=pipelineDefinition.d.ts.map
@@ -0,0 +1,40 @@
1
+ // @tightscript-object-permissions
2
+ import type { BrandedContext, BrandedNetworkedData } from '../Brands.js';
3
+ import type { MatchedRouteInfo } from '../routing/MatchedRouteInfo.js';
4
+ import type { RoutesWithSettings } from '../routing/Routes.js';
5
+ import type { ServerDataLoading } from '../Store/ServerDataLoading.js';
6
+ import type { InstancePipeline } from '../Instance/Instance.js';
7
+ import type { AllRoutesDataConstraint, ClientPosted, ClientStarted, PipelineApp, RegisteredAllRoutesDataFallback, StageContext } from './pipelineDefinition.js';
8
+ export type PipelineRouted = {
9
+ init: StageContext | undefined;
10
+ routes: RoutesWithSettings<any>;
11
+ allRoutesData: AllRoutesDataConstraint;
12
+ matchedRouteInfo: MatchedRouteInfo;
13
+ recoveredFrom?: unknown;
14
+ };
15
+ export type RequestProgress = rw {
16
+ init?: {
17
+ value: StageContext | undefined;
18
+ };
19
+ allRoutesData?: unknown;
20
+ failedSteps?: rw string[];
21
+ };
22
+ export type ServerRunner = {
23
+ route: (app: PipelineApp, reqRes: unknown, location: string, serverDataLoading: rw ServerDataLoading | null, dev: boolean, progress?: RequestProgress) => Promise<PipelineRouted>;
24
+ post: (app: PipelineApp, reqRes: unknown, init: StageContext | undefined, allRoutesData: AllRoutesDataConstraint) => Promise<StageContext | undefined>;
25
+ context: (init: StageContext | undefined, post: StageContext | undefined) => object;
26
+ networked: (init: StageContext | undefined, post: StageContext | undefined) => object | undefined;
27
+ };
28
+ export declare function runStep: exact (<T>(progress: RequestProgress, step: string, run: () => T | Promise<T>) => Promise<T>);
29
+ export declare function pipelineRoutes: exact ((app: PipelineApp, reqRes: unknown, init: StageContext | undefined, dev: boolean) => RoutesWithSettings<any>);
30
+ export declare const routingContext: (context: object | undefined) => BrandedContext;
31
+ export declare const routingNetworkedData: (networked: object | undefined) => BrandedNetworkedData;
32
+ export declare function routeWithPipeline: exact ((app: PipelineApp, reqRes: unknown, location: string, serverDataLoading: rw ServerDataLoading | null, dev: boolean, progress?: RequestProgress) => Promise<PipelineRouted>);
33
+ export declare function routeAfterInit: exact ((app: PipelineApp, reqRes: unknown, location: string, serverDataLoading: rw ServerDataLoading | null, dev: boolean, init: StageContext | undefined, context: object | undefined, networked: object | undefined, progress?: RequestProgress) => Promise<PipelineRouted>);
34
+ export declare function fromFallback: exact ((fallback: RegisteredAllRoutesDataFallback, reqRes: unknown, init: StageContext | undefined, location: string, error: unknown) => Promise<object>);
35
+ export declare function runPost: exact ((app: PipelineApp, reqRes: unknown, init: StageContext | undefined, allRoutesData: AllRoutesDataConstraint) => Promise<StageContext | undefined>);
36
+ export declare const pipelineContext: (init: StageContext | undefined, post: StageContext | undefined) => r object;
37
+ export declare const symmetricServer: ServerRunner;
38
+ export declare function runClientPipeline: exact ((app: PipelineApp) => Promise<ClientStarted>);
39
+ export declare const afterRoutingFor: (run: ClientPosted['afterRouting']) => InstancePipeline['afterRouting'];
40
+ //# sourceMappingURL=runPipeline.d.ts.map
@@ -0,0 +1,11 @@
1
+ // @tightscript-object-permissions
2
+ import type { ServerDataLoading } from '../Store/ServerDataLoading.js';
3
+ import type { AllRoutesDataConstraint, ClientStarted, PipelineApp, SplitResult } from './pipelineDefinition.js';
4
+ import type { PipelineRouted, RequestProgress, ServerRunner } from './runPipeline.js';
5
+ export declare function routeWithSplitPipeline: exact ((app: PipelineApp, reqRes: unknown, location: string, serverDataLoading: rw ServerDataLoading | null, dev: boolean, progress?: RequestProgress) => Promise<PipelineRouted>);
6
+ export declare function runServerPost: exact ((app: PipelineApp, reqRes: unknown, init: object | undefined, allRoutesData: AllRoutesDataConstraint) => Promise<SplitResult | undefined>);
7
+ export declare const splitContext: (init: object | undefined, post: object | undefined) => r object;
8
+ export declare const splitNetworked: (init: object | undefined, post: object | undefined) => r object | undefined;
9
+ export declare const splitServer: ServerRunner;
10
+ export declare function runSplitClient: exact ((app: PipelineApp, fromPage: unknown) => Promise<ClientStarted>);
11
+ //# sourceMappingURL=runSplitPipeline.d.ts.map
@@ -0,0 +1,11 @@
1
+ // @tightscript-object-permissions
2
+ import type { MatchedRouteInfo } from '../routing/MatchedRouteInfo.js';
3
+ import type { Routes } from '../routing/Routes.js';
4
+ import type { TungstenErrorInfo } from '../routing/TungstenErrorInfo.js';
5
+ export type Settled = {
6
+ allRoutesData: unknown;
7
+ matchedRouteInfo: MatchedRouteInfo;
8
+ recoveredFrom?: unknown;
9
+ };
10
+ export declare function settleRouting: exact ((routes: Routes<any>, route: () => Promise<MatchedRouteInfo>, loadData: (() => Promise<unknown>) | undefined, fallback: ((error: unknown) => Promise<unknown>) | undefined, errorInfo: (error: unknown) => TungstenErrorInfo) => Promise<Settled>);
11
+ //# sourceMappingURL=settleRouting.d.ts.map
@@ -0,0 +1,66 @@
1
+ // @tightscript-object-permissions
2
+ import type { JsonValue } from 'sxy-types';
3
+ import type { Serializable } from '../routing/Serializable.js';
4
+ import type { TrueStore } from '../Store/makeStore.js';
5
+ import type { DataRedirect } from '../routing/DataRedirect.js';
6
+ import type { Nothing, PostStage, SerializableData, StageMark } from './pipeline.js';
7
+ import type { ClientRoute, MaybePromise, ServerKind, ServerRequests } from './pipelineDefinition.js';
8
+ type ContextOf<X> = X extends {
9
+ context: infer C;
10
+ } ? C : Nothing;
11
+ type NetworkedOf<X> = X extends {
12
+ networked: infer N;
13
+ } ? N : Nothing;
14
+ type SerializableNetworked<N> = {
15
+ [K in keyof N]: K extends symbol ? never : N[K] extends TrueStore<infer S> ? ([S] extends [Serializable<S>] ? N[K] : never) : N[K] extends JsonValue ? N[K] : JsonValue;
16
+ };
17
+ type SplitKey<K, V> = K extends 'context' ? V & object : K extends 'networked' ? SerializableNetworked<V> & object : never;
18
+ type SerializableSplit<X> = X extends object ? {
19
+ [K in keyof X]: SplitKey<K, X[K]>;
20
+ } : X;
21
+ type ClientSplit<X> = X extends object ? {
22
+ [K in keyof X]: K extends 'context' | 'networked' ? X[K] & object : never;
23
+ } : X;
24
+ type ClientPostSplit<X> = X extends object ? {
25
+ [K in keyof X]: K extends 'context' ? X[K] & object : never;
26
+ } : X;
27
+ type ServerInitProcess<Req, SI> = (reqRes: Req) => MaybePromise<SI & SerializableSplit<NoInfer<SI>>>;
28
+ type ServerAllRoutesDataProcess<Req, SI, G> = (reqRes: Req, init: SI, location: string) => MaybePromise<(G & SerializableData<NoInfer<G>>) | DataRedirect>;
29
+ type ServerAllRoutesDataFallback<Req, SI, G> = NoInfer<G> | ((reqRes: Req, init: SI, location: string, error: unknown) => MaybePromise<NoInfer<G> | DataRedirect>);
30
+ type ServerPostProcess<Req, SI, SP, G> = (reqRes: Req, init: SI, allRoutesData: G) => MaybePromise<SP & SerializableSplit<NoInfer<SP>>>;
31
+ type ClientInitProcess<N, CI> = (networked: N) => MaybePromise<CI & ClientSplit<NoInfer<CI>>>;
32
+ type ClientAllRoutesDataProcess<CI, G> = (init: CI, location: string) => MaybePromise<G | DataRedirect>;
33
+ type ClientAllRoutesDataFallback<CI, G> = NoInfer<G> | ((init: CI, location: string, error: unknown) => MaybePromise<NoInfer<G> | DataRedirect>);
34
+ type ClientPostProcess<CI, CP, G> = (init: CI, allRoutesData: G) => MaybePromise<CP & ClientPostSplit<NoInfer<CP>>>;
35
+ type ClientAfterRoutingProcess<PC, CA, G> = (context: PC, route: ClientRoute, allRoutesData: G) => MaybePromise<CA & ClientPostSplit<NoInfer<CA>>>;
36
+ export type SplitFinalStage<Req, SI, CI, G extends object | undefined, ServerCtx, N, PC> = PostStage<Req, SI | CI, ServerCtx | PC, N, G, ContextOf<SI> | ContextOf<CI>, NetworkedOf<SI>> & {
37
+ clientAfterRouting: <CA extends object, This>(this: This, process: ClientAfterRoutingProcess<PC, CA, G>) => PostStage<Req, SI | CI, ServerCtx | ContextOf<CA>, N, G, ContextOf<SI> | ContextOf<CI>, NetworkedOf<SI>> & StageMark<This, 'clientAfterRouting', CA, ContextOf<CA>>;
38
+ };
39
+ export type ClientDataStage<Req, SI, CI, G extends object | undefined, ServerCtx, N, PC> = {
40
+ clientAllRoutesData: <This>(this: This, process: ClientAllRoutesDataProcess<CI, G>, fallback?: ClientAllRoutesDataFallback<CI, G>) => SplitFinalStage<Req, SI, CI, G, ServerCtx, N, PC> & StageMark<This, 'clientAllRoutesData', G, PC>;
41
+ };
42
+ type AfterClientPost<Req, SI, CI, G extends object | undefined, D extends boolean, ServerCtx, N, PC> = D extends true ? ClientDataStage<Req, SI, CI, G, ServerCtx, N, PC> : SplitFinalStage<Req, SI, CI, G, ServerCtx, N, PC>;
43
+ export type ClientPostStage<Req, SI, CI, G extends object | undefined, D extends boolean, ServerCtx, N> = AfterClientPost<Req, SI, CI, G, D, ServerCtx, N, ContextOf<CI>> & {
44
+ clientPost: <CP extends object, This>(this: This, process: ClientPostProcess<CI, CP, G>) => AfterClientPost<Req, SI, CI, G, D, ServerCtx, N, ContextOf<CP>> & StageMark<This, 'clientPost', CP, ContextOf<CP>>;
45
+ };
46
+ export type ClientInitStage<Req, SI, G extends object | undefined, D extends boolean, N, ServerCtx> = {
47
+ clientInit: <CI extends object | undefined, This>(this: This, process: ClientInitProcess<N, CI>) => ClientPostStage<Req, SI, CI, G, D, ServerCtx, N> & StageMark<This, 'clientInit', CI, ContextOf<CI>>;
48
+ };
49
+ export type SplitDataStage<Req, SI, G extends object | undefined, D extends boolean> = ClientInitStage<Req, SI, G, D, NetworkedOf<SI>, ContextOf<SI>> & {
50
+ serverPost: <SP extends object, This>(this: This, process: ServerPostProcess<Req, SI, SP, G>) => ClientInitStage<Req, SI, G, D, NetworkedOf<SP>, ContextOf<SP>> & StageMark<This, 'serverPost', SP, ContextOf<SP>>;
51
+ };
52
+ export type PipelineServerAllRoutesData<X extends {
53
+ serverPost: (process: never) => unknown;
54
+ }> = Parameters<Parameters<X['serverPost']>[0]>[2];
55
+ export type SplitInitStage<Req, SI> = SplitDataStage<Req, SI, undefined, false> & {
56
+ serverAllRoutesData: <G extends object, This>(this: This, process: ServerAllRoutesDataProcess<Req, SI, G>, fallback?: ServerAllRoutesDataFallback<Req, SI, G>) => SplitDataStage<Req, SI, G, true> & StageMark<This, 'serverAllRoutesData', G, ContextOf<SI>>;
57
+ };
58
+ export type SplitServerStage<Req> = {
59
+ serverInit: <SI extends object | undefined, This>(this: This, process: ServerInitProcess<Req, SI>) => SplitInitStage<Req, SI> & StageMark<This, 'serverInit', SI, ContextOf<SI>>;
60
+ };
61
+ export type SplitPipelineBuilder = {
62
+ server: <Kind extends ServerKind>(kind: Kind) => SplitServerStage<ServerRequests[Kind]>;
63
+ };
64
+ export declare const splitPipeline: SplitPipelineBuilder;
65
+ export {};
66
+ //# sourceMappingURL=splitPipeline.d.ts.map
@@ -0,0 +1,11 @@
1
+ // @tightscript-object-permissions
2
+ import type { Instance } from './Instance/Instance.js';
3
+ export declare function registerPopInstance: exact ((newInstance: Instance) => void);
4
+ export declare function dismissPop: exact ((id: number) => void);
5
+ export declare function pop: exact ((text: string) => void);
6
+ type PopFunction = typeof pop;
7
+ declare global {
8
+ var pop: PopFunction;
9
+ }
10
+ export {};
11
+ //# sourceMappingURL=pop.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export {};
3
+ //# sourceMappingURL=possibleEnvFiles.d.ts.map
@@ -0,0 +1,16 @@
1
+ // @tightscript-object-permissions
2
+ import type { Root } from 'postcss';
3
+ import type { CssNames } from '../CssNames.js';
4
+ type Opts = {
5
+ moduleName: string;
6
+ outNames: rw CssNames;
7
+ };
8
+ export declare function TransformCssNames(opts: Opts): exact rw {
9
+ postcssPlugin: string;
10
+ Once(root: Root): void;
11
+ };
12
+ export declare namespace TransformCssNames {
13
+ var postcss: boolean;
14
+ }
15
+ export {};
16
+ //# sourceMappingURL=TransformCssNames.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function parseSelectors: exact ((selectorGroup: string) => rw string[]);
3
+ //# sourceMappingURL=parseSelectors.d.ts.map
@@ -0,0 +1,9 @@
1
+ // @tightscript-object-permissions
2
+ export type SelectorKind = 'none' | 'whitespace' | 'grammar' | 'tag' | 'id' | 'class' | 'pseudo-class' | 'pseudo-element' | 'attribute';
3
+ export type Selector = {
4
+ type: SelectorKind;
5
+ content: string;
6
+ valid: boolean;
7
+ };
8
+ export declare function parseSelectorsRich: exact ((selectorGroup: string) => rw (r Selector)[]);
9
+ //# sourceMappingURL=parseSelectorsRich.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function scopeAnimationValue: exact ((value: string, scopeName: (name: string) => string) => string);
3
+ //# sourceMappingURL=scopeAnimationValue.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function splitCssValue: exact ((value: string) => string[]);
3
+ //# sourceMappingURL=splitCssValue.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function unwrapIgnoreMarker: exact ((word: string) => string | undefined);
3
+ //# sourceMappingURL=unwrapIgnoreMarker.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function promise: exact (<T>(func: (resolve: (reason?: any) => void, reject: (reason?: any) => void) => T) => Promise<T>);
3
+ //# sourceMappingURL=promise.d.ts.map
@@ -0,0 +1,9 @@
1
+ // @tightscript-object-permissions
2
+ /**
3
+ * `since` is the tick at which the receiving component last rendered. It is only consulted
4
+ * when the two sides are the same object, which is where a structural comparison cannot
5
+ * help: deep state is mutated in place, so both sides are the already-mutated object.
6
+ */
7
+ export declare function valuesAreEqual: exact ((a: unknown, b: unknown, since?: number) => boolean);
8
+ export declare function propsAreEqual: exact ((previous: unknown, next: unknown, since?: number) => boolean);
9
+ //# sourceMappingURL=propsAreEqual.d.ts.map
@@ -0,0 +1,18 @@
1
+ // @tightscript-object-permissions
2
+ /**
3
+ * What raw markup is permitted to contain.
4
+ *
5
+ * Anything outside the list is dropped. A disallowed *element* is unwrapped
6
+ * rather than deleted — its children take its place — so filtering never
7
+ * silently loses someone's words. The exception is elements whose content is
8
+ * program text rather than prose (`script`, `style`), which go entirely.
9
+ */
10
+ export type HtmlAllowList = {
11
+ /** Tag names that may be rendered. */
12
+ tags: readonly string[];
13
+ /** Attributes allowed on any allowed tag. */
14
+ attributes: readonly string[];
15
+ /** Further attributes allowed only on the named tags. */
16
+ tagAttributes?: Readonly<Record<string, readonly string[]>> | undefined;
17
+ };
18
+ //# sourceMappingURL=HtmlAllowList.d.ts.map
@@ -0,0 +1,9 @@
1
+ // @tightscript-object-permissions
2
+ /**
3
+ * Decodes HTML character references in text taken from raw markup.
4
+ *
5
+ * Never throws. An entity this does not recognise is left as written rather
6
+ * than dropped, so no content is ever silently lost.
7
+ */
8
+ export declare function decodeHtmlEntities: exact ((text: string) => string);
9
+ //# sourceMappingURL=decodeHtmlEntities.d.ts.map
@@ -0,0 +1,21 @@
1
+ // @tightscript-object-permissions
2
+ import type { ContentNode } from '../ContentNode.js';
3
+ import type { HtmlAllowList } from './HtmlAllowList.js';
4
+ /**
5
+ * Applies an allow list to a content tree that already exists, rather than
6
+ * one being built - the same decisions `parseHtml(html, { allowList })` makes
7
+ * while parsing, for a tree that did not come from parsing HTML at all (one
8
+ * rebuilt from storage, for instance) and so never had the chance to.
9
+ *
10
+ * A disallowed element is unwrapped, keeping its children in its place, so
11
+ * filtering a tag never costs the reader the words inside it - the same rule
12
+ * `parseHtml` applies. An element holding program text rather than prose
13
+ * (`<script>`, and anything on the same footing as `<script>` even under a
14
+ * permissive allow list) is dropped whole instead. `on*` props, `ref`, and
15
+ * `dangerouslySetInnerHTML` are always stripped - the tree-shape equivalent
16
+ * of what `parseHtml` refuses to produce in the first place - and a `href`/
17
+ * `src`/... value using an executable scheme (`javascript:`, `vbscript:`) or,
18
+ * on a navigating attribute, `data:` is dropped the same way.
19
+ */
20
+ export declare function filterContentNode: exact ((node: ContentNode, allowList: HtmlAllowList) => ContentNode);
21
+ //# sourceMappingURL=filterContentNode.d.ts.map
@@ -0,0 +1,24 @@
1
+ // @tightscript-object-permissions
2
+ /**
3
+ * Elements whose content is text, not markup, up to their closing tag.
4
+ *
5
+ * `escapable` ones hold ordinary text, so their character references are
6
+ * decoded; `literal` ones hold program text, which is taken exactly as written.
7
+ */
8
+ export declare const htmlRawTextTags: Record<string, 'literal' | 'escapable'>;
9
+ /**
10
+ * Table-structural elements, which may not hold text directly.
11
+ *
12
+ * A browser moves text out of these to just before the table it is in — the
13
+ * spec calls it foster parenting — so the parser has to do the same, or the
14
+ * tree and the DOM built from the rendered markup disagree. Whitespace alone
15
+ * is left where it is, which is also what a browser does.
16
+ *
17
+ * Only tables behave this way. `ul`, `ol`, `dl` and `select` keep stray text
18
+ * exactly where it was written.
19
+ */
20
+ export declare const htmlTableStructureTags: Record<string, true>;
21
+ export declare const htmlImpliedEndTags: Record<string, string[]>;
22
+ /** Whether an open `openTag` is implicitly closed by a start tag `startTag`. */
23
+ export declare function impliedEndTag: exact ((openTag: string, startTag: string) => boolean);
24
+ //# sourceMappingURL=htmlParsingTags.d.ts.map
@@ -0,0 +1,50 @@
1
+ // @tightscript-object-permissions
2
+ import type { ContentNode } from '../ContentNode.js';
3
+ import type { HtmlAllowList } from './HtmlAllowList.js';
4
+ export type ParseHtmlOptions = {
5
+ /**
6
+ * Drop `<script>` elements and `javascript:` URLs. On by default, because
7
+ * raw markup usually comes from outside the application.
8
+ *
9
+ * `on*` handler attributes are always dropped, sanitizing or not: Tungsten
10
+ * reads those props as event listeners, and a string where a function is
11
+ * expected breaks hydration.
12
+ */
13
+ sanitize?: boolean | undefined;
14
+ /**
15
+ * Keep only the tags and attributes on this list. Off by default — without
16
+ * one, everything parsed is kept, subject to `sanitize`.
17
+ *
18
+ * See `safeHtmlAllowList` for a ready-made list for authored rich text.
19
+ */
20
+ allowList?: HtmlAllowList | undefined;
21
+ };
22
+ export type AllowCheck = {
23
+ tag: (name: string) => boolean;
24
+ attribute: (tag: string, name: string) => boolean;
25
+ };
26
+ export declare function makeAllowCheck: exact ((allowList: HtmlAllowList | undefined) => AllowCheck);
27
+ export declare const urlAttributes: Record<string, true>;
28
+ export declare function blockedUrl: exact ((attributeName: string, value: string) => boolean);
29
+ /**
30
+ * Whether an element survives, and if not, how it goes.
31
+ *
32
+ * Elements holding program text rather than prose are dropped whole — there is
33
+ * no reader's content inside them to preserve. Everything else is unwrapped.
34
+ */
35
+ export declare function removalFor: exact ((name: string, sanitize: boolean, allow: AllowCheck) => 'drop' | 'unwrap' | undefined);
36
+ /**
37
+ * Parses raw HTML into a Tungsten content tree.
38
+ *
39
+ * Never throws, whatever it is given. Unclosed tags are closed, stray end tags
40
+ * are ignored, and anything that is not markup is kept as text — the result is
41
+ * always a renderable tree.
42
+ *
43
+ * The point of parsing rather than injecting the markup is that the result is
44
+ * an ordinary tree: it renders, hydrates and reconciles like any other content,
45
+ * with no opaque region the framework cannot see into. That means the parser
46
+ * has to apply the browser's own nesting rules, or the tree it produces and the
47
+ * DOM the browser builds from the rendered markup would disagree.
48
+ */
49
+ export declare function parseHtml: exact ((html: string, options?: ParseHtmlOptions) => ContentNode);
50
+ //# sourceMappingURL=parseHtml.d.ts.map
@@ -0,0 +1,19 @@
1
+ // @tightscript-object-permissions
2
+ import type { HtmlAllowList } from './HtmlAllowList.js';
3
+ /**
4
+ * A conservative allow list for authored rich text — the shape a CMS or WYSIWYG
5
+ * field produces: headings, paragraphs, lists, tables, links, images, emphasis.
6
+ *
7
+ * Reach for this via `<RawHtml safe />`, or import it and spread it into your
8
+ * own list where an application needs more.
9
+ *
10
+ * Deliberately absent:
11
+ *
12
+ * - `style`, on any element. Attacker-controlled CSS can reposition and
13
+ * disguise page furniture, so it is a real vector even without script.
14
+ * - `script`, `iframe`, `object`, `embed`, `form`, `input`, `button`.
15
+ * - `target` without `rel`: `target="_blank"` hands the opener window to the
16
+ * linked page, so `rel` is allowed alongside it to be set to `noopener`.
17
+ */
18
+ export declare const safeHtmlAllowList: HtmlAllowList;
19
+ //# sourceMappingURL=safeHtmlAllowList.d.ts.map
@@ -0,0 +1,18 @@
1
+ // @tightscript-object-permissions
2
+ import type { HtmlAllowList } from './HtmlAllowList.js';
3
+ export type SanitizeHtmlOptions = {
4
+ /** Defaults to `safeHtmlAllowList`. Pass your own list to allow more or less. */
5
+ allowList?: HtmlAllowList;
6
+ };
7
+ /**
8
+ * Cleans untrusted HTML and returns it as a string, synchronously.
9
+ *
10
+ * `parseHtml()` already does the cleaning - this only adds the return trip,
11
+ * for a caller that needs the result as a string rather than a content tree:
12
+ * a paste handler cleaning a clipboard payload before it is inserted, or an
13
+ * editor cleaning its content before it is stored. Both happen at a rate
14
+ * `renderingNodeToHtml` (the async, component-aware server renderer) is the
15
+ * wrong shape for.
16
+ */
17
+ export declare function sanitizeHtml: exact ((html: string, options?: SanitizeHtmlOptions) => string);
18
+ //# sourceMappingURL=sanitizeHtml.d.ts.map
@@ -0,0 +1,26 @@
1
+ // @tightscript-object-permissions
2
+ export type HtmlAttributes = Record<string, string | true>;
3
+ export type HtmlToken = {
4
+ kind: 'text';
5
+ text: string;
6
+ } | {
7
+ kind: 'open';
8
+ name: string;
9
+ attributes: HtmlAttributes;
10
+ selfClosing: boolean;
11
+ } | {
12
+ kind: 'close';
13
+ name: string;
14
+ };
15
+ /**
16
+ * Splits raw markup into text, start and end tokens.
17
+ *
18
+ * Never throws. Anything that is not well-formed markup — a stray `<`, an
19
+ * unterminated tag, a comment that is never closed — is emitted as text or
20
+ * skipped, matching what a browser does with the same input.
21
+ *
22
+ * Comments and doctypes are dropped: Tungsten uses comment nodes as its own
23
+ * component markers, so carrying authored ones through would confuse hydration.
24
+ */
25
+ export declare function tokenizeHtml: exact ((html: string) => HtmlToken[]);
26
+ //# sourceMappingURL=tokenizeHtml.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export {};
3
+ //# sourceMappingURL=addRequireResolveHooks.d.ts.map
@@ -0,0 +1,8 @@
1
+ // @tightscript-object-permissions
2
+ type Resolve = (specifier: string, context: Context, nextResolve?: Resolve) => unknown;
3
+ type Context = {
4
+ parentURL: string;
5
+ };
6
+ export declare function resolve: exact ((specifier: string, context: Context, nextResolve: Resolve) => rw Promise<unknown>);
7
+ export {};
8
+ //# sourceMappingURL=importLoader.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export {};
3
+ //# sourceMappingURL=ref.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function regexEscape: exact ((r: string) => string);
3
+ //# sourceMappingURL=regexEscape.d.ts.map
@@ -0,0 +1,3 @@
1
+ // @tightscript-object-permissions
2
+ export declare function removeRecursive: exact ((path: string) => Promise<void>);
3
+ //# sourceMappingURL=removeRecursive.d.ts.map
@@ -0,0 +1,22 @@
1
+ // @tightscript-object-permissions
2
+ import type { TungstenEnvOrUndefined } from '../env/types.js';
3
+ import type { Instance } from '../Instance/Instance.js';
4
+ import type { ImportAliases } from '../build/ImportAliases.js';
5
+ import type { AssetVersions } from '../build/assetVersions.js';
6
+ export type SiteBasePath = '' | `/${string}`;
7
+ export type HeadData = rw {
8
+ found: boolean;
9
+ instance: Instance;
10
+ clientImportAliases: ImportAliases;
11
+ importAliases: ImportAliases;
12
+ compilationLocation: string;
13
+ frameworkCss?: string | undefined;
14
+ assetVersions?: AssetVersions | undefined;
15
+ dev: boolean;
16
+ tungstenPublicEnv: TungstenEnvOrUndefined;
17
+ siteBasePath: SiteBasePath;
18
+ hmr: boolean | 'reload';
19
+ csr: boolean;
20
+ docInitScript?: string | undefined;
21
+ };
22
+ //# sourceMappingURL=HeadData.d.ts.map
@@ -0,0 +1,6 @@
1
+ // @tightscript-object-permissions
2
+ export type SxyFrameworkModule = {
3
+ abs: string;
4
+ rel: string;
5
+ };
6
+ //# sourceMappingURL=SxyFrameworkModule.d.ts.map
@@ -0,0 +1,4 @@
1
+ // @tightscript-object-permissions
2
+ import type { SxyFrameworkModule } from './SxyFrameworkModule.js';
3
+ export type SxyFrameworkModules = SxyFrameworkModule[];
4
+ //# sourceMappingURL=SxyFrameworkModules.d.ts.map
@@ -0,0 +1,5 @@
1
+ // @tightscript-object-permissions
2
+ import type { ContentNodeElementWithChildrenArray } from '../ContentNode.js';
3
+ import type { ImportAliases } from '../build/ImportAliases.js';
4
+ export declare function addImportMap: exact ((head: ContentNodeElementWithChildrenArray, importAliases: ImportAliases, clientImportAliases: ImportAliases) => void);
5
+ //# sourceMappingURL=addImportMap.d.ts.map
@@ -0,0 +1,7 @@
1
+ // @tightscript-object-permissions
2
+ import type { RenderingNodeComponent } from '../RenderingNode.js';
3
+ import type { Instance } from '../Instance/Instance.js';
4
+ import type { ContentNodeClassComponent } from '../ContentNode.js';
5
+ import type { AnyComponent } from '../AnyComponent.js';
6
+ export declare function classComponentNodeToRenderingTree: exact ((node: ContentNodeClassComponent, parentComponent: AnyComponent | null, instance: Instance, noEscape: boolean) => Promise<RenderingNodeComponent>);
7
+ //# sourceMappingURL=classComponentNodeToRenderingTree.d.ts.map
@@ -0,0 +1,7 @@
1
+ // @tightscript-object-permissions
2
+ import type { Instance } from '../Instance/Instance.js';
3
+ import type { AnyComponent } from '../AnyComponent.js';
4
+ import { type RenderingNodeComponent } from '../RenderingNode.js';
5
+ import { type ContentNodeComponent } from '../ContentNode.js';
6
+ export declare function componentNodeToRenderingTree: exact ((componentNode: ContentNodeComponent, parentComponent: AnyComponent | null, instance: Instance, noEscape: boolean) => Promise<RenderingNodeComponent>);
7
+ //# sourceMappingURL=componentNodeToRenderingTree.d.ts.map
@@ -0,0 +1,19 @@
1
+ // @tightscript-object-permissions
2
+ import type { ContentNode } from '../ContentNode.js';
3
+ /**
4
+ * Serialises a content tree to HTML, synchronously.
5
+ *
6
+ * `renderingNodeToHtml` (the server's real renderer) covers the general case -
7
+ * components, async data, `<head>` - and is async and internal because of it.
8
+ * This covers the subset that never needs any of that: plain HTML elements,
9
+ * text and arrays, the exact shape `parseHtml()` produces. Given a component
10
+ * node it throws rather than silently rendering nothing, since a caller
11
+ * reaching for the synchronous path has nothing that could resolve one.
12
+ *
13
+ * Attribute values are escaped, unlike `renderingNodeToHtml`'s - that renderer
14
+ * trusts values from application-authored JSX; this one exists specifically to
15
+ * round-trip untrusted markup back out as a string, so a value carrying `"`
16
+ * must not be able to break out of its attribute.
17
+ */
18
+ export declare function contentNodeToHtml: exact ((node: ContentNode) => string);
19
+ //# sourceMappingURL=contentNodeToHtml.d.ts.map
@@ -0,0 +1,10 @@
1
+ // @tightscript-object-permissions
2
+ import type { TungstenEnvOrUndefined } from '../env/types.js';
3
+ import type { FrameworkConfigComplete } from '../FrameworkConfig.js';
4
+ import type { CompilationInfo } from '../build/CompilationInfo.js';
5
+ import type { ImportAliases } from '../build/ImportAliases.js';
6
+ import type { SiteBasePath } from './HeadData.js';
7
+ import type { ContentNode } from '../ContentNode.js';
8
+ import type { Instance } from '../Instance/Instance.js';
9
+ export declare function contentToHtml: exact ((compilationInfo: CompilationInfo, clientImportAliases: ImportAliases, content: ContentNode, instance: Instance, config: FrameworkConfigComplete, siteBasePathOverride: SiteBasePath, tungstenPublicEnv?: TungstenEnvOrUndefined, dev?: boolean) => Promise<string>);
10
+ //# sourceMappingURL=contentToHtml.d.ts.map