react-semaphor 0.0.225 → 0.0.227

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,5 +1,5 @@
1
- import { D as i } from "../chunks/dashboard-plus-kNxInnHG.js";
2
- import "../chunks/index-QNavUyKg.js";
1
+ import { D as i } from "../chunks/dashboard-plus-6RB1NM5A.js";
2
+ import "../chunks/index-XuqiSHf8.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  export {
@@ -136,7 +136,7 @@ declare type FilterOnClick = {
136
136
 
137
137
  export declare type KPICardProps = {
138
138
  card: TCard;
139
- isLoading: boolean;
139
+ isLoading?: boolean;
140
140
  };
141
141
 
142
142
  export declare type LoadingProps = {
@@ -226,6 +226,7 @@ export declare type TBaseQuery = {
226
226
  export declare type TCard = {
227
227
  id: string;
228
228
  title: string;
229
+ tabTitle?: string;
229
230
  description?: string;
230
231
  info?: string;
231
232
  connectionId?: string;
@@ -71,6 +71,7 @@ declare type Actions = {
71
71
  getSelectedSheet: () => TSheet | undefined;
72
72
  getCard: (cardId: string) => TCard | undefined;
73
73
  getSelectedFrame: () => TFrame | undefined;
74
+ getCardFrame: (cardId: string) => TFrame | undefined;
74
75
  getCardSheet: (cardId: string) => TSheet | undefined;
75
76
  getSelectedSheetLayout: () => ReactGridLayout_2.Layout[] | undefined;
76
77
  getSelectedSheetLayouts: () => ReactGridLayout_2.Layouts | undefined;
@@ -96,6 +97,7 @@ declare type Actions_2 = {
96
97
  setIsSqlRunning: (isSqlRunning: boolean) => void;
97
98
  setCard: (card: TCard) => void;
98
99
  setFrame: (frame: TFrame) => void;
100
+ updateCardInFrame: (card: TCard) => void;
99
101
  setSqlGen: (sqlGen: SqlGen) => void;
100
102
  setSqlGenMeasure: (name: string, calc: AggregateCalc) => void;
101
103
  setSqlGenDimension: (dimension: string) => void;
@@ -377,7 +379,7 @@ export declare function isColumnInSqlGen(column: TDataColumn, sqlGen: SqlGen): b
377
379
 
378
380
  export declare type KPICardProps = {
379
381
  card: TCard;
380
- isLoading: boolean;
382
+ isLoading?: boolean;
381
383
  };
382
384
 
383
385
  export declare type LoadingProps = {
@@ -496,6 +498,7 @@ export declare type TBaseQuery = {
496
498
  export declare type TCard = {
497
499
  id: string;
498
500
  title: string;
501
+ tabTitle?: string;
499
502
  description?: string;
500
503
  info?: string;
501
504
  connectionId?: string;
@@ -708,6 +711,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
708
711
  filteringCards?: {
709
712
  id: string;
710
713
  title: string;
714
+ tabTitle?: string | undefined;
711
715
  description?: string | undefined;
712
716
  info?: string | undefined;
713
717
  connectionId?: string | undefined;
@@ -895,6 +899,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
895
899
  cards?: {
896
900
  id: string;
897
901
  title: string;
902
+ tabTitle?: string | undefined;
898
903
  description?: string | undefined;
899
904
  info?: string | undefined;
900
905
  connectionId?: string | undefined;
@@ -1039,6 +1044,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
1039
1044
  cards: {
1040
1045
  id: string;
1041
1046
  title: string;
1047
+ tabTitle?: string | undefined;
1042
1048
  description?: string | undefined;
1043
1049
  info?: string | undefined;
1044
1050
  connectionId?: string | undefined;
@@ -1338,6 +1344,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
1338
1344
  selectedCard?: {
1339
1345
  id: string;
1340
1346
  title: string;
1347
+ tabTitle?: string | undefined;
1341
1348
  description?: string | undefined;
1342
1349
  info?: string | undefined;
1343
1350
  connectionId?: string | undefined;
@@ -1594,6 +1601,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
1594
1601
  getSelectedSheet: () => TSheet | undefined;
1595
1602
  getCard: (cardId: string) => TCard | undefined;
1596
1603
  getSelectedFrame: () => TFrame | undefined;
1604
+ getCardFrame: (cardId: string) => TFrame | undefined;
1597
1605
  getCardSheet: (cardId: string) => TSheet | undefined;
1598
1606
  getSelectedSheetLayout: () => ReactGridLayout_2.Layout[] | undefined;
1599
1607
  getSelectedSheetLayouts: () => ReactGridLayout_2.Layouts | undefined;
@@ -1657,6 +1665,7 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
1657
1665
  setIsSqlRunning: (isSqlRunning: boolean) => void;
1658
1666
  setCard: (card: TCard) => void;
1659
1667
  setFrame: (frame: TFrame) => void;
1668
+ updateCardInFrame: (card: TCard) => void;
1660
1669
  setSqlGen: (sqlGen: SqlGen) => void;
1661
1670
  setSqlGenMeasure: (name: string, calc: AggregateCalc) => void;
1662
1671
  setSqlGenDimension: (dimension: string) => void;
@@ -1695,6 +1704,7 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
1695
1704
  cards: {
1696
1705
  id: string;
1697
1706
  title: string;
1707
+ tabTitle?: string | undefined;
1698
1708
  description?: string | undefined;
1699
1709
  info?: string | undefined;
1700
1710
  connectionId?: string | undefined;
@@ -1839,6 +1849,7 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
1839
1849
  card: {
1840
1850
  id: string;
1841
1851
  title: string;
1852
+ tabTitle?: string | undefined;
1842
1853
  description?: string | undefined;
1843
1854
  info?: string | undefined;
1844
1855
  connectionId?: string | undefined;
@@ -139,7 +139,7 @@ declare type FilterOnClick = {
139
139
 
140
140
  export declare type KPICardProps = {
141
141
  card: TCard;
142
- isLoading: boolean;
142
+ isLoading?: boolean;
143
143
  };
144
144
 
145
145
  export declare type LoadingProps = {
@@ -231,6 +231,7 @@ export declare type TBaseQuery = {
231
231
  export declare type TCard = {
232
232
  id: string;
233
233
  title: string;
234
+ tabTitle?: string;
234
235
  description?: string;
235
236
  info?: string;
236
237
  connectionId?: string;
@@ -133,7 +133,7 @@ declare type FilterOnClick = {
133
133
 
134
134
  export declare type KPICardProps = {
135
135
  card: TCard;
136
- isLoading: boolean;
136
+ isLoading?: boolean;
137
137
  };
138
138
 
139
139
  export declare type LoadingProps = {
@@ -223,6 +223,7 @@ export declare type TBaseQuery = {
223
223
  export declare type TCard = {
224
224
  id: string;
225
225
  title: string;
226
+ tabTitle?: string;
226
227
  description?: string;
227
228
  info?: string;
228
229
  connectionId?: string;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.225",
8
+ "version": "0.0.227",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",