@vizzly/services 0.15.0-dev-2ac2b2368a7d8a0435fd154136da3d92544f1457 → 0.15.0-dev-07a4e7f5235fd0d62d45bc24b7dcf6adbd126a34
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/dist/cjs/index.cjs.js +136 -2
- package/dist/esm/index.esm.js +29509 -2
- package/package.json +3 -5
- package/dist/cjs/index.cjs.js.LICENSE.txt +0 -79
- package/dist/esm/index.esm.js.LICENSE.txt +0 -79
- package/dist/results-driver/src/driver/Custom.d.ts +0 -6
- package/dist/results-driver/src/driver/VizzlyJsQueryEngine.d.ts +0 -6
- package/dist/results-driver/src/driver/VizzlyQuery/AdditionalFilter/toQueries.d.ts +0 -16
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/BubbleChart/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/BubbleChartV2/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/ComboChart/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/ComboChartV2/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChartV2/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/MercatorMap/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/QueryAttributes/toQueries.d.ts +0 -13
- package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/ScatterChart/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/SingleStat/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +0 -4
- package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/buildVizzlyQuery.d.ts +0 -17
- package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +0 -10
- package/dist/results-driver/src/driver/VizzlyQuery/toResultFields.d.ts +0 -5
- package/dist/results-driver/src/driver/VizzlyQueryEngine.d.ts +0 -6
- package/dist/results-driver/src/index.d.ts +0 -16
- package/dist/results-driver/src/types.d.ts +0 -42
- package/dist/results-driver/src/utils/browserCache.d.ts +0 -3
- package/dist/results-driver/src/utils/runWithValidationAndCaching.d.ts +0 -6
- package/dist/services/src/Services/Cell.d.ts +0 -65
- package/dist/services/src/Services/Dashboard.d.ts +0 -55
- package/dist/services/src/Services/Editor.d.ts +0 -25
- package/dist/services/src/Services/Header.d.ts +0 -19
- package/dist/services/src/Services/Library.d.ts +0 -43
- package/dist/services/src/Services/Row.d.ts +0 -45
- package/dist/services/src/Services/View.d.ts +0 -85
- package/dist/services/src/Services/index.d.ts +0 -7
- package/dist/services/src/VizzlyLoader.d.ts +0 -46
- package/dist/services/src/errors/ServicesValidationError.d.ts +0 -2
- package/dist/services/src/errors/TimeoutWaitingForVizzlyInstance.d.ts +0 -3
- package/dist/services/src/errors/VizzlyInstanceNotLoaded.d.ts +0 -3
- package/dist/services/src/eventbus.types.d.ts +0 -28
- package/dist/services/src/index.d.ts +0 -183
- package/dist/services/src/schemaValidations/cell.d.ts +0 -1
- package/dist/services/src/schemaValidations/dashboard.d.ts +0 -6
- package/dist/services/src/schemaValidations/filters.d.ts +0 -3
- package/dist/services/src/schemaValidations/index.d.ts +0 -2
- package/dist/services/src/schemaValidations/library.d.ts +0 -2
- package/dist/services/src/schemaValidations/query.d.ts +0 -3
- package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +0 -49
- package/dist/shared-logic/src/AdditionalFilter/FilterConfig.d.ts +0 -15
- package/dist/shared-logic/src/AdditionalFilter/constants.d.ts +0 -16
- package/dist/shared-logic/src/AdditionalFilter/filterHelpers.d.ts +0 -1
- package/dist/shared-logic/src/AdditionalFilter/fromDashboardRequiredFilterGroups.d.ts +0 -12
- package/dist/shared-logic/src/AdditionalFilter/index.d.ts +0 -3
- package/dist/shared-logic/src/AdditionalFilter/schema.d.ts +0 -6
- package/dist/shared-logic/src/AdditionalFilter/toQueryAttributesFilter.d.ts +0 -5
- package/dist/shared-logic/src/AdditionalFilter/types.d.ts +0 -119
- package/dist/shared-logic/src/AdditionalFilter/validate.d.ts +0 -3
- package/dist/shared-logic/src/Aggregate/Aggregate.d.ts +0 -9
- package/dist/shared-logic/src/Aggregate/constants.d.ts +0 -1
- package/dist/shared-logic/src/Aggregate/index.d.ts +0 -2
- package/dist/shared-logic/src/Aggregate/types.d.ts +0 -8
- package/dist/shared-logic/src/AliasFields/types.d.ts +0 -5
- package/dist/shared-logic/src/ApiConfig/ApiConfig.d.ts +0 -8
- package/dist/shared-logic/src/ApiConfig/index.d.ts +0 -1
- package/dist/shared-logic/src/AreaChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/AreaChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/AreaChart/index.d.ts +0 -4
- package/dist/shared-logic/src/AreaChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/AreaChartV2/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/AreaChartV2/constants.d.ts +0 -3
- package/dist/shared-logic/src/AreaChartV2/index.d.ts +0 -4
- package/dist/shared-logic/src/AreaChartV2/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/BarChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/BarChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/BarChart/index.d.ts +0 -4
- package/dist/shared-logic/src/BarChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/BarChartV2/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/BarChartV2/constants.d.ts +0 -3
- package/dist/shared-logic/src/BarChartV2/index.d.ts +0 -4
- package/dist/shared-logic/src/BarChartV2/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Base64/index.d.ts +0 -3
- package/dist/shared-logic/src/BasicTable/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/BasicTable/constants.d.ts +0 -3
- package/dist/shared-logic/src/BasicTable/index.d.ts +0 -9
- package/dist/shared-logic/src/BasicTable/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/BubbleChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/BubbleChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/BubbleChart/index.d.ts +0 -4
- package/dist/shared-logic/src/BubbleChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/BubbleChartV2/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/BubbleChartV2/constants.d.ts +0 -3
- package/dist/shared-logic/src/BubbleChartV2/index.d.ts +0 -4
- package/dist/shared-logic/src/BubbleChartV2/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Callbacks/types.d.ts +0 -18
- package/dist/shared-logic/src/ComboChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/ComboChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/ComboChart/index.d.ts +0 -4
- package/dist/shared-logic/src/ComboChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/ComboChart/upcast.d.ts +0 -2
- package/dist/shared-logic/src/ComboChartV2/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/ComboChartV2/constants.d.ts +0 -3
- package/dist/shared-logic/src/ComboChartV2/index.d.ts +0 -4
- package/dist/shared-logic/src/ComboChartV2/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Component/Component.d.ts +0 -11
- package/dist/shared-logic/src/Component/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/Component/constants.d.ts +0 -4
- package/dist/shared-logic/src/Component/dumpable.d.ts +0 -11
- package/dist/shared-logic/src/Component/getGroupingWithTimeDimension.d.ts +0 -5
- package/dist/shared-logic/src/Component/index.d.ts +0 -4
- package/dist/shared-logic/src/Component/mergeAttributes.d.ts +0 -2
- package/dist/shared-logic/src/Component/removeField.d.ts +0 -10
- package/dist/shared-logic/src/Component/saveable.d.ts +0 -2
- package/dist/shared-logic/src/Component/setAttributes.d.ts +0 -11
- package/dist/shared-logic/src/Component/sharedSchemas.d.ts +0 -58
- package/dist/shared-logic/src/Component/splitTimeDimensionFromGrouping.d.ts +0 -4
- package/dist/shared-logic/src/Component/types.d.ts +0 -642
- package/dist/shared-logic/src/Component/upcast.d.ts +0 -3
- package/dist/shared-logic/src/Component/usedFields.d.ts +0 -10
- package/dist/shared-logic/src/Component/validateView.d.ts +0 -6
- package/dist/shared-logic/src/ComponentInterface/constants.d.ts +0 -63
- package/dist/shared-logic/src/ComponentInterface/namespaces.d.ts +0 -3
- package/dist/shared-logic/src/ComponentInterface/setDataAttributesFromPreAggregatedDataSet.d.ts +0 -3
- package/dist/shared-logic/src/ComponentInterface/types/ComponentInterfaceConfig.d.ts +0 -18
- package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +0 -124
- package/dist/shared-logic/src/ComponentInterface/types.d.ts +0 -45
- package/dist/shared-logic/src/ConditionalFormatting/ConditionalFormatting.d.ts +0 -9
- package/dist/shared-logic/src/ConditionalFormatting/attributesSchema.d.ts +0 -5
- package/dist/shared-logic/src/ConditionalFormatting/index.d.ts +0 -1
- package/dist/shared-logic/src/CustomField/AggregateMath/index.d.ts +0 -7
- package/dist/shared-logic/src/CustomField/AliasField/index.d.ts +0 -7
- package/dist/shared-logic/src/CustomField/Conditional/index.d.ts +0 -9
- package/dist/shared-logic/src/CustomField/CustomField.d.ts +0 -23
- package/dist/shared-logic/src/CustomField/CustomMetric/build.d.ts +0 -7
- package/dist/shared-logic/src/CustomField/CustomMetric/index.d.ts +0 -3
- package/dist/shared-logic/src/CustomField/CustomMetric/init.d.ts +0 -4
- package/dist/shared-logic/src/CustomField/CustomMetric/types.d.ts +0 -47
- package/dist/shared-logic/src/CustomField/CustomMetric/validate.d.ts +0 -2
- package/dist/shared-logic/src/CustomField/DateCalculation/index.d.ts +0 -7
- package/dist/shared-logic/src/CustomField/Percentage/index.d.ts +0 -16
- package/dist/shared-logic/src/CustomField/RoundedNumber/index.d.ts +0 -7
- package/dist/shared-logic/src/CustomField/Rules/index.d.ts +0 -10
- package/dist/shared-logic/src/CustomField/Rules/types.d.ts +0 -5
- package/dist/shared-logic/src/CustomField/SimpleMath/index.d.ts +0 -11
- package/dist/shared-logic/src/CustomField/constants.d.ts +0 -15
- package/dist/shared-logic/src/CustomField/index.d.ts +0 -10
- package/dist/shared-logic/src/CustomField/metricValuesHaveAggregates.d.ts +0 -2
- package/dist/shared-logic/src/CustomField/types.d.ts +0 -88
- package/dist/shared-logic/src/CustomField/upcast.d.ts +0 -2
- package/dist/shared-logic/src/CustomView/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/CustomView/constants.d.ts +0 -3
- package/dist/shared-logic/src/CustomView/index.d.ts +0 -5
- package/dist/shared-logic/src/CustomView/types.d.ts +0 -30
- package/dist/shared-logic/src/Dashboard/Dashboard.d.ts +0 -39
- package/dist/shared-logic/src/Dashboard/fromRaw.d.ts +0 -23
- package/dist/shared-logic/src/Dashboard/index.d.ts +0 -2
- package/dist/shared-logic/src/Dashboard/saveableDashboardDefinitionSchema.d.ts +0 -5
- package/dist/shared-logic/src/Dashboard/types.d.ts +0 -50
- package/dist/shared-logic/src/DashboardAPI/dataConfigurationAndIdentity.d.ts +0 -7
- package/dist/shared-logic/src/DashboardAPI/dataSets.d.ts +0 -10
- package/dist/shared-logic/src/DashboardAPI/getDashboardAdminOverride.d.ts +0 -1
- package/dist/shared-logic/src/DashboardAPI/types.d.ts +0 -18
- package/dist/shared-logic/src/DataPanelConfig/types.d.ts +0 -45
- package/dist/shared-logic/src/DataSet/DataSet.d.ts +0 -46
- package/dist/shared-logic/src/DataSet/fieldFilterOptions.d.ts +0 -17
- package/dist/shared-logic/src/DataSet/filterFields.d.ts +0 -3
- package/dist/shared-logic/src/DataSet/index.d.ts +0 -3
- package/dist/shared-logic/src/DataSet/newField.d.ts +0 -15
- package/dist/shared-logic/src/DataSet/types.d.ts +0 -19
- package/dist/shared-logic/src/DataTable/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/DataTable/constants.d.ts +0 -3
- package/dist/shared-logic/src/DataTable/index.d.ts +0 -4
- package/dist/shared-logic/src/DataTable/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/DataTable/shared.contants.d.ts +0 -1
- package/dist/shared-logic/src/DataTable/types.d.ts +0 -26
- package/dist/shared-logic/src/DateTime/DateTimeFilterOptions.d.ts +0 -105
- package/dist/shared-logic/src/DateTime/types.d.ts +0 -10
- package/dist/shared-logic/src/DateTimeField/DateTimeField.d.ts +0 -2
- package/dist/shared-logic/src/DatumKey/DatumKey.d.ts +0 -15
- package/dist/shared-logic/src/DatumKey/index.d.ts +0 -1
- package/dist/shared-logic/src/Display/Display.d.ts +0 -23
- package/dist/shared-logic/src/Display/dumpable.d.ts +0 -5
- package/dist/shared-logic/src/Display/index.d.ts +0 -2
- package/dist/shared-logic/src/Display/removeAllFieldReferences.d.ts +0 -3
- package/dist/shared-logic/src/Display/types.d.ts +0 -15
- package/dist/shared-logic/src/Display/upcast.d.ts +0 -7
- package/dist/shared-logic/src/Drilldown/schema.d.ts +0 -3
- package/dist/shared-logic/src/Dumpable.d.ts +0 -5
- package/dist/shared-logic/src/Field/Field.d.ts +0 -103
- package/dist/shared-logic/src/Field/index.d.ts +0 -1
- package/dist/shared-logic/src/Field/types.d.ts +0 -26
- package/dist/shared-logic/src/Filter/Filter.d.ts +0 -49
- package/dist/shared-logic/src/Filter/combineFilters.d.ts +0 -2
- package/dist/shared-logic/src/Filter/index.d.ts +0 -2
- package/dist/shared-logic/src/Filter/relative.d.ts +0 -55
- package/dist/shared-logic/src/Filter/types.d.ts +0 -7
- package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +0 -48
- package/dist/shared-logic/src/FormattingRule/types.d.ts +0 -1
- package/dist/shared-logic/src/Functions/types.d.ts +0 -8
- package/dist/shared-logic/src/FunnelChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/FunnelChart/index.d.ts +0 -4
- package/dist/shared-logic/src/FunnelChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/GlobalFilter/index.d.ts +0 -4
- package/dist/shared-logic/src/GlobalFilter/types.d.ts +0 -27
- package/dist/shared-logic/src/GlobalLibrary/GlobalLibrary.d.ts +0 -1
- package/dist/shared-logic/src/GlobalLibrary/fromRaw.d.ts +0 -10
- package/dist/shared-logic/src/GlobalLibrary/getStrategy.d.ts +0 -4
- package/dist/shared-logic/src/GlobalLibrary/globalLibraries.d.ts +0 -10
- package/dist/shared-logic/src/GlobalLibrary/index.d.ts +0 -4
- package/dist/shared-logic/src/GlobalLibrary/types.d.ts +0 -19
- package/dist/shared-logic/src/GlobalLibrary/validation.d.ts +0 -3
- package/dist/shared-logic/src/Header/index.d.ts +0 -7
- package/dist/shared-logic/src/Header/schema.d.ts +0 -2
- package/dist/shared-logic/src/Header/types.d.ts +0 -4
- package/dist/shared-logic/src/Headline/upcast.d.ts +0 -3
- package/dist/shared-logic/src/HorizontalBarChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/HorizontalBarChart/index.d.ts +0 -4
- package/dist/shared-logic/src/HorizontalBarChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/HorizontalBarChartV2/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/HorizontalBarChartV2/constants.d.ts +0 -3
- package/dist/shared-logic/src/HorizontalBarChartV2/index.d.ts +0 -4
- package/dist/shared-logic/src/HorizontalBarChartV2/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/IdentityConfig/IdentityConfig.d.ts +0 -4
- package/dist/shared-logic/src/IdentityConfig/index.d.ts +0 -1
- package/dist/shared-logic/src/IdentityConfig/types.d.ts +0 -45
- package/dist/shared-logic/src/JSQueryEngine/fetchData.d.ts +0 -9
- package/dist/shared-logic/src/JSQueryEngine/getInMemoryDb.d.ts +0 -2
- package/dist/shared-logic/src/JSQueryEngine/localRunQueriesCallback.d.ts +0 -7
- package/dist/shared-logic/src/JSQueryEngine/runQueryV3.d.ts +0 -5
- package/dist/shared-logic/src/JSQueryEngine/types.d.ts +0 -6
- package/dist/shared-logic/src/JWT/JWT.d.ts +0 -2
- package/dist/shared-logic/src/LineChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/LineChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/LineChart/index.d.ts +0 -4
- package/dist/shared-logic/src/LineChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/LineChartV2/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/LineChartV2/constants.d.ts +0 -3
- package/dist/shared-logic/src/LineChartV2/index.d.ts +0 -4
- package/dist/shared-logic/src/LineChartV2/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Logger/Logger.d.ts +0 -16
- package/dist/shared-logic/src/Logger/index.d.ts +0 -1
- package/dist/shared-logic/src/Logger/types.d.ts +0 -1
- package/dist/shared-logic/src/Measure/Measure.d.ts +0 -13
- package/dist/shared-logic/src/Measure/index.d.ts +0 -1
- package/dist/shared-logic/src/MercatorMap/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/MercatorMap/constants.d.ts +0 -3
- package/dist/shared-logic/src/MercatorMap/index.d.ts +0 -4
- package/dist/shared-logic/src/MercatorMap/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Parameters/removeParameters.d.ts +0 -3
- package/dist/shared-logic/src/PieChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/PieChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/PieChart/index.d.ts +0 -4
- package/dist/shared-logic/src/Progress/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/Progress/constants.d.ts +0 -3
- package/dist/shared-logic/src/Progress/index.d.ts +0 -5
- package/dist/shared-logic/src/Progress/types.d.ts +0 -2
- package/dist/shared-logic/src/Query/Query.d.ts +0 -22
- package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +0 -9
- package/dist/shared-logic/src/Query/index.d.ts +0 -2
- package/dist/shared-logic/src/Query/types.d.ts +0 -35
- package/dist/shared-logic/src/QueryAttributes/QueryAttributes.d.ts +0 -25
- package/dist/shared-logic/src/QueryAttributes/constants.d.ts +0 -1
- package/dist/shared-logic/src/QueryAttributes/index.d.ts +0 -1
- package/dist/shared-logic/src/QueryAttributes/types.d.ts +0 -68
- package/dist/shared-logic/src/QueryEngineConfig/QueryEngineConfig.d.ts +0 -2
- package/dist/shared-logic/src/QueryEngineConfig/index.d.ts +0 -5
- package/dist/shared-logic/src/QueryEngineConfig/loadQueryEngineConfig.d.ts +0 -3
- package/dist/shared-logic/src/QueryEngineConfig/localJS.d.ts +0 -3
- package/dist/shared-logic/src/QueryEngineConfig/supportedConstants.d.ts +0 -7
- package/dist/shared-logic/src/QueryEngineConfig/supportedFeature.d.ts +0 -2
- package/dist/shared-logic/src/QueryEngineConfig/types.d.ts +0 -10
- package/dist/shared-logic/src/RadarChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/RadarChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/RadarChart/index.d.ts +0 -4
- package/dist/shared-logic/src/RadarChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Report/types.d.ts +0 -6
- package/dist/shared-logic/src/Result/types.d.ts +0 -41
- package/dist/shared-logic/src/RichText/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/RichText/constants.d.ts +0 -3
- package/dist/shared-logic/src/RichText/index.d.ts +0 -4
- package/dist/shared-logic/src/RichText/initialRichTextContent.d.ts +0 -38
- package/dist/shared-logic/src/RichText/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/ScatterChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/ScatterChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/ScatterChart/index.d.ts +0 -4
- package/dist/shared-logic/src/ScatterChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/SingleStat/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/SingleStat/constants.d.ts +0 -3
- package/dist/shared-logic/src/SingleStat/index.d.ts +0 -5
- package/dist/shared-logic/src/SingleStat/types.d.ts +0 -10
- package/dist/shared-logic/src/SingleStat/upcastSingleValueAttributes.d.ts +0 -4
- package/dist/shared-logic/src/Strategy/types.d.ts +0 -7
- package/dist/shared-logic/src/SunburstChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/SunburstChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/SunburstChart/index.d.ts +0 -4
- package/dist/shared-logic/src/Tags/tags.d.ts +0 -3
- package/dist/shared-logic/src/Theme/Theme.d.ts +0 -16
- package/dist/shared-logic/src/Theme/index.d.ts +0 -1
- package/dist/shared-logic/src/Theme/types.d.ts +0 -641
- package/dist/shared-logic/src/TimeDimension/TimeDimension.d.ts +0 -10
- package/dist/shared-logic/src/TimeDimension/constants.d.ts +0 -1
- package/dist/shared-logic/src/TimeDimension/index.d.ts +0 -1
- package/dist/shared-logic/src/Translations/extract/shared.d.ts +0 -10
- package/dist/shared-logic/src/Translations/textOverrideComponent.d.ts +0 -30
- package/dist/shared-logic/src/Translations/translateQueryEngineConfig.d.ts +0 -3
- package/dist/shared-logic/src/Translations/translation.schema.d.ts +0 -2
- package/dist/shared-logic/src/Translations/translation.types.d.ts +0 -5756
- package/dist/shared-logic/src/Translations/translations.d.ts +0 -9
- package/dist/shared-logic/src/Translations/types.d.ts +0 -13
- package/dist/shared-logic/src/Translations/validation.d.ts +0 -1
- package/dist/shared-logic/src/Trends/trendsSchema.d.ts +0 -2
- package/dist/shared-logic/src/Trends/types.d.ts +0 -9
- package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +0 -7
- package/dist/shared-logic/src/ValueAlias/types.d.ts +0 -10
- package/dist/shared-logic/src/Variables/Variables.d.ts +0 -8
- package/dist/shared-logic/src/Variables/index.d.ts +0 -1
- package/dist/shared-logic/src/Variables/types.d.ts +0 -9
- package/dist/shared-logic/src/ViewConfiguration/types.d.ts +0 -4
- package/dist/shared-logic/src/WaterfallChart/attributesSchema.d.ts +0 -3
- package/dist/shared-logic/src/WaterfallChart/constants.d.ts +0 -3
- package/dist/shared-logic/src/WaterfallChart/index.d.ts +0 -4
- package/dist/shared-logic/src/WaterfallChart/setAttributes.d.ts +0 -4
- package/dist/shared-logic/src/api/httpClient.d.ts +0 -7
- package/dist/shared-logic/src/api/queryEngine/createResults.d.ts +0 -10
- package/dist/shared-logic/src/api/queryEngine/fetchDataSets.d.ts +0 -4
- package/dist/shared-logic/src/api/queryEngine/fetchSelfHostedQueryEngineConfig.d.ts +0 -3
- package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +0 -21
- package/dist/shared-logic/src/api/queryEngine/queryEngineHttpClient.d.ts +0 -3
- package/dist/shared-logic/src/api/types.d.ts +0 -25
- package/dist/shared-logic/src/api/vizzly/getProjectAccessToken.d.ts +0 -2
- package/dist/shared-logic/src/errors/CorruptedView.d.ts +0 -5
- package/dist/shared-logic/src/errors/DataSetNotFound.d.ts +0 -5
- package/dist/shared-logic/src/errors/FailedToLoadIdentity.d.ts +0 -4
- package/dist/shared-logic/src/errors/FailedToLoadQueryEngineConfig.d.ts +0 -4
- package/dist/shared-logic/src/errors/FailedToResolveDataSets.d.ts +0 -4
- package/dist/shared-logic/src/errors/FieldNotFoundInDataSet.d.ts +0 -7
- package/dist/shared-logic/src/errors/InvalidDataSetsPropType.d.ts +0 -4
- package/dist/shared-logic/src/errors/InvalidIdentityPropType.d.ts +0 -4
- package/dist/shared-logic/src/errors/InvalidIdentityReturn.d.ts +0 -4
- package/dist/shared-logic/src/errors/InvalidQueryEngineEndpoint.d.ts +0 -6
- package/dist/shared-logic/src/errors/InvalidQueryEngineEndpointType.d.ts +0 -4
- package/dist/shared-logic/src/errors/MissingVizzlyInMemoryDb.d.ts +0 -4
- package/dist/shared-logic/src/errors/ServicesValidation.d.ts +0 -4
- package/dist/shared-logic/src/errors/ValidationError.d.ts +0 -4
- package/dist/shared-logic/src/errors/VariableNotFoundForVariables.d.ts +0 -7
- package/dist/shared-logic/src/getComponentInterface.d.ts +0 -28
- package/dist/shared-logic/src/getVizzly.d.ts +0 -5
- package/dist/shared-logic/src/typeHelpers.d.ts +0 -1
- package/dist/shared-logic/src/utils/DateTime.d.ts +0 -19
- package/dist/shared-logic/src/utils/arrayHelpers.d.ts +0 -6
- package/dist/shared-logic/src/utils/feedback.d.ts +0 -4
- package/dist/shared-logic/src/utils/generateId.d.ts +0 -1
- package/dist/shared-logic/src/utils/index.d.ts +0 -5
- package/dist/shared-logic/src/utils/numberHelpers.d.ts +0 -9
- package/dist/shared-logic/src/utils/pathHelpers.d.ts +0 -5
- package/dist/shared-logic/src/utils/stringHelper.d.ts +0 -10
- package/dist/shared-logic/src/validations.d.ts +0 -5
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Section } from '../DataPanelConfig/types';
|
|
2
|
-
import { ViewConstants } from './types/namespaces.types';
|
|
3
|
-
export declare function headingConstant(constants: ViewConstants): {
|
|
4
|
-
subSection: (Section<"title"> | Section<"subject">)[];
|
|
5
|
-
type?: "heading" | undefined;
|
|
6
|
-
title: string;
|
|
7
|
-
description?: string | undefined;
|
|
8
|
-
callToAction?: string | undefined;
|
|
9
|
-
testId?: string | undefined;
|
|
10
|
-
namespace?: string | undefined;
|
|
11
|
-
};
|
|
12
|
-
export declare function axisLabelsConstants(constants: ViewConstants): {
|
|
13
|
-
y: {
|
|
14
|
-
prefix: Section<"axisLabels">;
|
|
15
|
-
postfix: Section<"axisLabels">;
|
|
16
|
-
format: Section<"axisLabels">;
|
|
17
|
-
count: Section<"axisLabels">;
|
|
18
|
-
axisTitle: Section<"axisLabels">;
|
|
19
|
-
type?: "axisLabels" | undefined;
|
|
20
|
-
title: string;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
callToAction?: string | undefined;
|
|
23
|
-
testId?: string | undefined;
|
|
24
|
-
namespace?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
x: {
|
|
27
|
-
prefix: Section<"axisLabels">;
|
|
28
|
-
postfix: Section<"axisLabels">;
|
|
29
|
-
format: Section<"axisLabels">;
|
|
30
|
-
count: Section<"axisLabels">;
|
|
31
|
-
axisTitle: Section<"axisLabels">;
|
|
32
|
-
type?: "axisLabels" | undefined;
|
|
33
|
-
title: string;
|
|
34
|
-
description?: string | undefined;
|
|
35
|
-
callToAction?: string | undefined;
|
|
36
|
-
testId?: string | undefined;
|
|
37
|
-
namespace?: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
type?: "axisLabels" | undefined;
|
|
40
|
-
title: string;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
callToAction?: string | undefined;
|
|
43
|
-
testId?: string | undefined;
|
|
44
|
-
namespace?: string | undefined;
|
|
45
|
-
};
|
|
46
|
-
export declare function chartStylesConstant(constants: ViewConstants, line: boolean, bar: boolean): {
|
|
47
|
-
subSection: (Section<"legend"> | Section<"curve">)[];
|
|
48
|
-
type?: "chartStyles" | undefined;
|
|
49
|
-
title: string;
|
|
50
|
-
description?: string | undefined;
|
|
51
|
-
callToAction?: string | undefined;
|
|
52
|
-
testId?: string | undefined;
|
|
53
|
-
namespace?: string | undefined;
|
|
54
|
-
} | {
|
|
55
|
-
subSection: (Section<"stacked"> | Section<"legend">)[];
|
|
56
|
-
type?: "chartStyles" | undefined;
|
|
57
|
-
title: string;
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
callToAction?: string | undefined;
|
|
60
|
-
testId?: string | undefined;
|
|
61
|
-
namespace?: string | undefined;
|
|
62
|
-
};
|
|
63
|
-
export declare function statsLabelsConstant(constants: ViewConstants, namespace: string): Omit<Section<'statsLabels'>, 'type'>;
|
package/dist/shared-logic/src/ComponentInterface/setDataAttributesFromPreAggregatedDataSet.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DataSet as DataSetType } from '../DataSet/types';
|
|
2
|
-
import { Component } from '../Component/types';
|
|
3
|
-
export declare const setDataAttributesFromPreAggregatedDataSet: <T extends Component.Attributes>(attributes: T, dataSet: DataSetType, setAttributes: (attrs: T, partial: any) => T) => T;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../../DataSet/types';
|
|
2
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
3
|
-
import { TextOverride } from '../../Translations/types';
|
|
4
|
-
export declare type ComponentInterfaceConfig = {
|
|
5
|
-
queryEngineConfig: QueryEngineConfig;
|
|
6
|
-
attributesSchemaOptions?: {
|
|
7
|
-
restrictFields?: Array<{
|
|
8
|
-
id: string;
|
|
9
|
-
dataType: DataSet['fields'][number]['dataType'];
|
|
10
|
-
publicName?: string;
|
|
11
|
-
description?: DataSet['fields'][number]['description'];
|
|
12
|
-
canBeDimension: boolean;
|
|
13
|
-
canBeMeasure: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
restrictDataSetIds?: string[];
|
|
16
|
-
};
|
|
17
|
-
textOverride?: TextOverride;
|
|
18
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
export declare type Section<Type> = {
|
|
2
|
-
type?: Type;
|
|
3
|
-
title: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
callToAction?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare type ViewConstants = {
|
|
8
|
-
title: string;
|
|
9
|
-
description: string;
|
|
10
|
-
namespace: ComponentNamespace;
|
|
11
|
-
data_panel: DataPanelNamespaces;
|
|
12
|
-
format_panel: FormatPanelNamespaces;
|
|
13
|
-
};
|
|
14
|
-
export declare type SubSection<Type> = Section<Type> & {
|
|
15
|
-
namespace?: string;
|
|
16
|
-
};
|
|
17
|
-
declare type SubSectionDef = {
|
|
18
|
-
line?: SubSection<'metrics'>;
|
|
19
|
-
bar?: SubSection<'metrics'>;
|
|
20
|
-
xAxis?: SubSection<'metrics'>;
|
|
21
|
-
yAxis?: SubSection<'metrics'>;
|
|
22
|
-
zAxis?: SubSection<'metrics'>;
|
|
23
|
-
};
|
|
24
|
-
export declare type Pagination = {
|
|
25
|
-
options: number[];
|
|
26
|
-
};
|
|
27
|
-
export interface DataPanelNamespaces {
|
|
28
|
-
combo_chart_dimension?: Section<'comboChartDimension'>;
|
|
29
|
-
comparison?: Section<'comparison'>;
|
|
30
|
-
custom_metrics?: Section<'customMetrics'>;
|
|
31
|
-
data_set: Section<'dataSet'>;
|
|
32
|
-
dateComparison?: Section<'dateComparison'>;
|
|
33
|
-
drilldown?: Section<'drilldown'>;
|
|
34
|
-
field_columns?: Section<'fieldCollector'>;
|
|
35
|
-
field_country?: Section<'fieldCollector'>;
|
|
36
|
-
field_grouping?: Section<'fieldCollector'>;
|
|
37
|
-
field_metrics?: Section<'fieldCollector'>;
|
|
38
|
-
field_rows?: Section<'fieldCollector'>;
|
|
39
|
-
field_x_axis?: Section<'fieldCollector'>;
|
|
40
|
-
field_y_axis?: Section<'fieldCollector'>;
|
|
41
|
-
field_z_axis?: Section<'fieldCollector'>;
|
|
42
|
-
fields?: Section<'fields'>;
|
|
43
|
-
filter?: Section<'filter'>;
|
|
44
|
-
labelled_metrics?: Section<'labelledMetrics'> & {
|
|
45
|
-
subSectionDefinition: SubSectionDef;
|
|
46
|
-
};
|
|
47
|
-
limit?: Section<'limit'>;
|
|
48
|
-
pagination?: Section<'pagination'>;
|
|
49
|
-
progress_goals?: Section<'progressGoals'>;
|
|
50
|
-
sort?: Section<'sort'>;
|
|
51
|
-
views: Section<'views'>;
|
|
52
|
-
}
|
|
53
|
-
export declare type Namespace = keyof FormatPanelNamespaces | keyof DataPanelNamespaces;
|
|
54
|
-
export interface FormatPanelNamespaces {
|
|
55
|
-
axis_labels?: Section<'axisLabels'> & {
|
|
56
|
-
subSectionDefinition: {
|
|
57
|
-
x: SubSection<'axisLabels'>;
|
|
58
|
-
'x.prefix': SubSection<'axisLabels'>;
|
|
59
|
-
'x.postfix': SubSection<'axisLabels'>;
|
|
60
|
-
'x.format': SubSection<'axisLabels'>;
|
|
61
|
-
'x.count': SubSection<'axisLabels'>;
|
|
62
|
-
'x.axis_title'?: SubSection<'axisLabels'>;
|
|
63
|
-
y: SubSection<'axisLabels'>;
|
|
64
|
-
'y.prefix': SubSection<'axisLabels'>;
|
|
65
|
-
'y.postfix': SubSection<'axisLabels'>;
|
|
66
|
-
'y.format': SubSection<'axisLabels'>;
|
|
67
|
-
'y.count': SubSection<'axisLabels'>;
|
|
68
|
-
'y.axis_title'?: SubSection<'axisLabels'>;
|
|
69
|
-
z?: SubSection<'axisLabels'>;
|
|
70
|
-
'z.prefix'?: SubSection<'axisLabels'>;
|
|
71
|
-
'z.postfix'?: SubSection<'axisLabels'>;
|
|
72
|
-
'z.format'?: SubSection<'axisLabels'>;
|
|
73
|
-
'z.count'?: SubSection<'axisLabels'>;
|
|
74
|
-
'z.axis_title'?: SubSection<'axisLabels'>;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
stats_labels?: Section<'statsLabels'> & {
|
|
78
|
-
subSectionDefinition: {
|
|
79
|
-
prefix: SubSection<'statsLabels'>;
|
|
80
|
-
postfix: SubSection<'statsLabels'>;
|
|
81
|
-
format: SubSection<'statsLabels'>;
|
|
82
|
-
count: SubSection<'statsLabels'>;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
rich_text?: Section<'richText'>;
|
|
86
|
-
heading: Section<'heading'> & {
|
|
87
|
-
subSectionDefinition: {
|
|
88
|
-
title: SubSection<'title'>;
|
|
89
|
-
subject: SubSection<'subject'>;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
progress_type?: Section<'progressType'>;
|
|
93
|
-
chart_styles?: Section<'chartStyles'> & {
|
|
94
|
-
subSectionDefinition: {
|
|
95
|
-
stacked?: SubSection<'stacked'>;
|
|
96
|
-
legend?: SubSection<'legend'>;
|
|
97
|
-
labels?: SubSection<'labels'>;
|
|
98
|
-
curve?: SubSection<'curve'>;
|
|
99
|
-
number_format?: SubSection<'numberFormat'>;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
format?: Section<'format'> & {
|
|
103
|
-
subSectionDefinition: {
|
|
104
|
-
time?: SubSection<'time'>;
|
|
105
|
-
font_size?: SubSection<'fontSize'>;
|
|
106
|
-
direction?: SubSection<'direction'>;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
goal_line?: Section<'goalLine'>;
|
|
110
|
-
map_colors?: Section<'mapColors'>;
|
|
111
|
-
waterfall_colors?: Section<'waterfallColors'>;
|
|
112
|
-
headline?: Section<'headline'>;
|
|
113
|
-
trends?: Section<'trends'>;
|
|
114
|
-
prefixes?: Section<'prefixes'>;
|
|
115
|
-
conditional_formatting?: Section<'conditionalFormatting'> & {
|
|
116
|
-
subSectionDefinition?: {
|
|
117
|
-
bar: SubSection<'stacked'>;
|
|
118
|
-
line: SubSection<'stacked'>;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
quadrants?: Section<'quadrants'>;
|
|
122
|
-
}
|
|
123
|
-
export declare type ComponentNamespace = 'area_chart' | 'bar_chart' | 'basic_table' | 'bubble_chart' | 'combo_chart' | 'custom' | 'fields' | 'funnel_chart' | 'headline' | 'horizontal_bar_chart' | 'line_chart' | 'mercator_map' | 'pie_chart' | 'sunburst_chart' | 'pivot_table' | 'progress' | 'rich_text' | 'scatter_chart' | 'single_stat' | 'waterfall_chart' | 'radar_chart';
|
|
124
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import Joi from '@vizzly/joi';
|
|
2
|
-
import { Dumpable } from '../Dumpable';
|
|
3
|
-
import { DataSet } from '../DataSet/types';
|
|
4
|
-
import { DataPanelConfig } from '../DataPanelConfig/types';
|
|
5
|
-
import { FormatPanelConfig } from '../FormatPanelConfig/types';
|
|
6
|
-
import FieldNotFoundInDataSet from '../errors/FieldNotFoundInDataSet';
|
|
7
|
-
import DataSetNotFound from '../errors/DataSetNotFound';
|
|
8
|
-
import CorruptedView from '../errors/CorruptedView';
|
|
9
|
-
import { ComponentInterfaceConfig } from './types/ComponentInterfaceConfig';
|
|
10
|
-
import { ComponentNamespace } from './types/namespaces.types';
|
|
11
|
-
import { AcceptedTypes } from '../CustomField/types';
|
|
12
|
-
export * from './types/ComponentInterfaceConfig';
|
|
13
|
-
export interface ComponentInterface<Hydrated = any, Dumped = any> extends Dumpable<Hydrated, Dumped> {
|
|
14
|
-
title: string;
|
|
15
|
-
description: string;
|
|
16
|
-
servicesClass: string;
|
|
17
|
-
namespace: ComponentNamespace;
|
|
18
|
-
setDataAttributesFromPreAggregatedDataSet?: (attributes: Hydrated, dataSet: DataSet) => Hydrated;
|
|
19
|
-
removeField: (hydrated: Hydrated, fieldId: string) => Hydrated;
|
|
20
|
-
init: (dataSetId: string, overrides?: Partial<Hydrated>) => Hydrated;
|
|
21
|
-
setAttributes: (original: Hydrated, changes: Partial<Hydrated>) => Hydrated;
|
|
22
|
-
validate: (hydrated: Hydrated, dataSets: DataSet[]) => (CorruptedView | FieldNotFoundInDataSet | DataSetNotFound)[];
|
|
23
|
-
schema: Joi.ObjectSchema;
|
|
24
|
-
createFeedback?: (hydrated: Hydrated) => boolean | string | null;
|
|
25
|
-
isRunnable: (hydrated: Hydrated) => boolean;
|
|
26
|
-
autoGenerate: (dataSet: DataSet) => Hydrated;
|
|
27
|
-
dataPanelConfig: () => DataPanelConfig;
|
|
28
|
-
formatPanelConfig: () => FormatPanelConfig;
|
|
29
|
-
supportedCustomFields: {
|
|
30
|
-
percentages: boolean;
|
|
31
|
-
simpleMaths: boolean;
|
|
32
|
-
aggregateMaths: boolean;
|
|
33
|
-
rules: boolean;
|
|
34
|
-
roundedNumbers: boolean;
|
|
35
|
-
dateCalculations: boolean;
|
|
36
|
-
conditional: boolean;
|
|
37
|
-
customBuild: Array<AcceptedTypes> | false;
|
|
38
|
-
};
|
|
39
|
-
supportedFeatures: {
|
|
40
|
-
parameters: boolean;
|
|
41
|
-
colorGradient: boolean;
|
|
42
|
-
};
|
|
43
|
-
supportedAggregations?: Array<string>;
|
|
44
|
-
}
|
|
45
|
-
export declare type LoadComponentInterface<Hydrated, Dumped> = (config: ComponentInterfaceConfig) => ComponentInterface<Hydrated, Dumped>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import * as Field from '../Field';
|
|
3
|
-
declare type OldRules = {
|
|
4
|
-
field?: any;
|
|
5
|
-
operator?: any;
|
|
6
|
-
value?: any;
|
|
7
|
-
};
|
|
8
|
-
export declare const upcast: (functionsToCheck: Field.DecodingFunctionsToCheck, conditionalFormattingRules?: Array<Component.ConditionalFormatting.Rule & OldRules>) => Component.ConditionalFormatting.Rule[];
|
|
9
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import Joi from '@vizzly/joi';
|
|
2
|
-
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
3
|
-
export declare const conditionalFormattingRuleSchema: (queryEngineConfig: QueryEngineConfig) => Joi.ObjectSchema<any>;
|
|
4
|
-
export declare const prefixSchema: Joi.ObjectSchema<any>;
|
|
5
|
-
export declare const conditionalFormattingRulesSchema: (queryEngineConfig: QueryEngineConfig) => Joi.ArraySchema<any[]>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ConditionalFormatting';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AggregateMathField, AggregateNested } from '../../CustomField/types';
|
|
2
|
-
import { Query } from '../../Query/types';
|
|
3
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
4
|
-
import { VariableList } from '../../Variables/types';
|
|
5
|
-
import { MathOperator } from '../types';
|
|
6
|
-
export declare const init: (publicName: string, leftFieldId: string, leftFunction: string, operator: MathOperator, rightFieldId: string, rightFunction: string, queryEngineConfig: QueryEngineConfig, leftNested: AggregateNested | undefined, rightNested: AggregateNested | undefined) => AggregateMathField;
|
|
7
|
-
export declare const build: (customField: AggregateMathField, variables: VariableList) => Query['measure'][number];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../../results-driver/src/types';
|
|
2
|
-
import { DataSet } from '../../DataSet/types';
|
|
3
|
-
import { Query } from '../../Query/types';
|
|
4
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
5
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
6
|
-
import { AliasFieldType } from '../types';
|
|
7
|
-
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: AliasFieldType, _queryEngineConfig: QueryEngineConfig, dataSet: DataSet, _queryHasDimension: boolean, params: Params) => Query['measure'][number];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../../results-driver/src/types';
|
|
2
|
-
import { DataSet } from '../../DataSet/types';
|
|
3
|
-
import * as Filter from '../../Filter';
|
|
4
|
-
import { Query } from '../../Query/types';
|
|
5
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
6
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
7
|
-
import { ConditionalField } from '../types';
|
|
8
|
-
export declare const init: (publicName: string, fieldId: string, func: string, rule: QueryAttributes.Filter[][], queryEngineConfig: QueryEngineConfig) => ConditionalField;
|
|
9
|
-
export declare const build: (field: ConditionalField, queryEngineConfig: QueryEngineConfig, dataSet: DataSet, params: Params) => Query['measure'][number];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { DataSet as DataSetType } from '../DataSet/types';
|
|
2
|
-
import { AggregateMathField, AliasFieldType, ConditionalField, CustomField, DateCalculationField, MetricField, PercentageField, RoundedNumberField, RulesField, SimpleMathField } from '../CustomField/types';
|
|
3
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
4
|
-
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
5
|
-
import { Query } from '../Query/types';
|
|
6
|
-
import { CustomFieldCategory } from './types';
|
|
7
|
-
import { Params } from '../../../results-driver/src/types';
|
|
8
|
-
export declare const isSimpleMathField: (field: DataSetType.Field) => field is SimpleMathField;
|
|
9
|
-
export declare const isRoundedNumberField: (field: DataSetType.Field) => field is RoundedNumberField;
|
|
10
|
-
export declare const isAggregateMathField: (field: DataSetType.Field) => field is AggregateMathField;
|
|
11
|
-
export declare const isPercentageField: (field: DataSetType.Field) => field is PercentageField;
|
|
12
|
-
export declare const isRules: (field: DataSetType.Field) => field is RulesField;
|
|
13
|
-
export declare const isConditional: (field: DataSetType.Field) => field is ConditionalField;
|
|
14
|
-
export declare const isCustomBuildMetric: (field: DataSetType.Field) => field is MetricField;
|
|
15
|
-
export declare const isAliasField: (field: DataSetType.Field) => field is AliasFieldType;
|
|
16
|
-
export declare const isDateCalculation: (field: DataSetType.Field) => field is DateCalculationField;
|
|
17
|
-
export declare const getCustomFieldCategory: (field: CustomField) => CustomFieldCategory;
|
|
18
|
-
export declare const isCustomField: (field: DataSetType.Field) => field is CustomField;
|
|
19
|
-
/**
|
|
20
|
-
* Converts a custom field definition to
|
|
21
|
-
* a measure.
|
|
22
|
-
*/
|
|
23
|
-
export declare const toQueryMeasure: (measureAttribute: QueryAttributes.Measure, customField: CustomField, queryEngineConfig: QueryEngineConfig, dataSet: DataSetType, queryHasDimension: boolean, params: Params) => Query['measure'][number];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../../results-driver/src/types';
|
|
2
|
-
import { DataSet } from '../../DataSet/types';
|
|
3
|
-
import { Query } from '../../Query/types';
|
|
4
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
5
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
6
|
-
import { MetricField } from '../types';
|
|
7
|
-
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: MetricField, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params) => Query['measure'][number];
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
|
|
2
|
-
export declare enum PropertyType {
|
|
3
|
-
Operator = "operator",
|
|
4
|
-
IfLogic = "ifLogic",
|
|
5
|
-
NumberInput = "number",
|
|
6
|
-
Variable = "variable",
|
|
7
|
-
Field = "field",
|
|
8
|
-
Aggregate = "aggregate"
|
|
9
|
-
}
|
|
10
|
-
export declare enum OperatorType {
|
|
11
|
-
Divide = "/",
|
|
12
|
-
Multiply = "*",
|
|
13
|
-
Subtract = "-",
|
|
14
|
-
Add = "+"
|
|
15
|
-
}
|
|
16
|
-
export declare type NumberInput = {
|
|
17
|
-
type: PropertyType.NumberInput;
|
|
18
|
-
value: number | undefined;
|
|
19
|
-
};
|
|
20
|
-
export declare type Variable = {
|
|
21
|
-
type: PropertyType.Variable;
|
|
22
|
-
value: string;
|
|
23
|
-
};
|
|
24
|
-
export declare type Field = {
|
|
25
|
-
type: PropertyType.Field;
|
|
26
|
-
fieldId: string;
|
|
27
|
-
function: string;
|
|
28
|
-
};
|
|
29
|
-
export declare type Aggregate = {
|
|
30
|
-
type: PropertyType.Aggregate;
|
|
31
|
-
fieldId: string;
|
|
32
|
-
function?: string;
|
|
33
|
-
};
|
|
34
|
-
export declare type IfLogic = {
|
|
35
|
-
type: PropertyType.IfLogic;
|
|
36
|
-
cases: Array<{
|
|
37
|
-
filter: Array<QueryAttributes.Filter[]>;
|
|
38
|
-
returns: Operator | NumberInput | Field | Variable | IfLogic | Aggregate | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
else: Operator | NumberInput | Field | Variable | IfLogic | undefined | Aggregate;
|
|
41
|
-
};
|
|
42
|
-
export declare type Operator = {
|
|
43
|
-
type: PropertyType.Operator;
|
|
44
|
-
op: OperatorType;
|
|
45
|
-
values: Array<Operator | NumberInput | Field | Variable | IfLogic | Aggregate>;
|
|
46
|
-
};
|
|
47
|
-
export declare type Metric = Operator | IfLogic | Aggregate | NumberInput | Field;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Query } from '../../Query/types';
|
|
2
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
3
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
4
|
-
import { VariableList } from '../../Variables/types';
|
|
5
|
-
import { DateCalculationField } from '../types';
|
|
6
|
-
export declare const init: (publicName: string, leftFieldId: string, dateCalculationFunction: DateCalculationField['dateCalculationFunction'], rightFieldId: string, queryEngineConfig: QueryEngineConfig) => DateCalculationField;
|
|
7
|
-
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: DateCalculationField, variables: VariableList) => Query['measure'][number];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../../results-driver/src/types';
|
|
2
|
-
import { DataSet } from '../../DataSet/types';
|
|
3
|
-
import { Query } from '../../Query/types';
|
|
4
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
5
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
6
|
-
import { VariableList } from '../../Variables/types';
|
|
7
|
-
import { PercentageField } from '../types';
|
|
8
|
-
/**
|
|
9
|
-
* Creates a new custom percentage field.
|
|
10
|
-
*/
|
|
11
|
-
export declare const init: (publicName: string, denominatorFieldId: string, denominatorAggregate: string, numeratorFieldId: string | null, numeratorAggregate: string | null, numeratorFilter: QueryAttributes['filter'], denominatorFilter: QueryAttributes['filter'], queryEngineConfig: QueryEngineConfig, denominatorScope?: PercentageField['denominatorScope']) => PercentageField;
|
|
12
|
-
export declare const build: (customField: PercentageField, queryEngineConfig: QueryEngineConfig, dataSet: DataSet, _queryHasDimension: boolean, params: Params) => Query['measure'][number];
|
|
13
|
-
export declare function buildPercentageFilters(customField: PercentageField, variables: VariableList): {
|
|
14
|
-
queryFilterFromNumeratorFilter: import("@vizzly/sqlbuilder-public").RecursiveFilter;
|
|
15
|
-
queryFilterFromDenominatorFilter: import("@vizzly/sqlbuilder-public").RecursiveFilter;
|
|
16
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RoundedNumberField } from '../../CustomField/types';
|
|
2
|
-
import { Query } from '../../Query/types';
|
|
3
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
4
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
5
|
-
import { VariableList } from '../../Variables/types';
|
|
6
|
-
export declare const init: (publicName: string, fieldId: string, roundToDecimalPlaces: 0 | 2, queryEngineConfig: QueryEngineConfig) => RoundedNumberField;
|
|
7
|
-
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: RoundedNumberField, variables: VariableList) => Query['measure'][number];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Params } from '../../../../results-driver/src/types';
|
|
2
|
-
import { RulesField } from '../../CustomField/types';
|
|
3
|
-
import { DataSet } from '../../DataSet/types';
|
|
4
|
-
import { Query, QueryNameSpace } from '../../Query/types';
|
|
5
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
6
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
7
|
-
import { Rules } from './types';
|
|
8
|
-
export declare const init: (publicName: string, rules: Rules[], queryEngineConfig: QueryEngineConfig) => RulesField;
|
|
9
|
-
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: RulesField, queryEngineConfig: QueryEngineConfig, dataSet: DataSet, params: Params) => Query['measure'][number];
|
|
10
|
-
export declare const convertToCases: (rules: Rules[], queryEngineConfig: QueryEngineConfig, dataSet: DataSet, params: Params) => QueryNameSpace.Cases[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SimpleMathField } from '../../CustomField/types';
|
|
2
|
-
import { Query, QueryNameSpace } from '../../Query/types';
|
|
3
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
4
|
-
import { QueryEngineConfig } from '../../QueryEngineConfig/types';
|
|
5
|
-
import { MathOperator } from '../types';
|
|
6
|
-
import { DataSet } from '../../DataSet/types';
|
|
7
|
-
import { Params } from '../../../../results-driver/src/types';
|
|
8
|
-
import { VariableList } from '../../Variables/types';
|
|
9
|
-
export declare const init: (publicName: string, leftFieldId: string, operator: MathOperator, rightFieldId: string, queryEngineConfig: QueryEngineConfig) => SimpleMathField;
|
|
10
|
-
export declare const build: (measureAttribute: QueryAttributes.Measure, customField: SimpleMathField, dataSet: DataSet, params: Params) => Query['measure'][number];
|
|
11
|
-
export declare const buildSide: (value: string, dataSet: DataSet, variables: VariableList) => QueryNameSpace.FieldDefinition;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Clause } from '../Filter/types';
|
|
2
|
-
export declare const alwaysTrueFilter: {
|
|
3
|
-
type: Clause.AND_WHERE;
|
|
4
|
-
value: {
|
|
5
|
-
type: Clause.WHERE;
|
|
6
|
-
value: {
|
|
7
|
-
field: {
|
|
8
|
-
type: "number";
|
|
9
|
-
value: number;
|
|
10
|
-
};
|
|
11
|
-
op: string;
|
|
12
|
-
value: number;
|
|
13
|
-
};
|
|
14
|
-
}[];
|
|
15
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './CustomField';
|
|
2
|
-
export * as Percentage from './Percentage';
|
|
3
|
-
export * as SimpleMath from './SimpleMath';
|
|
4
|
-
export * as AggregateMath from './AggregateMath';
|
|
5
|
-
export * as Rules from './Rules';
|
|
6
|
-
export * as RoundedNumber from './RoundedNumber';
|
|
7
|
-
export * as DateCalculation from './DateCalculation';
|
|
8
|
-
export * as Conditional from './Conditional';
|
|
9
|
-
export * as CustomMetric from './CustomMetric';
|
|
10
|
-
export * from './upcast';
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
|
-
import { BaseField, DataType, NonDateTimeField } from '../Field/types';
|
|
3
|
-
import { Rules } from './Rules/types';
|
|
4
|
-
import { Metric } from './CustomMetric/types';
|
|
5
|
-
declare type BaseCustomField = Omit<NonDateTimeField, 'dashboardFilterGroups'>;
|
|
6
|
-
declare type SimpleMath = {
|
|
7
|
-
leftFieldId: string;
|
|
8
|
-
operator: MathOperator;
|
|
9
|
-
rightFieldId: string;
|
|
10
|
-
};
|
|
11
|
-
declare type RoundedNumber = {
|
|
12
|
-
roundToDecimalPlaces: 0 | 2;
|
|
13
|
-
fieldId: string;
|
|
14
|
-
};
|
|
15
|
-
export declare type Conditional = {
|
|
16
|
-
fieldId: string;
|
|
17
|
-
function: string;
|
|
18
|
-
rule: QueryAttributes.Filter[][];
|
|
19
|
-
};
|
|
20
|
-
export declare type Percentage = {
|
|
21
|
-
version: 2;
|
|
22
|
-
denominatorFieldId: string;
|
|
23
|
-
denominatorAggregate: string;
|
|
24
|
-
numeratorFieldId?: string | null;
|
|
25
|
-
numeratorAggregate?: string | null;
|
|
26
|
-
denominatorScope?: 'all' | 'withinGrouping';
|
|
27
|
-
numeratorFilter?: QueryAttributes['filter'];
|
|
28
|
-
denominatorFilter?: QueryAttributes['filter'];
|
|
29
|
-
dataType: DataType;
|
|
30
|
-
};
|
|
31
|
-
export declare type AggregateNested = {
|
|
32
|
-
operator: MathOperator;
|
|
33
|
-
fieldId: string;
|
|
34
|
-
/** @deprecated ignore this outside of upcasting */
|
|
35
|
-
aggregate?: string;
|
|
36
|
-
function: string;
|
|
37
|
-
};
|
|
38
|
-
export declare type AggregateMath = {
|
|
39
|
-
leftFieldId: string;
|
|
40
|
-
leftFunction: string;
|
|
41
|
-
leftNested?: AggregateNested;
|
|
42
|
-
operator: MathOperator;
|
|
43
|
-
rightFieldId: string;
|
|
44
|
-
rightFunction: string;
|
|
45
|
-
rightNested?: AggregateNested;
|
|
46
|
-
/** @deprecated ignore this outside of upcasting */
|
|
47
|
-
leftAggregate?: string;
|
|
48
|
-
/** @deprecated ignore this outside of upcasting */
|
|
49
|
-
rightAggregate?: string;
|
|
50
|
-
};
|
|
51
|
-
export declare type DateCalculation = {
|
|
52
|
-
leftFieldId: string;
|
|
53
|
-
rightFieldId: string;
|
|
54
|
-
dateCalculationFunction: 'seconds_between' | 'minutes_between' | 'hours_between' | 'days_between';
|
|
55
|
-
};
|
|
56
|
-
export declare type PercentageField = BaseCustomField & Percentage;
|
|
57
|
-
export declare type RoundedNumberField = BaseCustomField & RoundedNumber;
|
|
58
|
-
export declare type DateCalculationField = BaseCustomField & DateCalculation;
|
|
59
|
-
export declare type AggregateMathField = BaseCustomField & AggregateMath;
|
|
60
|
-
export declare type ConditionalField = BaseCustomField & Conditional;
|
|
61
|
-
export declare type AliasFieldType = BaseCustomField & {
|
|
62
|
-
allowedFields: Array<{
|
|
63
|
-
id: string;
|
|
64
|
-
}>;
|
|
65
|
-
};
|
|
66
|
-
export declare type MetricField = BaseCustomField & {
|
|
67
|
-
metric: Metric;
|
|
68
|
-
};
|
|
69
|
-
export declare type SimpleMathField = BaseCustomField & SimpleMath & {
|
|
70
|
-
dataType: 'number';
|
|
71
|
-
};
|
|
72
|
-
export declare type RulesField = BaseField & {
|
|
73
|
-
rules: Rules[];
|
|
74
|
-
dataType: 'string' | 'number';
|
|
75
|
-
};
|
|
76
|
-
export declare type CustomBuildMetricField = BaseField & {
|
|
77
|
-
metricAttributes: Metric;
|
|
78
|
-
dataType: 'number';
|
|
79
|
-
};
|
|
80
|
-
export declare type CustomField = PercentageField | SimpleMathField | AggregateMathField | RulesField | RoundedNumberField | DateCalculationField | ConditionalField | MetricField | CustomBuildMetricField | AliasFieldType;
|
|
81
|
-
export declare type MathOperator = '*' | '-' | '/' | '+';
|
|
82
|
-
export declare type CustomFieldCategory = 'percentage' | 'math' | 'rules' | 'roundedNumber' | 'dateCalculation' | 'conditional' | 'customBuildMetric';
|
|
83
|
-
export declare enum AcceptedTypes {
|
|
84
|
-
Maths = "maths",
|
|
85
|
-
IfStatement = "ifStatement",
|
|
86
|
-
Aggregates = "aggregates"
|
|
87
|
-
}
|
|
88
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { LoadComponentInterface } from '../ComponentInterface/types';
|
|
3
|
-
import { DumpedCustomViewAttributes } from './types';
|
|
4
|
-
declare const CustomChart: LoadComponentInterface<Component.CustomViewAttributes, DumpedCustomViewAttributes>;
|
|
5
|
-
export default CustomChart;
|