@cellaware/utils 8.15.0 → 8.15.3
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.
|
@@ -26,7 +26,7 @@ export interface BICanvas {
|
|
|
26
26
|
readonly: boolean;
|
|
27
27
|
parameters: BICanvasParameter[];
|
|
28
28
|
folder: string;
|
|
29
|
-
|
|
29
|
+
dataSources: BICanvasDataSource[];
|
|
30
30
|
/** **Important:** includes custom widget datagrid states. */
|
|
31
31
|
state: BICanvasState;
|
|
32
32
|
clientId: string;
|
|
@@ -53,20 +53,19 @@ export interface BICanvasDataSourceContentInfo extends DatagridStateBase {
|
|
|
53
53
|
archive?: boolean;
|
|
54
54
|
}
|
|
55
55
|
export interface BICanvasDataSource {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
canvasDataSourceId: string;
|
|
57
|
+
canvasDataSourceTitle: string;
|
|
58
58
|
canvasId: string;
|
|
59
59
|
contentInfo: BICanvasDataSourceContentInfo;
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
}
|
|
61
|
+
export interface BICanvasCustomWidgetDatagridState extends DatagridStateBase {
|
|
62
|
+
widgetId: string;
|
|
62
63
|
}
|
|
63
64
|
export interface BICanvasState {
|
|
64
65
|
pages: any[];
|
|
65
|
-
panels: any[];
|
|
66
66
|
selectedPageId: string;
|
|
67
|
-
version: string;
|
|
68
67
|
/** Custom widget datagrid states */
|
|
69
|
-
datagridStates:
|
|
68
|
+
datagridStates: BICanvasCustomWidgetDatagridState[];
|
|
70
69
|
}
|
|
71
70
|
export declare function initBICanvasState(): BICanvasState;
|
|
72
71
|
export interface BiCanvasUsage {
|
|
@@ -18,7 +18,7 @@ export function initBICanvas() {
|
|
|
18
18
|
readonly: false,
|
|
19
19
|
parameters: [],
|
|
20
20
|
folder: '',
|
|
21
|
-
|
|
21
|
+
dataSources: [],
|
|
22
22
|
state: initBICanvasState(),
|
|
23
23
|
clientId: '',
|
|
24
24
|
userId: ''
|
|
@@ -26,10 +26,8 @@ export function initBICanvas() {
|
|
|
26
26
|
}
|
|
27
27
|
export function initBICanvasState() {
|
|
28
28
|
return {
|
|
29
|
-
pages: [],
|
|
30
|
-
|
|
31
|
-
selectedPageId: '',
|
|
32
|
-
version: '',
|
|
29
|
+
pages: [{ id: 'page-1' }],
|
|
30
|
+
selectedPageId: 'page-1',
|
|
33
31
|
datagridStates: []
|
|
34
32
|
};
|
|
35
33
|
}
|
package/dist/chatwms/search.d.ts
CHANGED
|
@@ -4,7 +4,9 @@ export declare enum SearchRecordType {
|
|
|
4
4
|
DASHBOARD_FOLDER = "dashboard_folder",
|
|
5
5
|
REPORT = "report",
|
|
6
6
|
REPORT_LINE = "report_line",
|
|
7
|
-
REPORT_FOLDER = "report_folder"
|
|
7
|
+
REPORT_FOLDER = "report_folder",
|
|
8
|
+
BI_CANVAS = "bi-canvas",
|
|
9
|
+
BI_CANVAS_FOLDER = "bi-canvas_folder"
|
|
8
10
|
}
|
|
9
11
|
export interface SearchRecord {
|
|
10
12
|
type: SearchRecordType;
|
package/dist/chatwms/search.js
CHANGED
|
@@ -6,4 +6,6 @@ export var SearchRecordType;
|
|
|
6
6
|
SearchRecordType["REPORT"] = "report";
|
|
7
7
|
SearchRecordType["REPORT_LINE"] = "report_line";
|
|
8
8
|
SearchRecordType["REPORT_FOLDER"] = "report_folder";
|
|
9
|
+
SearchRecordType["BI_CANVAS"] = "bi-canvas";
|
|
10
|
+
SearchRecordType["BI_CANVAS_FOLDER"] = "bi-canvas_folder";
|
|
9
11
|
})(SearchRecordType || (SearchRecordType = {}));
|