@luzmo/dashboard-contents-types 0.1.89 → 1.0.1

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 (214) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/assets/json-schemas/area-chart-options.schema.json.d.ts +110 -166
  3. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +99 -19
  4. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +109 -14
  5. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +99 -19
  6. package/assets/json-schemas/box-plot-options.schema.json.d.ts +109 -14
  7. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +99 -19
  8. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +109 -14
  9. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +99 -19
  10. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +109 -14
  11. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +99 -19
  12. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +109 -14
  13. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +105 -25
  14. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +109 -14
  15. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +99 -19
  16. package/assets/json-schemas/column-chart-options.schema.json.d.ts +109 -14
  17. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +99 -19
  18. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +109 -14
  19. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +99 -19
  20. package/assets/json-schemas/date-filter-options.schema.json.d.ts +109 -14
  21. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +32 -5
  22. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +109 -14
  23. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +99 -19
  24. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +109 -14
  25. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +99 -19
  26. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +109 -14
  27. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +99 -19
  28. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +109 -14
  29. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +99 -19
  30. package/assets/json-schemas/image-options.schema.json.d.ts +69 -0
  31. package/assets/json-schemas/line-chart-options.schema.json.d.ts +109 -14
  32. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +99 -19
  33. package/assets/json-schemas/options.schema.json.d.ts +3 -0
  34. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +109 -14
  35. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +99 -19
  36. package/assets/json-schemas/regular-table-options.schema.json.d.ts +109 -14
  37. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +99 -19
  38. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +109 -14
  39. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +99 -19
  40. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +109 -14
  41. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +99 -19
  42. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +109 -14
  43. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +99 -19
  44. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +109 -14
  45. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +67 -14
  46. package/assets/json-schemas/slots.schema.json.d.ts +3 -0
  47. package/assets/json-schemas/text-options.schema.json.d.ts +69 -0
  48. package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -0
  49. package/index.d.ts +0 -1
  50. package/index.js +435 -111
  51. package/index.mjs +5084 -1171
  52. package/json-schemas.d.ts +3883 -828
  53. package/json-schemas.d.ts.map +1 -1
  54. package/package.json +1 -1
  55. package/src/index.d.ts +1 -1
  56. package/src/index.d.ts.map +1 -1
  57. package/src/lib/area-chart/area-chart-options.d.ts +20 -19
  58. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  59. package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
  60. package/src/lib/area-chart/area-chart.d.ts +2 -4
  61. package/src/lib/area-chart/index.d.ts +0 -1
  62. package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
  63. package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
  64. package/src/lib/bar-chart/bar-chart.d.ts +2 -4
  65. package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
  66. package/src/lib/bar-chart/index.d.ts +0 -1
  67. package/src/lib/box-plot/box-plot-options.d.ts +13 -15
  68. package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
  69. package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
  70. package/src/lib/box-plot/box-plot.d.ts +2 -4
  71. package/src/lib/box-plot/index.d.ts +0 -1
  72. package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
  73. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  74. package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
  75. package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
  76. package/src/lib/bubble-chart/index.d.ts +0 -1
  77. package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
  78. package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
  79. package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
  80. package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
  81. package/src/lib/bullet-chart/index.d.ts +0 -1
  82. package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
  83. package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
  84. package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
  85. package/src/lib/choropleth-map/index.d.ts +0 -1
  86. package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
  87. package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
  88. package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
  89. package/src/lib/circular-gauge/index.d.ts +0 -1
  90. package/src/lib/column-chart/column-chart-options.d.ts +14 -16
  91. package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
  92. package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
  93. package/src/lib/column-chart/column-chart.d.ts +2 -4
  94. package/src/lib/column-chart/index.d.ts +0 -1
  95. package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
  96. package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
  97. package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
  98. package/src/lib/combination-chart/combination-chart.d.ts +2 -4
  99. package/src/lib/combination-chart/index.d.ts +0 -1
  100. package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
  101. package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
  102. package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
  103. package/src/lib/conditional-number/conditional-number.d.ts +2 -4
  104. package/src/lib/conditional-number/index.d.ts +0 -1
  105. package/src/lib/date-filter/date-filter-options.d.ts +5 -8
  106. package/src/lib/date-filter/date-filter-options.d.ts.map +1 -1
  107. package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
  108. package/src/lib/date-filter/date-filter.d.ts +2 -4
  109. package/src/lib/date-filter/index.d.ts +0 -1
  110. package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
  111. package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
  112. package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
  113. package/src/lib/donut-chart/donut-chart.d.ts +2 -4
  114. package/src/lib/donut-chart/index.d.ts +0 -1
  115. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +7 -10
  116. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
  117. package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
  118. package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
  119. package/src/lib/dropdown-filter/index.d.ts +0 -1
  120. package/src/lib/evolution-number/evolution-number-options.d.ts +7 -9
  121. package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
  122. package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
  123. package/src/lib/evolution-number/evolution-number.d.ts +2 -4
  124. package/src/lib/evolution-number/index.d.ts +0 -1
  125. package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
  126. package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
  127. package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
  128. package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
  129. package/src/lib/funnel-chart/index.d.ts +0 -1
  130. package/src/lib/image/image-options.d.ts +3 -5
  131. package/src/lib/image/image.d.ts +1 -3
  132. package/src/lib/image/index.d.ts +0 -1
  133. package/src/lib/line-chart/index.d.ts +0 -1
  134. package/src/lib/line-chart/line-chart-options.d.ts +13 -15
  135. package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
  136. package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
  137. package/src/lib/line-chart/line-chart.d.ts +2 -4
  138. package/src/lib/pivot-table/index.d.ts +0 -1
  139. package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
  140. package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
  141. package/src/lib/pivot-table/pivot-table.d.ts +2 -4
  142. package/src/lib/regular-table/index.d.ts +0 -1
  143. package/src/lib/regular-table/regular-table-options.d.ts +9 -11
  144. package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
  145. package/src/lib/regular-table/regular-table.d.ts +2 -4
  146. package/src/lib/sankey-diagram/index.d.ts +0 -1
  147. package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
  148. package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
  149. package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
  150. package/src/lib/scatter-plot/index.d.ts +0 -1
  151. package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
  152. package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
  153. package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
  154. package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
  155. package/src/lib/search-filter/index.d.ts +3 -0
  156. package/src/lib/search-filter/index.d.ts.map +1 -0
  157. package/src/lib/search-filter/search-filter-options.d.ts +56 -0
  158. package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
  159. package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
  160. package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
  161. package/src/lib/search-filter/search-filter.d.ts +23 -0
  162. package/src/lib/search-filter/search-filter.d.ts.map +1 -0
  163. package/src/lib/shared/axes.d.ts +0 -1
  164. package/src/lib/shared/axis-view-options.d.ts +0 -2
  165. package/src/lib/shared/common.d.ts +2 -4
  166. package/src/lib/shared/common.d.ts.map +1 -1
  167. package/src/lib/shared/drop-object-view-options.d.ts +0 -2
  168. package/src/lib/shared/filters.d.ts +0 -1
  169. package/src/lib/shared/formula.d.ts +0 -2
  170. package/src/lib/shared/index.d.ts +1 -1
  171. package/src/lib/shared/index.d.ts.map +1 -1
  172. package/src/lib/shared/info-tooltip-options.d.ts +0 -1
  173. package/src/lib/shared/interactivity-brush.d.ts +0 -1
  174. package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
  175. package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
  176. package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
  177. package/src/lib/shared/interactivity-export.d.ts +0 -1
  178. package/src/lib/shared/interactivity-filter.d.ts +0 -1
  179. package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
  180. package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
  181. package/src/lib/shared/interactivity-target.d.ts +0 -1
  182. package/src/lib/shared/interpolation.d.ts +0 -1
  183. package/src/lib/shared/item-filter-group.d.ts +54 -3
  184. package/src/lib/shared/item-filter-group.d.ts.map +1 -1
  185. package/src/lib/shared/legend.d.ts +0 -2
  186. package/src/lib/shared/map-object-view-options.d.ts +2 -4
  187. package/src/lib/shared/object-view-options.d.ts +4 -5
  188. package/src/lib/shared/object-view-options.d.ts.map +1 -1
  189. package/src/lib/shared/placeholder.d.ts +0 -1
  190. package/src/lib/shared/query.d.ts +0 -1
  191. package/src/lib/shared/ranges.d.ts +0 -1
  192. package/src/lib/shared/slots.d.ts +62 -7
  193. package/src/lib/shared/slots.d.ts.map +1 -1
  194. package/src/lib/shared/sort.d.ts +0 -2
  195. package/src/lib/shared/theme.d.ts +0 -1
  196. package/src/lib/shared/title.d.ts +0 -1
  197. package/src/lib/shared/viz-item.d.ts +60 -0
  198. package/src/lib/shared/viz-item.d.ts.map +1 -0
  199. package/src/lib/slicer-filter/index.d.ts +0 -1
  200. package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
  201. package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
  202. package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
  203. package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
  204. package/src/lib/slider-filter/index.d.ts +0 -1
  205. package/src/lib/slider-filter/slider-filter-options.d.ts +4 -6
  206. package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -1
  207. package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
  208. package/src/lib/slider-filter/slider-filter.d.ts +2 -4
  209. package/src/lib/text/index.d.ts +0 -1
  210. package/src/lib/text/text-options.d.ts +1 -3
  211. package/src/lib/text/text.d.ts +1 -3
  212. package/src/options.d.ts +24 -26
  213. package/src/options.d.ts.map +1 -1
  214. package/src/slots.d.ts +21 -23
