react-semaphor 0.0.570 → 0.0.571
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-BoQnT85A.js +455 -0
- package/dist/chunks/{dashboard-plus-BkxAX-Ul.js → dashboard-plus-C32xyi1Z.js} +9457 -9128
- package/dist/chunks/{index-DfutYe81.js → index-BSZ4q0Db.js} +13273 -13000
- package/dist/chunks/{index-D7PtTugN.js → index-sMMR87WC.js} +146 -146
- 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/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +32 -10
- package/dist/types/main.d.ts +32 -10
- package/dist/types/surfboard.d.ts +32 -10
- package/dist/types/types.d.ts +32 -10
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-Dno0l45j.js +0 -450
package/dist/dashboard/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-sMMR87WC.js"),r=require("../types/index.cjs");exports.Dashboard=e.Dashboard;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
package/dist/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-sMMR87WC.js"),o=require("./types/index.cjs"),a=require("./chunks/dashboard-plus-BoQnT85A.js");require("react/jsx-runtime");require("react");require("react-dom");const Y=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];var r=(t=>(t.SUBTOTAL="__SUBTOTAL__",t.TOTAL="__TOTAL__",t.ALL="__ALL__",t))(r||{});exports.Dashboard=e.Dashboard;exports.DashboardWC=e.DashboardWC;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.createSqlGenConfig=e.createSqlGenConfig;exports.fmt=e.fmt;exports.getColumnDataType=e.getColumnDataType;exports.getFilterValueType=e.getFilterValueType;exports.getFormattedTableNameForQuery=e.getFormattedTableNameForQuery;exports.getQualifiedTableName=e.getQualifiedTableName;exports.getSql=e.getSql;exports.invalidateToken=e.invalidateToken;exports.isBooleanDataType=e.isBooleanDataType;exports.isColumnInSqlGen=e.isColumnInSqlGen;exports.isDateDataType=e.isDateDataType;exports.isNumberDataType=e.isNumberDataType;exports.isTextDataType=e.isTextDataType;exports.resolveDataType=e.resolveDataType;exports.resolveDatamodelName=e.resolveDatamodelName;exports.useCard=e.useCard;exports.useCurrentActiveCard=e.useCurrentActiveCard;exports.useCurrentCardConfig=e.useCurrentCardConfig;exports.useCurrentSheetActiveCards=e.useCurrentSheetActiveCards;exports.useDashboardActions=e.useDashboardActions;exports.useDashboardStore=e.useDashboardStore;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorActions=e.useEditorActions;exports.useEditorAside=e.useEditorAside;exports.useEditorStore=e.useEditorStore;exports.useTextFilterHook=e.useTextFilterHook;exports.EMPTY_SELECTION=o.EMPTY_SELECTION;exports.ResourceManagementPanel=a.ResourceManagementPanel;exports.ScheduleDashboard=a.ScheduleDashboard;exports.SelectComponent=a.SelectComponent;exports.Surfboard=a.DashboardPlus;exports.cleanCard=a.cleanCard;exports.downloadPdf=a.downloadPdf;exports.getDashbaordStateWithoutData=a.getDashbaordStateWithoutData;exports.DATE_FORMAT_VALUES=Y;exports.PivotMarkerEnum=r;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-
|
|
1
|
+
import { D, d as u, S as d, b as i, b as n, m as l, f as T, o as m, n as p, q as C, s as S, l as A, i as _, k as c, p as h, j as b, h as f, g, t as y, r as L, c as x, x as Q, z as v, y as E, A as F, w as O, e as W, u as N, C as k, v as q, B, a as P } from "./chunks/index-BSZ4q0Db.js";
|
|
2
2
|
import { EMPTY_SELECTION as U } from "./types/index.js";
|
|
3
|
-
import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-
|
|
3
|
+
import { R as G, S as H, a as I, D as V, c as j, d as z, g as J } from "./chunks/dashboard-plus-C32xyi1Z.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
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-BoQnT85A.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -38,16 +38,7 @@ export declare type AxisConfig = {
|
|
|
38
38
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
39
39
|
};
|
|
40
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
|
-
};
|
|
41
|
+
formatOptions?: TFormatOptions;
|
|
51
42
|
scale?: {
|
|
52
43
|
min?: number | 'auto';
|
|
53
44
|
max?: number | 'auto';
|
|
@@ -845,6 +836,7 @@ export declare type TCardPreferences = {
|
|
|
845
836
|
colorConfig?: ColorConfig;
|
|
846
837
|
xAxisConfig?: AxisConfig;
|
|
847
838
|
yAxisConfig?: AxisConfig;
|
|
839
|
+
dataLabelsConfig?: TDataLabelsConfig;
|
|
848
840
|
tablePrefs?: TablePreferences;
|
|
849
841
|
allowDownload?: boolean;
|
|
850
842
|
customVisualCode?: string;
|
|
@@ -964,6 +956,25 @@ export declare type TDataColumn = {
|
|
|
964
956
|
description?: string;
|
|
965
957
|
};
|
|
966
958
|
|
|
959
|
+
export declare type TDataLabelsConfig = {
|
|
960
|
+
enabled?: boolean;
|
|
961
|
+
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'custom';
|
|
962
|
+
anchor?: 'center' | 'start' | 'end';
|
|
963
|
+
align?: 'center' | 'start' | 'end' | 'top' | 'bottom' | number;
|
|
964
|
+
display?: 'auto' | boolean;
|
|
965
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'none';
|
|
966
|
+
formatOptions?: TFormatOptions;
|
|
967
|
+
font?: {
|
|
968
|
+
size?: number;
|
|
969
|
+
weight?: 'normal' | 'bold';
|
|
970
|
+
};
|
|
971
|
+
color?: 'auto' | string;
|
|
972
|
+
clamp?: boolean;
|
|
973
|
+
clip?: boolean;
|
|
974
|
+
rotation?: number;
|
|
975
|
+
showTotal?: boolean;
|
|
976
|
+
};
|
|
977
|
+
|
|
967
978
|
export declare type TDatasetOptions = {
|
|
968
979
|
idx: number;
|
|
969
980
|
type?: 'bar' | 'line';
|
|
@@ -1006,6 +1017,17 @@ declare type TFilter = {
|
|
|
1006
1017
|
|
|
1007
1018
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1008
1019
|
|
|
1020
|
+
export declare type TFormatOptions = {
|
|
1021
|
+
decimalPlaces?: number;
|
|
1022
|
+
currency?: string;
|
|
1023
|
+
locale?: string;
|
|
1024
|
+
prefix?: string;
|
|
1025
|
+
suffix?: string;
|
|
1026
|
+
useSuffix?: boolean;
|
|
1027
|
+
negativeInParentheses?: boolean;
|
|
1028
|
+
multiplyBy?: number;
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1009
1031
|
export declare type TFrame = {
|
|
1010
1032
|
id: string;
|
|
1011
1033
|
filterId?: string;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -243,16 +243,7 @@ export declare type AxisConfig = {
|
|
|
243
243
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
244
244
|
};
|
|
245
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
|
-
};
|
|
246
|
+
formatOptions?: TFormatOptions;
|
|
256
247
|
scale?: {
|
|
257
248
|
min?: number | 'auto';
|
|
258
249
|
max?: number | 'auto';
|
|
@@ -1455,6 +1446,7 @@ export declare type TCardPreferences = {
|
|
|
1455
1446
|
colorConfig?: ColorConfig;
|
|
1456
1447
|
xAxisConfig?: AxisConfig;
|
|
1457
1448
|
yAxisConfig?: AxisConfig;
|
|
1449
|
+
dataLabelsConfig?: TDataLabelsConfig;
|
|
1458
1450
|
tablePrefs?: TablePreferences;
|
|
1459
1451
|
allowDownload?: boolean;
|
|
1460
1452
|
customVisualCode?: string;
|
|
@@ -1576,6 +1568,25 @@ export declare type TDataColumn = {
|
|
|
1576
1568
|
description?: string;
|
|
1577
1569
|
};
|
|
1578
1570
|
|
|
1571
|
+
export declare type TDataLabelsConfig = {
|
|
1572
|
+
enabled?: boolean;
|
|
1573
|
+
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'custom';
|
|
1574
|
+
anchor?: 'center' | 'start' | 'end';
|
|
1575
|
+
align?: 'center' | 'start' | 'end' | 'top' | 'bottom' | number;
|
|
1576
|
+
display?: 'auto' | boolean;
|
|
1577
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'none';
|
|
1578
|
+
formatOptions?: TFormatOptions;
|
|
1579
|
+
font?: {
|
|
1580
|
+
size?: number;
|
|
1581
|
+
weight?: 'normal' | 'bold';
|
|
1582
|
+
};
|
|
1583
|
+
color?: 'auto' | string;
|
|
1584
|
+
clamp?: boolean;
|
|
1585
|
+
clip?: boolean;
|
|
1586
|
+
rotation?: number;
|
|
1587
|
+
showTotal?: boolean;
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1579
1590
|
export declare type TDatasetOptions = {
|
|
1580
1591
|
idx: number;
|
|
1581
1592
|
type?: 'bar' | 'line';
|
|
@@ -1618,6 +1629,17 @@ declare type TFilter = {
|
|
|
1618
1629
|
|
|
1619
1630
|
export declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1620
1631
|
|
|
1632
|
+
export declare type TFormatOptions = {
|
|
1633
|
+
decimalPlaces?: number;
|
|
1634
|
+
currency?: string;
|
|
1635
|
+
locale?: string;
|
|
1636
|
+
prefix?: string;
|
|
1637
|
+
suffix?: string;
|
|
1638
|
+
useSuffix?: boolean;
|
|
1639
|
+
negativeInParentheses?: boolean;
|
|
1640
|
+
multiplyBy?: number;
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1621
1643
|
export declare type TFrame = {
|
|
1622
1644
|
id: string;
|
|
1623
1645
|
filterId?: string;
|
|
@@ -38,16 +38,7 @@ export declare type AxisConfig = {
|
|
|
38
38
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
39
39
|
};
|
|
40
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
|
-
};
|
|
41
|
+
formatOptions?: TFormatOptions;
|
|
51
42
|
scale?: {
|
|
52
43
|
min?: number | 'auto';
|
|
53
44
|
max?: number | 'auto';
|
|
@@ -850,6 +841,7 @@ export declare type TCardPreferences = {
|
|
|
850
841
|
colorConfig?: ColorConfig;
|
|
851
842
|
xAxisConfig?: AxisConfig;
|
|
852
843
|
yAxisConfig?: AxisConfig;
|
|
844
|
+
dataLabelsConfig?: TDataLabelsConfig;
|
|
853
845
|
tablePrefs?: TablePreferences;
|
|
854
846
|
allowDownload?: boolean;
|
|
855
847
|
customVisualCode?: string;
|
|
@@ -969,6 +961,25 @@ export declare type TDataColumn = {
|
|
|
969
961
|
description?: string;
|
|
970
962
|
};
|
|
971
963
|
|
|
964
|
+
export declare type TDataLabelsConfig = {
|
|
965
|
+
enabled?: boolean;
|
|
966
|
+
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'custom';
|
|
967
|
+
anchor?: 'center' | 'start' | 'end';
|
|
968
|
+
align?: 'center' | 'start' | 'end' | 'top' | 'bottom' | number;
|
|
969
|
+
display?: 'auto' | boolean;
|
|
970
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'none';
|
|
971
|
+
formatOptions?: TFormatOptions;
|
|
972
|
+
font?: {
|
|
973
|
+
size?: number;
|
|
974
|
+
weight?: 'normal' | 'bold';
|
|
975
|
+
};
|
|
976
|
+
color?: 'auto' | string;
|
|
977
|
+
clamp?: boolean;
|
|
978
|
+
clip?: boolean;
|
|
979
|
+
rotation?: number;
|
|
980
|
+
showTotal?: boolean;
|
|
981
|
+
};
|
|
982
|
+
|
|
972
983
|
export declare type TDatasetOptions = {
|
|
973
984
|
idx: number;
|
|
974
985
|
type?: 'bar' | 'line';
|
|
@@ -1011,6 +1022,17 @@ declare type TFilter = {
|
|
|
1011
1022
|
|
|
1012
1023
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1013
1024
|
|
|
1025
|
+
export declare type TFormatOptions = {
|
|
1026
|
+
decimalPlaces?: number;
|
|
1027
|
+
currency?: string;
|
|
1028
|
+
locale?: string;
|
|
1029
|
+
prefix?: string;
|
|
1030
|
+
suffix?: string;
|
|
1031
|
+
useSuffix?: boolean;
|
|
1032
|
+
negativeInParentheses?: boolean;
|
|
1033
|
+
multiplyBy?: number;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1014
1036
|
export declare type TFrame = {
|
|
1015
1037
|
id: string;
|
|
1016
1038
|
filterId?: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -37,16 +37,7 @@ export declare type AxisConfig = {
|
|
|
37
37
|
rotation?: 'auto' | 0 | 45 | 90 | -45 | -90;
|
|
38
38
|
};
|
|
39
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
|
-
};
|
|
40
|
+
formatOptions?: TFormatOptions;
|
|
50
41
|
scale?: {
|
|
51
42
|
min?: number | 'auto';
|
|
52
43
|
max?: number | 'auto';
|
|
@@ -842,6 +833,7 @@ export declare type TCardPreferences = {
|
|
|
842
833
|
colorConfig?: ColorConfig;
|
|
843
834
|
xAxisConfig?: AxisConfig;
|
|
844
835
|
yAxisConfig?: AxisConfig;
|
|
836
|
+
dataLabelsConfig?: TDataLabelsConfig;
|
|
845
837
|
tablePrefs?: TablePreferences;
|
|
846
838
|
allowDownload?: boolean;
|
|
847
839
|
customVisualCode?: string;
|
|
@@ -961,6 +953,25 @@ export declare type TDataColumn = {
|
|
|
961
953
|
description?: string;
|
|
962
954
|
};
|
|
963
955
|
|
|
956
|
+
export declare type TDataLabelsConfig = {
|
|
957
|
+
enabled?: boolean;
|
|
958
|
+
position?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'custom';
|
|
959
|
+
anchor?: 'center' | 'start' | 'end';
|
|
960
|
+
align?: 'center' | 'start' | 'end' | 'top' | 'bottom' | number;
|
|
961
|
+
display?: 'auto' | boolean;
|
|
962
|
+
format?: 'auto' | 'number' | 'currency' | 'percent' | 'none';
|
|
963
|
+
formatOptions?: TFormatOptions;
|
|
964
|
+
font?: {
|
|
965
|
+
size?: number;
|
|
966
|
+
weight?: 'normal' | 'bold';
|
|
967
|
+
};
|
|
968
|
+
color?: 'auto' | string;
|
|
969
|
+
clamp?: boolean;
|
|
970
|
+
clip?: boolean;
|
|
971
|
+
rotation?: number;
|
|
972
|
+
showTotal?: boolean;
|
|
973
|
+
};
|
|
974
|
+
|
|
964
975
|
export declare type TDatasetOptions = {
|
|
965
976
|
idx: number;
|
|
966
977
|
type?: 'bar' | 'line';
|
|
@@ -1003,6 +1014,17 @@ declare type TFilter = {
|
|
|
1003
1014
|
|
|
1004
1015
|
declare type TFilterValue = FilterForString | FilterForEqual | FilterForCompare | FilterForBetween | FilterForIn | FilterForDate;
|
|
1005
1016
|
|
|
1017
|
+
export declare type TFormatOptions = {
|
|
1018
|
+
decimalPlaces?: number;
|
|
1019
|
+
currency?: string;
|
|
1020
|
+
locale?: string;
|
|
1021
|
+
prefix?: string;
|
|
1022
|
+
suffix?: string;
|
|
1023
|
+
useSuffix?: boolean;
|
|
1024
|
+
negativeInParentheses?: boolean;
|
|
1025
|
+
multiplyBy?: number;
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1006
1028
|
export declare type TFrame = {
|
|
1007
1029
|
id: string;
|
|
1008
1030
|
filterId?: string;
|