@sisense/sdk-ui 1.10.1 → 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/ai-context-provider.d.ts +1 -1
- 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/chatbot.d.ts +1 -1
- package/dist/ai/common/beta-label.d.ts +1 -0
- package/dist/ai/common/icon-button.d.ts +2 -3
- package/dist/ai/get-nlg-query-result.d.ts +1 -1
- 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/get-widget-options.d.ts +6 -1
- package/dist/ai/messages/text-message.d.ts +5 -0
- package/dist/ai/use-get-nlg-query-result.d.ts +1 -1
- package/dist/ai/use-get-query-recommendations.d.ts +1 -1
- package/dist/ai/use-last-nlq-response.d.ts +19 -0
- package/dist/ai.cjs +454 -0
- package/dist/ai.js +1142 -1095
- package/dist/api/types/dashboard-dto.d.ts +5 -4
- package/dist/app/client-application.d.ts +1 -0
- package/dist/area-range-chart.d.ts +67 -0
- package/dist/areamap-chart.d.ts +0 -1
- package/dist/boxplot-chart.d.ts +0 -1
- package/dist/chart/chart.d.ts +0 -2
- package/dist/chart/helpers/should-skip-sisense-context-waiting.d.ts +3 -0
- package/dist/chart/helpers/use-chart-renderer-props.d.ts +28 -0
- package/dist/chart/regular-chart.d.ts +7 -0
- package/dist/chart/types.d.ts +21 -0
- package/dist/chart-data/range-data.d.ts +11 -0
- package/dist/chart-data/types.d.ts +15 -1
- package/dist/chart-data-options/translate-range-data-options.d.ts +2 -0
- package/dist/chart-data-options/types.d.ts +56 -4
- package/dist/chart-data-processor/data-table-date-period.d.ts +0 -1
- package/dist/chart-options-processor/chart-options-service.d.ts +5 -0
- package/dist/chart-options-processor/range-chart-options.d.ts +17 -0
- package/dist/chart-options-processor/translations/design-options.d.ts +55 -7
- 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/chart-options-processor/translations/range/tooltip-range.d.ts +4 -0
- package/dist/chart-options-processor/translations/tooltip-utils.d.ts +3 -0
- package/dist/chart-options-processor/translations/types.d.ts +12 -6
- package/dist/charts/map-charts/areamap/areamap.d.ts +2 -3
- package/dist/charts/map-charts/scattermap/scattermap.d.ts +2 -1
- package/dist/charts/table/helpers/calc-column-widths.d.ts +1 -0
- package/dist/charts/table/styles/style-constants.d.ts +1 -0
- package/dist/charts/table/types.d.ts +13 -4
- 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/dashboard-widget/translate-widget-filters.d.ts +664 -4
- package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +1 -1
- package/dist/dashboard-widget/utils.d.ts +2 -2
- package/dist/decorators/component-decorators/as-sisense-component.d.ts +6 -2
- package/dist/decorators/component-decorators/with-tracking/use-track-component-init.d.ts +2 -1
- package/dist/decorators/component-decorators/with-tracking/with-tracking.d.ts +4 -1
- package/dist/dynamic-size-container/dynamic-size-container.d.ts +8 -0
- package/dist/filters/components/common/basic-input.d.ts +0 -1
- 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/filters-panel/filters-panel-tile.d.ts +18 -0
- package/dist/filters/components/filters-panel/filters-panel.d.ts +18 -0
- package/dist/filters/components/filters-panel/index.d.ts +2 -0
- 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/filters/components/member-filter-tile/basic-member-filter-tile.d.ts +3 -1
- package/dist/filters/components/member-filter-tile/use-members.d.ts +1 -1
- package/dist/filters/index.d.ts +1 -0
- package/dist/highcharts-memorized.d.ts +1 -1
- package/dist/index.cjs +784 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +17694 -18881
- package/dist/indicator-canvas.d.ts +2 -3
- package/dist/models/dashboard/dashboard-model.d.ts +62 -0
- package/dist/models/dashboard/get-dashboard-model.d.ts +10 -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 -12
- 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/models/widget/widget-model.d.ts +3 -3
- package/dist/pivot-table/formatters/header-cell-formatters/header-cell-highlight-formatter.d.ts +2 -0
- package/dist/pivot-table/formatters/types.d.ts +2 -2
- package/dist/pivot-table/helpers/prepare-pivot-styling-props.d.ts +1 -0
- package/dist/pivot-table/pivot-table.d.ts +1 -1
- package/dist/pivot-table/use-get-pivot-table-query.d.ts +2 -1
- package/dist/props.d.ts +57 -2
- package/dist/query/date-formats/apply-date-format.d.ts +0 -1
- package/dist/query/query-result-date-formatting.d.ts +0 -1
- package/dist/query-execution/query-params-comparator.d.ts +1 -7
- package/dist/query-execution/types.d.ts +11 -1
- package/dist/query-execution/use-execute-pivot-query.d.ts +3 -6
- package/dist/query-execution/use-execute-query-by-widget-id.d.ts +3 -4
- package/dist/scattermap-chart.d.ts +0 -1
- package/dist/sisense-chart/sisense-chart.d.ts +8 -5
- package/dist/table/table-component.d.ts +8 -0
- package/dist/table/table.d.ts +2 -2
- package/dist/table/translations/design-options.d.ts +3 -0
- package/dist/translation/resources/en.d.ts +12 -1
- package/dist/translation/resources/index.d.ts +24 -2
- package/dist/types.d.ts +103 -17
- package/dist/{debounce-CVvJ1016.js → useQuery-0UWck_2A.js} +33927 -33705
- package/dist/useQuery-DVHD0kJ-.cjs +603 -0
- package/dist/utils/check-and-notify-about-deprecated-prop.d.ts +1 -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/dist/widgets/drilldown-widget.d.ts +2 -1
- 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
|
@@ -24,7 +24,7 @@ export declare const fetchWidgetDtoModel: ({ widgetOid, dashboardOid, includeDas
|
|
|
24
24
|
title: string;
|
|
25
25
|
datasource: import("./types").Datasource;
|
|
26
26
|
widgets?: WidgetDto[] | undefined;
|
|
27
|
-
filters?: (import("../api/types/dashboard-dto").
|
|
27
|
+
filters?: (import("../api/types/dashboard-dto").FilterDto | import("../api/types/dashboard-dto").CascadingFilterDto)[] | undefined;
|
|
28
28
|
filterRelations?: {
|
|
29
29
|
filterRelations: import("@sisense/sdk-data").FilterRelationsModel;
|
|
30
30
|
}[] | undefined;
|
|
@@ -8,7 +8,7 @@ type WidgetTypeOrString = string | WidgetType;
|
|
|
8
8
|
export declare function isSupportedWidgetType(widgetType: WidgetTypeOrString): widgetType is WidgetType;
|
|
9
9
|
export declare function isTableWidget(widgetType: WidgetTypeOrString): boolean;
|
|
10
10
|
export declare function isPivotWidget(widgetType: WidgetTypeOrString): boolean;
|
|
11
|
-
export declare function
|
|
11
|
+
export declare function isChartWidget(widgetType: WidgetTypeOrString): boolean;
|
|
12
12
|
export declare function getEnabledPanelItems(panels: Panel[], panelName: string): PanelItem[];
|
|
13
13
|
export declare function getRootPanelItem(item: PanelItem): PanelItem;
|
|
14
14
|
/**
|
|
@@ -18,7 +18,7 @@ export declare function getRootPanelItem(item: PanelItem): PanelItem;
|
|
|
18
18
|
* @returns The sort direction.
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
export declare function getSortType(jaqlSort: JaqlSortDirection | undefined): SortDirection;
|
|
21
|
+
export declare function getSortType(jaqlSort: `${JaqlSortDirection}` | undefined): SortDirection;
|
|
22
22
|
/**
|
|
23
23
|
* Merges two arrays of filter objects, prioritizing 'targetFilters' over 'sourceFilters',
|
|
24
24
|
* and removes duplicates based on filter compare id
|
|
@@ -7,8 +7,12 @@ export type SisenseComponentConfig = {
|
|
|
7
7
|
componentName: string;
|
|
8
8
|
/** If set to true (or function returns true), the component will not wait for the Sisense context to be initialized */
|
|
9
9
|
shouldSkipSisenseContextWaiting?: boolean | ((props: any) => boolean);
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
trackingConfig?: {
|
|
11
|
+
/** If set to true (or function returns true), the component will not be tracked */
|
|
12
|
+
skip?: boolean | ((props: any) => boolean);
|
|
13
|
+
/** If set to true, children will be tracked too */
|
|
14
|
+
transparent?: boolean;
|
|
15
|
+
};
|
|
12
16
|
/** If set, the error message for wrong SisenseContext will be overridden with the provided key */
|
|
13
17
|
customContextErrorMessageKey?: string;
|
|
14
18
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export declare const TrackingContextProvider: ({ children }: {
|
|
2
|
+
export declare const TrackingContextProvider: ({ skipNested, children, }: {
|
|
3
3
|
children: ReactNode;
|
|
4
|
+
skipNested?: boolean | undefined;
|
|
4
5
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export declare const useTrackComponentInit: <P extends {}>(componentName: string, props: P) => void;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ComponentDecorator } from '../as-sisense-component';
|
|
2
2
|
type TrackingDecoratorConfig = {
|
|
3
3
|
componentName: string;
|
|
4
|
-
|
|
4
|
+
config: {
|
|
5
|
+
skip?: boolean | ((props: any) => boolean);
|
|
6
|
+
transparent?: boolean;
|
|
7
|
+
};
|
|
5
8
|
};
|
|
6
9
|
/**
|
|
7
10
|
* Adds tracking to the component
|
|
@@ -24,7 +24,15 @@ export type DynamicSizeContainerProps = {
|
|
|
24
24
|
* (3) Then the container's size is used.
|
|
25
25
|
* (4) Otherwise the "defaultSize" is used.
|
|
26
26
|
*
|
|
27
|
+
* Component Structure:
|
|
28
|
+
* The component layout consists of multiple layers to address different requirements:
|
|
29
|
+
* - Container layer: The top `div` that handles inheriting the parent size.
|
|
30
|
+
* - Content layer: The middle `div` that represents the actual content size.
|
|
31
|
+
* - Detached content layer: The bottom `div` that detaches the internal content (using "absolute" positioning) from the layout to prevent the parent layout from being constrained by its content size.
|
|
27
32
|
*
|
|
33
|
+
* Limitations:
|
|
34
|
+
* - It is not possible to determine if a parent element has no size to inherit or if its size has been explicitly set to "0px".
|
|
35
|
+
* Therefore, the default size will be applied when the parent element's size is set to "0px".
|
|
28
36
|
*
|
|
29
37
|
* @param {DynamicSizeContainerProps} props - DynamicSizeContainer properties.
|
|
30
38
|
* @returns {JSX.Element} The DynamicSizeContainer component.
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { CompleteThemeSettings } from '../../../types';
|
|
2
1
|
import { type FunctionComponent, type ButtonHTMLAttributes } from 'react';
|
|
3
|
-
|
|
2
|
+
import { Themable } from '../../../theme-provider/types';
|
|
3
|
+
export type Variant = 'white' | 'grey';
|
|
4
4
|
type InputProps = {
|
|
5
5
|
variant?: Variant;
|
|
6
6
|
label?: string;
|
|
7
7
|
isActive?: boolean;
|
|
8
8
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
9
|
-
type
|
|
10
|
-
theme: CompleteThemeSettings;
|
|
11
|
-
};
|
|
12
|
-
export type DateRangeFieldButtonProps = InputProps & ThemeMixin;
|
|
9
|
+
export type DateRangeFieldButtonProps = InputProps & Themable;
|
|
13
10
|
export declare const DateRangeFieldButton: FunctionComponent<DateRangeFieldButtonProps>;
|
|
14
11
|
export {};
|
|
@@ -27,6 +27,21 @@ export type DateRangeFilterProps = {
|
|
|
27
27
|
* Whether this is a dependent filter.
|
|
28
28
|
*/
|
|
29
29
|
isDependent?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The variant of the date range field button.
|
|
32
|
+
* To be compatible with the old DateRangeFilterTile.
|
|
33
|
+
*
|
|
34
|
+
* TODO: Remove this prop when the old DateRangeFilterTile is deprecated.
|
|
35
|
+
* @internal
|
|
36
|
+
* @default 'grey'
|
|
37
|
+
*/
|
|
38
|
+
variant?: 'white' | 'grey';
|
|
39
|
+
/**
|
|
40
|
+
* Whether the filter is disabled.
|
|
41
|
+
*
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
disabled?: boolean;
|
|
30
45
|
};
|
|
31
46
|
/**
|
|
32
47
|
* Date Filter component for filtering data by date range.
|
package/dist/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts
CHANGED
|
@@ -41,6 +41,12 @@ export interface DateRangeFilterTileProps {
|
|
|
41
41
|
* List of filters this filter is dependent on.
|
|
42
42
|
*/
|
|
43
43
|
parentFilters?: Filter[];
|
|
44
|
+
/**
|
|
45
|
+
* Whether to display the filter as a tiled version.
|
|
46
|
+
* @default false
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
tiled?: boolean;
|
|
44
50
|
}
|
|
45
51
|
/**
|
|
46
52
|
* Date Range Filter Tile component for filtering data by date range.
|
package/dist/filters/components/date-filter/date-range-filter-tile/editable-date-range-filter.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DateRangeFilter } from '@sisense/sdk-data';
|
|
2
|
+
import type { DateRangeFilterTileProps } from './date-range-filter-tile';
|
|
3
|
+
import { DateLimits } from './use-date-limits';
|
|
4
|
+
type EditableDateRangeFilterProps = DateRangeFilterTileProps & {
|
|
5
|
+
filter: DateRangeFilter;
|
|
6
|
+
dateLimits: Required<DateLimits>;
|
|
7
|
+
isOldDateRangeFilterTile?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Editable Date Range Filter component for filtering data by date range.
|
|
12
|
+
*/
|
|
13
|
+
export declare const EditableDateRangeFilter: (props: EditableDateRangeFilterProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DataSource, Filter, LevelAttribute } from '@sisense/sdk-data';
|
|
2
|
-
type DateLimits = {
|
|
2
|
+
export type DateLimits = {
|
|
3
3
|
minDate?: string;
|
|
4
4
|
maxDate?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const useDateLimits: (userLimits: DateLimits, attribute: LevelAttribute, dataSource?: DataSource, parentFilters?: Filter[]) => Required<DateLimits> | null;
|
|
7
|
-
export {};
|
package/dist/filters/components/date-filter/relative-date-filter-tile/relative-date-filter.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export interface RelativeDateFilterProps {
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const RelativeDateFilter: FunctionComponent<RelativeDateFilterProps>;
|
|
21
21
|
export declare const DATE_OPS_MAP: {
|
|
22
|
-
[x: string]:
|
|
22
|
+
readonly [x: string]: "dateFilter.last" | "dateFilter.next";
|
|
23
23
|
};
|
|
24
24
|
export declare const DATE_LEVELS_MAP: {
|
|
25
|
-
[x: string]:
|
|
25
|
+
readonly [x: string]: "dateFilter.days" | "dateFilter.weeks" | "dateFilter.months" | "dateFilter.quarters" | "dateFilter.years";
|
|
26
26
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Filter } from '@sisense/sdk-data';
|
|
2
|
+
/**
|
|
3
|
+
* Props of the {@link FiltersPanelTile} component
|
|
4
|
+
*
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export type FiltersPanelTileProps = {
|
|
8
|
+
/** Filter to display */
|
|
9
|
+
filter: Filter;
|
|
10
|
+
/** Callback to handle filter change */
|
|
11
|
+
onChange: (filter: Filter | null) => void;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Filter tile component that renders a filter based on its type
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const FiltersPanelTile: ({ filter, onChange }: FiltersPanelTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Filter } from '@sisense/sdk-data';
|
|
2
|
+
/**
|
|
3
|
+
* Props of the {@link FiltersPanel} component
|
|
4
|
+
*
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export type FiltersPanelProps = {
|
|
8
|
+
/** Array of filters to display */
|
|
9
|
+
filters: Filter[];
|
|
10
|
+
/** Callback to handle changes in filters */
|
|
11
|
+
onFiltersChange: (filters: Filter[]) => void;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Filters panel component that renders a list of filter tiles
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const FiltersPanel: ({ filters, onFiltersChange }: FiltersPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Themable } from '../../../theme-provider/types';
|
|
2
|
+
import type { SVGProps } from 'react';
|
|
3
|
+
export declare const ArrowIcon: (props: Pick<SVGProps<SVGElement>, 'className' | 'width' | 'height' | 'fill' | 'onClick'> & {
|
|
4
|
+
direction: 'left' | 'right';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
} & Themable) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Themable } from '../../../theme-provider/types';
|
|
2
|
+
import type { SVGProps } from 'react';
|
|
3
|
+
export declare const DoubleArrowIcon: (props: Pick<SVGProps<SVGElement>, 'className' | 'width' | 'height' | 'fill' | 'onClick'> & {
|
|
4
|
+
direction: 'left' | 'right';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
} & Themable) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,13 +13,15 @@ export interface BasicMemberFilterTileProps {
|
|
|
13
13
|
/** Initial list of selected members. Defaults to empty list */
|
|
14
14
|
initialSelectedMembers?: SelectedMember[];
|
|
15
15
|
/** Callback that executes whenever the final list of active and selected members is updated */
|
|
16
|
-
onUpdateSelectedMembers?: (members: string[]) => void;
|
|
16
|
+
onUpdateSelectedMembers?: (members: string[], disabled?: boolean) => void;
|
|
17
17
|
/** Configurable limit on size of allowedMembers */
|
|
18
18
|
maxAllowedMembers?: number;
|
|
19
19
|
/** Whether this is a dependent filter */
|
|
20
20
|
isDependent?: boolean;
|
|
21
21
|
/** Flag to update selected members when caused by an external change */
|
|
22
22
|
shouldUpdateSelectedMembers?: boolean;
|
|
23
|
+
/** Whether the filter tile is disabled initially */
|
|
24
|
+
disabled?: boolean;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* UI component that, given a list of members to select from and a list of
|
|
@@ -3,7 +3,7 @@ import { Member } from './members-reducer';
|
|
|
3
3
|
interface Props {
|
|
4
4
|
initialMembers: Member[];
|
|
5
5
|
initialSelectedMembers: Member[];
|
|
6
|
-
onUpdateSelectedMembers?: (members: string[]) => void;
|
|
6
|
+
onUpdateSelectedMembers?: (members: string[], disabled?: boolean) => void;
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const useMembers: ({ initialMembers, initialSelectedMembers, onUpdateSelectedMembers, disabled, }: Props) => {
|
package/dist/filters/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { HighchartsOptionsInternal } from './chart-options-processor/chart-optio
|
|
|
3
3
|
type HighchartsReactMemoizedProps = {
|
|
4
4
|
options: HighchartsOptionsInternal;
|
|
5
5
|
};
|
|
6
|
-
export declare const HighchartsReactMemoized: import("react").
|
|
6
|
+
export declare const HighchartsReactMemoized: import("react").NamedExoticComponent<HighchartsReactMemoizedProps>;
|
|
7
7
|
export {};
|