react-semaphor 0.0.602 → 0.0.604
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-plus-DaQzKbBt.js → dashboard-plus-BCYkzhJl.js} +8 -8
- package/dist/chunks/{dashboard-plus-C77hCbZC.js → dashboard-plus-DLNR8UT-.js} +481 -471
- package/dist/chunks/index-Bca4CpHf.js +866 -0
- package/dist/chunks/{index-sYcwJnZF.js → index-CzP4rV5O.js} +41704 -40828
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- 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 +6 -1
- package/dist/types/main.d.ts +7 -1
- package/dist/types/surfboard.d.ts +6 -1
- package/dist/types/types.d.ts +6 -1
- package/package.json +1 -1
- package/dist/chunks/index-CggdOrtY.js +0 -871
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-BCYkzhJl.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ColumnSizingState } from '@tanstack/react-table';
|
|
1
2
|
import { FontSpec } from 'chart.js';
|
|
2
3
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
4
|
|
|
@@ -192,7 +193,10 @@ declare interface ColorRange_2 {
|
|
|
192
193
|
declare interface ColumnSettings {
|
|
193
194
|
type: 'none' | 'text' | 'number' | 'date' | 'badge' | 'link' | 'progress';
|
|
194
195
|
textAlign: 'left' | 'center' | 'right';
|
|
195
|
-
width:
|
|
196
|
+
width: number;
|
|
197
|
+
minWidth?: number;
|
|
198
|
+
maxWidth?: number;
|
|
199
|
+
textOverflow?: 'ellipsis' | 'wrap' | 'clip';
|
|
196
200
|
textWrap: 'wrap' | 'nowrap';
|
|
197
201
|
numberFormat: {
|
|
198
202
|
style: 'decimal' | 'currency' | 'percent';
|
|
@@ -816,6 +820,7 @@ declare type TablePreferences = {
|
|
|
816
820
|
columnSettingsMap?: ColumnSettingsMap;
|
|
817
821
|
selectColumnVisible?: boolean;
|
|
818
822
|
columnVisibility?: Record<string, boolean>;
|
|
823
|
+
columnSizing?: ColumnSizingState;
|
|
819
824
|
pageSize?: number;
|
|
820
825
|
enableDevModePagination?: boolean;
|
|
821
826
|
};
|
package/dist/types/main.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { AIScopeTable as AIScopeTable_2 } from '..';
|
|
|
3
3
|
import { CacheConfig as CacheConfig_2 } from '..';
|
|
4
4
|
import { Chart } from 'chart.js';
|
|
5
5
|
import { ChartConfiguration } from 'chart.js';
|
|
6
|
+
import { ColumnSizingState } from '@tanstack/react-table';
|
|
6
7
|
import { ComboBoxOption as ComboBoxOption_2 } from '../../components/surfboard/filter/types';
|
|
7
8
|
import { CustomCard as CustomCard_2 } from '..';
|
|
8
9
|
import { DateRange } from 'react-day-picker';
|
|
@@ -409,7 +410,10 @@ export declare type ColumnRole = 'groupby' | 'trendby' | 'metric' | 'filter';
|
|
|
409
410
|
declare interface ColumnSettings {
|
|
410
411
|
type: 'none' | 'text' | 'number' | 'date' | 'badge' | 'link' | 'progress';
|
|
411
412
|
textAlign: 'left' | 'center' | 'right';
|
|
412
|
-
width:
|
|
413
|
+
width: number;
|
|
414
|
+
minWidth?: number;
|
|
415
|
+
maxWidth?: number;
|
|
416
|
+
textOverflow?: 'ellipsis' | 'wrap' | 'clip';
|
|
413
417
|
textWrap: 'wrap' | 'nowrap';
|
|
414
418
|
numberFormat: {
|
|
415
419
|
style: 'decimal' | 'currency' | 'percent';
|
|
@@ -1398,6 +1402,7 @@ export declare function Surfboard({ showControls, showFooter, ...rest }: Dashboa
|
|
|
1398
1402
|
declare interface TableActions {
|
|
1399
1403
|
updateColumnSettingsMap: (columnSettings: ColumnSettingsMap) => void;
|
|
1400
1404
|
updateColumnVisibility: (columnId: string, isVisible: boolean) => void;
|
|
1405
|
+
updateColumnSizing: (sizing: ColumnSizingState) => void;
|
|
1401
1406
|
updatePageSize: (pageSize: number) => void;
|
|
1402
1407
|
showAllColumns: () => void;
|
|
1403
1408
|
hideAllColumns: () => void;
|
|
@@ -1419,6 +1424,7 @@ declare type TablePreferences = {
|
|
|
1419
1424
|
columnSettingsMap?: ColumnSettingsMap;
|
|
1420
1425
|
selectColumnVisible?: boolean;
|
|
1421
1426
|
columnVisibility?: Record<string, boolean>;
|
|
1427
|
+
columnSizing?: ColumnSizingState;
|
|
1422
1428
|
pageSize?: number;
|
|
1423
1429
|
enableDevModePagination?: boolean;
|
|
1424
1430
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ColumnSizingState } from '@tanstack/react-table';
|
|
1
2
|
import { FontSpec } from 'chart.js';
|
|
2
3
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
4
|
|
|
@@ -192,7 +193,10 @@ declare interface ColorRange_2 {
|
|
|
192
193
|
declare interface ColumnSettings {
|
|
193
194
|
type: 'none' | 'text' | 'number' | 'date' | 'badge' | 'link' | 'progress';
|
|
194
195
|
textAlign: 'left' | 'center' | 'right';
|
|
195
|
-
width:
|
|
196
|
+
width: number;
|
|
197
|
+
minWidth?: number;
|
|
198
|
+
maxWidth?: number;
|
|
199
|
+
textOverflow?: 'ellipsis' | 'wrap' | 'clip';
|
|
196
200
|
textWrap: 'wrap' | 'nowrap';
|
|
197
201
|
numberFormat: {
|
|
198
202
|
style: 'decimal' | 'currency' | 'percent';
|
|
@@ -821,6 +825,7 @@ declare type TablePreferences = {
|
|
|
821
825
|
columnSettingsMap?: ColumnSettingsMap;
|
|
822
826
|
selectColumnVisible?: boolean;
|
|
823
827
|
columnVisibility?: Record<string, boolean>;
|
|
828
|
+
columnSizing?: ColumnSizingState;
|
|
824
829
|
pageSize?: number;
|
|
825
830
|
enableDevModePagination?: boolean;
|
|
826
831
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ColumnSizingState } from '@tanstack/react-table';
|
|
1
2
|
import { FontSpec } from 'chart.js';
|
|
2
3
|
|
|
3
4
|
export declare type AggregateCalc = 'AVG' | 'MIN' | 'MAX' | 'SUM' | 'COUNT' | 'COUNT_DISTINCT';
|
|
@@ -191,7 +192,10 @@ declare interface ColorRange_2 {
|
|
|
191
192
|
declare interface ColumnSettings {
|
|
192
193
|
type: 'none' | 'text' | 'number' | 'date' | 'badge' | 'link' | 'progress';
|
|
193
194
|
textAlign: 'left' | 'center' | 'right';
|
|
194
|
-
width:
|
|
195
|
+
width: number;
|
|
196
|
+
minWidth?: number;
|
|
197
|
+
maxWidth?: number;
|
|
198
|
+
textOverflow?: 'ellipsis' | 'wrap' | 'clip';
|
|
195
199
|
textWrap: 'wrap' | 'nowrap';
|
|
196
200
|
numberFormat: {
|
|
197
201
|
style: 'decimal' | 'currency' | 'percent';
|
|
@@ -813,6 +817,7 @@ declare type TablePreferences = {
|
|
|
813
817
|
columnSettingsMap?: ColumnSettingsMap;
|
|
814
818
|
selectColumnVisible?: boolean;
|
|
815
819
|
columnVisibility?: Record<string, boolean>;
|
|
820
|
+
columnSizing?: ColumnSizingState;
|
|
816
821
|
pageSize?: number;
|
|
817
822
|
enableDevModePagination?: boolean;
|
|
818
823
|
};
|