@@ -58,11 +58,16 @@ declare const _default: {
58
58
  "string"
59
59
  ]
60
60
  },
61
- "column": {
61
+ "columnId": {
62
62
  "description": "Column id",
63
63
  "format": "uuid",
64
64
  "type": "string"
65
65
  },
66
+ "datasetId": {
67
+ "description": "Dataset id",
68
+ "format": "uuid",
69
+ "type": "string"
70
+ },
66
71
  "datetimeDisplayMode": {
67
72
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
68
73
  "enum": [
@@ -121,10 +126,32 @@ declare const _default: {
121
126
  ],
122
127
  "type": "string"
123
128
  },
124
- "set": {
125
- "description": "Dataset id",
126
- "format": "uuid",
127
- "type": "string"
129
+ "periodOverPeriod": {
130
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
131
+ "properties": {
132
+ "level": {
133
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
134
+ "type": "number"
135
+ },
136
+ "periodToDate": {
137
+ "description": "Turn ON/OFF period to date comparison",
138
+ "type": "boolean"
139
+ },
140
+ "quantity": {
141
+ "description": "Number of periods",
142
+ "type": "number"
143
+ },
144
+ "type": {
145
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
146
+ "enum": [
147
+ "change",
148
+ "none",
149
+ "past"
150
+ ],
151
+ "type": "string"
152
+ }
153
+ },
154
+ "type": "object"
128
155
  },
129
156
  "subtype": {
130
157
  "description": "There's no subtype for \"datetime\", it can be null or omitted",
@@ -172,11 +199,16 @@ declare const _default: {
172
199
  "string"
173
200
  ]
174
201
  },
175
- "column": {
202
+ "columnId": {
176
203
  "description": "Column id",
177
204
  "format": "uuid",
178
205
  "type": "string"
179
206
  },
207
+ "datasetId": {
208
+ "description": "Dataset id",
209
+ "format": "uuid",
210
+ "type": "string"
211
+ },
180
212
  "format": {
181
213
  "description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
182
214
  "type": "string"
@@ -208,10 +240,32 @@ declare const _default: {
208
240
  "number"
209
241
  ]
210
242
  },
211
- "set": {
212
- "description": "Dataset id",
213
- "format": "uuid",
214
- "type": "string"
243
+ "periodOverPeriod": {
244
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
245
+ "properties": {
246
+ "level": {
247
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
248
+ "type": "number"
249
+ },
250
+ "periodToDate": {
251
+ "description": "Turn ON/OFF period to date comparison",
252
+ "type": "boolean"
253
+ },
254
+ "quantity": {
255
+ "description": "Number of periods",
256
+ "type": "number"
257
+ },
258
+ "type": {
259
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
260
+ "enum": [
261
+ "change",
262
+ "none",
263
+ "past"
264
+ ],
265
+ "type": "string"
266
+ }
267
+ },
268
+ "type": "object"
215
269
  },
216
270
  "subtype": {
217
271
  "anyOf": [
@@ -290,7 +344,7 @@ declare const _default: {
290
344
  "aggregationWeight": {
291
345
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
292
346
  "properties": {
293
- "column": {
347
+ "columnId": {
294
348
  "description": "Column id",
295
349
  "format": "uuid",
296
350
  "type": "string"
@@ -299,7 +353,7 @@ declare const _default: {
299
353
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/ColumnSubtype",
300
354
  "description": "Column subtype"
301
355
  },
302
- "set": {
356
+ "datasetId": {
303
357
  "description": "Dataset id",
304
358
  "format": "uuid",
305
359
  "type": "string"
@@ -328,7 +382,7 @@ declare const _default: {
328
382
  "string"
329
383
  ]
330
384
  },
331
- "column": {
385
+ "columnId": {
332
386
  "description": "Column id",
333
387
  "format": "uuid",
334
388
  "type": "string"
@@ -340,6 +394,11 @@ declare const _default: {
340
394
  "string"
341
395
  ]
342
396
  },
397
+ "datasetId": {
398
+ "description": "Dataset id",
399
+ "format": "uuid",
400
+ "type": "string"
401
+ },
343
402
  "duration": {
344
403
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
345
404
  "properties": {
@@ -367,8 +426,7 @@ declare const _default: {
367
426
  "type": "string"
368
427
  },
369
428
  "formula": {
370
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
371
- "format": "uuid",
429
+ "description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
372
430
  "type": "string"
373
431
  },
374
432
  "grandTotals": {
@@ -384,10 +442,32 @@ declare const _default: {
384
442
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
385
443
  "type": "object"
386
444
  },
387
- "set": {
388
- "description": "Dataset id",
389
- "format": "uuid",
390
- "type": "string"
445
+ "periodOverPeriod": {
446
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
447
+ "properties": {
448
+ "level": {
449
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
450
+ "type": "number"
451
+ },
452
+ "periodToDate": {
453
+ "description": "Turn ON/OFF period to date comparison",
454
+ "type": "boolean"
455
+ },
456
+ "quantity": {
457
+ "description": "Number of periods",
458
+ "type": "number"
459
+ },
460
+ "type": {
461
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
462
+ "enum": [
463
+ "change",
464
+ "none",
465
+ "past"
466
+ ],
467
+ "type": "string"
468
+ }
469
+ },
470
+ "type": "object"
391
471
  },
392
472
  "subtype": {
393
473
  "anyOf": [
@@ -84,6 +84,67 @@ declare const _default: {
84
84
  },
85
85
  "type": "object"
86
86
  },
87
+ "loader": {
88
+ "description": "The loader configuration",
89
+ "properties": {
90
+ "background": {
91
+ "default": "#f9f9f9",
92
+ "description": "Background color of the chart loader element",
93
+ "type": "string"
94
+ },
95
+ "fontColor": {
96
+ "default": "#5a5a5a",
97
+ "description": "Font color of the text of the chart loaders",
98
+ "type": "string"
99
+ },
100
+ "locale": {
101
+ "default": "en",
102
+ "description": "Locale to be used if \"msg\" is set",
103
+ "examples": [
104
+ "en",
105
+ "fr"
106
+ ],
107
+ "type": "string"
108
+ },
109
+ "mode": {
110
+ "default": "light",
111
+ "description": "Light or dark loader",
112
+ "type": "string"
113
+ },
114
+ "msg": {
115
+ "description": "Loading message",
116
+ "examples": [
117
+ "Loading dashboard..."
118
+ ],
119
+ "type": "string"
120
+ },
121
+ "showBranded": {
122
+ "default": false,
123
+ "description": "Shows the branded \"powered by\" information",
124
+ "type": "boolean"
125
+ },
126
+ "spinnerBackground": {
127
+ "default": "rgba(169, 169, 169, 0.14)",
128
+ "description": "Background color of the spinner",
129
+ "type": "string"
130
+ },
131
+ "spinnerColor": {
132
+ "default": "rgba(255, 165, 0, 0.7)",
133
+ "description": "Spinner color of the loader",
134
+ "type": "string"
135
+ }
136
+ },
137
+ "type": "object"
138
+ },
139
+ "locale": {
140
+ "default": "en",
141
+ "description": "Locale to be used",
142
+ "examples": [
143
+ "en",
144
+ "fr"
145
+ ],
146
+ "type": "string"
147
+ },
87
148
  "mode": {
88
149
  "default": "fill",
89
150
  "description": "Image mode: noResize, fit, fitHorizontal, fitVertical, fill, stretch",
@@ -560,6 +621,14 @@ declare const _default: {
560
621
  },
561
622
  "type": "object"
562
623
  },
624
+ "timezoneId": {
625
+ "description": "The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database",
626
+ "examples": [
627
+ "Europe/Brussels",
628
+ "America/New_York"
629
+ ],
630
+ "type": "string"
631
+ },
563
632
  "title": {
564
633
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
565
634
  "examples": [
@@ -985,7 +985,7 @@ declare const _default: {
985
985
  "aggregationWeight": {
986
986
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
987
987
  "properties": {
988
- "column": {
988
+ "columnId": {
989
989
  "description": "Column id",
990
990
  "format": "uuid",
991
991
  "type": "string"
@@ -1001,7 +1001,7 @@ declare const _default: {
1001
1001
  ],
1002
1002
  "type": "string"
1003
1003
  },
1004
- "set": {
1004
+ "datasetId": {
1005
1005
  "description": "Dataset id",
1006
1006
  "format": "uuid",
1007
1007
  "type": "string"
@@ -1030,11 +1030,6 @@ declare const _default: {
1030
1030
  "string"
1031
1031
  ]
1032
1032
  },
1033
- "column": {
1034
- "description": "Column id",
1035
- "format": "uuid",
1036
- "type": "string"
1037
- },
1038
1033
  "columnHierarchies": {
1039
1034
  "anyOf": [
1040
1035
  {
@@ -1065,6 +1060,11 @@ declare const _default: {
1065
1060
  }
1066
1061
  ]
1067
1062
  },
1063
+ "columnId": {
1064
+ "description": "Column id",
1065
+ "format": "uuid",
1066
+ "type": "string"
1067
+ },
1068
1068
  "currency": {
1069
1069
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
1070
1070
  "type": [
@@ -1072,6 +1072,11 @@ declare const _default: {
1072
1072
  "string"
1073
1073
  ]
1074
1074
  },
1075
+ "datasetId": {
1076
+ "description": "Dataset id",
1077
+ "format": "uuid",
1078
+ "type": "string"
1079
+ },
1075
1080
  "datetimeDisplayMode": {
1076
1081
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
1077
1082
  "enum": [
@@ -1117,8 +1122,7 @@ declare const _default: {
1117
1122
  "type": "string"
1118
1123
  },
1119
1124
  "formula": {
1120
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
1121
- "format": "uuid",
1125
+ "description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
1122
1126
  "type": "string"
1123
1127
  },
1124
1128
  "grandTotals": {
@@ -1164,17 +1168,39 @@ declare const _default: {
1164
1168
  ],
1165
1169
  "type": "string"
1166
1170
  },
1171
+ "periodOverPeriod": {
1172
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
1173
+ "properties": {
1174
+ "level": {
1175
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
1176
+ "type": "number"
1177
+ },
1178
+ "periodToDate": {
1179
+ "description": "Turn ON/OFF period to date comparison",
1180
+ "type": "boolean"
1181
+ },
1182
+ "quantity": {
1183
+ "description": "Number of periods",
1184
+ "type": "number"
1185
+ },
1186
+ "type": {
1187
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
1188
+ "enum": [
1189
+ "change",
1190
+ "none",
1191
+ "past"
1192
+ ],
1193
+ "type": "string"
1194
+ }
1195
+ },
1196
+ "type": "object"
1197
+ },
1167
1198
  "readonly": {
1168
1199
  "type": "boolean"
1169
1200
  },
1170
1201
  "selected": {
1171
1202
  "type": "boolean"
1172
1203
  },
1173
- "set": {
1174
- "description": "Dataset id",
1175
- "format": "uuid",
1176
- "type": "string"
1177
- },
1178
1204
  "subtype": {
1179
1205
  "anyOf": [
1180
1206
  {
@@ -1338,6 +1364,67 @@ declare const _default: {
1338
1364
  },
1339
1365
  "type": "object"
1340
1366
  },
1367
+ "loader": {
1368
+ "description": "The loader configuration",
1369
+ "properties": {
1370
+ "background": {
1371
+ "default": "#f9f9f9",
1372
+ "description": "Background color of the chart loader element",
1373
+ "type": "string"
1374
+ },
1375
+ "fontColor": {
1376
+ "default": "#5a5a5a",
1377
+ "description": "Font color of the text of the chart loaders",
1378
+ "type": "string"
1379
+ },
1380
+ "locale": {
1381
+ "default": "en",
1382
+ "description": "Locale to be used if \"msg\" is set",
1383
+ "examples": [
1384
+ "en",
1385
+ "fr"
1386
+ ],
1387
+ "type": "string"
1388
+ },
1389
+ "mode": {
1390
+ "default": "light",
1391
+ "description": "Light or dark loader",
1392
+ "type": "string"
1393
+ },
1394
+ "msg": {
1395
+ "description": "Loading message",
1396
+ "examples": [
1397
+ "Loading dashboard..."
1398
+ ],
1399
+ "type": "string"
1400
+ },
1401
+ "showBranded": {
1402
+ "default": false,
1403
+ "description": "Shows the branded \"powered by\" information",
1404
+ "type": "boolean"
1405
+ },
1406
+ "spinnerBackground": {
1407
+ "default": "rgba(169, 169, 169, 0.14)",
1408
+ "description": "Background color of the spinner",
1409
+ "type": "string"
1410
+ },
1411
+ "spinnerColor": {
1412
+ "default": "rgba(255, 165, 0, 0.7)",
1413
+ "description": "Spinner color of the loader",
1414
+ "type": "string"
1415
+ }
1416
+ },
1417
+ "type": "object"
1418
+ },
1419
+ "locale": {
1420
+ "default": "en",
1421
+ "description": "Locale to be used",
1422
+ "examples": [
1423
+ "en",
1424
+ "fr"
1425
+ ],
1426
+ "type": "string"
1427
+ },
1341
1428
  "markers": {
1342
1429
  "description": "Markers options",
1343
1430
  "properties": {
@@ -1842,6 +1929,14 @@ declare const _default: {
1842
1929
  },
1843
1930
  "type": "object"
1844
1931
  },
1932
+ "timezoneId": {
1933
+ "description": "The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database",
1934
+ "examples": [
1935
+ "Europe/Brussels",
1936
+ "America/New_York"
1937
+ ],
1938
+ "type": "string"
1939
+ },
1845
1940
  "title": {
1846
1941
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
1847
1942
  "examples": [