react-semaphor 0.0.568 → 0.0.569
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-Dq0emGUx.js → dashboard-plus-Ckqg8oKf.js} +6467 -5640
- package/dist/chunks/dashboard-plus-YJK5a-bc.js +435 -0
- package/dist/chunks/{index-CDUnGIon.js → index-D320FIng.js} +139 -139
- package/dist/chunks/{index-BnOcxtLr.js → index-DFXc_ZKX.js} +16101 -15648
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- 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 +36 -0
- package/dist/types/main.d.ts +36 -0
- package/dist/types/surfboard.d.ts +36 -0
- package/dist/types/types.d.ts +36 -0
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-mEznHmO7.js +0 -435
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-YJK5a-bc.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -26,6 +26,35 @@ export declare type AuthToken = {
|
|
|
26
26
|
refreshToken?: string;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
export declare type AxisConfig = {
|
|
30
|
+
enabled?: boolean;
|
|
31
|
+
name?: {
|
|
32
|
+
enabled: boolean;
|
|
33
|
+
text?: string;
|
|
34
|
+
};
|
|
35
|
+
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
36
|
+
labels?: {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
39
|
+
};
|
|
40
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
41
|
+
formatOptions?: {
|
|
42
|
+
decimalPlaces?: number;
|
|
43
|
+
useSuffix?: boolean;
|
|
44
|
+
currency?: string;
|
|
45
|
+
locale?: string;
|
|
46
|
+
prefix?: string;
|
|
47
|
+
suffix?: string;
|
|
48
|
+
negativeInParentheses?: boolean;
|
|
49
|
+
multiplyBy?: number;
|
|
50
|
+
};
|
|
51
|
+
scale?: {
|
|
52
|
+
min?: number | 'auto';
|
|
53
|
+
max?: number | 'auto';
|
|
54
|
+
stepSize?: number | 'auto';
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
29
58
|
declare interface BaseColumn {
|
|
30
59
|
id: string;
|
|
31
60
|
name: string;
|
|
@@ -152,6 +181,10 @@ declare interface ClickFilterInteraction {
|
|
|
152
181
|
label?: string;
|
|
153
182
|
}
|
|
154
183
|
|
|
184
|
+
export declare type ColorConfig = {
|
|
185
|
+
segments: Record<string, string>;
|
|
186
|
+
};
|
|
187
|
+
|
|
155
188
|
export declare type ColorRange = {
|
|
156
189
|
start: number;
|
|
157
190
|
end: number;
|
|
@@ -809,6 +842,9 @@ export declare type TCardPreferences = {
|
|
|
809
842
|
datasetOptions?: TDatasetOptions[];
|
|
810
843
|
chartOptions?: TChartOptions;
|
|
811
844
|
columnSettings?: TColumnSetting<DisplayDataType>[];
|
|
845
|
+
colorConfig?: ColorConfig;
|
|
846
|
+
xAxisConfig?: AxisConfig;
|
|
847
|
+
yAxisConfig?: AxisConfig;
|
|
812
848
|
tablePrefs?: TablePreferences;
|
|
813
849
|
allowDownload?: boolean;
|
|
814
850
|
customVisualCode?: string;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -231,6 +231,35 @@ export declare type AuthToken = {
|
|
|
231
231
|
refreshToken?: string;
|
|
232
232
|
};
|
|
233
233
|
|
|
234
|
+
export declare type AxisConfig = {
|
|
235
|
+
enabled?: boolean;
|
|
236
|
+
name?: {
|
|
237
|
+
enabled: boolean;
|
|
238
|
+
text?: string;
|
|
239
|
+
};
|
|
240
|
+
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
241
|
+
labels?: {
|
|
242
|
+
enabled: boolean;
|
|
243
|
+
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
244
|
+
};
|
|
245
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
246
|
+
formatOptions?: {
|
|
247
|
+
decimalPlaces?: number;
|
|
248
|
+
useSuffix?: boolean;
|
|
249
|
+
currency?: string;
|
|
250
|
+
locale?: string;
|
|
251
|
+
prefix?: string;
|
|
252
|
+
suffix?: string;
|
|
253
|
+
negativeInParentheses?: boolean;
|
|
254
|
+
multiplyBy?: number;
|
|
255
|
+
};
|
|
256
|
+
scale?: {
|
|
257
|
+
min?: number | 'auto';
|
|
258
|
+
max?: number | 'auto';
|
|
259
|
+
stepSize?: number | 'auto';
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
|
|
234
263
|
export declare interface BaseColumn {
|
|
235
264
|
id: string;
|
|
236
265
|
name: string;
|
|
@@ -361,6 +390,10 @@ declare interface ClickFilterInteraction {
|
|
|
361
390
|
label?: string;
|
|
362
391
|
}
|
|
363
392
|
|
|
393
|
+
export declare type ColorConfig = {
|
|
394
|
+
segments: Record<string, string>;
|
|
395
|
+
};
|
|
396
|
+
|
|
364
397
|
export declare type ColorRange = {
|
|
365
398
|
start: number;
|
|
366
399
|
end: number;
|
|
@@ -1419,6 +1452,9 @@ export declare type TCardPreferences = {
|
|
|
1419
1452
|
datasetOptions?: TDatasetOptions[];
|
|
1420
1453
|
chartOptions?: TChartOptions;
|
|
1421
1454
|
columnSettings?: TColumnSetting<DisplayDataType>[];
|
|
1455
|
+
colorConfig?: ColorConfig;
|
|
1456
|
+
xAxisConfig?: AxisConfig;
|
|
1457
|
+
yAxisConfig?: AxisConfig;
|
|
1422
1458
|
tablePrefs?: TablePreferences;
|
|
1423
1459
|
allowDownload?: boolean;
|
|
1424
1460
|
customVisualCode?: string;
|
|
@@ -26,6 +26,35 @@ export declare type AuthToken = {
|
|
|
26
26
|
refreshToken?: string;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
export declare type AxisConfig = {
|
|
30
|
+
enabled?: boolean;
|
|
31
|
+
name?: {
|
|
32
|
+
enabled: boolean;
|
|
33
|
+
text?: string;
|
|
34
|
+
};
|
|
35
|
+
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
36
|
+
labels?: {
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
39
|
+
};
|
|
40
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
41
|
+
formatOptions?: {
|
|
42
|
+
decimalPlaces?: number;
|
|
43
|
+
useSuffix?: boolean;
|
|
44
|
+
currency?: string;
|
|
45
|
+
locale?: string;
|
|
46
|
+
prefix?: string;
|
|
47
|
+
suffix?: string;
|
|
48
|
+
negativeInParentheses?: boolean;
|
|
49
|
+
multiplyBy?: number;
|
|
50
|
+
};
|
|
51
|
+
scale?: {
|
|
52
|
+
min?: number | 'auto';
|
|
53
|
+
max?: number | 'auto';
|
|
54
|
+
stepSize?: number | 'auto';
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
29
58
|
declare interface BaseColumn {
|
|
30
59
|
id: string;
|
|
31
60
|
name: string;
|
|
@@ -152,6 +181,10 @@ declare interface ClickFilterInteraction {
|
|
|
152
181
|
label?: string;
|
|
153
182
|
}
|
|
154
183
|
|
|
184
|
+
export declare type ColorConfig = {
|
|
185
|
+
segments: Record<string, string>;
|
|
186
|
+
};
|
|
187
|
+
|
|
155
188
|
export declare type ColorRange = {
|
|
156
189
|
start: number;
|
|
157
190
|
end: number;
|
|
@@ -814,6 +847,9 @@ export declare type TCardPreferences = {
|
|
|
814
847
|
datasetOptions?: TDatasetOptions[];
|
|
815
848
|
chartOptions?: TChartOptions;
|
|
816
849
|
columnSettings?: TColumnSetting<DisplayDataType>[];
|
|
850
|
+
colorConfig?: ColorConfig;
|
|
851
|
+
xAxisConfig?: AxisConfig;
|
|
852
|
+
yAxisConfig?: AxisConfig;
|
|
817
853
|
tablePrefs?: TablePreferences;
|
|
818
854
|
allowDownload?: boolean;
|
|
819
855
|
customVisualCode?: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -25,6 +25,35 @@ export declare type AuthToken = {
|
|
|
25
25
|
refreshToken?: string;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
+
export declare type AxisConfig = {
|
|
29
|
+
enabled?: boolean;
|
|
30
|
+
name?: {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
text?: string;
|
|
33
|
+
};
|
|
34
|
+
position?: 'auto' | 'top' | 'bottom' | 'left' | 'right';
|
|
35
|
+
labels?: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
38
|
+
};
|
|
39
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'date';
|
|
40
|
+
formatOptions?: {
|
|
41
|
+
decimalPlaces?: number;
|
|
42
|
+
useSuffix?: boolean;
|
|
43
|
+
currency?: string;
|
|
44
|
+
locale?: string;
|
|
45
|
+
prefix?: string;
|
|
46
|
+
suffix?: string;
|
|
47
|
+
negativeInParentheses?: boolean;
|
|
48
|
+
multiplyBy?: number;
|
|
49
|
+
};
|
|
50
|
+
scale?: {
|
|
51
|
+
min?: number | 'auto';
|
|
52
|
+
max?: number | 'auto';
|
|
53
|
+
stepSize?: number | 'auto';
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
|
|
28
57
|
declare interface BaseColumn {
|
|
29
58
|
id: string;
|
|
30
59
|
name: string;
|
|
@@ -151,6 +180,10 @@ declare interface ClickFilterInteraction {
|
|
|
151
180
|
label?: string;
|
|
152
181
|
}
|
|
153
182
|
|
|
183
|
+
export declare type ColorConfig = {
|
|
184
|
+
segments: Record<string, string>;
|
|
185
|
+
};
|
|
186
|
+
|
|
154
187
|
export declare type ColorRange = {
|
|
155
188
|
start: number;
|
|
156
189
|
end: number;
|
|
@@ -806,6 +839,9 @@ export declare type TCardPreferences = {
|
|
|
806
839
|
datasetOptions?: TDatasetOptions[];
|
|
807
840
|
chartOptions?: TChartOptions;
|
|
808
841
|
columnSettings?: TColumnSetting<DisplayDataType>[];
|
|
842
|
+
colorConfig?: ColorConfig;
|
|
843
|
+
xAxisConfig?: AxisConfig;
|
|
844
|
+
yAxisConfig?: AxisConfig;
|
|
809
845
|
tablePrefs?: TablePreferences;
|
|
810
846
|
allowDownload?: boolean;
|
|
811
847
|
customVisualCode?: string;
|