@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
|
@@ -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",
|
|
@@ -200,11 +227,16 @@ declare const _default: {
|
|
|
200
227
|
"string"
|
|
201
228
|
]
|
|
202
229
|
},
|
|
203
|
-
"
|
|
230
|
+
"columnId": {
|
|
204
231
|
"description": "Column id",
|
|
205
232
|
"format": "uuid",
|
|
206
233
|
"type": "string"
|
|
207
234
|
},
|
|
235
|
+
"datasetId": {
|
|
236
|
+
"description": "Dataset id",
|
|
237
|
+
"format": "uuid",
|
|
238
|
+
"type": "string"
|
|
239
|
+
},
|
|
208
240
|
"format": {
|
|
209
241
|
"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.",
|
|
210
242
|
"type": "string"
|
|
@@ -236,10 +268,32 @@ declare const _default: {
|
|
|
236
268
|
"number"
|
|
237
269
|
]
|
|
238
270
|
},
|
|
239
|
-
"
|
|
240
|
-
"description": "
|
|
241
|
-
"
|
|
242
|
-
|
|
271
|
+
"periodOverPeriod": {
|
|
272
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
273
|
+
"properties": {
|
|
274
|
+
"level": {
|
|
275
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
276
|
+
"type": "number"
|
|
277
|
+
},
|
|
278
|
+
"periodToDate": {
|
|
279
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
280
|
+
"type": "boolean"
|
|
281
|
+
},
|
|
282
|
+
"quantity": {
|
|
283
|
+
"description": "Number of periods",
|
|
284
|
+
"type": "number"
|
|
285
|
+
},
|
|
286
|
+
"type": {
|
|
287
|
+
"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",
|
|
288
|
+
"enum": [
|
|
289
|
+
"change",
|
|
290
|
+
"none",
|
|
291
|
+
"past"
|
|
292
|
+
],
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"type": "object"
|
|
243
297
|
},
|
|
244
298
|
"subtype": {
|
|
245
299
|
"anyOf": [
|
|
@@ -321,7 +375,7 @@ declare const _default: {
|
|
|
321
375
|
"aggregationWeight": {
|
|
322
376
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
323
377
|
"properties": {
|
|
324
|
-
"
|
|
378
|
+
"columnId": {
|
|
325
379
|
"description": "Column id",
|
|
326
380
|
"format": "uuid",
|
|
327
381
|
"type": "string"
|
|
@@ -330,7 +384,7 @@ declare const _default: {
|
|
|
330
384
|
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/ColumnSubtype",
|
|
331
385
|
"description": "Column subtype"
|
|
332
386
|
},
|
|
333
|
-
"
|
|
387
|
+
"datasetId": {
|
|
334
388
|
"description": "Dataset id",
|
|
335
389
|
"format": "uuid",
|
|
336
390
|
"type": "string"
|
|
@@ -359,7 +413,7 @@ declare const _default: {
|
|
|
359
413
|
"string"
|
|
360
414
|
]
|
|
361
415
|
},
|
|
362
|
-
"
|
|
416
|
+
"columnId": {
|
|
363
417
|
"description": "Column id",
|
|
364
418
|
"format": "uuid",
|
|
365
419
|
"type": "string"
|
|
@@ -371,6 +425,11 @@ declare const _default: {
|
|
|
371
425
|
"string"
|
|
372
426
|
]
|
|
373
427
|
},
|
|
428
|
+
"datasetId": {
|
|
429
|
+
"description": "Dataset id",
|
|
430
|
+
"format": "uuid",
|
|
431
|
+
"type": "string"
|
|
432
|
+
},
|
|
374
433
|
"duration": {
|
|
375
434
|
"description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
|
|
376
435
|
"properties": {
|
|
@@ -398,8 +457,7 @@ declare const _default: {
|
|
|
398
457
|
"type": "string"
|
|
399
458
|
},
|
|
400
459
|
"formula": {
|
|
401
|
-
"description": "
|
|
402
|
-
"format": "uuid",
|
|
460
|
+
"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",
|
|
403
461
|
"type": "string"
|
|
404
462
|
},
|
|
405
463
|
"grandTotals": {
|
|
@@ -415,10 +473,32 @@ declare const _default: {
|
|
|
415
473
|
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
416
474
|
"type": "object"
|
|
417
475
|
},
|
|
418
|
-
"
|
|
419
|
-
"description": "
|
|
420
|
-
"
|
|
421
|
-
|
|
476
|
+
"periodOverPeriod": {
|
|
477
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
478
|
+
"properties": {
|
|
479
|
+
"level": {
|
|
480
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
481
|
+
"type": "number"
|
|
482
|
+
},
|
|
483
|
+
"periodToDate": {
|
|
484
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
485
|
+
"type": "boolean"
|
|
486
|
+
},
|
|
487
|
+
"quantity": {
|
|
488
|
+
"description": "Number of periods",
|
|
489
|
+
"type": "number"
|
|
490
|
+
},
|
|
491
|
+
"type": {
|
|
492
|
+
"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",
|
|
493
|
+
"enum": [
|
|
494
|
+
"change",
|
|
495
|
+
"none",
|
|
496
|
+
"past"
|
|
497
|
+
],
|
|
498
|
+
"type": "string"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"type": "object"
|
|
422
502
|
},
|
|
423
503
|
"subtype": {
|
|
424
504
|
"anyOf": [
|
|
@@ -855,7 +855,7 @@ declare const _default: {
|
|
|
855
855
|
"aggregationWeight": {
|
|
856
856
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
857
857
|
"properties": {
|
|
858
|
-
"
|
|
858
|
+
"columnId": {
|
|
859
859
|
"description": "Column id",
|
|
860
860
|
"format": "uuid",
|
|
861
861
|
"type": "string"
|
|
@@ -871,7 +871,7 @@ declare const _default: {
|
|
|
871
871
|
],
|
|
872
872
|
"type": "string"
|
|
873
873
|
},
|
|
874
|
-
"
|
|
874
|
+
"datasetId": {
|
|
875
875
|
"description": "Dataset id",
|
|
876
876
|
"format": "uuid",
|
|
877
877
|
"type": "string"
|
|
@@ -900,11 +900,6 @@ declare const _default: {
|
|
|
900
900
|
"string"
|
|
901
901
|
]
|
|
902
902
|
},
|
|
903
|
-
"column": {
|
|
904
|
-
"description": "Column id",
|
|
905
|
-
"format": "uuid",
|
|
906
|
-
"type": "string"
|
|
907
|
-
},
|
|
908
903
|
"columnHierarchies": {
|
|
909
904
|
"anyOf": [
|
|
910
905
|
{
|
|
@@ -935,6 +930,11 @@ declare const _default: {
|
|
|
935
930
|
}
|
|
936
931
|
]
|
|
937
932
|
},
|
|
933
|
+
"columnId": {
|
|
934
|
+
"description": "Column id",
|
|
935
|
+
"format": "uuid",
|
|
936
|
+
"type": "string"
|
|
937
|
+
},
|
|
938
938
|
"currency": {
|
|
939
939
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
940
940
|
"type": [
|
|
@@ -942,6 +942,11 @@ declare const _default: {
|
|
|
942
942
|
"string"
|
|
943
943
|
]
|
|
944
944
|
},
|
|
945
|
+
"datasetId": {
|
|
946
|
+
"description": "Dataset id",
|
|
947
|
+
"format": "uuid",
|
|
948
|
+
"type": "string"
|
|
949
|
+
},
|
|
945
950
|
"datetimeDisplayMode": {
|
|
946
951
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
947
952
|
"enum": [
|
|
@@ -987,8 +992,7 @@ declare const _default: {
|
|
|
987
992
|
"type": "string"
|
|
988
993
|
},
|
|
989
994
|
"formula": {
|
|
990
|
-
"description": "
|
|
991
|
-
"format": "uuid",
|
|
995
|
+
"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",
|
|
992
996
|
"type": "string"
|
|
993
997
|
},
|
|
994
998
|
"grandTotals": {
|
|
@@ -1034,17 +1038,39 @@ declare const _default: {
|
|
|
1034
1038
|
],
|
|
1035
1039
|
"type": "string"
|
|
1036
1040
|
},
|
|
1041
|
+
"periodOverPeriod": {
|
|
1042
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
1043
|
+
"properties": {
|
|
1044
|
+
"level": {
|
|
1045
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
1046
|
+
"type": "number"
|
|
1047
|
+
},
|
|
1048
|
+
"periodToDate": {
|
|
1049
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
1050
|
+
"type": "boolean"
|
|
1051
|
+
},
|
|
1052
|
+
"quantity": {
|
|
1053
|
+
"description": "Number of periods",
|
|
1054
|
+
"type": "number"
|
|
1055
|
+
},
|
|
1056
|
+
"type": {
|
|
1057
|
+
"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",
|
|
1058
|
+
"enum": [
|
|
1059
|
+
"change",
|
|
1060
|
+
"none",
|
|
1061
|
+
"past"
|
|
1062
|
+
],
|
|
1063
|
+
"type": "string"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"type": "object"
|
|
1067
|
+
},
|
|
1037
1068
|
"readonly": {
|
|
1038
1069
|
"type": "boolean"
|
|
1039
1070
|
},
|
|
1040
1071
|
"selected": {
|
|
1041
1072
|
"type": "boolean"
|
|
1042
1073
|
},
|
|
1043
|
-
"set": {
|
|
1044
|
-
"description": "Dataset id",
|
|
1045
|
-
"format": "uuid",
|
|
1046
|
-
"type": "string"
|
|
1047
|
-
},
|
|
1048
1074
|
"subtype": {
|
|
1049
1075
|
"anyOf": [
|
|
1050
1076
|
{
|
|
@@ -1177,6 +1203,67 @@ declare const _default: {
|
|
|
1177
1203
|
},
|
|
1178
1204
|
"type": "object"
|
|
1179
1205
|
},
|
|
1206
|
+
"loader": {
|
|
1207
|
+
"description": "The loader configuration",
|
|
1208
|
+
"properties": {
|
|
1209
|
+
"background": {
|
|
1210
|
+
"default": "#f9f9f9",
|
|
1211
|
+
"description": "Background color of the chart loader element",
|
|
1212
|
+
"type": "string"
|
|
1213
|
+
},
|
|
1214
|
+
"fontColor": {
|
|
1215
|
+
"default": "#5a5a5a",
|
|
1216
|
+
"description": "Font color of the text of the chart loaders",
|
|
1217
|
+
"type": "string"
|
|
1218
|
+
},
|
|
1219
|
+
"locale": {
|
|
1220
|
+
"default": "en",
|
|
1221
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
1222
|
+
"examples": [
|
|
1223
|
+
"en",
|
|
1224
|
+
"fr"
|
|
1225
|
+
],
|
|
1226
|
+
"type": "string"
|
|
1227
|
+
},
|
|
1228
|
+
"mode": {
|
|
1229
|
+
"default": "light",
|
|
1230
|
+
"description": "Light or dark loader",
|
|
1231
|
+
"type": "string"
|
|
1232
|
+
},
|
|
1233
|
+
"msg": {
|
|
1234
|
+
"description": "Loading message",
|
|
1235
|
+
"examples": [
|
|
1236
|
+
"Loading dashboard..."
|
|
1237
|
+
],
|
|
1238
|
+
"type": "string"
|
|
1239
|
+
},
|
|
1240
|
+
"showBranded": {
|
|
1241
|
+
"default": false,
|
|
1242
|
+
"description": "Shows the branded \"powered by\" information",
|
|
1243
|
+
"type": "boolean"
|
|
1244
|
+
},
|
|
1245
|
+
"spinnerBackground": {
|
|
1246
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
1247
|
+
"description": "Background color of the spinner",
|
|
1248
|
+
"type": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"spinnerColor": {
|
|
1251
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
1252
|
+
"description": "Spinner color of the loader",
|
|
1253
|
+
"type": "string"
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
"type": "object"
|
|
1257
|
+
},
|
|
1258
|
+
"locale": {
|
|
1259
|
+
"default": "en",
|
|
1260
|
+
"description": "Locale to be used",
|
|
1261
|
+
"examples": [
|
|
1262
|
+
"en",
|
|
1263
|
+
"fr"
|
|
1264
|
+
],
|
|
1265
|
+
"type": "string"
|
|
1266
|
+
},
|
|
1180
1267
|
"manualAxesRange": {
|
|
1181
1268
|
"description": "Set manual axes range",
|
|
1182
1269
|
"properties": {
|
|
@@ -1686,6 +1773,14 @@ declare const _default: {
|
|
|
1686
1773
|
},
|
|
1687
1774
|
"type": "object"
|
|
1688
1775
|
},
|
|
1776
|
+
"timezoneId": {
|
|
1777
|
+
"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",
|
|
1778
|
+
"examples": [
|
|
1779
|
+
"Europe/Brussels",
|
|
1780
|
+
"America/New_York"
|
|
1781
|
+
],
|
|
1782
|
+
"type": "string"
|
|
1783
|
+
},
|
|
1689
1784
|
"title": {
|
|
1690
1785
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1691
1786
|
"examples": [
|
|
@@ -58,11 +58,16 @@ declare const _default: {
|
|
|
58
58
|
"string"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
|
-
"
|
|
61
|
+
"columnId": {
|
|
62
62
|
"description": "Column id",
|
|
63
63
|
"format": "uuid",
|
|
64
64
|
"type": "string"
|
|
65
65
|
},
|
|
66
|
+
"datasetId": {
|
|
67
|
+
"description": "Dataset id",
|
|
68
|
+
"format": "uuid",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
66
71
|
"datetimeDisplayMode": {
|
|
67
72
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
68
73
|
"enum": [
|
|
@@ -121,10 +126,32 @@ declare const _default: {
|
|
|
121
126
|
],
|
|
122
127
|
"type": "string"
|
|
123
128
|
},
|
|
124
|
-
"
|
|
125
|
-
"description": "
|
|
126
|
-
"
|
|
127
|
-
|
|
129
|
+
"periodOverPeriod": {
|
|
130
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
131
|
+
"properties": {
|
|
132
|
+
"level": {
|
|
133
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
134
|
+
"type": "number"
|
|
135
|
+
},
|
|
136
|
+
"periodToDate": {
|
|
137
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"quantity": {
|
|
141
|
+
"description": "Number of periods",
|
|
142
|
+
"type": "number"
|
|
143
|
+
},
|
|
144
|
+
"type": {
|
|
145
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
146
|
+
"enum": [
|
|
147
|
+
"change",
|
|
148
|
+
"none",
|
|
149
|
+
"past"
|
|
150
|
+
],
|
|
151
|
+
"type": "string"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"type": "object"
|
|
128
155
|
},
|
|
129
156
|
"subtype": {
|
|
130
157
|
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
@@ -172,11 +199,16 @@ declare const _default: {
|
|
|
172
199
|
"string"
|
|
173
200
|
]
|
|
174
201
|
},
|
|
175
|
-
"
|
|
202
|
+
"columnId": {
|
|
176
203
|
"description": "Column id",
|
|
177
204
|
"format": "uuid",
|
|
178
205
|
"type": "string"
|
|
179
206
|
},
|
|
207
|
+
"datasetId": {
|
|
208
|
+
"description": "Dataset id",
|
|
209
|
+
"format": "uuid",
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
180
212
|
"format": {
|
|
181
213
|
"description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
|
|
182
214
|
"type": "string"
|
|
@@ -208,10 +240,32 @@ declare const _default: {
|
|
|
208
240
|
"number"
|
|
209
241
|
]
|
|
210
242
|
},
|
|
211
|
-
"
|
|
212
|
-
"description": "
|
|
213
|
-
"
|
|
214
|
-
|
|
243
|
+
"periodOverPeriod": {
|
|
244
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
245
|
+
"properties": {
|
|
246
|
+
"level": {
|
|
247
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
248
|
+
"type": "number"
|
|
249
|
+
},
|
|
250
|
+
"periodToDate": {
|
|
251
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
252
|
+
"type": "boolean"
|
|
253
|
+
},
|
|
254
|
+
"quantity": {
|
|
255
|
+
"description": "Number of periods",
|
|
256
|
+
"type": "number"
|
|
257
|
+
},
|
|
258
|
+
"type": {
|
|
259
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
260
|
+
"enum": [
|
|
261
|
+
"change",
|
|
262
|
+
"none",
|
|
263
|
+
"past"
|
|
264
|
+
],
|
|
265
|
+
"type": "string"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"type": "object"
|
|
215
269
|
},
|
|
216
270
|
"subtype": {
|
|
217
271
|
"anyOf": [
|
|
@@ -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/scatter-plot-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": [
|