@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
@@ -2913,7 +2913,7 @@ declare const _default: {
2913
2913
  "aggregationWeight": {
2914
2914
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
2915
2915
  "properties": {
2916
- "column": {
2916
+ "columnId": {
2917
2917
  "description": "Column id",
2918
2918
  "format": "uuid",
2919
2919
  "type": "string"
@@ -2929,7 +2929,7 @@ declare const _default: {
2929
2929
  ],
2930
2930
  "type": "string"
2931
2931
  },
2932
- "set": {
2932
+ "datasetId": {
2933
2933
  "description": "Dataset id",
2934
2934
  "format": "uuid",
2935
2935
  "type": "string"
@@ -2958,11 +2958,6 @@ declare const _default: {
2958
2958
  "string"
2959
2959
  ]
2960
2960
  },
2961
- "column": {
2962
- "description": "Column id",
2963
- "format": "uuid",
2964
- "type": "string"
2965
- },
2966
2961
  "columnHierarchies": {
2967
2962
  "anyOf": [
2968
2963
  {
@@ -2993,6 +2988,11 @@ declare const _default: {
2993
2988
  }
2994
2989
  ]
2995
2990
  },
2991
+ "columnId": {
2992
+ "description": "Column id",
2993
+ "format": "uuid",
2994
+ "type": "string"
2995
+ },
2996
2996
  "currency": {
2997
2997
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
2998
2998
  "type": [
@@ -3000,6 +3000,11 @@ declare const _default: {
3000
3000
  "string"
3001
3001
  ]
3002
3002
  },
3003
+ "datasetId": {
3004
+ "description": "Dataset id",
3005
+ "format": "uuid",
3006
+ "type": "string"
3007
+ },
3003
3008
  "datetimeDisplayMode": {
3004
3009
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
3005
3010
  "enum": [
@@ -3045,8 +3050,7 @@ declare const _default: {
3045
3050
  "type": "string"
3046
3051
  },
3047
3052
  "formula": {
3048
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
3049
- "format": "uuid",
3053
+ "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.",
3050
3054
  "type": "string"
3051
3055
  },
3052
3056
  "grandTotals": {
@@ -3092,17 +3096,39 @@ declare const _default: {
3092
3096
  ],
3093
3097
  "type": "string"
3094
3098
  },
3099
+ "periodOverPeriod": {
3100
+ "description": "Settings to configure period over period comparison",
3101
+ "properties": {
3102
+ "level": {
3103
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
3104
+ "type": "number"
3105
+ },
3106
+ "periodToDate": {
3107
+ "description": "period to date comparison",
3108
+ "type": "boolean"
3109
+ },
3110
+ "quantity": {
3111
+ "description": "number of periods",
3112
+ "type": "number"
3113
+ },
3114
+ "type": {
3115
+ "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",
3116
+ "enum": [
3117
+ "change",
3118
+ "none",
3119
+ "past"
3120
+ ],
3121
+ "type": "string"
3122
+ }
3123
+ },
3124
+ "type": "object"
3125
+ },
3095
3126
  "readonly": {
3096
3127
  "type": "boolean"
3097
3128
  },
3098
3129
  "selected": {
3099
3130
  "type": "boolean"
3100
3131
  },
3101
- "set": {
3102
- "description": "Dataset id",
3103
- "format": "uuid",
3104
- "type": "string"
3105
- },
3106
3132
  "subtype": {
3107
3133
  "anyOf": [
3108
3134
  {
@@ -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/column-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": [
@@ -988,7 +988,7 @@ declare const _default: {
988
988
  "aggregationWeight": {
989
989
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
990
990
  "properties": {
991
- "column": {
991
+ "columnId": {
992
992
  "description": "Column id",
993
993
  "format": "uuid",
994
994
  "type": "string"
@@ -1004,7 +1004,7 @@ declare const _default: {
1004
1004
  ],
1005
1005
  "type": "string"
1006
1006
  },
1007
- "set": {
1007
+ "datasetId": {
1008
1008
  "description": "Dataset id",
1009
1009
  "format": "uuid",
1010
1010
  "type": "string"
@@ -1033,11 +1033,6 @@ declare const _default: {
1033
1033
  "string"
1034
1034
  ]
1035
1035
  },
1036
- "column": {
1037
- "description": "Column id",
1038
- "format": "uuid",
1039
- "type": "string"
1040
- },
1041
1036
  "columnHierarchies": {
1042
1037
  "anyOf": [
1043
1038
  {
@@ -1068,6 +1063,11 @@ declare const _default: {
1068
1063
  }
1069
1064
  ]
1070
1065
  },
1066
+ "columnId": {
1067
+ "description": "Column id",
1068
+ "format": "uuid",
1069
+ "type": "string"
1070
+ },
1071
1071
  "currency": {
1072
1072
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
1073
1073
  "type": [
@@ -1075,6 +1075,11 @@ declare const _default: {
1075
1075
  "string"
1076
1076
  ]
1077
1077
  },
1078
+ "datasetId": {
1079
+ "description": "Dataset id",
1080
+ "format": "uuid",
1081
+ "type": "string"
1082
+ },
1078
1083
  "datetimeDisplayMode": {
1079
1084
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
1080
1085
  "enum": [
@@ -1120,8 +1125,7 @@ declare const _default: {
1120
1125
  "type": "string"
1121
1126
  },
1122
1127
  "formula": {
1123
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
1124
- "format": "uuid",
1128
+ "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.",
1125
1129
  "type": "string"
1126
1130
  },
1127
1131
  "grandTotals": {
@@ -1167,17 +1171,39 @@ declare const _default: {
1167
1171
  ],
1168
1172
  "type": "string"
1169
1173
  },
1174
+ "periodOverPeriod": {
1175
+ "description": "Settings to configure period over period comparison",
1176
+ "properties": {
1177
+ "level": {
1178
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
1179
+ "type": "number"
1180
+ },
1181
+ "periodToDate": {
1182
+ "description": "period to date comparison",
1183
+ "type": "boolean"
1184
+ },
1185
+ "quantity": {
1186
+ "description": "number of periods",
1187
+ "type": "number"
1188
+ },
1189
+ "type": {
1190
+ "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",
1191
+ "enum": [
1192
+ "change",
1193
+ "none",
1194
+ "past"
1195
+ ],
1196
+ "type": "string"
1197
+ }
1198
+ },
1199
+ "type": "object"
1200
+ },
1170
1201
  "readonly": {
1171
1202
  "type": "boolean"
1172
1203
  },
1173
1204
  "selected": {
1174
1205
  "type": "boolean"
1175
1206
  },
1176
- "set": {
1177
- "description": "Dataset id",
1178
- "format": "uuid",
1179
- "type": "string"
1180
- },
1181
1207
  "subtype": {
1182
1208
  "anyOf": [
1183
1209
  {
@@ -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": [
@@ -263,7 +317,7 @@ declare const _default: {
263
317
  "aggregationWeight": {
264
318
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
265
319
  "properties": {
266
- "column": {
320
+ "columnId": {
267
321
  "description": "Column id",
268
322
  "format": "uuid",
269
323
  "type": "string"
@@ -272,7 +326,7 @@ declare const _default: {
272
326
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-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": [