@vizzly/services 0.15.0-dev-2ac2b2368a7d8a0435fd154136da3d92544f1457 → 0.15.0-dev-bc6f19593aed01265451bf653c609179437c2ef0
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 +29510 -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,9 +0,0 @@
|
|
|
1
|
-
import { VizzlyTranslations } from './translation.types';
|
|
2
|
-
import { TranslationOptions, TranslationInterpolation } from './types';
|
|
3
|
-
export declare type VizzlyTranslationKey = keyof VizzlyTranslations;
|
|
4
|
-
export declare function getTranslation(translations: Partial<VizzlyTranslations>, key: string): string | TranslationInterpolation | undefined;
|
|
5
|
-
export declare const defaultText: (key: string, defaultValue: string, variables?: TranslationOptions, developerMode?: boolean) => string;
|
|
6
|
-
export declare const generateTranslation: (key: string, defaultValue: string, variables?: TranslationOptions, translations?: Partial<VizzlyTranslations>, developerMode?: boolean) => string;
|
|
7
|
-
export declare function buildTextOverrides(translations?: Partial<VizzlyTranslations>, developerMode?: boolean): {
|
|
8
|
-
textOverride: (key: string, value: string, options?: TranslationOptions) => string;
|
|
9
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare type TextOverride = (key: string, defaultValue: string, options?: TranslationOptions) => string;
|
|
2
|
-
export declare type TranslationOptions = {
|
|
3
|
-
[key: string]: string | number | Pluralised;
|
|
4
|
-
};
|
|
5
|
-
export declare type Pluralised = {
|
|
6
|
-
count: number;
|
|
7
|
-
singular: string;
|
|
8
|
-
plural: string;
|
|
9
|
-
};
|
|
10
|
-
export declare type TranslationInterpolation = {
|
|
11
|
-
sentence: string;
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isValidFormattedText: (text: string) => boolean;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AdditionalFilter } from '../AdditionalFilter/types';
|
|
2
|
-
import { ValueAlias } from './types';
|
|
3
|
-
export declare const build: (value: string | number | null, valueAlias?: ValueAlias, options?: {
|
|
4
|
-
fieldId?: string | null;
|
|
5
|
-
filter?: AdditionalFilter;
|
|
6
|
-
dataSetId?: string;
|
|
7
|
-
}) => string | number | null | undefined;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
export declare type ValueAlias = {
|
|
3
|
-
[id: string]: string | number;
|
|
4
|
-
} | ValueAliasFunction;
|
|
5
|
-
export declare type ValueAliasFunction = (options?: Component.ValueAliasOptions) => string | number | undefined;
|
|
6
|
-
export declare type ValueAliasFunctionV2 = (params: {
|
|
7
|
-
fieldId: string;
|
|
8
|
-
value: any;
|
|
9
|
-
function: string;
|
|
10
|
-
}) => string | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { VariableList, VariablesCallback } from './types';
|
|
2
|
-
export declare const defaultVariables: {};
|
|
3
|
-
export declare const detect: (input: string) => string[] | undefined;
|
|
4
|
-
export declare const build: (variables?: VariablesCallback) => VariableList;
|
|
5
|
-
export declare const findVariable: (value: string, detect: (input: string) => string[] | undefined, variableList?: VariableList) => string[] | undefined;
|
|
6
|
-
export declare const useValue: (value: any, variables?: VariableList) => any;
|
|
7
|
-
export declare const validate: (value: string, variables?: VariableList) => boolean;
|
|
8
|
-
export declare function extractValue(variables: VariableList, key: string): import("./types").VariableTypes;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Variables';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare type VariablesCallback = () => VariableList;
|
|
2
|
-
export declare type VariableList = {
|
|
3
|
-
[key: string]: Variable;
|
|
4
|
-
};
|
|
5
|
-
export declare type Variable = {
|
|
6
|
-
value: VariableTypes;
|
|
7
|
-
description?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type VariableTypes = string | number | string[] | number[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { LoadComponentInterface } from '../ComponentInterface/types';
|
|
3
|
-
declare const WaterfallChart: LoadComponentInterface<Component.WaterfallChartAttributes, Component.WaterfallChartAttributes>;
|
|
4
|
-
export default WaterfallChart;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
3
|
-
declare const _default: (config: ComponentInterfaceConfig) => (waterfallChart: Component.WaterfallChartAttributes, partial: Partial<Component.WaterfallChartAttributes>) => Component.WaterfallChartAttributes;
|
|
4
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PreparedQuery, Query } from '../../Query/types';
|
|
2
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
declare type CreateResultsResponse = {
|
|
4
|
-
results: {
|
|
5
|
-
content: any[][];
|
|
6
|
-
hasMoreResults: boolean | null;
|
|
7
|
-
}[];
|
|
8
|
-
};
|
|
9
|
-
export declare const createResults: (queries: (Query | PreparedQuery)[], queryEngineEndpoint: QueryEngineEndpoint, dataAccessToken?: string, abortSignal?: AbortSignal) => Promise<CreateResultsResponse | null>;
|
|
10
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../../DataSet/types';
|
|
2
|
-
import { QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
3
|
-
declare const _default: (queryEngineEndpoint: QueryEngineEndpoint, accessToken: string, abortSignal?: AbortSignal) => Promise<DataSet[]>;
|
|
4
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AdditionalFilter, FilterConfig, TimeRangeOptions } from '../../AdditionalFilter/types';
|
|
2
|
-
import { CustomDriver } from '../../../../results-driver/src/types';
|
|
3
|
-
import { loadDataCallback } from '../../Callbacks/types';
|
|
4
|
-
import { QueryEngineConfig as QueryEngineConfigType, QueryEngineEndpoint } from '../../QueryEngineConfig/types';
|
|
5
|
-
import { Component } from '../../Component/types';
|
|
6
|
-
import { QueryAttributes } from '../../QueryAttributes/types';
|
|
7
|
-
import { PreparedQuery } from '../../Query/types';
|
|
8
|
-
import { Result } from '../../Result/types';
|
|
9
|
-
import { DataSet } from '../../DataSet/types';
|
|
10
|
-
import { IdentityConfig as IdentityConfigType } from '../../IdentityConfig/types';
|
|
11
|
-
import { VariableList } from '../../Variables/types';
|
|
12
|
-
import { AliasFields } from '../../AliasFields/types';
|
|
13
|
-
declare type CallbackError = null;
|
|
14
|
-
export declare type runQueriesCallback = (queries: Component.Attributes | AdditionalFilter | QueryAttributes[] | [PreparedQuery], params: {
|
|
15
|
-
dataSets: DataSet[];
|
|
16
|
-
abortSignal?: AbortSignal;
|
|
17
|
-
dataAccessToken?: string;
|
|
18
|
-
filterConfig?: FilterConfig;
|
|
19
|
-
}) => Promise<(Result | null)[] | Array<Result['content'] | null> | CallbackError>;
|
|
20
|
-
declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, aliasFields: AliasFields, runQueries?: CustomDriver['runQueries'], data?: loadDataCallback, queryEngineEndpoint?: QueryEngineEndpoint, timeZone?: string) => runQueriesCallback;
|
|
21
|
-
export default getRunQueriesCallback;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare type Response<T> = {
|
|
2
|
-
statusCode: number;
|
|
3
|
-
response: T;
|
|
4
|
-
};
|
|
5
|
-
export declare type Request<T> = {
|
|
6
|
-
path: string;
|
|
7
|
-
abortSignal?: AbortSignal;
|
|
8
|
-
method: 'get' | 'post' | 'delete' | 'put';
|
|
9
|
-
body?: T;
|
|
10
|
-
mode?: 'cors';
|
|
11
|
-
headers?: {
|
|
12
|
-
[key: string]: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
/** Should a request to the Vizzly API endpoint to fetch the access tokens be made first? */
|
|
15
|
-
preFetchProjectAccessTokens?: {
|
|
16
|
-
projectId: string;
|
|
17
|
-
resourceFilters: string[];
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare type NoBody = undefined;
|
|
21
|
-
export declare type HttpClient = <ResponseBody>(request: Request<any>) => Promise<{
|
|
22
|
-
status: number;
|
|
23
|
-
body: ResponseBody;
|
|
24
|
-
headers: Headers | null;
|
|
25
|
-
}>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DataSet } from '../DataSet/types';
|
|
2
|
-
import ValidationError from './ValidationError';
|
|
3
|
-
export default class FieldNotFoundInDataSet extends ValidationError {
|
|
4
|
-
private missingFieldId;
|
|
5
|
-
constructor(dataSet: DataSet, missingFieldId: string);
|
|
6
|
-
getMissingFieldId(): string;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { VariableList } from '../Variables/types';
|
|
2
|
-
import ValidationError from './ValidationError';
|
|
3
|
-
export default class VariableNotFoundForVariables extends ValidationError {
|
|
4
|
-
private missingVariableId;
|
|
5
|
-
constructor(variableList: VariableList, missingVariableId: string);
|
|
6
|
-
getMissingFieldId(): string;
|
|
7
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { BasicTableComponentInterface } from './BasicTable';
|
|
2
|
-
import { Component, ComponentType } from './Component/types';
|
|
3
|
-
import { ComponentInterface, ComponentInterfaceConfig } from './ComponentInterface/types';
|
|
4
|
-
declare function getComponentInterface(type: 'custom', config?: ComponentInterfaceConfig): ComponentInterface<Component.CustomViewAttributes>;
|
|
5
|
-
declare function getComponentInterface(type: 'pieChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.PieChartAttributes>;
|
|
6
|
-
declare function getComponentInterface(type: 'bubbleChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.BubbleChartAttributes>;
|
|
7
|
-
declare function getComponentInterface(type: 'bubbleChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.BubbleChartV2Attributes>;
|
|
8
|
-
declare function getComponentInterface(type: 'sunburstChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.SunburstChartAttributes>;
|
|
9
|
-
declare function getComponentInterface(type: 'scatterChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.ScatterChartAttributes>;
|
|
10
|
-
declare function getComponentInterface(type: 'mercatorMap', config?: ComponentInterfaceConfig): ComponentInterface<Component.MercatorMapAttributes>;
|
|
11
|
-
declare function getComponentInterface(type: 'singleStat', config?: ComponentInterfaceConfig): ComponentInterface<Component.SingleStatAttributes>;
|
|
12
|
-
declare function getComponentInterface(type: 'progress', config?: ComponentInterfaceConfig): ComponentInterface<Component.ProgressAttributes>;
|
|
13
|
-
declare function getComponentInterface(type: 'comboChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.ComboChartAttributes>;
|
|
14
|
-
declare function getComponentInterface(type: 'dataTable', config?: ComponentInterfaceConfig): ComponentInterface<Component.DataTableAttributes>;
|
|
15
|
-
declare function getComponentInterface(type: 'basicTable', config?: ComponentInterfaceConfig): BasicTableComponentInterface;
|
|
16
|
-
declare function getComponentInterface(type: 'horizontalBarChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.HorizontalBarChartAttributes>;
|
|
17
|
-
declare function getComponentInterface(type: 'areaChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.AreaChartAttributes>;
|
|
18
|
-
declare function getComponentInterface(type: 'lineChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartAttributes>;
|
|
19
|
-
declare function getComponentInterface(type: 'lineChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.LineChartV2Attributes>;
|
|
20
|
-
declare function getComponentInterface(type: 'barChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.BarChartV2Attributes>;
|
|
21
|
-
declare function getComponentInterface(type: 'areaChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.AreaChartV2Attributes>;
|
|
22
|
-
declare function getComponentInterface(type: 'comboChartV2', config?: ComponentInterfaceConfig): ComponentInterface<Component.ComboChartV2Attributes>;
|
|
23
|
-
declare function getComponentInterface(type: 'barChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.BarChartAttributes>;
|
|
24
|
-
declare function getComponentInterface(type: 'funnelChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.FunnelChartAttributes>;
|
|
25
|
-
declare function getComponentInterface(type: 'waterfallChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.WaterfallChartAttributes>;
|
|
26
|
-
declare function getComponentInterface(type: 'radarChart', config?: ComponentInterfaceConfig): ComponentInterface<Component.RadarChartAttributes>;
|
|
27
|
-
declare function getComponentInterface(type: ComponentType, config?: ComponentInterfaceConfig): ComponentInterface<Component.Attributes>;
|
|
28
|
-
export default getComponentInterface;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Vizzly } from '@vizzly/api-client';
|
|
2
|
-
import { ApiConfig } from './ApiConfig';
|
|
3
|
-
import { DashboardStorageStrategy } from './DashboardAPI/types';
|
|
4
|
-
import { IdentityConfig } from './IdentityConfig/types';
|
|
5
|
-
export declare const getVizzlyAPIClient: (identityConfig: IdentityConfig | undefined, dashboardStorageStrategy: DashboardStorageStrategy, apiConfig: ApiConfig) => Vizzly;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DateTimeFormat } from '../Field/types';
|
|
2
|
-
import { QueryAttributes } from '../QueryAttributes/types';
|
|
3
|
-
export declare const currentTimezone: () => string;
|
|
4
|
-
export declare const formatShortDate: (date: Date | null, timezone?: string | null) => string;
|
|
5
|
-
export declare const formatTime: (date: Date, withSeconds?: boolean) => string;
|
|
6
|
-
export declare const formatLongDateAndTime: (date: Date | null) => string | null;
|
|
7
|
-
export declare const formatShortDateAndTime: (date: Date | null) => string | null;
|
|
8
|
-
export declare const addMinutes: (date: Date, minutes: number) => Date;
|
|
9
|
-
export declare const isDateBetween: (now: Date, before: Date, after: Date) => boolean;
|
|
10
|
-
export declare const format: (value: Date | string | number, format: DateTimeFormat) => string | null;
|
|
11
|
-
export declare const _formatDate: (date: Date, format: DateTimeFormat) => string | null;
|
|
12
|
-
export declare const fillTruncatedDatesBetween: (start: Date, end: Date, interval: QueryAttributes.TimeDimension.Truncate) => Date[];
|
|
13
|
-
export declare const truncateDateTime: (dateTime: Date, truncate: QueryAttributes.TimeDimension.Truncate) => Date;
|
|
14
|
-
export declare const subtractDays: (date: Date, days: number) => Date;
|
|
15
|
-
export declare const startOfDay: (date: Date) => Date;
|
|
16
|
-
export declare function endOfDay(after: Date): Date;
|
|
17
|
-
export declare const getQuarter: (date: Date) => 1 | 2 | 3 | 4;
|
|
18
|
-
export declare const getWeek: (date: Date) => number;
|
|
19
|
-
export declare const getWeekStartDate: (date: Date) => Date;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const newArray: (size: number) => any[];
|
|
2
|
-
export declare const moveItem: (arr: Array<any>, oldIndex: number, newIndex: number) => any[];
|
|
3
|
-
export declare const removeFromArray: <T = any>(arr: T[], index: number) => T[];
|
|
4
|
-
export declare function isLength<T>(arr: T[], length: 0): arr is [];
|
|
5
|
-
export declare function isLength<T>(arr: T[], length: 1): arr is [T];
|
|
6
|
-
export declare function isLength<T>(arr: T[], length: 2): arr is [T, T];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Component } from '../../src/Component/types';
|
|
2
|
-
export declare const getGroupingFeedbackMessage: (attributes: Component.Attributes) => string;
|
|
3
|
-
export declare const chartHasDimensions: (attributes: Component.Attributes) => boolean;
|
|
4
|
-
export declare const createFeedback: (attribute: Component.Attributes) => string | true;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const generateId: () => string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const findClosestBy: (array: any[], closestTo: number, by: (candidate: any) => number) => any;
|
|
2
|
-
export declare function findClosestNumberIndex(numbers: number[], target: number): number;
|
|
3
|
-
export declare function percentageIncrease(a: number, b: number): number;
|
|
4
|
-
export declare const isPercentageOf: (num: number, total: number) => number;
|
|
5
|
-
export declare const toDp: (number: number, decimalPlaces: number) => string;
|
|
6
|
-
export declare const toCurrency: (number: number, currency: 'EUR' | 'GBP' | 'USD') => string;
|
|
7
|
-
export declare const toPercentage: (number: number, decimalPlaces?: number) => string;
|
|
8
|
-
export declare function formatCompactNumber(number: number): string;
|
|
9
|
-
export declare const numberPostfix: (number: number) => "th" | "st" | "nd" | "rd";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const buildPath: (basePath: string, route: string) => string;
|
|
2
|
-
export declare const addQueryParam: (absoluteUrl: string, key: string, value: string) => string;
|
|
3
|
-
export declare const hasHashtag: (absoluteUrl: string) => boolean;
|
|
4
|
-
export declare const setVizzlyHashtagValue: (absoluteUrl: string, value: string) => string;
|
|
5
|
-
export declare const getVizzlyHashtagValue: (absoluteUrl: string) => string | null;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TextOverride } from '../Translations/types';
|
|
2
|
-
export declare function pluralEnding(num: number, single: string, multiple: string): string;
|
|
3
|
-
export declare function maxLengthString(str: string, length: number): string;
|
|
4
|
-
export declare function plural(num: number, single: string, multiple: string): string;
|
|
5
|
-
export declare function humanReadableList(values: (number | string)[], withQuotes?: boolean, textOverride?: TextOverride): string;
|
|
6
|
-
export declare const hashString: (str: string) => number;
|
|
7
|
-
export declare const capitalise: (word: string) => string;
|
|
8
|
-
export declare const replaceAll: (str: string, lookFor: string, replaceWith: string) => string;
|
|
9
|
-
export declare const snakeCaseToHumanReadable: (str: string) => string;
|
|
10
|
-
export declare const getSecretReplacement: (minLength: number, maxLength: number) => string;
|