@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
@@ -29,11 +29,16 @@ declare const _default: {
29
29
  "string"
30
30
  ]
31
31
  },
32
- "column": {
32
+ "columnId": {
33
33
  "description": "Column id",
34
34
  "format": "uuid",
35
35
  "type": "string"
36
36
  },
37
+ "datasetId": {
38
+ "description": "Dataset id",
39
+ "format": "uuid",
40
+ "type": "string"
41
+ },
37
42
  "datetimeDisplayMode": {
38
43
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
39
44
  "enum": [
@@ -92,10 +97,32 @@ declare const _default: {
92
97
  ],
93
98
  "type": "string"
94
99
  },
95
- "set": {
96
- "description": "Dataset id",
97
- "format": "uuid",
98
- "type": "string"
100
+ "periodOverPeriod": {
101
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
102
+ "properties": {
103
+ "level": {
104
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
105
+ "type": "number"
106
+ },
107
+ "periodToDate": {
108
+ "description": "Turn ON/OFF period to date comparison",
109
+ "type": "boolean"
110
+ },
111
+ "quantity": {
112
+ "description": "Number of periods",
113
+ "type": "number"
114
+ },
115
+ "type": {
116
+ "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",
117
+ "enum": [
118
+ "change",
119
+ "none",
120
+ "past"
121
+ ],
122
+ "type": "string"
123
+ }
124
+ },
125
+ "type": "object"
99
126
  },
100
127
  "subtype": {
101
128
  "description": "There's no subtype for \"datetime\", it can be null or omitted",
@@ -143,11 +170,16 @@ declare const _default: {
143
170
  "string"
144
171
  ]
145
172
  },
146
- "column": {
173
+ "columnId": {
147
174
  "description": "Column id",
148
175
  "format": "uuid",
149
176
  "type": "string"
150
177
  },
178
+ "datasetId": {
179
+ "description": "Dataset id",
180
+ "format": "uuid",
181
+ "type": "string"
182
+ },
151
183
  "format": {
152
184
  "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.",
153
185
  "type": "string"
@@ -179,10 +211,32 @@ declare const _default: {
179
211
  "number"
180
212
  ]
181
213
  },
182
- "set": {
183
- "description": "Dataset id",
184
- "format": "uuid",
185
- "type": "string"
214
+ "periodOverPeriod": {
215
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
216
+ "properties": {
217
+ "level": {
218
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
219
+ "type": "number"
220
+ },
221
+ "periodToDate": {
222
+ "description": "Turn ON/OFF period to date comparison",
223
+ "type": "boolean"
224
+ },
225
+ "quantity": {
226
+ "description": "Number of periods",
227
+ "type": "number"
228
+ },
229
+ "type": {
230
+ "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",
231
+ "enum": [
232
+ "change",
233
+ "none",
234
+ "past"
235
+ ],
236
+ "type": "string"
237
+ }
238
+ },
239
+ "type": "object"
186
240
  },
187
241
  "subtype": {
188
242
  "anyOf": [
@@ -263,7 +317,7 @@ declare const _default: {
263
317
  "aggregationWeight": {
264
318
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
265
319
  "properties": {
266
- "column": {
320
+ "columnId": {
267
321
  "description": "Column id",
268
322
  "format": "uuid",
269
323
  "type": "string"
@@ -272,7 +326,7 @@ declare const _default: {
272
326
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/ColumnSubtype",
273
327
  "description": "Column subtype"
274
328
  },
275
- "set": {
329
+ "datasetId": {
276
330
  "description": "Dataset id",
277
331
  "format": "uuid",
278
332
  "type": "string"
@@ -301,7 +355,7 @@ declare const _default: {
301
355
  "string"
302
356
  ]
303
357
  },
304
- "column": {
358
+ "columnId": {
305
359
  "description": "Column id",
306
360
  "format": "uuid",
307
361
  "type": "string"
@@ -313,6 +367,11 @@ declare const _default: {
313
367
  "string"
314
368
  ]
315
369
  },
370
+ "datasetId": {
371
+ "description": "Dataset id",
372
+ "format": "uuid",
373
+ "type": "string"
374
+ },
316
375
  "duration": {
317
376
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
318
377
  "properties": {
@@ -340,8 +399,7 @@ declare const _default: {
340
399
  "type": "string"
341
400
  },
342
401
  "formula": {
343
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
344
- "format": "uuid",
402
+ "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",
345
403
  "type": "string"
346
404
  },
347
405
  "grandTotals": {
@@ -357,10 +415,32 @@ declare const _default: {
357
415
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
358
416
  "type": "object"
359
417
  },
360
- "set": {
361
- "description": "Dataset id",
362
- "format": "uuid",
363
- "type": "string"
418
+ "periodOverPeriod": {
419
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
420
+ "properties": {
421
+ "level": {
422
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
423
+ "type": "number"
424
+ },
425
+ "periodToDate": {
426
+ "description": "Turn ON/OFF period to date comparison",
427
+ "type": "boolean"
428
+ },
429
+ "quantity": {
430
+ "description": "Number of periods",
431
+ "type": "number"
432
+ },
433
+ "type": {
434
+ "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",
435
+ "enum": [
436
+ "change",
437
+ "none",
438
+ "past"
439
+ ],
440
+ "type": "string"
441
+ }
442
+ },
443
+ "type": "object"
364
444
  },
365
445
  "subtype": {
366
446
  "anyOf": [
@@ -520,7 +520,7 @@ declare const _default: {
520
520
  "aggregationWeight": {
521
521
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
522
522
  "properties": {
523
- "column": {
523
+ "columnId": {
524
524
  "description": "Column id",
525
525
  "format": "uuid",
526
526
  "type": "string"
@@ -536,7 +536,7 @@ declare const _default: {
536
536
  ],
537
537
  "type": "string"
538
538
  },
539
- "set": {
539
+ "datasetId": {
540
540
  "description": "Dataset id",
541
541
  "format": "uuid",
542
542
  "type": "string"
@@ -565,11 +565,6 @@ declare const _default: {
565
565
  "string"
566
566
  ]
567
567
  },
568
- "column": {
569
- "description": "Column id",
570
- "format": "uuid",
571
- "type": "string"
572
- },
573
568
  "columnHierarchies": {
574
569
  "anyOf": [
575
570
  {
@@ -600,6 +595,11 @@ declare const _default: {
600
595
  }
601
596
  ]
602
597
  },
598
+ "columnId": {
599
+ "description": "Column id",
600
+ "format": "uuid",
601
+ "type": "string"
602
+ },
603
603
  "currency": {
604
604
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
605
605
  "type": [
@@ -607,6 +607,11 @@ declare const _default: {
607
607
  "string"
608
608
  ]
609
609
  },
610
+ "datasetId": {
611
+ "description": "Dataset id",
612
+ "format": "uuid",
613
+ "type": "string"
614
+ },
610
615
  "datetimeDisplayMode": {
611
616
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
612
617
  "enum": [
@@ -652,8 +657,7 @@ declare const _default: {
652
657
  "type": "string"
653
658
  },
654
659
  "formula": {
655
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
656
- "format": "uuid",
660
+ "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",
657
661
  "type": "string"
658
662
  },
659
663
  "grandTotals": {
@@ -699,17 +703,39 @@ declare const _default: {
699
703
  ],
700
704
  "type": "string"
701
705
  },
706
+ "periodOverPeriod": {
707
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
708
+ "properties": {
709
+ "level": {
710
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
711
+ "type": "number"
712
+ },
713
+ "periodToDate": {
714
+ "description": "Turn ON/OFF period to date comparison",
715
+ "type": "boolean"
716
+ },
717
+ "quantity": {
718
+ "description": "Number of periods",
719
+ "type": "number"
720
+ },
721
+ "type": {
722
+ "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",
723
+ "enum": [
724
+ "change",
725
+ "none",
726
+ "past"
727
+ ],
728
+ "type": "string"
729
+ }
730
+ },
731
+ "type": "object"
732
+ },
702
733
  "readonly": {
703
734
  "type": "boolean"
704
735
  },
705
736
  "selected": {
706
737
  "type": "boolean"
707
738
  },
708
- "set": {
709
- "description": "Dataset id",
710
- "format": "uuid",
711
- "type": "string"
712
- },
713
739
  "subtype": {
714
740
  "anyOf": [
715
741
  {
@@ -770,6 +796,67 @@ declare const _default: {
770
796
  },
771
797
  "type": "object"
772
798
  },
799
+ "loader": {
800
+ "description": "The loader configuration",
801
+ "properties": {
802
+ "background": {
803
+ "default": "#f9f9f9",
804
+ "description": "Background color of the chart loader element",
805
+ "type": "string"
806
+ },
807
+ "fontColor": {
808
+ "default": "#5a5a5a",
809
+ "description": "Font color of the text of the chart loaders",
810
+ "type": "string"
811
+ },
812
+ "locale": {
813
+ "default": "en",
814
+ "description": "Locale to be used if \"msg\" is set",
815
+ "examples": [
816
+ "en",
817
+ "fr"
818
+ ],
819
+ "type": "string"
820
+ },
821
+ "mode": {
822
+ "default": "light",
823
+ "description": "Light or dark loader",
824
+ "type": "string"
825
+ },
826
+ "msg": {
827
+ "description": "Loading message",
828
+ "examples": [
829
+ "Loading dashboard..."
830
+ ],
831
+ "type": "string"
832
+ },
833
+ "showBranded": {
834
+ "default": false,
835
+ "description": "Shows the branded \"powered by\" information",
836
+ "type": "boolean"
837
+ },
838
+ "spinnerBackground": {
839
+ "default": "rgba(169, 169, 169, 0.14)",
840
+ "description": "Background color of the spinner",
841
+ "type": "string"
842
+ },
843
+ "spinnerColor": {
844
+ "default": "rgba(255, 165, 0, 0.7)",
845
+ "description": "Spinner color of the loader",
846
+ "type": "string"
847
+ }
848
+ },
849
+ "type": "object"
850
+ },
851
+ "locale": {
852
+ "default": "en",
853
+ "description": "Locale to be used",
854
+ "examples": [
855
+ "en",
856
+ "fr"
857
+ ],
858
+ "type": "string"
859
+ },
773
860
  "padding": {
774
861
  "description": "Padding of the date filter",
775
862
  "properties": {
@@ -1249,6 +1336,14 @@ declare const _default: {
1249
1336
  },
1250
1337
  "type": "object"
1251
1338
  },
1339
+ "timezoneId": {
1340
+ "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",
1341
+ "examples": [
1342
+ "Europe/Brussels",
1343
+ "America/New_York"
1344
+ ],
1345
+ "type": "string"
1346
+ },
1252
1347
  "title": {
1253
1348
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
1254
1349
  "examples": [
@@ -19,11 +19,16 @@ declare const _default: {
19
19
  "string"
20
20
  ]
21
21
  },
22
- "column": {
22
+ "columnId": {
23
23
  "description": "Column id",
24
24
  "format": "uuid",
25
25
  "type": "string"
26
26
  },
27
+ "datasetId": {
28
+ "description": "Dataset id",
29
+ "format": "uuid",
30
+ "type": "string"
31
+ },
27
32
  "datetimeDisplayMode": {
28
33
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
29
34
  "enum": [
@@ -82,10 +87,32 @@ declare const _default: {
82
87
  ],
83
88
  "type": "string"
84
89
  },
85
- "set": {
86
- "description": "Dataset id",
87
- "format": "uuid",
88
- "type": "string"
90
+ "periodOverPeriod": {
91
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
92
+ "properties": {
93
+ "level": {
94
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
95
+ "type": "number"
96
+ },
97
+ "periodToDate": {
98
+ "description": "Turn ON/OFF period to date comparison",
99
+ "type": "boolean"
100
+ },
101
+ "quantity": {
102
+ "description": "Number of periods",
103
+ "type": "number"
104
+ },
105
+ "type": {
106
+ "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",
107
+ "enum": [
108
+ "change",
109
+ "none",
110
+ "past"
111
+ ],
112
+ "type": "string"
113
+ }
114
+ },
115
+ "type": "object"
89
116
  },
90
117
  "subtype": {
91
118
  "description": "There's no subtype for \"datetime\", it can be null or omitted",
@@ -2619,7 +2619,7 @@ declare const _default: {
2619
2619
  "aggregationWeight": {
2620
2620
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
2621
2621
  "properties": {
2622
- "column": {
2622
+ "columnId": {
2623
2623
  "description": "Column id",
2624
2624
  "format": "uuid",
2625
2625
  "type": "string"
@@ -2635,7 +2635,7 @@ declare const _default: {
2635
2635
  ],
2636
2636
  "type": "string"
2637
2637
  },
2638
- "set": {
2638
+ "datasetId": {
2639
2639
  "description": "Dataset id",
2640
2640
  "format": "uuid",
2641
2641
  "type": "string"
@@ -2664,11 +2664,6 @@ declare const _default: {
2664
2664
  "string"
2665
2665
  ]
2666
2666
  },
2667
- "column": {
2668
- "description": "Column id",
2669
- "format": "uuid",
2670
- "type": "string"
2671
- },
2672
2667
  "columnHierarchies": {
2673
2668
  "anyOf": [
2674
2669
  {
@@ -2699,6 +2694,11 @@ declare const _default: {
2699
2694
  }
2700
2695
  ]
2701
2696
  },
2697
+ "columnId": {
2698
+ "description": "Column id",
2699
+ "format": "uuid",
2700
+ "type": "string"
2701
+ },
2702
2702
  "currency": {
2703
2703
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
2704
2704
  "type": [
@@ -2706,6 +2706,11 @@ declare const _default: {
2706
2706
  "string"
2707
2707
  ]
2708
2708
  },
2709
+ "datasetId": {
2710
+ "description": "Dataset id",
2711
+ "format": "uuid",
2712
+ "type": "string"
2713
+ },
2709
2714
  "datetimeDisplayMode": {
2710
2715
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
2711
2716
  "enum": [
@@ -2751,8 +2756,7 @@ declare const _default: {
2751
2756
  "type": "string"
2752
2757
  },
2753
2758
  "formula": {
2754
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
2755
- "format": "uuid",
2759
+ "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",
2756
2760
  "type": "string"
2757
2761
  },
2758
2762
  "grandTotals": {
@@ -2798,17 +2802,39 @@ declare const _default: {
2798
2802
  ],
2799
2803
  "type": "string"
2800
2804
  },
2805
+ "periodOverPeriod": {
2806
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
2807
+ "properties": {
2808
+ "level": {
2809
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
2810
+ "type": "number"
2811
+ },
2812
+ "periodToDate": {
2813
+ "description": "Turn ON/OFF period to date comparison",
2814
+ "type": "boolean"
2815
+ },
2816
+ "quantity": {
2817
+ "description": "Number of periods",
2818
+ "type": "number"
2819
+ },
2820
+ "type": {
2821
+ "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",
2822
+ "enum": [
2823
+ "change",
2824
+ "none",
2825
+ "past"
2826
+ ],
2827
+ "type": "string"
2828
+ }
2829
+ },
2830
+ "type": "object"
2831
+ },
2801
2832
  "readonly": {
2802
2833
  "type": "boolean"
2803
2834
  },
2804
2835
  "selected": {
2805
2836
  "type": "boolean"
2806
2837
  },
2807
- "set": {
2808
- "description": "Dataset id",
2809
- "format": "uuid",
2810
- "type": "string"
2811
- },
2812
2838
  "subtype": {
2813
2839
  "anyOf": [
2814
2840
  {
@@ -2946,6 +2972,67 @@ declare const _default: {
2946
2972
  },
2947
2973
  "type": "object"
2948
2974
  },
2975
+ "loader": {
2976
+ "description": "The loader configuration",
2977
+ "properties": {
2978
+ "background": {
2979
+ "default": "#f9f9f9",
2980
+ "description": "Background color of the chart loader element",
2981
+ "type": "string"
2982
+ },
2983
+ "fontColor": {
2984
+ "default": "#5a5a5a",
2985
+ "description": "Font color of the text of the chart loaders",
2986
+ "type": "string"
2987
+ },
2988
+ "locale": {
2989
+ "default": "en",
2990
+ "description": "Locale to be used if \"msg\" is set",
2991
+ "examples": [
2992
+ "en",
2993
+ "fr"
2994
+ ],
2995
+ "type": "string"
2996
+ },
2997
+ "mode": {
2998
+ "default": "light",
2999
+ "description": "Light or dark loader",
3000
+ "type": "string"
3001
+ },
3002
+ "msg": {
3003
+ "description": "Loading message",
3004
+ "examples": [
3005
+ "Loading dashboard..."
3006
+ ],
3007
+ "type": "string"
3008
+ },
3009
+ "showBranded": {
3010
+ "default": false,
3011
+ "description": "Shows the branded \"powered by\" information",
3012
+ "type": "boolean"
3013
+ },
3014
+ "spinnerBackground": {
3015
+ "default": "rgba(169, 169, 169, 0.14)",
3016
+ "description": "Background color of the spinner",
3017
+ "type": "string"
3018
+ },
3019
+ "spinnerColor": {
3020
+ "default": "rgba(255, 165, 0, 0.7)",
3021
+ "description": "Spinner color of the loader",
3022
+ "type": "string"
3023
+ }
3024
+ },
3025
+ "type": "object"
3026
+ },
3027
+ "locale": {
3028
+ "default": "en",
3029
+ "description": "Locale to be used",
3030
+ "examples": [
3031
+ "en",
3032
+ "fr"
3033
+ ],
3034
+ "type": "string"
3035
+ },
2949
3036
  "mode": {
2950
3037
  "default": "donut",
2951
3038
  "description": "Mode of the Donut chart: donut or pie",
@@ -3532,6 +3619,14 @@ declare const _default: {
3532
3619
  },
3533
3620
  "type": "object"
3534
3621
  },
3622
+ "timezoneId": {
3623
+ "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",
3624
+ "examples": [
3625
+ "Europe/Brussels",
3626
+ "America/New_York"
3627
+ ],
3628
+ "type": "string"
3629
+ },
3535
3630
  "title": {
3536
3631
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
3537
3632
  "examples": [