@luzmo/dashboard-contents-types 0.1.89 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +110 -166
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +105 -25
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +32 -5
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/image-options.schema.json.d.ts +69 -0
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/options.schema.json.d.ts +3 -0
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +67 -14
- package/assets/json-schemas/slots.schema.json.d.ts +3 -0
- package/assets/json-schemas/text-options.schema.json.d.ts +69 -0
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -0
- package/index.d.ts +0 -1
- package/index.js +435 -111
- package/index.mjs +5084 -1171
- package/json-schemas.d.ts +3883 -828
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.d.ts.map +1 -1
- package/src/lib/area-chart/area-chart-options.d.ts +20 -19
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
- package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
- package/src/lib/area-chart/area-chart.d.ts +2 -4
- package/src/lib/area-chart/index.d.ts +0 -1
- package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart.d.ts +2 -4
- package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
- package/src/lib/bar-chart/index.d.ts +0 -1
- package/src/lib/box-plot/box-plot-options.d.ts +13 -15
- package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
- package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
- package/src/lib/box-plot/box-plot.d.ts +2 -4
- package/src/lib/box-plot/index.d.ts +0 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
- package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
- package/src/lib/bubble-chart/index.d.ts +0 -1
- package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
- package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
- package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
- package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
- package/src/lib/bullet-chart/index.d.ts +0 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
- package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
- package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
- package/src/lib/choropleth-map/index.d.ts +0 -1
- package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
- package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
- package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
- package/src/lib/circular-gauge/index.d.ts +0 -1
- package/src/lib/column-chart/column-chart-options.d.ts +14 -16
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
- package/src/lib/column-chart/column-chart.d.ts +2 -4
- package/src/lib/column-chart/index.d.ts +0 -1
- package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
- package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
- package/src/lib/combination-chart/combination-chart.d.ts +2 -4
- package/src/lib/combination-chart/index.d.ts +0 -1
- package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
- package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
- package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
- package/src/lib/conditional-number/conditional-number.d.ts +2 -4
- package/src/lib/conditional-number/index.d.ts +0 -1
- package/src/lib/date-filter/date-filter-options.d.ts +5 -8
- package/src/lib/date-filter/date-filter-options.d.ts.map +1 -1
- package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
- package/src/lib/date-filter/date-filter.d.ts +2 -4
- package/src/lib/date-filter/index.d.ts +0 -1
- package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
- package/src/lib/donut-chart/donut-chart.d.ts +2 -4
- package/src/lib/donut-chart/index.d.ts +0 -1
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +7 -10
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
- package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
- package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
- package/src/lib/dropdown-filter/index.d.ts +0 -1
- package/src/lib/evolution-number/evolution-number-options.d.ts +7 -9
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
- package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
- package/src/lib/evolution-number/evolution-number.d.ts +2 -4
- package/src/lib/evolution-number/index.d.ts +0 -1
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
- package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
- package/src/lib/funnel-chart/index.d.ts +0 -1
- package/src/lib/image/image-options.d.ts +3 -5
- package/src/lib/image/image.d.ts +1 -3
- package/src/lib/image/index.d.ts +0 -1
- package/src/lib/line-chart/index.d.ts +0 -1
- package/src/lib/line-chart/line-chart-options.d.ts +13 -15
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
- package/src/lib/line-chart/line-chart.d.ts +2 -4
- package/src/lib/pivot-table/index.d.ts +0 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
- package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
- package/src/lib/pivot-table/pivot-table.d.ts +2 -4
- package/src/lib/regular-table/index.d.ts +0 -1
- package/src/lib/regular-table/regular-table-options.d.ts +9 -11
- package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
- package/src/lib/regular-table/regular-table.d.ts +2 -4
- package/src/lib/sankey-diagram/index.d.ts +0 -1
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
- package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
- package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
- package/src/lib/scatter-plot/index.d.ts +0 -1
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
- package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
- package/src/lib/search-filter/index.d.ts +3 -0
- package/src/lib/search-filter/index.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter-options.d.ts +56 -0
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
- package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter.d.ts +23 -0
- package/src/lib/search-filter/search-filter.d.ts.map +1 -0
- package/src/lib/shared/axes.d.ts +0 -1
- package/src/lib/shared/axis-view-options.d.ts +0 -2
- package/src/lib/shared/common.d.ts +2 -4
- package/src/lib/shared/common.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +0 -2
- package/src/lib/shared/filters.d.ts +0 -1
- package/src/lib/shared/formula.d.ts +0 -2
- package/src/lib/shared/index.d.ts +1 -1
- package/src/lib/shared/index.d.ts.map +1 -1
- package/src/lib/shared/info-tooltip-options.d.ts +0 -1
- package/src/lib/shared/interactivity-brush.d.ts +0 -1
- package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
- package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
- package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
- package/src/lib/shared/interactivity-export.d.ts +0 -1
- package/src/lib/shared/interactivity-filter.d.ts +0 -1
- package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
- package/src/lib/shared/interactivity-target.d.ts +0 -1
- package/src/lib/shared/interpolation.d.ts +0 -1
- package/src/lib/shared/item-filter-group.d.ts +54 -3
- package/src/lib/shared/item-filter-group.d.ts.map +1 -1
- package/src/lib/shared/legend.d.ts +0 -2
- package/src/lib/shared/map-object-view-options.d.ts +2 -4
- package/src/lib/shared/object-view-options.d.ts +4 -5
- package/src/lib/shared/object-view-options.d.ts.map +1 -1
- package/src/lib/shared/placeholder.d.ts +0 -1
- package/src/lib/shared/query.d.ts +0 -1
- package/src/lib/shared/ranges.d.ts +0 -1
- package/src/lib/shared/slots.d.ts +62 -7
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/shared/sort.d.ts +0 -2
- package/src/lib/shared/theme.d.ts +0 -1
- package/src/lib/shared/title.d.ts +0 -1
- package/src/lib/shared/viz-item.d.ts +60 -0
- package/src/lib/shared/viz-item.d.ts.map +1 -0
- package/src/lib/slicer-filter/index.d.ts +0 -1
- package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
- package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
- package/src/lib/slider-filter/index.d.ts +0 -1
- package/src/lib/slider-filter/slider-filter-options.d.ts +4 -6
- package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -1
- package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
- package/src/lib/slider-filter/slider-filter.d.ts +2 -4
- package/src/lib/text/index.d.ts +0 -1
- package/src/lib/text/text-options.d.ts +1 -3
- package/src/lib/text/text.d.ts +1 -3
- package/src/options.d.ts +24 -26
- package/src/options.d.ts.map +1 -1
- package/src/slots.d.ts +21 -23
|
@@ -29,11 +29,16 @@ declare const _default: {
|
|
|
29
29
|
"string"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"
|
|
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
|
-
"
|
|
96
|
-
"description": "
|
|
97
|
-
"
|
|
98
|
-
|
|
100
|
+
"periodOverPeriod": {
|
|
101
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
102
|
+
"properties": {
|
|
103
|
+
"level": {
|
|
104
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
"periodToDate": {
|
|
108
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"quantity": {
|
|
112
|
+
"description": "Number of periods",
|
|
113
|
+
"type": "number"
|
|
114
|
+
},
|
|
115
|
+
"type": {
|
|
116
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
117
|
+
"enum": [
|
|
118
|
+
"change",
|
|
119
|
+
"none",
|
|
120
|
+
"past"
|
|
121
|
+
],
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"type": "object"
|
|
99
126
|
},
|
|
100
127
|
"subtype": {
|
|
101
128
|
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
@@ -143,11 +170,16 @@ declare const _default: {
|
|
|
143
170
|
"string"
|
|
144
171
|
]
|
|
145
172
|
},
|
|
146
|
-
"
|
|
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
|
-
"
|
|
183
|
-
"description": "
|
|
184
|
-
"
|
|
185
|
-
|
|
214
|
+
"periodOverPeriod": {
|
|
215
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
216
|
+
"properties": {
|
|
217
|
+
"level": {
|
|
218
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
219
|
+
"type": "number"
|
|
220
|
+
},
|
|
221
|
+
"periodToDate": {
|
|
222
|
+
"description": "Turn ON/OFF 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
|
-
"
|
|
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/line-chart-slots.schema.json#/definitions/ColumnSubtype",
|
|
302
356
|
"description": "Column subtype"
|
|
303
357
|
},
|
|
304
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
373
|
-
"format": "uuid",
|
|
431
|
+
"description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
374
432
|
"type": "string"
|
|
375
433
|
},
|
|
376
434
|
"grandTotals": {
|
|
@@ -386,10 +444,32 @@ declare const _default: {
|
|
|
386
444
|
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
387
445
|
"type": "object"
|
|
388
446
|
},
|
|
389
|
-
"
|
|
390
|
-
"description": "
|
|
391
|
-
"
|
|
392
|
-
|
|
447
|
+
"periodOverPeriod": {
|
|
448
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
449
|
+
"properties": {
|
|
450
|
+
"level": {
|
|
451
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
452
|
+
"type": "number"
|
|
453
|
+
},
|
|
454
|
+
"periodToDate": {
|
|
455
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
456
|
+
"type": "boolean"
|
|
457
|
+
},
|
|
458
|
+
"quantity": {
|
|
459
|
+
"description": "Number of periods",
|
|
460
|
+
"type": "number"
|
|
461
|
+
},
|
|
462
|
+
"type": {
|
|
463
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
464
|
+
"enum": [
|
|
465
|
+
"change",
|
|
466
|
+
"none",
|
|
467
|
+
"past"
|
|
468
|
+
],
|
|
469
|
+
"type": "string"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"type": "object"
|
|
393
473
|
},
|
|
394
474
|
"subtype": {
|
|
395
475
|
"anyOf": [
|
|
@@ -70,6 +70,9 @@ declare const _default: {
|
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-options.schema.json"
|
|
73
76
|
}
|
|
74
77
|
]
|
|
75
78
|
};
|
|
@@ -599,7 +599,7 @@ declare const _default: {
|
|
|
599
599
|
"aggregationWeight": {
|
|
600
600
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
601
601
|
"properties": {
|
|
602
|
-
"
|
|
602
|
+
"columnId": {
|
|
603
603
|
"description": "Column id",
|
|
604
604
|
"format": "uuid",
|
|
605
605
|
"type": "string"
|
|
@@ -615,7 +615,7 @@ declare const _default: {
|
|
|
615
615
|
],
|
|
616
616
|
"type": "string"
|
|
617
617
|
},
|
|
618
|
-
"
|
|
618
|
+
"datasetId": {
|
|
619
619
|
"description": "Dataset id",
|
|
620
620
|
"format": "uuid",
|
|
621
621
|
"type": "string"
|
|
@@ -644,11 +644,6 @@ declare const _default: {
|
|
|
644
644
|
"string"
|
|
645
645
|
]
|
|
646
646
|
},
|
|
647
|
-
"column": {
|
|
648
|
-
"description": "Column id",
|
|
649
|
-
"format": "uuid",
|
|
650
|
-
"type": "string"
|
|
651
|
-
},
|
|
652
647
|
"columnHierarchies": {
|
|
653
648
|
"anyOf": [
|
|
654
649
|
{
|
|
@@ -679,6 +674,11 @@ declare const _default: {
|
|
|
679
674
|
}
|
|
680
675
|
]
|
|
681
676
|
},
|
|
677
|
+
"columnId": {
|
|
678
|
+
"description": "Column id",
|
|
679
|
+
"format": "uuid",
|
|
680
|
+
"type": "string"
|
|
681
|
+
},
|
|
682
682
|
"currency": {
|
|
683
683
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
684
684
|
"type": [
|
|
@@ -686,6 +686,11 @@ declare const _default: {
|
|
|
686
686
|
"string"
|
|
687
687
|
]
|
|
688
688
|
},
|
|
689
|
+
"datasetId": {
|
|
690
|
+
"description": "Dataset id",
|
|
691
|
+
"format": "uuid",
|
|
692
|
+
"type": "string"
|
|
693
|
+
},
|
|
689
694
|
"datetimeDisplayMode": {
|
|
690
695
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
691
696
|
"enum": [
|
|
@@ -731,8 +736,7 @@ declare const _default: {
|
|
|
731
736
|
"type": "string"
|
|
732
737
|
},
|
|
733
738
|
"formula": {
|
|
734
|
-
"description": "
|
|
735
|
-
"format": "uuid",
|
|
739
|
+
"description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
736
740
|
"type": "string"
|
|
737
741
|
},
|
|
738
742
|
"grandTotals": {
|
|
@@ -778,17 +782,39 @@ declare const _default: {
|
|
|
778
782
|
],
|
|
779
783
|
"type": "string"
|
|
780
784
|
},
|
|
785
|
+
"periodOverPeriod": {
|
|
786
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
787
|
+
"properties": {
|
|
788
|
+
"level": {
|
|
789
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
790
|
+
"type": "number"
|
|
791
|
+
},
|
|
792
|
+
"periodToDate": {
|
|
793
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
794
|
+
"type": "boolean"
|
|
795
|
+
},
|
|
796
|
+
"quantity": {
|
|
797
|
+
"description": "Number of periods",
|
|
798
|
+
"type": "number"
|
|
799
|
+
},
|
|
800
|
+
"type": {
|
|
801
|
+
"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",
|
|
802
|
+
"enum": [
|
|
803
|
+
"change",
|
|
804
|
+
"none",
|
|
805
|
+
"past"
|
|
806
|
+
],
|
|
807
|
+
"type": "string"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
"type": "object"
|
|
811
|
+
},
|
|
781
812
|
"readonly": {
|
|
782
813
|
"type": "boolean"
|
|
783
814
|
},
|
|
784
815
|
"selected": {
|
|
785
816
|
"type": "boolean"
|
|
786
817
|
},
|
|
787
|
-
"set": {
|
|
788
|
-
"description": "Dataset id",
|
|
789
|
-
"format": "uuid",
|
|
790
|
-
"type": "string"
|
|
791
|
-
},
|
|
792
818
|
"subtype": {
|
|
793
819
|
"anyOf": [
|
|
794
820
|
{
|
|
@@ -907,6 +933,67 @@ declare const _default: {
|
|
|
907
933
|
],
|
|
908
934
|
"description": "Show number of observations"
|
|
909
935
|
},
|
|
936
|
+
"loader": {
|
|
937
|
+
"description": "The loader configuration",
|
|
938
|
+
"properties": {
|
|
939
|
+
"background": {
|
|
940
|
+
"default": "#f9f9f9",
|
|
941
|
+
"description": "Background color of the chart loader element",
|
|
942
|
+
"type": "string"
|
|
943
|
+
},
|
|
944
|
+
"fontColor": {
|
|
945
|
+
"default": "#5a5a5a",
|
|
946
|
+
"description": "Font color of the text of the chart loaders",
|
|
947
|
+
"type": "string"
|
|
948
|
+
},
|
|
949
|
+
"locale": {
|
|
950
|
+
"default": "en",
|
|
951
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
952
|
+
"examples": [
|
|
953
|
+
"en",
|
|
954
|
+
"fr"
|
|
955
|
+
],
|
|
956
|
+
"type": "string"
|
|
957
|
+
},
|
|
958
|
+
"mode": {
|
|
959
|
+
"default": "light",
|
|
960
|
+
"description": "Light or dark loader",
|
|
961
|
+
"type": "string"
|
|
962
|
+
},
|
|
963
|
+
"msg": {
|
|
964
|
+
"description": "Loading message",
|
|
965
|
+
"examples": [
|
|
966
|
+
"Loading dashboard..."
|
|
967
|
+
],
|
|
968
|
+
"type": "string"
|
|
969
|
+
},
|
|
970
|
+
"showBranded": {
|
|
971
|
+
"default": false,
|
|
972
|
+
"description": "Shows the branded \"powered by\" information",
|
|
973
|
+
"type": "boolean"
|
|
974
|
+
},
|
|
975
|
+
"spinnerBackground": {
|
|
976
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
977
|
+
"description": "Background color of the spinner",
|
|
978
|
+
"type": "string"
|
|
979
|
+
},
|
|
980
|
+
"spinnerColor": {
|
|
981
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
982
|
+
"description": "Spinner color of the loader",
|
|
983
|
+
"type": "string"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
"type": "object"
|
|
987
|
+
},
|
|
988
|
+
"locale": {
|
|
989
|
+
"default": "en",
|
|
990
|
+
"description": "Locale to be used",
|
|
991
|
+
"examples": [
|
|
992
|
+
"en",
|
|
993
|
+
"fr"
|
|
994
|
+
],
|
|
995
|
+
"type": "string"
|
|
996
|
+
},
|
|
910
997
|
"measureLabelsAxis": {
|
|
911
998
|
"default": "columns",
|
|
912
999
|
"description": "Measure axis labels",
|
|
@@ -1488,6 +1575,14 @@ declare const _default: {
|
|
|
1488
1575
|
},
|
|
1489
1576
|
"type": "object"
|
|
1490
1577
|
},
|
|
1578
|
+
"timezoneId": {
|
|
1579
|
+
"description": "The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database",
|
|
1580
|
+
"examples": [
|
|
1581
|
+
"Europe/Brussels",
|
|
1582
|
+
"America/New_York"
|
|
1583
|
+
],
|
|
1584
|
+
"type": "string"
|
|
1585
|
+
},
|
|
1491
1586
|
"title": {
|
|
1492
1587
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1493
1588
|
"examples": [
|
|
@@ -57,11 +57,16 @@ declare const _default: {
|
|
|
57
57
|
"string"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"columnId": {
|
|
61
61
|
"description": "Column id",
|
|
62
62
|
"format": "uuid",
|
|
63
63
|
"type": "string"
|
|
64
64
|
},
|
|
65
|
+
"datasetId": {
|
|
66
|
+
"description": "Dataset id",
|
|
67
|
+
"format": "uuid",
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
65
70
|
"datetimeDisplayMode": {
|
|
66
71
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
67
72
|
"enum": [
|
|
@@ -120,10 +125,32 @@ declare const _default: {
|
|
|
120
125
|
],
|
|
121
126
|
"type": "string"
|
|
122
127
|
},
|
|
123
|
-
"
|
|
124
|
-
"description": "
|
|
125
|
-
"
|
|
126
|
-
|
|
128
|
+
"periodOverPeriod": {
|
|
129
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
130
|
+
"properties": {
|
|
131
|
+
"level": {
|
|
132
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
133
|
+
"type": "number"
|
|
134
|
+
},
|
|
135
|
+
"periodToDate": {
|
|
136
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
137
|
+
"type": "boolean"
|
|
138
|
+
},
|
|
139
|
+
"quantity": {
|
|
140
|
+
"description": "Number of periods",
|
|
141
|
+
"type": "number"
|
|
142
|
+
},
|
|
143
|
+
"type": {
|
|
144
|
+
"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",
|
|
145
|
+
"enum": [
|
|
146
|
+
"change",
|
|
147
|
+
"none",
|
|
148
|
+
"past"
|
|
149
|
+
],
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"type": "object"
|
|
127
154
|
},
|
|
128
155
|
"subtype": {
|
|
129
156
|
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
@@ -171,11 +198,16 @@ declare const _default: {
|
|
|
171
198
|
"string"
|
|
172
199
|
]
|
|
173
200
|
},
|
|
174
|
-
"
|
|
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
|
-
"
|
|
211
|
-
"description": "
|
|
212
|
-
"
|
|
213
|
-
|
|
242
|
+
"periodOverPeriod": {
|
|
243
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
244
|
+
"properties": {
|
|
245
|
+
"level": {
|
|
246
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
247
|
+
"type": "number"
|
|
248
|
+
},
|
|
249
|
+
"periodToDate": {
|
|
250
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
251
|
+
"type": "boolean"
|
|
252
|
+
},
|
|
253
|
+
"quantity": {
|
|
254
|
+
"description": "Number of periods",
|
|
255
|
+
"type": "number"
|
|
256
|
+
},
|
|
257
|
+
"type": {
|
|
258
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
259
|
+
"enum": [
|
|
260
|
+
"change",
|
|
261
|
+
"none",
|
|
262
|
+
"past"
|
|
263
|
+
],
|
|
264
|
+
"type": "string"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"type": "object"
|
|
214
268
|
},
|
|
215
269
|
"subtype": {
|
|
216
270
|
"anyOf": [
|
|
@@ -291,7 +345,7 @@ declare const _default: {
|
|
|
291
345
|
"aggregationWeight": {
|
|
292
346
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
293
347
|
"properties": {
|
|
294
|
-
"
|
|
348
|
+
"columnId": {
|
|
295
349
|
"description": "Column id",
|
|
296
350
|
"format": "uuid",
|
|
297
351
|
"type": "string"
|
|
@@ -300,7 +354,7 @@ declare const _default: {
|
|
|
300
354
|
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/ColumnSubtype",
|
|
301
355
|
"description": "Column subtype"
|
|
302
356
|
},
|
|
303
|
-
"
|
|
357
|
+
"datasetId": {
|
|
304
358
|
"description": "Dataset id",
|
|
305
359
|
"format": "uuid",
|
|
306
360
|
"type": "string"
|
|
@@ -329,7 +383,7 @@ declare const _default: {
|
|
|
329
383
|
"string"
|
|
330
384
|
]
|
|
331
385
|
},
|
|
332
|
-
"
|
|
386
|
+
"columnId": {
|
|
333
387
|
"description": "Column id",
|
|
334
388
|
"format": "uuid",
|
|
335
389
|
"type": "string"
|
|
@@ -341,6 +395,11 @@ declare const _default: {
|
|
|
341
395
|
"string"
|
|
342
396
|
]
|
|
343
397
|
},
|
|
398
|
+
"datasetId": {
|
|
399
|
+
"description": "Dataset id",
|
|
400
|
+
"format": "uuid",
|
|
401
|
+
"type": "string"
|
|
402
|
+
},
|
|
344
403
|
"duration": {
|
|
345
404
|
"description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
|
|
346
405
|
"properties": {
|
|
@@ -368,8 +427,7 @@ declare const _default: {
|
|
|
368
427
|
"type": "string"
|
|
369
428
|
},
|
|
370
429
|
"formula": {
|
|
371
|
-
"description": "
|
|
372
|
-
"format": "uuid",
|
|
430
|
+
"description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
373
431
|
"type": "string"
|
|
374
432
|
},
|
|
375
433
|
"grandTotals": {
|
|
@@ -385,10 +443,32 @@ declare const _default: {
|
|
|
385
443
|
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
386
444
|
"type": "object"
|
|
387
445
|
},
|
|
388
|
-
"
|
|
389
|
-
"description": "
|
|
390
|
-
"
|
|
391
|
-
|
|
446
|
+
"periodOverPeriod": {
|
|
447
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
448
|
+
"properties": {
|
|
449
|
+
"level": {
|
|
450
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
451
|
+
"type": "number"
|
|
452
|
+
},
|
|
453
|
+
"periodToDate": {
|
|
454
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
455
|
+
"type": "boolean"
|
|
456
|
+
},
|
|
457
|
+
"quantity": {
|
|
458
|
+
"description": "Number of periods",
|
|
459
|
+
"type": "number"
|
|
460
|
+
},
|
|
461
|
+
"type": {
|
|
462
|
+
"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",
|
|
463
|
+
"enum": [
|
|
464
|
+
"change",
|
|
465
|
+
"none",
|
|
466
|
+
"past"
|
|
467
|
+
],
|
|
468
|
+
"type": "string"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"type": "object"
|
|
392
472
|
},
|
|
393
473
|
"subtype": {
|
|
394
474
|
"anyOf": [
|