@luzmo/dashboard-contents-types 0.1.89 → 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 (201) hide show
  1. package/assets/json-schemas/area-chart-options.schema.json.d.ts +40 -14
  2. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +99 -19
  3. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +40 -14
  4. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +99 -19
  5. package/assets/json-schemas/box-plot-options.schema.json.d.ts +40 -14
  6. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +99 -19
  7. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +40 -14
  8. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +99 -19
  9. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +40 -14
  10. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +99 -19
  11. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +40 -14
  12. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +131 -24
  13. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +40 -14
  14. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +99 -19
  15. package/assets/json-schemas/column-chart-options.schema.json.d.ts +40 -14
  16. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +99 -19
  17. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +40 -14
  18. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +99 -19
  19. package/assets/json-schemas/date-filter-options.schema.json.d.ts +40 -14
  20. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +32 -5
  21. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +40 -14
  22. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +99 -19
  23. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +40 -14
  24. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +99 -19
  25. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +40 -14
  26. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +99 -19
  27. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +40 -14
  28. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +99 -19
  29. package/assets/json-schemas/line-chart-options.schema.json.d.ts +40 -14
  30. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +99 -19
  31. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +40 -14
  32. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +99 -19
  33. package/assets/json-schemas/regular-table-options.schema.json.d.ts +40 -14
  34. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +99 -19
  35. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +40 -14
  36. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +99 -19
  37. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +40 -14
  38. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +99 -19
  39. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +40 -14
  40. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +99 -19
  41. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +40 -14
  42. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +67 -14
  43. package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -0
  44. package/index.d.ts +0 -1
  45. package/index.js +357 -111
  46. package/index.mjs +3623 -1203
  47. package/json-schemas.d.ts +2564 -720
  48. package/json-schemas.d.ts.map +1 -1
  49. package/package.json +1 -1
  50. package/src/index.d.ts +1 -1
  51. package/src/index.d.ts.map +1 -1
  52. package/src/lib/area-chart/area-chart-options.d.ts +13 -15
  53. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  54. package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
  55. package/src/lib/area-chart/area-chart.d.ts +2 -4
  56. package/src/lib/area-chart/index.d.ts +0 -1
  57. package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
  58. package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
  59. package/src/lib/bar-chart/bar-chart.d.ts +2 -4
  60. package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
  61. package/src/lib/bar-chart/index.d.ts +0 -1
  62. package/src/lib/box-plot/box-plot-options.d.ts +13 -15
  63. package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
  64. package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
  65. package/src/lib/box-plot/box-plot.d.ts +2 -4
  66. package/src/lib/box-plot/index.d.ts +0 -1
  67. package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
  68. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  69. package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
  70. package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
  71. package/src/lib/bubble-chart/index.d.ts +0 -1
  72. package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
  73. package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
  74. package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
  75. package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
  76. package/src/lib/bullet-chart/index.d.ts +0 -1
  77. package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
  78. package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
  79. package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
  80. package/src/lib/choropleth-map/index.d.ts +0 -1
  81. package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
  82. package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
  83. package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
  84. package/src/lib/circular-gauge/index.d.ts +0 -1
  85. package/src/lib/column-chart/column-chart-options.d.ts +14 -16
  86. package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
  87. package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
  88. package/src/lib/column-chart/column-chart.d.ts +2 -4
  89. package/src/lib/column-chart/index.d.ts +0 -1
  90. package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
  91. package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
  92. package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
  93. package/src/lib/combination-chart/combination-chart.d.ts +2 -4
  94. package/src/lib/combination-chart/index.d.ts +0 -1
  95. package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
  96. package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
  97. package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
  98. package/src/lib/conditional-number/conditional-number.d.ts +2 -4
  99. package/src/lib/conditional-number/index.d.ts +0 -1
  100. package/src/lib/date-filter/date-filter-options.d.ts +4 -6
  101. package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
  102. package/src/lib/date-filter/date-filter.d.ts +2 -4
  103. package/src/lib/date-filter/index.d.ts +0 -1
  104. package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
  105. package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
  106. package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
  107. package/src/lib/donut-chart/donut-chart.d.ts +2 -4
  108. package/src/lib/donut-chart/index.d.ts +0 -1
  109. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +6 -8
  110. package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
  111. package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
  112. package/src/lib/dropdown-filter/index.d.ts +0 -1
  113. package/src/lib/evolution-number/evolution-number-options.d.ts +7 -9
  114. package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
  115. package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
  116. package/src/lib/evolution-number/evolution-number.d.ts +2 -4
  117. package/src/lib/evolution-number/index.d.ts +0 -1
  118. package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
  119. package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
  120. package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
  121. package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
  122. package/src/lib/funnel-chart/index.d.ts +0 -1
  123. package/src/lib/image/image-options.d.ts +3 -5
  124. package/src/lib/image/image.d.ts +1 -3
  125. package/src/lib/image/index.d.ts +0 -1
  126. package/src/lib/line-chart/index.d.ts +0 -1
  127. package/src/lib/line-chart/line-chart-options.d.ts +13 -15
  128. package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
  129. package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
  130. package/src/lib/line-chart/line-chart.d.ts +2 -4
  131. package/src/lib/pivot-table/index.d.ts +0 -1
  132. package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
  133. package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
  134. package/src/lib/pivot-table/pivot-table.d.ts +2 -4
  135. package/src/lib/regular-table/index.d.ts +0 -1
  136. package/src/lib/regular-table/regular-table-options.d.ts +9 -11
  137. package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
  138. package/src/lib/regular-table/regular-table.d.ts +2 -4
  139. package/src/lib/sankey-diagram/index.d.ts +0 -1
  140. package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
  141. package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
  142. package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
  143. package/src/lib/scatter-plot/index.d.ts +0 -1
  144. package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
  145. package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
  146. package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
  147. package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
  148. package/src/lib/search-filter/index.d.ts +3 -0
  149. package/src/lib/search-filter/index.d.ts.map +1 -0
  150. package/src/lib/search-filter/search-filter-options.d.ts +56 -0
  151. package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
  152. package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
  153. package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
  154. package/src/lib/search-filter/search-filter.d.ts +23 -0
  155. package/src/lib/search-filter/search-filter.d.ts.map +1 -0
  156. package/src/lib/shared/axes.d.ts +0 -1
  157. package/src/lib/shared/axis-view-options.d.ts +0 -2
  158. package/src/lib/shared/common.d.ts +2 -4
  159. package/src/lib/shared/common.d.ts.map +1 -1
  160. package/src/lib/shared/drop-object-view-options.d.ts +0 -2
  161. package/src/lib/shared/filters.d.ts +0 -1
  162. package/src/lib/shared/formula.d.ts +0 -2
  163. package/src/lib/shared/index.d.ts +0 -1
  164. package/src/lib/shared/info-tooltip-options.d.ts +0 -1
  165. package/src/lib/shared/interactivity-brush.d.ts +0 -1
  166. package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
  167. package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
  168. package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
  169. package/src/lib/shared/interactivity-export.d.ts +0 -1
  170. package/src/lib/shared/interactivity-filter.d.ts +0 -1
  171. package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
  172. package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
  173. package/src/lib/shared/interactivity-target.d.ts +0 -1
  174. package/src/lib/shared/interpolation.d.ts +0 -1
  175. package/src/lib/shared/item-filter-group.d.ts +54 -3
  176. package/src/lib/shared/item-filter-group.d.ts.map +1 -1
  177. package/src/lib/shared/legend.d.ts +0 -2
  178. package/src/lib/shared/map-object-view-options.d.ts +2 -4
  179. package/src/lib/shared/object-view-options.d.ts +2 -4
  180. package/src/lib/shared/placeholder.d.ts +0 -1
  181. package/src/lib/shared/query.d.ts +0 -1
  182. package/src/lib/shared/ranges.d.ts +0 -1
  183. package/src/lib/shared/slots.d.ts +60 -6
  184. package/src/lib/shared/slots.d.ts.map +1 -1
  185. package/src/lib/shared/sort.d.ts +0 -2
  186. package/src/lib/shared/theme.d.ts +0 -1
  187. package/src/lib/shared/title.d.ts +0 -1
  188. package/src/lib/slicer-filter/index.d.ts +0 -1
  189. package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
  190. package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
  191. package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
  192. package/src/lib/slider-filter/index.d.ts +0 -1
  193. package/src/lib/slider-filter/slider-filter-options.d.ts +5 -7
  194. package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
  195. package/src/lib/slider-filter/slider-filter.d.ts +2 -4
  196. package/src/lib/text/index.d.ts +0 -1
  197. package/src/lib/text/text-options.d.ts +1 -3
  198. package/src/lib/text/text.d.ts +1 -3
  199. package/src/options.d.ts +23 -25
  200. package/src/slots.d.ts +21 -23
  201. package/README.md +0 -154
