@sisense/sdk-ui 1.22.0 → 1.23.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 +54 -46
- package/dist/ai.js +756 -685
- package/dist/analytics-composer.cjs +89 -148
- package/dist/analytics-composer.js +1196 -1479
- package/dist/{get-widget-options-DTIulxC2.js → derive-chart-family-CTpRObm1.js} +8710 -8846
- package/dist/{get-widget-options-DixoCEhn.cjs → derive-chart-family-DcALKnKU.cjs} +83 -83
- package/dist/index.cjs +114 -114
- package/dist/index.js +6658 -6501
- package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/api/types.d.ts +3 -23
- package/dist/packages/sdk-ui/src/ai/chart/chart-insights.d.ts +5 -0
- package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +41 -0
- package/dist/packages/sdk-ui/src/ai/icons/ai-icon.d.ts +2 -0
- package/dist/packages/sdk-ui/src/ai/index.d.ts +2 -3
- package/dist/packages/sdk-ui/src/ai/messages/chart-message.d.ts +1 -2
- package/dist/packages/sdk-ui/src/ai/use-get-data-source-fields.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/{translators → code}/code-templates.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/{translators → code}/generate-code.d.ts +3 -3
- package/dist/packages/sdk-ui/src/analytics-composer/{translators → common}/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +12 -1
- package/dist/packages/sdk-ui/src/analytics-composer/query/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/analytics-composer/{translators → query}/query-translator.d.ts +2 -3
- package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +149 -0
- package/dist/packages/sdk-ui/src/{ai/messages → analytics-composer/widget/chart-options}/get-widget-options.d.ts +5 -14
- package/dist/packages/sdk-ui/src/analytics-composer/widget/stringify-filters.d.ts +2 -0
- package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-code.d.ts +3 -0
- package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-props.d.ts +3 -0
- package/dist/packages/sdk-ui/src/analytics-composer/widget/widget-composer.d.ts +15 -0
- package/dist/packages/sdk-ui/src/api/rest-api.d.ts +1 -1
- package/dist/packages/sdk-ui/src/api/types/dashboard-dto.d.ts +1 -1
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +7 -7
- package/dist/packages/sdk-ui/src/app/settings/types/user.d.ts +0 -1
- package/dist/packages/sdk-ui/src/chart/helpers/derive-chart-family.d.ts +8 -0
- package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/components/menu/types.d.ts +1 -0
- package/dist/packages/sdk-ui/src/filters/components/common/member-radio.d.ts +8 -0
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-list.d.ts +1 -0
- package/dist/packages/sdk-ui/src/index.d.ts +12 -7
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-dto-utils.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-model.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/hierarchy/hierarchy-model-translator.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/props.d.ts +18 -14
- package/dist/packages/sdk-ui/src/query-execution/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/sisense-context/custom-sisense-context-provider.d.ts +1 -3
- package/dist/packages/sdk-ui/src/sisense-context/sisense-context.d.ts +3 -0
- package/dist/packages/sdk-ui/src/translation/i18n-provider.d.ts +3 -1
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +17 -2
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +12 -4
- package/dist/packages/sdk-ui/src/types.d.ts +12 -5
- package/dist/packages/sdk-ui/src/utils/filters.d.ts +1 -0
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/dashboard-widget.d.ts +2 -1
- package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +4800 -0
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-panel-color-format.d.ts +3 -3
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-data-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-drilldown-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-filters.d.ts +85 -83
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/use-fetch-widget-dto-model.d.ts +3 -3
- package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/utils.d.ts +5 -13
- package/dist/packages/sdk-ui/src/widget-by-id/widget-by-id.d.ts +26 -0
- package/dist/packages/sdk-ui/src/widgets/common/use-drilldown-core.d.ts +7 -0
- package/dist/packages/sdk-ui/src/widgets/hooks/use-drilldown.d.ts +2 -0
- package/dist/{table-widget-CLL1iN3H.js → useQuery-1xZMqnAI.js} +34186 -34195
- package/dist/{table-widget-CYCcYqzZ.cjs → useQuery-D9rZ58KS.cjs} +140 -140
- package/dist/widget-composer-B17DVa2A.cjs +101 -0
- package/dist/widget-composer-DqjH_6dw.js +448 -0
- package/package.json +7 -7
- package/dist/packages/sdk-ui/src/ai/messages/jaql-element.d.ts +0 -28
- package/dist/packages/sdk-ui/src/analytics-composer/translators/index.d.ts +0 -3
- package/dist/packages/sdk-ui/src/analytics-composer/translators/model-translator.d.ts +0 -48
- package/dist/packages/sdk-ui/src/analytics-composer/translators/translate-filters-to-code.d.ts +0 -2
- package/dist/packages/sdk-ui/src/analytics-composer/translators/types.d.ts +0 -95
- package/dist/packages/sdk-ui/src/dashboard-widget/translate-dashboard-filters.d.ts +0 -4798
- package/dist/packages/sdk-ui/src/translation/custom-translations-loader.d.ts +0 -10
- /package/dist/packages/sdk-ui/src/analytics-composer/{translators → query}/query-templates.d.ts +0 -0
- /package/dist/packages/sdk-ui/src/analytics-composer/{translators/translate-props-to-code.d.ts → widget/stringify-props.d.ts} +0 -0
- /package/dist/packages/sdk-ui/src/{dashboard-widget → widget-by-id}/translate-widget-style-options.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataSource, Filter } from '@sisense/sdk-data';
|
|
2
2
|
import { ChartDataOptions, PivotTableDataOptions } from '../../chart-data-options/types';
|
|
3
|
-
import { WidgetType } from '../../
|
|
3
|
+
import { WidgetType } from '../../widget-by-id/types';
|
|
4
4
|
import { ChartProps, ChartWidgetProps, PivotTableProps, TableProps, TableWidgetProps, PivotTableWidgetProps, TextWidgetProps } from '../../props';
|
|
5
5
|
import { ExecutePivotQueryParams, ExecuteQueryParams } from '../../query-execution';
|
|
6
6
|
import { ChartType, DrilldownOptions, WidgetStyleOptions } from '../../types';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Attribute, Filter, Measure, DataSource, Data, QueryResultData, FilterRelations } from '@sisense/sdk-data';
|
|
2
|
-
import { ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ThemeSettings, PolarStyleOptions, PieStyleOptions, StackableStyleOptions, LineStyleOptions, AreaStyleOptions, FunnelStyleOptions, ScatterStyleOptions, ChartStyleOptions, ChartType, IndicatorStyleOptions, DrilldownOptions, ThemeOid, TreemapStyleOptions, CustomDrilldownResult, MenuPosition, MenuItemSection, SunburstStyleOptions, ChartWidgetStyleOptions, TableWidgetStyleOptions,
|
|
2
|
+
import { ChartDataOptions, CartesianChartDataOptions, CategoricalChartDataOptions, ThemeSettings, PolarStyleOptions, PieStyleOptions, StackableStyleOptions, LineStyleOptions, AreaStyleOptions, FunnelStyleOptions, ScatterStyleOptions, ChartStyleOptions, ChartType, IndicatorStyleOptions, DrilldownOptions, ThemeOid, TreemapStyleOptions, CustomDrilldownResult, MenuPosition, MenuItemSection, SunburstStyleOptions, ChartWidgetStyleOptions, TableWidgetStyleOptions, WidgetByIdStyleOptions, BoxplotStyleOptions, ScattermapStyleOptions, AreamapStyleOptions, DataPoint, ScatterDataPoint, AreamapDataPoint, BoxplotDataPoint, ChartDataPoints, ScattermapDataPoint, PivotTableStyleOptions, PivotTableWidgetStyleOptions, RegularChartType, RegularChartStyleOptions, TabularChartStyleOptions, TableStyleOptions, AreaRangeStyleOptions, DrilldownSelection, TextWidgetStyleOptions, GenericDataOptions, DashboardWidgetStyleOptions } from './types';
|
|
3
3
|
import { HighchartsOptions } from './chart-options-processor/chart-options-service';
|
|
4
4
|
import { ComponentType, PropsWithChildren, ReactNode } from 'react';
|
|
5
5
|
import { IndicatorChartDataOptions, BoxplotChartCustomDataOptions, BoxplotChartDataOptions, ScatterChartDataOptions, TableDataOptions, ScattermapChartDataOptions, AreamapChartDataOptions, PivotTableDataOptions, RegularChartDataOptions, TabularChartDataOptions, RangeChartDataOptions } from './chart-data-options/types';
|
|
6
6
|
import { AppConfig } from './app/client-application';
|
|
7
7
|
import { ExecuteQueryParams, QueryByWidgetIdState } from './query-execution';
|
|
8
|
-
import { FiltersMergeStrategy } from './
|
|
8
|
+
import { FiltersMergeStrategy } from './widget-by-id/types';
|
|
9
9
|
import { HookEnableParam } from './common/hooks/types';
|
|
10
10
|
import { ExecuteQueryResult } from './query-execution/types';
|
|
11
11
|
import { Hierarchy } from './models';
|
|
@@ -797,9 +797,9 @@ export interface ScatterChartProps extends BaseChartProps, ScatterChartEventProp
|
|
|
797
797
|
styleOptions?: ScatterStyleOptions;
|
|
798
798
|
}
|
|
799
799
|
/**
|
|
800
|
-
* Props for the {@link
|
|
800
|
+
* Props for the {@link WidgetById} component
|
|
801
801
|
*/
|
|
802
|
-
export interface
|
|
802
|
+
export interface WidgetByIdProps extends Omit<ChartWidgetProps, 'dataSource' | 'dataOptions' | 'chartType' | 'styleOptions'> {
|
|
803
803
|
/**
|
|
804
804
|
* Identifier of the widget
|
|
805
805
|
*
|
|
@@ -859,7 +859,7 @@ export interface DashboardWidgetProps extends Omit<ChartWidgetProps, 'dataSource
|
|
|
859
859
|
*
|
|
860
860
|
* @category Widget
|
|
861
861
|
*/
|
|
862
|
-
styleOptions?:
|
|
862
|
+
styleOptions?: WidgetByIdStyleOptions;
|
|
863
863
|
/**
|
|
864
864
|
* {@inheritDoc ChartWidgetProps.drilldownOptions}
|
|
865
865
|
*
|
|
@@ -868,6 +868,19 @@ export interface DashboardWidgetProps extends Omit<ChartWidgetProps, 'dataSource
|
|
|
868
868
|
*/
|
|
869
869
|
drilldownOptions?: DrilldownOptions;
|
|
870
870
|
}
|
|
871
|
+
/**
|
|
872
|
+
* Props for the {@link DashboardWidget} component
|
|
873
|
+
*
|
|
874
|
+
* @deprecated Use {@link WidgetById} and {@link WidgetByIdProps} instead
|
|
875
|
+
*/
|
|
876
|
+
export interface DashboardWidgetProps extends WidgetByIdProps {
|
|
877
|
+
/**
|
|
878
|
+
* Style options for the widget including the widget container and the chart or table inside.
|
|
879
|
+
*
|
|
880
|
+
* @category Widget
|
|
881
|
+
*/
|
|
882
|
+
styleOptions?: DashboardWidgetStyleOptions;
|
|
883
|
+
}
|
|
871
884
|
/**
|
|
872
885
|
* Props for the {@link ChartWidget} component
|
|
873
886
|
*
|
|
@@ -1469,12 +1482,3 @@ export interface UseGetSharedFormulaParams extends HookEnableParam {
|
|
|
1469
1482
|
*/
|
|
1470
1483
|
dataSource?: DataSource;
|
|
1471
1484
|
}
|
|
1472
|
-
/**
|
|
1473
|
-
* Params of the {@link CustomTranslationsLoader} component
|
|
1474
|
-
*
|
|
1475
|
-
* @internal
|
|
1476
|
-
*/
|
|
1477
|
-
export interface CustomTranslationsLoaderProps {
|
|
1478
|
-
customTranslations?: CustomTranslationObject[];
|
|
1479
|
-
children?: React.ReactNode;
|
|
1480
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Attribute, DataSource, Filter, FilterRelations, Measure, PivotAttribute, PivotGrandTotals, PivotMeasure, PivotQueryResultData, QueryResultData } from '@sisense/sdk-data';
|
|
2
2
|
import { DataLoadAction } from '../common/hooks/data-load-state-reducer';
|
|
3
|
-
import { FiltersMergeStrategy } from '../
|
|
3
|
+
import { FiltersMergeStrategy } from '../widget-by-id/types';
|
|
4
4
|
/**
|
|
5
5
|
* State of a query execution.
|
|
6
6
|
*/
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { PropsWithChildren, type FunctionComponent } from 'react';
|
|
2
2
|
import { SisenseContextPayload } from './sisense-context';
|
|
3
3
|
/** @internal */
|
|
4
|
-
export type CustomSisenseContext = SisenseContextPayload
|
|
5
|
-
showRuntimeErrors: boolean;
|
|
6
|
-
};
|
|
4
|
+
export type CustomSisenseContext = SisenseContextPayload;
|
|
7
5
|
/** @internal */
|
|
8
6
|
export type CustomSisenseContextProviderProps = {
|
|
9
7
|
context?: CustomSisenseContext;
|
|
@@ -9,6 +9,9 @@ export type SisenseContextPayload = {
|
|
|
9
9
|
packageName: string;
|
|
10
10
|
onTrackingEvent?: (payload: TrackingEventDetails) => void;
|
|
11
11
|
};
|
|
12
|
+
errorBoundary: {
|
|
13
|
+
showErrorBox: boolean;
|
|
14
|
+
};
|
|
12
15
|
};
|
|
13
16
|
export declare const SisenseContext: import("react").Context<SisenseContextPayload>;
|
|
14
17
|
export declare const useSisenseContext: () => SisenseContextPayload;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { CustomTranslationObject } from '../types';
|
|
2
3
|
type I18nProviderProps = {
|
|
3
4
|
children: React.ReactNode;
|
|
4
5
|
userLanguage?: string;
|
|
6
|
+
customTranslations?: CustomTranslationObject[];
|
|
5
7
|
};
|
|
6
|
-
export declare const I18nProvider: ({ children, userLanguage }: I18nProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export declare const I18nProvider: ({ children, userLanguage, customTranslations, }: I18nProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
9
|
export {};
|
|
@@ -4,8 +4,8 @@ export declare const translation: {
|
|
|
4
4
|
componentRenderError: string;
|
|
5
5
|
sisenseContextNoAuthentication: string;
|
|
6
6
|
chartNoSisenseContext: string;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
widgetByIdNoSisenseContext: string;
|
|
8
|
+
widgetByIdInvalidIdentifier: string;
|
|
9
9
|
dashboardWidgetsInvalidIdentifiers: string;
|
|
10
10
|
executeQueryNoSisenseContext: string;
|
|
11
11
|
executeQueryNoDataSource: string;
|
|
@@ -69,6 +69,7 @@ export declare const translation: {
|
|
|
69
69
|
unexpectedCacheValue: string;
|
|
70
70
|
notAMembersFilter: string;
|
|
71
71
|
drilldownNoInitialDimension: string;
|
|
72
|
+
otherWidgetTypesNotSupported: string;
|
|
72
73
|
};
|
|
73
74
|
errorBoxText: string;
|
|
74
75
|
chartNoData: string;
|
|
@@ -226,4 +227,18 @@ export declare const translation: {
|
|
|
226
227
|
};
|
|
227
228
|
};
|
|
228
229
|
};
|
|
230
|
+
/**
|
|
231
|
+
* A reference type containing all currently used translation keys.
|
|
232
|
+
* This type serves as a complete resource for creating custom translations,
|
|
233
|
+
* ensuring that all required keys are present and included.
|
|
234
|
+
* It can also be used as Partial to make sure custom translation does not contain any typos.
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* ```typescript
|
|
238
|
+
* import { TranslationDictionary } from '@sisense/sdk-ui';
|
|
239
|
+
*
|
|
240
|
+
* const customTranslationResources: Partial<TranslationDictionary> = {
|
|
241
|
+
* ```
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
229
244
|
export type TranslationDictionary = typeof translation;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { TranslationDictionary } from './en.js';
|
|
2
2
|
export type { TranslationDictionary };
|
|
3
|
+
/**
|
|
4
|
+
* A reference to the namespace of the translation resources.
|
|
5
|
+
* This namespace is used to access the translation resources in the i18next instance.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
3
9
|
export declare const PACKAGE_NAMESPACE: "sdkUi";
|
|
4
10
|
export declare const resources: {
|
|
5
11
|
en: {
|
|
@@ -8,8 +14,8 @@ export declare const resources: {
|
|
|
8
14
|
componentRenderError: string;
|
|
9
15
|
sisenseContextNoAuthentication: string;
|
|
10
16
|
chartNoSisenseContext: string;
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
widgetByIdNoSisenseContext: string;
|
|
18
|
+
widgetByIdInvalidIdentifier: string;
|
|
13
19
|
dashboardWidgetsInvalidIdentifiers: string;
|
|
14
20
|
executeQueryNoSisenseContext: string;
|
|
15
21
|
executeQueryNoDataSource: string;
|
|
@@ -73,6 +79,7 @@ export declare const resources: {
|
|
|
73
79
|
unexpectedCacheValue: string;
|
|
74
80
|
notAMembersFilter: string;
|
|
75
81
|
drilldownNoInitialDimension: string;
|
|
82
|
+
otherWidgetTypesNotSupported: string;
|
|
76
83
|
};
|
|
77
84
|
errorBoxText: string;
|
|
78
85
|
chartNoData: string;
|
|
@@ -236,8 +243,8 @@ export declare const resources: {
|
|
|
236
243
|
componentRenderError: string;
|
|
237
244
|
sisenseContextNoAuthentication: string;
|
|
238
245
|
chartNoSisenseContext: string;
|
|
239
|
-
|
|
240
|
-
|
|
246
|
+
widgetByIdNoSisenseContext: string;
|
|
247
|
+
widgetByIdInvalidIdentifier: string;
|
|
241
248
|
dashboardWidgetsInvalidIdentifiers: string;
|
|
242
249
|
executeQueryNoSisenseContext: string;
|
|
243
250
|
executeQueryNoDataSource: string;
|
|
@@ -301,6 +308,7 @@ export declare const resources: {
|
|
|
301
308
|
unexpectedCacheValue: string;
|
|
302
309
|
notAMembersFilter: string;
|
|
303
310
|
drilldownNoInitialDimension: string;
|
|
311
|
+
otherWidgetTypesNotSupported: string;
|
|
304
312
|
};
|
|
305
313
|
errorBoxText: string;
|
|
306
314
|
chartNoData: string;
|
|
@@ -1019,8 +1019,8 @@ export interface WidgetContainerStyleOptions {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
/** @internal */
|
|
1021
1021
|
export type RenderToolbarHandler = (onRefresh: () => void, defaultToolbar: JSX.Element) => JSX.Element | null;
|
|
1022
|
-
/** Style settings defining the look and feel of
|
|
1023
|
-
export interface
|
|
1022
|
+
/** Style settings defining the look and feel of the widget created in Fusion */
|
|
1023
|
+
export interface WidgetByIdStyleOptions extends WidgetContainerStyleOptions {
|
|
1024
1024
|
/**
|
|
1025
1025
|
* Total width of the component, which is considered in the following order of priority:
|
|
1026
1026
|
*
|
|
@@ -1039,6 +1039,13 @@ export interface DashboardWidgetStyleOptions extends WidgetContainerStyleOptions
|
|
|
1039
1039
|
*/
|
|
1040
1040
|
height?: number;
|
|
1041
1041
|
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Style settings defining the look and feel of DashboardWidget
|
|
1044
|
+
*
|
|
1045
|
+
* @deprecated Use {@link WidgetByIdStyleOptions} instead
|
|
1046
|
+
*/
|
|
1047
|
+
export interface DashboardWidgetStyleOptions extends WidgetByIdStyleOptions {
|
|
1048
|
+
}
|
|
1042
1049
|
/** Style settings defining the look and feel of ChartWidget */
|
|
1043
1050
|
export type ChartWidgetStyleOptions = ChartStyleOptions & WidgetContainerStyleOptions;
|
|
1044
1051
|
/**
|
|
@@ -1451,8 +1458,8 @@ export type CustomTranslationObject = {
|
|
|
1451
1458
|
*/
|
|
1452
1459
|
resources: NestedTranslationResources;
|
|
1453
1460
|
/**
|
|
1454
|
-
* The package name
|
|
1455
|
-
*
|
|
1461
|
+
* The translation namespace (usually a package name in camelCase). It identifies the specific context in which the translation is being registered.
|
|
1462
|
+
* If not specified, the default value is `sdkUi`.
|
|
1456
1463
|
*/
|
|
1457
|
-
|
|
1464
|
+
namespace?: string;
|
|
1458
1465
|
};
|
|
@@ -9,4 +9,5 @@ export declare const cloneFilter: <TFilter extends Filter>(filter: TFilter) => T
|
|
|
9
9
|
export declare function clearMembersFilter(filter: Filter): Filter;
|
|
10
10
|
export declare function isIncludeAllFilter(filter: Filter): boolean;
|
|
11
11
|
export declare function haveSameAttribute(filterA: Filter, filterB: Filter): boolean;
|
|
12
|
+
/** @internal */
|
|
12
13
|
export declare function isSameAttribute(attributeA: Attribute, attributeB: Attribute): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FunctionComponent } from 'react';
|
|
2
|
-
import { DashboardWidgetProps } from '../props';
|
|
2
|
+
import { DashboardWidgetProps } from '../props.js';
|
|
3
3
|
/**
|
|
4
4
|
* The Dashboard Widget component, which is a thin wrapper on the {@link ChartWidget} component,
|
|
5
5
|
* is used to render a widget created in a Sisense Fusion instance.
|
|
@@ -22,5 +22,6 @@ import { DashboardWidgetProps } from '../props';
|
|
|
22
22
|
*
|
|
23
23
|
* @group Fusion Assets
|
|
24
24
|
* @fusionEmbed
|
|
25
|
+
* @deprecated Use {@link WidgetById} instead.
|
|
25
26
|
*/
|
|
26
27
|
export declare const DashboardWidget: FunctionComponent<DashboardWidgetProps>;
|