@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/dropdown-filter-slots.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-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",
@@ -134,13 +161,13 @@ declare const _default: {
134
161
  "items": {
135
162
  "anyOf": [
136
163
  {
137
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json#/definitions/NumericSlotContent"
164
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/NumericSlotContent"
138
165
  },
139
166
  {
140
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json#/definitions/HierarchySlotContent"
167
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/HierarchySlotContent"
141
168
  },
142
169
  {
143
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json#/definitions/DateTimeSlotContent"
170
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DateTimeSlotContent"
144
171
  }
145
172
  ]
146
173
  },
@@ -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",
244
+ "properties": {
245
+ "level": {
246
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
247
+ "type": "number"
248
+ },
249
+ "periodToDate": {
250
+ "description": "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,16 +317,16 @@ 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"
270
324
  },
271
325
  "columnSubType": {
272
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json#/definitions/ColumnSubtype",
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.",
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",
420
+ "properties": {
421
+ "level": {
422
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
423
+ "type": "number"
424
+ },
425
+ "periodToDate": {
426
+ "description": "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": [
@@ -393,7 +473,7 @@ declare const _default: {
393
473
  },
394
474
  "description": "Data definition of the Dropdown filter",
395
475
  "items": {
396
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"
476
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"
397
477
  },
398
478
  "maxItems": 1,
399
479
  "type": "array"
@@ -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/dropdown-filter.schema.json",
3
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter.schema.json",
4
4
  "type": "object",
5
5
  "description": "Dropdown Filter item",
6
6
  "properties": {
@@ -11,11 +11,11 @@ declare const _default: {
11
11
  },
12
12
  "options": {
13
13
  "description": "Options of the Dropdown Filter item",
14
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-options.schema.json"
14
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-options.schema.json"
15
15
  },
16
16
  "slots": {
17
17
  "description": "Data definition of the Dropdown Filter item",
18
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json"
18
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json"
19
19
  }
20
20
  }
21
21
  };
@@ -1,21 +1,17 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-options.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-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
- "display": {
10
- "description": "Title display option",
11
- "properties": {
12
- "title": {
13
- "description": "Show or hide the title",
14
- "type": "boolean"
15
- }
16
- },
17
- "type": "object"
18
- },
19
15
  "evolutionColor": {
20
16
  "default": "normal",
21
17
  "description": "Evolution color",
@@ -82,6 +78,11 @@ declare const _default: {
82
78
  "fit",
83
79
  "stretch"
84
80
  ],
81
+ "examples": [
82
+ "fit",
83
+ "fill",
84
+ "stretch"
85
+ ],
85
86
  "type": "string"
86
87
  },
87
88
  "imageBackgroundOpacity": {
@@ -99,7 +100,14 @@ declare const _default: {
99
100
  "type": "string"
100
101
  },
101
102
  "imageContent": {
102
- "description": "Image content",
103
+ "default": "",
104
+ "description": "Image content. It's used when \"imageMode\" is \"emoji\" or \"icon\".",
105
+ "examples": [
106
+ "1f601",
107
+ "1f602",
108
+ "fa-dollar",
109
+ "fa-bicycle"
110
+ ],
103
111
  "type": "string"
104
112
  },
105
113
  "imageMode": {
@@ -641,7 +649,7 @@ declare const _default: {
641
649
  "aggregationWeight": {
642
650
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
643
651
  "properties": {
644
- "column": {
652
+ "columnId": {
645
653
  "description": "Column id",
646
654
  "format": "uuid",
647
655
  "type": "string"
@@ -657,7 +665,7 @@ declare const _default: {
657
665
  ],
658
666
  "type": "string"
659
667
  },
660
- "set": {
668
+ "datasetId": {
661
669
  "description": "Dataset id",
662
670
  "format": "uuid",
663
671
  "type": "string"
@@ -686,11 +694,6 @@ declare const _default: {
686
694
  "string"
687
695
  ]
688
696
  },
689
- "column": {
690
- "description": "Column id",
691
- "format": "uuid",
692
- "type": "string"
693
- },
694
697
  "columnHierarchies": {
695
698
  "anyOf": [
696
699
  {
@@ -721,6 +724,11 @@ declare const _default: {
721
724
  }
722
725
  ]
723
726
  },
727
+ "columnId": {
728
+ "description": "Column id",
729
+ "format": "uuid",
730
+ "type": "string"
731
+ },
724
732
  "currency": {
725
733
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
726
734
  "type": [
@@ -728,6 +736,11 @@ declare const _default: {
728
736
  "string"
729
737
  ]
730
738
  },
739
+ "datasetId": {
740
+ "description": "Dataset id",
741
+ "format": "uuid",
742
+ "type": "string"
743
+ },
731
744
  "datetimeDisplayMode": {
732
745
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
733
746
  "enum": [
@@ -773,8 +786,7 @@ declare const _default: {
773
786
  "type": "string"
774
787
  },
775
788
  "formula": {
776
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
777
- "format": "uuid",
789
+ "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.",
778
790
  "type": "string"
779
791
  },
780
792
  "grandTotals": {
@@ -820,17 +832,39 @@ declare const _default: {
820
832
  ],
821
833
  "type": "string"
822
834
  },
835
+ "periodOverPeriod": {
836
+ "description": "Settings to configure period over period comparison",
837
+ "properties": {
838
+ "level": {
839
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
840
+ "type": "number"
841
+ },
842
+ "periodToDate": {
843
+ "description": "period to date comparison",
844
+ "type": "boolean"
845
+ },
846
+ "quantity": {
847
+ "description": "number of periods",
848
+ "type": "number"
849
+ },
850
+ "type": {
851
+ "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",
852
+ "enum": [
853
+ "change",
854
+ "none",
855
+ "past"
856
+ ],
857
+ "type": "string"
858
+ }
859
+ },
860
+ "type": "object"
861
+ },
823
862
  "readonly": {
824
863
  "type": "boolean"
825
864
  },
826
865
  "selected": {
827
866
  "type": "boolean"
828
867
  },
829
- "set": {
830
- "description": "Dataset id",
831
- "format": "uuid",
832
- "type": "string"
833
- },
834
868
  "subtype": {
835
869
  "anyOf": [
836
870
  {
@@ -952,6 +986,11 @@ declare const _default: {
952
986
  },
953
987
  "numberFontSize": {
954
988
  "description": "Number font size",
989
+ "examples": [
990
+ 58,
991
+ 14,
992
+ 20
993
+ ],
955
994
  "type": "number"
956
995
  },
957
996
  "showImage": {
@@ -966,7 +1005,7 @@ declare const _default: {
966
1005
  },
967
1006
  "showTitle": {
968
1007
  "default": true,
969
- "description": "Show title",
1008
+ "description": "Show title, a value for the title is taken from a slot content's \"label\" option",
970
1009
  "type": "boolean"
971
1010
  },
972
1011
  "subtitle": {
@@ -1021,6 +1060,12 @@ declare const _default: {
1021
1060
  "type": "string"
1022
1061
  },
1023
1062
  "baseFontSize": {
1063
+ "description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
1064
+ "examples": [
1065
+ 13,
1066
+ 16,
1067
+ 20
1068
+ ],
1024
1069
  "type": "number"
1025
1070
  },
1026
1071
  "borders": {
@@ -1454,15 +1499,6 @@ declare const _default: {
1454
1499
  },
1455
1500
  "type": "object"
1456
1501
  },
1457
- "title": {
1458
- "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
1459
- "examples": [
1460
- {
1461
- "en": "Title"
1462
- }
1463
- ],
1464
- "type": "object"
1465
- },
1466
1502
  "titleFontSize": {
1467
1503
  "description": "Title font size",
1468
1504
  "examples": [
@@ -1482,7 +1518,11 @@ declare const _default: {
1482
1518
  "type": "string"
1483
1519
  },
1484
1520
  "uploadedImage": {
1485
- "description": "Uploaded image",
1521
+ "default": "",
1522
+ "description": "Uploaded image name (usually uuid), it's used when constructing a URL of an image, for example, \"https://.../thumbnail/asset/512px/${uploadedImage}.png\". It's used when \"imageMode\" is \"image\".",
1523
+ "examples": [
1524
+ "8e15ed25-bd9d-4f84-b839-8b219b97b0a2"
1525
+ ],
1486
1526
  "type": "string"
1487
1527
  },
1488
1528
  "verticalAlignment": {