react-semaphor 0.0.594 → 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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-0L3CHtnZ.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
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;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-C-fw2Ob4.js";
1
+ import { D as f } from "../chunks/dashboard-plus-D28caGPl.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -503,7 +503,7 @@ declare type FilterOnClick = {
503
503
  columnIndex: number;
504
504
  };
505
505
 
506
- 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[];
507
507
 
508
508
  export declare type GetDashboardResponse = {
509
509
  dashboard: TDashboard;
@@ -652,7 +652,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
652
652
 
653
653
  declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
654
654
 
655
- declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
655
+ declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
656
656
 
657
657
  declare type OptionsMap = {
658
658
  number: NumberOptions;
@@ -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;
@@ -911,7 +917,7 @@ declare type FilterOnClick = {
911
917
  columnIndex: number;
912
918
  };
913
919
 
914
- 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[];
915
921
 
916
922
  export declare function fmt(str: string): string;
917
923
 
@@ -1127,7 +1133,7 @@ export declare type OldFilterValue = string | number | null | (string | number)[
1127
1133
 
1128
1134
  declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
1129
1135
 
1130
- 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';
1131
1137
 
1132
1138
  declare type OptionsMap = {
1133
1139
  number: NumberOptions;
@@ -506,7 +506,7 @@ declare type FilterOnClick = {
506
506
  columnIndex: number;
507
507
  };
508
508
 
509
- 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[];
510
510
 
511
511
  export declare type GetDashboardResponse = {
512
512
  dashboard: TDashboard;
@@ -655,7 +655,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
655
655
 
656
656
  declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
657
657
 
658
- declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
658
+ declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
659
659
 
660
660
  declare type OptionsMap = {
661
661
  number: NumberOptions;
@@ -500,7 +500,7 @@ declare type FilterOnClick = {
500
500
  columnIndex: number;
501
501
  };
502
502
 
503
- 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[];
504
504
 
505
505
  export declare type GetDashboardResponse = {
506
506
  dashboard: TDashboard;
@@ -649,7 +649,7 @@ declare type OldFilterValue = string | number | null | (string | number)[] | Ran
649
649
 
650
650
  declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
651
651
 
652
- declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between';
652
+ declare type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'contains' | 'startsWith' | 'endsWith' | 'in' | 'not in' | 'between' | 'isNull' | 'isNotNull';
653
653
 
654
654
  declare type OptionsMap = {
655
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.594",
8
+ "version": "0.0.595",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",