@dhis2/analytics 28.0.3 → 28.0.4
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/build/cjs/__demo__/DataDimension.stories.js +1 -2
- package/build/cjs/__demo__/Filter.stories.js +1 -2
- package/build/cjs/__demo__/FixedPeriodSelect.stories.js +1 -2
- package/build/cjs/__demo__/OrgUnitDimension.stories.js +1 -2
- package/build/cjs/__demo__/PivotTable.stories.js +166 -224
- package/build/cjs/__demo__/ScatterPlotPdfExport.stories.js +1 -2
- package/build/cjs/__demo__/SingleValue.stories.js +1 -2
- package/build/cjs/__demo__/Toolbar.stories.js +1 -2
- package/build/cjs/api/__tests__/dimensions.spec.js +1 -2
- package/build/cjs/api/analytics/Analytics.js +8 -9
- package/build/cjs/api/analytics/AnalyticsBase.js +58 -77
- package/build/cjs/api/analytics/AnalyticsRequest.js +1 -2
- package/build/cjs/api/analytics/AnalyticsRequestBase.js +18 -21
- package/build/cjs/api/analytics/AnalyticsRequestPropertiesMixin.js +19 -38
- package/build/cjs/api/analytics/AnalyticsResponseHeader.js +5 -7
- package/build/cjs/api/analytics/__tests__/AnalyticsBase.spec.js +9 -12
- package/build/cjs/api/analytics/__tests__/AnalyticsRequest.spec.js +8 -2
- package/build/cjs/api/analytics/utils.js +11 -17
- package/build/cjs/api/dimensions.js +119 -148
- package/build/cjs/api/expression.js +39 -60
- package/build/cjs/api/organisationUnits.js +23 -35
- package/build/cjs/components/AboutAOUnit/AboutAOUnit.js +12 -20
- package/build/cjs/components/CachedDataQueryProvider.js +7 -9
- package/build/cjs/components/DashboardPluginWrapper/DashboardPluginWrapper.js +18 -22
- package/build/cjs/components/DataDimension/Calculation/CalculationModal.js +44 -61
- package/build/cjs/components/DataDimension/Calculation/DataElementOption.js +5 -6
- package/build/cjs/components/DataDimension/Calculation/DataElementSelector.js +29 -38
- package/build/cjs/components/DataDimension/Calculation/DndContext.js +29 -37
- package/build/cjs/components/DataDimension/Calculation/DraggingItem.js +5 -6
- package/build/cjs/components/DataDimension/Calculation/DropZone.js +4 -5
- package/build/cjs/components/DataDimension/Calculation/FormulaField.js +29 -32
- package/build/cjs/components/DataDimension/Calculation/FormulaItem.js +14 -16
- package/build/cjs/components/DataDimension/Calculation/MathOperatorSelector.js +23 -29
- package/build/cjs/components/DataDimension/Calculation/Operator.js +6 -7
- package/build/cjs/components/DataDimension/DataDimension.js +20 -32
- package/build/cjs/components/DataDimension/Info/CalculationInfo.js +14 -22
- package/build/cjs/components/DataDimension/Info/DataElementInfo.js +23 -36
- package/build/cjs/components/DataDimension/Info/DataElementOperandInfo.js +30 -44
- package/build/cjs/components/DataDimension/Info/DataSetInfo.js +26 -39
- package/build/cjs/components/DataDimension/Info/EventDataItemInfo.js +21 -34
- package/build/cjs/components/DataDimension/Info/IndicatorInfo.js +21 -32
- package/build/cjs/components/DataDimension/Info/InfoPopover.js +6 -7
- package/build/cjs/components/DataDimension/Info/InfoTable.js +39 -52
- package/build/cjs/components/DataDimension/Info/OptionInfo.js +13 -20
- package/build/cjs/components/DataDimension/Info/ProgramIndicatorInfo.js +46 -58
- package/build/cjs/components/DataDimension/ItemOptionsSelector/ItemOptionsSelector.js +22 -32
- package/build/cjs/components/DataDimension/ItemSelector/DataTypeSelector.js +6 -7
- package/build/cjs/components/DataDimension/ItemSelector/DetailSelector.js +5 -6
- package/build/cjs/components/DataDimension/ItemSelector/GroupSelector.js +10 -12
- package/build/cjs/components/DataDimension/ItemSelector/ItemSelector.js +86 -104
- package/build/cjs/components/DataDimension/ItemSelector/MetricSelector.js +5 -6
- package/build/cjs/components/DataDimension/SourceEmptyPlaceholder.js +10 -13
- package/build/cjs/components/DataDimension/TransferOption.js +35 -39
- package/build/cjs/components/DimensionMenu.js +13 -14
- package/build/cjs/components/DimensionsPanel/DimensionsPanel.js +8 -9
- package/build/cjs/components/DimensionsPanel/List/DimensionItem.js +12 -13
- package/build/cjs/components/DimensionsPanel/List/DimensionList.js +9 -10
- package/build/cjs/components/DimensionsPanel/List/OptionsButton.js +8 -11
- package/build/cjs/components/DimensionsPanel/List/RecommendedIcon.js +10 -13
- package/build/cjs/components/DynamicDimension/DynamicDimension.js +9 -13
- package/build/cjs/components/DynamicDimension/ItemSelector.js +25 -38
- package/build/cjs/components/FileMenu/DeleteDialog.js +11 -16
- package/build/cjs/components/FileMenu/FileMenu.js +19 -30
- package/build/cjs/components/FileMenu/GetLinkDialog.js +7 -7
- package/build/cjs/components/FileMenu/RenameDialog.js +13 -21
- package/build/cjs/components/FileMenu/SaveAsDialog.js +13 -21
- package/build/cjs/components/FileMenu/__tests__/FileMenu.spec.js +6 -2
- package/build/cjs/components/FileMenu/__tests__/GetLinkDialog.spec.js +7 -8
- package/build/cjs/components/FileMenu/utils.js +10 -12
- package/build/cjs/components/Filter/Filter.js +21 -27
- package/build/cjs/components/Interpretations/InterpretationModal/Comment.js +8 -10
- package/build/cjs/components/Interpretations/InterpretationModal/CommentAddForm.js +10 -15
- package/build/cjs/components/Interpretations/InterpretationModal/CommentDeleteButton.js +10 -15
- package/build/cjs/components/Interpretations/InterpretationModal/CommentUpdateForm.js +12 -17
- package/build/cjs/components/Interpretations/InterpretationModal/InterpretationModal.js +19 -25
- package/build/cjs/components/Interpretations/InterpretationModal/InterpretationThread.js +12 -14
- package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationForm.js +12 -17
- package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationList.js +10 -11
- package/build/cjs/components/Interpretations/InterpretationsUnit/InterpretationsUnit.js +23 -33
- package/build/cjs/components/Interpretations/common/Interpretation/Interpretation.js +13 -15
- package/build/cjs/components/Interpretations/common/Interpretation/InterpretationDeleteButton.js +7 -11
- package/build/cjs/components/Interpretations/common/Interpretation/InterpretationSharingLink.js +5 -7
- package/build/cjs/components/Interpretations/common/Interpretation/InterpretationUpdateForm.js +15 -23
- package/build/cjs/components/Interpretations/common/Interpretation/useLike.js +5 -6
- package/build/cjs/components/Interpretations/common/Message/Message.js +6 -7
- package/build/cjs/components/Interpretations/common/Message/MessageButtonStrip.js +8 -11
- package/build/cjs/components/Interpretations/common/Message/MessageEditorContainer.js +18 -21
- package/build/cjs/components/Interpretations/common/Message/MessageIconButton.js +34 -40
- package/build/cjs/components/Interpretations/common/Message/MessageInput.js +1 -2
- package/build/cjs/components/Interpretations/common/Message/MessageStatsBar.js +8 -11
- package/build/cjs/components/LegendKey/LegendKey.js +3 -4
- package/build/cjs/components/OfflineTooltip.js +18 -26
- package/build/cjs/components/OpenFileDialog/CreatedByFilter.js +20 -26
- package/build/cjs/components/OpenFileDialog/CustomSelectOption.js +23 -26
- package/build/cjs/components/OpenFileDialog/DateField.js +3 -4
- package/build/cjs/components/OpenFileDialog/FileList.js +19 -22
- package/build/cjs/components/OpenFileDialog/NameFilter.js +15 -21
- package/build/cjs/components/OpenFileDialog/OpenFileDialog.js +36 -45
- package/build/cjs/components/OpenFileDialog/PaginationControls.js +22 -28
- package/build/cjs/components/OpenFileDialog/VisTypeFilter.js +28 -37
- package/build/cjs/components/Options/VisualizationOptions.js +35 -46
- package/build/cjs/components/OrgUnitDimension/OrgUnitDimension.js +38 -60
- package/build/cjs/components/PeriodDimension/FixedPeriodFilter.js +16 -25
- package/build/cjs/components/PeriodDimension/FixedPeriodSelect.js +15 -21
- package/build/cjs/components/PeriodDimension/PeriodDimension.js +9 -12
- package/build/cjs/components/PeriodDimension/PeriodTransfer.js +49 -63
- package/build/cjs/components/PeriodDimension/RelativePeriodFilter.js +24 -30
- package/build/cjs/components/PeriodDimension/__tests__/__snapshots__/FixedPeriodSingleSelect.spec.js.snap +0 -1
- package/build/cjs/components/PeriodDimension/__tests__/__snapshots__/PeriodDimension.spec.js.snap +0 -1
- package/build/cjs/components/PeriodDimension/utils/fixedPeriods.js +6 -7
- package/build/cjs/components/PeriodDimension/utils/index.js +1 -5
- package/build/cjs/components/PivotTable/PivotTable.js +8 -10
- package/build/cjs/components/PivotTable/PivotTableBody.js +20 -29
- package/build/cjs/components/PivotTable/PivotTableCell.js +8 -12
- package/build/cjs/components/PivotTable/PivotTableClippedAxis.js +14 -17
- package/build/cjs/components/PivotTable/PivotTableColumnHeaderCell.js +7 -8
- package/build/cjs/components/PivotTable/PivotTableColumnHeaders.js +22 -29
- package/build/cjs/components/PivotTable/PivotTableContainer.js +5 -6
- package/build/cjs/components/PivotTable/PivotTableDimensionLabelCell.js +4 -5
- package/build/cjs/components/PivotTable/PivotTableEmptyCell.js +3 -4
- package/build/cjs/components/PivotTable/PivotTableEmptyRow.js +4 -5
- package/build/cjs/components/PivotTable/PivotTableEngineContext.js +5 -7
- package/build/cjs/components/PivotTable/PivotTableHead.js +13 -16
- package/build/cjs/components/PivotTable/PivotTableHeaderCell.js +8 -9
- package/build/cjs/components/PivotTable/PivotTableRow.js +20 -27
- package/build/cjs/components/PivotTable/PivotTableRowHeaderCell.js +5 -6
- package/build/cjs/components/PivotTable/PivotTableSortIcon.js +4 -5
- package/build/cjs/components/PivotTable/PivotTableTitleRow.js +19 -24
- package/build/cjs/components/PivotTable/PivotTableTitleRows.js +4 -5
- package/build/cjs/components/PivotTable/PivotTableValueCell.js +6 -8
- package/build/cjs/components/RichText/Editor/Editor.js +70 -85
- package/build/cjs/components/RichText/Parser/Parser.js +5 -10
- package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuBar.js +20 -24
- package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js +8 -13
- package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuList.js +9 -17
- package/build/cjs/components/Toolbar/HoverMenuBar/HoverMenuListItem.js +11 -16
- package/build/cjs/components/Toolbar/HoverMenuBar/__tests__/HoverMenuBar.spec.js +4 -5
- package/build/cjs/components/Toolbar/HoverMenuBar/__tests__/HoverMenuList.spec.js +13 -11
- package/build/cjs/components/Toolbar/InterpretationsAndDetailsToggler.js +15 -21
- package/build/cjs/components/Toolbar/Toolbar.js +10 -16
- package/build/cjs/components/Toolbar/ToolbarSidebar.js +12 -18
- package/build/cjs/components/Toolbar/UpdateButton.js +18 -24
- package/build/cjs/components/TransferOption.js +14 -15
- package/build/cjs/components/TranslationDialog/TranslationModal/LocalesSelect.js +19 -27
- package/build/cjs/components/TranslationDialog/TranslationModal/TranslationForm.js +17 -25
- package/build/cjs/components/TranslationDialog/TranslationModal/TranslationModal.js +7 -9
- package/build/cjs/components/TranslationDialog/TranslationModal/TranslationModalActions.js +18 -27
- package/build/cjs/components/TranslationDialog/TranslationModal/useTranslationsResults.js +3 -4
- package/build/cjs/components/UserMention/UserList.js +6 -7
- package/build/cjs/components/UserMention/UserMentionWrapper.js +13 -20
- package/build/cjs/components/UserMention/useUserSearchResults.js +12 -16
- package/build/cjs/components/VisTypeIcon.js +5 -6
- package/build/cjs/index.js +38 -39
- package/build/cjs/locales/ar_IQ/translations.json +20 -11
- package/build/cjs/locales/cs/translations.json +2 -0
- package/build/cjs/locales/en/translations.json +1 -0
- package/build/cjs/locales/es/translations.json +2 -0
- package/build/cjs/locales/fr/translations.json +2 -0
- package/build/cjs/locales/id/translations.json +20 -11
- package/build/cjs/locales/index.js +62 -62
- package/build/cjs/locales/lo/translations.json +2 -0
- package/build/cjs/locales/nb/translations.json +2 -0
- package/build/cjs/locales/prs/translations.json +2 -0
- package/build/cjs/locales/ps/translations.json +2 -0
- package/build/cjs/locales/pt/translations.json +2 -0
- package/build/cjs/locales/pt_BR/translations.json +2 -0
- package/build/cjs/locales/ru/translations.json +2 -0
- package/build/cjs/locales/si/translations.json +20 -11
- package/build/cjs/locales/sv/translations.json +20 -11
- package/build/cjs/locales/tet/translations.json +20 -11
- package/build/cjs/locales/tg/translations.json +2 -0
- package/build/cjs/locales/uk/translations.json +2 -0
- package/build/cjs/locales/ur/translations.json +2 -0
- package/build/cjs/locales/uz_UZ_Cyrl/translations.json +2 -0
- package/build/cjs/locales/uz_UZ_Latn/translations.json +4 -2
- package/build/cjs/locales/vi/translations.json +2 -0
- package/build/cjs/locales/zh/translations.json +2 -0
- package/build/cjs/locales/zh_CN/translations.json +17 -15
- package/build/cjs/modules/__tests__/expressions.spec.js +4 -5
- package/build/cjs/modules/__tests__/isNumeric.spec.js +33 -0
- package/build/cjs/modules/dimensionListItem.js +4 -5
- package/build/cjs/modules/expressions.js +3 -9
- package/build/cjs/modules/getPWAInstallationStatus.js +7 -9
- package/build/cjs/modules/layout/dimensionCreate.js +1 -3
- package/build/cjs/modules/layout/dimensionIsValid.js +3 -4
- package/build/cjs/modules/legends.js +5 -6
- package/build/cjs/modules/outliers/index.js +5 -6
- package/build/cjs/modules/outliers/iqr.js +4 -6
- package/build/cjs/modules/outliers/modZScore.js +6 -14
- package/build/cjs/modules/outliers/zScore.js +3 -4
- package/build/cjs/modules/pivotTable/AdaptiveClippingController.js +12 -16
- package/build/cjs/modules/pivotTable/PivotTableEngine.js +48 -59
- package/build/cjs/modules/pivotTable/clipAxis.js +7 -8
- package/build/cjs/modules/pivotTable/clipPartitionedAxis.js +9 -10
- package/build/cjs/modules/pivotTable/getHeaderForDisplay.js +8 -9
- package/build/cjs/modules/pivotTable/measureText.js +7 -9
- package/build/cjs/modules/pivotTable/useParentSize.js +1 -2
- package/build/cjs/modules/pivotTable/useScrollPosition.js +1 -2
- package/build/cjs/modules/pivotTable/useTableClipping.js +6 -7
- package/build/cjs/modules/relativeItems/index.js +1 -4
- package/build/cjs/modules/renderValue.js +1 -2
- package/build/cjs/modules/utils.js +11 -2
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/addTrendLines.js +3 -8
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/axis.js +7 -10
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/customAxes.js +2 -5
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/customSVGOptions/index.js +7 -8
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/getSingleValueBackgroundColor.js +1 -2
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/index.js +6 -7
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/getFormatter.js +2 -3
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/getSteps.js +2 -3
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/getTrimmedConfig.js +3 -4
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/index.js +8 -10
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/legend.js +6 -7
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/legendSet.js +22 -26
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/plotOptions.js +8 -9
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/series/index.js +18 -20
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/series/pie.js +1 -4
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/subtitle/index.js +1 -2
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/yAxis/gauge.js +1 -3
- package/build/cjs/visualizations/config/index.js +11 -12
- package/build/cjs/visualizations/config/validators/dhis/index.js +3 -4
- package/build/cjs/visualizations/index.js +1 -4
- package/build/cjs/visualizations/store/adapters/dhis_highcharts/index.js +7 -8
- package/build/cjs/visualizations/store/index.js +15 -17
- package/build/cjs/visualizations/store/validators/dhis/index.js +5 -6
- package/build/cjs/visualizations/util/getFilterText.js +3 -6
- package/build/cjs/visualizations/util/shouldUseContrastColor.js +1 -2
- package/build/es/__demo__/PivotTable.stories.js +165 -222
- package/build/es/api/__tests__/dimensions.spec.js +1 -2
- package/build/es/api/analytics/Analytics.js +8 -9
- package/build/es/api/analytics/AnalyticsBase.js +58 -77
- package/build/es/api/analytics/AnalyticsRequest.js +1 -2
- package/build/es/api/analytics/AnalyticsRequestBase.js +18 -21
- package/build/es/api/analytics/AnalyticsRequestPropertiesMixin.js +19 -38
- package/build/es/api/analytics/AnalyticsResponseHeader.js +5 -7
- package/build/es/api/analytics/__tests__/AnalyticsBase.spec.js +8 -10
- package/build/es/api/analytics/__tests__/AnalyticsRequest.spec.js +8 -2
- package/build/es/api/analytics/utils.js +11 -17
- package/build/es/api/dimensions.js +119 -148
- package/build/es/api/expression.js +39 -60
- package/build/es/api/organisationUnits.js +23 -35
- package/build/es/components/AboutAOUnit/AboutAOUnit.js +11 -18
- package/build/es/components/CachedDataQueryProvider.js +6 -7
- package/build/es/components/DashboardPluginWrapper/DashboardPluginWrapper.js +17 -20
- package/build/es/components/DataDimension/Calculation/CalculationModal.js +43 -59
- package/build/es/components/DataDimension/Calculation/DataElementOption.js +5 -6
- package/build/es/components/DataDimension/Calculation/DataElementSelector.js +28 -36
- package/build/es/components/DataDimension/Calculation/DndContext.js +28 -35
- package/build/es/components/DataDimension/Calculation/DraggingItem.js +5 -6
- package/build/es/components/DataDimension/Calculation/DropZone.js +4 -5
- package/build/es/components/DataDimension/Calculation/FormulaField.js +29 -32
- package/build/es/components/DataDimension/Calculation/FormulaItem.js +13 -14
- package/build/es/components/DataDimension/Calculation/MathOperatorSelector.js +23 -29
- package/build/es/components/DataDimension/Calculation/Operator.js +6 -7
- package/build/es/components/DataDimension/DataDimension.js +19 -30
- package/build/es/components/DataDimension/Info/CalculationInfo.js +13 -20
- package/build/es/components/DataDimension/Info/DataElementInfo.js +23 -36
- package/build/es/components/DataDimension/Info/DataElementOperandInfo.js +29 -42
- package/build/es/components/DataDimension/Info/DataSetInfo.js +26 -39
- package/build/es/components/DataDimension/Info/EventDataItemInfo.js +21 -34
- package/build/es/components/DataDimension/Info/IndicatorInfo.js +20 -30
- package/build/es/components/DataDimension/Info/InfoPopover.js +6 -7
- package/build/es/components/DataDimension/Info/InfoTable.js +39 -52
- package/build/es/components/DataDimension/Info/OptionInfo.js +13 -20
- package/build/es/components/DataDimension/Info/ProgramIndicatorInfo.js +45 -56
- package/build/es/components/DataDimension/ItemOptionsSelector/ItemOptionsSelector.js +21 -30
- package/build/es/components/DataDimension/ItemSelector/DataTypeSelector.js +6 -7
- package/build/es/components/DataDimension/ItemSelector/DetailSelector.js +5 -6
- package/build/es/components/DataDimension/ItemSelector/GroupSelector.js +9 -10
- package/build/es/components/DataDimension/ItemSelector/ItemSelector.js +85 -102
- package/build/es/components/DataDimension/ItemSelector/MetricSelector.js +5 -6
- package/build/es/components/DataDimension/SourceEmptyPlaceholder.js +10 -13
- package/build/es/components/DataDimension/TransferOption.js +35 -39
- package/build/es/components/DimensionMenu.js +13 -14
- package/build/es/components/DimensionsPanel/DimensionsPanel.js +7 -7
- package/build/es/components/DimensionsPanel/List/DimensionItem.js +11 -11
- package/build/es/components/DimensionsPanel/List/DimensionList.js +8 -8
- package/build/es/components/DimensionsPanel/List/OptionsButton.js +8 -11
- package/build/es/components/DimensionsPanel/List/RecommendedIcon.js +10 -13
- package/build/es/components/DynamicDimension/DynamicDimension.js +9 -13
- package/build/es/components/DynamicDimension/ItemSelector.js +24 -36
- package/build/es/components/FileMenu/DeleteDialog.js +10 -14
- package/build/es/components/FileMenu/FileMenu.js +18 -28
- package/build/es/components/FileMenu/GetLinkDialog.js +7 -7
- package/build/es/components/FileMenu/RenameDialog.js +12 -19
- package/build/es/components/FileMenu/SaveAsDialog.js +12 -19
- package/build/es/components/FileMenu/__tests__/FileMenu.spec.js +6 -2
- package/build/es/components/FileMenu/__tests__/GetLinkDialog.spec.js +7 -8
- package/build/es/components/FileMenu/utils.js +10 -12
- package/build/es/components/Filter/Filter.js +21 -27
- package/build/es/components/Interpretations/InterpretationModal/Comment.js +7 -8
- package/build/es/components/Interpretations/InterpretationModal/CommentAddForm.js +9 -13
- package/build/es/components/Interpretations/InterpretationModal/CommentDeleteButton.js +9 -13
- package/build/es/components/Interpretations/InterpretationModal/CommentUpdateForm.js +11 -15
- package/build/es/components/Interpretations/InterpretationModal/InterpretationModal.js +18 -23
- package/build/es/components/Interpretations/InterpretationModal/InterpretationThread.js +11 -12
- package/build/es/components/Interpretations/InterpretationsUnit/InterpretationForm.js +11 -15
- package/build/es/components/Interpretations/InterpretationsUnit/InterpretationList.js +10 -11
- package/build/es/components/Interpretations/InterpretationsUnit/InterpretationsUnit.js +22 -31
- package/build/es/components/Interpretations/common/Interpretation/Interpretation.js +12 -13
- package/build/es/components/Interpretations/common/Interpretation/InterpretationDeleteButton.js +7 -11
- package/build/es/components/Interpretations/common/Interpretation/InterpretationSharingLink.js +4 -5
- package/build/es/components/Interpretations/common/Interpretation/InterpretationUpdateForm.js +14 -21
- package/build/es/components/Interpretations/common/Interpretation/useLike.js +5 -6
- package/build/es/components/Interpretations/common/Message/Message.js +6 -7
- package/build/es/components/Interpretations/common/Message/MessageButtonStrip.js +8 -11
- package/build/es/components/Interpretations/common/Message/MessageEditorContainer.js +18 -21
- package/build/es/components/Interpretations/common/Message/MessageIconButton.js +34 -40
- package/build/es/components/Interpretations/common/Message/MessageStatsBar.js +8 -11
- package/build/es/components/LegendKey/LegendKey.js +3 -4
- package/build/es/components/OfflineTooltip.js +18 -26
- package/build/es/components/OpenFileDialog/CreatedByFilter.js +20 -26
- package/build/es/components/OpenFileDialog/CustomSelectOption.js +23 -26
- package/build/es/components/OpenFileDialog/DateField.js +3 -4
- package/build/es/components/OpenFileDialog/FileList.js +19 -22
- package/build/es/components/OpenFileDialog/NameFilter.js +15 -21
- package/build/es/components/OpenFileDialog/OpenFileDialog.js +35 -43
- package/build/es/components/OpenFileDialog/PaginationControls.js +22 -28
- package/build/es/components/OpenFileDialog/VisTypeFilter.js +28 -37
- package/build/es/components/Options/VisualizationOptions.js +34 -44
- package/build/es/components/OrgUnitDimension/OrgUnitDimension.js +37 -58
- package/build/es/components/PeriodDimension/FixedPeriodFilter.js +16 -25
- package/build/es/components/PeriodDimension/FixedPeriodSelect.js +14 -19
- package/build/es/components/PeriodDimension/PeriodDimension.js +9 -12
- package/build/es/components/PeriodDimension/PeriodTransfer.js +48 -61
- package/build/es/components/PeriodDimension/RelativePeriodFilter.js +24 -30
- package/build/es/components/PeriodDimension/__tests__/__snapshots__/FixedPeriodSingleSelect.spec.js.snap +0 -1
- package/build/es/components/PeriodDimension/__tests__/__snapshots__/PeriodDimension.spec.js.snap +0 -1
- package/build/es/components/PeriodDimension/utils/fixedPeriods.js +6 -7
- package/build/es/components/PeriodDimension/utils/index.js +1 -5
- package/build/es/components/PivotTable/PivotTable.js +7 -8
- package/build/es/components/PivotTable/PivotTableBody.js +20 -29
- package/build/es/components/PivotTable/PivotTableCell.js +8 -12
- package/build/es/components/PivotTable/PivotTableClippedAxis.js +14 -17
- package/build/es/components/PivotTable/PivotTableColumnHeaderCell.js +7 -8
- package/build/es/components/PivotTable/PivotTableColumnHeaders.js +22 -29
- package/build/es/components/PivotTable/PivotTableContainer.js +5 -6
- package/build/es/components/PivotTable/PivotTableDimensionLabelCell.js +4 -5
- package/build/es/components/PivotTable/PivotTableEmptyCell.js +3 -4
- package/build/es/components/PivotTable/PivotTableEmptyRow.js +4 -5
- package/build/es/components/PivotTable/PivotTableEngineContext.js +4 -5
- package/build/es/components/PivotTable/PivotTableHead.js +13 -16
- package/build/es/components/PivotTable/PivotTableHeaderCell.js +8 -9
- package/build/es/components/PivotTable/PivotTableRow.js +20 -27
- package/build/es/components/PivotTable/PivotTableRowHeaderCell.js +5 -6
- package/build/es/components/PivotTable/PivotTableSortIcon.js +4 -5
- package/build/es/components/PivotTable/PivotTableTitleRow.js +18 -22
- package/build/es/components/PivotTable/PivotTableTitleRows.js +4 -5
- package/build/es/components/PivotTable/PivotTableValueCell.js +5 -6
- package/build/es/components/RichText/Editor/Editor.js +69 -83
- package/build/es/components/RichText/Parser/Parser.js +4 -8
- package/build/es/components/Toolbar/HoverMenuBar/HoverMenuBar.js +20 -23
- package/build/es/components/Toolbar/HoverMenuBar/HoverMenuDropdown.js +7 -11
- package/build/es/components/Toolbar/HoverMenuBar/HoverMenuList.js +8 -15
- package/build/es/components/Toolbar/HoverMenuBar/HoverMenuListItem.js +10 -14
- package/build/es/components/Toolbar/HoverMenuBar/__tests__/HoverMenuBar.spec.js +4 -5
- package/build/es/components/Toolbar/HoverMenuBar/__tests__/HoverMenuList.spec.js +6 -4
- package/build/es/components/Toolbar/InterpretationsAndDetailsToggler.js +15 -21
- package/build/es/components/Toolbar/Toolbar.js +10 -16
- package/build/es/components/Toolbar/ToolbarSidebar.js +12 -18
- package/build/es/components/Toolbar/UpdateButton.js +18 -24
- package/build/es/components/TransferOption.js +14 -15
- package/build/es/components/TranslationDialog/TranslationModal/LocalesSelect.js +19 -27
- package/build/es/components/TranslationDialog/TranslationModal/TranslationForm.js +16 -23
- package/build/es/components/TranslationDialog/TranslationModal/TranslationModal.js +6 -7
- package/build/es/components/TranslationDialog/TranslationModal/TranslationModalActions.js +18 -27
- package/build/es/components/TranslationDialog/TranslationModal/useTranslationsResults.js +3 -4
- package/build/es/components/UserMention/UserList.js +6 -7
- package/build/es/components/UserMention/UserMentionWrapper.js +12 -18
- package/build/es/components/UserMention/useUserSearchResults.js +12 -16
- package/build/es/components/VisTypeIcon.js +5 -6
- package/build/es/locales/ar_IQ/translations.json +20 -11
- package/build/es/locales/cs/translations.json +2 -0
- package/build/es/locales/en/translations.json +1 -0
- package/build/es/locales/es/translations.json +2 -0
- package/build/es/locales/fr/translations.json +2 -0
- package/build/es/locales/id/translations.json +20 -11
- package/build/es/locales/lo/translations.json +2 -0
- package/build/es/locales/nb/translations.json +2 -0
- package/build/es/locales/prs/translations.json +2 -0
- package/build/es/locales/ps/translations.json +2 -0
- package/build/es/locales/pt/translations.json +2 -0
- package/build/es/locales/pt_BR/translations.json +2 -0
- package/build/es/locales/ru/translations.json +2 -0
- package/build/es/locales/si/translations.json +20 -11
- package/build/es/locales/sv/translations.json +20 -11
- package/build/es/locales/tet/translations.json +20 -11
- package/build/es/locales/tg/translations.json +2 -0
- package/build/es/locales/uk/translations.json +2 -0
- package/build/es/locales/ur/translations.json +2 -0
- package/build/es/locales/uz_UZ_Cyrl/translations.json +2 -0
- package/build/es/locales/uz_UZ_Latn/translations.json +4 -2
- package/build/es/locales/vi/translations.json +2 -0
- package/build/es/locales/zh/translations.json +2 -0
- package/build/es/locales/zh_CN/translations.json +17 -15
- package/build/es/modules/__tests__/expressions.spec.js +4 -5
- package/build/es/modules/__tests__/isNumeric.spec.js +31 -0
- package/build/es/modules/dimensionListItem.js +4 -5
- package/build/es/modules/expressions.js +3 -9
- package/build/es/modules/getPWAInstallationStatus.js +7 -9
- package/build/es/modules/layout/dimensionCreate.js +1 -3
- package/build/es/modules/layout/dimensionIsValid.js +3 -4
- package/build/es/modules/legends.js +5 -6
- package/build/es/modules/outliers/index.js +2 -3
- package/build/es/modules/outliers/iqr.js +4 -6
- package/build/es/modules/outliers/modZScore.js +6 -14
- package/build/es/modules/outliers/zScore.js +3 -4
- package/build/es/modules/pivotTable/AdaptiveClippingController.js +12 -16
- package/build/es/modules/pivotTable/PivotTableEngine.js +48 -59
- package/build/es/modules/pivotTable/clipAxis.js +7 -8
- package/build/es/modules/pivotTable/clipPartitionedAxis.js +9 -10
- package/build/es/modules/pivotTable/getHeaderForDisplay.js +8 -9
- package/build/es/modules/pivotTable/measureText.js +7 -9
- package/build/es/modules/pivotTable/useParentSize.js +1 -2
- package/build/es/modules/pivotTable/useScrollPosition.js +1 -2
- package/build/es/modules/pivotTable/useTableClipping.js +6 -7
- package/build/es/modules/relativeItems/index.js +1 -4
- package/build/es/modules/renderValue.js +1 -2
- package/build/es/modules/utils.js +9 -1
- package/build/es/visualizations/config/adapters/dhis_highcharts/addTrendLines.js +3 -8
- package/build/es/visualizations/config/adapters/dhis_highcharts/axis.js +2 -5
- package/build/es/visualizations/config/adapters/dhis_highcharts/customAxes.js +2 -5
- package/build/es/visualizations/config/adapters/dhis_highcharts/customSVGOptions/index.js +7 -8
- package/build/es/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/getSingleValueBackgroundColor.js +1 -2
- package/build/es/visualizations/config/adapters/dhis_highcharts/customSVGOptions/singleValue/index.js +6 -7
- package/build/es/visualizations/config/adapters/dhis_highcharts/getFormatter.js +1 -1
- package/build/es/visualizations/config/adapters/dhis_highcharts/getSteps.js +1 -1
- package/build/es/visualizations/config/adapters/dhis_highcharts/getTrimmedConfig.js +3 -4
- package/build/es/visualizations/config/adapters/dhis_highcharts/index.js +7 -8
- package/build/es/visualizations/config/adapters/dhis_highcharts/legend.js +6 -7
- package/build/es/visualizations/config/adapters/dhis_highcharts/legendSet.js +22 -26
- package/build/es/visualizations/config/adapters/dhis_highcharts/plotOptions.js +8 -9
- package/build/es/visualizations/config/adapters/dhis_highcharts/series/index.js +18 -20
- package/build/es/visualizations/config/adapters/dhis_highcharts/series/pie.js +1 -4
- package/build/es/visualizations/config/adapters/dhis_highcharts/yAxis/gauge.js +1 -3
- package/build/es/visualizations/config/index.js +11 -12
- package/build/es/visualizations/config/validators/dhis/index.js +3 -4
- package/build/es/visualizations/index.js +1 -4
- package/build/es/visualizations/store/adapters/dhis_highcharts/index.js +7 -8
- package/build/es/visualizations/store/index.js +15 -17
- package/build/es/visualizations/store/validators/dhis/index.js +5 -6
- package/build/es/visualizations/util/getFilterText.js +3 -6
- package/build/es/visualizations/util/shouldUseContrastColor.js +1 -2
- package/package.json +12 -12
|
@@ -47,8 +47,7 @@ var _underAbove100LegendSet = _interopRequireDefault(require("./data/under-above
|
|
|
47
47
|
var _weeklyColumnsData = _interopRequireDefault(require("./data/weeklyColumns.data.json"));
|
|
48
48
|
var _weeklyColumnsMetadata = _interopRequireDefault(require("./data/weeklyColumns.metadata.json"));
|
|
49
49
|
var _weeklyColumnsVisualization = _interopRequireDefault(require("./data/weeklyColumns.visualization.json"));
|
|
50
|
-
function
|
|
51
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
50
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
52
51
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
53
52
|
const visualizationReset = {
|
|
54
53
|
colTotals: false,
|
|
@@ -80,28 +79,22 @@ const PivotTableOptionsWrapper = story => {
|
|
|
80
79
|
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_ui.Checkbox, {
|
|
81
80
|
label: "Use fixed column headers",
|
|
82
81
|
checked: pivotTableOptions.fixColumnHeaders,
|
|
83
|
-
onChange:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
fixColumnHeaders: checked
|
|
90
|
-
});
|
|
91
|
-
},
|
|
82
|
+
onChange: ({
|
|
83
|
+
checked
|
|
84
|
+
}) => setPivotTableOptions({
|
|
85
|
+
...pivotTableOptions,
|
|
86
|
+
fixColumnHeaders: checked
|
|
87
|
+
}),
|
|
92
88
|
dense: true
|
|
93
89
|
}), /*#__PURE__*/_react.default.createElement(_ui.Checkbox, {
|
|
94
90
|
label: "Use fixed row headers",
|
|
95
91
|
checked: pivotTableOptions.fixRowHeaders,
|
|
96
|
-
onChange:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
fixRowHeaders: checked
|
|
103
|
-
});
|
|
104
|
-
},
|
|
92
|
+
onChange: ({
|
|
93
|
+
checked
|
|
94
|
+
}) => setPivotTableOptions({
|
|
95
|
+
...pivotTableOptions,
|
|
96
|
+
fixRowHeaders: checked
|
|
97
|
+
}),
|
|
105
98
|
dense: true
|
|
106
99
|
}), /*#__PURE__*/_react.default.createElement(_ui.Divider, null)), story({
|
|
107
100
|
pivotTableOptions
|
|
@@ -111,10 +104,9 @@ var _default = exports.default = {
|
|
|
111
104
|
title: 'PivotTable',
|
|
112
105
|
decorators: [PivotTableOptionsWrapper]
|
|
113
106
|
};
|
|
114
|
-
const Simple = (_,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
} = _ref3;
|
|
107
|
+
const Simple = (_, {
|
|
108
|
+
pivotTableOptions
|
|
109
|
+
}) => {
|
|
118
110
|
const visualization = {
|
|
119
111
|
..._simpleVisualization.default,
|
|
120
112
|
...visualizationReset,
|
|
@@ -134,10 +126,9 @@ exports.Simple = Simple;
|
|
|
134
126
|
Simple.story = {
|
|
135
127
|
name: 'simple'
|
|
136
128
|
};
|
|
137
|
-
const SimpleCommaDgs = (_,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
} = _ref4;
|
|
129
|
+
const SimpleCommaDgs = (_, {
|
|
130
|
+
pivotTableOptions
|
|
131
|
+
}) => {
|
|
141
132
|
const visualization = {
|
|
142
133
|
..._simpleVisualization.default,
|
|
143
134
|
...visualizationReset,
|
|
@@ -158,10 +149,9 @@ exports.SimpleCommaDgs = SimpleCommaDgs;
|
|
|
158
149
|
SimpleCommaDgs.story = {
|
|
159
150
|
name: 'simple - comma DGS'
|
|
160
151
|
};
|
|
161
|
-
const SimpleTitleSubtitleFilter = (_,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
} = _ref5;
|
|
152
|
+
const SimpleTitleSubtitleFilter = (_, {
|
|
153
|
+
pivotTableOptions
|
|
154
|
+
}) => {
|
|
165
155
|
const visualization = {
|
|
166
156
|
..._simpleVisualization.default,
|
|
167
157
|
...visualizationReset,
|
|
@@ -183,10 +173,9 @@ exports.SimpleTitleSubtitleFilter = SimpleTitleSubtitleFilter;
|
|
|
183
173
|
SimpleTitleSubtitleFilter.story = {
|
|
184
174
|
name: 'simple - title / subtitle / filter'
|
|
185
175
|
};
|
|
186
|
-
const SimpleColumn = (_,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
} = _ref6;
|
|
176
|
+
const SimpleColumn = (_, {
|
|
177
|
+
pivotTableOptions
|
|
178
|
+
}) => {
|
|
190
179
|
const visualization = {
|
|
191
180
|
..._simpleVisualization.default,
|
|
192
181
|
...visualizationReset,
|
|
@@ -208,10 +197,9 @@ exports.SimpleColumn = SimpleColumn;
|
|
|
208
197
|
SimpleColumn.story = {
|
|
209
198
|
name: 'simple - column %'
|
|
210
199
|
};
|
|
211
|
-
const SimpleRow = (_,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
} = _ref7;
|
|
200
|
+
const SimpleRow = (_, {
|
|
201
|
+
pivotTableOptions
|
|
202
|
+
}) => {
|
|
215
203
|
const visualization = {
|
|
216
204
|
..._diseaseWeeksVisualization.default,
|
|
217
205
|
...visualizationReset,
|
|
@@ -232,10 +220,9 @@ exports.SimpleRow = SimpleRow;
|
|
|
232
220
|
SimpleRow.story = {
|
|
233
221
|
name: 'simple - row %'
|
|
234
222
|
};
|
|
235
|
-
const SimpleDataAsFilter = (_,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
} = _ref8;
|
|
223
|
+
const SimpleDataAsFilter = (_, {
|
|
224
|
+
pivotTableOptions
|
|
225
|
+
}) => {
|
|
239
226
|
const visualization = {
|
|
240
227
|
..._simpleVisualization.default,
|
|
241
228
|
...visualizationReset,
|
|
@@ -257,10 +244,9 @@ exports.SimpleDataAsFilter = SimpleDataAsFilter;
|
|
|
257
244
|
SimpleDataAsFilter.story = {
|
|
258
245
|
name: 'simple - data as filter'
|
|
259
246
|
};
|
|
260
|
-
const SimpleNoColumns = (_,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
} = _ref9;
|
|
247
|
+
const SimpleNoColumns = (_, {
|
|
248
|
+
pivotTableOptions
|
|
249
|
+
}) => {
|
|
264
250
|
const visualization = {
|
|
265
251
|
..._simpleVisualization.default,
|
|
266
252
|
...visualizationReset,
|
|
@@ -286,10 +272,9 @@ exports.SimpleNoColumns = SimpleNoColumns;
|
|
|
286
272
|
SimpleNoColumns.story = {
|
|
287
273
|
name: 'simple - no columns'
|
|
288
274
|
};
|
|
289
|
-
const SimpleNoColumnsSingleCell = (_,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
} = _ref10;
|
|
275
|
+
const SimpleNoColumnsSingleCell = (_, {
|
|
276
|
+
pivotTableOptions
|
|
277
|
+
}) => {
|
|
293
278
|
const visualization = {
|
|
294
279
|
..._simpleVisualization.default,
|
|
295
280
|
...visualizationReset,
|
|
@@ -313,10 +298,9 @@ exports.SimpleNoColumnsSingleCell = SimpleNoColumnsSingleCell;
|
|
|
313
298
|
SimpleNoColumnsSingleCell.story = {
|
|
314
299
|
name: 'simple - no columns (single cell)'
|
|
315
300
|
};
|
|
316
|
-
const SimpleNoColumnsDeep = (_,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
} = _ref11;
|
|
301
|
+
const SimpleNoColumnsDeep = (_, {
|
|
302
|
+
pivotTableOptions
|
|
303
|
+
}) => {
|
|
320
304
|
const visualization = {
|
|
321
305
|
..._simpleVisualization.default,
|
|
322
306
|
...visualizationReset,
|
|
@@ -341,10 +325,9 @@ exports.SimpleNoColumnsDeep = SimpleNoColumnsDeep;
|
|
|
341
325
|
SimpleNoColumnsDeep.story = {
|
|
342
326
|
name: 'simple - no columns (deep)'
|
|
343
327
|
};
|
|
344
|
-
const SimpleNoColumnsLabel = (_,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
} = _ref12;
|
|
328
|
+
const SimpleNoColumnsLabel = (_, {
|
|
329
|
+
pivotTableOptions
|
|
330
|
+
}) => {
|
|
348
331
|
const visualization = {
|
|
349
332
|
..._simpleVisualization.default,
|
|
350
333
|
...visualizationReset,
|
|
@@ -371,10 +354,9 @@ exports.SimpleNoColumnsLabel = SimpleNoColumnsLabel;
|
|
|
371
354
|
SimpleNoColumnsLabel.story = {
|
|
372
355
|
name: 'simple - no columns (label)'
|
|
373
356
|
};
|
|
374
|
-
const SimpleNoRowsSmall = (_,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
} = _ref13;
|
|
357
|
+
const SimpleNoRowsSmall = (_, {
|
|
358
|
+
pivotTableOptions
|
|
359
|
+
}) => {
|
|
378
360
|
const visualization = {
|
|
379
361
|
..._simpleVisualization.default,
|
|
380
362
|
...visualizationReset,
|
|
@@ -401,10 +383,9 @@ exports.SimpleNoRowsSmall = SimpleNoRowsSmall;
|
|
|
401
383
|
SimpleNoRowsSmall.story = {
|
|
402
384
|
name: 'simple - no rows (small)'
|
|
403
385
|
};
|
|
404
|
-
const SimpleNoRowsLarge = (_,
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
} = _ref14;
|
|
386
|
+
const SimpleNoRowsLarge = (_, {
|
|
387
|
+
pivotTableOptions
|
|
388
|
+
}) => {
|
|
408
389
|
const visualization = {
|
|
409
390
|
..._simpleVisualization.default,
|
|
410
391
|
...visualizationReset,
|
|
@@ -431,10 +412,9 @@ exports.SimpleNoRowsLarge = SimpleNoRowsLarge;
|
|
|
431
412
|
SimpleNoRowsLarge.story = {
|
|
432
413
|
name: 'simple - no rows (large)'
|
|
433
414
|
};
|
|
434
|
-
const SimpleAvgTotalAggregationTypeColumns = (_,
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
} = _ref15;
|
|
415
|
+
const SimpleAvgTotalAggregationTypeColumns = (_, {
|
|
416
|
+
pivotTableOptions
|
|
417
|
+
}) => {
|
|
438
418
|
const visualization = {
|
|
439
419
|
..._avgTotalAggregationTypeVisualization.default,
|
|
440
420
|
...visualizationReset,
|
|
@@ -456,10 +436,9 @@ exports.SimpleAvgTotalAggregationTypeColumns = SimpleAvgTotalAggregationTypeColu
|
|
|
456
436
|
SimpleAvgTotalAggregationTypeColumns.story = {
|
|
457
437
|
name: 'simple - avg totalAggregationType columns'
|
|
458
438
|
};
|
|
459
|
-
const SimpleAvgTotalAggregationTypeRows = (_,
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
} = _ref16;
|
|
439
|
+
const SimpleAvgTotalAggregationTypeRows = (_, {
|
|
440
|
+
pivotTableOptions
|
|
441
|
+
}) => {
|
|
463
442
|
const visualization = {
|
|
464
443
|
..._avgTotalAggregationTypeVisualization.default,
|
|
465
444
|
...visualizationReset,
|
|
@@ -483,10 +462,9 @@ exports.SimpleAvgTotalAggregationTypeRows = SimpleAvgTotalAggregationTypeRows;
|
|
|
483
462
|
SimpleAvgTotalAggregationTypeRows.story = {
|
|
484
463
|
name: 'simple - avg totalAggregationType rows'
|
|
485
464
|
};
|
|
486
|
-
const Deep = (_,
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
} = _ref17;
|
|
465
|
+
const Deep = (_, {
|
|
466
|
+
pivotTableOptions
|
|
467
|
+
}) => {
|
|
490
468
|
const visualization = {
|
|
491
469
|
..._deepVisualization.default,
|
|
492
470
|
...visualizationReset,
|
|
@@ -507,10 +485,9 @@ exports.Deep = Deep;
|
|
|
507
485
|
Deep.story = {
|
|
508
486
|
name: 'deep'
|
|
509
487
|
};
|
|
510
|
-
const DeepFilter = (_,
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
} = _ref18;
|
|
488
|
+
const DeepFilter = (_, {
|
|
489
|
+
pivotTableOptions
|
|
490
|
+
}) => {
|
|
514
491
|
const visualization = {
|
|
515
492
|
..._deepWithFiltersVisualization.default,
|
|
516
493
|
...visualizationReset,
|
|
@@ -531,10 +508,9 @@ exports.DeepFilter = DeepFilter;
|
|
|
531
508
|
DeepFilter.story = {
|
|
532
509
|
name: 'deep - filter'
|
|
533
510
|
};
|
|
534
|
-
const DeepTitleSubtitleFilter = (_,
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
} = _ref19;
|
|
511
|
+
const DeepTitleSubtitleFilter = (_, {
|
|
512
|
+
pivotTableOptions
|
|
513
|
+
}) => {
|
|
538
514
|
const visualization = {
|
|
539
515
|
..._deepVisualization.default,
|
|
540
516
|
...visualizationReset,
|
|
@@ -557,10 +533,9 @@ exports.DeepTitleSubtitleFilter = DeepTitleSubtitleFilter;
|
|
|
557
533
|
DeepTitleSubtitleFilter.story = {
|
|
558
534
|
name: 'deep - title / subtitle / filter'
|
|
559
535
|
};
|
|
560
|
-
const DeepDimensionLabels = (_,
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
} = _ref20;
|
|
536
|
+
const DeepDimensionLabels = (_, {
|
|
537
|
+
pivotTableOptions
|
|
538
|
+
}) => {
|
|
564
539
|
const visualization = {
|
|
565
540
|
..._deepVisualization.default,
|
|
566
541
|
...visualizationReset,
|
|
@@ -580,10 +555,9 @@ exports.DeepDimensionLabels = DeepDimensionLabels;
|
|
|
580
555
|
DeepDimensionLabels.story = {
|
|
581
556
|
name: 'deep - dimension labels'
|
|
582
557
|
};
|
|
583
|
-
const DeepSmallCompact = (_,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
} = _ref21;
|
|
558
|
+
const DeepSmallCompact = (_, {
|
|
559
|
+
pivotTableOptions
|
|
560
|
+
}) => {
|
|
587
561
|
const visualization = {
|
|
588
562
|
..._deepVisualization.default,
|
|
589
563
|
...visualizationReset,
|
|
@@ -605,10 +579,9 @@ exports.DeepSmallCompact = DeepSmallCompact;
|
|
|
605
579
|
DeepSmallCompact.story = {
|
|
606
580
|
name: 'deep - small / compact'
|
|
607
581
|
};
|
|
608
|
-
const DeepLargeComfortable = (_,
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
} = _ref22;
|
|
582
|
+
const DeepLargeComfortable = (_, {
|
|
583
|
+
pivotTableOptions
|
|
584
|
+
}) => {
|
|
612
585
|
const visualization = {
|
|
613
586
|
..._deepVisualization.default,
|
|
614
587
|
...visualizationReset,
|
|
@@ -630,10 +603,9 @@ exports.DeepLargeComfortable = DeepLargeComfortable;
|
|
|
630
603
|
DeepLargeComfortable.story = {
|
|
631
604
|
name: 'deep - large / comfortable'
|
|
632
605
|
};
|
|
633
|
-
const DeepRow = (_,
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
} = _ref23;
|
|
606
|
+
const DeepRow = (_, {
|
|
607
|
+
pivotTableOptions
|
|
608
|
+
}) => {
|
|
637
609
|
const visualization = {
|
|
638
610
|
..._deepVisualization.default,
|
|
639
611
|
...visualizationReset,
|
|
@@ -658,10 +630,9 @@ exports.DeepRow = DeepRow;
|
|
|
658
630
|
DeepRow.story = {
|
|
659
631
|
name: 'deep - row %'
|
|
660
632
|
};
|
|
661
|
-
const DeepColumn = (_,
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
} = _ref24;
|
|
633
|
+
const DeepColumn = (_, {
|
|
634
|
+
pivotTableOptions
|
|
635
|
+
}) => {
|
|
665
636
|
const visualization = {
|
|
666
637
|
..._deepVisualization.default,
|
|
667
638
|
...visualizationReset,
|
|
@@ -686,10 +657,9 @@ exports.DeepColumn = DeepColumn;
|
|
|
686
657
|
DeepColumn.story = {
|
|
687
658
|
name: 'deep - column %'
|
|
688
659
|
};
|
|
689
|
-
const ResizingPivotTable =
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
} = _ref25;
|
|
660
|
+
const ResizingPivotTable = ({
|
|
661
|
+
visualization
|
|
662
|
+
}) => {
|
|
693
663
|
const [size, setSize] = (0, _react.useState)(() => ({
|
|
694
664
|
width: 400,
|
|
695
665
|
height: 300
|
|
@@ -720,10 +690,9 @@ const ResizingPivotTable = _ref25 => {
|
|
|
720
690
|
ResizingPivotTable.propTypes = {
|
|
721
691
|
visualization: _propTypes.default.object.isRequired
|
|
722
692
|
};
|
|
723
|
-
const DeepResize = (_,
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
} = _ref26;
|
|
693
|
+
const DeepResize = (_, {
|
|
694
|
+
pivotTableOptions
|
|
695
|
+
}) => {
|
|
727
696
|
const visualization = {
|
|
728
697
|
..._deepVisualization.default,
|
|
729
698
|
...visualizationReset,
|
|
@@ -737,10 +706,9 @@ exports.DeepResize = DeepResize;
|
|
|
737
706
|
DeepResize.story = {
|
|
738
707
|
name: 'deep - resize'
|
|
739
708
|
};
|
|
740
|
-
const DeepTotals = (_,
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
} = _ref27;
|
|
709
|
+
const DeepTotals = (_, {
|
|
710
|
+
pivotTableOptions
|
|
711
|
+
}) => {
|
|
744
712
|
const visualization = {
|
|
745
713
|
..._deepVisualization.default,
|
|
746
714
|
...visualizationReset,
|
|
@@ -762,10 +730,9 @@ exports.DeepTotals = DeepTotals;
|
|
|
762
730
|
DeepTotals.story = {
|
|
763
731
|
name: 'deep - totals'
|
|
764
732
|
};
|
|
765
|
-
const DeepSubtotals = (_,
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
} = _ref28;
|
|
733
|
+
const DeepSubtotals = (_, {
|
|
734
|
+
pivotTableOptions
|
|
735
|
+
}) => {
|
|
769
736
|
const visualization = {
|
|
770
737
|
..._deepVisualization.default,
|
|
771
738
|
...visualizationReset,
|
|
@@ -787,10 +754,9 @@ exports.DeepSubtotals = DeepSubtotals;
|
|
|
787
754
|
DeepSubtotals.story = {
|
|
788
755
|
name: 'deep - subtotals'
|
|
789
756
|
};
|
|
790
|
-
const DeepAllTotals = (_,
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
} = _ref29;
|
|
757
|
+
const DeepAllTotals = (_, {
|
|
758
|
+
pivotTableOptions
|
|
759
|
+
}) => {
|
|
794
760
|
const visualization = {
|
|
795
761
|
..._deepVisualization.default,
|
|
796
762
|
...visualizationReset,
|
|
@@ -814,10 +780,9 @@ exports.DeepAllTotals = DeepAllTotals;
|
|
|
814
780
|
DeepAllTotals.story = {
|
|
815
781
|
name: 'deep - all totals'
|
|
816
782
|
};
|
|
817
|
-
const SmallEmptyRowsShown = (_,
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
} = _ref30;
|
|
783
|
+
const SmallEmptyRowsShown = (_, {
|
|
784
|
+
pivotTableOptions
|
|
785
|
+
}) => {
|
|
821
786
|
const visualization = {
|
|
822
787
|
..._diseaseWeeksVisualization.default,
|
|
823
788
|
...visualizationReset,
|
|
@@ -841,10 +806,9 @@ exports.SmallEmptyRowsShown = SmallEmptyRowsShown;
|
|
|
841
806
|
SmallEmptyRowsShown.story = {
|
|
842
807
|
name: 'small empty rows - shown'
|
|
843
808
|
};
|
|
844
|
-
const SmallEmptyRowsHidden = (_,
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
} = _ref31;
|
|
809
|
+
const SmallEmptyRowsHidden = (_, {
|
|
810
|
+
pivotTableOptions
|
|
811
|
+
}) => {
|
|
848
812
|
const visualization = {
|
|
849
813
|
..._diseaseWeeksVisualization.default,
|
|
850
814
|
...visualizationReset,
|
|
@@ -869,10 +833,9 @@ exports.SmallEmptyRowsHidden = SmallEmptyRowsHidden;
|
|
|
869
833
|
SmallEmptyRowsHidden.story = {
|
|
870
834
|
name: 'small empty rows - hidden'
|
|
871
835
|
};
|
|
872
|
-
const EmptyRowsShown = (_,
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
} = _ref32;
|
|
836
|
+
const EmptyRowsShown = (_, {
|
|
837
|
+
pivotTableOptions
|
|
838
|
+
}) => {
|
|
876
839
|
const visualization = {
|
|
877
840
|
..._emptyRowsVisualization.default,
|
|
878
841
|
...visualizationReset,
|
|
@@ -896,10 +859,9 @@ exports.EmptyRowsShown = EmptyRowsShown;
|
|
|
896
859
|
EmptyRowsShown.story = {
|
|
897
860
|
name: 'empty rows - shown'
|
|
898
861
|
};
|
|
899
|
-
const EmptyRowsHidden = (_,
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
} = _ref33;
|
|
862
|
+
const EmptyRowsHidden = (_, {
|
|
863
|
+
pivotTableOptions
|
|
864
|
+
}) => {
|
|
903
865
|
const visualization = {
|
|
904
866
|
..._emptyRowsVisualization.default,
|
|
905
867
|
...visualizationReset,
|
|
@@ -920,10 +882,9 @@ exports.EmptyRowsHidden = EmptyRowsHidden;
|
|
|
920
882
|
EmptyRowsHidden.story = {
|
|
921
883
|
name: 'empty rows - hidden'
|
|
922
884
|
};
|
|
923
|
-
const EmptyColumnsShown = (_,
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
} = _ref34;
|
|
885
|
+
const EmptyColumnsShown = (_, {
|
|
886
|
+
pivotTableOptions
|
|
887
|
+
}) => {
|
|
927
888
|
const visualization = {
|
|
928
889
|
..._lastFiveYearsVisualization.default,
|
|
929
890
|
...pivotTableOptions,
|
|
@@ -943,10 +904,9 @@ exports.EmptyColumnsShown = EmptyColumnsShown;
|
|
|
943
904
|
EmptyColumnsShown.story = {
|
|
944
905
|
name: 'empty columns - shown'
|
|
945
906
|
};
|
|
946
|
-
const EmptyColumnsHidden = (_,
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
} = _ref35;
|
|
907
|
+
const EmptyColumnsHidden = (_, {
|
|
908
|
+
pivotTableOptions
|
|
909
|
+
}) => {
|
|
950
910
|
const visualization = {
|
|
951
911
|
..._lastFiveYearsVisualization.default,
|
|
952
912
|
...pivotTableOptions,
|
|
@@ -966,10 +926,9 @@ exports.EmptyColumnsHidden = EmptyColumnsHidden;
|
|
|
966
926
|
EmptyColumnsHidden.story = {
|
|
967
927
|
name: 'empty columns - hidden'
|
|
968
928
|
};
|
|
969
|
-
const EmptyColumnsWeeklyShown = (_,
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
} = _ref36;
|
|
929
|
+
const EmptyColumnsWeeklyShown = (_, {
|
|
930
|
+
pivotTableOptions
|
|
931
|
+
}) => {
|
|
973
932
|
const visualization = {
|
|
974
933
|
..._weeklyColumnsVisualization.default,
|
|
975
934
|
...pivotTableOptions,
|
|
@@ -989,10 +948,9 @@ exports.EmptyColumnsWeeklyShown = EmptyColumnsWeeklyShown;
|
|
|
989
948
|
EmptyColumnsWeeklyShown.story = {
|
|
990
949
|
name: 'empty columns (weekly) - shown'
|
|
991
950
|
};
|
|
992
|
-
const CumulativeEmptyColumnsWeeklyShown = (_,
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
} = _ref37;
|
|
951
|
+
const CumulativeEmptyColumnsWeeklyShown = (_, {
|
|
952
|
+
pivotTableOptions
|
|
953
|
+
}) => {
|
|
996
954
|
const visualization = {
|
|
997
955
|
..._weeklyColumnsVisualization.default,
|
|
998
956
|
...pivotTableOptions,
|
|
@@ -1013,10 +971,9 @@ exports.CumulativeEmptyColumnsWeeklyShown = CumulativeEmptyColumnsWeeklyShown;
|
|
|
1013
971
|
CumulativeEmptyColumnsWeeklyShown.story = {
|
|
1014
972
|
name: 'cumulative + empty columns (weekly) - shown'
|
|
1015
973
|
};
|
|
1016
|
-
const EmptyColumnsWeeklyHidden = (_,
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
} = _ref38;
|
|
974
|
+
const EmptyColumnsWeeklyHidden = (_, {
|
|
975
|
+
pivotTableOptions
|
|
976
|
+
}) => {
|
|
1020
977
|
const visualization = {
|
|
1021
978
|
..._weeklyColumnsVisualization.default,
|
|
1022
979
|
...pivotTableOptions,
|
|
@@ -1036,10 +993,9 @@ exports.EmptyColumnsWeeklyHidden = EmptyColumnsWeeklyHidden;
|
|
|
1036
993
|
EmptyColumnsWeeklyHidden.story = {
|
|
1037
994
|
name: 'empty columns (weekly) - hidden'
|
|
1038
995
|
};
|
|
1039
|
-
const CumulativeEmptyColumnsWeeklyHidden = (_,
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
} = _ref39;
|
|
996
|
+
const CumulativeEmptyColumnsWeeklyHidden = (_, {
|
|
997
|
+
pivotTableOptions
|
|
998
|
+
}) => {
|
|
1043
999
|
const visualization = {
|
|
1044
1000
|
..._weeklyColumnsVisualization.default,
|
|
1045
1001
|
...pivotTableOptions,
|
|
@@ -1060,10 +1016,9 @@ exports.CumulativeEmptyColumnsWeeklyHidden = CumulativeEmptyColumnsWeeklyHidden;
|
|
|
1060
1016
|
CumulativeEmptyColumnsWeeklyHidden.story = {
|
|
1061
1017
|
name: 'cumulative + empty columns (weekly) - hidden'
|
|
1062
1018
|
};
|
|
1063
|
-
const EmptyColumnsAssignedCatsShown = (_,
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
} = _ref40;
|
|
1019
|
+
const EmptyColumnsAssignedCatsShown = (_, {
|
|
1020
|
+
pivotTableOptions
|
|
1021
|
+
}) => {
|
|
1067
1022
|
const visualization = {
|
|
1068
1023
|
..._emptyColumnsVisualization.default,
|
|
1069
1024
|
...visualizationReset,
|
|
@@ -1084,10 +1039,9 @@ exports.EmptyColumnsAssignedCatsShown = EmptyColumnsAssignedCatsShown;
|
|
|
1084
1039
|
EmptyColumnsAssignedCatsShown.story = {
|
|
1085
1040
|
name: 'empty columns + assigned cats (shown)'
|
|
1086
1041
|
};
|
|
1087
|
-
const EmptyColumnsAssignedCatsHidden = (_,
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
} = _ref41;
|
|
1042
|
+
const EmptyColumnsAssignedCatsHidden = (_, {
|
|
1043
|
+
pivotTableOptions
|
|
1044
|
+
}) => {
|
|
1091
1045
|
const visualization = {
|
|
1092
1046
|
..._emptyColumnsVisualization.default,
|
|
1093
1047
|
...visualizationReset,
|
|
@@ -1108,10 +1062,9 @@ exports.EmptyColumnsAssignedCatsHidden = EmptyColumnsAssignedCatsHidden;
|
|
|
1108
1062
|
EmptyColumnsAssignedCatsHidden.story = {
|
|
1109
1063
|
name: 'empty columns + assigned cats (hidden)'
|
|
1110
1064
|
};
|
|
1111
|
-
const LegendFixedLightFill = (_,
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
} = _ref42;
|
|
1065
|
+
const LegendFixedLightFill = (_, {
|
|
1066
|
+
pivotTableOptions
|
|
1067
|
+
}) => {
|
|
1115
1068
|
const visualization = {
|
|
1116
1069
|
..._targetWithLegendVisualization.default,
|
|
1117
1070
|
...visualizationReset,
|
|
@@ -1140,10 +1093,9 @@ exports.LegendFixedLightFill = LegendFixedLightFill;
|
|
|
1140
1093
|
LegendFixedLightFill.story = {
|
|
1141
1094
|
name: 'legend - fixed (light fill)'
|
|
1142
1095
|
};
|
|
1143
|
-
const LegendFixedDarkFill = (_,
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
} = _ref43;
|
|
1096
|
+
const LegendFixedDarkFill = (_, {
|
|
1097
|
+
pivotTableOptions
|
|
1098
|
+
}) => {
|
|
1147
1099
|
const visualization = {
|
|
1148
1100
|
..._targetWithLegendVisualization.default,
|
|
1149
1101
|
...visualizationReset,
|
|
@@ -1173,10 +1125,9 @@ exports.LegendFixedDarkFill = LegendFixedDarkFill;
|
|
|
1173
1125
|
LegendFixedDarkFill.story = {
|
|
1174
1126
|
name: 'legend - fixed (dark fill)'
|
|
1175
1127
|
};
|
|
1176
|
-
const LegendFixedText = (_,
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
} = _ref44;
|
|
1128
|
+
const LegendFixedText = (_, {
|
|
1129
|
+
pivotTableOptions
|
|
1130
|
+
}) => {
|
|
1180
1131
|
const visualization = {
|
|
1181
1132
|
..._targetWithLegendVisualization.default,
|
|
1182
1133
|
...visualizationReset,
|
|
@@ -1201,10 +1152,9 @@ exports.LegendFixedText = LegendFixedText;
|
|
|
1201
1152
|
LegendFixedText.story = {
|
|
1202
1153
|
name: 'legend - fixed (text)'
|
|
1203
1154
|
};
|
|
1204
|
-
const LegendFixedRow = (_,
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
} = _ref45;
|
|
1155
|
+
const LegendFixedRow = (_, {
|
|
1156
|
+
pivotTableOptions
|
|
1157
|
+
}) => {
|
|
1208
1158
|
const visualization = {
|
|
1209
1159
|
..._targetWithLegendVisualization.default,
|
|
1210
1160
|
...visualizationReset,
|
|
@@ -1232,10 +1182,9 @@ exports.LegendFixedRow = LegendFixedRow;
|
|
|
1232
1182
|
LegendFixedRow.story = {
|
|
1233
1183
|
name: 'legend - fixed (% row)'
|
|
1234
1184
|
};
|
|
1235
|
-
const LegendByDataItem = (_,
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
} = _ref46;
|
|
1185
|
+
const LegendByDataItem = (_, {
|
|
1186
|
+
pivotTableOptions
|
|
1187
|
+
}) => {
|
|
1239
1188
|
const visualization = {
|
|
1240
1189
|
..._targetWithLegendVisualization.default,
|
|
1241
1190
|
...visualizationReset,
|
|
@@ -1267,10 +1216,9 @@ exports.LegendByDataItem = LegendByDataItem;
|
|
|
1267
1216
|
LegendByDataItem.story = {
|
|
1268
1217
|
name: 'legend - by data item'
|
|
1269
1218
|
};
|
|
1270
|
-
const HierarchyNone = (_,
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
} = _ref47;
|
|
1219
|
+
const HierarchyNone = (_, {
|
|
1220
|
+
pivotTableOptions
|
|
1221
|
+
}) => {
|
|
1274
1222
|
const visualization = {
|
|
1275
1223
|
..._hierarchyVisualization.default,
|
|
1276
1224
|
...visualizationReset,
|
|
@@ -1295,10 +1243,9 @@ exports.HierarchyNone = HierarchyNone;
|
|
|
1295
1243
|
HierarchyNone.story = {
|
|
1296
1244
|
name: 'hierarchy - none'
|
|
1297
1245
|
};
|
|
1298
|
-
const HierarchyRows = (_,
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
} = _ref48;
|
|
1246
|
+
const HierarchyRows = (_, {
|
|
1247
|
+
pivotTableOptions
|
|
1248
|
+
}) => {
|
|
1302
1249
|
const visualization = {
|
|
1303
1250
|
..._hierarchyVisualization.default,
|
|
1304
1251
|
...visualizationReset,
|
|
@@ -1322,10 +1269,9 @@ exports.HierarchyRows = HierarchyRows;
|
|
|
1322
1269
|
HierarchyRows.story = {
|
|
1323
1270
|
name: 'hierarchy - rows'
|
|
1324
1271
|
};
|
|
1325
|
-
const HierarchyColumns = (_,
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
} = _ref49;
|
|
1272
|
+
const HierarchyColumns = (_, {
|
|
1273
|
+
pivotTableOptions
|
|
1274
|
+
}) => {
|
|
1329
1275
|
const visualization = {
|
|
1330
1276
|
..._hierarchyVisualization.default,
|
|
1331
1277
|
...visualizationReset,
|
|
@@ -1351,10 +1297,9 @@ exports.HierarchyColumns = HierarchyColumns;
|
|
|
1351
1297
|
HierarchyColumns.story = {
|
|
1352
1298
|
name: 'hierarchy - columns'
|
|
1353
1299
|
};
|
|
1354
|
-
const Narrative = (_,
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
} = _ref50;
|
|
1300
|
+
const Narrative = (_, {
|
|
1301
|
+
pivotTableOptions
|
|
1302
|
+
}) => {
|
|
1358
1303
|
const visualization = {
|
|
1359
1304
|
..._narrativeVisualization.default,
|
|
1360
1305
|
...visualizationReset,
|
|
@@ -1376,10 +1321,9 @@ exports.Narrative = Narrative;
|
|
|
1376
1321
|
Narrative.story = {
|
|
1377
1322
|
name: 'narrative'
|
|
1378
1323
|
};
|
|
1379
|
-
const NarrativeDataAsFilter = (_,
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
} = _ref51;
|
|
1324
|
+
const NarrativeDataAsFilter = (_, {
|
|
1325
|
+
pivotTableOptions
|
|
1326
|
+
}) => {
|
|
1383
1327
|
const visualization = {
|
|
1384
1328
|
..._narrativeVisualization.default,
|
|
1385
1329
|
...visualizationReset,
|
|
@@ -1407,10 +1351,9 @@ exports.NarrativeDataAsFilter = NarrativeDataAsFilter;
|
|
|
1407
1351
|
NarrativeDataAsFilter.story = {
|
|
1408
1352
|
name: 'narrative - data as filter'
|
|
1409
1353
|
};
|
|
1410
|
-
const Degs = (_,
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
} = _ref52;
|
|
1354
|
+
const Degs = (_, {
|
|
1355
|
+
pivotTableOptions
|
|
1356
|
+
}) => {
|
|
1414
1357
|
const visualization = {
|
|
1415
1358
|
..._degsVisualization.default,
|
|
1416
1359
|
...visualizationReset,
|
|
@@ -1430,10 +1373,9 @@ exports.Degs = Degs;
|
|
|
1430
1373
|
Degs.story = {
|
|
1431
1374
|
name: 'DEGS'
|
|
1432
1375
|
};
|
|
1433
|
-
const TruncatedHeaderCell = (_,
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
} = _ref53;
|
|
1376
|
+
const TruncatedHeaderCell = (_, {
|
|
1377
|
+
pivotTableOptions
|
|
1378
|
+
}) => {
|
|
1437
1379
|
const widths = [250, 200, 500];
|
|
1438
1380
|
const [width, setWidth] = (0, _react.useState)(250);
|
|
1439
1381
|
const toggleWidth = () => setWidth(currentWidth => {
|