@canonical/dataviews-core 0.45.0 → 0.48.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 (686) hide show
  1. package/LICENSE +166 -0
  2. package/README.md +27 -19
  3. package/dist/esm/lib/assertion/assertInvariant.js +14 -0
  4. package/dist/esm/lib/assertion/assertInvariant.js.map +1 -0
  5. package/dist/esm/lib/assertion/index.js +2 -0
  6. package/dist/esm/lib/assertion/index.js.map +1 -0
  7. package/dist/esm/lib/bindings/index.js +6 -20
  8. package/dist/esm/lib/bindings/index.js.map +1 -1
  9. package/dist/esm/lib/coordinator/createQueryCoordinator.js +65 -6
  10. package/dist/esm/lib/coordinator/createQueryCoordinator.js.map +1 -1
  11. package/dist/esm/lib/coordinator/index.js +2 -0
  12. package/dist/esm/lib/coordinator/index.js.map +1 -1
  13. package/dist/esm/lib/coordinator/isClauseReplaced.js +27 -0
  14. package/dist/esm/lib/coordinator/isClauseReplaced.js.map +1 -0
  15. package/dist/esm/lib/coordinator/readWithheld.js +13 -0
  16. package/dist/esm/lib/coordinator/readWithheld.js.map +1 -0
  17. package/dist/esm/lib/display/constants.js +2 -1
  18. package/dist/esm/lib/display/constants.js.map +1 -1
  19. package/dist/esm/lib/display/resolveDisplayStatus.js +24 -4
  20. package/dist/esm/lib/display/resolveDisplayStatus.js.map +1 -1
  21. package/dist/esm/lib/filter/createFilterInput.js +50 -16
  22. package/dist/esm/lib/filter/createFilterInput.js.map +1 -1
  23. package/dist/esm/lib/filter/createFilterInputs.js +116 -29
  24. package/dist/esm/lib/filter/createFilterInputs.js.map +1 -1
  25. package/dist/esm/lib/geometry/buildColumnTemplate.js +2 -2
  26. package/dist/esm/lib/geometry/buildColumnTemplate.js.map +1 -1
  27. package/dist/esm/lib/geometry/createColumnLayout.js +7 -10
  28. package/dist/esm/lib/geometry/createColumnLayout.js.map +1 -1
  29. package/dist/esm/lib/geometry/createGridInteraction.js +8 -5
  30. package/dist/esm/lib/geometry/createGridInteraction.js.map +1 -1
  31. package/dist/esm/lib/geometry/resolveColumns.js +5 -5
  32. package/dist/esm/lib/geometry/resolveColumns.js.map +1 -1
  33. package/dist/esm/lib/index.js +1 -1
  34. package/dist/esm/lib/index.js.map +1 -1
  35. package/dist/esm/lib/indexeddb/createIndexedDBViewStore.js +2 -2
  36. package/dist/esm/lib/indexeddb/createIndexedDBViewStore.js.map +1 -1
  37. package/dist/esm/lib/indexeddb/readSavedView.js +6 -2
  38. package/dist/esm/lib/indexeddb/readSavedView.js.map +1 -1
  39. package/dist/esm/lib/location/createMemoryLocation.js +2 -0
  40. package/dist/esm/lib/location/createMemoryLocation.js.map +1 -1
  41. package/dist/esm/lib/location/createPlatformLocation.js +3 -0
  42. package/dist/esm/lib/location/createPlatformLocation.js.map +1 -1
  43. package/dist/esm/lib/messages/composeStatus.js +10 -0
  44. package/dist/esm/lib/messages/composeStatus.js.map +1 -0
  45. package/dist/esm/lib/messages/constants.js +323 -0
  46. package/dist/esm/lib/messages/constants.js.map +1 -1
  47. package/dist/esm/lib/messages/resolveMessages.js +1 -1
  48. package/dist/esm/lib/messages/resolveMessages.js.map +1 -1
  49. package/dist/esm/lib/observable/createChannel.js +4 -2
  50. package/dist/esm/lib/observable/createChannel.js.map +1 -1
  51. package/dist/esm/lib/presentation/constants.js +5 -12
  52. package/dist/esm/lib/presentation/constants.js.map +1 -1
  53. package/dist/esm/lib/presentation/createMemoryPresentation.js +12 -0
  54. package/dist/esm/lib/presentation/createMemoryPresentation.js.map +1 -0
  55. package/dist/esm/lib/presentation/createPresentation.js +3 -3
  56. package/dist/esm/lib/presentation/createPresentation.js.map +1 -1
  57. package/dist/esm/lib/presentation/hideColumn.js +7 -6
  58. package/dist/esm/lib/presentation/hideColumn.js.map +1 -1
  59. package/dist/esm/lib/presentation/index.js +4 -1
  60. package/dist/esm/lib/presentation/index.js.map +1 -1
  61. package/dist/esm/lib/presentation/isTableKey.js +9 -0
  62. package/dist/esm/lib/presentation/isTableKey.js.map +1 -0
  63. package/dist/esm/lib/presentation/moveColumn.js +7 -7
  64. package/dist/esm/lib/presentation/moveColumn.js.map +1 -1
  65. package/dist/esm/lib/presentation/pickTableKeys.js +6 -0
  66. package/dist/esm/lib/presentation/pickTableKeys.js.map +1 -0
  67. package/dist/esm/lib/presentation/resetColumnArrangement.js +8 -12
  68. package/dist/esm/lib/presentation/resetColumnArrangement.js.map +1 -1
  69. package/dist/esm/lib/presentation/resolveArrangementParams.js +7 -12
  70. package/dist/esm/lib/presentation/resolveArrangementParams.js.map +1 -1
  71. package/dist/esm/lib/presentation/resolveColumnArrangement.js +9 -8
  72. package/dist/esm/lib/presentation/resolveColumnArrangement.js.map +1 -1
  73. package/dist/esm/lib/presentation/showColumn.js +5 -4
  74. package/dist/esm/lib/presentation/showColumn.js.map +1 -1
  75. package/dist/esm/lib/presentation/spellColumnArrangement.js +5 -9
  76. package/dist/esm/lib/presentation/spellColumnArrangement.js.map +1 -1
  77. package/dist/esm/lib/presentation/spellWidthKey.js +4 -4
  78. package/dist/esm/lib/presentation/spellWidthKey.js.map +1 -1
  79. package/dist/esm/lib/provider/constants.js +3 -22
  80. package/dist/esm/lib/provider/constants.js.map +1 -1
  81. package/dist/esm/lib/provider/createDataViewsProvider.js +46 -19
  82. package/dist/esm/lib/provider/createDataViewsProvider.js.map +1 -1
  83. package/dist/esm/lib/provider/createQueryCommands.js +32 -20
  84. package/dist/esm/lib/provider/createQueryCommands.js.map +1 -1
  85. package/dist/esm/lib/provider/createRecordTyping.js +14 -12
  86. package/dist/esm/lib/provider/createRecordTyping.js.map +1 -1
  87. package/dist/esm/lib/provider/createRequestCompleter.js +8 -3
  88. package/dist/esm/lib/provider/createRequestCompleter.js.map +1 -1
  89. package/dist/esm/lib/provider/isDataViewsProvider.js +4 -2
  90. package/dist/esm/lib/provider/isDataViewsProvider.js.map +1 -1
  91. package/dist/esm/lib/provider/isSameQuery.js +13 -0
  92. package/dist/esm/lib/provider/isSameQuery.js.map +1 -0
  93. package/dist/esm/lib/provider/listCarriedIssues.js +20 -0
  94. package/dist/esm/lib/provider/listCarriedIssues.js.map +1 -0
  95. package/dist/esm/lib/provider/observePorts.js +2 -2
  96. package/dist/esm/lib/provider/observePorts.js.map +1 -1
  97. package/dist/esm/lib/provider/readCommandCause.js +28 -0
  98. package/dist/esm/lib/provider/readCommandCause.js.map +1 -0
  99. package/dist/esm/lib/provider/readLocatedArrangement.js +15 -13
  100. package/dist/esm/lib/provider/readLocatedArrangement.js.map +1 -1
  101. package/dist/esm/lib/provider/readProviderHost.js +2 -2
  102. package/dist/esm/lib/provider/readProviderHost.js.map +1 -1
  103. package/dist/esm/lib/provider/readProviderRegistry.js +20 -0
  104. package/dist/esm/lib/provider/readProviderRegistry.js.map +1 -0
  105. package/dist/esm/lib/provider/readStartingPoint.js +2 -1
  106. package/dist/esm/lib/provider/readStartingPoint.js.map +1 -1
  107. package/dist/esm/lib/provider/registerProviderHost.js +2 -2
  108. package/dist/esm/lib/provider/registerProviderHost.js.map +1 -1
  109. package/dist/esm/lib/provider/resolveHistoryPolicy.js +7 -7
  110. package/dist/esm/lib/provider/resolveHistoryPolicy.js.map +1 -1
  111. package/dist/esm/lib/provider/runSource.js +13 -8
  112. package/dist/esm/lib/provider/runSource.js.map +1 -1
  113. package/dist/esm/lib/provider/shouldAdoptLocation.js +15 -0
  114. package/dist/esm/lib/provider/shouldAdoptLocation.js.map +1 -0
  115. package/dist/esm/lib/provider/spellLocation.js +7 -3
  116. package/dist/esm/lib/provider/spellLocation.js.map +1 -1
  117. package/dist/esm/lib/provider/syncLocation.js +61 -31
  118. package/dist/esm/lib/provider/syncLocation.js.map +1 -1
  119. package/dist/esm/lib/query/applyQueryCommand.js +129 -38
  120. package/dist/esm/lib/query/applyQueryCommand.js.map +1 -1
  121. package/dist/esm/lib/query/areListsEqual.js +1 -1
  122. package/dist/esm/lib/query/areListsEqual.js.map +1 -1
  123. package/dist/esm/lib/query/canonicalizeSlice.js +14 -17
  124. package/dist/esm/lib/query/canonicalizeSlice.js.map +1 -1
  125. package/dist/esm/lib/query/compareConjuncts.js +44 -0
  126. package/dist/esm/lib/query/compareConjuncts.js.map +1 -0
  127. package/dist/esm/lib/query/constants.js +6 -2
  128. package/dist/esm/lib/query/constants.js.map +1 -1
  129. package/dist/esm/lib/query/index.js +2 -0
  130. package/dist/esm/lib/query/index.js.map +1 -1
  131. package/dist/esm/lib/query/listConjuncts.js +13 -0
  132. package/dist/esm/lib/query/listConjuncts.js.map +1 -0
  133. package/dist/esm/lib/query/readCondition.js +36 -0
  134. package/dist/esm/lib/query/readCondition.js.map +1 -0
  135. package/dist/esm/lib/query/rejectOperandArity.js +2 -4
  136. package/dist/esm/lib/query/rejectOperandArity.js.map +1 -1
  137. package/dist/esm/lib/result/areFieldFacetsEqual.js +7 -1
  138. package/dist/esm/lib/result/areFieldFacetsEqual.js.map +1 -1
  139. package/dist/esm/lib/rows/constants.js +1 -1
  140. package/dist/esm/lib/rows/constants.js.map +1 -1
  141. package/dist/esm/lib/rows/createRowModel.js +2 -2
  142. package/dist/esm/lib/rows/createRowModel.js.map +1 -1
  143. package/dist/esm/lib/rows/createRowScopes.js +5 -2
  144. package/dist/esm/lib/rows/createRowScopes.js.map +1 -1
  145. package/dist/esm/lib/schema/createSchema.js +21 -10
  146. package/dist/esm/lib/schema/createSchema.js.map +1 -1
  147. package/dist/esm/lib/schema/parseNumberWithUnit.js +72 -0
  148. package/dist/esm/lib/schema/parseNumberWithUnit.js.map +1 -0
  149. package/dist/esm/lib/schema/resolveFieldKind.js +88 -29
  150. package/dist/esm/lib/schema/resolveFieldKind.js.map +1 -1
  151. package/dist/esm/lib/selection/createSelection.js +4 -2
  152. package/dist/esm/lib/selection/createSelection.js.map +1 -1
  153. package/dist/esm/lib/source/copyCapabilities.js +0 -1
  154. package/dist/esm/lib/source/copyCapabilities.js.map +1 -1
  155. package/dist/esm/lib/source/createArraySource.js +11 -8
  156. package/dist/esm/lib/source/createArraySource.js.map +1 -1
  157. package/dist/esm/lib/source/createPage.js +0 -1
  158. package/dist/esm/lib/source/createPage.js.map +1 -1
  159. package/dist/esm/lib/source/createQuerySource.js +32 -13
  160. package/dist/esm/lib/source/createQuerySource.js.map +1 -1
  161. package/dist/esm/lib/source/createRefusal.js +5 -0
  162. package/dist/esm/lib/source/createRefusal.js.map +1 -0
  163. package/dist/esm/lib/source/createRelaySource.js +49 -60
  164. package/dist/esm/lib/source/createRelaySource.js.map +1 -1
  165. package/dist/esm/lib/source/declareCapabilities.js +0 -1
  166. package/dist/esm/lib/source/declareCapabilities.js.map +1 -1
  167. package/dist/esm/lib/source/executeSlice.js +1 -0
  168. package/dist/esm/lib/source/executeSlice.js.map +1 -1
  169. package/dist/esm/lib/source/foldText.js +3 -0
  170. package/dist/esm/lib/source/foldText.js.map +1 -1
  171. package/dist/esm/lib/source/index.js +3 -1
  172. package/dist/esm/lib/source/index.js.map +1 -1
  173. package/dist/esm/lib/source/listFilterRefusals.js +30 -0
  174. package/dist/esm/lib/source/listFilterRefusals.js.map +1 -0
  175. package/dist/esm/lib/source/listGroupRefusals.js +22 -0
  176. package/dist/esm/lib/source/listGroupRefusals.js.map +1 -0
  177. package/dist/esm/lib/source/listOfferedOperators.js +25 -0
  178. package/dist/esm/lib/source/listOfferedOperators.js.map +1 -0
  179. package/dist/esm/lib/source/listQueryRefusals.js +35 -0
  180. package/dist/esm/lib/source/listQueryRefusals.js.map +1 -0
  181. package/dist/esm/lib/source/listSortRefusals.js +27 -0
  182. package/dist/esm/lib/source/listSortRefusals.js.map +1 -0
  183. package/dist/esm/lib/source/listWindowRefusals.js +20 -0
  184. package/dist/esm/lib/source/listWindowRefusals.js.map +1 -0
  185. package/dist/esm/lib/source/orderRows.js +36 -12
  186. package/dist/esm/lib/source/orderRows.js.map +1 -1
  187. package/dist/esm/lib/source/readFacets.js +30 -15
  188. package/dist/esm/lib/source/readFacets.js.map +1 -1
  189. package/dist/esm/lib/source/readRelayPage.js +55 -0
  190. package/dist/esm/lib/source/readRelayPage.js.map +1 -0
  191. package/dist/esm/lib/source/readSlice.js +5 -3
  192. package/dist/esm/lib/source/readSlice.js.map +1 -1
  193. package/dist/esm/lib/source/resolveErrorDelivery.js +27 -0
  194. package/dist/esm/lib/source/resolveErrorDelivery.js.map +1 -0
  195. package/dist/esm/lib/source/selectRows.js +72 -16
  196. package/dist/esm/lib/source/selectRows.js.map +1 -1
  197. package/dist/esm/lib/views/createViewCommands.js +6 -3
  198. package/dist/esm/lib/views/createViewCommands.js.map +1 -1
  199. package/dist/esm/lib/views/readStoredQuery.js +2 -1
  200. package/dist/esm/lib/views/readStoredQuery.js.map +1 -1
  201. package/dist/esm/lib/virtualization/createSizeIndex.js +19 -10
  202. package/dist/esm/lib/virtualization/createSizeIndex.js.map +1 -1
  203. package/dist/esm/lib/virtualization/createVirtualRange.js +30 -28
  204. package/dist/esm/lib/virtualization/createVirtualRange.js.map +1 -1
  205. package/dist/esm/lib/wire/areQueryIssuesEqual.js +12 -0
  206. package/dist/esm/lib/wire/areQueryIssuesEqual.js.map +1 -0
  207. package/dist/esm/lib/wire/constants.js +56 -36
  208. package/dist/esm/lib/wire/constants.js.map +1 -1
  209. package/dist/esm/lib/wire/decodeQuery.js +140 -168
  210. package/dist/esm/lib/wire/decodeQuery.js.map +1 -1
  211. package/dist/esm/lib/wire/encodeCarryingQuery.js +294 -0
  212. package/dist/esm/lib/wire/encodeCarryingQuery.js.map +1 -0
  213. package/dist/esm/lib/wire/encodeQuery.js +8 -76
  214. package/dist/esm/lib/wire/encodeQuery.js.map +1 -1
  215. package/dist/esm/lib/wire/index.js +6 -1
  216. package/dist/esm/lib/wire/index.js.map +1 -1
  217. package/dist/esm/lib/wire/isNarrowingIssue.js +15 -0
  218. package/dist/esm/lib/wire/isNarrowingIssue.js.map +1 -0
  219. package/dist/esm/lib/wire/isOwnedKey.js +6 -2
  220. package/dist/esm/lib/wire/isOwnedKey.js.map +1 -1
  221. package/dist/esm/lib/wire/isReservedKey.js +9 -0
  222. package/dist/esm/lib/wire/isReservedKey.js.map +1 -0
  223. package/dist/esm/lib/wire/readArrangementParams.js +18 -14
  224. package/dist/esm/lib/wire/readArrangementParams.js.map +1 -1
  225. package/dist/esm/lib/wire/readKeyPredicate.js +146 -0
  226. package/dist/esm/lib/wire/readKeyPredicate.js.map +1 -0
  227. package/dist/esm/lib/wire/readTableKey.js +21 -0
  228. package/dist/esm/lib/wire/readTableKey.js.map +1 -0
  229. package/dist/esm/lib/wire/readUndeclaredField.js +19 -0
  230. package/dist/esm/lib/wire/readUndeclaredField.js.map +1 -0
  231. package/dist/esm/lib/wire/readWireKey.js +38 -0
  232. package/dist/esm/lib/wire/readWireKey.js.map +1 -0
  233. package/dist/esm/lib/wire/recordConjunct.js +48 -0
  234. package/dist/esm/lib/wire/recordConjunct.js.map +1 -0
  235. package/dist/esm/lib/wire/rejectWireName.js +3 -2
  236. package/dist/esm/lib/wire/rejectWireName.js.map +1 -1
  237. package/dist/esm/lib/wire/spellArrangementKey.js +7 -0
  238. package/dist/esm/lib/wire/spellArrangementKey.js.map +1 -0
  239. package/dist/esm/lib/wire/spellArrangementParams.js +12 -15
  240. package/dist/esm/lib/wire/spellArrangementParams.js.map +1 -1
  241. package/dist/esm/lib/wire/spellOperand.js +33 -0
  242. package/dist/esm/lib/wire/spellOperand.js.map +1 -0
  243. package/dist/esm/lib/wire/spellTableId.js +12 -0
  244. package/dist/esm/lib/wire/spellTableId.js.map +1 -0
  245. package/dist/esm/lib/wire/spellWireKey.js +7 -4
  246. package/dist/esm/lib/wire/spellWireKey.js.map +1 -1
  247. package/dist/esm/lib/wire/spellWireValues.js +18 -0
  248. package/dist/esm/lib/wire/spellWireValues.js.map +1 -0
  249. package/dist/esm/testing/answerWith.js +10 -0
  250. package/dist/esm/testing/buildFailedResult.js +12 -0
  251. package/dist/esm/testing/buildPage.js +19 -0
  252. package/dist/esm/testing/buildRefusedResult.js +18 -0
  253. package/dist/esm/testing/buildRowModel.js +15 -0
  254. package/dist/esm/testing/buildSettledPage.js +22 -0
  255. package/dist/esm/testing/buildStoredView.js +19 -0
  256. package/dist/esm/testing/classifyInitializer.js +50 -0
  257. package/dist/esm/testing/countAtLeast.js +9 -0
  258. package/dist/esm/testing/countExactly.js +9 -0
  259. package/dist/esm/testing/createCountedRows.js +28 -0
  260. package/dist/esm/testing/createCountingViewStore.js +36 -0
  261. package/dist/esm/testing/createDeferred.js +9 -0
  262. package/dist/esm/testing/createManualSource.js +56 -0
  263. package/dist/esm/testing/createRecordingLocation.js +53 -0
  264. package/dist/esm/testing/createStandInPresentationStore.js +15 -0
  265. package/dist/esm/testing/createStandInViewStore.js +23 -0
  266. package/dist/esm/testing/declare.js +10 -0
  267. package/dist/esm/testing/declareSort.js +17 -0
  268. package/dist/esm/testing/filterStatusBy.js +13 -0
  269. package/dist/esm/testing/fixtures.js +694 -0
  270. package/dist/esm/testing/flushPresentation.js +16 -0
  271. package/dist/esm/testing/index.js +35 -0
  272. package/dist/esm/testing/installFakeClock.js +18 -0
  273. package/dist/esm/testing/isMovableForm.js +7 -0
  274. package/dist/esm/testing/isWrappedInitializer.js +33 -0
  275. package/dist/esm/testing/isWrapperCallee.js +10 -0
  276. package/dist/esm/testing/judgeExports.js +54 -0
  277. package/dist/esm/testing/listBracedExports.js +45 -0
  278. package/dist/esm/testing/listExports.js +68 -0
  279. package/dist/esm/testing/listFileRuleFindings.js +76 -0
  280. package/dist/esm/testing/listUnmarkedNames.js +40 -0
  281. package/dist/esm/testing/maskSource.js +149 -0
  282. package/dist/esm/testing/observeUntilFinished.js +15 -0
  283. package/dist/esm/testing/openIndexedDBTab.js +20 -0
  284. package/dist/esm/testing/orderNodesByName.js +31 -0
  285. package/dist/esm/testing/readDeclarationDoc.js +15 -0
  286. package/dist/esm/testing/readDeclarationExport.js +41 -0
  287. package/dist/esm/testing/readDefaultExport.js +55 -0
  288. package/dist/esm/testing/readDisplayStatus.js +14 -0
  289. package/dist/esm/testing/readFileRole.js +16 -0
  290. package/dist/esm/testing/readGroup.js +8 -0
  291. package/dist/esm/testing/readId.js +9 -0
  292. package/dist/esm/testing/readIssuedRequest.js +12 -0
  293. package/dist/esm/testing/readLocalBinding.js +44 -0
  294. package/dist/esm/testing/readSucceededPage.js +7 -0
  295. package/dist/esm/testing/relayTypes.js +5 -0
  296. package/dist/esm/testing/respellLink.js +27 -0
  297. package/dist/esm/testing/runFailureHandlers.js +26 -0
  298. package/dist/esm/testing/settleCalls.js +11 -0
  299. package/dist/esm/testing/skipBalanced.js +20 -0
  300. package/dist/esm/testing/skipTypeAnnotation.js +33 -0
  301. package/dist/esm/testing/types.js +2 -0
  302. package/dist/esm/testing/waitForState.js +40 -0
  303. package/dist/types/lib/assertion/assertInvariant.d.ts +9 -0
  304. package/dist/types/lib/assertion/assertInvariant.d.ts.map +1 -0
  305. package/dist/types/lib/assertion/index.d.ts +2 -0
  306. package/dist/types/lib/assertion/index.d.ts.map +1 -0
  307. package/dist/types/lib/bindings/index.d.ts +6 -20
  308. package/dist/types/lib/bindings/index.d.ts.map +1 -1
  309. package/dist/types/lib/coordinator/createQueryCoordinator.d.ts.map +1 -1
  310. package/dist/types/lib/coordinator/index.d.ts +2 -0
  311. package/dist/types/lib/coordinator/index.d.ts.map +1 -1
  312. package/dist/types/lib/coordinator/isClauseReplaced.d.ts +12 -0
  313. package/dist/types/lib/coordinator/isClauseReplaced.d.ts.map +1 -0
  314. package/dist/types/lib/coordinator/readWithheld.d.ts +9 -0
  315. package/dist/types/lib/coordinator/readWithheld.d.ts.map +1 -0
  316. package/dist/types/lib/coordinator/types.d.ts +34 -11
  317. package/dist/types/lib/coordinator/types.d.ts.map +1 -1
  318. package/dist/types/lib/display/constants.d.ts.map +1 -1
  319. package/dist/types/lib/display/resolveDisplayStatus.d.ts +6 -0
  320. package/dist/types/lib/display/resolveDisplayStatus.d.ts.map +1 -1
  321. package/dist/types/lib/display/types.d.ts +22 -16
  322. package/dist/types/lib/display/types.d.ts.map +1 -1
  323. package/dist/types/lib/filter/createFilterInput.d.ts.map +1 -1
  324. package/dist/types/lib/filter/createFilterInputs.d.ts +4 -2
  325. package/dist/types/lib/filter/createFilterInputs.d.ts.map +1 -1
  326. package/dist/types/lib/filter/types.d.ts +55 -2
  327. package/dist/types/lib/filter/types.d.ts.map +1 -1
  328. package/dist/types/lib/geometry/createColumnLayout.d.ts +3 -6
  329. package/dist/types/lib/geometry/createColumnLayout.d.ts.map +1 -1
  330. package/dist/types/lib/geometry/createGridInteraction.d.ts +3 -0
  331. package/dist/types/lib/geometry/createGridInteraction.d.ts.map +1 -1
  332. package/dist/types/lib/geometry/types.d.ts +3 -1
  333. package/dist/types/lib/geometry/types.d.ts.map +1 -1
  334. package/dist/types/lib/index.d.ts +7 -7
  335. package/dist/types/lib/index.d.ts.map +1 -1
  336. package/dist/types/lib/indexeddb/createIndexedDBViewStore.d.ts.map +1 -1
  337. package/dist/types/lib/indexeddb/readSavedView.d.ts +4 -1
  338. package/dist/types/lib/indexeddb/readSavedView.d.ts.map +1 -1
  339. package/dist/types/lib/indexeddb/types.d.ts +7 -0
  340. package/dist/types/lib/indexeddb/types.d.ts.map +1 -1
  341. package/dist/types/lib/location/createMemoryLocation.d.ts +2 -0
  342. package/dist/types/lib/location/createMemoryLocation.d.ts.map +1 -1
  343. package/dist/types/lib/location/createPlatformLocation.d.ts +3 -0
  344. package/dist/types/lib/location/createPlatformLocation.d.ts.map +1 -1
  345. package/dist/types/lib/messages/composeStatus.d.ts +6 -0
  346. package/dist/types/lib/messages/composeStatus.d.ts.map +1 -0
  347. package/dist/types/lib/messages/constants.d.ts +27 -1
  348. package/dist/types/lib/messages/constants.d.ts.map +1 -1
  349. package/dist/types/lib/messages/types.d.ts +381 -88
  350. package/dist/types/lib/messages/types.d.ts.map +1 -1
  351. package/dist/types/lib/observable/createChannel.d.ts +2 -0
  352. package/dist/types/lib/observable/createChannel.d.ts.map +1 -1
  353. package/dist/types/lib/presentation/constants.d.ts +4 -12
  354. package/dist/types/lib/presentation/constants.d.ts.map +1 -1
  355. package/dist/types/lib/presentation/createMemoryPresentation.d.ts +10 -0
  356. package/dist/types/lib/presentation/createMemoryPresentation.d.ts.map +1 -0
  357. package/dist/types/lib/presentation/hideColumn.d.ts +2 -2
  358. package/dist/types/lib/presentation/hideColumn.d.ts.map +1 -1
  359. package/dist/types/lib/presentation/index.d.ts +4 -1
  360. package/dist/types/lib/presentation/index.d.ts.map +1 -1
  361. package/dist/types/lib/presentation/isTableKey.d.ts +6 -0
  362. package/dist/types/lib/presentation/isTableKey.d.ts.map +1 -0
  363. package/dist/types/lib/presentation/moveColumn.d.ts +2 -3
  364. package/dist/types/lib/presentation/moveColumn.d.ts.map +1 -1
  365. package/dist/types/lib/presentation/pickTableKeys.d.ts +4 -0
  366. package/dist/types/lib/presentation/pickTableKeys.d.ts.map +1 -0
  367. package/dist/types/lib/presentation/resetColumnArrangement.d.ts +3 -8
  368. package/dist/types/lib/presentation/resetColumnArrangement.d.ts.map +1 -1
  369. package/dist/types/lib/presentation/resolveArrangementParams.d.ts +3 -9
  370. package/dist/types/lib/presentation/resolveArrangementParams.d.ts.map +1 -1
  371. package/dist/types/lib/presentation/resolveColumnArrangement.d.ts +3 -2
  372. package/dist/types/lib/presentation/resolveColumnArrangement.d.ts.map +1 -1
  373. package/dist/types/lib/presentation/showColumn.d.ts +1 -1
  374. package/dist/types/lib/presentation/showColumn.d.ts.map +1 -1
  375. package/dist/types/lib/presentation/spellColumnArrangement.d.ts +3 -7
  376. package/dist/types/lib/presentation/spellColumnArrangement.d.ts.map +1 -1
  377. package/dist/types/lib/presentation/spellWidthKey.d.ts +2 -2
  378. package/dist/types/lib/presentation/spellWidthKey.d.ts.map +1 -1
  379. package/dist/types/lib/presentation/types.d.ts +6 -2
  380. package/dist/types/lib/presentation/types.d.ts.map +1 -1
  381. package/dist/types/lib/provider/constants.d.ts +3 -15
  382. package/dist/types/lib/provider/constants.d.ts.map +1 -1
  383. package/dist/types/lib/provider/createDataViewsProvider.d.ts.map +1 -1
  384. package/dist/types/lib/provider/createQueryCommands.d.ts.map +1 -1
  385. package/dist/types/lib/provider/createRecordTyping.d.ts.map +1 -1
  386. package/dist/types/lib/provider/createRequestCompleter.d.ts.map +1 -1
  387. package/dist/types/lib/provider/isDataViewsProvider.d.ts.map +1 -1
  388. package/dist/types/lib/provider/isSameQuery.d.ts +8 -0
  389. package/dist/types/lib/provider/isSameQuery.d.ts.map +1 -0
  390. package/dist/types/lib/provider/listCarriedIssues.d.ts +10 -0
  391. package/dist/types/lib/provider/listCarriedIssues.d.ts.map +1 -0
  392. package/dist/types/lib/provider/readCommandCause.d.ts +10 -0
  393. package/dist/types/lib/provider/readCommandCause.d.ts.map +1 -0
  394. package/dist/types/lib/provider/readLocatedArrangement.d.ts +3 -5
  395. package/dist/types/lib/provider/readLocatedArrangement.d.ts.map +1 -1
  396. package/dist/types/lib/provider/readProviderRegistry.d.ts +10 -0
  397. package/dist/types/lib/provider/readProviderRegistry.d.ts.map +1 -0
  398. package/dist/types/lib/provider/readStartingPoint.d.ts.map +1 -1
  399. package/dist/types/lib/provider/runSource.d.ts.map +1 -1
  400. package/dist/types/lib/provider/shouldAdoptLocation.d.ts +19 -0
  401. package/dist/types/lib/provider/shouldAdoptLocation.d.ts.map +1 -0
  402. package/dist/types/lib/provider/spellLocation.d.ts +10 -1
  403. package/dist/types/lib/provider/spellLocation.d.ts.map +1 -1
  404. package/dist/types/lib/provider/syncLocation.d.ts.map +1 -1
  405. package/dist/types/lib/provider/types.d.ts +91 -36
  406. package/dist/types/lib/provider/types.d.ts.map +1 -1
  407. package/dist/types/lib/query/applyQueryCommand.d.ts +7 -2
  408. package/dist/types/lib/query/applyQueryCommand.d.ts.map +1 -1
  409. package/dist/types/lib/query/canonicalizeSlice.d.ts +4 -2
  410. package/dist/types/lib/query/canonicalizeSlice.d.ts.map +1 -1
  411. package/dist/types/lib/query/compareConjuncts.d.ts +14 -0
  412. package/dist/types/lib/query/compareConjuncts.d.ts.map +1 -0
  413. package/dist/types/lib/query/constants.d.ts +2 -2
  414. package/dist/types/lib/query/constants.d.ts.map +1 -1
  415. package/dist/types/lib/query/index.d.ts +2 -0
  416. package/dist/types/lib/query/index.d.ts.map +1 -1
  417. package/dist/types/lib/query/listConjuncts.d.ts +11 -0
  418. package/dist/types/lib/query/listConjuncts.d.ts.map +1 -0
  419. package/dist/types/lib/query/readCondition.d.ts +14 -0
  420. package/dist/types/lib/query/readCondition.d.ts.map +1 -0
  421. package/dist/types/lib/query/rejectOperandArity.d.ts +2 -2
  422. package/dist/types/lib/query/rejectOperandArity.d.ts.map +1 -1
  423. package/dist/types/lib/query/types.d.ts +89 -16
  424. package/dist/types/lib/query/types.d.ts.map +1 -1
  425. package/dist/types/lib/result/areFieldFacetsEqual.d.ts +7 -1
  426. package/dist/types/lib/result/areFieldFacetsEqual.d.ts.map +1 -1
  427. package/dist/types/lib/result/types.d.ts +66 -24
  428. package/dist/types/lib/result/types.d.ts.map +1 -1
  429. package/dist/types/lib/rows/createRowScopes.d.ts +3 -0
  430. package/dist/types/lib/rows/createRowScopes.d.ts.map +1 -1
  431. package/dist/types/lib/rows/types.d.ts +3 -3
  432. package/dist/types/lib/rows/types.d.ts.map +1 -1
  433. package/dist/types/lib/schema/createSchema.d.ts.map +1 -1
  434. package/dist/types/lib/schema/parseNumberWithUnit.d.ts +15 -0
  435. package/dist/types/lib/schema/parseNumberWithUnit.d.ts.map +1 -0
  436. package/dist/types/lib/schema/resolveFieldKind.d.ts.map +1 -1
  437. package/dist/types/lib/schema/types.d.ts +93 -29
  438. package/dist/types/lib/schema/types.d.ts.map +1 -1
  439. package/dist/types/lib/selection/createSelection.d.ts +2 -0
  440. package/dist/types/lib/selection/createSelection.d.ts.map +1 -1
  441. package/dist/types/lib/source/copyCapabilities.d.ts.map +1 -1
  442. package/dist/types/lib/source/createArraySource.d.ts +5 -2
  443. package/dist/types/lib/source/createArraySource.d.ts.map +1 -1
  444. package/dist/types/lib/source/createPage.d.ts.map +1 -1
  445. package/dist/types/lib/source/createQuerySource.d.ts +7 -0
  446. package/dist/types/lib/source/createQuerySource.d.ts.map +1 -1
  447. package/dist/types/lib/source/createRefusal.d.ts +4 -0
  448. package/dist/types/lib/source/createRefusal.d.ts.map +1 -0
  449. package/dist/types/lib/source/createRelaySource.d.ts +7 -1
  450. package/dist/types/lib/source/createRelaySource.d.ts.map +1 -1
  451. package/dist/types/lib/source/declareCapabilities.d.ts.map +1 -1
  452. package/dist/types/lib/source/executeSlice.d.ts.map +1 -1
  453. package/dist/types/lib/source/foldText.d.ts +3 -0
  454. package/dist/types/lib/source/foldText.d.ts.map +1 -1
  455. package/dist/types/lib/source/index.d.ts +3 -1
  456. package/dist/types/lib/source/index.d.ts.map +1 -1
  457. package/dist/types/lib/source/listFilterRefusals.d.ts +11 -0
  458. package/dist/types/lib/source/listFilterRefusals.d.ts.map +1 -0
  459. package/dist/types/lib/source/listGroupRefusals.d.ts +10 -0
  460. package/dist/types/lib/source/listGroupRefusals.d.ts.map +1 -0
  461. package/dist/types/lib/source/listOfferedOperators.d.ts +14 -0
  462. package/dist/types/lib/source/listOfferedOperators.d.ts.map +1 -0
  463. package/dist/types/lib/source/{refusalsOf.d.ts → listQueryRefusals.d.ts} +3 -3
  464. package/dist/types/lib/source/listQueryRefusals.d.ts.map +1 -0
  465. package/dist/types/lib/source/listSortRefusals.d.ts +10 -0
  466. package/dist/types/lib/source/listSortRefusals.d.ts.map +1 -0
  467. package/dist/types/lib/source/listWindowRefusals.d.ts +9 -0
  468. package/dist/types/lib/source/listWindowRefusals.d.ts.map +1 -0
  469. package/dist/types/lib/source/orderRows.d.ts +10 -5
  470. package/dist/types/lib/source/orderRows.d.ts.map +1 -1
  471. package/dist/types/lib/source/readFacets.d.ts +1 -1
  472. package/dist/types/lib/source/readFacets.d.ts.map +1 -1
  473. package/dist/types/lib/source/readRelayPage.d.ts +19 -0
  474. package/dist/types/lib/source/readRelayPage.d.ts.map +1 -0
  475. package/dist/types/lib/source/readSlice.d.ts +5 -3
  476. package/dist/types/lib/source/readSlice.d.ts.map +1 -1
  477. package/dist/types/lib/source/resolveErrorDelivery.d.ts +9 -0
  478. package/dist/types/lib/source/resolveErrorDelivery.d.ts.map +1 -0
  479. package/dist/types/lib/source/selectRows.d.ts +4 -2
  480. package/dist/types/lib/source/selectRows.d.ts.map +1 -1
  481. package/dist/types/lib/source/types.d.ts +36 -17
  482. package/dist/types/lib/source/types.d.ts.map +1 -1
  483. package/dist/types/lib/views/createViewCommands.d.ts.map +1 -1
  484. package/dist/types/lib/views/readStoredQuery.d.ts.map +1 -1
  485. package/dist/types/lib/views/types.d.ts +1 -1
  486. package/dist/types/lib/views/types.d.ts.map +1 -1
  487. package/dist/types/lib/virtualization/createSizeIndex.d.ts +3 -0
  488. package/dist/types/lib/virtualization/createSizeIndex.d.ts.map +1 -1
  489. package/dist/types/lib/virtualization/createVirtualRange.d.ts +4 -1
  490. package/dist/types/lib/virtualization/createVirtualRange.d.ts.map +1 -1
  491. package/dist/types/lib/virtualization/types.d.ts +4 -4
  492. package/dist/types/lib/virtualization/types.d.ts.map +1 -1
  493. package/dist/types/lib/wire/areQueryIssuesEqual.d.ts +7 -0
  494. package/dist/types/lib/wire/areQueryIssuesEqual.d.ts.map +1 -0
  495. package/dist/types/lib/wire/constants.d.ts +54 -18
  496. package/dist/types/lib/wire/constants.d.ts.map +1 -1
  497. package/dist/types/lib/wire/decodeQuery.d.ts +7 -4
  498. package/dist/types/lib/wire/decodeQuery.d.ts.map +1 -1
  499. package/dist/types/lib/wire/encodeCarryingQuery.d.ts +9 -0
  500. package/dist/types/lib/wire/encodeCarryingQuery.d.ts.map +1 -0
  501. package/dist/types/lib/wire/encodeQuery.d.ts.map +1 -1
  502. package/dist/types/lib/wire/index.d.ts +6 -1
  503. package/dist/types/lib/wire/index.d.ts.map +1 -1
  504. package/dist/types/lib/wire/isNarrowingIssue.d.ts +13 -0
  505. package/dist/types/lib/wire/isNarrowingIssue.d.ts.map +1 -0
  506. package/dist/types/lib/wire/isOwnedKey.d.ts +3 -1
  507. package/dist/types/lib/wire/isOwnedKey.d.ts.map +1 -1
  508. package/dist/types/lib/wire/isReservedKey.d.ts +6 -0
  509. package/dist/types/lib/wire/isReservedKey.d.ts.map +1 -0
  510. package/dist/types/lib/wire/readArrangementParams.d.ts +4 -8
  511. package/dist/types/lib/wire/readArrangementParams.d.ts.map +1 -1
  512. package/dist/types/lib/wire/readKeyPredicate.d.ts +9 -0
  513. package/dist/types/lib/wire/readKeyPredicate.d.ts.map +1 -0
  514. package/dist/types/lib/wire/readTableKey.d.ts +13 -0
  515. package/dist/types/lib/wire/readTableKey.d.ts.map +1 -0
  516. package/dist/types/lib/wire/readUndeclaredField.d.ts +11 -0
  517. package/dist/types/lib/wire/readUndeclaredField.d.ts.map +1 -0
  518. package/dist/types/lib/wire/readWireKey.d.ts +11 -0
  519. package/dist/types/lib/wire/readWireKey.d.ts.map +1 -0
  520. package/dist/types/lib/wire/recordConjunct.d.ts +10 -0
  521. package/dist/types/lib/wire/recordConjunct.d.ts.map +1 -0
  522. package/dist/types/lib/wire/rejectWireName.d.ts.map +1 -1
  523. package/dist/types/lib/wire/spellArrangementKey.d.ts +4 -0
  524. package/dist/types/lib/wire/spellArrangementKey.d.ts.map +1 -0
  525. package/dist/types/lib/wire/spellArrangementParams.d.ts +3 -9
  526. package/dist/types/lib/wire/spellArrangementParams.d.ts.map +1 -1
  527. package/dist/types/lib/wire/spellOperand.d.ts +4 -0
  528. package/dist/types/lib/wire/spellOperand.d.ts.map +1 -0
  529. package/dist/types/lib/wire/spellTableId.d.ts +6 -0
  530. package/dist/types/lib/wire/spellTableId.d.ts.map +1 -0
  531. package/dist/types/lib/wire/spellWireKey.d.ts +4 -4
  532. package/dist/types/lib/wire/spellWireKey.d.ts.map +1 -1
  533. package/dist/types/lib/wire/spellWireValues.d.ts +13 -0
  534. package/dist/types/lib/wire/spellWireValues.d.ts.map +1 -0
  535. package/dist/types/lib/wire/types.d.ts +68 -31
  536. package/dist/types/lib/wire/types.d.ts.map +1 -1
  537. package/dist/types/testing/answerWith.d.ts +9 -0
  538. package/dist/types/testing/buildFailedResult.d.ts +10 -0
  539. package/dist/types/testing/buildPage.d.ts +8 -0
  540. package/dist/types/testing/buildRefusedResult.d.ts +10 -0
  541. package/dist/types/testing/buildRowModel.d.ts +9 -0
  542. package/dist/types/testing/buildSettledPage.d.ts +17 -0
  543. package/dist/types/testing/buildStoredView.d.ts +8 -0
  544. package/dist/types/testing/classifyInitializer.d.ts +6 -0
  545. package/dist/types/testing/countAtLeast.d.ts +8 -0
  546. package/dist/types/testing/countExactly.d.ts +8 -0
  547. package/dist/types/testing/createCountedRows.d.ts +13 -0
  548. package/dist/types/testing/createCountingViewStore.d.ts +10 -0
  549. package/dist/types/testing/createDeferred.d.ts +8 -0
  550. package/dist/types/testing/createManualSource.d.ts +16 -0
  551. package/dist/types/testing/createRecordingLocation.d.ts +20 -0
  552. package/dist/types/testing/createStandInPresentationStore.d.ts +9 -0
  553. package/dist/types/testing/createStandInViewStore.d.ts +9 -0
  554. package/dist/types/testing/declare.d.ts +8 -0
  555. package/dist/types/testing/declareSort.d.ts +9 -0
  556. package/dist/types/testing/filterStatusBy.d.ts +8 -0
  557. package/dist/types/testing/fixtures.d.ts +117 -0
  558. package/dist/types/testing/flushPresentation.d.ts +13 -0
  559. package/dist/types/testing/index.d.ts +37 -0
  560. package/dist/types/testing/installFakeClock.d.ts +14 -0
  561. package/dist/types/testing/isMovableForm.d.ts +6 -0
  562. package/dist/types/testing/isWrappedInitializer.d.ts +6 -0
  563. package/dist/types/testing/isWrapperCallee.d.ts +2 -0
  564. package/dist/types/testing/judgeExports.d.ts +8 -0
  565. package/dist/types/testing/listBracedExports.d.ts +6 -0
  566. package/dist/types/testing/listExports.d.ts +7 -0
  567. package/dist/types/testing/listFileRuleFindings.d.ts +12 -0
  568. package/dist/types/testing/listUnmarkedNames.d.ts +10 -0
  569. package/dist/types/testing/maskSource.d.ts +6 -0
  570. package/dist/types/testing/observeUntilFinished.d.ts +12 -0
  571. package/dist/types/testing/openIndexedDBTab.d.ts +12 -0
  572. package/dist/types/testing/orderNodesByName.d.ts +11 -0
  573. package/dist/types/testing/readDeclarationDoc.d.ts +6 -0
  574. package/dist/types/testing/readDeclarationExport.d.ts +6 -0
  575. package/dist/types/testing/readDefaultExport.d.ts +6 -0
  576. package/dist/types/testing/readDisplayStatus.d.ts +8 -0
  577. package/dist/types/testing/readFileRole.d.ts +3 -0
  578. package/dist/types/testing/readGroup.d.ts +2 -0
  579. package/dist/types/testing/readId.d.ts +8 -0
  580. package/dist/types/testing/readIssuedRequest.d.ts +7 -0
  581. package/dist/types/testing/readLocalBinding.d.ts +6 -0
  582. package/dist/types/testing/readSucceededPage.d.ts +3 -0
  583. package/dist/types/testing/relayTypes.d.ts +38 -0
  584. package/dist/types/testing/respellLink.d.ts +12 -0
  585. package/dist/types/testing/runFailureHandlers.d.ts +12 -0
  586. package/dist/types/testing/settleCalls.d.ts +15 -0
  587. package/dist/types/testing/skipBalanced.d.ts +5 -0
  588. package/dist/types/testing/skipTypeAnnotation.d.ts +5 -0
  589. package/dist/types/testing/types.d.ts +228 -0
  590. package/dist/types/testing/waitForState.d.ts +11 -0
  591. package/package.json +20 -9
  592. package/dist/esm/lib/collection/createCollectionCoordinator.js +0 -202
  593. package/dist/esm/lib/collection/createCollectionCoordinator.js.map +0 -1
  594. package/dist/esm/lib/collection/createSaveSession.js +0 -103
  595. package/dist/esm/lib/collection/createSaveSession.js.map +0 -1
  596. package/dist/esm/lib/createIdentity.js +0 -22
  597. package/dist/esm/lib/createIdentity.js.map +0 -1
  598. package/dist/esm/lib/field/createFieldInteraction.js +0 -80
  599. package/dist/esm/lib/field/createFieldInteraction.js.map +0 -1
  600. package/dist/esm/lib/field/index.js +0 -2
  601. package/dist/esm/lib/field/index.js.map +0 -1
  602. package/dist/esm/lib/geometry/columnTemplate.js +0 -38
  603. package/dist/esm/lib/geometry/columnTemplate.js.map +0 -1
  604. package/dist/esm/lib/geometry/createPresentation.js +0 -79
  605. package/dist/esm/lib/geometry/createPresentation.js.map +0 -1
  606. package/dist/esm/lib/geometry/sizingEquals.js +0 -10
  607. package/dist/esm/lib/geometry/sizingEquals.js.map +0 -1
  608. package/dist/esm/lib/identityBrand.js +0 -3
  609. package/dist/esm/lib/identityBrand.js.map +0 -1
  610. package/dist/esm/lib/isIdentity.js +0 -15
  611. package/dist/esm/lib/isIdentity.js.map +0 -1
  612. package/dist/esm/lib/location/createLocationBinding.js +0 -214
  613. package/dist/esm/lib/location/createLocationBinding.js.map +0 -1
  614. package/dist/esm/lib/messages/DEFAULT_MESSAGES.js +0 -194
  615. package/dist/esm/lib/messages/DEFAULT_MESSAGES.js.map +0 -1
  616. package/dist/esm/lib/operation/createOperation.js +0 -83
  617. package/dist/esm/lib/operation/createOperation.js.map +0 -1
  618. package/dist/esm/lib/operation/index.js +0 -2
  619. package/dist/esm/lib/operation/index.js.map +0 -1
  620. package/dist/esm/lib/query/canonicalSlice.js +0 -64
  621. package/dist/esm/lib/query/canonicalSlice.js.map +0 -1
  622. package/dist/esm/lib/query/defaultWindow.js +0 -11
  623. package/dist/esm/lib/query/defaultWindow.js.map +0 -1
  624. package/dist/esm/lib/query/sliceEquals.js +0 -30
  625. package/dist/esm/lib/query/sliceEquals.js.map +0 -1
  626. package/dist/esm/lib/source/createSourceBinding.js +0 -192
  627. package/dist/esm/lib/source/createSourceBinding.js.map +0 -1
  628. package/dist/esm/lib/source/reasonOf.js +0 -11
  629. package/dist/esm/lib/source/reasonOf.js.map +0 -1
  630. package/dist/esm/lib/source/refusalsOf.js +0 -74
  631. package/dist/esm/lib/source/refusalsOf.js.map +0 -1
  632. package/dist/esm/lib/source/supportsSlice.js +0 -68
  633. package/dist/esm/lib/source/supportsSlice.js.map +0 -1
  634. package/dist/esm/lib/views/createIndexedDBViewStore.js +0 -513
  635. package/dist/esm/lib/views/createIndexedDBViewStore.js.map +0 -1
  636. package/dist/esm/lib/views/createProviderViews.js +0 -573
  637. package/dist/esm/lib/views/createProviderViews.js.map +0 -1
  638. package/dist/esm/lib/wire/wireGrammar.js +0 -59
  639. package/dist/esm/lib/wire/wireGrammar.js.map +0 -1
  640. package/dist/types/lib/collection/createCollectionCoordinator.d.ts +0 -115
  641. package/dist/types/lib/collection/createCollectionCoordinator.d.ts.map +0 -1
  642. package/dist/types/lib/collection/createSaveSession.d.ts +0 -64
  643. package/dist/types/lib/collection/createSaveSession.d.ts.map +0 -1
  644. package/dist/types/lib/createIdentity.d.ts +0 -20
  645. package/dist/types/lib/createIdentity.d.ts.map +0 -1
  646. package/dist/types/lib/field/createFieldInteraction.d.ts +0 -77
  647. package/dist/types/lib/field/createFieldInteraction.d.ts.map +0 -1
  648. package/dist/types/lib/field/index.d.ts +0 -3
  649. package/dist/types/lib/field/index.d.ts.map +0 -1
  650. package/dist/types/lib/geometry/columnTemplate.d.ts +0 -21
  651. package/dist/types/lib/geometry/columnTemplate.d.ts.map +0 -1
  652. package/dist/types/lib/geometry/createPresentation.d.ts +0 -32
  653. package/dist/types/lib/geometry/createPresentation.d.ts.map +0 -1
  654. package/dist/types/lib/geometry/sizingEquals.d.ts +0 -4
  655. package/dist/types/lib/geometry/sizingEquals.d.ts.map +0 -1
  656. package/dist/types/lib/identityBrand.d.ts +0 -3
  657. package/dist/types/lib/identityBrand.d.ts.map +0 -1
  658. package/dist/types/lib/isIdentity.d.ts +0 -11
  659. package/dist/types/lib/isIdentity.d.ts.map +0 -1
  660. package/dist/types/lib/location/createLocationBinding.d.ts +0 -77
  661. package/dist/types/lib/location/createLocationBinding.d.ts.map +0 -1
  662. package/dist/types/lib/messages/DEFAULT_MESSAGES.d.ts +0 -10
  663. package/dist/types/lib/messages/DEFAULT_MESSAGES.d.ts.map +0 -1
  664. package/dist/types/lib/operation/createOperation.d.ts +0 -62
  665. package/dist/types/lib/operation/createOperation.d.ts.map +0 -1
  666. package/dist/types/lib/operation/index.d.ts +0 -3
  667. package/dist/types/lib/operation/index.d.ts.map +0 -1
  668. package/dist/types/lib/query/canonicalSlice.d.ts +0 -17
  669. package/dist/types/lib/query/canonicalSlice.d.ts.map +0 -1
  670. package/dist/types/lib/query/defaultWindow.d.ts +0 -9
  671. package/dist/types/lib/query/defaultWindow.d.ts.map +0 -1
  672. package/dist/types/lib/query/sliceEquals.d.ts +0 -7
  673. package/dist/types/lib/query/sliceEquals.d.ts.map +0 -1
  674. package/dist/types/lib/source/createSourceBinding.d.ts +0 -66
  675. package/dist/types/lib/source/createSourceBinding.d.ts.map +0 -1
  676. package/dist/types/lib/source/reasonOf.d.ts +0 -3
  677. package/dist/types/lib/source/reasonOf.d.ts.map +0 -1
  678. package/dist/types/lib/source/refusalsOf.d.ts.map +0 -1
  679. package/dist/types/lib/source/supportsSlice.d.ts +0 -9
  680. package/dist/types/lib/source/supportsSlice.d.ts.map +0 -1
  681. package/dist/types/lib/views/createIndexedDBViewStore.d.ts +0 -90
  682. package/dist/types/lib/views/createIndexedDBViewStore.d.ts.map +0 -1
  683. package/dist/types/lib/views/createProviderViews.d.ts +0 -53
  684. package/dist/types/lib/views/createProviderViews.d.ts.map +0 -1
  685. package/dist/types/lib/wire/wireGrammar.d.ts +0 -31
  686. package/dist/types/lib/wire/wireGrammar.d.ts.map +0 -1
