@qrvey/utils 1.2.4-8 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +338 -338
- package/dist/charts/helpers/index.d.ts +3 -0
- package/dist/charts/helpers/index.js +3 -0
- package/dist/charts/helpers/isExpandableTableChart.d.ts +1 -0
- package/dist/charts/helpers/isExpandableTableChart.js +4 -0
- package/dist/charts/helpers/isSimpleTableChart.d.ts +1 -0
- package/dist/charts/helpers/isSimpleTableChart.js +5 -0
- package/dist/charts/helpers/isTableChart.d.ts +1 -0
- package/dist/charts/helpers/isTableChart.js +4 -0
- package/dist/cjs/charts/helpers/index.d.ts +3 -0
- package/dist/cjs/{globalization/interfaces → charts/helpers}/index.js +3 -3
- package/dist/cjs/charts/helpers/isExpandableTableChart.d.ts +1 -0
- package/dist/cjs/charts/helpers/isExpandableTableChart.js +8 -0
- package/dist/cjs/charts/helpers/isSimpleTableChart.d.ts +1 -0
- package/dist/cjs/charts/helpers/isSimpleTableChart.js +9 -0
- package/dist/cjs/charts/helpers/isTableChart.d.ts +1 -0
- package/dist/cjs/charts/helpers/isTableChart.js +8 -0
- package/dist/cjs/columns/constants/COLUMN_INFO.js +1 -2
- package/dist/cjs/columns/interfaces/IColumn.d.ts +3 -3
- package/dist/cjs/columns/interfaces/IColumnAggregateType.d.ts +2 -0
- package/dist/cjs/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
- package/dist/cjs/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
- package/dist/cjs/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
- package/dist/cjs/columns/interfaces/index.d.ts +2 -0
- package/dist/cjs/columns/interfaces/index.js +2 -0
- package/dist/cjs/constants/Charts.Const.d.ts +1 -0
- package/dist/cjs/constants/Charts.Const.js +1 -0
- package/dist/cjs/filters/adapters/UIToOldLogic.js +1 -0
- package/dist/cjs/filters/adapters/flatUIToOldLogic.js +3 -2
- package/dist/cjs/filters/adapters/logicToFlatUI.js +1 -1
- package/dist/cjs/filters/helpers/common/getFilterColumnLabel.js +1 -1
- package/dist/cjs/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
- package/dist/cjs/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
- package/dist/cjs/general/object/mergeDeep.js +7 -6
- package/dist/cjs/globalization/filters/FILTER_BUILDER.d.ts +129 -0
- package/dist/cjs/globalization/filters/FILTER_BUILDER.js +37 -0
- package/dist/cjs/globalization/filters/SLIDEBAR.d.ts +8 -0
- package/dist/cjs/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +3 -3
- package/dist/cjs/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
- package/dist/cjs/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +3 -2
- package/dist/cjs/globalization/filters/index.d.ts +3 -0
- package/dist/cjs/{charts → globalization/filters}/index.js +3 -2
- package/dist/cjs/globalization/index.d.ts +1 -3
- package/dist/cjs/globalization/index.js +1 -3
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/interfaces/Qrvey.Interface.d.ts +10 -0
- package/dist/cjs/interfaces/index.d.ts +1 -1
- package/dist/cjs/interfaces/index.js +1 -1
- package/dist/{charts → cjs/qrvey}/constants/AGGREGATE.d.ts +0 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE.js +0 -0
- package/dist/{charts → cjs/qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
- package/dist/cjs/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
- package/dist/cjs/qrvey/constants/AGGREGATE_LABEL.js +15 -0
- 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 +4 -1
- package/dist/cjs/qrvey/constants/index.js +4 -1
- package/dist/{charts/interfaces/IAggregateType.d.ts → cjs/qrvey/interfaces/IAggregate.d.ts} +1 -1
- package/dist/cjs/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
- package/dist/cjs/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
- package/dist/cjs/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
- package/dist/cjs/qrvey/interfaces/index.d.ts +0 -4
- package/dist/cjs/qrvey/interfaces/index.js +0 -4
- package/dist/cjs/services/helpers/Request.js +1 -1
- package/dist/columns/constants/COLUMN_INFO.js +1 -2
- package/dist/columns/interfaces/IColumn.d.ts +3 -3
- package/dist/columns/interfaces/IColumnAggregateType.d.ts +2 -0
- package/dist/{charts/interfaces/IAggregateAbbreviation.js → columns/interfaces/IColumnAggregateType.js} +0 -0
- package/dist/{qrvey/interfaces/ICalculationType.d.ts → columns/interfaces/IColumnCalculationType.d.ts} +1 -1
- package/dist/{charts/interfaces/IAggregateInfo.js → columns/interfaces/IColumnCalculationType.js} +0 -0
- package/dist/columns/interfaces/index.d.ts +2 -0
- package/dist/columns/interfaces/index.js +2 -0
- package/dist/constants/Charts.Const.d.ts +1 -0
- package/dist/constants/Charts.Const.js +1 -0
- package/dist/filters/adapters/UIToOldLogic.js +1 -0
- package/dist/filters/adapters/flatUIToOldLogic.js +3 -2
- package/dist/filters/adapters/logicToFlatUI.js +1 -1
- package/dist/filters/helpers/common/getFilterColumnLabel.js +1 -1
- package/dist/filters/interfaces/builder/IFilterBuilderConfig.d.ts +0 -2
- package/dist/filters/interfaces/panel/IFilterPanelConfig.d.ts +0 -2
- package/dist/general/object/mergeDeep.js +7 -6
- package/dist/globalization/filters/FILTER_BUILDER.d.ts +129 -0
- package/dist/globalization/filters/FILTER_BUILDER.js +34 -0
- package/dist/globalization/filters/SLIDEBAR.d.ts +8 -0
- package/dist/globalization/{labels/filters/I18N_SLIDEBAR.js → filters/SLIDEBAR.js} +2 -2
- package/dist/globalization/filters/VALUES_CONTAINER.d.ts +11 -0
- package/dist/globalization/{labels/filters/I18N_VALUE_CONTAINER.js → filters/VALUES_CONTAINER.js} +2 -1
- package/dist/globalization/filters/index.d.ts +3 -0
- package/dist/globalization/filters/index.js +3 -0
- package/dist/globalization/index.d.ts +1 -3
- package/dist/globalization/index.js +1 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/interfaces/Qrvey.Interface.d.ts +10 -0
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.js +1 -1
- package/dist/{cjs/charts → qrvey}/constants/AGGREGATE.d.ts +0 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE.js +0 -0
- package/dist/{cjs/charts → qrvey}/constants/AGGREGATE_ABBREVIATION.d.ts +0 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.js +0 -0
- package/dist/qrvey/constants/AGGREGATE_INFO.d.ts +5 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE_INFO.js +0 -0
- package/dist/qrvey/constants/AGGREGATE_INFO_LIST.d.ts +1 -0
- package/dist/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.js +0 -0
- package/dist/qrvey/constants/AGGREGATE_LABEL.d.ts +11 -0
- package/dist/qrvey/constants/AGGREGATE_LABEL.js +12 -0
- 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 +4 -1
- package/dist/qrvey/constants/index.js +4 -1
- package/dist/{cjs/charts/interfaces/IAggregateType.d.ts → qrvey/interfaces/IAggregate.d.ts} +1 -1
- package/dist/{charts/interfaces/IAggregateLabel.js → qrvey/interfaces/IAggregate.js} +0 -0
- package/dist/qrvey/interfaces/IAggregateInfo.d.ts +5 -0
- package/dist/{charts/interfaces/IAggregateType.js → qrvey/interfaces/IAggregateInfo.js} +0 -0
- package/dist/qrvey/interfaces/index.d.ts +0 -4
- package/dist/qrvey/interfaces/index.js +0 -4
- package/dist/services/helpers/Request.js +1 -1
- package/package.json +5 -7
- package/src/charts/helpers/index.ts +3 -0
- package/src/charts/helpers/isExpandableTableChart.ts +5 -0
- package/src/charts/helpers/isSimpleTableChart.ts +5 -0
- package/src/charts/helpers/isTableChart.ts +5 -0
- package/src/columns/constants/COLUMN_INFO.ts +28 -29
- package/src/columns/interfaces/IColumn.ts +3 -3
- package/src/columns/interfaces/IColumnAggregateType.ts +3 -0
- package/src/{qrvey/interfaces/ICalculationType.ts → columns/interfaces/IColumnCalculationType.ts} +1 -1
- package/src/columns/interfaces/index.ts +2 -0
- package/src/constants/Charts.Const.ts +1 -0
- package/src/filters/adapters/UIToOldLogic.ts +2 -0
- package/src/filters/adapters/flatUIToOldLogic.ts +4 -2
- package/src/filters/adapters/logicToFlatUI.ts +1 -1
- package/src/filters/helpers/common/getFilterColumnLabel.ts +1 -1
- package/src/filters/interfaces/builder/IFilterBuilderConfig.ts +0 -2
- package/src/filters/interfaces/panel/IFilterPanelConfig.ts +0 -2
- package/src/general/object/mergeDeep.ts +8 -7
- package/src/globalization/filters/FILTER_BUILDER.ts +35 -0
- package/src/globalization/filters/SLIDEBAR.ts +8 -0
- package/src/globalization/{labels/filters/I18N_VALUE_CONTAINER.ts → filters/VALUES_CONTAINER.ts} +2 -3
- package/src/globalization/filters/index.ts +3 -0
- package/src/globalization/index.ts +1 -3
- package/src/index.ts +0 -1
- package/src/interfaces/Qrvey.Interface.ts +11 -0
- package/src/interfaces/index.ts +1 -1
- package/src/{charts → qrvey}/constants/AGGREGATE.ts +0 -0
- package/src/{charts → qrvey}/constants/AGGREGATE_ABBREVIATION.ts +0 -0
- package/src/{charts → qrvey}/constants/AGGREGATE_INFO.ts +2 -2
- package/src/{charts → qrvey}/constants/AGGREGATE_INFO_LIST.ts +0 -0
- package/src/qrvey/constants/AGGREGATE_LABEL.ts +11 -0
- package/src/qrvey/constants/CALCULATION_INFO_LIST.ts +1 -1
- package/src/qrvey/constants/index.ts +4 -1
- package/src/{charts/interfaces/IAggregateType.ts → qrvey/interfaces/IAggregate.ts} +1 -1
- package/src/qrvey/interfaces/IAggregateInfo.ts +7 -0
- package/src/qrvey/interfaces/index.ts +1 -5
- package/src/services/helpers/Request.ts +1 -1
- package/src/stencil/util/index.ts +1 -1
- package/dist/charts/constants/AGGREGATE_INFO.d.ts +0 -5
- package/dist/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
- package/dist/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
- package/dist/charts/constants/AGGREGATE_LABEL.js +0 -12
- package/dist/charts/constants/index.d.ts +0 -5
- package/dist/charts/constants/index.js +0 -5
- package/dist/charts/index.d.ts +0 -2
- package/dist/charts/index.js +0 -2
- package/dist/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
- package/dist/charts/interfaces/IAggregateInfo.d.ts +0 -9
- package/dist/charts/interfaces/IAggregateLabel.d.ts +0 -2
- package/dist/charts/interfaces/index.d.ts +0 -4
- package/dist/charts/interfaces/index.js +0 -4
- package/dist/cjs/charts/constants/AGGREGATE_INFO.d.ts +0 -5
- package/dist/cjs/charts/constants/AGGREGATE_INFO_LIST.d.ts +0 -1
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.d.ts +0 -11
- package/dist/cjs/charts/constants/AGGREGATE_LABEL.js +0 -15
- package/dist/cjs/charts/constants/index.d.ts +0 -5
- package/dist/cjs/charts/constants/index.js +0 -17
- package/dist/cjs/charts/index.d.ts +0 -2
- package/dist/cjs/charts/interfaces/IAggregateAbbreviation.d.ts +0 -2
- package/dist/cjs/charts/interfaces/IAggregateInfo.d.ts +0 -9
- package/dist/cjs/charts/interfaces/IAggregateLabel.d.ts +0 -2
- package/dist/cjs/charts/interfaces/index.d.ts +0 -4
- package/dist/cjs/charts/interfaces/index.js +0 -16
- package/dist/cjs/globalization/interfaces/IResourceI18n.d.ts +0 -14
- package/dist/cjs/globalization/interfaces/IResourceI18n.js +0 -2
- package/dist/cjs/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
- package/dist/cjs/globalization/interfaces/columns/II18nColumn.js +0 -2
- package/dist/cjs/globalization/interfaces/columns/index.d.ts +0 -1
- package/dist/cjs/globalization/interfaces/columns/index.js +0 -13
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
- package/dist/cjs/globalization/interfaces/common/II18nAgreggateLabels.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
- package/dist/cjs/globalization/interfaces/common/II18nColumnTypes.js +0 -2
- package/dist/cjs/globalization/interfaces/common/II18nCommon.d.ts +0 -13
- package/dist/cjs/globalization/interfaces/common/II18nCommon.js +0 -2
- package/dist/cjs/globalization/interfaces/common/index.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/common/index.js +0 -18
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboard.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -2
- package/dist/cjs/globalization/interfaces/dashboard/index.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/dashboard/index.js +0 -16
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/filters/II18nFilter.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilder.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
- package/dist/cjs/globalization/interfaces/filters/II18nFilterValidator.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebar.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/filters/II18nSlidebarValueContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainer.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/cjs/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -2
- package/dist/cjs/globalization/interfaces/filters/index.d.ts +0 -7
- package/dist/cjs/globalization/interfaces/filters/index.js +0 -19
- package/dist/cjs/globalization/interfaces/index.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/panel/II18nPanel.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/panel/II18nPanelErrors.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
- package/dist/cjs/globalization/interfaces/panel/II18nPanelMenu.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/panel/II18nPanelTooltips.js +0 -2
- package/dist/cjs/globalization/interfaces/panel/index.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/panel/index.js +0 -16
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableCharts.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
- package/dist/cjs/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -2
- package/dist/cjs/globalization/interfaces/table_charts/index.d.ts +0 -6
- package/dist/cjs/globalization/interfaces/table_charts/index.js +0 -18
- package/dist/cjs/globalization/labels/I18N_DEFAULT.d.ts +0 -2
- package/dist/cjs/globalization/labels/I18N_DEFAULT.js +0 -17
- package/dist/cjs/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
- package/dist/cjs/globalization/labels/columns/I18N_COLUMN.js +0 -8
- package/dist/cjs/globalization/labels/columns/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/columns/index.js +0 -13
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -15
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
- package/dist/cjs/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -42
- package/dist/cjs/globalization/labels/common/I18N_COMMON.d.ts +0 -2
- package/dist/cjs/globalization/labels/common/I18N_COMMON.js +0 -31
- package/dist/cjs/globalization/labels/common/index.d.ts +0 -3
- package/dist/cjs/globalization/labels/common/index.js +0 -15
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
- package/dist/cjs/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -24
- package/dist/cjs/globalization/labels/dashboard/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/dashboard/index.js +0 -13
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER.js +0 -11
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -27
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -27
- package/dist/cjs/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/cjs/globalization/labels/filters/index.d.ts +0 -5
- package/dist/cjs/globalization/labels/filters/index.js +0 -17
- package/dist/cjs/globalization/labels/index.d.ts +0 -7
- package/dist/cjs/globalization/labels/index.js +0 -19
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
- package/dist/cjs/globalization/labels/panel/I18N_PANEL.js +0 -34
- package/dist/cjs/globalization/labels/panel/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/panel/index.js +0 -13
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
- package/dist/cjs/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -36
- package/dist/cjs/globalization/labels/table_charts/index.d.ts +0 -1
- package/dist/cjs/globalization/labels/table_charts/index.js +0 -13
- package/dist/cjs/globalization/service/i18nextBuilder.d.ts +0 -9
- package/dist/cjs/globalization/service/i18nextBuilder.js +0 -61
- package/dist/cjs/globalization/service/index.d.ts +0 -2
- package/dist/cjs/globalization/service/index.js +0 -14
- package/dist/cjs/globalization/service/initI18n.d.ts +0 -3
- package/dist/cjs/globalization/service/initI18n.js +0 -19
- package/dist/cjs/qrvey/interfaces/ICalculationType.js +0 -2
- package/dist/globalization/interfaces/IResourceI18n.d.ts +0 -14
- package/dist/globalization/interfaces/IResourceI18n.js +0 -1
- package/dist/globalization/interfaces/columns/II18nColumn.d.ts +0 -10
- package/dist/globalization/interfaces/columns/II18nColumn.js +0 -1
- package/dist/globalization/interfaces/columns/index.d.ts +0 -1
- package/dist/globalization/interfaces/columns/index.js +0 -1
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.d.ts +0 -11
- package/dist/globalization/interfaces/common/II18nAgreggateLabels.js +0 -1
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.d.ts +0 -5
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.js +0 -1
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.d.ts +0 -8
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesDefault.js +0 -1
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.d.ts +0 -8
- package/dist/globalization/interfaces/common/II18nChartInfoMessagesTableChart.js +0 -1
- package/dist/globalization/interfaces/common/II18nColumnTypes.d.ts +0 -38
- package/dist/globalization/interfaces/common/II18nColumnTypes.js +0 -1
- package/dist/globalization/interfaces/common/II18nCommon.d.ts +0 -13
- package/dist/globalization/interfaces/common/II18nCommon.js +0 -1
- package/dist/globalization/interfaces/common/index.d.ts +0 -6
- package/dist/globalization/interfaces/common/index.js +0 -6
- package/dist/globalization/interfaces/dashboard/II18nDashboard.d.ts +0 -9
- package/dist/globalization/interfaces/dashboard/II18nDashboard.js +0 -1
- package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.d.ts +0 -5
- package/dist/globalization/interfaces/dashboard/II18nDashboardAddChart.js +0 -1
- package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.d.ts +0 -7
- package/dist/globalization/interfaces/dashboard/II18nDashboardTooltips.js +0 -1
- package/dist/globalization/interfaces/dashboard/II18nDashboardViews.d.ts +0 -6
- package/dist/globalization/interfaces/dashboard/II18nDashboardViews.js +0 -1
- package/dist/globalization/interfaces/dashboard/index.d.ts +0 -4
- package/dist/globalization/interfaces/dashboard/index.js +0 -4
- package/dist/globalization/interfaces/filters/II18nFilter.d.ts +0 -8
- package/dist/globalization/interfaces/filters/II18nFilter.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.d.ts +0 -17
- package/dist/globalization/interfaces/filters/II18nFilterBuilder.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.d.ts +0 -3
- package/dist/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nFilterValidator.d.ts +0 -23
- package/dist/globalization/interfaces/filters/II18nFilterValidator.js +0 -1
- package/dist/globalization/interfaces/filters/II18nSlidebar.d.ts +0 -7
- package/dist/globalization/interfaces/filters/II18nSlidebar.js +0 -1
- package/dist/globalization/interfaces/filters/II18nSlidebarValueContainer.d.ts +0 -3
- package/dist/globalization/interfaces/filters/II18nSlidebarValueContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nValueContainer.d.ts +0 -4
- package/dist/globalization/interfaces/filters/II18nValueContainer.js +0 -1
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInput.js +0 -1
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.d.ts +0 -5
- package/dist/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.js +0 -1
- package/dist/globalization/interfaces/filters/index.d.ts +0 -7
- package/dist/globalization/interfaces/filters/index.js +0 -7
- package/dist/globalization/interfaces/index.d.ts +0 -3
- package/dist/globalization/interfaces/index.js +0 -3
- package/dist/globalization/interfaces/panel/II18nPanel.d.ts +0 -9
- package/dist/globalization/interfaces/panel/II18nPanel.js +0 -1
- package/dist/globalization/interfaces/panel/II18nPanelErrors.d.ts +0 -9
- package/dist/globalization/interfaces/panel/II18nPanelErrors.js +0 -1
- package/dist/globalization/interfaces/panel/II18nPanelMenu.d.ts +0 -15
- package/dist/globalization/interfaces/panel/II18nPanelMenu.js +0 -1
- package/dist/globalization/interfaces/panel/II18nPanelTooltips.d.ts +0 -4
- package/dist/globalization/interfaces/panel/II18nPanelTooltips.js +0 -1
- package/dist/globalization/interfaces/panel/index.d.ts +0 -4
- package/dist/globalization/interfaces/panel/index.js +0 -4
- package/dist/globalization/interfaces/table_charts/II18nTableCharts.d.ts +0 -15
- package/dist/globalization/interfaces/table_charts/II18nTableCharts.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.d.ts +0 -8
- package/dist/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.d.ts +0 -4
- package/dist/globalization/interfaces/table_charts/II18nTableChartsPagination.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.d.ts +0 -9
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSort.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.d.ts +0 -3
- package/dist/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.js +0 -1
- package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.d.ts +0 -4
- package/dist/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.js +0 -1
- package/dist/globalization/interfaces/table_charts/index.d.ts +0 -6
- package/dist/globalization/interfaces/table_charts/index.js +0 -6
- package/dist/globalization/labels/I18N_DEFAULT.d.ts +0 -2
- package/dist/globalization/labels/I18N_DEFAULT.js +0 -14
- package/dist/globalization/labels/columns/I18N_COLUMN.d.ts +0 -2
- package/dist/globalization/labels/columns/I18N_COLUMN.js +0 -5
- package/dist/globalization/labels/columns/index.d.ts +0 -1
- package/dist/globalization/labels/columns/index.js +0 -1
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_AGGREGATE_LABEL.js +0 -12
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.d.ts +0 -38
- package/dist/globalization/labels/common/I18N_COLUMN_LABEL.js +0 -39
- package/dist/globalization/labels/common/I18N_COMMON.d.ts +0 -2
- package/dist/globalization/labels/common/I18N_COMMON.js +0 -28
- package/dist/globalization/labels/common/index.d.ts +0 -3
- package/dist/globalization/labels/common/index.js +0 -3
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.d.ts +0 -2
- package/dist/globalization/labels/dashboard/I18N_DASHBOARD.js +0 -21
- package/dist/globalization/labels/dashboard/index.d.ts +0 -1
- package/dist/globalization/labels/dashboard/index.js +0 -1
- package/dist/globalization/labels/filters/I18N_FILTER.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER.js +0 -8
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER_BUILDER.js +0 -24
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_FILTER_VALIDATOR.js +0 -24
- package/dist/globalization/labels/filters/I18N_SLIDEBAR.d.ts +0 -2
- package/dist/globalization/labels/filters/I18N_VALUE_CONTAINER.d.ts +0 -2
- package/dist/globalization/labels/filters/index.d.ts +0 -5
- package/dist/globalization/labels/filters/index.js +0 -5
- package/dist/globalization/labels/index.d.ts +0 -7
- package/dist/globalization/labels/index.js +0 -7
- package/dist/globalization/labels/panel/I18N_PANEL.d.ts +0 -2
- package/dist/globalization/labels/panel/I18N_PANEL.js +0 -31
- package/dist/globalization/labels/panel/index.d.ts +0 -1
- package/dist/globalization/labels/panel/index.js +0 -1
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.d.ts +0 -2
- package/dist/globalization/labels/table_charts/I18N_TABLE_CHARTS.js +0 -33
- package/dist/globalization/labels/table_charts/index.d.ts +0 -1
- package/dist/globalization/labels/table_charts/index.js +0 -1
- package/dist/globalization/service/i18nextBuilder.d.ts +0 -9
- package/dist/globalization/service/i18nextBuilder.js +0 -53
- package/dist/globalization/service/index.d.ts +0 -2
- package/dist/globalization/service/index.js +0 -2
- package/dist/globalization/service/initI18n.d.ts +0 -3
- package/dist/globalization/service/initI18n.js +0 -15
- package/dist/qrvey/interfaces/ICalculationType.js +0 -1
- package/src/charts/constants/AGGREGATE_LABEL.ts +0 -11
- package/src/charts/constants/index.ts +0 -5
- package/src/charts/index.ts +0 -2
- package/src/charts/interfaces/IAggregateAbbreviation.ts +0 -3
- package/src/charts/interfaces/IAggregateInfo.ts +0 -11
- package/src/charts/interfaces/IAggregateLabel.ts +0 -3
- package/src/charts/interfaces/index.ts +0 -4
- package/src/globalization/interfaces/IResourceI18n.ts +0 -16
- package/src/globalization/interfaces/columns/II18nColumn.ts +0 -7
- package/src/globalization/interfaces/columns/index.ts +0 -1
- package/src/globalization/interfaces/common/II18nAgreggateLabels.ts +0 -11
- package/src/globalization/interfaces/common/II18nChartInfoMessagesCrosstab.ts +0 -5
- package/src/globalization/interfaces/common/II18nChartInfoMessagesDefault.ts +0 -8
- package/src/globalization/interfaces/common/II18nChartInfoMessagesTableChart.ts +0 -8
- package/src/globalization/interfaces/common/II18nColumnTypes.ts +0 -42
- package/src/globalization/interfaces/common/II18nCommon.ts +0 -14
- package/src/globalization/interfaces/common/index.ts +0 -8
- package/src/globalization/interfaces/dashboard/II18nDashboard.ts +0 -10
- package/src/globalization/interfaces/dashboard/II18nDashboardAddChart.ts +0 -5
- package/src/globalization/interfaces/dashboard/II18nDashboardTooltips.ts +0 -7
- package/src/globalization/interfaces/dashboard/II18nDashboardViews.ts +0 -6
- package/src/globalization/interfaces/dashboard/index.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilter.ts +0 -9
- package/src/globalization/interfaces/filters/II18nFilterBuilder.ts +0 -17
- package/src/globalization/interfaces/filters/II18nFilterBuilderColumnSelector.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainer.ts +0 -6
- package/src/globalization/interfaces/filters/II18nFilterBuilderInfoContainerSelection.ts +0 -4
- package/src/globalization/interfaces/filters/II18nFilterBuilderSelectedValuesContainer.ts +0 -3
- package/src/globalization/interfaces/filters/II18nFilterValidator.ts +0 -23
- package/src/globalization/interfaces/filters/II18nSlidebar.ts +0 -8
- package/src/globalization/interfaces/filters/II18nSlidebarValueContainer.ts +0 -3
- package/src/globalization/interfaces/filters/II18nValueContainer.ts +0 -5
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInput.ts +0 -6
- package/src/globalization/interfaces/filters/II18nValueContainerSearchInputEnterValue.ts +0 -5
- package/src/globalization/interfaces/filters/index.ts +0 -7
- package/src/globalization/interfaces/index.ts +0 -3
- package/src/globalization/interfaces/panel/II18nPanel.ts +0 -10
- package/src/globalization/interfaces/panel/II18nPanelErrors.ts +0 -9
- package/src/globalization/interfaces/panel/II18nPanelMenu.ts +0 -15
- package/src/globalization/interfaces/panel/II18nPanelTooltips.ts +0 -4
- package/src/globalization/interfaces/panel/index.ts +0 -4
- package/src/globalization/interfaces/table_charts/II18nTableCharts.ts +0 -16
- package/src/globalization/interfaces/table_charts/II18nTableChartsInnerCharts.ts +0 -8
- package/src/globalization/interfaces/table_charts/II18nTableChartsPagination.ts +0 -4
- package/src/globalization/interfaces/table_charts/II18nTableChartsSort.ts +0 -10
- package/src/globalization/interfaces/table_charts/II18nTableChartsSortTooltip.ts +0 -3
- package/src/globalization/interfaces/table_charts/II18nTableChartsVisualizationItems.ts +0 -5
- package/src/globalization/interfaces/table_charts/index.ts +0 -6
- package/src/globalization/labels/I18N_DEFAULT.ts +0 -16
- package/src/globalization/labels/columns/I18N_COLUMN.ts +0 -9
- package/src/globalization/labels/columns/index.ts +0 -1
- package/src/globalization/labels/common/I18N_AGGREGATE_LABEL.ts +0 -14
- package/src/globalization/labels/common/I18N_COLUMN_LABEL.ts +0 -43
- package/src/globalization/labels/common/I18N_COMMON.ts +0 -30
- package/src/globalization/labels/common/index.ts +0 -5
- package/src/globalization/labels/dashboard/I18N_DASHBOARD.ts +0 -23
- package/src/globalization/labels/dashboard/index.ts +0 -1
- package/src/globalization/labels/filters/I18N_FILTER.ts +0 -10
- package/src/globalization/labels/filters/I18N_FILTER_BUILDER.ts +0 -26
- package/src/globalization/labels/filters/I18N_FILTER_VALIDATOR.ts +0 -27
- package/src/globalization/labels/filters/I18N_SLIDEBAR.ts +0 -10
- package/src/globalization/labels/filters/index.ts +0 -7
- package/src/globalization/labels/index.ts +0 -8
- package/src/globalization/labels/panel/I18N_PANEL.ts +0 -33
- package/src/globalization/labels/panel/index.ts +0 -1
- package/src/globalization/labels/table_charts/I18N_TABLE_CHARTS.ts +0 -35
- package/src/globalization/labels/table_charts/index.ts +0 -1
- package/src/globalization/service/i18nextBuilder.ts +0 -51
- package/src/globalization/service/index.ts +0 -2
- package/src/globalization/service/initI18n.ts +0 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.
|
|
1
|
+
# [@qrvey/utils](https://bitbucket.org/qrvey/qrvey_utils/wiki/Home) *1.2.7*
|
|
2
2
|
|
|
3
3
|
> Helper, Utils for all Qrvey Projects
|
|
4
4
|
|
|
@@ -293,64 +293,6 @@ Output:
|
|
|
293
293
|
|
|
294
294
|
|
|
295
295
|
|
|
296
|
-
### dist/dates/range/getDateRange.js
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
#### getDateRange(value, dateGroupLabel, withTime)
|
|
300
|
-
|
|
301
|
-
Get date range object from a string date value
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
##### Parameters
|
|
307
|
-
|
|
308
|
-
| Name | Type | Description | |
|
|
309
|
-
| ---- | ---- | ----------- | -------- |
|
|
310
|
-
| value | `String` | string date value | |
|
|
311
|
-
| dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' | |
|
|
312
|
-
| withTime | `Boolean` | determines if the date range will include time. Default is true | |
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
##### Examples
|
|
318
|
-
|
|
319
|
-
```javascript
|
|
320
|
-
// 1) Year:
|
|
321
|
-
getDateRange('2020', 'YEAR');
|
|
322
|
-
// Will return:
|
|
323
|
-
{
|
|
324
|
-
from: '01/01/2020 00:00:00',
|
|
325
|
-
to: '12/31/2020 23:59:59'
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
// 2) Quarter:
|
|
329
|
-
getDateRange('Q3 2020', 'QUARTER');
|
|
330
|
-
// Will return:
|
|
331
|
-
{
|
|
332
|
-
from: '07/01/2020 00:00:00',
|
|
333
|
-
to: '09/30/2020 23:59:59'
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
// 3) Month:
|
|
337
|
-
getDateRange('Oct 2020', 'MONTH');
|
|
338
|
-
// Will return:
|
|
339
|
-
{
|
|
340
|
-
from: '10/01/2020 00:00:00',
|
|
341
|
-
to: '10/31/2020 23:59:59'
|
|
342
|
-
}
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
##### Returns
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
- `Object` an object with the date range with two string date properties: from and to
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
296
|
### dist/filters/adapters/FDToFlatUI.js
|
|
355
297
|
|
|
356
298
|
|
|
@@ -1201,6 +1143,64 @@ const filterData = transformFilters(oldPreferenceFilters, 'ANALYZE');
|
|
|
1201
1143
|
|
|
1202
1144
|
|
|
1203
1145
|
|
|
1146
|
+
### dist/dates/range/getDateRange.js
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
#### getDateRange(value, dateGroupLabel, withTime)
|
|
1150
|
+
|
|
1151
|
+
Get date range object from a string date value
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
##### Parameters
|
|
1157
|
+
|
|
1158
|
+
| Name | Type | Description | |
|
|
1159
|
+
| ---- | ---- | ----------- | -------- |
|
|
1160
|
+
| value | `String` | string date value | |
|
|
1161
|
+
| dateGroupLabel | `String` | could be 'YEAR', 'QUARTER', 'MONTH' or 'DAY'. Deafult is 'DAY' | |
|
|
1162
|
+
| withTime | `Boolean` | determines if the date range will include time. Default is true | |
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
##### Examples
|
|
1168
|
+
|
|
1169
|
+
```javascript
|
|
1170
|
+
// 1) Year:
|
|
1171
|
+
getDateRange('2020', 'YEAR');
|
|
1172
|
+
// Will return:
|
|
1173
|
+
{
|
|
1174
|
+
from: '01/01/2020 00:00:00',
|
|
1175
|
+
to: '12/31/2020 23:59:59'
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
// 2) Quarter:
|
|
1179
|
+
getDateRange('Q3 2020', 'QUARTER');
|
|
1180
|
+
// Will return:
|
|
1181
|
+
{
|
|
1182
|
+
from: '07/01/2020 00:00:00',
|
|
1183
|
+
to: '09/30/2020 23:59:59'
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
// 3) Month:
|
|
1187
|
+
getDateRange('Oct 2020', 'MONTH');
|
|
1188
|
+
// Will return:
|
|
1189
|
+
{
|
|
1190
|
+
from: '10/01/2020 00:00:00',
|
|
1191
|
+
to: '10/31/2020 23:59:59'
|
|
1192
|
+
}
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
##### Returns
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
- `Object` an object with the date range with two string date properties: from and to
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
1204
|
### dist/filters/helpers/applyHierarchyForAggFilters.js
|
|
1205
1205
|
|
|
1206
1206
|
|
|
@@ -1511,13 +1511,13 @@ Make sure to only invokes _fn_ at most once per every _time_ milliseconds
|
|
|
1511
1511
|
|
|
1512
1512
|
|
|
1513
1513
|
|
|
1514
|
-
### dist/general/
|
|
1514
|
+
### dist/general/object/cloneDeep.js
|
|
1515
1515
|
|
|
1516
1516
|
|
|
1517
|
-
####
|
|
1517
|
+
#### cloneDeep(obj)
|
|
1518
1518
|
|
|
1519
|
-
|
|
1520
|
-
|
|
1519
|
+
A simple Deep Cloning function. Valid only for primivite values and object with primitive values.
|
|
1520
|
+
Not to use this function with inner objects and functions
|
|
1521
1521
|
|
|
1522
1522
|
|
|
1523
1523
|
|
|
@@ -1526,8 +1526,7 @@ Includes arrays in the comparison.
|
|
|
1526
1526
|
|
|
1527
1527
|
| Name | Type | Description | |
|
|
1528
1528
|
| ---- | ---- | ----------- | -------- |
|
|
1529
|
-
|
|
|
1530
|
-
| object2 | | Second Object to compare | |
|
|
1529
|
+
| obj | | The object | |
|
|
1531
1530
|
|
|
1532
1531
|
|
|
1533
1532
|
|
|
@@ -1535,17 +1534,21 @@ Includes arrays in the comparison.
|
|
|
1535
1534
|
##### Returns
|
|
1536
1535
|
|
|
1537
1536
|
|
|
1538
|
-
-
|
|
1537
|
+
- The new reference object or the given object if the parsing is incorrect or empty
|
|
1539
1538
|
|
|
1540
1539
|
|
|
1541
1540
|
|
|
1542
1541
|
|
|
1543
|
-
### dist/general/
|
|
1542
|
+
### dist/general/object/get.js
|
|
1544
1543
|
|
|
1545
1544
|
|
|
1546
|
-
####
|
|
1545
|
+
#### _get(baseObject, path, defaultValue)
|
|
1547
1546
|
|
|
1548
|
-
|
|
1547
|
+
Like lodash _.get.
|
|
1548
|
+
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
|
|
1549
|
+
|
|
1550
|
+
Empty arrays and empty objects are returned but the defaultValue is not
|
|
1551
|
+
Undefined and null values will return the defaultValue.
|
|
1549
1552
|
|
|
1550
1553
|
|
|
1551
1554
|
|
|
@@ -1554,25 +1557,59 @@ Gets the `toStringTag` of `value`.
|
|
|
1554
1557
|
|
|
1555
1558
|
| Name | Type | Description | |
|
|
1556
1559
|
| ---- | ---- | ----------- | -------- |
|
|
1557
|
-
|
|
|
1560
|
+
| baseObject | | The object to query | |
|
|
1561
|
+
| path | | The string path or collection of string paths of the property to get. | |
|
|
1562
|
+
| defaultValue | | The value returned for undefined resolved values. | |
|
|
1563
|
+
|
|
1558
1564
|
|
|
1559
1565
|
|
|
1560
1566
|
|
|
1567
|
+
##### Examples
|
|
1568
|
+
|
|
1569
|
+
```javascript
|
|
1570
|
+
// returns 'Hello'
|
|
1571
|
+
_get({ item1: 'Hello', item2: 'World' }, 'item1')
|
|
1572
|
+
```
|
|
1573
|
+
```javascript
|
|
1574
|
+
// returns 'A simple Hello'
|
|
1575
|
+
_get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
|
|
1576
|
+
```
|
|
1577
|
+
```javascript
|
|
1578
|
+
// returns 'Hello Again'
|
|
1579
|
+
_get({ item1: { item11: 'Hello Again' }, item2: {} }, 'item1.item11')
|
|
1580
|
+
```
|
|
1581
|
+
```javascript
|
|
1582
|
+
// returns 'Hello 2'
|
|
1583
|
+
_get({ item1: ['Hello 1', 'Hello 2' }, item2: [] }, 'item1[1]')
|
|
1584
|
+
```
|
|
1585
|
+
```javascript
|
|
1586
|
+
// returns 'Hello Again'
|
|
1587
|
+
_get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
1588
|
+
```
|
|
1589
|
+
|
|
1561
1590
|
|
|
1562
1591
|
##### Returns
|
|
1563
1592
|
|
|
1564
1593
|
|
|
1565
|
-
-
|
|
1594
|
+
- the resolved value.
|
|
1566
1595
|
|
|
1567
1596
|
|
|
1568
1597
|
|
|
1569
1598
|
|
|
1570
|
-
### dist/general/
|
|
1599
|
+
### dist/general/object/getAttribute.js
|
|
1571
1600
|
|
|
1572
1601
|
|
|
1573
|
-
####
|
|
1602
|
+
#### getAttribute(obj, key)
|
|
1574
1603
|
|
|
1575
|
-
|
|
1604
|
+
Searchs for properties in different case styles such as: lower, upper, camel and pascal
|
|
1605
|
+
- To optimize the searching, it is required a key in a snake_case style
|
|
1606
|
+
- List of cases that do not match
|
|
1607
|
+
-- From lower to snake case
|
|
1608
|
+
-- From upper to snake case
|
|
1609
|
+
-- From lower to camel case
|
|
1610
|
+
-- From upper to camel case
|
|
1611
|
+
-- From lower to pascal case
|
|
1612
|
+
-- From upper to pascal case
|
|
1576
1613
|
|
|
1577
1614
|
|
|
1578
1615
|
|
|
@@ -1581,12 +1618,8 @@ Import a set of external Scripts given the URL in both serie and cascade way
|
|
|
1581
1618
|
|
|
1582
1619
|
| Name | Type | Description | |
|
|
1583
1620
|
| ---- | ---- | ----------- | -------- |
|
|
1584
|
-
|
|
|
1585
|
-
|
|
|
1586
|
-
| scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | |
|
|
1587
|
-
| scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | |
|
|
1588
|
-
| scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
1589
|
-
| scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | |
|
|
1621
|
+
| obj | `object` | object to look for | |
|
|
1622
|
+
| key | `string` | String attribute in snake_case style | |
|
|
1590
1623
|
|
|
1591
1624
|
|
|
1592
1625
|
|
|
@@ -1594,41 +1627,24 @@ Import a set of external Scripts given the URL in both serie and cascade way
|
|
|
1594
1627
|
##### Examples
|
|
1595
1628
|
|
|
1596
1629
|
```javascript
|
|
1597
|
-
|
|
1598
|
-
|
|
1630
|
+
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
1631
|
+
```
|
|
1599
1632
|
|
|
1600
|
-
// 2) Loading `.js` and `.esm.js` script (parallel loading)
|
|
1601
|
-
importScripts([
|
|
1602
|
-
{ url: 'http://myscript.esm.js', type: 'module' },
|
|
1603
|
-
{ url: 'http://myscript.js', noModule: true }
|
|
1604
|
-
]);
|
|
1605
1633
|
|
|
1606
|
-
|
|
1607
|
-
importScripts([
|
|
1608
|
-
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
|
|
1609
|
-
]);
|
|
1634
|
+
##### Returns
|
|
1610
1635
|
|
|
1611
|
-
// 4) mix
|
|
1612
|
-
importScripts([
|
|
1613
|
-
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
|
|
1614
|
-
{ url: 'http://another.esm.js', type: 'module' },
|
|
1615
|
-
{ url: 'http://another.js', noModule: true },
|
|
1616
|
-
'http://simplescript.js'
|
|
1617
|
-
]);
|
|
1618
|
-
```
|
|
1619
1636
|
|
|
1637
|
+
- `Void`
|
|
1620
1638
|
|
|
1621
|
-
##### Returns
|
|
1622
1639
|
|
|
1623
1640
|
|
|
1624
|
-
- `Promise` Promise when all script have been loaded
|
|
1625
1641
|
|
|
1642
|
+
### dist/general/object/hasProperty.js
|
|
1626
1643
|
|
|
1627
1644
|
|
|
1628
|
-
####
|
|
1645
|
+
#### _hasProperty(obj, property)
|
|
1629
1646
|
|
|
1630
|
-
|
|
1631
|
-
return a Promise that is resolved when the script is loaded
|
|
1647
|
+
Use the hasOwnProperty in order to verify if the given property exists in the object.
|
|
1632
1648
|
|
|
1633
1649
|
|
|
1634
1650
|
|
|
@@ -1637,27 +1653,38 @@ return a Promise that is resolved when the script is loaded
|
|
|
1637
1653
|
|
|
1638
1654
|
| Name | Type | Description | |
|
|
1639
1655
|
| ---- | ---- | ----------- | -------- |
|
|
1640
|
-
|
|
|
1641
|
-
|
|
|
1642
|
-
| noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
1656
|
+
| obj | `object` | an object | |
|
|
1657
|
+
| property | `string` | String to verify if exists in the object as property | |
|
|
1643
1658
|
|
|
1644
1659
|
|
|
1645
1660
|
|
|
1646
1661
|
|
|
1662
|
+
##### Examples
|
|
1663
|
+
|
|
1664
|
+
```javascript
|
|
1665
|
+
const prop = 'prop2'
|
|
1666
|
+
const obj1 = { prop1: 'hello', prop2: 'world'}
|
|
1667
|
+
_hasProperty(ob1, prop1) // true
|
|
1668
|
+
|
|
1669
|
+
const obj2 = { prop1: 'hello world' }
|
|
1670
|
+
_hasProperty(ob1, prop2) // false
|
|
1671
|
+
```
|
|
1672
|
+
|
|
1673
|
+
|
|
1647
1674
|
##### Returns
|
|
1648
1675
|
|
|
1649
1676
|
|
|
1650
|
-
-
|
|
1677
|
+
- True if the object has the given property; otherwise, false.
|
|
1651
1678
|
|
|
1652
1679
|
|
|
1653
1680
|
|
|
1654
1681
|
|
|
1655
|
-
### dist/general/
|
|
1682
|
+
### dist/general/object/isObject.js
|
|
1656
1683
|
|
|
1657
1684
|
|
|
1658
|
-
####
|
|
1685
|
+
#### isObject(obj)
|
|
1659
1686
|
|
|
1660
|
-
|
|
1687
|
+
Checks if the given argument is an object type
|
|
1661
1688
|
|
|
1662
1689
|
|
|
1663
1690
|
|
|
@@ -1666,8 +1693,7 @@ Validates if the given argument is empty
|
|
|
1666
1693
|
|
|
1667
1694
|
| Name | Type | Description | |
|
|
1668
1695
|
| ---- | ---- | ----------- | -------- |
|
|
1669
|
-
|
|
|
1670
|
-
| includeFalsy | | flag to determine include the falsy variables into the validation | |
|
|
1696
|
+
| obj | | the variable to check | |
|
|
1671
1697
|
|
|
1672
1698
|
|
|
1673
1699
|
|
|
@@ -1675,18 +1701,18 @@ Validates if the given argument is empty
|
|
|
1675
1701
|
##### Returns
|
|
1676
1702
|
|
|
1677
1703
|
|
|
1678
|
-
-
|
|
1704
|
+
- True: It is an object; False: It is not.
|
|
1679
1705
|
|
|
1680
1706
|
|
|
1681
1707
|
|
|
1682
1708
|
|
|
1683
|
-
### dist/general/
|
|
1709
|
+
### dist/general/object/mapValues.js
|
|
1684
1710
|
|
|
1685
1711
|
|
|
1686
|
-
####
|
|
1712
|
+
#### mapValues(baseObject, iteratee)
|
|
1687
1713
|
|
|
1688
|
-
|
|
1689
|
-
|
|
1714
|
+
Invoke iteratee (function) for each object key-value pair
|
|
1715
|
+
and return a mapped object
|
|
1690
1716
|
|
|
1691
1717
|
|
|
1692
1718
|
|
|
@@ -1695,7 +1721,8 @@ useful to avoid falsify validating Number Zero (0)
|
|
|
1695
1721
|
|
|
1696
1722
|
| Name | Type | Description | |
|
|
1697
1723
|
| ---- | ---- | ----------- | -------- |
|
|
1698
|
-
|
|
|
1724
|
+
| baseObject | `Object` | Base object. | |
|
|
1725
|
+
| iteratee | `Function` | The executed per iteration. | |
|
|
1699
1726
|
|
|
1700
1727
|
|
|
1701
1728
|
|
|
@@ -1703,19 +1730,18 @@ useful to avoid falsify validating Number Zero (0)
|
|
|
1703
1730
|
##### Returns
|
|
1704
1731
|
|
|
1705
1732
|
|
|
1706
|
-
- `
|
|
1733
|
+
- `Object` New mapped object.
|
|
1707
1734
|
|
|
1708
1735
|
|
|
1709
1736
|
|
|
1710
1737
|
|
|
1711
|
-
### dist/general/
|
|
1738
|
+
### dist/general/object/mergeDeep.js
|
|
1712
1739
|
|
|
1713
1740
|
|
|
1714
|
-
####
|
|
1741
|
+
#### mergeDeep(obj1, obj2, settings)
|
|
1715
1742
|
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
- If the optional second given argument is passed the random string is permutated.
|
|
1743
|
+
Merges two objects into a new one.
|
|
1744
|
+
The second given argument to the first given argument.
|
|
1719
1745
|
|
|
1720
1746
|
|
|
1721
1747
|
|
|
@@ -1724,8 +1750,9 @@ Creates a random string
|
|
|
1724
1750
|
|
|
1725
1751
|
| Name | Type | Description | |
|
|
1726
1752
|
| ---- | ---- | ----------- | -------- |
|
|
1727
|
-
|
|
|
1728
|
-
|
|
|
1753
|
+
| obj1 | | The target object | |
|
|
1754
|
+
| obj2 | | The object to be merged | |
|
|
1755
|
+
| settings | | Object settings for this function | |
|
|
1729
1756
|
|
|
1730
1757
|
|
|
1731
1758
|
|
|
@@ -1733,19 +1760,13 @@ Creates a random string
|
|
|
1733
1760
|
##### Returns
|
|
1734
1761
|
|
|
1735
1762
|
|
|
1736
|
-
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1763
|
+
- a new merged object
|
|
1740
1764
|
|
|
1741
|
-
### dist/general/mix/size.js
|
|
1742
1765
|
|
|
1743
1766
|
|
|
1744
|
-
####
|
|
1767
|
+
#### isValid(obj1, obj2)
|
|
1745
1768
|
|
|
1746
|
-
|
|
1747
|
-
- Useful for Object, Array and string type.
|
|
1748
|
-
- For `null` or `undefined` or else argument the returned value will be 0.
|
|
1769
|
+
Validates if the two arguments are objects
|
|
1749
1770
|
|
|
1750
1771
|
|
|
1751
1772
|
|
|
@@ -1754,7 +1775,8 @@ Gets the length of the given array.
|
|
|
1754
1775
|
|
|
1755
1776
|
| Name | Type | Description | |
|
|
1756
1777
|
| ---- | ---- | ----------- | -------- |
|
|
1757
|
-
|
|
|
1778
|
+
| obj1 | | The target object | |
|
|
1779
|
+
| obj2 | | The object to be merged | |
|
|
1758
1780
|
|
|
1759
1781
|
|
|
1760
1782
|
|
|
@@ -1762,18 +1784,13 @@ Gets the length of the given array.
|
|
|
1762
1784
|
##### Returns
|
|
1763
1785
|
|
|
1764
1786
|
|
|
1765
|
-
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1787
|
+
- true: they are valid; false: they are not
|
|
1769
1788
|
|
|
1770
|
-
### dist/general/object/cloneDeep.js
|
|
1771
1789
|
|
|
1772
1790
|
|
|
1773
|
-
####
|
|
1791
|
+
#### getParamsToMergeDeep(settings)
|
|
1774
1792
|
|
|
1775
|
-
|
|
1776
|
-
Not to use this function with inner objects and functions
|
|
1793
|
+
Validates and gets the settings with all set parameters.
|
|
1777
1794
|
|
|
1778
1795
|
|
|
1779
1796
|
|
|
@@ -1782,7 +1799,7 @@ Not to use this function with inner objects and functions
|
|
|
1782
1799
|
|
|
1783
1800
|
| Name | Type | Description | |
|
|
1784
1801
|
| ---- | ---- | ----------- | -------- |
|
|
1785
|
-
|
|
|
1802
|
+
| settings | | the settings object | |
|
|
1786
1803
|
|
|
1787
1804
|
|
|
1788
1805
|
|
|
@@ -1790,21 +1807,17 @@ Not to use this function with inner objects and functions
|
|
|
1790
1807
|
##### Returns
|
|
1791
1808
|
|
|
1792
1809
|
|
|
1793
|
-
-
|
|
1794
|
-
|
|
1810
|
+
- a new settings object with all set parameters.
|
|
1795
1811
|
|
|
1796
1812
|
|
|
1797
1813
|
|
|
1798
|
-
### dist/general/object/get.js
|
|
1799
1814
|
|
|
1815
|
+
### dist/general/object/objectCopy.js
|
|
1800
1816
|
|
|
1801
|
-
#### _get(baseObject, path, defaultValue)
|
|
1802
1817
|
|
|
1803
|
-
|
|
1804
|
-
Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.
|
|
1818
|
+
#### objectCopy(entity, cache)
|
|
1805
1819
|
|
|
1806
|
-
|
|
1807
|
-
Undefined and null values will return the defaultValue.
|
|
1820
|
+
Created a new reference of the given argument
|
|
1808
1821
|
|
|
1809
1822
|
|
|
1810
1823
|
|
|
@@ -1813,59 +1826,26 @@ Undefined and null values will return the defaultValue.
|
|
|
1813
1826
|
|
|
1814
1827
|
| Name | Type | Description | |
|
|
1815
1828
|
| ---- | ---- | ----------- | -------- |
|
|
1816
|
-
|
|
|
1817
|
-
|
|
|
1818
|
-
| defaultValue | | The value returned for undefined resolved values. | |
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1829
|
+
| entity | | The variable to be copied | |
|
|
1830
|
+
| cache | | | |
|
|
1822
1831
|
|
|
1823
|
-
##### Examples
|
|
1824
1832
|
|
|
1825
|
-
```javascript
|
|
1826
|
-
// returns 'Hello'
|
|
1827
|
-
_get({ item1: 'Hello', item2: 'World' }, 'item1')
|
|
1828
|
-
```
|
|
1829
|
-
```javascript
|
|
1830
|
-
// returns 'A simple Hello'
|
|
1831
|
-
_get({ item1: 'Hello', item2: 'World' }, 'item3', 'A simple Hello')
|
|
1832
|
-
```
|
|
1833
|
-
```javascript
|
|
1834
|
-
// returns 'Hello Again'
|
|
1835
|
-
_get({ item1: { item11: 'Hello Again' }, item2: {} }, 'item1.item11')
|
|
1836
|
-
```
|
|
1837
|
-
```javascript
|
|
1838
|
-
// returns 'Hello 2'
|
|
1839
|
-
_get({ item1: ['Hello 1', 'Hello 2' }, item2: [] }, 'item1[1]')
|
|
1840
|
-
```
|
|
1841
|
-
```javascript
|
|
1842
|
-
// returns 'Hello Again'
|
|
1843
|
-
_get({ item1: { item11: 'Hello Again' }, item2: {} }, ['item1', 'item11'])
|
|
1844
|
-
```
|
|
1845
1833
|
|
|
1846
1834
|
|
|
1847
1835
|
##### Returns
|
|
1848
1836
|
|
|
1849
1837
|
|
|
1850
|
-
- the
|
|
1838
|
+
- A new reference of the given argument
|
|
1851
1839
|
|
|
1852
1840
|
|
|
1853
1841
|
|
|
1854
1842
|
|
|
1855
|
-
### dist/general/object/
|
|
1843
|
+
### dist/general/object/omit.js
|
|
1856
1844
|
|
|
1857
1845
|
|
|
1858
|
-
####
|
|
1846
|
+
#### omit(obj, props)
|
|
1859
1847
|
|
|
1860
|
-
|
|
1861
|
-
- To optimize the searching, it is required a key in a snake_case style
|
|
1862
|
-
- List of cases that do not match
|
|
1863
|
-
-- From lower to snake case
|
|
1864
|
-
-- From upper to snake case
|
|
1865
|
-
-- From lower to camel case
|
|
1866
|
-
-- From upper to camel case
|
|
1867
|
-
-- From lower to pascal case
|
|
1868
|
-
-- From upper to pascal case
|
|
1848
|
+
return a new Object excluding attributes in _props_ list
|
|
1869
1849
|
|
|
1870
1850
|
|
|
1871
1851
|
|
|
@@ -1874,33 +1854,26 @@ Searchs for properties in different case styles such as: lower, upper, camel and
|
|
|
1874
1854
|
|
|
1875
1855
|
| Name | Type | Description | |
|
|
1876
1856
|
| ---- | ---- | ----------- | -------- |
|
|
1877
|
-
| obj | `
|
|
1878
|
-
|
|
|
1879
|
-
|
|
1857
|
+
| obj | `Object` | base object | |
|
|
1858
|
+
| props | `Array.<String>` | list of attribute to exclude | |
|
|
1880
1859
|
|
|
1881
1860
|
|
|
1882
1861
|
|
|
1883
|
-
##### Examples
|
|
1884
|
-
|
|
1885
|
-
```javascript
|
|
1886
|
-
getAttribute(obj, 'snake_case') //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
1887
|
-
```
|
|
1888
|
-
|
|
1889
1862
|
|
|
1890
1863
|
##### Returns
|
|
1891
1864
|
|
|
1892
1865
|
|
|
1893
|
-
- `
|
|
1866
|
+
- `Object` clean object
|
|
1894
1867
|
|
|
1895
1868
|
|
|
1896
1869
|
|
|
1897
1870
|
|
|
1898
|
-
### dist/general/object/
|
|
1871
|
+
### dist/general/object/pick.js
|
|
1899
1872
|
|
|
1900
1873
|
|
|
1901
|
-
####
|
|
1874
|
+
#### pick(baseObject, keys)
|
|
1902
1875
|
|
|
1903
|
-
|
|
1876
|
+
return a new object just with attributes in _keys_ list
|
|
1904
1877
|
|
|
1905
1878
|
|
|
1906
1879
|
|
|
@@ -1909,38 +1882,26 @@ Use the hasOwnProperty in order to verify if the given property exists in the ob
|
|
|
1909
1882
|
|
|
1910
1883
|
| Name | Type | Description | |
|
|
1911
1884
|
| ---- | ---- | ----------- | -------- |
|
|
1912
|
-
|
|
|
1913
|
-
|
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
##### Examples
|
|
1885
|
+
| baseObject | `Object` | base object | |
|
|
1886
|
+
| keys | `Array.<String>` | list of attributes to preserve | |
|
|
1919
1887
|
|
|
1920
|
-
```javascript
|
|
1921
|
-
const prop = 'prop2'
|
|
1922
|
-
const obj1 = { prop1: 'hello', prop2: 'world'}
|
|
1923
|
-
_hasProperty(ob1, prop1) // true
|
|
1924
1888
|
|
|
1925
|
-
const obj2 = { prop1: 'hello world' }
|
|
1926
|
-
_hasProperty(ob1, prop2) // false
|
|
1927
|
-
```
|
|
1928
1889
|
|
|
1929
1890
|
|
|
1930
1891
|
##### Returns
|
|
1931
1892
|
|
|
1932
1893
|
|
|
1933
|
-
-
|
|
1894
|
+
- `Object` new object just with desired attributes
|
|
1934
1895
|
|
|
1935
1896
|
|
|
1936
1897
|
|
|
1937
1898
|
|
|
1938
|
-
### dist/general/object/
|
|
1899
|
+
### dist/general/object/serialize.js
|
|
1939
1900
|
|
|
1940
1901
|
|
|
1941
|
-
####
|
|
1902
|
+
#### serialize(obj)
|
|
1942
1903
|
|
|
1943
|
-
|
|
1904
|
+
serialize object to url param
|
|
1944
1905
|
|
|
1945
1906
|
|
|
1946
1907
|
|
|
@@ -1949,7 +1910,7 @@ Checks if the given argument is an object type
|
|
|
1949
1910
|
|
|
1950
1911
|
| Name | Type | Description | |
|
|
1951
1912
|
| ---- | ---- | ----------- | -------- |
|
|
1952
|
-
| obj | |
|
|
1913
|
+
| obj | | - Object to be serialized | |
|
|
1953
1914
|
|
|
1954
1915
|
|
|
1955
1916
|
|
|
@@ -1957,18 +1918,18 @@ Checks if the given argument is an object type
|
|
|
1957
1918
|
##### Returns
|
|
1958
1919
|
|
|
1959
1920
|
|
|
1960
|
-
-
|
|
1921
|
+
- `Void`
|
|
1961
1922
|
|
|
1962
1923
|
|
|
1963
1924
|
|
|
1964
1925
|
|
|
1965
|
-
### dist/general/
|
|
1926
|
+
### dist/general/mix/compareDeep.js
|
|
1966
1927
|
|
|
1967
1928
|
|
|
1968
|
-
####
|
|
1929
|
+
#### compareDeep(object1, object2)
|
|
1969
1930
|
|
|
1970
|
-
|
|
1971
|
-
|
|
1931
|
+
Compares two objects to know if they are equals. Go across nested objects.
|
|
1932
|
+
Includes arrays in the comparison.
|
|
1972
1933
|
|
|
1973
1934
|
|
|
1974
1935
|
|
|
@@ -1977,8 +1938,8 @@ and return a mapped object
|
|
|
1977
1938
|
|
|
1978
1939
|
| Name | Type | Description | |
|
|
1979
1940
|
| ---- | ---- | ----------- | -------- |
|
|
1980
|
-
|
|
|
1981
|
-
|
|
|
1941
|
+
| object1 | | First Object to compare | |
|
|
1942
|
+
| object2 | | Second Object to compare | |
|
|
1982
1943
|
|
|
1983
1944
|
|
|
1984
1945
|
|
|
@@ -1986,18 +1947,17 @@ and return a mapped object
|
|
|
1986
1947
|
##### Returns
|
|
1987
1948
|
|
|
1988
1949
|
|
|
1989
|
-
-
|
|
1950
|
+
- True: objects are equal. False: Objects are not equal. Undefined: invalid
|
|
1990
1951
|
|
|
1991
1952
|
|
|
1992
1953
|
|
|
1993
1954
|
|
|
1994
|
-
### dist/general/
|
|
1955
|
+
### dist/general/mix/getTag.js
|
|
1995
1956
|
|
|
1996
1957
|
|
|
1997
|
-
####
|
|
1958
|
+
#### getTag(value)
|
|
1998
1959
|
|
|
1999
|
-
|
|
2000
|
-
The second given argument to the first given argument.
|
|
1960
|
+
Gets the `toStringTag` of `value`.
|
|
2001
1961
|
|
|
2002
1962
|
|
|
2003
1963
|
|
|
@@ -2006,9 +1966,7 @@ The second given argument to the first given argument.
|
|
|
2006
1966
|
|
|
2007
1967
|
| Name | Type | Description | |
|
|
2008
1968
|
| ---- | ---- | ----------- | -------- |
|
|
2009
|
-
|
|
|
2010
|
-
| obj2 | | The object to be merged | |
|
|
2011
|
-
| settings | | Object settings for this function | |
|
|
1969
|
+
| value | | The value to query. | |
|
|
2012
1970
|
|
|
2013
1971
|
|
|
2014
1972
|
|
|
@@ -2016,13 +1974,17 @@ The second given argument to the first given argument.
|
|
|
2016
1974
|
##### Returns
|
|
2017
1975
|
|
|
2018
1976
|
|
|
2019
|
-
-
|
|
1977
|
+
- `string` Returns the `toStringTag`.
|
|
2020
1978
|
|
|
2021
1979
|
|
|
2022
1980
|
|
|
2023
|
-
#### isValid(obj1, obj2)
|
|
2024
1981
|
|
|
2025
|
-
|
|
1982
|
+
### dist/general/mix/importScripts.js
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
#### importScripts(scripts)
|
|
1986
|
+
|
|
1987
|
+
Import a set of external Scripts given the URL in both serie and cascade way
|
|
2026
1988
|
|
|
2027
1989
|
|
|
2028
1990
|
|
|
@@ -2031,22 +1993,54 @@ Validates if the two arguments are objects
|
|
|
2031
1993
|
|
|
2032
1994
|
| Name | Type | Description | |
|
|
2033
1995
|
| ---- | ---- | ----------- | -------- |
|
|
2034
|
-
|
|
|
2035
|
-
|
|
|
1996
|
+
| scripts | `Array.<String>` `Array.<Object>` | can be an array of string or an array of object with the follow structure: | |
|
|
1997
|
+
| scripts.url | `String` | CDN URL | |
|
|
1998
|
+
| scripts.namespace | `String` `Function` | (Optional) if is a String, that name is evaluated on Window[namespace] object otherwise the Function is invoked expecting a Thrutly value | |
|
|
1999
|
+
| scripts.type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | |
|
|
2000
|
+
| scripts.noModule | `Boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
2001
|
+
| scripts.dependencies | `Array.<Object>` | an array with the same structure to load in cascade mode | |
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
##### Examples
|
|
2007
|
+
|
|
2008
|
+
```javascript
|
|
2009
|
+
// 1) Simple script (paralell loading)
|
|
2010
|
+
importScripts(['http://myscript.js', 'http://another.js']);
|
|
2011
|
+
|
|
2012
|
+
// 2) Loading `.js` and `.esm.js` script (parallel loading)
|
|
2013
|
+
importScripts([
|
|
2014
|
+
{ url: 'http://myscript.esm.js', type: 'module' },
|
|
2015
|
+
{ url: 'http://myscript.js', noModule: true }
|
|
2016
|
+
]);
|
|
2036
2017
|
|
|
2018
|
+
// 3) import dependent scripts (cascade)
|
|
2019
|
+
importScripts([
|
|
2020
|
+
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] }
|
|
2021
|
+
]);
|
|
2037
2022
|
|
|
2023
|
+
// 4) mix
|
|
2024
|
+
importScripts([
|
|
2025
|
+
{ url: 'http://myscript.js', dependencies: ['http://myscript.plugin.js'] },
|
|
2026
|
+
{ url: 'http://another.esm.js', type: 'module' },
|
|
2027
|
+
{ url: 'http://another.js', noModule: true },
|
|
2028
|
+
'http://simplescript.js'
|
|
2029
|
+
]);
|
|
2030
|
+
```
|
|
2038
2031
|
|
|
2039
2032
|
|
|
2040
2033
|
##### Returns
|
|
2041
2034
|
|
|
2042
2035
|
|
|
2043
|
-
-
|
|
2036
|
+
- `Promise` Promise when all script have been loaded
|
|
2044
2037
|
|
|
2045
2038
|
|
|
2046
2039
|
|
|
2047
|
-
####
|
|
2040
|
+
#### loadScript(url, type, noModule)
|
|
2048
2041
|
|
|
2049
|
-
|
|
2042
|
+
Creates the script element and appends to document.head
|
|
2043
|
+
return a Promise that is resolved when the script is loaded
|
|
2050
2044
|
|
|
2051
2045
|
|
|
2052
2046
|
|
|
@@ -2055,7 +2049,9 @@ Validates and gets the settings with all set parameters.
|
|
|
2055
2049
|
|
|
2056
2050
|
| Name | Type | Description | |
|
|
2057
2051
|
| ---- | ---- | ----------- | -------- |
|
|
2058
|
-
|
|
|
2052
|
+
| url | `String` | Cdn Url | |
|
|
2053
|
+
| type | `String` | (Optional) it could be `module` of `text/javascript`. Default `text/javascript` | |
|
|
2054
|
+
| noModule | `boolean` | (Optional) add `momodule` attribute to script tag. Default `false` | |
|
|
2059
2055
|
|
|
2060
2056
|
|
|
2061
2057
|
|
|
@@ -2063,17 +2059,17 @@ Validates and gets the settings with all set parameters.
|
|
|
2063
2059
|
##### Returns
|
|
2064
2060
|
|
|
2065
2061
|
|
|
2066
|
-
-
|
|
2062
|
+
- `Void`
|
|
2067
2063
|
|
|
2068
2064
|
|
|
2069
2065
|
|
|
2070
2066
|
|
|
2071
|
-
### dist/general/
|
|
2067
|
+
### dist/general/mix/isEmpty.js
|
|
2072
2068
|
|
|
2073
2069
|
|
|
2074
|
-
####
|
|
2070
|
+
#### isEmpty(variable, includeFalsy)
|
|
2075
2071
|
|
|
2076
|
-
|
|
2072
|
+
Validates if the given argument is empty
|
|
2077
2073
|
|
|
2078
2074
|
|
|
2079
2075
|
|
|
@@ -2082,8 +2078,8 @@ Created a new reference of the given argument
|
|
|
2082
2078
|
|
|
2083
2079
|
| Name | Type | Description | |
|
|
2084
2080
|
| ---- | ---- | ----------- | -------- |
|
|
2085
|
-
|
|
|
2086
|
-
|
|
|
2081
|
+
| variable | | the given variable | |
|
|
2082
|
+
| includeFalsy | | flag to determine include the falsy variables into the validation | |
|
|
2087
2083
|
|
|
2088
2084
|
|
|
2089
2085
|
|
|
@@ -2091,17 +2087,18 @@ Created a new reference of the given argument
|
|
|
2091
2087
|
##### Returns
|
|
2092
2088
|
|
|
2093
2089
|
|
|
2094
|
-
-
|
|
2090
|
+
- true: the given argument is empty; false: is not.
|
|
2095
2091
|
|
|
2096
2092
|
|
|
2097
2093
|
|
|
2098
2094
|
|
|
2099
|
-
### dist/general/
|
|
2095
|
+
### dist/general/mix/isNull.js
|
|
2100
2096
|
|
|
2101
2097
|
|
|
2102
|
-
####
|
|
2098
|
+
#### isNull(arg)
|
|
2103
2099
|
|
|
2104
|
-
return a
|
|
2100
|
+
return if a given variable is either `null` or `undefined`
|
|
2101
|
+
useful to avoid falsify validating Number Zero (0)
|
|
2105
2102
|
|
|
2106
2103
|
|
|
2107
2104
|
|
|
@@ -2110,8 +2107,7 @@ return a new Object excluding attributes in _props_ list
|
|
|
2110
2107
|
|
|
2111
2108
|
| Name | Type | Description | |
|
|
2112
2109
|
| ---- | ---- | ----------- | -------- |
|
|
2113
|
-
|
|
|
2114
|
-
| props | `Array.<String>` | list of attribute to exclude | |
|
|
2110
|
+
| arg | `any` | | |
|
|
2115
2111
|
|
|
2116
2112
|
|
|
2117
2113
|
|
|
@@ -2119,17 +2115,19 @@ return a new Object excluding attributes in _props_ list
|
|
|
2119
2115
|
##### Returns
|
|
2120
2116
|
|
|
2121
2117
|
|
|
2122
|
-
- `
|
|
2118
|
+
- `Boolean`
|
|
2123
2119
|
|
|
2124
2120
|
|
|
2125
2121
|
|
|
2126
2122
|
|
|
2127
|
-
### dist/general/
|
|
2123
|
+
### dist/general/mix/randomId.js
|
|
2128
2124
|
|
|
2129
2125
|
|
|
2130
|
-
####
|
|
2126
|
+
#### randomId(length, exclude)
|
|
2131
2127
|
|
|
2132
|
-
|
|
2128
|
+
Creates a random string
|
|
2129
|
+
- If the first given argument is different than a length number, the variable is replaced by a default number
|
|
2130
|
+
- If the optional second given argument is passed the random string is permutated.
|
|
2133
2131
|
|
|
2134
2132
|
|
|
2135
2133
|
|
|
@@ -2138,8 +2136,8 @@ return a new object just with attributes in _keys_ list
|
|
|
2138
2136
|
|
|
2139
2137
|
| Name | Type | Description | |
|
|
2140
2138
|
| ---- | ---- | ----------- | -------- |
|
|
2141
|
-
|
|
|
2142
|
-
|
|
|
2139
|
+
| length | `Number` | size of the generated string. Default 8 | |
|
|
2140
|
+
| exclude | `Array` | collection of strings that is going to be excluded of the random string. | |
|
|
2143
2141
|
|
|
2144
2142
|
|
|
2145
2143
|
|
|
@@ -2147,17 +2145,19 @@ return a new object just with attributes in _keys_ list
|
|
|
2147
2145
|
##### Returns
|
|
2148
2146
|
|
|
2149
2147
|
|
|
2150
|
-
- `
|
|
2148
|
+
- `String` Random string
|
|
2151
2149
|
|
|
2152
2150
|
|
|
2153
2151
|
|
|
2154
2152
|
|
|
2155
|
-
### dist/general/
|
|
2153
|
+
### dist/general/mix/size.js
|
|
2156
2154
|
|
|
2157
2155
|
|
|
2158
|
-
####
|
|
2156
|
+
#### size(obj)
|
|
2159
2157
|
|
|
2160
|
-
|
|
2158
|
+
Gets the length of the given array.
|
|
2159
|
+
- Useful for Object, Array and string type.
|
|
2160
|
+
- For `null` or `undefined` or else argument the returned value will be 0.
|
|
2161
2161
|
|
|
2162
2162
|
|
|
2163
2163
|
|
|
@@ -2166,7 +2166,7 @@ serialize object to url param
|
|
|
2166
2166
|
|
|
2167
2167
|
| Name | Type | Description | |
|
|
2168
2168
|
| ---- | ---- | ----------- | -------- |
|
|
2169
|
-
| obj | | -
|
|
2169
|
+
| obj | `Any` | Any object-type variable | |
|
|
2170
2170
|
|
|
2171
2171
|
|
|
2172
2172
|
|
|
@@ -2174,7 +2174,7 @@ serialize object to url param
|
|
|
2174
2174
|
##### Returns
|
|
2175
2175
|
|
|
2176
2176
|
|
|
2177
|
-
- `
|
|
2177
|
+
- `Number` the size of the given variable
|
|
2178
2178
|
|
|
2179
2179
|
|
|
2180
2180
|
|
|
@@ -2315,29 +2315,23 @@ Get a dataset by Qrvey ID
|
|
|
2315
2315
|
|
|
2316
2316
|
|
|
2317
2317
|
|
|
2318
|
-
### dist/
|
|
2319
|
-
|
|
2318
|
+
### dist/typescript/decorators/Debounce.js
|
|
2320
2319
|
|
|
2321
|
-
#### Config()
|
|
2322
2320
|
|
|
2323
|
-
|
|
2324
|
-
Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
|
|
2325
|
-
But for this, is required ask for a property in `snake_case` style
|
|
2321
|
+
#### Debounce(time)
|
|
2326
2322
|
|
|
2323
|
+
(Method Decorator) Debounce Class Method
|
|
2327
2324
|
|
|
2328
2325
|
|
|
2329
2326
|
|
|
2330
2327
|
|
|
2328
|
+
##### Parameters
|
|
2331
2329
|
|
|
2332
|
-
|
|
2330
|
+
| Name | Type | Description | |
|
|
2331
|
+
| ---- | ---- | ----------- | -------- |
|
|
2332
|
+
| time | | (optional) deafult 500 | |
|
|
2333
2333
|
|
|
2334
|
-
```javascript
|
|
2335
|
-
\ @Config() @Prop() settings;
|
|
2336
2334
|
|
|
2337
|
-
someMethod() {
|
|
2338
|
-
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2339
|
-
}
|
|
2340
|
-
```
|
|
2341
2335
|
|
|
2342
2336
|
|
|
2343
2337
|
##### Returns
|
|
@@ -2348,72 +2342,74 @@ someMethod() {
|
|
|
2348
2342
|
|
|
2349
2343
|
|
|
2350
2344
|
|
|
2351
|
-
### dist/
|
|
2345
|
+
### dist/typescript/decorators/Throttled.js
|
|
2352
2346
|
|
|
2353
2347
|
|
|
2354
|
-
####
|
|
2348
|
+
#### Throttled(time)
|
|
2355
2349
|
|
|
2356
|
-
|
|
2350
|
+
(Method Decorator) Throttled Class Method
|
|
2357
2351
|
|
|
2358
2352
|
|
|
2359
2353
|
|
|
2360
2354
|
|
|
2355
|
+
##### Parameters
|
|
2356
|
+
|
|
2357
|
+
| Name | Type | Description | |
|
|
2358
|
+
| ---- | ---- | ----------- | -------- |
|
|
2359
|
+
| time | | (optional) deafult 500 | |
|
|
2361
2360
|
|
|
2362
2361
|
|
|
2363
|
-
##### Returns
|
|
2364
2362
|
|
|
2365
2363
|
|
|
2366
|
-
|
|
2364
|
+
##### Returns
|
|
2367
2365
|
|
|
2368
2366
|
|
|
2367
|
+
- `Void`
|
|
2369
2368
|
|
|
2370
2369
|
|
|
2371
|
-
### dist/stencil/util/getConfig.js
|
|
2372
2370
|
|
|
2373
2371
|
|
|
2374
|
-
|
|
2372
|
+
### dist/stencil/decorators/Config.js
|
|
2375
2373
|
|
|
2376
|
-
verify the Config object type and try to return a parsed Object
|
|
2377
|
-
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2378
|
-
try to find this string as a variable on Windows object
|
|
2379
|
-
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2380
|
-
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2381
2374
|
|
|
2375
|
+
#### Config()
|
|
2382
2376
|
|
|
2377
|
+
Stencil.js - Prop Decorator
|
|
2378
|
+
Get and Parse the Widget Configuration Object and also provide the ability to get properties in different case styles such as: lower, upper, camel and pascal
|
|
2379
|
+
But for this, is required ask for a property in `snake_case` style
|
|
2383
2380
|
|
|
2384
2381
|
|
|
2385
|
-
##### Parameters
|
|
2386
2382
|
|
|
2387
|
-
| Name | Type | Description | |
|
|
2388
|
-
| ---- | ---- | ----------- | -------- |
|
|
2389
|
-
| cfg | | | |
|
|
2390
2383
|
|
|
2391
2384
|
|
|
2392
2385
|
|
|
2386
|
+
##### Examples
|
|
2393
2387
|
|
|
2394
|
-
|
|
2388
|
+
```javascript
|
|
2389
|
+
\ @Config() @Prop() settings;
|
|
2395
2390
|
|
|
2391
|
+
someMethod() {
|
|
2392
|
+
this.settings.snake_case //it search for: obj.snake_case || obj.snakeCase || obj.SnakeCase || obj.snakecase || obj.SNAKECASE
|
|
2393
|
+
}
|
|
2394
|
+
```
|
|
2396
2395
|
|
|
2397
|
-
- `Void`
|
|
2398
2396
|
|
|
2397
|
+
##### Returns
|
|
2399
2398
|
|
|
2400
2399
|
|
|
2400
|
+
- `Void`
|
|
2401
2401
|
|
|
2402
|
-
### dist/typescript/decorators/Debounce.js
|
|
2403
2402
|
|
|
2404
2403
|
|
|
2405
|
-
#### Debounce(time)
|
|
2406
2404
|
|
|
2407
|
-
|
|
2405
|
+
### dist/stencil/util/createRef.js
|
|
2408
2406
|
|
|
2409
2407
|
|
|
2408
|
+
#### createRef()
|
|
2410
2409
|
|
|
2410
|
+
lit implementation of React createRef (https://reactjs.org/docs/refs-and-the-dom.html)
|
|
2411
2411
|
|
|
2412
|
-
##### Parameters
|
|
2413
2412
|
|
|
2414
|
-
| Name | Type | Description | |
|
|
2415
|
-
| ---- | ---- | ----------- | -------- |
|
|
2416
|
-
| time | | (optional) deafult 500 | |
|
|
2417
2413
|
|
|
2418
2414
|
|
|
2419
2415
|
|
|
@@ -2421,17 +2417,21 @@ try to find this string as a variable on Windows object
|
|
|
2421
2417
|
##### Returns
|
|
2422
2418
|
|
|
2423
2419
|
|
|
2424
|
-
-
|
|
2420
|
+
- function - Function to use in ref prop in html elements
|
|
2425
2421
|
|
|
2426
2422
|
|
|
2427
2423
|
|
|
2428
2424
|
|
|
2429
|
-
### dist/
|
|
2425
|
+
### dist/stencil/util/getConfig.js
|
|
2430
2426
|
|
|
2431
2427
|
|
|
2432
|
-
####
|
|
2428
|
+
#### getConfig(cfg)
|
|
2433
2429
|
|
|
2434
|
-
|
|
2430
|
+
verify the Config object type and try to return a parsed Object
|
|
2431
|
+
- In case _cfg_ is a string, first try to make a JSON parse in other case
|
|
2432
|
+
try to find this string as a variable on Windows object
|
|
2433
|
+
- If _cfg_ is a fuction, tis is invoked and parsed
|
|
2434
|
+
- Finally, if is an object, _cfg_ is inmediatly returned
|
|
2435
2435
|
|
|
2436
2436
|
|
|
2437
2437
|
|
|
@@ -2440,7 +2440,7 @@ try to find this string as a variable on Windows object
|
|
|
2440
2440
|
|
|
2441
2441
|
| Name | Type | Description | |
|
|
2442
2442
|
| ---- | ---- | ----------- | -------- |
|
|
2443
|
-
|
|
|
2443
|
+
| cfg | | | |
|
|
2444
2444
|
|
|
2445
2445
|
|
|
2446
2446
|
|
|
@@ -2858,12 +2858,12 @@ Returns a filter builder config object by a any given config
|
|
|
2858
2858
|
|
|
2859
2859
|
|
|
2860
2860
|
|
|
2861
|
-
### dist/filters/helpers/common/
|
|
2861
|
+
### dist/filters/helpers/common/areFiltersEquals.js
|
|
2862
2862
|
|
|
2863
2863
|
|
|
2864
|
-
####
|
|
2864
|
+
#### areFiltersEquals(filter1, filter2)
|
|
2865
2865
|
|
|
2866
|
-
|
|
2866
|
+
Validates if both filters are the same
|
|
2867
2867
|
|
|
2868
2868
|
|
|
2869
2869
|
|
|
@@ -2872,7 +2872,8 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
2872
2872
|
|
|
2873
2873
|
| Name | Type | Description | |
|
|
2874
2874
|
| ---- | ---- | ----------- | -------- |
|
|
2875
|
-
|
|
|
2875
|
+
| filter1 | | filter 1 | |
|
|
2876
|
+
| filter2 | | filter 2 | |
|
|
2876
2877
|
|
|
2877
2878
|
|
|
2878
2879
|
|
|
@@ -2880,17 +2881,17 @@ Excludes Aggregate Filters in the Filter Data. Excluding filters when the column
|
|
|
2880
2881
|
##### Returns
|
|
2881
2882
|
|
|
2882
2883
|
|
|
2883
|
-
-
|
|
2884
|
+
- true: the filters are equal; false: the filters are NOT equal
|
|
2884
2885
|
|
|
2885
2886
|
|
|
2886
2887
|
|
|
2887
2888
|
|
|
2888
|
-
### dist/filters/helpers/common/
|
|
2889
|
+
### dist/filters/helpers/common/excludeFiltersByAggregateColumn.js
|
|
2889
2890
|
|
|
2890
2891
|
|
|
2891
|
-
####
|
|
2892
|
+
#### excludeFiltersByAggregateColumn(filterData)
|
|
2892
2893
|
|
|
2893
|
-
|
|
2894
|
+
Excludes Aggregate Filters in the Filter Data. Excluding filters when the column.aggregate is included.
|
|
2894
2895
|
|
|
2895
2896
|
|
|
2896
2897
|
|
|
@@ -2899,8 +2900,7 @@ Validates if both filters are the same
|
|
|
2899
2900
|
|
|
2900
2901
|
| Name | Type | Description | |
|
|
2901
2902
|
| ---- | ---- | ----------- | -------- |
|
|
2902
|
-
|
|
|
2903
|
-
| filter2 | | filter 2 | |
|
|
2903
|
+
| filterData | | The filter data object | |
|
|
2904
2904
|
|
|
2905
2905
|
|
|
2906
2906
|
|
|
@@ -2908,7 +2908,7 @@ Validates if both filters are the same
|
|
|
2908
2908
|
##### Returns
|
|
2909
2909
|
|
|
2910
2910
|
|
|
2911
|
-
-
|
|
2911
|
+
- The new filter data object that were excluded the aggregate filters
|
|
2912
2912
|
|
|
2913
2913
|
|
|
2914
2914
|
|
|
@@ -3737,12 +3737,12 @@ Excludes and returns a UI Flat Filters without filters by the given scopes
|
|
|
3737
3737
|
|
|
3738
3738
|
|
|
3739
3739
|
|
|
3740
|
-
### dist/filters/helpers/ui/
|
|
3740
|
+
### dist/filters/helpers/ui/getOutputFormatByColumn.js
|
|
3741
3741
|
|
|
3742
3742
|
|
|
3743
|
-
####
|
|
3743
|
+
#### getOutputFormatByColumn(column, datasets)
|
|
3744
3744
|
|
|
3745
|
-
Gets the
|
|
3745
|
+
Gets output format object from Datasets by the given column. Item of the datasets array must have outputformat item in order to be returned
|
|
3746
3746
|
|
|
3747
3747
|
|
|
3748
3748
|
|
|
@@ -3751,7 +3751,8 @@ Gets the label of the filter property
|
|
|
3751
3751
|
|
|
3752
3752
|
| Name | Type | Description | |
|
|
3753
3753
|
| ---- | ---- | ----------- | -------- |
|
|
3754
|
-
|
|
|
3754
|
+
| column | | The column | |
|
|
3755
|
+
| datasets | | array of datasets | |
|
|
3755
3756
|
|
|
3756
3757
|
|
|
3757
3758
|
|
|
@@ -3759,17 +3760,17 @@ Gets the label of the filter property
|
|
|
3759
3760
|
##### Returns
|
|
3760
3761
|
|
|
3761
3762
|
|
|
3762
|
-
-
|
|
3763
|
+
- The output format object
|
|
3763
3764
|
|
|
3764
3765
|
|
|
3765
3766
|
|
|
3766
3767
|
|
|
3767
|
-
### dist/filters/helpers/ui/
|
|
3768
|
+
### dist/filters/helpers/ui/getFilterPropertyLabel.js
|
|
3768
3769
|
|
|
3769
3770
|
|
|
3770
|
-
####
|
|
3771
|
+
#### getFilterPropertyLabel(filter)
|
|
3771
3772
|
|
|
3772
|
-
Gets
|
|
3773
|
+
Gets the label of the filter property
|
|
3773
3774
|
|
|
3774
3775
|
|
|
3775
3776
|
|
|
@@ -3778,8 +3779,7 @@ Gets output format object from Datasets by the given column. Item of the dataset
|
|
|
3778
3779
|
|
|
3779
3780
|
| Name | Type | Description | |
|
|
3780
3781
|
| ---- | ---- | ----------- | -------- |
|
|
3781
|
-
|
|
|
3782
|
-
| datasets | | array of datasets | |
|
|
3782
|
+
| filter | | The UI Filter | |
|
|
3783
3783
|
|
|
3784
3784
|
|
|
3785
3785
|
|
|
@@ -3787,7 +3787,7 @@ Gets output format object from Datasets by the given column. Item of the dataset
|
|
|
3787
3787
|
##### Returns
|
|
3788
3788
|
|
|
3789
3789
|
|
|
3790
|
-
-
|
|
3790
|
+
- a string of the filter property label
|
|
3791
3791
|
|
|
3792
3792
|
|
|
3793
3793
|
|