@sisense/sdk-ui 2.11.0 → 2.13.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 +19 -19
- package/dist/ai.js +854 -842
- package/dist/analytics-composer/node.cjs +1 -3
- package/dist/analytics-composer/node.js +2304 -653
- package/dist/analytics-composer.cjs +18 -18
- package/dist/analytics-composer.js +18 -9
- package/dist/{derive-chart-family-BhAFg8OE.js → derive-chart-family-BcASqlOf.js} +13145 -12937
- package/dist/derive-chart-family-Ca1NT5US.cjs +166 -0
- package/dist/{dimensions-DCxjxuyH.cjs → dimensions-DCT9XInO.cjs} +1 -1
- package/dist/{dimensions-Bk74slQe.js → dimensions-DOxD1XtL.js} +1 -1
- package/dist/execute-query-CvH_36GC.cjs +1 -0
- package/dist/{execute-query-CxMSGp-J.js → execute-query-JhI9RXe_.js} +1613 -1539
- package/dist/index.cjs +29 -25
- package/dist/index.js +24789 -24450
- package/dist/index.umd.js +437 -443
- package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/api/hooks.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/chat-config.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/chat-frame.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/custom-ai-context-provider.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/messages/text-message.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/use-chat-session.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/use-final-nlq-response.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +23 -2
- package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/use-last-nlq-response-from-history.d.ts +1 -1
- package/dist/packages/sdk-ui/src/ai/use-last-nlq-response.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/code/default-options/data-options.d.ts +4 -0
- package/dist/packages/sdk-ui/src/analytics-composer/code/default-options/style-options.d.ts +89 -0
- package/dist/packages/sdk-ui/src/analytics-composer/code/stringify-props.d.ts +5 -1
- package/dist/packages/sdk-ui/src/analytics-composer/common/utils.d.ts +2 -2
- package/dist/packages/sdk-ui/src/analytics-composer/execute-query/execute-query-composer.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/execute-query/to-execute-query-code.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/index-node.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/common.d.ts +49 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/custom-formula/process-custom-formula.d.ts +14 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/custom-formula/validate-custom-formula.d.ts +54 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/execute-function.d.ts +5 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/factory-function-processors.d.ts +39 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/factory-function-schemas.d.ts +20 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/filter-processors.d.ts +37 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/process-arg.d.ts +8 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/process-function/process-node.d.ts +9 -0
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/translate-dimensions.d.ts +10 -0
- package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-filters.d.ts +19 -7
- package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-measures.d.ts +13 -7
- package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-query.d.ts +7 -9
- package/dist/packages/sdk-ui/src/analytics-composer/nlq-v3-translator/types.d.ts +46 -0
- package/dist/packages/sdk-ui/src/analytics-composer/query/query-translator.d.ts +2 -2
- package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +71 -10
- package/dist/packages/sdk-ui/src/analytics-composer/widget/chart-options/get-widget-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-code.d.ts +3 -3
- package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-props.d.ts +1 -1
- package/dist/packages/sdk-ui/src/api/rest-api.d.ts +9 -4
- package/dist/packages/sdk-ui/src/api/types/dashboard-dto.d.ts +2 -1
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +7 -6
- package/dist/packages/sdk-ui/src/app/settings/settings.d.ts +49 -0
- package/dist/packages/sdk-ui/src/boxplot-utils.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/helpers/get-load-data-function.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/helpers/use-chart-renderer-props.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/helpers/use-synced-data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/renderer/areamap.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/data-loading.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/design-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/calendar-data-generator.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/tooltip-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +5 -9
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/helpers.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +0 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +21 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/index.d.ts +1 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-chart-options.d.ts +8 -8
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-pagination.d.ts +23 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/axis.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/y-axis.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/design-options/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +3 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/data-options/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/design-options/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/data-options/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/design-options/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/build-highchart-options.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +10 -6
- package/dist/packages/sdk-ui/src/chart/restructured-charts/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/advanced-analytics-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/boxplot-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/cartesian-data.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data/indicator-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/range-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/scatter-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/table-data.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data/types.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-data-options/translate-boxplot-data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data-options/translate-data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-data-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-data-processor/row-comparator.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/advanced-chart-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/apply-event-handlers.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/boxplot-chart-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/cartesian-chart-options.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-builders.d.ts +8 -8
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-settings.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/axis/axis-transformers.d.ts +5 -6
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/chart-spacing-calculator.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +16 -16
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/category-chart-options.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/funnel-chart-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/pie-chart-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/treemap-chart-options.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +9 -9
- package/dist/packages/sdk-ui/src/chart-options-processor/data-points.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/defaults/cartesian.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/range-chart-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/scatter-chart-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/series-labels.d.ts +20 -17
- package/dist/packages/sdk-ui/src/chart-options-processor/stack-labels.d.ts +21 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-style-to-design-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/subtype-to-design-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +18 -7
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/base-design-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-axis.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-plot-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/boxplot/boxplot-series.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +13 -8
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-plot-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-series.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/legend-section.d.ts +3 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-plot-options.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-series.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/range/tooltip-range.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-plot-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-series.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/scatter-tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-levels.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-series.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +7 -7
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-labels.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-series.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/value-label-section.d.ts +12 -5
- package/dist/packages/sdk-ui/src/charts/indicator/chart/indicator.d.ts +4 -4
- package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-data-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-options/default-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-options/indicator-legacy-chart-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/indicator/indicator-legacy-chart-options/override-with-value-color.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/indicator/indicator-render-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/hooks/use-tooltip-handler.d.ts +2 -2
- package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/scattermap.d.ts +4 -4
- package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/utils/location.d.ts +2 -2
- package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/utils/map.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/map-charts/scattermap/utils/tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/charts/table/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group-header.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/components/menu/context-menu/menu.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/components/menu/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/use-load-data-from-internal-hook.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/with-lazy-loading.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/fusion-endpoints/use-get-data-source-fields.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/hooks/use-tracking.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/icons/arrow-collapse-icon.d.ts +5 -0
- package/dist/packages/sdk-ui/src/common/icons/double-arrow-end-icon.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common-filters/common-filters-connector.d.ts +6 -4
- package/dist/packages/sdk-ui/src/common-filters/selection-utils.d.ts +2 -1
- package/dist/packages/sdk-ui/src/common-filters/use-common-filters.d.ts +3 -3
- package/dist/packages/sdk-ui/src/common-filters/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/custom-widgets-provider/custom-widgets-provider-adapter.d.ts +1 -1
- package/dist/packages/sdk-ui/src/custom-widgets-provider/use-execute-custom-widget-query.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/draggable-line.d.ts +5 -1
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/draggable-widget-wrapper.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/resizable-columns.d.ts +5 -1
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/helpers.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/components/horizontal-collapse.d.ts +2 -1
- package/dist/packages/sdk-ui/src/dashboard/components/toolbar/edit-toggle.d.ts +25 -0
- package/dist/packages/sdk-ui/src/dashboard/components/toolbar/filter-toggle.d.ts +16 -0
- package/dist/packages/sdk-ui/src/dashboard/constants.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/dashboard.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-config-transformers.d.ts +3 -3
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-menu.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-types.d.ts +4 -4
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-dashboard-header-toolbar.d.ts +2 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +3 -2
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +25 -10
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +2 -2
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +19 -11
- package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +55 -12
- package/dist/packages/sdk-ui/src/decorators/component-decorators/with-tracking/error-tracker.d.ts +2 -2
- package/dist/packages/sdk-ui/src/filters/components/common/basic-input.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/common/date-range-field-button.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-display.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-menu.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-operations.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/criteria-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-display.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/base.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/multi-select-item.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-multi-select.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-single-select.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/single-select-item.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-tile-container.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filter-relations-tile/filter-relations-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filter-relations-tile/filter-relations-tooltip.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filter-relations-tile/tooltip-utils.d.ts +2 -2
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/hooks/use-existing-filter-editing.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/hooks/use-new-filter-adding.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/icons/arrow-icon.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/icons/double-arrow-icon.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/member-filter-tile/member-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/unsupported-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/hooks/use-get-filter-members.d.ts +15 -2
- package/dist/packages/sdk-ui/src/formulas/fetch-formula.d.ts +1 -1
- package/dist/packages/sdk-ui/src/formulas/use-get-shared-formula.d.ts +2 -2
- package/dist/packages/sdk-ui/src/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/indicator-canvas.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model-translator.d.ts +3 -3
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +24 -6
- package/dist/packages/sdk-ui/src/models/dashboard/get-dashboard-model.d.ts +9 -1
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +7 -6
- package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +6 -10
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dasboard-model-utils.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model-reducer.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-persistence.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/dashboard/use-get-dashboard-models.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/hierarchy/get-hierarchy-models.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/hierarchy/use-get-hierarchy-models.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/get-widget-model.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator/tabber.d.ts +21 -0
- package/dist/packages/sdk-ui/src/models/widget/{widget-model-translator.d.ts → widget-model-translator/widget-model-translator.d.ts} +15 -15
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +7 -1
- package/dist/packages/sdk-ui/src/no-results-overlay/images/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pivot-table/formatters/data-cell-formatters/data-cell-color-formatter.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pivot-table/formatters/formatter-utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pivot-table/formatters/utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pivot-table/hooks/use-apply-pivot-table-cell-events/use-apply-pivot-table-cell-events.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pivot-table/hooks/use-get-pivot-table-query.d.ts +2 -2
- package/dist/packages/sdk-ui/src/pivot-table/hooks/use-render-pivot.d.ts +7 -3
- package/dist/packages/sdk-ui/src/pivot-table/sorting-utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/props.d.ts +16 -28
- package/dist/packages/sdk-ui/src/query/execute-query.d.ts +2 -2
- package/dist/packages/sdk-ui/src/query/query-result-date-formatting.d.ts +1 -1
- package/dist/packages/sdk-ui/src/query-execution/query-params-comparator.d.ts +1 -1
- package/dist/packages/sdk-ui/src/query-execution/use-execute-query-by-widget-id.d.ts +2 -2
- package/dist/packages/sdk-ui/src/sisense-chart/sisense-chart.d.ts +1 -1
- package/dist/packages/sdk-ui/src/sisense-context/custom-sisense-context-provider.d.ts +2 -2
- package/dist/packages/sdk-ui/src/sisense-context/sisense-context-provider.d.ts +1 -1
- package/dist/packages/sdk-ui/src/sisense-context/sisense-context.d.ts +1 -1
- package/dist/packages/sdk-ui/src/sisense-context/sisense-query-client-provider.d.ts +1 -1
- package/dist/packages/sdk-ui/src/table/translations/design-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/themes/legacy-design-settings.d.ts +1 -1
- package/dist/packages/sdk-ui/src/themes/theme-loader.d.ts +1 -1
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +2 -0
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +4 -0
- package/dist/packages/sdk-ui/src/types.d.ts +185 -81
- package/dist/packages/sdk-ui/src/utils/gradient.d.ts +396 -0
- package/dist/packages/sdk-ui/src/utils/omit-undefined.d.ts +21 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/translate-panel-color-format.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-data-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-drilldown-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options/tabber.d.ts +23 -0
- package/dist/packages/sdk-ui/src/widget-by-id/{translate-widget-style-options.d.ts → translate-widget-style-options/translate-widget-style-options.d.ts} +4 -4
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +44 -5
- package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +33 -5
- package/dist/packages/sdk-ui/src/widgets/common/drilldown-breadcrumbs/use-buttons.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/common/drilldown-utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/common/use-drilldown-core.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/hooks/use-drilldown.d.ts +3 -3
- package/dist/packages/sdk-ui/src/widgets/hooks/use-with-drilldown.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/tabber/tabber-buttons-widget.d.ts +8 -0
- package/dist/packages/sdk-ui/src/widgets/tabber/types.d.ts +110 -0
- package/dist/{types-DhvOgfXa.cjs → types-Cl0_Tfey.cjs} +1 -1
- package/dist/{types-Dxieyr4A.js → types-CnFd03Ga.js} +1 -1
- package/dist/use-common-filters-WTVrWfsY.cjs +845 -0
- package/dist/{use-common-filters-DJyYvdev.js → use-common-filters-qFWk1Ia5.js} +70052 -69867
- package/dist/widget-composer-C7ZAcFHK.cjs +424 -0
- package/dist/widget-composer-ovIwmgin.js +1426 -0
- package/package.json +9 -9
- package/dist/derive-chart-family-BauaWEEc.cjs +0 -170
- package/dist/execute-query-uQ2s1ZNz.cjs +0 -1
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/common.d.ts +0 -40
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/index.d.ts +0 -2
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-dimensions.d.ts +0 -3
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-navigation.d.ts +0 -33
- package/dist/packages/sdk-ui/src/index-typedoc.d.ts +0 -31
- package/dist/packages/sdk-ui/src/widgets/tabber-widget.d.ts +0 -41
- package/dist/use-common-filters-Qj9249s0.cjs +0 -845
- package/dist/widget-composer-azihIMsw.js +0 -949
- package/dist/widget-composer-omIEhWNL.cjs +0 -428
- /package/dist/packages/sdk-ui/src/analytics-composer/{new-nlq-translator → nlq-v3-translator}/translate-query-to-jaql.d.ts +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
1
2
|
import type { Attribute, CalculatedMeasureColumn, Column, Measure, MeasureColumn, MembersFilter } from '@sisense/sdk-data';
|
|
2
3
|
import { DeepRequired } from 'ts-essentials';
|
|
3
|
-
import {
|
|
4
|
+
import { Coordinates } from './charts/map-charts/scattermap/types';
|
|
5
|
+
import { Hierarchy, HierarchyId, StyledColumn, StyledMeasureColumn } from '.';
|
|
6
|
+
import { HighchartsOptionsInternal } from './chart-options-processor/chart-options-service';
|
|
7
|
+
import { AreaRangeSubtype, AreaSubtype, BoxplotSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype } from './chart-options-processor/subtype-to-design-options';
|
|
4
8
|
import { IndicatorComponents, TableColorOptions } from './chart-options-processor/translations/design-options';
|
|
5
9
|
import { FunnelDirection, FunnelSize, FunnelType } from './chart-options-processor/translations/funnel-plot-options';
|
|
6
|
-
import { ScatterMarkerSize } from './chart-options-processor/translations/scatter-plot-options';
|
|
7
|
-
import { CartesianChartType, ScatterChartType, CategoricalChartType, IndicatorChartType, TableType, AreamapChartType, BoxplotChartType, ScattermapChartType, CalendarHeatmapChartType, RangeChartType, TableChartType, TextStyle } from './chart-options-processor/translations/types';
|
|
8
|
-
import { DataPointsEventHandler } from './props';
|
|
9
10
|
import { LegendPosition } from './chart-options-processor/translations/legend-section';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { HighchartsOptionsInternal } from './chart-options-processor/chart-options-service';
|
|
13
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
11
|
+
import { ScatterMarkerSize } from './chart-options-processor/translations/scatter-plot-options';
|
|
12
|
+
import { AreamapChartType, BoxplotChartType, CalendarHeatmapChartType, CartesianChartType, CategoricalChartType, IndicatorChartType, RangeChartType, ScatterChartType, ScattermapChartType, TableChartType, TableType, TextStyle } from './chart-options-processor/translations/types';
|
|
14
13
|
import { GeoDataElement, RawGeoDataElement } from './chart/restructured-charts/areamap-chart/types';
|
|
15
|
-
import { TabCornerRadius, TabInterval, TabSize } from './widgets/tabber-widget';
|
|
16
|
-
import { SoftUnion } from './utils/utility-types';
|
|
17
14
|
import { CalendarDayOfWeek } from './chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils';
|
|
15
|
+
import { DataPointsEventHandler } from './props';
|
|
16
|
+
import { GradientColor } from './utils/gradient';
|
|
17
|
+
import { SoftUnion } from './utils/utility-types';
|
|
18
18
|
export type { SortDirection, PivotRowsSort } from '@sisense/sdk-data';
|
|
19
19
|
export type { AppConfig } from './app/client-application';
|
|
20
20
|
export type { DateConfig } from './query/date-formats';
|
|
@@ -24,6 +24,7 @@ export type { DataColorCondition, ConditionalDataColorOptions, DataColorOptions,
|
|
|
24
24
|
export type { CartesianChartType, CategoricalChartType, ScatterChartType, IndicatorChartType, BoxplotChartType, ScattermapChartType, AreamapChartType, CalendarHeatmapChartType, TableType, TableChartType, AreaSubtype, AreaRangeSubtype, LineSubtype, PieSubtype, PolarSubtype, StackableSubtype, BoxplotSubtype, IndicatorComponents, ScatterMarkerSize, LegendPosition, GeoDataElement, RawGeoDataElement, Coordinates, RangeChartType, TableColorOptions, TextStyle, };
|
|
25
25
|
export type { MonthOfYear, DayOfWeek, DateLevel } from './query/date-formats/apply-date-format';
|
|
26
26
|
export type { IndicatorRenderOptions } from './charts/indicator/indicator-render-options';
|
|
27
|
+
export type { TabberButtonsWidgetStyleOptions, TabberButtonsWidgetCustomOptions, } from './widgets/tabber/types';
|
|
27
28
|
/**
|
|
28
29
|
* @internal
|
|
29
30
|
*/
|
|
@@ -120,7 +121,7 @@ export type SeriesLabels = {
|
|
|
120
121
|
rotation?: number;
|
|
121
122
|
/**
|
|
122
123
|
* Boolean flag that defines if value should be shown in series labels
|
|
123
|
-
* (if not specified,
|
|
124
|
+
* (if not specified, default is determined by chart type)
|
|
124
125
|
*/
|
|
125
126
|
showValue?: boolean;
|
|
126
127
|
/**
|
|
@@ -128,6 +129,11 @@ export type SeriesLabels = {
|
|
|
128
129
|
* (only applicable for subtypes that support percentage, like "stacked100")
|
|
129
130
|
*/
|
|
130
131
|
showPercentage?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Boolean flag that defines if percentage should be shown with decimals
|
|
134
|
+
* (will work only if `showPercentage` is `true`)
|
|
135
|
+
*/
|
|
136
|
+
showPercentDecimals?: boolean;
|
|
131
137
|
/**
|
|
132
138
|
* Text to be shown before the series labels
|
|
133
139
|
*/
|
|
@@ -155,11 +161,11 @@ export type SeriesLabels = {
|
|
|
155
161
|
/**
|
|
156
162
|
* Background color of the labels. `auto` uses the same color as the data point
|
|
157
163
|
*/
|
|
158
|
-
backgroundColor?: 'auto' | string;
|
|
164
|
+
backgroundColor?: 'auto' | string | GradientColor;
|
|
159
165
|
/**
|
|
160
166
|
* Color of the labels border
|
|
161
167
|
*/
|
|
162
|
-
borderColor?: string;
|
|
168
|
+
borderColor?: string | GradientColor;
|
|
163
169
|
/**
|
|
164
170
|
* Border radius in pixels applied to the labels border, if visible
|
|
165
171
|
*
|
|
@@ -194,13 +200,82 @@ export type SeriesLabels = {
|
|
|
194
200
|
delay?: number;
|
|
195
201
|
};
|
|
196
202
|
/**
|
|
197
|
-
*
|
|
203
|
+
* Text styling options for total labels.
|
|
204
|
+
*
|
|
205
|
+
* Extends the base TextStyle with additional alignment options specific to total labels.
|
|
206
|
+
*/
|
|
207
|
+
export type TotalLabelsTextStyle = Omit<TextStyle, 'pointerEvents' | 'textOverflow'> & {
|
|
208
|
+
/**
|
|
209
|
+
* Horizontal alignment of the total label text
|
|
210
|
+
*/
|
|
211
|
+
align?: 'left' | 'center' | 'right';
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Configuration options for total labels in stacked charts.
|
|
215
|
+
*
|
|
216
|
+
* Total labels display the sum of all series values at each data point in stacked charts.
|
|
217
|
+
* This configuration allows you to customize the appearance and positioning of these labels.
|
|
198
218
|
*/
|
|
199
219
|
export type TotalLabels = {
|
|
200
|
-
/**
|
|
220
|
+
/**
|
|
221
|
+
* Boolean flag that defines if total labels should be shown on the chart
|
|
222
|
+
* Total labels are only supported for stacked chart subtypes (Column, Bar, Area)
|
|
223
|
+
* */
|
|
201
224
|
enabled: boolean;
|
|
202
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Rotation of total labels (in degrees)
|
|
227
|
+
* */
|
|
203
228
|
rotation?: number;
|
|
229
|
+
/**
|
|
230
|
+
* The horizontal alignment of the total label compared to the point
|
|
231
|
+
*/
|
|
232
|
+
align?: 'left' | 'center' | 'right';
|
|
233
|
+
/**
|
|
234
|
+
* The vertical alignment of the total label compared to the point
|
|
235
|
+
*/
|
|
236
|
+
verticalAlign?: 'top' | 'middle' | 'bottom';
|
|
237
|
+
/**
|
|
238
|
+
* The animation delay time in milliseconds. Set to 0 to render the data labels immediately
|
|
239
|
+
*/
|
|
240
|
+
delay?: number;
|
|
241
|
+
/**
|
|
242
|
+
* Background color of the labels. `auto` uses the same color as the data point
|
|
243
|
+
*/
|
|
244
|
+
backgroundColor?: 'auto' | string | GradientColor;
|
|
245
|
+
/**
|
|
246
|
+
* Color of the labels border
|
|
247
|
+
*/
|
|
248
|
+
borderColor?: string | GradientColor;
|
|
249
|
+
/**
|
|
250
|
+
* Border radius in pixels applied to the labels border, if visible
|
|
251
|
+
*
|
|
252
|
+
* @default 0
|
|
253
|
+
*/
|
|
254
|
+
borderRadius?: number;
|
|
255
|
+
/**
|
|
256
|
+
* Border width of the series labels, in pixels
|
|
257
|
+
*/
|
|
258
|
+
borderWidth?: number;
|
|
259
|
+
/**
|
|
260
|
+
* Styling for labels text
|
|
261
|
+
*/
|
|
262
|
+
textStyle?: TotalLabelsTextStyle;
|
|
263
|
+
/**
|
|
264
|
+
* Horizontal offset of the total label in pixels, relative to its horizontal alignment specified via `align`
|
|
265
|
+
*/
|
|
266
|
+
xOffset?: number;
|
|
267
|
+
/**
|
|
268
|
+
* Vertical offset of the total label in pixels, relative to its vertical alignment specified via `verticalAlign`
|
|
269
|
+
*/
|
|
270
|
+
yOffset?: number;
|
|
271
|
+
/**
|
|
272
|
+
* Text to be shown before the total label
|
|
273
|
+
*/
|
|
274
|
+
prefix?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Text to be shown after the total label
|
|
277
|
+
*/
|
|
278
|
+
suffix?: string;
|
|
204
279
|
};
|
|
205
280
|
/**
|
|
206
281
|
* Configuration for the legend title
|
|
@@ -296,11 +371,11 @@ export type LegendOptions = {
|
|
|
296
371
|
/** Padding inside the legend, in pixels */
|
|
297
372
|
padding?: number;
|
|
298
373
|
/** Background color of the legend */
|
|
299
|
-
backgroundColor?: string;
|
|
374
|
+
backgroundColor?: string | GradientColor;
|
|
300
375
|
/** Width of the legend border in pixels */
|
|
301
376
|
borderWidth?: number;
|
|
302
377
|
/** Color of the legend border */
|
|
303
|
-
borderColor?: string;
|
|
378
|
+
borderColor?: string | GradientColor;
|
|
304
379
|
/**
|
|
305
380
|
* Border radius in pixels applied to the legend border, if visible.
|
|
306
381
|
*
|
|
@@ -309,8 +384,6 @@ export type LegendOptions = {
|
|
|
309
384
|
borderRadius?: number;
|
|
310
385
|
/**
|
|
311
386
|
* Whether to show shadow on the legend
|
|
312
|
-
*
|
|
313
|
-
* @internal
|
|
314
387
|
*/
|
|
315
388
|
shadow?: boolean;
|
|
316
389
|
/** If `true`, the order of legend items is reversed.
|
|
@@ -460,12 +533,6 @@ export interface BaseStyleOptions extends ReservedStyleOptions {
|
|
|
460
533
|
* Configuration for series labels - titles/names identifying data series in a chart
|
|
461
534
|
*/
|
|
462
535
|
seriesLabels?: SeriesLabels;
|
|
463
|
-
/**
|
|
464
|
-
* Configuration for total labels
|
|
465
|
-
*
|
|
466
|
-
* @internal
|
|
467
|
-
*/
|
|
468
|
-
totalLabels?: TotalLabels;
|
|
469
536
|
/** Data limit for series or categories that will be plotted */
|
|
470
537
|
dataLimits?: DataLimits;
|
|
471
538
|
/**
|
|
@@ -557,11 +624,21 @@ export interface AreaStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions
|
|
|
557
624
|
line?: LineOptions;
|
|
558
625
|
/** Subtype of AreaChart*/
|
|
559
626
|
subtype?: AreaSubtype;
|
|
627
|
+
/**
|
|
628
|
+
* Configuration for total labels
|
|
629
|
+
* Only supported for stacked chart subtypes
|
|
630
|
+
*/
|
|
631
|
+
totalLabels?: TotalLabels;
|
|
560
632
|
}
|
|
561
633
|
/** Configuration options that define functional style of the various elements of stackable charts, like Column or Bar */
|
|
562
634
|
export interface StackableStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
|
|
563
635
|
/** Subtype of stackable chart */
|
|
564
636
|
subtype?: StackableSubtype;
|
|
637
|
+
/**
|
|
638
|
+
* Configuration for total labels
|
|
639
|
+
* Only supported for stacked chart subtypes
|
|
640
|
+
*/
|
|
641
|
+
totalLabels?: TotalLabels;
|
|
565
642
|
/**
|
|
566
643
|
* Configuration for series styling
|
|
567
644
|
*/
|
|
@@ -588,17 +665,57 @@ export interface StackableStyleOptions extends BaseStyleOptions, BaseAxisStyleOp
|
|
|
588
665
|
borderRadius?: number | string;
|
|
589
666
|
};
|
|
590
667
|
}
|
|
668
|
+
/**
|
|
669
|
+
* Configuration for percentage labels
|
|
670
|
+
* Percentage labels are shown on top of series slices
|
|
671
|
+
*/
|
|
672
|
+
export type PiePercentageLabels = {
|
|
673
|
+
/**
|
|
674
|
+
* Boolean flag that defines if percentage label should be shown
|
|
675
|
+
*/
|
|
676
|
+
enabled: boolean;
|
|
677
|
+
/**
|
|
678
|
+
* Boolean flag that defines if percentage label should be shown with decimals
|
|
679
|
+
*/
|
|
680
|
+
showDecimals?: boolean;
|
|
681
|
+
};
|
|
682
|
+
export type PieSeriesLabels = Omit<SeriesLabels, 'showPercentage' | 'showPercentDecimals' | 'alignInside' | 'align' | 'verticalAlign'> & {
|
|
683
|
+
/**
|
|
684
|
+
* Boolean flag that defines if the category should be shown
|
|
685
|
+
* @default `true`
|
|
686
|
+
*/
|
|
687
|
+
showCategory?: boolean;
|
|
688
|
+
/**
|
|
689
|
+
* Configuration for percentage labels
|
|
690
|
+
* Percentage labels are shown on top of series slices
|
|
691
|
+
* Styling from series labels are not applied to percentage labels
|
|
692
|
+
*/
|
|
693
|
+
percentageLabels?: PiePercentageLabels;
|
|
694
|
+
/**
|
|
695
|
+
* Styling for labels text
|
|
696
|
+
*/
|
|
697
|
+
textStyle?: Omit<TextStyle, 'pointerEvents' | 'textOverflow'>;
|
|
698
|
+
};
|
|
591
699
|
/** Configuration options that define functional style of the various elements of Pie chart */
|
|
592
|
-
export interface PieStyleOptions extends
|
|
700
|
+
export interface PieStyleOptions extends BaseStyleOptions {
|
|
593
701
|
/**
|
|
594
702
|
* Configuration that defines the ability of the Pie chart to collapse (convolve) and
|
|
595
703
|
* hide part of the data under the single category "Others".
|
|
596
704
|
*/
|
|
597
705
|
convolution?: Convolution;
|
|
598
|
-
/**
|
|
706
|
+
/**
|
|
707
|
+
* Configuration that defines behavior of data labels on Pie chart
|
|
708
|
+
*
|
|
709
|
+
* @deprecated
|
|
710
|
+
* Use seriesLabels instead
|
|
711
|
+
*/
|
|
599
712
|
labels?: Labels;
|
|
600
713
|
/** Subtype of Pie chart*/
|
|
601
714
|
subtype?: PieSubtype;
|
|
715
|
+
/**
|
|
716
|
+
* Configuration for series labels - titles/names identifying data series in a chart
|
|
717
|
+
*/
|
|
718
|
+
seriesLabels?: PieSeriesLabels;
|
|
602
719
|
}
|
|
603
720
|
/** Configuration options that define functional style of the various elements of FunnelChart */
|
|
604
721
|
export interface FunnelStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'> {
|
|
@@ -804,6 +921,7 @@ export interface ScatterStyleOptions extends Omit<BaseStyleOptions, 'seriesLabel
|
|
|
804
921
|
/** Subtype of ScatterChart*/
|
|
805
922
|
subtype?: never;
|
|
806
923
|
markerSize?: ScatterMarkerSize;
|
|
924
|
+
seriesLabels?: Omit<SeriesLabels, 'showValue' | 'showPercentage' | 'showPercentDecimals'>;
|
|
807
925
|
}
|
|
808
926
|
/** Configuration options that define functional style of the various elements of TreemapChart */
|
|
809
927
|
export interface TreemapStyleOptions extends Omit<BaseStyleOptions, 'seriesLabels'> {
|
|
@@ -885,6 +1003,19 @@ export type CalendarHeatmapCellLabels = {
|
|
|
885
1003
|
*/
|
|
886
1004
|
enabled?: boolean;
|
|
887
1005
|
/** Style configuration for calendar day numbers in cells */
|
|
1006
|
+
textStyle?: Omit<TextStyle, 'color'> & {
|
|
1007
|
+
/**
|
|
1008
|
+
* Color of the labels text
|
|
1009
|
+
*
|
|
1010
|
+
* The "contrast" color applies the maximum contrast between the background and the text
|
|
1011
|
+
*/
|
|
1012
|
+
color?: string | 'contrast';
|
|
1013
|
+
};
|
|
1014
|
+
/**
|
|
1015
|
+
* Style configuration for calendar day numbers in cells
|
|
1016
|
+
*
|
|
1017
|
+
* @deprecated Please use `textStyle` instead
|
|
1018
|
+
*/
|
|
888
1019
|
style?: Omit<TextStyle, 'color'> & {
|
|
889
1020
|
/**
|
|
890
1021
|
* Color of the labels text
|
|
@@ -922,6 +1053,12 @@ export interface CalendarHeatmapStyleOptions extends Pick<BaseStyleOptions, 'wid
|
|
|
922
1053
|
*/
|
|
923
1054
|
enabled?: boolean;
|
|
924
1055
|
/** Style configuration for calendar weekday names */
|
|
1056
|
+
textStyle?: TextStyle;
|
|
1057
|
+
/**
|
|
1058
|
+
* Style configuration for calendar weekday names
|
|
1059
|
+
*
|
|
1060
|
+
* @deprecated Please use `textStyle` instead
|
|
1061
|
+
*/
|
|
925
1062
|
style?: TextStyle;
|
|
926
1063
|
};
|
|
927
1064
|
/**
|
|
@@ -935,6 +1072,11 @@ export interface CalendarHeatmapStyleOptions extends Pick<BaseStyleOptions, 'wid
|
|
|
935
1072
|
*/
|
|
936
1073
|
enabled?: boolean;
|
|
937
1074
|
/** Style configuration for month names */
|
|
1075
|
+
textStyle?: TextStyle;
|
|
1076
|
+
/**
|
|
1077
|
+
* Style configuration for month names
|
|
1078
|
+
* @deprecated Please use `textStyle` instead
|
|
1079
|
+
*/
|
|
938
1080
|
style?: TextStyle;
|
|
939
1081
|
};
|
|
940
1082
|
/**
|
|
@@ -962,6 +1104,21 @@ export interface CalendarHeatmapStyleOptions extends Pick<BaseStyleOptions, 'wid
|
|
|
962
1104
|
*/
|
|
963
1105
|
hideValues?: boolean;
|
|
964
1106
|
};
|
|
1107
|
+
/**
|
|
1108
|
+
* Configuration for pagination controls in multi-month view types
|
|
1109
|
+
*/
|
|
1110
|
+
pagination?: {
|
|
1111
|
+
/**
|
|
1112
|
+
* Boolean flag that defines if pagination controls should be shown
|
|
1113
|
+
*
|
|
1114
|
+
* @default true
|
|
1115
|
+
*/
|
|
1116
|
+
enabled?: boolean;
|
|
1117
|
+
/** Style configuration for pagination controls text */
|
|
1118
|
+
textStyle?: TextStyle;
|
|
1119
|
+
/** Start month to display when the chart is first rendered */
|
|
1120
|
+
startMonth?: Date;
|
|
1121
|
+
};
|
|
965
1122
|
}
|
|
966
1123
|
/**
|
|
967
1124
|
* View type determines how many months to display: 'month' (1), 'quarter' (3), 'half-year' (6), 'year' (12)
|
|
@@ -2248,59 +2405,6 @@ export type TranslationConfig = {
|
|
|
2248
2405
|
*/
|
|
2249
2406
|
customTranslations?: CustomTranslationObject[];
|
|
2250
2407
|
};
|
|
2251
|
-
/**
|
|
2252
|
-
* Single Tabber Widget tab object without styling
|
|
2253
|
-
*
|
|
2254
|
-
* @internal
|
|
2255
|
-
*/
|
|
2256
|
-
export type TabberTab = {
|
|
2257
|
-
displayWidgetIds: string[];
|
|
2258
|
-
title: string;
|
|
2259
|
-
};
|
|
2260
|
-
/**
|
|
2261
|
-
* Tabber widget DTO style property
|
|
2262
|
-
*
|
|
2263
|
-
* @internal
|
|
2264
|
-
*/
|
|
2265
|
-
export type TabberDtoStyle = Partial<TabberStyleProps> & {
|
|
2266
|
-
activeTab?: string;
|
|
2267
|
-
};
|
|
2268
|
-
/**
|
|
2269
|
-
* Configuration options that define style of the various elements of the Tabber component.
|
|
2270
|
-
*
|
|
2271
|
-
* @internal
|
|
2272
|
-
*/
|
|
2273
|
-
export type TabberStyleOptions = {
|
|
2274
|
-
descriptionColor: string;
|
|
2275
|
-
selectedBkgColor: string;
|
|
2276
|
-
selectedColor: string;
|
|
2277
|
-
showDescription: boolean;
|
|
2278
|
-
showSeparators: boolean;
|
|
2279
|
-
showTitle: boolean;
|
|
2280
|
-
tabCornerRadius: TabCornerRadius;
|
|
2281
|
-
tabsAlignment: string;
|
|
2282
|
-
tabsInterval: TabInterval;
|
|
2283
|
-
tabsSize: TabSize;
|
|
2284
|
-
unselectedBkgColor: string;
|
|
2285
|
-
unselectedColor: string;
|
|
2286
|
-
useSelectedBkg: boolean;
|
|
2287
|
-
useUnselectedBkg: boolean;
|
|
2288
|
-
};
|
|
2289
|
-
/**
|
|
2290
|
-
* Configuration options that defined tabber look and feel, including tabs and active tab.
|
|
2291
|
-
*
|
|
2292
|
-
* @internal
|
|
2293
|
-
*/
|
|
2294
|
-
export type TabberStyleProps = TabberStyleOptions & TabberConfig;
|
|
2295
|
-
/**
|
|
2296
|
-
* Tabber business logic configuration
|
|
2297
|
-
*
|
|
2298
|
-
* @internal
|
|
2299
|
-
*/
|
|
2300
|
-
export type TabberConfig = {
|
|
2301
|
-
tabs: TabberTab[];
|
|
2302
|
-
activeTab: number;
|
|
2303
|
-
};
|
|
2304
2408
|
/** @internal */
|
|
2305
2409
|
export type CustomContextProviderProps<P> = SoftUnion<{
|
|
2306
2410
|
context: P;
|