@luzmo/dashboard-contents-types 1.0.1 → 1.0.3
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/assets/json-schemas/area-chart-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +16 -165
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +12 -175
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +12 -150
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +15 -176
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +10 -228
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +16 -140
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +10 -228
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +15 -176
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +16 -140
- package/assets/json-schemas/image-options.schema.json.d.ts +5 -339
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +11 -186
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +11 -186
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +15 -176
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +17 -129
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +1051 -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 +10 -228
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +10 -228
- package/assets/json-schemas/text-options.schema.json.d.ts +6 -296
- package/index.js +66 -45
- package/index.mjs +2025 -4267
- package/json-schemas.d.ts +1173 -1938
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/area-chart/area-chart-options.d.ts +6 -3
- 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 +6 -2
- 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 +6 -1
- 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 +12 -2
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -1
- package/src/lib/shared/index.d.ts +1 -3
- package/src/lib/shared/index.d.ts.map +1 -1
- package/src/lib/shared/slots.d.ts +1 -0
- 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/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/lib/shared/axis-view-options.d.ts +0 -3
- package/src/lib/shared/axis-view-options.d.ts.map +0 -1
|
@@ -129,6 +129,9 @@ declare const _default: {
|
|
|
129
129
|
"currency_id": {
|
|
130
130
|
"type": "string"
|
|
131
131
|
},
|
|
132
|
+
"description": {
|
|
133
|
+
"type": "object"
|
|
134
|
+
},
|
|
132
135
|
"duration_format": {
|
|
133
136
|
"enum": [
|
|
134
137
|
"long",
|
|
@@ -1063,37 +1066,8 @@ declare const _default: {
|
|
|
1063
1066
|
"theme": {
|
|
1064
1067
|
"description": "Theme configuration",
|
|
1065
1068
|
"properties": {
|
|
1066
|
-
"axis": {
|
|
1067
|
-
"description": "Axis styling",
|
|
1068
|
-
"examples": [
|
|
1069
|
-
{
|
|
1070
|
-
"fontSize": 12
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"fontSize": 10
|
|
1074
|
-
}
|
|
1075
|
-
],
|
|
1076
|
-
"type": "object"
|
|
1077
|
-
},
|
|
1078
|
-
"background": {
|
|
1079
|
-
"description": "Background color",
|
|
1080
|
-
"examples": [
|
|
1081
|
-
"rgb(245, 245, 245)",
|
|
1082
|
-
"rgb(61, 61, 61)"
|
|
1083
|
-
],
|
|
1084
|
-
"type": "string"
|
|
1085
|
-
},
|
|
1086
|
-
"baseFontSize": {
|
|
1087
|
-
"description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
|
|
1088
|
-
"examples": [
|
|
1089
|
-
13,
|
|
1090
|
-
16,
|
|
1091
|
-
20
|
|
1092
|
-
],
|
|
1093
|
-
"type": "number"
|
|
1094
|
-
},
|
|
1095
1069
|
"borders": {
|
|
1096
|
-
"description": "
|
|
1070
|
+
"description": "Custom border styling",
|
|
1097
1071
|
"properties": {
|
|
1098
1072
|
"border-bottom-width": {
|
|
1099
1073
|
"description": "Border bottom width",
|
|
@@ -1162,7 +1136,7 @@ declare const _default: {
|
|
|
1162
1136
|
"type": "object"
|
|
1163
1137
|
},
|
|
1164
1138
|
"boxShadow": {
|
|
1165
|
-
"description": "
|
|
1139
|
+
"description": "Custom shadow styling",
|
|
1166
1140
|
"properties": {
|
|
1167
1141
|
"color": {
|
|
1168
1142
|
"description": "Shadow color",
|
|
@@ -1191,55 +1165,8 @@ declare const _default: {
|
|
|
1191
1165
|
},
|
|
1192
1166
|
"type": "object"
|
|
1193
1167
|
},
|
|
1194
|
-
"colors": {
|
|
1195
|
-
"description": "A list of theme colors",
|
|
1196
|
-
"examples": [
|
|
1197
|
-
[
|
|
1198
|
-
"rgb(122, 112, 112)",
|
|
1199
|
-
"rgb(175, 169, 169)",
|
|
1200
|
-
"rgb(228, 226, 226)"
|
|
1201
|
-
],
|
|
1202
|
-
[
|
|
1203
|
-
"rgb(48, 36, 179)",
|
|
1204
|
-
"rgb(105, 93, 255)",
|
|
1205
|
-
"rgb(199, 194, 255)",
|
|
1206
|
-
"rgb(134, 4, 129)",
|
|
1207
|
-
"rgb(204, 55, 198)",
|
|
1208
|
-
"rgb(236, 180, 234)",
|
|
1209
|
-
"rgb(220, 141, 0)",
|
|
1210
|
-
"rgb(249, 206, 61)",
|
|
1211
|
-
"rgb(253, 237, 182)",
|
|
1212
|
-
"rgb(6, 142, 84)",
|
|
1213
|
-
"rgb(58, 213, 147)",
|
|
1214
|
-
"rgb(181, 239, 215)",
|
|
1215
|
-
"rgb(85, 78, 78)",
|
|
1216
|
-
"rgb(149, 141, 141)",
|
|
1217
|
-
"rgb(215, 212, 212)"
|
|
1218
|
-
]
|
|
1219
|
-
],
|
|
1220
|
-
"items": {
|
|
1221
|
-
"type": "string"
|
|
1222
|
-
},
|
|
1223
|
-
"type": "array"
|
|
1224
|
-
},
|
|
1225
|
-
"editBackground": {
|
|
1226
|
-
"description": "Edit background",
|
|
1227
|
-
"examples": [
|
|
1228
|
-
"rgb(228, 228, 228)",
|
|
1229
|
-
"rgb(245, 245, 245)",
|
|
1230
|
-
"rgb(61, 61, 61)"
|
|
1231
|
-
],
|
|
1232
|
-
"type": "string"
|
|
1233
|
-
},
|
|
1234
|
-
"editModeBackground": {
|
|
1235
|
-
"description": "Edit mode background",
|
|
1236
|
-
"examples": [
|
|
1237
|
-
"rgb(245, 245, 245)"
|
|
1238
|
-
],
|
|
1239
|
-
"type": "string"
|
|
1240
|
-
},
|
|
1241
1168
|
"font": {
|
|
1242
|
-
"description": "
|
|
1169
|
+
"description": "Custom font styling",
|
|
1243
1170
|
"properties": {
|
|
1244
1171
|
"font-style": {
|
|
1245
1172
|
"const": "normal",
|
|
@@ -1283,40 +1210,15 @@ declare const _default: {
|
|
|
1283
1210
|
"type": "object"
|
|
1284
1211
|
},
|
|
1285
1212
|
"id": {
|
|
1286
|
-
"description": "Id of the theme,
|
|
1213
|
+
"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.",
|
|
1287
1214
|
"examples": [
|
|
1288
1215
|
"seasonal",
|
|
1289
1216
|
"urban"
|
|
1290
1217
|
],
|
|
1291
1218
|
"type": "string"
|
|
1292
1219
|
},
|
|
1293
|
-
"itemSpecific": {
|
|
1294
|
-
"description": "Item specific styling",
|
|
1295
|
-
"properties": {
|
|
1296
|
-
"padding": {
|
|
1297
|
-
"description": "Padding of the item",
|
|
1298
|
-
"examples": [
|
|
1299
|
-
0,
|
|
1300
|
-
4,
|
|
1301
|
-
8,
|
|
1302
|
-
10
|
|
1303
|
-
],
|
|
1304
|
-
"type": "number"
|
|
1305
|
-
},
|
|
1306
|
-
"rounding": {
|
|
1307
|
-
"description": "Rounding of the item",
|
|
1308
|
-
"examples": [
|
|
1309
|
-
0,
|
|
1310
|
-
8,
|
|
1311
|
-
12
|
|
1312
|
-
],
|
|
1313
|
-
"type": "number"
|
|
1314
|
-
}
|
|
1315
|
-
},
|
|
1316
|
-
"type": "object"
|
|
1317
|
-
},
|
|
1318
1220
|
"itemsBackground": {
|
|
1319
|
-
"description": "
|
|
1221
|
+
"description": "Custom item background color",
|
|
1320
1222
|
"examples": [
|
|
1321
1223
|
"rgb(255, 255, 255)",
|
|
1322
1224
|
"rgb(71, 69, 69)",
|
|
@@ -1324,85 +1226,8 @@ declare const _default: {
|
|
|
1324
1226
|
],
|
|
1325
1227
|
"type": "string"
|
|
1326
1228
|
},
|
|
1327
|
-
"legend": {
|
|
1328
|
-
"description": "Legend styling",
|
|
1329
|
-
"properties": {
|
|
1330
|
-
"fontSize": {
|
|
1331
|
-
"description": "Legend font size in px",
|
|
1332
|
-
"examples": [
|
|
1333
|
-
12,
|
|
1334
|
-
16
|
|
1335
|
-
],
|
|
1336
|
-
"type": "number"
|
|
1337
|
-
},
|
|
1338
|
-
"lineHeight": {
|
|
1339
|
-
"description": "Legend line height in px",
|
|
1340
|
-
"examples": [
|
|
1341
|
-
12,
|
|
1342
|
-
16,
|
|
1343
|
-
20
|
|
1344
|
-
],
|
|
1345
|
-
"type": "number"
|
|
1346
|
-
},
|
|
1347
|
-
"type": {
|
|
1348
|
-
"description": "Legend type",
|
|
1349
|
-
"enum": [
|
|
1350
|
-
"circle",
|
|
1351
|
-
"line",
|
|
1352
|
-
"normal"
|
|
1353
|
-
],
|
|
1354
|
-
"examples": [
|
|
1355
|
-
"normal",
|
|
1356
|
-
"line",
|
|
1357
|
-
"circle"
|
|
1358
|
-
],
|
|
1359
|
-
"type": "string"
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
"type": "object"
|
|
1363
|
-
},
|
|
1364
|
-
"mainColor": {
|
|
1365
|
-
"description": "Theme main color",
|
|
1366
|
-
"examples": [
|
|
1367
|
-
"rgb(123, 144, 255)",
|
|
1368
|
-
"rgb(255, 174, 52)",
|
|
1369
|
-
"rgb(123, 144, 255)"
|
|
1370
|
-
],
|
|
1371
|
-
"type": "string"
|
|
1372
|
-
},
|
|
1373
|
-
"margins": {
|
|
1374
|
-
"description": "Dashboard vertical and horizontal margins",
|
|
1375
|
-
"examples": [
|
|
1376
|
-
[
|
|
1377
|
-
16,
|
|
1378
|
-
16
|
|
1379
|
-
],
|
|
1380
|
-
[
|
|
1381
|
-
20,
|
|
1382
|
-
20
|
|
1383
|
-
]
|
|
1384
|
-
],
|
|
1385
|
-
"items": [
|
|
1386
|
-
{
|
|
1387
|
-
"type": "number"
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"type": "number"
|
|
1391
|
-
}
|
|
1392
|
-
],
|
|
1393
|
-
"maxItems": 2,
|
|
1394
|
-
"minItems": 2,
|
|
1395
|
-
"type": "array"
|
|
1396
|
-
},
|
|
1397
|
-
"name": {
|
|
1398
|
-
"description": "Theme name",
|
|
1399
|
-
"examples": [
|
|
1400
|
-
"manual"
|
|
1401
|
-
],
|
|
1402
|
-
"type": "string"
|
|
1403
|
-
},
|
|
1404
1229
|
"title": {
|
|
1405
|
-
"description": "
|
|
1230
|
+
"description": "Custom title styling",
|
|
1406
1231
|
"properties": {
|
|
1407
1232
|
"align": {
|
|
1408
1233
|
"description": "Title align",
|
|
@@ -1470,51 +1295,8 @@ declare const _default: {
|
|
|
1470
1295
|
},
|
|
1471
1296
|
"type": "object"
|
|
1472
1297
|
},
|
|
1473
|
-
"tooltip": {
|
|
1474
|
-
"description": "Tooltip styling",
|
|
1475
|
-
"properties": {
|
|
1476
|
-
"background": {
|
|
1477
|
-
"description": "Tooltip's background",
|
|
1478
|
-
"examples": [
|
|
1479
|
-
"rgb(248, 248, 248)",
|
|
1480
|
-
"rgb(248, 248, 248)",
|
|
1481
|
-
"rgb(130, 128, 128)",
|
|
1482
|
-
"rgb(61, 61, 61)"
|
|
1483
|
-
],
|
|
1484
|
-
"type": "string"
|
|
1485
|
-
},
|
|
1486
|
-
"fontSize": {
|
|
1487
|
-
"description": "Tooltip's font size in px",
|
|
1488
|
-
"examples": [
|
|
1489
|
-
12,
|
|
1490
|
-
16,
|
|
1491
|
-
20
|
|
1492
|
-
],
|
|
1493
|
-
"type": "number"
|
|
1494
|
-
},
|
|
1495
|
-
"lineHeight": {
|
|
1496
|
-
"description": "Tooltip's line height in px",
|
|
1497
|
-
"examples": [
|
|
1498
|
-
12,
|
|
1499
|
-
16,
|
|
1500
|
-
20
|
|
1501
|
-
],
|
|
1502
|
-
"type": "number"
|
|
1503
|
-
},
|
|
1504
|
-
"opacity": {
|
|
1505
|
-
"description": "Tooltip's opacity",
|
|
1506
|
-
"examples": [
|
|
1507
|
-
0.5,
|
|
1508
|
-
0.8,
|
|
1509
|
-
1
|
|
1510
|
-
],
|
|
1511
|
-
"type": "number"
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
"type": "object"
|
|
1515
|
-
},
|
|
1516
1298
|
"type": {
|
|
1517
|
-
"description": "
|
|
1299
|
+
"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.",
|
|
1518
1300
|
"examples": [
|
|
1519
1301
|
"custom"
|
|
1520
1302
|
],
|
|
@@ -92,6 +92,9 @@ declare const _default: {
|
|
|
92
92
|
"currency_id": {
|
|
93
93
|
"type": "string"
|
|
94
94
|
},
|
|
95
|
+
"description": {
|
|
96
|
+
"type": "object"
|
|
97
|
+
},
|
|
95
98
|
"duration_format": {
|
|
96
99
|
"enum": [
|
|
97
100
|
"long",
|
|
@@ -775,37 +778,8 @@ declare const _default: {
|
|
|
775
778
|
"theme": {
|
|
776
779
|
"description": "Theme configuration",
|
|
777
780
|
"properties": {
|
|
778
|
-
"axis": {
|
|
779
|
-
"description": "Axis styling",
|
|
780
|
-
"examples": [
|
|
781
|
-
{
|
|
782
|
-
"fontSize": 12
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"fontSize": 10
|
|
786
|
-
}
|
|
787
|
-
],
|
|
788
|
-
"type": "object"
|
|
789
|
-
},
|
|
790
|
-
"background": {
|
|
791
|
-
"description": "Background color",
|
|
792
|
-
"examples": [
|
|
793
|
-
"rgb(245, 245, 245)",
|
|
794
|
-
"rgb(61, 61, 61)"
|
|
795
|
-
],
|
|
796
|
-
"type": "string"
|
|
797
|
-
},
|
|
798
|
-
"baseFontSize": {
|
|
799
|
-
"description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
|
|
800
|
-
"examples": [
|
|
801
|
-
13,
|
|
802
|
-
16,
|
|
803
|
-
20
|
|
804
|
-
],
|
|
805
|
-
"type": "number"
|
|
806
|
-
},
|
|
807
781
|
"borders": {
|
|
808
|
-
"description": "
|
|
782
|
+
"description": "Custom border styling",
|
|
809
783
|
"properties": {
|
|
810
784
|
"border-bottom-width": {
|
|
811
785
|
"description": "Border bottom width",
|
|
@@ -874,7 +848,7 @@ declare const _default: {
|
|
|
874
848
|
"type": "object"
|
|
875
849
|
},
|
|
876
850
|
"boxShadow": {
|
|
877
|
-
"description": "
|
|
851
|
+
"description": "Custom shadow styling",
|
|
878
852
|
"properties": {
|
|
879
853
|
"color": {
|
|
880
854
|
"description": "Shadow color",
|
|
@@ -903,55 +877,8 @@ declare const _default: {
|
|
|
903
877
|
},
|
|
904
878
|
"type": "object"
|
|
905
879
|
},
|
|
906
|
-
"colors": {
|
|
907
|
-
"description": "A list of theme colors",
|
|
908
|
-
"examples": [
|
|
909
|
-
[
|
|
910
|
-
"rgb(122, 112, 112)",
|
|
911
|
-
"rgb(175, 169, 169)",
|
|
912
|
-
"rgb(228, 226, 226)"
|
|
913
|
-
],
|
|
914
|
-
[
|
|
915
|
-
"rgb(48, 36, 179)",
|
|
916
|
-
"rgb(105, 93, 255)",
|
|
917
|
-
"rgb(199, 194, 255)",
|
|
918
|
-
"rgb(134, 4, 129)",
|
|
919
|
-
"rgb(204, 55, 198)",
|
|
920
|
-
"rgb(236, 180, 234)",
|
|
921
|
-
"rgb(220, 141, 0)",
|
|
922
|
-
"rgb(249, 206, 61)",
|
|
923
|
-
"rgb(253, 237, 182)",
|
|
924
|
-
"rgb(6, 142, 84)",
|
|
925
|
-
"rgb(58, 213, 147)",
|
|
926
|
-
"rgb(181, 239, 215)",
|
|
927
|
-
"rgb(85, 78, 78)",
|
|
928
|
-
"rgb(149, 141, 141)",
|
|
929
|
-
"rgb(215, 212, 212)"
|
|
930
|
-
]
|
|
931
|
-
],
|
|
932
|
-
"items": {
|
|
933
|
-
"type": "string"
|
|
934
|
-
},
|
|
935
|
-
"type": "array"
|
|
936
|
-
},
|
|
937
|
-
"editBackground": {
|
|
938
|
-
"description": "Edit background",
|
|
939
|
-
"examples": [
|
|
940
|
-
"rgb(228, 228, 228)",
|
|
941
|
-
"rgb(245, 245, 245)",
|
|
942
|
-
"rgb(61, 61, 61)"
|
|
943
|
-
],
|
|
944
|
-
"type": "string"
|
|
945
|
-
},
|
|
946
|
-
"editModeBackground": {
|
|
947
|
-
"description": "Edit mode background",
|
|
948
|
-
"examples": [
|
|
949
|
-
"rgb(245, 245, 245)"
|
|
950
|
-
],
|
|
951
|
-
"type": "string"
|
|
952
|
-
},
|
|
953
880
|
"font": {
|
|
954
|
-
"description": "
|
|
881
|
+
"description": "Custom font styling",
|
|
955
882
|
"properties": {
|
|
956
883
|
"font-style": {
|
|
957
884
|
"const": "normal",
|
|
@@ -995,40 +922,15 @@ declare const _default: {
|
|
|
995
922
|
"type": "object"
|
|
996
923
|
},
|
|
997
924
|
"id": {
|
|
998
|
-
"description": "Id of the theme,
|
|
925
|
+
"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.",
|
|
999
926
|
"examples": [
|
|
1000
927
|
"seasonal",
|
|
1001
928
|
"urban"
|
|
1002
929
|
],
|
|
1003
930
|
"type": "string"
|
|
1004
931
|
},
|
|
1005
|
-
"itemSpecific": {
|
|
1006
|
-
"description": "Item specific styling",
|
|
1007
|
-
"properties": {
|
|
1008
|
-
"padding": {
|
|
1009
|
-
"description": "Padding of the item",
|
|
1010
|
-
"examples": [
|
|
1011
|
-
0,
|
|
1012
|
-
4,
|
|
1013
|
-
8,
|
|
1014
|
-
10
|
|
1015
|
-
],
|
|
1016
|
-
"type": "number"
|
|
1017
|
-
},
|
|
1018
|
-
"rounding": {
|
|
1019
|
-
"description": "Rounding of the item",
|
|
1020
|
-
"examples": [
|
|
1021
|
-
0,
|
|
1022
|
-
8,
|
|
1023
|
-
12
|
|
1024
|
-
],
|
|
1025
|
-
"type": "number"
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
"type": "object"
|
|
1029
|
-
},
|
|
1030
932
|
"itemsBackground": {
|
|
1031
|
-
"description": "
|
|
933
|
+
"description": "Custom item background color",
|
|
1032
934
|
"examples": [
|
|
1033
935
|
"rgb(255, 255, 255)",
|
|
1034
936
|
"rgb(71, 69, 69)",
|
|
@@ -1036,85 +938,8 @@ declare const _default: {
|
|
|
1036
938
|
],
|
|
1037
939
|
"type": "string"
|
|
1038
940
|
},
|
|
1039
|
-
"legend": {
|
|
1040
|
-
"description": "Legend styling",
|
|
1041
|
-
"properties": {
|
|
1042
|
-
"fontSize": {
|
|
1043
|
-
"description": "Legend font size in px",
|
|
1044
|
-
"examples": [
|
|
1045
|
-
12,
|
|
1046
|
-
16
|
|
1047
|
-
],
|
|
1048
|
-
"type": "number"
|
|
1049
|
-
},
|
|
1050
|
-
"lineHeight": {
|
|
1051
|
-
"description": "Legend line height in px",
|
|
1052
|
-
"examples": [
|
|
1053
|
-
12,
|
|
1054
|
-
16,
|
|
1055
|
-
20
|
|
1056
|
-
],
|
|
1057
|
-
"type": "number"
|
|
1058
|
-
},
|
|
1059
|
-
"type": {
|
|
1060
|
-
"description": "Legend type",
|
|
1061
|
-
"enum": [
|
|
1062
|
-
"circle",
|
|
1063
|
-
"line",
|
|
1064
|
-
"normal"
|
|
1065
|
-
],
|
|
1066
|
-
"examples": [
|
|
1067
|
-
"normal",
|
|
1068
|
-
"line",
|
|
1069
|
-
"circle"
|
|
1070
|
-
],
|
|
1071
|
-
"type": "string"
|
|
1072
|
-
}
|
|
1073
|
-
},
|
|
1074
|
-
"type": "object"
|
|
1075
|
-
},
|
|
1076
|
-
"mainColor": {
|
|
1077
|
-
"description": "Theme main color",
|
|
1078
|
-
"examples": [
|
|
1079
|
-
"rgb(123, 144, 255)",
|
|
1080
|
-
"rgb(255, 174, 52)",
|
|
1081
|
-
"rgb(123, 144, 255)"
|
|
1082
|
-
],
|
|
1083
|
-
"type": "string"
|
|
1084
|
-
},
|
|
1085
|
-
"margins": {
|
|
1086
|
-
"description": "Dashboard vertical and horizontal margins",
|
|
1087
|
-
"examples": [
|
|
1088
|
-
[
|
|
1089
|
-
16,
|
|
1090
|
-
16
|
|
1091
|
-
],
|
|
1092
|
-
[
|
|
1093
|
-
20,
|
|
1094
|
-
20
|
|
1095
|
-
]
|
|
1096
|
-
],
|
|
1097
|
-
"items": [
|
|
1098
|
-
{
|
|
1099
|
-
"type": "number"
|
|
1100
|
-
},
|
|
1101
|
-
{
|
|
1102
|
-
"type": "number"
|
|
1103
|
-
}
|
|
1104
|
-
],
|
|
1105
|
-
"maxItems": 2,
|
|
1106
|
-
"minItems": 2,
|
|
1107
|
-
"type": "array"
|
|
1108
|
-
},
|
|
1109
|
-
"name": {
|
|
1110
|
-
"description": "Theme name",
|
|
1111
|
-
"examples": [
|
|
1112
|
-
"manual"
|
|
1113
|
-
],
|
|
1114
|
-
"type": "string"
|
|
1115
|
-
},
|
|
1116
941
|
"title": {
|
|
1117
|
-
"description": "
|
|
942
|
+
"description": "Custom title styling",
|
|
1118
943
|
"properties": {
|
|
1119
944
|
"align": {
|
|
1120
945
|
"description": "Title align",
|
|
@@ -1182,51 +1007,8 @@ declare const _default: {
|
|
|
1182
1007
|
},
|
|
1183
1008
|
"type": "object"
|
|
1184
1009
|
},
|
|
1185
|
-
"tooltip": {
|
|
1186
|
-
"description": "Tooltip styling",
|
|
1187
|
-
"properties": {
|
|
1188
|
-
"background": {
|
|
1189
|
-
"description": "Tooltip's background",
|
|
1190
|
-
"examples": [
|
|
1191
|
-
"rgb(248, 248, 248)",
|
|
1192
|
-
"rgb(248, 248, 248)",
|
|
1193
|
-
"rgb(130, 128, 128)",
|
|
1194
|
-
"rgb(61, 61, 61)"
|
|
1195
|
-
],
|
|
1196
|
-
"type": "string"
|
|
1197
|
-
},
|
|
1198
|
-
"fontSize": {
|
|
1199
|
-
"description": "Tooltip's font size in px",
|
|
1200
|
-
"examples": [
|
|
1201
|
-
12,
|
|
1202
|
-
16,
|
|
1203
|
-
20
|
|
1204
|
-
],
|
|
1205
|
-
"type": "number"
|
|
1206
|
-
},
|
|
1207
|
-
"lineHeight": {
|
|
1208
|
-
"description": "Tooltip's line height in px",
|
|
1209
|
-
"examples": [
|
|
1210
|
-
12,
|
|
1211
|
-
16,
|
|
1212
|
-
20
|
|
1213
|
-
],
|
|
1214
|
-
"type": "number"
|
|
1215
|
-
},
|
|
1216
|
-
"opacity": {
|
|
1217
|
-
"description": "Tooltip's opacity",
|
|
1218
|
-
"examples": [
|
|
1219
|
-
0.5,
|
|
1220
|
-
0.8,
|
|
1221
|
-
1
|
|
1222
|
-
],
|
|
1223
|
-
"type": "number"
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
"type": "object"
|
|
1227
|
-
},
|
|
1228
1010
|
"type": {
|
|
1229
|
-
"description": "
|
|
1011
|
+
"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.",
|
|
1230
1012
|
"examples": [
|
|
1231
1013
|
"custom"
|
|
1232
1014
|
],
|