@luzmo/dashboard-contents-types 0.1.89 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +110 -166
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +105 -25
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +32 -5
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/image-options.schema.json.d.ts +69 -0
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/options.schema.json.d.ts +3 -0
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +99 -19
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +109 -14
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +67 -14
- package/assets/json-schemas/slots.schema.json.d.ts +3 -0
- package/assets/json-schemas/text-options.schema.json.d.ts +69 -0
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -0
- package/index.d.ts +0 -1
- package/index.js +435 -111
- package/index.mjs +5084 -1171
- package/json-schemas.d.ts +3883 -828
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.d.ts.map +1 -1
- package/src/lib/area-chart/area-chart-options.d.ts +20 -19
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
- package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
- package/src/lib/area-chart/area-chart.d.ts +2 -4
- package/src/lib/area-chart/index.d.ts +0 -1
- package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart.d.ts +2 -4
- package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
- package/src/lib/bar-chart/index.d.ts +0 -1
- package/src/lib/box-plot/box-plot-options.d.ts +13 -15
- package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
- package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
- package/src/lib/box-plot/box-plot.d.ts +2 -4
- package/src/lib/box-plot/index.d.ts +0 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
- package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
- package/src/lib/bubble-chart/index.d.ts +0 -1
- package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
- package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
- package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
- package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
- package/src/lib/bullet-chart/index.d.ts +0 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
- package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
- package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
- package/src/lib/choropleth-map/index.d.ts +0 -1
- package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
- package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
- package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
- package/src/lib/circular-gauge/index.d.ts +0 -1
- package/src/lib/column-chart/column-chart-options.d.ts +14 -16
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
- package/src/lib/column-chart/column-chart.d.ts +2 -4
- package/src/lib/column-chart/index.d.ts +0 -1
- package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
- package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
- package/src/lib/combination-chart/combination-chart.d.ts +2 -4
- package/src/lib/combination-chart/index.d.ts +0 -1
- package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
- package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
- package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
- package/src/lib/conditional-number/conditional-number.d.ts +2 -4
- package/src/lib/conditional-number/index.d.ts +0 -1
- package/src/lib/date-filter/date-filter-options.d.ts +5 -8
- package/src/lib/date-filter/date-filter-options.d.ts.map +1 -1
- package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
- package/src/lib/date-filter/date-filter.d.ts +2 -4
- package/src/lib/date-filter/index.d.ts +0 -1
- package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
- package/src/lib/donut-chart/donut-chart.d.ts +2 -4
- package/src/lib/donut-chart/index.d.ts +0 -1
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +7 -10
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
- package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
- package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
- package/src/lib/dropdown-filter/index.d.ts +0 -1
- package/src/lib/evolution-number/evolution-number-options.d.ts +7 -9
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
- package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
- package/src/lib/evolution-number/evolution-number.d.ts +2 -4
- package/src/lib/evolution-number/index.d.ts +0 -1
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
- package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
- package/src/lib/funnel-chart/index.d.ts +0 -1
- package/src/lib/image/image-options.d.ts +3 -5
- package/src/lib/image/image.d.ts +1 -3
- package/src/lib/image/index.d.ts +0 -1
- package/src/lib/line-chart/index.d.ts +0 -1
- package/src/lib/line-chart/line-chart-options.d.ts +13 -15
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
- package/src/lib/line-chart/line-chart.d.ts +2 -4
- package/src/lib/pivot-table/index.d.ts +0 -1
- package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
- package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
- package/src/lib/pivot-table/pivot-table.d.ts +2 -4
- package/src/lib/regular-table/index.d.ts +0 -1
- package/src/lib/regular-table/regular-table-options.d.ts +9 -11
- package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
- package/src/lib/regular-table/regular-table.d.ts +2 -4
- package/src/lib/sankey-diagram/index.d.ts +0 -1
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
- package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
- package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
- package/src/lib/scatter-plot/index.d.ts +0 -1
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
- package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
- package/src/lib/search-filter/index.d.ts +3 -0
- package/src/lib/search-filter/index.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter-options.d.ts +56 -0
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
- package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter.d.ts +23 -0
- package/src/lib/search-filter/search-filter.d.ts.map +1 -0
- package/src/lib/shared/axes.d.ts +0 -1
- package/src/lib/shared/axis-view-options.d.ts +0 -2
- package/src/lib/shared/common.d.ts +2 -4
- package/src/lib/shared/common.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +0 -2
- package/src/lib/shared/filters.d.ts +0 -1
- package/src/lib/shared/formula.d.ts +0 -2
- package/src/lib/shared/index.d.ts +1 -1
- package/src/lib/shared/index.d.ts.map +1 -1
- package/src/lib/shared/info-tooltip-options.d.ts +0 -1
- package/src/lib/shared/interactivity-brush.d.ts +0 -1
- package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
- package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
- package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
- package/src/lib/shared/interactivity-export.d.ts +0 -1
- package/src/lib/shared/interactivity-filter.d.ts +0 -1
- package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
- package/src/lib/shared/interactivity-target.d.ts +0 -1
- package/src/lib/shared/interpolation.d.ts +0 -1
- package/src/lib/shared/item-filter-group.d.ts +54 -3
- package/src/lib/shared/item-filter-group.d.ts.map +1 -1
- package/src/lib/shared/legend.d.ts +0 -2
- package/src/lib/shared/map-object-view-options.d.ts +2 -4
- package/src/lib/shared/object-view-options.d.ts +4 -5
- package/src/lib/shared/object-view-options.d.ts.map +1 -1
- package/src/lib/shared/placeholder.d.ts +0 -1
- package/src/lib/shared/query.d.ts +0 -1
- package/src/lib/shared/ranges.d.ts +0 -1
- package/src/lib/shared/slots.d.ts +62 -7
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/shared/sort.d.ts +0 -2
- package/src/lib/shared/theme.d.ts +0 -1
- package/src/lib/shared/title.d.ts +0 -1
- package/src/lib/shared/viz-item.d.ts +60 -0
- package/src/lib/shared/viz-item.d.ts.map +1 -0
- package/src/lib/slicer-filter/index.d.ts +0 -1
- package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
- package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
- package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
- package/src/lib/slider-filter/index.d.ts +0 -1
- package/src/lib/slider-filter/slider-filter-options.d.ts +4 -6
- package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -1
- package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
- package/src/lib/slider-filter/slider-filter.d.ts +2 -4
- package/src/lib/text/index.d.ts +0 -1
- package/src/lib/text/text-options.d.ts +1 -3
- package/src/lib/text/text.d.ts +1 -3
- package/src/options.d.ts +24 -26
- package/src/options.d.ts.map +1 -1
- package/src/slots.d.ts +21 -23
|
@@ -445,7 +445,7 @@ declare const _default: {
|
|
|
445
445
|
"aggregationWeight": {
|
|
446
446
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
447
447
|
"properties": {
|
|
448
|
-
"
|
|
448
|
+
"columnId": {
|
|
449
449
|
"description": "Column id",
|
|
450
450
|
"format": "uuid",
|
|
451
451
|
"type": "string"
|
|
@@ -461,7 +461,7 @@ declare const _default: {
|
|
|
461
461
|
],
|
|
462
462
|
"type": "string"
|
|
463
463
|
},
|
|
464
|
-
"
|
|
464
|
+
"datasetId": {
|
|
465
465
|
"description": "Dataset id",
|
|
466
466
|
"format": "uuid",
|
|
467
467
|
"type": "string"
|
|
@@ -490,11 +490,6 @@ declare const _default: {
|
|
|
490
490
|
"string"
|
|
491
491
|
]
|
|
492
492
|
},
|
|
493
|
-
"column": {
|
|
494
|
-
"description": "Column id",
|
|
495
|
-
"format": "uuid",
|
|
496
|
-
"type": "string"
|
|
497
|
-
},
|
|
498
493
|
"columnHierarchies": {
|
|
499
494
|
"anyOf": [
|
|
500
495
|
{
|
|
@@ -525,6 +520,11 @@ declare const _default: {
|
|
|
525
520
|
}
|
|
526
521
|
]
|
|
527
522
|
},
|
|
523
|
+
"columnId": {
|
|
524
|
+
"description": "Column id",
|
|
525
|
+
"format": "uuid",
|
|
526
|
+
"type": "string"
|
|
527
|
+
},
|
|
528
528
|
"currency": {
|
|
529
529
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
530
530
|
"type": [
|
|
@@ -532,6 +532,11 @@ declare const _default: {
|
|
|
532
532
|
"string"
|
|
533
533
|
]
|
|
534
534
|
},
|
|
535
|
+
"datasetId": {
|
|
536
|
+
"description": "Dataset id",
|
|
537
|
+
"format": "uuid",
|
|
538
|
+
"type": "string"
|
|
539
|
+
},
|
|
535
540
|
"datetimeDisplayMode": {
|
|
536
541
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
537
542
|
"enum": [
|
|
@@ -577,8 +582,7 @@ declare const _default: {
|
|
|
577
582
|
"type": "string"
|
|
578
583
|
},
|
|
579
584
|
"formula": {
|
|
580
|
-
"description": "
|
|
581
|
-
"format": "uuid",
|
|
585
|
+
"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",
|
|
582
586
|
"type": "string"
|
|
583
587
|
},
|
|
584
588
|
"grandTotals": {
|
|
@@ -624,17 +628,39 @@ declare const _default: {
|
|
|
624
628
|
],
|
|
625
629
|
"type": "string"
|
|
626
630
|
},
|
|
631
|
+
"periodOverPeriod": {
|
|
632
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
633
|
+
"properties": {
|
|
634
|
+
"level": {
|
|
635
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
636
|
+
"type": "number"
|
|
637
|
+
},
|
|
638
|
+
"periodToDate": {
|
|
639
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
640
|
+
"type": "boolean"
|
|
641
|
+
},
|
|
642
|
+
"quantity": {
|
|
643
|
+
"description": "Number of periods",
|
|
644
|
+
"type": "number"
|
|
645
|
+
},
|
|
646
|
+
"type": {
|
|
647
|
+
"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",
|
|
648
|
+
"enum": [
|
|
649
|
+
"change",
|
|
650
|
+
"none",
|
|
651
|
+
"past"
|
|
652
|
+
],
|
|
653
|
+
"type": "string"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"type": "object"
|
|
657
|
+
},
|
|
627
658
|
"readonly": {
|
|
628
659
|
"type": "boolean"
|
|
629
660
|
},
|
|
630
661
|
"selected": {
|
|
631
662
|
"type": "boolean"
|
|
632
663
|
},
|
|
633
|
-
"set": {
|
|
634
|
-
"description": "Dataset id",
|
|
635
|
-
"format": "uuid",
|
|
636
|
-
"type": "string"
|
|
637
|
-
},
|
|
638
664
|
"subtype": {
|
|
639
665
|
"anyOf": [
|
|
640
666
|
{
|
|
@@ -723,6 +749,67 @@ declare const _default: {
|
|
|
723
749
|
},
|
|
724
750
|
"type": "object"
|
|
725
751
|
},
|
|
752
|
+
"loader": {
|
|
753
|
+
"description": "The loader configuration",
|
|
754
|
+
"properties": {
|
|
755
|
+
"background": {
|
|
756
|
+
"default": "#f9f9f9",
|
|
757
|
+
"description": "Background color of the chart loader element",
|
|
758
|
+
"type": "string"
|
|
759
|
+
},
|
|
760
|
+
"fontColor": {
|
|
761
|
+
"default": "#5a5a5a",
|
|
762
|
+
"description": "Font color of the text of the chart loaders",
|
|
763
|
+
"type": "string"
|
|
764
|
+
},
|
|
765
|
+
"locale": {
|
|
766
|
+
"default": "en",
|
|
767
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
768
|
+
"examples": [
|
|
769
|
+
"en",
|
|
770
|
+
"fr"
|
|
771
|
+
],
|
|
772
|
+
"type": "string"
|
|
773
|
+
},
|
|
774
|
+
"mode": {
|
|
775
|
+
"default": "light",
|
|
776
|
+
"description": "Light or dark loader",
|
|
777
|
+
"type": "string"
|
|
778
|
+
},
|
|
779
|
+
"msg": {
|
|
780
|
+
"description": "Loading message",
|
|
781
|
+
"examples": [
|
|
782
|
+
"Loading dashboard..."
|
|
783
|
+
],
|
|
784
|
+
"type": "string"
|
|
785
|
+
},
|
|
786
|
+
"showBranded": {
|
|
787
|
+
"default": false,
|
|
788
|
+
"description": "Shows the branded \"powered by\" information",
|
|
789
|
+
"type": "boolean"
|
|
790
|
+
},
|
|
791
|
+
"spinnerBackground": {
|
|
792
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
793
|
+
"description": "Background color of the spinner",
|
|
794
|
+
"type": "string"
|
|
795
|
+
},
|
|
796
|
+
"spinnerColor": {
|
|
797
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
798
|
+
"description": "Spinner color of the loader",
|
|
799
|
+
"type": "string"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"type": "object"
|
|
803
|
+
},
|
|
804
|
+
"locale": {
|
|
805
|
+
"default": "en",
|
|
806
|
+
"description": "Locale to be used",
|
|
807
|
+
"examples": [
|
|
808
|
+
"en",
|
|
809
|
+
"fr"
|
|
810
|
+
],
|
|
811
|
+
"type": "string"
|
|
812
|
+
},
|
|
726
813
|
"manualMeasureRange": {
|
|
727
814
|
"default": [
|
|
728
815
|
[]
|
|
@@ -1436,6 +1523,14 @@ declare const _default: {
|
|
|
1436
1523
|
},
|
|
1437
1524
|
"type": "object"
|
|
1438
1525
|
},
|
|
1526
|
+
"timezoneId": {
|
|
1527
|
+
"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",
|
|
1528
|
+
"examples": [
|
|
1529
|
+
"Europe/Brussels",
|
|
1530
|
+
"America/New_York"
|
|
1531
|
+
],
|
|
1532
|
+
"type": "string"
|
|
1533
|
+
},
|
|
1439
1534
|
"title": {
|
|
1440
1535
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1441
1536
|
"examples": [
|
|
@@ -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. 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"
|
|
99
126
|
},
|
|
100
127
|
"subtype": {
|
|
101
128
|
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
@@ -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. 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"
|
|
214
268
|
},
|
|
215
269
|
"subtype": {
|
|
216
270
|
"anyOf": [
|
|
@@ -292,7 +346,7 @@ declare const _default: {
|
|
|
292
346
|
"aggregationWeight": {
|
|
293
347
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
294
348
|
"properties": {
|
|
295
|
-
"
|
|
349
|
+
"columnId": {
|
|
296
350
|
"description": "Column id",
|
|
297
351
|
"format": "uuid",
|
|
298
352
|
"type": "string"
|
|
@@ -301,7 +355,7 @@ declare const _default: {
|
|
|
301
355
|
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/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. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
374
432
|
"type": "string"
|
|
375
433
|
},
|
|
376
434
|
"grandTotals": {
|
|
@@ -386,10 +444,32 @@ declare const _default: {
|
|
|
386
444
|
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
387
445
|
"type": "object"
|
|
388
446
|
},
|
|
389
|
-
"
|
|
390
|
-
"description": "
|
|
391
|
-
"
|
|
392
|
-
|
|
447
|
+
"periodOverPeriod": {
|
|
448
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
449
|
+
"properties": {
|
|
450
|
+
"level": {
|
|
451
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
452
|
+
"type": "number"
|
|
453
|
+
},
|
|
454
|
+
"periodToDate": {
|
|
455
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
456
|
+
"type": "boolean"
|
|
457
|
+
},
|
|
458
|
+
"quantity": {
|
|
459
|
+
"description": "Number of periods",
|
|
460
|
+
"type": "number"
|
|
461
|
+
},
|
|
462
|
+
"type": {
|
|
463
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
464
|
+
"enum": [
|
|
465
|
+
"change",
|
|
466
|
+
"none",
|
|
467
|
+
"past"
|
|
468
|
+
],
|
|
469
|
+
"type": "string"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"type": "object"
|
|
393
473
|
},
|
|
394
474
|
"subtype": {
|
|
395
475
|
"anyOf": [
|
|
@@ -408,7 +408,7 @@ declare const _default: {
|
|
|
408
408
|
"aggregationWeight": {
|
|
409
409
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
410
410
|
"properties": {
|
|
411
|
-
"
|
|
411
|
+
"columnId": {
|
|
412
412
|
"description": "Column id",
|
|
413
413
|
"format": "uuid",
|
|
414
414
|
"type": "string"
|
|
@@ -424,7 +424,7 @@ declare const _default: {
|
|
|
424
424
|
],
|
|
425
425
|
"type": "string"
|
|
426
426
|
},
|
|
427
|
-
"
|
|
427
|
+
"datasetId": {
|
|
428
428
|
"description": "Dataset id",
|
|
429
429
|
"format": "uuid",
|
|
430
430
|
"type": "string"
|
|
@@ -453,11 +453,6 @@ declare const _default: {
|
|
|
453
453
|
"string"
|
|
454
454
|
]
|
|
455
455
|
},
|
|
456
|
-
"column": {
|
|
457
|
-
"description": "Column id",
|
|
458
|
-
"format": "uuid",
|
|
459
|
-
"type": "string"
|
|
460
|
-
},
|
|
461
456
|
"columnHierarchies": {
|
|
462
457
|
"anyOf": [
|
|
463
458
|
{
|
|
@@ -488,6 +483,11 @@ declare const _default: {
|
|
|
488
483
|
}
|
|
489
484
|
]
|
|
490
485
|
},
|
|
486
|
+
"columnId": {
|
|
487
|
+
"description": "Column id",
|
|
488
|
+
"format": "uuid",
|
|
489
|
+
"type": "string"
|
|
490
|
+
},
|
|
491
491
|
"currency": {
|
|
492
492
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
493
493
|
"type": [
|
|
@@ -495,6 +495,11 @@ declare const _default: {
|
|
|
495
495
|
"string"
|
|
496
496
|
]
|
|
497
497
|
},
|
|
498
|
+
"datasetId": {
|
|
499
|
+
"description": "Dataset id",
|
|
500
|
+
"format": "uuid",
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
498
503
|
"datetimeDisplayMode": {
|
|
499
504
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
500
505
|
"enum": [
|
|
@@ -540,8 +545,7 @@ declare const _default: {
|
|
|
540
545
|
"type": "string"
|
|
541
546
|
},
|
|
542
547
|
"formula": {
|
|
543
|
-
"description": "
|
|
544
|
-
"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. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
545
549
|
"type": "string"
|
|
546
550
|
},
|
|
547
551
|
"grandTotals": {
|
|
@@ -587,17 +591,39 @@ declare const _default: {
|
|
|
587
591
|
],
|
|
588
592
|
"type": "string"
|
|
589
593
|
},
|
|
594
|
+
"periodOverPeriod": {
|
|
595
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
596
|
+
"properties": {
|
|
597
|
+
"level": {
|
|
598
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
599
|
+
"type": "number"
|
|
600
|
+
},
|
|
601
|
+
"periodToDate": {
|
|
602
|
+
"description": "Turn ON/OFF 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
|
+
},
|
|
590
621
|
"readonly": {
|
|
591
622
|
"type": "boolean"
|
|
592
623
|
},
|
|
593
624
|
"selected": {
|
|
594
625
|
"type": "boolean"
|
|
595
626
|
},
|
|
596
|
-
"set": {
|
|
597
|
-
"description": "Dataset id",
|
|
598
|
-
"format": "uuid",
|
|
599
|
-
"type": "string"
|
|
600
|
-
},
|
|
601
627
|
"subtype": {
|
|
602
628
|
"anyOf": [
|
|
603
629
|
{
|
|
@@ -669,6 +695,67 @@ declare const _default: {
|
|
|
669
695
|
},
|
|
670
696
|
"type": "object"
|
|
671
697
|
},
|
|
698
|
+
"loader": {
|
|
699
|
+
"description": "The loader configuration",
|
|
700
|
+
"properties": {
|
|
701
|
+
"background": {
|
|
702
|
+
"default": "#f9f9f9",
|
|
703
|
+
"description": "Background color of the chart loader element",
|
|
704
|
+
"type": "string"
|
|
705
|
+
},
|
|
706
|
+
"fontColor": {
|
|
707
|
+
"default": "#5a5a5a",
|
|
708
|
+
"description": "Font color of the text of the chart loaders",
|
|
709
|
+
"type": "string"
|
|
710
|
+
},
|
|
711
|
+
"locale": {
|
|
712
|
+
"default": "en",
|
|
713
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
714
|
+
"examples": [
|
|
715
|
+
"en",
|
|
716
|
+
"fr"
|
|
717
|
+
],
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
720
|
+
"mode": {
|
|
721
|
+
"default": "light",
|
|
722
|
+
"description": "Light or dark loader",
|
|
723
|
+
"type": "string"
|
|
724
|
+
},
|
|
725
|
+
"msg": {
|
|
726
|
+
"description": "Loading message",
|
|
727
|
+
"examples": [
|
|
728
|
+
"Loading dashboard..."
|
|
729
|
+
],
|
|
730
|
+
"type": "string"
|
|
731
|
+
},
|
|
732
|
+
"showBranded": {
|
|
733
|
+
"default": false,
|
|
734
|
+
"description": "Shows the branded \"powered by\" information",
|
|
735
|
+
"type": "boolean"
|
|
736
|
+
},
|
|
737
|
+
"spinnerBackground": {
|
|
738
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
739
|
+
"description": "Background color of the spinner",
|
|
740
|
+
"type": "string"
|
|
741
|
+
},
|
|
742
|
+
"spinnerColor": {
|
|
743
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
744
|
+
"description": "Spinner color of the loader",
|
|
745
|
+
"type": "string"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"type": "object"
|
|
749
|
+
},
|
|
750
|
+
"locale": {
|
|
751
|
+
"default": "en",
|
|
752
|
+
"description": "Locale to be used",
|
|
753
|
+
"examples": [
|
|
754
|
+
"en",
|
|
755
|
+
"fr"
|
|
756
|
+
],
|
|
757
|
+
"type": "string"
|
|
758
|
+
},
|
|
672
759
|
"padding": {
|
|
673
760
|
"description": "Padding of the slider filter",
|
|
674
761
|
"properties": {
|
|
@@ -1148,6 +1235,14 @@ declare const _default: {
|
|
|
1148
1235
|
},
|
|
1149
1236
|
"type": "object"
|
|
1150
1237
|
},
|
|
1238
|
+
"timezoneId": {
|
|
1239
|
+
"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",
|
|
1240
|
+
"examples": [
|
|
1241
|
+
"Europe/Brussels",
|
|
1242
|
+
"America/New_York"
|
|
1243
|
+
],
|
|
1244
|
+
"type": "string"
|
|
1245
|
+
},
|
|
1151
1246
|
"title": {
|
|
1152
1247
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1153
1248
|
"examples": [
|