@dashspec/renderer 0.1.39 → 0.1.41
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/CHANGELOG.md +22 -0
- package/dist/{chunk-UL6VRMFZ.js → chunk-YOCDUP7X.js} +2 -2
- package/dist/{chunk-UL6VRMFZ.js.map → chunk-YOCDUP7X.js.map} +1 -1
- package/dist/{core-B6Up94OI.d.ts → core-DE2SVeij.d.ts} +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +57 -15
- package/dist/index.js +285 -258
- package/dist/index.js.map +1 -1
- package/docs/theming.md +57 -0
- package/package.json +1 -1
|
@@ -7588,7 +7588,7 @@ declare class TransformError extends Error {
|
|
|
7588
7588
|
declare function applyTransform(data: unknown, steps: readonly Step[], root: Scope, opts?: TransformOptions): unknown;
|
|
7589
7589
|
|
|
7590
7590
|
/** This package's version. A test keeps it equal to package.json's; bump both together. */
|
|
7591
|
-
declare const RENDERER_VERSION = "0.1.
|
|
7591
|
+
declare const RENDERER_VERSION = "0.1.41";
|
|
7592
7592
|
/**
|
|
7593
7593
|
* Whether `version` satisfies `range`. Supports what documents need: "1.2.3" (that or newer within the major, like
|
|
7594
7594
|
* "^"), ">=1.2", ">1.2.3", "<2", "<=2.1", "^1.2", "~1.2.3", and several of them separated by spaces (all must hold).
|
package/dist/core.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, D as Dashboard, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, a$ as Grid, K as Handler, L as HelperSettings, M as Helpers, H as HttpClient, O as HttpClientInternals, P as Id, J as JsonValue, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, N as NetworkOptions, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, R as ResolvedRequest, ac as SCHEMA_URL, S as Scope, ad as Severity, ae as Spec, b0 as StatusTone, af as Template, a as TimeSettings, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-
|
|
1
|
+
export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, D as Dashboard, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, a$ as Grid, K as Handler, L as HelperSettings, M as Helpers, H as HttpClient, O as HttpClientInternals, P as Id, J as JsonValue, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, N as NetworkOptions, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, R as ResolvedRequest, ac as SCHEMA_URL, S as Scope, ad as Severity, ae as Spec, b0 as StatusTone, af as Template, a as TimeSettings, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-DE2SVeij.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'react';
|
package/dist/core.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AnyWidgetDefinition, T as TreeState, H as HttpClient, R as ResolvedRequest, a as TimeSettings, D as Dashboard, N as NetworkOptions, J as JsonValue, S as Scope, W as WidgetDefinition, b as SlotDefinition, c as SlotRenderOptions, d as WidgetMeta, e as WidgetProps } from './core-
|
|
2
|
-
export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, E as Emit, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, K as Handler, L as HelperSettings, M as Helpers, O as HttpClientInternals, P as Id, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a5 as PanelState, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, ac as SCHEMA_URL, ad as Severity, ae as Spec, af as Template, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, ar as WidgetStore, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-
|
|
1
|
+
import { A as AnyWidgetDefinition, T as TreeState, H as HttpClient, R as ResolvedRequest, a as TimeSettings, D as Dashboard, N as NetworkOptions, J as JsonValue, S as Scope, W as WidgetDefinition, b as SlotDefinition, c as SlotRenderOptions, d as WidgetMeta, e as WidgetProps } from './core-DE2SVeij.js';
|
|
2
|
+
export { f as ACTION_KINDS, g as ACTION_SCHEMAS, h as API_VERSION, i as Action, j as ActionRef, k as Auth, B as BREAKPOINTS, l as BUILT_IN_DATASOURCE_TYPES, C as Callback, m as Connection, n as ConnectionSpec, o as DATE_PRESETS, p as DashboardInput, q as DataBinding, r as DataError, s as DataErrorCode, t as Datasource, u as DateRange, v as Display, w as Drill, x as Duration, E as Emit, y as EventHandler, z as EventMap, F as Expression, G as ExpressionError, I as FnProp, K as Handler, L as HelperSettings, M as Helpers, O as HttpClientInternals, P as Id, Q as Layout, U as LayoutItem, V as LoadOptions, X as LoadResult, Y as Metadata, Z as MigrateResult, _ as MigrationError, $ as Modal, a0 as NamedAction, a1 as Node, a2 as Panel, a3 as PanelControl, a4 as PanelMigration, a5 as PanelState, a6 as Problem, a7 as RENDERER_VERSION, a8 as RESERVED_STATE_KEYS, a9 as RefRoot, aa as Reference, ab as Requires, ac as SCHEMA_URL, ad as Severity, ae as Spec, af as Template, ag as TokenSource, ah as TransformError, ai as TransformOptions, aj as TransformStep, ak as Translations, al as VARIABLE_KINDS, am as ValidateOptions, an as ValidationResult, ao as Variable, ap as WidgetCheck, aq as WidgetMigrations, ar as WidgetStore, as as applyTransform, at as buildRequestUrl, au as buildUrl, av as builtInWidgetChecks, aw as collectReferences, ax as compile, ay as createHelpers, az as createHttpClient, aA as dashboardJsonSchema, aB as evaluate, aC as evaluateSafe, aD as expressionReferences, aE as graphqlData, aF as interpolate, aG as interpolateUrl, aH as isCallbackSource, aI as isSafeUrl, aJ as loadDocument, aK as mergeConnections, aL as migrateDocument, aM as parse, aN as parseDuration, aO as placeholders, aP as plantDate, aQ as plantDayStart, aR as resolve, aS as resolveBaseUrl, aT as resolveRequest, aU as safeLink, aV as satisfies, aW as scope, aX as stripStrings, aY as templateReferences, aZ as translator, a_ as validateDocument } from './core-DE2SVeij.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { CSSProperties, ReactNode, ComponentType } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -99,6 +99,11 @@ type CssDeclarations = CSSProperties & {
|
|
|
99
99
|
/** Turns a `CssRules` object into a CSS string with `&` selectors; unsafe values are dropped. */
|
|
100
100
|
declare function cssRulesToString(rules: CssRules, unsafe: RegExp): string;
|
|
101
101
|
|
|
102
|
+
/** A colour, or one per mode: `{ light: "#0d0d0d", dark: "#f2f2f2" }`. */
|
|
103
|
+
type ModeColor = string | {
|
|
104
|
+
light?: string;
|
|
105
|
+
dark?: string;
|
|
106
|
+
};
|
|
102
107
|
/** A piece of text inside widgets: its font (a theme font), size, weight, line height and colour. */
|
|
103
108
|
interface TextPart {
|
|
104
109
|
font?: "heading" | "body" | "data";
|
|
@@ -107,7 +112,7 @@ interface TextPart {
|
|
|
107
112
|
weight?: number;
|
|
108
113
|
/** px */
|
|
109
114
|
lineHeight?: number;
|
|
110
|
-
color?:
|
|
115
|
+
color?: ModeColor;
|
|
111
116
|
/** px above it (e.g. a subtitle under the title). */
|
|
112
117
|
marginTop?: number;
|
|
113
118
|
/** CSS padding, e.g. "24px 0". */
|
|
@@ -128,7 +133,7 @@ interface PartTokens {
|
|
|
128
133
|
/** The ⓘ next to a title. */
|
|
129
134
|
info?: {
|
|
130
135
|
size?: number;
|
|
131
|
-
color?:
|
|
136
|
+
color?: ModeColor;
|
|
132
137
|
};
|
|
133
138
|
/** KPI and tile labels. */
|
|
134
139
|
label?: TextPart;
|
|
@@ -160,22 +165,22 @@ interface PartTokens {
|
|
|
160
165
|
radius?: number;
|
|
161
166
|
gap?: number;
|
|
162
167
|
spacing?: number;
|
|
163
|
-
border?:
|
|
168
|
+
border?: ModeColor;
|
|
164
169
|
activeLabel?: TextPart;
|
|
165
170
|
};
|
|
166
171
|
/** Tables: cell padding (CSS), row divider colour, totals row and opened-row backgrounds. */
|
|
167
172
|
table?: {
|
|
168
173
|
cellPadding?: string;
|
|
169
|
-
rowBorder?:
|
|
170
|
-
footBackground?:
|
|
174
|
+
rowBorder?: ModeColor;
|
|
175
|
+
footBackground?: ModeColor;
|
|
171
176
|
footWeight?: number;
|
|
172
|
-
openBackground?:
|
|
177
|
+
openBackground?: ModeColor;
|
|
173
178
|
};
|
|
174
179
|
/** The live badge's dot (px) and colours. */
|
|
175
180
|
liveDot?: {
|
|
176
181
|
size?: number;
|
|
177
|
-
color?:
|
|
178
|
-
staleColor?:
|
|
182
|
+
color?: ModeColor;
|
|
183
|
+
staleColor?: ModeColor;
|
|
179
184
|
};
|
|
180
185
|
/** The filter bar: its padding (CSS, e.g. "16px") and corner radius (px). */
|
|
181
186
|
filterBar?: {
|
|
@@ -190,7 +195,7 @@ interface PartTokens {
|
|
|
190
195
|
};
|
|
191
196
|
}
|
|
192
197
|
/** CSS for a theme's `scale.parts`, scoped under `scope`. Empty when the theme sets none. */
|
|
193
|
-
declare function partsCss(theme: Theme, scope: string): string;
|
|
198
|
+
declare function partsCss(theme: Theme, scope: string, mode?: "light" | "dark"): string;
|
|
194
199
|
|
|
195
200
|
/**
|
|
196
201
|
* The DashSpec token contract. Widgets read only these tokens, through `--ds-*` CSS variables,
|
|
@@ -355,6 +360,11 @@ interface WidgetTheme {
|
|
|
355
360
|
* or an object with suggested selectors (`{ "& .ds-kpi-label": { textTransform: "uppercase" } }`).
|
|
356
361
|
*/
|
|
357
362
|
css?: string | CssRules;
|
|
363
|
+
/** Changes for dark mode only, applied after `vars` and `css` (e.g. colours that differ on a dark background). */
|
|
364
|
+
dark?: {
|
|
365
|
+
vars?: Record<string, string>;
|
|
366
|
+
css?: string | CssRules;
|
|
367
|
+
};
|
|
358
368
|
/** Anything else your own widget reads: `useThemeTokens()?.theme.widgets?.["acme.Gauge"]?.settings`. */
|
|
359
369
|
settings?: Record<string, unknown>;
|
|
360
370
|
}
|
|
@@ -402,7 +412,12 @@ interface ThemeInput {
|
|
|
402
412
|
}
|
|
403
413
|
/** Deep merge for plain objects; arrays and primitives replace. Never mutates. */
|
|
404
414
|
declare function mergeDeep<T>(base: T, patch: DeepPartial<NoInfer<T>> | undefined): T;
|
|
405
|
-
|
|
415
|
+
/**
|
|
416
|
+
* Builds a theme. `input` can also be a function of the base theme (`extends`, or the default), to build on its
|
|
417
|
+
* actual values: `createTheme((base) => ({ dark: { surface: { card: base.dark.surface.sunken } } }))`, or
|
|
418
|
+
* `createTheme((base) => …, myTheme)` to start from your own theme.
|
|
419
|
+
*/
|
|
420
|
+
declare function createTheme(input?: ThemeInput | ((base: Theme) => ThemeInput), start?: Theme): Theme;
|
|
406
421
|
declare function resolveMode(theme: Theme, prefersDark: boolean): ThemeMode;
|
|
407
422
|
|
|
408
423
|
/**
|
|
@@ -421,7 +436,7 @@ declare function themeStylesheet(theme: Theme, selector?: string): string;
|
|
|
421
436
|
* root). `vars` become custom properties on `.ds-panel[data-kind="…"]`; `css` is added with `&` as that panel.
|
|
422
437
|
* Unsafe variable names or values are dropped, and `css` can't close the `<style>` element.
|
|
423
438
|
*/
|
|
424
|
-
declare function widgetThemeCss(theme: Theme, scope: string): string;
|
|
439
|
+
declare function widgetThemeCss(theme: Theme, scope: string, mode?: "light" | "dark"): string;
|
|
425
440
|
|
|
426
441
|
/** DashSpec's neutral default. Brand themes made with `createTheme` start from it. */
|
|
427
442
|
declare const defaultTheme: Theme;
|
|
@@ -578,6 +593,28 @@ interface ThemeScopeProps {
|
|
|
578
593
|
/** Sets the theme's `--ds-*` variables on one element; widgets inside read only those. Never touches `<html>`. */
|
|
579
594
|
declare function ThemeScope({ theme, mode, className, style, children }: ThemeScopeProps): react_jsx_runtime.JSX.Element;
|
|
580
595
|
|
|
596
|
+
/** "a.b.c" paths to the string leaves of an object type, e.g. "text.secondary" or "status.good.bg". */
|
|
597
|
+
type Paths<T, P extends string = ""> = {
|
|
598
|
+
[K in keyof T & string]: T[K] extends string ? `${P}${K}` : T[K] extends readonly unknown[] ? never : T[K] extends object ? Paths<T[K], `${P}${K}.`> : never;
|
|
599
|
+
}[keyof T & string];
|
|
600
|
+
/**
|
|
601
|
+
* References to the current theme's values, for use anywhere a theme takes a colour, size or font: `parts`,
|
|
602
|
+
* `widgets` css and vars, your own widgets' styles. They are CSS variables, so they follow the active theme and switch
|
|
603
|
+
* by themselves between light and dark mode.
|
|
604
|
+
*
|
|
605
|
+
* parts: { title: { color: token.color("text.primary") }, meta: { color: token.color("text.secondary") } }
|
|
606
|
+
*/
|
|
607
|
+
declare const token: {
|
|
608
|
+
/** A colour of the active mode: `token.color("status.good.fg")`. */
|
|
609
|
+
color: (path: Paths<ColorTokens>) => string;
|
|
610
|
+
/** A spacing step: `token.space("md")`. */
|
|
611
|
+
space: (step: keyof ScaleTokens["space"]) => string;
|
|
612
|
+
/** A corner radius: `token.radius("card")`. */
|
|
613
|
+
radius: (name: keyof ScaleTokens["radius"]) => string;
|
|
614
|
+
/** A font family: `token.font("heading")`. */
|
|
615
|
+
font: (name: "heading" | "body" | "data") => string;
|
|
616
|
+
};
|
|
617
|
+
|
|
581
618
|
/** Every control gets the filter's name (for forms and labels) and its label. */
|
|
582
619
|
interface Base {
|
|
583
620
|
name: string;
|
|
@@ -1433,6 +1470,11 @@ interface DashboardRendererProps extends NetworkOptions {
|
|
|
1433
1470
|
aliases?: Readonly<Record<string, string>>;
|
|
1434
1471
|
datasourceTypes?: readonly DatasourceType[];
|
|
1435
1472
|
theme?: Theme;
|
|
1473
|
+
/**
|
|
1474
|
+
* Light or dark, decided by the host (e.g. your app's dark-mode switch): "light", "dark" or "auto" (follows the
|
|
1475
|
+
* viewer's system). Wins over the theme's and the document's mode. Every theme has both colour sets.
|
|
1476
|
+
*/
|
|
1477
|
+
colorMode?: "light" | "dark" | "auto";
|
|
1436
1478
|
/**
|
|
1437
1479
|
* Named themes a document can pick with `"display": { "theme": "<name>" }`. "light", "dark" and "auto" stay modes
|
|
1438
1480
|
* of `theme`. Usually registered once on a `DashSpecProvider`.
|
|
@@ -1534,7 +1576,7 @@ declare function PanelFrame({ id, nested }: {
|
|
|
1534
1576
|
}): react_jsx_runtime.JSX.Element;
|
|
1535
1577
|
|
|
1536
1578
|
/** Settings that are the same for every dashboard in an app: set them once on a provider. */
|
|
1537
|
-
type DashSpecSettings = Partial<Pick<DashboardRendererProps, "designSystems" | "widgets" | "ui" | "aliases" | "actions" | "functions" | "datasourceTypes" | "themes" | "theme" | "locale" | "scripts" | "context" | "data" | "connections" | "connectionMap" | "getToken" | "refreshToken" | "trustedOrigins" | "transport" | "fetch" | "pageHost" | "storage" | "maxResponseBytes" | "onRequest" | "onResponse" | "onError" | "onEvent" | "onNavigate" | "onOpenDashboard" | "onToast" | "renderEmpty" | "renderError" | "renderLoading">>;
|
|
1579
|
+
type DashSpecSettings = Partial<Pick<DashboardRendererProps, "designSystems" | "widgets" | "ui" | "aliases" | "actions" | "functions" | "datasourceTypes" | "themes" | "theme" | "colorMode" | "locale" | "scripts" | "context" | "data" | "connections" | "connectionMap" | "getToken" | "refreshToken" | "trustedOrigins" | "transport" | "fetch" | "pageHost" | "storage" | "maxResponseBytes" | "onRequest" | "onResponse" | "onError" | "onEvent" | "onNavigate" | "onOpenDashboard" | "onToast" | "renderEmpty" | "renderError" | "renderLoading">>;
|
|
1538
1580
|
/**
|
|
1539
1581
|
* Registers your components, design systems, themes, actions and network settings once for the whole app; every
|
|
1540
1582
|
* `DashboardRenderer` inside uses them, and a document refers to them by name (`"kind": "acme.Gauge"`,
|
|
@@ -1648,4 +1690,4 @@ declare function lazyWidget<S extends z.ZodTypeAny>(def: Omit<WidgetDefinition<S
|
|
|
1648
1690
|
fallback?: ReactNode;
|
|
1649
1691
|
}): WidgetDefinition<S>;
|
|
1650
1692
|
|
|
1651
|
-
export { AnyWidgetDefinition, BAR, BAR_ICONS, type Breakpoint, CallbackApi, type ColorTokens, ControlField, type CssDeclarations, type CssRules, DS_CLASSES, type DashEvent, DashSpecProvider, type DashSpecSettings, Dashboard, DashboardContext, type DashboardHandle, DashboardRenderer, type DashboardRendererProps, type DashboardRuntime, type DatasourceType, DateControl, DateRangeControl, type DeepPartial, type DesignSystem, type DsClass, type DsSelector, FilterBar, Grid, type GridChangeItem, type HostHooks, HttpClient, JsonValue, type LayoutSpec, ModalHost, MultiSelectControl, NetworkOptions, type NodeScope, type Option, PanelFrame, type PartTokens, RENDERER_CSS, ResolvedRequest, type RuntimeOptions, type ScaleTokens, Scope, ScriptMode, ScriptRunner, SelectControl, Slot, SlotDefinition, type SourceState, type StatusColors, type StatusTone, type TextPart, type Theme, ThemeContext, type ThemeInput, type ThemeMode, ThemeScope, type ThemeScopeProps, TimeSettings, type Tree, type TypeRole, type UIChipsProps, type UIComponents, type UICustomFilterProps, type UIDateProps, type UIDateRangeProps, type UIFilterBarProps, type UIFilterDef, type UIMultiSelectProps, type UISearchProps, type UISelectProps, type UIStateProps, type UIToggleProps, WidgetDefinition, WidgetMeta, WidgetProps, type WidgetRegistry, type WidgetTheme, type WrapOptions, builtInWidgets, checkWidget, combineDesignSystems, createDashboardRuntime, createTheme, createWidgetRegistry, cssRulesToString, defaultTheme, defineDesignSystem, defineWidget, echartsTheme, layoutsForView, lazyWidget, mergeDeep, panelRows, partsCss, presetRange, resolveMode, themeCssVars, themeStylesheet, timeSettingsFor, useDashSpecSettings, useDashboard, useDashboardActions, useDashboardState, useNodeScope, useThemeTokens, useTree, widgetChecks, widgetThemeCss, wrapComponent };
|
|
1693
|
+
export { AnyWidgetDefinition, BAR, BAR_ICONS, type Breakpoint, CallbackApi, type ColorTokens, ControlField, type CssDeclarations, type CssRules, DS_CLASSES, type DashEvent, DashSpecProvider, type DashSpecSettings, Dashboard, DashboardContext, type DashboardHandle, DashboardRenderer, type DashboardRendererProps, type DashboardRuntime, type DatasourceType, DateControl, DateRangeControl, type DeepPartial, type DesignSystem, type DsClass, type DsSelector, FilterBar, Grid, type GridChangeItem, type HostHooks, HttpClient, JsonValue, type LayoutSpec, ModalHost, MultiSelectControl, NetworkOptions, type NodeScope, type Option, PanelFrame, type PartTokens, RENDERER_CSS, ResolvedRequest, type RuntimeOptions, type ScaleTokens, Scope, ScriptMode, ScriptRunner, SelectControl, Slot, SlotDefinition, type SourceState, type StatusColors, type StatusTone, type TextPart, type Theme, ThemeContext, type ThemeInput, type ThemeMode, ThemeScope, type ThemeScopeProps, TimeSettings, type Tree, type TypeRole, type UIChipsProps, type UIComponents, type UICustomFilterProps, type UIDateProps, type UIDateRangeProps, type UIFilterBarProps, type UIFilterDef, type UIMultiSelectProps, type UISearchProps, type UISelectProps, type UIStateProps, type UIToggleProps, WidgetDefinition, WidgetMeta, WidgetProps, type WidgetRegistry, type WidgetTheme, type WrapOptions, builtInWidgets, checkWidget, combineDesignSystems, createDashboardRuntime, createTheme, createWidgetRegistry, cssRulesToString, defaultTheme, defineDesignSystem, defineWidget, echartsTheme, layoutsForView, lazyWidget, mergeDeep, panelRows, partsCss, presetRange, resolveMode, themeCssVars, themeStylesheet, timeSettingsFor, token, useDashSpecSettings, useDashboard, useDashboardActions, useDashboardState, useNodeScope, useThemeTokens, useTree, widgetChecks, widgetThemeCss, wrapComponent };
|