react-semaphor 0.0.593 → 0.0.595
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-BXlGq14a.js +346 -0
- package/dist/chunks/{dashboard-plus-fE5Pfbcv.js → dashboard-plus-D28caGPl.js} +5991 -5661
- package/dist/chunks/{index-SwM63bzt.js → index-CEB_fg8r.js} +31591 -31423
- package/dist/chunks/index-KJGJzl_J.js +854 -0
- 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 +4 -2
- package/dist/types/main.d.ts +15 -3
- package/dist/types/surfboard.d.ts +4 -2
- package/dist/types/types.d.ts +4 -2
- package/package.json +2 -1
- package/dist/chunks/dashboard-plus-CF2-56oq.js +0 -346
- package/dist/chunks/index-B8ITaVWa.js +0 -859
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-BXlGq14a.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -210,6 +210,8 @@ declare interface ColumnSettings {
|
|
|
210
210
|
useCustomFormat: boolean;
|
|
211
211
|
customFormat: string;
|
|
212
212
|
useRelativeTime: boolean;
|
|
213
|
+
timezone?: string;
|
|
214
|
+
sourceTimezone?: string;
|
|
213
215
|
};
|
|
214
216
|
colorRanges: ColorRange_2[];
|
|
215
217
|
}
|
|
@@ -501,7 +503,7 @@ declare type FilterOnClick = {
|
|
|
501
503
|
columnIndex: number;
|
|
502
504
|
};
|
|
503
505
|
|
|
504
|
-
declare type FilterValue = string | number | boolean | Date | [number, number] | [string, string] | string[] | number[];
|
|
506
|
+
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
505
507
|
|
|
506
508
|
export declare type GetDashboardResponse = {
|
|
507
509
|
dashboard: TDashboard;
|
|
@@ -650,7 +652,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
|
|
|
650
652
|
|
|
651
653
|
declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
|
|
652
654
|
|
|
653
|
-
declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
|
|
655
|
+
declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
|
|
654
656
|
|
|
655
657
|
declare type OptionsMap = {
|
|
656
658
|
number: NumberOptions;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -109,6 +109,11 @@ declare type Actions = {
|
|
|
109
109
|
removeBaseQuery: (baseQueryId: string) => void;
|
|
110
110
|
setBaseQueries: (baseQueries: TBaseQuery[]) => void;
|
|
111
111
|
setIsDashboardPanelOpen: (open: boolean) => void;
|
|
112
|
+
updateCardId: (oldCardId: string, newCardId: string) => {
|
|
113
|
+
success: boolean;
|
|
114
|
+
error?: string;
|
|
115
|
+
};
|
|
116
|
+
isCardIdUnique: (cardId: string, currentCardId?: string) => boolean;
|
|
112
117
|
};
|
|
113
118
|
|
|
114
119
|
declare type Actions_2 = TableActions & ExplorerActions & DrillActions & {
|
|
@@ -125,6 +130,7 @@ declare type Actions_2 = TableActions & ExplorerActions & DrillActions & {
|
|
|
125
130
|
setQueryConfig: (queryConfig: QueryConfig | undefined) => void;
|
|
126
131
|
setCardTitle: (title: string) => void;
|
|
127
132
|
setCardDescription: (description: string) => void;
|
|
133
|
+
setCardId: (cardId: string) => void;
|
|
128
134
|
setCountryLogo: (countryLogoId: string | null) => void;
|
|
129
135
|
setIsDevMode: (isDevMode: boolean) => void;
|
|
130
136
|
setOrderByColumns: (orderByColumns: OrderBy[]) => void;
|
|
@@ -421,6 +427,8 @@ declare interface ColumnSettings {
|
|
|
421
427
|
useCustomFormat: boolean;
|
|
422
428
|
customFormat: string;
|
|
423
429
|
useRelativeTime: boolean;
|
|
430
|
+
timezone?: string;
|
|
431
|
+
sourceTimezone?: string;
|
|
424
432
|
};
|
|
425
433
|
colorRanges: ColorRange_2[];
|
|
426
434
|
}
|
|
@@ -909,7 +917,7 @@ declare type FilterOnClick = {
|
|
|
909
917
|
columnIndex: number;
|
|
910
918
|
};
|
|
911
919
|
|
|
912
|
-
export declare type FilterValue = string | number | boolean | Date | [number, number] | [string, string] | string[] | number[];
|
|
920
|
+
export declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
913
921
|
|
|
914
922
|
export declare function fmt(str: string): string;
|
|
915
923
|
|
|
@@ -1125,7 +1133,7 @@ export declare type OldFilterValue = string | number | null | (string | number)[
|
|
|
1125
1133
|
|
|
1126
1134
|
declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
|
|
1127
1135
|
|
|
1128
|
-
export declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
|
|
1136
|
+
export declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
|
|
1129
1137
|
|
|
1130
1138
|
declare type OptionsMap = {
|
|
1131
1139
|
number: NumberOptions;
|
|
@@ -1702,7 +1710,7 @@ export declare type TLens = {
|
|
|
1702
1710
|
* Parameters for customizing token behavior and formatting.
|
|
1703
1711
|
*/
|
|
1704
1712
|
export declare type TokenParams = {
|
|
1705
|
-
currencyFormat
|
|
1713
|
+
currencyFormat?: {
|
|
1706
1714
|
/**
|
|
1707
1715
|
* Locale identifier (e.g., 'en-US', 'fr-FR').
|
|
1708
1716
|
*/
|
|
@@ -1712,6 +1720,10 @@ export declare type TokenParams = {
|
|
|
1712
1720
|
*/
|
|
1713
1721
|
currency: string;
|
|
1714
1722
|
};
|
|
1723
|
+
/**
|
|
1724
|
+
* Time zone identifier (e.g., 'America/New_York', 'Europe/London').
|
|
1725
|
+
*/
|
|
1726
|
+
timeZone?: string;
|
|
1715
1727
|
};
|
|
1716
1728
|
|
|
1717
1729
|
/**
|
|
@@ -210,6 +210,8 @@ declare interface ColumnSettings {
|
|
|
210
210
|
useCustomFormat: boolean;
|
|
211
211
|
customFormat: string;
|
|
212
212
|
useRelativeTime: boolean;
|
|
213
|
+
timezone?: string;
|
|
214
|
+
sourceTimezone?: string;
|
|
213
215
|
};
|
|
214
216
|
colorRanges: ColorRange_2[];
|
|
215
217
|
}
|
|
@@ -504,7 +506,7 @@ declare type FilterOnClick = {
|
|
|
504
506
|
columnIndex: number;
|
|
505
507
|
};
|
|
506
508
|
|
|
507
|
-
declare type FilterValue = string | number | boolean | Date | [number, number] | [string, string] | string[] | number[];
|
|
509
|
+
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
508
510
|
|
|
509
511
|
export declare type GetDashboardResponse = {
|
|
510
512
|
dashboard: TDashboard;
|
|
@@ -653,7 +655,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
|
|
|
653
655
|
|
|
654
656
|
declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
|
|
655
657
|
|
|
656
|
-
declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
|
|
658
|
+
declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
|
|
657
659
|
|
|
658
660
|
declare type OptionsMap = {
|
|
659
661
|
number: NumberOptions;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -209,6 +209,8 @@ declare interface ColumnSettings {
|
|
|
209
209
|
useCustomFormat: boolean;
|
|
210
210
|
customFormat: string;
|
|
211
211
|
useRelativeTime: boolean;
|
|
212
|
+
timezone?: string;
|
|
213
|
+
sourceTimezone?: string;
|
|
212
214
|
};
|
|
213
215
|
colorRanges: ColorRange_2[];
|
|
214
216
|
}
|
|
@@ -498,7 +500,7 @@ declare type FilterOnClick = {
|
|
|
498
500
|
columnIndex: number;
|
|
499
501
|
};
|
|
500
502
|
|
|
501
|
-
declare type FilterValue = string | number | boolean | Date | [number, number] | [string, string] | string[] | number[];
|
|
503
|
+
declare type FilterValue = string | number | boolean | Date | null | [number, number] | [string, string] | string[] | number[];
|
|
502
504
|
|
|
503
505
|
export declare type GetDashboardResponse = {
|
|
504
506
|
dashboard: TDashboard;
|
|
@@ -647,7 +649,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
|
|
|
647
649
|
|
|
648
650
|
declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
|
|
649
651
|
|
|
650
|
-
declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
|
|
652
|
+
declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
|
|
651
653
|
|
|
652
654
|
declare type OptionsMap = {
|
|
653
655
|
number: NumberOptions;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"email": "support@semaphor.cloud"
|
|
6
6
|
},
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.595",
|
|
9
9
|
"description": "Fully interactive and customizable dashboards for your apps.",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"react",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"clsx": "^2.0.0",
|
|
89
89
|
"cmdk": "^1.1.1",
|
|
90
90
|
"date-fns": "^3.6.0",
|
|
91
|
+
"date-fns-tz": "^3.2.0",
|
|
91
92
|
"immer": "^10.0.3",
|
|
92
93
|
"jwt-decode": "^4.0.0",
|
|
93
94
|
"lodash.merge": "^4.6.2",
|