@sisense/sdk-ui 2.30.0 → 2.31.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 +2 -2
- package/dist/ai.js +6 -6
- package/dist/analytics-composer/node.cjs +1 -1
- package/dist/analytics-composer/node.js +1841 -1321
- package/dist/analytics-composer.cjs +2 -2
- package/dist/analytics-composer.js +8 -8
- package/dist/apply-styled-options-to-query-BddNnNsW.js +7028 -0
- package/dist/apply-styled-options-to-query-BrP6xVFh.cjs +1 -0
- package/dist/index-BcggtLDg.js +847 -0
- package/dist/index-DhUTJSni.cjs +1 -0
- package/dist/index.cjs +443 -417
- package/dist/index.js +23357 -23604
- package/dist/index.umd.js +818 -716
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/dashboard-header/constants.d.ts +16 -0
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/{dashboard-header-config.d.ts → dashboard-header/dashboard-header-config.d.ts} +17 -22
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/{dashboard-header-targets.d.ts → dashboard-header/dashboard-header-targets.d.ts} +0 -4
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/{dashboard-header-title.d.ts → dashboard-header/dashboard-header-title.d.ts} +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/{dashboard-header.d.ts → dashboard-header/dashboard-header.d.ts} +1 -4
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/toolbar/edit-toggle.d.ts +5 -0
- package/dist/packages/sdk-ui/src/domains/dashboarding/components/toolbar/filter-toggle.d.ts +5 -0
- package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-helpers.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-model/use-dashboard-model/dashboard-model-reducer/persist-dashboard-model-middleware.d.ts +10 -0
- package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard-module/types.d.ts +9 -2
- package/dist/packages/sdk-ui/src/domains/dashboarding/dashboard.d.ts +0 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/use-edit-mode-with-history.d.ts +0 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/hooks/use-widget-updates-persistence.d.ts +2 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/persistence/update-types.d.ts +4 -1
- package/dist/packages/sdk-ui/src/domains/dashboarding/types.d.ts +30 -13
- package/dist/packages/sdk-ui/src/domains/dashboarding/utils.d.ts +29 -6
- package/dist/packages/sdk-ui/src/domains/filters/components/filters-panel/filters-panel.d.ts +0 -1
- package/dist/packages/sdk-ui/src/domains/narrative/components/widget-narrative.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/narrative/core/get-widget-narrative-from-widget-props.d.ts +4 -4
- package/dist/packages/sdk-ui/src/domains/narrative/core/{widget-narrative-options.d.ts → widget-narrative-config.d.ts} +12 -12
- package/dist/packages/sdk-ui/src/domains/narrative/core/widget-props-to-narrative-params.d.ts +8 -8
- package/dist/packages/sdk-ui/src/domains/narrative/hooks/use-get-widget-narrative.d.ts +2 -2
- package/dist/packages/sdk-ui/src/domains/shared/header/header-item-cell.d.ts +25 -0
- package/dist/packages/sdk-ui/src/domains/shared/header/header-item-size.d.ts +2 -1
- package/dist/packages/sdk-ui/src/domains/shared/header/header-items-renderer.d.ts +6 -2
- package/dist/packages/sdk-ui/src/domains/shared/header/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/domains/visualizations/components/table/pure-table/helpers/calc-column-widths.d.ts +19 -1
- package/dist/packages/sdk-ui/src/domains/visualizations/components/table/pure-table/styles/style-constants.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/visualizations/components/table/pure-table/types.d.ts +5 -0
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-data-options/types.d.ts +0 -1
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-options-processor/chart-options-service.d.ts +1 -0
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-options-processor/translations/design-options.d.ts +30 -0
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-options-processor/translations/sunburst/sunburst-levels.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-options-processor/translations/sunburst/sunburst-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/domains/visualizations/core/chart-options-processor/translations/sunburst/sunburst-series.d.ts +1 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/types.d.ts +2 -10
- package/dist/packages/sdk-ui/src/domains/widgets/components/chart-widget/use-chart-widget-excel-download.d.ts +1 -2
- package/dist/packages/sdk-ui/src/domains/widgets/components/custom-widget/use-custom-widget-excel-download.d.ts +2 -2
- package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/types.d.ts +2 -9
- package/dist/packages/sdk-ui/src/domains/widgets/components/pivot-table-widget/use-pivot-widget-excel-download.d.ts +1 -2
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget/types.d.ts +25 -9
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-dashboard-filters.d.ts +1 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-style-options/categorical-labels-style.d.ts +94 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-style-options/series-label-affix-style.d.ts +59 -0
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-style-options/to-widget-dto-style.d.ts +13 -1
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/translate-widget-style-options/widget-narrative-style.d.ts +8 -8
- package/dist/packages/sdk-ui/src/domains/widgets/components/widget-by-id/types.d.ts +72 -1
- package/dist/packages/sdk-ui/src/domains/widgets/widget-model/widget-model.d.ts +5 -6
- package/dist/packages/sdk-ui/src/infra/app/settings/settings.d.ts +11 -0
- package/dist/packages/sdk-ui/src/infra/app/settings/types/features.d.ts +1 -3
- package/dist/packages/sdk-ui/src/infra/app/types.d.ts +4 -5
- package/dist/packages/sdk-ui/src/infra/decorators/component-decorators/with-tracking/use-track-component-init.d.ts +8 -0
- package/dist/packages/sdk-ui/src/infra/modules/types.d.ts +24 -5
- package/dist/packages/sdk-ui/src/infra/plugins/widget-plugins/types.d.ts +11 -5
- package/dist/packages/sdk-ui/src/modules/ai/get-nlg-insights-from-widget.d.ts +2 -2
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/expression/custom-formula/validate-custom-formula.d.ts +11 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/expression/datetime-filter-processors.d.ts +6 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/expression/measure-processors.d.ts +16 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/utils/schema-index.d.ts +4 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/datetime-member-validation.d.ts +2 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/datetime-range-validation.d.ts +2 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/datetime-relative-validation.d.ts +1 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/datetime-validation-utils.d.ts +40 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/flatten-filters.d.ts +5 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/normalize-member-for-granularity.d.ts +5 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/nlq-v3-translator/shared/validation/query-datetime-validation.d.ts +7 -0
- package/dist/packages/sdk-ui/src/modules/analytics-composer/types.d.ts +16 -1
- package/dist/packages/sdk-ui/src/modules/analytics-composer/widget/to-widget-code.d.ts +1 -1
- package/dist/packages/sdk-ui/src/props.d.ts +1 -2
- package/dist/packages/sdk-ui/src/public-api/alpha.d.ts +1 -5
- package/dist/packages/sdk-ui/src/public-api/beta.d.ts +3 -1
- package/dist/packages/sdk-ui/src/public-api/public.d.ts +4 -1
- package/dist/packages/sdk-ui/src/public-api/sisense-internal.d.ts +0 -1
- package/dist/packages/sdk-ui/src/shared/components/alert/alert.d.ts +1 -50
- package/dist/packages/sdk-ui/src/shared/components/alert/index.d.ts +2 -2
- package/dist/packages/sdk-ui/src/shared/components/no-results-overlay/images/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/shared/components/quota-notification/quota-notification.d.ts +3 -10
- package/dist/packages/sdk-ui/src/shared/components/radio.d.ts +1 -0
- package/dist/packages/sdk-ui/src/shared/hooks/use-synced-state.d.ts +6 -7
- package/dist/packages/sdk-ui/src/shared/icons/warning-icon.d.ts +2 -3
- package/dist/packages/sdk-ui/src/shared/icons/x-circle-icon.d.ts +2 -3
- package/dist/packages/sdk-ui/src/shared/utils/color/color-interpolation.d.ts +1 -1
- package/dist/packages/sdk-ui/src/shared/utils/color/colorjs.d.ts +36 -0
- package/dist/packages/sdk-ui/src/shared/utils/gradient.d.ts +3 -2
- package/dist/packages/sdk-ui/src/types.d.ts +30 -19
- package/dist/{quota-notification-DqabeDbO.js → quota-notification-BMxiL8zu.js} +12530 -12922
- package/dist/quota-notification-CsGmQ05h.cjs +750 -0
- package/dist/{types-DecTaxy7.js → types-BB6n10Af.js} +1 -1
- package/dist/{types-DSNnndG6.cjs → types-CMUXHDie.cjs} +1 -1
- package/dist/{utils-L-HO2pCd.js → utils-C39pRlFD.js} +14643 -14371
- package/dist/utils-CL2eytnK.cjs +180 -0
- package/dist/{widget-composer-CyWQaInf.cjs → widget-composer-DDulWu8l.cjs} +85 -10
- package/dist/{widget-composer-u6NMLm1C.js → widget-composer-DrfnZQa0.js} +350 -259
- package/package.json +13 -16
- package/dist/apply-styled-options-to-query-BK1NnV4P.js +0 -6453
- package/dist/apply-styled-options-to-query-Dl8vVNxo.cjs +0 -1
- package/dist/packages/sdk-ui/src/shared/hooks/use-quota-warning-dismissed.d.ts +0 -8
- package/dist/quota-notification-gYE6PTWA.cjs +0 -750
- package/dist/utils-Cpeyj9TN.cjs +0 -179
|
@@ -27,13 +27,6 @@ export interface AlertProps {
|
|
|
27
27
|
* Callback when alert is dismissed
|
|
28
28
|
*/
|
|
29
29
|
onDismiss?: () => void;
|
|
30
|
-
/**
|
|
31
|
-
* When true and dismissible, clicking anywhere on the alert (not just the close button)
|
|
32
|
-
* triggers onDismiss. Useful for banner-style alerts.
|
|
33
|
-
*
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
dismissOnClick?: boolean;
|
|
37
30
|
/**
|
|
38
31
|
* Additional CSS class name
|
|
39
32
|
*/
|
|
@@ -46,46 +39,4 @@ export interface AlertProps {
|
|
|
46
39
|
* @returns Alert component
|
|
47
40
|
* @internal
|
|
48
41
|
*/
|
|
49
|
-
export declare const Alert: ({ variant, title, description, icon, dismissible, onDismiss,
|
|
50
|
-
/**
|
|
51
|
-
* Props for AlertTitle component
|
|
52
|
-
*/
|
|
53
|
-
export interface AlertTitleProps {
|
|
54
|
-
/**
|
|
55
|
-
* Content of the title
|
|
56
|
-
*/
|
|
57
|
-
children: ReactNode;
|
|
58
|
-
/**
|
|
59
|
-
* Additional CSS class name
|
|
60
|
-
*/
|
|
61
|
-
className?: string;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Alert title subcomponent
|
|
65
|
-
*
|
|
66
|
-
* @param props - AlertTitle props
|
|
67
|
-
* @returns AlertTitle component
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
export declare const AlertTitle: ({ children, className }: AlertTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
71
|
-
/**
|
|
72
|
-
* Props for AlertDescription component
|
|
73
|
-
*/
|
|
74
|
-
export interface AlertDescriptionProps {
|
|
75
|
-
/**
|
|
76
|
-
* Content of the description
|
|
77
|
-
*/
|
|
78
|
-
children: ReactNode;
|
|
79
|
-
/**
|
|
80
|
-
* Additional CSS class name
|
|
81
|
-
*/
|
|
82
|
-
className?: string;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Alert description subcomponent
|
|
86
|
-
*
|
|
87
|
-
* @param props - AlertDescription props
|
|
88
|
-
* @returns AlertDescription component
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
export declare const AlertDescription: ({ children, className }: AlertDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export declare const Alert: ({ variant, title, description, icon, dismissible, onDismiss, className, }: AlertProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Alert
|
|
2
|
-
export type { AlertProps
|
|
1
|
+
export { Alert } from './alert';
|
|
2
|
+
export type { AlertProps } from './alert';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ChartType, TableType } from '../../../../types';
|
|
2
|
-
export declare function getNoResultOverlayImage(type: ChartType | TableType):
|
|
2
|
+
export declare function getNoResultOverlayImage(type: ChartType | TableType): string;
|
package/dist/packages/sdk-ui/src/shared/components/quota-notification/quota-notification.d.ts
CHANGED
|
@@ -9,24 +9,17 @@ export interface QuotaNotificationProps extends QuotaNotificationOptions {
|
|
|
9
9
|
* Additional CSS class name
|
|
10
10
|
*/
|
|
11
11
|
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Whether the warning banner has been dismissed (controlled from parent)
|
|
14
|
-
*/
|
|
15
|
-
warningDismissed?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Callback when warning is dismissed (for controlled usage)
|
|
18
|
-
*/
|
|
19
|
-
onDismissWarning?: () => void;
|
|
20
12
|
}
|
|
21
13
|
/**
|
|
22
14
|
* Component that displays credit balance warnings/errors
|
|
23
15
|
*
|
|
24
16
|
* Shows an error banner when credit is exceeded (not dismissible).
|
|
25
|
-
* Shows a warning banner when credit usage >= warningThreshold (dismissible
|
|
17
|
+
* Shows a warning banner when credit usage >= warningThreshold (dismissible via close button,
|
|
18
|
+
* resets each time the assistant loads).
|
|
26
19
|
* Automatically updates via polling every 60 seconds.
|
|
27
20
|
*
|
|
28
21
|
* @param props - QuotaNotification props
|
|
29
22
|
* @returns QuotaNotification component or null
|
|
30
23
|
* @sisenseInternal
|
|
31
24
|
*/
|
|
32
|
-
export declare function QuotaNotification({ className,
|
|
25
|
+
export declare function QuotaNotification({ className, enabled, warningThreshold, exceededThreshold, }?: QuotaNotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -2,7 +2,8 @@ import { Dispatch, SetStateAction } from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* Options for {@link useSyncedState}.
|
|
4
4
|
*
|
|
5
|
-
* @
|
|
5
|
+
* @group Helpers
|
|
6
|
+
* @beta
|
|
6
7
|
*/
|
|
7
8
|
export type UseSyncedStateOptions<T> = {
|
|
8
9
|
/**
|
|
@@ -22,11 +23,8 @@ export type UseSyncedStateOptions<T> = {
|
|
|
22
23
|
*
|
|
23
24
|
* @param syncValue - The external value to synchronize with. When this value changes (as
|
|
24
25
|
* determined by `syncCompareFn`), the local state is updated to match it.
|
|
25
|
-
* @param options - Optional configuration object.
|
|
26
|
-
*
|
|
27
|
-
* the returned setter (not triggered by external `syncValue` synchronization).
|
|
28
|
-
* @param options.syncCompareFn - Custom equality function used to detect changes in `syncValue`.
|
|
29
|
-
* Defaults to a deep equality check via `isEqual` from lodash-es. See {@link UseSyncedStateOptions}.
|
|
26
|
+
* @param options - Optional configuration object. See {@link UseSyncedStateOptions} for the
|
|
27
|
+
* `onLocalStateChange` and `syncCompareFn` fields.
|
|
30
28
|
* @returns A tuple of `[localState, setState]` — the current local state and a setter that
|
|
31
29
|
* both updates state and fires `onLocalStateChange`.
|
|
32
30
|
* @example
|
|
@@ -35,6 +33,7 @@ export type UseSyncedStateOptions<T> = {
|
|
|
35
33
|
* onLocalStateChange: (s) => console.log('local update', s),
|
|
36
34
|
* });
|
|
37
35
|
* ```
|
|
38
|
-
* @
|
|
36
|
+
* @group Helpers
|
|
37
|
+
* @beta
|
|
39
38
|
*/
|
|
40
39
|
export declare function useSyncedState<T>(syncValue: T, { onLocalStateChange, syncCompareFn }?: UseSyncedStateOptions<T>): [T, Dispatch<SetStateAction<T>>];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* Quota warning icon - circle with exclamation mark, used for quota warning banner
|
|
4
|
-
* From Figma design; fill #
|
|
3
|
+
* From Figma design; fill #F2B900
|
|
5
4
|
*/
|
|
6
|
-
export declare const WarningIcon: (
|
|
5
|
+
export declare const WarningIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { SVGProps } from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* X circle icon - circle with X inside, used for quota error banner
|
|
4
|
-
* From Figma design;
|
|
3
|
+
* From Figma design; fill #D12D04
|
|
5
4
|
*/
|
|
6
|
-
export declare const XCircleIcon: (
|
|
5
|
+
export declare const XCircleIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** colorjs.io color-space coordinate accessor: indexable by channel name and by index. */
|
|
2
|
+
type SpaceAccessor = Record<string, number> & number[];
|
|
3
|
+
/** Minimal shape of the plain color object returned by colorjs.io `range`/`mix`/`steps`. */
|
|
4
|
+
interface PlainColor {
|
|
5
|
+
space: unknown;
|
|
6
|
+
coords: number[];
|
|
7
|
+
alpha: number;
|
|
8
|
+
}
|
|
9
|
+
interface ColorInstance {
|
|
10
|
+
alpha: number;
|
|
11
|
+
hsl: SpaceAccessor;
|
|
12
|
+
hsv: SpaceAccessor;
|
|
13
|
+
srgb: SpaceAccessor;
|
|
14
|
+
set(property: string, value: number): ColorInstance;
|
|
15
|
+
to(space: string): ColorInstance;
|
|
16
|
+
toString(options?: {
|
|
17
|
+
format?: string;
|
|
18
|
+
}): string;
|
|
19
|
+
}
|
|
20
|
+
type ColorInput = string | ColorInstance | PlainColor;
|
|
21
|
+
interface ColorRangeOptions {
|
|
22
|
+
space?: string;
|
|
23
|
+
outputSpace?: string;
|
|
24
|
+
}
|
|
25
|
+
interface ColorConstructor {
|
|
26
|
+
new (color: ColorInput): ColorInstance;
|
|
27
|
+
range(color1: ColorInput, color2: ColorInput, options?: ColorRangeOptions): (percentage: number) => PlainColor;
|
|
28
|
+
mix(color1: ColorInput, color2: ColorInput, ratio?: number, options?: ColorRangeOptions): PlainColor;
|
|
29
|
+
steps(color1: ColorInput, color2: ColorInput, options?: ColorRangeOptions & {
|
|
30
|
+
steps?: number;
|
|
31
|
+
}): PlainColor[];
|
|
32
|
+
}
|
|
33
|
+
declare const Color_base: ColorConstructor;
|
|
34
|
+
export declare class Color extends Color_base {
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -392,13 +392,14 @@ export declare const toGradientHighchartsFormat: (gradient: GradientColor) => Hi
|
|
|
392
392
|
export declare const fromHighchartsGradientFormat: (highchartGradient: HighchartsGradientColorObject) => GradientColor;
|
|
393
393
|
/**
|
|
394
394
|
* Converts a color to the inner Highcharts format if it is a gradient, otherwise returns the color as is.
|
|
395
|
+
* Maps `null` to `undefined` so callers can omit a color without inline checks.
|
|
395
396
|
*
|
|
396
397
|
* @param color - The color to convert
|
|
397
|
-
* @returns The inner format gradient color object
|
|
398
|
+
* @returns The inner format gradient color object, the color as is, or `undefined` when absent/cleared
|
|
398
399
|
*
|
|
399
400
|
* @internal
|
|
400
401
|
*/
|
|
401
|
-
export declare
|
|
402
|
+
export declare function withGradientConversion(color: string | GradientColor | HighchartsGradientColorObject | null | undefined): string | HighchartsGradientColorObject | undefined;
|
|
402
403
|
/**
|
|
403
404
|
* Converts a GradientColor to a valid CSS gradient string.
|
|
404
405
|
*
|
|
@@ -4,8 +4,6 @@ import { DeepRequired } from 'ts-essentials';
|
|
|
4
4
|
import { AbstractDataPointWithEntries } from './domains/dashboarding/common-filters/types';
|
|
5
5
|
import { Coordinates } from './domains/visualizations/components/chart/components/scattermap/types';
|
|
6
6
|
import { Hierarchy, HierarchyId, StyledColumn, StyledMeasureColumn } from '.';
|
|
7
|
-
import type { CompleteWidgetNarrativeOptions, WidgetNarrativeDisplayLocation, WidgetNarrativeOptions } from './domains/narrative/core/widget-narrative-options.js';
|
|
8
|
-
import { getCompleteWidgetNarrativeOptions } from './domains/narrative/core/widget-narrative-options.js';
|
|
9
7
|
import { GeoDataElement } from './domains/visualizations/components/chart/restructured-charts/areamap-chart/types';
|
|
10
8
|
import { CalendarDayOfWeek } from './domains/visualizations/components/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils';
|
|
11
9
|
import { HighchartsOptionsInternal } from './domains/visualizations/core/chart-options-processor/chart-options-service';
|
|
@@ -35,22 +33,6 @@ export type { AreaSubtype, AreaRangeSubtype, LineSubtype, PieSubtype, PolarSubty
|
|
|
35
33
|
export type { MonthOfYear, DayOfWeek, DateLevel, } from './domains/query-execution/core/date-formats/apply-date-format';
|
|
36
34
|
export type { IndicatorRenderOptions } from './domains/visualizations/components/chart/components/indicator/indicator-render-options';
|
|
37
35
|
export type { TabberButtonsWidgetStyleOptions, TabberButtonsWidgetCustomOptions, } from './domains/widgets/components/tabber-buttons-widget/types';
|
|
38
|
-
/**
|
|
39
|
-
* Configuration for AI-powered widget features such as automated narrative generation
|
|
40
|
-
*
|
|
41
|
-
* Exposed on {@link ChartWidgetProps} and {@link PivotTableWidgetProps} as `aiOptions`.
|
|
42
|
-
*
|
|
43
|
-
* @alpha
|
|
44
|
-
*/
|
|
45
|
-
export type WidgetAiOptions = {
|
|
46
|
-
/**
|
|
47
|
-
* Natural-language narrative settings
|
|
48
|
-
* @alpha
|
|
49
|
-
*/
|
|
50
|
-
narrative?: WidgetNarrativeOptions;
|
|
51
|
-
};
|
|
52
|
-
export type { WidgetNarrativeDisplayLocation, WidgetNarrativeOptions, CompleteWidgetNarrativeOptions, };
|
|
53
|
-
export { getCompleteWidgetNarrativeOptions };
|
|
54
36
|
/**
|
|
55
37
|
* @internal
|
|
56
38
|
*/
|
|
@@ -923,6 +905,36 @@ export interface TableStyleOptions {
|
|
|
923
905
|
* 'content' - columns width will be based on content (default option)
|
|
924
906
|
*/
|
|
925
907
|
width?: 'auto' | 'content';
|
|
908
|
+
/**
|
|
909
|
+
* Enables interactive resizing of column widths by dragging the column border.
|
|
910
|
+
* Default value is `true`. Set to `false` to disable.
|
|
911
|
+
*/
|
|
912
|
+
resizable?: boolean;
|
|
913
|
+
/**
|
|
914
|
+
* Minimum column width in pixels when resizing.
|
|
915
|
+
* Default value is 120.
|
|
916
|
+
*/
|
|
917
|
+
minWidth?: number;
|
|
918
|
+
/**
|
|
919
|
+
* Maximum column width in pixels when resizing.
|
|
920
|
+
* Default value is 350.
|
|
921
|
+
*/
|
|
922
|
+
maxWidth?: number;
|
|
923
|
+
/**
|
|
924
|
+
* Current column pixel widths, in display order. Set by the dashboarding
|
|
925
|
+
* layer to make column widths controlled/persisted; not intended for
|
|
926
|
+
* direct use.
|
|
927
|
+
*
|
|
928
|
+
* @internal
|
|
929
|
+
*/
|
|
930
|
+
widths?: number[];
|
|
931
|
+
/**
|
|
932
|
+
* Fired with the full set of column widths (pixels, in display order)
|
|
933
|
+
* whenever a column resize completes.
|
|
934
|
+
*
|
|
935
|
+
* @internal
|
|
936
|
+
*/
|
|
937
|
+
onColumnsResize?: (widths: number[]) => void;
|
|
926
938
|
};
|
|
927
939
|
/**
|
|
928
940
|
* Rows options
|
|
@@ -1366,7 +1378,6 @@ export type CalendarHeatmapViewType = 'month' | 'quarter' | 'half-year' | 'year'
|
|
|
1366
1378
|
/**
|
|
1367
1379
|
* Configuration options that define functional style of the various elements of a SankeyChart.
|
|
1368
1380
|
*
|
|
1369
|
-
* @group Charts
|
|
1370
1381
|
* @beta
|
|
1371
1382
|
*
|
|
1372
1383
|
* @example
|