@canonical/dataviews-core 0.47.0 → 0.49.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.
- package/README.md +27 -19
- package/dist/esm/lib/assertion/assertInvariant.js +14 -0
- package/dist/esm/lib/assertion/assertInvariant.js.map +1 -0
- package/dist/esm/lib/assertion/index.js +2 -0
- package/dist/esm/lib/assertion/index.js.map +1 -0
- package/dist/esm/lib/bindings/index.js +6 -20
- package/dist/esm/lib/bindings/index.js.map +1 -1
- package/dist/esm/lib/coordinator/createQueryCoordinator.js +65 -6
- package/dist/esm/lib/coordinator/createQueryCoordinator.js.map +1 -1
- package/dist/esm/lib/coordinator/index.js +2 -0
- package/dist/esm/lib/coordinator/index.js.map +1 -1
- package/dist/esm/lib/coordinator/isClauseReplaced.js +27 -0
- package/dist/esm/lib/coordinator/isClauseReplaced.js.map +1 -0
- package/dist/esm/lib/coordinator/readWithheld.js +13 -0
- package/dist/esm/lib/coordinator/readWithheld.js.map +1 -0
- package/dist/esm/lib/display/constants.js +2 -1
- package/dist/esm/lib/display/constants.js.map +1 -1
- package/dist/esm/lib/display/resolveDisplayStatus.js +24 -4
- package/dist/esm/lib/display/resolveDisplayStatus.js.map +1 -1
- package/dist/esm/lib/filter/createFilterInput.js +50 -16
- package/dist/esm/lib/filter/createFilterInput.js.map +1 -1
- package/dist/esm/lib/filter/createFilterInputs.js +116 -29
- package/dist/esm/lib/filter/createFilterInputs.js.map +1 -1
- package/dist/esm/lib/geometry/buildColumnTemplate.js +2 -2
- package/dist/esm/lib/geometry/buildColumnTemplate.js.map +1 -1
- package/dist/esm/lib/geometry/createColumnLayout.js +7 -10
- package/dist/esm/lib/geometry/createColumnLayout.js.map +1 -1
- package/dist/esm/lib/geometry/createGridInteraction.js +8 -5
- package/dist/esm/lib/geometry/createGridInteraction.js.map +1 -1
- package/dist/esm/lib/geometry/resolveColumns.js +5 -5
- package/dist/esm/lib/geometry/resolveColumns.js.map +1 -1
- package/dist/esm/lib/index.js +1 -1
- package/dist/esm/lib/index.js.map +1 -1
- package/dist/esm/lib/indexeddb/createIndexedDBViewStore.js +2 -2
- package/dist/esm/lib/indexeddb/createIndexedDBViewStore.js.map +1 -1
- package/dist/esm/lib/indexeddb/readSavedView.js +6 -2
- package/dist/esm/lib/indexeddb/readSavedView.js.map +1 -1
- package/dist/esm/lib/location/createMemoryLocation.js +2 -0
- package/dist/esm/lib/location/createMemoryLocation.js.map +1 -1
- package/dist/esm/lib/location/createPlatformLocation.js +3 -0
- package/dist/esm/lib/location/createPlatformLocation.js.map +1 -1
- package/dist/esm/lib/messages/composeStatus.js +10 -0
- package/dist/esm/lib/messages/composeStatus.js.map +1 -0
- package/dist/esm/lib/messages/constants.js +323 -0
- package/dist/esm/lib/messages/constants.js.map +1 -1
- package/dist/esm/lib/messages/resolveMessages.js +1 -1
- package/dist/esm/lib/messages/resolveMessages.js.map +1 -1
- package/dist/esm/lib/observable/createChannel.js +4 -2
- package/dist/esm/lib/observable/createChannel.js.map +1 -1
- package/dist/esm/lib/presentation/constants.js +5 -12
- package/dist/esm/lib/presentation/constants.js.map +1 -1
- package/dist/esm/lib/presentation/createMemoryPresentation.js +12 -0
- package/dist/esm/lib/presentation/createMemoryPresentation.js.map +1 -0
- package/dist/esm/lib/presentation/createPresentation.js +3 -3
- package/dist/esm/lib/presentation/createPresentation.js.map +1 -1
- package/dist/esm/lib/presentation/hideColumn.js +7 -6
- package/dist/esm/lib/presentation/hideColumn.js.map +1 -1
- package/dist/esm/lib/presentation/index.js +4 -1
- package/dist/esm/lib/presentation/index.js.map +1 -1
- package/dist/esm/lib/presentation/isTableKey.js +9 -0
- package/dist/esm/lib/presentation/isTableKey.js.map +1 -0
- package/dist/esm/lib/presentation/moveColumn.js +7 -7
- package/dist/esm/lib/presentation/moveColumn.js.map +1 -1
- package/dist/esm/lib/presentation/pickTableKeys.js +6 -0
- package/dist/esm/lib/presentation/pickTableKeys.js.map +1 -0
- package/dist/esm/lib/presentation/resetColumnArrangement.js +8 -12
- package/dist/esm/lib/presentation/resetColumnArrangement.js.map +1 -1
- package/dist/esm/lib/presentation/resolveArrangementParams.js +7 -12
- package/dist/esm/lib/presentation/resolveArrangementParams.js.map +1 -1
- package/dist/esm/lib/presentation/resolveColumnArrangement.js +9 -8
- package/dist/esm/lib/presentation/resolveColumnArrangement.js.map +1 -1
- package/dist/esm/lib/presentation/showColumn.js +5 -4
- package/dist/esm/lib/presentation/showColumn.js.map +1 -1
- package/dist/esm/lib/presentation/spellColumnArrangement.js +5 -9
- package/dist/esm/lib/presentation/spellColumnArrangement.js.map +1 -1
- package/dist/esm/lib/presentation/spellWidthKey.js +4 -4
- package/dist/esm/lib/presentation/spellWidthKey.js.map +1 -1
- package/dist/esm/lib/provider/constants.js +3 -22
- package/dist/esm/lib/provider/constants.js.map +1 -1
- package/dist/esm/lib/provider/createDataViewsProvider.js +46 -19
- package/dist/esm/lib/provider/createDataViewsProvider.js.map +1 -1
- package/dist/esm/lib/provider/createQueryCommands.js +32 -20
- package/dist/esm/lib/provider/createQueryCommands.js.map +1 -1
- package/dist/esm/lib/provider/createRecordTyping.js +14 -12
- package/dist/esm/lib/provider/createRecordTyping.js.map +1 -1
- package/dist/esm/lib/provider/createRequestCompleter.js +8 -3
- package/dist/esm/lib/provider/createRequestCompleter.js.map +1 -1
- package/dist/esm/lib/provider/isDataViewsProvider.js +4 -2
- package/dist/esm/lib/provider/isDataViewsProvider.js.map +1 -1
- package/dist/esm/lib/provider/isSameQuery.js +13 -0
- package/dist/esm/lib/provider/isSameQuery.js.map +1 -0
- package/dist/esm/lib/provider/listCarriedIssues.js +20 -0
- package/dist/esm/lib/provider/listCarriedIssues.js.map +1 -0
- package/dist/esm/lib/provider/observePorts.js +2 -2
- package/dist/esm/lib/provider/observePorts.js.map +1 -1
- package/dist/esm/lib/provider/readCommandCause.js +28 -0
- package/dist/esm/lib/provider/readCommandCause.js.map +1 -0
- package/dist/esm/lib/provider/readLocatedArrangement.js +15 -13
- package/dist/esm/lib/provider/readLocatedArrangement.js.map +1 -1
- package/dist/esm/lib/provider/readProviderHost.js +2 -2
- package/dist/esm/lib/provider/readProviderHost.js.map +1 -1
- package/dist/esm/lib/provider/readProviderRegistry.js +20 -0
- package/dist/esm/lib/provider/readProviderRegistry.js.map +1 -0
- package/dist/esm/lib/provider/readStartingPoint.js +2 -1
- package/dist/esm/lib/provider/readStartingPoint.js.map +1 -1
- package/dist/esm/lib/provider/registerProviderHost.js +2 -2
- package/dist/esm/lib/provider/registerProviderHost.js.map +1 -1
- package/dist/esm/lib/provider/resolveHistoryPolicy.js +7 -7
- package/dist/esm/lib/provider/resolveHistoryPolicy.js.map +1 -1
- package/dist/esm/lib/provider/runSource.js +13 -8
- package/dist/esm/lib/provider/runSource.js.map +1 -1
- package/dist/esm/lib/provider/shouldAdoptLocation.js +15 -0
- package/dist/esm/lib/provider/shouldAdoptLocation.js.map +1 -0
- package/dist/esm/lib/provider/spellLocation.js +7 -3
- package/dist/esm/lib/provider/spellLocation.js.map +1 -1
- package/dist/esm/lib/provider/syncLocation.js +61 -31
- package/dist/esm/lib/provider/syncLocation.js.map +1 -1
- package/dist/esm/lib/query/applyQueryCommand.js +129 -38
- package/dist/esm/lib/query/applyQueryCommand.js.map +1 -1
- package/dist/esm/lib/query/areListsEqual.js +1 -1
- package/dist/esm/lib/query/areListsEqual.js.map +1 -1
- package/dist/esm/lib/query/canonicalizeSlice.js +14 -17
- package/dist/esm/lib/query/canonicalizeSlice.js.map +1 -1
- package/dist/esm/lib/query/compareConjuncts.js +44 -0
- package/dist/esm/lib/query/compareConjuncts.js.map +1 -0
- package/dist/esm/lib/query/constants.js +6 -2
- package/dist/esm/lib/query/constants.js.map +1 -1
- package/dist/esm/lib/query/index.js +2 -0
- package/dist/esm/lib/query/index.js.map +1 -1
- package/dist/esm/lib/query/listConjuncts.js +13 -0
- package/dist/esm/lib/query/listConjuncts.js.map +1 -0
- package/dist/esm/lib/query/readCondition.js +36 -0
- package/dist/esm/lib/query/readCondition.js.map +1 -0
- package/dist/esm/lib/query/rejectOperandArity.js +2 -4
- package/dist/esm/lib/query/rejectOperandArity.js.map +1 -1
- package/dist/esm/lib/result/areFieldFacetsEqual.js +7 -1
- package/dist/esm/lib/result/areFieldFacetsEqual.js.map +1 -1
- package/dist/esm/lib/rows/constants.js +1 -1
- package/dist/esm/lib/rows/constants.js.map +1 -1
- package/dist/esm/lib/rows/createRowModel.js +2 -2
- package/dist/esm/lib/rows/createRowModel.js.map +1 -1
- package/dist/esm/lib/rows/createRowScopes.js +5 -2
- package/dist/esm/lib/rows/createRowScopes.js.map +1 -1
- package/dist/esm/lib/schema/createSchema.js +21 -10
- package/dist/esm/lib/schema/createSchema.js.map +1 -1
- package/dist/esm/lib/schema/parseNumberWithUnit.js +72 -0
- package/dist/esm/lib/schema/parseNumberWithUnit.js.map +1 -0
- package/dist/esm/lib/schema/resolveFieldKind.js +88 -29
- package/dist/esm/lib/schema/resolveFieldKind.js.map +1 -1
- package/dist/esm/lib/selection/createSelection.js +4 -2
- package/dist/esm/lib/selection/createSelection.js.map +1 -1
- package/dist/esm/lib/source/copyCapabilities.js +0 -1
- package/dist/esm/lib/source/copyCapabilities.js.map +1 -1
- package/dist/esm/lib/source/createArraySource.js +11 -8
- package/dist/esm/lib/source/createArraySource.js.map +1 -1
- package/dist/esm/lib/source/createPage.js +0 -1
- package/dist/esm/lib/source/createPage.js.map +1 -1
- package/dist/esm/lib/source/createQuerySource.js +32 -13
- package/dist/esm/lib/source/createQuerySource.js.map +1 -1
- package/dist/esm/lib/source/createRefusal.js +5 -0
- package/dist/esm/lib/source/createRefusal.js.map +1 -0
- package/dist/esm/lib/source/createRelaySource.js +49 -60
- package/dist/esm/lib/source/createRelaySource.js.map +1 -1
- package/dist/esm/lib/source/declareCapabilities.js +0 -1
- package/dist/esm/lib/source/declareCapabilities.js.map +1 -1
- package/dist/esm/lib/source/executeSlice.js +1 -0
- package/dist/esm/lib/source/executeSlice.js.map +1 -1
- package/dist/esm/lib/source/foldText.js +3 -0
- package/dist/esm/lib/source/foldText.js.map +1 -1
- package/dist/esm/lib/source/index.js +3 -1
- package/dist/esm/lib/source/index.js.map +1 -1
- package/dist/esm/lib/source/listFilterRefusals.js +30 -0
- package/dist/esm/lib/source/listFilterRefusals.js.map +1 -0
- package/dist/esm/lib/source/listGroupRefusals.js +22 -0
- package/dist/esm/lib/source/listGroupRefusals.js.map +1 -0
- package/dist/esm/lib/source/listOfferedOperators.js +25 -0
- package/dist/esm/lib/source/listOfferedOperators.js.map +1 -0
- package/dist/esm/lib/source/listQueryRefusals.js +35 -0
- package/dist/esm/lib/source/listQueryRefusals.js.map +1 -0
- package/dist/esm/lib/source/listSortRefusals.js +27 -0
- package/dist/esm/lib/source/listSortRefusals.js.map +1 -0
- package/dist/esm/lib/source/listWindowRefusals.js +20 -0
- package/dist/esm/lib/source/listWindowRefusals.js.map +1 -0
- package/dist/esm/lib/source/orderRows.js +36 -12
- package/dist/esm/lib/source/orderRows.js.map +1 -1
- package/dist/esm/lib/source/readFacets.js +30 -15
- package/dist/esm/lib/source/readFacets.js.map +1 -1
- package/dist/esm/lib/source/readRelayPage.js +55 -0
- package/dist/esm/lib/source/readRelayPage.js.map +1 -0
- package/dist/esm/lib/source/readSlice.js +5 -3
- package/dist/esm/lib/source/readSlice.js.map +1 -1
- package/dist/esm/lib/source/resolveErrorDelivery.js +27 -0
- package/dist/esm/lib/source/resolveErrorDelivery.js.map +1 -0
- package/dist/esm/lib/source/selectRows.js +72 -16
- package/dist/esm/lib/source/selectRows.js.map +1 -1
- package/dist/esm/lib/views/createViewCommands.js +6 -3
- package/dist/esm/lib/views/createViewCommands.js.map +1 -1
- package/dist/esm/lib/views/readStoredQuery.js +2 -1
- package/dist/esm/lib/views/readStoredQuery.js.map +1 -1
- package/dist/esm/lib/virtualization/createSizeIndex.js +19 -10
- package/dist/esm/lib/virtualization/createSizeIndex.js.map +1 -1
- package/dist/esm/lib/virtualization/createVirtualRange.js +30 -28
- package/dist/esm/lib/virtualization/createVirtualRange.js.map +1 -1
- package/dist/esm/lib/wire/areQueryIssuesEqual.js +12 -0
- package/dist/esm/lib/wire/areQueryIssuesEqual.js.map +1 -0
- package/dist/esm/lib/wire/constants.js +56 -36
- package/dist/esm/lib/wire/constants.js.map +1 -1
- package/dist/esm/lib/wire/decodeQuery.js +140 -168
- package/dist/esm/lib/wire/decodeQuery.js.map +1 -1
- package/dist/esm/lib/wire/encodeCarryingQuery.js +294 -0
- package/dist/esm/lib/wire/encodeCarryingQuery.js.map +1 -0
- package/dist/esm/lib/wire/encodeQuery.js +8 -76
- package/dist/esm/lib/wire/encodeQuery.js.map +1 -1
- package/dist/esm/lib/wire/index.js +6 -1
- package/dist/esm/lib/wire/index.js.map +1 -1
- package/dist/esm/lib/wire/isNarrowingIssue.js +15 -0
- package/dist/esm/lib/wire/isNarrowingIssue.js.map +1 -0
- package/dist/esm/lib/wire/isOwnedKey.js +6 -2
- package/dist/esm/lib/wire/isOwnedKey.js.map +1 -1
- package/dist/esm/lib/wire/isReservedKey.js +9 -0
- package/dist/esm/lib/wire/isReservedKey.js.map +1 -0
- package/dist/esm/lib/wire/readArrangementParams.js +18 -14
- package/dist/esm/lib/wire/readArrangementParams.js.map +1 -1
- package/dist/esm/lib/wire/readKeyPredicate.js +146 -0
- package/dist/esm/lib/wire/readKeyPredicate.js.map +1 -0
- package/dist/esm/lib/wire/readTableKey.js +21 -0
- package/dist/esm/lib/wire/readTableKey.js.map +1 -0
- package/dist/esm/lib/wire/readUndeclaredField.js +19 -0
- package/dist/esm/lib/wire/readUndeclaredField.js.map +1 -0
- package/dist/esm/lib/wire/readWireKey.js +38 -0
- package/dist/esm/lib/wire/readWireKey.js.map +1 -0
- package/dist/esm/lib/wire/recordConjunct.js +48 -0
- package/dist/esm/lib/wire/recordConjunct.js.map +1 -0
- package/dist/esm/lib/wire/rejectWireName.js +3 -2
- package/dist/esm/lib/wire/rejectWireName.js.map +1 -1
- package/dist/esm/lib/wire/spellArrangementKey.js +7 -0
- package/dist/esm/lib/wire/spellArrangementKey.js.map +1 -0
- package/dist/esm/lib/wire/spellArrangementParams.js +12 -15
- package/dist/esm/lib/wire/spellArrangementParams.js.map +1 -1
- package/dist/esm/lib/wire/spellOperand.js +33 -0
- package/dist/esm/lib/wire/spellOperand.js.map +1 -0
- package/dist/esm/lib/wire/spellTableId.js +12 -0
- package/dist/esm/lib/wire/spellTableId.js.map +1 -0
- package/dist/esm/lib/wire/spellWireKey.js +7 -4
- package/dist/esm/lib/wire/spellWireKey.js.map +1 -1
- package/dist/esm/lib/wire/spellWireValues.js +18 -0
- package/dist/esm/lib/wire/spellWireValues.js.map +1 -0
- package/dist/esm/testing/answerWith.js +10 -0
- package/dist/esm/testing/buildFailedResult.js +12 -0
- package/dist/esm/testing/buildPage.js +19 -0
- package/dist/esm/testing/buildRefusedResult.js +18 -0
- package/dist/esm/testing/buildRowModel.js +15 -0
- package/dist/esm/testing/buildSettledPage.js +22 -0
- package/dist/esm/testing/buildStoredView.js +19 -0
- package/dist/esm/testing/classifyInitializer.js +50 -0
- package/dist/esm/testing/countAtLeast.js +9 -0
- package/dist/esm/testing/countExactly.js +9 -0
- package/dist/esm/testing/createCountedRows.js +28 -0
- package/dist/esm/testing/createCountingViewStore.js +36 -0
- package/dist/esm/testing/createDeferred.js +9 -0
- package/dist/esm/testing/createManualSource.js +56 -0
- package/dist/esm/testing/createRecordingLocation.js +53 -0
- package/dist/esm/testing/createStandInPresentationStore.js +15 -0
- package/dist/esm/testing/createStandInViewStore.js +23 -0
- package/dist/esm/testing/declare.js +10 -0
- package/dist/esm/testing/declareSort.js +17 -0
- package/dist/esm/testing/filterStatusBy.js +13 -0
- package/dist/esm/testing/fixtures.js +694 -0
- package/dist/esm/testing/flushPresentation.js +16 -0
- package/dist/esm/testing/index.js +35 -0
- package/dist/esm/testing/installFakeClock.js +18 -0
- package/dist/esm/testing/isMovableForm.js +7 -0
- package/dist/esm/testing/isWrappedInitializer.js +33 -0
- package/dist/esm/testing/isWrapperCallee.js +10 -0
- package/dist/esm/testing/judgeExports.js +54 -0
- package/dist/esm/testing/listBracedExports.js +45 -0
- package/dist/esm/testing/listExports.js +68 -0
- package/dist/esm/testing/listFileRuleFindings.js +76 -0
- package/dist/esm/testing/listUnmarkedNames.js +40 -0
- package/dist/esm/testing/maskSource.js +149 -0
- package/dist/esm/testing/observeUntilFinished.js +15 -0
- package/dist/esm/testing/openIndexedDBTab.js +20 -0
- package/dist/esm/testing/orderNodesByName.js +31 -0
- package/dist/esm/testing/readDeclarationDoc.js +15 -0
- package/dist/esm/testing/readDeclarationExport.js +41 -0
- package/dist/esm/testing/readDefaultExport.js +55 -0
- package/dist/esm/testing/readDisplayStatus.js +14 -0
- package/dist/esm/testing/readFileRole.js +16 -0
- package/dist/esm/testing/readGroup.js +8 -0
- package/dist/esm/testing/readId.js +9 -0
- package/dist/esm/testing/readIssuedRequest.js +12 -0
- package/dist/esm/testing/readLocalBinding.js +44 -0
- package/dist/esm/testing/readSucceededPage.js +7 -0
- package/dist/esm/testing/relayTypes.js +5 -0
- package/dist/esm/testing/respellLink.js +27 -0
- package/dist/esm/testing/runFailureHandlers.js +26 -0
- package/dist/esm/testing/settleCalls.js +11 -0
- package/dist/esm/testing/skipBalanced.js +20 -0
- package/dist/esm/testing/skipTypeAnnotation.js +33 -0
- package/dist/esm/testing/types.js +2 -0
- package/dist/esm/testing/waitForState.js +40 -0
- package/dist/types/lib/assertion/assertInvariant.d.ts +9 -0
- package/dist/types/lib/assertion/assertInvariant.d.ts.map +1 -0
- package/dist/types/lib/assertion/index.d.ts +2 -0
- package/dist/types/lib/assertion/index.d.ts.map +1 -0
- package/dist/types/lib/bindings/index.d.ts +6 -20
- package/dist/types/lib/bindings/index.d.ts.map +1 -1
- package/dist/types/lib/coordinator/createQueryCoordinator.d.ts.map +1 -1
- package/dist/types/lib/coordinator/index.d.ts +2 -0
- package/dist/types/lib/coordinator/index.d.ts.map +1 -1
- package/dist/types/lib/coordinator/isClauseReplaced.d.ts +12 -0
- package/dist/types/lib/coordinator/isClauseReplaced.d.ts.map +1 -0
- package/dist/types/lib/coordinator/readWithheld.d.ts +9 -0
- package/dist/types/lib/coordinator/readWithheld.d.ts.map +1 -0
- package/dist/types/lib/coordinator/types.d.ts +34 -11
- package/dist/types/lib/coordinator/types.d.ts.map +1 -1
- package/dist/types/lib/display/constants.d.ts.map +1 -1
- package/dist/types/lib/display/resolveDisplayStatus.d.ts +6 -0
- package/dist/types/lib/display/resolveDisplayStatus.d.ts.map +1 -1
- package/dist/types/lib/display/types.d.ts +22 -16
- package/dist/types/lib/display/types.d.ts.map +1 -1
- package/dist/types/lib/filter/createFilterInput.d.ts.map +1 -1
- package/dist/types/lib/filter/createFilterInputs.d.ts +4 -2
- package/dist/types/lib/filter/createFilterInputs.d.ts.map +1 -1
- package/dist/types/lib/filter/types.d.ts +55 -2
- package/dist/types/lib/filter/types.d.ts.map +1 -1
- package/dist/types/lib/geometry/createColumnLayout.d.ts +3 -6
- package/dist/types/lib/geometry/createColumnLayout.d.ts.map +1 -1
- package/dist/types/lib/geometry/createGridInteraction.d.ts +3 -0
- package/dist/types/lib/geometry/createGridInteraction.d.ts.map +1 -1
- package/dist/types/lib/geometry/types.d.ts +3 -1
- package/dist/types/lib/geometry/types.d.ts.map +1 -1
- package/dist/types/lib/index.d.ts +7 -7
- package/dist/types/lib/index.d.ts.map +1 -1
- package/dist/types/lib/indexeddb/createIndexedDBViewStore.d.ts.map +1 -1
- package/dist/types/lib/indexeddb/readSavedView.d.ts +4 -1
- package/dist/types/lib/indexeddb/readSavedView.d.ts.map +1 -1
- package/dist/types/lib/indexeddb/types.d.ts +7 -0
- package/dist/types/lib/indexeddb/types.d.ts.map +1 -1
- package/dist/types/lib/location/createMemoryLocation.d.ts +2 -0
- package/dist/types/lib/location/createMemoryLocation.d.ts.map +1 -1
- package/dist/types/lib/location/createPlatformLocation.d.ts +3 -0
- package/dist/types/lib/location/createPlatformLocation.d.ts.map +1 -1
- package/dist/types/lib/messages/composeStatus.d.ts +6 -0
- package/dist/types/lib/messages/composeStatus.d.ts.map +1 -0
- package/dist/types/lib/messages/constants.d.ts +27 -1
- package/dist/types/lib/messages/constants.d.ts.map +1 -1
- package/dist/types/lib/messages/types.d.ts +381 -88
- package/dist/types/lib/messages/types.d.ts.map +1 -1
- package/dist/types/lib/observable/createChannel.d.ts +2 -0
- package/dist/types/lib/observable/createChannel.d.ts.map +1 -1
- package/dist/types/lib/presentation/constants.d.ts +4 -12
- package/dist/types/lib/presentation/constants.d.ts.map +1 -1
- package/dist/types/lib/presentation/createMemoryPresentation.d.ts +10 -0
- package/dist/types/lib/presentation/createMemoryPresentation.d.ts.map +1 -0
- package/dist/types/lib/presentation/hideColumn.d.ts +2 -2
- package/dist/types/lib/presentation/hideColumn.d.ts.map +1 -1
- package/dist/types/lib/presentation/index.d.ts +4 -1
- package/dist/types/lib/presentation/index.d.ts.map +1 -1
- package/dist/types/lib/presentation/isTableKey.d.ts +6 -0
- package/dist/types/lib/presentation/isTableKey.d.ts.map +1 -0
- package/dist/types/lib/presentation/moveColumn.d.ts +2 -3
- package/dist/types/lib/presentation/moveColumn.d.ts.map +1 -1
- package/dist/types/lib/presentation/pickTableKeys.d.ts +4 -0
- package/dist/types/lib/presentation/pickTableKeys.d.ts.map +1 -0
- package/dist/types/lib/presentation/resetColumnArrangement.d.ts +3 -8
- package/dist/types/lib/presentation/resetColumnArrangement.d.ts.map +1 -1
- package/dist/types/lib/presentation/resolveArrangementParams.d.ts +3 -9
- package/dist/types/lib/presentation/resolveArrangementParams.d.ts.map +1 -1
- package/dist/types/lib/presentation/resolveColumnArrangement.d.ts +3 -2
- package/dist/types/lib/presentation/resolveColumnArrangement.d.ts.map +1 -1
- package/dist/types/lib/presentation/showColumn.d.ts +1 -1
- package/dist/types/lib/presentation/showColumn.d.ts.map +1 -1
- package/dist/types/lib/presentation/spellColumnArrangement.d.ts +3 -7
- package/dist/types/lib/presentation/spellColumnArrangement.d.ts.map +1 -1
- package/dist/types/lib/presentation/spellWidthKey.d.ts +2 -2
- package/dist/types/lib/presentation/spellWidthKey.d.ts.map +1 -1
- package/dist/types/lib/presentation/types.d.ts +6 -2
- package/dist/types/lib/presentation/types.d.ts.map +1 -1
- package/dist/types/lib/provider/constants.d.ts +3 -15
- package/dist/types/lib/provider/constants.d.ts.map +1 -1
- package/dist/types/lib/provider/createDataViewsProvider.d.ts.map +1 -1
- package/dist/types/lib/provider/createQueryCommands.d.ts.map +1 -1
- package/dist/types/lib/provider/createRecordTyping.d.ts.map +1 -1
- package/dist/types/lib/provider/createRequestCompleter.d.ts.map +1 -1
- package/dist/types/lib/provider/isDataViewsProvider.d.ts.map +1 -1
- package/dist/types/lib/provider/isSameQuery.d.ts +8 -0
- package/dist/types/lib/provider/isSameQuery.d.ts.map +1 -0
- package/dist/types/lib/provider/listCarriedIssues.d.ts +10 -0
- package/dist/types/lib/provider/listCarriedIssues.d.ts.map +1 -0
- package/dist/types/lib/provider/readCommandCause.d.ts +10 -0
- package/dist/types/lib/provider/readCommandCause.d.ts.map +1 -0
- package/dist/types/lib/provider/readLocatedArrangement.d.ts +3 -5
- package/dist/types/lib/provider/readLocatedArrangement.d.ts.map +1 -1
- package/dist/types/lib/provider/readProviderRegistry.d.ts +10 -0
- package/dist/types/lib/provider/readProviderRegistry.d.ts.map +1 -0
- package/dist/types/lib/provider/readStartingPoint.d.ts.map +1 -1
- package/dist/types/lib/provider/runSource.d.ts.map +1 -1
- package/dist/types/lib/provider/shouldAdoptLocation.d.ts +19 -0
- package/dist/types/lib/provider/shouldAdoptLocation.d.ts.map +1 -0
- package/dist/types/lib/provider/spellLocation.d.ts +10 -1
- package/dist/types/lib/provider/spellLocation.d.ts.map +1 -1
- package/dist/types/lib/provider/syncLocation.d.ts.map +1 -1
- package/dist/types/lib/provider/types.d.ts +91 -36
- package/dist/types/lib/provider/types.d.ts.map +1 -1
- package/dist/types/lib/query/applyQueryCommand.d.ts +7 -2
- package/dist/types/lib/query/applyQueryCommand.d.ts.map +1 -1
- package/dist/types/lib/query/canonicalizeSlice.d.ts +4 -2
- package/dist/types/lib/query/canonicalizeSlice.d.ts.map +1 -1
- package/dist/types/lib/query/compareConjuncts.d.ts +14 -0
- package/dist/types/lib/query/compareConjuncts.d.ts.map +1 -0
- package/dist/types/lib/query/constants.d.ts +2 -2
- package/dist/types/lib/query/constants.d.ts.map +1 -1
- package/dist/types/lib/query/index.d.ts +2 -0
- package/dist/types/lib/query/index.d.ts.map +1 -1
- package/dist/types/lib/query/listConjuncts.d.ts +11 -0
- package/dist/types/lib/query/listConjuncts.d.ts.map +1 -0
- package/dist/types/lib/query/readCondition.d.ts +14 -0
- package/dist/types/lib/query/readCondition.d.ts.map +1 -0
- package/dist/types/lib/query/rejectOperandArity.d.ts +2 -2
- package/dist/types/lib/query/rejectOperandArity.d.ts.map +1 -1
- package/dist/types/lib/query/types.d.ts +89 -16
- package/dist/types/lib/query/types.d.ts.map +1 -1
- package/dist/types/lib/result/areFieldFacetsEqual.d.ts +7 -1
- package/dist/types/lib/result/areFieldFacetsEqual.d.ts.map +1 -1
- package/dist/types/lib/result/types.d.ts +66 -24
- package/dist/types/lib/result/types.d.ts.map +1 -1
- package/dist/types/lib/rows/createRowScopes.d.ts +3 -0
- package/dist/types/lib/rows/createRowScopes.d.ts.map +1 -1
- package/dist/types/lib/rows/types.d.ts +3 -3
- package/dist/types/lib/rows/types.d.ts.map +1 -1
- package/dist/types/lib/schema/createSchema.d.ts.map +1 -1
- package/dist/types/lib/schema/parseNumberWithUnit.d.ts +15 -0
- package/dist/types/lib/schema/parseNumberWithUnit.d.ts.map +1 -0
- package/dist/types/lib/schema/resolveFieldKind.d.ts.map +1 -1
- package/dist/types/lib/schema/types.d.ts +93 -29
- package/dist/types/lib/schema/types.d.ts.map +1 -1
- package/dist/types/lib/selection/createSelection.d.ts +2 -0
- package/dist/types/lib/selection/createSelection.d.ts.map +1 -1
- package/dist/types/lib/source/copyCapabilities.d.ts.map +1 -1
- package/dist/types/lib/source/createArraySource.d.ts +5 -2
- package/dist/types/lib/source/createArraySource.d.ts.map +1 -1
- package/dist/types/lib/source/createPage.d.ts.map +1 -1
- package/dist/types/lib/source/createQuerySource.d.ts +7 -0
- package/dist/types/lib/source/createQuerySource.d.ts.map +1 -1
- package/dist/types/lib/source/createRefusal.d.ts +4 -0
- package/dist/types/lib/source/createRefusal.d.ts.map +1 -0
- package/dist/types/lib/source/createRelaySource.d.ts +7 -1
- package/dist/types/lib/source/createRelaySource.d.ts.map +1 -1
- package/dist/types/lib/source/declareCapabilities.d.ts.map +1 -1
- package/dist/types/lib/source/executeSlice.d.ts.map +1 -1
- package/dist/types/lib/source/foldText.d.ts +3 -0
- package/dist/types/lib/source/foldText.d.ts.map +1 -1
- package/dist/types/lib/source/index.d.ts +3 -1
- package/dist/types/lib/source/index.d.ts.map +1 -1
- package/dist/types/lib/source/listFilterRefusals.d.ts +11 -0
- package/dist/types/lib/source/listFilterRefusals.d.ts.map +1 -0
- package/dist/types/lib/source/listGroupRefusals.d.ts +10 -0
- package/dist/types/lib/source/listGroupRefusals.d.ts.map +1 -0
- package/dist/types/lib/source/listOfferedOperators.d.ts +14 -0
- package/dist/types/lib/source/listOfferedOperators.d.ts.map +1 -0
- package/dist/types/lib/source/{refusalsOf.d.ts → listQueryRefusals.d.ts} +3 -3
- package/dist/types/lib/source/listQueryRefusals.d.ts.map +1 -0
- package/dist/types/lib/source/listSortRefusals.d.ts +10 -0
- package/dist/types/lib/source/listSortRefusals.d.ts.map +1 -0
- package/dist/types/lib/source/listWindowRefusals.d.ts +9 -0
- package/dist/types/lib/source/listWindowRefusals.d.ts.map +1 -0
- package/dist/types/lib/source/orderRows.d.ts +10 -5
- package/dist/types/lib/source/orderRows.d.ts.map +1 -1
- package/dist/types/lib/source/readFacets.d.ts +1 -1
- package/dist/types/lib/source/readFacets.d.ts.map +1 -1
- package/dist/types/lib/source/readRelayPage.d.ts +19 -0
- package/dist/types/lib/source/readRelayPage.d.ts.map +1 -0
- package/dist/types/lib/source/readSlice.d.ts +5 -3
- package/dist/types/lib/source/readSlice.d.ts.map +1 -1
- package/dist/types/lib/source/resolveErrorDelivery.d.ts +9 -0
- package/dist/types/lib/source/resolveErrorDelivery.d.ts.map +1 -0
- package/dist/types/lib/source/selectRows.d.ts +4 -2
- package/dist/types/lib/source/selectRows.d.ts.map +1 -1
- package/dist/types/lib/source/types.d.ts +36 -17
- package/dist/types/lib/source/types.d.ts.map +1 -1
- package/dist/types/lib/views/createViewCommands.d.ts.map +1 -1
- package/dist/types/lib/views/readStoredQuery.d.ts.map +1 -1
- package/dist/types/lib/views/types.d.ts +1 -1
- package/dist/types/lib/views/types.d.ts.map +1 -1
- package/dist/types/lib/virtualization/createSizeIndex.d.ts +3 -0
- package/dist/types/lib/virtualization/createSizeIndex.d.ts.map +1 -1
- package/dist/types/lib/virtualization/createVirtualRange.d.ts +4 -1
- package/dist/types/lib/virtualization/createVirtualRange.d.ts.map +1 -1
- package/dist/types/lib/virtualization/types.d.ts +4 -4
- package/dist/types/lib/virtualization/types.d.ts.map +1 -1
- package/dist/types/lib/wire/areQueryIssuesEqual.d.ts +7 -0
- package/dist/types/lib/wire/areQueryIssuesEqual.d.ts.map +1 -0
- package/dist/types/lib/wire/constants.d.ts +54 -18
- package/dist/types/lib/wire/constants.d.ts.map +1 -1
- package/dist/types/lib/wire/decodeQuery.d.ts +7 -4
- package/dist/types/lib/wire/decodeQuery.d.ts.map +1 -1
- package/dist/types/lib/wire/encodeCarryingQuery.d.ts +9 -0
- package/dist/types/lib/wire/encodeCarryingQuery.d.ts.map +1 -0
- package/dist/types/lib/wire/encodeQuery.d.ts.map +1 -1
- package/dist/types/lib/wire/index.d.ts +6 -1
- package/dist/types/lib/wire/index.d.ts.map +1 -1
- package/dist/types/lib/wire/isNarrowingIssue.d.ts +13 -0
- package/dist/types/lib/wire/isNarrowingIssue.d.ts.map +1 -0
- package/dist/types/lib/wire/isOwnedKey.d.ts +3 -1
- package/dist/types/lib/wire/isOwnedKey.d.ts.map +1 -1
- package/dist/types/lib/wire/isReservedKey.d.ts +6 -0
- package/dist/types/lib/wire/isReservedKey.d.ts.map +1 -0
- package/dist/types/lib/wire/readArrangementParams.d.ts +4 -8
- package/dist/types/lib/wire/readArrangementParams.d.ts.map +1 -1
- package/dist/types/lib/wire/readKeyPredicate.d.ts +9 -0
- package/dist/types/lib/wire/readKeyPredicate.d.ts.map +1 -0
- package/dist/types/lib/wire/readTableKey.d.ts +13 -0
- package/dist/types/lib/wire/readTableKey.d.ts.map +1 -0
- package/dist/types/lib/wire/readUndeclaredField.d.ts +11 -0
- package/dist/types/lib/wire/readUndeclaredField.d.ts.map +1 -0
- package/dist/types/lib/wire/readWireKey.d.ts +11 -0
- package/dist/types/lib/wire/readWireKey.d.ts.map +1 -0
- package/dist/types/lib/wire/recordConjunct.d.ts +10 -0
- package/dist/types/lib/wire/recordConjunct.d.ts.map +1 -0
- package/dist/types/lib/wire/rejectWireName.d.ts.map +1 -1
- package/dist/types/lib/wire/spellArrangementKey.d.ts +4 -0
- package/dist/types/lib/wire/spellArrangementKey.d.ts.map +1 -0
- package/dist/types/lib/wire/spellArrangementParams.d.ts +3 -9
- package/dist/types/lib/wire/spellArrangementParams.d.ts.map +1 -1
- package/dist/types/lib/wire/spellOperand.d.ts +4 -0
- package/dist/types/lib/wire/spellOperand.d.ts.map +1 -0
- package/dist/types/lib/wire/spellTableId.d.ts +6 -0
- package/dist/types/lib/wire/spellTableId.d.ts.map +1 -0
- package/dist/types/lib/wire/spellWireKey.d.ts +4 -4
- package/dist/types/lib/wire/spellWireKey.d.ts.map +1 -1
- package/dist/types/lib/wire/spellWireValues.d.ts +13 -0
- package/dist/types/lib/wire/spellWireValues.d.ts.map +1 -0
- package/dist/types/lib/wire/types.d.ts +68 -31
- package/dist/types/lib/wire/types.d.ts.map +1 -1
- package/dist/types/testing/answerWith.d.ts +9 -0
- package/dist/types/testing/buildFailedResult.d.ts +10 -0
- package/dist/types/testing/buildPage.d.ts +8 -0
- package/dist/types/testing/buildRefusedResult.d.ts +10 -0
- package/dist/types/testing/buildRowModel.d.ts +9 -0
- package/dist/types/testing/buildSettledPage.d.ts +17 -0
- package/dist/types/testing/buildStoredView.d.ts +8 -0
- package/dist/types/testing/classifyInitializer.d.ts +6 -0
- package/dist/types/testing/countAtLeast.d.ts +8 -0
- package/dist/types/testing/countExactly.d.ts +8 -0
- package/dist/types/testing/createCountedRows.d.ts +13 -0
- package/dist/types/testing/createCountingViewStore.d.ts +10 -0
- package/dist/types/testing/createDeferred.d.ts +8 -0
- package/dist/types/testing/createManualSource.d.ts +16 -0
- package/dist/types/testing/createRecordingLocation.d.ts +20 -0
- package/dist/types/testing/createStandInPresentationStore.d.ts +9 -0
- package/dist/types/testing/createStandInViewStore.d.ts +9 -0
- package/dist/types/testing/declare.d.ts +8 -0
- package/dist/types/testing/declareSort.d.ts +9 -0
- package/dist/types/testing/filterStatusBy.d.ts +8 -0
- package/dist/types/testing/fixtures.d.ts +117 -0
- package/dist/types/testing/flushPresentation.d.ts +13 -0
- package/dist/types/testing/index.d.ts +37 -0
- package/dist/types/testing/installFakeClock.d.ts +14 -0
- package/dist/types/testing/isMovableForm.d.ts +6 -0
- package/dist/types/testing/isWrappedInitializer.d.ts +6 -0
- package/dist/types/testing/isWrapperCallee.d.ts +2 -0
- package/dist/types/testing/judgeExports.d.ts +8 -0
- package/dist/types/testing/listBracedExports.d.ts +6 -0
- package/dist/types/testing/listExports.d.ts +7 -0
- package/dist/types/testing/listFileRuleFindings.d.ts +12 -0
- package/dist/types/testing/listUnmarkedNames.d.ts +10 -0
- package/dist/types/testing/maskSource.d.ts +6 -0
- package/dist/types/testing/observeUntilFinished.d.ts +12 -0
- package/dist/types/testing/openIndexedDBTab.d.ts +12 -0
- package/dist/types/testing/orderNodesByName.d.ts +11 -0
- package/dist/types/testing/readDeclarationDoc.d.ts +6 -0
- package/dist/types/testing/readDeclarationExport.d.ts +6 -0
- package/dist/types/testing/readDefaultExport.d.ts +6 -0
- package/dist/types/testing/readDisplayStatus.d.ts +8 -0
- package/dist/types/testing/readFileRole.d.ts +3 -0
- package/dist/types/testing/readGroup.d.ts +2 -0
- package/dist/types/testing/readId.d.ts +8 -0
- package/dist/types/testing/readIssuedRequest.d.ts +7 -0
- package/dist/types/testing/readLocalBinding.d.ts +6 -0
- package/dist/types/testing/readSucceededPage.d.ts +3 -0
- package/dist/types/testing/relayTypes.d.ts +38 -0
- package/dist/types/testing/respellLink.d.ts +12 -0
- package/dist/types/testing/runFailureHandlers.d.ts +12 -0
- package/dist/types/testing/settleCalls.d.ts +15 -0
- package/dist/types/testing/skipBalanced.d.ts +5 -0
- package/dist/types/testing/skipTypeAnnotation.d.ts +5 -0
- package/dist/types/testing/types.d.ts +228 -0
- package/dist/types/testing/waitForState.d.ts +11 -0
- package/package.json +19 -9
- package/dist/esm/lib/messages/DEFAULT_MESSAGES.js +0 -194
- package/dist/esm/lib/messages/DEFAULT_MESSAGES.js.map +0 -1
- package/dist/esm/lib/source/refusalsOf.js +0 -74
- package/dist/esm/lib/source/refusalsOf.js.map +0 -1
- package/dist/types/lib/messages/DEFAULT_MESSAGES.d.ts +0 -10
- package/dist/types/lib/messages/DEFAULT_MESSAGES.d.ts.map +0 -1
- package/dist/types/lib/source/refusalsOf.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/views/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/views/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,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AM,GAAG,OAAO,GAAG,cAAc,CAClC,GAAG;IACF,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IAC5C,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC,KAAK,CAAC,CAAC;IACtC,mEAAmE;IACnE,QAAQ,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,uEAAuE;IACvE,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,SAAS,SAAS,EAAE,CAAC;IAC7D,0EAA0E;IAC1E,QAAQ,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC;IACvD,+CAA+C;IAC/C,QAAQ,CAAC,aAAa,EAAE,MAAM,YAAY,CAAC;CAC5C,CAAC;AAEF,0CAA0C;AAC1C,MAAM,MAAM,sBAAsB,GAAG;IACnC,4CAA4C;IAC5C,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CAC1D,CAAC"}
|
|
@@ -4,6 +4,9 @@ import type { SizeIndex } from "./types.js";
|
|
|
4
4
|
* entry starts, finding the entry at an offset and replacing one size each
|
|
5
5
|
* cost O(log n), so neither a scroll nor a measurement walks the sequence.
|
|
6
6
|
* Building costs O(n), once per sequence.
|
|
7
|
+
*
|
|
8
|
+
* @note Impure: `set` replaces a size in place, and every later read
|
|
9
|
+
* sees it.
|
|
7
10
|
*/
|
|
8
11
|
export default function createSizeIndex(sizes: readonly number[]): SizeIndex;
|
|
9
12
|
//# sourceMappingURL=createSizeIndex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSizeIndex.d.ts","sourceRoot":"","sources":["../../../../src/lib/virtualization/createSizeIndex.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createSizeIndex.d.ts","sourceRoot":"","sources":["../../../../src/lib/virtualization/createSizeIndex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAqE3E"}
|
|
@@ -2,7 +2,7 @@ import type { VirtualRange, VirtualRangeConfig } from "./types.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Create one table's virtual range.
|
|
4
4
|
*
|
|
5
|
-
* It is
|
|
5
|
+
* It is arithmetic over entry sizes: estimates until entries are
|
|
6
6
|
* measured, then their measurements. It reads no DOM and schedules
|
|
7
7
|
* nothing, so every framework binding shares it; the binding reports the
|
|
8
8
|
* viewport and the measurements, and scrolls by the corrections returned.
|
|
@@ -10,6 +10,9 @@ import type { VirtualRange, VirtualRangeConfig } from "./types.js";
|
|
|
10
10
|
* A scroll costs O(log n) and publishes only when the mounted entries or
|
|
11
11
|
* the space around them change.
|
|
12
12
|
*
|
|
13
|
+
* @note Impure: holds the entries, their measured sizes, the viewport and
|
|
14
|
+
* its anchor, and notifies subscribers when the mounted range moves.
|
|
15
|
+
*
|
|
13
16
|
* @experimental Pre-release: the whole surface is still settling, and this
|
|
14
17
|
* name may change or move before the first release.
|
|
15
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVirtualRange.d.ts","sourceRoot":"","sources":["../../../../src/lib/virtualization/createVirtualRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createVirtualRange.d.ts","sourceRoot":"","sources":["../../../../src/lib/virtualization/createVirtualRange.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAIV,YAAY,EACZ,kBAAkB,EACnB,MAAM,YAAY,CAAC;AAqBpB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,MAAM,EAAE,kBAAkB,GACzB,YAAY,CA6Ld"}
|
|
@@ -98,19 +98,19 @@ export type VirtualRange = ReadonlyChannel<MountedRange> & {
|
|
|
98
98
|
/** The sizes of one sequence of entries, summed in logarithmic time. */
|
|
99
99
|
export type SizeIndex = {
|
|
100
100
|
/** The size of the entry at one position. */
|
|
101
|
-
readonly
|
|
101
|
+
readonly readSize: (position: number) => number;
|
|
102
102
|
/** Replace the size of the entry at one position. */
|
|
103
103
|
readonly set: (position: number, size: number) => void;
|
|
104
104
|
/**
|
|
105
105
|
* The summed size of every entry before one position: where it starts.
|
|
106
106
|
* At the sequence's length, the whole: read from the same tree, so it
|
|
107
|
-
* never drifts from the offsets beside it.
|
|
107
|
+
* never drifts from the offsets beside it. Throws outside `0..length`.
|
|
108
108
|
*/
|
|
109
|
-
readonly
|
|
109
|
+
readonly readOffset: (position: number) => number;
|
|
110
110
|
/**
|
|
111
111
|
* The position of the entry covering one offset: the last whose start is
|
|
112
112
|
* at or before it, held to the sequence. An empty sequence answers 0.
|
|
113
113
|
*/
|
|
114
|
-
readonly
|
|
114
|
+
readonly findPosition: (offset: number) => number;
|
|
115
115
|
};
|
|
116
116
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/virtualization/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,CAAC;CAChE,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,6CAA6C;IAC7C,QAAQ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AC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,KAAK,KAAK,MAAM,CAAC;IAC/D;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,wEAAwE;AACxE,MAAM,MAAM,SAAS,GAAG;IACtB,6CAA6C;IAC7C,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IAChD,qDAAqD;IACrD,QAAQ,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IAClD;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;CACnD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { QueryIssue } from "../result/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Whether two lists of refused parameters say the same thing: the same
|
|
4
|
+
* parameters, fields, codes and reasons, in the same order.
|
|
5
|
+
*/
|
|
6
|
+
export default function areQueryIssuesEqual(a: readonly QueryIssue[], b: readonly QueryIssue[]): boolean;
|
|
7
|
+
//# sourceMappingURL=areQueryIssuesEqual.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"areQueryIssuesEqual.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/areQueryIssuesEqual.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,CAAC,EAAE,SAAS,UAAU,EAAE,EACxB,CAAC,EAAE,SAAS,UAAU,EAAE,GACvB,OAAO,CAUT"}
|
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The names of the flat, form-compatible wire grammar: the delimiter
|
|
3
|
-
* between a field
|
|
4
|
-
* reserves, and the operators written with the
|
|
3
|
+
* between a field, its operator and a conjunct's ordinal, the parameters
|
|
4
|
+
* the grammar writes and reserves, and the operators written with the
|
|
5
|
+
* delimiter.
|
|
6
|
+
*/
|
|
7
|
+
import { type PredicateOperator } from "../query/index.js";
|
|
8
|
+
import type { ArrangementKeyPart } from "./types.js";
|
|
9
|
+
/**
|
|
10
|
+
* The delimiter between a field's wire name and its operator, and between
|
|
11
|
+
* the operator and a conjunct's ordinal: `tags__isAny__1` is the second
|
|
12
|
+
* conjunct on `tags` under `isAny`. A field's wire name never holds it, so
|
|
13
|
+
* the three segments cannot be confused.
|
|
5
14
|
*/
|
|
6
|
-
/** The delimiter between a field's wire name and its operator. */
|
|
7
15
|
export declare const OPERATOR_DELIMITER = "__";
|
|
16
|
+
/**
|
|
17
|
+
* The parameter each written member of a query is spelled under: the
|
|
18
|
+
* search, the ordering, the grouping, and the window's page, size and
|
|
19
|
+
* cursor. Named once, so every reader and writer of the grammar spells
|
|
20
|
+
* them alike.
|
|
21
|
+
*
|
|
22
|
+
* @experimental Pre-release: the whole surface is still settling, and this
|
|
23
|
+
* name may change or move before the first release.
|
|
24
|
+
*/
|
|
25
|
+
export declare const QUERY_KEYS: Readonly<{
|
|
26
|
+
readonly search: "q";
|
|
27
|
+
readonly sort: "sort";
|
|
28
|
+
readonly group: "group";
|
|
29
|
+
readonly page: "page";
|
|
30
|
+
readonly size: "size";
|
|
31
|
+
readonly cursor: "cursor";
|
|
32
|
+
}>;
|
|
8
33
|
/**
|
|
9
34
|
* The parameters the grammar writes for every collection. Collapse is
|
|
10
35
|
* window-class but has no spelling: a reload expands every group.
|
|
@@ -17,19 +42,19 @@ export declare const WRITTEN_QUERY_KEYS: readonly string[];
|
|
|
17
42
|
*/
|
|
18
43
|
export declare const VIEW_KEY = "view";
|
|
19
44
|
/**
|
|
20
|
-
* The
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* `readArrangementParams` reads it.
|
|
45
|
+
* The prefix of the parameters a table's arrangement is carried in where no
|
|
46
|
+
* script keeps it: `table.<id>.order` and `table.<id>.hidden`, as the
|
|
47
|
+
* presentation keys they carry.
|
|
24
48
|
*/
|
|
25
|
-
export declare const
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
49
|
+
export declare const ARRANGEMENT_QUERY_PREFIX = "table.";
|
|
50
|
+
/** The prefix as a pattern's source. */
|
|
51
|
+
export declare const ARRANGEMENT_QUERY_SOURCE: string;
|
|
52
|
+
/** The parts a table keeps, which no spelled id may read as. */
|
|
53
|
+
export declare const ARRANGEMENT_KEY_PARTS: readonly ArrangementKeyPart[];
|
|
54
|
+
/** A spelled table id: any id, encoded so it holds no dot and names no part. */
|
|
55
|
+
export declare const TABLE_ID_SOURCE: string;
|
|
56
|
+
/** A parameter carrying one table's order or hidden columns, and its parts. */
|
|
57
|
+
export declare const ARRANGEMENT_QUERY_PATTERN: RegExp;
|
|
33
58
|
/**
|
|
34
59
|
* Parameter names the grammar reserves: those it writes, plus the
|
|
35
60
|
* annotation names it leaves to the host. A field's wire name may not
|
|
@@ -37,8 +62,19 @@ export declare const HIDDEN_QUERY_KEY = "table.hidden";
|
|
|
37
62
|
*/
|
|
38
63
|
export declare const RESERVED_QUERY_KEYS: readonly string[];
|
|
39
64
|
/**
|
|
40
|
-
* The operators a key may carry after the delimiter
|
|
41
|
-
* the
|
|
65
|
+
* The operators a key may carry after the delimiter: every operator, read
|
|
66
|
+
* off the one exhaustive arity table, so an operator added to the grammar
|
|
67
|
+
* is spelled on the wire without a second list to keep. `isAny` is written
|
|
68
|
+
* as the bare field name, and read under both spellings as one predicate.
|
|
69
|
+
*/
|
|
70
|
+
export declare const SUFFIXED_OPERATORS: readonly PredicateOperator[];
|
|
71
|
+
/**
|
|
72
|
+
* The values a presence key reads as: `true` and `false`, and `1`, which
|
|
73
|
+
* links spelled before presence took a boolean carry, as `true`.
|
|
42
74
|
*/
|
|
43
|
-
export declare const
|
|
75
|
+
export declare const PRESENCE_VALUES: Readonly<{
|
|
76
|
+
readonly true: true;
|
|
77
|
+
readonly false: false;
|
|
78
|
+
readonly "1": true;
|
|
79
|
+
}>;
|
|
44
80
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/constants.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAkB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,OAAO,CAAC;AAEvC;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU;qBACb,GAAG;mBACL,MAAM;oBACL,OAAO;mBACR,MAAM;mBACN,MAAM;qBACJ,QAAQ;EACP,CAAC;AAEZ;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,MAAM,EAE/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,SAAS,CAAC;AAE/B;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,WAAW,CAAC;AAEjD,wCAAwC;AACxC,eAAO,MAAM,wBAAwB,QAGpC,CAAC;AAEF,gEAAgE;AAChE,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EAClB,CAAC;AAE9C,gFAAgF;AAChF,eAAO,MAAM,eAAe,QAAuD,CAAC;AAEpF,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,QAErC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,MAAM,EAI/C,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,SAAS,iBAAiB,EAG1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;EAIjB,CAAC"}
|
|
@@ -4,10 +4,13 @@ import type { DecodedQuery, DecodeQueryConfig } from "./types.js";
|
|
|
4
4
|
*
|
|
5
5
|
* The schema enforces every owned clause: values are parsed to their field's
|
|
6
6
|
* type, operators are checked against the field's kind, and a clause that
|
|
7
|
-
* fails is left out and reported.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* fails is left out and reported. A third segment is the conjunct's
|
|
8
|
+
* ordinal, `tags__isAny__1`. With the source's capabilities, a clause it
|
|
9
|
+
* cannot execute is refused the same way. A key spelled `name__operator`
|
|
10
|
+
* with one of the grammar's operators is a filter even when the collection
|
|
11
|
+
* declares no such field, and is refused as `undeclared-field`; any other
|
|
12
|
+
* parameter naming no field of this collection belongs to the host and is
|
|
13
|
+
* left alone: unknown, not invalid. A blank value is a form control left empty
|
|
11
14
|
* and reads as no clause, so a GET form submits cleanly.
|
|
12
15
|
*
|
|
13
16
|
* @experimental Pre-release: the whole surface is still settling, and this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decodeQuery.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/decodeQuery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"decodeQuery.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/decodeQuery.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,YAAY,EACZ,iBAAiB,EAElB,MAAM,YAAY,CAAC;AA8JpB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,YAAY,CAsI3E"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CarryingEncodeConfig } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Write one query and its window as URL parameters, as `encodeQuery` does,
|
|
4
|
+
* keeping a followed link's refused clauses where they stood: a carried
|
|
5
|
+
* conjunct keeps its keys, and loses the values the destination no longer
|
|
6
|
+
* applies.
|
|
7
|
+
*/
|
|
8
|
+
export default function encodeCarryingQuery(config: CarryingEncodeConfig): URLSearchParams;
|
|
9
|
+
//# sourceMappingURL=encodeCarryingQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encodeCarryingQuery.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/encodeCarryingQuery.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,oBAAoB,EAAiB,MAAM,YAAY,CAAC;AAkXtE;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,MAAM,EAAE,oBAAoB,GAC3B,eAAe,CA+CjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encodeQuery.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/encodeQuery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"encodeQuery.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/encodeQuery.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAKpD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,MAAM,EAAE,iBAAiB,GACxB,eAAe,CAMjB"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default as areQueryIssuesEqual } from "./areQueryIssuesEqual.js";
|
|
2
|
+
export { ARRANGEMENT_QUERY_SOURCE, OPERATOR_DELIMITER, QUERY_KEYS, RESERVED_QUERY_KEYS, SUFFIXED_OPERATORS, TABLE_ID_SOURCE, VIEW_KEY, WRITTEN_QUERY_KEYS, } from "./constants.js";
|
|
2
3
|
export { default as decodeQuery } from "./decodeQuery.js";
|
|
4
|
+
export { default as encodeCarryingQuery } from "./encodeCarryingQuery.js";
|
|
3
5
|
export { default as encodeQuery } from "./encodeQuery.js";
|
|
6
|
+
export { default as isNarrowingIssue } from "./isNarrowingIssue.js";
|
|
4
7
|
export { default as isOwnedKey } from "./isOwnedKey.js";
|
|
5
8
|
export { default as readArrangementParams } from "./readArrangementParams.js";
|
|
6
9
|
export { default as readOpenView } from "./readOpenView.js";
|
|
7
10
|
export { default as readWireField } from "./readWireField.js";
|
|
8
11
|
export { default as rejectWireName } from "./rejectWireName.js";
|
|
12
|
+
export { default as spellArrangementKey } from "./spellArrangementKey.js";
|
|
9
13
|
export { default as spellArrangementParams } from "./spellArrangementParams.js";
|
|
10
14
|
export { default as spellWireKey } from "./spellWireKey.js";
|
|
15
|
+
export { default as spellWireValues } from "./spellWireValues.js";
|
|
11
16
|
export type * from "./types.js";
|
|
12
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,QAAQ,EACR,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,oBAAoB,CAA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AAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAClE,mBAAmB,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { QueryIssue } from "../result/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Whether a refused parameter would have narrowed the result: a filter on a
|
|
4
|
+
* field, declared or not, or the search `q`. Leaving one out runs a wider
|
|
5
|
+
* query than the link asked for, so the query is withheld while it stands.
|
|
6
|
+
* Every other parameter — the ordering, the window, the grouping, the view
|
|
7
|
+
* — falls back to its default and narrows nothing.
|
|
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 isNarrowingIssue(issue: QueryIssue): boolean;
|
|
13
|
+
//# sourceMappingURL=isNarrowingIssue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isNarrowingIssue.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/isNarrowingIssue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAEnE"}
|
|
@@ -3,7 +3,9 @@ import type { Schema, SchemaFieldDefinition } from "../schema/index.js";
|
|
|
3
3
|
* Whether one parameter belongs to a collection's query: a written name, a
|
|
4
4
|
* field, or any `field__…` address of one — a refused operator included, so
|
|
5
5
|
* the encoder clears what the decoder reported. A delimited name whose
|
|
6
|
-
* prefix is no field is the host's
|
|
6
|
+
* prefix is no field is the host's, unless its suffix is one of the
|
|
7
|
+
* grammar's operators: that spelling is a filter, on a field the collection
|
|
8
|
+
* does not declare.
|
|
7
9
|
*/
|
|
8
10
|
export default function isOwnedKey(key: string, schema: Schema<readonly SchemaFieldDefinition[]>): boolean;
|
|
9
11
|
//# sourceMappingURL=isOwnedKey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isOwnedKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/isOwnedKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"isOwnedKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/isOwnedKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAKxE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,CAAC,SAAS,qBAAqB,EAAE,CAAC,GAC/C,OAAO,CAMT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isReservedKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/isReservedKey.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAI1D"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import type { ArrangementParams } from "./types.js";
|
|
2
2
|
/**
|
|
3
|
-
* The column arrangement a set of parameters carries
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* no hidden column hides none, since a list of no ids has no spelling. Hidden
|
|
7
|
-
* columns carried alone leave the order to whatever lies beneath. A blank
|
|
8
|
-
* value is a form control left empty, as it is for every other parameter,
|
|
9
|
-
* and names no column.
|
|
3
|
+
* The column arrangement a set of parameters carries for each table, by
|
|
4
|
+
* its id; an order with no hidden parameter hides none, and a blank value
|
|
5
|
+
* names no column.
|
|
10
6
|
*/
|
|
11
|
-
export default function readArrangementParams(params: URLSearchParams): ArrangementParams
|
|
7
|
+
export default function readArrangementParams(params: URLSearchParams): ReadonlyMap<string, ArrangementParams>;
|
|
12
8
|
//# sourceMappingURL=readArrangementParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readArrangementParams.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/readArrangementParams.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"readArrangementParams.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/readArrangementParams.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAKpD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,MAAM,EAAE,eAAe,GACtB,WAAW,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAoBxC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Schema, type SchemaFieldDefinition } from "../schema/index.js";
|
|
2
|
+
import type { KeyReading } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* What one filter key's values read as, a blank read as no value: the
|
|
5
|
+
* issues they raise, and the conjunct they spell with the values it takes,
|
|
6
|
+
* or null. The one reading the decoder and the carry share. Pure.
|
|
7
|
+
*/
|
|
8
|
+
export default function readKeyPredicate(key: string, values: readonly string[], schema: Schema<readonly SchemaFieldDefinition[]>, definition: SchemaFieldDefinition): KeyReading;
|
|
9
|
+
//# sourceMappingURL=readKeyPredicate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readKeyPredicate.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/readKeyPredicate.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,qBAAqB,EAE3B,MAAM,oBAAoB,CAAC;AAI5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AA8F7C;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,MAAM,EAAE,MAAM,CAAC,SAAS,qBAAqB,EAAE,CAAC,EAChD,UAAU,EAAE,qBAAqB,GAChC,UAAU,CAoFZ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ArrangementKeyPart } from "./types.js";
|
|
2
|
+
/** One table's order or hidden key, read back: the table's id and the part. */
|
|
3
|
+
type TableKey = {
|
|
4
|
+
readonly table: string;
|
|
5
|
+
readonly part: Extract<ArrangementKeyPart, "order" | "hidden">;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* The table and part a parameter's key carries, however the link spelled
|
|
9
|
+
* the id; null for a key that names no table's order or hidden columns.
|
|
10
|
+
*/
|
|
11
|
+
export default function readTableKey(key: string): TableKey | null;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=readTableKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readTableKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/readTableKey.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,+EAA+E;AAC/E,KAAK,QAAQ,GAAG;IACd,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,kBAAkB,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;CAChE,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAajE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Schema, SchemaFieldDefinition } from "../schema/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The field a filter's key addresses when the collection does not declare
|
|
4
|
+
* it, or null for any other key. Only a delimited key whose operator is one
|
|
5
|
+
* of the grammar's is a filter — with an ordinal after it or none:
|
|
6
|
+
* `gone__isAny` and `gone__isAny__1` address a field that may have been
|
|
7
|
+
* removed, while a bare `gone` cannot be told apart from a parameter of the
|
|
8
|
+
* host's own.
|
|
9
|
+
*/
|
|
10
|
+
export default function readUndeclaredField(key: string, schema: Schema<readonly SchemaFieldDefinition[]>): string | null;
|
|
11
|
+
//# sourceMappingURL=readUndeclaredField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readUndeclaredField.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/readUndeclaredField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAIxE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,CAAC,SAAS,qBAAqB,EAAE,CAAC,GAC/C,MAAM,GAAG,IAAI,CASf"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WireKey } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Split one parameter name into the segments of a filter's key: the field
|
|
4
|
+
* before the first delimiter, the operator after it, and the ordinal after
|
|
5
|
+
* the second. Digits with leading zeros read as their number — `__01` is
|
|
6
|
+
* ordinal 1 — and anything else after the second delimiter, a further
|
|
7
|
+
* delimiter included, is no ordinal. Pure: what the segments mean is the
|
|
8
|
+
* reader's to decide.
|
|
9
|
+
*/
|
|
10
|
+
export default function readWireKey(key: string): WireKey;
|
|
11
|
+
//# sourceMappingURL=readWireKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readWireKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/readWireKey.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAe1C;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAgBxD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { KeyConjunct, ReadPredicate, RecordedConjunct } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* The conjuncts read so far with one key's conjunct kept among them. A set
|
|
4
|
+
* operator read under a second spelling of one conjunct — `status`,
|
|
5
|
+
* `status__isAny` and `status__isAny__0` — is one conjunct, holding the
|
|
6
|
+
* operands of each and read from each key. A second spelling of a conjunct
|
|
7
|
+
* that carries one value repeats it, and is reported and ignored. Pure.
|
|
8
|
+
*/
|
|
9
|
+
export default function recordConjunct(filter: readonly ReadPredicate[], key: string, conjunct: KeyConjunct): RecordedConjunct;
|
|
10
|
+
//# sourceMappingURL=recordConjunct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordConjunct.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/recordConjunct.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE/E;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,MAAM,EAAE,SAAS,aAAa,EAAE,EAChC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,WAAW,GACpB,gBAAgB,CA2ClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rejectWireName.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/rejectWireName.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rejectWireName.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/rejectWireName.ts"],"names":[],"mappings":"AAGA,2EAA2E;AAC3E,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQnE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ArrangementKeyPart } from "./types.js";
|
|
2
|
+
/** The key or parameter one table keeps a part of its arrangement under. */
|
|
3
|
+
export default function spellArrangementKey(table: string, part: ArrangementKeyPart): string;
|
|
4
|
+
//# sourceMappingURL=spellArrangementKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spellArrangementKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellArrangementKey.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,4EAA4E;AAC5E,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,kBAAkB,GACvB,MAAM,CAER"}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import type { ArrangementParams } from "./types.js";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* carried
|
|
5
|
-
* repeated column id; with none, neither. Every other parameter survives,
|
|
6
|
-
* in its original order and with its duplicates, and the parameters given
|
|
7
|
-
* are not changed.
|
|
8
|
-
*
|
|
9
|
-
* What `readArrangementParams` reads back is the arrangement spelled, except
|
|
10
|
-
* that an order of no columns, having no spelling, reads back as none.
|
|
3
|
+
* Parameters carrying one table's arrangement in place of the one they
|
|
4
|
+
* carried for it; every other parameter survives as it was.
|
|
11
5
|
*/
|
|
12
|
-
export default function spellArrangementParams(params: URLSearchParams, arrangement: ArrangementParams | null): URLSearchParams;
|
|
6
|
+
export default function spellArrangementParams(params: URLSearchParams, table: string, arrangement: ArrangementParams | null): URLSearchParams;
|
|
13
7
|
//# sourceMappingURL=spellArrangementParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spellArrangementParams.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellArrangementParams.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"spellArrangementParams.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellArrangementParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,iBAAiB,GAAG,IAAI,GACpC,eAAe,CAejB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spellOperand.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellOperand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AA8B1D,sEAAsE;AACtE,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAItE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spellTableId.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellTableId.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAK1D"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { PredicateOperator } from "../query/index.js";
|
|
2
2
|
/**
|
|
3
|
-
* The wire key
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* The wire key a conjunct is written under: the bare field for `isAny`,
|
|
4
|
+
* `field__operator` otherwise, and `field__operator__ordinal` for an
|
|
5
|
+
* `ordinal` from 1.
|
|
6
6
|
*
|
|
7
7
|
* @experimental Pre-release: the whole surface is still settling, and this
|
|
8
8
|
* name may change or move before the first release.
|
|
9
9
|
*/
|
|
10
|
-
export default function spellWireKey(field: string, operator: PredicateOperator): string;
|
|
10
|
+
export default function spellWireKey(field: string, operator: PredicateOperator, ordinal?: number): string;
|
|
11
11
|
//# sourceMappingURL=spellWireKey.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spellWireKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellWireKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"spellWireKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellWireKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,SAAI,GACV,MAAM,CAOR"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Predicate } from "../query/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The values one conjunct's key repeats on the wire, in its operands'
|
|
4
|
+
* order: a set's options by their own string form, as an option is matched,
|
|
5
|
+
* and a bound, a text or `isSet`'s `true` or `false` in the plain form the
|
|
6
|
+
* input grammar reads. What a hidden form control carrying the
|
|
7
|
+
* conjunct holds. Pure.
|
|
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 spellWireValues(predicate: Predicate): readonly string[];
|
|
13
|
+
//# sourceMappingURL=spellWireValues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spellWireValues.d.ts","sourceRoot":"","sources":["../../../../src/lib/wire/spellWireValues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGnE;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CACrC,SAAS,EAAE,SAAS,GACnB,SAAS,MAAM,EAAE,CAInB"}
|