@luzmo/dashboard-contents-types 0.1.88 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +55 -15
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +107 -27
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +142 -35
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +109 -29
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +55 -15
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +109 -29
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +35 -8
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +109 -29
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +105 -25
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +77 -37
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +107 -27
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +108 -28
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/image-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +55 -15
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/options.schema.json.d.ts +24 -24
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +113 -33
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +105 -25
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +117 -37
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +121 -41
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +109 -29
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +53 -15
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +72 -19
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/text-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +2 -1
- package/index.d.ts +0 -1
- package/index.js +357 -111
- package/index.mjs +4143 -1451
- package/json-schemas.d.ts +2532 -605
- 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 +13 -15
- 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 +4 -6
- 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 +6 -8
- 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 +27 -14
- 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 +6 -8
- package/src/lib/shared/common.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +2 -2
- package/src/lib/shared/drop-object-view-options.d.ts.map +1 -1
- 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 +0 -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 +2 -4
- 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 +60 -6
- 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 +4 -1
- package/src/lib/shared/theme.d.ts.map +1 -1
- package/src/lib/shared/title.d.ts +0 -1
- 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-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 +5 -7
- 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 +23 -25
- package/src/slots.d.ts +21 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"definitions": {
|
|
5
5
|
"ColumnSubtype": {
|
|
@@ -29,11 +29,16 @@ declare const _default: {
|
|
|
29
29
|
"string"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"
|
|
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",
|
|
102
|
+
"properties": {
|
|
103
|
+
"level": {
|
|
104
|
+
"description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
"periodToDate": {
|
|
108
|
+
"description": "period to date comparison",
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"quantity": {
|
|
112
|
+
"description": "number of periods",
|
|
113
|
+
"type": "number"
|
|
114
|
+
},
|
|
115
|
+
"type": {
|
|
116
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
117
|
+
"enum": [
|
|
118
|
+
"change",
|
|
119
|
+
"none",
|
|
120
|
+
"past"
|
|
121
|
+
],
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"type": "object"
|
|
99
126
|
},
|
|
100
127
|
"subtype": {
|
|
101
128
|
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
@@ -134,13 +161,13 @@ declare const _default: {
|
|
|
134
161
|
"items": {
|
|
135
162
|
"anyOf": [
|
|
136
163
|
{
|
|
137
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
164
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/NumericSlotContent"
|
|
138
165
|
},
|
|
139
166
|
{
|
|
140
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
167
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/HierarchySlotContent"
|
|
141
168
|
},
|
|
142
169
|
{
|
|
143
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
170
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
144
171
|
}
|
|
145
172
|
]
|
|
146
173
|
},
|
|
@@ -171,11 +198,16 @@ declare const _default: {
|
|
|
171
198
|
"string"
|
|
172
199
|
]
|
|
173
200
|
},
|
|
174
|
-
"
|
|
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",
|
|
244
|
+
"properties": {
|
|
245
|
+
"level": {
|
|
246
|
+
"description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
247
|
+
"type": "number"
|
|
248
|
+
},
|
|
249
|
+
"periodToDate": {
|
|
250
|
+
"description": "period to date comparison",
|
|
251
|
+
"type": "boolean"
|
|
252
|
+
},
|
|
253
|
+
"quantity": {
|
|
254
|
+
"description": "number of periods",
|
|
255
|
+
"type": "number"
|
|
256
|
+
},
|
|
257
|
+
"type": {
|
|
258
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
259
|
+
"enum": [
|
|
260
|
+
"change",
|
|
261
|
+
"none",
|
|
262
|
+
"past"
|
|
263
|
+
],
|
|
264
|
+
"type": "string"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"type": "object"
|
|
214
268
|
},
|
|
215
269
|
"subtype": {
|
|
216
270
|
"anyOf": [
|
|
@@ -248,13 +302,13 @@ declare const _default: {
|
|
|
248
302
|
"items": {
|
|
249
303
|
"anyOf": [
|
|
250
304
|
{
|
|
251
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
305
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/NumericSlotContent"
|
|
252
306
|
},
|
|
253
307
|
{
|
|
254
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
308
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/HierarchySlotContent"
|
|
255
309
|
},
|
|
256
310
|
{
|
|
257
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
311
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
258
312
|
}
|
|
259
313
|
]
|
|
260
314
|
},
|
|
@@ -292,16 +346,16 @@ 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"
|
|
299
353
|
},
|
|
300
354
|
"columnSubType": {
|
|
301
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
355
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-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.",
|
|
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",
|
|
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": [
|
|
@@ -424,10 +504,10 @@ declare const _default: {
|
|
|
424
504
|
"items": {
|
|
425
505
|
"anyOf": [
|
|
426
506
|
{
|
|
427
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
507
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/MeasureSlot"
|
|
428
508
|
},
|
|
429
509
|
{
|
|
430
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
510
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DimensionSlot"
|
|
431
511
|
}
|
|
432
512
|
]
|
|
433
513
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
3
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Slicer Filter item",
|
|
6
6
|
"properties": {
|
|
@@ -11,11 +11,11 @@ declare const _default: {
|
|
|
11
11
|
},
|
|
12
12
|
"options": {
|
|
13
13
|
"description": "Options of the Slicer Filter item",
|
|
14
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
14
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-options.schema.json"
|
|
15
15
|
},
|
|
16
16
|
"slots": {
|
|
17
17
|
"description": "Data definition of the Slicer Filter item",
|
|
18
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
18
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"properties": {
|
|
5
5
|
"color": {
|
|
6
|
+
"default": "",
|
|
6
7
|
"description": "The main color for the item, if omitted the default color from the theme will be used.",
|
|
8
|
+
"examples": [
|
|
9
|
+
"#FF5733",
|
|
10
|
+
"#33FF57",
|
|
11
|
+
"#5733FF"
|
|
12
|
+
],
|
|
7
13
|
"type": "string"
|
|
8
14
|
},
|
|
9
15
|
"display": {
|
|
@@ -402,7 +408,7 @@ declare const _default: {
|
|
|
402
408
|
"aggregationWeight": {
|
|
403
409
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
404
410
|
"properties": {
|
|
405
|
-
"
|
|
411
|
+
"columnId": {
|
|
406
412
|
"description": "Column id",
|
|
407
413
|
"format": "uuid",
|
|
408
414
|
"type": "string"
|
|
@@ -418,7 +424,7 @@ declare const _default: {
|
|
|
418
424
|
],
|
|
419
425
|
"type": "string"
|
|
420
426
|
},
|
|
421
|
-
"
|
|
427
|
+
"datasetId": {
|
|
422
428
|
"description": "Dataset id",
|
|
423
429
|
"format": "uuid",
|
|
424
430
|
"type": "string"
|
|
@@ -447,11 +453,6 @@ declare const _default: {
|
|
|
447
453
|
"string"
|
|
448
454
|
]
|
|
449
455
|
},
|
|
450
|
-
"column": {
|
|
451
|
-
"description": "Column id",
|
|
452
|
-
"format": "uuid",
|
|
453
|
-
"type": "string"
|
|
454
|
-
},
|
|
455
456
|
"columnHierarchies": {
|
|
456
457
|
"anyOf": [
|
|
457
458
|
{
|
|
@@ -482,6 +483,11 @@ declare const _default: {
|
|
|
482
483
|
}
|
|
483
484
|
]
|
|
484
485
|
},
|
|
486
|
+
"columnId": {
|
|
487
|
+
"description": "Column id",
|
|
488
|
+
"format": "uuid",
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
485
491
|
"currency": {
|
|
486
492
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
487
493
|
"type": [
|
|
@@ -489,6 +495,11 @@ declare const _default: {
|
|
|
489
495
|
"string"
|
|
490
496
|
]
|
|
491
497
|
},
|
|
498
|
+
"datasetId": {
|
|
499
|
+
"description": "Dataset id",
|
|
500
|
+
"format": "uuid",
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
492
503
|
"datetimeDisplayMode": {
|
|
493
504
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
494
505
|
"enum": [
|
|
@@ -534,8 +545,7 @@ declare const _default: {
|
|
|
534
545
|
"type": "string"
|
|
535
546
|
},
|
|
536
547
|
"formula": {
|
|
537
|
-
"description": "
|
|
538
|
-
"format": "uuid",
|
|
548
|
+
"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.",
|
|
539
549
|
"type": "string"
|
|
540
550
|
},
|
|
541
551
|
"grandTotals": {
|
|
@@ -581,17 +591,39 @@ declare const _default: {
|
|
|
581
591
|
],
|
|
582
592
|
"type": "string"
|
|
583
593
|
},
|
|
594
|
+
"periodOverPeriod": {
|
|
595
|
+
"description": "Settings to configure period over period comparison",
|
|
596
|
+
"properties": {
|
|
597
|
+
"level": {
|
|
598
|
+
"description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
599
|
+
"type": "number"
|
|
600
|
+
},
|
|
601
|
+
"periodToDate": {
|
|
602
|
+
"description": "period to date comparison",
|
|
603
|
+
"type": "boolean"
|
|
604
|
+
},
|
|
605
|
+
"quantity": {
|
|
606
|
+
"description": "number of periods",
|
|
607
|
+
"type": "number"
|
|
608
|
+
},
|
|
609
|
+
"type": {
|
|
610
|
+
"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",
|
|
611
|
+
"enum": [
|
|
612
|
+
"change",
|
|
613
|
+
"none",
|
|
614
|
+
"past"
|
|
615
|
+
],
|
|
616
|
+
"type": "string"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
"type": "object"
|
|
620
|
+
},
|
|
584
621
|
"readonly": {
|
|
585
622
|
"type": "boolean"
|
|
586
623
|
},
|
|
587
624
|
"selected": {
|
|
588
625
|
"type": "boolean"
|
|
589
626
|
},
|
|
590
|
-
"set": {
|
|
591
|
-
"description": "Dataset id",
|
|
592
|
-
"format": "uuid",
|
|
593
|
-
"type": "string"
|
|
594
|
-
},
|
|
595
627
|
"subtype": {
|
|
596
628
|
"anyOf": [
|
|
597
629
|
{
|
|
@@ -703,6 +735,12 @@ declare const _default: {
|
|
|
703
735
|
"type": "string"
|
|
704
736
|
},
|
|
705
737
|
"baseFontSize": {
|
|
738
|
+
"description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
|
|
739
|
+
"examples": [
|
|
740
|
+
13,
|
|
741
|
+
16,
|
|
742
|
+
20
|
|
743
|
+
],
|
|
706
744
|
"type": "number"
|
|
707
745
|
},
|
|
708
746
|
"borders": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"definitions": {
|
|
5
5
|
"ColumnSubtype": {
|
|
@@ -29,11 +29,16 @@ declare const _default: {
|
|
|
29
29
|
"string"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
"
|
|
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",
|
|
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",
|
|
@@ -149,16 +176,16 @@ declare const _default: {
|
|
|
149
176
|
"aggregationWeight": {
|
|
150
177
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
151
178
|
"properties": {
|
|
152
|
-
"
|
|
179
|
+
"columnId": {
|
|
153
180
|
"description": "Column id",
|
|
154
181
|
"format": "uuid",
|
|
155
182
|
"type": "string"
|
|
156
183
|
},
|
|
157
184
|
"columnSubType": {
|
|
158
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
185
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/ColumnSubtype",
|
|
159
186
|
"description": "Column subtype"
|
|
160
187
|
},
|
|
161
|
-
"
|
|
188
|
+
"datasetId": {
|
|
162
189
|
"description": "Dataset id",
|
|
163
190
|
"format": "uuid",
|
|
164
191
|
"type": "string"
|
|
@@ -187,7 +214,7 @@ declare const _default: {
|
|
|
187
214
|
"string"
|
|
188
215
|
]
|
|
189
216
|
},
|
|
190
|
-
"
|
|
217
|
+
"columnId": {
|
|
191
218
|
"description": "Column id",
|
|
192
219
|
"format": "uuid",
|
|
193
220
|
"type": "string"
|
|
@@ -199,6 +226,11 @@ declare const _default: {
|
|
|
199
226
|
"string"
|
|
200
227
|
]
|
|
201
228
|
},
|
|
229
|
+
"datasetId": {
|
|
230
|
+
"description": "Dataset id",
|
|
231
|
+
"format": "uuid",
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
202
234
|
"duration": {
|
|
203
235
|
"description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
|
|
204
236
|
"properties": {
|
|
@@ -226,8 +258,7 @@ declare const _default: {
|
|
|
226
258
|
"type": "string"
|
|
227
259
|
},
|
|
228
260
|
"formula": {
|
|
229
|
-
"description": "
|
|
230
|
-
"format": "uuid",
|
|
261
|
+
"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.",
|
|
231
262
|
"type": "string"
|
|
232
263
|
},
|
|
233
264
|
"grandTotals": {
|
|
@@ -243,10 +274,32 @@ declare const _default: {
|
|
|
243
274
|
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
244
275
|
"type": "object"
|
|
245
276
|
},
|
|
246
|
-
"
|
|
247
|
-
"description": "
|
|
248
|
-
"
|
|
249
|
-
|
|
277
|
+
"periodOverPeriod": {
|
|
278
|
+
"description": "Settings to configure period over period comparison",
|
|
279
|
+
"properties": {
|
|
280
|
+
"level": {
|
|
281
|
+
"description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
282
|
+
"type": "number"
|
|
283
|
+
},
|
|
284
|
+
"periodToDate": {
|
|
285
|
+
"description": "period to date comparison",
|
|
286
|
+
"type": "boolean"
|
|
287
|
+
},
|
|
288
|
+
"quantity": {
|
|
289
|
+
"description": "number of periods",
|
|
290
|
+
"type": "number"
|
|
291
|
+
},
|
|
292
|
+
"type": {
|
|
293
|
+
"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",
|
|
294
|
+
"enum": [
|
|
295
|
+
"change",
|
|
296
|
+
"none",
|
|
297
|
+
"past"
|
|
298
|
+
],
|
|
299
|
+
"type": "string"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"type": "object"
|
|
250
303
|
},
|
|
251
304
|
"subtype": {
|
|
252
305
|
"anyOf": [
|
|
@@ -284,10 +337,10 @@ declare const _default: {
|
|
|
284
337
|
"items": {
|
|
285
338
|
"anyOf": [
|
|
286
339
|
{
|
|
287
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
340
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/NumericSlotContent"
|
|
288
341
|
},
|
|
289
342
|
{
|
|
290
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
343
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
291
344
|
}
|
|
292
345
|
]
|
|
293
346
|
},
|
|
@@ -304,7 +357,7 @@ declare const _default: {
|
|
|
304
357
|
},
|
|
305
358
|
"description": "Data definition of the Slider filter",
|
|
306
359
|
"items": {
|
|
307
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
360
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/SliderMetricSlot"
|
|
308
361
|
},
|
|
309
362
|
"maxItems": 1,
|
|
310
363
|
"type": "array"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
3
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Slider Filter item",
|
|
6
6
|
"properties": {
|
|
@@ -11,11 +11,11 @@ declare const _default: {
|
|
|
11
11
|
},
|
|
12
12
|
"options": {
|
|
13
13
|
"description": "Options of the Slider Filter item",
|
|
14
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
14
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json"
|
|
15
15
|
},
|
|
16
16
|
"slots": {
|
|
17
17
|
"description": "Data definition of the Slider Filter item",
|
|
18
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
18
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
};
|