react-semaphor 0.1.154 → 0.1.156
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/chunks/{dashboard-controls-CfwJmqIk.js → dashboard-controls-Clm2GcxX.js} +1 -1
- package/dist/chunks/{dashboard-controls-BQN37S-Z.js → dashboard-controls-DXSsN2_k.js} +3 -3
- package/dist/chunks/{dashboard-export-dialog-Bk40DbBa.js → dashboard-export-dialog-CUhiiOCR.js} +3 -3
- package/dist/chunks/{dashboard-export-dialog-CleOul_2.js → dashboard-export-dialog-DwfP0g9l.js} +1 -1
- package/dist/chunks/{dashboard-json-DoH7BzSp.js → dashboard-json-BtbQ-MVO.js} +1 -1
- package/dist/chunks/{dashboard-json-DvDujj0u.js → dashboard-json-_LnU8Rxq.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-6Dbv7mp-.js → edit-dashboard-visual-CV7VBGw2.js} +9147 -7861
- package/dist/chunks/edit-dashboard-visual-DHHn6fRK.js +195 -0
- package/dist/chunks/{editor-action-buttons-D7XJarSH.js → editor-action-buttons-CBebX9XC.js} +1 -1
- package/dist/chunks/{editor-action-buttons-B9rrfO6d.js → editor-action-buttons-CiH4UMGY.js} +2 -2
- package/dist/chunks/{index-B57nSymH.js → index-BSYIyWCb.js} +19820 -19136
- package/dist/chunks/{index-4FLL7B4z.js → index-d_rBmGge.js} +226 -226
- package/dist/chunks/{resource-management-panel-DdtlZ9Cm.js → resource-management-panel-CLsxcpgo.js} +1 -1
- package/dist/chunks/{resource-management-panel-DJ7ZIbbt.js → resource-management-panel-CmVNvmIl.js} +2 -2
- package/dist/chunks/{use-visual-utils-CuGAdqrL.js → use-visual-utils-BAX5FL2F.js} +1 -1
- package/dist/chunks/{use-visual-utils-BX99ssnb.js → use-visual-utils-DlJJtCer.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +53 -1
- package/dist/types/main.d.ts +53 -1
- package/dist/types/surfboard.d.ts +53 -1
- package/dist/types/types.d.ts +53 -1
- package/package.json +1 -1
- package/dist/chunks/edit-dashboard-visual-DHRzXa1_.js +0 -190
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-d_rBmGge.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -34,6 +34,10 @@ export declare type AxisConfig = {
|
|
|
34
34
|
name?: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
text?: string;
|
|
37
|
+
/** Font size for the axis title */
|
|
38
|
+
fontSize?: number;
|
|
39
|
+
/** Font weight for the axis title */
|
|
40
|
+
fontWeight?: 'normal' | 'bold';
|
|
37
41
|
};
|
|
38
42
|
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
39
43
|
labels?: {
|
|
@@ -1103,6 +1107,18 @@ declare type TablePreferences = {
|
|
|
1103
1107
|
forceClientPagination?: boolean;
|
|
1104
1108
|
};
|
|
1105
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
|
+
|
|
1106
1122
|
export declare type TBaseQuery = {
|
|
1107
1123
|
id: string;
|
|
1108
1124
|
name: string;
|
|
@@ -1275,11 +1291,20 @@ export declare type TCardPreferences = {
|
|
|
1275
1291
|
colorConfig?: ColorConfig;
|
|
1276
1292
|
xAxisConfig?: AxisConfig;
|
|
1277
1293
|
yAxisConfig?: AxisConfig;
|
|
1294
|
+
secondaryYAxisConfig?: AxisConfig;
|
|
1278
1295
|
dataLabelsConfig?: TDataLabelsConfig;
|
|
1279
1296
|
bulletConfig?: TBulletConfig;
|
|
1280
1297
|
heatmapConfig?: THeatmapConfig;
|
|
1281
1298
|
bubbleScatterConfig?: TBubbleScatterConfig;
|
|
1282
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;
|
|
1283
1308
|
tablePrefs?: TablePreferences;
|
|
1284
1309
|
allowDownload?: boolean;
|
|
1285
1310
|
customVisualCode?: string;
|
|
@@ -1374,7 +1399,7 @@ export declare type TChartOptions = {
|
|
|
1374
1399
|
treemapColorMode?: 'branch' | 'category';
|
|
1375
1400
|
};
|
|
1376
1401
|
|
|
1377
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | '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';
|
|
1378
1403
|
|
|
1379
1404
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
1380
1405
|
columnIdx: number;
|
|
@@ -1463,6 +1488,27 @@ export declare type TDatasetOptions = {
|
|
|
1463
1488
|
idx: number;
|
|
1464
1489
|
type?: 'bar' | 'line';
|
|
1465
1490
|
fill?: string | number;
|
|
1491
|
+
/** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
|
|
1492
|
+
yAxisId?: 'y' | 'y2';
|
|
1493
|
+
/** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
|
|
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;
|
|
1511
|
+
/** @deprecated Use dataLabels instead */
|
|
1466
1512
|
datalabels?: {
|
|
1467
1513
|
display?: boolean;
|
|
1468
1514
|
align?: string;
|
|
@@ -1654,6 +1700,12 @@ export declare type TLens = {
|
|
|
1654
1700
|
shared?: boolean;
|
|
1655
1701
|
};
|
|
1656
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
|
+
|
|
1657
1709
|
export declare type TSheet = {
|
|
1658
1710
|
id: string;
|
|
1659
1711
|
title?: string;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -284,6 +284,10 @@ export declare type AxisConfig = {
|
|
|
284
284
|
name?: {
|
|
285
285
|
enabled: boolean;
|
|
286
286
|
text?: string;
|
|
287
|
+
/** Font size for the axis title */
|
|
288
|
+
fontSize?: number;
|
|
289
|
+
/** Font weight for the axis title */
|
|
290
|
+
fontWeight?: 'normal' | 'bold';
|
|
287
291
|
};
|
|
288
292
|
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
289
293
|
labels?: {
|
|
@@ -2098,6 +2102,18 @@ declare type TablePreferences = {
|
|
|
2098
2102
|
forceClientPagination?: boolean;
|
|
2099
2103
|
};
|
|
2100
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
|
+
|
|
2101
2117
|
export declare type TBaseQuery = {
|
|
2102
2118
|
id: string;
|
|
2103
2119
|
name: string;
|
|
@@ -2270,11 +2286,20 @@ export declare type TCardPreferences = {
|
|
|
2270
2286
|
colorConfig?: ColorConfig;
|
|
2271
2287
|
xAxisConfig?: AxisConfig;
|
|
2272
2288
|
yAxisConfig?: AxisConfig;
|
|
2289
|
+
secondaryYAxisConfig?: AxisConfig;
|
|
2273
2290
|
dataLabelsConfig?: TDataLabelsConfig;
|
|
2274
2291
|
bulletConfig?: TBulletConfig;
|
|
2275
2292
|
heatmapConfig?: THeatmapConfig;
|
|
2276
2293
|
bubbleScatterConfig?: TBubbleScatterConfig;
|
|
2277
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;
|
|
2278
2303
|
tablePrefs?: TablePreferences;
|
|
2279
2304
|
allowDownload?: boolean;
|
|
2280
2305
|
customVisualCode?: string;
|
|
@@ -2371,7 +2396,7 @@ export declare type TChartOptions = {
|
|
|
2371
2396
|
treemapColorMode?: 'branch' | 'category';
|
|
2372
2397
|
};
|
|
2373
2398
|
|
|
2374
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | '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';
|
|
2375
2400
|
|
|
2376
2401
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
2377
2402
|
columnIdx: number;
|
|
@@ -2460,6 +2485,27 @@ export declare type TDatasetOptions = {
|
|
|
2460
2485
|
idx: number;
|
|
2461
2486
|
type?: 'bar' | 'line';
|
|
2462
2487
|
fill?: string | number;
|
|
2488
|
+
/** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
|
|
2489
|
+
yAxisId?: 'y' | 'y2';
|
|
2490
|
+
/** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
|
|
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;
|
|
2508
|
+
/** @deprecated Use dataLabels instead */
|
|
2463
2509
|
datalabels?: {
|
|
2464
2510
|
display?: boolean;
|
|
2465
2511
|
align?: string;
|
|
@@ -2657,6 +2703,9 @@ export declare type TLens = {
|
|
|
2657
2703
|
shared?: boolean;
|
|
2658
2704
|
};
|
|
2659
2705
|
|
|
2706
|
+
/** Line dash style options */
|
|
2707
|
+
export declare type TLineStyle = 'solid' | 'dashed' | 'dotted' | 'dash-dot';
|
|
2708
|
+
|
|
2660
2709
|
/**
|
|
2661
2710
|
* Parameters for customizing token behavior and formatting.
|
|
2662
2711
|
*/
|
|
@@ -2869,6 +2918,9 @@ export declare type TokenSecurityPolicy = {
|
|
|
2869
2918
|
};
|
|
2870
2919
|
};
|
|
2871
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
|
+
|
|
2872
2924
|
export declare type TSelectedRecord = ComboBoxOption;
|
|
2873
2925
|
|
|
2874
2926
|
export declare type TSheet = {
|
|
@@ -34,6 +34,10 @@ export declare type AxisConfig = {
|
|
|
34
34
|
name?: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
text?: string;
|
|
37
|
+
/** Font size for the axis title */
|
|
38
|
+
fontSize?: number;
|
|
39
|
+
/** Font weight for the axis title */
|
|
40
|
+
fontWeight?: 'normal' | 'bold';
|
|
37
41
|
};
|
|
38
42
|
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
39
43
|
labels?: {
|
|
@@ -1108,6 +1112,18 @@ declare type TablePreferences = {
|
|
|
1108
1112
|
forceClientPagination?: boolean;
|
|
1109
1113
|
};
|
|
1110
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
|
+
|
|
1111
1127
|
export declare type TBaseQuery = {
|
|
1112
1128
|
id: string;
|
|
1113
1129
|
name: string;
|
|
@@ -1280,11 +1296,20 @@ export declare type TCardPreferences = {
|
|
|
1280
1296
|
colorConfig?: ColorConfig;
|
|
1281
1297
|
xAxisConfig?: AxisConfig;
|
|
1282
1298
|
yAxisConfig?: AxisConfig;
|
|
1299
|
+
secondaryYAxisConfig?: AxisConfig;
|
|
1283
1300
|
dataLabelsConfig?: TDataLabelsConfig;
|
|
1284
1301
|
bulletConfig?: TBulletConfig;
|
|
1285
1302
|
heatmapConfig?: THeatmapConfig;
|
|
1286
1303
|
bubbleScatterConfig?: TBubbleScatterConfig;
|
|
1287
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;
|
|
1288
1313
|
tablePrefs?: TablePreferences;
|
|
1289
1314
|
allowDownload?: boolean;
|
|
1290
1315
|
customVisualCode?: string;
|
|
@@ -1379,7 +1404,7 @@ export declare type TChartOptions = {
|
|
|
1379
1404
|
treemapColorMode?: 'branch' | 'category';
|
|
1380
1405
|
};
|
|
1381
1406
|
|
|
1382
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | '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';
|
|
1383
1408
|
|
|
1384
1409
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
1385
1410
|
columnIdx: number;
|
|
@@ -1468,6 +1493,27 @@ export declare type TDatasetOptions = {
|
|
|
1468
1493
|
idx: number;
|
|
1469
1494
|
type?: 'bar' | 'line';
|
|
1470
1495
|
fill?: string | number;
|
|
1496
|
+
/** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
|
|
1497
|
+
yAxisId?: 'y' | 'y2';
|
|
1498
|
+
/** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
|
|
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;
|
|
1516
|
+
/** @deprecated Use dataLabels instead */
|
|
1471
1517
|
datalabels?: {
|
|
1472
1518
|
display?: boolean;
|
|
1473
1519
|
align?: string;
|
|
@@ -1659,6 +1705,12 @@ export declare type TLens = {
|
|
|
1659
1705
|
shared?: boolean;
|
|
1660
1706
|
};
|
|
1661
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
|
+
|
|
1662
1714
|
export declare type TSheet = {
|
|
1663
1715
|
id: string;
|
|
1664
1716
|
title?: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export declare type AxisConfig = {
|
|
|
33
33
|
name?: {
|
|
34
34
|
enabled: boolean;
|
|
35
35
|
text?: string;
|
|
36
|
+
/** Font size for the axis title */
|
|
37
|
+
fontSize?: number;
|
|
38
|
+
/** Font weight for the axis title */
|
|
39
|
+
fontWeight?: 'normal' | 'bold';
|
|
36
40
|
};
|
|
37
41
|
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
38
42
|
labels?: {
|
|
@@ -1100,6 +1104,18 @@ declare type TablePreferences = {
|
|
|
1100
1104
|
forceClientPagination?: boolean;
|
|
1101
1105
|
};
|
|
1102
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
|
+
|
|
1103
1119
|
export declare type TBaseQuery = {
|
|
1104
1120
|
id: string;
|
|
1105
1121
|
name: string;
|
|
@@ -1272,11 +1288,20 @@ export declare type TCardPreferences = {
|
|
|
1272
1288
|
colorConfig?: ColorConfig;
|
|
1273
1289
|
xAxisConfig?: AxisConfig;
|
|
1274
1290
|
yAxisConfig?: AxisConfig;
|
|
1291
|
+
secondaryYAxisConfig?: AxisConfig;
|
|
1275
1292
|
dataLabelsConfig?: TDataLabelsConfig;
|
|
1276
1293
|
bulletConfig?: TBulletConfig;
|
|
1277
1294
|
heatmapConfig?: THeatmapConfig;
|
|
1278
1295
|
bubbleScatterConfig?: TBubbleScatterConfig;
|
|
1279
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;
|
|
1280
1305
|
tablePrefs?: TablePreferences;
|
|
1281
1306
|
allowDownload?: boolean;
|
|
1282
1307
|
customVisualCode?: string;
|
|
@@ -1371,7 +1396,7 @@ export declare type TChartOptions = {
|
|
|
1371
1396
|
treemapColorMode?: 'branch' | 'category';
|
|
1372
1397
|
};
|
|
1373
1398
|
|
|
1374
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | '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';
|
|
1375
1400
|
|
|
1376
1401
|
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
1377
1402
|
columnIdx: number;
|
|
@@ -1460,6 +1485,27 @@ export declare type TDatasetOptions = {
|
|
|
1460
1485
|
idx: number;
|
|
1461
1486
|
type?: 'bar' | 'line';
|
|
1462
1487
|
fill?: string | number;
|
|
1488
|
+
/** Y-axis assignment for combo charts: 'y' (primary/left) or 'y2' (secondary/right) */
|
|
1489
|
+
yAxisId?: 'y' | 'y2';
|
|
1490
|
+
/** Per-series data labels configuration - uses full TDataLabelsConfig for feature parity */
|
|
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;
|
|
1508
|
+
/** @deprecated Use dataLabels instead */
|
|
1463
1509
|
datalabels?: {
|
|
1464
1510
|
display?: boolean;
|
|
1465
1511
|
align?: string;
|
|
@@ -1651,6 +1697,12 @@ export declare type TLens = {
|
|
|
1651
1697
|
shared?: boolean;
|
|
1652
1698
|
};
|
|
1653
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
|
+
|
|
1654
1706
|
export declare type TSheet = {
|
|
1655
1707
|
id: string;
|
|
1656
1708
|
title?: string;
|