@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
@@ -0,0 +1,55 @@
1
+ import isMovableForm from "./isMovableForm.js";
2
+ import isWrapperCallee from "./isWrapperCallee.js";
3
+ import readGroup from "./readGroup.js";
4
+ import readLocalBinding from "./readLocalBinding.js";
5
+ import skipBalanced from "./skipBalanced.js";
6
+ /**
7
+ * The record of one `export default`, from the masked source and the masked
8
+ * text after `default`.
9
+ */
10
+ export default function readDefaultExport(masked, body) {
11
+ const declared = { isDefault: true, isAtEnd: false };
12
+ const fn = /^(?:async\s+)?function\s*\*?\s*([A-Za-z_$][\w$]*)?/.exec(body);
13
+ if (fn !== null) {
14
+ return { name: fn.at(1) ?? null, kind: "function", ...declared };
15
+ }
16
+ const cls = /^(?:abstract\s+)?class\s+([A-Za-z_$][\w$]*)?/.exec(body);
17
+ if (cls !== null) {
18
+ return { name: cls.at(1) ?? null, kind: "class", ...declared };
19
+ }
20
+ const iface = /^interface\s+([A-Za-z_$][\w$]*)/.exec(body);
21
+ if (iface !== null) {
22
+ return { name: readGroup(iface, 1), kind: "type", ...declared };
23
+ }
24
+ const identifier = /^([A-Za-z_$][\w$]*)\s*(?:as\s+[^;\n]+)?\s*(?:;|\n|$)/.exec(body);
25
+ if (identifier !== null) {
26
+ const name = readGroup(identifier, 1);
27
+ const binding = readLocalBinding(masked, name);
28
+ return {
29
+ name,
30
+ kind: binding.kind,
31
+ isDefault: true,
32
+ isAtEnd: isMovableForm(binding.form),
33
+ };
34
+ }
35
+ const call = /^([A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*)?)\s*(?:<[^>]*>)?\s*\(/g;
36
+ const head = call.exec(body);
37
+ if (head !== null) {
38
+ const wrapper = readGroup(head, 1);
39
+ const open = call.lastIndex - 1;
40
+ const end = skipBalanced(body, open, "(", ")");
41
+ const argument = body.slice(open + 1, end - 1).trim();
42
+ const name = /^[A-Za-z_$][\w$]*$/.test(argument) ? argument : null;
43
+ const isWrapper = isWrapperCallee(wrapper);
44
+ return {
45
+ name,
46
+ kind: isWrapper ? "function" : "value",
47
+ ...declared,
48
+ wrapper,
49
+ wrapsFunction: isWrapper &&
50
+ name !== null &&
51
+ readLocalBinding(masked, name).form === "function",
52
+ };
53
+ }
54
+ return { name: null, kind: "value", ...declared };
55
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * One display status of each kind, with a reason where the kind carries one.
3
+ *
4
+ * @experimental Pre-release: the whole surface is still settling, and this
5
+ * name may change or move before the first release.
6
+ */
7
+ export default function readDisplayStatus(status) {
8
+ return status === "failed" ||
9
+ status === "refused" ||
10
+ status === "refresh-failed" ||
11
+ status === "stale"
12
+ ? { status, reason: "offline" }
13
+ : { status };
14
+ }
@@ -0,0 +1,16 @@
1
+ const ROLES = [
2
+ { pattern: /\.test\.tsx?$/, role: "test" },
3
+ { pattern: /\.d\.ts$/, role: "d.ts" },
4
+ { pattern: /\.stories\.tsx?$/, role: "stories" },
5
+ { pattern: /\.spec\.tsx?$/, role: "spec" },
6
+ // A browser suite, run by Playwright rather than the unit runner.
7
+ { pattern: /\.keyboard\.tsx?$/, role: "spec" },
8
+ { pattern: /\.config\.(?:ts|mts|js|mjs)$/, role: "config" },
9
+ { pattern: /^index\.tsx?$/, role: "barrel" },
10
+ { pattern: /\.css$/, role: "css" },
11
+ { pattern: /\.tsx?$/, role: "source" },
12
+ ];
13
+ /** Read a file's role for the file rules from its name. */
14
+ export default function readFileRole(name) {
15
+ return ROLES.find(({ pattern }) => pattern.test(name))?.role ?? "other";
16
+ }
@@ -0,0 +1,8 @@
1
+ /** The text a match's capture group read, or a failure when it read none. */
2
+ export default function readGroup(match, index) {
3
+ const group = match.at(index);
4
+ if (group === undefined) {
5
+ throw new Error(`expected capture group ${index} in "${match.at(0)}"`);
6
+ }
7
+ return group;
8
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The identity every fixture record carries: its own `id`.
3
+ *
4
+ * @experimental Pre-release: the whole surface is still settling, and this
5
+ * name may change or move before the first release.
6
+ */
7
+ export default function readId(row) {
8
+ return String(row["id"]);
9
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The request a command issued, failing loudly rather than casting.
3
+ *
4
+ * @experimental Pre-release: the whole surface is still settling, and this
5
+ * name may change or move before the first release.
6
+ */
7
+ export default function readIssuedRequest(requestId) {
8
+ if (requestId === null) {
9
+ throw new Error("expected the command to issue a request");
10
+ }
11
+ return requestId;
12
+ }
@@ -0,0 +1,44 @@
1
+ import classifyInitializer from "./classifyInitializer.js";
2
+ import isWrappedInitializer from "./isWrappedInitializer.js";
3
+ import skipTypeAnnotation from "./skipTypeAnnotation.js";
4
+ const LEAD = "(?:^|[\\s;}])";
5
+ // The end of a name, which `\b` misses after a trailing `$`.
6
+ const END = "(?![\\w$])";
7
+ /**
8
+ * How a binding a file exports by name, through `export default X` or
9
+ * `export { X }`, is declared in the masked source.
10
+ */
11
+ export default function readLocalBinding(masked, name) {
12
+ const n = name.replaceAll("$", "\\$");
13
+ if (new RegExp(`${LEAD}function\\*?\\s+${n}${END}`).test(masked)) {
14
+ return { kind: "function", form: "function" };
15
+ }
16
+ if (new RegExp(`${LEAD}class\\s+${n}${END}`).test(masked)) {
17
+ return { kind: "class", form: "class" };
18
+ }
19
+ if (new RegExp(`${LEAD}(?:type|interface)\\s+${n}${END}`).test(masked)) {
20
+ return { kind: "type", form: "other" };
21
+ }
22
+ if (new RegExp(`${LEAD}enum\\s+${n}${END}`).test(masked)) {
23
+ return { kind: "value", form: "other" };
24
+ }
25
+ const variable = new RegExp(`${LEAD}(?:const|let|var)\\s+${n}${END}\\s*(:)?`, "g");
26
+ const match = variable.exec(masked);
27
+ if (match !== null) {
28
+ const equals = match.at(1) === ":"
29
+ ? skipTypeAnnotation(masked, variable.lastIndex)
30
+ : masked.indexOf("=", variable.lastIndex);
31
+ if (equals === -1) {
32
+ return { kind: "value", form: "variable" };
33
+ }
34
+ const rhs = masked.slice(equals + 1);
35
+ return {
36
+ kind: classifyInitializer(rhs),
37
+ form: isWrappedInitializer(rhs) ? "wrapped" : "variable",
38
+ };
39
+ }
40
+ if (new RegExp(`import\\s[^;]*\\b${n}${END}[^;]*from`).test(masked)) {
41
+ return { kind: "reexport", form: "other" };
42
+ }
43
+ return { kind: "unknown", form: "other" };
44
+ }
@@ -0,0 +1,7 @@
1
+ /** The page a delivery carries, or a failure when it did not succeed. */
2
+ export default function readSucceededPage(delivery) {
3
+ if (delivery.status !== "succeeded") {
4
+ throw new Error(`expected a page, the delivery ${delivery.status}`);
5
+ }
6
+ return delivery.page;
7
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The Relay test shapes, kept out of the ./testing entry so its types need
3
+ * no relay-runtime.
4
+ */
5
+ export {};
@@ -0,0 +1,27 @@
1
+ import { decodeQuery, encodeCarryingQuery, isNarrowingIssue, } from "../lib/wire/index.js";
2
+ /**
3
+ * A followed link written back over itself, its narrowing refusals carried
4
+ * as the location loop carries them, and the written link read again,
5
+ * against the source's capabilities when given.
6
+ *
7
+ * @experimental Pre-release: the whole surface is still settling, and this
8
+ * name may change or move before the first release.
9
+ */
10
+ export default function respellLink(schema, params, capabilities = null) {
11
+ const decoded = decodeQuery({ schema, params, capabilities });
12
+ const written = encodeCarryingQuery({
13
+ schema,
14
+ slice: decoded.slice,
15
+ window: null,
16
+ preserve: params,
17
+ carry: decoded.issues
18
+ .filter(isNarrowingIssue)
19
+ .map((issue) => issue.parameter),
20
+ applied: decoded.slice,
21
+ });
22
+ return {
23
+ decoded,
24
+ written,
25
+ reread: decodeQuery({ schema, params: written, capabilities }),
26
+ };
27
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Run the test's failure handlers now, resolving with the messages they
3
+ * threw.
4
+ *
5
+ * @note Impure: runs each handler the test registered through
6
+ * `onTestFailed`.
7
+ *
8
+ * @experimental Pre-release: the whole surface is still settling, and this
9
+ * name may change or move before the first release.
10
+ */
11
+ export default async function runFailureHandlers(context) {
12
+ const handlers = Reflect.get(context.task, "onFailed");
13
+ if (!Array.isArray(handlers)) {
14
+ throw new Error("vitest no longer keeps task.onFailed");
15
+ }
16
+ const thrown = [];
17
+ for (const handler of handlers) {
18
+ try {
19
+ await handler(context);
20
+ }
21
+ catch (error) {
22
+ thrown.push(error instanceof Error ? error.message : String(error));
23
+ }
24
+ }
25
+ return thrown;
26
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Wait for every answer a stand-in has given to settle. Code that reacts to
3
+ * an answer as it is given has run that reaction by the time this resolves,
4
+ * so a case waits for the answers, never for a duration.
5
+ *
6
+ * @experimental Pre-release: the whole surface is still settling, and this
7
+ * name may change or move before the first release.
8
+ */
9
+ export default async function settleCalls(calls) {
10
+ await Promise.allSettled(calls.mock.results.map(({ value }) => value));
11
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * The offset just past the bracket that closes the one at `start`, or the
3
+ * text's length when it never closes.
4
+ */
5
+ export default function skipBalanced(text, start, open, close) {
6
+ let depth = 0;
7
+ for (let i = start; i < text.length; i += 1) {
8
+ const c = text.charAt(i);
9
+ if (c === open) {
10
+ depth += 1;
11
+ }
12
+ else if (c === close) {
13
+ depth -= 1;
14
+ if (depth === 0) {
15
+ return i + 1;
16
+ }
17
+ }
18
+ }
19
+ return text.length;
20
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * From just past a declaration's `:`, the offset of the `=` that ends its
3
+ * type, or -1 when the declaration ends with no initializer.
4
+ */
5
+ export default function skipTypeAnnotation(text, start) {
6
+ let depth = 0;
7
+ let i = start;
8
+ while (i < text.length) {
9
+ const c = text.charAt(i);
10
+ if ("({[<".includes(c)) {
11
+ depth += 1;
12
+ }
13
+ else if (")}]>".includes(c)) {
14
+ // The `>` of a `=>` in a function type closes nothing.
15
+ if (!(c === ">" && text.charAt(i - 1) === "=")) {
16
+ depth -= 1;
17
+ }
18
+ }
19
+ else if (c === "=" && depth <= 0) {
20
+ const next = text.charAt(i + 1);
21
+ if (next === ">" || next === "=") {
22
+ i += 2;
23
+ continue;
24
+ }
25
+ return i;
26
+ }
27
+ else if (c === ";" && depth <= 0) {
28
+ return -1;
29
+ }
30
+ i += 1;
31
+ }
32
+ return -1;
33
+ }
@@ -0,0 +1,2 @@
1
+ /** Test-only shapes, named here so a test file imports one place for them. */
2
+ export {};
@@ -0,0 +1,40 @@
1
+ import { onTestFailed, TestRunner } from "vitest";
2
+ /**
3
+ * Resolve once `check` holds: checked now, then on each notification. No
4
+ * ceiling of its own; a test that fails while waiting names `awaited`, and
5
+ * once the test is aborted, notifications are ignored.
6
+ *
7
+ * @note Impure: subscribes until the state is reached or the test fails.
8
+ *
9
+ * @experimental Pre-release: the whole surface is still settling, and this
10
+ * name may change or move before the first release.
11
+ */
12
+ export default function waitForState(subscribe, check, awaited) {
13
+ if (check()) {
14
+ return Promise.resolve();
15
+ }
16
+ const reached = Promise.withResolvers();
17
+ // A timed-out test aborts before its cleanup can bring the state.
18
+ const signal = TestRunner.getCurrentTest()?.context.signal;
19
+ let pending = true;
20
+ let unsubscribe;
21
+ unsubscribe = subscribe(() => {
22
+ if (pending && !signal?.aborted && check()) {
23
+ pending = false;
24
+ unsubscribe?.();
25
+ reached.resolve();
26
+ }
27
+ });
28
+ // A store may notify as it subscribes, before `unsubscribe` is set.
29
+ if (!pending) {
30
+ unsubscribe();
31
+ }
32
+ onTestFailed(() => {
33
+ if (pending) {
34
+ pending = false;
35
+ unsubscribe?.();
36
+ throw new Error(`Still waiting on ${awaited}.`);
37
+ }
38
+ });
39
+ return reached.promise;
40
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Return a value the code has proved is there, or throw: a null or
3
+ * undefined here is a broken invariant, never a case to handle.
4
+ *
5
+ * @experimental Pre-release: the whole surface is still settling, and this
6
+ * name may change or move before the first release.
7
+ */
8
+ export default function assertInvariant<T>(value: T | null | undefined, message: string): T;
9
+ //# sourceMappingURL=assertInvariant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assertInvariant.d.ts","sourceRoot":"","sources":["../../../../src/lib/assertion/assertInvariant.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,EACvC,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,GACd,CAAC,CAKH"}
@@ -0,0 +1,2 @@
1
+ export { default as assertInvariant } from "./assertInvariant.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/assertion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,19 +1,5 @@
1
- /**
2
- * The machinery every framework binding shares and no application calls:
3
- * the column geometry a table solves, the arrangement it places its columns
4
- * by and the changes that hide, show, move and reset them, the row channels
5
- * a body renders from, the table's status, the entries of its body and the
6
- * pagination facts a bar offers — each projected from the published state —
7
- * the filter records a root builds, the check a binding tells a provider
8
- * by, the provider's internal host, the query transition a command makes
9
- * with the command and its result, the list comparison, the comparison of
10
- * one field's facet, the ordering in force and the next one a header's activation, or its menu's choice, leads
11
- * to, the wire key a form control is named by, and the parameters a link
12
- * carries an arrangement in, and the words a root speaks — the application's
13
- * messages over the English record. React uses it now; a Svelte binding
14
- * would use the same names rather than solve its own geometry or word its
15
- * own English.
16
- */
1
+ /** Shared machinery for framework bindings; no application calls it. */
2
+ export { assertInvariant } from "../assertion/index.js";
17
3
  export type { DisplayEntriesConfig, DisplayEntry, DisplayEntryKind, DisplayPagination, } from "../display/index.js";
18
4
  export { areDisplayStatusesEqual, DISPLAY_STATUS_PHASES, listDisplayEntries, resolveDisplayStatus, resolvePagination, } from "../display/index.js";
19
5
  export type { FilterInputs, FilterInputsConfig, } from "../filter/index.js";
@@ -22,15 +8,15 @@ export type { ColumnLayout, ColumnLayoutConfig, ColumnLayoutState, ColumnSizing,
22
8
  export { areSizingsEqual, buildColumnTemplate, createColumnLayout, createGridInteraction, readSizingBounds, resolveColumns, } from "../geometry/index.js";
23
9
  export { resolveMessages } from "../messages/index.js";
24
10
  export type { ArrangedColumn, ColumnCommandConfig, DeclaredColumn, MoveColumnConfig, SpellColumnArrangementConfig, } from "../presentation/index.js";
25
- export { hideColumn, moveColumn, resetColumnArrangement, resolveColumnArrangement, showColumn, spellColumnArrangement, } from "../presentation/index.js";
11
+ export { createMemoryPresentation, hideColumn, moveColumn, resetColumnArrangement, resolveColumnArrangement, showColumn, spellColumnArrangement, } from "../presentation/index.js";
26
12
  export type { ProviderHost } from "../provider/index.js";
27
13
  export { isDataViewsProvider, readProviderHost } from "../provider/index.js";
28
14
  export type { QueryCommand, QueryCommandResult } from "../query/index.js";
29
- export { applyQueryCommand, areListsEqual, cycleSortTerm, placeSortTerm, } from "../query/index.js";
15
+ export { applyQueryCommand, areListsEqual, canonicalizeSlice, cycleSortTerm, listConjuncts, placeSortTerm, } from "../query/index.js";
30
16
  export { areFieldFacetsEqual } from "../result/index.js";
31
17
  export type { Applicability, RowChannels, RowScopes, RowScopesConfig, } from "../rows/index.js";
32
18
  export { createRowScopes } from "../rows/index.js";
33
19
  export type { EffectiveOrdering } from "../source/index.js";
34
- export { resolveEffectiveOrdering } from "../source/index.js";
35
- export { spellWireKey } from "../wire/index.js";
20
+ export { foldText, listOfferedOperators, resolveEffectiveOrdering, } from "../source/index.js";
21
+ export { isNarrowingIssue, QUERY_KEYS, spellWireKey, spellWireValues, } from "../wire/index.js";
36
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/bindings/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,YAAY,EACV,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,YAAY,EACZ,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,UAAU,EACV,UAAU,EACV,sBAAsB,EACtB,wBAAwB,EACxB,UAAU,EACV,sBAAsB,GACvB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EACV,aAAa,EACb,WAAW,EACX,SAAS,EACT,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/bindings/index.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,YAAY,EACV,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,YAAY,EACZ,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;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B,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,eAAe,GAChB,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createQueryCoordinator.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/createQueryCoordinator.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAGV,gBAAgB,EAChB,sBAAsB,EAGvB,MAAM,YAAY,CAAC;AA4DpB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,IAAI,SAAS,MAAM,GAAG,SAAS,EAC5E,MAAM,GAAE,sBAA2B,GAClC,gBAAgB,CAAC,IAAI,CAAC,CAwLxB"}
1
+ {"version":3,"file":"createQueryCoordinator.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/createQueryCoordinator.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,KAAK,EAGV,gBAAgB,EAChB,sBAAsB,EAGvB,MAAM,YAAY,CAAC;AA4DpB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,IAAI,SAAS,MAAM,GAAG,SAAS,EAC5E,MAAM,GAAE,sBAA2B,GAClC,gBAAgB,CAAC,IAAI,CAAC,CAuPxB"}
@@ -1,3 +1,5 @@
1
1
  export { default as createQueryCoordinator } from "./createQueryCoordinator.js";
2
+ export { default as isClauseReplaced } from "./isClauseReplaced.js";
3
+ export { default as readWithheld } from "./readWithheld.js";
2
4
  export type * from "./types.js";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAChF,mBAAmB,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { QueryCommand } from "../query/index.js";
2
+ import type { QueryIssue } from "../result/index.js";
3
+ /**
4
+ * Whether a command addresses a refused clause, and so replaces it: a
5
+ * predicate set, added or removed on the clause's field, an edit removing
6
+ * or adding a conjunct on it, the search set for a refused `q`, or a clear
7
+ * emptying the part the clause is in — the filter for every filter's
8
+ * clause, the search for `q`. Every other command leaves the clause
9
+ * standing.
10
+ */
11
+ export default function isClauseReplaced(command: QueryCommand, issue: QueryIssue): boolean;
12
+ //# sourceMappingURL=isClauseReplaced.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isClauseReplaced.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/isClauseReplaced.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,UAAU,GAChB,OAAO,CAmBT"}
@@ -0,0 +1,9 @@
1
+ import type { QueryIssue } from "../result/index.js";
2
+ import type { DataViewsState } from "./types.js";
3
+ /**
4
+ * The refused clauses of a followed link that a state's query is withheld
5
+ * for: the issues its `refused` problem carries, or none while the query
6
+ * runs. Nothing is asked of the source while any stands.
7
+ */
8
+ export default function readWithheld(state: DataViewsState<object>): readonly QueryIssue[];
9
+ //# sourceMappingURL=readWithheld.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readWithheld.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/readWithheld.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAIjD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,GAC5B,SAAS,UAAU,EAAE,CAKvB"}
@@ -5,7 +5,7 @@
5
5
  * provider, its ports and every control read the same shape.
6
6
  */
7
7
  import type { Query, QueryCommand, QueryCommandResult } from "../query/index.js";
8
- import type { Completion, Facet, GroupSummary, PageCursors, ResultProblem, ResultProvenance, SourceCounts } from "../result/index.js";
8
+ import type { Completion, Facet, GroupSummary, PageCursors, QueryIssue, ResultProblem, ResultProvenance, SourceCounts } from "../result/index.js";
9
9
  import type { RowRecord } from "../rows/index.js";
10
10
  /**
11
11
  * Display status of the result projection.
@@ -13,8 +13,9 @@ import type { RowRecord } from "../rows/index.js";
13
13
  * `refresh-failed` is a settled problem over rows that still answer the
14
14
  * current query, as after a failed refresh: the rows are usable and the
15
15
  * problem is real, so both are reported. `stale` is the same over rows an
16
- * earlier query produced. `failed` is a problem with no rows to keep. A
17
- * result that does not match the current query never reports `ready`.
16
+ * earlier query produced, and over any rows kept while the query is
17
+ * withheld. `failed` is a problem with no rows to keep. A result that does
18
+ * not match the current query never reports `ready`.
18
19
  *
19
20
  * @experimental Pre-release: the whole surface is still settling, and this
20
21
  * name may change or move before the first release.
@@ -34,7 +35,7 @@ export type ResultState<TRow extends object = RowRecord> = {
34
35
  /**
35
36
  * The page's group summaries; null until a source declares summaries.
36
37
  *
37
- * @seam grouping — read by the group header row's count
38
+ * The group header row reads its count from this.
38
39
  */
39
40
  readonly groups: readonly GroupSummary[] | null;
40
41
  readonly counts: SourceCounts | null;
@@ -48,7 +49,11 @@ export type ResultState<TRow extends object = RowRecord> = {
48
49
  readonly more: boolean | null;
49
50
  readonly cursors: PageCursors | null;
50
51
  readonly provenance: ResultProvenance | null;
51
- /** The last refusal or failure, structurally; null after a success. */
52
+ /**
53
+ * The last refusal or failure, structurally — a followed link's refused
54
+ * clauses, while they withhold the query, among them; null after a
55
+ * success.
56
+ */
52
57
  readonly problem: ResultProblem | null;
53
58
  };
54
59
  /**
@@ -67,6 +72,11 @@ export type QueryCoordinatorConfig = {
67
72
  * the first generation stands on the start; a reset always returns to it.
68
73
  */
69
74
  readonly initial?: Query | undefined;
75
+ /**
76
+ * The narrowing clauses the initial query's link was refused for: while
77
+ * any is given, the initial query is withheld and no request runs for it.
78
+ */
79
+ readonly withheld?: readonly QueryIssue[] | undefined;
70
80
  };
71
81
  /** Result of dispatching one command through the coordinator. */
72
82
  export type DispatchResult = QueryCommandResult & {
@@ -108,12 +118,18 @@ export type QueryCoordinator<TRow extends object = RowRecord> = {
108
118
  * Apply one addressed command coherently. An accepted change that moves
109
119
  * the query or window issues a new request identity and retains previous
110
120
  * rows with their old provenance until a matching completion arrives.
121
+ * While the query is withheld, a command on a refused clause's field —
122
+ * the search for a refused `q` — removes that clause, moving the query or
123
+ * not, and the query stays withheld, with no request, while any other
124
+ * stands.
111
125
  */
112
126
  readonly dispatch: (command: QueryCommand) => DispatchResult;
113
127
  /**
114
128
  * Refresh the current query: retained rows stay displayed with a
115
129
  * refreshing status until a matching completion arrives; with no rows
116
- * to retain the request is pending, as the first one is.
130
+ * to retain the request is pending, as the first one is. A withheld
131
+ * query is never asked for, so refreshing one throws: its rows would be
132
+ * wider than the link asked for.
117
133
  */
118
134
  readonly refresh: () => string;
119
135
  /**
@@ -121,9 +137,14 @@ export type QueryCoordinator<TRow extends object = RowRecord> = {
121
137
  * or a restored view. Invalid windows throw, the same rejections the
122
138
  * addressed command layer applies. Supersedes any pending request,
123
139
  * discards stale input sessions above this layer, and returns a request
124
- * identity when the adopted query differs from the current one.
140
+ * identity when the adopted query differs from the current one. Given the
141
+ * narrowing clauses its link was refused for, the query is withheld
142
+ * instead: no request is issued, one in flight is obsolete, and any rows
143
+ * shown stay as `stale`. Given none, nothing is withheld any longer;
144
+ * left out, what is withheld stands while the slice stays where it is,
145
+ * and goes once it moves.
125
146
  */
126
- readonly adopt: (query: Query) => string | null;
147
+ readonly adopt: (query: Query, withheld?: readonly QueryIssue[]) => string | null;
127
148
  /**
128
149
  * Publish a completion for the most recently issued request, at most
129
150
  * once. Completions for superseded requests or an earlier generation are
@@ -131,13 +152,15 @@ export type QueryCoordinator<TRow extends object = RowRecord> = {
131
152
  * cursors and provenance together. A refusal or a failure keeps the rows
132
153
  * with the problem recorded — `failed` when no rows have been published,
133
154
  * `refresh-failed` while the kept rows still answer the current query,
134
- * `stale` when an earlier query produced them, even an empty set.
155
+ * `stale` when an earlier query produced them, even an empty set. A
156
+ * forbidden request withdraws every row, count and facet, and is
157
+ * `failed` with the forbidden delivery as its problem.
135
158
  */
136
159
  readonly complete: (requestId: string, completion: Completion<TRow>) => boolean;
137
160
  /**
138
161
  * Begin the next generation: query, window and result return to the
139
- * configured start and the pending request dies. Completions from the
140
- * old generation never publish into the new one.
162
+ * configured start and the pending request dies, and nothing is withheld.
163
+ * Completions from the old generation never publish into the new one.
141
164
  */
142
165
  readonly reset: () => void;
143
166
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/coordinator/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,KAAK,EACL,YAAY,EACZ,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,KAAK,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,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,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/lib/display/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEpE;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAC1C,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CASnD,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/lib/display/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEpE;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAC1C,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC,CAUnD,CAAC"}
@@ -12,6 +12,12 @@ import type { DisplayStatus } from "./types.js";
12
12
  * rows that still answer the query, whose refresh failed, are shown under
13
13
  * that reason too — saying nothing there would hide the failure entirely.
14
14
  * The coordinator has already told the two apart; this reads its answer.
15
+ * A refused query — a followed link's clause that would have narrowed it,
16
+ * or a query the source cannot execute — is `refused` with no rows, for
17
+ * nothing ran; `failed` means execution failed. A link's refusal keeps any
18
+ * rows shown as `stale`, so nothing wider than the link asked for runs. A
19
+ * forbidden request is `no-access`, with no reason, whatever rows there
20
+ * were: the core has already withdrawn them.
15
21
  *
16
22
  * @experimental Pre-release: the whole surface is still settling, and this
17
23
  * name may change or move before the first release.
@@ -1 +1 @@
1
- {"version":3,"file":"resolveDisplayStatus.d.ts","sourceRoot":"","sources":["../../../../src/lib/display/resolveDisplayStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAQhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,GAC5B,aAAa,GAAG,IAAI,CAyBtB"}
1
+ {"version":3,"file":"resolveDisplayStatus.d.ts","sourceRoot":"","sources":["../../../../src/lib/display/resolveDisplayStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAiBhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,GAC5B,aAAa,GAAG,IAAI,CAgCtB"}