@aquera/data-visualizer-sdk 0.0.26 → 0.0.28
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/ask-aquera/src/ask-aquera-config.d.ts +57 -0
- package/chunk-3CHM3VJC.js +21 -0
- package/{chunk-QRBGFQNB.js → chunk-A2OWCMKF.js} +1 -1
- package/{chunk-6OVCXXYI.js → chunk-DYBPN3MJ.js} +1 -1
- package/chunk-ICUFCTKP.js +11 -0
- package/{chunk-KYCGQJG3.js → chunk-KTWHSGCC.js} +894 -894
- package/{chunk-ECS6WNSC.js → chunk-STUPIIQG.js} +1 -1
- package/{chunk-7PXJWZJF.js → chunk-TCNUWNNB.js} +1 -1
- package/chunk-Y7A6GQNH.js +2 -0
- package/chunk-ZMKSTS3B.js +21 -0
- package/dashboards/src/dashboards-config.d.ts +31 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/chunk-6TORUFMB.js +0 -11
- package/chunk-EAGEUWLE.js +0 -2
- package/chunk-U4S2XPPP.js +0 -21
- package/chunk-VRHT3DH6.js +0 -21
|
@@ -161,6 +161,26 @@ export interface DvzDashboardsConfig {
|
|
|
161
161
|
initial?: {
|
|
162
162
|
dashboardId?: string;
|
|
163
163
|
};
|
|
164
|
+
/**
|
|
165
|
+
* Scope the active dashboard to this absolute UTC window instead of its own
|
|
166
|
+
* default (unfiltered). Reassigning `config` with a different `timeRange`
|
|
167
|
+
* re-scopes it immediately, the same as any other config field. Independent
|
|
168
|
+
* of `features.timeRangePicker`: hiding the picker does not disable this —
|
|
169
|
+
* a host can drive the range with the control hidden.
|
|
170
|
+
*
|
|
171
|
+
* Precedence when the picker is ALSO visible: this value is the current
|
|
172
|
+
* range; a user interaction with the picker (a preset, Custom Apply, or its
|
|
173
|
+
* Reset) overrides it until the host reassigns `config` again.
|
|
174
|
+
*
|
|
175
|
+
* Omitting it leaves today's behaviour unchanged (unfiltered until the user
|
|
176
|
+
* picks a window, same as `features.timeRangePicker`'s own default).
|
|
177
|
+
*/
|
|
178
|
+
timeRange?: {
|
|
179
|
+
/** Inclusive lower bound, ISO-8601. */
|
|
180
|
+
from: string;
|
|
181
|
+
/** Inclusive upper bound, ISO-8601. */
|
|
182
|
+
to: string;
|
|
183
|
+
};
|
|
164
184
|
/**
|
|
165
185
|
* Where the element's outbound navigations point. The element never routes
|
|
166
186
|
* itself — these are the `to` values it emits on `dvz-navigate`, so a host that
|
|
@@ -226,4 +246,15 @@ export interface DvzDashboardsEventMap {
|
|
|
226
246
|
theme: 'light' | 'dark';
|
|
227
247
|
choice: 'light' | 'dark' | 'auto';
|
|
228
248
|
};
|
|
249
|
+
/**
|
|
250
|
+
* The active window changed via the picker itself — a preset click, a custom
|
|
251
|
+
* Apply, or its Reset (`null`). NOT emitted for a `config.timeRange` you set
|
|
252
|
+
* yourself (you already know that value) and not emitted on mount. For a
|
|
253
|
+
* host that wants to keep the built-in picker visible and follow its
|
|
254
|
+
* selection instead of driving `config.timeRange`.
|
|
255
|
+
*/
|
|
256
|
+
'dvz-time-range-changed': {
|
|
257
|
+
from: string;
|
|
258
|
+
to: string;
|
|
259
|
+
} | null;
|
|
229
260
|
}
|
package/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d,b as f}from"./chunk-
|
|
1
|
+
import{a as d,b as f}from"./chunk-ICUFCTKP.js";import"./chunk-XUJBDACP.js";import{a as i,b as n}from"./chunk-ZMKSTS3B.js";import{a as t,b as D}from"./chunk-Y7A6GQNH.js";import{v as s}from"./chunk-KTWHSGCC.js";import"./chunk-JP5QY5S6.js";import"./chunk-3CHM3VJC.js";import"./chunk-FK6H3RFT.js";import"./chunk-SYVY7IJY.js";import"./chunk-DPY4ZJSO.js";import"./chunk-T3NXAI3H.js";import"./chunk-JWVGGQEQ.js";import"./chunk-T4WJW6GR.js";import"./chunk-QXVITQOV.js";import"./chunk-I4TM4AGJ.js";import"./chunk-F6YL5NFN.js";import"./chunk-ATUZQYGW.js";import"./chunk-XCT4UKLK.js";import"./chunk-4XZ7RFFX.js";import"./chunk-YHTLTPEH.js";import"./chunk-LFSX3TZJ.js";import"./chunk-BTDKTIE6.js";import"./chunk-5CTM6JVQ.js";import"./chunk-W2HKCDVZ.js";import"./chunk-MPGDQZRI.js";import"./chunk-HOS2FAXH.js";import"./chunk-INJSG5RK.js";import"./chunk-RCWO45CI.js";import"./chunk-ZW5NV4UO.js";var p="0.0.28",a=p;function g(){typeof window>"u"||(window.dataViz={packageName:"@aquera/data-visualizer-sdk",version:a,getVersion:()=>a})}g();async function A(){let[{defineDvzAsk:e},{defineDvzDashboards:o},{defineDvzManageDashboards:r}]=await Promise.all([import("./chunk-A2OWCMKF.js"),import("./chunk-DYBPN3MJ.js"),import("./chunk-TCNUWNNB.js")]);await Promise.all([e(),o(),r()])}export{a as DATA_VISUALIZER_SDK_VERSION,i as DVZ_ASK_TAG,t as DVZ_DASHBOARDS_TAG,d as DVZ_MANAGE_DASHBOARDS_TAG,A as defineDvzAll,n as defineDvzAsk,D as defineDvzDashboards,f as defineDvzManageDashboards,s as setDvzEnv};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aquera/data-visualizer-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"description": "Every Aquera data-visualizer element — <dvz-ask>, <dvz-dashboards> and <dvz-manage-dashboards> — in one bundle that loads their shared Nile and Highcharts dependencies once. Use this when a page mounts more than one; use the individual @aquera/dvz-* packages when it mounts only one.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|