@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.
Files changed (368) hide show
  1. package/dist/cjs/index.cjs.js +136 -2
  2. package/dist/esm/index.esm.js +29510 -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,42 +0,0 @@
1
- import { QueryEngineConfig, QueryEngineEndpoint } from '../../shared-logic/src/QueryEngineConfig/types';
2
- import { DataSet, DataSet as DataSetType } from '../../shared-logic/src/DataSet/types';
3
- import { TimeRangeOptions, FilterConfig } from '../../shared-logic/src/AdditionalFilter/types';
4
- import { loadDataCallback } from '../../shared-logic/src/Callbacks/types';
5
- import { Query } from '../../shared-logic/src/Query/types';
6
- import { Result } from '../../shared-logic/src/Result/types';
7
- import { VariableList } from '../../shared-logic/src/Variables/types';
8
- import { AliasFields } from '../../shared-logic/src/AliasFields/types';
9
- export declare type VizzlyQueryEngineDriver = {
10
- type: 'vizzlyQueryEngine';
11
- queryEngineConfig: QueryEngineConfig;
12
- queryEngineEndpoint: QueryEngineEndpoint;
13
- dataAccessToken: string;
14
- cacheKeyNamespace: string;
15
- };
16
- export declare type CustomDriver = {
17
- type: 'custom';
18
- queryEngineConfig: QueryEngineConfig;
19
- dataAccessToken?: string;
20
- cacheKeyNamespace: string;
21
- runQueries: (queries: Query[], params: {
22
- dataSets: DataSet[];
23
- abortSignal?: AbortSignal;
24
- dataAccessToken?: string;
25
- filterConfig?: FilterConfig;
26
- }) => Promise<Array<Result | Result['content'] | null> | null>;
27
- };
28
- export declare type VizzlyJsQueryEngineDriver = {
29
- type: 'vizzlyJsQueryEngine';
30
- loadData: loadDataCallback;
31
- cacheKeyNamespace: string;
32
- };
33
- export declare type Driver = VizzlyQueryEngineDriver | VizzlyJsQueryEngineDriver | CustomDriver;
34
- export declare type Params = {
35
- dataSets: Array<DataSetType>;
36
- filterConfig: FilterConfig;
37
- abortSignal?: AbortSignal;
38
- timeRangeOptions: TimeRangeOptions;
39
- timeZone?: string;
40
- variables: VariableList;
41
- aliasFields: AliasFields;
42
- };
@@ -1,3 +0,0 @@
1
- export declare const set: (cacheKey: any, item: any, expiryInSeconds: number) => void;
2
- export declare const get: <T>(cacheKey: any) => T | null;
3
- export declare const clear: () => void;
@@ -1,6 +0,0 @@
1
- import { PreparedQuery } from '../../../shared-logic/src/Query/types';
2
- /** A generic function to validate a list of queries, and then only run the ones which are valid. */
3
- declare const runWithValidationAndCaching: <Query, Result>(queries: (PreparedQuery | Query)[], isRunnable: (query: PreparedQuery | Query) => boolean, run: (queries: (PreparedQuery | Query)[]) => Promise<{
4
- results: (Result | null)[] | null;
5
- } | null>, cacheKey: (query: PreparedQuery | Query) => any) => Promise<(Result | null)[] | null>;
6
- export default runWithValidationAndCaching;
@@ -1,65 +0,0 @@
1
- import { AdditionalFilter } from '../../../shared-logic/src/AdditionalFilter/types';
2
- import { AnyView } from './View';
3
- /**
4
- * Represents a CellAttributes type.
5
- * @param component - The component contained within the cell. Optional.
6
- * @param colSpan - The span of the cell in terms of columns. Defaults to 12.
7
- * @param localFilters - The local filters of the cell. Optional.
8
- */
9
- export declare type CellAttributes = {
10
- component?: AnyView;
11
- colSpan?: number;
12
- localFilters?: AdditionalFilter[];
13
- };
14
- /**
15
- * Represents a cell in a layout, which can contain a component and has a specified column span.
16
- */
17
- export declare class Cell {
18
- /**
19
- * The component contained within the cell. It's optional and can be undefined.
20
- */
21
- component: AnyView | undefined;
22
- /**
23
- * The span of the cell in terms of columns. Defaults to 12.
24
- */
25
- colSpan: number;
26
- /**
27
- * The local filters of the cell. Optional.
28
- */
29
- localFilters: AdditionalFilter[] | undefined;
30
- /**
31
- * Indicates whether the cell is empty. It's either true or undefined.
32
- */
33
- isEmpty: boolean | undefined;
34
- /**
35
- * Constructs a new Cell instance.
36
- *
37
- * @param attributes The attributes of the cell.
38
- */
39
- constructor(attributes?: CellAttributes);
40
- /**
41
- * Sets or updates the cell's component and column span.
42
- *
43
- * @param attributes The attributes to be set in the cell.
44
- */
45
- set(attributes: CellAttributes): void;
46
- /**
47
- * Sets the column span of the cell.
48
- *
49
- * @param colSpan The new column span for the cell. Number should be between 1 and 12.
50
- */
51
- setColSpan(colSpan: number): void;
52
- /**
53
- * Sets the component of the cell.
54
- *
55
- * @param component The component to be set in the cell.
56
- */
57
- setComponent(component: AnyView): void;
58
- /**
59
- * Clears the component from the cell and optionally sets a new column span.
60
- * Marks the cell as empty.
61
- *
62
- * @param colSpan The new column span for the cell. If not provided, defaults to 12.
63
- */
64
- emptyCell(colSpan?: number): void;
65
- }
@@ -1,55 +0,0 @@
1
- import * as DashboardTypes from '../../../shared-logic/src/Dashboard/types';
2
- import { Row } from './Row';
3
- import { CustomField } from '../../../shared-logic/src/CustomField/types';
4
- import { Header } from './Header';
5
- import { Library } from './Library';
6
- /** Custom fields for a dashboard */
7
- export declare type CustomFields = {
8
- [dataSetId: string]: Array<CustomField>;
9
- };
10
- /**
11
- * Represents a DashboardAttributes type.
12
- * @param display - The display configuration for the dashboard.
13
- * @param customFields - The custom fields of the dashboard.
14
- * @param library - The component library of the dashboard.
15
- */
16
- export declare type DashboardAttributes = {
17
- display?: (Row | Header)[];
18
- customFields?: CustomFields;
19
- library?: Library;
20
- };
21
- /**
22
- * Represents a Dashboard class.
23
- */
24
- export declare class Dashboard {
25
- private dashboard;
26
- /**
27
- * Constructs a new instance of the Dashboard class.
28
- * @param id - The id of the dashboard.
29
- * @param attributes - The attributes of the dashboard.
30
- * @throws Error if the dashboard id is undefined.
31
- */
32
- constructor(id?: string | undefined, attributes?: DashboardAttributes);
33
- /**
34
- * Sets the display configuration for the dashboard.
35
- * @param display - An array of Row or Header objects representing the new
36
- * display configuration for the dashboard.
37
- * @throws Error if the dashboard instance is undefined.
38
- */
39
- setDisplay(display: (Row | Header)[]): void;
40
- /**
41
- * Sets the custom fields of the dashboard.
42
- * @param customFields
43
- */
44
- setCustomFields(customFields: CustomFields): void;
45
- /**
46
- * Sets the component library of the dashboard.
47
- * @param library
48
- */
49
- setLibrary(library: Library): void;
50
- /**
51
- * Builds a partial DashboardType object.
52
- * @returns A partial DashboardType object.
53
- */
54
- build(): DashboardTypes.SaveableDashboardDefinition;
55
- }
@@ -1,25 +0,0 @@
1
- import type { Component } from '../../../shared-logic/src/Component/types';
2
- import { AnyView } from './View';
3
- export declare type EditorAttributes = {
4
- component?: AnyView;
5
- };
6
- /**
7
- * Represents a Editor class.
8
- */
9
- export declare class Editor {
10
- private editor;
11
- /**
12
- * Constructs a new instance of the Editor class.
13
- * @param attributes - The attributes of the Editor.
14
- */
15
- constructor(attributes?: EditorAttributes);
16
- /**
17
- * Sets the view of the Editor.
18
- */
19
- setComponent(component: AnyView): void;
20
- /**
21
- * Builds a partial Component object.
22
- * @returns A Component for the Editor.
23
- */
24
- build(): Component;
25
- }
@@ -1,19 +0,0 @@
1
- import { DisplayRow } from '../../../shared-logic/src/Display/types';
2
- export declare type HeaderRow = DisplayRow[];
3
- /**
4
- * Represents a Header class.
5
- */
6
- export declare class Header {
7
- /** The header component. */
8
- component: HeaderRow | undefined;
9
- /**
10
- * Constructs a new instance of the HeaderServices class.
11
- * @param title - An optional title for the header.
12
- */
13
- constructor(title?: string);
14
- /**
15
- * Sets the title of the header.
16
- * @param title - The title to set.
17
- */
18
- setTitle(title: string): void;
19
- }
@@ -1,43 +0,0 @@
1
- import { AdditionalFilter } from '../../../shared-logic/src/AdditionalFilter/types';
2
- import { Cell } from './Cell';
3
- import * as Views from './View';
4
- /**
5
- * Represents a Library class.
6
- * @param components The `component` instance to be added to the library. `uniqueViewId` of the component, should always be the same and not auto-generated.
7
- */
8
- export declare type LibraryView = {
9
- component: Views.AnyView;
10
- uniqueViewId: string;
11
- };
12
- export declare class Library {
13
- /**
14
- * An array of Cell instances representing the cells in the library.
15
- */
16
- library: Cell[] | undefined;
17
- /**
18
- * Creates a new instance of a Library.
19
- * @param attributes An optional object containing the attributes of the library.
20
- * @param components The `component` instance to be added to the library. `uniqueViewId` of the component, should always be the same and not auto-generated.
21
- */
22
- constructor(attributes?: {
23
- components?: LibraryView[];
24
- });
25
- /**
26
- * Adds a cell to the library at a specified position or appends it at the end if no position is specified.
27
- * @param component The Component instance to be added to the library.
28
- * @param uniqueViewId The unique view id of the component, should always be the same and not auto-generated. The `uniqueViewId` will become the `viewId` of the component.
29
- * @param attributes An optional object containing the attributes of the cell.
30
- * @example library.addComponent(Vizzly.AreaChart, "uniqueViewId");
31
- * @example library.addComponent(Vizzly.AreaChart, "uniqueViewId", { position: 0 });
32
- */
33
- addComponent(component: Views.AnyView, uniqueViewId: string, attributes?: {
34
- position?: number;
35
- localFilters?: AdditionalFilter[];
36
- }): void;
37
- /**
38
- * Adds an array of cells to the library.
39
- * @param components The `component` instance to be added to the library. `uniqueViewId` of the component, should always be the same and not auto-generated.
40
- */
41
- addComponents(components: LibraryView[]): void;
42
- }
43
- export declare const mergeInViewId: (component: Views.AnyView, uniqueViewId: string) => Views.AnyView;
@@ -1,45 +0,0 @@
1
- import { Cell } from './Cell';
2
- /**
3
- * Represents a Row class.
4
- */
5
- export declare class Row {
6
- /**
7
- * An array of Cell instances representing the cells in the row.
8
- */
9
- components: Cell[];
10
- /**
11
- * The height of the row, defaulting to 350.
12
- */
13
- height: number | undefined;
14
- /**
15
- * Creates a new instance of a Row.
16
- * @param components An optional array of Cell instances to initialize the row.
17
- * @param height An optional height for the row, defaults to 350.
18
- */
19
- constructor(components?: Cell[], height?: number);
20
- /**
21
- * Adds a cell to the row at a specified position or appends it at the end if no position is specified.
22
- *
23
- * @param component The Cell instance to be added to the row.
24
- * @param position (Optional) The zero-based index at which to add the cell.
25
- * If omitted, the cell is added at the end of the row.
26
- */
27
- addCell(component: Cell, position?: number): void;
28
- /**
29
- * Sets the height of the row.
30
- * @param height The height to set for the row.
31
- */
32
- setHeight(height: number): void;
33
- /**
34
- * Sets the cells and optionally the height of the row.
35
- * @param components An array of Cell instances.
36
- */
37
- setRow(components: Cell[]): void;
38
- /**
39
- * Sets the cells and optionally the height of the row.
40
- * @param components An array of Cell instances.
41
- * @param height An optional height to set for the row.
42
- */
43
- set(components: Cell[], height?: number): void;
44
- private validateTotalColSpan;
45
- }
@@ -1,85 +0,0 @@
1
- import type { Component } from '../../../shared-logic/src/Component/types';
2
- import { ViewConfiguration as ViewConfigurationImported } from '../../../shared-logic/src/ViewConfiguration/types';
3
- import { Vizzly } from '..';
4
- export declare type ViewConfiguration = ViewConfigurationImported;
5
- declare type RequiredAttributes<T extends Component.Attributes> = {
6
- dataSetId: T['dataSetId'];
7
- };
8
- export declare class View<T extends Component.Attributes> {
9
- attributes: T;
10
- protected vizzly: Vizzly;
11
- constructor(attributes: Partial<T> & {
12
- type: T['type'];
13
- } & RequiredAttributes<T>);
14
- updateAttributes(newAttributes: Partial<T>): void;
15
- }
16
- export declare type AnyView = AreaChart | LineChart | BarChart | PieChart | BubbleChart | ScatterChart | ComboChart | PivotTable | BasicTable | HorizontalBarChart | MercatorMap | SingleStat | Progress | RichText | WaterfallChart;
17
- export declare class AreaChart extends View<Component.AreaChartAttributes> {
18
- constructor(attributes: Partial<Component.AreaChartAttributes> & RequiredAttributes<Component.AreaChartAttributes>);
19
- static type(): Component.AreaChartAttributes['type'];
20
- }
21
- export declare class LineChart extends View<Component.LineChartAttributes> {
22
- constructor(attributes: Partial<Component.LineChartAttributes> & RequiredAttributes<Component.LineChartAttributes>);
23
- static type(): Component.LineChartAttributes['type'];
24
- }
25
- export declare class BarChart extends View<Component.BarChartAttributes> {
26
- constructor(attributes: Partial<Component.BarChartAttributes> & RequiredAttributes<Component.BarChartAttributes>);
27
- static type(): Component.BarChartAttributes['type'];
28
- }
29
- export declare class PieChart extends View<Component.PieChartAttributes> {
30
- constructor(attributes: Partial<Component.PieChartAttributes> & RequiredAttributes<Component.PieChartAttributes>);
31
- static type(): Component.PieChartAttributes['type'];
32
- }
33
- export declare class BubbleChart extends View<Component.BubbleChartAttributes> {
34
- constructor(attributes: Partial<Component.BubbleChartAttributes> & RequiredAttributes<Component.BubbleChartAttributes>);
35
- static type(): Component.BubbleChartAttributes['type'];
36
- }
37
- export declare class SunburstChart extends View<Component.SunburstChartAttributes> {
38
- constructor(attributes: Partial<Component.SunburstChartAttributes> & RequiredAttributes<Component.SunburstChartAttributes>);
39
- static type(): Component.SunburstChartAttributes['type'];
40
- }
41
- export declare class ScatterChart extends View<Component.ScatterChartAttributes> {
42
- constructor(attributes: Partial<Component.ScatterChartAttributes> & RequiredAttributes<Component.ScatterChartAttributes>);
43
- static type(): Component.ScatterChartAttributes['type'];
44
- }
45
- export declare class ComboChart extends View<Component.ComboChartAttributes> {
46
- constructor(attributes: Partial<Component.ComboChartAttributes> & RequiredAttributes<Component.ComboChartAttributes>);
47
- static type(): Component.ComboChartAttributes['type'];
48
- }
49
- export declare class PivotTable extends View<Component.DataTableAttributes> {
50
- constructor(attributes: Partial<Component.DataTableAttributes> & RequiredAttributes<Component.DataTableAttributes>);
51
- static type(): Component.DataTableAttributes['type'];
52
- }
53
- export declare class BasicTable extends View<Component.BasicTableAttributes> {
54
- constructor(attributes: Partial<Component.BasicTableAttributes> & RequiredAttributes<Component.BasicTableAttributes>);
55
- static type(): Component.BasicTableAttributes['type'];
56
- }
57
- export declare class HorizontalBarChart extends View<Component.HorizontalBarChartAttributes> {
58
- constructor(attributes: Partial<Component.HorizontalBarChartAttributes> & RequiredAttributes<Component.HorizontalBarChartAttributes>);
59
- static type(): Component.HorizontalBarChartAttributes['type'];
60
- }
61
- export declare class MercatorMap extends View<Component.MercatorMapAttributes> {
62
- constructor(attributes: Partial<Component.MercatorMapAttributes> & RequiredAttributes<Component.MercatorMapAttributes>);
63
- static type(): Component.MercatorMapAttributes['type'];
64
- }
65
- export declare class SingleStat extends View<Component.SingleStatAttributes> {
66
- constructor(attributes: Partial<Component.SingleStatAttributes> & RequiredAttributes<Component.SingleStatAttributes>);
67
- static type(): Component.SingleStatAttributes['type'];
68
- }
69
- export declare class Progress extends View<Component.ProgressAttributes> {
70
- constructor(attributes: Partial<Component.ProgressAttributes> & RequiredAttributes<Component.ProgressAttributes>);
71
- static type(): Component.ProgressAttributes['type'];
72
- }
73
- export declare class RichText extends View<Component.RichTextAttributes> {
74
- constructor(attributes: Partial<Component.RichTextAttributes> & RequiredAttributes<Component.RichTextAttributes>);
75
- static type(): Component.RichTextAttributes['type'];
76
- }
77
- export declare class WaterfallChart extends View<Component.WaterfallChartAttributes> {
78
- constructor(attributes: Partial<Component.WaterfallChartAttributes> & RequiredAttributes<Component.WaterfallChartAttributes>);
79
- static type(): Component.WaterfallChartAttributes['type'];
80
- }
81
- export declare class RadarChart extends View<Component.RadarChartAttributes> {
82
- constructor(attributes: Partial<Component.RadarChartAttributes> & RequiredAttributes<Component.RadarChartAttributes>);
83
- static type(): Component.RadarChartAttributes['type'];
84
- }
85
- export {};
@@ -1,7 +0,0 @@
1
- export { Cell } from './Cell';
2
- export { Dashboard } from './Dashboard';
3
- export { Library } from './Library';
4
- export { Editor } from './Editor';
5
- export { Header } from './Header';
6
- export { Row } from './Row';
7
- export { View } from './View';
@@ -1,46 +0,0 @@
1
- import { QueryEngineConfig, QueryEngineEndpoint } from '../../shared-logic/src/QueryEngineConfig/types';
2
- import { identityCallback, loadDataSetsCallback, loadQueryEngineConfigCallback } from '../../shared-logic/src/Callbacks/types';
3
- import { IdentityConfig } from '../../shared-logic/src/IdentityConfig/types';
4
- import { DashboardStorageStrategy } from '../../shared-logic/src/DashboardAPI/types';
5
- import { VizzlyTranslations } from '../../shared-logic/src/Translations/translation.types';
6
- import { DataSet } from '../../shared-logic/src/DataSet/types';
7
- import { CustomField } from '../../shared-logic/src/CustomField/types';
8
- export declare type LoaderOptions = {
9
- apiHost: string;
10
- textOverrides?: Partial<VizzlyTranslations>;
11
- developerMode?: boolean;
12
- };
13
- declare type AccessTokens = Awaited<ReturnType<identityCallback>>;
14
- /**
15
- * A class to manage the up-front setting up of Vizzly.
16
- * For example, fetching data sets, the query engine config and
17
- * access tokens used for the identity logic.
18
- */
19
- export declare class VizzlyLoader {
20
- private queryEngineConfig;
21
- private dataSets;
22
- private queryEngine;
23
- private loadAccessTokens;
24
- private loadDataSetsCallback?;
25
- private extraCustomFields?;
26
- options: LoaderOptions;
27
- constructor(queryEngine: 'in-browser' | QueryEngineEndpoint | loadQueryEngineConfigCallback | undefined, loadAccessTokens: identityCallback, loadDataSetsCallback?: loadDataSetsCallback, extraCustomFields?: (dataSet: DataSet) => Array<CustomField>, options?: LoaderOptions);
28
- getQueryEngineConfig(): Promise<QueryEngineConfig>;
29
- getIdentity(): Promise<{
30
- accessTokens: AccessTokens;
31
- identityConfig: IdentityConfig;
32
- }>;
33
- getDataSets(): Promise<DataSet[]>;
34
- load(): Promise<{
35
- queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig;
36
- dataSets: DataSet<DataSet.Field>[];
37
- identityConfig: IdentityConfig;
38
- dashboardStorageStrategy: DashboardStorageStrategy;
39
- }>;
40
- /**
41
- * Where should dashboards be fetched and saved from? Via the Query Engine for encryption
42
- * or direct to the Vizzly API for non-encrypted storage.
43
- */
44
- getDashboardStorageStrategy(queryEngineConfig: QueryEngineConfig): DashboardStorageStrategy;
45
- }
46
- export {};
@@ -1,2 +0,0 @@
1
- export declare class ServicesValidationError extends Error {
2
- }
@@ -1,3 +0,0 @@
1
- export declare class TimeoutWaitingForVizzlyInstance extends Error {
2
- constructor(instanceId: string, timeout: number);
3
- }
@@ -1,3 +0,0 @@
1
- export declare class VizzlyInstanceNotLoaded extends Error {
2
- constructor(instanceId: string);
3
- }
@@ -1,28 +0,0 @@
1
- import { Component } from '../../shared-logic/src/Component/types';
2
- import { GlobalLibrary } from '../../shared-logic/src/GlobalLibrary';
3
- export declare type AddComponentToLibraryEvent = {
4
- action: 'addComponentToLibrary';
5
- component: Component;
6
- customFields: GlobalLibrary.CustomFields;
7
- };
8
- export declare type DeleteComponentFromLibraryEvent = {
9
- action: 'deleteComponentFromLibrary';
10
- component: Component;
11
- };
12
- export declare type NewViewsInGlobalLibraryEvent = {
13
- action: 'newViewsInGlobalLibrary';
14
- };
15
- export declare enum GlobalLibraryUpdateStatus {
16
- SAVING = "saving",
17
- SAVED = "saved",
18
- DELETED = "deleted"
19
- }
20
- export declare type UpdateToGlobalLibraryStatus = {
21
- action: 'updateToGlobalLibraryStatus';
22
- state: GlobalLibraryUpdateStatus;
23
- };
24
- export declare type EventBus = (event: EventBusParams) => void;
25
- export declare type EventBusParams = {
26
- data: EventBusOptions;
27
- };
28
- export declare type EventBusOptions = AddComponentToLibraryEvent | NewViewsInGlobalLibraryEvent | UpdateToGlobalLibraryStatus | DeleteComponentFromLibraryEvent;