react-semaphor 0.0.531 → 0.0.533
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-CBqYgo9v.js +415 -0
- package/dist/chunks/dashboard-plus-LY9WbqgF.js +17070 -0
- package/dist/chunks/{index-CSzoJ0Vu.js → index-BhTIunBg.js} +152 -147
- package/dist/chunks/{index-Bgv1quza.js → index-DmhuwPdU.js} +20032 -18704
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +32 -30
- 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 -0
- package/dist/types/main.d.ts +33 -2
- package/dist/types/surfboard.d.ts +4 -0
- package/dist/types/types.d.ts +4 -0
- package/package.json +5 -3
- package/dist/chunks/dashboard-plus-36t0UDQM.js +0 -370
- package/dist/chunks/dashboard-plus-B2LMwG03.js +0 -13270
|
@@ -468,6 +468,7 @@ export declare type GetPluginsResponse = {
|
|
|
468
468
|
plugins: {
|
|
469
469
|
label: string;
|
|
470
470
|
value: string;
|
|
471
|
+
type: PluginType;
|
|
471
472
|
}[];
|
|
472
473
|
};
|
|
473
474
|
|
|
@@ -635,6 +636,8 @@ export declare type Placeholders = {
|
|
|
635
636
|
SessionExpired?: React.ReactNode;
|
|
636
637
|
};
|
|
637
638
|
|
|
639
|
+
export declare type PluginType = 'custom' | 'standard';
|
|
640
|
+
|
|
638
641
|
declare interface QueryConfig {
|
|
639
642
|
groupByColumns?: GroupByColumn[];
|
|
640
643
|
pivotColumns?: GroupByColumn[];
|
|
@@ -858,6 +861,7 @@ export declare type TCustomCardPreferences = {
|
|
|
858
861
|
url: string;
|
|
859
862
|
componentName: string;
|
|
860
863
|
icon?: string;
|
|
864
|
+
pluginChartType?: string;
|
|
861
865
|
type?: 'iframe' | 'component';
|
|
862
866
|
visualType?: 'single' | 'multiple';
|
|
863
867
|
settings?: any;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ declare type Actions = {
|
|
|
107
107
|
addBaseQuery: (baseQuery: TBaseQuery) => void;
|
|
108
108
|
removeBaseQuery: (baseQueryId: string) => void;
|
|
109
109
|
setBaseQueries: (baseQueries: TBaseQuery[]) => void;
|
|
110
|
+
setIsDashboardPanelOpen: (open: boolean) => void;
|
|
110
111
|
};
|
|
111
112
|
|
|
112
113
|
declare type Actions_2 = TableActions & ExplorerActions & DrillActions & {
|
|
@@ -477,6 +478,7 @@ export declare type DashboardStore = {
|
|
|
477
478
|
showDashboardJSON: boolean;
|
|
478
479
|
showFilters: boolean;
|
|
479
480
|
filterValues?: TFilterValue[];
|
|
481
|
+
isDashboardPanelOpen: boolean;
|
|
480
482
|
onEvent?: (event: TEvent) => void;
|
|
481
483
|
onSaveFunction?: (dashboard: TDashboard, description?: string) => void;
|
|
482
484
|
onAddFrame?: (card: TFrame, sheetId: string) => void;
|
|
@@ -906,6 +908,7 @@ export declare type GetPluginsResponse = {
|
|
|
906
908
|
plugins: {
|
|
907
909
|
label: string;
|
|
908
910
|
value: string;
|
|
911
|
+
type: PluginType;
|
|
909
912
|
}[];
|
|
910
913
|
};
|
|
911
914
|
|
|
@@ -1096,6 +1099,8 @@ export declare type Placeholders = {
|
|
|
1096
1099
|
SessionExpired?: React.ReactNode;
|
|
1097
1100
|
};
|
|
1098
1101
|
|
|
1102
|
+
export declare type PluginType = 'custom' | 'standard';
|
|
1103
|
+
|
|
1099
1104
|
export declare type QueryColumn = GroupByColumn | MetricColumn | FilterByColumn;
|
|
1100
1105
|
|
|
1101
1106
|
export declare interface QueryConfig {
|
|
@@ -1124,6 +1129,14 @@ export declare function resolveDatamodelName(datamodelName: string): string;
|
|
|
1124
1129
|
|
|
1125
1130
|
export declare const resolveDataType: (value: any) => string;
|
|
1126
1131
|
|
|
1132
|
+
export declare function ResourceManagementPanel({ isOpen, onClose, className, }: ResourceManagementPanelProps): JSX_2.Element;
|
|
1133
|
+
|
|
1134
|
+
declare interface ResourceManagementPanelProps {
|
|
1135
|
+
isOpen: boolean;
|
|
1136
|
+
onClose: () => void;
|
|
1137
|
+
className?: string;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1127
1140
|
export declare function ScheduleDashboard({ triggerButtonClassName, }: {
|
|
1128
1141
|
triggerButtonClassName?: string;
|
|
1129
1142
|
}): JSX_2.Element;
|
|
@@ -1155,6 +1168,11 @@ declare type SelectProps = {
|
|
|
1155
1168
|
type?: 'select' | 'combobox';
|
|
1156
1169
|
};
|
|
1157
1170
|
|
|
1171
|
+
export declare const SemaphorContextProvider: ({ children, dashboardProps, }: {
|
|
1172
|
+
children: React.ReactNode;
|
|
1173
|
+
dashboardProps: DashboardProps;
|
|
1174
|
+
}) => JSX_2.Element;
|
|
1175
|
+
|
|
1158
1176
|
declare function SemaphorQueryClient({ children, }: {
|
|
1159
1177
|
children: React.ReactNode;
|
|
1160
1178
|
}): JSX_2.Element;
|
|
@@ -1384,6 +1402,7 @@ export declare type TCustomCardPreferences = {
|
|
|
1384
1402
|
url: string;
|
|
1385
1403
|
componentName: string;
|
|
1386
1404
|
icon?: string;
|
|
1405
|
+
pluginChartType?: string;
|
|
1387
1406
|
type?: 'iframe' | 'component';
|
|
1388
1407
|
visualType?: 'single' | 'multiple';
|
|
1389
1408
|
settings?: any;
|
|
@@ -1535,13 +1554,25 @@ export declare type TokenRequest = {
|
|
|
1535
1554
|
*/
|
|
1536
1555
|
tenantId?: string;
|
|
1537
1556
|
/**
|
|
1538
|
-
* Unique identifier of the
|
|
1557
|
+
* Unique identifier of the tenant user accessing the dashboard.
|
|
1539
1558
|
*/
|
|
1540
1559
|
endUserId?: string;
|
|
1541
1560
|
/**
|
|
1542
|
-
* Email of the
|
|
1561
|
+
* Email of the tenant user (for personalization, audit, or identification).
|
|
1543
1562
|
*/
|
|
1544
1563
|
endUserEmail?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* Unique identifier of the org user accessing the dashboard.
|
|
1566
|
+
*/
|
|
1567
|
+
orgUserId?: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* Email of the org user (for personalization, audit, or identification).
|
|
1570
|
+
*/
|
|
1571
|
+
orgUserEmail?: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* Display name of the end user.
|
|
1574
|
+
*/
|
|
1575
|
+
displayName?: string;
|
|
1545
1576
|
/**
|
|
1546
1577
|
* Enables self-service editing and lens creation by the end user.
|
|
1547
1578
|
*/
|
|
@@ -471,6 +471,7 @@ export declare type GetPluginsResponse = {
|
|
|
471
471
|
plugins: {
|
|
472
472
|
label: string;
|
|
473
473
|
value: string;
|
|
474
|
+
type: PluginType;
|
|
474
475
|
}[];
|
|
475
476
|
};
|
|
476
477
|
|
|
@@ -638,6 +639,8 @@ export declare type Placeholders = {
|
|
|
638
639
|
SessionExpired?: React.ReactNode;
|
|
639
640
|
};
|
|
640
641
|
|
|
642
|
+
export declare type PluginType = 'custom' | 'standard';
|
|
643
|
+
|
|
641
644
|
declare interface QueryConfig {
|
|
642
645
|
groupByColumns?: GroupByColumn[];
|
|
643
646
|
pivotColumns?: GroupByColumn[];
|
|
@@ -863,6 +866,7 @@ export declare type TCustomCardPreferences = {
|
|
|
863
866
|
url: string;
|
|
864
867
|
componentName: string;
|
|
865
868
|
icon?: string;
|
|
869
|
+
pluginChartType?: string;
|
|
866
870
|
type?: 'iframe' | 'component';
|
|
867
871
|
visualType?: 'single' | 'multiple';
|
|
868
872
|
settings?: any;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -465,6 +465,7 @@ export declare type GetPluginsResponse = {
|
|
|
465
465
|
plugins: {
|
|
466
466
|
label: string;
|
|
467
467
|
value: string;
|
|
468
|
+
type: PluginType;
|
|
468
469
|
}[];
|
|
469
470
|
};
|
|
470
471
|
|
|
@@ -632,6 +633,8 @@ export declare type Placeholders = {
|
|
|
632
633
|
SessionExpired?: React.ReactNode;
|
|
633
634
|
};
|
|
634
635
|
|
|
636
|
+
export declare type PluginType = 'custom' | 'standard';
|
|
637
|
+
|
|
635
638
|
declare interface QueryConfig {
|
|
636
639
|
groupByColumns?: GroupByColumn[];
|
|
637
640
|
pivotColumns?: GroupByColumn[];
|
|
@@ -855,6 +858,7 @@ export declare type TCustomCardPreferences = {
|
|
|
855
858
|
url: string;
|
|
856
859
|
componentName: string;
|
|
857
860
|
icon?: string;
|
|
861
|
+
pluginChartType?: string;
|
|
858
862
|
type?: 'iframe' | 'component';
|
|
859
863
|
visualType?: 'single' | 'multiple';
|
|
860
864
|
settings?: any;
|
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.533",
|
|
9
9
|
"description": "Fully interactive and customizable dashboards for your apps.",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"react",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"@r2wc/react-to-web-component": "^2.0.4",
|
|
56
56
|
"@radix-ui/react-accordion": "^1.2.2",
|
|
57
57
|
"@radix-ui/react-alert-dialog": "^1.1.4",
|
|
58
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
58
59
|
"@radix-ui/react-checkbox": "^1.1.3",
|
|
59
60
|
"@radix-ui/react-collapsible": "^1.1.2",
|
|
60
61
|
"@radix-ui/react-context-menu": "^2.2.15",
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"@radix-ui/react-scroll-area": "^1.2.2",
|
|
70
71
|
"@radix-ui/react-select": "^2.1.4",
|
|
71
72
|
"@radix-ui/react-separator": "^1.1.1",
|
|
73
|
+
"@radix-ui/react-slider": "^1.3.5",
|
|
72
74
|
"@radix-ui/react-slot": "^1.2.2",
|
|
73
75
|
"@radix-ui/react-switch": "^1.1.2",
|
|
74
76
|
"@radix-ui/react-tabs": "^1.1.2",
|
|
@@ -108,8 +110,8 @@
|
|
|
108
110
|
"zustand": "^4.4.7"
|
|
109
111
|
},
|
|
110
112
|
"peerDependencies": {
|
|
111
|
-
"react": "^18.0.0",
|
|
112
|
-
"react-dom": "^18.0.0"
|
|
113
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
114
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
113
115
|
},
|
|
114
116
|
"devDependencies": {
|
|
115
117
|
"@microsoft/api-extractor": "^7.52.1",
|