@bluemarble/bi 0.6.2 → 0.6.3

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.
@@ -1,7 +1,7 @@
1
1
  import { a as toModelCode, c as VALUE_FORMATS, f as validateModel, g as parseColumnRef, h as modelEdges, m as measureHome, o as AGGREGATIONS, s as AGGREGATION_LABEL, t as canonicalJson, u as isAggregate, v as referencedTables } from "./codegen-DkfI6UJr.js";
2
2
  import { n as diffRows } from "./compare-DloZhg1T.js";
3
3
  import { C as RULE_OPERATOR_LABEL, S as RULE_OPERATORS, _ as tableColumns, a as FILTER_FIELDS, b as COLUMN_VERTICAL_ALIGNS, c as chartOfType, d as filterReferences, h as percentColumn, i as CARD_FIELDS, l as chartReferences, m as layoutModelWarnings, n as CANVAS_PRESETS, p as layoutFileContent, r as CARDS_FIELDS, s as chartColumns, t as BUILTIN_CHART_TYPES, v as validateLayout, w as UNARY_OPERATORS, x as NUMERIC_OPERATORS, y as COLUMN_ALIGNS } from "./layout-DAFeHIuP.js";
4
- import { d as useDashboard, f as errorMessage, h as parseLayoutItemKey, m as layoutItemKey, n as INSPECT_ATTRIBUTE, o as formatMeasure, p as LAYOUT_ITEM_ATTRIBUTE, t as ModelDictionary } from "./ModelDictionary-BlDeDyAE.js";
4
+ import { d as useDashboard, f as errorMessage, h as parseLayoutItemKey, m as layoutItemKey, n as INSPECT_ATTRIBUTE, o as formatMeasure, p as LAYOUT_ITEM_ATTRIBUTE, t as ModelDictionary } from "./ModelDictionary-Dc3_LKqr.js";
5
5
  import { Alert, Autocomplete, Box, Button, Checkbox, Chip, CircularProgress, Collapse, Dialog, DialogActions, DialogContent, DialogTitle, Divider, FormControlLabel, IconButton, List, ListItemButton, ListSubheader, Menu, MenuItem, MenuList, Paper, Popover, Popper, Portal, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, TableSortLabel, Tabs, TextField, ThemeProvider, ToggleButton, ToggleButtonGroup, Tooltip, Typography, createTheme } from "@mui/material";
6
6
  import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -6621,6 +6621,7 @@ function QueriesPanel({ devtools, capabilities, selected, onSelect, onHover, onC
6621
6621
  run.status === "loading" ? "carregando…" : `${run.durationMs} ms`,
6622
6622
  run.rows && ` · ${run.rows.length} linhas`,
6623
6623
  run.debug?.cached && " · cache",
6624
+ run.batched && ` · lote de ${run.batched}`,
6624
6625
  view === "active" && ` · ${instance?.runs ?? 1}×`
6625
6626
  ]
6626
6627
  })]
@@ -6703,6 +6704,11 @@ function RunDetail({ run, devtools, capabilities, mounted }) {
6703
6704
  color: "warning",
6704
6705
  label: "rodou no rascunho"
6705
6706
  }),
6707
+ run.batched && /* @__PURE__ */ jsx(Chip, {
6708
+ size: "small",
6709
+ label: `lote de ${run.batched}`,
6710
+ title: "Saiu da mesma SQL que outras consultas (mesmas dimensões, filtros e fatos): o SQL e o tempo são os do conjunto"
6711
+ }),
6706
6712
  mounted && /* @__PURE__ */ jsx(Button, {
6707
6713
  size: "small",
6708
6714
  onClick: () => scrollToQuery(run.instanceId),
@@ -8187,4 +8193,4 @@ function ToggleButton$1({ draft, loading, problems, inspecting, onOpen }) {
8187
8193
  //#endregion
8188
8194
  export { DashboardDevtools as default };
8189
8195
 
8190
- //# sourceMappingURL=DashboardDevtools-BT9mJrmJ.js.map
8196
+ //# sourceMappingURL=DashboardDevtools-Osu5V30U.js.map