@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": [
@@ -283,7 +337,7 @@ declare const _default: {
283
337
  "aggregationWeight": {
284
338
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
285
339
  "properties": {
286
- "column": {
340
+ "columnId": {
287
341
  "description": "Column id",
288
342
  "format": "uuid",
289
343
  "type": "string"
@@ -292,7 +346,7 @@ declare const _default: {
292
346
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/ColumnSubtype",
293
347
  "description": "Column subtype"
294
348
  },
295
- "set": {
349
+ "datasetId": {
296
350
  "description": "Dataset id",
297
351
  "format": "uuid",
298
352
  "type": "string"
@@ -321,7 +375,7 @@ declare const _default: {
321
375
  "string"
322
376
  ]
323
377
  },
324
- "column": {
378
+ "columnId": {
325
379
  "description": "Column id",
326
380
  "format": "uuid",
327
381
  "type": "string"
@@ -333,6 +387,11 @@ declare const _default: {
333
387
  "string"
334
388
  ]
335
389
  },
390
+ "datasetId": {
391
+ "description": "Dataset id",
392
+ "format": "uuid",
393
+ "type": "string"
394
+ },
336
395
  "duration": {
337
396
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
338
397
  "properties": {
@@ -360,8 +419,7 @@ declare const _default: {
360
419
  "type": "string"
361
420
  },
362
421
  "formula": {
363
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
364
- "format": "uuid",
422
+ "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",
365
423
  "type": "string"
366
424
  },
367
425
  "grandTotals": {
@@ -377,10 +435,32 @@ declare const _default: {
377
435
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
378
436
  "type": "object"
379
437
  },
380
- "set": {
381
- "description": "Dataset id",
382
- "format": "uuid",
383
- "type": "string"
438
+ "periodOverPeriod": {
439
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
440
+ "properties": {
441
+ "level": {
442
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
443
+ "type": "number"
444
+ },
445
+ "periodToDate": {
446
+ "description": "Turn ON/OFF period to date comparison",
447
+ "type": "boolean"
448
+ },
449
+ "quantity": {
450
+ "description": "Number of periods",
451
+ "type": "number"
452
+ },
453
+ "type": {
454
+ "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",
455
+ "enum": [
456
+ "change",
457
+ "none",
458
+ "past"
459
+ ],
460
+ "type": "string"
461
+ }
462
+ },
463
+ "type": "object"
384
464
  },
385
465
  "subtype": {
386
466
  "anyOf": [
@@ -2632,7 +2632,7 @@ declare const _default: {
2632
2632
  "aggregationWeight": {
2633
2633
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
2634
2634
  "properties": {
2635
- "column": {
2635
+ "columnId": {
2636
2636
  "description": "Column id",
2637
2637
  "format": "uuid",
2638
2638
  "type": "string"
@@ -2648,7 +2648,7 @@ declare const _default: {
2648
2648
  ],
2649
2649
  "type": "string"
2650
2650
  },
2651
- "set": {
2651
+ "datasetId": {
2652
2652
  "description": "Dataset id",
2653
2653
  "format": "uuid",
2654
2654
  "type": "string"
@@ -2677,11 +2677,6 @@ declare const _default: {
2677
2677
  "string"
2678
2678
  ]
2679
2679
  },
2680
- "column": {
2681
- "description": "Column id",
2682
- "format": "uuid",
2683
- "type": "string"
2684
- },
2685
2680
  "columnHierarchies": {
2686
2681
  "anyOf": [
2687
2682
  {
@@ -2712,6 +2707,11 @@ declare const _default: {
2712
2707
  }
2713
2708
  ]
2714
2709
  },
2710
+ "columnId": {
2711
+ "description": "Column id",
2712
+ "format": "uuid",
2713
+ "type": "string"
2714
+ },
2715
2715
  "currency": {
2716
2716
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
2717
2717
  "type": [
@@ -2719,6 +2719,11 @@ declare const _default: {
2719
2719
  "string"
2720
2720
  ]
2721
2721
  },
2722
+ "datasetId": {
2723
+ "description": "Dataset id",
2724
+ "format": "uuid",
2725
+ "type": "string"
2726
+ },
2722
2727
  "datetimeDisplayMode": {
2723
2728
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
2724
2729
  "enum": [
@@ -2764,8 +2769,7 @@ declare const _default: {
2764
2769
  "type": "string"
2765
2770
  },
2766
2771
  "formula": {
2767
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
2768
- "format": "uuid",
2772
+ "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",
2769
2773
  "type": "string"
2770
2774
  },
2771
2775
  "grandTotals": {
@@ -2811,17 +2815,39 @@ declare const _default: {
2811
2815
  ],
2812
2816
  "type": "string"
2813
2817
  },
2818
+ "periodOverPeriod": {
2819
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
2820
+ "properties": {
2821
+ "level": {
2822
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
2823
+ "type": "number"
2824
+ },
2825
+ "periodToDate": {
2826
+ "description": "Turn ON/OFF period to date comparison",
2827
+ "type": "boolean"
2828
+ },
2829
+ "quantity": {
2830
+ "description": "Number of periods",
2831
+ "type": "number"
2832
+ },
2833
+ "type": {
2834
+ "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",
2835
+ "enum": [
2836
+ "change",
2837
+ "none",
2838
+ "past"
2839
+ ],
2840
+ "type": "string"
2841
+ }
2842
+ },
2843
+ "type": "object"
2844
+ },
2814
2845
  "readonly": {
2815
2846
  "type": "boolean"
2816
2847
  },
2817
2848
  "selected": {
2818
2849
  "type": "boolean"
2819
2850
  },
2820
- "set": {
2821
- "description": "Dataset id",
2822
- "format": "uuid",
2823
- "type": "string"
2824
- },
2825
2851
  "subtype": {
2826
2852
  "anyOf": [
2827
2853
  {
@@ -2959,6 +2985,67 @@ declare const _default: {
2959
2985
  },
2960
2986
  "type": "object"
2961
2987
  },
2988
+ "loader": {
2989
+ "description": "The loader configuration",
2990
+ "properties": {
2991
+ "background": {
2992
+ "default": "#f9f9f9",
2993
+ "description": "Background color of the chart loader element",
2994
+ "type": "string"
2995
+ },
2996
+ "fontColor": {
2997
+ "default": "#5a5a5a",
2998
+ "description": "Font color of the text of the chart loaders",
2999
+ "type": "string"
3000
+ },
3001
+ "locale": {
3002
+ "default": "en",
3003
+ "description": "Locale to be used if \"msg\" is set",
3004
+ "examples": [
3005
+ "en",
3006
+ "fr"
3007
+ ],
3008
+ "type": "string"
3009
+ },
3010
+ "mode": {
3011
+ "default": "light",
3012
+ "description": "Light or dark loader",
3013
+ "type": "string"
3014
+ },
3015
+ "msg": {
3016
+ "description": "Loading message",
3017
+ "examples": [
3018
+ "Loading dashboard..."
3019
+ ],
3020
+ "type": "string"
3021
+ },
3022
+ "showBranded": {
3023
+ "default": false,
3024
+ "description": "Shows the branded \"powered by\" information",
3025
+ "type": "boolean"
3026
+ },
3027
+ "spinnerBackground": {
3028
+ "default": "rgba(169, 169, 169, 0.14)",
3029
+ "description": "Background color of the spinner",
3030
+ "type": "string"
3031
+ },
3032
+ "spinnerColor": {
3033
+ "default": "rgba(255, 165, 0, 0.7)",
3034
+ "description": "Spinner color of the loader",
3035
+ "type": "string"
3036
+ }
3037
+ },
3038
+ "type": "object"
3039
+ },
3040
+ "locale": {
3041
+ "default": "en",
3042
+ "description": "Locale to be used",
3043
+ "examples": [
3044
+ "en",
3045
+ "fr"
3046
+ ],
3047
+ "type": "string"
3048
+ },
2962
3049
  "theme": {
2963
3050
  "description": "Theme configuration",
2964
3051
  "properties": {
@@ -3422,6 +3509,14 @@ declare const _default: {
3422
3509
  },
3423
3510
  "type": "object"
3424
3511
  },
3512
+ "timezoneId": {
3513
+ "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",
3514
+ "examples": [
3515
+ "Europe/Brussels",
3516
+ "America/New_York"
3517
+ ],
3518
+ "type": "string"
3519
+ },
3425
3520
  "title": {
3426
3521
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
3427
3522
  "examples": [
@@ -87,11 +87,16 @@ declare const _default: {
87
87
  "string"
88
88
  ]
89
89
  },
90
- "column": {
90
+ "columnId": {
91
91
  "description": "Column id",
92
92
  "format": "uuid",
93
93
  "type": "string"
94
94
  },
95
+ "datasetId": {
96
+ "description": "Dataset id",
97
+ "format": "uuid",
98
+ "type": "string"
99
+ },
95
100
  "datetimeDisplayMode": {
96
101
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
97
102
  "enum": [
@@ -150,10 +155,32 @@ declare const _default: {
150
155
  ],
151
156
  "type": "string"
152
157
  },
153
- "set": {
154
- "description": "Dataset id",
155
- "format": "uuid",
156
- "type": "string"
158
+ "periodOverPeriod": {
159
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
160
+ "properties": {
161
+ "level": {
162
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
163
+ "type": "number"
164
+ },
165
+ "periodToDate": {
166
+ "description": "Turn ON/OFF period to date comparison",
167
+ "type": "boolean"
168
+ },
169
+ "quantity": {
170
+ "description": "Number of periods",
171
+ "type": "number"
172
+ },
173
+ "type": {
174
+ "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",
175
+ "enum": [
176
+ "change",
177
+ "none",
178
+ "past"
179
+ ],
180
+ "type": "string"
181
+ }
182
+ },
183
+ "type": "object"
157
184
  },
158
185
  "subtype": {
159
186
  "description": "There's no subtype for \"datetime\", it can be null or omitted",
@@ -201,11 +228,16 @@ declare const _default: {
201
228
  "string"
202
229
  ]
203
230
  },
204
- "column": {
231
+ "columnId": {
205
232
  "description": "Column id",
206
233
  "format": "uuid",
207
234
  "type": "string"
208
235
  },
236
+ "datasetId": {
237
+ "description": "Dataset id",
238
+ "format": "uuid",
239
+ "type": "string"
240
+ },
209
241
  "format": {
210
242
  "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.",
211
243
  "type": "string"
@@ -237,10 +269,32 @@ declare const _default: {
237
269
  "number"
238
270
  ]
239
271
  },
240
- "set": {
241
- "description": "Dataset id",
242
- "format": "uuid",
243
- "type": "string"
272
+ "periodOverPeriod": {
273
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
274
+ "properties": {
275
+ "level": {
276
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
277
+ "type": "number"
278
+ },
279
+ "periodToDate": {
280
+ "description": "Turn ON/OFF period to date comparison",
281
+ "type": "boolean"
282
+ },
283
+ "quantity": {
284
+ "description": "Number of periods",
285
+ "type": "number"
286
+ },
287
+ "type": {
288
+ "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",
289
+ "enum": [
290
+ "change",
291
+ "none",
292
+ "past"
293
+ ],
294
+ "type": "string"
295
+ }
296
+ },
297
+ "type": "object"
244
298
  },
245
299
  "subtype": {
246
300
  "anyOf": [
@@ -322,7 +376,7 @@ declare const _default: {
322
376
  "aggregationWeight": {
323
377
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
324
378
  "properties": {
325
- "column": {
379
+ "columnId": {
326
380
  "description": "Column id",
327
381
  "format": "uuid",
328
382
  "type": "string"
@@ -331,7 +385,7 @@ declare const _default: {
331
385
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/ColumnSubtype",
332
386
  "description": "Column subtype"
333
387
  },
334
- "set": {
388
+ "datasetId": {
335
389
  "description": "Dataset id",
336
390
  "format": "uuid",
337
391
  "type": "string"
@@ -360,7 +414,7 @@ declare const _default: {
360
414
  "string"
361
415
  ]
362
416
  },
363
- "column": {
417
+ "columnId": {
364
418
  "description": "Column id",
365
419
  "format": "uuid",
366
420
  "type": "string"
@@ -372,6 +426,11 @@ declare const _default: {
372
426
  "string"
373
427
  ]
374
428
  },
429
+ "datasetId": {
430
+ "description": "Dataset id",
431
+ "format": "uuid",
432
+ "type": "string"
433
+ },
375
434
  "duration": {
376
435
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
377
436
  "properties": {
@@ -399,8 +458,7 @@ declare const _default: {
399
458
  "type": "string"
400
459
  },
401
460
  "formula": {
402
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
403
- "format": "uuid",
461
+ "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",
404
462
  "type": "string"
405
463
  },
406
464
  "grandTotals": {
@@ -416,10 +474,32 @@ declare const _default: {
416
474
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
417
475
  "type": "object"
418
476
  },
419
- "set": {
420
- "description": "Dataset id",
421
- "format": "uuid",
422
- "type": "string"
477
+ "periodOverPeriod": {
478
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
479
+ "properties": {
480
+ "level": {
481
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
482
+ "type": "number"
483
+ },
484
+ "periodToDate": {
485
+ "description": "Turn ON/OFF period to date comparison",
486
+ "type": "boolean"
487
+ },
488
+ "quantity": {
489
+ "description": "Number of periods",
490
+ "type": "number"
491
+ },
492
+ "type": {
493
+ "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",
494
+ "enum": [
495
+ "change",
496
+ "none",
497
+ "past"
498
+ ],
499
+ "type": "string"
500
+ }
501
+ },
502
+ "type": "object"
423
503
  },
424
504
  "subtype": {
425
505
  "anyOf": [