@sisense/sdk-ui 1.15.0 → 1.16.0
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/ai.cjs +50 -50
- package/dist/ai.js +112 -111
- package/dist/analytics-composer/index.d.ts +1 -0
- package/dist/analytics-composer/translators/code-templates.d.ts +11 -0
- package/dist/analytics-composer/translators/generate-code.d.ts +18 -0
- package/dist/analytics-composer/translators/index.d.ts +3 -0
- package/dist/analytics-composer/translators/model-translator.d.ts +48 -0
- package/dist/analytics-composer/translators/query-templates.d.ts +1 -0
- package/dist/analytics-composer/translators/query-translator.d.ts +134 -0
- package/dist/analytics-composer/translators/translate-filters-to-code.d.ts +2 -0
- package/dist/analytics-composer/translators/translate-props-to-code.d.ts +8 -0
- package/dist/analytics-composer/translators/types.d.ts +95 -0
- package/dist/analytics-composer/translators/utils.d.ts +13 -0
- package/dist/analytics-composer.cjs +239 -0
- package/dist/analytics-composer.d.ts +1 -0
- package/dist/analytics-composer.js +5435 -0
- package/dist/api/rest-api.d.ts +5 -0
- package/dist/api/types/dashboard-dto.d.ts +8 -0
- package/dist/api/types/palette-dto.d.ts +9 -0
- package/dist/app/settings/settings.d.ts +5 -0
- package/dist/app/settings/types/features.d.ts +6 -0
- package/dist/chart/advanced-chart.d.ts +7 -0
- package/dist/chart-data/advanced-analytics-data.d.ts +50 -0
- package/dist/chart-data/types.d.ts +1 -0
- package/dist/chart-data-options/types.d.ts +33 -4
- package/dist/chart-options-processor/advanced-chart-options.d.ts +24 -0
- package/dist/chart-options-processor/cartesian-chart-options.d.ts +2 -1
- package/dist/chart-options-processor/chart-options-service.d.ts +5 -0
- package/dist/chart-options-processor/translations/axis-section.d.ts +2 -2
- package/dist/chart-options-processor/translations/legend-section.d.ts +2 -0
- package/dist/chart-options-processor/translations/tooltip-utils.d.ts +1 -0
- package/dist/chart-options-processor/translations/tooltip.d.ts +4 -2
- package/dist/common/components/loading-indicator.d.ts +14 -0
- package/dist/common-filters/cascading-utils.d.ts +30 -0
- package/dist/common-filters/common-filters-connector.d.ts +7 -1
- package/dist/common-filters/types.d.ts +9 -4
- package/dist/common-filters/utils.d.ts +3 -2
- package/dist/dashboard/dashboard-by-id.d.ts +2 -0
- package/dist/dashboard/dashboard.d.ts +3 -1
- package/dist/dashboard/types.d.ts +2 -1
- package/dist/dashboard-widget/dashboard-widget.d.ts +2 -0
- package/dist/dashboard-widget/translate-widget-data-options.d.ts +1 -1
- package/dist/dashboard-widget/translate-widget-style-options.d.ts +11 -2
- package/dist/dashboard-widget/types.d.ts +26 -8
- package/dist/dashboard-widget/utils.d.ts +8 -0
- package/dist/filters/components/date-filter/date-filter/date-filter.d.ts +1 -0
- package/dist/filters/utils.d.ts +1 -0
- package/dist/get-widget-options-D008Wku-.cjs +172 -0
- package/dist/get-widget-options-Xskksk4X.js +34154 -0
- package/dist/index.cjs +195 -194
- package/dist/index.js +12388 -12114
- package/dist/models/dashboard/dashboard-model.d.ts +10 -2
- package/dist/models/dashboard/get-dashboard-model.d.ts +13 -2
- package/dist/models/dashboard/types.d.ts +5 -0
- package/dist/models/dashboard/use-get-dashboard-model.d.ts +2 -0
- package/dist/models/dashboard/use-get-dashboard-models.d.ts +2 -0
- package/dist/models/widget/get-widget-model.d.ts +13 -2
- package/dist/models/widget/translate-widget.d.ts +9 -1
- package/dist/models/widget/use-get-widget-model.d.ts +2 -0
- package/dist/models/widget/widget-model.d.ts +5 -3
- package/dist/pivot-table/use-get-pivot-table-query.d.ts +2 -6
- package/dist/props.d.ts +13 -5
- package/dist/query-execution/execute-query-by-widget-id.d.ts +2 -0
- package/dist/query-execution/index.d.ts +1 -1
- package/dist/query-execution/types.d.ts +11 -2
- package/dist/query-execution/use-execute-query-by-widget-id.d.ts +5 -5
- package/dist/themes/legacy-design-settings.d.ts +14 -0
- package/dist/translation/resources/en.d.ts +9 -0
- package/dist/translation/resources/index.d.ts +18 -0
- package/dist/types.d.ts +51 -9
- package/dist/useQuery-DeK1uDeJ.js +43001 -0
- package/dist/useQuery-aWnvBOTu.cjs +433 -0
- package/dist/utils/filters.d.ts +2 -0
- package/dist/widgets/common/widget-container.d.ts +2 -2
- package/dist/widgets/common/widget-header-info-button.d.ts +2 -2
- package/dist/widgets/common/widget-header.d.ts +2 -2
- package/dist/widgets/common/widget-style-utils.d.ts +5 -4
- package/package.json +18 -8
- package/dist/useQuery-_uFMiGSv.cjs +0 -603
- package/dist/useQuery-cpEwRbs9.js +0 -76791
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { WidgetContainerStyleOptions } from '../../types';
|
|
3
3
|
interface WidgetContainerProps {
|
|
4
4
|
dataSetName?: string;
|
|
5
|
-
styleOptions?:
|
|
5
|
+
styleOptions?: WidgetContainerStyleOptions;
|
|
6
6
|
title?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
topSlot?: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WidgetContainerStyleOptions } from '../../types';
|
|
2
2
|
export default function WidgetHeaderInfoButton({ title, description, styleOptions, onRefresh, }: {
|
|
3
3
|
title?: string;
|
|
4
4
|
description?: string;
|
|
5
|
-
styleOptions?:
|
|
5
|
+
styleOptions?: WidgetContainerStyleOptions['header'];
|
|
6
6
|
onRefresh: () => void;
|
|
7
7
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { WidgetContainerStyleOptions } from '../../types';
|
|
3
3
|
interface WidgetHeaderProps {
|
|
4
4
|
onRefresh: () => void;
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
dataSetName?: string;
|
|
8
|
-
styleOptions?:
|
|
8
|
+
styleOptions?: WidgetContainerStyleOptions['header'];
|
|
9
9
|
}
|
|
10
10
|
export declare const WidgetHeader: React.FC<WidgetHeaderProps>;
|
|
11
11
|
export {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CompleteThemeSettings, WidgetContainerStyleOptions } from '../../types';
|
|
2
2
|
export declare enum WidgetCornerRadius {
|
|
3
|
+
'None' = "",
|
|
3
4
|
'Large' = "30px",
|
|
4
5
|
'Medium' = "20px",
|
|
5
6
|
'Small' = "10px"
|
|
6
7
|
}
|
|
7
8
|
export declare enum WidgetSpaceAround {
|
|
9
|
+
'None' = "",
|
|
8
10
|
'Large' = "15px",
|
|
9
11
|
'Medium' = "10px",
|
|
10
|
-
'Small' = "5px"
|
|
11
|
-
'None' = "0px"
|
|
12
|
+
'Small' = "5px"
|
|
12
13
|
}
|
|
13
|
-
export declare const getShadowValue: (
|
|
14
|
+
export declare const getShadowValue: (styleOptions: WidgetContainerStyleOptions | undefined, themeSettings: CompleteThemeSettings) => string;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"Sisense",
|
|
12
12
|
"Compose SDK"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.16.0",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
@@ -25,6 +25,12 @@
|
|
|
25
25
|
"require": "./dist/ai.cjs",
|
|
26
26
|
"import": "./dist/ai.js",
|
|
27
27
|
"default": "./dist/ai.js"
|
|
28
|
+
},
|
|
29
|
+
"./analytics-composer": {
|
|
30
|
+
"types": "./dist/analytics-composer.d.ts",
|
|
31
|
+
"require": "./dist/analytics-composer.cjs",
|
|
32
|
+
"import": "./dist/analytics-composer.js",
|
|
33
|
+
"default": "./dist/analytics-composer.js"
|
|
28
34
|
}
|
|
29
35
|
},
|
|
30
36
|
"main": "./dist/index.cjs",
|
|
@@ -34,6 +40,9 @@
|
|
|
34
40
|
"*": {
|
|
35
41
|
"ai": [
|
|
36
42
|
"./dist/ai.d.ts"
|
|
43
|
+
],
|
|
44
|
+
"analytics-composer": [
|
|
45
|
+
"./dist/analytics-composer.d.ts"
|
|
37
46
|
]
|
|
38
47
|
}
|
|
39
48
|
},
|
|
@@ -44,12 +53,12 @@
|
|
|
44
53
|
"@emotion/styled": "^11.10.5",
|
|
45
54
|
"@mui/material": "^5.15.16",
|
|
46
55
|
"@mui/system": "^5.15.15",
|
|
47
|
-
"@sisense/sdk-common": "^1.
|
|
48
|
-
"@sisense/sdk-data": "^1.
|
|
49
|
-
"@sisense/sdk-pivot-client": "^1.
|
|
50
|
-
"@sisense/sdk-query-client": "^1.
|
|
51
|
-
"@sisense/sdk-rest-client": "^1.
|
|
52
|
-
"@sisense/sdk-tracking": "^1.
|
|
56
|
+
"@sisense/sdk-common": "^1.16.0",
|
|
57
|
+
"@sisense/sdk-data": "^1.16.0",
|
|
58
|
+
"@sisense/sdk-pivot-client": "^1.16.0",
|
|
59
|
+
"@sisense/sdk-query-client": "^1.16.0",
|
|
60
|
+
"@sisense/sdk-rest-client": "^1.16.0",
|
|
61
|
+
"@sisense/sdk-tracking": "^1.16.0",
|
|
53
62
|
"@sisense/sisense-charts": "5.1.1",
|
|
54
63
|
"@tanstack/react-query": "4.36.1",
|
|
55
64
|
"classnames": "^2.3.2",
|
|
@@ -72,7 +81,8 @@
|
|
|
72
81
|
"react-number-format": "^5.1.0",
|
|
73
82
|
"ts-deepmerge": "6.0.2",
|
|
74
83
|
"ts-essentials": "^9.3.0",
|
|
75
|
-
"whatwg-fetch": "^3.6.2"
|
|
84
|
+
"whatwg-fetch": "^3.6.2",
|
|
85
|
+
"yaml": "^2.4.5"
|
|
76
86
|
},
|
|
77
87
|
"scripts": {
|
|
78
88
|
"dev": "vite",
|