@qrvey/utils 1.2.2 → 1.2.4-10
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 +930 -824
- 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/IBColumn.d.ts +1 -1
- package/dist/cjs/columns/interfaces/IColumn.d.ts +6 -4
- 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/format/format.js +1 -1
- 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 +46 -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/BColumnsToUIColumns.adapter.d.ts +4 -0
- package/dist/cjs/services/adapters/BColumnsToUIColumns.adapter.js +20 -0
- package/dist/cjs/services/adapters/BDatasetsToUIDatasets.adapter.d.ts +3 -0
- package/dist/cjs/services/adapters/BDatasetsToUIDatasets.adapter.js +13 -0
- package/dist/cjs/services/adapters/index.d.ts +2 -0
- package/dist/cjs/services/adapters/index.js +14 -0
- package/dist/cjs/services/api/getDatasetColumns.api.js +2 -1
- package/dist/cjs/services/helpers/Request.d.ts +1 -0
- package/dist/cjs/services/helpers/Request.js +7 -0
- package/dist/cjs/services/index.d.ts +1 -0
- package/dist/cjs/services/index.js +1 -0
- package/dist/columns/constants/COLUMN_INFO.js +2 -1
- package/dist/columns/interfaces/IBColumn.d.ts +1 -1
- package/dist/columns/interfaces/IColumn.d.ts +6 -4
- 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/format/format.js +1 -1
- 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 +46 -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/BColumnsToUIColumns.adapter.d.ts +4 -0
- package/dist/services/adapters/BColumnsToUIColumns.adapter.js +16 -0
- package/dist/services/adapters/BDatasetsToUIDatasets.adapter.d.ts +3 -0
- package/dist/services/adapters/BDatasetsToUIDatasets.adapter.js +9 -0
- package/dist/services/adapters/index.d.ts +2 -0
- package/dist/services/adapters/index.js +2 -0
- package/dist/services/api/getDatasetColumns.api.js +2 -1
- package/dist/services/helpers/Request.d.ts +1 -0
- package/dist/services/helpers/Request.js +7 -0
- package/dist/services/index.d.ts +1 -0
- package/dist/services/index.js +1 -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/IBColumn.ts +1 -1
- package/src/columns/interfaces/IColumn.ts +6 -4
- 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/format/format.ts +1 -1
- 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 +54 -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/BColumnsToUIColumns.adapter.ts +20 -0
- package/src/services/adapters/BDatasetsToUIDatasets.adapter.ts +12 -0
- package/src/services/adapters/index.ts +2 -0
- package/src/services/api/getDatasetColumns.api.ts +2 -2
- package/src/services/helpers/Request.ts +10 -1
- package/src/services/index.ts +1 -0
- package/src/stencil/util/index.ts +1 -1
- package/test/format.test.js +2 -2
- 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,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./I18N_FILTER_BUILDER"), exports);
|
|
14
|
+
__exportStar(require("./I18N_FILTER_VALIDATOR"), exports);
|
|
15
|
+
__exportStar(require("./I18N_FILTER"), exports);
|
|
16
|
+
__exportStar(require("./I18N_SLIDEBAR"), exports);
|
|
17
|
+
__exportStar(require("./I18N_VALUE_CONTAINER"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./columns"), exports);
|
|
14
|
+
__exportStar(require("./common"), exports);
|
|
15
|
+
__exportStar(require("./dashboard"), exports);
|
|
16
|
+
__exportStar(require("./filters"), exports);
|
|
17
|
+
__exportStar(require("./panel"), exports);
|
|
18
|
+
__exportStar(require("./table_charts"), exports);
|
|
19
|
+
__exportStar(require("./I18N_DEFAULT"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.I18N_PANEL = void 0;
|
|
4
|
+
exports.I18N_PANEL = {
|
|
5
|
+
errors: {
|
|
6
|
+
missing_column: 'Missing Column.',
|
|
7
|
+
missing_bucket_column: 'Missing bucket column.',
|
|
8
|
+
missing_formula_column: 'Missing formula column.',
|
|
9
|
+
missing_linked_column: 'Missing linked column.',
|
|
10
|
+
no_data_found: 'No data found.',
|
|
11
|
+
server_error: 'Sever Error.',
|
|
12
|
+
try_again: 'Try Again'
|
|
13
|
+
},
|
|
14
|
+
menu: {
|
|
15
|
+
edit: "Edit",
|
|
16
|
+
download: "Download",
|
|
17
|
+
duplicate: "Duplicate",
|
|
18
|
+
size: "Size",
|
|
19
|
+
delete: "Delete",
|
|
20
|
+
embed_chart: "Embed chart",
|
|
21
|
+
small: "Small",
|
|
22
|
+
medium: "Medium",
|
|
23
|
+
large: "Large",
|
|
24
|
+
jpg: 'JPG',
|
|
25
|
+
pdf: 'PDF',
|
|
26
|
+
csv: 'CSV',
|
|
27
|
+
csv_summary: 'CSV-Summary'
|
|
28
|
+
},
|
|
29
|
+
refresh: "Refresh",
|
|
30
|
+
tooltips: {
|
|
31
|
+
fit_panel: "Fit to panel",
|
|
32
|
+
no_filters: "No filters applied"
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_PANEL';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./I18N_PANEL"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.I18N_TABLE_CHARTS = void 0;
|
|
4
|
+
exports.I18N_TABLE_CHARTS = {
|
|
5
|
+
edit_label: "Edit Label",
|
|
6
|
+
inner_charts: {
|
|
7
|
+
tooltip: {
|
|
8
|
+
end: 'End',
|
|
9
|
+
max: 'Max',
|
|
10
|
+
min: 'Min',
|
|
11
|
+
start: 'Start'
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
pagination: {
|
|
15
|
+
records_per_page: 'Records per page',
|
|
16
|
+
total_records: 'Total records'
|
|
17
|
+
},
|
|
18
|
+
sort: {
|
|
19
|
+
asc: 'Asc',
|
|
20
|
+
desc: 'Desc',
|
|
21
|
+
sorted_by: "Order by",
|
|
22
|
+
multi_column_sort: "Apply Multi-Column Sort",
|
|
23
|
+
select_column: "Select column to sort by",
|
|
24
|
+
no_sorting_applied: "No Sorting Applied",
|
|
25
|
+
no_sorting: "No Sorting"
|
|
26
|
+
},
|
|
27
|
+
sort_tooltip: {
|
|
28
|
+
will_replace: "Selecting this column will replace the '{{column_name}}' sorting"
|
|
29
|
+
},
|
|
30
|
+
total: "total",
|
|
31
|
+
visualization: "Visualization",
|
|
32
|
+
visualization_items: {
|
|
33
|
+
values: "Values",
|
|
34
|
+
bars: "Bars"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './I18N_TABLE_CHARTS';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./I18N_TABLE_CHARTS"), exports);
|
|
@@ -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,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.I18nService = exports.I18nServiceBuilder = void 0;
|
|
16
|
+
const i18next_1 = __importDefault(require("i18next"));
|
|
17
|
+
const mergeDeep_1 = require("../../general/object/mergeDeep");
|
|
18
|
+
class I18nServiceBuilder {
|
|
19
|
+
static buildI18n(i18nDefault, i18nResource) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
return yield this._initI18n(i18nDefault, i18nResource);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
static _initI18n(i18nDefault, i18nResource) {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
if (!i18next_1.default.isInitialized) {
|
|
27
|
+
yield i18next_1.default
|
|
28
|
+
.init({
|
|
29
|
+
lng: 'en',
|
|
30
|
+
debug: true,
|
|
31
|
+
nsSeparator: false,
|
|
32
|
+
keySeparator: '.',
|
|
33
|
+
fallbackLng: false,
|
|
34
|
+
defaultNS: 'translation',
|
|
35
|
+
resources: {
|
|
36
|
+
en: {
|
|
37
|
+
translation: this.setTranslations(i18nDefault, i18nResource),
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return new I18nServiceConcrete(i18next_1.default);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
static setTranslations(i18nDefault, i18nResource) {
|
|
46
|
+
return (0, mergeDeep_1.mergeDeep)(i18nResource, i18nDefault, { mergeExistingValues: false });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.I18nServiceBuilder = I18nServiceBuilder;
|
|
50
|
+
class I18nService {
|
|
51
|
+
}
|
|
52
|
+
exports.I18nService = I18nService;
|
|
53
|
+
class I18nServiceConcrete extends I18nService {
|
|
54
|
+
constructor(i18nInstance) {
|
|
55
|
+
super();
|
|
56
|
+
this._i18next = i18nInstance;
|
|
57
|
+
}
|
|
58
|
+
translate(key, defaultValue) {
|
|
59
|
+
return this._i18next.t(`${key}`, defaultValue);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./i18nextBuilder"), exports);
|
|
14
|
+
__exportStar(require("./initI18n"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.initI18n = void 0;
|
|
13
|
+
const i18nextBuilder_1 = require("../service/i18nextBuilder");
|
|
14
|
+
function initI18n(i18nConfig = {}, i18nDefault = {}) {
|
|
15
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16
|
+
return yield i18nextBuilder_1.I18nServiceBuilder.buildI18n(i18nDefault, i18nConfig);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
exports.initI18n = initI18n;
|
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./charts/index"), exports);
|
|
13
14
|
__exportStar(require("./constants/index"), exports);
|
|
14
15
|
__exportStar(require("./columns/index"), exports);
|
|
15
16
|
__exportStar(require("./dates/index"), exports);
|
|
@@ -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;
|
|
@@ -12,5 +12,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./Chart.Interface"), exports);
|
|
14
14
|
__exportStar(require("./IChartBuilder.Interface"), exports);
|
|
15
|
-
__exportStar(require("./general
|
|
15
|
+
__exportStar(require("./general"), exports);
|
|
16
16
|
__exportStar(require("./Qrvey.Interface"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const CALCULATION_INFO_LIST: import("..").ICalculationInfo[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CALCULATION_INFO_LIST = void 0;
|
|
4
4
|
const CALCULATION_1 = require("./CALCULATION");
|
|
5
5
|
const CALCULATION_INFO_1 = require("./CALCULATION_INFO");
|
|
6
|
-
exports.
|
|
6
|
+
exports.CALCULATION_INFO_LIST = [
|
|
7
7
|
CALCULATION_INFO_1.CALCULATION_INFO[CALCULATION_1.CALCULATION.AVG],
|
|
8
8
|
CALCULATION_INFO_1.CALCULATION_INFO[CALCULATION_1.CALCULATION.SUM],
|
|
9
9
|
CALCULATION_INFO_1.CALCULATION_INFO[CALCULATION_1.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';
|
|
@@ -10,10 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./AGGREGATE_ABBREVIATION"), exports);
|
|
14
|
-
__exportStar(require("./AGGREGATE_INFO"), exports);
|
|
15
|
-
__exportStar(require("./AGGREGATE_LABEL"), exports);
|
|
16
|
-
__exportStar(require("./AGGREGATE"), exports);
|
|
17
13
|
__exportStar(require("./CALCULATION_ABBREVIATION"), exports);
|
|
14
|
+
__exportStar(require("./CALCULATION_INFO_LIST"), exports);
|
|
18
15
|
__exportStar(require("./CALCULATION_LABEL"), exports);
|
|
19
16
|
__exportStar(require("./CALCULATION"), exports);
|
|
@@ -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];
|
|
@@ -10,4 +10,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./IBDataset"), exports);
|
|
14
|
+
__exportStar(require("./ICalculation"), exports);
|
|
15
|
+
__exportStar(require("./ICalculationInfo"), exports);
|
|
16
|
+
__exportStar(require("./ICalculationType"), exports);
|
|
13
17
|
__exportStar(require("./IDataset"), exports);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IBColumn } from "../../columns/interfaces/IBColumn";
|
|
2
|
+
import { IColumn } from "../../columns/interfaces/IColumn";
|
|
3
|
+
import { IBDataset } from "../../qrvey/interfaces/IBDataset";
|
|
4
|
+
export declare function BColumnsToUIColumns(columns?: IBColumn[], dataset?: IBDataset): IColumn[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BColumnsToUIColumns = void 0;
|
|
4
|
+
function BColumnsToUIColumns(columns = [], dataset) {
|
|
5
|
+
return columns.map(column => ({
|
|
6
|
+
bucketid: column.bucketId,
|
|
7
|
+
formulaid: column.formulaId,
|
|
8
|
+
formulaType: column.formulaType,
|
|
9
|
+
geogroup: column.geogroup,
|
|
10
|
+
id: column.id,
|
|
11
|
+
label: column.text,
|
|
12
|
+
linked: column.linked,
|
|
13
|
+
linkid: (dataset === null || dataset === void 0 ? void 0 : dataset.linkid) || column.linkid,
|
|
14
|
+
outputFormat: column.outputFormat,
|
|
15
|
+
property: column.property,
|
|
16
|
+
qrveyid: (dataset === null || dataset === void 0 ? void 0 : dataset.qrveyid) || column.qrveyid,
|
|
17
|
+
type: column.type,
|
|
18
|
+
}));
|
|
19
|
+
}
|
|
20
|
+
exports.BColumnsToUIColumns = BColumnsToUIColumns;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BDatasetsToUIDatasets = void 0;
|
|
4
|
+
const BColumnsToUIColumns_adapter_1 = require("./BColumnsToUIColumns.adapter");
|
|
5
|
+
function BDatasetsToUIDatasets(datasets = []) {
|
|
6
|
+
return datasets.map(dataset => ({
|
|
7
|
+
qrveyid: dataset.qrveyid,
|
|
8
|
+
label: dataset.name,
|
|
9
|
+
linkid: dataset.linkid,
|
|
10
|
+
options: (0, BColumnsToUIColumns_adapter_1.BColumnsToUIColumns)(dataset.options, dataset),
|
|
11
|
+
}));
|
|
12
|
+
}
|
|
13
|
+
exports.BDatasetsToUIDatasets = BDatasetsToUIDatasets;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./BDatasetsToUIDatasets.adapter"), exports);
|
|
14
|
+
__exportStar(require("./BColumnsToUIColumns.adapter"), exports);
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.getDatasetColumns = void 0;
|
|
7
7
|
const CHART_ENDPOINT_1 = require("../constants/CHART_ENDPOINT");
|
|
8
8
|
const Request_1 = __importDefault(require("../helpers/Request"));
|
|
9
|
+
const BDatasetsToUIDatasets_adapter_1 = require("../adapters/BDatasetsToUIDatasets.adapter");
|
|
9
10
|
/**
|
|
10
11
|
* Get a dataset by Qrvey ID
|
|
11
12
|
* @param qrveyid The Qrvey ID
|
|
@@ -16,7 +17,7 @@ function getDatasetColumns(config, qrveyid) {
|
|
|
16
17
|
'optionsAttributes': ['id', 'text', 'type', 'property', 'linked', 'linkid', 'qrveyid', 'bucketId', 'formulaId', 'formulaType', 'geogroup', 'outputFormat'],
|
|
17
18
|
'extend': true
|
|
18
19
|
})
|
|
19
|
-
.then(
|
|
20
|
+
.then(BDatasetsToUIDatasets_adapter_1.BDatasetsToUIDatasets)
|
|
20
21
|
.catch(_e => []);
|
|
21
22
|
}
|
|
22
23
|
exports.getDatasetColumns = getDatasetColumns;
|
|
@@ -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;
|
|
@@ -26,6 +26,9 @@ class Request {
|
|
|
26
26
|
static getQvToken(config) {
|
|
27
27
|
return (0, getAttribute_1.getAttribute)(config, 'qv_token');
|
|
28
28
|
}
|
|
29
|
+
static getTimezoneControl(config) {
|
|
30
|
+
return (0, getAttribute_1.getAttribute)(config, 'timezone_control');
|
|
31
|
+
}
|
|
29
32
|
static hasApiKey(config) {
|
|
30
33
|
return !!this.getApiKey(config);
|
|
31
34
|
}
|
|
@@ -62,6 +65,10 @@ class Request {
|
|
|
62
65
|
cfg.credentials = 'include';
|
|
63
66
|
}
|
|
64
67
|
}
|
|
68
|
+
const timezoneControl = this.getTimezoneControl(reqData.config);
|
|
69
|
+
if (timezoneControl) {
|
|
70
|
+
cfg.headers['q-timezone-control'] = `offset=${timezoneControl};use-client-offset-only`;
|
|
71
|
+
}
|
|
65
72
|
// AbortSignal (https://developers.google.com/web/updates/2017/09/abortable-fetch)
|
|
66
73
|
if (reqData.config && reqData.config.signal) {
|
|
67
74
|
cfg.signal = reqData.config.signal;
|
|
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./adapters/index"), exports);
|
|
13
14
|
__exportStar(require("./api/index"), exports);
|
|
14
15
|
__exportStar(require("./constants/index"), exports);
|
|
15
16
|
__exportStar(require("./helpers/index"), exports);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { COMPOUND_COLUMN_INFO } from "./COMPOUND_COLUMN_INFO";
|
|
2
2
|
import { COLUMN } from "./COLUMN";
|
|
3
3
|
import { COMPLEX_COLUMN_INFO } from "./COMPLEX_COLUMN_INFO";
|
|
4
|
+
import { COLUMN_LABEL } from "./COLUMN_LABEL";
|
|
4
5
|
/**
|
|
5
6
|
* @description Key/array of column property info
|
|
6
7
|
*/
|
|
7
|
-
export const COLUMN_INFO = Object.assign(Object.assign({ [COLUMN.SINGLE_CHOICE]: { label:
|
|
8
|
+
export const COLUMN_INFO = Object.assign(Object.assign({ [COLUMN.SINGLE_CHOICE]: { label: COLUMN_LABEL.SINGLE_CHOICE, shortLabel: 'Single Choice', abbrLabel: 'SC', value: COLUMN.SINGLE_CHOICE, displayed: true }, [COLUMN.MULTIPLE_CHOICE]: { label: COLUMN_LABEL.MULTIPLE_CHOICE, shortLabel: 'Multiple Choice', abbrLabel: 'MC', value: COLUMN.MULTIPLE_CHOICE, displayed: true }, [COLUMN.RATING]: { label: COLUMN_LABEL.RATING, shortLabel: 'Rating', abbrLabel: 'RA', value: COLUMN.RATING, displayed: true }, [COLUMN.YES_NO]: { label: COLUMN_LABEL.YES_NO, shortLabel: 'Yes No', abbrLabel: 'YS', value: COLUMN.YES_NO, displayed: true }, [COLUMN.RANKING]: { label: COLUMN_LABEL.RANKING, shortLabel: 'Ranking', abbrLabel: 'RAN', value: COLUMN.RANKING, displayed: true }, [COLUMN.DATE]: { label: COLUMN_LABEL.DATE, shortLabel: 'Date', abbrLabel: 'DA', value: COLUMN.DATE, displayed: true }, [COLUMN.SLIDEBAR]: { label: COLUMN_LABEL.SLIDEBAR, shortLabel: 'Slidebar', abbrLabel: 'SB', value: COLUMN.SLIDEBAR, displayed: true }, [COLUMN.SIGNATURE]: { label: COLUMN_LABEL.SIGNATURE, shortLabel: 'Signature', abbrLabel: 'SIGN', value: COLUMN.SIGNATURE, displayed: true }, [COLUMN.DROPDOWN]: { label: COLUMN_LABEL.DROPDOWN, shortLabel: 'Dropdown', abbrLabel: 'DD', value: COLUMN.DROPDOWN, displayed: true }, [COLUMN.NUMERIC]: { label: COLUMN_LABEL.NUMERIC, shortLabel: 'Numeric', abbrLabel: 'NUM', value: COLUMN.NUMERIC, displayed: true }, [COLUMN.NUMERICC]: { label: COLUMN_LABEL.NUMERICC, shortLabel: 'Numeric-C', abbrLabel: 'NUMC', value: COLUMN.NUMERICC, displayed: false }, [COLUMN.NUMERICP]: { label: COLUMN_LABEL.NUMERICP, shortLabel: 'Numeric-P', abbrLabel: 'NUMP', value: COLUMN.NUMERICP, displayed: false }, [COLUMN.NUMERICG]: { label: COLUMN_LABEL.NUMERICG, shortLabel: 'Numeric-G', abbrLabel: 'NUMG', value: COLUMN.NUMERICG, displayed: false }, [COLUMN.IMAGE]: { label: COLUMN_LABEL.IMAGE, shortLabel: 'Image', abbrLabel: 'IMG', value: COLUMN.IMAGE, displayed: true }, [COLUMN.EMAIL_FORM]: { label: COLUMN_LABEL.EMAIL_FORM, shortLabel: 'Email', abbrLabel: 'EML', value: COLUMN.EMAIL_FORM, displayed: true }, [COLUMN.PHONE]: { label: COLUMN_LABEL.PHONE, shortLabel: 'Phone', abbrLabel: 'PHN', value: COLUMN.PHONE, displayed: true }, [COLUMN.PASSWORD]: { label: COLUMN_LABEL.PASSWORD, shortLabel: 'Password', abbrLabel: 'PWD', value: COLUMN.PASSWORD, displayed: true }, [COLUMN.CHECKLIST]: { label: COLUMN_LABEL.CHECKLIST, shortLabel: 'Check List', abbrLabel: 'CL', value: COLUMN.CHECKLIST, displayed: false }, [COLUMN.NPS_SCORE]: { label: COLUMN_LABEL.NPS_SCORE, shortLabel: 'NPS Score', abbrLabel: 'NPMS', value: COLUMN.NPS_SCORE, displayed: false }, [COLUMN.NPS_FEEDBACK]: { label: COLUMN_LABEL.NPS_FEEDBACK, shortLabel: 'NPS Feedback', abbrLabel: 'NPSFB', value: COLUMN.NPS_FEEDBACK, displayed: false }, [COLUMN.TEXT_LABEL]: { label: COLUMN_LABEL.TEXT_LABEL, shortLabel: 'Text Label', abbrLabel: 'TL', value: COLUMN.TEXT_LABEL, displayed: true }, [COLUMN.TEXT_CATEGORY]: { label: COLUMN_LABEL.TEXT_CATEGORY, shortLabel: 'Text Category', abbrLabel: 'TC', value: COLUMN.TEXT_CATEGORY, displayed: true }, [COLUMN.LOOKUP]: { label: COLUMN_LABEL.LOOKUP, shortLabel: 'Lookup', abbrLabel: 'LUP', value: COLUMN.LOOKUP, displayed: true }, [COLUMN.HEADLINE]: { label: COLUMN_LABEL.HEADLINE, shortLabel: 'Headline', abbrLabel: 'HL', value: COLUMN.HEADLINE, displayed: false }, [COLUMN.SECTION]: { label: COLUMN_LABEL.SECTION, shortLabel: 'Section', abbrLabel: 'SCN', value: COLUMN.SECTION, displayed: false }, [COLUMN.FORMULA]: { label: COLUMN_LABEL.FORMULA, shortLabel: 'Formula', abbrLabel: 'FML', value: COLUMN.FORMULA, displayed: true }, [COLUMN.AGGREGATED_FORMULA]: { label: COLUMN_LABEL.AGGREGATED_FORMULA, shortLabel: 'Agg Formula', abbrLabel: 'AF', value: COLUMN.AGGREGATED_FORMULA, displayed: true }, [COLUMN.BUCKET]: { label: COLUMN_LABEL.BUCKET, shortLabel: 'Bucket', abbrLabel: 'BCT', value: COLUMN.BUCKET, displayed: true } }, COMPOUND_COLUMN_INFO), COMPLEX_COLUMN_INFO);
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { IColumnCalculationType } from "
|
|
2
|
-
import { IColumnAggregateType } from "./IColumnAggregateType";
|
|
1
|
+
import { IColumnCalculationType } from "../../qrvey/interfaces/ICalculationType";
|
|
3
2
|
import { IDataset } from "../../qrvey/interfaces/IDataset";
|
|
4
3
|
import { IColumnPropertyType } from "./IColumnPropertyType";
|
|
5
4
|
import { IColumnSortingSettings } from "./IColumnSortingSettings";
|
|
6
5
|
import { IBColumn } from "./IBColumn";
|
|
6
|
+
import { IAggregateType } from "../../charts/interfaces/IAggregateType";
|
|
7
7
|
/**
|
|
8
8
|
* Structure for columns used in the App frontend side
|
|
9
9
|
*/
|
|
10
|
-
export interface IColumn extends Omit<IBColumn, "text"> {
|
|
11
|
-
|
|
10
|
+
export interface IColumn extends Omit<IBColumn, "text" | "bucketId" | "formulaId"> {
|
|
11
|
+
bucketid?: string;
|
|
12
|
+
aggregate?: IAggregateType;
|
|
12
13
|
calculation?: IColumnCalculationType;
|
|
13
14
|
dataset?: IDataset;
|
|
15
|
+
formulaid?: string;
|
|
14
16
|
label?: string;
|
|
15
17
|
linkid?: string;
|
|
16
18
|
property?: IColumnPropertyType;
|