@luzmo/dashboard-contents-types 0.1.88 → 1.0.0

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 (229) hide show
  1. package/assets/json-schemas/area-chart-options.schema.json.d.ts +55 -15
  2. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +113 -33
  3. package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
  4. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +53 -15
  5. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +113 -33
  6. package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
  7. package/assets/json-schemas/box-plot-options.schema.json.d.ts +53 -15
  8. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +107 -27
  9. package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
  10. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +53 -15
  11. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +113 -33
  12. package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
  13. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +53 -15
  14. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +113 -33
  15. package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
  16. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +53 -15
  17. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +142 -35
  18. package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
  19. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +53 -15
  20. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +109 -29
  21. package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
  22. package/assets/json-schemas/column-chart-options.schema.json.d.ts +53 -15
  23. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +113 -33
  24. package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
  25. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +55 -15
  26. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +109 -29
  27. package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
  28. package/assets/json-schemas/date-filter-options.schema.json.d.ts +53 -15
  29. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +35 -8
  30. package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
  31. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +53 -15
  32. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +109 -29
  33. package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
  34. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +53 -15
  35. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +105 -25
  36. package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
  37. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +77 -37
  38. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +107 -27
  39. package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
  40. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +53 -15
  41. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +108 -28
  42. package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
  43. package/assets/json-schemas/image-options.schema.json.d.ts +7 -1
  44. package/assets/json-schemas/image.schema.json.d.ts +2 -2
  45. package/assets/json-schemas/line-chart-options.schema.json.d.ts +55 -15
  46. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +113 -33
  47. package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
  48. package/assets/json-schemas/options.schema.json.d.ts +24 -24
  49. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +53 -15
  50. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +113 -33
  51. package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
  52. package/assets/json-schemas/regular-table-options.schema.json.d.ts +53 -15
  53. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +105 -25
  54. package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
  55. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +53 -15
  56. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +117 -37
  57. package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
  58. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +53 -15
  59. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +121 -41
  60. package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
  61. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +53 -15
  62. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +109 -29
  63. package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
  64. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +53 -15
  65. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +72 -19
  66. package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
  67. package/assets/json-schemas/slots.schema.json.d.ts +22 -22
  68. package/assets/json-schemas/text-options.schema.json.d.ts +7 -1
  69. package/assets/json-schemas/text.schema.json.d.ts +2 -2
  70. package/assets/json-schemas/viz-item-type.schema.json.d.ts +2 -1
  71. package/index.d.ts +0 -1
  72. package/index.js +357 -111
  73. package/index.mjs +4143 -1451
  74. package/json-schemas.d.ts +2532 -605
  75. package/json-schemas.d.ts.map +1 -1
  76. package/package.json +1 -1
  77. package/src/index.d.ts +1 -1
  78. package/src/index.d.ts.map +1 -1
  79. package/src/lib/area-chart/area-chart-options.d.ts +13 -15
  80. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  81. package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
  82. package/src/lib/area-chart/area-chart.d.ts +2 -4
  83. package/src/lib/area-chart/index.d.ts +0 -1
  84. package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
  85. package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
  86. package/src/lib/bar-chart/bar-chart.d.ts +2 -4
  87. package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
  88. package/src/lib/bar-chart/index.d.ts +0 -1
  89. package/src/lib/box-plot/box-plot-options.d.ts +13 -15
  90. package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
  91. package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
  92. package/src/lib/box-plot/box-plot.d.ts +2 -4
  93. package/src/lib/box-plot/index.d.ts +0 -1
  94. package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
  95. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  96. package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
  97. package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
  98. package/src/lib/bubble-chart/index.d.ts +0 -1
  99. package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
  100. package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
  101. package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
  102. package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
  103. package/src/lib/bullet-chart/index.d.ts +0 -1
  104. package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
  105. package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
  106. package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
  107. package/src/lib/choropleth-map/index.d.ts +0 -1
  108. package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
  109. package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
  110. package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
  111. package/src/lib/circular-gauge/index.d.ts +0 -1
  112. package/src/lib/column-chart/column-chart-options.d.ts +14 -16
  113. package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
  114. package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
  115. package/src/lib/column-chart/column-chart.d.ts +2 -4
  116. package/src/lib/column-chart/index.d.ts +0 -1
  117. package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
  118. package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
  119. package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
  120. package/src/lib/combination-chart/combination-chart.d.ts +2 -4
  121. package/src/lib/combination-chart/index.d.ts +0 -1
  122. package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
  123. package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
  124. package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
  125. package/src/lib/conditional-number/conditional-number.d.ts +2 -4
  126. package/src/lib/conditional-number/index.d.ts +0 -1
  127. package/src/lib/date-filter/date-filter-options.d.ts +4 -6
  128. package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
  129. package/src/lib/date-filter/date-filter.d.ts +2 -4
  130. package/src/lib/date-filter/index.d.ts +0 -1
  131. package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
  132. package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
  133. package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
  134. package/src/lib/donut-chart/donut-chart.d.ts +2 -4
  135. package/src/lib/donut-chart/index.d.ts +0 -1
  136. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +6 -8
  137. package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
  138. package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
  139. package/src/lib/dropdown-filter/index.d.ts +0 -1
  140. package/src/lib/evolution-number/evolution-number-options.d.ts +27 -14
  141. package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
  142. package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
  143. package/src/lib/evolution-number/evolution-number.d.ts +2 -4
  144. package/src/lib/evolution-number/index.d.ts +0 -1
  145. package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
  146. package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
  147. package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
  148. package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
  149. package/src/lib/funnel-chart/index.d.ts +0 -1
  150. package/src/lib/image/image-options.d.ts +3 -5
  151. package/src/lib/image/image.d.ts +1 -3
  152. package/src/lib/image/index.d.ts +0 -1
  153. package/src/lib/line-chart/index.d.ts +0 -1
  154. package/src/lib/line-chart/line-chart-options.d.ts +13 -15
  155. package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
  156. package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
  157. package/src/lib/line-chart/line-chart.d.ts +2 -4
  158. package/src/lib/pivot-table/index.d.ts +0 -1
  159. package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
  160. package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
  161. package/src/lib/pivot-table/pivot-table.d.ts +2 -4
  162. package/src/lib/regular-table/index.d.ts +0 -1
  163. package/src/lib/regular-table/regular-table-options.d.ts +9 -11
  164. package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
  165. package/src/lib/regular-table/regular-table.d.ts +2 -4
  166. package/src/lib/sankey-diagram/index.d.ts +0 -1
  167. package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
  168. package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
  169. package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
  170. package/src/lib/scatter-plot/index.d.ts +0 -1
  171. package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
  172. package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
  173. package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
  174. package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
  175. package/src/lib/search-filter/index.d.ts +3 -0
  176. package/src/lib/search-filter/index.d.ts.map +1 -0
  177. package/src/lib/search-filter/search-filter-options.d.ts +56 -0
  178. package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
  179. package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
  180. package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
  181. package/src/lib/search-filter/search-filter.d.ts +23 -0
  182. package/src/lib/search-filter/search-filter.d.ts.map +1 -0
  183. package/src/lib/shared/axes.d.ts +0 -1
  184. package/src/lib/shared/axis-view-options.d.ts +0 -2
  185. package/src/lib/shared/common.d.ts +6 -8
  186. package/src/lib/shared/common.d.ts.map +1 -1
  187. package/src/lib/shared/drop-object-view-options.d.ts +2 -2
  188. package/src/lib/shared/drop-object-view-options.d.ts.map +1 -1
  189. package/src/lib/shared/filters.d.ts +0 -1
  190. package/src/lib/shared/formula.d.ts +0 -2
  191. package/src/lib/shared/index.d.ts +0 -1
  192. package/src/lib/shared/info-tooltip-options.d.ts +0 -1
  193. package/src/lib/shared/interactivity-brush.d.ts +0 -1
  194. package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
  195. package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
  196. package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
  197. package/src/lib/shared/interactivity-export.d.ts +0 -1
  198. package/src/lib/shared/interactivity-filter.d.ts +0 -1
  199. package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
  200. package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
  201. package/src/lib/shared/interactivity-target.d.ts +0 -1
  202. package/src/lib/shared/interpolation.d.ts +0 -1
  203. package/src/lib/shared/item-filter-group.d.ts +54 -3
  204. package/src/lib/shared/item-filter-group.d.ts.map +1 -1
  205. package/src/lib/shared/legend.d.ts +0 -2
  206. package/src/lib/shared/map-object-view-options.d.ts +2 -4
  207. package/src/lib/shared/object-view-options.d.ts +2 -4
  208. package/src/lib/shared/placeholder.d.ts +0 -1
  209. package/src/lib/shared/query.d.ts +0 -1
  210. package/src/lib/shared/ranges.d.ts +0 -1
  211. package/src/lib/shared/slots.d.ts +60 -6
  212. package/src/lib/shared/slots.d.ts.map +1 -1
  213. package/src/lib/shared/sort.d.ts +0 -2
  214. package/src/lib/shared/theme.d.ts +4 -1
  215. package/src/lib/shared/theme.d.ts.map +1 -1
  216. package/src/lib/shared/title.d.ts +0 -1
  217. package/src/lib/slicer-filter/index.d.ts +0 -1
  218. package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
  219. package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
  220. package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
  221. package/src/lib/slider-filter/index.d.ts +0 -1
  222. package/src/lib/slider-filter/slider-filter-options.d.ts +5 -7
  223. package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
  224. package/src/lib/slider-filter/slider-filter.d.ts +2 -4
  225. package/src/lib/text/index.d.ts +0 -1
  226. package/src/lib/text/text-options.d.ts +1 -3
  227. package/src/lib/text/text.d.ts +1 -3
  228. package/src/options.d.ts +23 -25
  229. package/src/slots.d.ts +21 -23
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "definitions": {
5
5
  "ColumnSubtype": {
@@ -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",
102
+ "properties": {
103
+ "level": {
104
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
105
+ "type": "number"
106
+ },
107
+ "periodToDate": {
108
+ "description": "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",
@@ -132,7 +159,7 @@ declare const _default: {
132
159
  "content": {
133
160
  "description": "Evolution slot definition",
134
161
  "items": {
135
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/DateTimeSlotContent"
162
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/DateTimeSlotContent"
136
163
  },
137
164
  "maxItems": 1,
138
165
  "type": "array"
@@ -162,11 +189,16 @@ declare const _default: {
162
189
  "string"
163
190
  ]
164
191
  },
165
- "column": {
192
+ "columnId": {
166
193
  "description": "Column id",
167
194
  "format": "uuid",
168
195
  "type": "string"
169
196
  },
197
+ "datasetId": {
198
+ "description": "Dataset id",
199
+ "format": "uuid",
200
+ "type": "string"
201
+ },
170
202
  "format": {
171
203
  "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.",
172
204
  "type": "string"
@@ -198,10 +230,32 @@ declare const _default: {
198
230
  "number"
199
231
  ]
200
232
  },
201
- "set": {
202
- "description": "Dataset id",
203
- "format": "uuid",
204
- "type": "string"
233
+ "periodOverPeriod": {
234
+ "description": "Settings to configure period over period comparison",
235
+ "properties": {
236
+ "level": {
237
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
238
+ "type": "number"
239
+ },
240
+ "periodToDate": {
241
+ "description": "period to date comparison",
242
+ "type": "boolean"
243
+ },
244
+ "quantity": {
245
+ "description": "number of periods",
246
+ "type": "number"
247
+ },
248
+ "type": {
249
+ "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",
250
+ "enum": [
251
+ "change",
252
+ "none",
253
+ "past"
254
+ ],
255
+ "type": "string"
256
+ }
257
+ },
258
+ "type": "object"
205
259
  },
206
260
  "subtype": {
207
261
  "anyOf": [
@@ -239,13 +293,13 @@ declare const _default: {
239
293
  "items": {
240
294
  "anyOf": [
241
295
  {
242
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/NumericSlotContent"
296
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/NumericSlotContent"
243
297
  },
244
298
  {
245
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/HierarchySlotContent"
299
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/HierarchySlotContent"
246
300
  },
247
301
  {
248
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/DateTimeSlotContent"
302
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/DateTimeSlotContent"
249
303
  }
250
304
  ]
251
305
  },
@@ -283,16 +337,16 @@ 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"
290
344
  },
291
345
  "columnSubType": {
292
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/ColumnSubtype",
346
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-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.",
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",
440
+ "properties": {
441
+ "level": {
442
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
443
+ "type": "number"
444
+ },
445
+ "periodToDate": {
446
+ "description": "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": [
@@ -415,10 +495,10 @@ declare const _default: {
415
495
  "items": {
416
496
  "anyOf": [
417
497
  {
418
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/MeasureSlot"
498
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/MeasureSlot"
419
499
  },
420
500
  {
421
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/EvolutionSlot"
501
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/EvolutionSlot"
422
502
  }
423
503
  ]
424
504
  },
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number.schema.json",
3
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number.schema.json",
4
4
  "type": "object",
5
5
  "description": "Evolution Number item",
6
6
  "properties": {
@@ -11,11 +11,11 @@ declare const _default: {
11
11
  },
12
12
  "options": {
13
13
  "description": "Options of the Evolution Number item",
14
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-options.schema.json"
14
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json"
15
15
  },
16
16
  "slots": {
17
17
  "description": "Data definition of the Evolution Number item",
18
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json"
18
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json"
19
19
  }
20
20
  }
21
21
  };
@@ -1,9 +1,15 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-options.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "properties": {
5
5
  "color": {
6
+ "default": "",
6
7
  "description": "The main color for the item, if omitted the default color from the theme will be used.",
8
+ "examples": [
9
+ "#FF5733",
10
+ "#33FF57",
11
+ "#5733FF"
12
+ ],
7
13
  "type": "string"
8
14
  },
9
15
  "display": {
@@ -2636,7 +2642,7 @@ declare const _default: {
2636
2642
  "aggregationWeight": {
2637
2643
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
2638
2644
  "properties": {
2639
- "column": {
2645
+ "columnId": {
2640
2646
  "description": "Column id",
2641
2647
  "format": "uuid",
2642
2648
  "type": "string"
@@ -2652,7 +2658,7 @@ declare const _default: {
2652
2658
  ],
2653
2659
  "type": "string"
2654
2660
  },
2655
- "set": {
2661
+ "datasetId": {
2656
2662
  "description": "Dataset id",
2657
2663
  "format": "uuid",
2658
2664
  "type": "string"
@@ -2681,11 +2687,6 @@ declare const _default: {
2681
2687
  "string"
2682
2688
  ]
2683
2689
  },
2684
- "column": {
2685
- "description": "Column id",
2686
- "format": "uuid",
2687
- "type": "string"
2688
- },
2689
2690
  "columnHierarchies": {
2690
2691
  "anyOf": [
2691
2692
  {
@@ -2716,6 +2717,11 @@ declare const _default: {
2716
2717
  }
2717
2718
  ]
2718
2719
  },
2720
+ "columnId": {
2721
+ "description": "Column id",
2722
+ "format": "uuid",
2723
+ "type": "string"
2724
+ },
2719
2725
  "currency": {
2720
2726
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
2721
2727
  "type": [
@@ -2723,6 +2729,11 @@ declare const _default: {
2723
2729
  "string"
2724
2730
  ]
2725
2731
  },
2732
+ "datasetId": {
2733
+ "description": "Dataset id",
2734
+ "format": "uuid",
2735
+ "type": "string"
2736
+ },
2726
2737
  "datetimeDisplayMode": {
2727
2738
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
2728
2739
  "enum": [
@@ -2768,8 +2779,7 @@ declare const _default: {
2768
2779
  "type": "string"
2769
2780
  },
2770
2781
  "formula": {
2771
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
2772
- "format": "uuid",
2782
+ "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.",
2773
2783
  "type": "string"
2774
2784
  },
2775
2785
  "grandTotals": {
@@ -2815,17 +2825,39 @@ declare const _default: {
2815
2825
  ],
2816
2826
  "type": "string"
2817
2827
  },
2828
+ "periodOverPeriod": {
2829
+ "description": "Settings to configure period over period comparison",
2830
+ "properties": {
2831
+ "level": {
2832
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
2833
+ "type": "number"
2834
+ },
2835
+ "periodToDate": {
2836
+ "description": "period to date comparison",
2837
+ "type": "boolean"
2838
+ },
2839
+ "quantity": {
2840
+ "description": "number of periods",
2841
+ "type": "number"
2842
+ },
2843
+ "type": {
2844
+ "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",
2845
+ "enum": [
2846
+ "change",
2847
+ "none",
2848
+ "past"
2849
+ ],
2850
+ "type": "string"
2851
+ }
2852
+ },
2853
+ "type": "object"
2854
+ },
2818
2855
  "readonly": {
2819
2856
  "type": "boolean"
2820
2857
  },
2821
2858
  "selected": {
2822
2859
  "type": "boolean"
2823
2860
  },
2824
- "set": {
2825
- "description": "Dataset id",
2826
- "format": "uuid",
2827
- "type": "string"
2828
- },
2829
2861
  "subtype": {
2830
2862
  "anyOf": [
2831
2863
  {
@@ -3075,6 +3107,12 @@ declare const _default: {
3075
3107
  "type": "string"
3076
3108
  },
3077
3109
  "baseFontSize": {
3110
+ "description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
3111
+ "examples": [
3112
+ 13,
3113
+ 16,
3114
+ 20
3115
+ ],
3078
3116
  "type": "number"
3079
3117
  },
3080
3118
  "borders": {
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "definitions": {
5
5
  "CategorySlot": {
@@ -10,13 +10,13 @@ declare const _default: {
10
10
  "items": {
11
11
  "anyOf": [
12
12
  {
13
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"
13
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"
14
14
  },
15
15
  {
16
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"
16
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"
17
17
  },
18
18
  {
19
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/DateTimeSlotContent"
19
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/DateTimeSlotContent"
20
20
  }
21
21
  ]
22
22
  },
@@ -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",
131
+ "properties": {
132
+ "level": {
133
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
134
+ "type": "number"
135
+ },
136
+ "periodToDate": {
137
+ "description": "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",
245
+ "properties": {
246
+ "level": {
247
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
248
+ "type": "number"
249
+ },
250
+ "periodToDate": {
251
+ "description": "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": [
@@ -249,10 +303,10 @@ declare const _default: {
249
303
  "items": {
250
304
  "anyOf": [
251
305
  {
252
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"
306
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"
253
307
  },
254
308
  {
255
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"
309
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"
256
310
  }
257
311
  ]
258
312
  },
@@ -290,16 +344,16 @@ declare const _default: {
290
344
  "aggregationWeight": {
291
345
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
292
346
  "properties": {
293
- "column": {
347
+ "columnId": {
294
348
  "description": "Column id",
295
349
  "format": "uuid",
296
350
  "type": "string"
297
351
  },
298
352
  "columnSubType": {
299
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/ColumnSubtype",
353
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/ColumnSubtype",
300
354
  "description": "Column subtype"
301
355
  },
302
- "set": {
356
+ "datasetId": {
303
357
  "description": "Dataset id",
304
358
  "format": "uuid",
305
359
  "type": "string"
@@ -328,7 +382,7 @@ declare const _default: {
328
382
  "string"
329
383
  ]
330
384
  },
331
- "column": {
385
+ "columnId": {
332
386
  "description": "Column id",
333
387
  "format": "uuid",
334
388
  "type": "string"
@@ -340,6 +394,11 @@ declare const _default: {
340
394
  "string"
341
395
  ]
342
396
  },
397
+ "datasetId": {
398
+ "description": "Dataset id",
399
+ "format": "uuid",
400
+ "type": "string"
401
+ },
343
402
  "duration": {
344
403
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
345
404
  "properties": {
@@ -367,8 +426,7 @@ declare const _default: {
367
426
  "type": "string"
368
427
  },
369
428
  "formula": {
370
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
371
- "format": "uuid",
429
+ "description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas.",
372
430
  "type": "string"
373
431
  },
374
432
  "grandTotals": {
@@ -384,10 +442,32 @@ declare const _default: {
384
442
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
385
443
  "type": "object"
386
444
  },
387
- "set": {
388
- "description": "Dataset id",
389
- "format": "uuid",
390
- "type": "string"
445
+ "periodOverPeriod": {
446
+ "description": "Settings to configure period over period comparison",
447
+ "properties": {
448
+ "level": {
449
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
450
+ "type": "number"
451
+ },
452
+ "periodToDate": {
453
+ "description": "period to date comparison",
454
+ "type": "boolean"
455
+ },
456
+ "quantity": {
457
+ "description": "number of periods",
458
+ "type": "number"
459
+ },
460
+ "type": {
461
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
462
+ "enum": [
463
+ "change",
464
+ "none",
465
+ "past"
466
+ ],
467
+ "type": "string"
468
+ }
469
+ },
470
+ "type": "object"
391
471
  },
392
472
  "subtype": {
393
473
  "anyOf": [
@@ -422,10 +502,10 @@ declare const _default: {
422
502
  "items": {
423
503
  "anyOf": [
424
504
  {
425
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/MeasureSlot"
505
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/MeasureSlot"
426
506
  },
427
507
  {
428
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/CategorySlot"
508
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/CategorySlot"
429
509
  }
430
510
  ]
431
511
  },