@luzmo/dashboard-contents-types 1.0.0 → 1.0.2
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 +17 -0
- package/README.md +154 -0
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +92 -286
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +91 -134
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +90 -170
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +91 -134
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +86 -180
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +86 -155
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +13 -40
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +89 -181
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +91 -134
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +91 -134
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +84 -233
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +4 -4
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +90 -145
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +84 -233
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +89 -181
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +90 -145
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/image-options.schema.json.d.ts +74 -339
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +91 -134
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/options.schema.json.d.ts +3 -0
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +85 -191
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +85 -191
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +89 -181
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +91 -134
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +84 -233
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +84 -233
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/slots.schema.json.d.ts +3 -0
- package/assets/json-schemas/text-options.schema.json.d.ts +75 -296
- package/index.js +229 -151
- package/index.mjs +2572 -4890
- package/json-schemas.d.ts +1392 -2137
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/area-chart/area-chart-options.d.ts +13 -7
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart-options.d.ts +6 -3
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
- package/src/lib/box-plot/box-plot-options.d.ts +6 -3
- package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +6 -3
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/bullet-chart/bullet-chart-options.d.ts +6 -1
- package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +6 -2
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -1
- package/src/lib/circular-gauge/circular-gauge-options.d.ts +6 -1
- package/src/lib/circular-gauge/circular-gauge-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts +6 -3
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/combination-chart/combination-chart-options.d.ts +6 -3
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
- package/src/lib/conditional-number/conditional-number-options.d.ts +6 -1
- package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
- package/src/lib/date-filter/date-filter-options.d.ts +7 -4
- package/src/lib/date-filter/date-filter-options.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-options.d.ts +6 -2
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +7 -3
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
- package/src/lib/evolution-number/evolution-number-options.d.ts +6 -1
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +6 -2
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
- package/src/lib/image/image-options.d.ts +6 -1
- package/src/lib/image/image-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-options.d.ts +6 -3
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts +6 -2
- package/src/lib/pivot-table/pivot-table-options.d.ts.map +1 -1
- package/src/lib/regular-table/regular-table-options.d.ts +6 -1
- package/src/lib/regular-table/regular-table-options.d.ts.map +1 -1
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +6 -2
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +6 -3
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
- package/src/lib/search-filter/search-filter-options.d.ts +6 -2
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -1
- package/src/lib/shared/index.d.ts +2 -3
- package/src/lib/shared/index.d.ts.map +1 -1
- package/src/lib/shared/object-view-options.d.ts +2 -1
- package/src/lib/shared/object-view-options.d.ts.map +1 -1
- package/src/lib/shared/slots.d.ts +8 -6
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/shared/theme.d.ts +87 -81
- package/src/lib/shared/theme.d.ts.map +1 -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/slicer-filter-options.d.ts +6 -2
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
- package/src/lib/slider-filter/slider-filter-options.d.ts +6 -2
- package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -1
- package/src/lib/text/text-options.d.ts +6 -1
- package/src/lib/text/text-options.d.ts.map +1 -1
- package/src/options.d.ts +1 -1
- package/src/options.d.ts.map +1 -1
- package/src/lib/shared/axis-view-options.d.ts +0 -3
- package/src/lib/shared/axis-view-options.d.ts.map +0 -1
|
@@ -280,6 +280,9 @@ declare const _default: {
|
|
|
280
280
|
"currency_id": {
|
|
281
281
|
"type": "string"
|
|
282
282
|
},
|
|
283
|
+
"description": {
|
|
284
|
+
"type": "object"
|
|
285
|
+
},
|
|
283
286
|
"duration_format": {
|
|
284
287
|
"enum": [
|
|
285
288
|
"long",
|
|
@@ -733,7 +736,7 @@ declare const _default: {
|
|
|
733
736
|
"type": "string"
|
|
734
737
|
},
|
|
735
738
|
"formula": {
|
|
736
|
-
"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.",
|
|
739
|
+
"description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
737
740
|
"type": "string"
|
|
738
741
|
},
|
|
739
742
|
"grandTotals": {
|
|
@@ -780,18 +783,18 @@ declare const _default: {
|
|
|
780
783
|
"type": "string"
|
|
781
784
|
},
|
|
782
785
|
"periodOverPeriod": {
|
|
783
|
-
"description": "Settings to configure period over period comparison",
|
|
786
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
784
787
|
"properties": {
|
|
785
788
|
"level": {
|
|
786
|
-
"description": "
|
|
789
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
787
790
|
"type": "number"
|
|
788
791
|
},
|
|
789
792
|
"periodToDate": {
|
|
790
|
-
"description": "period to date comparison",
|
|
793
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
791
794
|
"type": "boolean"
|
|
792
795
|
},
|
|
793
796
|
"quantity": {
|
|
794
|
-
"description": "
|
|
797
|
+
"description": "Number of periods",
|
|
795
798
|
"type": "number"
|
|
796
799
|
},
|
|
797
800
|
"type": {
|
|
@@ -949,6 +952,67 @@ declare const _default: {
|
|
|
949
952
|
},
|
|
950
953
|
"type": "object"
|
|
951
954
|
},
|
|
955
|
+
"loader": {
|
|
956
|
+
"description": "The loader configuration",
|
|
957
|
+
"properties": {
|
|
958
|
+
"background": {
|
|
959
|
+
"default": "#f9f9f9",
|
|
960
|
+
"description": "Background color of the chart loader element",
|
|
961
|
+
"type": "string"
|
|
962
|
+
},
|
|
963
|
+
"fontColor": {
|
|
964
|
+
"default": "#5a5a5a",
|
|
965
|
+
"description": "Font color of the text of the chart loaders",
|
|
966
|
+
"type": "string"
|
|
967
|
+
},
|
|
968
|
+
"locale": {
|
|
969
|
+
"default": "en",
|
|
970
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
971
|
+
"examples": [
|
|
972
|
+
"en",
|
|
973
|
+
"fr"
|
|
974
|
+
],
|
|
975
|
+
"type": "string"
|
|
976
|
+
},
|
|
977
|
+
"mode": {
|
|
978
|
+
"default": "light",
|
|
979
|
+
"description": "Light or dark loader",
|
|
980
|
+
"type": "string"
|
|
981
|
+
},
|
|
982
|
+
"msg": {
|
|
983
|
+
"description": "Loading message",
|
|
984
|
+
"examples": [
|
|
985
|
+
"Loading dashboard..."
|
|
986
|
+
],
|
|
987
|
+
"type": "string"
|
|
988
|
+
},
|
|
989
|
+
"showBranded": {
|
|
990
|
+
"default": false,
|
|
991
|
+
"description": "Shows the branded \"powered by\" information",
|
|
992
|
+
"type": "boolean"
|
|
993
|
+
},
|
|
994
|
+
"spinnerBackground": {
|
|
995
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
996
|
+
"description": "Background color of the spinner",
|
|
997
|
+
"type": "string"
|
|
998
|
+
},
|
|
999
|
+
"spinnerColor": {
|
|
1000
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
1001
|
+
"description": "Spinner color of the loader",
|
|
1002
|
+
"type": "string"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"type": "object"
|
|
1006
|
+
},
|
|
1007
|
+
"locale": {
|
|
1008
|
+
"default": "en",
|
|
1009
|
+
"description": "Locale to be used",
|
|
1010
|
+
"examples": [
|
|
1011
|
+
"en",
|
|
1012
|
+
"fr"
|
|
1013
|
+
],
|
|
1014
|
+
"type": "string"
|
|
1015
|
+
},
|
|
952
1016
|
"manualValues": {
|
|
953
1017
|
"default": [
|
|
954
1018
|
[]
|
|
@@ -1034,37 +1098,8 @@ declare const _default: {
|
|
|
1034
1098
|
"theme": {
|
|
1035
1099
|
"description": "Theme configuration",
|
|
1036
1100
|
"properties": {
|
|
1037
|
-
"axis": {
|
|
1038
|
-
"description": "Axis styling",
|
|
1039
|
-
"examples": [
|
|
1040
|
-
{
|
|
1041
|
-
"fontSize": 12
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"fontSize": 10
|
|
1045
|
-
}
|
|
1046
|
-
],
|
|
1047
|
-
"type": "object"
|
|
1048
|
-
},
|
|
1049
|
-
"background": {
|
|
1050
|
-
"description": "Background color",
|
|
1051
|
-
"examples": [
|
|
1052
|
-
"rgb(245, 245, 245)",
|
|
1053
|
-
"rgb(61, 61, 61)"
|
|
1054
|
-
],
|
|
1055
|
-
"type": "string"
|
|
1056
|
-
},
|
|
1057
|
-
"baseFontSize": {
|
|
1058
|
-
"description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
|
|
1059
|
-
"examples": [
|
|
1060
|
-
13,
|
|
1061
|
-
16,
|
|
1062
|
-
20
|
|
1063
|
-
],
|
|
1064
|
-
"type": "number"
|
|
1065
|
-
},
|
|
1066
1101
|
"borders": {
|
|
1067
|
-
"description": "
|
|
1102
|
+
"description": "Custom border styling",
|
|
1068
1103
|
"properties": {
|
|
1069
1104
|
"border-bottom-width": {
|
|
1070
1105
|
"description": "Border bottom width",
|
|
@@ -1133,7 +1168,7 @@ declare const _default: {
|
|
|
1133
1168
|
"type": "object"
|
|
1134
1169
|
},
|
|
1135
1170
|
"boxShadow": {
|
|
1136
|
-
"description": "
|
|
1171
|
+
"description": "Custom shadow styling",
|
|
1137
1172
|
"properties": {
|
|
1138
1173
|
"color": {
|
|
1139
1174
|
"description": "Shadow color",
|
|
@@ -1162,55 +1197,8 @@ declare const _default: {
|
|
|
1162
1197
|
},
|
|
1163
1198
|
"type": "object"
|
|
1164
1199
|
},
|
|
1165
|
-
"colors": {
|
|
1166
|
-
"description": "A list of theme colors",
|
|
1167
|
-
"examples": [
|
|
1168
|
-
[
|
|
1169
|
-
"rgb(122, 112, 112)",
|
|
1170
|
-
"rgb(175, 169, 169)",
|
|
1171
|
-
"rgb(228, 226, 226)"
|
|
1172
|
-
],
|
|
1173
|
-
[
|
|
1174
|
-
"rgb(48, 36, 179)",
|
|
1175
|
-
"rgb(105, 93, 255)",
|
|
1176
|
-
"rgb(199, 194, 255)",
|
|
1177
|
-
"rgb(134, 4, 129)",
|
|
1178
|
-
"rgb(204, 55, 198)",
|
|
1179
|
-
"rgb(236, 180, 234)",
|
|
1180
|
-
"rgb(220, 141, 0)",
|
|
1181
|
-
"rgb(249, 206, 61)",
|
|
1182
|
-
"rgb(253, 237, 182)",
|
|
1183
|
-
"rgb(6, 142, 84)",
|
|
1184
|
-
"rgb(58, 213, 147)",
|
|
1185
|
-
"rgb(181, 239, 215)",
|
|
1186
|
-
"rgb(85, 78, 78)",
|
|
1187
|
-
"rgb(149, 141, 141)",
|
|
1188
|
-
"rgb(215, 212, 212)"
|
|
1189
|
-
]
|
|
1190
|
-
],
|
|
1191
|
-
"items": {
|
|
1192
|
-
"type": "string"
|
|
1193
|
-
},
|
|
1194
|
-
"type": "array"
|
|
1195
|
-
},
|
|
1196
|
-
"editBackground": {
|
|
1197
|
-
"description": "Edit background",
|
|
1198
|
-
"examples": [
|
|
1199
|
-
"rgb(228, 228, 228)",
|
|
1200
|
-
"rgb(245, 245, 245)",
|
|
1201
|
-
"rgb(61, 61, 61)"
|
|
1202
|
-
],
|
|
1203
|
-
"type": "string"
|
|
1204
|
-
},
|
|
1205
|
-
"editModeBackground": {
|
|
1206
|
-
"description": "Edit mode background",
|
|
1207
|
-
"examples": [
|
|
1208
|
-
"rgb(245, 245, 245)"
|
|
1209
|
-
],
|
|
1210
|
-
"type": "string"
|
|
1211
|
-
},
|
|
1212
1200
|
"font": {
|
|
1213
|
-
"description": "
|
|
1201
|
+
"description": "Custom font styling",
|
|
1214
1202
|
"properties": {
|
|
1215
1203
|
"font-style": {
|
|
1216
1204
|
"const": "normal",
|
|
@@ -1254,40 +1242,15 @@ declare const _default: {
|
|
|
1254
1242
|
"type": "object"
|
|
1255
1243
|
},
|
|
1256
1244
|
"id": {
|
|
1257
|
-
"description": "Id of the theme,
|
|
1245
|
+
"description": "Id of the theme, for example, \"seasonal\", \"urban\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.",
|
|
1258
1246
|
"examples": [
|
|
1259
1247
|
"seasonal",
|
|
1260
1248
|
"urban"
|
|
1261
1249
|
],
|
|
1262
1250
|
"type": "string"
|
|
1263
1251
|
},
|
|
1264
|
-
"itemSpecific": {
|
|
1265
|
-
"description": "Item specific styling",
|
|
1266
|
-
"properties": {
|
|
1267
|
-
"padding": {
|
|
1268
|
-
"description": "Padding of the item",
|
|
1269
|
-
"examples": [
|
|
1270
|
-
0,
|
|
1271
|
-
4,
|
|
1272
|
-
8,
|
|
1273
|
-
10
|
|
1274
|
-
],
|
|
1275
|
-
"type": "number"
|
|
1276
|
-
},
|
|
1277
|
-
"rounding": {
|
|
1278
|
-
"description": "Rounding of the item",
|
|
1279
|
-
"examples": [
|
|
1280
|
-
0,
|
|
1281
|
-
8,
|
|
1282
|
-
12
|
|
1283
|
-
],
|
|
1284
|
-
"type": "number"
|
|
1285
|
-
}
|
|
1286
|
-
},
|
|
1287
|
-
"type": "object"
|
|
1288
|
-
},
|
|
1289
1252
|
"itemsBackground": {
|
|
1290
|
-
"description": "
|
|
1253
|
+
"description": "Custom item background color",
|
|
1291
1254
|
"examples": [
|
|
1292
1255
|
"rgb(255, 255, 255)",
|
|
1293
1256
|
"rgb(71, 69, 69)",
|
|
@@ -1296,7 +1259,7 @@ declare const _default: {
|
|
|
1296
1259
|
"type": "string"
|
|
1297
1260
|
},
|
|
1298
1261
|
"legend": {
|
|
1299
|
-
"description": "
|
|
1262
|
+
"description": "Custom legend styling",
|
|
1300
1263
|
"properties": {
|
|
1301
1264
|
"fontSize": {
|
|
1302
1265
|
"description": "Legend font size in px",
|
|
@@ -1332,48 +1295,8 @@ declare const _default: {
|
|
|
1332
1295
|
},
|
|
1333
1296
|
"type": "object"
|
|
1334
1297
|
},
|
|
1335
|
-
"mainColor": {
|
|
1336
|
-
"description": "Theme main color",
|
|
1337
|
-
"examples": [
|
|
1338
|
-
"rgb(123, 144, 255)",
|
|
1339
|
-
"rgb(255, 174, 52)",
|
|
1340
|
-
"rgb(123, 144, 255)"
|
|
1341
|
-
],
|
|
1342
|
-
"type": "string"
|
|
1343
|
-
},
|
|
1344
|
-
"margins": {
|
|
1345
|
-
"description": "Dashboard vertical and horizontal margins",
|
|
1346
|
-
"examples": [
|
|
1347
|
-
[
|
|
1348
|
-
16,
|
|
1349
|
-
16
|
|
1350
|
-
],
|
|
1351
|
-
[
|
|
1352
|
-
20,
|
|
1353
|
-
20
|
|
1354
|
-
]
|
|
1355
|
-
],
|
|
1356
|
-
"items": [
|
|
1357
|
-
{
|
|
1358
|
-
"type": "number"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
"type": "number"
|
|
1362
|
-
}
|
|
1363
|
-
],
|
|
1364
|
-
"maxItems": 2,
|
|
1365
|
-
"minItems": 2,
|
|
1366
|
-
"type": "array"
|
|
1367
|
-
},
|
|
1368
|
-
"name": {
|
|
1369
|
-
"description": "Theme name",
|
|
1370
|
-
"examples": [
|
|
1371
|
-
"manual"
|
|
1372
|
-
],
|
|
1373
|
-
"type": "string"
|
|
1374
|
-
},
|
|
1375
1298
|
"title": {
|
|
1376
|
-
"description": "
|
|
1299
|
+
"description": "Custom title styling",
|
|
1377
1300
|
"properties": {
|
|
1378
1301
|
"align": {
|
|
1379
1302
|
"description": "Title align",
|
|
@@ -1442,7 +1365,7 @@ declare const _default: {
|
|
|
1442
1365
|
"type": "object"
|
|
1443
1366
|
},
|
|
1444
1367
|
"tooltip": {
|
|
1445
|
-
"description": "
|
|
1368
|
+
"description": "Custom tooltip styling",
|
|
1446
1369
|
"properties": {
|
|
1447
1370
|
"background": {
|
|
1448
1371
|
"description": "Tooltip's background",
|
|
@@ -1485,7 +1408,7 @@ declare const _default: {
|
|
|
1485
1408
|
"type": "object"
|
|
1486
1409
|
},
|
|
1487
1410
|
"type": {
|
|
1488
|
-
"description": "
|
|
1411
|
+
"description": "It should be \"custom\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.",
|
|
1489
1412
|
"examples": [
|
|
1490
1413
|
"custom"
|
|
1491
1414
|
],
|
|
@@ -1537,6 +1460,14 @@ declare const _default: {
|
|
|
1537
1460
|
},
|
|
1538
1461
|
"type": "object"
|
|
1539
1462
|
},
|
|
1463
|
+
"timezoneId": {
|
|
1464
|
+
"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",
|
|
1465
|
+
"examples": [
|
|
1466
|
+
"Europe/Brussels",
|
|
1467
|
+
"America/New_York"
|
|
1468
|
+
],
|
|
1469
|
+
"type": "string"
|
|
1470
|
+
},
|
|
1540
1471
|
"title": {
|
|
1541
1472
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1542
1473
|
"examples": [
|
|
@@ -124,18 +124,18 @@ declare const _default: {
|
|
|
124
124
|
"type": "string"
|
|
125
125
|
},
|
|
126
126
|
"periodOverPeriod": {
|
|
127
|
-
"description": "Settings to configure period over period comparison",
|
|
127
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
128
128
|
"properties": {
|
|
129
129
|
"level": {
|
|
130
|
-
"description": "
|
|
130
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
131
131
|
"type": "number"
|
|
132
132
|
},
|
|
133
133
|
"periodToDate": {
|
|
134
|
-
"description": "period to date comparison",
|
|
134
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
135
135
|
"type": "boolean"
|
|
136
136
|
},
|
|
137
137
|
"quantity": {
|
|
138
|
-
"description": "
|
|
138
|
+
"description": "Number of periods",
|
|
139
139
|
"type": "number"
|
|
140
140
|
},
|
|
141
141
|
"type": {
|
|
@@ -257,18 +257,18 @@ declare const _default: {
|
|
|
257
257
|
]
|
|
258
258
|
},
|
|
259
259
|
"periodOverPeriod": {
|
|
260
|
-
"description": "Settings to configure period over period comparison",
|
|
260
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
261
261
|
"properties": {
|
|
262
262
|
"level": {
|
|
263
|
-
"description": "
|
|
263
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
264
264
|
"type": "number"
|
|
265
265
|
},
|
|
266
266
|
"periodToDate": {
|
|
267
|
-
"description": "period to date comparison",
|
|
267
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
268
268
|
"type": "boolean"
|
|
269
269
|
},
|
|
270
270
|
"quantity": {
|
|
271
|
-
"description": "
|
|
271
|
+
"description": "Number of periods",
|
|
272
272
|
"type": "number"
|
|
273
273
|
},
|
|
274
274
|
"type": {
|
|
@@ -445,7 +445,7 @@ declare const _default: {
|
|
|
445
445
|
"type": "string"
|
|
446
446
|
},
|
|
447
447
|
"formula": {
|
|
448
|
-
"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.",
|
|
448
|
+
"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",
|
|
449
449
|
"type": "string"
|
|
450
450
|
},
|
|
451
451
|
"grandTotals": {
|
|
@@ -462,18 +462,18 @@ declare const _default: {
|
|
|
462
462
|
"type": "object"
|
|
463
463
|
},
|
|
464
464
|
"periodOverPeriod": {
|
|
465
|
-
"description": "Settings to configure period over period comparison",
|
|
465
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
466
466
|
"properties": {
|
|
467
467
|
"level": {
|
|
468
|
-
"description": "
|
|
468
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
469
469
|
"type": "number"
|
|
470
470
|
},
|
|
471
471
|
"periodToDate": {
|
|
472
|
-
"description": "period to date comparison",
|
|
472
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
473
473
|
"type": "boolean"
|
|
474
474
|
},
|
|
475
475
|
"quantity": {
|
|
476
|
-
"description": "
|
|
476
|
+
"description": "Number of periods",
|
|
477
477
|
"type": "number"
|
|
478
478
|
},
|
|
479
479
|
"type": {
|
|
@@ -543,33 +543,6 @@ declare const _default: {
|
|
|
543
543
|
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
544
544
|
"type": "object"
|
|
545
545
|
},
|
|
546
|
-
"periodOverPeriod": {
|
|
547
|
-
"description": "Settings to configure period over period comparison",
|
|
548
|
-
"properties": {
|
|
549
|
-
"level": {
|
|
550
|
-
"description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
551
|
-
"type": "number"
|
|
552
|
-
},
|
|
553
|
-
"periodToDate": {
|
|
554
|
-
"description": "period to date comparison",
|
|
555
|
-
"type": "boolean"
|
|
556
|
-
},
|
|
557
|
-
"quantity": {
|
|
558
|
-
"description": "number of periods",
|
|
559
|
-
"type": "number"
|
|
560
|
-
},
|
|
561
|
-
"type": {
|
|
562
|
-
"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",
|
|
563
|
-
"enum": [
|
|
564
|
-
"change",
|
|
565
|
-
"none",
|
|
566
|
-
"past"
|
|
567
|
-
],
|
|
568
|
-
"type": "string"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
"type": "object"
|
|
572
|
-
},
|
|
573
546
|
"subtype": {
|
|
574
547
|
"anyOf": [
|
|
575
548
|
{
|