react-semaphor 0.1.155 → 0.1.157

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.
Files changed (29) hide show
  1. package/dist/chunks/{dashboard-controls-BpT2gSop.js → dashboard-controls-BpbnqcaS.js} +1 -1
  2. package/dist/chunks/{dashboard-controls-Cb4ZvOZ4.js → dashboard-controls-CfM0BkY5.js} +3 -3
  3. package/dist/chunks/{dashboard-export-dialog-EIQ-zdsI.js → dashboard-export-dialog-Dg_kM6iN.js} +3 -3
  4. package/dist/chunks/{dashboard-export-dialog-CnmpqTA0.js → dashboard-export-dialog-Rbp7rDQZ.js} +1 -1
  5. package/dist/chunks/{dashboard-json-CWJEfWd8.js → dashboard-json-DFUDOJf9.js} +1 -1
  6. package/dist/chunks/{dashboard-json-BYB2GwFM.js → dashboard-json-KLtaCO4f.js} +1 -1
  7. package/dist/chunks/{edit-dashboard-visual-DSDRbBJJ.js → edit-dashboard-visual-CUeH83pq.js} +9582 -8848
  8. package/dist/chunks/edit-dashboard-visual-CqAgPGiY.js +195 -0
  9. package/dist/chunks/{editor-action-buttons-B9Phr9Iy.js → editor-action-buttons-By71qw8b.js} +1 -1
  10. package/dist/chunks/{editor-action-buttons-DxP58AwT.js → editor-action-buttons-DWvs5I5z.js} +2 -2
  11. package/dist/chunks/{index-DwfZZLTB.js → index-CzfaD6ew.js} +225 -225
  12. package/dist/chunks/{index-DI-IV3fP.js → index-DAXmNf8B.js} +19912 -19543
  13. package/dist/chunks/{resource-management-panel-svBEDFkY.js → resource-management-panel-BPJiHybo.js} +1 -1
  14. package/dist/chunks/{resource-management-panel-H01CicsS.js → resource-management-panel-BlFaPMk6.js} +2 -2
  15. package/dist/chunks/{use-visual-utils-Ks4oTEib.js → use-visual-utils-C5P5p8dk.js} +1 -1
  16. package/dist/chunks/{use-visual-utils-ChJrWyUp.js → use-visual-utils-DH-9EOYM.js} +1 -1
  17. package/dist/dashboard/index.cjs +1 -1
  18. package/dist/dashboard/index.js +1 -1
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.js +4 -4
  21. package/dist/style.css +1 -1
  22. package/dist/surfboard/index.cjs +1 -1
  23. package/dist/surfboard/index.js +1 -1
  24. package/dist/types/dashboard.d.ts +43 -1
  25. package/dist/types/main.d.ts +43 -1
  26. package/dist/types/surfboard.d.ts +43 -1
  27. package/dist/types/types.d.ts +43 -1
  28. package/package.json +1 -1
  29. package/dist/chunks/edit-dashboard-visual-BsEufqv1.js +0 -190
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DwfZZLTB.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-CzfaD6ew.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { a } from "../chunks/index-DI-IV3fP.js";
1
+ import { a } from "../chunks/index-DAXmNf8B.js";
2
2
  import { EMPTY_SELECTION as E } from "../types/index.js";
