@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": [
@@ -292,7 +346,7 @@ declare const _default: {
292
346
  "aggregationWeight": {
293
347
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
294
348
  "properties": {
295
- "column": {
349
+ "columnId": {
296
350
  "description": "Column id",
297
351
  "format": "uuid",
298
352
  "type": "string"
@@ -301,7 +355,7 @@ declare const _default: {
301
355
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/ColumnSubtype",
302
356
  "description": "Column subtype"
303
357
  },
304
- "set": {
358
+ "datasetId": {
305
359
  "description": "Dataset id",
306
360
  "format": "uuid",
307
361
  "type": "string"
@@ -330,7 +384,7 @@ declare const _default: {
330
384
  "string"
331
385
  ]
332
386
  },
333
- "column": {
387
+ "columnId": {
334
388
  "description": "Column id",
335
389
  "format": "uuid",
336
390
  "type": "string"
@@ -342,6 +396,11 @@ declare const _default: {
342
396
  "string"
343
397
  ]
344
398
  },
399
+ "datasetId": {
400
+ "description": "Dataset id",
401
+ "format": "uuid",
402
+ "type": "string"
403
+ },
345
404
  "duration": {
346
405
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
347
406
  "properties": {
@@ -369,8 +428,7 @@ declare const _default: {
369
428
  "type": "string"
370
429
  },
371
430
  "formula": {
372
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
373
- "format": "uuid",
431
+ "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",
374
432
  "type": "string"
375
433
  },
376
434
  "grandTotals": {
@@ -386,10 +444,32 @@ declare const _default: {
386
444
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
387
445
  "type": "object"
388
446
  },
389
- "set": {
390
- "description": "Dataset id",
391
- "format": "uuid",
392
- "type": "string"
447
+ "periodOverPeriod": {
448
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
449
+ "properties": {
450
+ "level": {
451
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
452
+ "type": "number"
453
+ },
454
+ "periodToDate": {
455
+ "description": "Turn ON/OFF period to date comparison",
456
+ "type": "boolean"
457
+ },
458
+ "quantity": {
459
+ "description": "Number of periods",
460
+ "type": "number"
461
+ },
462
+ "type": {
463
+ "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",
464
+ "enum": [
465
+ "change",
466
+ "none",
467
+ "past"
468
+ ],
469
+ "type": "string"
470
+ }
471
+ },
472
+ "type": "object"
393
473
  },
394
474
  "subtype": {
395
475
  "anyOf": [
@@ -434,7 +434,7 @@ declare const _default: {
434
434
  "aggregationWeight": {
435
435
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
436
436
  "properties": {
437
- "column": {
437
+ "columnId": {
438
438
  "description": "Column id",
439
439
  "format": "uuid",
440
440
  "type": "string"
@@ -450,7 +450,7 @@ declare const _default: {
450
450
  ],
451
451
  "type": "string"
452
452
  },
453
- "set": {
453
+ "datasetId": {
454
454
  "description": "Dataset id",
455
455
  "format": "uuid",
456
456
  "type": "string"
@@ -479,11 +479,6 @@ declare const _default: {
479
479
  "string"
480
480
  ]
481
481
  },
482
- "column": {
483
- "description": "Column id",
484
- "format": "uuid",
485
- "type": "string"
486
- },
487
482
  "columnHierarchies": {
488
483
  "anyOf": [
489
484
  {
@@ -514,6 +509,11 @@ declare const _default: {
514
509
  }
515
510
  ]
516
511
  },
512
+ "columnId": {
513
+ "description": "Column id",
514
+ "format": "uuid",
515
+ "type": "string"
516
+ },
517
517
  "currency": {
518
518
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
519
519
  "type": [
@@ -521,6 +521,11 @@ declare const _default: {
521
521
  "string"
522
522
  ]
523
523
  },
524
+ "datasetId": {
525
+ "description": "Dataset id",
526
+ "format": "uuid",
527
+ "type": "string"
528
+ },
524
529
  "datetimeDisplayMode": {
525
530
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
526
531
  "enum": [
@@ -566,8 +571,7 @@ declare const _default: {
566
571
  "type": "string"
567
572
  },
568
573
  "formula": {
569
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
570
- "format": "uuid",
574
+ "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",
571
575
  "type": "string"
572
576
  },
573
577
  "grandTotals": {
@@ -613,17 +617,39 @@ declare const _default: {
613
617
  ],
614
618
  "type": "string"
615
619
  },
620
+ "periodOverPeriod": {
621
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
622
+ "properties": {
623
+ "level": {
624
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
625
+ "type": "number"
626
+ },
627
+ "periodToDate": {
628
+ "description": "Turn ON/OFF period to date comparison",
629
+ "type": "boolean"
630
+ },
631
+ "quantity": {
632
+ "description": "Number of periods",
633
+ "type": "number"
634
+ },
635
+ "type": {
636
+ "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",
637
+ "enum": [
638
+ "change",
639
+ "none",
640
+ "past"
641
+ ],
642
+ "type": "string"
643
+ }
644
+ },
645
+ "type": "object"
646
+ },
616
647
  "readonly": {
617
648
  "type": "boolean"
618
649
  },
619
650
  "selected": {
620
651
  "type": "boolean"
621
652
  },
622
- "set": {
623
- "description": "Dataset id",
624
- "format": "uuid",
625
- "type": "string"
626
- },
627
653
  "subtype": {
628
654
  "anyOf": [
629
655
  {
@@ -695,6 +721,67 @@ declare const _default: {
695
721
  },
696
722
  "type": "object"
697
723
  },
724
+ "loader": {
725
+ "description": "The loader configuration",
726
+ "properties": {
727
+ "background": {
728
+ "default": "#f9f9f9",
729
+ "description": "Background color of the chart loader element",
730
+ "type": "string"
731
+ },
732
+ "fontColor": {
733
+ "default": "#5a5a5a",
734
+ "description": "Font color of the text of the chart loaders",
735
+ "type": "string"
736
+ },
737
+ "locale": {
738
+ "default": "en",
739
+ "description": "Locale to be used if \"msg\" is set",
740
+ "examples": [
741
+ "en",
742
+ "fr"
743
+ ],
744
+ "type": "string"
745
+ },
746
+ "mode": {
747
+ "default": "light",
748
+ "description": "Light or dark loader",
749
+ "type": "string"
750
+ },
751
+ "msg": {
752
+ "description": "Loading message",
753
+ "examples": [
754
+ "Loading dashboard..."
755
+ ],
756
+ "type": "string"
757
+ },
758
+ "showBranded": {
759
+ "default": false,
760
+ "description": "Shows the branded \"powered by\" information",
761
+ "type": "boolean"
762
+ },
763
+ "spinnerBackground": {
764
+ "default": "rgba(169, 169, 169, 0.14)",
765
+ "description": "Background color of the spinner",
766
+ "type": "string"
767
+ },
768
+ "spinnerColor": {
769
+ "default": "rgba(255, 165, 0, 0.7)",
770
+ "description": "Spinner color of the loader",
771
+ "type": "string"
772
+ }
773
+ },
774
+ "type": "object"
775
+ },
776
+ "locale": {
777
+ "default": "en",
778
+ "description": "Locale to be used",
779
+ "examples": [
780
+ "en",
781
+ "fr"
782
+ ],
783
+ "type": "string"
784
+ },
698
785
  "multiselect": {
699
786
  "default": false,
700
787
  "description": "Toggle multiple option selection for the Dropdown filter",
@@ -1275,6 +1362,14 @@ declare const _default: {
1275
1362
  },
1276
1363
  "type": "object"
1277
1364
  },
1365
+ "timezoneId": {
1366
+ "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",
1367
+ "examples": [
1368
+ "Europe/Brussels",
1369
+ "America/New_York"
1370
+ ],
1371
+ "type": "string"
1372
+ },
1278
1373
  "title": {
1279
1374
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
1280
1375
  "examples": [
@@ -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",
@@ -171,11 +198,16 @@ declare const _default: {
171
198
  "string"
172
199
  ]
173
200
  },
174
- "column": {
201
+ "columnId": {
175
202
  "description": "Column id",
176
203
  "format": "uuid",
177
204
  "type": "string"
178
205
  },
206
+ "datasetId": {
207
+ "description": "Dataset id",
208
+ "format": "uuid",
209
+ "type": "string"
210
+ },
179
211
  "format": {
180
212
  "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.",
181
213
  "type": "string"
@@ -207,10 +239,32 @@ declare const _default: {
207
239
  "number"
208
240
  ]
209
241
  },
210
- "set": {
211
- "description": "Dataset id",
212
- "format": "uuid",
213
- "type": "string"
242
+ "periodOverPeriod": {
243
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
244
+ "properties": {
245
+ "level": {
246
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
247
+ "type": "number"
248
+ },
249
+ "periodToDate": {
250
+ "description": "Turn ON/OFF period to date comparison",
251
+ "type": "boolean"
252
+ },
253
+ "quantity": {
254
+ "description": "Number of periods",
255
+ "type": "number"
256
+ },
257
+ "type": {
258
+ "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",
259
+ "enum": [
260
+ "change",
261
+ "none",
262
+ "past"
263
+ ],
264
+ "type": "string"
265
+ }
266
+ },
267
+ "type": "object"
214
268
  },
215
269
  "subtype": {
216
270
  "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/dropdown-filter-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": [