@sisense/sdk-ui 1.11.0 → 1.12.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/buttons/thumbs-down-button.d.ts +2 -1
- package/dist/ai/buttons/thumbs-up-button.d.ts +2 -1
- package/dist/ai/chat-config.d.ts +10 -0
- package/dist/ai/chat-dropup.d.ts +2 -1
- package/dist/ai/chat-input.d.ts +3 -1
- package/dist/ai/common/icon-button.d.ts +2 -3
- package/dist/ai/icons/light-bulb-icon.d.ts +1 -3
- package/dist/ai/index.d.ts +1 -0
- package/dist/ai/messages/clickable-message.d.ts +2 -1
- package/dist/ai/messages/feedback-wrapper.d.ts +2 -2
- package/dist/ai/messages/text-message.d.ts +5 -0
- package/dist/ai/use-last-nlq-response.d.ts +19 -0
- package/dist/ai.cjs +454 -0
- package/dist/ai.js +1073 -1074
- package/dist/api/types/dashboard-dto.d.ts +2 -1
- package/dist/app/client-application.d.ts +1 -0
- package/dist/chart/helpers/use-chart-renderer-props.d.ts +1 -0
- package/dist/chart-options-processor/translations/funnel-plot-options.d.ts +2 -1
- package/dist/chart-options-processor/translations/pie-plot-options.d.ts +2 -1
- package/dist/common/components/loading-indicator.d.ts +17 -4
- package/dist/common/hooks/use-fetch.d.ts +1 -1
- package/dist/common/hooks/use-has-changed.d.ts +9 -0
- package/dist/common/hooks/use-should-load.d.ts +12 -0
- package/dist/dashboard/components/content-panel.d.ts +41 -0
- package/dist/dashboard/components/dashboard-container.d.ts +2 -0
- package/dist/dashboard/components/dashboard-header.d.ts +2 -0
- package/dist/dashboard/components/plugin-service.d.ts +21 -0
- package/dist/dashboard/constants.d.ts +2 -0
- package/dist/dashboard/dashboard-by-id.d.ts +7 -0
- package/dist/dashboard/dashboard.d.ts +8 -0
- package/dist/dashboard/types.d.ts +41 -0
- package/dist/dashboard/utils.d.ts +5 -0
- package/dist/dynamic-size-container/dynamic-size-container.d.ts +8 -0
- package/dist/filters/components/common/date-range-field-button.d.ts +3 -6
- package/dist/filters/components/date-filter/date-filter/date-filter.d.ts +15 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-display.d.ts +6 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +6 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/editable-date-range-filter.d.ts +14 -0
- package/dist/filters/components/date-filter/date-range-filter-tile/use-date-limits.d.ts +1 -2
- package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter.d.ts +2 -2
- package/dist/filters/components/icons/arrow-icon.d.ts +6 -0
- package/dist/filters/components/icons/double-arrow-icon.d.ts +6 -0
- package/dist/highcharts-memorized.d.ts +1 -1
- package/dist/index.cjs +784 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11798 -11496
- package/dist/models/dashboard/dashboard-model.d.ts +62 -0
- package/dist/models/dashboard/get-dashboard-model.d.ts +2 -1
- package/dist/models/dashboard/get-dashboard-models.d.ts +2 -1
- package/dist/models/dashboard/index.d.ts +1 -1
- package/dist/models/dashboard/translate-dashboard-utils.d.ts +5 -0
- package/dist/models/dashboard/types.d.ts +2 -14
- package/dist/models/dashboard/use-get-dashboard-model.d.ts +1 -1
- package/dist/models/dashboard/use-get-dashboard-models.d.ts +1 -1
- package/dist/query-execution/query-params-comparator.d.ts +1 -7
- package/dist/query-execution/use-execute-pivot-query.d.ts +2 -5
- package/dist/query-execution/use-execute-query-by-widget-id.d.ts +3 -4
- package/dist/translation/resources/en.d.ts +1 -0
- package/dist/translation/resources/index.d.ts +2 -0
- package/dist/types.d.ts +31 -10
- package/dist/{debounce-BbwkW3DX.js → useQuery-0UWck_2A.js} +12729 -12646
- package/dist/useQuery-DVHD0kJ-.cjs +603 -0
- package/dist/utils/create-cache.d.ts +0 -1
- package/dist/utils/utility-types.d.ts +1 -0
- package/dist/widgets/common/drilldown-breadcrumbs/styled-buttons.d.ts +2 -2
- package/package.json +13 -9
- package/dist/ai/icons/thumbs-down-hovered-icon.d.ts +0 -2
- package/dist/ai/icons/thumbs-up-hovered-icon.d.ts +0 -2
- package/dist/ai/messages/clear-history-success-message.d.ts +0 -1
- package/dist/filters/components/icons/arrow-right-icon.d.ts +0 -2
- package/dist/filters/components/icons/double-arrow-right-icon.d.ts +0 -2
- package/dist/models/dashboard/translate-dashboard.d.ts +0 -4
|
@@ -19,7 +19,6 @@ type CacheOptions = {
|
|
|
19
19
|
* @returns - object with two methods: withCache and clearCache.
|
|
20
20
|
* "withCache" is a function that wraps the async function you want to cache.
|
|
21
21
|
* "clearCache" is a function to clear the cache.
|
|
22
|
-
*
|
|
23
22
|
* @example
|
|
24
23
|
* const myAsyncFn = async (a: number, b: number) => a + b;
|
|
25
24
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledPrevButton: import("@emotion/styled").StyledComponent<import("@mui/material/IconButton").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
-
}, "children" | "style" | "disabled" | "size" | "className" | "tabIndex" | "color" | "
|
|
4
|
+
}, "children" | "style" | "disabled" | "size" | "className" | "tabIndex" | "color" | "sx" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export declare const StyledNextButton: import("@emotion/styled").StyledComponent<import("@mui/material/IconButton").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
8
8
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
9
|
-
}, "children" | "style" | "disabled" | "size" | "className" | "tabIndex" | "color" | "
|
|
9
|
+
}, "children" | "style" | "disabled" | "size" | "className" | "tabIndex" | "color" | "sx" | "classes" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
}, {}, {}>;
|
package/package.json
CHANGED
|
@@ -11,19 +11,23 @@
|
|
|
11
11
|
"Sisense",
|
|
12
12
|
"Compose SDK"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.12.0",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
|
+
"require": "./dist/index.cjs",
|
|
19
|
+
"import": "./dist/index.js",
|
|
18
20
|
"types": "./dist/index.d.ts",
|
|
19
21
|
"default": "./dist/index.js"
|
|
20
22
|
},
|
|
21
23
|
"./ai": {
|
|
22
24
|
"types": "./dist/ai.d.ts",
|
|
23
|
-
"default": "./dist/ai.js"
|
|
25
|
+
"default": "./dist/ai.js",
|
|
26
|
+
"require": "./dist/index.cjs",
|
|
27
|
+
"import": "./dist/index.js"
|
|
24
28
|
}
|
|
25
29
|
},
|
|
26
|
-
"main": "./dist/index.
|
|
30
|
+
"main": "./dist/index.cjs",
|
|
27
31
|
"module": "./dist/index.js",
|
|
28
32
|
"types": "./dist/index.d.ts",
|
|
29
33
|
"typesVersions": {
|
|
@@ -40,12 +44,12 @@
|
|
|
40
44
|
"@emotion/styled": "^11.10.5",
|
|
41
45
|
"@mui/material": "^5.15.16",
|
|
42
46
|
"@mui/system": "^5.15.15",
|
|
43
|
-
"@sisense/sdk-common": "^1.
|
|
44
|
-
"@sisense/sdk-data": "^1.
|
|
45
|
-
"@sisense/sdk-pivot-client": "^1.
|
|
46
|
-
"@sisense/sdk-query-client": "^1.
|
|
47
|
-
"@sisense/sdk-rest-client": "^1.
|
|
48
|
-
"@sisense/sdk-tracking": "^1.
|
|
47
|
+
"@sisense/sdk-common": "^1.12.0",
|
|
48
|
+
"@sisense/sdk-data": "^1.12.0",
|
|
49
|
+
"@sisense/sdk-pivot-client": "^1.12.0",
|
|
50
|
+
"@sisense/sdk-query-client": "^1.12.0",
|
|
51
|
+
"@sisense/sdk-rest-client": "^1.12.0",
|
|
52
|
+
"@sisense/sdk-tracking": "^1.12.0",
|
|
49
53
|
"@sisense/sisense-charts": "5.1.1",
|
|
50
54
|
"@tanstack/react-query": "4.36.1",
|
|
51
55
|
"classnames": "^2.3.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function ClearHistorySuccessMessage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { DashboardDto, Layout as SisenseLayout } from '../../api/types/dashboard-dto';
|
|
2
|
-
import type { Layout, DashboardModel } from './types';
|
|
3
|
-
export declare const translateLayout: (layout: SisenseLayout) => Layout;
|
|
4
|
-
export declare function translateDashboard({ oid, title, datasource, widgets, layout, filters, }: DashboardDto): DashboardModel;
|