@malloydata/render 0.0.354 → 0.0.356
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/module/api/malloy-viz.d.ts +3 -4
- package/dist/module/index.mjs +1854 -1856
- package/dist/module/index.umd.js +3 -3
- package/package.json +5 -5
|
@@ -12,6 +12,7 @@ export declare class MalloyViz {
|
|
|
12
12
|
private logCollector;
|
|
13
13
|
private readyCallbacks;
|
|
14
14
|
private isReady;
|
|
15
|
+
private unreadTagsCollected;
|
|
15
16
|
constructor(options: MalloyRendererOptions, pluginRegistry?: RenderPluginFactory[]);
|
|
16
17
|
static addStylesheet(styles: string): void;
|
|
17
18
|
getHTML(): Promise<string>;
|
|
@@ -31,15 +32,13 @@ export declare class MalloyViz {
|
|
|
31
32
|
*/
|
|
32
33
|
onReady(callback: () => void): void;
|
|
33
34
|
/**
|
|
34
|
-
* Get log messages
|
|
35
|
-
* Includes warnings for unread (unknown) tags and semantic errors.
|
|
36
|
-
* For complete results including unread tag warnings,
|
|
37
|
-
* call this from an `onReady` callback.
|
|
35
|
+
* Get log messages including semantic errors and unread tag warnings.
|
|
38
36
|
*/
|
|
39
37
|
getLogs(): Malloy.LogMessage[];
|
|
40
38
|
private handleReady;
|
|
41
39
|
/**
|
|
42
40
|
* Walk all field tags and collect warnings for unread properties.
|
|
41
|
+
* Safe to call multiple times; only collects once.
|
|
43
42
|
*/
|
|
44
43
|
private collectUnreadTagWarnings;
|
|
45
44
|
}
|