@qrvey/utils 1.2.9-3 → 1.2.9-32
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/README.md +0 -4323
- package/dist/charts/constants/AGGREGATE_LABEL.d.ts +1 -1
- package/dist/charts/constants/AGGREGATE_LABEL.js +1 -1
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +1 -1
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +1 -1
- package/dist/cjs/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/cjs/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/columns/interfaces/IColumn.d.ts +0 -2
- package/dist/cjs/dates/constants/DATETIME_COLUMN_FORMAT.d.ts +1 -0
- package/dist/cjs/dates/constants/DATETIME_COLUMN_FORMAT.js +11 -0
- package/dist/cjs/dates/constants/index.d.ts +1 -0
- package/dist/cjs/dates/constants/index.js +1 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO.js +11 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/cjs/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +14 -0
- package/dist/cjs/dates/relative/constants/index.d.ts +2 -0
- package/dist/cjs/dates/relative/constants/index.js +2 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/cjs/{globalization/interfaces/IResourceI18n.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/cjs/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/cjs/dates/relative/interfaces/index.js +2 -0
- package/dist/cjs/filters/adapters/FDToFlatUI.js +1 -1
- package/dist/cjs/filters/adapters/FDToUI.js +2 -4
- package/dist/cjs/filters/adapters/logicToFlatUI.js +3 -3
- package/dist/cjs/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
- package/dist/cjs/filters/helpers/ui/getQrveyIdsByUIFilters.d.ts +7 -0
- package/dist/cjs/filters/helpers/ui/getQrveyIdsByUIFilters.js +24 -0
- package/dist/cjs/filters/helpers/ui/getUIValues.js +13 -7
- package/dist/cjs/filters/helpers/ui/getUpdatedUIFilters.d.ts +9 -0
- package/dist/cjs/filters/helpers/ui/getUpdatedUIFilters.js +38 -0
- package/dist/cjs/filters/helpers/ui/index.d.ts +3 -0
- package/dist/cjs/filters/helpers/ui/index.js +3 -0
- package/dist/cjs/filters/helpers/ui/transformFilterValues.d.ts +4 -0
- package/dist/cjs/filters/helpers/ui/transformFilterValues.js +22 -0
- package/dist/cjs/filters/interfaces/OLD_IFilterDetail.d.ts +4 -1
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +2 -0
- package/dist/cjs/filters/interfaces/panel/IFPSettingsGeneral.d.ts +2 -1
- package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -2
- package/dist/cjs/filters/interfaces/ui/IFUTransformFilterValuesSettings.d.ts +7 -0
- package/dist/cjs/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → filters/interfaces/ui/IFUTransformFilterValuesSettings.js} +0 -0
- package/dist/cjs/filters/interfaces/ui/index.d.ts +3 -2
- package/dist/cjs/filters/interfaces/ui/index.js +3 -2
- package/dist/cjs/format/definition.d.ts +31 -0
- package/dist/cjs/format/definition.js +33 -1
- package/dist/cjs/format/format.d.ts +2 -1
- package/dist/cjs/format/format.js +8 -5
- package/dist/cjs/format/index.d.ts +1 -0
- package/dist/cjs/format/index.js +1 -0
- package/dist/cjs/format/localization.d.ts +4 -0
- package/dist/cjs/format/localization.js +79 -0
- package/dist/cjs/globalization/helpers/getI18nCalendar.d.ts +4 -0
- package/dist/cjs/globalization/helpers/getI18nCalendar.js +69 -0
- package/dist/cjs/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/cjs/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/cjs/globalization/helpers/index.d.ts +1 -0
- package/dist/cjs/globalization/helpers/index.js +1 -0
- package/dist/cjs/globalization/interfaces/II18nConfig.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexFile.js → II18nConfig.js} +0 -0
- package/dist/cjs/globalization/interfaces/{IResourceI18n.d.ts → II18nResource.d.ts} +3 -1
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImage.js → II18nResource.js} +0 -0
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/calendar/II18nCalendar.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImageAnalysis.js → calendar/II18nCalendar.js} +0 -0
- package/dist/cjs/globalization/interfaces/calendar/II18nCalendarProperties.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexName.js → calendar/II18nCalendarProperties.js} +0 -0
- package/dist/cjs/globalization/interfaces/calendar/index.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/calendar/index.js +14 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts → cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/{II18nChartBuilderComplexText.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +13 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +5 -3
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +2 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
- package/dist/cjs/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/cjs/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/common/II18nDayNames.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/{chart_builder/II18nChartBuilderComplexUsaAddress.js → common/II18nUnits.js} +0 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/common/index.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardMessages.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.js +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterExtraInfo.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterExtraInfo.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nRelativeContainer.d.ts +5 -2
- package/dist/cjs/globalization/interfaces/filters/II18nTokenBox.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/filters/II18nTokenBox.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/filters/index.js +1 -0
- package/dist/cjs/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +2 -0
- package/dist/cjs/globalization/interfaces/index.d.ts +7 -2
- package/dist/cjs/globalization/interfaces/index.js +7 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemes.d.ts +13 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemes.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMenu.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMenu.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMessages.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesMessages.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +27 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTheme.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTooltips.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/style_themes/II18nStyleThemesTooltips.js +2 -0
- package/dist/cjs/globalization/interfaces/style_themes/index.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/style_themes/index.js +18 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
- package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +2 -2
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +2 -0
- package/dist/cjs/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +5 -2
- package/dist/cjs/globalization/labels/calendar/I18N_CALENDAR.d.ts +2 -0
- package/dist/cjs/globalization/labels/calendar/I18N_CALENDAR.js +10 -0
- package/dist/cjs/globalization/labels/calendar/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/calendar/index.js +13 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +2 -0
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +53 -74
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +22 -15
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +3 -2
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +50 -43
- package/dist/cjs/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +10 -0
- package/dist/cjs/globalization/labels/common/I18N_DAY_NAMES.js +7 -0
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +7 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +10 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/cjs/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +5 -2
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/cjs/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +5 -3
- package/dist/cjs/globalization/labels/index.d.ts +6 -3
- package/dist/cjs/globalization/labels/index.js +6 -3
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +22 -12
- package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +2 -0
- package/dist/cjs/globalization/labels/style_themes/I18N_STYLE_THEMES.js +58 -0
- package/dist/cjs/globalization/labels/style_themes/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/style_themes/index.js +13 -0
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +1 -0
- package/dist/cjs/globalization/service/i18nextBuilder.d.ts +3 -3
- package/dist/cjs/globalization/service/initI18n.d.ts +2 -2
- package/dist/cjs/interfaces/format/IFormatConfig.Interface.d.ts +5 -0
- package/dist/cjs/interfaces/format/IFormatConfig.Interface.js +2 -0
- package/dist/cjs/interfaces/format/IFormatCurrency.Interface.d.ts +4 -0
- package/dist/cjs/interfaces/format/IFormatCurrency.Interface.js +2 -0
- package/dist/cjs/interfaces/format/IFormatOutputFormat.Interface.d.ts +9 -0
- package/dist/cjs/interfaces/format/IFormatOutputFormat.Interface.js +2 -0
- package/dist/cjs/interfaces/format/index.d.ts +3 -0
- package/dist/cjs/interfaces/format/index.js +15 -0
- package/dist/cjs/interfaces/general/IGeneralWidgetConfig.d.ts +2 -0
- package/dist/cjs/interfaces/index.d.ts +1 -0
- package/dist/cjs/interfaces/index.js +1 -0
- package/dist/cjs/qrvey/helpers/getValueWithSuffixes.d.ts +9 -0
- package/dist/cjs/qrvey/helpers/getValueWithSuffixes.js +23 -0
- package/dist/cjs/qrvey/helpers/index.d.ts +2 -0
- package/dist/cjs/qrvey/helpers/index.js +2 -0
- package/dist/cjs/qrvey/helpers/transformValue.d.ts +8 -0
- package/dist/cjs/qrvey/helpers/transformValue.js +49 -0
- package/dist/cjs/qrvey/interfaces/IGetValueWithSuffixesSettings.d.ts +11 -0
- package/dist/cjs/qrvey/interfaces/IGetValueWithSuffixesSettings.js +2 -0
- package/dist/cjs/qrvey/interfaces/ITransformValueSettings.d.ts +11 -0
- package/dist/cjs/qrvey/interfaces/ITransformValueSettings.js +2 -0
- package/dist/cjs/qrvey/interfaces/index.d.ts +2 -0
- package/dist/cjs/qrvey/interfaces/index.js +2 -0
- package/dist/cjs/services/api/getAllDatasets.api.d.ts +2 -1
- package/dist/cjs/services/api/getAllDatasets.api.js +3 -3
- package/dist/cjs/services/api/getDatasetColumns.api.js +3 -1
- package/dist/columns/constants/COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.d.ts +1 -0
- package/dist/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/columns/interfaces/IColumn.d.ts +0 -2
- package/dist/dates/constants/DATETIME_COLUMN_FORMAT.d.ts +1 -0
- package/dist/dates/constants/DATETIME_COLUMN_FORMAT.js +8 -0
- package/dist/dates/constants/index.d.ts +1 -0
- package/dist/dates/constants/index.js +1 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO.js +8 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.d.ts +5 -0
- package/dist/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.js +11 -0
- package/dist/dates/relative/constants/index.d.ts +2 -0
- package/dist/dates/relative/constants/index.js +2 -0
- package/dist/dates/relative/interfaces/IRelativeUnit.d.ts +2 -0
- package/dist/{globalization/interfaces/IResourceI18n.js → dates/relative/interfaces/IRelativeUnit.js} +0 -0
- package/dist/dates/relative/interfaces/IRelativeUnitInfo.d.ts +5 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.js → dates/relative/interfaces/IRelativeUnitInfo.js} +0 -0
- package/dist/dates/relative/interfaces/index.d.ts +2 -0
- package/dist/dates/relative/interfaces/index.js +2 -0
- package/dist/filters/adapters/FDToFlatUI.js +1 -1
- package/dist/filters/adapters/FDToUI.js +2 -4
- package/dist/filters/adapters/logicToFlatUI.js +3 -3
- package/dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
- package/dist/filters/helpers/ui/getQrveyIdsByUIFilters.d.ts +7 -0
- package/dist/filters/helpers/ui/getQrveyIdsByUIFilters.js +20 -0
- package/dist/filters/helpers/ui/getUIValues.js +13 -7
- package/dist/filters/helpers/ui/getUpdatedUIFilters.d.ts +9 -0
- package/dist/filters/helpers/ui/getUpdatedUIFilters.js +34 -0
- package/dist/filters/helpers/ui/index.d.ts +3 -0
- package/dist/filters/helpers/ui/index.js +3 -0
- package/dist/filters/helpers/ui/transformFilterValues.d.ts +4 -0
- package/dist/filters/helpers/ui/transformFilterValues.js +18 -0
- package/dist/filters/interfaces/OLD_IFilterDetail.d.ts +4 -1
- package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
- package/dist/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +2 -0
- package/dist/filters/interfaces/panel/IFPSettingsGeneral.d.ts +2 -1
- package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -2
- package/dist/filters/interfaces/ui/IFUTransformFilterValuesSettings.d.ts +7 -0
- package/dist/{globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.js → filters/interfaces/ui/IFUTransformFilterValuesSettings.js} +0 -0
- package/dist/filters/interfaces/ui/index.d.ts +3 -2
- package/dist/filters/interfaces/ui/index.js +3 -2
- package/dist/format/definition.d.ts +31 -0
- package/dist/format/definition.js +32 -0
- package/dist/format/format.d.ts +2 -1
- package/dist/format/format.js +6 -3
- package/dist/format/index.d.ts +1 -0
- package/dist/format/index.js +1 -0
- package/dist/format/localization.d.ts +4 -0
- package/dist/format/localization.js +73 -0
- package/dist/globalization/helpers/getI18nCalendar.d.ts +4 -0
- package/dist/globalization/helpers/getI18nCalendar.js +65 -0
- package/dist/globalization/helpers/getI18nDateGroupLabel.js +2 -0
- package/dist/globalization/helpers/getReverseI18nGroupLabel.js +2 -0
- package/dist/globalization/helpers/index.d.ts +1 -0
- package/dist/globalization/helpers/index.js +1 -0
- package/dist/globalization/interfaces/II18nConfig.d.ts +6 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexFile.js → II18nConfig.js} +0 -0
- package/dist/globalization/interfaces/{IResourceI18n.d.ts → II18nResource.d.ts} +3 -1
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImage.js → II18nResource.js} +0 -0
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.d.ts +2 -1
- package/dist/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.d.ts +2 -0
- package/dist/globalization/interfaces/calendar/II18nCalendar.d.ts +7 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexImageAnalysis.js → calendar/II18nCalendar.js} +0 -0
- package/dist/globalization/interfaces/calendar/II18nCalendarProperties.d.ts +9 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexName.js → calendar/II18nCalendarProperties.js} +0 -0
- package/dist/globalization/interfaces/calendar/index.d.ts +2 -0
- package/dist/globalization/interfaces/calendar/index.js +2 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilder.d.ts +2 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.d.ts +19 -18
- package/dist/{cjs/globalization/interfaces/chart_builder/II18nChartBuilderChartLabes.d.ts → globalization/interfaces/chart_builder/II18nChartBuilderChartLabels.d.ts} +1 -1
- package/dist/globalization/interfaces/chart_builder/{II18nChartBuilderComplexText.js → II18nChartBuilderChartLabels.js} +0 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.d.ts +5 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.d.ts +15 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.d.ts +2 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.d.ts +16 -15
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.d.ts +13 -11
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.d.ts +5 -3
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.d.ts +16 -12
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.d.ts +1 -0
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderSorting.d.ts +3 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.d.ts +19 -16
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.d.ts +2 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.d.ts +1 -1
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.d.ts +15 -3
- package/dist/globalization/interfaces/chart_builder/index.d.ts +1 -8
- package/dist/globalization/interfaces/chart_builder/index.js +1 -8
- package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +4 -0
- package/dist/globalization/interfaces/common/II18nDayNames.d.ts +7 -0
- package/dist/globalization/interfaces/common/II18nUnits.d.ts +7 -0
- package/dist/globalization/interfaces/{chart_builder/II18nChartBuilderComplexUsaAddress.js → common/II18nUnits.js} +0 -0
- package/dist/globalization/interfaces/common/index.d.ts +2 -0
- package/dist/globalization/interfaces/common/index.js +2 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +3 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.d.ts +6 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardMessages.js +1 -0
- package/dist/globalization/interfaces/dashboard/index.d.ts +1 -0
- package/dist/globalization/interfaces/dashboard/index.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterExtraInfo.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterExtraInfo.js +1 -0
- package/dist/globalization/interfaces/filters/II18nRelativeContainer.d.ts +5 -2
- package/dist/globalization/interfaces/filters/II18nTokenBox.d.ts +6 -0
- package/dist/globalization/interfaces/filters/II18nTokenBox.js +1 -0
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +1 -0
- package/dist/globalization/interfaces/filters/index.d.ts +1 -0
- package/dist/globalization/interfaces/filters/index.js +1 -0
- package/dist/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.d.ts +2 -0
- package/dist/globalization/interfaces/index.d.ts +7 -2
- package/dist/globalization/interfaces/index.js +7 -2
- package/dist/globalization/interfaces/panel/II18nPanelSummaryViews.d.ts +21 -11
- package/dist/globalization/interfaces/style_themes/II18nStyleThemes.d.ts +13 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemes.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.d.ts +6 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMenu.d.ts +6 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMenu.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMessages.d.ts +9 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesMessages.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.d.ts +27 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTheme.js +1 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTooltips.d.ts +4 -0
- package/dist/globalization/interfaces/style_themes/II18nStyleThemesTooltips.js +1 -0
- package/dist/globalization/interfaces/style_themes/index.d.ts +6 -0
- package/dist/globalization/interfaces/style_themes/index.js +6 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +1 -0
- package/dist/globalization/labels/I18N_DEFAULT.d.ts +2 -2
- package/dist/globalization/labels/I18N_DEFAULT.js +2 -0
- package/dist/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.js +5 -2
- package/dist/globalization/labels/calendar/I18N_CALENDAR.d.ts +2 -0
- package/dist/globalization/labels/calendar/I18N_CALENDAR.js +7 -0
- package/dist/globalization/labels/calendar/index.d.ts +1 -0
- package/dist/globalization/labels/calendar/index.js +1 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.js +15 -11
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.js +2 -0
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.d.ts +1 -1
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.js +53 -74
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.js +22 -15
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.js +3 -2
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.js +50 -43
- package/dist/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.js +1 -1
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +1 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +10 -0
- package/dist/globalization/labels/common/I18N_DAY_NAMES.js +7 -0
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +7 -0
- package/dist/globalization/labels/filters/I18N_FILTER.js +10 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +3 -2
- package/dist/globalization/labels/filters/I18N_RELATIVE_CONTAINER.js +5 -2
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js +3 -2
- package/dist/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.js +5 -3
- package/dist/globalization/labels/index.d.ts +6 -3
- package/dist/globalization/labels/index.js +6 -3
- package/dist/globalization/labels/panel/I18N_PANEL.js +22 -12
- package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.d.ts +2 -0
- package/dist/globalization/labels/style_themes/I18N_STYLE_THEMES.js +55 -0
- package/dist/globalization/labels/style_themes/index.d.ts +1 -0
- package/dist/globalization/labels/style_themes/index.js +1 -0
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +1 -0
- package/dist/globalization/service/i18nextBuilder.d.ts +3 -3
- package/dist/globalization/service/initI18n.d.ts +2 -2
- package/dist/interfaces/format/IFormatConfig.Interface.d.ts +5 -0
- package/dist/interfaces/format/IFormatConfig.Interface.js +1 -0
- package/dist/interfaces/format/IFormatCurrency.Interface.d.ts +4 -0
- package/dist/interfaces/format/IFormatCurrency.Interface.js +1 -0
- package/dist/interfaces/format/IFormatOutputFormat.Interface.d.ts +9 -0
- package/dist/interfaces/format/IFormatOutputFormat.Interface.js +1 -0
- package/dist/interfaces/format/index.d.ts +3 -0
- package/dist/interfaces/format/index.js +3 -0
- package/dist/interfaces/general/IGeneralWidgetConfig.d.ts +2 -0
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/qrvey/helpers/getValueWithSuffixes.d.ts +9 -0
- package/dist/qrvey/helpers/getValueWithSuffixes.js +19 -0
- package/dist/qrvey/helpers/index.d.ts +2 -0
- package/dist/qrvey/helpers/index.js +2 -0
- package/dist/qrvey/helpers/transformValue.d.ts +8 -0
- package/dist/qrvey/helpers/transformValue.js +45 -0
- package/dist/qrvey/interfaces/IGetValueWithSuffixesSettings.d.ts +11 -0
- package/dist/qrvey/interfaces/IGetValueWithSuffixesSettings.js +1 -0
- package/dist/qrvey/interfaces/ITransformValueSettings.d.ts +11 -0
- package/dist/qrvey/interfaces/ITransformValueSettings.js +1 -0
- package/dist/qrvey/interfaces/index.d.ts +2 -0
- package/dist/qrvey/interfaces/index.js +2 -0
- package/dist/services/api/getAllDatasets.api.d.ts +2 -1
- package/dist/services/api/getAllDatasets.api.js +3 -3
- package/dist/services/api/getDatasetColumns.api.js +3 -1
- package/package.json +4 -7
- package/prepareToPublish.js +2 -1
- package/src/charts/constants/AGGREGATE_LABEL.ts +1 -1
- package/src/columns/constants/COMPLEX_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/columns/interfaces/IColumn.ts +0 -2
- package/src/dates/constants/DATETIME_COLUMN_FORMAT.ts +8 -0
- package/src/dates/constants/index.ts +1 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO.ts +11 -0
- package/src/dates/relative/constants/RELATIVE_UNIT_INFO_LIST.ts +13 -0
- package/src/dates/relative/constants/index.ts +2 -0
- package/src/dates/relative/interfaces/IRelativeUnit.ts +3 -0
- package/src/dates/relative/interfaces/IRelativeUnitInfo.ts +7 -0
- package/src/dates/relative/interfaces/index.ts +2 -0
- package/src/filters/adapters/FDToFlatUI.ts +1 -1
- package/src/filters/adapters/FDToUI.ts +2 -3
- package/src/filters/adapters/logicToFlatUI.ts +1 -1
- package/src/filters/helpers/builder/getFilterBuilderGeneralConfig.ts +1 -0
- package/src/filters/helpers/ui/getQrveyIdsByUIFilters.ts +22 -0
- package/src/filters/helpers/ui/getUIValues.ts +14 -9
- package/src/filters/helpers/ui/getUpdatedUIFilters.ts +36 -0
- package/src/filters/helpers/ui/index.ts +3 -0
- package/src/filters/helpers/ui/transformFilterValues.ts +29 -0
- package/src/filters/interfaces/OLD_IFilterDetail.ts +2 -1
- package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +0 -2
- package/src/filters/interfaces/builder/IFilterBuilderGeneralConfig.ts +4 -1
- package/src/filters/interfaces/panel/IFPSettingsGeneral.ts +2 -1
- package/src/filters/interfaces/panel/IFilterPanelConfig.ts +2 -2
- package/src/filters/interfaces/ui/IFUTransformFilterValuesSettings.ts +8 -0
- package/src/filters/interfaces/ui/index.ts +3 -2
- package/src/format/definition.ts +50 -0
- package/src/format/format.ts +19 -15
- package/src/format/index.ts +1 -0
- package/src/format/localization.ts +75 -0
- package/src/globalization/helpers/getI18nCalendar.ts +68 -0
- package/src/globalization/helpers/getI18nDateGroupLabel.ts +2 -0
- package/src/globalization/helpers/getReverseI18nGroupLabel.ts +2 -0
- package/src/globalization/helpers/index.ts +1 -0
- package/src/globalization/interfaces/II18nConfig.ts +7 -0
- package/src/globalization/interfaces/{IResourceI18n.ts → II18nResource.ts} +3 -1
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderMessages.ts +2 -1
- package/src/globalization/interfaces/bucket_builder/II18nBucketBuilderModalBucket.ts +2 -0
- package/src/globalization/interfaces/calendar/II18nCalendar.ts +7 -0
- package/src/globalization/interfaces/calendar/II18nCalendarProperties.ts +9 -0
- package/src/globalization/interfaces/calendar/index.ts +2 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilder.ts +2 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderAxisStyle.ts +19 -18
- package/src/globalization/interfaces/chart_builder/{II18nChartBuilderChartLabes.ts → II18nChartBuilderChartLabels.ts} +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderColorSettings.ts +5 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComparisionOptions.ts +15 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderConditionalFormatting.ts +2 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDataPanel.ts +16 -15
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderDimensions.ts +13 -11
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderFontOptions.ts +5 -3
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderGeneralOptions.ts +16 -12
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderRefernceLine.ts +1 -0
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderSorting.ts +3 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderStyleOptions.ts +19 -16
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTableCalculation.ts +2 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTooltipSettings.ts +1 -1
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderTrendChart.ts +15 -3
- package/src/globalization/interfaces/chart_builder/index.ts +1 -8
- package/src/globalization/interfaces/common/II18nColumnProperties.ts +1 -0
- package/src/globalization/interfaces/common/II18nCommon.ts +4 -0
- package/src/globalization/interfaces/common/II18nDayNames.ts +8 -0
- package/src/globalization/interfaces/common/II18nUnits.ts +7 -0
- package/src/globalization/interfaces/common/index.ts +3 -0
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +3 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardMessages.ts +6 -0
- package/src/globalization/interfaces/dashboard/index.ts +1 -0
- package/src/globalization/interfaces/filters/II18nFilter.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +1 -0
- package/src/globalization/interfaces/filters/II18nFilterExtraInfo.ts +4 -0
- package/src/globalization/interfaces/filters/II18nRelativeContainer.ts +5 -2
- package/src/globalization/interfaces/filters/II18nTokenBox.ts +6 -0
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +1 -0
- package/src/globalization/interfaces/filters/index.ts +1 -0
- package/src/globalization/interfaces/formula_builder/II18nFormulaBuilderListModal.ts +3 -1
- package/src/globalization/interfaces/index.ts +7 -2
- package/src/globalization/interfaces/panel/II18nPanelSummaryViews.ts +21 -11
- package/src/globalization/interfaces/style_themes/II18nStyleThemes.ts +14 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesDeleteDialog.ts +6 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesMenu.ts +6 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesMessages.ts +9 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesTheme.ts +27 -0
- package/src/globalization/interfaces/style_themes/II18nStyleThemesTooltips.ts +4 -0
- package/src/globalization/interfaces/style_themes/index.ts +6 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +1 -0
- package/src/globalization/labels/I18N_DEFAULT.ts +4 -2
- package/src/globalization/labels/bucket_builder/I18N_BUCKET_BUILDER.ts +5 -2
- package/src/globalization/labels/calendar/I18N_CALENDAR.ts +9 -0
- package/src/globalization/labels/calendar/index.ts +1 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_COMPARISION_OPTIONS.ts +15 -11
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_FORMAT_OPTIONS.ts +2 -0
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL.ts +55 -78
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_GENERAL_OPTIONS.ts +23 -17
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_LAYER_OPTIONS.ts +3 -2
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_STYLE_OPTIONS.ts +51 -44
- package/src/globalization/labels/chart_builder/I18N_CHART_BUILDER_TIME_PERIOD.ts +1 -1
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +1 -0
- package/src/globalization/labels/common/I18N_COMMON.ts +10 -0
- package/src/globalization/labels/common/I18N_DAY_NAMES.ts +8 -0
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +7 -0
- package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +3 -2
- package/src/globalization/labels/filters/I18N_RELATIVE_CONTAINER.ts +5 -2
- package/src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts +3 -2
- package/src/globalization/labels/formula_builder/I18N_FORMULA_BUILDER.ts +5 -3
- package/src/globalization/labels/index.ts +6 -3
- package/src/globalization/labels/panel/I18N_PANEL.ts +22 -12
- package/src/globalization/labels/style_themes/I18N_STYLE_THEMES.ts +57 -0
- package/src/globalization/labels/style_themes/index.ts +1 -0
- package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +1 -0
- package/src/globalization/service/i18nextBuilder.ts +4 -4
- package/src/globalization/service/initI18n.ts +3 -3
- package/src/interfaces/format/IFormatConfig.Interface.ts +5 -0
- package/src/interfaces/format/IFormatCurrency.Interface.ts +4 -0
- package/src/interfaces/format/IFormatOutputFormat.Interface.ts +10 -0
- package/src/interfaces/format/index.ts +3 -0
- package/src/interfaces/general/IGeneralWidgetConfig.ts +2 -0
- package/src/interfaces/index.ts +1 -0
- package/src/qrvey/helpers/getValueWithSuffixes.ts +19 -0
- package/src/qrvey/helpers/index.ts +2 -0
- package/src/qrvey/helpers/transformValue.ts +49 -0
- package/src/qrvey/interfaces/IGetValueWithSuffixesSettings.ts +12 -0
- package/src/qrvey/interfaces/ITransformValueSettings.ts +13 -0
- package/src/qrvey/interfaces/index.ts +2 -0
- package/src/services/api/getAllDatasets.api.ts +4 -3
- package/src/services/api/getDatasetColumns.api.ts +3 -1
- package/test/columns/isNumericalColumn.test.js +154 -0
- package/test/format.test.js +11 -11
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.d.ts +0 -5
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.d.ts +0 -4
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.d.ts +0 -6
- package/dist/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.d.ts +0 -5
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexAddress.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexFile.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImage.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexImageAnalysis.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexName.ts +0 -4
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexText.ts +0 -6
- package/src/globalization/interfaces/chart_builder/II18nChartBuilderComplexUsaAddress.ts +0 -6
|
@@ -6,40 +6,44 @@ type StyleOptions = 'style_options' | 'color_settings' | 'color_by_values' | 'ch
|
|
|
6
6
|
| 'custom_scale' | 'gaps_options' | 'base_map' | 'map_region' | 'table_style_options';
|
|
7
7
|
export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOptions> = {
|
|
8
8
|
style_options: {
|
|
9
|
+
allow_clustering: 'Allow Clustering',
|
|
9
10
|
axis_labels: 'Axis Labels',
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
axis_position_disabled_message: '<i>Axis Position</i> is disabled because stacked type configuration is in use.',
|
|
12
|
+
bar_type_disabled_message: 'Bar <i>Type</i> selection is disabled because not all of the column visualization styles are set as bars.',
|
|
12
13
|
bar_width: 'Bar Width',
|
|
13
14
|
bar_width_symbol: '%',
|
|
14
15
|
bar_width_auto: 'Auto',
|
|
15
|
-
|
|
16
|
+
bullet_color: 'Bullet Color',
|
|
16
17
|
borders_check: 'Borders',
|
|
17
|
-
|
|
18
|
-
values_check: 'Values',
|
|
19
|
-
percentage_check: 'Percentage',
|
|
20
|
-
line_opacity: 'Line Opacity',
|
|
21
|
-
threshold_opacity: 'Threshold Opacity',
|
|
22
|
-
symbol_opacity: 'Symbol Opacity',
|
|
23
|
-
show_animation_check: 'Show Animation',
|
|
24
|
-
needle_color: 'Needle Color',
|
|
25
|
-
show_comparision_check: 'Show Comparison',
|
|
18
|
+
chart_type_disabled_message: '<i>Type</i> selection is disabled because stacked type configuration is in use.',
|
|
26
19
|
comparision_color: 'Comparision Color',
|
|
27
|
-
|
|
20
|
+
data_labels_check: 'Data Labels',
|
|
28
21
|
default_format_title: 'Format',
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
display_outliers_check: 'Display Outliers',
|
|
23
|
+
line_opacity: 'Line Opacity',
|
|
24
|
+
map_borders: 'Map Borders',
|
|
25
|
+
needle_color: 'Needle Color',
|
|
33
26
|
opacity: 'Opacity',
|
|
27
|
+
percentage_check: 'Percentage',
|
|
28
|
+
reversed_colors: 'Reversed Colors',
|
|
29
|
+
shading_check: 'Shading',
|
|
30
|
+
symbol_opacity: 'Symbol Opacity',
|
|
31
|
+
show_animation_check: 'Show Animation',
|
|
32
|
+
show_comparison_check: 'Show Comparison',
|
|
33
|
+
threshold_opacity: 'Threshold Opacity',
|
|
34
|
+
values_check: 'Values',
|
|
35
|
+
x_axis_title: 'X - Axis',
|
|
36
|
+
y_axis_title: 'Y - Axis',
|
|
34
37
|
},
|
|
35
38
|
color_settings: {
|
|
36
|
-
select_color_type: 'Color type',
|
|
37
|
-
single_color: 'Single color',
|
|
38
39
|
color_by_category: 'By category',
|
|
39
|
-
select_color: 'Color',
|
|
40
|
-
select_theme: 'Theme',
|
|
41
40
|
color_by_value_title: 'Color by value',
|
|
42
41
|
match_color: 'Match colors across charts',
|
|
42
|
+
select_color: 'Color',
|
|
43
|
+
select_color_type: 'Color type',
|
|
44
|
+
select_color_type_placeholder: 'Select color type',
|
|
45
|
+
select_theme: 'Theme',
|
|
46
|
+
single_color: 'Single color',
|
|
43
47
|
},
|
|
44
48
|
color_by_values: {
|
|
45
49
|
title: 'Color by values',
|
|
@@ -60,32 +64,33 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
60
64
|
horizontal: 'Horizontal',
|
|
61
65
|
},
|
|
62
66
|
axis_style: {
|
|
63
|
-
|
|
67
|
+
axis_format_title: 'Axis Format',
|
|
68
|
+
axis_position: 'Axis Position',
|
|
69
|
+
axis_position_left: 'Left',
|
|
70
|
+
axis_position_primary_axis: 'Use Primary Axis',
|
|
71
|
+
axis_position_right: 'Right',
|
|
64
72
|
custom_axis_label: 'Axis Label',
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
values_axis_check: 'Axis Values',
|
|
68
|
-
values_rotation: 'Values Rotation',
|
|
69
|
-
values_rotation_horizontal: 'Horizontal',
|
|
70
|
-
values_rotation_diagonal: 'Diagonal',
|
|
71
|
-
values_rotation_vertical: 'Vertical',
|
|
73
|
+
custom_label: 'Label',
|
|
74
|
+
custom_label_placeholder: 'Custom label',
|
|
72
75
|
format_title: 'Format',
|
|
73
|
-
|
|
76
|
+
max_range: 'Max Range',
|
|
77
|
+
max_range_placeholder: 'Auto',
|
|
78
|
+
min_range: 'Min Range',
|
|
79
|
+
min_range_placeholder: 'Auto',
|
|
80
|
+
position: 'Position',
|
|
74
81
|
scale_type: 'Scale Type',
|
|
75
82
|
scale_type_linear: 'Linear',
|
|
76
83
|
scale_type_logarithm: 'Logarithm',
|
|
77
|
-
|
|
78
|
-
min_range_placeholder: 'Auto',
|
|
79
|
-
max_range: 'Max Range',
|
|
80
|
-
max_range_placeholder: 'Auto',
|
|
84
|
+
scale_type_placeholder: 'Select color type',
|
|
81
85
|
steps: 'Steps',
|
|
82
86
|
steps_placeholder: 'Auto',
|
|
83
|
-
position: 'Position',
|
|
84
|
-
axis_position: 'Axis Position',
|
|
85
|
-
axis_position_primari_axis: 'Use Primary Axis',
|
|
86
|
-
axis_position_left: 'Left',
|
|
87
|
-
axis_position_right: 'Right',
|
|
88
87
|
type_label: 'Type',
|
|
88
|
+
values_axis_check: 'Axis Values',
|
|
89
|
+
values_check: 'Values',
|
|
90
|
+
values_rotation: 'Values Rotation',
|
|
91
|
+
values_rotation_diagonal: 'Diagonal',
|
|
92
|
+
values_rotation_horizontal: 'Horizontal',
|
|
93
|
+
values_rotation_vertical: 'Vertical',
|
|
89
94
|
},
|
|
90
95
|
bar_types: {
|
|
91
96
|
title: 'Type',
|
|
@@ -109,7 +114,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
109
114
|
thickness_thin: 'Thin',
|
|
110
115
|
thickness_normal: 'Normal',
|
|
111
116
|
thickness_bold: 'Bold',
|
|
112
|
-
styles_title: '
|
|
117
|
+
styles_title: 'Line Style',
|
|
113
118
|
styles_solid: 'Solid',
|
|
114
119
|
styles_dashed: 'Dashed',
|
|
115
120
|
styles_dotted: 'Dotted',
|
|
@@ -151,13 +156,15 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
151
156
|
names_rotation: 'Names Rotation',
|
|
152
157
|
},
|
|
153
158
|
font_options: {
|
|
159
|
+
automatic_resize: 'Automatic Resize',
|
|
154
160
|
color: 'Font Color',
|
|
161
|
+
disabled: '<i>Automatic Resize</i> is active, disable it to set the size manually.',
|
|
162
|
+
select_option_placeholder: 'Select Option',
|
|
163
|
+
size: 'Font Size',
|
|
155
164
|
style: 'Font Style',
|
|
156
|
-
style_regular: 'Regular',
|
|
157
165
|
style_bold: 'Bold',
|
|
158
166
|
style_italic: 'Italic',
|
|
159
|
-
|
|
160
|
-
size: 'Font Size',
|
|
167
|
+
style_regular: 'Regular',
|
|
161
168
|
},
|
|
162
169
|
circle_size: {
|
|
163
170
|
title: 'Circle Size',
|
|
@@ -181,7 +188,7 @@ export const I18N_CHART_BUILDER_STYLE_OPTIONS: Pick<II18nChartBuilder, StyleOpti
|
|
|
181
188
|
target_value: 'Target Value'
|
|
182
189
|
},
|
|
183
190
|
table_style_options: {
|
|
184
|
-
typeface: 'Typeface',
|
|
191
|
+
typeface: 'Typeface',
|
|
185
192
|
weight: 'Weight',
|
|
186
193
|
weight_bold: 'Bold',
|
|
187
194
|
weight_normal: 'normal',
|
|
@@ -39,6 +39,7 @@ export const I18N_COLUMN_PROPERTY_LABEL: II18nColumnProperties = {
|
|
|
39
39
|
imageupload_filesize_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGESIZE,
|
|
40
40
|
imageupload_filetype_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGETYPE,
|
|
41
41
|
imageupload_analysis_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGEWORDS,
|
|
42
|
+
imageupload_analysis_categories_label: COLUMN_PROPERTY_LABEL.IMAGEUPLOAD_IMAGECATEGORY,
|
|
42
43
|
expression_positive_label: COLUMN_PROPERTY_LABEL.EXPRESSION_POSITIVE,
|
|
43
44
|
expression_negative_label: COLUMN_PROPERTY_LABEL.EXPRESSION_NEGATIVE,
|
|
44
45
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { RELATIVE_UNIT_INFO } from "../../../dates/relative/constants/RELATIVE_UNIT_INFO";
|
|
1
2
|
import { II18nCommon } from "../../interfaces/common/II18nCommon";
|
|
3
|
+
import { I18N_CALENDAR } from "../calendar";
|
|
2
4
|
import { I18N_AGGREGATE_LABEL } from "./I18N_AGGREGATE_LABEL";
|
|
3
5
|
import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
|
|
4
6
|
import { I18N_COLUMN_PROPERTY_LABEL } from "./I18N_COLUMN_PROPERTY_LABEL";
|
|
@@ -7,6 +9,7 @@ import { I18N_DAY_NAMES } from "./I18N_DAY_NAMES";
|
|
|
7
9
|
|
|
8
10
|
export const I18N_COMMON: II18nCommon = {
|
|
9
11
|
aggregate_labels: I18N_AGGREGATE_LABEL,
|
|
12
|
+
calendar: I18N_CALENDAR,
|
|
10
13
|
column_types: I18N_COLUMN_LABEL,
|
|
11
14
|
column_types_suffixes: {
|
|
12
15
|
slidebar_one: 'Step',
|
|
@@ -19,4 +22,11 @@ export const I18N_COMMON: II18nCommon = {
|
|
|
19
22
|
no_data_found: "No Data Found",
|
|
20
23
|
properties: I18N_COLUMN_PROPERTY_LABEL,
|
|
21
24
|
search: "Search",
|
|
25
|
+
units: {
|
|
26
|
+
day: RELATIVE_UNIT_INFO.DAY.label,
|
|
27
|
+
month: RELATIVE_UNIT_INFO.MONTH.label,
|
|
28
|
+
quarter: RELATIVE_UNIT_INFO.QUARTER.label,
|
|
29
|
+
week: RELATIVE_UNIT_INFO.WEEK.label,
|
|
30
|
+
year: RELATIVE_UNIT_INFO.YEAR.label,
|
|
31
|
+
}
|
|
22
32
|
};
|
|
@@ -4,6 +4,14 @@ import { capitalize } from "../../../general/string/capitalize";
|
|
|
4
4
|
import { II18nDayNames } from "../../interfaces/common/II18nDayNames";
|
|
5
5
|
|
|
6
6
|
export const I18N_DAY_NAMES: II18nDayNames = {
|
|
7
|
+
sunday_dd: capitalize(DATE_WEEK_DAYS[0].substring(0, 2)),
|
|
8
|
+
monday_dd: capitalize(DATE_WEEK_DAYS[1].substring(0, 2)),
|
|
9
|
+
tuesday_dd: capitalize(DATE_WEEK_DAYS[2].substring(0, 2)),
|
|
10
|
+
wednesday_dd: capitalize(DATE_WEEK_DAYS[3].substring(0, 2)),
|
|
11
|
+
thursday_dd: capitalize(DATE_WEEK_DAYS[4].substring(0, 2)),
|
|
12
|
+
friday_dd: capitalize(DATE_WEEK_DAYS[5].substring(0, 2)),
|
|
13
|
+
saturday_dd: capitalize(DATE_WEEK_DAYS[6].substring(0, 2)),
|
|
14
|
+
|
|
7
15
|
sunday_ddd: capitalize(DATE_WEEK_DAYS[0]),
|
|
8
16
|
monday_ddd: capitalize(DATE_WEEK_DAYS[1]),
|
|
9
17
|
tuesday_ddd: capitalize(DATE_WEEK_DAYS[2]),
|
|
@@ -13,6 +13,13 @@ export const I18N_DASHBOARD: II18nDashboard = {
|
|
|
13
13
|
learn_more: 'Learn more',
|
|
14
14
|
},
|
|
15
15
|
export_csv: "Export to CSV",
|
|
16
|
+
messages: {
|
|
17
|
+
dataset_not_available: "Dataset not available at the moment.",
|
|
18
|
+
dataset_not_found: "Dataset not found.",
|
|
19
|
+
server_error: "Server Error.",
|
|
20
|
+
try_again: "Try Again",
|
|
21
|
+
},
|
|
22
|
+
no_record_found: 'No Records Found',
|
|
16
23
|
toast: {
|
|
17
24
|
add_record_message: 'Record Successfully Added.',
|
|
18
25
|
data_views_updated_message: 'Data views updated successfully.',
|
|
@@ -13,6 +13,10 @@ export const I18N_FILTER: II18nFilter = {
|
|
|
13
13
|
absolute: FILTER_DATE_SECTION_LABEL.ABSOLUTE,
|
|
14
14
|
relative: FILTER_DATE_SECTION_LABEL.RELATIVE,
|
|
15
15
|
},
|
|
16
|
+
extra_info: {
|
|
17
|
+
date_picker_tooltip: 'Created with date picker',
|
|
18
|
+
input_box_tooltip: 'Input Box Filter',
|
|
19
|
+
},
|
|
16
20
|
operators: I18N_FILTER_OPERATOR,
|
|
17
21
|
ranking_container: I18N_RANKING_CONTAINER,
|
|
18
22
|
relative_container: I18N_RELATIVE_CONTAINER,
|
|
@@ -28,6 +32,12 @@ export const I18N_FILTER: II18nFilter = {
|
|
|
28
32
|
},
|
|
29
33
|
scopes: I18N_FILTER_SCOPE,
|
|
30
34
|
slidebar: I18N_SLIDEBAR,
|
|
35
|
+
token_box: {
|
|
36
|
+
data_tokens: 'DataTokens',
|
|
37
|
+
search: 'Search',
|
|
38
|
+
system_tokens: 'SystemTokens',
|
|
39
|
+
user_tokens: 'UserTokens',
|
|
40
|
+
},
|
|
31
41
|
validators: I18N_FILTER_VALIDATOR,
|
|
32
42
|
value_container: I18N_VALUE_CONTAINER,
|
|
33
43
|
};
|
|
@@ -6,8 +6,9 @@ export const I18N_FILTER_BUILDER: II18nFilterBuilder = {
|
|
|
6
6
|
apply_to: 'Apply to',
|
|
7
7
|
cancel_button: 'Cancel',
|
|
8
8
|
column_selector: {
|
|
9
|
-
|
|
9
|
+
no_data_message: 'No Data Found',
|
|
10
10
|
placeholder: 'Search or select a column to create filters',
|
|
11
|
+
title: 'Column',
|
|
11
12
|
},
|
|
12
13
|
divider_label: 'Is',
|
|
13
14
|
error_messages: {
|
|
@@ -26,8 +27,8 @@ export const I18N_FILTER_BUILDER: II18nFilterBuilder = {
|
|
|
26
27
|
},
|
|
27
28
|
info_container: {
|
|
28
29
|
info: '<b>OR</b> logic is used for multiple values.',
|
|
29
|
-
selected_label: 'selected of',
|
|
30
30
|
loaded_label: 'loaded',
|
|
31
|
+
selected_label: 'selected of',
|
|
31
32
|
},
|
|
32
33
|
scopes: {
|
|
33
34
|
global: FILTER_BUILDER_SCOPE_LABEL.GLOBAL,
|
|
@@ -2,11 +2,14 @@ import { II18nRelativeContainer } from "../../interfaces/filters/II18nRelativeCo
|
|
|
2
2
|
import { I18N_RELATIVE_CURSOR } from "./I18N_RELATIVE_CURSOR";
|
|
3
3
|
|
|
4
4
|
export const I18N_RELATIVE_CONTAINER: II18nRelativeContainer = {
|
|
5
|
-
cursors: I18N_RELATIVE_CURSOR,
|
|
6
5
|
calendar_date: 'Calendar dates',
|
|
7
6
|
calendar_date_tooltip: 'The relative date range selected refers to the entire calendar entity (a whole week, month, year, etc.). <br/> Unchecking this option, the relative date range selected will be a rolling date.',
|
|
7
|
+
current_date: 'Current Date',
|
|
8
|
+
cursors: I18N_RELATIVE_CURSOR,
|
|
9
|
+
date_selected: 'Date Selected',
|
|
10
|
+
from_label: 'from',
|
|
8
11
|
starting_date: 'Include starting date',
|
|
9
12
|
starting_date_tooltip: 'The relative date will include the specific starting date and a period of time to show from that date onwards (Inclusive range). <br/> Unchecking this option will exclude the chosen starting date (exclusive range) from the date range.',
|
|
10
13
|
starting_from: 'Starting From',
|
|
11
|
-
|
|
14
|
+
set_current_date: 'Set to current date',
|
|
12
15
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { II18nValueContainer } from "../../interfaces/filters/II18nValueContainer";
|
|
2
2
|
|
|
3
3
|
export const I18N_VALUE_CONTAINER: II18nValueContainer = {
|
|
4
|
+
no_label: 'No Label',
|
|
5
|
+
no_records_message: 'No records found',
|
|
4
6
|
search_input: {
|
|
5
|
-
placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
|
|
6
7
|
enter_value_first_label: "Press",
|
|
7
8
|
enter_value_second_label: "Enter",
|
|
8
9
|
enter_value_third_label: "to Insert",
|
|
10
|
+
placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
|
|
9
11
|
},
|
|
10
|
-
no_label: 'No Label',
|
|
11
12
|
select_all: 'Select All',
|
|
12
13
|
};
|
|
@@ -4,7 +4,9 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
4
4
|
list_modal: {
|
|
5
5
|
title_header: 'Formulas',
|
|
6
6
|
create_button: 'Create Formula',
|
|
7
|
-
empty_message: 'No Formulas Yet'
|
|
7
|
+
empty_message: 'No Formulas Yet',
|
|
8
|
+
information_text_link: 'Learn how to',
|
|
9
|
+
information_text_text: 'create and work with formulas',
|
|
8
10
|
},
|
|
9
11
|
list_table: {
|
|
10
12
|
name: 'Formula Name',
|
|
@@ -38,7 +40,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
38
40
|
test: 'Test',
|
|
39
41
|
clear: 'Clear',
|
|
40
42
|
insert_function: 'Insert Functions',
|
|
41
|
-
insert_column: '
|
|
43
|
+
insert_column: 'Insert Columns',
|
|
42
44
|
search_function: 'Search',
|
|
43
45
|
search_column: 'Search',
|
|
44
46
|
box_function_empty: 'No Function Selected',
|
|
@@ -57,7 +59,7 @@ export const I18N_FORMULA_BUILDER: II18nFormulaBuilder = {
|
|
|
57
59
|
numeric: 'Numeric',
|
|
58
60
|
string: 'String/Text',
|
|
59
61
|
date: 'Date/Time',
|
|
60
|
-
aggregate: '
|
|
62
|
+
aggregate: 'Aggregates'
|
|
61
63
|
},
|
|
62
64
|
function_is_null: {
|
|
63
65
|
description: 'Replaces NULL with the specified replacement value.',
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
export * from './bucket_builder';
|
|
2
|
+
export * from './calendar';
|
|
3
|
+
export * from './chart_builder';
|
|
1
4
|
export * from './columns';
|
|
2
5
|
export * from './common';
|
|
6
|
+
export * from './cross_tabs';
|
|
3
7
|
export * from './dashboard';
|
|
4
8
|
export * from './filters';
|
|
9
|
+
export * from './formula_builder';
|
|
5
10
|
export * from './panel';
|
|
11
|
+
export * from './style_themes';
|
|
6
12
|
export * from './table_charts';
|
|
7
13
|
export * from './I18N_DEFAULT';
|
|
8
|
-
export * from './formula_builder';
|
|
9
|
-
export * from './bucket_builder';
|
|
10
|
-
export * from './chart_builder';
|
|
@@ -23,7 +23,7 @@ export const I18N_PANEL: II18nPanel = {
|
|
|
23
23
|
missing_linked_column: 'Missing linked column.',
|
|
24
24
|
no_data_found: 'No data found.',
|
|
25
25
|
refresh_panel: 'Refresh panel',
|
|
26
|
-
server_error: '
|
|
26
|
+
server_error: 'Server Error.',
|
|
27
27
|
restore_panel: 'Restore panel',
|
|
28
28
|
service_unavailable: '{{panel}} not available at the moment.',
|
|
29
29
|
try_again: 'Try Again',
|
|
@@ -84,22 +84,32 @@ export const I18N_PANEL: II18nPanel = {
|
|
|
84
84
|
},
|
|
85
85
|
summary_views: {
|
|
86
86
|
bar_chart: 'Bar Chart',
|
|
87
|
-
metrics: 'Metrics',
|
|
88
|
-
list_view: 'List View',
|
|
89
|
-
fill_null: 'Fill / Null',
|
|
90
|
-
wordcloud: 'Wordcloud',
|
|
91
|
-
histogram: 'Histogram',
|
|
92
|
-
pie_chart: 'Pie Chart',
|
|
93
|
-
dot_map: 'Dot Map',
|
|
94
|
-
bubble_view: 'Bubble',
|
|
95
87
|
bubble_map: 'Bubble Map',
|
|
88
|
+
bubble_view: 'Bubble',
|
|
89
|
+
categories: 'Categories',
|
|
90
|
+
cluster_chart: 'Cluster Chart',
|
|
91
|
+
dot_map: 'Dot Map',
|
|
96
92
|
entities: 'Entities',
|
|
93
|
+
fill_null: 'Fill / Null',
|
|
94
|
+
histogram: 'Histogram',
|
|
97
95
|
keyphrases: 'Keyphrases',
|
|
96
|
+
list_view: 'List View',
|
|
97
|
+
metric_filled_in: 'Filled in',
|
|
98
|
+
metric_label_average: 'Average',
|
|
99
|
+
metric_label_count: 'Count',
|
|
100
|
+
metric_label_maximum: 'Maximum',
|
|
101
|
+
metric_label_minimum: 'Minimum',
|
|
102
|
+
metric_label_standar_desviation: 'Standard Deviation',
|
|
103
|
+
metric_label_sum: 'Sum',
|
|
104
|
+
metric_null: 'Null',
|
|
105
|
+
metrics: 'Metrics',
|
|
106
|
+
multiseries: 'Multiseries',
|
|
107
|
+
no_data_found_for_this_field: 'No data found for this field',
|
|
108
|
+
pie_chart: 'Pie Chart',
|
|
109
|
+
restore_panel: 'Restore panel',
|
|
98
110
|
sentiment: 'Sentiment',
|
|
99
111
|
starts: 'Stars',
|
|
100
|
-
|
|
101
|
-
multiseries: 'Multiseries',
|
|
102
|
-
cluster_chart: 'Cluster Chart',
|
|
112
|
+
wordcloud: 'Wordcloud',
|
|
103
113
|
},
|
|
104
114
|
timeout_message: 'Calculating {{type}}. This process may take a while.',
|
|
105
115
|
tooltips: {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { II18nStyleThemes } from "../../interfaces/style_themes/II18nStyleThemes";
|
|
2
|
+
|
|
3
|
+
export const I18N_STYLE_THEMES: II18nStyleThemes = {
|
|
4
|
+
delete_dialog: {
|
|
5
|
+
no: 'No',
|
|
6
|
+
theme_in_use: 'This theme is in use. If you delete it the visualizations will reset to the default theme.',
|
|
7
|
+
want_to_continue: 'Are you sure you want to continue?',
|
|
8
|
+
yes: 'Yes',
|
|
9
|
+
},
|
|
10
|
+
menu: {
|
|
11
|
+
delete: 'Delete',
|
|
12
|
+
duplicate: 'Duplicate',
|
|
13
|
+
edit: 'Edit',
|
|
14
|
+
use_all: 'Use in all applications',
|
|
15
|
+
},
|
|
16
|
+
messages: {
|
|
17
|
+
theme_could_not_be_created: 'Theme could not be created.',
|
|
18
|
+
theme_could_not_be_deleted: 'Theme could not be deleted.',
|
|
19
|
+
theme_could_not_be_duplicated: 'Theme could not be duplicated.',
|
|
20
|
+
theme_could_not_be_saved: 'Theme could not be saved.',
|
|
21
|
+
theme_could_not_be_selected: 'Theme could not be selected.',
|
|
22
|
+
theme_could_not_be_used_in_all_applications: 'Theme could not be used in all applications.',
|
|
23
|
+
themes_could_not_be_loaded: 'Themes could not be loaded.',
|
|
24
|
+
},
|
|
25
|
+
theme: {
|
|
26
|
+
axis_data_labels: 'Axis and Data Labels',
|
|
27
|
+
cancel_theme: 'Cancel',
|
|
28
|
+
chart_titles_color: 'Chart Titles Color',
|
|
29
|
+
copy: 'Copy',
|
|
30
|
+
create_theme: 'Create New Theme',
|
|
31
|
+
data_styles: 'Data Styles',
|
|
32
|
+
data_visualization: 'Data Visualization',
|
|
33
|
+
edit_theme: 'Edit Theme',
|
|
34
|
+
generate_new: 'Generate New',
|
|
35
|
+
header_font_color: 'Header Font Color',
|
|
36
|
+
id: 'ID',
|
|
37
|
+
legends: 'Legends',
|
|
38
|
+
main_color: 'Main Color',
|
|
39
|
+
name_placeholder: 'Type name',
|
|
40
|
+
panel_styles: 'Panel Styles',
|
|
41
|
+
qrvey_theme: 'Qrvey Theme',
|
|
42
|
+
restore_to_default: 'Restore to Default',
|
|
43
|
+
save_theme: 'Save Theme',
|
|
44
|
+
table_header_styles: 'Table Header Styles',
|
|
45
|
+
text_styles: 'Text Styles',
|
|
46
|
+
tooltips: 'Tooltips',
|
|
47
|
+
typeface: 'Typeface',
|
|
48
|
+
untitled_theme: 'Untitled',
|
|
49
|
+
use_theme_in_all_apps: 'Use Theme in All Apps',
|
|
50
|
+
values: 'Values',
|
|
51
|
+
},
|
|
52
|
+
title: 'Style Themes',
|
|
53
|
+
tooltips: {
|
|
54
|
+
theme_used_in_all_applications: 'This theme is being used in all applications',
|
|
55
|
+
theme_will_be_used_in_all_applications: 'This theme will be used in all applications'
|
|
56
|
+
}
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_STYLE_THEMES';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IResourceI18n } from "../interfaces";
|
|
2
1
|
import i18next from 'i18next';
|
|
3
2
|
import { mergeDeep } from "../../general/object/mergeDeep";
|
|
3
|
+
import { II18nResource } from '../interfaces/II18nResource';
|
|
4
4
|
import { II18nServiceTranslateOption } from "../interfaces/II18nServiceTranslateOption";
|
|
5
5
|
|
|
6
6
|
export class I18nServiceBuilder {
|
|
7
7
|
|
|
8
|
-
public static async buildI18n(i18nDefault:
|
|
8
|
+
public static async buildI18n(i18nDefault: II18nResource, i18nResource: II18nResource): Promise<I18nService> {
|
|
9
9
|
return await this._initI18n(i18nDefault, i18nResource);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
private static async _initI18n(i18nDefault:
|
|
12
|
+
private static async _initI18n(i18nDefault: II18nResource, i18nResource: II18nResource): Promise<I18nService> {
|
|
13
13
|
|
|
14
14
|
if (!i18next.isInitialized) {
|
|
15
15
|
await i18next
|
|
@@ -30,7 +30,7 @@ export class I18nServiceBuilder {
|
|
|
30
30
|
return new I18nServiceConcrete(i18next);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
public static setTranslations(i18nDefault, i18nResource:
|
|
33
|
+
public static setTranslations(i18nDefault, i18nResource: II18nResource): II18nResource {
|
|
34
34
|
return mergeDeep(i18nResource, i18nDefault, { mergeExistingValues: false });
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { II18nResource } from "../interfaces/II18nResource";
|
|
2
2
|
import { I18nService, I18nServiceBuilder } from "../service/i18nextBuilder";
|
|
3
3
|
|
|
4
|
-
export async function initI18n(i18nConfig:
|
|
4
|
+
export async function initI18n(i18nConfig: II18nResource = {}, i18nDefault: II18nResource = {}): Promise<I18nService> {
|
|
5
5
|
return await I18nServiceBuilder.buildI18n(i18nDefault, i18nConfig);
|
|
6
|
-
}
|
|
6
|
+
}
|
package/src/interfaces/index.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isEmpty } from "../../general/mix/isEmpty";
|
|
2
|
+
import { isNaNV2 } from "../../general/mix/isNaNV2";
|
|
3
|
+
import { IGetValueWithSuffixesSettings } from "../interfaces/IGetValueWithSuffixesSettings";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get a string value with suffixes if available.
|
|
7
|
+
* Add suffix into the value string. Prioritized for numeric values.
|
|
8
|
+
* @param value a number or string
|
|
9
|
+
* @param suffixes An object with singular or plural suffix string.
|
|
10
|
+
* @returns a string value with suffix
|
|
11
|
+
*/
|
|
12
|
+
export function getValueWithSuffixes(value: string | number, settings: IGetValueWithSuffixesSettings): string {
|
|
13
|
+
let suffix = '';
|
|
14
|
+
if (!isNaNV2(value)) {
|
|
15
|
+
if (!isEmpty(settings.suffixTranslateLabel) && !isEmpty(settings.translate)) suffix = settings.translate(settings.suffixTranslateLabel, { count: +value });
|
|
16
|
+
if (!isEmpty(settings.suffixes)) suffix = (+value > 1 || +value === 0) ? settings.suffixes.plural : settings.suffixes.singular;
|
|
17
|
+
}
|
|
18
|
+
return value + (!isEmpty(suffix) ? ' ' + suffix : '');
|
|
19
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { isDateColumn } from "../../columns/helpers/isDateColumn";
|
|
2
|
+
import { isNumericalColumn } from "../../columns/helpers/isNumericalColumn";
|
|
3
|
+
import { IDateColumnPropertyType } from "../../columns/interfaces/IDateColumnPropertyType";
|
|
4
|
+
import { DATE_GROUPING_PROPERTY } from "../../dates/constants/DATE_GROUPING_PROPERTY";
|
|
5
|
+
import { DATE_GROUPING_TIME_PROPERTY } from "../../dates/constants/DATE_GROUPING_TIME_PROPERTY";
|
|
6
|
+
import { addFormat } from "../../format/format";
|
|
7
|
+
import { getI18nDateGroupLabel } from "../../globalization/helpers/getI18nDateGroupLabel";
|
|
8
|
+
import { ITransformValueSettings } from "../interfaces/ITransformValueSettings";
|
|
9
|
+
import { getValueWithSuffixes } from "./getValueWithSuffixes";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Transforms a value depending of localization/globalization and extras settings.
|
|
13
|
+
* @param value A value to transform
|
|
14
|
+
* @param settings The settings of the transformValue function
|
|
15
|
+
* @returns A transformed value
|
|
16
|
+
*/
|
|
17
|
+
export function transformValue(value: string, settings: ITransformValueSettings): string {
|
|
18
|
+
const valueWithI18n = getI18nDateGroupLabel(value, settings.property as IDateColumnPropertyType, settings.translate);
|
|
19
|
+
|
|
20
|
+
const valueWithLocalization = addFormat(valueWithI18n, getOutputFormat(settings), getFormatConfig(settings));
|
|
21
|
+
return getValueWithSuffixes(valueWithLocalization, { suffixTranslateLabel: settings.suffixTranslateLabel, translate: settings.translate });
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Gets the outputformat settings
|
|
26
|
+
* @param settings The settings of the transformValue function
|
|
27
|
+
* @returns the outputformat settings
|
|
28
|
+
*/
|
|
29
|
+
function getOutputFormat(settings: ITransformValueSettings) {
|
|
30
|
+
let type, format;
|
|
31
|
+
const isDateTime = [DATE_GROUPING_TIME_PROPERTY.HOUR, DATE_GROUPING_TIME_PROPERTY.MINUTE, DATE_GROUPING_TIME_PROPERTY.SECOND].includes(settings.property as any);
|
|
32
|
+
const isDate = [DATE_GROUPING_PROPERTY.DAY].includes(settings.property as any);
|
|
33
|
+
if (isDateColumn(settings.column) && (isDate || isDateTime)) {
|
|
34
|
+
type = 'DATE';
|
|
35
|
+
format = 'Default';
|
|
36
|
+
} else if (isNumericalColumn(settings.column)) {
|
|
37
|
+
type = 'NUMERIC';
|
|
38
|
+
}
|
|
39
|
+
return { type, format, originalFormat: isDateTime ? settings.column.outputFormat : undefined };
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Gets the format config
|
|
44
|
+
* @param settings The settings of the transformValue function
|
|
45
|
+
* @returns the format config
|
|
46
|
+
*/
|
|
47
|
+
function getFormatConfig(settings: ITransformValueSettings) {
|
|
48
|
+
return { lang: settings.i18n?.locale };
|
|
49
|
+
}
|