@sisense/sdk-ui 1.31.0 → 1.33.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 +22 -423
- package/dist/ai.js +1827 -1781
- package/dist/analytics-composer.cjs +54 -54
- package/dist/analytics-composer.js +546 -525
- package/dist/derive-chart-family-B4sA-ao-.cjs +758 -0
- package/dist/derive-chart-family-nTKwlMms.js +101063 -0
- package/dist/index.cjs +30 -858
- package/dist/index.js +14249 -10959
- package/dist/packages/sdk-ui/src/ai/ai-context-provider.d.ts +3 -2
- package/dist/packages/sdk-ui/src/ai/api/chat-rest-api.d.ts +1 -3
- package/dist/packages/sdk-ui/src/ai/api/types.d.ts +12 -3
- package/dist/packages/sdk-ui/src/ai/chart/nlq-chart-widget.d.ts +2 -2
- package/dist/packages/sdk-ui/src/ai/chatbot.d.ts +2 -2
- package/dist/packages/sdk-ui/src/ai/custom-ai-context-provider.d.ts +13 -0
- package/dist/packages/sdk-ui/src/ai/index.d.ts +7 -4
- package/dist/packages/sdk-ui/src/ai/use-get-nlg-insights.d.ts +2 -0
- package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +12 -5
- package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +8 -4
- package/dist/packages/sdk-ui/src/ai/use-last-nlq-response-from-history.d.ts +8 -0
- package/dist/packages/sdk-ui/src/ai/use-last-nlq-response.d.ts +1 -2
- package/dist/packages/sdk-ui/src/analytics-composer/common/constants.d.ts +1 -0
- package/dist/packages/sdk-ui/src/api/rest-api.d.ts +12 -1
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +15 -0
- package/dist/packages/sdk-ui/src/area-chart.d.ts +2 -2
- package/dist/packages/sdk-ui/src/bar-chart.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/helpers/get-load-data-function.d.ts +16 -0
- package/dist/packages/sdk-ui/src/chart/helpers/use-chart-data-preparation.d.ts +17 -0
- package/dist/packages/sdk-ui/src/chart/helpers/use-synced-data.d.ts +3 -1
- package/dist/packages/sdk-ui/src/chart/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/areamap-chart-builder.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data/areamap-data.d.ts +4 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data/geo-data-coloring-function.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data-options/data-options.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/data-options/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/design-options/design-options.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/design-options/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/areamap-map.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/renderer/areamap-utils.d.ts +12 -0
- package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/areamap.d.ts +5 -5
- package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/feature-styles-dictionary.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/renderer/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/use-geo-json.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/areamap-chart/types.d.ts +35 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/bar-chart/bar-chart-builder.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/chart-builder-factory.d.ts +3 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/column-chart/column-chart-builder.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/data-options.d.ts +27 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/data.d.ts +4 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/stackable/design-options.d.ts +5 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/data-loading.d.ts +12 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +100 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/utils.d.ts +3 -0
- package/dist/packages/sdk-ui/src/chart-data/types.d.ts +3 -29
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/prepare-design-options.d.ts +6 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +9 -8
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +1 -7
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +2 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +2 -1
- package/dist/packages/sdk-ui/src/column-chart.d.ts +2 -2
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group-header.d.ts +10 -0
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group.d.ts +10 -0
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/grouped-items-browser.d.ts +6 -0
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/item-row.d.ts +15 -0
- package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/types.d.ts +40 -0
- package/dist/packages/sdk-ui/src/common/components/loading-dots.d.ts +1 -1
- package/dist/packages/sdk-ui/src/common/components/popover.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/components/radio.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/index.d.ts +4 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/use-data-accumulation.d.ts +7 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/use-get-load-more-function.d.ts +4 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/use-load-data-from-internal-hook.d.ts +16 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/hooks/use-manage-slice-to-load.d.ts +10 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/utils/calculate-if-all-items-loaded.d.ts +2 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/utils/get-hook-state-result.d.ts +9 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/helpers/utils/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/types.d.ts +27 -0
- package/dist/packages/sdk-ui/src/common/hooks/decorators/with-lazy-loading/with-lazy-loading.d.ts +7 -0
- package/dist/packages/sdk-ui/src/common/hooks/fusion-endpoints/use-get-data-source-fields.d.ts +17 -0
- package/dist/packages/sdk-ui/src/common/hooks/use-defaults.d.ts +9 -0
- package/dist/packages/sdk-ui/src/common/hooks/use-last-defined.d.ts +6 -0
- package/dist/packages/sdk-ui/src/common/icons/approval-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/arrow-icon.d.ts +3 -0
- package/dist/packages/sdk-ui/src/common/icons/breadcrumbs-arrows-arrow-icon.d.ts +3 -0
- package/dist/packages/sdk-ui/src/common/icons/close-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/date-attribute-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/elasticube-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/numeric-attribute-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/plus-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/table-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/text-attribute-icon.d.ts +1 -0
- package/dist/packages/sdk-ui/src/dashboard/components/content-panel.d.ts +8 -1
- package/dist/packages/sdk-ui/src/dashboard/components/dashboard-container.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/constants.d.ts +4 -0
- package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +6 -6
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-tabber.d.ts +18 -0
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-widgets-layout.d.ts +14 -0
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +68 -32
- package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +7 -2
- package/dist/packages/sdk-ui/src/data-browser/add-filter-popover/add-filter-data-browser.d.ts +9 -0
- package/dist/packages/sdk-ui/src/data-browser/add-filter-popover/add-filter-popover.d.ts +14 -0
- package/dist/packages/sdk-ui/src/data-browser/add-filter-popover/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/data-browser/add-filter-popover/popover-header.d.ts +12 -0
- package/dist/packages/sdk-ui/src/data-browser/data-source-selector/data-source-selector.d.ts +7 -0
- package/dist/packages/sdk-ui/src/data-browser/data-source-selector/use-data-source-selection.d.ts +5 -0
- package/dist/packages/sdk-ui/src/data-browser/dimensions-browser/dimensions-browser.d.ts +6 -0
- package/dist/packages/sdk-ui/src/data-browser/dimensions-browser/types.d.ts +74 -0
- package/dist/packages/sdk-ui/src/data-browser/search-input/search-input.d.ts +5 -0
- package/dist/packages/sdk-ui/src/filters/components/common/checkbox.d.ts +1 -0
- 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-filter/calendar-date-selector.d.ts +8 -7
- package/dist/packages/sdk-ui/src/filters/components/date-filter/date-filter/date-range-calculator.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/date-filter/date-range-filter-tile/date-range-filter-tile.d.ts +3 -0
- package/dist/packages/sdk-ui/src/filters/components/date-filter/relative-date-filter-tile/relative-date-filter-tile.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/input.d.ts +5 -2
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/search-input.d.ts +4 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/base.d.ts +11 -7
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/calendar-select.d.ts +24 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/types.d.ts +14 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/calendar-select/utils.d.ts +5 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/members-list-select.d.ts +11 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-multi-select.d.ts +3 -4
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/searchable-single-select.d.ts +17 -4
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/select/single-select.d.ts +3 -2
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/common/selectable-section.d.ts +2 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-container.d.ts +2 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-context.d.ts +13 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-datetime.d.ts +9 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-numerical.d.ts +2 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-popover.d.ts +6 -2
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor-textual.d.ts +2 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/filter-editor.d.ts +6 -2
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/hooks/use-datetime-formatter.d.ts +2 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/hooks/use-get-attribute-stats.d.ts +4 -2
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/common/granularities.d.ts +8 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/condition-forms/datetime-exclude-condition-form.d.ts +11 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/condition-forms/datetime-is-within-condition-form.d.ts +10 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/datetime-condition-section.d.ts +12 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-condition-section/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-members-section.d.ts +12 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-range-section.d.ts +11 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/datetime-relative-section.d.ts +9 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/members-section.d.ts +0 -5
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/not-supported-section.d.ts +6 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/numeric-condition-section/numeric-condition-section.d.ts +1 -6
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/text-condition-section.d.ts +1 -3
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/types.d.ts +4 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/utils.d.ts +5 -2
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/types.d.ts +5 -0
- package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/utils.d.ts +13 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-tile-container.d.ts +7 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/constants.d.ts +6 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filters-panel-header.d.ts +6 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/filters-panel.d.ts +5 -2
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/hooks/use-existing-filter-editing.d.ts +19 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/hooks/use-new-filter-adding.d.ts +19 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/filters/components/filters-panel/types.d.ts +60 -0
- package/dist/packages/sdk-ui/src/filters/components/icons/date-icon.d.ts +1 -1
- package/dist/packages/sdk-ui/src/filters/components/icons/index.d.ts +0 -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/hooks/use-get-filter-members.d.ts +3 -2
- package/dist/packages/sdk-ui/src/index.d.ts +2 -1
- package/dist/packages/sdk-ui/src/line-chart.d.ts +2 -2
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model-translator.d.ts +0 -2
- package/dist/packages/sdk-ui/src/models/dashboard/dashboard-model.d.ts +7 -1
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +2 -1
- package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +9 -1
- package/dist/packages/sdk-ui/src/models/widget/use-get-widget-model.d.ts +1 -1
- package/dist/packages/sdk-ui/src/pie-chart.d.ts +2 -2
- 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/plugins-provider/custom-plugins-provider.d.ts +8 -8
- package/dist/packages/sdk-ui/src/plugins-provider/plugins-context.d.ts +6 -6
- package/dist/packages/sdk-ui/src/plugins-provider/plugins-provider.d.ts +3 -3
- package/dist/packages/sdk-ui/src/plugins-provider/types.d.ts +2 -1
- package/dist/packages/sdk-ui/src/polar-chart.d.ts +2 -2
- package/dist/packages/sdk-ui/src/props.d.ts +35 -15
- package/dist/packages/sdk-ui/src/query-execution/use-execute-query.d.ts +1 -1
- package/dist/packages/sdk-ui/src/scatter-chart.d.ts +1 -1
- package/dist/packages/sdk-ui/src/sisense-chart/sisense-chart.d.ts +1 -16
- package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +16 -1
- package/dist/packages/sdk-ui/src/theme-provider/use-theme-settings.d.ts +1 -1
- package/dist/packages/sdk-ui/src/theme-provider/utils.d.ts +5 -0
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +47 -0
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +94 -0
- package/dist/packages/sdk-ui/src/types.d.ts +203 -1
- package/dist/packages/sdk-ui/src/utils/data-sources-utils.d.ts +8 -0
- package/dist/packages/sdk-ui/src/utils/generate-attribute-name.d.ts +2 -0
- package/dist/packages/sdk-ui/src/utils/utility-types.d.ts +38 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +1 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options.d.ts +16 -5
- package/dist/packages/sdk-ui/src/widgets/drilldown-widget.d.ts +1 -1
- package/dist/packages/sdk-ui/src/widgets/tabber-widget.d.ts +35 -0
- package/dist/use-common-filters--WPkVexd.js +28459 -0
- package/dist/use-common-filters-BNKt9a0z.cjs +271 -0
- package/dist/{widget-composer-BrQ6SrZ6.js → widget-composer-CobNNZ1e.js} +239 -233
- package/dist/widget-composer-DPqi_qzU.cjs +316 -0
- package/package.json +10 -9
- package/dist/derive-chart-family-D3iN--j2.js +0 -44430
- package/dist/derive-chart-family-Tt7cIUck.cjs +0 -271
- package/dist/packages/sdk-ui/src/ai/use-get-data-source-fields.d.ts +0 -12
- package/dist/packages/sdk-ui/src/chart-data/areamap-data.d.ts +0 -4
- package/dist/packages/sdk-ui/src/chart-data/data-coloring/geo-data-coloring-function.d.ts +0 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-areamap-options.d.ts +0 -3
- package/dist/packages/sdk-ui/src/charts/map-charts/areamap/areamap-utils.d.ts +0 -11
- package/dist/use-common-filters-CHBXz5rL.js +0 -83439
- package/dist/use-common-filters-Dd-gOMfB.cjs +0 -916
- package/dist/widget-composer-BHf4pbvI.cjs +0 -311
- /package/dist/packages/sdk-ui/src/{charts/map-charts/areamap → chart/restructured-charts/areamap-chart/renderer}/alternative-country-names-dictionary.d.ts +0 -0
- /package/dist/packages/sdk-ui/src/{filters/components → common}/icons/search-icon.d.ts +0 -0
|
@@ -27,6 +27,10 @@ export declare const resources: {
|
|
|
27
27
|
filterAttributeNotFound: string;
|
|
28
28
|
highlightAttributeNotFound: string;
|
|
29
29
|
};
|
|
30
|
+
optionsTranslation: {
|
|
31
|
+
invalidStyleOptions: string;
|
|
32
|
+
invalidInternalDataOptions: string;
|
|
33
|
+
};
|
|
30
34
|
themeNotFound: string;
|
|
31
35
|
paletteNotFound: string;
|
|
32
36
|
chartTypeNotSupported: string;
|
|
@@ -84,6 +88,10 @@ export declare const resources: {
|
|
|
84
88
|
notAMembersFilter: string;
|
|
85
89
|
drilldownNoInitialDimension: string;
|
|
86
90
|
otherWidgetTypesNotSupported: string;
|
|
91
|
+
dataBrowser: {
|
|
92
|
+
dimensionNotFound: string;
|
|
93
|
+
attributeNotFound: string;
|
|
94
|
+
};
|
|
87
95
|
};
|
|
88
96
|
errorBoxText: string;
|
|
89
97
|
chartNoData: string;
|
|
@@ -267,6 +275,17 @@ export declare const resources: {
|
|
|
267
275
|
noAvailableDataTopics: string;
|
|
268
276
|
};
|
|
269
277
|
};
|
|
278
|
+
attribute: {
|
|
279
|
+
datetimeName: {
|
|
280
|
+
years: string;
|
|
281
|
+
quarters: string;
|
|
282
|
+
months: string;
|
|
283
|
+
weeks: string;
|
|
284
|
+
days: string;
|
|
285
|
+
hours: string;
|
|
286
|
+
minutes: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
270
289
|
filterEditor: {
|
|
271
290
|
buttons: {
|
|
272
291
|
apply: string;
|
|
@@ -279,11 +298,13 @@ export declare const resources: {
|
|
|
279
298
|
allowMultiSelection: string;
|
|
280
299
|
from: string;
|
|
281
300
|
to: string;
|
|
301
|
+
includeCurrent: string;
|
|
282
302
|
};
|
|
283
303
|
placeholders: {
|
|
284
304
|
selectFromList: string;
|
|
285
305
|
enterEntry: string;
|
|
286
306
|
enterValue: string;
|
|
307
|
+
select: string;
|
|
287
308
|
};
|
|
288
309
|
conditions: {
|
|
289
310
|
exclude: string;
|
|
@@ -301,11 +322,37 @@ export declare const resources: {
|
|
|
301
322
|
lessThanOrEqual: string;
|
|
302
323
|
greaterThan: string;
|
|
303
324
|
greaterThanOrEqual: string;
|
|
325
|
+
isWithin: string;
|
|
304
326
|
};
|
|
305
327
|
validationErrors: {
|
|
306
328
|
invalidNumber: string;
|
|
307
329
|
invalidNumericRange: string;
|
|
308
330
|
};
|
|
331
|
+
datetimeLevels: {
|
|
332
|
+
year: string;
|
|
333
|
+
quarter: string;
|
|
334
|
+
month: string;
|
|
335
|
+
week: string;
|
|
336
|
+
day: string;
|
|
337
|
+
aggrigatedHour: string;
|
|
338
|
+
aggrigatedMinutesRoundTo15: string;
|
|
339
|
+
};
|
|
340
|
+
relativeTypes: {
|
|
341
|
+
last: string;
|
|
342
|
+
this: string;
|
|
343
|
+
next: string;
|
|
344
|
+
};
|
|
345
|
+
datetimePositions: {
|
|
346
|
+
before: string;
|
|
347
|
+
after: string;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
dataBrowser: {
|
|
351
|
+
addFilter: string;
|
|
352
|
+
selectField: string;
|
|
353
|
+
configureFilter: string;
|
|
354
|
+
noResults: string;
|
|
355
|
+
searchPlaceholder: string;
|
|
309
356
|
};
|
|
310
357
|
pivotTable: {
|
|
311
358
|
grandTotal: string;
|
|
@@ -331,6 +378,10 @@ export declare const resources: {
|
|
|
331
378
|
filterAttributeNotFound: string;
|
|
332
379
|
highlightAttributeNotFound: string;
|
|
333
380
|
};
|
|
381
|
+
optionsTranslation: {
|
|
382
|
+
invalidStyleOptions: string;
|
|
383
|
+
invalidInternalDataOptions: string;
|
|
384
|
+
};
|
|
334
385
|
themeNotFound: string;
|
|
335
386
|
paletteNotFound: string;
|
|
336
387
|
chartTypeNotSupported: string;
|
|
@@ -388,6 +439,10 @@ export declare const resources: {
|
|
|
388
439
|
notAMembersFilter: string;
|
|
389
440
|
drilldownNoInitialDimension: string;
|
|
390
441
|
otherWidgetTypesNotSupported: string;
|
|
442
|
+
dataBrowser: {
|
|
443
|
+
dimensionNotFound: string;
|
|
444
|
+
attributeNotFound: string;
|
|
445
|
+
};
|
|
391
446
|
};
|
|
392
447
|
errorBoxText: string;
|
|
393
448
|
chartNoData: string;
|
|
@@ -571,6 +626,17 @@ export declare const resources: {
|
|
|
571
626
|
noAvailableDataTopics: string;
|
|
572
627
|
};
|
|
573
628
|
};
|
|
629
|
+
attribute: {
|
|
630
|
+
datetimeName: {
|
|
631
|
+
years: string;
|
|
632
|
+
quarters: string;
|
|
633
|
+
months: string;
|
|
634
|
+
weeks: string;
|
|
635
|
+
days: string;
|
|
636
|
+
hours: string;
|
|
637
|
+
minutes: string;
|
|
638
|
+
};
|
|
639
|
+
};
|
|
574
640
|
filterEditor: {
|
|
575
641
|
buttons: {
|
|
576
642
|
apply: string;
|
|
@@ -583,11 +649,13 @@ export declare const resources: {
|
|
|
583
649
|
allowMultiSelection: string;
|
|
584
650
|
from: string;
|
|
585
651
|
to: string;
|
|
652
|
+
includeCurrent: string;
|
|
586
653
|
};
|
|
587
654
|
placeholders: {
|
|
588
655
|
selectFromList: string;
|
|
589
656
|
enterEntry: string;
|
|
590
657
|
enterValue: string;
|
|
658
|
+
select: string;
|
|
591
659
|
};
|
|
592
660
|
conditions: {
|
|
593
661
|
exclude: string;
|
|
@@ -605,11 +673,37 @@ export declare const resources: {
|
|
|
605
673
|
lessThanOrEqual: string;
|
|
606
674
|
greaterThan: string;
|
|
607
675
|
greaterThanOrEqual: string;
|
|
676
|
+
isWithin: string;
|
|
608
677
|
};
|
|
609
678
|
validationErrors: {
|
|
610
679
|
invalidNumber: string;
|
|
611
680
|
invalidNumericRange: string;
|
|
612
681
|
};
|
|
682
|
+
datetimeLevels: {
|
|
683
|
+
year: string;
|
|
684
|
+
quarter: string;
|
|
685
|
+
month: string;
|
|
686
|
+
week: string;
|
|
687
|
+
day: string;
|
|
688
|
+
aggrigatedHour: string;
|
|
689
|
+
aggrigatedMinutesRoundTo15: string;
|
|
690
|
+
};
|
|
691
|
+
relativeTypes: {
|
|
692
|
+
last: string;
|
|
693
|
+
this: string;
|
|
694
|
+
next: string;
|
|
695
|
+
};
|
|
696
|
+
datetimePositions: {
|
|
697
|
+
before: string;
|
|
698
|
+
after: string;
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
dataBrowser: {
|
|
702
|
+
addFilter: string;
|
|
703
|
+
selectField: string;
|
|
704
|
+
configureFilter: string;
|
|
705
|
+
noResults: string;
|
|
706
|
+
searchPlaceholder: string;
|
|
613
707
|
};
|
|
614
708
|
pivotTable: {
|
|
615
709
|
grandTotal: string;
|
|
@@ -7,11 +7,12 @@ import { ScatterMarkerSize } from './chart-options-processor/translations/scatte
|
|
|
7
7
|
import { CartesianChartType, ScatterChartType, CategoricalChartType, IndicatorChartType, TableType, AreamapChartType, BoxplotChartType, ScattermapChartType, RangeChartType, TableChartType } from './chart-options-processor/translations/types';
|
|
8
8
|
import { DataPointsEventHandler } from './props';
|
|
9
9
|
import { LegendPosition } from './chart-options-processor/translations/legend-section';
|
|
10
|
-
import { GeoDataElement, RawGeoDataElement } from './chart-data/types';
|
|
11
10
|
import { Coordinates } from './charts/map-charts/scattermap/types';
|
|
12
11
|
import { StyledColumn, StyledMeasureColumn, Hierarchy, HierarchyId } from '.';
|
|
13
12
|
import { HighchartsOptionsInternal } from './chart-options-processor/chart-options-service';
|
|
14
13
|
import { CSSProperties } from 'react';
|
|
14
|
+
import { GeoDataElement, RawGeoDataElement } from './chart/restructured-charts/areamap-chart/types';
|
|
15
|
+
import { TabCornerRadius, TabInterval, TabSize } from './widgets/tabber-widget';
|
|
15
16
|
export type { SortDirection, PivotRowsSort } from '@sisense/sdk-data';
|
|
16
17
|
export type { AppConfig } from './app/client-application';
|
|
17
18
|
export type { DateConfig } from './query/date-formats';
|
|
@@ -239,6 +240,8 @@ export interface BaseAxisStyleOptions {
|
|
|
239
240
|
/** Configuration for second Y axis */
|
|
240
241
|
y2Axis?: AxisLabel;
|
|
241
242
|
}
|
|
243
|
+
/** Style options for charts of cartesian family @internal */
|
|
244
|
+
export type CartesianStyleOptions = LineStyleOptions | AreaStyleOptions | StackableStyleOptions;
|
|
242
245
|
/** Configuration options that define functional style of the various elements of LineChart */
|
|
243
246
|
export interface LineStyleOptions extends BaseStyleOptions, BaseAxisStyleOptions {
|
|
244
247
|
/** Configuration that defines line width */
|
|
@@ -902,6 +905,18 @@ export interface GeneralThemeSettings {
|
|
|
902
905
|
primaryButtonTextColor?: string;
|
|
903
906
|
/** Hover color for primary buttons */
|
|
904
907
|
primaryButtonHoverColor?: string;
|
|
908
|
+
/**
|
|
909
|
+
* Theme settings for popover
|
|
910
|
+
*
|
|
911
|
+
* @internal
|
|
912
|
+
*/
|
|
913
|
+
popover?: PopoverThemeSettings;
|
|
914
|
+
/**
|
|
915
|
+
* Theme settings for buttons
|
|
916
|
+
*
|
|
917
|
+
* @internal
|
|
918
|
+
*/
|
|
919
|
+
buttons?: ButtonsThemeSettings;
|
|
905
920
|
}
|
|
906
921
|
/** Possible sizes for spacing. */
|
|
907
922
|
export type SpaceSizes = 'None' | 'Large' | 'Medium' | 'Small';
|
|
@@ -962,6 +977,145 @@ export type FilterThemeSettings = {
|
|
|
962
977
|
backgroundColor?: string;
|
|
963
978
|
};
|
|
964
979
|
};
|
|
980
|
+
/**
|
|
981
|
+
* @internal
|
|
982
|
+
*/
|
|
983
|
+
export declare enum ElementStates {
|
|
984
|
+
DEFAULT = "default",
|
|
985
|
+
HOVER = "hover",
|
|
986
|
+
FOCUS = "focus"
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Represents state-based color settings for an element.
|
|
990
|
+
*
|
|
991
|
+
* @internal
|
|
992
|
+
*/
|
|
993
|
+
export type ElementStateColors = {
|
|
994
|
+
/** Default color */
|
|
995
|
+
default: string;
|
|
996
|
+
/** Hover state color */
|
|
997
|
+
hover?: string;
|
|
998
|
+
/** Focus state color */
|
|
999
|
+
focus?: string;
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Theme settings for input elements.
|
|
1003
|
+
*
|
|
1004
|
+
* @internal
|
|
1005
|
+
*/
|
|
1006
|
+
export type InputThemeSettings = {
|
|
1007
|
+
/** Background color */
|
|
1008
|
+
backgroundColor?: string;
|
|
1009
|
+
/** Text color */
|
|
1010
|
+
textColor?: string;
|
|
1011
|
+
/** Border color */
|
|
1012
|
+
borderColor?: string | ElementStateColors;
|
|
1013
|
+
/** Corner radius */
|
|
1014
|
+
cornerRadius?: number;
|
|
1015
|
+
/** Theme settings for dropdown list */
|
|
1016
|
+
dropdownList?: {
|
|
1017
|
+
/** Background color */
|
|
1018
|
+
backgroundColor?: string;
|
|
1019
|
+
/** Text color */
|
|
1020
|
+
textColor?: string;
|
|
1021
|
+
/** Border color */
|
|
1022
|
+
borderColor?: string;
|
|
1023
|
+
/** Corner radius */
|
|
1024
|
+
cornerRadius?: number;
|
|
1025
|
+
/** Shadow */
|
|
1026
|
+
shadow?: string;
|
|
1027
|
+
/** Theme settings for dropdown list item */
|
|
1028
|
+
item?: {
|
|
1029
|
+
/** Background color */
|
|
1030
|
+
backgroundColor?: string | ElementStateColors;
|
|
1031
|
+
/** Text color */
|
|
1032
|
+
textColor?: string;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
/** Theme settings for datepicker */
|
|
1036
|
+
datepicker?: {
|
|
1037
|
+
/** Background color */
|
|
1038
|
+
backgroundColor?: string;
|
|
1039
|
+
/** Text color */
|
|
1040
|
+
textColor?: string;
|
|
1041
|
+
/** Corner radius */
|
|
1042
|
+
cornerRadius?: number;
|
|
1043
|
+
/** Shadow */
|
|
1044
|
+
shadow?: string;
|
|
1045
|
+
/** Theme settings for datepicker day item */
|
|
1046
|
+
item?: {
|
|
1047
|
+
/** Background color */
|
|
1048
|
+
backgroundColor?: string | ElementStateColors;
|
|
1049
|
+
/** Text color */
|
|
1050
|
+
textColor?: string | ElementStateColors;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
/**
|
|
1055
|
+
* Theme settings for popover
|
|
1056
|
+
*
|
|
1057
|
+
* @internal
|
|
1058
|
+
*/
|
|
1059
|
+
export type PopoverThemeSettings = {
|
|
1060
|
+
/** Corner radius */
|
|
1061
|
+
cornerRadius?: number;
|
|
1062
|
+
/** Shadow */
|
|
1063
|
+
shadow?: string;
|
|
1064
|
+
/** Theme settings for popover header */
|
|
1065
|
+
header?: {
|
|
1066
|
+
/** Background color */
|
|
1067
|
+
backgroundColor?: string;
|
|
1068
|
+
/** Text color */
|
|
1069
|
+
textColor?: string;
|
|
1070
|
+
};
|
|
1071
|
+
/** Theme settings for popover footer */
|
|
1072
|
+
footer?: {
|
|
1073
|
+
/** Background color */
|
|
1074
|
+
backgroundColor?: string;
|
|
1075
|
+
/** Text color */
|
|
1076
|
+
textColor?: string;
|
|
1077
|
+
};
|
|
1078
|
+
/** Theme settings for popover content */
|
|
1079
|
+
content?: {
|
|
1080
|
+
/** Background color */
|
|
1081
|
+
backgroundColor?: string;
|
|
1082
|
+
/** Text color */
|
|
1083
|
+
textColor?: string;
|
|
1084
|
+
/** Theme settings for clickable list */
|
|
1085
|
+
clickableList?: {
|
|
1086
|
+
/** Theme settings for clickable list item */
|
|
1087
|
+
item?: {
|
|
1088
|
+
/** Text color */
|
|
1089
|
+
textColor?: string;
|
|
1090
|
+
/** Background color */
|
|
1091
|
+
backgroundColor?: string;
|
|
1092
|
+
/** Setting to be applied on hover */
|
|
1093
|
+
hover?: {
|
|
1094
|
+
/** Text color */
|
|
1095
|
+
textColor?: string;
|
|
1096
|
+
/** Background color */
|
|
1097
|
+
backgroundColor?: string;
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
/** Theme settings for popover input */
|
|
1103
|
+
input?: InputThemeSettings;
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* Theme settings for buttons
|
|
1107
|
+
*
|
|
1108
|
+
* @internal
|
|
1109
|
+
*/
|
|
1110
|
+
export type ButtonsThemeSettings = {
|
|
1111
|
+
/** Theme settings for cancel button */
|
|
1112
|
+
cancel?: {
|
|
1113
|
+
/** Background color */
|
|
1114
|
+
backgroundColor?: string | ElementStateColors;
|
|
1115
|
+
/** Text color */
|
|
1116
|
+
textColor?: string;
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
965
1119
|
/** Theme settings defining the look and feel of components. */
|
|
966
1120
|
export interface ThemeSettings {
|
|
967
1121
|
/** Chart theme settings */
|
|
@@ -1499,3 +1653,51 @@ export type CustomTranslationObject = {
|
|
|
1499
1653
|
*/
|
|
1500
1654
|
namespace?: string;
|
|
1501
1655
|
};
|
|
1656
|
+
/**
|
|
1657
|
+
* Single Tabber Widget tab object without styling
|
|
1658
|
+
* @internal
|
|
1659
|
+
*/
|
|
1660
|
+
export type TabberTab = {
|
|
1661
|
+
displayWidgetIds: string[];
|
|
1662
|
+
title: string;
|
|
1663
|
+
};
|
|
1664
|
+
/**
|
|
1665
|
+
* Tabber widget DTO style property
|
|
1666
|
+
* @internal
|
|
1667
|
+
*/
|
|
1668
|
+
export type TabberDtoStyle = TabberStyleProps & {
|
|
1669
|
+
activeTab: string;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Configuration options that define style of the various elements of the Tabber component.
|
|
1673
|
+
* @internal
|
|
1674
|
+
*/
|
|
1675
|
+
export type TabberStyleOptions = {
|
|
1676
|
+
descriptionColor: string;
|
|
1677
|
+
selectedBkgColor: string;
|
|
1678
|
+
selectedColor: string;
|
|
1679
|
+
showDescription: boolean;
|
|
1680
|
+
showSeparators: boolean;
|
|
1681
|
+
showTitle: boolean;
|
|
1682
|
+
tabCornerRadius: TabCornerRadius;
|
|
1683
|
+
tabsAlignment: string;
|
|
1684
|
+
tabsInterval: TabInterval;
|
|
1685
|
+
tabsSize: TabSize;
|
|
1686
|
+
unselectedBkgColor: string;
|
|
1687
|
+
unselectedColor: string;
|
|
1688
|
+
useSelectedBkg: boolean;
|
|
1689
|
+
useUnselectedBkg: boolean;
|
|
1690
|
+
};
|
|
1691
|
+
/**
|
|
1692
|
+
* Configuration options that defined tabber look and feel, including tabs and active tab.
|
|
1693
|
+
* @internal
|
|
1694
|
+
*/
|
|
1695
|
+
export type TabberStyleProps = TabberStyleOptions & TabberConfig;
|
|
1696
|
+
/**
|
|
1697
|
+
* Tabber business logic configuration
|
|
1698
|
+
* @internal
|
|
1699
|
+
*/
|
|
1700
|
+
export type TabberConfig = {
|
|
1701
|
+
tabs: TabberTab[];
|
|
1702
|
+
activeTab: number;
|
|
1703
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DataSource } from '@sisense/sdk-data';
|
|
2
|
+
export type DataSourceObject = {
|
|
3
|
+
title: string;
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const toDataSourceObject: (dataSource: DataSource) => DataSourceObject;
|
|
7
|
+
export declare const getDataSourceId: (dataSource: DataSource) => string;
|
|
8
|
+
export declare const getDataSourceTitle: (dataSource: DataSource) => string;
|
|
@@ -44,6 +44,10 @@ export type AnyObject = Record<string, any>;
|
|
|
44
44
|
* Empty object with no properties
|
|
45
45
|
*/
|
|
46
46
|
export type EmptyObject = Record<string, never>;
|
|
47
|
+
/**
|
|
48
|
+
* Any array
|
|
49
|
+
*/
|
|
50
|
+
export type AnyArray = any[];
|
|
47
51
|
/**
|
|
48
52
|
* Allows you to make a property of an object required.
|
|
49
53
|
*
|
|
@@ -57,4 +61,38 @@ export type EmptyObject = Record<string, never>;
|
|
|
57
61
|
* type TRequiredB = WithRequiredProp<T, 'b'>; // { a: string; b: number; c?: boolean; }
|
|
58
62
|
*/
|
|
59
63
|
export type WithRequiredProp<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
64
|
+
/**
|
|
65
|
+
* Universal generic state for hooks that fetch data from the REST API.
|
|
66
|
+
*/
|
|
67
|
+
export type RestApiHookState<DataKey extends string, SuccessDataType extends AnyObject | AnyArray> = RestApiHookSuccessState<DataKey, SuccessDataType> | RestApiHookErrorState<DataKey> | RestApiHookLoadingState<DataKey>;
|
|
68
|
+
/** Success state of the REST API hook */
|
|
69
|
+
export type RestApiHookSuccessState<DataKey extends string, SuccessDataType extends AnyObject | AnyArray> = {
|
|
70
|
+
isLoading: false;
|
|
71
|
+
isError: false;
|
|
72
|
+
isSuccess: true;
|
|
73
|
+
error: undefined;
|
|
74
|
+
status: 'success';
|
|
75
|
+
} & {
|
|
76
|
+
[key in DataKey]: SuccessDataType;
|
|
77
|
+
};
|
|
78
|
+
/** Error state of the REST API hook */
|
|
79
|
+
export type RestApiHookErrorState<DataKey extends string> = {
|
|
80
|
+
isLoading: false;
|
|
81
|
+
isError: true;
|
|
82
|
+
isSuccess: false;
|
|
83
|
+
error: Error;
|
|
84
|
+
status: 'error';
|
|
85
|
+
} & {
|
|
86
|
+
[key in DataKey]: undefined;
|
|
87
|
+
};
|
|
88
|
+
/** Loading state of the REST API hook */
|
|
89
|
+
export type RestApiHookLoadingState<DataKey extends string> = {
|
|
90
|
+
isLoading: true;
|
|
91
|
+
isError: false;
|
|
92
|
+
isSuccess: false;
|
|
93
|
+
error: undefined;
|
|
94
|
+
status: 'loading';
|
|
95
|
+
} & {
|
|
96
|
+
[key in DataKey]: undefined;
|
|
97
|
+
};
|
|
60
98
|
export {};
|
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
import { ChartStyleOptions,
|
|
1
|
+
import { ChartStyleOptions, TableStyleOptions, NumericBarIndicatorStyleOptions, NumericSimpleIndicatorStyleOptions, GaugeIndicatorStyleOptions, PivotTableStyleOptions, SpaceSizes, RadiusSizes, ShadowsTypes, AlignmentTypes, WidgetStyleOptions, TextWidgetStyleOptions } from '../types';
|
|
2
2
|
import { WidgetSubtype, WidgetType, TableWidgetStyle, IndicatorWidgetStyle, PivotWidgetStyle, WidgetDesign, WidgetDto } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export type CartesianChartStyleOptions = LineStyleOptions | AreaStyleOptions | StackableStyleOptions;
|
|
7
3
|
export declare function extractTableChartStyleOptions(widgetStyle: TableWidgetStyle): TableStyleOptions;
|
|
8
4
|
export declare const getIndicatorTypeSpecificOptions: (widgetSubtype: WidgetSubtype, widgetStyle: IndicatorWidgetStyle) => NumericSimpleIndicatorStyleOptions | NumericBarIndicatorStyleOptions | GaugeIndicatorStyleOptions;
|
|
9
5
|
export declare function extractPivotTableStyleOptions(widgetStyle: PivotWidgetStyle): PivotTableStyleOptions;
|
|
10
6
|
export declare function extractStyleOptions<WType extends WidgetType>(widgetType: WType, widget: WidgetDto): ChartStyleOptions | TableStyleOptions | TextWidgetStyleOptions;
|
|
7
|
+
export declare const getFlattenWidgetDesign: (widgetDesign: WidgetDesign) => {
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
spaceAround: SpaceSizes;
|
|
10
|
+
cornerRadius: RadiusSizes;
|
|
11
|
+
shadow: ShadowsTypes;
|
|
12
|
+
border: boolean;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
header: {
|
|
15
|
+
titleTextColor: string;
|
|
16
|
+
titleAlignment: AlignmentTypes;
|
|
17
|
+
dividerLine: boolean;
|
|
18
|
+
dividerLineColor: string;
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
11
22
|
/**
|
|
12
23
|
* Merges the widget style with the widget design
|
|
13
24
|
*
|
|
@@ -29,7 +29,7 @@ import { DrilldownWidgetProps } from '../props';
|
|
|
29
29
|
*
|
|
30
30
|
* Additional drilldown examples:
|
|
31
31
|
*
|
|
32
|
-
* - [Detached Breadcrumbs](https://www.sisense.com/
|
|
32
|
+
* - [Detached Breadcrumbs](https://www.sisense.com/developers/playground/?example=use-cases%2Fdrilldown-detached-breadcrumbs)
|
|
33
33
|
*
|
|
34
34
|
* @param props - DrilldownWidget properties
|
|
35
35
|
* @returns DrilldownWidget wrapper component
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TabberWidgetProps } from '../props';
|
|
2
|
+
/**
|
|
3
|
+
* Tabber widget tab size
|
|
4
|
+
* @group TabberWidget
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export type TabSize = 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
8
|
+
/**
|
|
9
|
+
* Tabber widget tab interval
|
|
10
|
+
* @group TabberWidget
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export type TabInterval = 'SMALL' | 'MEDIUM' | 'LARGE';
|
|
14
|
+
/**
|
|
15
|
+
* Tabber widget tab alignment
|
|
16
|
+
* @group TabberWidget
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export type TabAlignment = 'LEFT' | 'CENTER' | 'RIGHT';
|
|
20
|
+
/**
|
|
21
|
+
* Tabber widget tab corner radius
|
|
22
|
+
* @group TabberWidget
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export type TabCornerRadius = 'SMALL' | 'MEDIUM' | 'LARGE' | 'NONE';
|
|
26
|
+
/**
|
|
27
|
+
* Visual representation of a Fusion's tabber widget
|
|
28
|
+
* @param styleOptions
|
|
29
|
+
* @param description
|
|
30
|
+
* @param props
|
|
31
|
+
* @constructor
|
|
32
|
+
* @group TabberWidget
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
export declare const TabberWidget: ({ styleOptions, description, ...props }: TabberWidgetProps) => import("react/jsx-runtime").JSX.Element;
|