semaphor 0.0.123 → 0.0.124
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-WAU6uC9K.js → dashboard-plus-1MhnSpH0.js} +8871 -8559
- package/dist/chunks/dashboard-plus-Bg0LYX7P.js +340 -0
- package/dist/chunks/{index-C3UqoMX_.js → index-CCSxFYi0.js} +23532 -23391
- package/dist/chunks/index-DtPlzxbT.js +977 -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 +3 -3
- 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 +3 -0
- package/dist/types/main.d.ts +17 -4
- package/dist/types/surfboard.d.ts +4 -1
- package/dist/types/types.d.ts +3 -0
- package/package.json +2 -48
- package/dist/chunks/dashboard-plus-nNjDdQ-Z.js +0 -340
- package/dist/chunks/index-D9K5qlK0.js +0 -984
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-Bg0LYX7P.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -945,6 +945,8 @@ export declare type TCardPreferences = {
|
|
|
945
945
|
displayOptions?: {
|
|
946
946
|
showFilterInfo?: boolean;
|
|
947
947
|
showCardToolbar?: boolean;
|
|
948
|
+
showChrome?: boolean;
|
|
949
|
+
allowScroll?: boolean;
|
|
948
950
|
};
|
|
949
951
|
};
|
|
950
952
|
|
|
@@ -1115,6 +1117,7 @@ export declare type TFormatOptions = {
|
|
|
1115
1117
|
|
|
1116
1118
|
export declare type TFrame = {
|
|
1117
1119
|
id: string;
|
|
1120
|
+
visualId?: string;
|
|
1118
1121
|
filterId?: string;
|
|
1119
1122
|
cards: TCard[];
|
|
1120
1123
|
activeCardId: string;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -645,7 +645,7 @@ export declare type Dialect = 'mysql' | 'postgresql' | 'bigquery' | 'redshift' |
|
|
|
645
645
|
|
|
646
646
|
export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
|
|
647
647
|
|
|
648
|
-
export declare function downloadPdf(password?: string): Promise<void>;
|
|
648
|
+
export declare function downloadPdf(apiServiceUrl: string, password?: string): Promise<void>;
|
|
649
649
|
|
|
650
650
|
declare interface DrillActions {
|
|
651
651
|
updateDrillHierarchies: (h: DrillHierarchy[]) => void;
|
|
@@ -964,6 +964,7 @@ export declare function getDashbaordStateWithoutData(dashboardState: TDashboard)
|
|
|
964
964
|
frames: {
|
|
965
965
|
cards: TCard[];
|
|
966
966
|
id: string;
|
|
967
|
+
visualId?: string;
|
|
967
968
|
filterId?: string;
|
|
968
969
|
activeCardId: string;
|
|
969
970
|
}[] | undefined;
|
|
@@ -1054,7 +1055,7 @@ declare interface InlineDrillInteraction {
|
|
|
1054
1055
|
label?: string;
|
|
1055
1056
|
}
|
|
1056
1057
|
|
|
1057
|
-
export declare function invalidateToken(): Promise<any>;
|
|
1058
|
+
export declare function invalidateToken(apiServiceUrl: string): Promise<any>;
|
|
1058
1059
|
|
|
1059
1060
|
export declare function isBooleanDataType(dataType: string): boolean;
|
|
1060
1061
|
|
|
@@ -1283,13 +1284,14 @@ export declare function resolveDatamodelName(datamodelName: string): string;
|
|
|
1283
1284
|
|
|
1284
1285
|
export declare const resolveDataType: (value: any) => string;
|
|
1285
1286
|
|
|
1286
|
-
export declare function ResourceManagementPanel({ isOpen, onClose, className, onDashboardItemClick, }: ResourceManagementPanelProps): JSX_2.Element;
|
|
1287
|
+
export declare function ResourceManagementPanel({ isOpen, onClose, className, onDashboardItemClick, variant, }: ResourceManagementPanelProps): JSX_2.Element;
|
|
1287
1288
|
|
|
1288
1289
|
declare interface ResourceManagementPanelProps {
|
|
1289
1290
|
isOpen: boolean;
|
|
1290
1291
|
onClose: () => void;
|
|
1291
1292
|
className?: string;
|
|
1292
1293
|
onDashboardItemClick?: (dashboardId: string) => void;
|
|
1294
|
+
variant?: 'overlay' | 'inline';
|
|
1293
1295
|
}
|
|
1294
1296
|
|
|
1295
1297
|
export declare enum ResourceType {
|
|
@@ -1417,7 +1419,7 @@ export declare interface SubtotalConfig {
|
|
|
1417
1419
|
pivotBy?: AggregateConfig;
|
|
1418
1420
|
}
|
|
1419
1421
|
|
|
1420
|
-
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element
|
|
1422
|
+
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element;
|
|
1421
1423
|
|
|
1422
1424
|
declare interface TableActions {
|
|
1423
1425
|
updateColumnSettingsMap: (columnSettings: ColumnSettingsMap) => void;
|
|
@@ -1571,6 +1573,8 @@ export declare type TCardPreferences = {
|
|
|
1571
1573
|
displayOptions?: {
|
|
1572
1574
|
showFilterInfo?: boolean;
|
|
1573
1575
|
showCardToolbar?: boolean;
|
|
1576
|
+
showChrome?: boolean;
|
|
1577
|
+
allowScroll?: boolean;
|
|
1574
1578
|
};
|
|
1575
1579
|
};
|
|
1576
1580
|
|
|
@@ -1743,6 +1747,7 @@ export declare type TFormatOptions = {
|
|
|
1743
1747
|
|
|
1744
1748
|
export declare type TFrame = {
|
|
1745
1749
|
id: string;
|
|
1750
|
+
visualId?: string;
|
|
1746
1751
|
filterId?: string;
|
|
1747
1752
|
cards: TCard[];
|
|
1748
1753
|
activeCardId: string;
|
|
@@ -1861,6 +1866,14 @@ export declare type TokenProps = {
|
|
|
1861
1866
|
* UI behavior and feature flags.
|
|
1862
1867
|
*/
|
|
1863
1868
|
config?: UIConfig;
|
|
1869
|
+
/**
|
|
1870
|
+
* Dataservice URL.
|
|
1871
|
+
*/
|
|
1872
|
+
dataServiceUrl: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* API service URL.
|
|
1875
|
+
*/
|
|
1876
|
+
apiServiceUrl: string;
|
|
1864
1877
|
};
|
|
1865
1878
|
|
|
1866
1879
|
/**
|
|
@@ -817,7 +817,7 @@ export declare type StyleProps = {
|
|
|
817
817
|
};
|
|
818
818
|
};
|
|
819
819
|
|
|
820
|
-
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element
|
|
820
|
+
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element;
|
|
821
821
|
|
|
822
822
|
declare type TablePreferences = {
|
|
823
823
|
columnSettingsMap?: ColumnSettingsMap;
|
|
@@ -950,6 +950,8 @@ export declare type TCardPreferences = {
|
|
|
950
950
|
displayOptions?: {
|
|
951
951
|
showFilterInfo?: boolean;
|
|
952
952
|
showCardToolbar?: boolean;
|
|
953
|
+
showChrome?: boolean;
|
|
954
|
+
allowScroll?: boolean;
|
|
953
955
|
};
|
|
954
956
|
};
|
|
955
957
|
|
|
@@ -1120,6 +1122,7 @@ export declare type TFormatOptions = {
|
|
|
1120
1122
|
|
|
1121
1123
|
export declare type TFrame = {
|
|
1122
1124
|
id: string;
|
|
1125
|
+
visualId?: string;
|
|
1123
1126
|
filterId?: string;
|
|
1124
1127
|
cards: TCard[];
|
|
1125
1128
|
activeCardId: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -942,6 +942,8 @@ export declare type TCardPreferences = {
|
|
|
942
942
|
displayOptions?: {
|
|
943
943
|
showFilterInfo?: boolean;
|
|
944
944
|
showCardToolbar?: boolean;
|
|
945
|
+
showChrome?: boolean;
|
|
946
|
+
allowScroll?: boolean;
|
|
945
947
|
};
|
|
946
948
|
};
|
|
947
949
|
|
|
@@ -1112,6 +1114,7 @@ export declare type TFormatOptions = {
|
|
|
1112
1114
|
|
|
1113
1115
|
export declare type TFrame = {
|
|
1114
1116
|
id: string;
|
|
1117
|
+
visualId?: string;
|
|
1115
1118
|
filterId?: string;
|
|
1116
1119
|
cards: TCard[];
|
|
1117
1120
|
activeCardId: 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.
|
|
8
|
+
"version": "0.0.124",
|
|
9
9
|
"description": "Fully interactive and customizable dashboards for your apps.",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"react",
|
|
@@ -39,12 +39,6 @@
|
|
|
39
39
|
},
|
|
40
40
|
"./style.css": "./dist/style.css"
|
|
41
41
|
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"dev": "vite",
|
|
44
|
-
"build": "tsc && vite build",
|
|
45
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
46
|
-
"preview": "vite preview"
|
|
47
|
-
},
|
|
48
42
|
"dependencies": {
|
|
49
43
|
"@ai-sdk/react": "^2.0.7",
|
|
50
44
|
"@dnd-kit/core": "^6.3.1",
|
|
@@ -113,45 +107,5 @@
|
|
|
113
107
|
"peerDependencies": {
|
|
114
108
|
"react": "^18.0.0 || ^19.0.0",
|
|
115
109
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
116
|
-
},
|
|
117
|
-
"devDependencies": {
|
|
118
|
-
"@microsoft/api-extractor": "^7.52.1",
|
|
119
|
-
"@tanstack/react-query-devtools": "^5.62.15",
|
|
120
|
-
"@types/chart.js": "^2.9.41",
|
|
121
|
-
"@types/dompurify": "^3.0.5",
|
|
122
|
-
"@types/jsoneditor": "^9.9.5",
|
|
123
|
-
"@types/lodash.merge": "^4.6.9",
|
|
124
|
-
"@types/ms": "^0.7.34",
|
|
125
|
-
"@types/node": "^20.14.2",
|
|
126
|
-
"@types/postcss-prefix-selector": "^1.16.3",
|
|
127
|
-
"@types/prismjs": "^1.26.3",
|
|
128
|
-
"@types/react": "^18.2.43",
|
|
129
|
-
"@types/react-dom": "^18.2.17",
|
|
130
|
-
"@types/react-grid-layout": "^1.3.5",
|
|
131
|
-
"@types/uuid": "^9.0.7",
|
|
132
|
-
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
133
|
-
"@typescript-eslint/parser": "^6.14.0",
|
|
134
|
-
"@vitejs/plugin-react": "^4.2.1",
|
|
135
|
-
"and": "^0.0.3",
|
|
136
|
-
"autoprefixer": "^10.4.18",
|
|
137
|
-
"babel-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
|
|
138
|
-
"eslint": "^8.55.0",
|
|
139
|
-
"eslint-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
|
|
140
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
141
|
-
"eslint-plugin-react-refresh": "^0.4.5",
|
|
142
|
-
"path": "^0.12.7",
|
|
143
|
-
"postcss": "^8.4.35",
|
|
144
|
-
"postcss-prefix-selector": "^2.1.0",
|
|
145
|
-
"postcss-preset-env": "^10.0.9",
|
|
146
|
-
"prettier-plugin-tailwindcss": "^0.6.1",
|
|
147
|
-
"react": "^18.2.0",
|
|
148
|
-
"react-dom": "^18.2.0",
|
|
149
|
-
"rollup-plugin-visualizer": "^5.12.0",
|
|
150
|
-
"simple-zustand-devtools": "^1.1.0",
|
|
151
|
-
"tailwindcss": "^3.4.1",
|
|
152
|
-
"typescript": "^5.4.5",
|
|
153
|
-
"vite": "^5.0.8",
|
|
154
|
-
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
155
|
-
"vite-plugin-dts": "^4.5.0"
|
|
156
110
|
}
|
|
157
|
-
}
|
|
111
|
+
}
|