@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,103 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../DataSet/types';
|
|
2
|
-
import { DateTimeField, NonDateTimeField, SupportedAggregateOption } from '../Field/types';
|
|
3
|
-
import { DataType } from './types';
|
|
4
|
-
import { QueryAttributes, SupportedOperators } from '../QueryAttributes/types';
|
|
5
|
-
import * as Aggregate from '../Aggregate';
|
|
6
|
-
import { SupportedAggregates } from '../Aggregate';
|
|
7
|
-
import { SupportedTimeTruncFunctions } from '@vizzly/semantic-layer-public';
|
|
8
|
-
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
9
|
-
import { SupportedTransformationFunctions } from '../Functions/types';
|
|
10
|
-
import { TextOverride } from '../Translations/types';
|
|
11
|
-
import { ValueAlias as ValueAliasType } from '../ValueAlias/types';
|
|
12
|
-
export declare const NULL_REPLACEMENT = "No value";
|
|
13
|
-
export declare const ALL_AGGREGATES: Array<QueryAttributes.Aggregate>;
|
|
14
|
-
export declare type OldField = {
|
|
15
|
-
id: string;
|
|
16
|
-
publicName?: string;
|
|
17
|
-
dataType: 'string' | 'number' | 'date_time' | 'boolean' | 'string[]';
|
|
18
|
-
canBeDimension?: boolean;
|
|
19
|
-
canBeMeasure?: boolean;
|
|
20
|
-
allowedGranularities?: QueryAttributes.TimeDimension.Truncate[];
|
|
21
|
-
allowedOperators?: Array<QueryAttributes.Operator>;
|
|
22
|
-
dashboardRequiredFilterGroups?: Array<{
|
|
23
|
-
publicName: string;
|
|
24
|
-
}>;
|
|
25
|
-
supportedAggregateOptions?: string[];
|
|
26
|
-
description?: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const upcastField: (maybeOldField: OldField, queryEngineConfig: QueryEngineConfig, options?: {
|
|
29
|
-
allowEmptyPublicName: boolean;
|
|
30
|
-
}) => DateTimeField | NonDateTimeField;
|
|
31
|
-
export declare const valueIsOrDataType: (value: unknown, dataType: DataType) => boolean;
|
|
32
|
-
export declare const parseValue: (raw: string | number | null | boolean | Date | string[], type: DataType) => string | number | boolean | Date | null;
|
|
33
|
-
export declare const parseBooleanFromString: (raw: string, type: DataType) => string | boolean;
|
|
34
|
-
export declare const VALID_DATA_TYPES: DataType[];
|
|
35
|
-
export declare const isValidDataType: (type: string) => boolean;
|
|
36
|
-
export declare const toHumanReadable: (fieldTitle: string) => string;
|
|
37
|
-
export declare const dataTypeToHumanReadable: (dataType: DataType) => string;
|
|
38
|
-
export declare const toString: (value: null | string | number | Date | boolean | string[], formatDate?: ((date: Date) => string) | undefined, nullReplacement?: string) => string | null;
|
|
39
|
-
export declare const toStringShort: (value: null | string | number | Date, nullReplacement?: string) => string | number;
|
|
40
|
-
export declare const removeFields: <T extends {
|
|
41
|
-
id: string;
|
|
42
|
-
}>(originalFields: {
|
|
43
|
-
id: string;
|
|
44
|
-
}[], fieldTitlesToRemove: string[]) => T[];
|
|
45
|
-
export declare const supportedOperators: (field: DataSet.Field, supportedOperators: QueryEngineConfig['supportedOperators'], textOverride?: TextOverride) => SupportedOperators;
|
|
46
|
-
export declare const getDefaultAggregateForField: <T extends Aggregate.SupportedAggregates>(field: {
|
|
47
|
-
dataType: DataType;
|
|
48
|
-
}, supportedAggregates: T) => string;
|
|
49
|
-
export declare const supportedAggregatesForField: <T extends Aggregate.SupportedAggregates>(field: {
|
|
50
|
-
dataType: DataType;
|
|
51
|
-
supportedAggregateOptions?: SupportedAggregateOption[];
|
|
52
|
-
}, supportedAggregates: T) => Array<string>;
|
|
53
|
-
export declare const supportedAggregateOptions: <T extends Aggregate.SupportedAggregates>(field: {
|
|
54
|
-
dataType: DataType;
|
|
55
|
-
}, supportedAggregates: T) => {
|
|
56
|
-
label: string;
|
|
57
|
-
value: keyof T;
|
|
58
|
-
}[];
|
|
59
|
-
export declare const timeDimensionTruncateToSelectOptions: (allowedTimeDimensionGranularities: QueryAttributes.TimeDimension.Truncate[], supportedTimeTruncFunctions: SupportedTimeTruncFunctions) => {
|
|
60
|
-
label: string;
|
|
61
|
-
value: QueryAttributes.TimeDimension.Truncate;
|
|
62
|
-
}[];
|
|
63
|
-
export declare const takeHighestGranularity: (timeDimensionGranularities: QueryAttributes.TimeDimension.Truncate[]) => QueryAttributes.TimeDimension.Truncate;
|
|
64
|
-
/**
|
|
65
|
-
* Build the id of the field in string format
|
|
66
|
-
*/
|
|
67
|
-
export declare const id: (metric: {
|
|
68
|
-
field: string;
|
|
69
|
-
function: string;
|
|
70
|
-
}) => string;
|
|
71
|
-
export declare type DecodingFunctionsToCheck = {
|
|
72
|
-
supportedAggregates: QueryEngineConfig['supportedAggregates'] | undefined;
|
|
73
|
-
supportedTimeTruncFunctions: QueryEngineConfig['supportedTimeTruncFunctions'] | undefined;
|
|
74
|
-
supportedTransformationFunctions: QueryEngineConfig['supportedTransformationFunctions'] | undefined;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Decode a built id of the field. Requires all possible functions to be
|
|
78
|
-
* able to do this.
|
|
79
|
-
*/
|
|
80
|
-
export declare const decodeId: (metric: string, functionsToCheck: DecodingFunctionsToCheck) => QueryAttributes.Measure;
|
|
81
|
-
/**
|
|
82
|
-
* @deprecated
|
|
83
|
-
* Use decodeId instead.
|
|
84
|
-
* */
|
|
85
|
-
export declare const getQueryFieldIdFromResultFieldId: (fieldIdOrDatumKey: string, functionsToCheck: DecodingFunctionsToCheck) => {
|
|
86
|
-
fieldId: string;
|
|
87
|
-
function: QueryAttributes.Aggregate;
|
|
88
|
-
};
|
|
89
|
-
export declare const listValidFunctionsForDataType: (field: {
|
|
90
|
-
dataType: DataType;
|
|
91
|
-
}, supportedTransformationFunctions: SupportedTransformationFunctions | SupportedAggregates) => string[];
|
|
92
|
-
export declare const removeField: <T extends {
|
|
93
|
-
id: string;
|
|
94
|
-
}>(originalFields: T[], removeFields: (QueryAttributes.Dimension | QueryAttributes.Measure)[]) => T[];
|
|
95
|
-
export declare const upcastStringDimensionsToObject: (dimensions: QueryAttributes.Dimension[]) => QueryAttributes.Dimension[];
|
|
96
|
-
export declare const isArrayDataType: (field: {
|
|
97
|
-
dataType: DataType;
|
|
98
|
-
}) => boolean;
|
|
99
|
-
declare const vizzlySupportedTransformationFunctions: SupportedTransformationFunctions;
|
|
100
|
-
export declare const supportedTransformationFunctions: (keys?: Array<keyof typeof vizzlySupportedTransformationFunctions>) => SupportedTransformationFunctions;
|
|
101
|
-
export declare const supportedAggregatesFunction: (queryEngineConfig: QueryEngineConfig, dataType: DataType, supportedAggregateOptions?: SupportedAggregateOption[]) => SupportedAggregateOption[];
|
|
102
|
-
export declare const checkForNullValue: (dataSetId: string, dimensions: QueryAttributes.Dimension[] | null, timeDimension: QueryAttributes.TimeDimension | null, textOverride?: TextOverride, valueAlias?: ValueAliasType, textOverrideKey?: string) => string | undefined;
|
|
103
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Field';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
|
-
export declare type DataType = 'number' | 'boolean' | 'string' | 'date_time' | 'string[]';
|
|
3
|
-
export declare type DateTimeFormat = 'DD/MM/YYYY' | 'MM/DD/YYYY' | 'DD-MM-YYYY' | 'MM-DD-YYYY' | 'DD MMMM YYYY, hh:mm' | 'dddd DD MMMM YYYY, hh:mm' | 'hh:mm' | 'hh:mm:ss' | 'DD MMMM YYYY' | 'MMMM YYYY' | 'YYYY' | 'YYYY-MM-DD[T]HH:mm:ss' | 'quarter' | 'week' | 'day_of_month' | 'day_of_week_iso' | 'week_of_year' | 'hour_of_day' | 'month_of_year';
|
|
4
|
-
export declare type SupportedAggregateOption = string;
|
|
5
|
-
declare type DashboardRequiredFilterGroup = {
|
|
6
|
-
/** This is displayed on the global filter, and it is also used to group related filters */
|
|
7
|
-
publicName: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type BaseField = {
|
|
10
|
-
id: string;
|
|
11
|
-
publicName: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
canBeDimension: boolean;
|
|
14
|
-
canBeMeasure: boolean;
|
|
15
|
-
allowedOperators: Array<QueryAttributes.Operator>;
|
|
16
|
-
dashboardRequiredFilterGroups?: DashboardRequiredFilterGroup[];
|
|
17
|
-
supportedAggregateOptions?: SupportedAggregateOption[];
|
|
18
|
-
};
|
|
19
|
-
export declare type DateTimeField = BaseField & {
|
|
20
|
-
dataType: 'date_time';
|
|
21
|
-
allowedGranularities: QueryAttributes.TimeDimension.Truncate[];
|
|
22
|
-
};
|
|
23
|
-
export interface NonDateTimeField extends BaseField {
|
|
24
|
-
dataType: Exclude<DataType, 'date_time'>;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,49 +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
|
-
export declare const addAndFilters: (filter: QueryAttributes['filter'], filterToAddToAll: QueryAttributes.Filter[][]) => QueryAttributes['filter'];
|
|
8
|
-
export declare const convertArrayFilterStructureToQueryFilter: (arrayFilterStructure: QueryAttributes.Filter[][], variables: VariableList) => Query['filter'];
|
|
9
|
-
export declare const combineQueryFilters: (filter: Query['filter'], filterToAddToAll: Query['filter']) => Query['filter'];
|
|
10
|
-
/**
|
|
11
|
-
* Iterates through a query filter and, for each custom metric field, builds a custom metric.
|
|
12
|
-
*/
|
|
13
|
-
export declare function buildQueryCustomMetrics(filter: Query['filter'], dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params): Query['filter'];
|
|
14
|
-
export declare function getFieldFromFilter(filter: Query['filter']): {
|
|
15
|
-
type: "number";
|
|
16
|
-
value: number;
|
|
17
|
-
as?: string | undefined;
|
|
18
|
-
} | {
|
|
19
|
-
type: "string";
|
|
20
|
-
value: string;
|
|
21
|
-
as?: string | undefined;
|
|
22
|
-
} | {
|
|
23
|
-
type: "boolean";
|
|
24
|
-
value: boolean | null;
|
|
25
|
-
as?: string | undefined;
|
|
26
|
-
} | {
|
|
27
|
-
type: "field";
|
|
28
|
-
value: string;
|
|
29
|
-
function: string;
|
|
30
|
-
as?: string | undefined;
|
|
31
|
-
} | {
|
|
32
|
-
type: "switchField";
|
|
33
|
-
value: {
|
|
34
|
-
cases: import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.Cases<string>[];
|
|
35
|
-
};
|
|
36
|
-
as?: string | undefined;
|
|
37
|
-
} | {
|
|
38
|
-
type: "subquery";
|
|
39
|
-
value: import("@vizzly/sqlbuilder-public").SubQuery<string, string, "/" | "*" | "-" | "+", import("@vizzly/sqlbuilder-public").RecursiveFilter>;
|
|
40
|
-
as?: string | undefined;
|
|
41
|
-
} | {
|
|
42
|
-
type: "function";
|
|
43
|
-
function: string;
|
|
44
|
-
value: import("@vizzly/sqlbuilder-public/dist/Query/types").QueryNameSpace.FieldDefinition<string, string, "/" | "*" | "-" | "+", import("@vizzly/sqlbuilder-public").RecursiveFilter>;
|
|
45
|
-
as?: string | undefined;
|
|
46
|
-
} | null;
|
|
47
|
-
export declare const takeUsedFields: (filter: QueryAttributes['filter']) => string[];
|
|
48
|
-
export declare const isAvailable: (filter?: QueryAttributes['filter']) => boolean | undefined;
|
|
49
|
-
export declare const isAdditionalFilter: (value: any) => boolean;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { DataSet as DataSetType } from '../DataSet/types';
|
|
2
|
-
import { Field } from '../AdditionalFilter/types';
|
|
3
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
4
|
-
import { TextOverride } from '../Translations/types';
|
|
5
|
-
import Joi from '@vizzly/joi';
|
|
6
|
-
export declare type RelativeDate = {
|
|
7
|
-
unit: DurationType | null;
|
|
8
|
-
value: number | null;
|
|
9
|
-
timeFrame: TimeframeType | null;
|
|
10
|
-
};
|
|
11
|
-
export declare const defaultDurationOptions: (textOverride?: TextOverride) => {
|
|
12
|
-
minutes: {
|
|
13
|
-
description: string;
|
|
14
|
-
formatter: (currentDate: Date, value: number) => void;
|
|
15
|
-
};
|
|
16
|
-
hours: {
|
|
17
|
-
description: string;
|
|
18
|
-
formatter: (currentDate: Date, value: number) => void;
|
|
19
|
-
};
|
|
20
|
-
days: {
|
|
21
|
-
description: string;
|
|
22
|
-
formatter: (currentDate: Date, value: number) => void;
|
|
23
|
-
};
|
|
24
|
-
weeks: {
|
|
25
|
-
description: string;
|
|
26
|
-
formatter: (currentDate: Date, value: number) => void;
|
|
27
|
-
};
|
|
28
|
-
months: {
|
|
29
|
-
description: string;
|
|
30
|
-
formatter: (currentDate: Date, value: number) => void;
|
|
31
|
-
};
|
|
32
|
-
years: {
|
|
33
|
-
description: string;
|
|
34
|
-
formatter: (currentDate: Date, value: number) => void;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
declare type DurationOptions = ReturnType<typeof defaultDurationOptions>;
|
|
38
|
-
export declare type DurationType = keyof DurationOptions;
|
|
39
|
-
export declare const defaultTimeframeOptions: (textOverride?: TextOverride) => {
|
|
40
|
-
future: {
|
|
41
|
-
description: string;
|
|
42
|
-
};
|
|
43
|
-
past: {
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
declare type TimeframeOptions = ReturnType<typeof defaultTimeframeOptions>;
|
|
48
|
-
export declare type TimeframeType = keyof TimeframeOptions;
|
|
49
|
-
export declare const relativeSchema: Joi.ObjectSchema<any>;
|
|
50
|
-
export declare function isRelative(value: any): any;
|
|
51
|
-
export declare function isRelativeDateDefined(value: RelativeDate): boolean;
|
|
52
|
-
export declare const init: () => RelativeDate;
|
|
53
|
-
export declare const calculateRelativeDate: (relativeDate: RelativeDate, startDate?: Date) => Date;
|
|
54
|
-
export declare const buildRelativeRange: (relativeFilters: QueryAttributes.Filter[][], dataSet: DataSetType, appliesToFields?: Field[]) => QueryAttributes.Filter[][];
|
|
55
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { FormattingRuleType } from '../FormattingRule/types';
|
|
2
|
-
import { Section } from '../DataPanelConfig/types';
|
|
3
|
-
export declare type HeadingSubSections = Section<'title'> | Section<'subject'>;
|
|
4
|
-
export declare type HeadingSection = Section<'heading'> & {
|
|
5
|
-
subSection: Array<HeadingSubSections>;
|
|
6
|
-
};
|
|
7
|
-
export declare type FormatSubSections = Section<'time'> | Section<'fontSize'> | Section<'direction'>;
|
|
8
|
-
export declare type FormatSection = Section<'format'> & {
|
|
9
|
-
subSection: Array<FormatSubSections>;
|
|
10
|
-
};
|
|
11
|
-
export declare type ChartStylesSubSections = Section<'stacked' | 'curve' | 'legend' | 'numberFormat' | 'labels'>;
|
|
12
|
-
export declare type ChartStylesSection = Section<'chartStyles'> & {
|
|
13
|
-
subSection: Array<ChartStylesSubSections>;
|
|
14
|
-
};
|
|
15
|
-
export interface LabelSection<T> extends Omit<Section<T>, 'type'> {
|
|
16
|
-
prefix: Omit<Section<T>, 'type'>;
|
|
17
|
-
postfix: Omit<Section<T>, 'type'>;
|
|
18
|
-
format?: Omit<Section<T>, 'type'>;
|
|
19
|
-
count: Omit<Section<T>, 'type'>;
|
|
20
|
-
axisTitle?: Omit<Section<T>, 'type'>;
|
|
21
|
-
}
|
|
22
|
-
export declare type AxisLabelsSection = Section<'axisLabels'> & {
|
|
23
|
-
x: LabelSection<'axisLabels'>;
|
|
24
|
-
y: LabelSection<'axisLabels'>;
|
|
25
|
-
};
|
|
26
|
-
export declare type LabelsSection = Section<'statsLabels'> & LabelSection<'statsLabels'>;
|
|
27
|
-
export declare type PrefixSection = Section<'prefixes'>;
|
|
28
|
-
export declare type MapColorsSection = Section<'mapColors'>;
|
|
29
|
-
export declare type WaterfallColorsSection = Section<'waterfallColors'>;
|
|
30
|
-
export declare type HeadlineSection = Section<'headline'>;
|
|
31
|
-
export declare type RichTextFormatSection = Section<'richText'>;
|
|
32
|
-
export interface QuadrantsSection extends Section<'quadrants'> {
|
|
33
|
-
}
|
|
34
|
-
export interface ConditionalFormattingSection extends Section<'conditionalFormatting'> {
|
|
35
|
-
ruleType: FormattingRuleType;
|
|
36
|
-
subSection?: {
|
|
37
|
-
title: string;
|
|
38
|
-
propKey: 'bar' | 'line';
|
|
39
|
-
}[];
|
|
40
|
-
}
|
|
41
|
-
export interface GoalLineSection extends Section<'goalLine'> {
|
|
42
|
-
}
|
|
43
|
-
export interface ProgressTypeSection<T> extends Omit<Section<T>, 'type'> {
|
|
44
|
-
progressType?: Omit<Section<T>, 'type'>;
|
|
45
|
-
}
|
|
46
|
-
export declare type ProgressTypesSection = Section<'progressType'> & ProgressTypeSection<'progressType'>;
|
|
47
|
-
export declare type FormatPanelSection = HeadingSection | FormatSection | ChartStylesSection | PrefixSection | AxisLabelsSection | LabelsSection | MapColorsSection | WaterfallColorsSection | QuadrantsSection | ConditionalFormattingSection | GoalLineSection | ProgressTypesSection | HeadlineSection | RichTextFormatSection | Section<'trends'>;
|
|
48
|
-
export declare type FormatPanelConfig = Array<FormatPanelSection>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type FormattingRuleType = 'backgroundColor' | 'fontColor' | 'lineColor' | 'areaColor';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DataType } from '../Field/types';
|
|
2
|
-
export declare type SupportedFunction = {
|
|
3
|
-
publicName: string;
|
|
4
|
-
validDataTypes: Array<Omit<DataType, 'date_time'>>;
|
|
5
|
-
};
|
|
6
|
-
export declare type SupportedTransformationFunctions = {
|
|
7
|
-
[id: string]: SupportedFunction;
|
|
8
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
3
|
-
declare const _default: (config: ComponentInterfaceConfig) => (lineChart: Component.FunnelChartAttributes, partial: Partial<Component.FunnelChartAttributes>) => Component.FunnelChartAttributes;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AdditionalFilter } from '../AdditionalFilter/types';
|
|
2
|
-
import { GlobalFilter } from './types';
|
|
3
|
-
/** Upcasts from an old global filter, to a new "additional filter" */
|
|
4
|
-
export declare const upcastToAdditionalFilter: (globalFilter: GlobalFilter) => AdditionalFilter;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
|
-
/** @deprecated */
|
|
3
|
-
export declare namespace GlobalFilter {
|
|
4
|
-
/** @deprecated */
|
|
5
|
-
type Type = 'globalSelectFilter' | 'globalDateTimeFilter';
|
|
6
|
-
/** @deprecated */
|
|
7
|
-
type Field = {
|
|
8
|
-
dataSetId: string;
|
|
9
|
-
field: QueryAttributes.Field;
|
|
10
|
-
};
|
|
11
|
-
/** @deprecated */
|
|
12
|
-
type Base<T extends Type> = {
|
|
13
|
-
type: T;
|
|
14
|
-
title: string;
|
|
15
|
-
filters: {
|
|
16
|
-
op: QueryAttributes.Operator;
|
|
17
|
-
value: string | number | null;
|
|
18
|
-
}[];
|
|
19
|
-
fields: Field[];
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
/** @deprecated */
|
|
23
|
-
export declare type GlobalSelectFilter = GlobalFilter.Base<'globalSelectFilter'>;
|
|
24
|
-
/** @deprecated */
|
|
25
|
-
export declare type GlobalDateTimeFilter = GlobalFilter.Base<'globalDateTimeFilter'>;
|
|
26
|
-
/** @deprecated */
|
|
27
|
-
export declare type GlobalFilter = GlobalSelectFilter | GlobalDateTimeFilter;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './fromRaw';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { GlobalLibrary } from './types';
|
|
2
|
-
export declare type RawGlobalLibrary = {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
library: GlobalLibrary.Library;
|
|
6
|
-
created_at: string;
|
|
7
|
-
updated_at: string;
|
|
8
|
-
parent_global_library_id: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const fromRaw: (rawGlobalLibrary: RawGlobalLibrary) => GlobalLibrary.Base;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IdentityConfig } from '../IdentityConfig/types';
|
|
2
|
-
import { GlobalLibraryStrategy } from '../Strategy/types';
|
|
3
|
-
import { GlobalLibrary } from './types';
|
|
4
|
-
export declare const getGlobalLibraryStrategy: (globalLibraries: GlobalLibrary.Base[], identityConfig: IdentityConfig) => GlobalLibraryStrategy;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { GlobalLibraryPermission } from '@vizzly/api-client';
|
|
2
|
-
import { Component } from '../Component/types';
|
|
3
|
-
import { GlobalLibrary } from '../GlobalLibrary/types';
|
|
4
|
-
export declare function tokenForLibrary(globalLibraryPermissions: GlobalLibraryPermission[], updatedGlobalLibraries: GlobalLibrary.Base[]): string;
|
|
5
|
-
export declare function update(globalLibraries: GlobalLibrary.Base[], componentAdded: Component, customFields: GlobalLibrary.CustomFields): GlobalLibrary.Base;
|
|
6
|
-
export declare const remove: (globalLibraries: GlobalLibrary.Base[], componentDeleted: Component) => GlobalLibrary.Base;
|
|
7
|
-
export declare function strategy(globalLibraries: GlobalLibrary.Base[]): GlobalLibrary.Base;
|
|
8
|
-
export declare function libraryByViewId(globalLibraries: GlobalLibrary.Base[], viewId?: string): GlobalLibrary.Base | undefined;
|
|
9
|
-
export declare const getChildGlobalLibraries: (globalLibraries: GlobalLibrary.Base[]) => GlobalLibrary.Base[];
|
|
10
|
-
export declare const getParentGlobalLibrary: (globalLibraries: GlobalLibrary.Base[]) => GlobalLibrary.Base | undefined;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { CustomField } from '../CustomField/types';
|
|
3
|
-
export declare namespace GlobalLibrary {
|
|
4
|
-
type Base = {
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
library: Library;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
updatedAt: Date;
|
|
10
|
-
parentGlobalLibraryId: string;
|
|
11
|
-
};
|
|
12
|
-
type CustomFields = {
|
|
13
|
-
[dataSetId: string]: Array<CustomField>;
|
|
14
|
-
};
|
|
15
|
-
type Library = {
|
|
16
|
-
views?: Component[];
|
|
17
|
-
customFields?: GlobalLibrary.CustomFields;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Component, MaybeOldComponent } from '../Component/types';
|
|
2
|
-
import { Display, EmptyCell } from '../Display/types';
|
|
3
|
-
import { HeaderComponent } from './types';
|
|
4
|
-
export declare const init: (displayTitle: string) => HeaderComponent;
|
|
5
|
-
export declare const isComponent: (component: Component.RawComponent | EmptyCell | HeaderComponent | MaybeOldComponent) => component is HeaderComponent;
|
|
6
|
-
export declare const HEADER_ROW_HEIGHT = 52;
|
|
7
|
-
export declare const add: (display: Display, rowIndex: number, initialTitle: string) => Display;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { LoadComponentInterface } from '../ComponentInterface/types';
|
|
3
|
-
declare const HorizontalBarChart: LoadComponentInterface<Component.HorizontalBarChartAttributes, Component.HorizontalBarChartAttributes>;
|
|
4
|
-
export default HorizontalBarChart;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
3
|
-
declare const _default: (config: ComponentInterfaceConfig) => (lineChart: Component.HorizontalBarChartAttributes, partial: Partial<Component.HorizontalBarChartAttributes>) => Component.HorizontalBarChartAttributes;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { LoadComponentInterface } from '../ComponentInterface/types';
|
|
3
|
-
declare const HorizontalBarChart: LoadComponentInterface<Component.HorizontalBarChartV2Attributes, Component.HorizontalBarChartV2Attributes>;
|
|
4
|
-
export default HorizontalBarChart;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
3
|
-
declare const _default: (config: ComponentInterfaceConfig) => (horizontalBarChart: Component.HorizontalBarChartV2Attributes, partial: Partial<Component.HorizontalBarChartV2Attributes>) => Component.HorizontalBarChartV2Attributes;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IdentityConfig } from './types';
|
|
2
|
-
export declare const init: (dashboardSessionToken: string, dataAccessToken?: string, queryEngineAccessToken?: string, dashboardAdminOverrideToken?: string | undefined | null) => IdentityConfig;
|
|
3
|
-
export declare const fingerprintOfDashboardAccess: (identityDashboardAccess: IdentityConfig['dashboardAccess']) => string;
|
|
4
|
-
export declare const logWarningsIfTokensHaveExpired: (identityConfig: IdentityConfig) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './IdentityConfig';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
2
|
-
declare type AllowedTablesRule = {
|
|
3
|
-
table: string;
|
|
4
|
-
};
|
|
5
|
-
export declare type VizzlyApiAccessConfig = {
|
|
6
|
-
allowVizzlyConfigReadAccess?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type QueryEngineAccessConfig = {
|
|
9
|
-
projectId: string;
|
|
10
|
-
allowDatabaseSchemaAccess: boolean | Array<AllowedTablesRule>;
|
|
11
|
-
allowDatabaseWriteAccess?: Array<AllowedTablesRule>;
|
|
12
|
-
allowDataPreviewAccess: boolean;
|
|
13
|
-
expires: string;
|
|
14
|
-
signature: string;
|
|
15
|
-
};
|
|
16
|
-
export declare type DataAccessConfig = {
|
|
17
|
-
dataSetIds: string[] | '*';
|
|
18
|
-
secureFilters: {
|
|
19
|
-
[dataSetId: string]: QueryAttributes.Filter[];
|
|
20
|
-
};
|
|
21
|
-
parameters?: Object;
|
|
22
|
-
expires: string;
|
|
23
|
-
signature: string;
|
|
24
|
-
};
|
|
25
|
-
export declare type DashboardAccessConfig = {
|
|
26
|
-
projectId: string;
|
|
27
|
-
/** @deprecated */
|
|
28
|
-
dashboardId?: string;
|
|
29
|
-
userReference: string;
|
|
30
|
-
expires: string;
|
|
31
|
-
signature: string;
|
|
32
|
-
accessType: 'admin' | 'standard';
|
|
33
|
-
scope: 'read' | 'read_write';
|
|
34
|
-
};
|
|
35
|
-
export declare type DashboardAdminOverrideConfig = {
|
|
36
|
-
signature: string;
|
|
37
|
-
project_id: string;
|
|
38
|
-
};
|
|
39
|
-
export declare type IdentityConfig = {
|
|
40
|
-
dashboardAccess: DashboardAccessConfig;
|
|
41
|
-
dashboardAdminOverride?: DashboardAdminOverrideConfig;
|
|
42
|
-
dataAccess?: DataAccessConfig;
|
|
43
|
-
queryEngineAccessConfig?: QueryEngineAccessConfig;
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../DataSet/types';
|
|
2
|
-
import { loadDataCallback } from '../Callbacks/types';
|
|
3
|
-
import { DataMap } from './types';
|
|
4
|
-
export declare let cachedData: {
|
|
5
|
-
[cacheKey: string]: DataMap[] | null;
|
|
6
|
-
};
|
|
7
|
-
export declare const clearCachedData: () => void;
|
|
8
|
-
export declare const _clearAllDataDownloadThrottles: () => void;
|
|
9
|
-
export declare const fetchData: (dataSet: DataSet, doFetch: loadDataCallback, cacheKey: string) => Promise<DataMap[] | null>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Query } from '../Query/types';
|
|
2
|
-
import { DataSet as DataSetType } from '../DataSet/types';
|
|
3
|
-
import { Result } from '../Result/types';
|
|
4
|
-
import { loadDataCallback } from '../Callbacks/types';
|
|
5
|
-
export declare const localRunQueriesCallback: (queries: Query[], dataSets: DataSetType[], doFetch: loadDataCallback, cacheKeyPrefix?: string) => Promise<{
|
|
6
|
-
results: (Omit<Result, 'fields'> | null)[];
|
|
7
|
-
}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../DataSet/types';
|
|
2
|
-
import { JSQueryEngineQuery } from './types';
|
|
3
|
-
import { Result } from '../Result/types';
|
|
4
|
-
import { PreparedQuery } from '../Query/types';
|
|
5
|
-
export declare const runQueryV3: (query: JSQueryEngineQuery | PreparedQuery, dataSet: DataSet) => Promise<Result['content']>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
3
|
-
declare const _default: (config: ComponentInterfaceConfig) => (lineChart: Component.LineChartAttributes, partial: Partial<Component.LineChartAttributes>) => Component.LineChartAttributes;
|
|
4
|
-
export default _default;
|