3
3
  export {
4
4
  E as EMPTY_SELECTION,
@@ -1107,6 +1107,18 @@ declare type TablePreferences = {
1107
1107
  forceClientPagination?: boolean;
1108
1108
  };
1109
1109
 
1110
+ /** Global bar style configuration */
1111
+ export declare type TBarStyleConfig = {
1112
+ /** Default border radius for all bars - 0-20 pixels */
1113
+ borderRadius?: number;
1114
+ /** Default border width for all bars - 0-5 pixels */
1115
+ borderWidth?: number;
1116
+ /** Default bar width as percentage of category width (0.1-1.0) */
1117
+ barPercentage?: number;
1118
+ /** Default category width as percentage of available space (0.1-1.0) */
1119
+ categoryPercentage?: number;
1120
+ };
1121
+
1110
1122
  export declare type TBaseQuery = {
1111
1123
  id: string;
1112
1124
  name: string;
@@ -1285,6 +1297,14 @@ export declare type TCardPreferences = {
1285
1297
  heatmapConfig?: THeatmapConfig;
1286
1298
  bubbleScatterConfig?: TBubbleScatterConfig;
1287
1299
  funnelConfig?: TFunnelConfig;
1300
+ /** Global line/point style defaults for line and area charts */
1301
+ lineStyleConfig?: {
1302
+ lineStyle?: TLineStyle;
1303
+ pointRadius?: number;
1304
+ pointStyle?: TPointStyle;
1305
+ };
1306
+ /** Global bar style defaults for bar charts */
1307
+ barStyleConfig?: TBarStyleConfig;
1288
1308
  tablePrefs?: TablePreferences;
1289
1309
  allowDownload?: boolean;
1290
1310
  customVisualCode?: string;
@@ -1379,7 +1399,7 @@ export declare type TChartOptions = {
1379
1399
  treemapColorMode?: 'branch' | 'category';
1380
1400
  };
1381
1401
 
1382
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1402
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'area' | 'stackedArea' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1383
1403
 
1384
1404
  export declare type TColumnSetting<T extends DisplayDataType> = {
1385
1405
  columnIdx: number;
@@ -1472,6 +1492,22 @@ export declare type TDatasetOptions = {
1472
1492
  yAxisId?: 'y' | 'y2';
1473
1493
  /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
1474
1494
  dataLabels?: TDataLabelsConfig;
1495
+ /** Point radius (size) for line/area charts - 0 hides points */
1496
+ pointRadius?: number;
1497
+ /** Point shape style for line/area charts */
1498
+ pointStyle?: TPointStyle;
1499
+ /** Point radius on hover - defaults to pointRadius + 2 */
1500
+ pointHoverRadius?: number;
1501
+ /** Line dash style for line/area charts */
1502
+ lineStyle?: TLineStyle;
1503
+ /** Border radius (rounded corners) for bar charts - 0-20 pixels */
1504
+ borderRadius?: number;
1505
+ /** Border width for bar charts - 0-5 pixels */
1506
+ barBorderWidth?: number;
1507
+ /** Bar width as percentage of category width (0.1-1.0) */
1508
+ barPercentage?: number;
1509
+ /** Category width as percentage of available space (0.1-1.0) */
1510
+ categoryPercentage?: number;
1475
1511
  /** @deprecated Use dataLabels instead */
1476
1512
  datalabels?: {
1477
1513
  display?: boolean;
@@ -1664,6 +1700,12 @@ export declare type TLens = {
1664
1700
  shared?: boolean;
1665
1701
  };
1666
1702
 
1703
+ /** Line dash style options */
1704
+ export declare type TLineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot';
1705
+
1706
+ /** Point style options supported by Chart.js */
1707
+ export declare type TPointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle';
1708
+
1667
1709
  export declare type TSheet = {
1668
1710
  id: string;
1669
1711
  title?: string;
@@ -2102,6 +2102,18 @@ declare type TablePreferences = {
2102
2102
  forceClientPagination?: boolean;
2103
2103
  };
2104
2104
 
2105
+ /** Global bar style configuration */
2106
+ export declare type TBarStyleConfig = {
2107
+ /** Default border radius for all bars - 0-20 pixels */
2108
+ borderRadius?: number;
2109
+ /** Default border width for all bars - 0-5 pixels */
2110
+ borderWidth?: number;
2111
+ /** Default bar width as percentage of category width (0.1-1.0) */
2112
+ barPercentage?: number;
2113
+ /** Default category width as percentage of available space (0.1-1.0) */
2114
+ categoryPercentage?: number;
2115
+ };
2116
+
2105
2117
  export declare type TBaseQuery = {
2106
2118
  id: string;
2107
2119
  name: string;
@@ -2280,6 +2292,14 @@ export declare type TCardPreferences = {
2280
2292
  heatmapConfig?: THeatmapConfig;
2281
2293
  bubbleScatterConfig?: TBubbleScatterConfig;
2282
2294
  funnelConfig?: TFunnelConfig;
2295
+ /** Global line/point style defaults for line and area charts */
2296
+ lineStyleConfig?: {
2297
+ lineStyle?: TLineStyle;
2298
+ pointRadius?: number;
2299
+ pointStyle?: TPointStyle;
2300
+ };
2301
+ /** Global bar style defaults for bar charts */
2302
+ barStyleConfig?: TBarStyleConfig;
2283
2303
  tablePrefs?: TablePreferences;
2284
2304
  allowDownload?: boolean;
2285
2305
  customVisualCode?: string;
@@ -2376,7 +2396,7 @@ export declare type TChartOptions = {
2376
2396
  treemapColorMode?: 'branch' | 'category';
2377
2397
  };
2378
2398
 
2379
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
2399
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'area' | 'stackedArea' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
2380
2400
 
2381
2401
  export declare type TColumnSetting<T extends DisplayDataType> = {
2382
2402
  columnIdx: number;
@@ -2469,6 +2489,22 @@ export declare type TDatasetOptions = {
2469
2489
  yAxisId?: 'y' | 'y2';
2470
2490
  /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
2471
2491
  dataLabels?: TDataLabelsConfig;
2492
+ /** Point radius (size) for line/area charts - 0 hides points */
2493
+ pointRadius?: number;
2494
+ /** Point shape style for line/area charts */
2495
+ pointStyle?: TPointStyle;
2496
+ /** Point radius on hover - defaults to pointRadius + 2 */
2497
+ pointHoverRadius?: number;
2498
+ /** Line dash style for line/area charts */
2499
+ lineStyle?: TLineStyle;
2500
+ /** Border radius (rounded corners) for bar charts - 0-20 pixels */
2501
+ borderRadius?: number;
2502
+ /** Border width for bar charts - 0-5 pixels */
2503
+ barBorderWidth?: number;
2504
+ /** Bar width as percentage of category width (0.1-1.0) */
2505
+ barPercentage?: number;
2506
+ /** Category width as percentage of available space (0.1-1.0) */
2507
+ categoryPercentage?: number;
2472
2508
  /** @deprecated Use dataLabels instead */
2473
2509
  datalabels?: {
2474
2510
  display?: boolean;
@@ -2667,6 +2703,9 @@ export declare type TLens = {
2667
2703
  shared?: boolean;
2668
2704
  };
2669
2705
 
2706
+ /** Line dash style options */
2707
+ export declare type TLineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot';
2708
+
2670
2709
  /**
2671
2710
  * Parameters for customizing token behavior and formatting.
2672
2711
  */
@@ -2879,6 +2918,9 @@ export declare type TokenSecurityPolicy = {
2879
2918
  };
2880
2919
  };
2881
2920
 
2921
+ /** Point style options supported by Chart.js */
2922
+ export declare type TPointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle';
2923
+
2882
2924
  export declare type TSelectedRecord = ComboBoxOption;
2883
2925
 
2884
2926
  export declare type TSheet = {
@@ -1112,6 +1112,18 @@ declare type TablePreferences = {
1112
1112
  forceClientPagination?: boolean;
1113
1113
  };
1114
1114
 
1115
+ /** Global bar style configuration */
1116
+ export declare type TBarStyleConfig = {
1117
+ /** Default border radius for all bars - 0-20 pixels */
1118
+ borderRadius?: number;
1119
+ /** Default border width for all bars - 0-5 pixels */
1120
+ borderWidth?: number;
1121
+ /** Default bar width as percentage of category width (0.1-1.0) */
1122
+ barPercentage?: number;
1123
+ /** Default category width as percentage of available space (0.1-1.0) */
1124
+ categoryPercentage?: number;
1125
+ };
1126
+
1115
1127
  export declare type TBaseQuery = {
1116
1128
  id: string;
1117
1129
  name: string;
@@ -1290,6 +1302,14 @@ export declare type TCardPreferences = {
1290
1302
  heatmapConfig?: THeatmapConfig;
1291
1303
  bubbleScatterConfig?: TBubbleScatterConfig;
1292
1304
  funnelConfig?: TFunnelConfig;
1305
+ /** Global line/point style defaults for line and area charts */
1306
+ lineStyleConfig?: {
1307
+ lineStyle?: TLineStyle;
1308
+ pointRadius?: number;
1309
+ pointStyle?: TPointStyle;
1310
+ };
1311
+ /** Global bar style defaults for bar charts */
1312
+ barStyleConfig?: TBarStyleConfig;
1293
1313
  tablePrefs?: TablePreferences;
1294
1314
  allowDownload?: boolean;
1295
1315
  customVisualCode?: string;
@@ -1384,7 +1404,7 @@ export declare type TChartOptions = {
1384
1404
  treemapColorMode?: 'branch' | 'category';
1385
1405
  };
1386
1406
 
1387
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1407
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'area' | 'stackedArea' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1388
1408
 
1389
1409
  export declare type TColumnSetting<T extends DisplayDataType> = {
1390
1410
  columnIdx: number;
@@ -1477,6 +1497,22 @@ export declare type TDatasetOptions = {
1477
1497
  yAxisId?: 'y' | 'y2';
1478
1498
  /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
1479
1499
  dataLabels?: TDataLabelsConfig;
1500
+ /** Point radius (size) for line/area charts - 0 hides points */
1501
+ pointRadius?: number;
1502
+ /** Point shape style for line/area charts */
1503
+ pointStyle?: TPointStyle;
1504
+ /** Point radius on hover - defaults to pointRadius + 2 */
1505
+ pointHoverRadius?: number;
1506
+ /** Line dash style for line/area charts */
1507
+ lineStyle?: TLineStyle;
1508
+ /** Border radius (rounded corners) for bar charts - 0-20 pixels */
1509
+ borderRadius?: number;
1510
+ /** Border width for bar charts - 0-5 pixels */
1511
+ barBorderWidth?: number;
1512
+ /** Bar width as percentage of category width (0.1-1.0) */
1513
+ barPercentage?: number;
1514
+ /** Category width as percentage of available space (0.1-1.0) */
1515
+ categoryPercentage?: number;
1480
1516
  /** @deprecated Use dataLabels instead */
1481
1517
  datalabels?: {
1482
1518
  display?: boolean;
@@ -1669,6 +1705,12 @@ export declare type TLens = {
1669
1705
  shared?: boolean;
1670
1706
  };
1671
1707
 
1708
+ /** Line dash style options */
1709
+ export declare type TLineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot';
1710
+
1711
+ /** Point style options supported by Chart.js */
1712
+ export declare type TPointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle';
1713
+
1672
1714
  export declare type TSheet = {
1673
1715
  id: string;
1674
1716
  title?: string;
@@ -1104,6 +1104,18 @@ declare type TablePreferences = {
1104
1104
  forceClientPagination?: boolean;
1105
1105
  };
1106
1106
 
1107
+ /** Global bar style configuration */
1108
+ export declare type TBarStyleConfig = {
1109
+ /** Default border radius for all bars - 0-20 pixels */
1110
+ borderRadius?: number;
1111
+ /** Default border width for all bars - 0-5 pixels */
1112
+ borderWidth?: number;
1113
+ /** Default bar width as percentage of category width (0.1-1.0) */
1114
+ barPercentage?: number;
1115
+ /** Default category width as percentage of available space (0.1-1.0) */
1116
+ categoryPercentage?: number;
1117
+ };
1118
+
1107
1119
  export declare type TBaseQuery = {
1108
1120
  id: string;
1109
1121
  name: string;
@@ -1282,6 +1294,14 @@ export declare type TCardPreferences = {
1282
1294
  heatmapConfig?: THeatmapConfig;
1283
1295
  bubbleScatterConfig?: TBubbleScatterConfig;
1284
1296
  funnelConfig?: TFunnelConfig;
1297
+ /** Global line/point style defaults for line and area charts */
1298
+ lineStyleConfig?: {
1299
+ lineStyle?: TLineStyle;
1300
+ pointRadius?: number;
1301
+ pointStyle?: TPointStyle;
1302
+ };
1303
+ /** Global bar style defaults for bar charts */
1304
+ barStyleConfig?: TBarStyleConfig;
1285
1305
  tablePrefs?: TablePreferences;
1286
1306
  allowDownload?: boolean;
1287
1307
  customVisualCode?: string;
@@ -1376,7 +1396,7 @@ export declare type TChartOptions = {
1376
1396
  treemapColorMode?: 'branch' | 'category';
1377
1397
  };
1378
1398
 
1379
- declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1399
+ declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'area' | 'stackedArea' | 'combo' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'stackedLine' | 'table' | 'pivotTable' | 'aggregateTable' | 'tableBuilder' | 'kpi' | 'pyramid' | 'tornado' | 'range' | 'text' | 'map' | 'funnel' | 'bullet' | 'heatmap' | 'treemap' | 'custom';
1380
1400
 
1381
1401
  export declare type TColumnSetting<T extends DisplayDataType> = {
1382
1402
  columnIdx: number;
@@ -1469,6 +1489,22 @@ export declare type TDatasetOptions = {
1469
1489
  yAxisId?: 'y' | 'y2';
1470
1490
  /** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
1471
1491
  dataLabels?: TDataLabelsConfig;
1492
+ /** Point radius (size) for line/area charts - 0 hides points */
1493
+ pointRadius?: number;
1494
+ /** Point shape style for line/area charts */
1495
+ pointStyle?: TPointStyle;
1496
+ /** Point radius on hover - defaults to pointRadius + 2 */
1497
+ pointHoverRadius?: number;
1498
+ /** Line dash style for line/area charts */
1499
+ lineStyle?: TLineStyle;
1500
+ /** Border radius (rounded corners) for bar charts - 0-20 pixels */
1501
+ borderRadius?: number;
1502
+ /** Border width for bar charts - 0-5 pixels */
1503
+ barBorderWidth?: number;
1504
+ /** Bar width as percentage of category width (0.1-1.0) */
1505
+ barPercentage?: number;
1506
+ /** Category width as percentage of available space (0.1-1.0) */
1507
+ categoryPercentage?: number;
1472
1508
  /** @deprecated Use dataLabels instead */
1473
1509
  datalabels?: {
1474
1510
  display?: boolean;
@@ -1661,6 +1697,12 @@ export declare type TLens = {
1661
1697
  shared?: boolean;
1662
1698
  };
1663
1699
 
1700
+ /** Line dash style options */
1701
+ export declare type TLineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot';
1702
+
1703
+ /** Point style options supported by Chart.js */
1704
+ export declare type TPointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle';
1705
+
1664
1706
  export declare type TSheet = {
1665
1707
  id: string;
1666
1708
  title?: string;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.155",
8
+ "version": "0.1.157",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",