@modelform/react-native 0.2.0 → 0.3.0
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/{chunk-M5R44SAF.js → chunk-HZEXKGDS.js} +140 -29
- package/dist/{chunk-MRHC6AEU.mjs → chunk-PU7RRUV4.mjs} +137 -26
- package/dist/core/index.js +14 -2
- package/dist/core/index.mjs +13 -1
- package/dist/core/layout.d.ts +33 -0
- package/dist/core/layoutEdit.d.ts +60 -17
- package/dist/index.js +152 -132
- package/dist/index.mjs +22 -2
- package/package.json +1 -1
|
@@ -483,6 +483,32 @@ var GRID_COLUMNS = 24;
|
|
|
483
483
|
var CELL_HEIGHT = 30;
|
|
484
484
|
var CELL_MARGIN = 8;
|
|
485
485
|
var gridUnitsToPx = (h) => h * CELL_HEIGHT + (h - 1) * CELL_MARGIN;
|
|
486
|
+
var gridOffsetPx = (y) => y * (CELL_HEIGHT + CELL_MARGIN);
|
|
487
|
+
var overlaps = (a, b) => a.x < b.x + b.w && b.x < a.x + a.w && a.y < b.y + b.h && b.y < a.y + a.h;
|
|
488
|
+
function compactGrid(boxes, fixed2 = /* @__PURE__ */ new Set()) {
|
|
489
|
+
const snapped = boxes.map((b) => {
|
|
490
|
+
const w = Math.min(GRID_COLUMNS, Math.max(1, Math.round(b.x + b.w) - Math.round(b.x)));
|
|
491
|
+
const x = Math.min(GRID_COLUMNS - w, Math.max(0, Math.round(b.x)));
|
|
492
|
+
return { x, y: Math.max(0, b.y), w, h: Math.max(1, Math.round(b.h)) };
|
|
493
|
+
});
|
|
494
|
+
const out = new Array(boxes.length);
|
|
495
|
+
const placed = [];
|
|
496
|
+
for (const i of fixed2) {
|
|
497
|
+
if (!snapped[i]) continue;
|
|
498
|
+
out[i] = { ...snapped[i], y: Math.round(snapped[i].y) };
|
|
499
|
+
placed.push(out[i]);
|
|
500
|
+
}
|
|
501
|
+
const order = snapped.map((_, i) => i).filter((i) => !fixed2.has(i)).sort((a, b) => snapped[a].y - snapped[b].y || snapped[a].x - snapped[b].x || a - b);
|
|
502
|
+
for (const i of order) {
|
|
503
|
+
const box = { ...snapped[i], y: Math.floor(snapped[i].y) };
|
|
504
|
+
box.y = Math.min(box.y, Math.max(0, ...placed.map((p) => p.y + p.h)));
|
|
505
|
+
while (box.y > 0 && !placed.some((p) => overlaps({ ...box, y: box.y - 1 }, p))) box.y--;
|
|
506
|
+
for (let hit = placed.find((p) => overlaps(box, p)); hit; hit = placed.find((p) => overlaps(box, p))) box.y = hit.y + hit.h;
|
|
507
|
+
out[i] = box;
|
|
508
|
+
placed.push(box);
|
|
509
|
+
}
|
|
510
|
+
return out;
|
|
511
|
+
}
|
|
486
512
|
var isRow = (p) => p.type === "row";
|
|
487
513
|
var byPosition = (a, b) => a.gridPos.y - b.gridPos.y || a.gridPos.x - b.gridPos.x;
|
|
488
514
|
function layoutDashboard(dashboard, mode = "phone", repeat2) {
|
|
@@ -506,12 +532,15 @@ function layoutDashboard(dashboard, mode = "phone", repeat2) {
|
|
|
506
532
|
children: s.children.map((c) => ({ ...c, scopedVars: { ...c.scopedVars, ...scoped } }))
|
|
507
533
|
};
|
|
508
534
|
});
|
|
509
|
-
}).map((s) =>
|
|
510
|
-
|
|
511
|
-
row: s.row,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
535
|
+
}).map((s) => {
|
|
536
|
+
const panels = expandPanelRepeats(s.children, repeat2).sort(byPosition);
|
|
537
|
+
return { key: s.key, row: s.row, collapsed: !!_optionalChain([s, 'access', _51 => _51.row, 'optionalAccess', _52 => _52.collapsed]), rows: packRows(panels, mode), grid: placeOnGrid(panels) };
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
function placeOnGrid(panels) {
|
|
541
|
+
const boxes = compactGrid(panels.map((p) => p.gridPos));
|
|
542
|
+
const cells = panels.map((panel, i) => ({ key: panelKey(panel), panel, span: boxes[i].w, ...boxes[i] }));
|
|
543
|
+
return { cells, h: Math.max(0, ...boxes.map((b) => b.y + b.h)) };
|
|
515
544
|
}
|
|
516
545
|
function repeatOptions(name, ctx) {
|
|
517
546
|
const value = ctx.values[name];
|
|
@@ -10306,6 +10335,33 @@ function panelSize(panel, mode) {
|
|
|
10306
10335
|
return { span: panelSpan(panel, "phone"), h: clampH(_nullishCoalesce(_optionalChain([panel, 'access', _286 => _286.mobile, 'optionalAccess', _287 => _287.h]), () => ( p.h))) };
|
|
10307
10336
|
}
|
|
10308
10337
|
function layoutCanvas(panels, order, mode, width, override) {
|
|
10338
|
+
return mode === "grid" ? layoutGridCanvas(panels, width, override) : layoutPhoneCanvas(panels, order, width, override);
|
|
10339
|
+
}
|
|
10340
|
+
function layoutGridCanvas(panels, width, override) {
|
|
10341
|
+
const colW = (width + CANVAS_GAP) / GRID_COLUMNS;
|
|
10342
|
+
let boxes = gridBoxes(panels);
|
|
10343
|
+
if (override && boxes[override.index]) {
|
|
10344
|
+
const b = { ...boxes[override.index] };
|
|
10345
|
+
if (!isRow(panels[override.index])) {
|
|
10346
|
+
if (override.span !== void 0) b.w = clampW(override.span);
|
|
10347
|
+
if (override.h !== void 0) b.h = clampH(override.h);
|
|
10348
|
+
}
|
|
10349
|
+
if (override.x !== void 0) b.x = isRow(panels[override.index]) ? 0 : Math.min(GRID_COLUMNS - b.w, Math.max(0, Math.round(override.x)));
|
|
10350
|
+
if (override.y !== void 0) b.y = Math.max(0, Math.round(override.y));
|
|
10351
|
+
b.x = Math.min(b.x, GRID_COLUMNS - b.w);
|
|
10352
|
+
boxes = [...boxes];
|
|
10353
|
+
boxes[override.index] = b;
|
|
10354
|
+
}
|
|
10355
|
+
const settled = settleBoxes(boxes, _optionalChain([override, 'optionalAccess', _288 => _288.index]));
|
|
10356
|
+
const items = settled.map((b, index) => {
|
|
10357
|
+
const row = isRow(panels[index]);
|
|
10358
|
+
return { index, row, x: b.x * colW, y: gridOffsetPx(b.y), width: b.w * colW - CANVAS_GAP, height: row ? gridUnitsToPx(1) : gridUnitsToPx(b.h), span: b.w, h: b.h };
|
|
10359
|
+
});
|
|
10360
|
+
items.sort((a, b) => a.y - b.y || a.x - b.x);
|
|
10361
|
+
return { items, height: Math.max(0, ...items.map((c) => c.y + c.height)), hidden: [] };
|
|
10362
|
+
}
|
|
10363
|
+
function layoutPhoneCanvas(panels, order, width, override) {
|
|
10364
|
+
const mode = "phone";
|
|
10309
10365
|
const colW = (width + CANVAS_GAP) / GRID_COLUMNS;
|
|
10310
10366
|
const items = [];
|
|
10311
10367
|
const hidden = [];
|
|
@@ -10340,11 +10396,12 @@ function layoutCanvas(panels, order, mode, width, override) {
|
|
|
10340
10396
|
y += CANVAS_ROW_HEADER + CANVAS_GAP;
|
|
10341
10397
|
continue;
|
|
10342
10398
|
}
|
|
10343
|
-
if (mode === "phone" && _optionalChain([panel, 'access',
|
|
10399
|
+
if (mode === "phone" && _optionalChain([panel, 'access', _289 => _289.mobile, 'optionalAccess', _290 => _290.hidden])) {
|
|
10344
10400
|
hidden.push(index);
|
|
10345
10401
|
continue;
|
|
10346
10402
|
}
|
|
10347
|
-
const
|
|
10403
|
+
const natural = panelSize(panel, mode);
|
|
10404
|
+
const size = _optionalChain([override, 'optionalAccess', _291 => _291.index]) === index ? { span: clampW(_nullishCoalesce(override.span, () => ( natural.span))), h: clampH(_nullishCoalesce(override.h, () => ( natural.h))) } : natural;
|
|
10348
10405
|
if (used + size.span > GRID_COLUMNS) flush();
|
|
10349
10406
|
line.push({ index, row: false, x: 0, y: 0, width: 0, height: 0, ...size });
|
|
10350
10407
|
used += size.span;
|
|
@@ -10362,19 +10419,24 @@ function dropTarget(canvas, x, y, dragging) {
|
|
|
10362
10419
|
for (const c of pool) if (distance(c) < distance(best)) best = c;
|
|
10363
10420
|
const after = best.row ? y > best.y + best.height / 2 : x > best.x + best.width / 2;
|
|
10364
10421
|
if (!after) return best.index;
|
|
10365
|
-
return _nullishCoalesce(_optionalChain([items, 'access',
|
|
10422
|
+
return _nullishCoalesce(_optionalChain([items, 'access', _292 => _292[items.indexOf(best) + 1], 'optionalAccess', _293 => _293.index]), () => ( null));
|
|
10366
10423
|
}
|
|
10367
10424
|
function movePanel(panels, index, before) {
|
|
10368
|
-
|
|
10369
|
-
const
|
|
10370
|
-
|
|
10371
|
-
return
|
|
10425
|
+
if (before === index) return panels;
|
|
10426
|
+
const others = panels.filter((_, i) => i !== index);
|
|
10427
|
+
const at = before === null || !panels[before] ? { x: 0, y: bottom(others) } : pos(panels[before]);
|
|
10428
|
+
return placePanel(panels, index, at.x, at.y);
|
|
10372
10429
|
}
|
|
10373
10430
|
function resizePanel(panels, index, mode, span, h) {
|
|
10374
10431
|
const out = [...panels];
|
|
10375
10432
|
const p = panels[index];
|
|
10376
|
-
|
|
10377
|
-
|
|
10433
|
+
if (mode === "phone") {
|
|
10434
|
+
out[index] = { ...p, mobile: { ...p.mobile, span: clampW(span), h: clampH(h) } };
|
|
10435
|
+
return out;
|
|
10436
|
+
}
|
|
10437
|
+
const w = clampW(span);
|
|
10438
|
+
out[index] = { ...p, gridPos: { ...pos(p), x: Math.min(pos(p).x, GRID_COLUMNS - w), w, h: clampH(h) } };
|
|
10439
|
+
return settleLayout(out, index);
|
|
10378
10440
|
}
|
|
10379
10441
|
function setHiddenOnPhones(panels, index, hidden) {
|
|
10380
10442
|
const out = [...panels];
|
|
@@ -10389,34 +10451,77 @@ function nextPanelId(panels) {
|
|
|
10389
10451
|
}
|
|
10390
10452
|
function insertPanel(panels, panel, after) {
|
|
10391
10453
|
const index = panels.length;
|
|
10392
|
-
const
|
|
10393
|
-
const
|
|
10394
|
-
|
|
10395
|
-
|
|
10454
|
+
const p = { ...DEFAULT_POS, ...panel.gridPos };
|
|
10455
|
+
const w = isRow(panel) ? GRID_COLUMNS : clampW(p.w);
|
|
10456
|
+
let at;
|
|
10457
|
+
if (after === null || !panels[after]) at = { x: 0, y: bottom(panels) };
|
|
10458
|
+
else {
|
|
10459
|
+
const a = pos(panels[after]);
|
|
10460
|
+
at = !isRow(panel) && !isRow(panels[after]) && a.x + a.w + w <= GRID_COLUMNS ? { x: a.x + a.w, y: a.y } : { x: isRow(panel) ? 0 : Math.min(a.x, GRID_COLUMNS - w), y: a.y + a.h };
|
|
10461
|
+
}
|
|
10462
|
+
const out = [...panels, { ...panel, id: nextPanelId(panels), gridPos: { ...p, ...at, w } }];
|
|
10463
|
+
return { panels: settleLayout(out, index), index };
|
|
10396
10464
|
}
|
|
10397
10465
|
function duplicatePanel(panels, index) {
|
|
10398
10466
|
return insertPanel(panels, structuredClone(panels[index]), index);
|
|
10399
10467
|
}
|
|
10400
10468
|
function removePanel(panels, index) {
|
|
10401
|
-
|
|
10402
|
-
return repack(out, readingOrder(out));
|
|
10469
|
+
return settleLayout(panels.filter((_, i) => i !== index));
|
|
10403
10470
|
}
|
|
10404
10471
|
function expandRow(panels, index) {
|
|
10405
10472
|
const row = panels[index];
|
|
10406
10473
|
const children = _nullishCoalesce(row.panels, () => ( []));
|
|
10407
|
-
const
|
|
10474
|
+
const top = pos(row).y + 1;
|
|
10475
|
+
const first = Math.min(...children.map((c) => pos(c).y));
|
|
10476
|
+
const height = Math.max(0, ...children.map((c) => pos(c).y - first + pos(c).h));
|
|
10477
|
+
const out = panels.map((p, i) => i !== index && pos(p).y > pos(row).y ? { ...p, gridPos: { ...pos(p), y: pos(p).y + height } } : p);
|
|
10408
10478
|
out[index] = { ...row, collapsed: false, panels: [] };
|
|
10479
|
+
out.push(...children.map((c) => ({ ...c, gridPos: { ...pos(c), y: top + pos(c).y - first } })));
|
|
10480
|
+
return settleLayout(out);
|
|
10481
|
+
}
|
|
10482
|
+
function collapseRow(panels, index) {
|
|
10409
10483
|
const order = readingOrder(panels);
|
|
10410
|
-
order.
|
|
10411
|
-
|
|
10484
|
+
const at = order.indexOf(index);
|
|
10485
|
+
const next = order.findIndex((i, n) => n > at && isRow(panels[i]));
|
|
10486
|
+
const removed = order.slice(at + 1, next === -1 ? order.length : next).sort((a, b) => a - b);
|
|
10487
|
+
const out = panels.filter((_, i) => !removed.includes(i));
|
|
10488
|
+
const rowAt = index - removed.filter((i) => i < index).length;
|
|
10489
|
+
out[rowAt] = { ...panels[index], collapsed: true, panels: removed.map((i) => panels[i]) };
|
|
10490
|
+
return { panels: settleLayout(out), removed };
|
|
10491
|
+
}
|
|
10492
|
+
var bottom = (panels) => Math.max(0, ...panels.map((p) => pos(p).y + pos(p).h));
|
|
10493
|
+
var gridBoxes = (panels) => panels.map((p) => isRow(p) ? { ...pos(p), x: 0, w: GRID_COLUMNS, h: 1 } : pos(p));
|
|
10494
|
+
function settleBoxes(boxes, fixed2) {
|
|
10495
|
+
const made = fixed2 === void 0 ? boxes : compactGrid(boxes, /* @__PURE__ */ new Set([fixed2]));
|
|
10496
|
+
return compactGrid(made);
|
|
10497
|
+
}
|
|
10498
|
+
function writeBoxes(panels, boxes) {
|
|
10499
|
+
return panels.map((p, i) => {
|
|
10500
|
+
const before = p.gridPos;
|
|
10501
|
+
const b = boxes[i];
|
|
10502
|
+
return before && before.x === b.x && before.y === b.y && before.w === b.w && before.h === b.h ? p : { ...p, gridPos: { ...pos(p), ...b } };
|
|
10503
|
+
});
|
|
10504
|
+
}
|
|
10505
|
+
function settleLayout(panels, fixed2) {
|
|
10506
|
+
return writeBoxes(panels, settleBoxes(gridBoxes(panels), fixed2));
|
|
10507
|
+
}
|
|
10508
|
+
function placePanel(panels, index, x, y) {
|
|
10509
|
+
const out = [...panels];
|
|
10510
|
+
const p = pos(panels[index]);
|
|
10511
|
+
const w = isRow(panels[index]) ? GRID_COLUMNS : clampW(p.w);
|
|
10512
|
+
out[index] = { ...panels[index], gridPos: { ...p, x: Math.min(GRID_COLUMNS - w, Math.max(0, Math.round(x))), y: Math.max(0, Math.round(y)) } };
|
|
10513
|
+
return settleLayout(out, index);
|
|
10514
|
+
}
|
|
10515
|
+
function snapToGrid(width, x, y, w) {
|
|
10516
|
+
const colW = (width + CANVAS_GAP) / GRID_COLUMNS;
|
|
10517
|
+
return { x: Math.min(GRID_COLUMNS - w, Math.max(0, Math.round(x / colW))), y: Math.max(0, Math.round(y / gridOffsetPx(1))) };
|
|
10412
10518
|
}
|
|
10413
10519
|
function panelEdits(before, after, removed) {
|
|
10414
10520
|
const edits = [];
|
|
10415
10521
|
let base = before;
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
}
|
|
10522
|
+
const gone = [...new Set(removed === void 0 ? [] : [removed].flat())].sort((a, b) => b - a);
|
|
10523
|
+
for (const i of gone) edits.push({ path: ["panels", i], remove: true });
|
|
10524
|
+
if (gone.length) base = before.filter((_, i) => !gone.includes(i));
|
|
10420
10525
|
base.forEach((p, i) => edits.push(...diffJson(p, after[i], ["panels", i])));
|
|
10421
10526
|
for (let i = base.length; i < after.length; i++) edits.push({ path: ["panels", i], value: after[i], insert: true });
|
|
10422
10527
|
return edits;
|
|
@@ -10687,4 +10792,10 @@ function sampleEntries(forms, metrics, now = Date.now(), days = 180) {
|
|
|
10687
10792
|
|
|
10688
10793
|
|
|
10689
10794
|
|
|
10690
|
-
|
|
10795
|
+
|
|
10796
|
+
|
|
10797
|
+
|
|
10798
|
+
|
|
10799
|
+
|
|
10800
|
+
|
|
10801
|
+
exports.frameLength = frameLength; exports.timeField = timeField; exports.numberFields = numberFields; exports.fieldDisplayName = fieldDisplayName; exports.toSeries = toSeries; exports.toXYSeries = toXYSeries; exports.uniqueNames = uniqueNames; exports.toMillis = toMillis; exports.parseTime = parseTime; exports.parseRange = parseRange; exports.addTime = addTime; exports.startOf = startOf; exports.parseDuration = parseDuration; exports.calculateInterval = calculateInterval; exports.formatDuration = formatDuration; exports.TIME_PRESETS = TIME_PRESETS; exports.RELATIVE_RANGES = RELATIVE_RANGES; exports.parseLocalDateTime = parseLocalDateTime; exports.formatLocalDateTime = formatLocalDateTime; exports.timeExprError = timeExprError; exports.describeRange = describeRange; exports.zoomRange = zoomRange; exports.ALL = ALL; exports.initialVariableValues = initialVariableValues; exports.variableOptions = variableOptions; exports.variableInfo = variableInfo; exports.visibleVariables = visibleVariables; exports.isSqlDatasource = isSqlDatasource; exports.framesToOptions = framesToOptions; exports.refineOptions = refineOptions; exports.selectValue = selectValue; exports.variableReferences = variableReferences; exports.interpolate = interpolate; exports.queryParam = queryParam; exports.interpolateDeep = interpolateDeep; exports.resolveTimezone = resolveTimezone; exports.valueText = valueText; exports.GRID_COLUMNS = GRID_COLUMNS; exports.gridUnitsToPx = gridUnitsToPx; exports.gridOffsetPx = gridOffsetPx; exports.compactGrid = compactGrid; exports.isRow = isRow; exports.layoutDashboard = layoutDashboard; exports.repeatOptions = repeatOptions; exports.panelKey = panelKey; exports.panelSpan = panelSpan; exports.applyTransformations = applyTransformations; exports.DASHBOARD_DS = DASHBOARD_DS; exports.dashboardSourceIds = dashboardSourceIds; exports.panelHasQueries = panelHasQueries; exports.queryPanel = queryPanel; exports.normalizeRef = normalizeRef; exports.refreshedVariables = refreshedVariables; exports.variableDependents = variableDependents; exports.variableOrder = variableOrder; exports.resolveVariables = resolveVariables; exports.REDUCER_LABELS = REDUCER_LABELS; exports.isReducer = isReducer; exports.reduce = reduce; exports.INPUT_OPTION_KEYS = INPUT_OPTION_KEYS; exports.INPUT_TYPES = INPUT_TYPES; exports.isInputType = isInputType; exports.isInputPanel = isInputPanel; exports.inputPanels = inputPanels; exports.parseClockDigits = parseClockDigits; exports.formatClock = formatClock; exports.toEntries = toEntries; exports.inputProblem = inputProblem; exports.entryToInputValue = entryToInputValue; exports.textSuggestions = textSuggestions; exports.entriesSavedWith = entriesSavedWith; exports.formatValue = formatValue; exports.thresholdStep = thresholdStep; exports.NAMED_COLORS = NAMED_COLORS; exports.resolveColor = resolveColor; exports.SERIES_PALETTE = SERIES_PALETTE; exports.seriesColor = seriesColor; exports.mappedResult = mappedResult; exports.formatDisplay = formatDisplay; exports.valueColor = valueColor; exports.resolveFieldConfig = resolveFieldConfig; exports.fieldMatches = fieldMatches; exports.GrafanaError = GrafanaError; exports.GrafanaClient = GrafanaClient; exports.GrafanaDataSource = GrafanaDataSource; exports.fromWire = fromWire; exports.LOCAL_DATASOURCE_TYPE = LOCAL_DATASOURCE_TYPE; exports.isLocalDatasource = isLocalDatasource; exports.LocalDataSource = LocalDataSource; exports.buildFrames = buildFrames; exports.MemoryEntryStore = MemoryEntryStore; exports.DEFAULT_GAZETTEER = DEFAULT_GAZETTEER; exports.parseGazetteer = parseGazetteer; exports.loadGazetteer = loadGazetteer; exports.resolveLinks = resolveLinks; exports.parseDashboardLink = parseDashboardLink; exports.applyDashboardLink = applyDashboardLink; exports.appSchema = appSchema; exports.dashboardSchema = dashboardSchema; exports.pointerToPath = pointerToPath; exports.manifestSchemaIssues = manifestSchemaIssues; exports.dashboardSchemaIssues = dashboardSchemaIssues; exports.cleanDashboard = cleanDashboard; exports.MAPPING_TYPES = MAPPING_TYPES; exports.SPECIAL_MATCHES = SPECIAL_MATCHES; exports.mappingRows = mappingRows; exports.rowsToMappings = rowsToMappings; exports.mappingRow = mappingRow; exports.mappingProblem = mappingProblem; exports.OPTION_CATEGORIES = OPTION_CATEGORIES; exports.UNIT_CHOICES = UNIT_CHOICES; exports.panelOptions = panelOptions; exports.getPath = getPath; exports.optionValue = optionValue; exports.setOption = setOption; exports.setOptionValue = setOptionValue; exports.cleanPanelOptions = cleanPanelOptions; exports.OVERRIDE_MATCHERS = OVERRIDE_MATCHERS; exports.overrideProperties = overrideProperties; exports.panelOverrides = panelOverrides; exports.setOverrides = setOverrides; exports.MANIFEST_VERSION = MANIFEST_VERSION; exports.validateManifest = validateManifest; exports.prepareDashboard = prepareDashboard; exports.validateDashboard = validateDashboard2; exports.validateBundle = validateBundle; exports.resolveUrl = resolveUrl; exports.httpFetchJson = httpFetchJson; exports.defaultFetchJson = defaultFetchJson; exports.BUNDLE_TYPE = BUNDLE_TYPE; exports.BUNDLE_ACCEPT = BUNDLE_ACCEPT; exports.isBundleResponse = isBundleResponse; exports.bundleRoot = bundleRoot; exports.assembleFromResponse = assembleFromResponse; exports.assembleBundle = assembleBundle; exports.fetchBundle = fetchBundle; exports.revalidateBundle = revalidateBundle; exports.ConfigLoader = ConfigLoader; exports.tabIdFor = tabIdFor; exports.screenOfType = screenOfType; exports.screenDocuments = screenDocuments; exports.documentUses = documentUses; exports.stringifyCompact = stringifyCompact; exports.applyJsonEdits = applyJsonEdits; exports.diffJson = diffJson; exports.documentIdFor = documentIdFor; exports.removeDocumentFromManifest = removeDocumentFromManifest; exports.renameDocumentInManifest = renameDocumentInManifest; exports.metricChanges = metricChanges; exports.REFRESH_CHOICES = REFRESH_CHOICES; exports.EDITABLE_VARIABLE_TYPES = EDITABLE_VARIABLE_TYPES; exports.isEditableVariableType = isEditableVariableType; exports.variableNameError = variableNameError; exports.newVariable = newVariable; exports.variableWithType = variableWithType; exports.variableWithQuery = variableWithQuery; exports.variableWithCurrent = variableWithCurrent; exports.variableWithFlags = variableWithFlags; exports.variableUses = variableUses; exports.renameVariableInPanels = renameVariableInPanels; exports.lineColumn = lineColumn; exports.parseJsonText = parseJsonText; exports.splitPath = splitPath; exports.locate = locate; exports.checkFiles = checkFiles; exports.bundleFromFiles = bundleFromFiles; exports.formatJsonText = formatJsonText; exports.setJsonValue = setJsonValue; exports.PANEL_TYPES = PANEL_TYPES; exports.newPanel = newPanel; exports.newDocument = newDocument; exports.SaveConflictError = SaveConflictError; exports.HttpConfigFiles = HttpConfigFiles; exports.fetchJsonWithToken = fetchJsonWithToken; exports.readConfigFiles = readConfigFiles; exports.readingOrder = readingOrder; exports.repack = repack; exports.CANVAS_GAP = CANVAS_GAP; exports.CANVAS_ROW_HEADER = CANVAS_ROW_HEADER; exports.panelSize = panelSize; exports.layoutCanvas = layoutCanvas; exports.dropTarget = dropTarget; exports.movePanel = movePanel; exports.resizePanel = resizePanel; exports.setHiddenOnPhones = setHiddenOnPhones; exports.nextPanelId = nextPanelId; exports.insertPanel = insertPanel; exports.duplicatePanel = duplicatePanel; exports.removePanel = removePanel; exports.expandRow = expandRow; exports.collapseRow = collapseRow; exports.settleLayout = settleLayout; exports.placePanel = placePanel; exports.snapToGrid = snapToGrid; exports.panelEdits = panelEdits; exports.sampleEntries = sampleEntries;
|
|
@@ -483,6 +483,32 @@ var GRID_COLUMNS = 24;
|
|
|
483
483
|
var CELL_HEIGHT = 30;
|
|
484
484
|
var CELL_MARGIN = 8;
|
|
485
485
|
var gridUnitsToPx = (h) => h * CELL_HEIGHT + (h - 1) * CELL_MARGIN;
|
|
486
|
+
var gridOffsetPx = (y) => y * (CELL_HEIGHT + CELL_MARGIN);
|
|
487
|
+
var overlaps = (a, b) => a.x < b.x + b.w && b.x < a.x + a.w && a.y < b.y + b.h && b.y < a.y + a.h;
|
|
488
|
+
function compactGrid(boxes, fixed2 = /* @__PURE__ */ new Set()) {
|
|
489
|
+
const snapped = boxes.map((b) => {
|
|
490
|
+
const w = Math.min(GRID_COLUMNS, Math.max(1, Math.round(b.x + b.w) - Math.round(b.x)));
|
|
491
|
+
const x = Math.min(GRID_COLUMNS - w, Math.max(0, Math.round(b.x)));
|
|
492
|
+
return { x, y: Math.max(0, b.y), w, h: Math.max(1, Math.round(b.h)) };
|
|
493
|
+
});
|
|
494
|
+
const out = new Array(boxes.length);
|
|
495
|
+
const placed = [];
|
|
496
|
+
for (const i of fixed2) {
|
|
497
|
+
if (!snapped[i]) continue;
|
|
498
|
+
out[i] = { ...snapped[i], y: Math.round(snapped[i].y) };
|
|
499
|
+
placed.push(out[i]);
|
|
500
|
+
}
|
|
501
|
+
const order = snapped.map((_, i) => i).filter((i) => !fixed2.has(i)).sort((a, b) => snapped[a].y - snapped[b].y || snapped[a].x - snapped[b].x || a - b);
|
|
502
|
+
for (const i of order) {
|
|
503
|
+
const box = { ...snapped[i], y: Math.floor(snapped[i].y) };
|
|
504
|
+
box.y = Math.min(box.y, Math.max(0, ...placed.map((p) => p.y + p.h)));
|
|
505
|
+
while (box.y > 0 && !placed.some((p) => overlaps({ ...box, y: box.y - 1 }, p))) box.y--;
|
|
506
|
+
for (let hit = placed.find((p) => overlaps(box, p)); hit; hit = placed.find((p) => overlaps(box, p))) box.y = hit.y + hit.h;
|
|
507
|
+
out[i] = box;
|
|
508
|
+
placed.push(box);
|
|
509
|
+
}
|
|
510
|
+
return out;
|
|
511
|
+
}
|
|
486
512
|
var isRow = (p) => p.type === "row";
|
|
487
513
|
var byPosition = (a, b) => a.gridPos.y - b.gridPos.y || a.gridPos.x - b.gridPos.x;
|
|
488
514
|
function layoutDashboard(dashboard, mode = "phone", repeat2) {
|
|
@@ -506,12 +532,15 @@ function layoutDashboard(dashboard, mode = "phone", repeat2) {
|
|
|
506
532
|
children: s.children.map((c) => ({ ...c, scopedVars: { ...c.scopedVars, ...scoped } }))
|
|
507
533
|
};
|
|
508
534
|
});
|
|
509
|
-
}).map((s) =>
|
|
510
|
-
|
|
511
|
-
row: s.row,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
535
|
+
}).map((s) => {
|
|
536
|
+
const panels = expandPanelRepeats(s.children, repeat2).sort(byPosition);
|
|
537
|
+
return { key: s.key, row: s.row, collapsed: !!s.row?.collapsed, rows: packRows(panels, mode), grid: placeOnGrid(panels) };
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
function placeOnGrid(panels) {
|
|
541
|
+
const boxes = compactGrid(panels.map((p) => p.gridPos));
|
|
542
|
+
const cells = panels.map((panel, i) => ({ key: panelKey(panel), panel, span: boxes[i].w, ...boxes[i] }));
|
|
543
|
+
return { cells, h: Math.max(0, ...boxes.map((b) => b.y + b.h)) };
|
|
515
544
|
}
|
|
516
545
|
function repeatOptions(name, ctx) {
|
|
517
546
|
const value = ctx.values[name];
|
|
@@ -10306,6 +10335,33 @@ function panelSize(panel, mode) {
|
|
|
10306
10335
|
return { span: panelSpan(panel, "phone"), h: clampH(panel.mobile?.h ?? p.h) };
|
|
10307
10336
|
}
|
|
10308
10337
|
function layoutCanvas(panels, order, mode, width, override) {
|
|
10338
|
+
return mode === "grid" ? layoutGridCanvas(panels, width, override) : layoutPhoneCanvas(panels, order, width, override);
|
|
10339
|
+
}
|
|
10340
|
+
function layoutGridCanvas(panels, width, override) {
|
|
10341
|
+
const colW = (width + CANVAS_GAP) / GRID_COLUMNS;
|
|
10342
|
+
let boxes = gridBoxes(panels);
|
|
10343
|
+
if (override && boxes[override.index]) {
|
|
10344
|
+
const b = { ...boxes[override.index] };
|
|
10345
|
+
if (!isRow(panels[override.index])) {
|
|
10346
|
+
if (override.span !== void 0) b.w = clampW(override.span);
|
|
10347
|
+
if (override.h !== void 0) b.h = clampH(override.h);
|
|
10348
|
+
}
|
|
10349
|
+
if (override.x !== void 0) b.x = isRow(panels[override.index]) ? 0 : Math.min(GRID_COLUMNS - b.w, Math.max(0, Math.round(override.x)));
|
|
10350
|
+
if (override.y !== void 0) b.y = Math.max(0, Math.round(override.y));
|
|
10351
|
+
b.x = Math.min(b.x, GRID_COLUMNS - b.w);
|
|
10352
|
+
boxes = [...boxes];
|
|
10353
|
+
boxes[override.index] = b;
|
|
10354
|
+
}
|
|
10355
|
+
const settled = settleBoxes(boxes, override?.index);
|
|
10356
|
+
const items = settled.map((b, index) => {
|
|
10357
|
+
const row = isRow(panels[index]);
|
|
10358
|
+
return { index, row, x: b.x * colW, y: gridOffsetPx(b.y), width: b.w * colW - CANVAS_GAP, height: row ? gridUnitsToPx(1) : gridUnitsToPx(b.h), span: b.w, h: b.h };
|
|
10359
|
+
});
|
|
10360
|
+
items.sort((a, b) => a.y - b.y || a.x - b.x);
|
|
10361
|
+
return { items, height: Math.max(0, ...items.map((c) => c.y + c.height)), hidden: [] };
|
|
10362
|
+
}
|
|
10363
|
+
function layoutPhoneCanvas(panels, order, width, override) {
|
|
10364
|
+
const mode = "phone";
|
|
10309
10365
|
const colW = (width + CANVAS_GAP) / GRID_COLUMNS;
|
|
10310
10366
|
const items = [];
|
|
10311
10367
|
const hidden = [];
|
|
@@ -10344,7 +10400,8 @@ function layoutCanvas(panels, order, mode, width, override) {
|
|
|
10344
10400
|
hidden.push(index);
|
|
10345
10401
|
continue;
|
|
10346
10402
|
}
|
|
10347
|
-
const
|
|
10403
|
+
const natural = panelSize(panel, mode);
|
|
10404
|
+
const size = override?.index === index ? { span: clampW(override.span ?? natural.span), h: clampH(override.h ?? natural.h) } : natural;
|
|
10348
10405
|
if (used + size.span > GRID_COLUMNS) flush();
|
|
10349
10406
|
line.push({ index, row: false, x: 0, y: 0, width: 0, height: 0, ...size });
|
|
10350
10407
|
used += size.span;
|
|
@@ -10365,16 +10422,21 @@ function dropTarget(canvas, x, y, dragging) {
|
|
|
10365
10422
|
return items[items.indexOf(best) + 1]?.index ?? null;
|
|
10366
10423
|
}
|
|
10367
10424
|
function movePanel(panels, index, before) {
|
|
10368
|
-
|
|
10369
|
-
const
|
|
10370
|
-
|
|
10371
|
-
return
|
|
10425
|
+
if (before === index) return panels;
|
|
10426
|
+
const others = panels.filter((_, i) => i !== index);
|
|
10427
|
+
const at = before === null || !panels[before] ? { x: 0, y: bottom(others) } : pos(panels[before]);
|
|
10428
|
+
return placePanel(panels, index, at.x, at.y);
|
|
10372
10429
|
}
|
|
10373
10430
|
function resizePanel(panels, index, mode, span, h) {
|
|
10374
10431
|
const out = [...panels];
|
|
10375
10432
|
const p = panels[index];
|
|
10376
|
-
|
|
10377
|
-
|
|
10433
|
+
if (mode === "phone") {
|
|
10434
|
+
out[index] = { ...p, mobile: { ...p.mobile, span: clampW(span), h: clampH(h) } };
|
|
10435
|
+
return out;
|
|
10436
|
+
}
|
|
10437
|
+
const w = clampW(span);
|
|
10438
|
+
out[index] = { ...p, gridPos: { ...pos(p), x: Math.min(pos(p).x, GRID_COLUMNS - w), w, h: clampH(h) } };
|
|
10439
|
+
return settleLayout(out, index);
|
|
10378
10440
|
}
|
|
10379
10441
|
function setHiddenOnPhones(panels, index, hidden) {
|
|
10380
10442
|
const out = [...panels];
|
|
@@ -10389,34 +10451,77 @@ function nextPanelId(panels) {
|
|
|
10389
10451
|
}
|
|
10390
10452
|
function insertPanel(panels, panel, after) {
|
|
10391
10453
|
const index = panels.length;
|
|
10392
|
-
const
|
|
10393
|
-
const
|
|
10394
|
-
|
|
10395
|
-
|
|
10454
|
+
const p = { ...DEFAULT_POS, ...panel.gridPos };
|
|
10455
|
+
const w = isRow(panel) ? GRID_COLUMNS : clampW(p.w);
|
|
10456
|
+
let at;
|
|
10457
|
+
if (after === null || !panels[after]) at = { x: 0, y: bottom(panels) };
|
|
10458
|
+
else {
|
|
10459
|
+
const a = pos(panels[after]);
|
|
10460
|
+
at = !isRow(panel) && !isRow(panels[after]) && a.x + a.w + w <= GRID_COLUMNS ? { x: a.x + a.w, y: a.y } : { x: isRow(panel) ? 0 : Math.min(a.x, GRID_COLUMNS - w), y: a.y + a.h };
|
|
10461
|
+
}
|
|
10462
|
+
const out = [...panels, { ...panel, id: nextPanelId(panels), gridPos: { ...p, ...at, w } }];
|
|
10463
|
+
return { panels: settleLayout(out, index), index };
|
|
10396
10464
|
}
|
|
10397
10465
|
function duplicatePanel(panels, index) {
|
|
10398
10466
|
return insertPanel(panels, structuredClone(panels[index]), index);
|
|
10399
10467
|
}
|
|
10400
10468
|
function removePanel(panels, index) {
|
|
10401
|
-
|
|
10402
|
-
return repack(out, readingOrder(out));
|
|
10469
|
+
return settleLayout(panels.filter((_, i) => i !== index));
|
|
10403
10470
|
}
|
|
10404
10471
|
function expandRow(panels, index) {
|
|
10405
10472
|
const row = panels[index];
|
|
10406
10473
|
const children = row.panels ?? [];
|
|
10407
|
-
const
|
|
10474
|
+
const top = pos(row).y + 1;
|
|
10475
|
+
const first = Math.min(...children.map((c) => pos(c).y));
|
|
10476
|
+
const height = Math.max(0, ...children.map((c) => pos(c).y - first + pos(c).h));
|
|
10477
|
+
const out = panels.map((p, i) => i !== index && pos(p).y > pos(row).y ? { ...p, gridPos: { ...pos(p), y: pos(p).y + height } } : p);
|
|
10408
10478
|
out[index] = { ...row, collapsed: false, panels: [] };
|
|
10479
|
+
out.push(...children.map((c) => ({ ...c, gridPos: { ...pos(c), y: top + pos(c).y - first } })));
|
|
10480
|
+
return settleLayout(out);
|
|
10481
|
+
}
|
|
10482
|
+
function collapseRow(panels, index) {
|
|
10409
10483
|
const order = readingOrder(panels);
|
|
10410
|
-
order.
|
|
10411
|
-
|
|
10484
|
+
const at = order.indexOf(index);
|
|
10485
|
+
const next = order.findIndex((i, n) => n > at && isRow(panels[i]));
|
|
10486
|
+
const removed = order.slice(at + 1, next === -1 ? order.length : next).sort((a, b) => a - b);
|
|
10487
|
+
const out = panels.filter((_, i) => !removed.includes(i));
|
|
10488
|
+
const rowAt = index - removed.filter((i) => i < index).length;
|
|
10489
|
+
out[rowAt] = { ...panels[index], collapsed: true, panels: removed.map((i) => panels[i]) };
|
|
10490
|
+
return { panels: settleLayout(out), removed };
|
|
10491
|
+
}
|
|
10492
|
+
var bottom = (panels) => Math.max(0, ...panels.map((p) => pos(p).y + pos(p).h));
|
|
10493
|
+
var gridBoxes = (panels) => panels.map((p) => isRow(p) ? { ...pos(p), x: 0, w: GRID_COLUMNS, h: 1 } : pos(p));
|
|
10494
|
+
function settleBoxes(boxes, fixed2) {
|
|
10495
|
+
const made = fixed2 === void 0 ? boxes : compactGrid(boxes, /* @__PURE__ */ new Set([fixed2]));
|
|
10496
|
+
return compactGrid(made);
|
|
10497
|
+
}
|
|
10498
|
+
function writeBoxes(panels, boxes) {
|
|
10499
|
+
return panels.map((p, i) => {
|
|
10500
|
+
const before = p.gridPos;
|
|
10501
|
+
const b = boxes[i];
|
|
10502
|
+
return before && before.x === b.x && before.y === b.y && before.w === b.w && before.h === b.h ? p : { ...p, gridPos: { ...pos(p), ...b } };
|
|
10503
|
+
});
|
|
10504
|
+
}
|
|
10505
|
+
function settleLayout(panels, fixed2) {
|
|
10506
|
+
return writeBoxes(panels, settleBoxes(gridBoxes(panels), fixed2));
|
|
10507
|
+
}
|
|
10508
|
+
function placePanel(panels, index, x, y) {
|
|
10509
|
+
const out = [...panels];
|
|
10510
|
+
const p = pos(panels[index]);
|
|
10511
|
+
const w = isRow(panels[index]) ? GRID_COLUMNS : clampW(p.w);
|
|
10512
|
+
out[index] = { ...panels[index], gridPos: { ...p, x: Math.min(GRID_COLUMNS - w, Math.max(0, Math.round(x))), y: Math.max(0, Math.round(y)) } };
|
|
10513
|
+
return settleLayout(out, index);
|
|
10514
|
+
}
|
|
10515
|
+
function snapToGrid(width, x, y, w) {
|
|
10516
|
+
const colW = (width + CANVAS_GAP) / GRID_COLUMNS;
|
|
10517
|
+
return { x: Math.min(GRID_COLUMNS - w, Math.max(0, Math.round(x / colW))), y: Math.max(0, Math.round(y / gridOffsetPx(1))) };
|
|
10412
10518
|
}
|
|
10413
10519
|
function panelEdits(before, after, removed) {
|
|
10414
10520
|
const edits = [];
|
|
10415
10521
|
let base = before;
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
}
|
|
10522
|
+
const gone = [...new Set(removed === void 0 ? [] : [removed].flat())].sort((a, b) => b - a);
|
|
10523
|
+
for (const i of gone) edits.push({ path: ["panels", i], remove: true });
|
|
10524
|
+
if (gone.length) base = before.filter((_, i) => !gone.includes(i));
|
|
10420
10525
|
base.forEach((p, i) => edits.push(...diffJson(p, after[i], ["panels", i])));
|
|
10421
10526
|
for (let i = base.length; i < after.length; i++) edits.push({ path: ["panels", i], value: after[i], insert: true });
|
|
10422
10527
|
return edits;
|
|
@@ -10536,6 +10641,8 @@ export {
|
|
|
10536
10641
|
valueText,
|
|
10537
10642
|
GRID_COLUMNS,
|
|
10538
10643
|
gridUnitsToPx,
|
|
10644
|
+
gridOffsetPx,
|
|
10645
|
+
compactGrid,
|
|
10539
10646
|
isRow,
|
|
10540
10647
|
layoutDashboard,
|
|
10541
10648
|
repeatOptions,
|
|
@@ -10685,6 +10792,10 @@ export {
|
|
|
10685
10792
|
duplicatePanel,
|
|
10686
10793
|
removePanel,
|
|
10687
10794
|
expandRow,
|
|
10795
|
+
collapseRow,
|
|
10796
|
+
settleLayout,
|
|
10797
|
+
placePanel,
|
|
10798
|
+
snapToGrid,
|
|
10688
10799
|
panelEdits,
|
|
10689
10800
|
sampleEntries
|
|
10690
10801
|
};
|
package/dist/core/index.js
CHANGED
|
@@ -189,13 +189,13 @@
|
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
|
|
192
|
-
var _chunkM5R44SAFjs = require('../chunk-M5R44SAF.js');
|
|
193
192
|
|
|
194
193
|
|
|
195
194
|
|
|
196
195
|
|
|
197
196
|
|
|
198
197
|
|
|
198
|
+
var _chunkHZEXKGDSjs = require('../chunk-HZEXKGDS.js');
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
|
|
@@ -381,4 +381,16 @@ var _chunkM5R44SAFjs = require('../chunk-M5R44SAF.js');
|
|
|
381
381
|
|
|
382
382
|
|
|
383
383
|
|
|
384
|
-
exports.ALL = _chunkM5R44SAFjs.ALL; exports.BUNDLE_ACCEPT = _chunkM5R44SAFjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkM5R44SAFjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkM5R44SAFjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkM5R44SAFjs.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkM5R44SAFjs.ConfigLoader; exports.DASHBOARD_DS = _chunkM5R44SAFjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkM5R44SAFjs.DEFAULT_GAZETTEER; exports.EDITABLE_VARIABLE_TYPES = _chunkM5R44SAFjs.EDITABLE_VARIABLE_TYPES; exports.GRID_COLUMNS = _chunkM5R44SAFjs.GRID_COLUMNS; exports.GrafanaClient = _chunkM5R44SAFjs.GrafanaClient; exports.GrafanaDataSource = _chunkM5R44SAFjs.GrafanaDataSource; exports.GrafanaError = _chunkM5R44SAFjs.GrafanaError; exports.HttpConfigFiles = _chunkM5R44SAFjs.HttpConfigFiles; exports.INPUT_OPTION_KEYS = _chunkM5R44SAFjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkM5R44SAFjs.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkM5R44SAFjs.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkM5R44SAFjs.LocalDataSource; exports.MANIFEST_VERSION = _chunkM5R44SAFjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkM5R44SAFjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunkM5R44SAFjs.MemoryEntryStore; exports.NAMED_COLORS = _chunkM5R44SAFjs.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkM5R44SAFjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkM5R44SAFjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkM5R44SAFjs.PANEL_TYPES; exports.REDUCER_LABELS = _chunkM5R44SAFjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkM5R44SAFjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkM5R44SAFjs.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkM5R44SAFjs.SERIES_PALETTE; exports.SPECIAL_MATCHES = _chunkM5R44SAFjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunkM5R44SAFjs.SaveConflictError; exports.TIME_PRESETS = _chunkM5R44SAFjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunkM5R44SAFjs.UNIT_CHOICES; exports.addTime = _chunkM5R44SAFjs.addTime; exports.appSchema = _chunkM5R44SAFjs.appSchema; exports.applyDashboardLink = _chunkM5R44SAFjs.applyDashboardLink; exports.applyJsonEdits = _chunkM5R44SAFjs.applyJsonEdits; exports.applyTransformations = _chunkM5R44SAFjs.applyTransformations; exports.assembleBundle = _chunkM5R44SAFjs.assembleBundle; exports.assembleFromResponse = _chunkM5R44SAFjs.assembleFromResponse; exports.buildFrames = _chunkM5R44SAFjs.buildFrames; exports.bundleFromFiles = _chunkM5R44SAFjs.bundleFromFiles; exports.bundleRoot = _chunkM5R44SAFjs.bundleRoot; exports.calculateInterval = _chunkM5R44SAFjs.calculateInterval; exports.checkFiles = _chunkM5R44SAFjs.checkFiles; exports.cleanDashboard = _chunkM5R44SAFjs.cleanDashboard; exports.cleanPanelOptions = _chunkM5R44SAFjs.cleanPanelOptions; exports.dashboardSchema = _chunkM5R44SAFjs.dashboardSchema; exports.dashboardSchemaIssues = _chunkM5R44SAFjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkM5R44SAFjs.dashboardSourceIds; exports.defaultFetchJson = _chunkM5R44SAFjs.defaultFetchJson; exports.describeRange = _chunkM5R44SAFjs.describeRange; exports.diffJson = _chunkM5R44SAFjs.diffJson; exports.documentIdFor = _chunkM5R44SAFjs.documentIdFor; exports.documentUses = _chunkM5R44SAFjs.documentUses; exports.dropTarget = _chunkM5R44SAFjs.dropTarget; exports.duplicatePanel = _chunkM5R44SAFjs.duplicatePanel; exports.entriesSavedWith = _chunkM5R44SAFjs.entriesSavedWith; exports.entryToInputValue = _chunkM5R44SAFjs.entryToInputValue; exports.expandRow = _chunkM5R44SAFjs.expandRow; exports.fetchBundle = _chunkM5R44SAFjs.fetchBundle; exports.fetchJsonWithToken = _chunkM5R44SAFjs.fetchJsonWithToken; exports.fieldDisplayName = _chunkM5R44SAFjs.fieldDisplayName; exports.fieldMatches = _chunkM5R44SAFjs.fieldMatches; exports.formatClock = _chunkM5R44SAFjs.formatClock; exports.formatDisplay = _chunkM5R44SAFjs.formatDisplay; exports.formatDuration = _chunkM5R44SAFjs.formatDuration; exports.formatJsonText = _chunkM5R44SAFjs.formatJsonText; exports.formatLocalDateTime = _chunkM5R44SAFjs.formatLocalDateTime; exports.formatValue = _chunkM5R44SAFjs.formatValue; exports.frameLength = _chunkM5R44SAFjs.frameLength; exports.framesToOptions = _chunkM5R44SAFjs.framesToOptions; exports.fromWire = _chunkM5R44SAFjs.fromWire; exports.getPath = _chunkM5R44SAFjs.getPath; exports.gridUnitsToPx = _chunkM5R44SAFjs.gridUnitsToPx; exports.httpFetchJson = _chunkM5R44SAFjs.httpFetchJson; exports.initialVariableValues = _chunkM5R44SAFjs.initialVariableValues; exports.inputPanels = _chunkM5R44SAFjs.inputPanels; exports.inputProblem = _chunkM5R44SAFjs.inputProblem; exports.insertPanel = _chunkM5R44SAFjs.insertPanel; exports.interpolate = _chunkM5R44SAFjs.interpolate; exports.interpolateDeep = _chunkM5R44SAFjs.interpolateDeep; exports.isBundleResponse = _chunkM5R44SAFjs.isBundleResponse; exports.isEditableVariableType = _chunkM5R44SAFjs.isEditableVariableType; exports.isInputPanel = _chunkM5R44SAFjs.isInputPanel; exports.isInputType = _chunkM5R44SAFjs.isInputType; exports.isLocalDatasource = _chunkM5R44SAFjs.isLocalDatasource; exports.isReducer = _chunkM5R44SAFjs.isReducer; exports.isRow = _chunkM5R44SAFjs.isRow; exports.isSqlDatasource = _chunkM5R44SAFjs.isSqlDatasource; exports.layoutCanvas = _chunkM5R44SAFjs.layoutCanvas; exports.layoutDashboard = _chunkM5R44SAFjs.layoutDashboard; exports.lineColumn = _chunkM5R44SAFjs.lineColumn; exports.loadGazetteer = _chunkM5R44SAFjs.loadGazetteer; exports.locate = _chunkM5R44SAFjs.locate; exports.manifestSchemaIssues = _chunkM5R44SAFjs.manifestSchemaIssues; exports.mappedResult = _chunkM5R44SAFjs.mappedResult; exports.mappingProblem = _chunkM5R44SAFjs.mappingProblem; exports.mappingRow = _chunkM5R44SAFjs.mappingRow; exports.mappingRows = _chunkM5R44SAFjs.mappingRows; exports.metricChanges = _chunkM5R44SAFjs.metricChanges; exports.movePanel = _chunkM5R44SAFjs.movePanel; exports.newDocument = _chunkM5R44SAFjs.newDocument; exports.newPanel = _chunkM5R44SAFjs.newPanel; exports.newVariable = _chunkM5R44SAFjs.newVariable; exports.nextPanelId = _chunkM5R44SAFjs.nextPanelId; exports.normalizeRef = _chunkM5R44SAFjs.normalizeRef; exports.numberFields = _chunkM5R44SAFjs.numberFields; exports.optionValue = _chunkM5R44SAFjs.optionValue; exports.overrideProperties = _chunkM5R44SAFjs.overrideProperties; exports.panelEdits = _chunkM5R44SAFjs.panelEdits; exports.panelHasQueries = _chunkM5R44SAFjs.panelHasQueries; exports.panelKey = _chunkM5R44SAFjs.panelKey; exports.panelOptions = _chunkM5R44SAFjs.panelOptions; exports.panelOverrides = _chunkM5R44SAFjs.panelOverrides; exports.panelSize = _chunkM5R44SAFjs.panelSize; exports.panelSpan = _chunkM5R44SAFjs.panelSpan; exports.parseClockDigits = _chunkM5R44SAFjs.parseClockDigits; exports.parseDashboardLink = _chunkM5R44SAFjs.parseDashboardLink; exports.parseDuration = _chunkM5R44SAFjs.parseDuration; exports.parseGazetteer = _chunkM5R44SAFjs.parseGazetteer; exports.parseJsonText = _chunkM5R44SAFjs.parseJsonText; exports.parseLocalDateTime = _chunkM5R44SAFjs.parseLocalDateTime; exports.parseRange = _chunkM5R44SAFjs.parseRange; exports.parseTime = _chunkM5R44SAFjs.parseTime; exports.pointerToPath = _chunkM5R44SAFjs.pointerToPath; exports.prepareDashboard = _chunkM5R44SAFjs.prepareDashboard; exports.queryPanel = _chunkM5R44SAFjs.queryPanel; exports.queryParam = _chunkM5R44SAFjs.queryParam; exports.readConfigFiles = _chunkM5R44SAFjs.readConfigFiles; exports.readingOrder = _chunkM5R44SAFjs.readingOrder; exports.reduce = _chunkM5R44SAFjs.reduce; exports.refineOptions = _chunkM5R44SAFjs.refineOptions; exports.refreshedVariables = _chunkM5R44SAFjs.refreshedVariables; exports.removeDocumentFromManifest = _chunkM5R44SAFjs.removeDocumentFromManifest; exports.removePanel = _chunkM5R44SAFjs.removePanel; exports.renameDocumentInManifest = _chunkM5R44SAFjs.renameDocumentInManifest; exports.renameVariableInPanels = _chunkM5R44SAFjs.renameVariableInPanels; exports.repack = _chunkM5R44SAFjs.repack; exports.repeatOptions = _chunkM5R44SAFjs.repeatOptions; exports.resizePanel = _chunkM5R44SAFjs.resizePanel; exports.resolveColor = _chunkM5R44SAFjs.resolveColor; exports.resolveFieldConfig = _chunkM5R44SAFjs.resolveFieldConfig; exports.resolveLinks = _chunkM5R44SAFjs.resolveLinks; exports.resolveTimezone = _chunkM5R44SAFjs.resolveTimezone; exports.resolveUrl = _chunkM5R44SAFjs.resolveUrl; exports.resolveVariables = _chunkM5R44SAFjs.resolveVariables; exports.revalidateBundle = _chunkM5R44SAFjs.revalidateBundle; exports.rowsToMappings = _chunkM5R44SAFjs.rowsToMappings; exports.sampleEntries = _chunkM5R44SAFjs.sampleEntries; exports.screenDocuments = _chunkM5R44SAFjs.screenDocuments; exports.screenOfType = _chunkM5R44SAFjs.screenOfType; exports.selectValue = _chunkM5R44SAFjs.selectValue; exports.seriesColor = _chunkM5R44SAFjs.seriesColor; exports.setHiddenOnPhones = _chunkM5R44SAFjs.setHiddenOnPhones; exports.setJsonValue = _chunkM5R44SAFjs.setJsonValue; exports.setOption = _chunkM5R44SAFjs.setOption; exports.setOptionValue = _chunkM5R44SAFjs.setOptionValue; exports.setOverrides = _chunkM5R44SAFjs.setOverrides; exports.splitPath = _chunkM5R44SAFjs.splitPath; exports.startOf = _chunkM5R44SAFjs.startOf; exports.stringifyCompact = _chunkM5R44SAFjs.stringifyCompact; exports.tabIdFor = _chunkM5R44SAFjs.tabIdFor; exports.textSuggestions = _chunkM5R44SAFjs.textSuggestions; exports.thresholdStep = _chunkM5R44SAFjs.thresholdStep; exports.timeExprError = _chunkM5R44SAFjs.timeExprError; exports.timeField = _chunkM5R44SAFjs.timeField; exports.toEntries = _chunkM5R44SAFjs.toEntries; exports.toMillis = _chunkM5R44SAFjs.toMillis; exports.toSeries = _chunkM5R44SAFjs.toSeries; exports.toXYSeries = _chunkM5R44SAFjs.toXYSeries; exports.uniqueNames = _chunkM5R44SAFjs.uniqueNames; exports.validateBundle = _chunkM5R44SAFjs.validateBundle; exports.validateDashboard = _chunkM5R44SAFjs.validateDashboard; exports.validateManifest = _chunkM5R44SAFjs.validateManifest; exports.valueColor = _chunkM5R44SAFjs.valueColor; exports.valueText = _chunkM5R44SAFjs.valueText; exports.variableDependents = _chunkM5R44SAFjs.variableDependents; exports.variableInfo = _chunkM5R44SAFjs.variableInfo; exports.variableNameError = _chunkM5R44SAFjs.variableNameError; exports.variableOptions = _chunkM5R44SAFjs.variableOptions; exports.variableOrder = _chunkM5R44SAFjs.variableOrder; exports.variableReferences = _chunkM5R44SAFjs.variableReferences; exports.variableUses = _chunkM5R44SAFjs.variableUses; exports.variableWithCurrent = _chunkM5R44SAFjs.variableWithCurrent; exports.variableWithFlags = _chunkM5R44SAFjs.variableWithFlags; exports.variableWithQuery = _chunkM5R44SAFjs.variableWithQuery; exports.variableWithType = _chunkM5R44SAFjs.variableWithType; exports.visibleVariables = _chunkM5R44SAFjs.visibleVariables; exports.zoomRange = _chunkM5R44SAFjs.zoomRange;
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
exports.ALL = _chunkHZEXKGDSjs.ALL; exports.BUNDLE_ACCEPT = _chunkHZEXKGDSjs.BUNDLE_ACCEPT; exports.BUNDLE_TYPE = _chunkHZEXKGDSjs.BUNDLE_TYPE; exports.CANVAS_GAP = _chunkHZEXKGDSjs.CANVAS_GAP; exports.CANVAS_ROW_HEADER = _chunkHZEXKGDSjs.CANVAS_ROW_HEADER; exports.ConfigLoader = _chunkHZEXKGDSjs.ConfigLoader; exports.DASHBOARD_DS = _chunkHZEXKGDSjs.DASHBOARD_DS; exports.DEFAULT_GAZETTEER = _chunkHZEXKGDSjs.DEFAULT_GAZETTEER; exports.EDITABLE_VARIABLE_TYPES = _chunkHZEXKGDSjs.EDITABLE_VARIABLE_TYPES; exports.GRID_COLUMNS = _chunkHZEXKGDSjs.GRID_COLUMNS; exports.GrafanaClient = _chunkHZEXKGDSjs.GrafanaClient; exports.GrafanaDataSource = _chunkHZEXKGDSjs.GrafanaDataSource; exports.GrafanaError = _chunkHZEXKGDSjs.GrafanaError; exports.HttpConfigFiles = _chunkHZEXKGDSjs.HttpConfigFiles; exports.INPUT_OPTION_KEYS = _chunkHZEXKGDSjs.INPUT_OPTION_KEYS; exports.INPUT_TYPES = _chunkHZEXKGDSjs.INPUT_TYPES; exports.LOCAL_DATASOURCE_TYPE = _chunkHZEXKGDSjs.LOCAL_DATASOURCE_TYPE; exports.LocalDataSource = _chunkHZEXKGDSjs.LocalDataSource; exports.MANIFEST_VERSION = _chunkHZEXKGDSjs.MANIFEST_VERSION; exports.MAPPING_TYPES = _chunkHZEXKGDSjs.MAPPING_TYPES; exports.MemoryEntryStore = _chunkHZEXKGDSjs.MemoryEntryStore; exports.NAMED_COLORS = _chunkHZEXKGDSjs.NAMED_COLORS; exports.OPTION_CATEGORIES = _chunkHZEXKGDSjs.OPTION_CATEGORIES; exports.OVERRIDE_MATCHERS = _chunkHZEXKGDSjs.OVERRIDE_MATCHERS; exports.PANEL_TYPES = _chunkHZEXKGDSjs.PANEL_TYPES; exports.REDUCER_LABELS = _chunkHZEXKGDSjs.REDUCER_LABELS; exports.REFRESH_CHOICES = _chunkHZEXKGDSjs.REFRESH_CHOICES; exports.RELATIVE_RANGES = _chunkHZEXKGDSjs.RELATIVE_RANGES; exports.SERIES_PALETTE = _chunkHZEXKGDSjs.SERIES_PALETTE; exports.SPECIAL_MATCHES = _chunkHZEXKGDSjs.SPECIAL_MATCHES; exports.SaveConflictError = _chunkHZEXKGDSjs.SaveConflictError; exports.TIME_PRESETS = _chunkHZEXKGDSjs.TIME_PRESETS; exports.UNIT_CHOICES = _chunkHZEXKGDSjs.UNIT_CHOICES; exports.addTime = _chunkHZEXKGDSjs.addTime; exports.appSchema = _chunkHZEXKGDSjs.appSchema; exports.applyDashboardLink = _chunkHZEXKGDSjs.applyDashboardLink; exports.applyJsonEdits = _chunkHZEXKGDSjs.applyJsonEdits; exports.applyTransformations = _chunkHZEXKGDSjs.applyTransformations; exports.assembleBundle = _chunkHZEXKGDSjs.assembleBundle; exports.assembleFromResponse = _chunkHZEXKGDSjs.assembleFromResponse; exports.buildFrames = _chunkHZEXKGDSjs.buildFrames; exports.bundleFromFiles = _chunkHZEXKGDSjs.bundleFromFiles; exports.bundleRoot = _chunkHZEXKGDSjs.bundleRoot; exports.calculateInterval = _chunkHZEXKGDSjs.calculateInterval; exports.checkFiles = _chunkHZEXKGDSjs.checkFiles; exports.cleanDashboard = _chunkHZEXKGDSjs.cleanDashboard; exports.cleanPanelOptions = _chunkHZEXKGDSjs.cleanPanelOptions; exports.collapseRow = _chunkHZEXKGDSjs.collapseRow; exports.compactGrid = _chunkHZEXKGDSjs.compactGrid; exports.dashboardSchema = _chunkHZEXKGDSjs.dashboardSchema; exports.dashboardSchemaIssues = _chunkHZEXKGDSjs.dashboardSchemaIssues; exports.dashboardSourceIds = _chunkHZEXKGDSjs.dashboardSourceIds; exports.defaultFetchJson = _chunkHZEXKGDSjs.defaultFetchJson; exports.describeRange = _chunkHZEXKGDSjs.describeRange; exports.diffJson = _chunkHZEXKGDSjs.diffJson; exports.documentIdFor = _chunkHZEXKGDSjs.documentIdFor; exports.documentUses = _chunkHZEXKGDSjs.documentUses; exports.dropTarget = _chunkHZEXKGDSjs.dropTarget; exports.duplicatePanel = _chunkHZEXKGDSjs.duplicatePanel; exports.entriesSavedWith = _chunkHZEXKGDSjs.entriesSavedWith; exports.entryToInputValue = _chunkHZEXKGDSjs.entryToInputValue; exports.expandRow = _chunkHZEXKGDSjs.expandRow; exports.fetchBundle = _chunkHZEXKGDSjs.fetchBundle; exports.fetchJsonWithToken = _chunkHZEXKGDSjs.fetchJsonWithToken; exports.fieldDisplayName = _chunkHZEXKGDSjs.fieldDisplayName; exports.fieldMatches = _chunkHZEXKGDSjs.fieldMatches; exports.formatClock = _chunkHZEXKGDSjs.formatClock; exports.formatDisplay = _chunkHZEXKGDSjs.formatDisplay; exports.formatDuration = _chunkHZEXKGDSjs.formatDuration; exports.formatJsonText = _chunkHZEXKGDSjs.formatJsonText; exports.formatLocalDateTime = _chunkHZEXKGDSjs.formatLocalDateTime; exports.formatValue = _chunkHZEXKGDSjs.formatValue; exports.frameLength = _chunkHZEXKGDSjs.frameLength; exports.framesToOptions = _chunkHZEXKGDSjs.framesToOptions; exports.fromWire = _chunkHZEXKGDSjs.fromWire; exports.getPath = _chunkHZEXKGDSjs.getPath; exports.gridOffsetPx = _chunkHZEXKGDSjs.gridOffsetPx; exports.gridUnitsToPx = _chunkHZEXKGDSjs.gridUnitsToPx; exports.httpFetchJson = _chunkHZEXKGDSjs.httpFetchJson; exports.initialVariableValues = _chunkHZEXKGDSjs.initialVariableValues; exports.inputPanels = _chunkHZEXKGDSjs.inputPanels; exports.inputProblem = _chunkHZEXKGDSjs.inputProblem; exports.insertPanel = _chunkHZEXKGDSjs.insertPanel; exports.interpolate = _chunkHZEXKGDSjs.interpolate; exports.interpolateDeep = _chunkHZEXKGDSjs.interpolateDeep; exports.isBundleResponse = _chunkHZEXKGDSjs.isBundleResponse; exports.isEditableVariableType = _chunkHZEXKGDSjs.isEditableVariableType; exports.isInputPanel = _chunkHZEXKGDSjs.isInputPanel; exports.isInputType = _chunkHZEXKGDSjs.isInputType; exports.isLocalDatasource = _chunkHZEXKGDSjs.isLocalDatasource; exports.isReducer = _chunkHZEXKGDSjs.isReducer; exports.isRow = _chunkHZEXKGDSjs.isRow; exports.isSqlDatasource = _chunkHZEXKGDSjs.isSqlDatasource; exports.layoutCanvas = _chunkHZEXKGDSjs.layoutCanvas; exports.layoutDashboard = _chunkHZEXKGDSjs.layoutDashboard; exports.lineColumn = _chunkHZEXKGDSjs.lineColumn; exports.loadGazetteer = _chunkHZEXKGDSjs.loadGazetteer; exports.locate = _chunkHZEXKGDSjs.locate; exports.manifestSchemaIssues = _chunkHZEXKGDSjs.manifestSchemaIssues; exports.mappedResult = _chunkHZEXKGDSjs.mappedResult; exports.mappingProblem = _chunkHZEXKGDSjs.mappingProblem; exports.mappingRow = _chunkHZEXKGDSjs.mappingRow; exports.mappingRows = _chunkHZEXKGDSjs.mappingRows; exports.metricChanges = _chunkHZEXKGDSjs.metricChanges; exports.movePanel = _chunkHZEXKGDSjs.movePanel; exports.newDocument = _chunkHZEXKGDSjs.newDocument; exports.newPanel = _chunkHZEXKGDSjs.newPanel; exports.newVariable = _chunkHZEXKGDSjs.newVariable; exports.nextPanelId = _chunkHZEXKGDSjs.nextPanelId; exports.normalizeRef = _chunkHZEXKGDSjs.normalizeRef; exports.numberFields = _chunkHZEXKGDSjs.numberFields; exports.optionValue = _chunkHZEXKGDSjs.optionValue; exports.overrideProperties = _chunkHZEXKGDSjs.overrideProperties; exports.panelEdits = _chunkHZEXKGDSjs.panelEdits; exports.panelHasQueries = _chunkHZEXKGDSjs.panelHasQueries; exports.panelKey = _chunkHZEXKGDSjs.panelKey; exports.panelOptions = _chunkHZEXKGDSjs.panelOptions; exports.panelOverrides = _chunkHZEXKGDSjs.panelOverrides; exports.panelSize = _chunkHZEXKGDSjs.panelSize; exports.panelSpan = _chunkHZEXKGDSjs.panelSpan; exports.parseClockDigits = _chunkHZEXKGDSjs.parseClockDigits; exports.parseDashboardLink = _chunkHZEXKGDSjs.parseDashboardLink; exports.parseDuration = _chunkHZEXKGDSjs.parseDuration; exports.parseGazetteer = _chunkHZEXKGDSjs.parseGazetteer; exports.parseJsonText = _chunkHZEXKGDSjs.parseJsonText; exports.parseLocalDateTime = _chunkHZEXKGDSjs.parseLocalDateTime; exports.parseRange = _chunkHZEXKGDSjs.parseRange; exports.parseTime = _chunkHZEXKGDSjs.parseTime; exports.placePanel = _chunkHZEXKGDSjs.placePanel; exports.pointerToPath = _chunkHZEXKGDSjs.pointerToPath; exports.prepareDashboard = _chunkHZEXKGDSjs.prepareDashboard; exports.queryPanel = _chunkHZEXKGDSjs.queryPanel; exports.queryParam = _chunkHZEXKGDSjs.queryParam; exports.readConfigFiles = _chunkHZEXKGDSjs.readConfigFiles; exports.readingOrder = _chunkHZEXKGDSjs.readingOrder; exports.reduce = _chunkHZEXKGDSjs.reduce; exports.refineOptions = _chunkHZEXKGDSjs.refineOptions; exports.refreshedVariables = _chunkHZEXKGDSjs.refreshedVariables; exports.removeDocumentFromManifest = _chunkHZEXKGDSjs.removeDocumentFromManifest; exports.removePanel = _chunkHZEXKGDSjs.removePanel; exports.renameDocumentInManifest = _chunkHZEXKGDSjs.renameDocumentInManifest; exports.renameVariableInPanels = _chunkHZEXKGDSjs.renameVariableInPanels; exports.repack = _chunkHZEXKGDSjs.repack; exports.repeatOptions = _chunkHZEXKGDSjs.repeatOptions; exports.resizePanel = _chunkHZEXKGDSjs.resizePanel; exports.resolveColor = _chunkHZEXKGDSjs.resolveColor; exports.resolveFieldConfig = _chunkHZEXKGDSjs.resolveFieldConfig; exports.resolveLinks = _chunkHZEXKGDSjs.resolveLinks; exports.resolveTimezone = _chunkHZEXKGDSjs.resolveTimezone; exports.resolveUrl = _chunkHZEXKGDSjs.resolveUrl; exports.resolveVariables = _chunkHZEXKGDSjs.resolveVariables; exports.revalidateBundle = _chunkHZEXKGDSjs.revalidateBundle; exports.rowsToMappings = _chunkHZEXKGDSjs.rowsToMappings; exports.sampleEntries = _chunkHZEXKGDSjs.sampleEntries; exports.screenDocuments = _chunkHZEXKGDSjs.screenDocuments; exports.screenOfType = _chunkHZEXKGDSjs.screenOfType; exports.selectValue = _chunkHZEXKGDSjs.selectValue; exports.seriesColor = _chunkHZEXKGDSjs.seriesColor; exports.setHiddenOnPhones = _chunkHZEXKGDSjs.setHiddenOnPhones; exports.setJsonValue = _chunkHZEXKGDSjs.setJsonValue; exports.setOption = _chunkHZEXKGDSjs.setOption; exports.setOptionValue = _chunkHZEXKGDSjs.setOptionValue; exports.setOverrides = _chunkHZEXKGDSjs.setOverrides; exports.settleLayout = _chunkHZEXKGDSjs.settleLayout; exports.snapToGrid = _chunkHZEXKGDSjs.snapToGrid; exports.splitPath = _chunkHZEXKGDSjs.splitPath; exports.startOf = _chunkHZEXKGDSjs.startOf; exports.stringifyCompact = _chunkHZEXKGDSjs.stringifyCompact; exports.tabIdFor = _chunkHZEXKGDSjs.tabIdFor; exports.textSuggestions = _chunkHZEXKGDSjs.textSuggestions; exports.thresholdStep = _chunkHZEXKGDSjs.thresholdStep; exports.timeExprError = _chunkHZEXKGDSjs.timeExprError; exports.timeField = _chunkHZEXKGDSjs.timeField; exports.toEntries = _chunkHZEXKGDSjs.toEntries; exports.toMillis = _chunkHZEXKGDSjs.toMillis; exports.toSeries = _chunkHZEXKGDSjs.toSeries; exports.toXYSeries = _chunkHZEXKGDSjs.toXYSeries; exports.uniqueNames = _chunkHZEXKGDSjs.uniqueNames; exports.validateBundle = _chunkHZEXKGDSjs.validateBundle; exports.validateDashboard = _chunkHZEXKGDSjs.validateDashboard; exports.validateManifest = _chunkHZEXKGDSjs.validateManifest; exports.valueColor = _chunkHZEXKGDSjs.valueColor; exports.valueText = _chunkHZEXKGDSjs.valueText; exports.variableDependents = _chunkHZEXKGDSjs.variableDependents; exports.variableInfo = _chunkHZEXKGDSjs.variableInfo; exports.variableNameError = _chunkHZEXKGDSjs.variableNameError; exports.variableOptions = _chunkHZEXKGDSjs.variableOptions; exports.variableOrder = _chunkHZEXKGDSjs.variableOrder; exports.variableReferences = _chunkHZEXKGDSjs.variableReferences; exports.variableUses = _chunkHZEXKGDSjs.variableUses; exports.variableWithCurrent = _chunkHZEXKGDSjs.variableWithCurrent; exports.variableWithFlags = _chunkHZEXKGDSjs.variableWithFlags; exports.variableWithQuery = _chunkHZEXKGDSjs.variableWithQuery; exports.variableWithType = _chunkHZEXKGDSjs.variableWithType; exports.visibleVariables = _chunkHZEXKGDSjs.visibleVariables; exports.zoomRange = _chunkHZEXKGDSjs.zoomRange;
|