@luzmo/dashboard-contents-types 1.0.2 → 1.0.4
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 +12 -0
- package/README.md +40 -62
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +20 -10
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +226 -27
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +11 -11
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +8 -9
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +1472 -0
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/heat-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +1588 -0
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/image-options.schema.json.d.ts +7 -2
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +1486 -0
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/marker-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/options.schema.json.d.ts +49 -25
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map-options.schema.json.d.ts +1506 -0
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +627 -0
- package/assets/json-schemas/route-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +1050 -0
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +484 -0
- package/assets/json-schemas/search-filter.schema.json.d.ts +23 -0
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +5 -5
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slots.schema.json.d.ts +44 -23
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +1686 -0
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +598 -0
- package/assets/json-schemas/spike-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +1567 -0
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +595 -0
- package/assets/json-schemas/symbol-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/text-options.schema.json.d.ts +8 -8
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/video-options.schema.json.d.ts +318 -0
- package/assets/json-schemas/video.schema.json.d.ts +19 -0
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +3428 -0
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +543 -0
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +23 -0
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +248 -70
- package/index.mjs +25636 -6337
- package/json-schemas.d.ts +17363 -2624
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +9 -0
- package/src/index.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +3 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +17 -12
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -1
- package/src/lib/heat-map/heat-map-options.d.ts +103 -0
- package/src/lib/heat-map/heat-map-options.d.ts.map +1 -0
- package/src/lib/heat-map/heat-map-slots.d.ts +29 -0
- package/src/lib/heat-map/heat-map-slots.d.ts.map +1 -0
- package/src/lib/heat-map/heat-map.d.ts +23 -0
- package/src/lib/heat-map/heat-map.d.ts.map +1 -0
- package/src/lib/heat-map/index.d.ts +3 -0
- package/src/lib/heat-map/index.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map-options.d.ts +116 -0
- package/src/lib/hexbin-map/hexbin-map-options.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map-slots.d.ts +29 -0
- package/src/lib/hexbin-map/hexbin-map-slots.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map.d.ts +23 -0
- package/src/lib/hexbin-map/hexbin-map.d.ts.map +1 -0
- package/src/lib/hexbin-map/index.d.ts +3 -0
- package/src/lib/hexbin-map/index.d.ts.map +1 -0
- package/src/lib/marker-map/index.d.ts +3 -0
- package/src/lib/marker-map/index.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map-options.d.ts +61 -0
- package/src/lib/marker-map/marker-map-options.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map-slots.d.ts +29 -0
- package/src/lib/marker-map/marker-map-slots.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map.d.ts +23 -0
- package/src/lib/marker-map/marker-map.d.ts.map +1 -0
- package/src/lib/route-map/index.d.ts +3 -0
- package/src/lib/route-map/index.d.ts.map +1 -0
- package/src/lib/route-map/route-map-options.d.ts +94 -0
- package/src/lib/route-map/route-map-options.d.ts.map +1 -0
- package/src/lib/route-map/route-map-slots.d.ts +51 -0
- package/src/lib/route-map/route-map-slots.d.ts.map +1 -0
- package/src/lib/route-map/route-map.d.ts +23 -0
- package/src/lib/route-map/route-map.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter-options.d.ts +6 -0
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +1 -1
- package/src/lib/shared/map-object-view-options.d.ts +100 -1
- package/src/lib/shared/map-object-view-options.d.ts.map +1 -1
- package/src/lib/shared/ranges.d.ts +1 -1
- package/src/lib/shared/slots.d.ts +82 -16
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/shared/theme.d.ts +1 -2
- package/src/lib/shared/theme.d.ts.map +1 -1
- package/src/lib/shared/title.d.ts +1 -1
- package/src/lib/shared/viz-item.d.ts +5 -0
- package/src/lib/shared/viz-item.d.ts.map +1 -1
- package/src/lib/spike-map/index.d.ts +3 -0
- package/src/lib/spike-map/index.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map-options.d.ts +126 -0
- package/src/lib/spike-map/spike-map-options.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map-slots.d.ts +40 -0
- package/src/lib/spike-map/spike-map-slots.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map.d.ts +23 -0
- package/src/lib/spike-map/spike-map.d.ts.map +1 -0
- package/src/lib/symbol-map/index.d.ts +3 -0
- package/src/lib/symbol-map/index.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts +93 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map-slots.d.ts +40 -0
- package/src/lib/symbol-map/symbol-map-slots.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map.d.ts +23 -0
- package/src/lib/symbol-map/symbol-map.d.ts.map +1 -0
- package/src/lib/video/index.d.ts +2 -0
- package/src/lib/video/index.d.ts.map +1 -0
- package/src/lib/video/video-options.d.ts +86 -0
- package/src/lib/video/video-options.d.ts.map +1 -0
- package/src/lib/video/video.d.ts +16 -0
- package/src/lib/video/video.d.ts.map +1 -0
- package/src/lib/visual-item/index.d.ts +1 -0
- package/src/lib/visual-item/index.d.ts.map +1 -0
- package/src/lib/visual-item/visual-item.d.ts +28 -0
- package/src/lib/visual-item/visual-item.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/index.d.ts +3 -0
- package/src/lib/wordcloud-chart/index.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts +117 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts +41 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart.d.ts +23 -0
- package/src/lib/wordcloud-chart/wordcloud-chart.d.ts.map +1 -0
- package/src/options.d.ts +10 -1
- package/src/options.d.ts.map +1 -1
- package/src/slots.d.ts +9 -1
- package/src/slots.d.ts.map +1 -1
- package/vite.config.d.ts.map +1 -1
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"ColumnSubtype": {
|
|
6
|
+
"enum": [
|
|
7
|
+
"coordinates",
|
|
8
|
+
"currency",
|
|
9
|
+
"duration",
|
|
10
|
+
"hierarchy_element_expression",
|
|
11
|
+
"topography"
|
|
12
|
+
],
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"DateTimeSlotContent": {
|
|
16
|
+
"properties": {
|
|
17
|
+
"aggregationFunc": {
|
|
18
|
+
"description": "Basic aggregation function. It can be used when a \"datetime\" column is used in a measure slot.",
|
|
19
|
+
"enum": [
|
|
20
|
+
"count",
|
|
21
|
+
"distinctcount"
|
|
22
|
+
],
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"color": {
|
|
26
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
27
|
+
"type": [
|
|
28
|
+
"null",
|
|
29
|
+
"string"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"columnId": {
|
|
33
|
+
"description": "Column id",
|
|
34
|
+
"format": "uuid",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"datasetId": {
|
|
38
|
+
"description": "Dataset id",
|
|
39
|
+
"format": "uuid",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"datetimeDisplayMode": {
|
|
43
|
+
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
44
|
+
"enum": [
|
|
45
|
+
"day_in_month",
|
|
46
|
+
"day_in_year",
|
|
47
|
+
"default",
|
|
48
|
+
"hour_in_day",
|
|
49
|
+
"minute_in_hour",
|
|
50
|
+
"month_name",
|
|
51
|
+
"month_number",
|
|
52
|
+
"quarter_number",
|
|
53
|
+
"second_in_minute",
|
|
54
|
+
"week_number",
|
|
55
|
+
"weekday_name",
|
|
56
|
+
"weekday_number"
|
|
57
|
+
],
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"format": {
|
|
61
|
+
"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.",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"grandTotals": {
|
|
65
|
+
"description": "Enable or disable grand totals, they're only used in Pivot table",
|
|
66
|
+
"properties": {
|
|
67
|
+
"enabled": {
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"type": "object"
|
|
72
|
+
},
|
|
73
|
+
"label": {
|
|
74
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
75
|
+
"type": "object"
|
|
76
|
+
},
|
|
77
|
+
"level": {
|
|
78
|
+
"description": "\"hierarchy\" or \"datetime\" level",
|
|
79
|
+
"type": [
|
|
80
|
+
"number",
|
|
81
|
+
"null"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"lowestLevel": {
|
|
85
|
+
"description": "Lowest \"hierarchy\" or \"datetime\" level",
|
|
86
|
+
"type": [
|
|
87
|
+
"null",
|
|
88
|
+
"number"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"monthNameFormat": {
|
|
92
|
+
"description": "Month name format for datetime column formatting",
|
|
93
|
+
"enum": [
|
|
94
|
+
"letter",
|
|
95
|
+
"long",
|
|
96
|
+
"short"
|
|
97
|
+
],
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
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"
|
|
126
|
+
},
|
|
127
|
+
"subtype": {
|
|
128
|
+
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
129
|
+
"type": "null"
|
|
130
|
+
},
|
|
131
|
+
"type": {
|
|
132
|
+
"const": "datetime",
|
|
133
|
+
"description": "\"datetime\" column type",
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"weekDayNameFormat": {
|
|
137
|
+
"description": "Week day name format for datetime column formatting",
|
|
138
|
+
"enum": [
|
|
139
|
+
"letter",
|
|
140
|
+
"long",
|
|
141
|
+
"short"
|
|
142
|
+
],
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"weekStart": {
|
|
146
|
+
"description": "Week start day, 'sunday' or 'monday'. For datetime column formatting.",
|
|
147
|
+
"enum": [
|
|
148
|
+
"monday",
|
|
149
|
+
"sunday"
|
|
150
|
+
],
|
|
151
|
+
"type": "string"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"type": "object"
|
|
155
|
+
},
|
|
156
|
+
"DimensionSlot": {
|
|
157
|
+
"description": "Dimension slot definition of the search filter. Dimension slot is a required slot and it can have multiple columns.",
|
|
158
|
+
"properties": {
|
|
159
|
+
"content": {
|
|
160
|
+
"description": "Dimension slot definition",
|
|
161
|
+
"items": {
|
|
162
|
+
"anyOf": [
|
|
163
|
+
{
|
|
164
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json#/definitions/NumericSlotContent"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json#/definitions/HierarchySlotContent"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"type": "array"
|
|
175
|
+
},
|
|
176
|
+
"name": {
|
|
177
|
+
"const": "dimension",
|
|
178
|
+
"description": "Name of the slot",
|
|
179
|
+
"type": "string"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"type": "object"
|
|
183
|
+
},
|
|
184
|
+
"HierarchySlotContent": {
|
|
185
|
+
"properties": {
|
|
186
|
+
"aggregationFunc": {
|
|
187
|
+
"description": "Basic aggregation function. It can be used when a \"hierarchy\" column is used in a measure slot.",
|
|
188
|
+
"enum": [
|
|
189
|
+
"count",
|
|
190
|
+
"distinctcount"
|
|
191
|
+
],
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"color": {
|
|
195
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
196
|
+
"type": [
|
|
197
|
+
"null",
|
|
198
|
+
"string"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"columnId": {
|
|
202
|
+
"description": "Column id",
|
|
203
|
+
"format": "uuid",
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"datasetId": {
|
|
207
|
+
"description": "Dataset id",
|
|
208
|
+
"format": "uuid",
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"format": {
|
|
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.",
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"grandTotals": {
|
|
216
|
+
"description": "Enable or disable grand totals, they're only used in Pivot table",
|
|
217
|
+
"properties": {
|
|
218
|
+
"enabled": {
|
|
219
|
+
"type": "boolean"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"type": "object"
|
|
223
|
+
},
|
|
224
|
+
"label": {
|
|
225
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
226
|
+
"type": "object"
|
|
227
|
+
},
|
|
228
|
+
"level": {
|
|
229
|
+
"description": "\"hierarchy\" or \"datetime\" level",
|
|
230
|
+
"type": [
|
|
231
|
+
"number",
|
|
232
|
+
"null"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"lowestLevel": {
|
|
236
|
+
"description": "Lowest \"hierarchy\" or \"datetime\" level",
|
|
237
|
+
"type": [
|
|
238
|
+
"null",
|
|
239
|
+
"number"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
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"
|
|
268
|
+
},
|
|
269
|
+
"subtype": {
|
|
270
|
+
"anyOf": [
|
|
271
|
+
{
|
|
272
|
+
"enum": [
|
|
273
|
+
"coordinates",
|
|
274
|
+
"currency",
|
|
275
|
+
"date",
|
|
276
|
+
"datetime",
|
|
277
|
+
"duration",
|
|
278
|
+
"hierarchy_element_expression",
|
|
279
|
+
"topography"
|
|
280
|
+
],
|
|
281
|
+
"type": "string"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "null"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"description": "Column subtype"
|
|
288
|
+
},
|
|
289
|
+
"type": {
|
|
290
|
+
"const": "hierarchy",
|
|
291
|
+
"description": "\"hierarchy\" column type",
|
|
292
|
+
"type": "string"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"type": "object"
|
|
296
|
+
},
|
|
297
|
+
"NumericSlotContent": {
|
|
298
|
+
"properties": {
|
|
299
|
+
"aggregationFunc": {
|
|
300
|
+
"description": "Aggregation function. It can be used with a \"numeric\" column type, and with some limitations with \"hierarchy\" and \"datetime\" column types.",
|
|
301
|
+
"enum": [
|
|
302
|
+
"average",
|
|
303
|
+
"count",
|
|
304
|
+
"cumulativesum",
|
|
305
|
+
"distinctcount",
|
|
306
|
+
"histogram",
|
|
307
|
+
"max",
|
|
308
|
+
"median",
|
|
309
|
+
"min",
|
|
310
|
+
"rate",
|
|
311
|
+
"stddev",
|
|
312
|
+
"sum",
|
|
313
|
+
"weightedaverage"
|
|
314
|
+
],
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
"aggregationWeight": {
|
|
318
|
+
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
319
|
+
"properties": {
|
|
320
|
+
"columnId": {
|
|
321
|
+
"description": "Column id",
|
|
322
|
+
"format": "uuid",
|
|
323
|
+
"type": "string"
|
|
324
|
+
},
|
|
325
|
+
"columnSubType": {
|
|
326
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json#/definitions/ColumnSubtype",
|
|
327
|
+
"description": "Column subtype"
|
|
328
|
+
},
|
|
329
|
+
"datasetId": {
|
|
330
|
+
"description": "Dataset id",
|
|
331
|
+
"format": "uuid",
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"type": "object"
|
|
336
|
+
},
|
|
337
|
+
"bins": {
|
|
338
|
+
"description": "Bin definition. It can be used when a \"numeric\" column is used as a category.",
|
|
339
|
+
"properties": {
|
|
340
|
+
"enabled": {
|
|
341
|
+
"description": "Enable or disable binning",
|
|
342
|
+
"type": "boolean"
|
|
343
|
+
},
|
|
344
|
+
"number": {
|
|
345
|
+
"description": "Defines the range of the bins",
|
|
346
|
+
"type": "number"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"type": "object"
|
|
350
|
+
},
|
|
351
|
+
"color": {
|
|
352
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
353
|
+
"type": [
|
|
354
|
+
"null",
|
|
355
|
+
"string"
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"columnId": {
|
|
359
|
+
"description": "Column id",
|
|
360
|
+
"format": "uuid",
|
|
361
|
+
"type": "string"
|
|
362
|
+
},
|
|
363
|
+
"currency": {
|
|
364
|
+
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
365
|
+
"type": [
|
|
366
|
+
"null",
|
|
367
|
+
"string"
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"datasetId": {
|
|
371
|
+
"description": "Dataset id",
|
|
372
|
+
"format": "uuid",
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"duration": {
|
|
376
|
+
"description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
|
|
377
|
+
"properties": {
|
|
378
|
+
"format": {
|
|
379
|
+
"description": "Duration format",
|
|
380
|
+
"enum": [
|
|
381
|
+
"long",
|
|
382
|
+
"short",
|
|
383
|
+
"time"
|
|
384
|
+
],
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"levels": {
|
|
388
|
+
"description": "Duration levels used",
|
|
389
|
+
"items": {
|
|
390
|
+
"type": "number"
|
|
391
|
+
},
|
|
392
|
+
"type": "array"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"type": "object"
|
|
396
|
+
},
|
|
397
|
+
"format": {
|
|
398
|
+
"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.",
|
|
399
|
+
"type": "string"
|
|
400
|
+
},
|
|
401
|
+
"formula": {
|
|
402
|
+
"description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"grandTotals": {
|
|
406
|
+
"description": "Enable or disable grand totals, they're only used in Pivot table",
|
|
407
|
+
"properties": {
|
|
408
|
+
"enabled": {
|
|
409
|
+
"type": "boolean"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"type": "object"
|
|
413
|
+
},
|
|
414
|
+
"label": {
|
|
415
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
416
|
+
"type": "object"
|
|
417
|
+
},
|
|
418
|
+
"periodOverPeriod": {
|
|
419
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
420
|
+
"properties": {
|
|
421
|
+
"level": {
|
|
422
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
423
|
+
"type": "number"
|
|
424
|
+
},
|
|
425
|
+
"periodToDate": {
|
|
426
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
427
|
+
"type": "boolean"
|
|
428
|
+
},
|
|
429
|
+
"quantity": {
|
|
430
|
+
"description": "Number of periods",
|
|
431
|
+
"type": "number"
|
|
432
|
+
},
|
|
433
|
+
"type": {
|
|
434
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
435
|
+
"enum": [
|
|
436
|
+
"change",
|
|
437
|
+
"none",
|
|
438
|
+
"past"
|
|
439
|
+
],
|
|
440
|
+
"type": "string"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"type": "object"
|
|
444
|
+
},
|
|
445
|
+
"subtype": {
|
|
446
|
+
"anyOf": [
|
|
447
|
+
{
|
|
448
|
+
"enum": [
|
|
449
|
+
"coordinates",
|
|
450
|
+
"currency",
|
|
451
|
+
"date",
|
|
452
|
+
"datetime",
|
|
453
|
+
"duration",
|
|
454
|
+
"hierarchy_element_expression",
|
|
455
|
+
"topography"
|
|
456
|
+
],
|
|
457
|
+
"type": "string"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"type": "null"
|
|
461
|
+
}
|
|
462
|
+
],
|
|
463
|
+
"description": "Column subtype"
|
|
464
|
+
},
|
|
465
|
+
"type": {
|
|
466
|
+
"const": "numeric",
|
|
467
|
+
"description": "\"numeric\" column / formula type",
|
|
468
|
+
"type": "string"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"type": "object"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"description": "Data definition of the Search filter",
|
|
475
|
+
"items": {
|
|
476
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json#/definitions/DimensionSlot"
|
|
477
|
+
},
|
|
478
|
+
"maxItems": 1,
|
|
479
|
+
"type": "array"
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
;
|
|
483
|
+
|
|
484
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"description": "Search Filter item",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"description": "Type of the item",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "search-filter"
|
|
11
|
+
},
|
|
12
|
+
"options": {
|
|
13
|
+
"description": "Options of the Search Filter item",
|
|
14
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-options.schema.json"
|
|
15
|
+
},
|
|
16
|
+
"slots": {
|
|
17
|
+
"description": "Data definition of the Search Filter item",
|
|
18
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/search-filter-slots.schema.json"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default _default;
|
|
@@ -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.90/slicer-filter-options.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"properties": {
|
|
5
5
|
"applyFiltersWithButton": {
|
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
},
|
|
10
10
|
"color": {
|
|
11
11
|
"default": "",
|
|
12
|
-
"description": "The main color for the item, if omitted the default color from the theme will be used
|
|
12
|
+
"description": "The main color for the item, if omitted the default color from the theme will be used",
|
|
13
13
|
"examples": [
|
|
14
14
|
"#FF5733",
|
|
15
15
|
"#33FF57",
|
|
@@ -813,6 +813,11 @@ declare const _default: {
|
|
|
813
813
|
],
|
|
814
814
|
"type": "string"
|
|
815
815
|
},
|
|
816
|
+
"lookupFiltering": {
|
|
817
|
+
"default": false,
|
|
818
|
+
"description": "Allow interactive filtering of charts with linked datasets",
|
|
819
|
+
"type": "boolean"
|
|
820
|
+
},
|
|
816
821
|
"manualMeasureRange": {
|
|
817
822
|
"default": [
|
|
818
823
|
[]
|
|
@@ -1170,12 +1175,7 @@ declare const _default: {
|
|
|
1170
1175
|
"properties": {
|
|
1171
1176
|
"font-style": {
|
|
1172
1177
|
"const": "normal",
|
|
1173
|
-
"description": "
|
|
1174
|
-
"examples": [
|
|
1175
|
-
"normal",
|
|
1176
|
-
"italic",
|
|
1177
|
-
"oblique"
|
|
1178
|
-
],
|
|
1178
|
+
"description": "Use it to reset the font style to \"normal\"",
|
|
1179
1179
|
"type": "string"
|
|
1180
1180
|
},
|
|
1181
1181
|
"font-weight": {
|
|
@@ -1314,7 +1314,7 @@ declare const _default: {
|
|
|
1314
1314
|
"type": "string"
|
|
1315
1315
|
},
|
|
1316
1316
|
"title": {
|
|
1317
|
-
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1317
|
+
"description": "Title in format { \"locale\": \"title\"}, for example, { \"en\": \"Title\"}",
|
|
1318
1318
|
"examples": [
|
|
1319
1319
|
{
|
|
1320
1320
|
"en": "Title"
|
|
@@ -1325,7 +1325,6 @@ declare const _default: {
|
|
|
1325
1325
|
},
|
|
1326
1326
|
"type": "object"
|
|
1327
1327
|
}
|
|
1328
|
-
|
|
1329
1328
|
;
|
|
1330
1329
|
|
|
1331
1330
|
export default _default;
|
|
@@ -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.90/slicer-filter-slots.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"definitions": {
|
|
5
5
|
"ColumnSubtype": {
|
|
@@ -161,13 +161,13 @@ declare const _default: {
|
|
|
161
161
|
"items": {
|
|
162
162
|
"anyOf": [
|
|
163
163
|
{
|
|
164
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
164
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/NumericSlotContent"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
167
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/HierarchySlotContent"
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
170
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
},
|
|
@@ -302,13 +302,13 @@ declare const _default: {
|
|
|
302
302
|
"items": {
|
|
303
303
|
"anyOf": [
|
|
304
304
|
{
|
|
305
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
305
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/NumericSlotContent"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
308
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/HierarchySlotContent"
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
311
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
312
312
|
}
|
|
313
313
|
]
|
|
314
314
|
},
|
|
@@ -352,7 +352,7 @@ declare const _default: {
|
|
|
352
352
|
"type": "string"
|
|
353
353
|
},
|
|
354
354
|
"columnSubType": {
|
|
355
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
355
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/ColumnSubtype",
|
|
356
356
|
"description": "Column subtype"
|
|
357
357
|
},
|
|
358
358
|
"datasetId": {
|
|
@@ -504,10 +504,10 @@ declare const _default: {
|
|
|
504
504
|
"items": {
|
|
505
505
|
"anyOf": [
|
|
506
506
|
{
|
|
507
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
507
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/MeasureSlot"
|
|
508
508
|
},
|
|
509
509
|
{
|
|
510
|
-
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
510
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/slicer-filter-slots.schema.json#/definitions/DimensionSlot"
|
|
511
511
|
}
|
|
512
512
|
]
|
|
513
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.90/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.90/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.90/slicer-filter-slots.schema.json"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
};
|