@@ -1005,7 +1005,7 @@ declare const _default: {
1005
1005
  "aggregationWeight": {
1006
1006
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
1007
1007
  "properties": {
1008
- "column": {
1008
+ "columnId": {
1009
1009
  "description": "Column id",
1010
1010
  "format": "uuid",
1011
1011
  "type": "string"
@@ -1021,7 +1021,7 @@ declare const _default: {
1021
1021
  ],
1022
1022
  "type": "string"
1023
1023
  },
1024
- "set": {
1024
+ "datasetId": {
1025
1025
  "description": "Dataset id",
1026
1026
  "format": "uuid",
1027
1027
  "type": "string"
@@ -1050,11 +1050,6 @@ declare const _default: {
1050
1050
  "string"
1051
1051
  ]
1052
1052
  },
1053
- "column": {
1054
- "description": "Column id",
1055
- "format": "uuid",
1056
- "type": "string"
1057
- },
1058
1053
  "columnHierarchies": {
1059
1054
  "anyOf": [
1060
1055
  {
@@ -1085,6 +1080,11 @@ declare const _default: {
1085
1080
  }
1086
1081
  ]
1087
1082
  },
1083
+ "columnId": {
1084
+ "description": "Column id",
1085
+ "format": "uuid",
1086
+ "type": "string"
1087
+ },
1088
1088
  "currency": {
1089
1089
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
1090
1090
  "type": [
@@ -1092,6 +1092,11 @@ declare const _default: {
1092
1092
  "string"
1093
1093
  ]
1094
1094
  },
1095
+ "datasetId": {
1096
+ "description": "Dataset id",
1097
+ "format": "uuid",
1098
+ "type": "string"
1099
+ },
1095
1100
  "datetimeDisplayMode": {
1096
1101
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
1097
1102
  "enum": [
@@ -1137,8 +1142,7 @@ declare const _default: {
1137
1142
  "type": "string"
1138
1143
  },
1139
1144
  "formula": {
1140
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
1141
- "format": "uuid",
1145
+ "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.",
1142
1146
  "type": "string"
1143
1147
  },
1144
1148
  "grandTotals": {
@@ -1184,17 +1188,39 @@ declare const _default: {
1184
1188
  ],
1185
1189
  "type": "string"
1186
1190
  },
1191
+ "periodOverPeriod": {
1192
+ "description": "Settings to configure period over period comparison",
1193
+ "properties": {
1194
+ "level": {
1195
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
1196
+ "type": "number"
1197
+ },
1198
+ "periodToDate": {
1199
+ "description": "period to date comparison",
1200
+ "type": "boolean"
1201
+ },
1202
+ "quantity": {
1203
+ "description": "number of periods",
1204
+ "type": "number"
1205
+ },
1206
+ "type": {
1207
+ "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",
1208
+ "enum": [
1209
+ "change",
1210
+ "none",
1211
+ "past"
1212
+ ],
1213
+ "type": "string"
1214
+ }
1215
+ },
1216
+ "type": "object"
1217
+ },
1187
1218
  "readonly": {
1188
1219
  "type": "boolean"
1189
1220
  },
1190
1221
  "selected": {
1191
1222
  "type": "boolean"
1192
1223
  },
1193
- "set": {
1194
- "description": "Dataset id",
1195
- "format": "uuid",
1196
- "type": "string"
1197
- },
1198
1224
  "subtype": {
1199
1225
  "anyOf": [
1200
1226
  {
@@ -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",
@@ -143,11 +170,16 @@ declare const _default: {
143
170
  "string"
144
171
  ]
145
172
  },
146
- "column": {
173
+ "columnId": {
147
174
  "description": "Column id",
148
175
  "format": "uuid",
149
176
  "type": "string"
150
177
  },
178
+ "datasetId": {
179
+ "description": "Dataset id",
180
+ "format": "uuid",
181
+ "type": "string"
182
+ },
151
183
  "format": {
152
184
  "description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
153
185
  "type": "string"
@@ -179,10 +211,32 @@ declare const _default: {
179
211
  "number"
180
212
  ]
181
213
  },
182
- "set": {
183
- "description": "Dataset id",
184
- "format": "uuid",
185
- "type": "string"
214
+ "periodOverPeriod": {
215
+ "description": "Settings to configure period over period comparison",
216
+ "properties": {
217
+ "level": {
218
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
219
+ "type": "number"
220
+ },
221
+ "periodToDate": {
222
+ "description": "period to date comparison",
223
+ "type": "boolean"
224
+ },
225
+ "quantity": {
226
+ "description": "number of periods",
227
+ "type": "number"
228
+ },
229
+ "type": {
230
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
231
+ "enum": [
232
+ "change",
233
+ "none",
234
+ "past"
235
+ ],
236
+ "type": "string"
237
+ }
238
+ },
239
+ "type": "object"
186
240
  },
187
241
  "subtype": {
188
242
  "anyOf": [
@@ -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/area-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.",
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",
449
+ "properties": {
450
+ "level": {
451
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
452
+ "type": "number"
453
+ },
454
+ "periodToDate": {
455
+ "description": "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": [
@@ -2914,7 +2914,7 @@ declare const _default: {
2914
2914
  "aggregationWeight": {
2915
2915
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
2916
2916
  "properties": {
2917
- "column": {
2917
+ "columnId": {
2918
2918
  "description": "Column id",
2919
2919
  "format": "uuid",
2920
2920
  "type": "string"
@@ -2930,7 +2930,7 @@ declare const _default: {
2930
2930
  ],
2931
2931
  "type": "string"
2932
2932
  },
2933
- "set": {
2933
+ "datasetId": {
2934
2934
  "description": "Dataset id",
2935
2935
  "format": "uuid",
2936
2936
  "type": "string"
@@ -2959,11 +2959,6 @@ declare const _default: {
2959
2959
  "string"
2960
2960
  ]
2961
2961
  },
2962
- "column": {
2963
- "description": "Column id",
2964
- "format": "uuid",
2965
- "type": "string"
2966
- },
2967
2962
  "columnHierarchies": {
2968
2963
  "anyOf": [
2969
2964
  {
@@ -2994,6 +2989,11 @@ declare const _default: {
2994
2989
  }
2995
2990
  ]
2996
2991
  },
2992
+ "columnId": {
2993
+ "description": "Column id",
2994
+ "format": "uuid",
2995
+ "type": "string"
2996
+ },
2997
2997
  "currency": {
2998
2998
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
2999
2999
  "type": [
@@ -3001,6 +3001,11 @@ declare const _default: {
3001
3001
  "string"
3002
3002
  ]
3003
3003
  },
3004
+ "datasetId": {
3005
+ "description": "Dataset id",
3006
+ "format": "uuid",
3007
+ "type": "string"
3008
+ },
3004
3009
  "datetimeDisplayMode": {
3005
3010
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
3006
3011
  "enum": [
@@ -3046,8 +3051,7 @@ declare const _default: {
3046
3051
  "type": "string"
3047
3052
  },
3048
3053
  "formula": {
3049
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
3050
- "format": "uuid",
3054
+ "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.",
3051
3055
  "type": "string"
3052
3056
  },
3053
3057
  "grandTotals": {
@@ -3093,17 +3097,39 @@ declare const _default: {
3093
3097
  ],
3094
3098
  "type": "string"
3095
3099
  },
3100
+ "periodOverPeriod": {
3101
+ "description": "Settings to configure period over period comparison",
3102
+ "properties": {
3103
+ "level": {
3104
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
3105
+ "type": "number"
3106
+ },
3107
+ "periodToDate": {
3108
+ "description": "period to date comparison",
3109
+ "type": "boolean"
3110
+ },
3111
+ "quantity": {
3112
+ "description": "number of periods",
3113
+ "type": "number"
3114
+ },
3115
+ "type": {
3116
+ "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",
3117
+ "enum": [
3118
+ "change",
3119
+ "none",
3120
+ "past"
3121
+ ],
3122
+ "type": "string"
3123
+ }
3124
+ },
3125
+ "type": "object"
3126
+ },
3096
3127
  "readonly": {
3097
3128
  "type": "boolean"
3098
3129
  },
3099
3130
  "selected": {
3100
3131
  "type": "boolean"
3101
3132
  },
3102
- "set": {
3103
- "description": "Dataset id",
3104
- "format": "uuid",
3105
- "type": "string"
3106
- },
3107
3133
  "subtype": {
3108
3134
  "anyOf": [
3109
3135
  {
@@ -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",
@@ -143,11 +170,16 @@ declare const _default: {
143
170
  "string"
144
171
  ]
145
172
  },
146
- "column": {
173
+ "columnId": {
147
174
  "description": "Column id",
148
175
  "format": "uuid",
149
176
  "type": "string"
150
177
  },
178
+ "datasetId": {
179
+ "description": "Dataset id",
180
+ "format": "uuid",
181
+ "type": "string"
182
+ },
151
183
  "format": {
152
184
  "description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
153
185
  "type": "string"
@@ -179,10 +211,32 @@ declare const _default: {
179
211
  "number"
180
212
  ]
181
213
  },
182
- "set": {
183
- "description": "Dataset id",
184
- "format": "uuid",
185
- "type": "string"
214
+ "periodOverPeriod": {
215
+ "description": "Settings to configure period over period comparison",
216
+ "properties": {
217
+ "level": {
218
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
219
+ "type": "number"
220
+ },
221
+ "periodToDate": {
222
+ "description": "period to date comparison",
223
+ "type": "boolean"
224
+ },
225
+ "quantity": {
226
+ "description": "number of periods",
227
+ "type": "number"
228
+ },
229
+ "type": {
230
+ "description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
231
+ "enum": [
232
+ "change",
233
+ "none",
234
+ "past"
235
+ ],
236
+ "type": "string"
237
+ }
238
+ },
239
+ "type": "object"
186
240
  },
187
241
  "subtype": {
188
242
  "anyOf": [
@@ -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/bar-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.",
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",
449
+ "properties": {
450
+ "level": {
451
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
452
+ "type": "number"
453
+ },
454
+ "periodToDate": {
455
+ "description": "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": [