@ahoo-wang/wow-view-engine 10.0.0-alpha.6 → 10.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -16
- package/README.zh-CN.md +55 -16
- package/dist/{actions-CgaL6eEe.js → actions-ClYpI7gy.js} +4004 -3956
- package/dist/actions-ClYpI7gy.js.map +1 -0
- package/dist/analysis/additive.d.ts +2 -2
- package/dist/analysis/additive.d.ts.map +1 -1
- package/dist/analysis/boxplot.d.ts.map +1 -1
- package/dist/analysis/bucketChange.d.ts +1 -1
- package/dist/analysis/buckets.d.ts +5 -5
- package/dist/analysis/buckets.d.ts.map +1 -1
- package/dist/analysis/budget.d.ts.map +1 -1
- package/dist/analysis/candidates.d.ts +2 -1
- package/dist/analysis/candidates.d.ts.map +1 -1
- package/dist/analysis/candlestick.d.ts.map +1 -1
- package/dist/analysis/capability.d.ts.map +1 -1
- package/dist/analysis/cartesian.d.ts.map +1 -1
- package/dist/analysis/chartFamilies.d.ts +1 -1
- package/dist/analysis/chartOptions.d.ts +13 -2
- package/dist/analysis/chartOptions.d.ts.map +1 -1
- package/dist/analysis/chartSlots.d.ts.map +1 -1
- package/dist/analysis/compile.d.ts +1 -1
- package/dist/analysis/compile.d.ts.map +1 -1
- package/dist/analysis/currency.d.ts.map +1 -1
- package/dist/analysis/dangling.d.ts +2 -1
- package/dist/analysis/dangling.d.ts.map +1 -1
- package/dist/analysis/defaults.d.ts +10 -9
- package/dist/analysis/defaults.d.ts.map +1 -1
- package/dist/analysis/derived.d.ts +2 -2
- package/dist/analysis/derived.d.ts.map +1 -1
- package/dist/analysis/drill.d.ts +12 -6
- package/dist/analysis/drill.d.ts.map +1 -1
- package/dist/analysis/drillFilter.d.ts.map +1 -1
- package/dist/analysis/expand.d.ts +1 -1
- package/dist/analysis/expand.d.ts.map +1 -1
- package/dist/analysis/expressions.d.ts.map +1 -1
- package/dist/analysis/familyRules.d.ts +2 -2
- package/dist/analysis/familyRules.d.ts.map +1 -1
- package/dist/analysis/familySlots.d.ts +4 -4
- package/dist/analysis/fitCharts.d.ts +2 -2
- package/dist/analysis/fitCharts.d.ts.map +1 -1
- package/dist/analysis/formula.d.ts +10 -9
- package/dist/analysis/formula.d.ts.map +1 -1
- package/dist/analysis/granularity.d.ts +2 -2
- package/dist/analysis/granularity.d.ts.map +1 -1
- package/dist/analysis/having.d.ts +2 -1
- package/dist/analysis/having.d.ts.map +1 -1
- package/dist/analysis/logScale.d.ts +1 -1
- package/dist/analysis/metricCard.d.ts +2 -2
- package/dist/analysis/metricCard.d.ts.map +1 -1
- package/dist/analysis/metricCondition.d.ts +1 -1
- package/dist/analysis/metricCondition.d.ts.map +1 -1
- package/dist/analysis/metricFormat.d.ts +3 -2
- package/dist/analysis/metricFormat.d.ts.map +1 -1
- package/dist/analysis/metricOrder.d.ts +2 -2
- package/dist/analysis/metricOrder.d.ts.map +1 -1
- package/dist/analysis/metricWindow.d.ts.map +1 -1
- package/dist/analysis/project.d.ts +8 -3
- package/dist/analysis/project.d.ts.map +1 -1
- package/dist/analysis/serverLines.d.ts +5 -5
- package/dist/analysis/serverLines.d.ts.map +1 -1
- package/dist/analysis/splitOther.d.ts +1 -1
- package/dist/analysis/timeAxis.d.ts +3 -2
- package/dist/analysis/timeAxis.d.ts.map +1 -1
- package/dist/analysis/top.d.ts +1 -1
- package/dist/analysis/top.d.ts.map +1 -1
- package/dist/analysis/validateFamilies.d.ts.map +1 -1
- package/dist/analysis/validateGroups.d.ts.map +1 -1
- package/dist/analysis/validateLevels.d.ts.map +1 -1
- package/dist/analysis/validateMetrics.d.ts.map +1 -1
- package/dist/analysis/validateOffers.d.ts.map +1 -1
- package/dist/analysis/validateReferences.d.ts +2 -2
- package/dist/analysis/validateTop.d.ts +1 -1
- package/dist/analysis/validateTop.d.ts.map +1 -1
- package/dist/capabilities/aliases.d.ts.map +1 -1
- package/dist/capabilities/analysis.d.ts.map +1 -1
- package/dist/capabilities/cache.d.ts +3 -20
- package/dist/capabilities/cache.d.ts.map +1 -1
- package/dist/capabilities/fields.d.ts +2 -2
- package/dist/capabilities/fields.d.ts.map +1 -1
- package/dist/capabilities/match.d.ts +15 -5
- package/dist/capabilities/match.d.ts.map +1 -1
- package/dist/capabilities/narrow.d.ts.map +1 -1
- package/dist/capabilities/open.d.ts.map +1 -1
- package/dist/capabilities/record.d.ts.map +1 -1
- package/dist/{cartesianBrush-HLU12ig5.js → cartesianBrush-bgRuE6Ks.js} +3 -5
- package/dist/cartesianBrush-bgRuE6Ks.js.map +1 -0
- package/dist/dashboard/click.d.ts +9 -9
- package/dist/dashboard/click.d.ts.map +1 -1
- package/dist/dashboard/clickDraft.d.ts +1 -1
- package/dist/dashboard/edit.d.ts +6 -6
- package/dist/dashboard/filterEdit.d.ts +5 -6
- package/dist/dashboard/filterEdit.d.ts.map +1 -1
- package/dist/dashboard/filters.d.ts +9 -10
- package/dist/dashboard/filters.d.ts.map +1 -1
- package/dist/dashboard/index.d.ts +0 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/layout.d.ts +2 -2
- package/dist/dashboard/merge.d.ts +2 -2
- package/dist/dashboard/panelLook.d.ts +1 -1
- package/dist/dashboard/panels.d.ts +1 -1
- package/dist/dashboard/timeBindings.d.ts +2 -12
- package/dist/dashboard/timeBindings.d.ts.map +1 -1
- package/dist/dashboard/validate.d.ts.map +1 -1
- package/dist/dashboard/validateFilters.d.ts +2 -2
- package/dist/dashboard/wiring.d.ts +5 -5
- package/dist/{echarts-HUGzxow7.js → echarts-rjTKpBsf.js} +3 -4
- package/dist/{echarts-HUGzxow7.js.map → echarts-rjTKpBsf.js.map} +1 -1
- package/dist/{echartsGeo-BWbXo9ef.js → echartsGeo-qZv2ZF9e.js} +2 -3
- package/dist/{echartsGeo-BWbXo9ef.js.map → echartsGeo-qZv2ZF9e.js.map} +1 -1
- package/dist/{echartsHierarchy-Cm-9-LN9.js → echartsHierarchy-DHNP9W4v.js} +2 -3
- package/dist/{echartsHierarchy-Cm-9-LN9.js.map → echartsHierarchy-DHNP9W4v.js.map} +1 -1
- package/dist/{echartsStatistics-Lq-BjHez.js → echartsStatistics-DCDWqvde.js} +2 -3
- package/dist/{echartsStatistics-Lq-BjHez.js.map → echartsStatistics-DCDWqvde.js.map} +1 -1
- package/dist/{echartsTime-gMH0oF0x.js → echartsTime-DIRSRMnr.js} +2 -3
- package/dist/{echartsTime-gMH0oF0x.js.map → echartsTime-DIRSRMnr.js.map} +1 -1
- package/dist/export-D1udIJPm.js +29 -0
- package/dist/export-D1udIJPm.js.map +1 -0
- package/dist/filter/describe.d.ts +6 -6
- package/dist/filter/describe.d.ts.map +1 -1
- package/dist/filter/kinds/array.d.ts.map +1 -1
- package/dist/filter/kinds/boolean.d.ts.map +1 -1
- package/dist/filter/kinds/dateTime.d.ts.map +1 -1
- package/dist/filter/kinds/deletion.d.ts +2 -2
- package/dist/filter/kinds/deletion.d.ts.map +1 -1
- package/dist/filter/kinds/duration.d.ts.map +1 -1
- package/dist/filter/kinds/elementMatch.d.ts.map +1 -1
- package/dist/filter/kinds/entries.d.ts.map +1 -1
- package/dist/filter/kinds/enum.d.ts.map +1 -1
- package/dist/filter/kinds/metadata.d.ts.map +1 -1
- package/dist/filter/kinds/number.d.ts.map +1 -1
- package/dist/filter/kinds/presence.d.ts +1 -0
- package/dist/filter/kinds/presence.d.ts.map +1 -1
- package/dist/filter/kinds/reference.d.ts +5 -0
- package/dist/filter/kinds/reference.d.ts.map +1 -1
- package/dist/filter/kinds/string.d.ts.map +1 -1
- package/dist/filter/operatorWords.d.ts +21 -0
- package/dist/filter/operatorWords.d.ts.map +1 -0
- package/dist/filter/search.d.ts.map +1 -1
- package/dist/filter/time.d.ts +2 -2
- package/dist/filter/time.d.ts.map +1 -1
- package/dist/filter/tree.d.ts.map +1 -1
- package/dist/filter/validate.d.ts.map +1 -1
- package/dist/filter/values.d.ts +6 -5
- package/dist/filter/values.d.ts.map +1 -1
- package/dist/index.d.ts +53 -89
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +214 -213
- package/dist/index.js.map +1 -1
- package/dist/model/analysis.d.ts +61 -59
- package/dist/model/analysis.d.ts.map +1 -1
- package/dist/model/chart.d.ts +16 -6
- package/dist/model/chart.d.ts.map +1 -1
- package/dist/model/config.d.ts +2 -2
- package/dist/model/dashboard.d.ts +28 -48
- package/dist/model/dashboard.d.ts.map +1 -1
- package/dist/model/definition.d.ts +17 -17
- package/dist/model/definition.d.ts.map +1 -1
- package/dist/model/field.d.ts +35 -5
- package/dist/model/field.d.ts.map +1 -1
- package/dist/model/filter.d.ts +5 -5
- package/dist/model/filter.d.ts.map +1 -1
- package/dist/model/index.d.ts +2 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/limits.d.ts +29 -0
- package/dist/model/limits.d.ts.map +1 -1
- package/dist/model/record.d.ts +7 -6
- package/dist/model/record.d.ts.map +1 -1
- package/dist/model/text.d.ts +1 -1
- package/dist/model/values.d.ts +8 -0
- package/dist/model/values.d.ts.map +1 -0
- package/dist/model/wire.d.ts +32 -0
- package/dist/model/wire.d.ts.map +1 -0
- package/dist/react/actionRunner.d.ts +16 -1
- package/dist/react/actionRunner.d.ts.map +1 -1
- package/dist/react/analysisEditing.d.ts +79 -46
- package/dist/react/analysisEditing.d.ts.map +1 -1
- package/dist/react/analysisFields.d.ts +5 -5
- package/dist/react/analysisFields.d.ts.map +1 -1
- package/dist/react/engineContext.d.ts +17 -0
- package/dist/react/engineContext.d.ts.map +1 -0
- package/dist/react/index.d.ts +17 -15
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/issues.d.ts +0 -1
- package/dist/react/issues.d.ts.map +1 -1
- package/dist/react/manager/wording.d.ts +1 -1
- package/dist/react/manager/wording.d.ts.map +1 -1
- package/dist/react/recordColumns.d.ts +1 -1
- package/dist/react/recordColumns.d.ts.map +1 -1
- package/dist/react/recordDraft.d.ts.map +1 -1
- package/dist/react/recordEdits.d.ts.map +1 -1
- package/dist/react/referenceNames.d.ts +20 -0
- package/dist/react/referenceNames.d.ts.map +1 -0
- package/dist/react/useAnalysisEditor.d.ts +10 -9
- package/dist/react/useAnalysisEditor.d.ts.map +1 -1
- package/dist/react/useAnalysisResult.d.ts +17 -3
- package/dist/react/useAnalysisResult.d.ts.map +1 -1
- package/dist/react/useAutoRefresh.d.ts +8 -6
- package/dist/react/useAutoRefresh.d.ts.map +1 -1
- package/dist/react/useCreateViewEngine.d.ts +11 -0
- package/dist/react/useCreateViewEngine.d.ts.map +1 -0
- package/dist/react/useDashboard.d.ts +12 -5
- package/dist/react/useDashboard.d.ts.map +1 -1
- package/dist/react/useDatasets.d.ts +33 -21
- package/dist/react/useDatasets.d.ts.map +1 -1
- package/dist/react/useFilterEditor.d.ts.map +1 -1
- package/dist/react/{useViewEngine.d.ts → useOpenView.d.ts} +22 -36
- package/dist/react/useOpenView.d.ts.map +1 -0
- package/dist/react/usePanelFollowUps.d.ts +11 -2
- package/dist/react/usePanelFollowUps.d.ts.map +1 -1
- package/dist/react/useRecordActions.d.ts +16 -3
- package/dist/react/useRecordActions.d.ts.map +1 -1
- package/dist/react/useRecordDetail.d.ts +9 -6
- package/dist/react/useRecordDetail.d.ts.map +1 -1
- package/dist/react/useRecordExport.d.ts +5 -1
- package/dist/react/useRecordExport.d.ts.map +1 -1
- package/dist/react/useRecordKanban.d.ts +1 -1
- package/dist/react/useRecordTable.d.ts +2 -4
- package/dist/react/useRecordTable.d.ts.map +1 -1
- package/dist/react/useReferenceLabels.d.ts +9 -0
- package/dist/react/useReferenceLabels.d.ts.map +1 -0
- package/dist/react/useReshape.d.ts +2 -2
- package/dist/react/useSaveCommands.d.ts +9 -7
- package/dist/react/useSaveCommands.d.ts.map +1 -1
- package/dist/react/useValueCandidates.d.ts +17 -6
- package/dist/react/useValueCandidates.d.ts.map +1 -1
- package/dist/react/useViewList.d.ts +23 -11
- package/dist/react/useViewList.d.ts.map +1 -1
- package/dist/react/useViewManager.d.ts +6 -1
- package/dist/react/useViewManager.d.ts.map +1 -1
- package/dist/react/useViewRuntime.d.ts +23 -0
- package/dist/react/useViewRuntime.d.ts.map +1 -0
- package/dist/react/useWorkbench.d.ts +1 -1
- package/dist/react/useWorkbench.d.ts.map +1 -1
- package/dist/react/workbench/handOver.d.ts +10 -3
- package/dist/react/workbench/handOver.d.ts.map +1 -1
- package/dist/react/workbench/releaseDeleted.d.ts +13 -6
- package/dist/react/workbench/releaseDeleted.d.ts.map +1 -1
- package/dist/react-Cqk337ck.js +4202 -0
- package/dist/react-Cqk337ck.js.map +1 -0
- package/dist/react-router/index.d.ts +1 -0
- package/dist/react-router/index.d.ts.map +1 -1
- package/dist/react-router.js +1 -2
- package/dist/react-router.js.map +1 -1
- package/dist/react.js +1 -3
- package/dist/record/compile.d.ts.map +1 -1
- package/dist/record/kanban.d.ts +2 -2
- package/dist/record/kanban.d.ts.map +1 -1
- package/dist/record/paging.d.ts +11 -2
- package/dist/record/paging.d.ts.map +1 -1
- package/dist/record/project.d.ts +17 -1
- package/dist/record/project.d.ts.map +1 -1
- package/dist/record/summaryCurrency.d.ts.map +1 -1
- package/dist/record/validate.d.ts.map +1 -1
- package/dist/{routes-DvPNPlQP.js → routes-CMXKbAo2.js} +2 -3
- package/dist/{routes-DvPNPlQP.js.map → routes-CMXKbAo2.js.map} +1 -1
- package/dist/runtime/actions.d.ts +42 -7
- package/dist/runtime/actions.d.ts.map +1 -1
- package/dist/runtime/autoApply.d.ts +1 -1
- package/dist/runtime/capabilities.d.ts +2 -2
- package/dist/runtime/capabilities.d.ts.map +1 -1
- package/dist/runtime/dashboard/anchor.d.ts +2 -2
- package/dist/runtime/dashboard/anchor.d.ts.map +1 -1
- package/dist/runtime/dashboard/canonical.d.ts +2 -2
- package/dist/runtime/dashboard/commands.d.ts +2 -2
- package/dist/runtime/dashboard/commands.d.ts.map +1 -1
- package/dist/runtime/dashboard/contract.d.ts +6 -6
- package/dist/runtime/dashboard/contract.d.ts.map +1 -1
- package/dist/runtime/dashboard/editing.d.ts +2 -2
- package/dist/runtime/dashboard/filterCandidates.d.ts +1 -1
- package/dist/runtime/dashboard/filterValues.d.ts +16 -4
- package/dist/runtime/dashboard/filterValues.d.ts.map +1 -1
- package/dist/runtime/dashboard/grouping.d.ts +4 -4
- package/dist/runtime/dashboard/grouping.d.ts.map +1 -1
- package/dist/runtime/dashboard/panelRun.d.ts +2 -2
- package/dist/runtime/dashboard/panels.d.ts +1 -1
- package/dist/runtime/dashboard/press.d.ts +1 -1
- package/dist/runtime/dashboard/press.d.ts.map +1 -1
- package/dist/runtime/dashboard/references.d.ts +1 -1
- package/dist/runtime/dashboard/references.d.ts.map +1 -1
- package/dist/runtime/dashboardRuntime.d.ts +5 -2
- package/dist/runtime/dashboardRuntime.d.ts.map +1 -1
- package/dist/runtime/datasetResources.d.ts +57 -70
- package/dist/runtime/datasetResources.d.ts.map +1 -1
- package/dist/runtime/define/defineDataset.d.ts +1 -1
- package/dist/runtime/define/defineView.d.ts +1 -1
- package/dist/runtime/define/defineView.d.ts.map +1 -1
- package/dist/runtime/define/fields.d.ts +2 -2
- package/dist/runtime/define/fields.d.ts.map +1 -1
- package/dist/runtime/define/spec.d.ts +5 -1
- package/dist/runtime/define/spec.d.ts.map +1 -1
- package/dist/runtime/deprecated.d.ts.map +1 -1
- package/dist/runtime/environment.d.ts +95 -47
- package/dist/runtime/environment.d.ts.map +1 -1
- package/dist/runtime/execute.d.ts +2 -2
- package/dist/runtime/execute.d.ts.map +1 -1
- package/dist/runtime/exportRows.d.ts +10 -0
- package/dist/runtime/exportRows.d.ts.map +1 -1
- package/dist/runtime/failure/failures.d.ts +23 -11
- package/dist/runtime/failure/failures.d.ts.map +1 -1
- package/dist/runtime/failure/issueReport.d.ts.map +1 -1
- package/dist/runtime/failure/queryFailure.d.ts +1 -1
- package/dist/runtime/failure/queryFailure.d.ts.map +1 -1
- package/dist/runtime/failure/unavailable.d.ts +1 -1
- package/dist/runtime/fetchRecord.d.ts.map +1 -1
- package/dist/runtime/index.d.ts +5 -3
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/instanceWrites.d.ts +15 -9
- package/dist/runtime/instanceWrites.d.ts.map +1 -1
- package/dist/runtime/kanban.d.ts +1 -1
- package/dist/runtime/labelIds.d.ts +56 -0
- package/dist/runtime/labelIds.d.ts.map +1 -0
- package/dist/runtime/navigation.d.ts +6 -6
- package/dist/runtime/panelViews.d.ts +3 -5
- package/dist/runtime/panelViews.d.ts.map +1 -1
- package/dist/runtime/pending.d.ts +2 -2
- package/dist/runtime/permissions.d.ts +2 -2
- package/dist/runtime/permissions.d.ts.map +1 -1
- package/dist/runtime/preferences.d.ts +2 -2
- package/dist/runtime/preferences.d.ts.map +1 -1
- package/dist/runtime/queryWeight.d.ts.map +1 -1
- package/dist/runtime/recordRuntime.d.ts +10 -1
- package/dist/runtime/recordRuntime.d.ts.map +1 -1
- package/dist/runtime/referenceLabels.d.ts +170 -0
- package/dist/runtime/referenceLabels.d.ts.map +1 -0
- package/dist/runtime/resources.d.ts +35 -94
- package/dist/runtime/resources.d.ts.map +1 -1
- package/dist/runtime/restyle.d.ts +1 -1
- package/dist/runtime/runtimeFactory.d.ts +5 -4
- package/dist/runtime/runtimeFactory.d.ts.map +1 -1
- package/dist/runtime/source.d.ts +55 -48
- package/dist/runtime/source.d.ts.map +1 -1
- package/dist/runtime/summaries.d.ts +9 -1
- package/dist/runtime/summaries.d.ts.map +1 -1
- package/dist/runtime/tabMemory.d.ts +1 -1
- package/dist/runtime/validateFields.d.ts.map +1 -1
- package/dist/runtime/valueCandidates.d.ts.map +1 -1
- package/dist/runtime/viewEngine.d.ts +103 -105
- package/dist/runtime/viewEngine.d.ts.map +1 -1
- package/dist/runtime/viewEngineOptions.d.ts +79 -0
- package/dist/runtime/viewEngineOptions.d.ts.map +1 -0
- package/dist/runtime/viewRuntime.d.ts +6 -9
- package/dist/runtime/viewRuntime.d.ts.map +1 -1
- package/dist/runtime/viewRuntimeTypes.d.ts +39 -8
- package/dist/runtime/viewRuntimeTypes.d.ts.map +1 -1
- package/dist/store/MemoryViewStore.d.ts +24 -16
- package/dist/store/MemoryViewStore.d.ts.map +1 -1
- package/dist/store/ViewStore.d.ts +45 -17
- package/dist/store/ViewStore.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/actions.d.ts +6 -4
- package/dist/testing/actions.d.ts.map +1 -1
- package/dist/testing/aggregate.d.ts +4 -2
- package/dist/testing/aggregate.d.ts.map +1 -1
- package/dist/testing/filter.d.ts +3 -3
- package/dist/testing/filter.d.ts.map +1 -1
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/source.d.ts +4 -4
- package/dist/testing/source.d.ts.map +1 -1
- package/dist/testing.js +180 -177
- package/dist/testing.js.map +1 -1
- package/dist/theme-check.mjs +102 -127
- package/dist/ui/DashboardWorkbench.d.ts +2 -2
- package/dist/ui/DashboardWorkbench.d.ts.map +1 -1
- package/dist/ui/DataWorkbench.d.ts +2 -2
- package/dist/ui/DataWorkbench.d.ts.map +1 -1
- package/dist/ui/DatasetWorkbench.d.ts +11 -21
- package/dist/ui/DatasetWorkbench.d.ts.map +1 -1
- package/dist/ui/EmbeddedDashboard.d.ts +1 -1
- package/dist/ui/EmbeddedDashboard.d.ts.map +1 -1
- package/dist/ui/EmbeddedView.d.ts +1 -1
- package/dist/ui/ViewHost.d.ts +6 -6
- package/dist/ui/ViewHost.d.ts.map +1 -1
- package/dist/ui/actions/ActionButtons.d.ts.map +1 -1
- package/dist/ui/actions/ActionDialog.d.ts.map +1 -1
- package/dist/ui/actions/ActionSurface.d.ts +6 -0
- package/dist/ui/actions/ActionSurface.d.ts.map +1 -1
- package/dist/ui/actions/BulkStatus.d.ts.map +1 -1
- package/dist/ui/actions/kanbanMove.d.ts +1 -1
- package/dist/ui/analysis/AnalysisTable.d.ts.map +1 -1
- package/dist/ui/analysis/AnalysisToolbar.d.ts +1 -1
- package/dist/ui/analysis/AnalysisToolbar.d.ts.map +1 -1
- package/dist/ui/analysis/AxesTab.d.ts +1 -1
- package/dist/ui/analysis/CardMenu.d.ts +1 -1
- package/dist/ui/analysis/ChartOptions.d.ts +1 -1
- package/dist/ui/analysis/ChartOptions.d.ts.map +1 -1
- package/dist/ui/analysis/ChartPicker.d.ts +1 -1
- package/dist/ui/analysis/CompositionOptions.d.ts +1 -1
- package/dist/ui/analysis/CurrencyStrip.d.ts.map +1 -1
- package/dist/ui/analysis/DataTab.d.ts +1 -1
- package/dist/ui/analysis/DimensionCard.d.ts.map +1 -1
- package/dist/ui/analysis/DisplayTab.d.ts +1 -1
- package/dist/ui/analysis/DisplayTab.d.ts.map +1 -1
- package/dist/ui/analysis/DrillMenu.d.ts +1 -1
- package/dist/ui/analysis/DroppedNotice.d.ts +1 -1
- package/dist/ui/analysis/ElementsSlot.d.ts +1 -1
- package/dist/ui/analysis/ExportMenu.d.ts +3 -3
- package/dist/ui/analysis/ExportMenu.d.ts.map +1 -1
- package/dist/ui/analysis/FormulaCard.d.ts.map +1 -1
- package/dist/ui/analysis/HavingRows.d.ts +1 -1
- package/dist/ui/analysis/HavingRows.d.ts.map +1 -1
- package/dist/ui/analysis/LevelOptions.d.ts +1 -1
- package/dist/ui/analysis/MapOptions.d.ts +1 -1
- package/dist/ui/analysis/MetricCard.d.ts +1 -1
- package/dist/ui/analysis/MetricCard.d.ts.map +1 -1
- package/dist/ui/analysis/MetricCondition.d.ts +1 -1
- package/dist/ui/analysis/MetricCondition.d.ts.map +1 -1
- package/dist/ui/analysis/MetricSlot.d.ts +1 -1
- package/dist/ui/analysis/MetricSlot.d.ts.map +1 -1
- package/dist/ui/analysis/RangeSlot.d.ts +1 -1
- package/dist/ui/analysis/ReferenceOptions.d.ts +1 -1
- package/dist/ui/analysis/TermTip.d.ts +1 -1
- package/dist/ui/analysis/TopRow.d.ts +1 -1
- package/dist/ui/analysis/TopRow.d.ts.map +1 -1
- package/dist/ui/analysis/Tray.d.ts +1 -1
- package/dist/ui/analysis/Tray.d.ts.map +1 -1
- package/dist/ui/analysis/VisualizationPanel.d.ts +2 -2
- package/dist/ui/analysis/VisualizationPanel.d.ts.map +1 -1
- package/dist/ui/analysis/editing.d.ts +2 -2
- package/dist/ui/analysis/editing.d.ts.map +1 -1
- package/dist/ui/analysis/exportOffer.d.ts +3 -3
- package/dist/ui/analysis/headerSort.d.ts.map +1 -1
- package/dist/ui/analysis/imageExport.d.ts +3 -3
- package/dist/ui/analysis/imageExport.d.ts.map +1 -1
- package/dist/ui/charts/EChart.d.ts +2 -2
- package/dist/ui/charts/GeoMap.d.ts +1 -1
- package/dist/ui/charts/Heatmap.d.ts +1 -1
- package/dist/ui/charts/MetricCard.d.ts.map +1 -1
- package/dist/ui/charts/PieSlices.d.ts +1 -1
- package/dist/ui/charts/ScatterPoints.d.ts +1 -1
- package/dist/ui/charts/ScatterPoints.d.ts.map +1 -1
- package/dist/ui/charts/axis.d.ts +2 -2
- package/dist/ui/charts/cartesianTooltip.d.ts +2 -2
- package/dist/ui/charts/dateTicks.d.ts +2 -2
- package/dist/ui/charts/dateTicks.d.ts.map +1 -1
- package/dist/ui/charts/family.d.ts +1 -1
- package/dist/ui/charts/family.d.ts.map +1 -1
- package/dist/ui/charts/familyViews.d.ts +1 -1
- package/dist/ui/charts/frameClass.d.ts +2 -2
- package/dist/ui/charts/highlight.d.ts +2 -2
- package/dist/ui/charts/image.d.ts +22 -6
- package/dist/ui/charts/image.d.ts.map +1 -1
- package/dist/ui/charts/maps.d.ts +1 -1
- package/dist/ui/charts/waterfallOption.d.ts +2 -2
- package/dist/ui/colorMode.d.ts +1 -2
- package/dist/ui/colorMode.d.ts.map +1 -1
- package/dist/ui/columns/ColumnSettings.d.ts +6 -1
- package/dist/ui/columns/ColumnSettings.d.ts.map +1 -1
- package/dist/ui/dashboard/AddMenu.d.ts +2 -2
- package/dist/ui/dashboard/Board.d.ts +1 -1
- package/dist/ui/dashboard/BoardDestination.d.ts +2 -2
- package/dist/ui/dashboard/BoardFilters.d.ts +1 -1
- package/dist/ui/dashboard/BoardWidth.d.ts +1 -1
- package/dist/ui/dashboard/ClickSettings.d.ts +4 -4
- package/dist/ui/dashboard/ContentEditor.d.ts +1 -1
- package/dist/ui/dashboard/DashboardArrange.d.ts +1 -1
- package/dist/ui/dashboard/DashboardGrid.d.ts +3 -3
- package/dist/ui/dashboard/DashboardGrid.d.ts.map +1 -1
- package/dist/ui/dashboard/{DashboardPanel.d.ts → DashboardPanelCard.d.ts} +3 -3
- package/dist/ui/dashboard/DashboardPanelCard.d.ts.map +1 -0
- package/dist/ui/dashboard/DashboardPanels.d.ts +4 -4
- package/dist/ui/dashboard/DashboardPanels.d.ts.map +1 -1
- package/dist/ui/dashboard/DashboardTabs.d.ts +1 -1
- package/dist/ui/dashboard/EditBar.d.ts +1 -1
- package/dist/ui/dashboard/FilterBar.d.ts +1 -1
- package/dist/ui/dashboard/FilterOrder.d.ts +1 -1
- package/dist/ui/dashboard/FilterReadings.d.ts +1 -1
- package/dist/ui/dashboard/FilterReadings.d.ts.map +1 -1
- package/dist/ui/dashboard/FilterSettings.d.ts +2 -2
- package/dist/ui/dashboard/FilterSettings.d.ts.map +1 -1
- package/dist/ui/dashboard/FilterSheet.d.ts +1 -1
- package/dist/ui/dashboard/FilterWiring.d.ts +2 -2
- package/dist/ui/dashboard/GridBlocksLayer.d.ts +1 -1
- package/dist/ui/dashboard/GroupingControl.d.ts +4 -4
- package/dist/ui/dashboard/GroupingControl.d.ts.map +1 -1
- package/dist/ui/dashboard/NewAnalysisDialog.d.ts +1 -1
- package/dist/ui/dashboard/NewAnalysisDialog.d.ts.map +1 -1
- package/dist/ui/dashboard/OpensNumber.d.ts +17 -0
- package/dist/ui/dashboard/OpensNumber.d.ts.map +1 -0
- package/dist/ui/dashboard/PanelBodies.d.ts +9 -8
- package/dist/ui/dashboard/PanelBodies.d.ts.map +1 -1
- package/dist/ui/dashboard/PanelExport.d.ts +3 -3
- package/dist/ui/dashboard/PanelMenu.d.ts +1 -1
- package/dist/ui/dashboard/PresentationDialog.d.ts +1 -1
- package/dist/ui/dashboard/PresentationDialog.d.ts.map +1 -1
- package/dist/ui/dashboard/ScrollCue.d.ts +1 -1
- package/dist/ui/dashboard/ViewPicker.d.ts +1 -1
- package/dist/ui/dashboard/ViewPicker.d.ts.map +1 -1
- package/dist/ui/dashboard/buildShell.d.ts +2 -2
- package/dist/ui/dashboard/building.d.ts +1 -1
- package/dist/ui/dashboard/building.d.ts.map +1 -1
- package/dist/ui/dashboard/commands.d.ts +4 -4
- package/dist/ui/dashboard/commands.d.ts.map +1 -1
- package/dist/ui/dashboard/extensions.d.ts +1 -1
- package/dist/ui/dashboard/filterModes.d.ts +3 -3
- package/dist/ui/dashboard/filterOutcome.d.ts.map +1 -1
- package/dist/ui/dashboard/findings.d.ts +1 -1
- package/dist/ui/dashboard/gridBlocks.d.ts +1 -1
- package/dist/ui/dashboard/panelFit.d.ts +2 -2
- package/dist/ui/dashboard/press.d.ts +2 -2
- package/dist/ui/dashboard/press.d.ts.map +1 -1
- package/dist/ui/dashboard/reveal.d.ts +1 -1
- package/dist/ui/dashboard/scrollMore.d.ts +1 -1
- package/dist/ui/datasetBindings.d.ts +3 -11
- package/dist/ui/datasetBindings.d.ts.map +1 -1
- package/dist/ui/embed/EmbedFrame.d.ts +1 -1
- package/dist/ui/embed/EmbedFrame.d.ts.map +1 -1
- package/dist/ui/embed/EmbedHead.d.ts +5 -5
- package/dist/ui/embed/EmbedHead.d.ts.map +1 -1
- package/dist/ui/embed/EmbeddedAnalysis.d.ts +4 -4
- package/dist/ui/embed/EmbeddedAnalysis.d.ts.map +1 -1
- package/dist/ui/embed/EmbeddedRecord.d.ts +1 -1
- package/dist/ui/embed/options.d.ts +4 -4
- package/dist/ui/embed/options.d.ts.map +1 -1
- package/dist/ui/filter/inputs/duration.d.ts.map +1 -1
- package/dist/ui/filter/inputs/remote.d.ts +3 -1
- package/dist/ui/filter/inputs/remote.d.ts.map +1 -1
- package/dist/ui/index.d.ts +6 -7
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/kit/ExportDialog.d.ts +2 -2
- package/dist/ui/kit/ExportDialog.d.ts.map +1 -1
- package/dist/ui/kit/IconButton.d.ts +1 -1
- package/dist/ui/kit/MessagesProvider.d.ts +3 -3
- package/dist/ui/kit/RenameInput.d.ts +2 -2
- package/dist/ui/kit/RenderBoundary.d.ts.map +1 -1
- package/dist/ui/kit/RowItem.d.ts +1 -1
- package/dist/ui/kit/ViewSurface.d.ts +16 -6
- package/dist/ui/kit/ViewSurface.d.ts.map +1 -1
- package/dist/ui/kit/alerts.d.ts +2 -2
- package/dist/ui/kit/alerts.d.ts.map +1 -1
- package/dist/ui/kit/chartFailure.d.ts +1 -3
- package/dist/ui/kit/chartFailure.d.ts.map +1 -1
- package/dist/ui/kit/datePart.d.ts +2 -2
- package/dist/ui/kit/datePart.d.ts.map +1 -1
- package/dist/ui/kit/display.d.ts +25 -6
- package/dist/ui/kit/display.d.ts.map +1 -1
- package/dist/ui/kit/dragPlugins.d.ts +3 -3
- package/dist/ui/kit/failureSink.d.ts +1 -1
- package/dist/ui/kit/failureSink.d.ts.map +1 -1
- package/dist/ui/kit/features.d.ts +2 -2
- package/dist/ui/kit/features.d.ts.map +1 -1
- package/dist/ui/kit/icon.d.ts +9 -0
- package/dist/ui/kit/icon.d.ts.map +1 -0
- package/dist/ui/kit/kinds.d.ts +4 -4
- package/dist/ui/kit/kinds.d.ts.map +1 -1
- package/dist/ui/kit/layout.d.ts +2 -2
- package/dist/ui/kit/messages.d.ts.map +1 -1
- package/dist/ui/kit/popups.d.ts.map +1 -1
- package/dist/ui/kit/presets.d.ts +2 -2
- package/dist/ui/kit/summary.d.ts +8 -10
- package/dist/ui/kit/summary.d.ts.map +1 -1
- package/dist/ui/kit/surfaceContext.d.ts +4 -3
- package/dist/ui/kit/surfaceContext.d.ts.map +1 -1
- package/dist/ui/kit/surfaceKeys.d.ts +1 -1
- package/dist/ui/kit/toolbar.d.ts +21 -4
- package/dist/ui/kit/toolbar.d.ts.map +1 -1
- package/dist/ui/kit/variants.d.ts +5 -5
- package/dist/ui/manage/DatasetWordingForm.d.ts +2 -2
- package/dist/ui/messages/analysis.d.ts +61 -57
- package/dist/ui/messages/analysis.d.ts.map +1 -1
- package/dist/ui/messages/building.d.ts +1 -1
- package/dist/ui/messages/capabilities.d.ts +5 -1
- package/dist/ui/messages/capabilities.d.ts.map +1 -1
- package/dist/ui/messages/clicks.d.ts +1 -1
- package/dist/ui/messages/dashboard.d.ts +1 -0
- package/dist/ui/messages/dashboard.d.ts.map +1 -1
- package/dist/ui/messages/datasets.d.ts +3 -2
- package/dist/ui/messages/datasets.d.ts.map +1 -1
- package/dist/ui/messages/definition.d.ts +3 -1
- package/dist/ui/messages/definition.d.ts.map +1 -1
- package/dist/ui/messages/embed.d.ts +1 -1
- package/dist/ui/messages/en.d.ts +241 -221
- package/dist/ui/messages/en.d.ts.map +1 -1
- package/dist/ui/messages/export.d.ts +1 -1
- package/dist/ui/messages/filter.d.ts +98 -98
- package/dist/ui/messages/filter.d.ts.map +1 -1
- package/dist/ui/messages/filters.d.ts +1 -1
- package/dist/ui/messages/record.d.ts +20 -15
- package/dist/ui/messages/record.d.ts.map +1 -1
- package/dist/ui/messages/scope.d.ts +1 -0
- package/dist/ui/messages/scope.d.ts.map +1 -1
- package/dist/ui/messages/view.d.ts +51 -49
- package/dist/ui/messages/view.d.ts.map +1 -1
- package/dist/ui/messages/wireKey.d.ts +17 -0
- package/dist/ui/messages/wireKey.d.ts.map +1 -0
- package/dist/ui/messages/zh-CN.d.ts.map +1 -1
- package/dist/ui/record/CardSettings.d.ts.map +1 -1
- package/dist/ui/record/CardSummaries.d.ts +1 -1
- package/dist/ui/record/OffscreenSummary.d.ts +1 -1
- package/dist/ui/record/RecordDetail.d.ts +8 -3
- package/dist/ui/record/RecordDetail.d.ts.map +1 -1
- package/dist/ui/record/RecordKanban.d.ts +1 -1
- package/dist/ui/record/RecordPagination.d.ts +3 -1
- package/dist/ui/record/RecordPagination.d.ts.map +1 -1
- package/dist/ui/record/SelectionBar.d.ts +2 -2
- package/dist/ui/record/SortableHeader.d.ts.map +1 -1
- package/dist/ui/record/cells.d.ts.map +1 -1
- package/dist/ui/record/exportOffer.d.ts +1 -1
- package/dist/ui/record/exportOffer.d.ts.map +1 -1
- package/dist/ui/record/kanbanDrag.d.ts +2 -2
- package/dist/ui/record/offscreenSummaries.d.ts +2 -2
- package/dist/ui/record/overflow.d.ts +1 -1
- package/dist/ui/record/queryAnnouncement.d.ts.map +1 -1
- package/dist/ui/record/resultCount.d.ts +10 -0
- package/dist/ui/record/resultCount.d.ts.map +1 -0
- package/dist/ui/record/sticky.d.ts +1 -1
- package/dist/ui/record/useOffscreenColumns.d.ts +1 -1
- package/dist/ui/record/useSummaries.d.ts.map +1 -1
- package/dist/ui/sort/SortSettings.d.ts.map +1 -1
- package/dist/ui/theme/tokens.d.ts +1 -1
- package/dist/ui/viewNavigation.d.ts.map +1 -1
- package/dist/ui/workbench/AddToDashboardDialog.d.ts +1 -1
- package/dist/ui/workbench/AnalysisParts.d.ts +1 -1
- package/dist/ui/workbench/MoreViewActions.d.ts +1 -1
- package/dist/ui/workbench/MoreViewActions.d.ts.map +1 -1
- package/dist/ui/workbench/OriginBar.d.ts +1 -1
- package/dist/ui/workbench/RecordParts.d.ts.map +1 -1
- package/dist/ui/workbench/ResultBlock.d.ts +1 -1
- package/dist/ui/workbench/SaveActions.d.ts.map +1 -1
- package/dist/ui/workbench/SaveAsDialog.d.ts +7 -1
- package/dist/ui/workbench/SaveAsDialog.d.ts.map +1 -1
- package/dist/ui/workbench/Sidebar.d.ts +2 -2
- package/dist/ui/workbench/StatusLine.d.ts +1 -1
- package/dist/ui/workbench/ViewEngineProvider.d.ts +0 -9
- package/dist/ui/workbench/ViewEngineProvider.d.ts.map +1 -1
- package/dist/ui/workbench/WorkbenchShell.d.ts +3 -3
- package/dist/ui/workbench/WorkbenchShell.d.ts.map +1 -1
- package/dist/ui/workbench/WriteOutcome.d.ts.map +1 -1
- package/dist/ui/workbench/address.d.ts +4 -2
- package/dist/ui/workbench/address.d.ts.map +1 -1
- package/dist/ui.js +14071 -14046
- package/dist/ui.js.map +1 -1
- package/dist/{viewRuntimeTypes-B3B6hbXr.js → viewRuntimeTypes-D08oR6Ke.js} +2150 -2307
- package/dist/viewRuntimeTypes-D08oR6Ke.js.map +1 -0
- package/package.json +13 -13
- package/dist/actions-CgaL6eEe.js.map +0 -1
- package/dist/cartesianBrush-HLU12ig5.js.map +0 -1
- package/dist/clickDraft-CdUtkL4y.js +0 -184
- package/dist/clickDraft-CdUtkL4y.js.map +0 -1
- package/dist/dashboard/migrate.d.ts +0 -33
- package/dist/dashboard/migrate.d.ts.map +0 -1
- package/dist/react/useViewEngine.d.ts.map +0 -1
- package/dist/react-BuHt29n6.js +0 -3855
- package/dist/react-BuHt29n6.js.map +0 -1
- package/dist/runtime/storedViews.d.ts +0 -10
- package/dist/runtime/storedViews.d.ts.map +0 -1
- package/dist/ui/dashboard/DashboardPanel.d.ts.map +0 -1
- package/dist/viewRuntimeTypes-B3B6hbXr.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TimeUnit as
|
|
5
|
-
|
|
6
|
-
function
|
|
1
|
+
import { $ as e, $a as t, Aa as n, D as r, E as i, Fa as a, Ga as o, Gr as s, Ha as c, Jr as l, Ka as u, Mo as d, Na as f, O as p, On as m, Oo as h, Pr as g, Q as _, Qa as v, Ra as y, So as b, To as x, Ua as S, Va as ee, Xa as te, Xi as C, Ya as w, Z as ne, Zr as re, bo as ie, ci as ae, cn as oe, eo as T, et as E, hi as se, ho as ce, ht as le, ja as ue, k as de, kr as fe, lo as pe, na as me, no as he, qr as ge, rn as D, s as O, so as k, to as A, tt as j, w as M, wo as N, xi as P, za as F } from "./actions-ClYpI7gy.js";
|
|
2
|
+
import { H as I, J as L, K as _e, L as ve, i as ye, l as be, n as xe, nt as Se, o as Ce, q as we, r as Te, rt as Ee, s as De, t as Oe, z as ke } from "./viewRuntimeTypes-D08oR6Ke.js";
|
|
3
|
+
import { t as Ae } from "./export-D1udIJPm.js";
|
|
4
|
+
import { TimeUnit as je } from "@ahoo-wang/wow-client/dsl";
|
|
5
|
+
// src/runtime/define/analysis.ts
|
|
6
|
+
function Me(e, t) {
|
|
7
7
|
if (e === !1) return;
|
|
8
8
|
let n = (e) => e.spec.analysis === !1 ? null : e.spec.analysis ?? {}, r = {
|
|
9
9
|
spec: e ?? {},
|
|
@@ -25,70 +25,72 @@ function tc(e, t) {
|
|
|
25
25
|
}
|
|
26
26
|
return r;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
if (e) return
|
|
28
|
+
function Ne(e, t, n, r) {
|
|
29
|
+
if (e) return _(e, t.map((e) => e.field), n, (e, t) => r.push(e === null ? f("definition.analysis.wider", ["analysis"], { what: t }, "warning") : f("definition.field.analysis-wider", ["analysis"], {
|
|
30
30
|
field: e,
|
|
31
31
|
what: t
|
|
32
32
|
}, "warning")));
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
function B(e, t, n) {
|
|
34
|
+
// src/runtime/define/fields.ts
|
|
35
|
+
var R = (e, t, n = "error") => f(e, ["fields"], t, n);
|
|
36
|
+
function z(e, t, n) {
|
|
38
37
|
return Object.entries(e).flatMap(([e, r]) => {
|
|
39
|
-
let i =
|
|
38
|
+
let i = Pe(e, typeof r == "string" ? { label: r } : r, t, n);
|
|
40
39
|
return i ? [i] : [];
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
|
-
function
|
|
44
|
-
let { descriptor:
|
|
45
|
-
if (t.search) return
|
|
46
|
-
let
|
|
47
|
-
if (!
|
|
48
|
-
let
|
|
49
|
-
if (
|
|
50
|
-
let
|
|
42
|
+
function Pe(e, t, n, r) {
|
|
43
|
+
let { descriptor: i, findings: a } = r, o = n === void 0 ? e : `${n}.${e}`;
|
|
44
|
+
if (t.search) return Fe(e, t, n, r);
|
|
45
|
+
let s = E(i, o, n);
|
|
46
|
+
if (!s) return a.push(R("definition.field.undescribed", { field: o })), null;
|
|
47
|
+
let c = Ie(i, s.canonical ?? o, n), l = t.kind ?? ze(c, s, t);
|
|
48
|
+
if (l === null) return a.push(R("definition.field.kind-unknown", { field: o })), null;
|
|
49
|
+
let u = {
|
|
51
50
|
name: e,
|
|
52
|
-
label:
|
|
53
|
-
kind:
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
label: Be(t, c, o, a),
|
|
52
|
+
kind: l
|
|
53
|
+
}, d = s.comparable !== !1, f = d && (r.paging === "cursor" ? s.sort.cursor : s.sort.paged), p = me({
|
|
54
|
+
kind: l,
|
|
55
|
+
remote: t.more?.remote
|
|
56
|
+
}), m = f && n === void 0 && !p;
|
|
57
|
+
if (t.sortable === !0 && !f && a.push(R("definition.field.sort-wider", { field: o }, "warning")), f && (t.sortable ?? m) && (u.sortable = !0), t.operators) {
|
|
58
|
+
let e = Ve(i, s, o);
|
|
59
|
+
for (let n of t.operators) e.has(n) || a.push(R("definition.field.operator-wider", {
|
|
60
|
+
field: o,
|
|
59
61
|
operator: n
|
|
60
62
|
}, "warning"));
|
|
61
|
-
|
|
62
|
-
} else
|
|
63
|
+
u.operators = t.operators;
|
|
64
|
+
} else d || (u.operators = []);
|
|
63
65
|
if (t.summary) {
|
|
64
|
-
let e =
|
|
65
|
-
for (let n of t.summary) n !==
|
|
66
|
-
field:
|
|
66
|
+
let e = s.aggregate?.functions ?? [];
|
|
67
|
+
for (let n of t.summary) n !== ce.COUNT && !e.includes(n) && a.push(R("definition.field.summary-wider", {
|
|
68
|
+
field: o,
|
|
67
69
|
fn: n
|
|
68
70
|
}, "warning"));
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
let h =
|
|
72
|
-
h && (
|
|
73
|
-
let g =
|
|
74
|
-
g &&
|
|
75
|
-
field:
|
|
76
|
-
message:
|
|
77
|
-
}, "warning")),
|
|
71
|
+
u.summary = t.summary;
|
|
72
|
+
}
|
|
73
|
+
let h = He(t, s, o, a);
|
|
74
|
+
h && (u.options = h);
|
|
75
|
+
let g = Re(s);
|
|
76
|
+
g && C.includes(l) && (u.temporal = g), s.deprecated && (t.deprecated || a.push(R("definition.field.deprecated", {
|
|
77
|
+
field: o,
|
|
78
|
+
message: s.deprecated.message ?? ""
|
|
79
|
+
}, "warning")), u.deprecated = t.deprecated ?? s.deprecated);
|
|
78
80
|
let _;
|
|
79
|
-
return t.elements && (
|
|
80
|
-
field:
|
|
81
|
-
described:
|
|
81
|
+
return t.elements && (i.elements.some((e) => e.path === o) || a.push(R("definition.field.not-elements", { field: o })), _ = z(t.elements, o, r), u.elements = _.map((e) => e.field)), t.elementTitle !== void 0 && (u.elementTitle = t.elementTitle), t.cell !== void 0 && (u.cell = t.cell), t.timePrecision !== void 0 && (u.timePrecision = t.timePrecision), Object.assign(u, t.more), {
|
|
82
|
+
field: u,
|
|
83
|
+
described: s,
|
|
82
84
|
spec: t,
|
|
83
|
-
sensitive:
|
|
85
|
+
sensitive: s.sensitive === !0,
|
|
84
86
|
..._ ? { children: _ } : {}
|
|
85
87
|
};
|
|
86
88
|
}
|
|
87
|
-
function
|
|
89
|
+
function Fe(e, t, n, r) {
|
|
88
90
|
let i = t.search ?? { fields: [] };
|
|
89
91
|
for (let e of i.fields) {
|
|
90
92
|
let t = n === void 0 ? e : `${n}.${e}`;
|
|
91
|
-
|
|
93
|
+
E(r.descriptor, t, n) || r.findings.push(R("definition.field.undescribed", { field: t }));
|
|
92
94
|
}
|
|
93
95
|
let a = {
|
|
94
96
|
name: e,
|
|
@@ -103,51 +105,59 @@ function ic(e, t, n, r) {
|
|
|
103
105
|
sensitive: !1
|
|
104
106
|
};
|
|
105
107
|
}
|
|
106
|
-
function
|
|
108
|
+
function Ie(e, t, n) {
|
|
107
109
|
let r = e.fields.find((e) => e.path === t && e.scope === n);
|
|
108
|
-
if (r
|
|
110
|
+
if (r) return r;
|
|
111
|
+
if (n === void 0) return Le(e, t);
|
|
109
112
|
let i = t.slice(n.length + 1), a = e.variants;
|
|
110
113
|
if (a?.element === n) return a.values.flatMap((e) => e.fields).find((e) => e.path === i || (e.aliases ?? []).includes(i));
|
|
111
114
|
}
|
|
112
|
-
function
|
|
115
|
+
function Le(e, t) {
|
|
116
|
+
let n = j(e, t), r = n[0];
|
|
117
|
+
if (r) return {
|
|
118
|
+
types: [...new Set(n.flatMap((e) => e.types))],
|
|
119
|
+
kind: r.kind
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function Re(e) {
|
|
113
123
|
let t = e.semantic;
|
|
114
|
-
if (t?.type ===
|
|
115
|
-
if (t?.type ===
|
|
124
|
+
if (t?.type === N.TEMPORAL_DATE) return { type: "date" };
|
|
125
|
+
if (t?.type === N.TEMPORAL_EPOCH && t.timeUnit === je.SECONDS) return {
|
|
116
126
|
type: "epoch",
|
|
117
|
-
timeUnit:
|
|
127
|
+
timeUnit: h.SECONDS
|
|
118
128
|
};
|
|
119
129
|
}
|
|
120
|
-
function
|
|
130
|
+
function ze(e, t, n) {
|
|
121
131
|
if (n.elements) return "elementMatch";
|
|
122
|
-
if (!t.enum && e?.types?.length === 1 && e.types[0] ===
|
|
132
|
+
if (!t.enum && e?.types?.length === 1 && e.types[0] === x.BOOLEAN) return "boolean";
|
|
123
133
|
if (t.enum || n.options) return "enum";
|
|
124
134
|
let r = t.semantic?.type;
|
|
125
|
-
if (r ===
|
|
126
|
-
if (r ===
|
|
135
|
+
if (r === N.TEMPORAL_DATE) return "date";
|
|
136
|
+
if (r === N.TEMPORAL_EPOCH || r === N.TEMPORAL_FORMATTED) return "datetime";
|
|
127
137
|
let i = e?.types ?? [];
|
|
128
138
|
if (i.length !== 1) return null;
|
|
129
139
|
switch (i[0]) {
|
|
130
|
-
case
|
|
131
|
-
case
|
|
132
|
-
case
|
|
133
|
-
case
|
|
140
|
+
case x.BOOLEAN: return "boolean";
|
|
141
|
+
case x.INTEGER:
|
|
142
|
+
case x.DECIMAL: return "number";
|
|
143
|
+
case x.STRING: return "string";
|
|
134
144
|
default: return null;
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
|
-
function
|
|
138
|
-
return e.label === void 0 ? (r.push(
|
|
147
|
+
function Be(e, t, n, r) {
|
|
148
|
+
return e.label === void 0 ? (r.push(R("definition.field.unlabelled", { field: n }, "note")), t?.description ?? n) : e.label;
|
|
139
149
|
}
|
|
140
|
-
function
|
|
150
|
+
function Ve(e, t, n) {
|
|
141
151
|
let r = new Set(t.operators);
|
|
142
|
-
return e.elements.some((e) => e.path === n && e.filter) && r.add(
|
|
152
|
+
return e.elements.some((e) => e.path === n && e.filter) && r.add(ie.ELEMENT_MATCH), r;
|
|
143
153
|
}
|
|
144
|
-
function
|
|
145
|
-
let i =
|
|
146
|
-
if (!a) return e.options ? i.flatMap(([e, t]) => t === !1 ? [] : [
|
|
154
|
+
function He(e, t, n, r) {
|
|
155
|
+
let i = Ue(e.options), a = t.enum;
|
|
156
|
+
if (!a) return e.options ? i.flatMap(([e, t]) => t === !1 ? [] : [B(e, t)]) : void 0;
|
|
147
157
|
let o = new Map(a.map((e) => [String(e.value), e])), s = /* @__PURE__ */ new Set(), c = [];
|
|
148
158
|
for (let [e, t] of i) {
|
|
149
159
|
let i = String(e), a = o.get(i);
|
|
150
|
-
a ? (s.add(i), t !== !1 && c.push(
|
|
160
|
+
a ? (s.add(i), t !== !1 && c.push(B(a.value, t))) : r.push(R("definition.option.undescribed", {
|
|
151
161
|
field: n,
|
|
152
162
|
value: i
|
|
153
163
|
}));
|
|
@@ -158,10 +168,10 @@ function uc(e, t, n, r) {
|
|
|
158
168
|
});
|
|
159
169
|
return c;
|
|
160
170
|
}
|
|
161
|
-
function
|
|
171
|
+
function Ue(e) {
|
|
162
172
|
return e ? Array.isArray(e) ? e : Object.keys(e).map((t) => [t, e[t]]) : [];
|
|
163
173
|
}
|
|
164
|
-
function
|
|
174
|
+
function B(e, t) {
|
|
165
175
|
return typeof t == "string" ? {
|
|
166
176
|
value: e,
|
|
167
177
|
label: t
|
|
@@ -170,41 +180,40 @@ function V(e, t) {
|
|
|
170
180
|
...t
|
|
171
181
|
};
|
|
172
182
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
title: t.title,
|
|
183
|
+
// src/runtime/define/defineView.ts
|
|
184
|
+
function V(t, n, r = {}) {
|
|
185
|
+
let i = [], a = We(n, t, i), o = z(n.fields, void 0, {
|
|
186
|
+
descriptor: t,
|
|
187
|
+
paging: a?.paging ?? "paged",
|
|
188
|
+
findings: i
|
|
189
|
+
}), s = {
|
|
190
|
+
id: n.id,
|
|
191
|
+
title: n.title,
|
|
183
192
|
kind: "data",
|
|
184
|
-
source:
|
|
185
|
-
fields:
|
|
193
|
+
source: n.source,
|
|
194
|
+
fields: o.map((e) => e.field)
|
|
186
195
|
};
|
|
187
|
-
|
|
188
|
-
let
|
|
189
|
-
|
|
190
|
-
let
|
|
191
|
-
return
|
|
192
|
-
version:
|
|
193
|
-
findings:
|
|
196
|
+
n.recordNoun !== void 0 && (s.recordNoun = n.recordNoun), n.fieldGroups && (s.fieldGroups = n.fieldGroups), a && (s.record = a);
|
|
197
|
+
let c = Me(n.analysis, o), u = Ne(c, o, t, i);
|
|
198
|
+
u && e(u) && (s.analysis = u), n.timeField !== void 0 && (s.timeField = n.timeField), n.views && (s.views = n.views);
|
|
199
|
+
let d = o.flatMap(({ field: e, spec: t, described: n }) => n && t.sortable !== !1 ? [e.name] : []), f = H(o);
|
|
200
|
+
return s.fields = U(s.fields, ne(s, t, r.kinds ?? l).definition.fields, new Set(f)), s.described = {
|
|
201
|
+
version: t.version,
|
|
202
|
+
findings: i,
|
|
194
203
|
open: {
|
|
195
|
-
sort:
|
|
196
|
-
operators:
|
|
197
|
-
...
|
|
204
|
+
sort: d,
|
|
205
|
+
operators: f,
|
|
206
|
+
...c ? { analysis: c } : {}
|
|
198
207
|
}
|
|
199
|
-
},
|
|
208
|
+
}, s;
|
|
200
209
|
}
|
|
201
|
-
function
|
|
210
|
+
function H(e, t) {
|
|
202
211
|
return e.flatMap(({ field: e, spec: n, children: r }) => {
|
|
203
212
|
let i = t === void 0 ? e.name : `${t}.${e.name}`;
|
|
204
|
-
return [...n.operators === void 0 && e.operators === void 0 && e.kind !== "search" ? [i] : [], ...
|
|
213
|
+
return [...n.operators === void 0 && e.operators === void 0 && e.kind !== "search" ? [i] : [], ...H(r ?? [], i)];
|
|
205
214
|
});
|
|
206
215
|
}
|
|
207
|
-
function
|
|
216
|
+
function U(e, t, n, r) {
|
|
208
217
|
return e.map((e, i) => {
|
|
209
218
|
let a = r === void 0 ? e.name : `${r}.${e.name}`, o = t[i], s = e;
|
|
210
219
|
return n.has(a) && o?.operators !== void 0 && (s = {
|
|
@@ -212,27 +221,26 @@ function W(e, t, n, r) {
|
|
|
212
221
|
operators: o.operators
|
|
213
222
|
}), e.elements && (s = {
|
|
214
223
|
...s,
|
|
215
|
-
elements:
|
|
224
|
+
elements: U(e.elements, o?.elements ?? [], n, a)
|
|
216
225
|
}), s;
|
|
217
226
|
});
|
|
218
227
|
}
|
|
219
|
-
var
|
|
220
|
-
PAGED: "paged",
|
|
221
|
-
CURSOR: "cursor"
|
|
228
|
+
var W = {
|
|
229
|
+
[b.PAGED]: "paged",
|
|
230
|
+
[b.CURSOR]: "cursor"
|
|
222
231
|
};
|
|
223
|
-
function
|
|
232
|
+
function We(e, t, n) {
|
|
224
233
|
if (e.record === !1) return;
|
|
225
|
-
let r = e.record ?? {}, i = t.record.paging.flatMap((e) =>
|
|
226
|
-
return i.includes(a) || n.push(
|
|
234
|
+
let r = e.record ?? {}, i = t.record.paging.flatMap((e) => W[e] ? [W[e]] : []), a = r.paging ?? (i.includes("paged") ? "paged" : "cursor");
|
|
235
|
+
return i.includes(a) || n.push(f("definition.record.paging-wider", ["record", "paging"], { paging: a }, "warning")), {
|
|
227
236
|
...r,
|
|
228
237
|
rowKey: r.rowKey ?? t.record.identity,
|
|
229
238
|
paging: a,
|
|
230
239
|
layouts: r.layouts ?? ["table"]
|
|
231
240
|
};
|
|
232
241
|
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
function K(e, t, n = {}) {
|
|
242
|
+
// src/runtime/define/defineDataset.ts
|
|
243
|
+
function G(e, t, n = {}) {
|
|
236
244
|
let r = /* @__PURE__ */ new Map();
|
|
237
245
|
for (let t of e.fields) t.scope === void 0 && r.set(t.path, t.description ?? t.path);
|
|
238
246
|
let i = {};
|
|
@@ -244,7 +252,7 @@ function K(e, t, n = {}) {
|
|
|
244
252
|
}));
|
|
245
253
|
}
|
|
246
254
|
for (let [e, t] of r) i[e] = t;
|
|
247
|
-
return
|
|
255
|
+
return V(e, {
|
|
248
256
|
id: t.id,
|
|
249
257
|
source: t.source,
|
|
250
258
|
title: t.title,
|
|
@@ -252,60 +260,59 @@ function K(e, t, n = {}) {
|
|
|
252
260
|
fields: i
|
|
253
261
|
}, n);
|
|
254
262
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
263
|
+
// src/runtime/datasetResources.ts
|
|
264
|
+
var Ge = class {
|
|
265
|
+
constructor(e, t) {
|
|
266
|
+
this.engine = e, this.held = /* @__PURE__ */ new Map(), this.worded = /* @__PURE__ */ new Map(), this.stored = /* @__PURE__ */ new Map(), this.derived = /* @__PURE__ */ new Map(), this.options = t;
|
|
267
|
+
let { catalogs: n } = t;
|
|
268
|
+
if (this.catalogs = Array.isArray(n) ? n : [n], this.catalogs.length === 0) throw Error("DatasetResources reads at least one catalog.");
|
|
260
269
|
}
|
|
261
270
|
get resources() {
|
|
262
271
|
return [...this.held.values()];
|
|
263
272
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
else for (let r of e.value) {
|
|
275
|
-
if (r.version === null) continue;
|
|
276
|
-
let e = `${r.contextName}.${r.name}`, a = t.get(e);
|
|
277
|
-
a ? n.push({
|
|
273
|
+
async refresh(e = {}) {
|
|
274
|
+
await this.readWordings(e);
|
|
275
|
+
let t = await Promise.allSettled(this.catalogs.map((t) => t.list(e)));
|
|
276
|
+
if (e.signal?.throwIfAborted(), t.every((e) => e.status === "rejected")) throw t[0].reason;
|
|
277
|
+
let n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set();
|
|
278
|
+
t.forEach((e, t) => {
|
|
279
|
+
if (e.status === "rejected") i.add(t), this.options.onCatalogError?.(t, e.reason);
|
|
280
|
+
else for (let i of e.value) {
|
|
281
|
+
let e = `${i.context}.${i.dataset}`, a = n.get(e);
|
|
282
|
+
a ? r.push({
|
|
278
283
|
id: e,
|
|
279
|
-
entry:
|
|
280
|
-
dropped:
|
|
284
|
+
entry: i,
|
|
285
|
+
dropped: t,
|
|
281
286
|
kept: a.catalog
|
|
282
|
-
}) :
|
|
283
|
-
entry:
|
|
284
|
-
catalog:
|
|
287
|
+
}) : n.set(e, {
|
|
288
|
+
entry: i,
|
|
289
|
+
catalog: t
|
|
285
290
|
});
|
|
286
291
|
}
|
|
287
292
|
});
|
|
288
|
-
for (let [e,
|
|
289
|
-
entry:
|
|
290
|
-
catalog:
|
|
293
|
+
for (let [e, t] of this.held) i.has(t.catalog) && !n.has(e) && n.set(e, {
|
|
294
|
+
entry: t.entry,
|
|
295
|
+
catalog: t.catalog
|
|
291
296
|
});
|
|
292
|
-
this.
|
|
293
|
-
for (let e of n) this.
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
297
|
+
for (let e of r) this.options.onDuplicate?.(e);
|
|
298
|
+
for (let e of [...this.held.keys()]) n.has(e) || (this.engine.unregister(e), this.held.delete(e), this.worded.delete(e), this.derived.delete(e));
|
|
299
|
+
await Promise.all([...n].map(([t, n]) => this.serve(t, n, e)));
|
|
300
|
+
let a = [...n.keys()];
|
|
301
|
+
return {
|
|
302
|
+
datasets: [...this.held.values()].sort((e, t) => a.indexOf(e.id) - a.indexOf(t.id)),
|
|
303
|
+
duplicates: r
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
async readWordings(e) {
|
|
307
|
+
let t = new Map(this.stored);
|
|
308
|
+
await Promise.all(this.catalogs.map(async (n, r) => {
|
|
309
|
+
let i = n.wordings;
|
|
310
|
+
if (i) try {
|
|
311
|
+
t.set(r, await i.list(e));
|
|
305
312
|
} catch (e) {
|
|
306
|
-
this.onWordingError(e);
|
|
313
|
+
this.options.onWordingError?.(e);
|
|
307
314
|
}
|
|
308
|
-
})), this.stored =
|
|
315
|
+
})), this.stored = t;
|
|
309
316
|
}
|
|
310
317
|
wordingOf(e, t) {
|
|
311
318
|
return this.stored.get(t.catalog)?.get(e) ?? {
|
|
@@ -313,19 +320,19 @@ var pc = class {
|
|
|
313
320
|
revision: "0"
|
|
314
321
|
};
|
|
315
322
|
}
|
|
316
|
-
async serve(e, t) {
|
|
317
|
-
let { entry:
|
|
318
|
-
if ((
|
|
319
|
-
let t = this.catalogs[
|
|
320
|
-
if (!
|
|
323
|
+
async serve(e, t, n) {
|
|
324
|
+
let { entry: r, catalog: i } = t, a = this.held.get(e), { wording: o } = this.wordingOf(e, t), s = JSON.stringify(o);
|
|
325
|
+
if ((a?.catalog !== i || a.entry.version !== r.version || this.worded.get(e) !== s) && (a || !this.engine.definitions.has(e))) try {
|
|
326
|
+
let t = this.catalogs[i].source(r), a = await t.describe?.(void 0, n);
|
|
327
|
+
if (!a || a.notModified) throw Error(`Dataset [${e}] does not describe itself.`);
|
|
321
328
|
this.derived.set(e, {
|
|
322
|
-
entry:
|
|
323
|
-
catalog:
|
|
329
|
+
entry: r,
|
|
330
|
+
catalog: i,
|
|
324
331
|
source: t,
|
|
325
|
-
descriptor:
|
|
332
|
+
descriptor: a.descriptor
|
|
326
333
|
}), this.registerWorded(e);
|
|
327
334
|
} catch (e) {
|
|
328
|
-
this.onError(
|
|
335
|
+
this.options.onError?.(r, e);
|
|
329
336
|
}
|
|
330
337
|
}
|
|
331
338
|
registerWorded(e) {
|
|
@@ -334,7 +341,7 @@ var pc = class {
|
|
|
334
341
|
let { entry: n, catalog: r, source: i, descriptor: a } = t, o = this.wordingOf(e, {
|
|
335
342
|
entry: n,
|
|
336
343
|
catalog: r
|
|
337
|
-
}), s = n.title ?? n.
|
|
344
|
+
}), s = n.title ?? n.dataset, c = G(a, {
|
|
338
345
|
id: e,
|
|
339
346
|
source: e,
|
|
340
347
|
title: s,
|
|
@@ -354,7 +361,7 @@ var pc = class {
|
|
|
354
361
|
return {
|
|
355
362
|
dataset: e,
|
|
356
363
|
derivedTitle: n,
|
|
357
|
-
fields:
|
|
364
|
+
fields: G(r, {
|
|
358
365
|
id: e,
|
|
359
366
|
source: e,
|
|
360
367
|
title: n
|
|
@@ -376,14 +383,13 @@ var pc = class {
|
|
|
376
383
|
};
|
|
377
384
|
}
|
|
378
385
|
};
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
let n = t.storage ?? hc, r = t.events === void 0 ? gc() : t.events;
|
|
386
|
+
// src/store/localStorageSnapshot.ts
|
|
387
|
+
function Ke(e, t = {}) {
|
|
388
|
+
let n = t.storage ?? qe, r = t.events === void 0 ? Je() : t.events;
|
|
383
389
|
return {
|
|
384
390
|
load() {
|
|
385
391
|
try {
|
|
386
|
-
return
|
|
392
|
+
return Ye(n().getItem(e));
|
|
387
393
|
} catch {
|
|
388
394
|
return;
|
|
389
395
|
}
|
|
@@ -394,41 +400,40 @@ function mc(e, t = {}) {
|
|
|
394
400
|
subscribe(t) {
|
|
395
401
|
if (!r) return () => {};
|
|
396
402
|
let i = (r) => {
|
|
397
|
-
|
|
403
|
+
r.key !== null && r.key !== e || r.storageArea && r.storageArea !== K(n) || t();
|
|
398
404
|
};
|
|
399
405
|
return r.addEventListener("storage", i), () => r.removeEventListener("storage", i);
|
|
400
406
|
}
|
|
401
407
|
};
|
|
402
408
|
}
|
|
403
|
-
function
|
|
409
|
+
function qe() {
|
|
404
410
|
let e = globalThis.localStorage;
|
|
405
411
|
if (!e) throw Error("localStorage is not available");
|
|
406
412
|
return e;
|
|
407
413
|
}
|
|
408
|
-
function
|
|
414
|
+
function Je() {
|
|
409
415
|
let e = globalThis;
|
|
410
416
|
return typeof e.addEventListener == "function" ? e : null;
|
|
411
417
|
}
|
|
412
|
-
function
|
|
418
|
+
function K(e) {
|
|
413
419
|
try {
|
|
414
420
|
return e();
|
|
415
421
|
} catch {
|
|
416
422
|
return;
|
|
417
423
|
}
|
|
418
424
|
}
|
|
419
|
-
function
|
|
425
|
+
function Ye(e) {
|
|
420
426
|
if (!e) return;
|
|
421
427
|
let t = JSON.parse(e);
|
|
422
428
|
if (t && typeof t == "object" && Array.isArray(t.instances) && typeof t.preferences == "object" && t.preferences !== null && !Array.isArray(t.preferences)) return {
|
|
423
|
-
instances: t.instances.filter(
|
|
429
|
+
instances: t.instances.filter(Xe),
|
|
424
430
|
preferences: t.preferences
|
|
425
431
|
};
|
|
426
432
|
}
|
|
427
|
-
function
|
|
433
|
+
function Xe(e) {
|
|
428
434
|
return typeof e == "object" && !!e && typeof e.id == "string";
|
|
429
435
|
}
|
|
430
|
-
|
|
431
|
-
//#region src/store/ViewStore.ts
|
|
436
|
+
// src/store/ViewStore.ts
|
|
432
437
|
function q() {
|
|
433
438
|
return {
|
|
434
439
|
order: [],
|
|
@@ -436,29 +441,26 @@ function q() {
|
|
|
436
441
|
revision: "0"
|
|
437
442
|
};
|
|
438
443
|
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
var bc = class {
|
|
444
|
+
// src/store/MemoryViewStore.ts
|
|
445
|
+
var Ze = 100, Qe = class {
|
|
442
446
|
constructor(e = {}) {
|
|
443
|
-
this.instances = /* @__PURE__ */ new Map(), this.preferences = /* @__PURE__ */ new Map(), this.outcomes = /* @__PURE__ */ new Map(), this.preferenceOutcomes = /* @__PURE__ */ new Map(), this.sequence = 0, e.permissions && (this.permissions = e.permissions), e.
|
|
447
|
+
this.instances = /* @__PURE__ */ new Map(), this.preferences = /* @__PURE__ */ new Map(), this.outcomes = /* @__PURE__ */ new Map(), this.preferenceOutcomes = /* @__PURE__ */ new Map(), this.sequence = 0, e.permissions && (this.permissions = e.permissions), e.local && (this.local = !0), this.pageSize = e.pageSize ?? Ze, this.snapshot = e.snapshot;
|
|
444
448
|
let t = e.snapshot?.load();
|
|
445
449
|
this.restore({
|
|
446
450
|
instances: t?.instances ?? e.instances ?? [],
|
|
447
451
|
preferences: t?.preferences ?? e.preferences ?? {}
|
|
448
452
|
}), e.snapshot?.subscribe?.(() => this.reload());
|
|
449
453
|
}
|
|
450
|
-
list(e) {
|
|
451
|
-
let
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
return r.set(e.scope, t), t <= n;
|
|
457
|
-
}));
|
|
454
|
+
list(e, t = {}) {
|
|
455
|
+
let n = [...this.instances.values()].filter((t) => t.definitionId === e).map(he).sort((e, t) => Y[e.scope] - Y[t.scope]), r = t.cursor ? Number(t.cursor) : 0, i = r + this.pageSize;
|
|
456
|
+
return Promise.resolve({
|
|
457
|
+
items: n.slice(r, i),
|
|
458
|
+
nextCursor: i < n.length ? String(i) : null
|
|
459
|
+
});
|
|
458
460
|
}
|
|
459
461
|
get(e) {
|
|
460
462
|
let t = this.instances.get(e);
|
|
461
|
-
return t ? Promise.resolve($(t)) : Promise.reject(new
|
|
463
|
+
return t ? Promise.resolve($(t)) : Promise.reject(new S("NOT_FOUND", `No such view: ${e}`));
|
|
462
464
|
}
|
|
463
465
|
create(e, t) {
|
|
464
466
|
let n = this.outcomes.get(t.requestId);
|
|
@@ -470,7 +472,7 @@ var bc = class {
|
|
|
470
472
|
do
|
|
471
473
|
this.sequence += 1, i = `${e.definitionId}-${this.sequence}`;
|
|
472
474
|
while (this.instances.has(i));
|
|
473
|
-
if (
|
|
475
|
+
if (k(i)) return Promise.reject(new S("INVALID", `Reserved id namespace: ${i}`));
|
|
474
476
|
let a = $(e);
|
|
475
477
|
delete a.stored;
|
|
476
478
|
let o = {
|
|
@@ -478,7 +480,7 @@ var bc = class {
|
|
|
478
480
|
title: e.title.trim(),
|
|
479
481
|
id: i,
|
|
480
482
|
revision: "1",
|
|
481
|
-
...
|
|
483
|
+
...T(e.scope) ? { stored: !0 } : {}
|
|
482
484
|
};
|
|
483
485
|
return this.instances.set(i, o), this.commit(t, o, () => this.instances.delete(i));
|
|
484
486
|
}
|
|
@@ -496,11 +498,11 @@ var bc = class {
|
|
|
496
498
|
}
|
|
497
499
|
changeAudience(e, t, n, r) {
|
|
498
500
|
return this.update(e, n, r, (n) => {
|
|
499
|
-
if (
|
|
500
|
-
if (
|
|
501
|
+
if (T(n.scope)) return new S("FORBIDDEN", "System views stay system");
|
|
502
|
+
if (v(n.scope) === t) return null;
|
|
501
503
|
if (t === "personal") {
|
|
502
504
|
let t = this.sharedBoardsShowing(e);
|
|
503
|
-
if (t.length > 0) return new
|
|
505
|
+
if (t.length > 0) return new S("INVALID", `Shared dashboards show view ${e}: ${t.join(", ")}`, { boards: t });
|
|
504
506
|
}
|
|
505
507
|
return {
|
|
506
508
|
...n,
|
|
@@ -512,8 +514,8 @@ var bc = class {
|
|
|
512
514
|
if (this.outcomes.has(n.requestId)) return Promise.resolve();
|
|
513
515
|
this.reload();
|
|
514
516
|
let r = this.instances.get(e);
|
|
515
|
-
if (!r) return Promise.reject(new
|
|
516
|
-
if (J(r)) return Promise.reject(new
|
|
517
|
+
if (!r) return Promise.reject(new S("NOT_FOUND", `No such view: ${e}`));
|
|
518
|
+
if (J(r)) return Promise.reject(new S("FORBIDDEN", "System views are read-only"));
|
|
517
519
|
let i = this.expect(r, t);
|
|
518
520
|
if (i) return Promise.reject(i);
|
|
519
521
|
this.instances.delete(e);
|
|
@@ -528,7 +530,7 @@ var bc = class {
|
|
|
528
530
|
if (r) return Promise.resolve(r);
|
|
529
531
|
this.reload();
|
|
530
532
|
let i = this.preferences.get(e), a = i ?? q();
|
|
531
|
-
if (a.revision !== t.revision) return Promise.reject(new
|
|
533
|
+
if (a.revision !== t.revision) return Promise.reject(new S("CONFLICT", `Preferences for ${e} changed`, { preferences: a }));
|
|
532
534
|
let o = {
|
|
533
535
|
...t,
|
|
534
536
|
revision: X(a.revision)
|
|
@@ -543,12 +545,12 @@ var bc = class {
|
|
|
543
545
|
if (i) return Promise.reject(i);
|
|
544
546
|
this.reload();
|
|
545
547
|
let o = this.instances.get(e);
|
|
546
|
-
if (!o) return Promise.reject(new
|
|
547
|
-
if (J(o)) return Promise.reject(new
|
|
548
|
+
if (!o) return Promise.reject(new S("NOT_FOUND", `No such view: ${e}`));
|
|
549
|
+
if (J(o)) return Promise.reject(new S("FORBIDDEN", "System views are read-only"));
|
|
548
550
|
let s = this.expect(o, t);
|
|
549
551
|
if (s) return Promise.reject(s);
|
|
550
552
|
let c = r(o);
|
|
551
|
-
if (c instanceof
|
|
553
|
+
if (c instanceof S) return Promise.reject(c);
|
|
552
554
|
if (c === null) return this.outcomes.set(n.requestId, o), Promise.resolve($(o));
|
|
553
555
|
let l = {
|
|
554
556
|
...c,
|
|
@@ -560,14 +562,14 @@ var bc = class {
|
|
|
560
562
|
let t = [];
|
|
561
563
|
for (let n of this.instances.values()) {
|
|
562
564
|
let { config: r } = n;
|
|
563
|
-
if (r.kind !== "dashboard" ||
|
|
565
|
+
if (r.kind !== "dashboard" || v(n.scope) !== "shared") continue;
|
|
564
566
|
let i = r.panels;
|
|
565
|
-
Array.isArray(i) && i.some((t) =>
|
|
567
|
+
Array.isArray(i) && i.some((t) => $e(t, e)) && t.push(n.title);
|
|
566
568
|
}
|
|
567
569
|
return t;
|
|
568
570
|
}
|
|
569
571
|
expect(e, t) {
|
|
570
|
-
return e.revision === t ? void 0 : new
|
|
572
|
+
return e.revision === t ? void 0 : new S("CONFLICT", `View ${e.id} moved to revision ${e.revision}`, { instance: e });
|
|
571
573
|
}
|
|
572
574
|
commit(e, t, n) {
|
|
573
575
|
let r = this.persist(n);
|
|
@@ -581,7 +583,7 @@ var bc = class {
|
|
|
581
583
|
});
|
|
582
584
|
return;
|
|
583
585
|
} catch (t) {
|
|
584
|
-
return e(), new
|
|
586
|
+
return e(), new S("UNAVAILABLE", `The view store could not keep this write: ${et(t)}`, { storage: !0 });
|
|
585
587
|
}
|
|
586
588
|
}
|
|
587
589
|
reload() {
|
|
@@ -594,13 +596,13 @@ var bc = class {
|
|
|
594
596
|
for (let [t, n] of Object.entries(e.preferences)) this.preferences.set(t, n);
|
|
595
597
|
}
|
|
596
598
|
};
|
|
597
|
-
function
|
|
599
|
+
function $e(e, t) {
|
|
598
600
|
if (typeof e != "object" || !e) return !1;
|
|
599
601
|
let { instanceId: n, owned: r, opens: i, click: a } = e;
|
|
600
602
|
return r === void 0 && n === t || i === t || typeof a == "object" && !!a && a.instanceId === t;
|
|
601
603
|
}
|
|
602
604
|
function J(e) {
|
|
603
|
-
return
|
|
605
|
+
return T(e.scope) && e.stored !== !0;
|
|
604
606
|
}
|
|
605
607
|
var Y = {
|
|
606
608
|
system: 0,
|
|
@@ -612,16 +614,16 @@ function X(e) {
|
|
|
612
614
|
}
|
|
613
615
|
function Z(e) {
|
|
614
616
|
switch (A(e)) {
|
|
615
|
-
case "empty": return new
|
|
616
|
-
case "too-long": return new
|
|
617
|
+
case "empty": return new S("INVALID", "A view's title must not be blank.");
|
|
618
|
+
case "too-long": return new S("INVALID", "A view's title is longer than 120 characters.");
|
|
617
619
|
default: return;
|
|
618
620
|
}
|
|
619
621
|
}
|
|
620
622
|
function Q(e) {
|
|
621
|
-
let
|
|
622
|
-
return
|
|
623
|
+
let n = t(e);
|
|
624
|
+
return n > 245760 ? new S("INVALID", `A view's config is ${n} bytes; the limit is ${w}.`) : void 0;
|
|
623
625
|
}
|
|
624
|
-
function
|
|
626
|
+
function et(e) {
|
|
625
627
|
if (typeof e == "object" && e) {
|
|
626
628
|
let { name: t, message: n } = e;
|
|
627
629
|
if (typeof n == "string") return typeof t == "string" ? `${t}: ${n}` : n;
|
|
@@ -631,7 +633,6 @@ function Sc(e) {
|
|
|
631
633
|
function $(e) {
|
|
632
634
|
return structuredClone(e);
|
|
633
635
|
}
|
|
634
|
-
|
|
635
|
-
export { bo as ALWAYS_VISIBLE, wn as ANALYSIS_AUTO_RUN_MEMBERS, In as ANALYSIS_DATE_DIFF_UNITS, Mt as ANALYSIS_DATE_PARTS, a as ANALYSIS_DATE_UNITS, hr as ANALYSIS_PRESENTATION_MEMBERS, c as BUILTIN_FIELD_KINDS, et as BUILTIN_FIELD_KIND_IDS, te as CARTESIAN_MISSING, fn as CHART_COLOR_SLOTS, Et as CHART_FAMILIES, Ae as CHART_FAMILY, l as CHART_PICKER_ORDER, an as CHART_TYPES, Qs as CLICK_GO_KINDS, Xt as CODE_REVISION, Us as CSV_BOM, It as CURRENCY_CODE_PATTERN, Qt as DASHBOARD_FILTER_KINDS, xe as DASHBOARD_FILTER_TYPES, he as DASHBOARD_GRID_COLUMNS, xt as DASHBOARD_PRESENTATION_MEMBERS, Zr as DASHBOARD_WIDTHS, ea as DATE_PART_DOMAINS, Ia as DATE_SUMMARY_FUNCTIONS, Ki as DATE_TIME_PRESETS, Ai as DEFAULT_APPROXIMATE_METRICS, To as DEFAULT_MISSING_KEY, ko as DEFAULT_PERCENTILE, Ht as DEFAULT_RUNTIME_LIMITS, _ as DEFAULT_SEARCH_MODE, un as DEFAULT_STRING_COMPARISON, ke as DEFAULT_TEMPORAL, cn as DELETION_STATES, pi as DERIVED_FORMAT_STYLES, vn as DERIVED_KINDS, nr as DURATION_COMPARISONS, pc as DatasetResources, Br as EDITOR_INPUTS, rn as EPOCH_TIME_UNITS, Aa as EXPRESSION_OPERATORS, ms as ExportCancelledError, _n as FIELDLESS_FIELD_KIND_IDS, E as FIELD_CELL_IDS, zi as FIELD_METRIC_TYPES, Je as FIELD_TONES, y as FILTER_GROUP_OPERATORS, S as FILTER_TYPE_OPERATOR, Jt as FIRST_PAGE, Ms as HAVING_OPERATORS, D as MAX_CHART_LEVELS, f as MAX_DASHBOARD_FILTERS, Gr as MAX_DASHBOARD_TABS, Lr as MAX_DERIVED_DECIMALS, ct as MAX_HEADING_LENGTH, Ea as MAX_KANBAN_LANES, mt as MAX_MARKDOWN_LENGTH, Ye as MAX_MOVING_WINDOW, Fi as MAX_NUMERIC_SCALE, Dt as MAX_PANEL_LINKS, $r as MAX_RELATIVE_DATE_AMOUNT, oe as MAX_TIMER_DELAY_MS, v as MAX_VIEW_CONFIG_BYTES, pe as MAX_VIEW_TITLE_LENGTH, Ne as METADATA_FIELD_KINDS, Ve as METADATA_FIELD_KIND_IDS, Ii as METRIC_AGAINST, Ue as METRIC_HEADLINES, bc as MemoryViewStore, On as NUMERIC_TYPES, Re as ONE_DAY_PRESETS, Qn as OPERATOR_SIGN, Bi as OTHER_LANE_ID, x as PANEL_PRESENTATION_MEMBERS, b as PEAKS_ONLY_FROM, xa as PRESENCE_OPERATORS, Wt as RECORD_PRESENTATION_MEMBERS, An as REFERENCE_STATISTICS, oa as RELATIVE_DATE_UNITS, Cn as SEARCH_MODES, Os as STACKED_COLUMNS, Fn as STRING_COMPARISONS, jt as SUMMARY_FUNCTIONS, ui as SYSTEM_INSTANCE_ID_PREFIX, Pr as SYSTEM_INSTANCE_ID_SEPARATOR, r as TEMPORAL_FIELD_KIND_IDS, br as TEMPORAL_TYPES, aa as TIME_PRECISIONS, Ss as VALUE_CANDIDATE_LIMIT, ns as VALUE_CANDIDATE_OPERATORS, yt as VIEW_AUDIENCES, Ls as VIEW_KINDS, Yr as VIEW_SCOPES, pa as VIEW_STORE_ERROR_CODES, Kt as ViewCommandError, xs as ViewEngine, R as ViewStoreError, _e as ViewWriteError, Gi as actions, Ns as addFilter, wo as addPanel, di as addTab, rt as admitFilters, vi as aggregationFunctionsOf, $a as aliasOf, Te as analysisProbeLimit, Be as analysisScope, Rr as appendLane, Or as approximateMetrics, ps as arrangePanel, $i as arrayFieldKind, Pe as asksForWhole, u as audienceOf, no as autoBindings, Vo as autoRunMembers, so as bindPanel, jn as bindingsOf, Da as boardCondition, ba as boardFilterChoices, $t as boardValueChoices, Js as boardValueSources, Le as boardWidth, mr as booleanFieldKind, Cs as bottomOf, $s as bucketChange, He as bucketRange, P as builtinFieldKinds, lr as cardField, Ie as chartMarks, Ur as chartPickerGroups, ot as chartUnfit, zn as clampPage, it as clearFilter, Xs as clickDraftGaps, Gs as clickDraftOf, Tn as clickOf, Ln as clicksFilter, ce as columnHidden, ya as columnPinned, or as comboAxis, ii as comboMark, rs as compactLayout, Oo as compactTab, $e as compileAnalysis, Ft as compileAnalysisTotals, s as compileFilter, Gn as compileKanbanCounts, zt as compilePresence, ve as compileRecord, de as compileSummaries, ut as conditionOf, Ct as conditions, F as configBytes, Ce as countLeaves, pr as coversScope, qn as createFieldKindRegistry, Se as crossFilterChoices, Wi as currencyPathOf, da as cursorPaging, Wn as dateDiffUnitsOf, w as dateFieldKind, bi as datePartsOf, Ke as dateTimeFieldKind, oo as defaultAnalysisConfig, Rt as defaultFilters, xi as defaultKanbanSpec, Qa as defaultPanelSize, _s as defaultRecordConfig, Ga as defaultRuntimeEnvironment, K as defineDataset, H as defineView, De as deletionFieldKind, Ca as derivedMetric, Vt as derivedText, fi as describeFilter, ie as describePresence, ha as describePresenceParts, Xo as detailSections, Vs as draftedClick, lo as drillConditions, Do as drillFilter, ho as drillGroups, ao as duplicatePanel, Me as durationFrom, ae as durationMetric, ys as editContent, Pt as elementFields, Dn as elementFilterFields, Fa as elementMatchFieldKind, Lo as emptyDashboardConfig, Ze as emptyFilter, q as emptyPreferences, Qe as enumFieldKind, Hr as epochUnitOf, qi as expressionFieldsOf, ga as expressionText, tt as familyOf, Jn as fieldAliasSegment, qs as fieldGroups, ge as fillUrl, za as filterCondition, ne as filterControlValue, pn as filterEditor, Nt as filterFields, gi as filterIndexes, je as filterOperatorOf, vo as filterReach, on as filterStoredValue, nt as filterTypeOf, yn as filterValueIssues, O as filtersOf, zs as filtersOnTab, bs as firstMetric, Ko as fitChartSlots, ft as fitCharts, Bo as fitsGrid, yo as focusOn, g as formulaFormat, Yt as formulaMetric, i as freeAlias, gs as freeSpot, io as groupFacts, rr as groupFieldsOf, Bs as groupFor, Ri as groupJoinWord, gr as groupKeyText, No as groupOfType, jo as groupableFields, Ts as grownLayout, Es as hasAsked, ds as hasResult, Rs as havingRows, tn as impliedDeletion, Go as inRows, Sn as innermostElement, Pa as insertAt, dn as isAdditiveMetric, Vn as isApproximate, ua as isBlankFilter, Xe as isBlankFilterValue, Ci as isBlankLeafValue, ur as isChartColor, o as isContentPanel, Ti as isDateCell, cr as isDateTimeFilterValue, hn as isDeletionState, ye as isDuration, xr as isDurationFilterValue, m as isEmptyFilter, Oa as isExecutableFilter, Uo as isExportCancelledError, Zi as isFieldName, sr as isFieldlessKind, sn as isFilterGroup, Fe as isFilterGroupOperator, Ee as isFilterLeaf, en as isFilterNode, fe as isFormula, Ir as isGroupItem, Xi as isKnownEditorInput, mn as isNegation, oi as isNumberRange, Li as isOneDayValue, Ar as isOrderedRange, _r as isOwnedPanel, ja as isPercentStacked, qt as isPresenceOperator, na as isPresentationMember, Ro as isRecordRuntime, Rn as isReferenceFilterValue, Hi as isRootFilterIssue, hi as isSafeContentUrl, C as isSimpleTree, ai as isSingleStringField, $n as isSmooth, Ta as isStacked, L as isSystemInstanceId, k as isSystemScope, xn as isValidTimeZone, ei as isValueMetric, ue as isViewCommandError, Vi as isViewPanel, wa as isViewStoreError, gt as isViewWriteError, M as issue, Ji as kanbanLanes, ir as laneConfig, ti as laneFields, ka as lastPageInWindow, Ds as leadMetric, Ps as levelLabel, ki as limitBounds, mc as localStorageSnapshot, Gt as mapGlobalFilter, Ys as mappedValues, ta as maxSortFields, Oi as measureColumns, Ge as mergeFilters, le as mergeGlobalFilter, fa as metricCondition, ln as metricFieldOf, Oe as metricFormat, nn as metricFunctionOf, gn as metricMeasure, T as metricMeasures, Fo as metricOfSummary, vt as metricReferenceText, _o as metricWithCondition, ci as momentColumns, qe as momentMetrics, So as moveFilter, ro as movePanelToTab, Fr as moveTab, zo as narrowValueCandidates, to as narrowsTo, _a as nearestPageSize, Mi as negateAt, Co as nextExpansion, Xa as nextLevel, ze as nodeAt, we as numberFieldKind, la as numberFormatOf, Ut as offersPercentStack, se as offersStacking, ri as operatorsOf, va as optionTabs, Pn as outOfScopeNames, cs as overlaps, Zn as pageAfterShrink, Sr as pageSummaries, Sa as pageWindow, Bt as pagedPaging, We as panelFilterTree, zr as panelTab, Kn as panelsOf, Ma as parseSystemInstanceId, Lt as peaksOnlyLabels, Nn as periodOf, wi as periodRollover, As as placePanel, qo as placePanelIn, Fs as presentationMembers, Si as presentationMembersOf, St as pressableGroups, Mr as projectAnalysis, sa as projectKanban, Di as projectRecord, si as projectSummaries, At as qualify, Is as rangeSpan, Ni as readInstant, ca as readValue, hs as readValueCandidates, Zo as readingOrder, Pi as readsAsItsField, xo as recommendDateUnit, ls as recordCapabilityOf, _t as recordProjection, jr as recordValue, Mo as referToSaved, wt as referenceFieldKind, Yi as referencedInstance, n as relativeFields, yr as relativeName, ia as relativeTree, En as removeAt, bn as removeConditionAt, Ya as removeFilter, qa as removeFixedScope, Ao as removePanel, kr as removeTab, fo as renameFilter, Po as renamePanel, Hn as renameTab, vs as reorderPanel, us as reorderPanelIn, go as replacePanelView, kt as resolveDateTimeBound, t as resolveDateTimeRange, Ka as resultSpan, as as retypeFilter, es as rootSearch, Dr as rowCurrency, Mn as sameFilterNode, Ot as sameFilterTree, Ra as sameFilterType, I as say, _i as scopePrefix, dt as searchFieldKind, Qo as searchFieldOf, Ws as serializeCsv, La as seriesMark, Ba as setBoardWidth, Ha as setFilterDefault, is as setFilterMultiple, co as setFilterOneDay, uo as setFilterOptions, mo as setFilterRequired, Qr as setPanelClick, Yo as setPresentation, Za as setTimeGrouping, Tt as shapeChart, Wa as splitBy, ts as stackedLayout, Zt as stacks, be as stageValues, at as stringFieldKind, qr as summaryAlias, Va as summaryChoices, fr as summaryFunctionsOf, Jo as summaryOf, fs as switchChartType, er as systemInstanceId, ar as tabsOf, p as takesGroup, Tr as temporalOf, li as text, Nr as textKeyOf, A as titleProblem, j as toSummary, Ua as unbindPanels, Ui as unknownOrOutside, js as unmarkedErrors, e as updateAt, Zs as urlFillable, Kr as urlPlaceholders, ni as validateAnalysis, lt as validateBoardClick, Cr as validateChart, Er as validateDashboard, Un as validateDataConfigBase, re as validateDefinition, Xn as validateFilter, Na as validateFilterFields, ji as validateLayout, ht as validatePanelClick, mi as validateRecord, ma as validateTabs, tr as validateTimeGrouping, yi as validateViewConfigBase, ws as valueCandidateField, Wo as valueCandidateLimit, ss as valueCandidateNarrowing, ks as valueCandidatesConfig, ee as valueLabelsOn, Hs as valueSourceKey, h as variantGroups, vr as walkFilter, ra as walkFilterShape, kn as wallClockAt, Eo as wireableFields, eo as wiredOptions, Ks as withBoard, Ja as withElements, dr as withFieldKinds, Ho as withHavingRows, $o as withLayouts, po as withLevel, me as withMovedTo, Vr as withOutOfScope, bt as withPercentStack, Io as withRootSearch, Xr as withSlot, d as withSmooth, Wr as withStacked, st as withStageOrder, pt as withStagesFrom, Bn as withText, os as withoutLevelsFrom, Jr as wordReferences, wr as writeValue };
|
|
636
|
+
export { ge as BUILTIN_FIELD_KINDS, d as CHART_TYPES, we as DEFAULT_MISSING_KEY, u as DEFAULT_RUNTIME_LIMITS, Ge as DatasetResources, n as EDITOR_INPUTS, De as ExportCancelledError, w as MAX_VIEW_CONFIG_BYTES, te as MAX_VIEW_TITLE_LENGTH, Qe as MemoryViewStore, ve as ReferenceLabelTimeoutError, c as VIEW_STORE_ERROR_CODES, i as ViewCommandError, ye as ViewEngine, S as ViewStoreError, r as ViewWriteError, O as actions, l as builtinFieldKinds, m as compileAnalysis, P as compileFilter, s as compileRecord, ue as createFieldKindRegistry, L as defaultAnalysisConfig, Ee as defaultRecordConfig, ke as defaultRuntimeEnvironment, G as defineDataset, V as defineView, _e as emptyDashboardConfig, q as emptyPreferences, Se as fitChartSlots, Oe as hasAsked, xe as hasResult, I as inRows, Te as isAnalysisRuntime, se as isDateTimeFilterValue, be as isExportCancelledError, Ce as isRecordRuntime, k as isSystemInstanceId, p as isViewCommandError, o as isViewStoreError, de as isViewWriteError, f as issue, Ke as localStorageSnapshot, oe as projectAnalysis, g as projectRecord, ae as resolveDateTimeRange, Ae as serializeCsv, pe as systemInstanceId, y as text, F as textKeyOf, D as validateAnalysis, le as validateDashboard, M as validateDefinition, re as validateFilter, fe as validateRecord, a as withFieldKinds, ee as withText };
|
|
636
637
|
|
|
637
638
|
//# sourceMappingURL=index.js.map
|