@@ -1,115 +0,0 @@
1
- import { type Identity } from "../createIdentity.js";
2
- import type { QueryCommand, QueryCommandResult, ResultWindow, Slice } from "../query/types.js";
3
- import type { RowRecord } from "../rows/types.js";
4
- /**
5
- * Display status of the result projection. A settled failure over retained
6
- * rows is `ready` only while those rows still answer the current query, as
7
- * after a failed refresh; over rows an earlier query produced it is `stale`,
8
- * so a result that does not match the query never reports `ready`.
9
- */
10
- export type ResultStatus = "idle" | "pending" | "refreshing" | "ready" | "stale" | "error";
11
- /**
12
- * Which request produced the currently displayed rows. A pending or failed
13
- * request keeps the previous provenance: retained rows are never described
14
- * as results of the current query.
15
- */
16
- export type ResultProvenance = {
17
- readonly requestId: string;
18
- };
19
- /**
20
- * Immutable result state. `lastError` records a failed request truthfully;
21
- * retained rows stay displayed when one exists.
22
- */
23
- export type ResultState<TRow extends object = RowRecord> = {
24
- readonly status: ResultStatus;
25
- readonly rows: readonly TRow[] | null;
26
- readonly count: number | null;
27
- readonly provenance: ResultProvenance | null;
28
- readonly lastError: string | null;
29
- };
30
- /** Completion payload of one request. */
31
- export type CompletionResult<TRow extends object = RowRecord> = {
32
- readonly status: "success";
33
- readonly rows: readonly TRow[];
34
- readonly count: number | null;
35
- } | {
36
- readonly status: "failure";
37
- readonly reason: string;
38
- };
39
- /** Coordinator configuration; `slice` and `window` seed every fresh scope. */
40
- export type CollectionCoordinatorConfig = {
41
- readonly slice?: Slice;
42
- readonly window?: ResultWindow;
43
- };
44
- /** Result of dispatching one command through the coordinator. */
45
- export type DispatchResult = QueryCommandResult & {
46
- /** Request identity to execute, or null when no new request is needed. */
47
- readonly requestId: string | null;
48
- };
49
- /** Immutable coordinator snapshot; referentially stable between mutations. */
50
- export type CollectionCoordinatorState<TRow extends object = RowRecord> = {
51
- readonly scope: Identity;
52
- readonly slice: Slice;
53
- readonly window: ResultWindow;
54
- readonly result: ResultState<TRow>;
55
- /** True when displayed rows were produced by the current query and window. */
56
- readonly resultsMatchCurrentQuery: boolean;
57
- /**
58
- * The one request identity awaiting completion, or null when none is
59
- * outstanding. A source executes exactly this request: every other
60
- * completion is dropped by the identity guard.
61
- */
62
- readonly pendingRequestId: string | null;
63
- readonly disposed: boolean;
64
- };
65
- /** Handle owning query/window coherence and the request lifecycle. */
66
- export type CollectionCoordinator<TRow extends object = RowRecord> = {
67
- readonly state: CollectionCoordinatorState<TRow>;
68
- /**
69
- * Apply one addressed command coherently. An accepted change that moves
70
- * the query or window issues a new request identity and retains previous
71
- * rows with their old provenance until a matching completion arrives.
72
- */
73
- readonly dispatch: (command: QueryCommand) => DispatchResult;
74
- /**
75
- * Refresh the current query: retained rows stay displayed with a
76
- * refreshing status until a matching completion arrives.
77
- */
78
- readonly refresh: () => string | null;
79
- /**
80
- * Adopt an externally authoritative slice and window together, as on
81
- * back/forward navigation or a restored view. Invalid windows throw, the
82
- * same rejections the addressed command layer applies. Supersedes any
83
- * pending request, discards stale input sessions above this layer, and
84
- * returns a request identity when the adopted state differs from the
85
- * current one.
86
- */
87
- readonly adopt: (slice: Slice, window: ResultWindow) => string | null;
88
- /**
89
- * Publish a completion for the most recently issued request, at most once.
90
- * Completions for superseded requests, rotated scopes or a disposed
91
- * coordinator are ignored; a success publishes rows, provenance and count
92
- * together; a failure keeps the rows with the error recorded — `error`
93
- * when no rows have been published, `ready` while the kept rows still
94
- * answer the current query, `stale` when an earlier query produced them,
95
- * even an empty set.
96
- */
97
- readonly complete: (requestId: string, result: CompletionResult<TRow>) => boolean;
98
- /**
99
- * Rotate to a fresh scope: query, window and result reset to the
100
- * configured seed and pending requests die. Completions from the old
101
- * scope never publish into the new one.
102
- */
103
- readonly rotateScope: () => void;
104
- /** Detach permanently; every later completion is ignored. */
105
- readonly dispose: () => void;
106
- };
107
- /**
108
- * Create the collection coordinator: one owner of query/window coherence
109
- * and the request lifecycle. Requests carry scope-bound identities; only
110
- * the completion of the most recently issued request publishes, once. The
111
- * authority for the applied query (for example the browser URL) and the
112
- * execution of requests are wired above this layer.
113
- */
114
- export default function createCollectionCoordinator<TRow extends object = RowRecord>(config?: CollectionCoordinatorConfig): CollectionCoordinator<TRow>;
115
- //# sourceMappingURL=createCollectionCoordinator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createCollectionCoordinator.d.ts","sourceRoot":"","sources":["../../../../src/lib/collection/createCollectionCoordinator.ts"],"names":[],"mappings":"AAAA,OAAuB,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrE,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,KAAK,EACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GACpB,MA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M,GAAG,SAAS,EAC/B,MAAM,GAAE,2BAAgC,GAAG,qBAAqB,CAAC,IAAI,CAAC,CA2JvE"}
@@ -1,64 +0,0 @@
1
- /**
2
- * Save-race semantics for durable preferences and views: a completion
3
- * updates the submitted baseline only, so edits made while saving remain
4
- * dirty, and a delayed external read never overwrites newer local state.
5
- */
6
- /** Immutable state of one save session. */
7
- export type SaveSessionState<T> = {
8
- /** Baseline of the last durable success. */
9
- readonly baseline: T;
10
- /** Current local value; may be edited while a save is in flight. */
11
- readonly current: T;
12
- /** Snapshot submitted to the store, or null when idle. */
13
- readonly submitted: T | null;
14
- readonly status: "idle" | "saving" | "failed";
15
- readonly dirty: boolean;
16
- /**
17
- * Version of the local value: bumped on every edit and on every save
18
- * submission. External reads carry the revision they were issued under.
19
- */
20
- readonly revision: number;
21
- /** Failure note of the last save attempt; null means no failure on record. */
22
- readonly failureReason: string | null;
23
- };
24
- /** Configuration of one save session. */
25
- export type SaveSessionConfig<T> = {
26
- readonly initial: T;
27
- readonly equals: (a: T, b: T) => boolean;
28
- };
29
- /** Handle of one save session. */
30
- export type SaveSession<T> = {
31
- readonly state: SaveSessionState<T>;
32
- /** Edit the local value. Allowed while saving; bumps the revision. */
33
- readonly edit: (next: T) => void;
34
- /**
35
- * Submit the current value and return the attempt identity, or null when
36
- * a save is already in flight.
37
- */
38
- readonly beginSave: () => string | null;
39
- /**
40
- * Record a durable success for the given attempt: only the submitted
41
- * snapshot becomes the baseline. Edits made while saving remain dirty.
42
- */
43
- readonly saveCompleted: (attempt: string) => void;
44
- /**
45
- * Record a failure for the given attempt: the baseline is retained and
46
- * the failure is recorded.
47
- */
48
- readonly saveFailed: (attempt: string, reason: string) => void;
49
- /**
50
- * Apply a delayed external read (for example a preference that resolved
51
- * late). It applies only to the still-current target: when local edits or
52
- * a save submission moved the revision since the read was issued, the
53
- * read is discarded.
54
- */
55
- readonly applyExternalRead: (value: T, seenRevision: number) => boolean;
56
- };
57
- /**
58
- * Create a save session over one durable value. Persistence execution stays
59
- * with the caller; this record owns only the baseline/dirty race. Attempt
60
- * identities make completions one-shot: a late completion of a superseded
61
- * attempt is ignored, exactly like superseded request completions.
62
- */
63
- export default function createSaveSession<T>(config: SaveSessionConfig<T>): SaveSession<T>;
64
- //# sourceMappingURL=createSaveSession.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createSaveSession.d.ts","sourceRoot":"","sources":["../../../../src/lib/collection/createSaveSession.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2CAA2C;AAC3C,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,4CAA4C;IAC5C,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrB,oEAAoE;IACpE,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,0DAA0D;IAC1D,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9C,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF,yCAAyC;AACzC,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC;CAC1C,CAAC;AAEF,kCAAkC;AAClC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAC3B,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACpC,sEAAsE;IACtE,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D;;;;;OAKG;IACH,QAAQ,CAAC,iBAAiB,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC;CACzE,CAAC;AAKF;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,CAAC,EACzC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAC3B,WAAW,CAAC,CAAC,CAAC,CA0FhB"}
@@ -1,20 +0,0 @@
1
- import { identityBrand } from "./identityBrand.js";
2
- /**
3
- * An opaque identity token for a DataViews runtime scope.
4
- *
5
- * Identities are referential: two tokens are the same identity only when they
6
- * are the same object. They carry no key, label, or serializable data.
7
- */
8
- export type Identity = {
9
- readonly [identityBrand]: true;
10
- };
11
- /**
12
- * Create a fresh identity token, distinct from every other identity.
13
- *
14
- * Identity tokens mark runtime scopes (a provider, a column set, a cell
15
- * handle) so consumers can enforce, at runtime, that a value created against
16
- * one scope is not silently consumed by another. Structural copies of a
17
- * token and forged-key look-alikes are rejected by `isIdentity`.
18
- */
19
- export default function createIdentity(): Identity;
20
- //# sourceMappingURL=createIdentity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createIdentity.d.ts","sourceRoot":"","sources":["../../../src/lib/createIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,CAAC,aAAa,CAAC,EAAE,IAAI,CAAC;CAChC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,IAAI,QAAQ,CAWjD"}
@@ -1,77 +0,0 @@
1
- import { type Identity } from "../createIdentity.js";
2
- import type { Predicate, PredicateOperand, PredicateOperator, QueryCommand } from "../query/types.js";
3
- /** Result of validating one input buffer. */
4
- export type FieldValidation = {
5
- readonly status: "valid";
6
- readonly operands: readonly PredicateOperand[];
7
- } | {
8
- readonly status: "incomplete";
9
- } | {
10
- readonly status: "invalid";
11
- readonly reason: string;
12
- };
13
- /** Feedback a field control renders beside its buffer. */
14
- export type FieldFeedback = {
15
- readonly kind: "none";
16
- } | {
17
- readonly kind: "applied";
18
- } | {
19
- readonly kind: "incomplete";
20
- } | {
21
- readonly kind: "invalid";
22
- readonly reason: string;
23
- /** True when a prior applied predicate is still restricting results. */
24
- readonly retainsPredicate: boolean;
25
- };
26
- /** Immutable interaction state of one filter field. */
27
- export type FieldInteractionState = {
28
- readonly buffer: string;
29
- readonly feedback: FieldFeedback;
30
- readonly applied: Predicate | null;
31
- };
32
- /** Configuration of one filter field interaction record. */
33
- export type FieldInteractionConfig = {
34
- /** Field name the interaction addresses; must not be empty. */
35
- readonly field: string;
36
- /** Operator the interaction addresses. */
37
- readonly operator: PredicateOperator;
38
- /**
39
- * Validate an input buffer. `incomplete` retains the applied predicate
40
- * with local feedback; `invalid` retains it with the prior-restriction
41
- * note; `valid` produces the addressed replacement command.
42
- */
43
- readonly validate: (buffer: string) => FieldValidation;
44
- /**
45
- * Optional formatter deriving a buffer from an applied predicate on
46
- * external query changes. Without it, external changes clear the buffer.
47
- */
48
- readonly format?: (applied: Predicate | null) => string;
49
- };
50
- /** Handle of one field interaction record, addressed by field and operator. */
51
- export type FieldInteraction = {
52
- readonly identity: Identity;
53
- readonly state: FieldInteractionState;
54
- /**
55
- * Edit the input buffer. Returns the addressed replacement command when
56
- * the buffer is valid, and null when the buffer is invalid or incomplete —
57
- * in both cases the applied predicate is retained.
58
- */
59
- readonly edit: (buffer: string) => QueryCommand | null;
60
- /** Explicitly remove the addressed predicate. Always returns the command. */
61
- readonly clear: () => QueryCommand;
62
- /**
63
- * Adopt the authoritative applied predicate (external query or history
64
- * change). Stale buffers and feedback are discarded, never replayed; the
65
- * predicate must address this record's field and operator.
66
- */
67
- readonly setApplied: (applied: Predicate | null) => void;
68
- };
69
- /**
70
- * Create the interaction record for one filter field: it owns the input
71
- * buffer and its feedback, and produces addressed query commands. It never
72
- * owns the applied query — the coordinator does. A valid edit assumes its
73
- * returned command is dispatched and accepted; external authoritative
74
- * changes arrive through `setApplied`.
75
- */
76
- export default function createFieldInteraction(config: FieldInteractionConfig): FieldInteraction;
77
- //# sourceMappingURL=createFieldInteraction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createFieldInteraction.d.ts","sourceRoot":"","sources":["../../../../src/lib/field/createFieldInteraction.ts"],"names":[],"mappings":"AAAA,OAAuB,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACb,MAAM,mBAAmB,CAAC;AAE3B,6CAA6C;AAC7C,MAAM,MAAM,eAAe,GACvB;IACE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAChD,GACD;IAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAA;CAAE,GACjC;IAAE,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,0DAA0D;AAC1D,MAAM,MAAM,aAAa,GACrB;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,GAC5B;IAAE,QAAQ,CAAC,IAAI,EAAE,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sB,CAC5C,MAAM,EAAE,sBAAsB,GAC7B,gBAAgB,CA8ElB"}
@@ -1,3 +0,0 @@
1
- export type { FieldFeedback, FieldInteraction, FieldInteractionConfig, FieldInteractionState, FieldValidation, } from "./createFieldInteraction.js";
2
- export { default as createFieldInteraction } from "./createFieldInteraction.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/field/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,GAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1,21 +0,0 @@
1
- import type { ColumnToSize, ResolvedColumn } from "./types.js";
2
- /** A live resize preview substituted into the published track list. */
3
- export type ColumnPreview = {
4
- readonly id: string;
5
- readonly width: number;
6
- };
7
- /**
8
- * Build the shared `grid-template-columns` track list for one table: the one
9
- * geometry publication every row consumes, rather than a width written onto
10
- * every cell.
11
- *
12
- * With nothing measured the tracks are declarative, so the baseline is
13
- * aligned and readable before the solver can run and server output is
14
- * deterministic. Once the container is measured the caller passes the
15
- * solver's resolved vector — the one it already holds, so the solve is not
16
- * repeated here — which is what capping and resizing need. A live preview
17
- * replaces its own column's track in either mode; the authoritative
18
- * presentation is untouched until the resize commits.
19
- */
20
- export default function columnTemplate(columns: readonly ColumnToSize[], resolved: readonly ResolvedColumn[] | null, preview?: ColumnPreview): string;
21
- //# sourceMappingURL=columnTemplate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"columnTemplate.d.ts","sourceRoot":"","sources":["../../../../src/lib/geometry/columnTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE/D,uEAAuE;AACvE,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CAAC;AAcF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,OAAO,EAAE,SAAS,YAAY,EAAE,EAChC,QAAQ,EAAE,SAAS,cAAc,EAAE,GAAG,IAAI,EAC1C,OAAO,CAAC,EAAE,aAAa,GACtB,MAAM,CAaR"}
@@ -1,32 +0,0 @@
1
- import type { ColumnSizing, ColumnToSize } from "./types.js";
2
- /** Immutable presentation snapshot: declared sizing plus user overrides. */
3
- export type PresentationState = {
4
- /** The declared sizing per column id. */
5
- readonly declared: Readonly<Record<string, ColumnSizing>>;
6
- /** User-fixed sizing overrides per column id. */
7
- readonly overrides: Readonly<Record<string, ColumnSizing>>;
8
- /** Bumped on every accepted presentation change. */
9
- readonly revision: number;
10
- };
11
- /** Handle of one presentation record. */
12
- export type Presentation = {
13
- readonly state: PresentationState;
14
- /** Observe presentation changes; snapshots are immutable between sets. */
15
- readonly subscribe: (listener: () => void) => () => void;
16
- /** The effective sizing of one column: its override, else its declared sizing. */
17
- readonly effective: (id: string) => ColumnSizing;
18
- /** Record a user-fixed sizing override (a resize commit). */
19
- readonly setOverride: (id: string, sizing: ColumnSizing) => void;
20
- /** Drop one column's override, restoring its declared sizing. */
21
- readonly resetOverride: (id: string) => void;
22
- /** Drop every override, restoring all declared sizing. */
23
- readonly reset: () => void;
24
- /** The columns to size: declared sizing with overrides applied. */
25
- readonly toColumns: () => readonly ColumnToSize[];
26
- };
27
- /**
28
- * Create the presentation record for one collection's columns: declared
29
- * sizing plus user-fixed overrides, with a channel published on change.
30
- */
31
- export default function createPresentation(columns: readonly ColumnToSize[]): Presentation;
32
- //# sourceMappingURL=createPresentation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createPresentation.d.ts","sourceRoot":"","sources":["../../../../src/lib/geometry/createPresentation.ts"],"names":[],"mappings":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izingEquals(a: ColumnSizing, b: ColumnSizing): boolean;
4
- //# sourceMappingURL=sizingEquals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sizingEquals.d.ts","sourceRoot":"","sources":["../../../../src/lib/geometry/sizingEquals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,iDAAiD;AACjD,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,CAAC,EAAE,YAAY,EACf,CAAC,EAAE,YAAY,GACd,OAAO,CAOT"}
@@ -1,3 +0,0 @@
1
- /** Internal brand marking DataViews identity tokens. Not part of the public API. */
2
- export declare const identityBrand: unique symbol;
3
- //# sourceMappingURL=identityBrand.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identityBrand.d.ts","sourceRoot":"","sources":["../../../src/lib/identityBrand.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,eAAO,MAAM,aAAa,eAA8B,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { Identity } from "./createIdentity.js";
2
- /**
3
- * Check whether an unknown value is a DataViews identity token.
4
- *
5
- * Accepts tokens created by `createIdentity` and rejects structural copies
6
- * and forged-key look-alikes: spread and Object.assign drop the
7
- * non-enumerable brand, the own-property check rejects prototype copies,
8
- * and forged symbols fail on symbol identity.
9
- */
10
- export default function isIdentity(value: unknown): value is Identity;
11
- //# sourceMappingURL=isIdentity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isIdentity.d.ts","sourceRoot":"","sources":["../../../src/lib/isIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGpD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,QAAQ,CAMpE"}
@@ -1,77 +0,0 @@
1
- import type { CollectionCoordinatorState } from "../collection/createCollectionCoordinator.js";
2
- import type { ReadonlyChannel } from "../observable/createChannel.js";
3
- import type { ResultWindow, Slice } from "../query/types.js";
4
- import type { Schema } from "../schema/createSchema.js";
5
- import type { SchemaFieldDefinition } from "../schema/types.js";
6
- import type { SourceCapabilities } from "../source/types.js";
7
- import type { QueryIssue } from "../wire/types.js";
8
- import type { Location } from "./types.js";
9
- /**
10
- * The structural host surface the location binding drives. The handle
11
- * `createDataViewsProvider` returns satisfies it, and so can a narrower
12
- * host.
13
- */
14
- export type LocationHost = {
15
- /** The schema whose field addresses the query occupies. */
16
- readonly schema: Schema<readonly SchemaFieldDefinition[]>;
17
- /**
18
- * The coordinator snapshot channel: query, window and disposal. Read-only
19
- * and widest in its record type, so a provider built for any row type is
20
- * a host without a cast — the binding never publishes on it.
21
- */
22
- readonly result: ReadonlyChannel<CollectionCoordinatorState<object>>;
23
- /**
24
- * What the host's source declares it can execute, or null when the host
25
- * was not told. A location clause outside it is refused, not adopted.
26
- */
27
- readonly capabilities: SourceCapabilities | null;
28
- /** Adopt externally authoritative query and window together. */
29
- readonly adopt: (slice: Slice, window: ResultWindow) => void;
30
- };
31
- /** Configuration of one location binding. */
32
- export type LocationBindingConfig = {
33
- readonly host: LocationHost;
34
- readonly location: Location;
35
- /**
36
- * How a host transition enters history. Defaults to `"replace"`, so a
37
- * stream of edits does not bury the entry the user arrived on. Seeding
38
- * and canonicalizing an adopted location always replace: neither is a
39
- * step the user took.
40
- */
41
- readonly history?: "push" | "replace";
42
- };
43
- /** Handle of one location binding. */
44
- export type LocationBinding = {
45
- /**
46
- * The owned parameters the location currently carries that were
47
- * refused. Empty while the query is clean; a host renders it as the
48
- * visible query error beside its controls.
49
- */
50
- readonly issues: ReadonlyChannel<readonly QueryIssue[]>;
51
- /**
52
- * Start the loop and return its release.
53
- *
54
- * On start the location wins when it carries a query, and takes the
55
- * host's seed when it carries none. After that, every accepted host
56
- * transition writes the canonical query and every external location
57
- * change — back, forward, a pasted URL — is adopted.
58
- *
59
- * Constructing the binding subscribes to nothing: a React host builds it
60
- * in a memo and observes from an effect, and a discarded render must
61
- * leave no live subscription behind.
62
- */
63
- readonly observe: () => () => void;
64
- };
65
- /**
66
- * Bind a Location to a host's query authority.
67
- *
68
- * There is one authoritative query and it lives in the location: the host
69
- * never mirrors it with an effect of its own. A write the binding makes
70
- * decodes back to the state that produced it, so an echo adopts nothing and
71
- * the loop terminates on the first pass in both directions.
72
- *
73
- * One binding owns one host: two bindings on the same host both write every
74
- * transition.
75
- */
76
- export default function createLocationBinding(config: LocationBindingConfig): LocationBinding;
77
- //# sourceMappingURL=createLocationBinding.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createLocationBinding.d.ts","sourceRoot":"","sources":["../../../../src/lib/location/createLocationBinding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAGtE,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,2DAA2D;IAC3D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,SAAS,qBAAqB,EAAE,CAAC,CAAC;IAC1D;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAC;IACrE;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACjD,gEAAgE;IAChE,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF,6CAA6C;AAC7C,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B;;;;;OAKG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,sCAAsC;AACtC,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC,SAAS,UAAU,EAAE,CAAC,CAAC;IACxD;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,MAAM,IAAI,CAAC;CACpC,CAAC;AAoCF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,MAAM,EAAE,qBAAqB,GAC5B,eAAe,CAgMjB"}
@@ -1,10 +0,0 @@
1
- import type { DataViewsMessages } from "./types.js";
2
- /**
3
- * The words DataViews ships with: English. Plurals and ordinals are worded
4
- * through the platform's English rules, counts through its number format,
5
- * and every reason is stripped of the full stops it came with — those that
6
- * end a sentence of their own then take one, and those a message runs on
7
- * from take none.
8
- */
9
- export declare const DEFAULT_MESSAGES: DataViewsMessages;
10
- //# sourceMappingURL=DEFAULT_MESSAGES.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DEFAULT_MESSAGES.d.ts","sourceRoot":"","sources":["../../../../src/lib/messages/DEFAULT_MESSAGES.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAYpD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,iBAmN7B,CAAC"}
@@ -1,62 +0,0 @@
1
- import { type Identity } from "../createIdentity.js";
2
- /** Per-target outcome of a partial operation result. */
3
- export type OperationOutcome = {
4
- readonly target: string;
5
- readonly status: "success";
6
- } | {
7
- readonly target: string;
8
- readonly status: "failure";
9
- readonly reason: string;
10
- };
11
- /** Failure detail retained for retry and reporting. */
12
- export type OperationFailure = {
13
- readonly target: string;
14
- readonly reason: string;
15
- };
16
- /** Immutable state of one operation invocation. */
17
- export type OperationState = {
18
- /** Immutable captured targets, deduplicated at construction. */
19
- readonly targets: readonly string[];
20
- /** Caller-defined payload, captured by reference at construction. */
21
- readonly payload: unknown;
22
- /** Selection revision captured at construction. */
23
- readonly selectionRevision: number;
24
- readonly status: "pending" | "partial" | "success" | "failure";
25
- readonly succeeded: readonly string[];
26
- readonly failed: readonly OperationFailure[];
27
- /** Captured targets without a reported outcome yet. */
28
- readonly remaining: readonly string[];
29
- readonly attempts: number;
30
- };
31
- /** Configuration of one invocation; the capture happens at construction. */
32
- export type OperationConfig = {
33
- readonly targets: readonly string[];
34
- readonly payload?: unknown;
35
- readonly selectionRevision: number;
36
- };
37
- /** Handle of one operation invocation record. */
38
- export type Operation = {
39
- readonly identity: Identity;
40
- readonly state: OperationState;
41
- /**
42
- * Record a partial result. Outcomes apply only to captured targets still
43
- * awaiting one: successful targets leave the record, failures are retained
44
- * with their reasons, and outcomes for unknown, already-settled or foreign
45
- * targets are ignored.
46
- */
47
- readonly recordOutcome: (outcomes: readonly OperationOutcome[]) => void;
48
- /**
49
- * Retry the failed captured targets under the same operation identity,
50
- * keeping the original capture. No-op unless the last attempt ended in
51
- * failure.
52
- */
53
- readonly retry: () => void;
54
- };
55
- /**
56
- * Create one operation invocation: targets, payload and the selection
57
- * revision are captured at construction, so later selection changes can
58
- * never retarget execution. At least one target is required. Payload is
59
- * captured by reference; callers must not mutate it after construction.
60
- */
61
- export default function createOperation(config: OperationConfig): Operation;
62
- //# sourceMappingURL=createOperation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":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QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF,iDAAiD;AACjD,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,KAAK,IAAI,CAAC;IACxE;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,CA2E1E"}
@@ -1,3 +0,0 @@
1
- export type { Operation, OperationConfig, OperationFailure, OperationOutcome, OperationState, } from "./createOperation.js";
2
- export { default as createOperation } from "./createOperation.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/operation/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,17 +0,0 @@
1
- import type { PredicateOperand, PredicateOperator, Slice } from "./types.js";
2
- /** Stable address of a predicate: its field and operator pair. */
3
- export declare const predicateAddress: (field: string, operator: PredicateOperator) => string;
4
- /**
5
- * Total order over operand values: type tag first, then value within type.
6
- * Plain code-point comparison, not locale collation, so canonical order is
7
- * environment-stable and never ties on distinct strings.
8
- */
9
- export declare const operandRankOf: (operand: PredicateOperand) => string;
10
- /**
11
- * Normalize a slice to its canonical form: equality operands are sets,
12
- * predicates are ordered by address, sort terms keep their order, and an
13
- * empty search is no search. Idempotent: `canonicalSlice(canonicalSlice(x))`
14
- * equals `canonicalSlice(x)`.
15
- */
16
- export default function canonicalSlice(slice: Slice): Slice;
17
- //# sourceMappingURL=canonicalSlice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"canonicalSlice.d.ts","sourceRoot":"","sources":["../../../../src/lib/query/canonicalSlice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,EACN,MAAM,YAAY,CAAC;AAEpB,kEAAkE;AAClE,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EACb,UAAU,iBAAiB,KAC1B,MAAqC,CAAC;AAEzC;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,SAAS,gBAAgB,KAAG,MAClB,CAAC;AAqCzC;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAmB1D"}
@@ -1,9 +0,0 @@
1
- import type { ResultWindow } from "./types.js";
2
- /**
3
- * The window a collection starts on when nothing else says otherwise: the
4
- * first page of fifty. One owner, so the coordinator's seed and a parameter
5
- * set carrying no window cannot drift apart.
6
- */
7
- declare const DEFAULT_RESULT_WINDOW: ResultWindow;
8
- export default DEFAULT_RESULT_WINDOW;
9
- //# sourceMappingURL=defaultWindow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"defaultWindow.d.ts","sourceRoot":"","sources":["../../../../src/lib/query/defaultWindow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C;;;;GAIG;AACH,QAAA,MAAM,qBAAqB,EAAE,YAG3B,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Slice } from "./types.js";
2
- /**
3
- * Semantic slice equality: two slices are equal when their canonical forms
4
- * match. Equality operand order does not matter; sort order always does.
5
- */
6
- export default function sliceEquals(a: Slice, b: Slice): boolean;
7
- //# sourceMappingURL=sliceEquals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sliceEquals.d.ts","sourceRoot":"","sources":["../../../../src/lib/query/sliceEquals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAiCxC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,GAAG,OAAO,CAS/D"}