@dhis2/analytics 23.8.4 → 23.8.7
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/CHANGELOG.md +23 -0
- package/build/cjs/__demo__/FileMenu.stories.js +4 -2
- package/build/cjs/__demo__/Filter.stories.js +2 -2
- package/build/cjs/__demo__/FixedPeriodSelect.stories.js +2 -2
- package/build/cjs/__demo__/OpenFileDialog.stories.js +4 -2
- package/build/cjs/__demo__/OrgUnitDimension.stories.js +2 -2
- package/build/cjs/__demo__/PivotTable.stories.js +206 -153
- package/build/cjs/api/__tests__/dimensions.spec.js +2 -1
- package/build/cjs/api/analytics/Analytics.js +8 -7
- package/build/cjs/api/analytics/AnalyticsBase.js +58 -43
- package/build/cjs/api/analytics/AnalyticsRequest.js +2 -1
- package/build/cjs/api/analytics/AnalyticsRequestBase.js +22 -17
- package/build/cjs/api/analytics/AnalyticsRequestPropertiesMixin.js +38 -19
- package/build/cjs/api/analytics/AnalyticsResponseHeader.js +7 -5
- package/build/cjs/api/analytics/__tests__/AnalyticsRequest.spec.js +2 -1
- package/build/cjs/api/dimensions.js +150 -120
- package/build/cjs/api/organisationUnits.js +36 -24
- package/build/cjs/components/AboutAOUnit/AboutAOUnit.js +22 -13
- package/build/cjs/components/AboutAOUnit/styles/AboutAOUnit.style.js +2 -2
- package/build/cjs/components/CachedDataQueryProvider.js +8 -7
- package/build/cjs/components/DataDimension/DataDimension.js +8 -6
- package/build/cjs/components/DataDimension/DataTypeSelector.js +6 -5
- package/build/cjs/components/DataDimension/DetailSelector.js +6 -5
- package/build/cjs/components/DataDimension/GroupSelector.js +12 -11
- package/build/cjs/components/DataDimension/ItemSelector.js +87 -73
- package/build/cjs/components/DataDimension/MetricSelector.js +6 -5
- package/build/cjs/components/DimensionMenu.js +14 -13
- package/build/cjs/components/DimensionsPanel/DimensionsPanel.js +4 -4
- package/build/cjs/components/DimensionsPanel/List/DimensionItem.js +4 -4
- package/build/cjs/components/DimensionsPanel/List/DimensionLabel.js +4 -4
- package/build/cjs/components/DimensionsPanel/List/DimensionList.js +4 -4
- package/build/cjs/components/DimensionsPanel/List/OptionsButton.js +10 -7
- package/build/cjs/components/DimensionsPanel/List/RecommendedIcon.js +14 -11
- package/build/cjs/components/DynamicDimension/DynamicDimension.js +9 -8
- package/build/cjs/components/DynamicDimension/ItemSelector.js +58 -44
- package/build/cjs/components/FileMenu/DeleteDialog.js +16 -12
- package/build/cjs/components/FileMenu/FileMenu.js +19 -18
- package/build/cjs/components/FileMenu/GetLinkDialog.js +6 -5
- package/build/cjs/components/FileMenu/RenameDialog.js +38 -25
- package/build/cjs/components/FileMenu/SaveAsDialog.js +21 -14
- package/build/cjs/components/FileMenu/utils.js +1 -1
- package/build/cjs/components/Filter/Filter.js +22 -19
- package/build/cjs/components/LegendKey/LegendKey.js +4 -3
- package/build/cjs/components/OpenFileDialog/CreatedByFilter.js +26 -20
- package/build/cjs/components/OpenFileDialog/CustomSelectOption.js +26 -23
- package/build/cjs/components/OpenFileDialog/DateField.js +4 -3
- package/build/cjs/components/OpenFileDialog/FileList.js +22 -19
- package/build/cjs/components/OpenFileDialog/NameFilter.js +21 -15
- package/build/cjs/components/OpenFileDialog/OpenFileDialog.js +43 -35
- package/build/cjs/components/OpenFileDialog/PaginationControls.js +28 -22
- package/build/cjs/components/OpenFileDialog/VisTypeFilter.js +37 -28
- package/build/cjs/components/OpenFileDialog/utils.js +1 -1
- package/build/cjs/components/Options/VisualizationOptions.js +46 -36
- package/build/cjs/components/Options/styles/VisualizationOptions.style.js +1 -1
- package/build/cjs/components/OrgUnitDimension/OrgUnitDimension.js +50 -34
- package/build/cjs/components/PeriodDimension/FixedPeriodFilter.js +22 -15
- package/build/cjs/components/PeriodDimension/FixedPeriodSelect.js +19 -14
- package/build/cjs/components/PeriodDimension/PeriodDimension.js +8 -6
- package/build/cjs/components/PeriodDimension/PeriodTransfer.js +24 -19
- package/build/cjs/components/PeriodDimension/RelativePeriodFilter.js +30 -24
- package/build/cjs/components/PeriodDimension/utils/fixedPeriods.js +1 -1
- package/build/cjs/components/PeriodDimension/utils/index.js +6 -2
- package/build/cjs/components/PeriodDimension/utils/relativePeriods.js +1 -1
- package/build/cjs/components/PivotTable/PivotTable.js +10 -9
- package/build/cjs/components/PivotTable/PivotTableBody.js +29 -20
- package/build/cjs/components/PivotTable/PivotTableCell.js +9 -8
- package/build/cjs/components/PivotTable/PivotTableClippedAxis.js +17 -14
- package/build/cjs/components/PivotTable/PivotTableColumnHeaderCell.js +8 -7
- package/build/cjs/components/PivotTable/PivotTableColumnHeaders.js +29 -22
- package/build/cjs/components/PivotTable/PivotTableContainer.js +6 -5
- package/build/cjs/components/PivotTable/PivotTableDimensionLabelCell.js +5 -4
- package/build/cjs/components/PivotTable/PivotTableEmptyCell.js +3 -2
- package/build/cjs/components/PivotTable/PivotTableEmptyRow.js +5 -4
- package/build/cjs/components/PivotTable/PivotTableEngineContext.js +7 -6
- package/build/cjs/components/PivotTable/PivotTableHead.js +16 -13
- package/build/cjs/components/PivotTable/PivotTableHeaderCell.js +9 -8
- package/build/cjs/components/PivotTable/PivotTableRow.js +27 -20
- package/build/cjs/components/PivotTable/PivotTableRowHeaderCell.js +6 -5
- package/build/cjs/components/PivotTable/PivotTableSortIcon.js +5 -4
- package/build/cjs/components/PivotTable/PivotTableTitleRow.js +9 -8
- package/build/cjs/components/PivotTable/PivotTableTitleRows.js +5 -4
- package/build/cjs/components/PivotTable/PivotTableValueCell.js +8 -7
- package/build/cjs/components/PivotTable/styles/PivotTable.style.js +1 -1
- package/build/cjs/components/TransferOption.js +15 -13
- package/build/cjs/components/TranslationDialog/TranslationModal/LocalesSelect.js +28 -19
- package/build/cjs/components/TranslationDialog/TranslationModal/TranslationForm.js +25 -18
- package/build/cjs/components/TranslationDialog/TranslationModal/TranslationModal.js +9 -8
- package/build/cjs/components/TranslationDialog/TranslationModal/TranslationModalActions.js +17 -14
- package/build/cjs/components/TranslationDialog/TranslationModal/useTranslationsResults.js +4 -3
- package/build/cjs/components/VisTypeIcon.js +6 -5
- package/build/cjs/index.js +464 -464
- package/build/cjs/locales/ar/translations.json +1 -1
- package/build/cjs/locales/ar_EG/translations.json +1 -1
- package/build/cjs/locales/ar_IQ/translations.json +1 -1
- package/build/cjs/locales/ckb/translations.json +1 -1
- package/build/cjs/locales/cs/translations.json +1 -1
- package/build/cjs/locales/da/translations.json +1 -1
- package/build/cjs/locales/en/translations.json +1 -1
- package/build/cjs/locales/es/translations.json +1 -1
- package/build/cjs/locales/fr/translations.json +1 -1
- package/build/cjs/locales/id/translations.json +1 -1
- package/build/cjs/locales/km/translations.json +1 -1
- package/build/cjs/locales/lo/translations.json +1 -1
- package/build/cjs/locales/my/translations.json +1 -1
- package/build/cjs/locales/nb/translations.json +1 -1
- package/build/cjs/locales/nl/translations.json +30 -30
- package/build/cjs/locales/prs/translations.json +1 -1
- package/build/cjs/locales/ps/translations.json +1 -1
- package/build/cjs/locales/pt/translations.json +1 -1
- package/build/cjs/locales/pt_BR/translations.json +1 -1
- package/build/cjs/locales/ru/translations.json +1 -1
- package/build/cjs/locales/sv/translations.json +1 -1
- package/build/cjs/locales/tet/translations.json +1 -1
- package/build/cjs/locales/tg/translations.json +1 -1
- package/build/cjs/locales/uk/translations.json +1 -1
- package/build/cjs/locales/ur/translations.json +1 -1
- package/build/cjs/locales/uz/translations.json +1 -1
- package/build/cjs/locales/uz_Latn/translations.json +1 -1
- package/build/cjs/locales/vi/translations.json +1 -1
- package/build/cjs/locales/zh/translations.json +1 -1
- package/build/cjs/locales/zh_CN/translations.json +1 -1
- package/build/cjs/modules/axis.js +1 -1
- package/build/cjs/modules/dataSets.js +1 -1
- package/build/cjs/modules/dataTypes.js +2 -2
- package/build/cjs/modules/dimensionSelectorHelper.js +1 -1
- package/build/cjs/modules/fontStyle.js +1 -1
- package/build/cjs/modules/layout/axis.js +1 -1
- package/build/cjs/modules/layout/dimension.js +1 -1
- package/build/cjs/modules/layout/dimensionCreate.js +3 -1
- package/build/cjs/modules/layout/dimensionIsValid.js +5 -3
- package/build/cjs/modules/layout/item.js +1 -1
- package/build/cjs/modules/layout/testResources.js +1 -1
- package/build/cjs/modules/layoutTypes.js +1 -1
- package/build/cjs/modules/layoutUiRules/index.js +20 -20
- package/build/cjs/modules/layoutUiRules/rules.js +1 -1
- package/build/cjs/modules/layoutUiRules/rulesHelper.js +2 -1
- package/build/cjs/modules/layoutUiRules/rulesUtils.js +1 -1
- package/build/cjs/modules/legends.js +1 -1
- package/build/cjs/modules/outliers/index.js +4 -2
- package/build/cjs/modules/outliers/iqr.js +8 -5
- package/build/cjs/modules/outliers/modZScore.js +15 -7
- package/build/cjs/modules/outliers/zScore.js +5 -4
- package/build/cjs/modules/pivotTable/AdaptiveClippingController.js +17 -12
- package/build/cjs/modules/pivotTable/PivotTableEngine.js +57 -44
- package/build/cjs/modules/pivotTable/clipAxis.js +8 -7
- package/build/cjs/modules/pivotTable/clipPartitionedAxis.js +10 -9
- package/build/cjs/modules/pivotTable/getHeaderForDisplay.js +9 -8
- package/build/cjs/modules/pivotTable/measureText.js +10 -7
- package/build/cjs/modules/pivotTable/pivotTableConstants.js +1 -1
- package/build/cjs/modules/pivotTable/useParentSize.js +2 -1
- package/build/cjs/modules/pivotTable/useScrollPosition.js +2 -1
- package/build/cjs/modules/pivotTable/useTableClipping.js +7 -6
- package/build/cjs/modules/predefinedDimensions.js +2 -2
- package/build/cjs/modules/relativeItems/index.js +4 -1
- package/build/cjs/modules/valueTypes.js +1 -1
- package/build/cjs/modules/visTypes.js +1 -1
- package/build/cjs/visualizations/config/adapters/dhis_dhis/index.js +7 -6
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/addTrendLines.js +9 -4
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/axis.js +5 -2
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/customAxes.js +9 -5
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/getTrimmedConfig.js +4 -3
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/index.js +11 -9
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/legend.js +32 -28
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/legendSet.js +24 -20
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/plotOptions.js +9 -8
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/xAxis/index.js +1 -1
- package/build/cjs/visualizations/config/adapters/dhis_highcharts/yAxis/gauge.js +3 -1
- package/build/cjs/visualizations/config/generators/dhis/singleValue.js +28 -24
- package/build/cjs/visualizations/config/generators/highcharts/index.js +5 -1
- package/build/cjs/visualizations/config/index.js +13 -11
- package/build/cjs/visualizations/config/validators/dhis/index.js +4 -3
- package/build/cjs/visualizations/index.js +6 -2
- package/build/cjs/visualizations/store/adapters/dhis_dhis/index.js +7 -6
- package/build/cjs/visualizations/store/adapters/dhis_highcharts/index.js +8 -7
- package/build/cjs/visualizations/store/index.js +18 -15
- package/build/cjs/visualizations/store/validators/dhis/index.js +7 -5
- package/build/cjs/visualizations/util/colors/colorSets.js +1 -1
- package/build/cjs/visualizations/util/colors/themes.js +1 -1
- package/build/cjs/visualizations/util/getFilterText.js +9 -6
- package/build/es/__demo__/FileMenu.stories.js +4 -2
- package/build/es/__demo__/OpenFileDialog.stories.js +4 -2
- package/build/es/__demo__/PivotTable.stories.js +204 -151
- package/build/es/api/__tests__/dimensions.spec.js +2 -1
- package/build/es/api/analytics/Analytics.js +8 -7
- package/build/es/api/analytics/AnalyticsBase.js +58 -43
- package/build/es/api/analytics/AnalyticsRequest.js +2 -1
- package/build/es/api/analytics/AnalyticsRequestBase.js +22 -17
- package/build/es/api/analytics/AnalyticsRequestPropertiesMixin.js +38 -19
- package/build/es/api/analytics/AnalyticsResponseHeader.js +7 -5
- package/build/es/api/analytics/__tests__/AnalyticsRequest.spec.js +2 -1
- package/build/es/api/dimensions.js +149 -119
- package/build/es/api/organisationUnits.js +35 -23
- package/build/es/components/AboutAOUnit/AboutAOUnit.js +20 -11
- package/build/es/components/AboutAOUnit/styles/AboutAOUnit.style.js +2 -2
- package/build/es/components/CachedDataQueryProvider.js +6 -5
- package/build/es/components/DataDimension/DataDimension.js +8 -6
- package/build/es/components/DataDimension/DataTypeSelector.js +6 -5
- package/build/es/components/DataDimension/DetailSelector.js +6 -5
- package/build/es/components/DataDimension/GroupSelector.js +10 -9
- package/build/es/components/DataDimension/ItemSelector.js +85 -71
- package/build/es/components/DataDimension/MetricSelector.js +6 -5
- package/build/es/components/DimensionMenu.js +14 -13
- package/build/es/components/DimensionsPanel/DimensionsPanel.js +2 -2
- package/build/es/components/DimensionsPanel/List/DimensionItem.js +2 -2
- package/build/es/components/DimensionsPanel/List/DimensionLabel.js +2 -2
- package/build/es/components/DimensionsPanel/List/DimensionList.js +2 -2
- package/build/es/components/DimensionsPanel/List/OptionsButton.js +10 -7
- package/build/es/components/DimensionsPanel/List/RecommendedIcon.js +14 -11
- package/build/es/components/DynamicDimension/DynamicDimension.js +9 -8
- package/build/es/components/DynamicDimension/ItemSelector.js +56 -42
- package/build/es/components/FileMenu/DeleteDialog.js +14 -10
- package/build/es/components/FileMenu/FileMenu.js +17 -16
- package/build/es/components/FileMenu/GetLinkDialog.js +6 -5
- package/build/es/components/FileMenu/RenameDialog.js +36 -23
- package/build/es/components/FileMenu/SaveAsDialog.js +19 -12
- package/build/es/components/Filter/Filter.js +22 -19
- package/build/es/components/LegendKey/LegendKey.js +4 -3
- package/build/es/components/OpenFileDialog/CreatedByFilter.js +26 -20
- package/build/es/components/OpenFileDialog/CustomSelectOption.js +26 -23
- package/build/es/components/OpenFileDialog/DateField.js +4 -3
- package/build/es/components/OpenFileDialog/FileList.js +22 -19
- package/build/es/components/OpenFileDialog/NameFilter.js +21 -15
- package/build/es/components/OpenFileDialog/OpenFileDialog.js +41 -33
- package/build/es/components/OpenFileDialog/PaginationControls.js +28 -22
- package/build/es/components/OpenFileDialog/VisTypeFilter.js +37 -28
- package/build/es/components/Options/VisualizationOptions.js +43 -33
- package/build/es/components/OrgUnitDimension/OrgUnitDimension.js +48 -32
- package/build/es/components/PeriodDimension/FixedPeriodFilter.js +22 -15
- package/build/es/components/PeriodDimension/FixedPeriodSelect.js +17 -12
- package/build/es/components/PeriodDimension/PeriodDimension.js +8 -6
- package/build/es/components/PeriodDimension/PeriodTransfer.js +22 -17
- package/build/es/components/PeriodDimension/RelativePeriodFilter.js +30 -24
- package/build/es/components/PeriodDimension/utils/index.js +5 -1
- package/build/es/components/PivotTable/PivotTable.js +8 -7
- package/build/es/components/PivotTable/PivotTableBody.js +29 -20
- package/build/es/components/PivotTable/PivotTableCell.js +9 -8
- package/build/es/components/PivotTable/PivotTableClippedAxis.js +17 -14
- package/build/es/components/PivotTable/PivotTableColumnHeaderCell.js +8 -7
- package/build/es/components/PivotTable/PivotTableColumnHeaders.js +29 -22
- package/build/es/components/PivotTable/PivotTableContainer.js +6 -5
- package/build/es/components/PivotTable/PivotTableDimensionLabelCell.js +5 -4
- package/build/es/components/PivotTable/PivotTableEmptyCell.js +3 -2
- package/build/es/components/PivotTable/PivotTableEmptyRow.js +5 -4
- package/build/es/components/PivotTable/PivotTableEngineContext.js +5 -4
- package/build/es/components/PivotTable/PivotTableHead.js +16 -13
- package/build/es/components/PivotTable/PivotTableHeaderCell.js +9 -8
- package/build/es/components/PivotTable/PivotTableRow.js +27 -20
- package/build/es/components/PivotTable/PivotTableRowHeaderCell.js +6 -5
- package/build/es/components/PivotTable/PivotTableSortIcon.js +5 -4
- package/build/es/components/PivotTable/PivotTableTitleRow.js +7 -6
- package/build/es/components/PivotTable/PivotTableTitleRows.js +5 -4
- package/build/es/components/PivotTable/PivotTableValueCell.js +6 -5
- package/build/es/components/TransferOption.js +15 -13
- package/build/es/components/TranslationDialog/TranslationModal/LocalesSelect.js +28 -19
- package/build/es/components/TranslationDialog/TranslationModal/TranslationForm.js +23 -16
- package/build/es/components/TranslationDialog/TranslationModal/TranslationModal.js +7 -6
- package/build/es/components/TranslationDialog/TranslationModal/TranslationModalActions.js +17 -14
- package/build/es/components/TranslationDialog/TranslationModal/useTranslationsResults.js +4 -3
- package/build/es/components/VisTypeIcon.js +6 -5
- package/build/es/locales/ar/translations.json +1 -1
- package/build/es/locales/ar_EG/translations.json +1 -1
- package/build/es/locales/ar_IQ/translations.json +1 -1
- package/build/es/locales/ckb/translations.json +1 -1
- package/build/es/locales/cs/translations.json +1 -1
- package/build/es/locales/da/translations.json +1 -1
- package/build/es/locales/en/translations.json +1 -1
- package/build/es/locales/es/translations.json +1 -1
- package/build/es/locales/fr/translations.json +1 -1
- package/build/es/locales/id/translations.json +1 -1
- package/build/es/locales/km/translations.json +1 -1
- package/build/es/locales/lo/translations.json +1 -1
- package/build/es/locales/my/translations.json +1 -1
- package/build/es/locales/nb/translations.json +1 -1
- package/build/es/locales/nl/translations.json +30 -30
- package/build/es/locales/prs/translations.json +1 -1
- package/build/es/locales/ps/translations.json +1 -1
- package/build/es/locales/pt/translations.json +1 -1
- package/build/es/locales/pt_BR/translations.json +1 -1
- package/build/es/locales/ru/translations.json +1 -1
- package/build/es/locales/sv/translations.json +1 -1
- package/build/es/locales/tet/translations.json +1 -1
- package/build/es/locales/tg/translations.json +1 -1
- package/build/es/locales/uk/translations.json +1 -1
- package/build/es/locales/ur/translations.json +1 -1
- package/build/es/locales/uz/translations.json +1 -1
- package/build/es/locales/uz_Latn/translations.json +1 -1
- package/build/es/locales/vi/translations.json +1 -1
- package/build/es/locales/zh/translations.json +1 -1
- package/build/es/locales/zh_CN/translations.json +1 -1
- package/build/es/modules/layout/dimensionCreate.js +3 -1
- package/build/es/modules/layout/dimensionIsValid.js +5 -3
- package/build/es/modules/outliers/index.js +3 -1
- package/build/es/modules/outliers/iqr.js +7 -4
- package/build/es/modules/outliers/modZScore.js +14 -6
- package/build/es/modules/outliers/zScore.js +4 -3
- package/build/es/modules/pivotTable/AdaptiveClippingController.js +17 -12
- package/build/es/modules/pivotTable/PivotTableEngine.js +57 -44
- package/build/es/modules/pivotTable/clipAxis.js +8 -7
- package/build/es/modules/pivotTable/clipPartitionedAxis.js +10 -9
- package/build/es/modules/pivotTable/getHeaderForDisplay.js +9 -8
- package/build/es/modules/pivotTable/measureText.js +10 -7
- package/build/es/modules/pivotTable/useParentSize.js +2 -1
- package/build/es/modules/pivotTable/useScrollPosition.js +2 -1
- package/build/es/modules/pivotTable/useTableClipping.js +7 -6
- package/build/es/modules/predefinedDimensions.js +1 -1
- package/build/es/modules/relativeItems/index.js +4 -1
- package/build/es/visualizations/config/adapters/dhis_dhis/index.js +6 -5
- package/build/es/visualizations/config/adapters/dhis_highcharts/addTrendLines.js +8 -3
- package/build/es/visualizations/config/adapters/dhis_highcharts/axis.js +4 -1
- package/build/es/visualizations/config/adapters/dhis_highcharts/customAxes.js +6 -2
- package/build/es/visualizations/config/adapters/dhis_highcharts/getTrimmedConfig.js +4 -3
- package/build/es/visualizations/config/adapters/dhis_highcharts/index.js +9 -7
- package/build/es/visualizations/config/adapters/dhis_highcharts/legend.js +32 -28
- package/build/es/visualizations/config/adapters/dhis_highcharts/legendSet.js +23 -19
- package/build/es/visualizations/config/adapters/dhis_highcharts/plotOptions.js +9 -8
- package/build/es/visualizations/config/adapters/dhis_highcharts/yAxis/gauge.js +3 -1
- package/build/es/visualizations/config/generators/dhis/singleValue.js +28 -24
- package/build/es/visualizations/config/generators/highcharts/index.js +5 -1
- package/build/es/visualizations/config/index.js +13 -11
- package/build/es/visualizations/config/validators/dhis/index.js +4 -3
- package/build/es/visualizations/index.js +5 -1
- package/build/es/visualizations/store/adapters/dhis_dhis/index.js +7 -6
- package/build/es/visualizations/store/adapters/dhis_highcharts/index.js +8 -7
- package/build/es/visualizations/store/index.js +18 -15
- package/build/es/visualizations/store/validators/dhis/index.js +7 -5
- package/build/es/visualizations/util/getFilterText.js +9 -6
- package/package.json +11 -11
|
@@ -88,9 +88,9 @@ var _weeklyColumnsMetadata = _interopRequireDefault(require("./data/weeklyColumn
|
|
|
88
88
|
|
|
89
89
|
var _weeklyColumnsVisualization = _interopRequireDefault(require("./data/weeklyColumns.visualization.json"));
|
|
90
90
|
|
|
91
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var
|
|
91
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
92
92
|
|
|
93
|
-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
93
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
94
94
|
|
|
95
95
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
96
96
|
|
|
@@ -126,29 +126,36 @@ const PivotTableOptionsWrapper = story => {
|
|
|
126
126
|
return /*#__PURE__*/_react2.default.createElement("div", null, /*#__PURE__*/_react2.default.createElement("div", null, /*#__PURE__*/_react2.default.createElement(_ui.Checkbox, {
|
|
127
127
|
label: "Use fixed column headers",
|
|
128
128
|
checked: pivotTableOptions.fixColumnHeaders,
|
|
129
|
-
onChange:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
onChange: _ref => {
|
|
130
|
+
let {
|
|
131
|
+
checked
|
|
132
|
+
} = _ref;
|
|
133
|
+
return setPivotTableOptions({ ...pivotTableOptions,
|
|
134
|
+
fixColumnHeaders: checked
|
|
135
|
+
});
|
|
136
|
+
},
|
|
134
137
|
dense: true
|
|
135
138
|
}), /*#__PURE__*/_react2.default.createElement(_ui.Checkbox, {
|
|
136
139
|
label: "Use fixed row headers",
|
|
137
140
|
checked: pivotTableOptions.fixRowHeaders,
|
|
138
|
-
onChange:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
onChange: _ref2 => {
|
|
142
|
+
let {
|
|
143
|
+
checked
|
|
144
|
+
} = _ref2;
|
|
145
|
+
return setPivotTableOptions({ ...pivotTableOptions,
|
|
146
|
+
fixRowHeaders: checked
|
|
147
|
+
});
|
|
148
|
+
},
|
|
143
149
|
dense: true
|
|
144
150
|
}), /*#__PURE__*/_react2.default.createElement(_ui.Divider, null)), story({
|
|
145
151
|
pivotTableOptions
|
|
146
152
|
}));
|
|
147
153
|
};
|
|
148
154
|
|
|
149
|
-
(0, _react.storiesOf)('PivotTable', module).addDecorator(PivotTableOptionsWrapper).add('simple', (_, {
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
(0, _react.storiesOf)('PivotTable', module).addDecorator(PivotTableOptionsWrapper).add('simple', (_, _ref3) => {
|
|
156
|
+
let {
|
|
157
|
+
pivotTableOptions
|
|
158
|
+
} = _ref3;
|
|
152
159
|
const visualization = { ..._simpleVisualization.default,
|
|
153
160
|
...visualizationReset,
|
|
154
161
|
...pivotTableOptions
|
|
@@ -163,9 +170,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
163
170
|
visualization: visualization
|
|
164
171
|
}));
|
|
165
172
|
});
|
|
166
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - comma DGS', (_, {
|
|
167
|
-
|
|
168
|
-
|
|
173
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - comma DGS', (_, _ref4) => {
|
|
174
|
+
let {
|
|
175
|
+
pivotTableOptions
|
|
176
|
+
} = _ref4;
|
|
169
177
|
const visualization = { ..._simpleVisualization.default,
|
|
170
178
|
...visualizationReset,
|
|
171
179
|
...pivotTableOptions,
|
|
@@ -181,9 +189,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
181
189
|
visualization: visualization
|
|
182
190
|
}));
|
|
183
191
|
});
|
|
184
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - title / subtitle / filter', (_, {
|
|
185
|
-
|
|
186
|
-
|
|
192
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - title / subtitle / filter', (_, _ref5) => {
|
|
193
|
+
let {
|
|
194
|
+
pivotTableOptions
|
|
195
|
+
} = _ref5;
|
|
187
196
|
const visualization = { ..._simpleVisualization.default,
|
|
188
197
|
...visualizationReset,
|
|
189
198
|
...pivotTableOptions,
|
|
@@ -200,9 +209,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
200
209
|
visualization: visualization
|
|
201
210
|
}));
|
|
202
211
|
});
|
|
203
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - column %', (_, {
|
|
204
|
-
|
|
205
|
-
|
|
212
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - column %', (_, _ref6) => {
|
|
213
|
+
let {
|
|
214
|
+
pivotTableOptions
|
|
215
|
+
} = _ref6;
|
|
206
216
|
const visualization = { ..._simpleVisualization.default,
|
|
207
217
|
...visualizationReset,
|
|
208
218
|
...pivotTableOptions,
|
|
@@ -219,9 +229,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
219
229
|
visualization: visualization
|
|
220
230
|
}));
|
|
221
231
|
});
|
|
222
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - data as filter', (_, {
|
|
223
|
-
|
|
224
|
-
|
|
232
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - data as filter', (_, _ref7) => {
|
|
233
|
+
let {
|
|
234
|
+
pivotTableOptions
|
|
235
|
+
} = _ref7;
|
|
225
236
|
const visualization = { ..._simpleVisualization.default,
|
|
226
237
|
...visualizationReset,
|
|
227
238
|
...pivotTableOptions,
|
|
@@ -238,9 +249,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
238
249
|
visualization: visualization
|
|
239
250
|
}));
|
|
240
251
|
});
|
|
241
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns', (_, {
|
|
242
|
-
|
|
243
|
-
|
|
252
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns', (_, _ref8) => {
|
|
253
|
+
let {
|
|
254
|
+
pivotTableOptions
|
|
255
|
+
} = _ref8;
|
|
244
256
|
const visualization = { ..._simpleVisualization.default,
|
|
245
257
|
...visualizationReset,
|
|
246
258
|
...pivotTableOptions,
|
|
@@ -261,9 +273,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
261
273
|
visualization: visualization
|
|
262
274
|
}));
|
|
263
275
|
});
|
|
264
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns (single cell)', (_, {
|
|
265
|
-
|
|
266
|
-
|
|
276
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns (single cell)', (_, _ref9) => {
|
|
277
|
+
let {
|
|
278
|
+
pivotTableOptions
|
|
279
|
+
} = _ref9;
|
|
267
280
|
const visualization = { ..._simpleVisualization.default,
|
|
268
281
|
...visualizationReset,
|
|
269
282
|
...pivotTableOptions,
|
|
@@ -282,9 +295,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
282
295
|
visualization: visualization
|
|
283
296
|
}));
|
|
284
297
|
});
|
|
285
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns (deep)', (_, {
|
|
286
|
-
|
|
287
|
-
|
|
298
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns (deep)', (_, _ref10) => {
|
|
299
|
+
let {
|
|
300
|
+
pivotTableOptions
|
|
301
|
+
} = _ref10;
|
|
288
302
|
const visualization = { ..._simpleVisualization.default,
|
|
289
303
|
...visualizationReset,
|
|
290
304
|
...pivotTableOptions,
|
|
@@ -304,9 +318,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
304
318
|
visualization: visualization
|
|
305
319
|
}));
|
|
306
320
|
});
|
|
307
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns (label)', (_, {
|
|
308
|
-
|
|
309
|
-
|
|
321
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - no columns (label)', (_, _ref11) => {
|
|
322
|
+
let {
|
|
323
|
+
pivotTableOptions
|
|
324
|
+
} = _ref11;
|
|
310
325
|
const visualization = { ..._simpleVisualization.default,
|
|
311
326
|
...visualizationReset,
|
|
312
327
|
...pivotTableOptions,
|
|
@@ -328,9 +343,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
328
343
|
visualization: visualization
|
|
329
344
|
}));
|
|
330
345
|
});
|
|
331
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - no rows (small)', (_, {
|
|
332
|
-
|
|
333
|
-
|
|
346
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - no rows (small)', (_, _ref12) => {
|
|
347
|
+
let {
|
|
348
|
+
pivotTableOptions
|
|
349
|
+
} = _ref12;
|
|
334
350
|
const visualization = { ..._simpleVisualization.default,
|
|
335
351
|
...visualizationReset,
|
|
336
352
|
...pivotTableOptions,
|
|
@@ -352,9 +368,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
352
368
|
visualization: visualization
|
|
353
369
|
}));
|
|
354
370
|
});
|
|
355
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - no rows (large)', (_, {
|
|
356
|
-
|
|
357
|
-
|
|
371
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - no rows (large)', (_, _ref13) => {
|
|
372
|
+
let {
|
|
373
|
+
pivotTableOptions
|
|
374
|
+
} = _ref13;
|
|
358
375
|
const visualization = { ..._simpleVisualization.default,
|
|
359
376
|
...visualizationReset,
|
|
360
377
|
...pivotTableOptions,
|
|
@@ -376,9 +393,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
376
393
|
visualization: visualization
|
|
377
394
|
}));
|
|
378
395
|
});
|
|
379
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - avg totalAggregationType columns', (_, {
|
|
380
|
-
|
|
381
|
-
|
|
396
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - avg totalAggregationType columns', (_, _ref14) => {
|
|
397
|
+
let {
|
|
398
|
+
pivotTableOptions
|
|
399
|
+
} = _ref14;
|
|
382
400
|
const visualization = { ..._avgTotalAggregationTypeVisualization.default,
|
|
383
401
|
...visualizationReset,
|
|
384
402
|
...pivotTableOptions,
|
|
@@ -395,9 +413,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
395
413
|
visualization: visualization
|
|
396
414
|
}));
|
|
397
415
|
});
|
|
398
|
-
(0, _react.storiesOf)('PivotTable', module).add('simple - avg totalAggregationType rows', (_, {
|
|
399
|
-
|
|
400
|
-
|
|
416
|
+
(0, _react.storiesOf)('PivotTable', module).add('simple - avg totalAggregationType rows', (_, _ref15) => {
|
|
417
|
+
let {
|
|
418
|
+
pivotTableOptions
|
|
419
|
+
} = _ref15;
|
|
401
420
|
const visualization = { ..._avgTotalAggregationTypeVisualization.default,
|
|
402
421
|
...visualizationReset,
|
|
403
422
|
...pivotTableOptions,
|
|
@@ -416,9 +435,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
416
435
|
visualization: visualization
|
|
417
436
|
}));
|
|
418
437
|
});
|
|
419
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep', (_, {
|
|
420
|
-
|
|
421
|
-
|
|
438
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep', (_, _ref16) => {
|
|
439
|
+
let {
|
|
440
|
+
pivotTableOptions
|
|
441
|
+
} = _ref16;
|
|
422
442
|
const visualization = { ..._deepVisualization.default,
|
|
423
443
|
...visualizationReset,
|
|
424
444
|
...pivotTableOptions,
|
|
@@ -434,9 +454,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
434
454
|
visualization: visualization
|
|
435
455
|
}));
|
|
436
456
|
});
|
|
437
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - filter', (_, {
|
|
438
|
-
|
|
439
|
-
|
|
457
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - filter', (_, _ref17) => {
|
|
458
|
+
let {
|
|
459
|
+
pivotTableOptions
|
|
460
|
+
} = _ref17;
|
|
440
461
|
const visualization = { ..._deepWithFiltersVisualization.default,
|
|
441
462
|
...visualizationReset,
|
|
442
463
|
...pivotTableOptions,
|
|
@@ -452,9 +473,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
452
473
|
visualization: visualization
|
|
453
474
|
}));
|
|
454
475
|
});
|
|
455
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - title / subtitle / filter', (_, {
|
|
456
|
-
|
|
457
|
-
|
|
476
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - title / subtitle / filter', (_, _ref18) => {
|
|
477
|
+
let {
|
|
478
|
+
pivotTableOptions
|
|
479
|
+
} = _ref18;
|
|
458
480
|
const visualization = { ..._deepVisualization.default,
|
|
459
481
|
...visualizationReset,
|
|
460
482
|
...pivotTableOptions,
|
|
@@ -472,9 +494,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
472
494
|
visualization: visualization
|
|
473
495
|
}));
|
|
474
496
|
});
|
|
475
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - dimension labels', (_, {
|
|
476
|
-
|
|
477
|
-
|
|
497
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - dimension labels', (_, _ref19) => {
|
|
498
|
+
let {
|
|
499
|
+
pivotTableOptions
|
|
500
|
+
} = _ref19;
|
|
478
501
|
const visualization = { ..._deepVisualization.default,
|
|
479
502
|
...visualizationReset,
|
|
480
503
|
...pivotTableOptions
|
|
@@ -489,9 +512,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
489
512
|
visualization: visualization
|
|
490
513
|
}));
|
|
491
514
|
});
|
|
492
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - small / compact', (_, {
|
|
493
|
-
|
|
494
|
-
|
|
515
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - small / compact', (_, _ref20) => {
|
|
516
|
+
let {
|
|
517
|
+
pivotTableOptions
|
|
518
|
+
} = _ref20;
|
|
495
519
|
const visualization = { ..._deepVisualization.default,
|
|
496
520
|
...visualizationReset,
|
|
497
521
|
...pivotTableOptions,
|
|
@@ -508,9 +532,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
508
532
|
visualization: visualization
|
|
509
533
|
}));
|
|
510
534
|
});
|
|
511
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - large / comfortable', (_, {
|
|
512
|
-
|
|
513
|
-
|
|
535
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - large / comfortable', (_, _ref21) => {
|
|
536
|
+
let {
|
|
537
|
+
pivotTableOptions
|
|
538
|
+
} = _ref21;
|
|
514
539
|
const visualization = { ..._deepVisualization.default,
|
|
515
540
|
...visualizationReset,
|
|
516
541
|
...pivotTableOptions,
|
|
@@ -527,9 +552,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
527
552
|
visualization: visualization
|
|
528
553
|
}));
|
|
529
554
|
});
|
|
530
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - row %', (_, {
|
|
531
|
-
|
|
532
|
-
|
|
555
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - row %', (_, _ref22) => {
|
|
556
|
+
let {
|
|
557
|
+
pivotTableOptions
|
|
558
|
+
} = _ref22;
|
|
533
559
|
const visualization = { ..._deepVisualization.default,
|
|
534
560
|
...visualizationReset,
|
|
535
561
|
...pivotTableOptions,
|
|
@@ -549,9 +575,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
549
575
|
visualization: visualization
|
|
550
576
|
}));
|
|
551
577
|
});
|
|
552
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - column %', (_, {
|
|
553
|
-
|
|
554
|
-
|
|
578
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - column %', (_, _ref23) => {
|
|
579
|
+
let {
|
|
580
|
+
pivotTableOptions
|
|
581
|
+
} = _ref23;
|
|
555
582
|
const visualization = { ..._deepVisualization.default,
|
|
556
583
|
...visualizationReset,
|
|
557
584
|
...pivotTableOptions,
|
|
@@ -572,9 +599,10 @@ const PivotTableOptionsWrapper = story => {
|
|
|
572
599
|
}));
|
|
573
600
|
});
|
|
574
601
|
|
|
575
|
-
const ResizingPivotTable =
|
|
576
|
-
|
|
577
|
-
|
|
602
|
+
const ResizingPivotTable = _ref24 => {
|
|
603
|
+
let {
|
|
604
|
+
visualization
|
|
605
|
+
} = _ref24;
|
|
578
606
|
const [size, setSize] = (0, _react2.useState)(() => ({
|
|
579
607
|
width: 400,
|
|
580
608
|
height: 300
|
|
@@ -607,9 +635,10 @@ const ResizingPivotTable = ({
|
|
|
607
635
|
ResizingPivotTable.propTypes = {
|
|
608
636
|
visualization: _propTypes.default.object.isRequired
|
|
609
637
|
};
|
|
610
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - resize', (_, {
|
|
611
|
-
|
|
612
|
-
|
|
638
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - resize', (_, _ref25) => {
|
|
639
|
+
let {
|
|
640
|
+
pivotTableOptions
|
|
641
|
+
} = _ref25;
|
|
613
642
|
const visualization = { ..._deepVisualization.default,
|
|
614
643
|
...visualizationReset,
|
|
615
644
|
...pivotTableOptions
|
|
@@ -618,9 +647,10 @@ ResizingPivotTable.propTypes = {
|
|
|
618
647
|
visualization: visualization
|
|
619
648
|
});
|
|
620
649
|
});
|
|
621
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - totals', (_, {
|
|
622
|
-
|
|
623
|
-
|
|
650
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - totals', (_, _ref26) => {
|
|
651
|
+
let {
|
|
652
|
+
pivotTableOptions
|
|
653
|
+
} = _ref26;
|
|
624
654
|
const visualization = { ..._deepVisualization.default,
|
|
625
655
|
...visualizationReset,
|
|
626
656
|
...pivotTableOptions,
|
|
@@ -637,9 +667,10 @@ ResizingPivotTable.propTypes = {
|
|
|
637
667
|
visualization: visualization
|
|
638
668
|
}));
|
|
639
669
|
});
|
|
640
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - subtotals', (_, {
|
|
641
|
-
|
|
642
|
-
|
|
670
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - subtotals', (_, _ref27) => {
|
|
671
|
+
let {
|
|
672
|
+
pivotTableOptions
|
|
673
|
+
} = _ref27;
|
|
643
674
|
const visualization = { ..._deepVisualization.default,
|
|
644
675
|
...visualizationReset,
|
|
645
676
|
...pivotTableOptions,
|
|
@@ -656,9 +687,10 @@ ResizingPivotTable.propTypes = {
|
|
|
656
687
|
visualization: visualization
|
|
657
688
|
}));
|
|
658
689
|
});
|
|
659
|
-
(0, _react.storiesOf)('PivotTable', module).add('deep - all totals', (_, {
|
|
660
|
-
|
|
661
|
-
|
|
690
|
+
(0, _react.storiesOf)('PivotTable', module).add('deep - all totals', (_, _ref28) => {
|
|
691
|
+
let {
|
|
692
|
+
pivotTableOptions
|
|
693
|
+
} = _ref28;
|
|
662
694
|
const visualization = { ..._deepVisualization.default,
|
|
663
695
|
...visualizationReset,
|
|
664
696
|
...pivotTableOptions,
|
|
@@ -677,9 +709,10 @@ ResizingPivotTable.propTypes = {
|
|
|
677
709
|
visualization: visualization
|
|
678
710
|
}));
|
|
679
711
|
});
|
|
680
|
-
(0, _react.storiesOf)('PivotTable', module).add('small empty rows - shown', (_, {
|
|
681
|
-
|
|
682
|
-
|
|
712
|
+
(0, _react.storiesOf)('PivotTable', module).add('small empty rows - shown', (_, _ref29) => {
|
|
713
|
+
let {
|
|
714
|
+
pivotTableOptions
|
|
715
|
+
} = _ref29;
|
|
683
716
|
const visualization = { ..._diseaseWeeksVisualization.default,
|
|
684
717
|
...visualizationReset,
|
|
685
718
|
...pivotTableOptions,
|
|
@@ -698,9 +731,10 @@ ResizingPivotTable.propTypes = {
|
|
|
698
731
|
visualization: visualization
|
|
699
732
|
}));
|
|
700
733
|
});
|
|
701
|
-
(0, _react.storiesOf)('PivotTable', module).add('small empty rows - hidden', (_, {
|
|
702
|
-
|
|
703
|
-
|
|
734
|
+
(0, _react.storiesOf)('PivotTable', module).add('small empty rows - hidden', (_, _ref30) => {
|
|
735
|
+
let {
|
|
736
|
+
pivotTableOptions
|
|
737
|
+
} = _ref30;
|
|
704
738
|
const visualization = { ..._diseaseWeeksVisualization.default,
|
|
705
739
|
...visualizationReset,
|
|
706
740
|
...pivotTableOptions,
|
|
@@ -720,9 +754,10 @@ ResizingPivotTable.propTypes = {
|
|
|
720
754
|
visualization: visualization
|
|
721
755
|
}));
|
|
722
756
|
});
|
|
723
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty rows - shown', (_, {
|
|
724
|
-
|
|
725
|
-
|
|
757
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty rows - shown', (_, _ref31) => {
|
|
758
|
+
let {
|
|
759
|
+
pivotTableOptions
|
|
760
|
+
} = _ref31;
|
|
726
761
|
const visualization = { ..._emptyRowsVisualization.default,
|
|
727
762
|
...visualizationReset,
|
|
728
763
|
...pivotTableOptions,
|
|
@@ -741,9 +776,10 @@ ResizingPivotTable.propTypes = {
|
|
|
741
776
|
visualization: visualization
|
|
742
777
|
}));
|
|
743
778
|
});
|
|
744
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty rows - hidden', (_, {
|
|
745
|
-
|
|
746
|
-
|
|
779
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty rows - hidden', (_, _ref32) => {
|
|
780
|
+
let {
|
|
781
|
+
pivotTableOptions
|
|
782
|
+
} = _ref32;
|
|
747
783
|
const visualization = { ..._emptyRowsVisualization.default,
|
|
748
784
|
...visualizationReset,
|
|
749
785
|
...pivotTableOptions,
|
|
@@ -759,9 +795,10 @@ ResizingPivotTable.propTypes = {
|
|
|
759
795
|
visualization: visualization
|
|
760
796
|
}));
|
|
761
797
|
});
|
|
762
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty columns - shown', (_, {
|
|
763
|
-
|
|
764
|
-
|
|
798
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty columns - shown', (_, _ref33) => {
|
|
799
|
+
let {
|
|
800
|
+
pivotTableOptions
|
|
801
|
+
} = _ref33;
|
|
765
802
|
const visualization = { ..._lastFiveYearsVisualization.default,
|
|
766
803
|
...pivotTableOptions,
|
|
767
804
|
hideEmptyColumns: false
|
|
@@ -776,9 +813,10 @@ ResizingPivotTable.propTypes = {
|
|
|
776
813
|
visualization: visualization
|
|
777
814
|
}));
|
|
778
815
|
});
|
|
779
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty columns - hidden', (_, {
|
|
780
|
-
|
|
781
|
-
|
|
816
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty columns - hidden', (_, _ref34) => {
|
|
817
|
+
let {
|
|
818
|
+
pivotTableOptions
|
|
819
|
+
} = _ref34;
|
|
782
820
|
const visualization = { ..._lastFiveYearsVisualization.default,
|
|
783
821
|
...pivotTableOptions,
|
|
784
822
|
hideEmptyColumns: true
|
|
@@ -793,9 +831,10 @@ ResizingPivotTable.propTypes = {
|
|
|
793
831
|
visualization: visualization
|
|
794
832
|
}));
|
|
795
833
|
});
|
|
796
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty columns (weekly) - shown', (_, {
|
|
797
|
-
|
|
798
|
-
|
|
834
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty columns (weekly) - shown', (_, _ref35) => {
|
|
835
|
+
let {
|
|
836
|
+
pivotTableOptions
|
|
837
|
+
} = _ref35;
|
|
799
838
|
const visualization = { ..._weeklyColumnsVisualization.default,
|
|
800
839
|
...pivotTableOptions,
|
|
801
840
|
hideEmptyColumns: false
|
|
@@ -810,9 +849,10 @@ ResizingPivotTable.propTypes = {
|
|
|
810
849
|
visualization: visualization
|
|
811
850
|
}));
|
|
812
851
|
});
|
|
813
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty columns (weekly) - hidden', (_, {
|
|
814
|
-
|
|
815
|
-
|
|
852
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty columns (weekly) - hidden', (_, _ref36) => {
|
|
853
|
+
let {
|
|
854
|
+
pivotTableOptions
|
|
855
|
+
} = _ref36;
|
|
816
856
|
const visualization = { ..._weeklyColumnsVisualization.default,
|
|
817
857
|
...pivotTableOptions,
|
|
818
858
|
hideEmptyColumns: true
|
|
@@ -827,9 +867,10 @@ ResizingPivotTable.propTypes = {
|
|
|
827
867
|
visualization: visualization
|
|
828
868
|
}));
|
|
829
869
|
});
|
|
830
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty columns + assigned cats (shown)', (_, {
|
|
831
|
-
|
|
832
|
-
|
|
870
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty columns + assigned cats (shown)', (_, _ref37) => {
|
|
871
|
+
let {
|
|
872
|
+
pivotTableOptions
|
|
873
|
+
} = _ref37;
|
|
833
874
|
const visualization = { ..._emptyColumnsVisualization.default,
|
|
834
875
|
...visualizationReset,
|
|
835
876
|
...pivotTableOptions,
|
|
@@ -845,9 +886,10 @@ ResizingPivotTable.propTypes = {
|
|
|
845
886
|
visualization: visualization
|
|
846
887
|
}));
|
|
847
888
|
});
|
|
848
|
-
(0, _react.storiesOf)('PivotTable', module).add('empty columns + assigned cats (hidden)', (_, {
|
|
849
|
-
|
|
850
|
-
|
|
889
|
+
(0, _react.storiesOf)('PivotTable', module).add('empty columns + assigned cats (hidden)', (_, _ref38) => {
|
|
890
|
+
let {
|
|
891
|
+
pivotTableOptions
|
|
892
|
+
} = _ref38;
|
|
851
893
|
const visualization = { ..._emptyColumnsVisualization.default,
|
|
852
894
|
...visualizationReset,
|
|
853
895
|
...pivotTableOptions,
|
|
@@ -863,9 +905,10 @@ ResizingPivotTable.propTypes = {
|
|
|
863
905
|
visualization: visualization
|
|
864
906
|
}));
|
|
865
907
|
});
|
|
866
|
-
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (light fill)', (_, {
|
|
867
|
-
|
|
868
|
-
|
|
908
|
+
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (light fill)', (_, _ref39) => {
|
|
909
|
+
let {
|
|
910
|
+
pivotTableOptions
|
|
911
|
+
} = _ref39;
|
|
869
912
|
const visualization = { ..._targetWithLegendVisualization.default,
|
|
870
913
|
...visualizationReset,
|
|
871
914
|
...pivotTableOptions,
|
|
@@ -889,9 +932,10 @@ ResizingPivotTable.propTypes = {
|
|
|
889
932
|
legendSets: [_underAbove100LegendSet.default]
|
|
890
933
|
}));
|
|
891
934
|
});
|
|
892
|
-
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (dark fill)', (_, {
|
|
893
|
-
|
|
894
|
-
|
|
935
|
+
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (dark fill)', (_, _ref40) => {
|
|
936
|
+
let {
|
|
937
|
+
pivotTableOptions
|
|
938
|
+
} = _ref40;
|
|
895
939
|
const visualization = { ..._targetWithLegendVisualization.default,
|
|
896
940
|
...visualizationReset,
|
|
897
941
|
...pivotTableOptions,
|
|
@@ -916,9 +960,10 @@ ResizingPivotTable.propTypes = {
|
|
|
916
960
|
legendSets: [legendSet]
|
|
917
961
|
}));
|
|
918
962
|
});
|
|
919
|
-
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (text)', (_, {
|
|
920
|
-
|
|
921
|
-
|
|
963
|
+
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (text)', (_, _ref41) => {
|
|
964
|
+
let {
|
|
965
|
+
pivotTableOptions
|
|
966
|
+
} = _ref41;
|
|
922
967
|
const visualization = { ..._targetWithLegendVisualization.default,
|
|
923
968
|
...visualizationReset,
|
|
924
969
|
...pivotTableOptions,
|
|
@@ -938,9 +983,10 @@ ResizingPivotTable.propTypes = {
|
|
|
938
983
|
legendSets: [_underAbove100LegendSet.default]
|
|
939
984
|
}));
|
|
940
985
|
});
|
|
941
|
-
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (% row)', (_, {
|
|
942
|
-
|
|
943
|
-
|
|
986
|
+
(0, _react.storiesOf)('PivotTable', module).add('legend - fixed (% row)', (_, _ref42) => {
|
|
987
|
+
let {
|
|
988
|
+
pivotTableOptions
|
|
989
|
+
} = _ref42;
|
|
944
990
|
const visualization = { ..._targetWithLegendVisualization.default,
|
|
945
991
|
...visualizationReset,
|
|
946
992
|
...pivotTableOptions,
|
|
@@ -963,9 +1009,10 @@ ResizingPivotTable.propTypes = {
|
|
|
963
1009
|
legendSets: [_underAbove100LegendSet.default]
|
|
964
1010
|
}));
|
|
965
1011
|
});
|
|
966
|
-
(0, _react.storiesOf)('PivotTable', module).add('legend - by data item', (_, {
|
|
967
|
-
|
|
968
|
-
|
|
1012
|
+
(0, _react.storiesOf)('PivotTable', module).add('legend - by data item', (_, _ref43) => {
|
|
1013
|
+
let {
|
|
1014
|
+
pivotTableOptions
|
|
1015
|
+
} = _ref43;
|
|
969
1016
|
const visualization = { ..._targetWithLegendVisualization.default,
|
|
970
1017
|
...visualizationReset,
|
|
971
1018
|
...pivotTableOptions,
|
|
@@ -992,9 +1039,10 @@ ResizingPivotTable.propTypes = {
|
|
|
992
1039
|
legendSets: [_underAbove100LegendSet.default, customLegendSet]
|
|
993
1040
|
}));
|
|
994
1041
|
});
|
|
995
|
-
(0, _react.storiesOf)('PivotTable', module).add('hierarchy - none', (_, {
|
|
996
|
-
|
|
997
|
-
|
|
1042
|
+
(0, _react.storiesOf)('PivotTable', module).add('hierarchy - none', (_, _ref44) => {
|
|
1043
|
+
let {
|
|
1044
|
+
pivotTableOptions
|
|
1045
|
+
} = _ref44;
|
|
998
1046
|
const visualization = { ..._hierarchyVisualization.default,
|
|
999
1047
|
...visualizationReset,
|
|
1000
1048
|
...pivotTableOptions,
|
|
@@ -1014,9 +1062,10 @@ ResizingPivotTable.propTypes = {
|
|
|
1014
1062
|
visualization: visualization
|
|
1015
1063
|
}));
|
|
1016
1064
|
});
|
|
1017
|
-
(0, _react.storiesOf)('PivotTable', module).add('hierarchy - rows', (_, {
|
|
1018
|
-
|
|
1019
|
-
|
|
1065
|
+
(0, _react.storiesOf)('PivotTable', module).add('hierarchy - rows', (_, _ref45) => {
|
|
1066
|
+
let {
|
|
1067
|
+
pivotTableOptions
|
|
1068
|
+
} = _ref45;
|
|
1020
1069
|
const visualization = { ..._hierarchyVisualization.default,
|
|
1021
1070
|
...visualizationReset,
|
|
1022
1071
|
...pivotTableOptions,
|
|
@@ -1035,9 +1084,10 @@ ResizingPivotTable.propTypes = {
|
|
|
1035
1084
|
visualization: visualization
|
|
1036
1085
|
}));
|
|
1037
1086
|
});
|
|
1038
|
-
(0, _react.storiesOf)('PivotTable', module).add('hierarchy - columns', (_, {
|
|
1039
|
-
|
|
1040
|
-
|
|
1087
|
+
(0, _react.storiesOf)('PivotTable', module).add('hierarchy - columns', (_, _ref46) => {
|
|
1088
|
+
let {
|
|
1089
|
+
pivotTableOptions
|
|
1090
|
+
} = _ref46;
|
|
1041
1091
|
const visualization = { ..._hierarchyVisualization.default,
|
|
1042
1092
|
...visualizationReset,
|
|
1043
1093
|
...pivotTableOptions,
|
|
@@ -1058,9 +1108,10 @@ ResizingPivotTable.propTypes = {
|
|
|
1058
1108
|
visualization: visualization
|
|
1059
1109
|
}));
|
|
1060
1110
|
});
|
|
1061
|
-
(0, _react.storiesOf)('PivotTable', module).add('narrative', (_, {
|
|
1062
|
-
|
|
1063
|
-
|
|
1111
|
+
(0, _react.storiesOf)('PivotTable', module).add('narrative', (_, _ref47) => {
|
|
1112
|
+
let {
|
|
1113
|
+
pivotTableOptions
|
|
1114
|
+
} = _ref47;
|
|
1064
1115
|
const visualization = { ..._narrativeVisualization.default,
|
|
1065
1116
|
...visualizationReset,
|
|
1066
1117
|
...pivotTableOptions,
|
|
@@ -1077,9 +1128,10 @@ ResizingPivotTable.propTypes = {
|
|
|
1077
1128
|
visualization: visualization
|
|
1078
1129
|
}));
|
|
1079
1130
|
});
|
|
1080
|
-
(0, _react.storiesOf)('PivotTable', module).add('narrative - data as filter', (_, {
|
|
1081
|
-
|
|
1082
|
-
|
|
1131
|
+
(0, _react.storiesOf)('PivotTable', module).add('narrative - data as filter', (_, _ref48) => {
|
|
1132
|
+
let {
|
|
1133
|
+
pivotTableOptions
|
|
1134
|
+
} = _ref48;
|
|
1083
1135
|
const visualization = { ..._narrativeVisualization.default,
|
|
1084
1136
|
...visualizationReset,
|
|
1085
1137
|
...pivotTableOptions,
|
|
@@ -1101,9 +1153,10 @@ ResizingPivotTable.propTypes = {
|
|
|
1101
1153
|
visualization: visualization
|
|
1102
1154
|
}));
|
|
1103
1155
|
});
|
|
1104
|
-
(0, _react.storiesOf)('PivotTable', module).add('DEGS', (_, {
|
|
1105
|
-
|
|
1106
|
-
|
|
1156
|
+
(0, _react.storiesOf)('PivotTable', module).add('DEGS', (_, _ref49) => {
|
|
1157
|
+
let {
|
|
1158
|
+
pivotTableOptions
|
|
1159
|
+
} = _ref49;
|
|
1107
1160
|
const visualization = { ..._degsVisualization.default,
|
|
1108
1161
|
...visualizationReset,
|
|
1109
1162
|
...pivotTableOptions
|