@malloydata/malloy-explorer 0.0.331-dev260122023015 → 0.0.337-dev260213014950
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/dist/cjs/index.cjs +4 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +5 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/types/components/CodeEditor/lsp/stub_compile.d.ts +1 -0
- package/dist/types/components/primitives/Badge.spec.d.ts +3 -0
- package/jest.config.cjs +1 -1
- package/package.json +8 -8
package/dist/esm/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import React__default, { useLayoutEffect, useEffect, useMemo, createContext, use
|
|
|
19
19
|
import { Runtime, Malloy, malloyToQuery, MalloyError } from "@malloydata/malloy";
|
|
20
20
|
import { malloyToQuery as malloyToQuery2, modelDefToModelInfo } from "@malloydata/malloy";
|
|
21
21
|
import { ASTQuery, ASTArrowQueryDefinition, ASTArrowViewDefinition, ASTSegmentViewDefinition, ASTNestViewOperation, ASTRefinementViewDefinition, ASTFilterWithLiteralEquality, ASTAnnotation, ASTLimitViewOperation, ASTOrderByViewOperation, ASTGroupByViewOperation, ASTAggregateViewOperation, ASTCalculateViewOperation, ASTTimeTruncationExpression, ASTFilterWithFilterString, ASTReferenceExpression, ASTWhereViewOperation, ASTHavingViewOperation, ASTDrillViewOperation, ASTReferenceQueryArrowSource } from "@malloydata/malloy-query-builder";
|
|
22
|
-
import {
|
|
22
|
+
import { parseTag } from "@malloydata/malloy-tag";
|
|
23
23
|
import { MalloyRenderer, isCoreVizPluginInstance } from "@malloydata/render";
|
|
24
24
|
import { TemporalFilterExpression, BooleanFilterExpression, NumberFilterExpression, StringFilterExpression } from "@malloydata/malloy-filter";
|
|
25
25
|
import * as ReactDOM from "react-dom";
|
|
@@ -32324,7 +32324,7 @@ function Visualization({
|
|
|
32324
32324
|
}) {
|
|
32325
32325
|
const {
|
|
32326
32326
|
tag
|
|
32327
|
-
} =
|
|
32327
|
+
} = parseTag(annotations.map((annotation) => annotation.value));
|
|
32328
32328
|
const renderer = tagToRenderer(tag) ?? "table";
|
|
32329
32329
|
return /* @__PURE__ */ jsx(Token, {
|
|
32330
32330
|
label: snakeToTitle(renderer),
|
|
@@ -36168,6 +36168,9 @@ class StubConnection extends BaseConnection {
|
|
|
36168
36168
|
this.name = "stub";
|
|
36169
36169
|
this.dialectName = dialectName;
|
|
36170
36170
|
}
|
|
36171
|
+
getDigest() {
|
|
36172
|
+
return "stub";
|
|
36173
|
+
}
|
|
36171
36174
|
runSQL() {
|
|
36172
36175
|
throw new Error("Stub connection cannot run SQL.");
|
|
36173
36176
|
}
|