@panoboard/core 1.3.0 → 1.8.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/annotations/executor.d.ts +32 -0
- package/dist/annotations/executor.d.ts.map +1 -0
- package/dist/annotations/executor.js +74 -0
- package/dist/annotations/executor.js.map +1 -0
- package/dist/annotations/index.d.ts +2 -0
- package/dist/annotations/index.d.ts.map +1 -0
- package/dist/annotations/index.js +15 -0
- package/dist/annotations/index.js.map +1 -0
- package/dist/cache/keys.d.ts.map +1 -1
- package/dist/cache/keys.js +4 -4
- package/dist/cache/keys.js.map +1 -1
- package/dist/components/ConfigErrorBanner.d.ts.map +1 -1
- package/dist/components/ConfigErrorBanner.js +8 -2
- package/dist/components/ConfigErrorBanner.js.map +1 -1
- package/dist/components/CrosshairContext.d.ts +13 -0
- package/dist/components/CrosshairContext.d.ts.map +1 -0
- package/dist/components/CrosshairContext.js +37 -0
- package/dist/components/CrosshairContext.js.map +1 -0
- package/dist/components/DashboardCard.d.ts +2 -1
- package/dist/components/DashboardCard.d.ts.map +1 -1
- package/dist/components/DashboardCard.js +11 -4
- package/dist/components/DashboardCard.js.map +1 -1
- package/dist/components/DashboardDescription.d.ts +19 -0
- package/dist/components/DashboardDescription.d.ts.map +1 -0
- package/dist/components/DashboardDescription.js +61 -0
- package/dist/components/DashboardDescription.js.map +1 -0
- package/dist/components/DashboardLinks.d.ts +8 -0
- package/dist/components/DashboardLinks.d.ts.map +1 -0
- package/dist/components/DashboardLinks.js +53 -0
- package/dist/components/DashboardLinks.js.map +1 -0
- package/dist/components/DashboardShell.d.ts +5 -1
- package/dist/components/DashboardShell.d.ts.map +1 -1
- package/dist/components/DashboardShell.js +42 -25
- package/dist/components/DashboardShell.js.map +1 -1
- package/dist/components/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState.js +7 -1
- package/dist/components/EmptyState.js.map +1 -1
- package/dist/components/ErrorPage.d.ts.map +1 -1
- package/dist/components/ErrorPage.js +22 -33
- package/dist/components/ErrorPage.js.map +1 -1
- package/dist/components/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar.js +21 -5
- package/dist/components/FilterBar.js.map +1 -1
- package/dist/components/NotificationCenter.d.ts +6 -0
- package/dist/components/NotificationCenter.d.ts.map +1 -0
- package/dist/components/NotificationCenter.js +67 -0
- package/dist/components/NotificationCenter.js.map +1 -0
- package/dist/components/NotificationIndicator.d.ts +6 -0
- package/dist/components/NotificationIndicator.d.ts.map +1 -0
- package/dist/components/NotificationIndicator.js +27 -0
- package/dist/components/NotificationIndicator.js.map +1 -0
- package/dist/components/PanelGrid.js +2 -2
- package/dist/components/PanelGrid.js.map +1 -1
- package/dist/components/PanelWrapper.d.ts +2 -1
- package/dist/components/PanelWrapper.d.ts.map +1 -1
- package/dist/components/PanelWrapper.js +101 -16
- package/dist/components/PanelWrapper.js.map +1 -1
- package/dist/components/RefreshContext.d.ts +3 -0
- package/dist/components/RefreshContext.d.ts.map +1 -0
- package/dist/components/RefreshContext.js +7 -0
- package/dist/components/RefreshContext.js.map +1 -0
- package/dist/components/RefreshControl.d.ts +17 -0
- package/dist/components/RefreshControl.d.ts.map +1 -0
- package/dist/components/RefreshControl.js +72 -0
- package/dist/components/RefreshControl.js.map +1 -0
- package/dist/components/SectionGrid.d.ts +9 -0
- package/dist/components/SectionGrid.d.ts.map +1 -0
- package/dist/components/SectionGrid.js +76 -0
- package/dist/components/SectionGrid.js.map +1 -0
- package/dist/components/SectionHeader.d.ts +8 -0
- package/dist/components/SectionHeader.d.ts.map +1 -0
- package/dist/components/SectionHeader.js +21 -0
- package/dist/components/SectionHeader.js.map +1 -0
- package/dist/components/TagPills.d.ts +7 -0
- package/dist/components/TagPills.d.ts.map +1 -0
- package/dist/components/TagPills.js +41 -0
- package/dist/components/TagPills.js.map +1 -0
- package/dist/components/filters/BooleanFilter.d.ts.map +1 -1
- package/dist/components/filters/BooleanFilter.js +1 -3
- package/dist/components/filters/BooleanFilter.js.map +1 -1
- package/dist/components/filters/CalendarGrid.d.ts.map +1 -1
- package/dist/components/filters/CalendarGrid.js +1 -1
- package/dist/components/filters/CalendarGrid.js.map +1 -1
- package/dist/components/filters/DateRangeFilter.d.ts.map +1 -1
- package/dist/components/filters/DateRangeFilter.js +4 -6
- package/dist/components/filters/DateRangeFilter.js.map +1 -1
- package/dist/components/filters/FilterChips.d.ts.map +1 -1
- package/dist/components/filters/FilterChips.js +71 -10
- package/dist/components/filters/FilterChips.js.map +1 -1
- package/dist/components/filters/IntervalFilter.d.ts +9 -0
- package/dist/components/filters/IntervalFilter.d.ts.map +1 -0
- package/dist/components/filters/IntervalFilter.js +29 -0
- package/dist/components/filters/IntervalFilter.js.map +1 -0
- package/dist/components/filters/MultiSelectFilter.d.ts.map +1 -1
- package/dist/components/filters/MultiSelectFilter.js +1 -3
- package/dist/components/filters/MultiSelectFilter.js.map +1 -1
- package/dist/components/filters/NumberFilter.d.ts.map +1 -1
- package/dist/components/filters/NumberFilter.js +5 -1
- package/dist/components/filters/NumberFilter.js.map +1 -1
- package/dist/components/filters/SelectFilter.d.ts +2 -1
- package/dist/components/filters/SelectFilter.d.ts.map +1 -1
- package/dist/components/filters/SelectFilter.js +9 -10
- package/dist/components/filters/SelectFilter.js.map +1 -1
- package/dist/components/filters/TextFilter.d.ts.map +1 -1
- package/dist/components/filters/TextFilter.js +5 -1
- package/dist/components/filters/TextFilter.js.map +1 -1
- package/dist/components/index.d.ts +11 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +14 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/panels/AnnotationLayer.d.ts +28 -0
- package/dist/components/panels/AnnotationLayer.d.ts.map +1 -0
- package/dist/components/panels/AnnotationLayer.js +102 -0
- package/dist/components/panels/AnnotationLayer.js.map +1 -0
- package/dist/components/panels/AreaChart.d.ts +3 -1
- package/dist/components/panels/AreaChart.d.ts.map +1 -1
- package/dist/components/panels/AreaChart.js +86 -5
- package/dist/components/panels/AreaChart.js.map +1 -1
- package/dist/components/panels/BarChart.d.ts.map +1 -1
- package/dist/components/panels/BarChart.js +61 -7
- package/dist/components/panels/BarChart.js.map +1 -1
- package/dist/components/panels/ChartTooltip.d.ts.map +1 -1
- package/dist/components/panels/ChartTooltip.js +9 -48
- package/dist/components/panels/ChartTooltip.js.map +1 -1
- package/dist/components/panels/DataLinks.d.ts +35 -0
- package/dist/components/panels/DataLinks.d.ts.map +1 -0
- package/dist/components/panels/DataLinks.js +67 -0
- package/dist/components/panels/DataLinks.js.map +1 -0
- package/dist/components/panels/GaugePanel.d.ts +7 -0
- package/dist/components/panels/GaugePanel.d.ts.map +1 -0
- package/dist/components/panels/GaugePanel.js +116 -0
- package/dist/components/panels/GaugePanel.js.map +1 -0
- package/dist/components/panels/HistogramPanel.d.ts +18 -0
- package/dist/components/panels/HistogramPanel.d.ts.map +1 -0
- package/dist/components/panels/HistogramPanel.js +92 -0
- package/dist/components/panels/HistogramPanel.js.map +1 -0
- package/dist/components/panels/LineChart.d.ts +3 -1
- package/dist/components/panels/LineChart.d.ts.map +1 -1
- package/dist/components/panels/LineChart.js +89 -5
- package/dist/components/panels/LineChart.js.map +1 -1
- package/dist/components/panels/ListPanel.d.ts.map +1 -1
- package/dist/components/panels/ListPanel.js +1 -1
- package/dist/components/panels/ListPanel.js.map +1 -1
- package/dist/components/panels/MarkdownPanel.d.ts +15 -1
- package/dist/components/panels/MarkdownPanel.d.ts.map +1 -1
- package/dist/components/panels/MarkdownPanel.js +70 -7
- package/dist/components/panels/MarkdownPanel.js.map +1 -1
- package/dist/components/panels/MetricPanel.d.ts.map +1 -1
- package/dist/components/panels/MetricPanel.js +1 -1
- package/dist/components/panels/MetricPanel.js.map +1 -1
- package/dist/components/panels/PanelEmpty.d.ts.map +1 -1
- package/dist/components/panels/PanelEmpty.js +1 -1
- package/dist/components/panels/PanelEmpty.js.map +1 -1
- package/dist/components/panels/PanelError.d.ts.map +1 -1
- package/dist/components/panels/PanelError.js +4 -1
- package/dist/components/panels/PanelError.js.map +1 -1
- package/dist/components/panels/PanelSkeleton.js +2 -2
- package/dist/components/panels/PanelSkeleton.js.map +1 -1
- package/dist/components/panels/ScatterChart.d.ts +15 -1
- package/dist/components/panels/ScatterChart.d.ts.map +1 -1
- package/dist/components/panels/ScatterChart.js +96 -26
- package/dist/components/panels/ScatterChart.js.map +1 -1
- package/dist/components/panels/Sparkline.d.ts +21 -0
- package/dist/components/panels/Sparkline.d.ts.map +1 -0
- package/dist/components/panels/Sparkline.js +53 -0
- package/dist/components/panels/Sparkline.js.map +1 -0
- package/dist/components/panels/StatPanel.d.ts +3 -1
- package/dist/components/panels/StatPanel.d.ts.map +1 -1
- package/dist/components/panels/StatPanel.js +33 -4
- package/dist/components/panels/StatPanel.js.map +1 -1
- package/dist/components/panels/TablePanel.d.ts +2 -1
- package/dist/components/panels/TablePanel.d.ts.map +1 -1
- package/dist/components/panels/TablePanel.js +96 -6
- package/dist/components/panels/TablePanel.js.map +1 -1
- package/dist/components/panels/VideoPanel.d.ts.map +1 -1
- package/dist/components/panels/VideoPanel.js +1 -1
- package/dist/components/panels/VideoPanel.js.map +1 -1
- package/dist/components/panels/nivo-theme.d.ts +1 -44
- package/dist/components/panels/nivo-theme.d.ts.map +1 -1
- package/dist/components/panels/nivo-theme.js +9 -104
- package/dist/components/panels/nivo-theme.js.map +1 -1
- package/dist/components/panels/semantic-colors.d.ts.map +1 -1
- package/dist/components/panels/semantic-colors.js +2 -39
- package/dist/components/panels/semantic-colors.js.map +1 -1
- package/dist/components/ui/Button.d.ts +1 -1
- package/dist/components/ui/Button.d.ts.map +1 -1
- package/dist/components/ui/Button.js +6 -9
- package/dist/components/ui/Button.js.map +1 -1
- package/dist/components/ui/Tabs.d.ts.map +1 -1
- package/dist/components/ui/Tabs.js +1 -1
- package/dist/components/ui/Tabs.js.map +1 -1
- package/dist/connectors/bigquery.d.ts.map +1 -1
- package/dist/connectors/bigquery.js +6 -1
- package/dist/connectors/bigquery.js.map +1 -1
- package/dist/connectors/postgres.d.ts.map +1 -1
- package/dist/connectors/postgres.js +3 -0
- package/dist/connectors/postgres.js.map +1 -1
- package/dist/connectors/redshift.d.ts.map +1 -1
- package/dist/connectors/redshift.js +3 -0
- package/dist/connectors/redshift.js.map +1 -1
- package/dist/contexts/NotificationContext.d.ts +10 -0
- package/dist/contexts/NotificationContext.d.ts.map +1 -0
- package/dist/contexts/NotificationContext.js +24 -0
- package/dist/contexts/NotificationContext.js.map +1 -0
- package/dist/filters/daterange.d.ts +1 -1
- package/dist/filters/daterange.d.ts.map +1 -1
- package/dist/filters/daterange.js +54 -9
- package/dist/filters/daterange.js.map +1 -1
- package/dist/filters/index.d.ts +2 -0
- package/dist/filters/index.d.ts.map +1 -1
- package/dist/filters/index.js +2 -0
- package/dist/filters/index.js.map +1 -1
- package/dist/filters/interval.d.ts +13 -0
- package/dist/filters/interval.d.ts.map +1 -0
- package/dist/filters/interval.js +40 -0
- package/dist/filters/interval.js.map +1 -0
- package/dist/filters/resolver.d.ts +1 -1
- package/dist/filters/resolver.d.ts.map +1 -1
- package/dist/filters/resolver.js +28 -2
- package/dist/filters/resolver.js.map +1 -1
- package/dist/flattenTabs.d.ts +8 -0
- package/dist/flattenTabs.d.ts.map +1 -0
- package/dist/flattenTabs.js +24 -0
- package/dist/flattenTabs.js.map +1 -0
- package/dist/formats.d.ts +1 -1
- package/dist/formats.d.ts.map +1 -1
- package/dist/formats.js +19 -9
- package/dist/formats.js.map +1 -1
- package/dist/hooks/useNotifications.d.ts +5 -0
- package/dist/hooks/useNotifications.d.ts.map +1 -0
- package/dist/hooks/useNotifications.js +48 -0
- package/dist/hooks/useNotifications.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/interpolation.d.ts +10 -0
- package/dist/interpolation.d.ts.map +1 -0
- package/dist/interpolation.js +64 -0
- package/dist/interpolation.js.map +1 -0
- package/dist/panels/conditional.d.ts +12 -0
- package/dist/panels/conditional.d.ts.map +1 -0
- package/dist/panels/conditional.js +90 -0
- package/dist/panels/conditional.js.map +1 -0
- package/dist/panels/index.d.ts +11 -0
- package/dist/panels/index.d.ts.map +1 -0
- package/dist/panels/index.js +19 -0
- package/dist/panels/index.js.map +1 -0
- package/dist/panels/mappings.d.ts +40 -0
- package/dist/panels/mappings.d.ts.map +1 -0
- package/dist/panels/mappings.js +83 -0
- package/dist/panels/mappings.js.map +1 -0
- package/dist/panels/overrides.d.ts +37 -0
- package/dist/panels/overrides.d.ts.map +1 -0
- package/dist/panels/overrides.js +57 -0
- package/dist/panels/overrides.js.map +1 -0
- package/dist/panels/threshold-layers.d.ts +18 -0
- package/dist/panels/threshold-layers.d.ts.map +1 -0
- package/dist/panels/threshold-layers.js +35 -0
- package/dist/panels/threshold-layers.js.map +1 -0
- package/dist/panels/thresholds.d.ts +36 -0
- package/dist/panels/thresholds.d.ts.map +1 -0
- package/dist/panels/thresholds.js +81 -0
- package/dist/panels/thresholds.js.map +1 -0
- package/dist/schemas/annotations.d.ts +34 -0
- package/dist/schemas/annotations.d.ts.map +1 -0
- package/dist/schemas/annotations.js +19 -0
- package/dist/schemas/annotations.js.map +1 -0
- package/dist/schemas/config.d.ts +1 -0
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/config.js +1 -0
- package/dist/schemas/config.js.map +1 -1
- package/dist/schemas/dashboard.d.ts +5861 -235
- package/dist/schemas/dashboard.d.ts.map +1 -1
- package/dist/schemas/dashboard.js +173 -10
- package/dist/schemas/dashboard.js.map +1 -1
- package/dist/schemas/index.d.ts +6 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/mappings.d.ts +46 -0
- package/dist/schemas/mappings.d.ts.map +1 -0
- package/dist/schemas/mappings.js +46 -0
- package/dist/schemas/mappings.js.map +1 -0
- package/dist/schemas/overrides.d.ts +77 -0
- package/dist/schemas/overrides.d.ts.map +1 -0
- package/dist/schemas/overrides.js +38 -0
- package/dist/schemas/overrides.js.map +1 -0
- package/dist/schemas/theme.d.ts +89 -7
- package/dist/schemas/theme.d.ts.map +1 -1
- package/dist/schemas/theme.js +40 -24
- package/dist/schemas/theme.js.map +1 -1
- package/dist/schemas/thresholds.d.ts +19 -0
- package/dist/schemas/thresholds.d.ts.map +1 -0
- package/dist/schemas/thresholds.js +31 -0
- package/dist/schemas/thresholds.js.map +1 -0
- package/dist/schemas/transforms.d.ts +54 -0
- package/dist/schemas/transforms.d.ts.map +1 -0
- package/dist/schemas/transforms.js +51 -0
- package/dist/schemas/transforms.js.map +1 -0
- package/dist/startup/sql-lint.d.ts.map +1 -1
- package/dist/startup/sql-lint.js +3 -2
- package/dist/startup/sql-lint.js.map +1 -1
- package/dist/theme/builtin.d.ts.map +1 -1
- package/dist/theme/builtin.js +56 -62
- package/dist/theme/builtin.js.map +1 -1
- package/dist/theme/colors.d.ts +11 -0
- package/dist/theme/colors.d.ts.map +1 -0
- package/dist/theme/colors.js +71 -0
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/context.d.ts.map +1 -1
- package/dist/theme/context.js +16 -3
- package/dist/theme/context.js.map +1 -1
- package/dist/theme/loader-export.d.ts +1 -1
- package/dist/theme/loader-export.d.ts.map +1 -1
- package/dist/theme/loader-export.js +1 -1
- package/dist/theme/loader-export.js.map +1 -1
- package/dist/theme/loader.d.ts +8 -3
- package/dist/theme/loader.d.ts.map +1 -1
- package/dist/theme/loader.js +24 -13
- package/dist/theme/loader.js.map +1 -1
- package/dist/transforms/computed.d.ts +11 -0
- package/dist/transforms/computed.d.ts.map +1 -0
- package/dist/transforms/computed.js +24 -0
- package/dist/transforms/computed.js.map +1 -0
- package/dist/transforms/engine.d.ts +17 -0
- package/dist/transforms/engine.d.ts.map +1 -0
- package/dist/transforms/engine.js +65 -0
- package/dist/transforms/engine.js.map +1 -0
- package/dist/transforms/expression.d.ts +9 -0
- package/dist/transforms/expression.d.ts.map +1 -0
- package/dist/transforms/expression.js +306 -0
- package/dist/transforms/expression.js.map +1 -0
- package/dist/transforms/filter.d.ts +11 -0
- package/dist/transforms/filter.d.ts.map +1 -0
- package/dist/transforms/filter.js +10 -0
- package/dist/transforms/filter.js.map +1 -0
- package/dist/transforms/index.d.ts +10 -0
- package/dist/transforms/index.d.ts.map +1 -0
- package/dist/transforms/index.js +9 -0
- package/dist/transforms/index.js.map +1 -0
- package/dist/transforms/limit.d.ts +11 -0
- package/dist/transforms/limit.d.ts.map +1 -0
- package/dist/transforms/limit.js +4 -0
- package/dist/transforms/limit.js.map +1 -0
- package/dist/transforms/percentage.d.ts +11 -0
- package/dist/transforms/percentage.d.ts.map +1 -0
- package/dist/transforms/percentage.js +25 -0
- package/dist/transforms/percentage.js.map +1 -0
- package/dist/transforms/rename.d.ts +11 -0
- package/dist/transforms/rename.d.ts.map +1 -0
- package/dist/transforms/rename.js +17 -0
- package/dist/transforms/rename.js.map +1 -0
- package/dist/transforms/sort.d.ts +11 -0
- package/dist/transforms/sort.d.ts.map +1 -0
- package/dist/transforms/sort.js +21 -0
- package/dist/transforms/sort.js.map +1 -0
- package/dist/types/config-error.d.ts +1 -1
- package/dist/types/config-error.d.ts.map +1 -1
- package/dist/types/notification.d.ts +19 -0
- package/dist/types/notification.d.ts.map +1 -0
- package/dist/types/notification.js +15 -0
- package/dist/types/notification.js.map +1 -0
- package/package.json +11 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Copyright 2026 Mataki Labs LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Business Source License 1.1 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// https://github.com/panoboard/panoboard/blob/main/LICENSE
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { z } from "zod";
|
|
15
|
+
import { thresholdConfigSchema } from "./thresholds";
|
|
16
|
+
const matchByFieldSchema = z.object({
|
|
17
|
+
field: z.string(),
|
|
18
|
+
});
|
|
19
|
+
const matchByPatternSchema = z.object({
|
|
20
|
+
pattern: z.string(),
|
|
21
|
+
});
|
|
22
|
+
const fieldMatchSchema = z.union([matchByFieldSchema, matchByPatternSchema]);
|
|
23
|
+
const overridePropertiesSchema = z.object({
|
|
24
|
+
format: z.string().optional(),
|
|
25
|
+
decimals: z.number().int().nonnegative().optional(),
|
|
26
|
+
label: z.string().optional(),
|
|
27
|
+
color: z.string().optional(),
|
|
28
|
+
min: z.number().optional(),
|
|
29
|
+
max: z.number().optional(),
|
|
30
|
+
unit: z.string().optional(),
|
|
31
|
+
thresholds: thresholdConfigSchema.optional(),
|
|
32
|
+
});
|
|
33
|
+
export const fieldOverrideSchema = z.object({
|
|
34
|
+
match: fieldMatchSchema,
|
|
35
|
+
properties: overridePropertiesSchema,
|
|
36
|
+
});
|
|
37
|
+
export const fieldOverridesSchema = z.array(fieldOverrideSchema);
|
|
38
|
+
//# sourceMappingURL=overrides.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../src/schemas/overrides.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,MAAM,kBAAkB,GAAG,CAAC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Schema: z.ZodPipe<z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
description: z.ZodOptional<z.ZodString>;
|
|
5
|
+
primary: z.ZodString;
|
|
6
|
+
primaryHover: z.ZodString;
|
|
5
7
|
surfaces: z.ZodObject<{
|
|
6
8
|
page: z.ZodString;
|
|
7
9
|
header: z.ZodString;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
overlay: z.ZodString;
|
|
11
|
+
overlayBorder: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
panel: z.ZodObject<{
|
|
14
|
+
surface: z.ZodString;
|
|
15
|
+
border: z.ZodString;
|
|
16
|
+
header: z.ZodString;
|
|
17
|
+
title: z.ZodString;
|
|
11
18
|
}, z.core.$strip>;
|
|
12
19
|
typography: z.ZodObject<{
|
|
13
20
|
title: z.ZodString;
|
|
14
|
-
panelTitle: z.ZodString;
|
|
15
21
|
label: z.ZodString;
|
|
16
22
|
value: z.ZodString;
|
|
17
23
|
muted: z.ZodString;
|
|
18
|
-
link: z.ZodString
|
|
24
|
+
link: z.ZodOptional<z.ZodString>;
|
|
19
25
|
}, z.core.$strip>;
|
|
20
26
|
filters: z.ZodObject<{
|
|
21
27
|
background: z.ZodString;
|
|
@@ -31,6 +37,82 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
31
37
|
neutral: z.ZodString;
|
|
32
38
|
}, z.core.$strip>;
|
|
33
39
|
palette: z.ZodArray<z.ZodString>;
|
|
34
|
-
}, z.core.$strip
|
|
40
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
41
|
+
typography: {
|
|
42
|
+
link: string;
|
|
43
|
+
title: string;
|
|
44
|
+
label: string;
|
|
45
|
+
value: string;
|
|
46
|
+
muted: string;
|
|
47
|
+
};
|
|
48
|
+
name: string;
|
|
49
|
+
primary: string;
|
|
50
|
+
primaryHover: string;
|
|
51
|
+
surfaces: {
|
|
52
|
+
page: string;
|
|
53
|
+
header: string;
|
|
54
|
+
overlay: string;
|
|
55
|
+
overlayBorder: string;
|
|
56
|
+
};
|
|
57
|
+
panel: {
|
|
58
|
+
surface: string;
|
|
59
|
+
border: string;
|
|
60
|
+
header: string;
|
|
61
|
+
title: string;
|
|
62
|
+
};
|
|
63
|
+
filters: {
|
|
64
|
+
background: string;
|
|
65
|
+
border: string;
|
|
66
|
+
text: string;
|
|
67
|
+
placeholder: string;
|
|
68
|
+
focus: string;
|
|
69
|
+
};
|
|
70
|
+
status: {
|
|
71
|
+
positive: string;
|
|
72
|
+
negative: string;
|
|
73
|
+
warning: string;
|
|
74
|
+
neutral: string;
|
|
75
|
+
};
|
|
76
|
+
palette: string[];
|
|
77
|
+
description?: string | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
name: string;
|
|
80
|
+
primary: string;
|
|
81
|
+
primaryHover: string;
|
|
82
|
+
surfaces: {
|
|
83
|
+
page: string;
|
|
84
|
+
header: string;
|
|
85
|
+
overlay: string;
|
|
86
|
+
overlayBorder: string;
|
|
87
|
+
};
|
|
88
|
+
panel: {
|
|
89
|
+
surface: string;
|
|
90
|
+
border: string;
|
|
91
|
+
header: string;
|
|
92
|
+
title: string;
|
|
93
|
+
};
|
|
94
|
+
typography: {
|
|
95
|
+
title: string;
|
|
96
|
+
label: string;
|
|
97
|
+
value: string;
|
|
98
|
+
muted: string;
|
|
99
|
+
link?: string | undefined;
|
|
100
|
+
};
|
|
101
|
+
filters: {
|
|
102
|
+
background: string;
|
|
103
|
+
border: string;
|
|
104
|
+
text: string;
|
|
105
|
+
placeholder: string;
|
|
106
|
+
focus: string;
|
|
107
|
+
};
|
|
108
|
+
status: {
|
|
109
|
+
positive: string;
|
|
110
|
+
negative: string;
|
|
111
|
+
warning: string;
|
|
112
|
+
neutral: string;
|
|
113
|
+
};
|
|
114
|
+
palette: string[];
|
|
115
|
+
description?: string | undefined;
|
|
116
|
+
}>>;
|
|
35
117
|
export type Theme = z.infer<typeof themeSchema>;
|
|
36
118
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/schemas/theme.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/schemas/theme.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CnB,CAAC;AAEN,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
package/dist/schemas/theme.js
CHANGED
|
@@ -12,37 +12,53 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
import { z } from "zod";
|
|
15
|
-
|
|
15
|
+
const hexColor = z.string().regex(/^#[0-9a-fA-F]{3,8}$/, "Must be a hex color");
|
|
16
|
+
export const themeSchema = z
|
|
17
|
+
.object({
|
|
16
18
|
name: z.string(),
|
|
17
19
|
description: z.string().optional(),
|
|
20
|
+
primary: hexColor,
|
|
21
|
+
primaryHover: hexColor,
|
|
18
22
|
surfaces: z.object({
|
|
19
|
-
page:
|
|
20
|
-
header:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
panelHeader: z.string(),
|
|
23
|
+
page: hexColor,
|
|
24
|
+
header: hexColor,
|
|
25
|
+
overlay: hexColor,
|
|
26
|
+
overlayBorder: hexColor,
|
|
24
27
|
}),
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
panel: z.object({
|
|
29
|
+
surface: hexColor,
|
|
30
|
+
border: hexColor,
|
|
31
|
+
header: hexColor,
|
|
32
|
+
title: hexColor,
|
|
33
|
+
}),
|
|
34
|
+
typography: z
|
|
35
|
+
.object({
|
|
36
|
+
title: hexColor,
|
|
37
|
+
label: hexColor,
|
|
38
|
+
value: hexColor,
|
|
39
|
+
muted: hexColor,
|
|
40
|
+
link: hexColor.optional(),
|
|
32
41
|
}),
|
|
33
42
|
filters: z.object({
|
|
34
|
-
background:
|
|
35
|
-
border:
|
|
36
|
-
text:
|
|
37
|
-
placeholder:
|
|
38
|
-
focus:
|
|
43
|
+
background: hexColor,
|
|
44
|
+
border: hexColor,
|
|
45
|
+
text: hexColor,
|
|
46
|
+
placeholder: hexColor,
|
|
47
|
+
focus: hexColor,
|
|
39
48
|
}),
|
|
40
49
|
status: z.object({
|
|
41
|
-
positive:
|
|
42
|
-
negative:
|
|
43
|
-
warning:
|
|
44
|
-
neutral:
|
|
50
|
+
positive: hexColor,
|
|
51
|
+
negative: hexColor,
|
|
52
|
+
warning: hexColor,
|
|
53
|
+
neutral: hexColor,
|
|
45
54
|
}),
|
|
46
|
-
palette: z.array(
|
|
47
|
-
})
|
|
55
|
+
palette: z.array(hexColor),
|
|
56
|
+
})
|
|
57
|
+
.transform((theme) => ({
|
|
58
|
+
...theme,
|
|
59
|
+
typography: {
|
|
60
|
+
...theme.typography,
|
|
61
|
+
link: theme.typography.link ?? theme.primary,
|
|
62
|
+
},
|
|
63
|
+
}));
|
|
48
64
|
//# sourceMappingURL=theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/schemas/theme.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO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E,QAAQ;QACpB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,QAAQ;QACrB,KAAK,EAAE,QAAQ;KAChB,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,QAAQ;QAClB,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,QAAQ;QACjB,OAAO,EAAE,QAAQ;KAClB,CAAC;IACF,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;CAC3B,CAAC;KACD,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACrB,GAAG,KAAK;IACR,UAAU,EAAE;QACV,GAAG,KAAK,CAAC,UAAU;QACnB,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO;KAC7C;CACF,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
declare const thresholdStepSchema: z.ZodObject<{
|
|
3
|
+
value: z.ZodNumber;
|
|
4
|
+
color: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const thresholdConfigSchema: z.ZodObject<{
|
|
7
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
absolute: "absolute";
|
|
9
|
+
percentage: "percentage";
|
|
10
|
+
}>>;
|
|
11
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
12
|
+
value: z.ZodNumber;
|
|
13
|
+
color: z.ZodString;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type ThresholdConfig = z.infer<typeof thresholdConfigSchema>;
|
|
17
|
+
export type ThresholdStep = z.infer<typeof thresholdStepSchema>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=thresholds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thresholds.d.ts","sourceRoot":"","sources":["../../src/schemas/thresholds.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,mBAAmB;;;iBAGvB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;iBAWhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Copyright 2026 Mataki Labs LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Business Source License 1.1 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// https://github.com/panoboard/panoboard/blob/main/LICENSE
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { z } from "zod";
|
|
15
|
+
const thresholdStepSchema = z.object({
|
|
16
|
+
value: z.number(),
|
|
17
|
+
color: z.string(),
|
|
18
|
+
});
|
|
19
|
+
export const thresholdConfigSchema = z.object({
|
|
20
|
+
/**
|
|
21
|
+
* How threshold step values are interpreted:
|
|
22
|
+
* - `"absolute"` — step values are compared directly against the raw metric value.
|
|
23
|
+
* - `"percentage"` — step values represent percentages (0–100). The input value
|
|
24
|
+
* must already be pre-scaled to 0–100 by the caller; no automatic normalization
|
|
25
|
+
* is performed. For example, if the metric max is 200 and the current reading
|
|
26
|
+
* is 150, the caller should pass 75 (150/200*100), not 150.
|
|
27
|
+
*/
|
|
28
|
+
mode: z.enum(["absolute", "percentage"]).default("absolute"),
|
|
29
|
+
steps: z.array(thresholdStepSchema).min(1),
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=thresholds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thresholds.js","sourceRoot":"","sources":["../../src/schemas/thresholds.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C;;;;;;;OAOG;IACH,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC5D,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3C,CAAC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const transformSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"computed">;
|
|
4
|
+
field: z.ZodString;
|
|
5
|
+
expression: z.ZodString;
|
|
6
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7
|
+
type: z.ZodLiteral<"rename">;
|
|
8
|
+
from: z.ZodString;
|
|
9
|
+
to: z.ZodString;
|
|
10
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
+
type: z.ZodLiteral<"sort">;
|
|
12
|
+
field: z.ZodString;
|
|
13
|
+
order: z.ZodDefault<z.ZodEnum<{
|
|
14
|
+
asc: "asc";
|
|
15
|
+
desc: "desc";
|
|
16
|
+
}>>;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"limit">;
|
|
19
|
+
count: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
type: z.ZodLiteral<"percentage">;
|
|
22
|
+
field: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
type: z.ZodLiteral<"filter">;
|
|
25
|
+
where: z.ZodString;
|
|
26
|
+
}, z.core.$strip>], "type">;
|
|
27
|
+
export declare const transformPipelineSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28
|
+
type: z.ZodLiteral<"computed">;
|
|
29
|
+
field: z.ZodString;
|
|
30
|
+
expression: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
type: z.ZodLiteral<"rename">;
|
|
33
|
+
from: z.ZodString;
|
|
34
|
+
to: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
type: z.ZodLiteral<"sort">;
|
|
37
|
+
field: z.ZodString;
|
|
38
|
+
order: z.ZodDefault<z.ZodEnum<{
|
|
39
|
+
asc: "asc";
|
|
40
|
+
desc: "desc";
|
|
41
|
+
}>>;
|
|
42
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
+
type: z.ZodLiteral<"limit">;
|
|
44
|
+
count: z.ZodNumber;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
type: z.ZodLiteral<"percentage">;
|
|
47
|
+
field: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
type: z.ZodLiteral<"filter">;
|
|
50
|
+
where: z.ZodString;
|
|
51
|
+
}, z.core.$strip>], "type">>;
|
|
52
|
+
export type Transform = z.infer<typeof transformSchema>;
|
|
53
|
+
export type TransformPipeline = z.infer<typeof transformPipelineSchema>;
|
|
54
|
+
//# sourceMappingURL=transforms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../src/schemas/transforms.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmCxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;2BAO1B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;4BAA2B,CAAC;AAEhE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright 2026 Mataki Labs LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Business Source License 1.1 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// https://github.com/panoboard/panoboard/blob/main/LICENSE
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { z } from "zod";
|
|
15
|
+
const computedTransformSchema = z.object({
|
|
16
|
+
type: z.literal("computed"),
|
|
17
|
+
field: z.string(),
|
|
18
|
+
expression: z.string(),
|
|
19
|
+
});
|
|
20
|
+
const renameTransformSchema = z.object({
|
|
21
|
+
type: z.literal("rename"),
|
|
22
|
+
from: z.string(),
|
|
23
|
+
to: z.string(),
|
|
24
|
+
});
|
|
25
|
+
const sortTransformSchema = z.object({
|
|
26
|
+
type: z.literal("sort"),
|
|
27
|
+
field: z.string(),
|
|
28
|
+
order: z.enum(["asc", "desc"]).default("asc"),
|
|
29
|
+
});
|
|
30
|
+
const limitTransformSchema = z.object({
|
|
31
|
+
type: z.literal("limit"),
|
|
32
|
+
count: z.number().int().positive(),
|
|
33
|
+
});
|
|
34
|
+
const percentageTransformSchema = z.object({
|
|
35
|
+
type: z.literal("percentage"),
|
|
36
|
+
field: z.string(),
|
|
37
|
+
});
|
|
38
|
+
const filterTransformSchema = z.object({
|
|
39
|
+
type: z.literal("filter"),
|
|
40
|
+
where: z.string(),
|
|
41
|
+
});
|
|
42
|
+
export const transformSchema = z.discriminatedUnion("type", [
|
|
43
|
+
computedTransformSchema,
|
|
44
|
+
renameTransformSchema,
|
|
45
|
+
sortTransformSchema,
|
|
46
|
+
limitTransformSchema,
|
|
47
|
+
percentageTransformSchema,
|
|
48
|
+
filterTransformSchema,
|
|
49
|
+
]);
|
|
50
|
+
export const transformPipelineSchema = z.array(transformSchema);
|
|
51
|
+
//# sourceMappingURL=transforms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transforms.js","sourceRoot":"","sources":["../../src/schemas/transforms.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,CAAC,CAAC,OAA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vB,qBAAqB;IACrB,mBAAmB;IACnB,oBAAoB;IACpB,yBAAyB;IACzB,qBAAqB;CACtB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-lint.d.ts","sourceRoot":"","sources":["../../src/startup/sql-lint.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sql-lint.d.ts","sourceRoot":"","sources":["../../src/startup/sql-lint.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,YAAY;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,GACjC,YAAY,EAAE,CAgChB"}
|
package/dist/startup/sql-lint.js
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
* This is best-effort: not all dialect-specific SQL will parse correctly.
|
|
22
22
|
* Bind parameters (:name) are replaced with placeholder values before parsing.
|
|
23
23
|
*/
|
|
24
|
-
import
|
|
24
|
+
import nodeSqlParser from "node-sql-parser";
|
|
25
|
+
const { Parser } = nodeSqlParser;
|
|
25
26
|
import { renderTemplate } from "../query/template";
|
|
26
27
|
/**
|
|
27
28
|
* Lint all panel queries across all dashboards.
|
|
@@ -31,7 +32,7 @@ export function lintDashboardQueries(dashboards) {
|
|
|
31
32
|
const parser = new Parser();
|
|
32
33
|
const errors = [];
|
|
33
34
|
for (const [slug, dashboard] of dashboards) {
|
|
34
|
-
for (const panel of dashboard.panels) {
|
|
35
|
+
for (const panel of dashboard.panels ?? []) {
|
|
35
36
|
if (!("query" in panel) || !panel.query)
|
|
36
37
|
continue;
|
|
37
38
|
const query = panel.query;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sql-lint.js","sourceRoot":"","sources":["../../src/startup/sql-lint.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC;;;;;;;;;GASG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"sql-lint.js","sourceRoot":"","sources":["../../src/startup/sql-lint.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC;;;;;;;;;GASG;AAEH,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;AAEjC,OAAO,EAAE,cAAc,EAAoB,MAAM,mBAAmB,CAAC;AASrE;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAClC,UAAkC;IAElC,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;IAC5B,MAAM,MAAM,GAAmB,EAAE,CAAC;IAElC,KAAK,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,UAAU,EAAE,CAAC;QAC3C,KAAK,MAAM,KAAK,IAAI,SAAS,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC;YAC3C,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK;gBAAE,SAAS;YAClD,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;YAC1B,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,CAAC;QACH,OAAO,cAAc,CAAC,GAAG,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAAC,MAAM,CAAC;QACP,8CAA8C;QAC9C,OAAO,GAAG,CAAC;IACb,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAS,iBAAiB,CAAC,GAAW;IACpC,wDAAwD;IACxD,OAAO,GAAG,CAAC,OAAO,CAAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin.d.ts","sourceRoot":"","sources":["../../src/theme/builtin.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,eAAO,MAAM,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"builtin.d.ts","sourceRoot":"","sources":["../../src/theme/builtin.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,eAAO,MAAM,SAAS,EAAE,KAsCvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAsCxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAG/C,CAAC"}
|
package/dist/theme/builtin.js
CHANGED
|
@@ -13,87 +13,81 @@
|
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
export const darkTheme = {
|
|
15
15
|
name: "dark",
|
|
16
|
-
description: "The default theme. Cool slate surfaces with
|
|
16
|
+
description: "The default theme. Cool slate surfaces with violet accents create a focused, professional environment suited for operations centers and analytics dashboards.",
|
|
17
|
+
primary: "#8b5cf6",
|
|
18
|
+
primaryHover: "#a78bfa",
|
|
17
19
|
surfaces: {
|
|
18
|
-
page: "
|
|
19
|
-
header: "
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
page: "#0c0a1a",
|
|
21
|
+
header: "#0c0a1a",
|
|
22
|
+
overlay: "#1e293b",
|
|
23
|
+
overlayBorder: "#475569",
|
|
24
|
+
},
|
|
25
|
+
panel: {
|
|
26
|
+
surface: "#0f172a",
|
|
27
|
+
border: "#334155",
|
|
28
|
+
header: "#1e293b",
|
|
29
|
+
title: "#f1f5f9",
|
|
23
30
|
},
|
|
24
31
|
typography: {
|
|
25
|
-
title: "
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
link: "text-[#818cf8] hover:text-[#a5b4fc]",
|
|
32
|
+
title: "#f8fafc",
|
|
33
|
+
label: "#94a3b8",
|
|
34
|
+
value: "#ffffff",
|
|
35
|
+
muted: "#64748b",
|
|
36
|
+
link: "#8b5cf6",
|
|
31
37
|
},
|
|
32
38
|
filters: {
|
|
33
|
-
background: "
|
|
34
|
-
border: "
|
|
35
|
-
text: "
|
|
36
|
-
placeholder: "
|
|
37
|
-
focus: "
|
|
39
|
+
background: "#1e293b",
|
|
40
|
+
border: "#334155",
|
|
41
|
+
text: "#e2e8f0",
|
|
42
|
+
placeholder: "#64748b",
|
|
43
|
+
focus: "#6366f1",
|
|
38
44
|
},
|
|
39
45
|
status: {
|
|
40
|
-
positive: "
|
|
41
|
-
negative: "
|
|
42
|
-
warning: "
|
|
43
|
-
neutral: "
|
|
46
|
+
positive: "#34d399",
|
|
47
|
+
negative: "#f87171",
|
|
48
|
+
warning: "#f59e0b",
|
|
49
|
+
neutral: "#94a3b8",
|
|
44
50
|
},
|
|
45
|
-
palette: [
|
|
46
|
-
"#3b82f6",
|
|
47
|
-
"#10b981",
|
|
48
|
-
"#f59e0b",
|
|
49
|
-
"#ef4444",
|
|
50
|
-
"#8b5cf6",
|
|
51
|
-
"#06b6d4",
|
|
52
|
-
"#f97316",
|
|
53
|
-
"#ec4899",
|
|
54
|
-
],
|
|
51
|
+
palette: ["#3b82f6", "#10b981", "#f59e0b", "#ef4444", "#8b5cf6", "#06b6d4", "#f97316", "#ec4899"],
|
|
55
52
|
};
|
|
56
53
|
export const lightTheme = {
|
|
57
54
|
name: "light",
|
|
58
|
-
description: "A clean, professional light theme with white surfaces and
|
|
55
|
+
description: "A clean, professional light theme with white surfaces and violet accents. Ideal for bright environments, embedded product dashboards, and printed reports.",
|
|
56
|
+
primary: "#7c3aed",
|
|
57
|
+
primaryHover: "#8b5cf6",
|
|
59
58
|
surfaces: {
|
|
60
|
-
page: "
|
|
61
|
-
header: "
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
page: "#ffffff",
|
|
60
|
+
header: "#ffffff",
|
|
61
|
+
overlay: "#f8fafc",
|
|
62
|
+
overlayBorder: "#e2e8f0",
|
|
63
|
+
},
|
|
64
|
+
panel: {
|
|
65
|
+
surface: "#f9fafb",
|
|
66
|
+
border: "#e5e7eb",
|
|
67
|
+
header: "#f3f4f6",
|
|
68
|
+
title: "#1f2937",
|
|
65
69
|
},
|
|
66
70
|
typography: {
|
|
67
|
-
title: "
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
link: "text-[#4f46e5] hover:text-[#6366f1]",
|
|
71
|
+
title: "#111827",
|
|
72
|
+
label: "#6b7280",
|
|
73
|
+
value: "#111827",
|
|
74
|
+
muted: "#9ca3af",
|
|
75
|
+
link: "#7c3aed",
|
|
73
76
|
},
|
|
74
77
|
filters: {
|
|
75
|
-
background: "
|
|
76
|
-
border: "
|
|
77
|
-
text: "
|
|
78
|
-
placeholder: "
|
|
79
|
-
focus: "
|
|
78
|
+
background: "#ffffff",
|
|
79
|
+
border: "#d1d5db",
|
|
80
|
+
text: "#111827",
|
|
81
|
+
placeholder: "#9ca3af",
|
|
82
|
+
focus: "#7c3aed",
|
|
80
83
|
},
|
|
81
84
|
status: {
|
|
82
|
-
positive: "
|
|
83
|
-
negative: "
|
|
84
|
-
warning: "
|
|
85
|
-
neutral: "
|
|
85
|
+
positive: "#059669",
|
|
86
|
+
negative: "#dc2626",
|
|
87
|
+
warning: "#d97706",
|
|
88
|
+
neutral: "#6b7280",
|
|
86
89
|
},
|
|
87
|
-
palette: [
|
|
88
|
-
"#4f46e5",
|
|
89
|
-
"#6366f1",
|
|
90
|
-
"#818cf8",
|
|
91
|
-
"#0ea5e9",
|
|
92
|
-
"#10b981",
|
|
93
|
-
"#f59e0b",
|
|
94
|
-
"#ef4444",
|
|
95
|
-
"#a855f7",
|
|
96
|
-
],
|
|
90
|
+
palette: ["#4f46e5", "#6366f1", "#818cf8", "#0ea5e9", "#10b981", "#f59e0b", "#ef4444", "#a855f7"],
|
|
97
91
|
};
|
|
98
92
|
export const builtinThemes = {
|
|
99
93
|
dark: darkTheme,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtin.js","sourceRoot":"","sources":["../../src/theme/builtin.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAIjC,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,MAAM;IACZ,WAAW,
|
|
1
|
+
{"version":3,"file":"builtin.js","sourceRoot":"","sources":["../../src/theme/builtin.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,+DAA+D;AAC/D,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAIjC,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,+JAA+J;IAC5K,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,SAAS;IACvB,QAAQ,EAAE;QACR,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;QAC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