@qrvey/utils 1.2.3 → 1.2.4-11
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 +175 -69
- package/dist/{cjs/qrvey → charts}/constants/AGGREGATE.d.ts +0 -0
- package/dist/{qrvey → charts}/constants/AGGREGATE.js +0 -0
- package/dist/{cjs/qrvey → charts}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
- package/dist/{qrvey → charts}/constants/AGGREGATE_ABBREVIATION.js +0 -0
- package/dist/charts/constants/AGGREGATE_INFO.d.ts +5 -0
- package/dist/{qrvey → charts}/constants/AGGREGATE_INFO.js +0 -0
- package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
- package/dist/{qrvey → charts}/constants/AGGREGATE_INFO_LIST.js +0 -0
- package/dist/charts/constants/AGGREGATE_LABEL.d.ts +11 -0
- package/dist/charts/constants/AGGREGATE_LABEL.js +12 -0
- package/dist/charts/constants/index.d.ts +5 -0
- package/dist/charts/constants/index.js +5 -0
- package/dist/charts/index.d.ts +2 -0
- package/dist/charts/index.js +2 -0
- package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +2 -0
- package/dist/{columns/interfaces/IColumnAggregateType.js → charts/interfaces/IAggregateAbbreviation.js} +0 -0
- package/dist/charts/interfaces/IAggregateInfo.d.ts +9 -0
- package/dist/{qrvey → charts}/interfaces/IAggregateInfo.js +0 -0
- package/dist/charts/interfaces/IAggregateLabel.d.ts +2 -0
- package/dist/{columns/interfaces/IColumnCalculationType.js → charts/interfaces/IAggregateLabel.js} +0 -0
- package/dist/{cjs/qrvey/interfaces/IAggregate.d.ts → charts/interfaces/IAggregateType.d.ts} +1 -1
- package/dist/{qrvey/interfaces/IAggregate.js → charts/interfaces/IAggregateType.js} +0 -0
- package/dist/charts/interfaces/index.d.ts +4 -0
- package/dist/charts/interfaces/index.js +4 -0
- package/dist/{qrvey → cjs/charts}/constants/AGGREGATE.d.ts +0 -0
- package/dist/cjs/{qrvey → charts}/constants/AGGREGATE.js +0 -0
- package/dist/{qrvey → cjs/charts}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
- package/dist/cjs/{qrvey → charts}/constants/AGGREGATE_ABBREVIATION.js +0 -0
- package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +5 -0
- package/dist/cjs/{qrvey → charts}/constants/AGGREGATE_INFO.js +0 -0
- package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
- package/dist/cjs/{qrvey → charts}/constants/AGGREGATE_INFO_LIST.js +0 -0
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +11 -0
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +15 -0
- package/dist/cjs/charts/constants/index.d.ts +5 -0
- package/dist/cjs/charts/constants/index.js +17 -0
- package/dist/cjs/charts/index.d.ts +2 -0
- package/dist/cjs/{globalization/filters → charts}/index.js +2 -3
- package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +2 -0
- package/dist/cjs/{columns/interfaces/IColumnAggregateType.js → charts/interfaces/IAggregateAbbreviation.js} +0 -0
- package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +9 -0
- package/dist/cjs/{qrvey → charts}/interfaces/IAggregateInfo.js +0 -0
- package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +2 -0
- package/dist/cjs/{columns/interfaces/IColumnCalculationType.js → charts/interfaces/IAggregateLabel.js} +0 -0
- package/dist/{qrvey/interfaces/IAggregate.d.ts → cjs/charts/interfaces/IAggregateType.d.ts} +1 -1
- package/dist/cjs/{qrvey/interfaces/IAggregate.js → charts/interfaces/IAggregateType.js} +0 -0
- package/dist/cjs/charts/interfaces/index.d.ts +4 -0
- package/dist/cjs/charts/interfaces/index.js +16 -0
- package/dist/cjs/columns/constants/COLUMN_INFO.js +2 -1
- package/dist/cjs/columns/interfaces/IColumn.d.ts +3 -3
- package/dist/cjs/columns/interfaces/index.d.ts +0 -2
- package/dist/cjs/columns/interfaces/index.js +0 -2
- package/dist/cjs/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
- package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
- package/dist/cjs/filters/helpers/common/getFilterLabel.js +1 -2
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +2 -0
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +1 -0
- package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -0
- package/dist/cjs/general/mix/compareDeep.d.ts +8 -0
- package/dist/cjs/general/mix/compareDeep.js +33 -0
- package/dist/cjs/general/mix/index.d.ts +6 -5
- package/dist/cjs/general/mix/index.js +6 -5
- package/dist/cjs/general/object/index.d.ts +1 -0
- package/dist/cjs/general/object/index.js +1 -0
- package/dist/cjs/general/object/mergeDeep.d.ts +17 -0
- package/dist/cjs/general/object/mergeDeep.js +55 -0
- package/dist/cjs/globalization/index.d.ts +3 -1
- package/dist/cjs/globalization/index.js +3 -1
- package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +14 -0
- package/dist/cjs/globalization/interfaces/IResourceI18n.js +2 -0
- package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +10 -0
- package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +2 -0
- package/dist/cjs/globalization/interfaces/columns/index.d.ts +1 -0
- package/dist/cjs/globalization/interfaces/columns/index.js +13 -0
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +11 -0
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.d.ts +46 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnProperties.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +38 -0
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +2 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/common/II18nCommon.js +2 -0
- package/dist/cjs/globalization/interfaces/common/index.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/common/index.js +19 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +7 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +2 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/dashboard/index.js +16 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +17 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +23 -0
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +5 -0
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +2 -0
- package/dist/cjs/globalization/interfaces/filters/index.d.ts +11 -0
- package/dist/cjs/globalization/interfaces/filters/index.js +23 -0
- package/dist/cjs/globalization/interfaces/index.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/index.js +15 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +2 -0
- package/dist/cjs/globalization/interfaces/panel/index.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/panel/index.js +16 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +15 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +2 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +8 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +2 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +2 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +9 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +2 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +3 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +2 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +4 -0
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +2 -0
- package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +6 -0
- package/dist/cjs/globalization/interfaces/table_charts/index.js +18 -0
- package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +2 -0
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +17 -0
- package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +2 -0
- package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +8 -0
- package/dist/cjs/globalization/labels/columns/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/columns/index.js +13 -0
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +15 -0
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +38 -0
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +42 -0
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +50 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +2 -0
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +33 -0
- package/dist/cjs/globalization/labels/common/index.d.ts +3 -0
- package/dist/cjs/globalization/labels/common/index.js +15 -0
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +2 -0
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +24 -0
- package/dist/cjs/globalization/labels/dashboard/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/dashboard/index.js +13 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +11 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +27 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +2 -0
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +27 -0
- package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
- package/dist/cjs/globalization/{filters/SLIDEBAR.js → labels/filters/I18N_SLIDEBAR.js} +3 -5
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
- package/dist/cjs/globalization/{filters/VALUES_CONTAINER.js → labels/filters/I18N_VALUE_CONTAINER.js} +2 -3
- package/dist/cjs/globalization/labels/filters/index.d.ts +5 -0
- package/dist/cjs/globalization/labels/filters/index.js +17 -0
- package/dist/cjs/globalization/labels/index.d.ts +7 -0
- package/dist/cjs/globalization/labels/index.js +19 -0
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +2 -0
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +34 -0
- package/dist/cjs/globalization/labels/panel/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/panel/index.js +13 -0
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +2 -0
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +36 -0
- package/dist/cjs/globalization/labels/table_charts/index.d.ts +1 -0
- package/dist/cjs/globalization/labels/table_charts/index.js +13 -0
- package/dist/cjs/globalization/service/i18nextBuilder.d.ts +9 -0
- package/dist/cjs/globalization/service/i18nextBuilder.js +61 -0
- package/dist/cjs/globalization/service/index.d.ts +2 -0
- package/dist/cjs/globalization/service/index.js +14 -0
- package/dist/cjs/globalization/service/initI18n.d.ts +3 -0
- package/dist/cjs/globalization/service/initI18n.js +19 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/interfaces/Qrvey.Interface.d.ts +0 -10
- package/dist/cjs/interfaces/general/IGeneralWidgetConfig.d.ts +1 -0
- package/dist/cjs/interfaces/index.d.ts +1 -1
- package/dist/cjs/interfaces/index.js +1 -1
- package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
- package/dist/cjs/qrvey/constants/CALCULATION_INFO_LIST.js +2 -2
- package/dist/cjs/qrvey/constants/index.d.ts +1 -4
- package/dist/cjs/qrvey/constants/index.js +1 -4
- package/dist/{columns/interfaces/IColumnCalculationType.d.ts → cjs/qrvey/interfaces/ICalculationType.d.ts} +1 -1
- package/dist/cjs/qrvey/interfaces/ICalculationType.js +2 -0
- package/dist/cjs/qrvey/interfaces/index.d.ts +4 -0
- package/dist/cjs/qrvey/interfaces/index.js +4 -0
- package/dist/cjs/services/adapters/BDatasetsToUIDatasets.adapter.d.ts +1 -1
- package/dist/cjs/services/adapters/BDatasetsToUIDatasets.adapter.js +1 -1
- package/dist/cjs/services/helpers/Request.d.ts +1 -0
- package/dist/cjs/services/helpers/Request.js +7 -0
- package/dist/columns/constants/COLUMN_INFO.js +2 -1
- package/dist/columns/interfaces/IColumn.d.ts +3 -3
- package/dist/columns/interfaces/index.d.ts +0 -2
- package/dist/columns/interfaces/index.js +0 -2
- package/dist/filters/helpers/builder/getFilterBuilderGeneralConfig.js +1 -0
- package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
- package/dist/filters/helpers/common/getFilterLabel.js +1 -2
- package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +2 -0
- package/dist/filters/interfaces/builder/IFilterBuilderGeneralConfig.d.ts +1 -0
- package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +2 -0
- package/dist/general/mix/compareDeep.d.ts +8 -0
- package/dist/general/mix/compareDeep.js +29 -0
- package/dist/general/mix/index.d.ts +6 -5
- package/dist/general/mix/index.js +6 -5
- package/dist/general/object/index.d.ts +1 -0
- package/dist/general/object/index.js +1 -0
- package/dist/general/object/mergeDeep.d.ts +17 -0
- package/dist/general/object/mergeDeep.js +51 -0
- package/dist/globalization/index.d.ts +3 -1
- package/dist/globalization/index.js +3 -1
- package/dist/globalization/interfaces/IResourceI18n.d.ts +14 -0
- package/dist/globalization/interfaces/IResourceI18n.js +1 -0
- package/dist/globalization/interfaces/columns/II18nColumn.d.ts +10 -0
- package/dist/globalization/interfaces/columns/II18nColumn.js +1 -0
- package/dist/globalization/interfaces/columns/index.d.ts +1 -0
- package/dist/globalization/interfaces/columns/index.js +1 -0
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +11 -0
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +1 -0
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +5 -0
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +1 -0
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +8 -0
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +1 -0
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +8 -0
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +1 -0
- package/dist/globalization/interfaces/common/II18nColumnProperties.d.ts +46 -0
- package/dist/globalization/interfaces/common/II18nColumnProperties.js +1 -0
- package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +38 -0
- package/dist/globalization/interfaces/common/II18nColumnTypes.js +1 -0
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +15 -0
- package/dist/globalization/interfaces/common/II18nCommon.js +1 -0
- package/dist/globalization/interfaces/common/index.d.ts +7 -0
- package/dist/globalization/interfaces/common/index.js +7 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +9 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboard.js +1 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +5 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +1 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +7 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +1 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +6 -0
- package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +1 -0
- package/dist/globalization/interfaces/dashboard/index.d.ts +4 -0
- package/dist/globalization/interfaces/dashboard/index.js +4 -0
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +8 -0
- package/dist/globalization/interfaces/filters/II18nFilter.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +17 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +5 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +3 -0
- package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +1 -0
- package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +23 -0
- package/dist/globalization/interfaces/filters/II18nFilterValidator.js +1 -0
- package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +6 -0
- package/dist/globalization/interfaces/filters/II18nSlidebar.js +1 -0
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +4 -0
- package/dist/globalization/interfaces/filters/II18nValueContainer.js +1 -0
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +5 -0
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +1 -0
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +5 -0
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +1 -0
- package/dist/globalization/interfaces/filters/index.d.ts +11 -0
- package/dist/globalization/interfaces/filters/index.js +11 -0
- package/dist/globalization/interfaces/index.d.ts +3 -0
- package/dist/globalization/interfaces/index.js +3 -0
- package/dist/globalization/interfaces/panel/II18nPanel.d.ts +9 -0
- package/dist/globalization/interfaces/panel/II18nPanel.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +9 -0
- package/dist/globalization/interfaces/panel/II18nPanelErrors.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +15 -0
- package/dist/globalization/interfaces/panel/II18nPanelMenu.js +1 -0
- package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +4 -0
- package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +1 -0
- package/dist/globalization/interfaces/panel/index.d.ts +4 -0
- package/dist/globalization/interfaces/panel/index.js +4 -0
- package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +15 -0
- package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +1 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +8 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +1 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +4 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +1 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +9 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +1 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +3 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +1 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +4 -0
- package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +1 -0
- package/dist/globalization/interfaces/table_charts/index.d.ts +6 -0
- package/dist/globalization/interfaces/table_charts/index.js +6 -0
- package/dist/globalization/labels/I18N_DEFAULT.d.ts +2 -0
- package/dist/globalization/labels/I18N_DEFAULT.js +14 -0
- package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +2 -0
- package/dist/globalization/labels/columns/I18N_COLUMN.js +5 -0
- package/dist/globalization/labels/columns/index.d.ts +1 -0
- package/dist/globalization/labels/columns/index.js +1 -0
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +2 -0
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +12 -0
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +38 -0
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +39 -0
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.d.ts +2 -0
- package/dist/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.js +47 -0
- package/dist/globalization/labels/common/I18N_COMMON.d.ts +2 -0
- package/dist/globalization/labels/common/I18N_COMMON.js +30 -0
- package/dist/globalization/labels/common/index.d.ts +3 -0
- package/dist/globalization/labels/common/index.js +3 -0
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +2 -0
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +21 -0
- package/dist/globalization/labels/dashboard/index.d.ts +1 -0
- package/dist/globalization/labels/dashboard/index.js +1 -0
- package/dist/globalization/labels/filters/I18N_FILTER.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER.js +8 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +24 -0
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +24 -0
- package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +2 -0
- package/dist/globalization/labels/filters/I18N_SLIDEBAR.js +6 -0
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +2 -0
- package/{src/globalization/filters/VALUES_CONTAINER.ts → dist/globalization/labels/filters/I18N_VALUE_CONTAINER.js} +1 -2
- package/dist/globalization/labels/filters/index.d.ts +5 -0
- package/dist/globalization/labels/filters/index.js +5 -0
- package/dist/globalization/labels/index.d.ts +7 -0
- package/dist/globalization/labels/index.js +7 -0
- package/dist/globalization/labels/panel/I18N_PANEL.d.ts +2 -0
- package/dist/globalization/labels/panel/I18N_PANEL.js +31 -0
- package/dist/globalization/labels/panel/index.d.ts +1 -0
- package/dist/globalization/labels/panel/index.js +1 -0
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +2 -0
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +33 -0
- package/dist/globalization/labels/table_charts/index.d.ts +1 -0
- package/dist/globalization/labels/table_charts/index.js +1 -0
- package/dist/globalization/service/i18nextBuilder.d.ts +9 -0
- package/dist/globalization/service/i18nextBuilder.js +53 -0
- package/dist/globalization/service/index.d.ts +2 -0
- package/dist/globalization/service/index.js +2 -0
- package/dist/globalization/service/initI18n.d.ts +3 -0
- package/dist/globalization/service/initI18n.js +15 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/interfaces/Qrvey.Interface.d.ts +0 -10
- package/dist/interfaces/general/IGeneralWidgetConfig.d.ts +1 -0
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.js +1 -1
- package/dist/qrvey/constants/CALCULATION_INFO_LIST.d.ts +1 -1
- package/dist/qrvey/constants/CALCULATION_INFO_LIST.js +1 -1
- package/dist/qrvey/constants/index.d.ts +1 -4
- package/dist/qrvey/constants/index.js +1 -4
- package/dist/{cjs/columns/interfaces/IColumnCalculationType.d.ts → qrvey/interfaces/ICalculationType.d.ts} +1 -1
- package/dist/qrvey/interfaces/ICalculationType.js +1 -0
- package/dist/qrvey/interfaces/index.d.ts +4 -0
- package/dist/qrvey/interfaces/index.js +4 -0
- package/dist/services/adapters/BDatasetsToUIDatasets.adapter.d.ts +1 -1
- package/dist/services/adapters/BDatasetsToUIDatasets.adapter.js +1 -1
- package/dist/services/helpers/Request.d.ts +1 -0
- package/dist/services/helpers/Request.js +7 -0
- package/package.json +7 -5
- package/src/{qrvey → charts}/constants/AGGREGATE.ts +0 -0
- package/src/{qrvey → charts}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
- package/src/{qrvey → charts}/constants/AGGREGATE_INFO.ts +2 -2
- package/src/{qrvey → charts}/constants/AGGREGATE_INFO_LIST.ts +0 -0
- package/src/charts/constants/AGGREGATE_LABEL.ts +11 -0
- package/src/charts/constants/index.ts +5 -0
- package/src/charts/index.ts +2 -0
- package/src/charts/interfaces/IAggregateAbbreviation.ts +3 -0
- package/src/charts/interfaces/IAggregateInfo.ts +11 -0
- package/src/charts/interfaces/IAggregateLabel.ts +3 -0
- package/src/{qrvey/interfaces/IAggregate.ts → charts/interfaces/IAggregateType.ts} +1 -1
- package/src/charts/interfaces/index.ts +4 -0
- package/src/columns/constants/COLUMN_INFO.ts +29 -28
- package/src/columns/interfaces/IColumn.ts +3 -3
- package/src/columns/interfaces/index.ts +0 -2
- package/src/filters/helpers/builder/getFilterBuilderGeneralConfig.ts +1 -0
- package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
- package/src/filters/helpers/common/getFilterLabel.ts +1 -1
- package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +2 -0
- package/src/filters/interfaces/builder/IFilterBuilderGeneralConfig.ts +1 -0
- package/src/filters/interfaces/panel/IFilterPanelConfig.ts +2 -0
- package/src/general/mix/compareDeep.ts +32 -0
- package/src/general/mix/index.ts +6 -5
- package/src/general/object/index.ts +1 -0
- package/src/general/object/mergeDeep.ts +61 -0
- package/src/globalization/index.ts +3 -1
- package/src/globalization/interfaces/IResourceI18n.ts +16 -0
- package/src/globalization/interfaces/columns/II18nColumn.ts +7 -0
- package/src/globalization/interfaces/columns/index.ts +1 -0
- package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +11 -0
- package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +5 -0
- package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +8 -0
- package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +8 -0
- package/src/globalization/interfaces/common/II18nColumnProperties.ts +52 -0
- package/src/globalization/interfaces/common/II18nColumnTypes.ts +42 -0
- package/src/globalization/interfaces/common/II18nCommon.ts +16 -0
- package/src/globalization/interfaces/common/index.ts +9 -0
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +10 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +5 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +7 -0
- package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +6 -0
- package/src/globalization/interfaces/dashboard/index.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilter.ts +9 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +16 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +6 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +4 -0
- package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +3 -0
- package/src/globalization/interfaces/filters/II18nFilterValidator.ts +23 -0
- package/src/globalization/interfaces/filters/II18nSlidebar.ts +6 -0
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +5 -0
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +6 -0
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +5 -0
- package/src/globalization/interfaces/filters/index.ts +12 -0
- package/src/globalization/interfaces/index.ts +3 -0
- package/src/globalization/interfaces/panel/II18nPanel.ts +10 -0
- package/src/globalization/interfaces/panel/II18nPanelErrors.ts +9 -0
- package/src/globalization/interfaces/panel/II18nPanelMenu.ts +15 -0
- package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +4 -0
- package/src/globalization/interfaces/panel/index.ts +4 -0
- package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +16 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +8 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +4 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +10 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +3 -0
- package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +5 -0
- package/src/globalization/interfaces/table_charts/index.ts +6 -0
- package/src/globalization/labels/I18N_DEFAULT.ts +16 -0
- package/src/globalization/labels/columns/I18N_COLUMN.ts +9 -0
- package/src/globalization/labels/columns/index.ts +1 -0
- package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +14 -0
- package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +43 -0
- package/src/globalization/labels/common/I18N_COLUMN_PROPERTY_LABEL.ts +55 -0
- package/src/globalization/labels/common/I18N_COMMON.ts +32 -0
- package/src/globalization/labels/common/index.ts +5 -0
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +23 -0
- package/src/globalization/labels/dashboard/index.ts +1 -0
- package/src/globalization/labels/filters/I18N_FILTER.ts +10 -0
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +26 -0
- package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +27 -0
- package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +8 -0
- package/{dist/globalization/filters/VALUES_CONTAINER.js → src/globalization/labels/filters/I18N_VALUE_CONTAINER.ts} +3 -2
- package/src/globalization/labels/filters/index.ts +7 -0
- package/src/globalization/labels/index.ts +8 -0
- package/src/globalization/labels/panel/I18N_PANEL.ts +33 -0
- package/src/globalization/labels/panel/index.ts +1 -0
- package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +35 -0
- package/src/globalization/labels/table_charts/index.ts +1 -0
- package/src/globalization/service/i18nextBuilder.ts +51 -0
- package/src/globalization/service/index.ts +2 -0
- package/src/globalization/service/initI18n.ts +6 -0
- package/src/index.ts +1 -0
- package/src/interfaces/Qrvey.Interface.ts +0 -11
- package/src/interfaces/general/IGeneralWidgetConfig.ts +1 -0
- package/src/interfaces/index.ts +1 -1
- package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
- package/src/qrvey/constants/index.ts +1 -4
- package/src/{columns/interfaces/IColumnCalculationType.ts → qrvey/interfaces/ICalculationType.ts} +1 -1
- package/src/qrvey/interfaces/index.ts +5 -1
- package/src/services/adapters/BDatasetsToUIDatasets.adapter.ts +1 -1
- package/src/services/helpers/Request.ts +10 -1
- package/src/stencil/util/index.ts +1 -1
- package/test/general/mix/compareDeep.test.js +880 -0
- package/test/general/object/mergeDeep.test.js +110 -0
- package/dist/cjs/columns/interfaces/IColumnAggregateType.d.ts +0 -2
- package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +0 -129
- package/dist/cjs/globalization/filters/FILTER_BUILDER.js +0 -37
- package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +0 -8
- package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +0 -11
- package/dist/cjs/globalization/filters/index.d.ts +0 -3
- package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +0 -5
- package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
- package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +0 -11
- package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +0 -15
- package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +0 -5
- package/dist/columns/interfaces/IColumnAggregateType.d.ts +0 -2
- package/dist/globalization/filters/FILTER_BUILDER.d.ts +0 -129
- package/dist/globalization/filters/FILTER_BUILDER.js +0 -34
- package/dist/globalization/filters/SLIDEBAR.d.ts +0 -8
- package/dist/globalization/filters/SLIDEBAR.js +0 -8
- package/dist/globalization/filters/VALUES_CONTAINER.d.ts +0 -11
- package/dist/globalization/filters/index.d.ts +0 -3
- package/dist/globalization/filters/index.js +0 -3
- package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +0 -5
- package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
- package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +0 -11
- package/dist/qrvey/constants/AGGREGATE_LABEL.js +0 -12
- package/dist/qrvey/interfaces/IAggregateInfo.d.ts +0 -5
- package/src/columns/interfaces/IColumnAggregateType.ts +0 -3
- package/src/globalization/filters/FILTER_BUILDER.ts +0 -35
- package/src/globalization/filters/SLIDEBAR.ts +0 -8
- package/src/globalization/filters/index.ts +0 -3
- package/src/qrvey/constants/AGGREGATE_LABEL.ts +0 -11
- package/src/qrvey/interfaces/IAggregateInfo.ts +0 -7
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { I18N_AGGREGATE_LABEL } from "./I18N_AGGREGATE_LABEL";
|
|
2
|
+
import { I18N_COLUMN_LABEL } from "./I18N_COLUMN_LABEL";
|
|
3
|
+
import { I18N_COLUMN_PROPERTY_LABEL } from "./I18N_COLUMN_PROPERTY_LABEL";
|
|
4
|
+
export const I18N_COMMON = {
|
|
5
|
+
aggregate_labels: I18N_AGGREGATE_LABEL,
|
|
6
|
+
column_types: I18N_COLUMN_LABEL,
|
|
7
|
+
properties: I18N_COLUMN_PROPERTY_LABEL,
|
|
8
|
+
search: "Buscar",
|
|
9
|
+
chart_info_messages_default: {
|
|
10
|
+
max_data: "Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Data</i> Points to display.",
|
|
11
|
+
max_panels: "Chart shows a maximum number of data points by default. To see more, go to <i>Formats</i> chart options and increase the <i>Max Panels</i> to display.",
|
|
12
|
+
max_increment: "Increasing the amount of records to display above {{max_data_point_option}} can affect chart performance.",
|
|
13
|
+
max_panels_increment: "Increasing the amount of panels to display above {{max_data_point_values_panels}} can affect chart performance.",
|
|
14
|
+
median_aggregation_results: "The numbers are not actual, they are for preview purposes only.",
|
|
15
|
+
max_limit: "Only 10,000 max data points are supported."
|
|
16
|
+
},
|
|
17
|
+
chart_info_messages_crosstab: {
|
|
18
|
+
max_data: 'Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Rows</i> and <i>Max Columns</i> to display.',
|
|
19
|
+
max_increment: `Increasing the amount of records to display above {{max_rows_option}} rows or {{max_groups_option}} columns can affect chart performance.`,
|
|
20
|
+
value_missing: `A <i>Values</i> column could be added to this chart.`
|
|
21
|
+
},
|
|
22
|
+
chart_info_messages_table_chart: {
|
|
23
|
+
max_data_simple: "Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Rows</i> to display.",
|
|
24
|
+
max_data_grouped: "Chart shows a maximum number of data points by default. To see more, go to <i>General</i> chart options and increase the <i>Max Groups</i> to display.",
|
|
25
|
+
max_increment: "Increasing the amount of records to display above {{max_rows_option}} rows or {{max_groups_option}} groups can affect chart performance.",
|
|
26
|
+
grouped_column: "<i>Columns</i> are needed for this chart.",
|
|
27
|
+
link_incompatible: "A <i>Group column</i> is needed for this chart to use linked data in Columns.",
|
|
28
|
+
unsupported_aggs: "Some totals are not applicable to some columns."
|
|
29
|
+
}
|
|
30
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const I18N_DASHBOARD = {
|
|
2
|
+
views: {
|
|
3
|
+
summary_view: "Summary",
|
|
4
|
+
tabular_view: "Tabular View",
|
|
5
|
+
custom_view: "Custom View",
|
|
6
|
+
metric_view: "Metric View",
|
|
7
|
+
},
|
|
8
|
+
add_chart: {
|
|
9
|
+
add: "Add",
|
|
10
|
+
chart: "Chart",
|
|
11
|
+
metric: "Metric",
|
|
12
|
+
},
|
|
13
|
+
export_csv: "Export to CSV",
|
|
14
|
+
tooltips: {
|
|
15
|
+
style_themes: "Style Themes",
|
|
16
|
+
formulas: "Formulas",
|
|
17
|
+
buckets: "Buckets",
|
|
18
|
+
download: "Download",
|
|
19
|
+
embed_analyze: "Embed Analyze View",
|
|
20
|
+
},
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_DASHBOARD';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_DASHBOARD';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { I18N_FILTER_VALIDATOR } from "./I18N_FILTER_VALIDATOR";
|
|
2
|
+
import { I18N_SLIDEBAR } from "./I18N_SLIDEBAR";
|
|
3
|
+
import { I18N_VALUE_CONTAINER } from "./I18N_VALUE_CONTAINER";
|
|
4
|
+
export const I18N_FILTER = {
|
|
5
|
+
slidebar: I18N_SLIDEBAR,
|
|
6
|
+
validators: I18N_FILTER_VALIDATOR,
|
|
7
|
+
value_container: I18N_VALUE_CONTAINER
|
|
8
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FILTER_DATE_SECTION_LABEL } from "../../../filters/constants/common/FILTER_DATE_SECTION_LABEL";
|
|
2
|
+
export const I18N_FILTER_BUILDER = {
|
|
3
|
+
title: 'Filter',
|
|
4
|
+
apply_button: 'Apply',
|
|
5
|
+
cancel_button: 'Cancel',
|
|
6
|
+
apply_to: 'Apply to',
|
|
7
|
+
column_selector: {
|
|
8
|
+
title: 'Column',
|
|
9
|
+
placeholder: 'Search or select a column to create filters',
|
|
10
|
+
},
|
|
11
|
+
date_sections: FILTER_DATE_SECTION_LABEL,
|
|
12
|
+
divider_label: 'Is',
|
|
13
|
+
// properties: COLUMN_PROPERTY_LABEL, //In different location
|
|
14
|
+
selected_values_container: {
|
|
15
|
+
empty_message: 'No values added'
|
|
16
|
+
},
|
|
17
|
+
info_container: {
|
|
18
|
+
info: '<b>OR</b> logic is used for multiple values.',
|
|
19
|
+
selection: {
|
|
20
|
+
selected: 'selected of',
|
|
21
|
+
loaded: 'loaded',
|
|
22
|
+
},
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FILTER_VALIDATOR_LABEL } from "../../../filters/constants/common/FILTER_VALIDATOR_LABEL";
|
|
2
|
+
export const I18N_FILTER_VALIDATOR = {
|
|
3
|
+
equals_label: FILTER_VALIDATOR_LABEL.EQUALS,
|
|
4
|
+
not_equal_label: FILTER_VALIDATOR_LABEL.NOT_EQUAL,
|
|
5
|
+
contains_label: FILTER_VALIDATOR_LABEL.CONTAINS,
|
|
6
|
+
not_contain_label: FILTER_VALIDATOR_LABEL.NOT_CONTAIN,
|
|
7
|
+
ends_with_label: FILTER_VALIDATOR_LABEL.ENDS_WITH,
|
|
8
|
+
not_end_with_label: FILTER_VALIDATOR_LABEL.NOT_END_WITH,
|
|
9
|
+
starts_with_label: FILTER_VALIDATOR_LABEL.STARTS_WITH,
|
|
10
|
+
not_start_with_label: FILTER_VALIDATOR_LABEL.NOT_START_WITH,
|
|
11
|
+
between_inclusive_label: FILTER_VALIDATOR_LABEL.BETWEEN_INCLUSIVE,
|
|
12
|
+
between_exclusive_label: FILTER_VALIDATOR_LABEL.BETWEEN_EXCLUSIVE,
|
|
13
|
+
less_than_label: FILTER_VALIDATOR_LABEL.LESS_THAN,
|
|
14
|
+
less_than_equal_label: FILTER_VALIDATOR_LABEL.LESS_THAN_EQUAL,
|
|
15
|
+
greater_than_label: FILTER_VALIDATOR_LABEL.GREATER_THAN,
|
|
16
|
+
greater_than_equal_label: FILTER_VALIDATOR_LABEL.GREATER_THAN_EQUAL,
|
|
17
|
+
is_null_label: FILTER_VALIDATOR_LABEL.IS_NULL,
|
|
18
|
+
is_not_null_label: FILTER_VALIDATOR_LABEL.IS_NOT_NULL,
|
|
19
|
+
before_label: FILTER_VALIDATOR_LABEL.BEFORE,
|
|
20
|
+
after_label: FILTER_VALIDATOR_LABEL.AFTER,
|
|
21
|
+
before_on_label: FILTER_VALIDATOR_LABEL.BEFORE_ON,
|
|
22
|
+
after_on_label: FILTER_VALIDATOR_LABEL.AFTER_ON,
|
|
23
|
+
in_label: FILTER_VALIDATOR_LABEL.IN,
|
|
24
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const I18N_VALUE_CONTAINER = {
|
|
2
2
|
search_input: {
|
|
3
3
|
placeholder: 'Search or type values separated by commas. Use {{ for tokens.',
|
|
4
4
|
enter_value: {
|
|
@@ -7,5 +7,4 @@ export const VALUES_CONTAINER = {
|
|
|
7
7
|
third: "to Insert",
|
|
8
8
|
},
|
|
9
9
|
},
|
|
10
|
-
select_all: 'Select All',
|
|
11
10
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const I18N_PANEL = {
|
|
2
|
+
errors: {
|
|
3
|
+
missing_column: 'Missing Column.',
|
|
4
|
+
missing_bucket_column: 'Missing bucket column.',
|
|
5
|
+
missing_formula_column: 'Missing formula column.',
|
|
6
|
+
missing_linked_column: 'Missing linked column.',
|
|
7
|
+
no_data_found: 'No data found.',
|
|
8
|
+
server_error: 'Sever Error.',
|
|
9
|
+
try_again: 'Try Again'
|
|
10
|
+
},
|
|
11
|
+
menu: {
|
|
12
|
+
edit: "Edit",
|
|
13
|
+
download: "Download",
|
|
14
|
+
duplicate: "Duplicate",
|
|
15
|
+
size: "Size",
|
|
16
|
+
delete: "Delete",
|
|
17
|
+
embed_chart: "Embed chart",
|
|
18
|
+
small: "Small",
|
|
19
|
+
medium: "Medium",
|
|
20
|
+
large: "Large",
|
|
21
|
+
jpg: 'JPG',
|
|
22
|
+
pdf: 'PDF',
|
|
23
|
+
csv: 'CSV',
|
|
24
|
+
csv_summary: 'CSV-Summary'
|
|
25
|
+
},
|
|
26
|
+
refresh: "Refresh",
|
|
27
|
+
tooltips: {
|
|
28
|
+
fit_panel: "Fit to panel",
|
|
29
|
+
no_filters: "No filters applied"
|
|
30
|
+
}
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_PANEL';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_PANEL';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const I18N_TABLE_CHARTS = {
|
|
2
|
+
edit_label: "Edit Label",
|
|
3
|
+
inner_charts: {
|
|
4
|
+
tooltip: {
|
|
5
|
+
end: 'End',
|
|
6
|
+
max: 'Max',
|
|
7
|
+
min: 'Min',
|
|
8
|
+
start: 'Start'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
pagination: {
|
|
12
|
+
records_per_page: 'Records per page',
|
|
13
|
+
total_records: 'Total records'
|
|
14
|
+
},
|
|
15
|
+
sort: {
|
|
16
|
+
asc: 'Asc',
|
|
17
|
+
desc: 'Desc',
|
|
18
|
+
sorted_by: "Order by",
|
|
19
|
+
multi_column_sort: "Apply Multi-Column Sort",
|
|
20
|
+
select_column: "Select column to sort by",
|
|
21
|
+
no_sorting_applied: "No Sorting Applied",
|
|
22
|
+
no_sorting: "No Sorting"
|
|
23
|
+
},
|
|
24
|
+
sort_tooltip: {
|
|
25
|
+
will_replace: "Selecting this column will replace the '{{column_name}}' sorting"
|
|
26
|
+
},
|
|
27
|
+
total: "total",
|
|
28
|
+
visualization: "Visualization",
|
|
29
|
+
visualization_items: {
|
|
30
|
+
values: "Values",
|
|
31
|
+
bars: "Bars"
|
|
32
|
+
}
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_TABLE_CHARTS';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_TABLE_CHARTS';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IResourceI18n } from "../interfaces";
|
|
2
|
+
export declare class I18nServiceBuilder {
|
|
3
|
+
static buildI18n(i18nDefault: IResourceI18n, i18nResource: IResourceI18n): Promise<I18nService>;
|
|
4
|
+
private static _initI18n;
|
|
5
|
+
static setTranslations(i18nDefault: any, i18nResource: IResourceI18n): IResourceI18n;
|
|
6
|
+
}
|
|
7
|
+
export declare abstract class I18nService {
|
|
8
|
+
abstract translate(key: string, defaultValue?: string): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import i18next from 'i18next';
|
|
11
|
+
import { mergeDeep } from "../../general/object/mergeDeep";
|
|
12
|
+
export class I18nServiceBuilder {
|
|
13
|
+
static buildI18n(i18nDefault, i18nResource) {
|
|
14
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
+
return yield this._initI18n(i18nDefault, i18nResource);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
static _initI18n(i18nDefault, i18nResource) {
|
|
19
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
if (!i18next.isInitialized) {
|
|
21
|
+
yield i18next
|
|
22
|
+
.init({
|
|
23
|
+
lng: 'en',
|
|
24
|
+
debug: true,
|
|
25
|
+
nsSeparator: false,
|
|
26
|
+
keySeparator: '.',
|
|
27
|
+
fallbackLng: false,
|
|
28
|
+
defaultNS: 'translation',
|
|
29
|
+
resources: {
|
|
30
|
+
en: {
|
|
31
|
+
translation: this.setTranslations(i18nDefault, i18nResource),
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return new I18nServiceConcrete(i18next);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
static setTranslations(i18nDefault, i18nResource) {
|
|
40
|
+
return mergeDeep(i18nResource, i18nDefault, { mergeExistingValues: false });
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export class I18nService {
|
|
44
|
+
}
|
|
45
|
+
class I18nServiceConcrete extends I18nService {
|
|
46
|
+
constructor(i18nInstance) {
|
|
47
|
+
super();
|
|
48
|
+
this._i18next = i18nInstance;
|
|
49
|
+
}
|
|
50
|
+
translate(key, defaultValue) {
|
|
51
|
+
return this._i18next.t(`${key}`, defaultValue);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { I18nServiceBuilder } from "../service/i18nextBuilder";
|
|
11
|
+
export function initI18n(i18nConfig = {}, i18nDefault = {}) {
|
|
12
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13
|
+
return yield I18nServiceBuilder.buildI18n(i18nDefault, i18nConfig);
|
|
14
|
+
});
|
|
15
|
+
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import { AGGREGATE_ABBREVIATION } from "../qrvey/constants/AGGREGATE_ABBREVIATION";
|
|
2
|
-
import { AGGREGATE_LABEL } from "../qrvey/constants/AGGREGATE_LABEL";
|
|
3
1
|
import { CALCULATION_ABBREVIATION } from "../qrvey/constants/CALCULATION_ABBREVIATION";
|
|
4
2
|
import { CALCULATION_LABEL } from "../qrvey/constants/CALCULATION_LABEL";
|
|
5
|
-
export interface IColumnAggregate {
|
|
6
|
-
abbreviation: IColumnAggregateAbbreviation;
|
|
7
|
-
id: string;
|
|
8
|
-
label: IColumnAggregateLabel;
|
|
9
|
-
text: string;
|
|
10
|
-
}
|
|
11
3
|
export interface IColumnCalculation {
|
|
12
4
|
abbreviation: IColumnCalculationAbbreviation;
|
|
13
5
|
id: string;
|
|
@@ -15,7 +7,5 @@ export interface IColumnCalculation {
|
|
|
15
7
|
type: string;
|
|
16
8
|
value: IColumnCalculationLabel;
|
|
17
9
|
}
|
|
18
|
-
export declare type IColumnAggregateAbbreviation = AGGREGATE_ABBREVIATION;
|
|
19
|
-
export declare type IColumnAggregateLabel = AGGREGATE_LABEL;
|
|
20
10
|
export declare type IColumnCalculationLabel = CALCULATION_LABEL;
|
|
21
11
|
export declare type IColumnCalculationAbbreviation = CALCULATION_ABBREVIATION;
|
package/dist/interfaces/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const CALCULATION_INFO_LIST: import("..").ICalculationInfo[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CALCULATION } from "./CALCULATION";
|
|
2
2
|
import { CALCULATION_INFO } from "./CALCULATION_INFO";
|
|
3
|
-
export const
|
|
3
|
+
export const CALCULATION_INFO_LIST = [
|
|
4
4
|
CALCULATION_INFO[CALCULATION.AVG],
|
|
5
5
|
CALCULATION_INFO[CALCULATION.SUM],
|
|
6
6
|
CALCULATION_INFO[CALCULATION.MIN],
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export * from './AGGREGATE_ABBREVIATION';
|
|
2
|
-
export * from './AGGREGATE_INFO';
|
|
3
|
-
export * from './AGGREGATE_LABEL';
|
|
4
|
-
export * from './AGGREGATE';
|
|
5
1
|
export * from './CALCULATION_ABBREVIATION';
|
|
2
|
+
export * from './CALCULATION_INFO_LIST';
|
|
6
3
|
export * from './CALCULATION_LABEL';
|
|
7
4
|
export * from './CALCULATION';
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export * from './AGGREGATE_ABBREVIATION';
|
|
2
|
-
export * from './AGGREGATE_INFO';
|
|
3
|
-
export * from './AGGREGATE_LABEL';
|
|
4
|
-
export * from './AGGREGATE';
|
|
5
1
|
export * from './CALCULATION_ABBREVIATION';
|
|
2
|
+
export * from './CALCULATION_INFO_LIST';
|
|
6
3
|
export * from './CALCULATION_LABEL';
|
|
7
4
|
export * from './CALCULATION';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CALCULATION } from "
|
|
1
|
+
import { CALCULATION } from "../constants/CALCULATION";
|
|
2
2
|
export declare type IColumnCalculationType = typeof CALCULATION[keyof typeof CALCULATION];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IBDataset } from "../../qrvey/interfaces/IBDataset";
|
|
2
2
|
import { IDataset } from "../../qrvey/interfaces/IDataset";
|
|
3
|
-
export declare function BDatasetsToUIDatasets(datasets
|
|
3
|
+
export declare function BDatasetsToUIDatasets(datasets?: IBDataset[]): IDataset[];
|
|
@@ -2,6 +2,7 @@ export default class Request {
|
|
|
2
2
|
static checkStatus(response: any): Promise<any>;
|
|
3
3
|
static hasQvToken(config: any): boolean;
|
|
4
4
|
static getQvToken(config: any): any;
|
|
5
|
+
static getTimezoneControl(config: any): any;
|
|
5
6
|
static hasApiKey(config: any): boolean;
|
|
6
7
|
static getApiKey(config: any): any;
|
|
7
8
|
static makeUrl(config: any, url: any, params?: any): string;
|
|
@@ -24,6 +24,9 @@ export default class Request {
|
|
|
24
24
|
static getQvToken(config) {
|
|
25
25
|
return getAttribute(config, 'qv_token');
|
|
26
26
|
}
|
|
27
|
+
static getTimezoneControl(config) {
|
|
28
|
+
return getAttribute(config, 'timezone_control');
|
|
29
|
+
}
|
|
27
30
|
static hasApiKey(config) {
|
|
28
31
|
return !!this.getApiKey(config);
|
|
29
32
|
}
|
|
@@ -60,6 +63,10 @@ export default class Request {
|
|
|
60
63
|
cfg.credentials = 'include';
|
|
61
64
|
}
|
|
62
65
|
}
|
|
66
|
+
const timezoneControl = this.getTimezoneControl(reqData.config);
|
|
67
|
+
if (timezoneControl) {
|
|
68
|
+
cfg.headers['q-timezone-control'] = `offset=${timezoneControl};use-client-offset-only`;
|
|
69
|
+
}
|
|
63
70
|
// AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
|
|
64
71
|
if (reqData.config && reqData.config.signal) {
|
|
65
72
|
cfg.signal = reqData.config.signal;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qrvey/utils",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4-11",
|
|
4
4
|
"description": "Helper, Utils for all Qrvey Projects",
|
|
5
5
|
"homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc && tsc -m commonjs --outDir dist/cjs",
|
|
9
9
|
"publish": "node prepareToPublish.js && npm login && np",
|
|
10
|
+
"publish-prerelease": "node prepareToPublish.js && npm login && np --any-branch --tag=i18n",
|
|
10
11
|
"test": "jest test",
|
|
11
12
|
"test:watch": "jest --watch test",
|
|
12
13
|
"lint": "eslint src --quiet --exit-on-fatal-error --ext .ts,.js",
|
|
@@ -22,15 +23,16 @@
|
|
|
22
23
|
"ts-jest": "27.0.5",
|
|
23
24
|
"typedoc": "0.22.5",
|
|
24
25
|
"typescript": "4.4.4",
|
|
25
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
26
|
-
"@typescript-eslint/parser": "5.
|
|
27
|
-
"eslint": "8.
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "5.3.0",
|
|
27
|
+
"@typescript-eslint/parser": "5.3.0",
|
|
28
|
+
"eslint": "8.1.0"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"np": "^6.2.3"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
34
|
"d3": "6.3.1",
|
|
34
|
-
"dayjs": "1.10.7"
|
|
35
|
+
"dayjs": "1.10.7",
|
|
36
|
+
"i18next": "21.4.0"
|
|
35
37
|
}
|
|
36
38
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IAggregate } from "../interfaces/IAggregate";
|
|
2
1
|
import { IAggregateInfo } from "../interfaces/IAggregateInfo";
|
|
2
|
+
import { IAggregateType } from "../interfaces/IAggregateType";
|
|
3
3
|
import { AGGREGATE } from "./AGGREGATE";
|
|
4
4
|
import { AGGREGATE_ABBREVIATION } from "./AGGREGATE_ABBREVIATION";
|
|
5
5
|
import { AGGREGATE_LABEL } from "./AGGREGATE_LABEL";
|
|
6
6
|
|
|
7
|
-
export const AGGREGATE_INFO: { [key in
|
|
7
|
+
export const AGGREGATE_INFO: { [key in IAggregateType]: IAggregateInfo } = {
|
|
8
8
|
[AGGREGATE.NONE]: { value: AGGREGATE.NONE, displayed: true, label: AGGREGATE_LABEL.NONE, shortLabel: AGGREGATE_LABEL.NONE, abbrLabel: AGGREGATE_ABBREVIATION.NONE },
|
|
9
9
|
[AGGREGATE.AVG]: { value: AGGREGATE.AVG, displayed: true, label: AGGREGATE_LABEL.AVG, shortLabel: AGGREGATE_LABEL.AVG, abbrLabel: AGGREGATE_ABBREVIATION.AVG },
|
|
10
10
|
[AGGREGATE.MEDIAN]: { value: AGGREGATE.MEDIAN, displayed: true, label: AGGREGATE_LABEL.MEDIAN, shortLabel: AGGREGATE_LABEL.MEDIAN, abbrLabel: AGGREGATE_ABBREVIATION.MEDIAN },
|
|
File without changes
|