@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.
Files changed (368) hide show
  1. package/dist/cjs/index.cjs.js +136 -2
  2. package/dist/esm/index.esm.js +29509 -2
  3. package/package.json +3 -5
  4. package/dist/cjs/index.cjs.js.LICENSE.txt +0 -79
  5. package/dist/esm/index.esm.js.LICENSE.txt +0 -79
  6. package/dist/results-driver/src/driver/Custom.d.ts +0 -6
  7. package/dist/results-driver/src/driver/VizzlyJsQueryEngine.d.ts +0 -6
  8. package/dist/results-driver/src/driver/VizzlyQuery/AdditionalFilter/toQueries.d.ts +0 -16
  9. package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +0 -4
  10. package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +0 -4
  11. package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +0 -4
  12. package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +0 -4
  13. package/dist/results-driver/src/driver/VizzlyQuery/BubbleChart/toQueries.d.ts +0 -10
  14. package/dist/results-driver/src/driver/VizzlyQuery/BubbleChartV2/toQueries.d.ts +0 -10
  15. package/dist/results-driver/src/driver/VizzlyQuery/ComboChart/toQueries.d.ts +0 -10
  16. package/dist/results-driver/src/driver/VizzlyQuery/ComboChartV2/toQueries.d.ts +0 -10
  17. package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +0 -4
  18. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +0 -4
  19. package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChartV2/toQueries.d.ts +0 -4
  20. package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +0 -4
  21. package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +0 -4
  22. package/dist/results-driver/src/driver/VizzlyQuery/MercatorMap/toQueries.d.ts +0 -10
  23. package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +0 -4
  24. package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +0 -4
  25. package/dist/results-driver/src/driver/VizzlyQuery/QueryAttributes/toQueries.d.ts +0 -13
  26. package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +0 -4
  27. package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +0 -4
  28. package/dist/results-driver/src/driver/VizzlyQuery/ScatterChart/toQueries.d.ts +0 -10
  29. package/dist/results-driver/src/driver/VizzlyQuery/SingleStat/toQueries.d.ts +0 -10
  30. package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +0 -4
  31. package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +0 -10
  32. package/dist/results-driver/src/driver/VizzlyQuery/buildVizzlyQuery.d.ts +0 -17
  33. package/dist/results-driver/src/driver/VizzlyQuery/commonToQueries.d.ts +0 -10
  34. package/dist/results-driver/src/driver/VizzlyQuery/toResultFields.d.ts +0 -5
  35. package/dist/results-driver/src/driver/VizzlyQueryEngine.d.ts +0 -6
  36. package/dist/results-driver/src/index.d.ts +0 -16
  37. package/dist/results-driver/src/types.d.ts +0 -42
  38. package/dist/results-driver/src/utils/browserCache.d.ts +0 -3
  39. package/dist/results-driver/src/utils/runWithValidationAndCaching.d.ts +0 -6
  40. package/dist/services/src/Services/Cell.d.ts +0 -65
  41. package/dist/services/src/Services/Dashboard.d.ts +0 -55
  42. package/dist/services/src/Services/Editor.d.ts +0 -25
  43. package/dist/services/src/Services/Header.d.ts +0 -19
  44. package/dist/services/src/Services/Library.d.ts +0 -43
  45. package/dist/services/src/Services/Row.d.ts +0 -45
  46. package/dist/services/src/Services/View.d.ts +0 -85
  47. package/dist/services/src/Services/index.d.ts +0 -7
  48. package/dist/services/src/VizzlyLoader.d.ts +0 -46
  49. package/dist/services/src/errors/ServicesValidationError.d.ts +0 -2
  50. package/dist/services/src/errors/TimeoutWaitingForVizzlyInstance.d.ts +0 -3
  51. package/dist/services/src/errors/VizzlyInstanceNotLoaded.d.ts +0 -3
  52. package/dist/services/src/eventbus.types.d.ts +0 -28
  53. package/dist/services/src/index.d.ts +0 -183
  54. package/dist/services/src/schemaValidations/cell.d.ts +0 -1
  55. package/dist/services/src/schemaValidations/dashboard.d.ts +0 -6
  56. package/dist/services/src/schemaValidations/filters.d.ts +0 -3
  57. package/dist/services/src/schemaValidations/index.d.ts +0 -2
  58. package/dist/services/src/schemaValidations/library.d.ts +0 -2
  59. package/dist/services/src/schemaValidations/query.d.ts +0 -3
  60. package/dist/shared-logic/src/AdditionalFilter/AdditionalFilter.d.ts +0 -49
  61. package/dist/shared-logic/src/AdditionalFilter/FilterConfig.d.ts +0 -15
  62. package/dist/shared-logic/src/AdditionalFilter/constants.d.ts +0 -16
  63. package/dist/shared-logic/src/AdditionalFilter/filterHelpers.d.ts +0 -1
  64. package/dist/shared-logic/src/AdditionalFilter/fromDashboardRequiredFilterGroups.d.ts +0 -12
  65. package/dist/shared-logic/src/AdditionalFilter/index.d.ts +0 -3
  66. package/dist/shared-logic/src/AdditionalFilter/schema.d.ts +0 -6
  67. package/dist/shared-logic/src/AdditionalFilter/toQueryAttributesFilter.d.ts +0 -5
  68. package/dist/shared-logic/src/AdditionalFilter/types.d.ts +0 -119
  69. package/dist/shared-logic/src/AdditionalFilter/validate.d.ts +0 -3
  70. package/dist/shared-logic/src/Aggregate/Aggregate.d.ts +0 -9
  71. package/dist/shared-logic/src/Aggregate/constants.d.ts +0 -1
  72. package/dist/shared-logic/src/Aggregate/index.d.ts +0 -2
  73. package/dist/shared-logic/src/Aggregate/types.d.ts +0 -8
  74. package/dist/shared-logic/src/AliasFields/types.d.ts +0 -5
  75. package/dist/shared-logic/src/ApiConfig/ApiConfig.d.ts +0 -8
  76. package/dist/shared-logic/src/ApiConfig/index.d.ts +0 -1
  77. package/dist/shared-logic/src/AreaChart/attributesSchema.d.ts +0 -3
  78. package/dist/shared-logic/src/AreaChart/constants.d.ts +0 -3
  79. package/dist/shared-logic/src/AreaChart/index.d.ts +0 -4
  80. package/dist/shared-logic/src/AreaChart/setAttributes.d.ts +0 -4
  81. package/dist/shared-logic/src/AreaChartV2/attributesSchema.d.ts +0 -3
  82. package/dist/shared-logic/src/AreaChartV2/constants.d.ts +0 -3
  83. package/dist/shared-logic/src/AreaChartV2/index.d.ts +0 -4
  84. package/dist/shared-logic/src/AreaChartV2/setAttributes.d.ts +0 -4
  85. package/dist/shared-logic/src/BarChart/attributesSchema.d.ts +0 -3
  86. package/dist/shared-logic/src/BarChart/constants.d.ts +0 -3
  87. package/dist/shared-logic/src/BarChart/index.d.ts +0 -4
  88. package/dist/shared-logic/src/BarChart/setAttributes.d.ts +0 -4
  89. package/dist/shared-logic/src/BarChartV2/attributesSchema.d.ts +0 -3
  90. package/dist/shared-logic/src/BarChartV2/constants.d.ts +0 -3
  91. package/dist/shared-logic/src/BarChartV2/index.d.ts +0 -4
  92. package/dist/shared-logic/src/BarChartV2/setAttributes.d.ts +0 -4
  93. package/dist/shared-logic/src/Base64/index.d.ts +0 -3
  94. package/dist/shared-logic/src/BasicTable/attributesSchema.d.ts +0 -3
  95. package/dist/shared-logic/src/BasicTable/constants.d.ts +0 -3
  96. package/dist/shared-logic/src/BasicTable/index.d.ts +0 -9
  97. package/dist/shared-logic/src/BasicTable/setAttributes.d.ts +0 -4
  98. package/dist/shared-logic/src/BubbleChart/attributesSchema.d.ts +0 -3
  99. package/dist/shared-logic/src/BubbleChart/constants.d.ts +0 -3
  100. package/dist/shared-logic/src/BubbleChart/index.d.ts +0 -4
  101. package/dist/shared-logic/src/BubbleChart/setAttributes.d.ts +0 -4
  102. package/dist/shared-logic/src/BubbleChartV2/attributesSchema.d.ts +0 -3
  103. package/dist/shared-logic/src/BubbleChartV2/constants.d.ts +0 -3
  104. package/dist/shared-logic/src/BubbleChartV2/index.d.ts +0 -4
  105. package/dist/shared-logic/src/BubbleChartV2/setAttributes.d.ts +0 -4
  106. package/dist/shared-logic/src/Callbacks/types.d.ts +0 -18
  107. package/dist/shared-logic/src/ComboChart/attributesSchema.d.ts +0 -3
  108. package/dist/shared-logic/src/ComboChart/constants.d.ts +0 -3
  109. package/dist/shared-logic/src/ComboChart/index.d.ts +0 -4
  110. package/dist/shared-logic/src/ComboChart/setAttributes.d.ts +0 -4
  111. package/dist/shared-logic/src/ComboChart/upcast.d.ts +0 -2
  112. package/dist/shared-logic/src/ComboChartV2/attributesSchema.d.ts +0 -3
  113. package/dist/shared-logic/src/ComboChartV2/constants.d.ts +0 -3
  114. package/dist/shared-logic/src/ComboChartV2/index.d.ts +0 -4
  115. package/dist/shared-logic/src/ComboChartV2/setAttributes.d.ts +0 -4
  116. package/dist/shared-logic/src/Component/Component.d.ts +0 -11
  117. package/dist/shared-logic/src/Component/attributesSchema.d.ts +0 -3
  118. package/dist/shared-logic/src/Component/constants.d.ts +0 -4
  119. package/dist/shared-logic/src/Component/dumpable.d.ts +0 -11
  120. package/dist/shared-logic/src/Component/getGroupingWithTimeDimension.d.ts +0 -5
  121. package/dist/shared-logic/src/Component/index.d.ts +0 -4
  122. package/dist/shared-logic/src/Component/mergeAttributes.d.ts +0 -2
  123. package/dist/shared-logic/src/Component/removeField.d.ts +0 -10
  124. package/dist/shared-logic/src/Component/saveable.d.ts +0 -2
  125. package/dist/shared-logic/src/Component/setAttributes.d.ts +0 -11
  126. package/dist/shared-logic/src/Component/sharedSchemas.d.ts +0 -58
  127. package/dist/shared-logic/src/Component/splitTimeDimensionFromGrouping.d.ts +0 -4
  128. package/dist/shared-logic/src/Component/types.d.ts +0 -642
  129. package/dist/shared-logic/src/Component/upcast.d.ts +0 -3
  130. package/dist/shared-logic/src/Component/usedFields.d.ts +0 -10
  131. package/dist/shared-logic/src/Component/validateView.d.ts +0 -6
  132. package/dist/shared-logic/src/ComponentInterface/constants.d.ts +0 -63
  133. package/dist/shared-logic/src/ComponentInterface/namespaces.d.ts +0 -3
  134. package/dist/shared-logic/src/ComponentInterface/setDataAttributesFromPreAggregatedDataSet.d.ts +0 -3
  135. package/dist/shared-logic/src/ComponentInterface/types/ComponentInterfaceConfig.d.ts +0 -18
  136. package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +0 -124
  137. package/dist/shared-logic/src/ComponentInterface/types.d.ts +0 -45
  138. package/dist/shared-logic/src/ConditionalFormatting/ConditionalFormatting.d.ts +0 -9
  139. package/dist/shared-logic/src/ConditionalFormatting/attributesSchema.d.ts +0 -5
  140. package/dist/shared-logic/src/ConditionalFormatting/index.d.ts +0 -1
  141. package/dist/shared-logic/src/CustomField/AggregateMath/index.d.ts +0 -7
  142. package/dist/shared-logic/src/CustomField/AliasField/index.d.ts +0 -7
  143. package/dist/shared-logic/src/CustomField/Conditional/index.d.ts +0 -9
  144. package/dist/shared-logic/src/CustomField/CustomField.d.ts +0 -23
  145. package/dist/shared-logic/src/CustomField/CustomMetric/build.d.ts +0 -7
  146. package/dist/shared-logic/src/CustomField/CustomMetric/index.d.ts +0 -3
  147. package/dist/shared-logic/src/CustomField/CustomMetric/init.d.ts +0 -4
  148. package/dist/shared-logic/src/CustomField/CustomMetric/types.d.ts +0 -47
  149. package/dist/shared-logic/src/CustomField/CustomMetric/validate.d.ts +0 -2
  150. package/dist/shared-logic/src/CustomField/DateCalculation/index.d.ts +0 -7
  151. package/dist/shared-logic/src/CustomField/Percentage/index.d.ts +0 -16
  152. package/dist/shared-logic/src/CustomField/RoundedNumber/index.d.ts +0 -7
  153. package/dist/shared-logic/src/CustomField/Rules/index.d.ts +0 -10
  154. package/dist/shared-logic/src/CustomField/Rules/types.d.ts +0 -5
  155. package/dist/shared-logic/src/CustomField/SimpleMath/index.d.ts +0 -11
  156. package/dist/shared-logic/src/CustomField/constants.d.ts +0 -15
  157. package/dist/shared-logic/src/CustomField/index.d.ts +0 -10
  158. package/dist/shared-logic/src/CustomField/metricValuesHaveAggregates.d.ts +0 -2
  159. package/dist/shared-logic/src/CustomField/types.d.ts +0 -88
  160. package/dist/shared-logic/src/CustomField/upcast.d.ts +0 -2
  161. package/dist/shared-logic/src/CustomView/attributesSchema.d.ts +0 -3
  162. package/dist/shared-logic/src/CustomView/constants.d.ts +0 -3
  163. package/dist/shared-logic/src/CustomView/index.d.ts +0 -5
  164. package/dist/shared-logic/src/CustomView/types.d.ts +0 -30
  165. package/dist/shared-logic/src/Dashboard/Dashboard.d.ts +0 -39
  166. package/dist/shared-logic/src/Dashboard/fromRaw.d.ts +0 -23
  167. package/dist/shared-logic/src/Dashboard/index.d.ts +0 -2
  168. package/dist/shared-logic/src/Dashboard/saveableDashboardDefinitionSchema.d.ts +0 -5
  169. package/dist/shared-logic/src/Dashboard/types.d.ts +0 -50
  170. package/dist/shared-logic/src/DashboardAPI/dataConfigurationAndIdentity.d.ts +0 -7
  171. package/dist/shared-logic/src/DashboardAPI/dataSets.d.ts +0 -10
  172. package/dist/shared-logic/src/DashboardAPI/getDashboardAdminOverride.d.ts +0 -1
  173. package/dist/shared-logic/src/DashboardAPI/types.d.ts +0 -18
  174. package/dist/shared-logic/src/DataPanelConfig/types.d.ts +0 -45
  175. package/dist/shared-logic/src/DataSet/DataSet.d.ts +0 -46
  176. package/dist/shared-logic/src/DataSet/fieldFilterOptions.d.ts +0 -17
  177. package/dist/shared-logic/src/DataSet/filterFields.d.ts +0 -3
  178. package/dist/shared-logic/src/DataSet/index.d.ts +0 -3
  179. package/dist/shared-logic/src/DataSet/newField.d.ts +0 -15
  180. package/dist/shared-logic/src/DataSet/types.d.ts +0 -19
  181. package/dist/shared-logic/src/DataTable/attributesSchema.d.ts +0 -3
  182. package/dist/shared-logic/src/DataTable/constants.d.ts +0 -3
  183. package/dist/shared-logic/src/DataTable/index.d.ts +0 -4
  184. package/dist/shared-logic/src/DataTable/setAttributes.d.ts +0 -4
  185. package/dist/shared-logic/src/DataTable/shared.contants.d.ts +0 -1
  186. package/dist/shared-logic/src/DataTable/types.d.ts +0 -26
  187. package/dist/shared-logic/src/DateTime/DateTimeFilterOptions.d.ts +0 -105
  188. package/dist/shared-logic/src/DateTime/types.d.ts +0 -10
  189. package/dist/shared-logic/src/DateTimeField/DateTimeField.d.ts +0 -2
  190. package/dist/shared-logic/src/DatumKey/DatumKey.d.ts +0 -15
  191. package/dist/shared-logic/src/DatumKey/index.d.ts +0 -1
  192. package/dist/shared-logic/src/Display/Display.d.ts +0 -23
  193. package/dist/shared-logic/src/Display/dumpable.d.ts +0 -5
  194. package/dist/shared-logic/src/Display/index.d.ts +0 -2
  195. package/dist/shared-logic/src/Display/removeAllFieldReferences.d.ts +0 -3
  196. package/dist/shared-logic/src/Display/types.d.ts +0 -15
  197. package/dist/shared-logic/src/Display/upcast.d.ts +0 -7
  198. package/dist/shared-logic/src/Drilldown/schema.d.ts +0 -3
  199. package/dist/shared-logic/src/Dumpable.d.ts +0 -5
  200. package/dist/shared-logic/src/Field/Field.d.ts +0 -103
  201. package/dist/shared-logic/src/Field/index.d.ts +0 -1
  202. package/dist/shared-logic/src/Field/types.d.ts +0 -26
  203. package/dist/shared-logic/src/Filter/Filter.d.ts +0 -49
  204. package/dist/shared-logic/src/Filter/combineFilters.d.ts +0 -2
  205. package/dist/shared-logic/src/Filter/index.d.ts +0 -2
  206. package/dist/shared-logic/src/Filter/relative.d.ts +0 -55
  207. package/dist/shared-logic/src/Filter/types.d.ts +0 -7
  208. package/dist/shared-logic/src/FormatPanelConfig/types.d.ts +0 -48
  209. package/dist/shared-logic/src/FormattingRule/types.d.ts +0 -1
  210. package/dist/shared-logic/src/Functions/types.d.ts +0 -8
  211. package/dist/shared-logic/src/FunnelChart/constants.d.ts +0 -3
  212. package/dist/shared-logic/src/FunnelChart/index.d.ts +0 -4
  213. package/dist/shared-logic/src/FunnelChart/setAttributes.d.ts +0 -4
  214. package/dist/shared-logic/src/GlobalFilter/index.d.ts +0 -4
  215. package/dist/shared-logic/src/GlobalFilter/types.d.ts +0 -27
  216. package/dist/shared-logic/src/GlobalLibrary/GlobalLibrary.d.ts +0 -1
  217. package/dist/shared-logic/src/GlobalLibrary/fromRaw.d.ts +0 -10
  218. package/dist/shared-logic/src/GlobalLibrary/getStrategy.d.ts +0 -4
  219. package/dist/shared-logic/src/GlobalLibrary/globalLibraries.d.ts +0 -10
  220. package/dist/shared-logic/src/GlobalLibrary/index.d.ts +0 -4
  221. package/dist/shared-logic/src/GlobalLibrary/types.d.ts +0 -19
  222. package/dist/shared-logic/src/GlobalLibrary/validation.d.ts +0 -3
  223. package/dist/shared-logic/src/Header/index.d.ts +0 -7
  224. package/dist/shared-logic/src/Header/schema.d.ts +0 -2
  225. package/dist/shared-logic/src/Header/types.d.ts +0 -4
  226. package/dist/shared-logic/src/Headline/upcast.d.ts +0 -3
  227. package/dist/shared-logic/src/HorizontalBarChart/constants.d.ts +0 -3
  228. package/dist/shared-logic/src/HorizontalBarChart/index.d.ts +0 -4
  229. package/dist/shared-logic/src/HorizontalBarChart/setAttributes.d.ts +0 -4
  230. package/dist/shared-logic/src/HorizontalBarChartV2/attributesSchema.d.ts +0 -3
  231. package/dist/shared-logic/src/HorizontalBarChartV2/constants.d.ts +0 -3
  232. package/dist/shared-logic/src/HorizontalBarChartV2/index.d.ts +0 -4
  233. package/dist/shared-logic/src/HorizontalBarChartV2/setAttributes.d.ts +0 -4
  234. package/dist/shared-logic/src/IdentityConfig/IdentityConfig.d.ts +0 -4
  235. package/dist/shared-logic/src/IdentityConfig/index.d.ts +0 -1
  236. package/dist/shared-logic/src/IdentityConfig/types.d.ts +0 -45
  237. package/dist/shared-logic/src/JSQueryEngine/fetchData.d.ts +0 -9
  238. package/dist/shared-logic/src/JSQueryEngine/getInMemoryDb.d.ts +0 -2
  239. package/dist/shared-logic/src/JSQueryEngine/localRunQueriesCallback.d.ts +0 -7
  240. package/dist/shared-logic/src/JSQueryEngine/runQueryV3.d.ts +0 -5
  241. package/dist/shared-logic/src/JSQueryEngine/types.d.ts +0 -6
  242. package/dist/shared-logic/src/JWT/JWT.d.ts +0 -2
  243. package/dist/shared-logic/src/LineChart/attributesSchema.d.ts +0 -3
  244. package/dist/shared-logic/src/LineChart/constants.d.ts +0 -3
  245. package/dist/shared-logic/src/LineChart/index.d.ts +0 -4
  246. package/dist/shared-logic/src/LineChart/setAttributes.d.ts +0 -4
  247. package/dist/shared-logic/src/LineChartV2/attributesSchema.d.ts +0 -3
  248. package/dist/shared-logic/src/LineChartV2/constants.d.ts +0 -3
  249. package/dist/shared-logic/src/LineChartV2/index.d.ts +0 -4
  250. package/dist/shared-logic/src/LineChartV2/setAttributes.d.ts +0 -4
  251. package/dist/shared-logic/src/Logger/Logger.d.ts +0 -16
  252. package/dist/shared-logic/src/Logger/index.d.ts +0 -1
  253. package/dist/shared-logic/src/Logger/types.d.ts +0 -1
  254. package/dist/shared-logic/src/Measure/Measure.d.ts +0 -13
  255. package/dist/shared-logic/src/Measure/index.d.ts +0 -1
  256. package/dist/shared-logic/src/MercatorMap/attributesSchema.d.ts +0 -3
  257. package/dist/shared-logic/src/MercatorMap/constants.d.ts +0 -3
  258. package/dist/shared-logic/src/MercatorMap/index.d.ts +0 -4
  259. package/dist/shared-logic/src/MercatorMap/setAttributes.d.ts +0 -4
  260. package/dist/shared-logic/src/Parameters/removeParameters.d.ts +0 -3
  261. package/dist/shared-logic/src/PieChart/attributesSchema.d.ts +0 -3
  262. package/dist/shared-logic/src/PieChart/constants.d.ts +0 -3
  263. package/dist/shared-logic/src/PieChart/index.d.ts +0 -4
  264. package/dist/shared-logic/src/Progress/attributesSchema.d.ts +0 -3
  265. package/dist/shared-logic/src/Progress/constants.d.ts +0 -3
  266. package/dist/shared-logic/src/Progress/index.d.ts +0 -5
  267. package/dist/shared-logic/src/Progress/types.d.ts +0 -2
  268. package/dist/shared-logic/src/Query/Query.d.ts +0 -22
  269. package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +0 -9
  270. package/dist/shared-logic/src/Query/index.d.ts +0 -2
  271. package/dist/shared-logic/src/Query/types.d.ts +0 -35
  272. package/dist/shared-logic/src/QueryAttributes/QueryAttributes.d.ts +0 -25
  273. package/dist/shared-logic/src/QueryAttributes/constants.d.ts +0 -1
  274. package/dist/shared-logic/src/QueryAttributes/index.d.ts +0 -1
  275. package/dist/shared-logic/src/QueryAttributes/types.d.ts +0 -68
  276. package/dist/shared-logic/src/QueryEngineConfig/QueryEngineConfig.d.ts +0 -2
  277. package/dist/shared-logic/src/QueryEngineConfig/index.d.ts +0 -5
  278. package/dist/shared-logic/src/QueryEngineConfig/loadQueryEngineConfig.d.ts +0 -3
  279. package/dist/shared-logic/src/QueryEngineConfig/localJS.d.ts +0 -3
  280. package/dist/shared-logic/src/QueryEngineConfig/supportedConstants.d.ts +0 -7
  281. package/dist/shared-logic/src/QueryEngineConfig/supportedFeature.d.ts +0 -2
  282. package/dist/shared-logic/src/QueryEngineConfig/types.d.ts +0 -10
  283. package/dist/shared-logic/src/RadarChart/attributesSchema.d.ts +0 -3
  284. package/dist/shared-logic/src/RadarChart/constants.d.ts +0 -3
  285. package/dist/shared-logic/src/RadarChart/index.d.ts +0 -4
  286. package/dist/shared-logic/src/RadarChart/setAttributes.d.ts +0 -4
  287. package/dist/shared-logic/src/Report/types.d.ts +0 -6
  288. package/dist/shared-logic/src/Result/types.d.ts +0 -41
  289. package/dist/shared-logic/src/RichText/attributesSchema.d.ts +0 -3
  290. package/dist/shared-logic/src/RichText/constants.d.ts +0 -3
  291. package/dist/shared-logic/src/RichText/index.d.ts +0 -4
  292. package/dist/shared-logic/src/RichText/initialRichTextContent.d.ts +0 -38
  293. package/dist/shared-logic/src/RichText/setAttributes.d.ts +0 -4
  294. package/dist/shared-logic/src/ScatterChart/attributesSchema.d.ts +0 -3
  295. package/dist/shared-logic/src/ScatterChart/constants.d.ts +0 -3
  296. package/dist/shared-logic/src/ScatterChart/index.d.ts +0 -4
  297. package/dist/shared-logic/src/ScatterChart/setAttributes.d.ts +0 -4
  298. package/dist/shared-logic/src/SingleStat/attributesSchema.d.ts +0 -3
  299. package/dist/shared-logic/src/SingleStat/constants.d.ts +0 -3
  300. package/dist/shared-logic/src/SingleStat/index.d.ts +0 -5
  301. package/dist/shared-logic/src/SingleStat/types.d.ts +0 -10
  302. package/dist/shared-logic/src/SingleStat/upcastSingleValueAttributes.d.ts +0 -4
  303. package/dist/shared-logic/src/Strategy/types.d.ts +0 -7
  304. package/dist/shared-logic/src/SunburstChart/attributesSchema.d.ts +0 -3
  305. package/dist/shared-logic/src/SunburstChart/constants.d.ts +0 -3
  306. package/dist/shared-logic/src/SunburstChart/index.d.ts +0 -4
  307. package/dist/shared-logic/src/Tags/tags.d.ts +0 -3
  308. package/dist/shared-logic/src/Theme/Theme.d.ts +0 -16
  309. package/dist/shared-logic/src/Theme/index.d.ts +0 -1
  310. package/dist/shared-logic/src/Theme/types.d.ts +0 -641
  311. package/dist/shared-logic/src/TimeDimension/TimeDimension.d.ts +0 -10
  312. package/dist/shared-logic/src/TimeDimension/constants.d.ts +0 -1
  313. package/dist/shared-logic/src/TimeDimension/index.d.ts +0 -1
  314. package/dist/shared-logic/src/Translations/extract/shared.d.ts +0 -10
  315. package/dist/shared-logic/src/Translations/textOverrideComponent.d.ts +0 -30
  316. package/dist/shared-logic/src/Translations/translateQueryEngineConfig.d.ts +0 -3
  317. package/dist/shared-logic/src/Translations/translation.schema.d.ts +0 -2
  318. package/dist/shared-logic/src/Translations/translation.types.d.ts +0 -5756
  319. package/dist/shared-logic/src/Translations/translations.d.ts +0 -9
  320. package/dist/shared-logic/src/Translations/types.d.ts +0 -13
  321. package/dist/shared-logic/src/Translations/validation.d.ts +0 -1
  322. package/dist/shared-logic/src/Trends/trendsSchema.d.ts +0 -2
  323. package/dist/shared-logic/src/Trends/types.d.ts +0 -9
  324. package/dist/shared-logic/src/ValueAlias/ValueAlias.d.ts +0 -7
  325. package/dist/shared-logic/src/ValueAlias/types.d.ts +0 -10
  326. package/dist/shared-logic/src/Variables/Variables.d.ts +0 -8
  327. package/dist/shared-logic/src/Variables/index.d.ts +0 -1
  328. package/dist/shared-logic/src/Variables/types.d.ts +0 -9
  329. package/dist/shared-logic/src/ViewConfiguration/types.d.ts +0 -4
  330. package/dist/shared-logic/src/WaterfallChart/attributesSchema.d.ts +0 -3
  331. package/dist/shared-logic/src/WaterfallChart/constants.d.ts +0 -3
  332. package/dist/shared-logic/src/WaterfallChart/index.d.ts +0 -4
  333. package/dist/shared-logic/src/WaterfallChart/setAttributes.d.ts +0 -4
  334. package/dist/shared-logic/src/api/httpClient.d.ts +0 -7
  335. package/dist/shared-logic/src/api/queryEngine/createResults.d.ts +0 -10
  336. package/dist/shared-logic/src/api/queryEngine/fetchDataSets.d.ts +0 -4
  337. package/dist/shared-logic/src/api/queryEngine/fetchSelfHostedQueryEngineConfig.d.ts +0 -3
  338. package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +0 -21
  339. package/dist/shared-logic/src/api/queryEngine/queryEngineHttpClient.d.ts +0 -3
  340. package/dist/shared-logic/src/api/types.d.ts +0 -25
  341. package/dist/shared-logic/src/api/vizzly/getProjectAccessToken.d.ts +0 -2
  342. package/dist/shared-logic/src/errors/CorruptedView.d.ts +0 -5
  343. package/dist/shared-logic/src/errors/DataSetNotFound.d.ts +0 -5
  344. package/dist/shared-logic/src/errors/FailedToLoadIdentity.d.ts +0 -4
  345. package/dist/shared-logic/src/errors/FailedToLoadQueryEngineConfig.d.ts +0 -4
  346. package/dist/shared-logic/src/errors/FailedToResolveDataSets.d.ts +0 -4
  347. package/dist/shared-logic/src/errors/FieldNotFoundInDataSet.d.ts +0 -7
  348. package/dist/shared-logic/src/errors/InvalidDataSetsPropType.d.ts +0 -4
  349. package/dist/shared-logic/src/errors/InvalidIdentityPropType.d.ts +0 -4
  350. package/dist/shared-logic/src/errors/InvalidIdentityReturn.d.ts +0 -4
  351. package/dist/shared-logic/src/errors/InvalidQueryEngineEndpoint.d.ts +0 -6
  352. package/dist/shared-logic/src/errors/InvalidQueryEngineEndpointType.d.ts +0 -4
  353. package/dist/shared-logic/src/errors/MissingVizzlyInMemoryDb.d.ts +0 -4
  354. package/dist/shared-logic/src/errors/ServicesValidation.d.ts +0 -4
  355. package/dist/shared-logic/src/errors/ValidationError.d.ts +0 -4
  356. package/dist/shared-logic/src/errors/VariableNotFoundForVariables.d.ts +0 -7
  357. package/dist/shared-logic/src/getComponentInterface.d.ts +0 -28
  358. package/dist/shared-logic/src/getVizzly.d.ts +0 -5
  359. package/dist/shared-logic/src/typeHelpers.d.ts +0 -1
  360. package/dist/shared-logic/src/utils/DateTime.d.ts +0 -19
  361. package/dist/shared-logic/src/utils/arrayHelpers.d.ts +0 -6
  362. package/dist/shared-logic/src/utils/feedback.d.ts +0 -4
  363. package/dist/shared-logic/src/utils/generateId.d.ts +0 -1
  364. package/dist/shared-logic/src/utils/index.d.ts +0 -5
  365. package/dist/shared-logic/src/utils/numberHelpers.d.ts +0 -9
  366. package/dist/shared-logic/src/utils/pathHelpers.d.ts +0 -5
  367. package/dist/shared-logic/src/utils/stringHelper.d.ts +0 -10
  368. package/dist/shared-logic/src/validations.d.ts +0 -5
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const LineChart: LoadComponentInterface<Component.LineChartV2Attributes, Component.LineChartV2Attributes>;
4
- export default LineChart;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- declare const _default: (config: ComponentInterfaceConfig) => (lineChart: Component.LineChartV2Attributes, partial: Partial<Component.LineChartV2Attributes>) => Component.LineChartV2Attributes;
4
- export default _default;
@@ -1,16 +0,0 @@
1
- import { LogLevel } from './types';
2
- export declare const LOG_LEVELS: Array<LogLevel>;
3
- export declare const setupLogger: (newLogLevel: LogLevel, onLogLevelChange?: ((newLogLevel: LogLevel) => void) | undefined) => {
4
- logDebug: (...message: any) => void;
5
- logError: (...message: any) => void;
6
- logInfo: (...message: any) => void;
7
- logWarning: (...message: any) => void;
8
- logProperties: (...message: any) => void;
9
- getCurrentLogLevel: () => LogLevel;
10
- updateLogLevel: (newLevel: LogLevel) => void;
11
- };
12
- export declare const logDebug: (...message: any) => void;
13
- export declare const logInfo: (...message: any) => void;
14
- export declare const logProperties: (...message: any) => void;
15
- export declare const logWarning: (...message: any) => void;
16
- export declare const logError: (...message: any) => void;
@@ -1 +0,0 @@
1
- export * from './Logger';
@@ -1 +0,0 @@
1
- export declare type LogLevel = 'info' | 'debug' | 'warning' | 'error' | 'properties';
@@ -1,13 +0,0 @@
1
- import { SupportedAggregates } from '../Aggregate';
2
- import { Query } from '../Query/types';
3
- import { QueryAttributes } from '../QueryAttributes/types';
4
- import { QueryEngineConfig } from '../QueryEngineConfig/types';
5
- import * as Field from '../Field/Field';
6
- export declare const id: (metric: {
7
- field: string;
8
- function: string;
9
- }) => string;
10
- export declare const decodeId: (metric: string, functionsToCheck: Field.DecodingFunctionsToCheck) => QueryAttributes.Measure;
11
- export declare const hasAggregate: (metric: QueryAttributes.Measure) => boolean;
12
- export declare const getAggregateFuncFromFieldId: (fieldId: string, supportedAggregates: SupportedAggregates) => QueryAttributes.Aggregate;
13
- export declare const getRecordKeyFromMeasure: (measure: Query['measure'][number], measureIndex: number, _queryEngineConfig: QueryEngineConfig) => string;
@@ -1 +0,0 @@
1
- export * from './Measure';
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const MercatorMap: LoadComponentInterface<Component.MercatorMapAttributes, Component.MercatorMapAttributes>;
4
- export default MercatorMap;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- declare const _default: (config: ComponentInterfaceConfig) => (areaChart: Component.MercatorMapAttributes, partial: Partial<Component.MercatorMapAttributes>) => Component.MercatorMapAttributes;
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { QueryEngineConfig } from '../QueryEngineConfig/types';
3
- export declare const removeParameters: (parameters: Component.Parameters, fieldId: string, queryEngineConfig: QueryEngineConfig) => Component.Parameters;
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const PieChart: LoadComponentInterface<Component.PieChartAttributes, Component.PieChartAttributes>;
4
- export default PieChart;
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,5 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- import { DumpedProgressAttributes } from './types';
4
- declare const Progress: LoadComponentInterface<Component.ProgressAttributes, DumpedProgressAttributes>;
5
- export default Progress;
@@ -1,2 +0,0 @@
1
- import { Component } from '../Component/types';
2
- export declare type DumpedProgressAttributes = Component.ProgressAttributes;
@@ -1,22 +0,0 @@
1
- import { PreAggregatedQuery, PreparedQuery, Query } from './types';
2
- import { QueryAttributes } from '../QueryAttributes/types';
3
- import { QueryEngineConfig, SupportedFeature as SupportedFeatureType } from '../QueryEngineConfig/types';
4
- import { DataSet } from '../DataSet/types';
5
- import { Result } from '../Result/types';
6
- export declare const build: (dataSet: DataSet<DataSet.Field>, measureAttr: QueryAttributes.Measure[], filterAttr: QueryAttributes.Filter[][], orderAttr: QueryAttributes.Order[], dimensionAttr: QueryAttributes.Dimension[], timeDimensionAttr: QueryAttributes.TimeDimension | null, limitAttr: number | undefined, offsetAttr: number | undefined, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../results-driver/src/types").Params) => {
7
- query: Query;
8
- measureDescription: import("./types").MeasureDescription[];
9
- };
10
- export declare const hasDimensions: (query: {
11
- group: Query['group'];
12
- }) => boolean;
13
- export declare const buildPreAggregatedPreparedQuery: (query: PreAggregatedQuery, dataSet: DataSet) => {
14
- query: PreAggregatedQuery;
15
- resultFields: Result.Field[];
16
- };
17
- export declare const buildUniqueArrayValuesPreparedQuery: (dataSetId: string, dataSetField: DataSet['fields'][number], optionsFilters?: Query['filter']) => {
18
- query: PreparedQuery;
19
- resultFields: Result.Field[];
20
- };
21
- export declare const buildFilterQuery: (dataSet: DataSet, fieldId: string, optionsFilters?: QueryAttributes.Filter[][], optionsOrders?: QueryAttributes.Order[]) => QueryAttributes;
22
- export declare const supportsFeature: (queryEngineConfig: QueryEngineConfig, feature: SupportedFeatureType) => boolean;
@@ -1,9 +0,0 @@
1
- import { Params } from '../../../results-driver/src/types';
2
- import { DataSet } from '../DataSet/types';
3
- import { QueryAttributes } from '../QueryAttributes/types';
4
- import { QueryEngineConfig } from '../QueryEngineConfig/types';
5
- import { MeasureDescription, Query } from './types';
6
- export declare const buildFromQueryAttributes: (dataSet: DataSet, measureAttr: QueryAttributes.Measure[], filterAttr: QueryAttributes.Filter[][], orderAttr: QueryAttributes.Order[], dimensionAttr: QueryAttributes.Dimension[], timeDimensionAttr: QueryAttributes.TimeDimension | null, limitAttr: QueryAttributes.Limit | undefined, offsetAttr: QueryAttributes.Offset | undefined, queryEngineConfig: QueryEngineConfig, params: Params) => {
7
- query: Query;
8
- measureDescription: Array<MeasureDescription>;
9
- };
@@ -1,2 +0,0 @@
1
- export * from './Query';
2
- export * from './buildFromQueryAttributes';
@@ -1,35 +0,0 @@
1
- import { DataSet } from '../DataSet/types';
2
- import { QueryNameSpace, SQLQuery } from '@vizzly/sqlbuilder-public';
3
- export type { QueryNameSpace } from '@vizzly/sqlbuilder-public';
4
- export declare type MeasureDescription = {
5
- /** What is the underlying field of the data set? */
6
- field: DataSet.Field;
7
- /** What function was applied? */
8
- functionId: string;
9
- };
10
- export declare type SubQuery = {
11
- measure: [QueryNameSpace.FieldDefinition];
12
- filter: Query['filter'];
13
- };
14
- /** For when a query cannot be generalised into the TraditionalQuery format. We can provide a very specific query for a specific purpose. */
15
- declare type BasePreparedQuery<PreparedQueryType> = {
16
- type: 'preparedQuery';
17
- timeZone?: string;
18
- preparedQueryType: PreparedQueryType;
19
- };
20
- /** A prepared query that returns unique values for a single array field */
21
- export declare type UniqueArrayValuesQuery = BasePreparedQuery<'uniqueArrayValues'> & {
22
- dataSetId: string;
23
- fieldId: string;
24
- filter: Query['filter'];
25
- };
26
- export declare type PreAggregatedQuery = BasePreparedQuery<'preAggregated'> & {
27
- dataSetId: string;
28
- filter: {
29
- [dataSetId: string]: Query['filter'];
30
- };
31
- };
32
- export declare type PreparedQuery = UniqueArrayValuesQuery | PreAggregatedQuery;
33
- export declare type Query = Omit<SQLQuery, 'timeZone'> & {
34
- timeZone?: string;
35
- };
@@ -1,25 +0,0 @@
1
- import { DataType } from '../Field/types';
2
- import { QueryAttributes, SupportedOperators } from './types';
3
- import { QueryEngineConfig } from '../QueryEngineConfig/types';
4
- import { ApproxAxisLabelCount, Component } from '../Component/types';
5
- import { TextOverride } from '../Translations/types';
6
- export declare const validOperatorsForField: (field: {
7
- dataType: DataType;
8
- }, queryEngineConfig: QueryEngineConfig) => string[];
9
- export declare const aggregateName: (func: QueryAttributes.Aggregate, textOverride: TextOverride) => string;
10
- declare const vizzlyManagedOperators: SupportedOperators;
11
- export declare const supportedOperators: (keys?: Array<string>) => SupportedOperators;
12
- export declare const operatorToString: (operator: QueryAttributes.Operator) => string;
13
- export declare const upcastFilter: (filter: QueryAttributes['filter']) => QueryAttributes['filter'];
14
- export declare const upcastOrder: (order: QueryAttributes['order'], timeDimension: QueryAttributes.TimeDimension | null) => QueryAttributes['order'];
15
- export declare const upcastMeasure: (measure: QueryAttributes['measure']) => QueryAttributes['measure'];
16
- export declare const upcastAxisLabel: (count: ApproxAxisLabelCount) => ApproxAxisLabelCount;
17
- export declare const getOperatorPublicName: (id: keyof typeof vizzlyManagedOperators) => string;
18
- export declare const upcastParameters: (parameters?: Component.Parameters) => {
19
- measure?: undefined;
20
- group?: undefined;
21
- } | {
22
- measure: Component.ParameterMeasure | undefined;
23
- group: Component.ParameterGroup | undefined;
24
- };
25
- export {};
@@ -1 +0,0 @@
1
- export declare const supportedOperatorsConstants: import("@vizzly/semantic-layer-public").SupportedOperators;
@@ -1 +0,0 @@
1
- export * from './QueryAttributes';
@@ -1,68 +0,0 @@
1
- export declare namespace QueryAttributes {
2
- type Aggregate = string | 'none';
3
- type SortDirection = 'asc' | 'desc';
4
- type Measure = {
5
- field: Field;
6
- function: Aggregate;
7
- /**
8
- * @deprecated
9
- *
10
- * Do not worry about this field outside of the upcasting logic. You can rely on function being set.
11
- *
12
- * */
13
- aggregate?: string;
14
- };
15
- type Order = {
16
- field: Field;
17
- direction: SortDirection;
18
- function: Aggregate;
19
- /**
20
- * @deprecated
21
- *
22
- * Do not worry about this field outside of the upcasting logic. You can rely on function being set.
23
- *
24
- * */
25
- aggregate?: Aggregate;
26
- };
27
- type Operator = string;
28
- type Dimension = {
29
- field: string;
30
- function: string;
31
- pivot?: 'x' | 'y';
32
- };
33
- type Field = string;
34
- type Filter = {
35
- field: Field;
36
- op: Operator;
37
- value: any;
38
- function?: string;
39
- };
40
- type Limit = number;
41
- type Offset = number;
42
- namespace TimeDimension {
43
- type Truncate = string;
44
- }
45
- type TimeDimension = {
46
- field: Field;
47
- truncate: TimeDimension.Truncate;
48
- timeZone?: string;
49
- bucketFill?: boolean;
50
- };
51
- }
52
- export declare type SupportedOperator = {
53
- publicName: string;
54
- validDataTypes: Array<'number' | 'boolean' | 'string' | 'date_time' | 'string[]'>;
55
- };
56
- export declare type SupportedOperators = {
57
- [id: string]: SupportedOperator;
58
- };
59
- export declare type QueryAttributes = {
60
- dataSetId: string;
61
- measure: QueryAttributes.Measure[];
62
- dimension: QueryAttributes.Dimension[];
63
- order: QueryAttributes.Order[];
64
- timeDimension: QueryAttributes.TimeDimension | null;
65
- limit?: QueryAttributes.Limit;
66
- offset?: QueryAttributes.Offset;
67
- filter: QueryAttributes.Filter[][];
68
- };
@@ -1,2 +0,0 @@
1
- import { QueryEngineConfig } from './types';
2
- export declare const supportsFeature: (queryEngineConfig: QueryEngineConfig, feature: QueryEngineConfig['supportedFeatures'][number]) => boolean;
@@ -1,5 +0,0 @@
1
- import { QueryEngineEndpoint } from './types';
2
- export * from './QueryEngineConfig';
3
- export * from './loadQueryEngineConfig';
4
- export * from './supportedFeature';
5
- export declare const getHostFromQueryEngineEndpoint: (queryEngineEndpoint: QueryEngineEndpoint) => string;
@@ -1,3 +0,0 @@
1
- import { QueryEngineConfig, QueryEngineEndpoint } from '../QueryEngineConfig/types';
2
- import { loadQueryEngineConfigCallback, loadDataSetsCallback } from '../Callbacks/types';
3
- export declare const loadQueryEngineConfig: (loadQueryEngineConfig: loadQueryEngineConfigCallback | QueryEngineEndpoint, userProvidedLoadDataSetsCallback: loadDataSetsCallback | undefined) => Promise<QueryEngineConfig>;
@@ -1,3 +0,0 @@
1
- import { QueryEngineConfig } from './types';
2
- export declare const localQueryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig;
3
- export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -1,7 +0,0 @@
1
- export declare const ALL_SUPPORTED_CONSTANTS: ({
2
- namespace: string;
3
- constants: import("@vizzly/semantic-layer-public").SupportedOperators;
4
- } | {
5
- namespace: string;
6
- constants: import("@vizzly/semantic-layer-public").SupportedTimeTruncFunctions;
7
- })[];
@@ -1,2 +0,0 @@
1
- import { SupportedFeature } from './types';
2
- export declare const hasSupportedFeature: (features: SupportedFeature[] | undefined, featuresToCheck: SupportedFeature | SupportedFeature[]) => boolean;
@@ -1,10 +0,0 @@
1
- import type { QueryEngineConfig as QueryEngineConfigImported } from '@vizzly/semantic-layer-public/dist/types';
2
- export declare type SupportedFeature = 'subquery' | 'simpleMaths' | 'aggregateMaths' | 'switchField' | 'configManagerUi' | 'roundedNumbers' | 'sqlDefinedDataSet' | 'encryptedDashboards' | 'sqlViews' | 'dateMaths';
3
- export declare type QueryEngineConfig = QueryEngineConfigImported;
4
- export declare type QueryEngineEndpoint = string | {
5
- endpoint: string;
6
- dynamicConfig?: Object;
7
- customHeaders?: () => {
8
- [headerKey: string]: string;
9
- };
10
- };
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const RadarChart: LoadComponentInterface<Component.RadarChartAttributes, Component.RadarChartAttributes>;
4
- export default RadarChart;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- declare const _default: (config: ComponentInterfaceConfig) => (radarChart: Component.RadarChartAttributes, partial: Partial<Component.RadarChartAttributes>) => Component.RadarChartAttributes;
4
- export default _default;
@@ -1,6 +0,0 @@
1
- export declare type Report = {
2
- id: string;
3
- type: 'scheduled';
4
- schedule: string;
5
- scheduleDescription: string;
6
- };
@@ -1,41 +0,0 @@
1
- import { DataType } from '../Field/types';
2
- export declare namespace Result {
3
- type Field = {
4
- id: string;
5
- publicName: string;
6
- dataType: DataType;
7
- hidden?: boolean;
8
- fieldId: string;
9
- function: string;
10
- outputDataType: DataType;
11
- };
12
- }
13
- export declare type Result = {
14
- content: any[][];
15
- fields: Result.Field[];
16
- hasMoreResults?: boolean | null;
17
- };
18
- /**
19
- * Result, but with extra information baked into the
20
- * content to determine how it should be displayed.
21
- */
22
- export declare type FormattedChartData = {
23
- formattedValue: string;
24
- value: any;
25
- };
26
- export declare type FormattedResult = {
27
- content: FormattedChartData[][];
28
- contentMapped: Array<{
29
- [key: string]: FormattedChartData;
30
- }>;
31
- fields: Result.Field[];
32
- hasMoreResults?: boolean | null;
33
- formatterFunc: (value: any, fieldParams: {
34
- fieldId: Result['fields'][number]['fieldId'];
35
- function: Result['fields'][number]['function'];
36
- outputDataType: Result['fields'][number]['outputDataType'];
37
- }) => {
38
- value: any;
39
- formattedValue: string;
40
- };
41
- };
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const RichText: LoadComponentInterface<Component.RichTextAttributes, Component.RichTextAttributes>;
4
- export default RichText;
@@ -1,38 +0,0 @@
1
- export declare const INITIAL_RICH_TEXT_CONTENT: {
2
- type: string;
3
- content: ({
4
- type: string;
5
- attrs: {
6
- level: number;
7
- language?: undefined;
8
- };
9
- content: {
10
- type: string;
11
- text: string;
12
- }[];
13
- } | {
14
- type: string;
15
- content: ({
16
- type: string;
17
- text: string;
18
- marks?: undefined;
19
- } | {
20
- type: string;
21
- marks: {
22
- type: string;
23
- }[];
24
- text: string;
25
- })[];
26
- attrs?: undefined;
27
- } | {
28
- type: string;
29
- attrs: {
30
- language: null;
31
- level?: undefined;
32
- };
33
- content: {
34
- type: string;
35
- text: string;
36
- }[];
37
- })[];
38
- };
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- declare const _default: (config: ComponentInterfaceConfig) => (areaChart: Component.RichTextAttributes, partial: Partial<Component.RichTextAttributes>) => Component.RichTextAttributes;
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const ScatterChart: LoadComponentInterface<Component.ScatterChartAttributes, Component.ScatterChartAttributes>;
4
- export default ScatterChart;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- declare const _default: (config: ComponentInterfaceConfig) => (scatterChart: Component.ScatterChartAttributes, partial: Partial<Component.ScatterChartAttributes>) => Component.ScatterChartAttributes;
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,5 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- import { DumpedSingleStatAttributes } from './types';
4
- declare const SingleStat: LoadComponentInterface<Component.SingleStatAttributes, DumpedSingleStatAttributes>;
5
- export default SingleStat;
@@ -1,10 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { QueryAttributes } from '../QueryAttributes/types';
3
- declare type OldSingleStatAttributes = Omit<Component.SingleStatAttributes, 'prefixes' | 'postfixes' | 'measure' | 'formatter'> & {
4
- prefix: string;
5
- postfix: string;
6
- singleMeasure: QueryAttributes['measure'][number];
7
- formatter: string;
8
- };
9
- export declare type DumpedSingleStatAttributes = Component.SingleStatAttributes | OldSingleStatAttributes;
10
- export {};
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { DumpedSingleStatAttributes } from './types';
3
- import { DumpedProgressAttributes } from '../Progress/types';
4
- export declare const upcastSingleValueAttributes: (dumped: DumpedSingleStatAttributes | DumpedProgressAttributes) => Component.SingleStatAttributes | Component.ProgressAttributes;
@@ -1,7 +0,0 @@
1
- import { GlobalLibrary } from '../GlobalLibrary/types';
2
- declare type ExactStrategy = {
3
- type: 'exact';
4
- globalLibrary: GlobalLibrary.Base;
5
- };
6
- export declare type GlobalLibraryStrategy = ExactStrategy;
7
- export {};
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- import { ComponentInterfaceConfig } from '../ComponentInterface/types';
3
- export declare const attributesSchema: (config: ComponentInterfaceConfig) => Joi.ObjectSchema<any>;
@@ -1,3 +0,0 @@
1
- import { ViewConstants } from '../ComponentInterface/types/namespaces.types';
2
- declare const CONSTANTS: ViewConstants;
3
- export default CONSTANTS;
@@ -1,4 +0,0 @@
1
- import { Component } from '../Component/types';
2
- import { LoadComponentInterface } from '../ComponentInterface/types';
3
- declare const SunburstChart: LoadComponentInterface<Component.SunburstChartAttributes, Component.SunburstChartAttributes>;
4
- export default SunburstChart;
@@ -1,3 +0,0 @@
1
- import Joi from '@vizzly/joi';
2
- export declare const tagSchema: () => Joi.ObjectSchema<any>;
3
- export declare const tagsSchema: () => Joi.ArraySchema<any[]>;
@@ -1,16 +0,0 @@
1
- import chroma from 'chroma-js';
2
- import { CSSProperties } from 'react';
3
- import { Theme } from './types';
4
- export declare const DEFAULT_ROW_HEIGHT = 350;
5
- export declare const HEADER_ROW_HEIGHT = 52;
6
- export declare const linearScale: (colors?: CSSProperties['color'][], colorCount?: number) => string[];
7
- export declare const themeToColorScale: (colors?: CSSProperties['color'][], colorCount?: number) => string[];
8
- export declare const vizzlyDefaultTheme: Theme;
9
- export declare const darkenListOfColors: (colors: string[], darkenBy?: number) => string[];
10
- export declare const lightenListOfColors: (colors: string[]) => string[];
11
- export declare const lighterColor: (color: string, brightenBy: number, opacity?: number) => string;
12
- export declare const setOpacity: (color: any, opacity: number) => chroma.Color;
13
- export declare const toHex: (color: string) => string;
14
- export declare const highestContrast: (baseColor: string, colorOptions: string[]) => string;
15
- export declare const pickBestTextColor: (backgroundColour: string, possibleTextColours: string[]) => string;
16
- export declare const shuffle: (array: any[], seed?: number) => any[];
@@ -1 +0,0 @@
1
- export * from './Theme';