@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
|
@@ -2913,7 +2913,7 @@ declare const _default: {
|
|
|
2913
2913
|
"aggregationWeight": {
|
|
2914
2914
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
2915
2915
|
"properties": {
|
|
2916
|
-
"
|
|
2916
|
+
"columnId": {
|
|
2917
2917
|
"description": "Column id",
|
|
2918
2918
|
"format": "uuid",
|
|
2919
2919
|
"type": "string"
|
|
@@ -2929,7 +2929,7 @@ declare const _default: {
|
|
|
2929
2929
|
],
|
|
2930
2930
|
"type": "string"
|
|
2931
2931
|
},
|
|
2932
|
-
"
|
|
2932
|
+
"datasetId": {
|
|
2933
2933
|
"description": "Dataset id",
|
|
2934
2934
|
"format": "uuid",
|
|
2935
2935
|
"type": "string"
|
|
@@ -2958,11 +2958,6 @@ declare const _default: {
|
|
|
2958
2958
|
"string"
|
|
2959
2959
|
]
|
|
2960
2960
|
},
|
|
2961
|
-
"column": {
|
|
2962
|
-
"description": "Column id",
|
|
2963
|
-
"format": "uuid",
|
|
2964
|
-
"type": "string"
|
|
2965
|
-
},
|
|
2966
2961
|
"columnHierarchies": {
|
|
2967
2962
|
"anyOf": [
|
|
2968
2963
|
{
|
|
@@ -2993,6 +2988,11 @@ declare const _default: {
|
|
|
2993
2988
|
}
|
|
2994
2989
|
]
|
|
2995
2990
|
},
|
|
2991
|
+
"columnId": {
|
|
2992
|
+
"description": "Column id",
|
|
2993
|
+
"format": "uuid",
|
|
2994
|
+
"type": "string"
|
|
2995
|
+
},
|
|
2996
2996
|
"currency": {
|
|
2997
2997
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
2998
2998
|
"type": [
|
|
@@ -3000,6 +3000,11 @@ declare const _default: {
|
|
|
3000
3000
|
"string"
|
|
3001
3001
|
]
|
|
3002
3002
|
},
|
|
3003
|
+
"datasetId": {
|
|
3004
|
+
"description": "Dataset id",
|
|
3005
|
+
"format": "uuid",
|
|
3006
|
+
"type": "string"
|
|
3007
|
+
},
|
|
3003
3008
|
"datetimeDisplayMode": {
|
|
3004
3009
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
3005
3010
|
"enum": [
|
|
@@ -3045,8 +3050,7 @@ declare const _default: {
|
|
|
3045
3050
|
"type": "string"
|
|
3046
3051
|
},
|
|
3047
3052
|
"formula": {
|
|
3048
|
-
"description": "
|
|
3049
|
-
"format": "uuid",
|
|
3053
|
+
"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",
|
|
3050
3054
|
"type": "string"
|
|
3051
3055
|
},
|
|
3052
3056
|
"grandTotals": {
|
|
@@ -3092,17 +3096,39 @@ declare const _default: {
|
|
|
3092
3096
|
],
|
|
3093
3097
|
"type": "string"
|
|
3094
3098
|
},
|
|
3099
|
+
"periodOverPeriod": {
|
|
3100
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
3101
|
+
"properties": {
|
|
3102
|
+
"level": {
|
|
3103
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
3104
|
+
"type": "number"
|
|
3105
|
+
},
|
|
3106
|
+
"periodToDate": {
|
|
3107
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
3108
|
+
"type": "boolean"
|
|
3109
|
+
},
|
|
3110
|
+
"quantity": {
|
|
3111
|
+
"description": "Number of periods",
|
|
3112
|
+
"type": "number"
|
|
3113
|
+
},
|
|
3114
|
+
"type": {
|
|
3115
|
+
"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",
|
|
3116
|
+
"enum": [
|
|
3117
|
+
"change",
|
|
3118
|
+
"none",
|
|
3119
|
+
"past"
|
|
3120
|
+
],
|
|
3121
|
+
"type": "string"
|
|
3122
|
+
}
|
|
3123
|
+
},
|
|
3124
|
+
"type": "object"
|
|
3125
|
+
},
|
|
3095
3126
|
"readonly": {
|
|
3096
3127
|
"type": "boolean"
|
|
3097
3128
|
},
|
|
3098
3129
|
"selected": {
|
|
3099
3130
|
"type": "boolean"
|
|
3100
3131
|
},
|
|
3101
|
-
"set": {
|
|
3102
|
-
"description": "Dataset id",
|
|
3103
|
-
"format": "uuid",
|
|
3104
|
-
"type": "string"
|
|
3105
|
-
},
|
|
3106
3132
|
"subtype": {
|
|
3107
3133
|
"anyOf": [
|
|
3108
3134
|
{
|
|
@@ -3240,6 +3266,67 @@ declare const _default: {
|
|
|
3240
3266
|
},
|
|
3241
3267
|
"type": "object"
|
|
3242
3268
|
},
|
|
3269
|
+
"loader": {
|
|
3270
|
+
"description": "The loader configuration",
|
|
3271
|
+
"properties": {
|
|
3272
|
+
"background": {
|
|
3273
|
+
"default": "#f9f9f9",
|
|
3274
|
+
"description": "Background color of the chart loader element",
|
|
3275
|
+
"type": "string"
|
|
3276
|
+
},
|
|
3277
|
+
"fontColor": {
|
|
3278
|
+
"default": "#5a5a5a",
|
|
3279
|
+
"description": "Font color of the text of the chart loaders",
|
|
3280
|
+
"type": "string"
|
|
3281
|
+
},
|
|
3282
|
+
"locale": {
|
|
3283
|
+
"default": "en",
|
|
3284
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
3285
|
+
"examples": [
|
|
3286
|
+
"en",
|
|
3287
|
+
"fr"
|
|
3288
|
+
],
|
|
3289
|
+
"type": "string"
|
|
3290
|
+
},
|
|
3291
|
+
"mode": {
|
|
3292
|
+
"default": "light",
|
|
3293
|
+
"description": "Light or dark loader",
|
|
3294
|
+
"type": "string"
|
|
3295
|
+
},
|
|
3296
|
+
"msg": {
|
|
3297
|
+
"description": "Loading message",
|
|
3298
|
+
"examples": [
|
|
3299
|
+
"Loading dashboard..."
|
|
3300
|
+
],
|
|
3301
|
+
"type": "string"
|
|
3302
|
+
},
|
|
3303
|
+
"showBranded": {
|
|
3304
|
+
"default": false,
|
|
3305
|
+
"description": "Shows the branded \"powered by\" information",
|
|
3306
|
+
"type": "boolean"
|
|
3307
|
+
},
|
|
3308
|
+
"spinnerBackground": {
|
|
3309
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
3310
|
+
"description": "Background color of the spinner",
|
|
3311
|
+
"type": "string"
|
|
3312
|
+
},
|
|
3313
|
+
"spinnerColor": {
|
|
3314
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
3315
|
+
"description": "Spinner color of the loader",
|
|
3316
|
+
"type": "string"
|
|
3317
|
+
}
|
|
3318
|
+
},
|
|
3319
|
+
"type": "object"
|
|
3320
|
+
},
|
|
3321
|
+
"locale": {
|
|
3322
|
+
"default": "en",
|
|
3323
|
+
"description": "Locale to be used",
|
|
3324
|
+
"examples": [
|
|
3325
|
+
"en",
|
|
3326
|
+
"fr"
|
|
3327
|
+
],
|
|
3328
|
+
"type": "string"
|
|
3329
|
+
},
|
|
3243
3330
|
"manualAxesRange": {
|
|
3244
3331
|
"description": "Manual axis range options. Minimum and maximum value of the axis range.",
|
|
3245
3332
|
"items": [
|
|
@@ -3829,6 +3916,14 @@ declare const _default: {
|
|
|
3829
3916
|
},
|
|
3830
3917
|
"type": "object"
|
|
3831
3918
|
},
|
|
3919
|
+
"timezoneId": {
|
|
3920
|
+
"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",
|
|
3921
|
+
"examples": [
|
|
3922
|
+
"Europe/Brussels",
|
|
3923
|
+
"America/New_York"
|
|
3924
|
+
],
|
|
3925
|
+
"type": "string"
|
|
3926
|
+
},
|
|
3832
3927
|
"title": {
|
|
3833
3928
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
3834
3929
|
"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",
|
|
@@ -143,11 +170,16 @@ declare const _default: {
|
|
|
143
170
|
"string"
|
|
144
171
|
]
|
|
145
172
|
},
|
|
146
|
-
"
|
|
173
|
+
"columnId": {
|
|
147
174
|
"description": "Column id",
|
|
148
175
|
"format": "uuid",
|
|
149
176
|
"type": "string"
|
|
150
177
|
},
|
|
178
|
+
"datasetId": {
|
|
179
|
+
"description": "Dataset id",
|
|
180
|
+
"format": "uuid",
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
151
183
|
"format": {
|
|
152
184
|
"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.",
|
|
153
185
|
"type": "string"
|
|
@@ -179,10 +211,32 @@ declare const _default: {
|
|
|
179
211
|
"number"
|
|
180
212
|
]
|
|
181
213
|
},
|
|
182
|
-
"
|
|
183
|
-
"description": "
|
|
184
|
-
"
|
|
185
|
-
|
|
214
|
+
"periodOverPeriod": {
|
|
215
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
216
|
+
"properties": {
|
|
217
|
+
"level": {
|
|
218
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
219
|
+
"type": "number"
|
|
220
|
+
},
|
|
221
|
+
"periodToDate": {
|
|
222
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
223
|
+
"type": "boolean"
|
|
224
|
+
},
|
|
225
|
+
"quantity": {
|
|
226
|
+
"description": "Number of periods",
|
|
227
|
+
"type": "number"
|
|
228
|
+
},
|
|
229
|
+
"type": {
|
|
230
|
+
"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",
|
|
231
|
+
"enum": [
|
|
232
|
+
"change",
|
|
233
|
+
"none",
|
|
234
|
+
"past"
|
|
235
|
+
],
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"type": "object"
|
|
186
240
|
},
|
|
187
241
|
"subtype": {
|
|
188
242
|
"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/column-chart-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": [
|
|
@@ -988,7 +988,7 @@ declare const _default: {
|
|
|
988
988
|
"aggregationWeight": {
|
|
989
989
|
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
990
990
|
"properties": {
|
|
991
|
-
"
|
|
991
|
+
"columnId": {
|
|
992
992
|
"description": "Column id",
|
|
993
993
|
"format": "uuid",
|
|
994
994
|
"type": "string"
|
|
@@ -1004,7 +1004,7 @@ declare const _default: {
|
|
|
1004
1004
|
],
|
|
1005
1005
|
"type": "string"
|
|
1006
1006
|
},
|
|
1007
|
-
"
|
|
1007
|
+
"datasetId": {
|
|
1008
1008
|
"description": "Dataset id",
|
|
1009
1009
|
"format": "uuid",
|
|
1010
1010
|
"type": "string"
|
|
@@ -1033,11 +1033,6 @@ declare const _default: {
|
|
|
1033
1033
|
"string"
|
|
1034
1034
|
]
|
|
1035
1035
|
},
|
|
1036
|
-
"column": {
|
|
1037
|
-
"description": "Column id",
|
|
1038
|
-
"format": "uuid",
|
|
1039
|
-
"type": "string"
|
|
1040
|
-
},
|
|
1041
1036
|
"columnHierarchies": {
|
|
1042
1037
|
"anyOf": [
|
|
1043
1038
|
{
|
|
@@ -1068,6 +1063,11 @@ declare const _default: {
|
|
|
1068
1063
|
}
|
|
1069
1064
|
]
|
|
1070
1065
|
},
|
|
1066
|
+
"columnId": {
|
|
1067
|
+
"description": "Column id",
|
|
1068
|
+
"format": "uuid",
|
|
1069
|
+
"type": "string"
|
|
1070
|
+
},
|
|
1071
1071
|
"currency": {
|
|
1072
1072
|
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
1073
1073
|
"type": [
|
|
@@ -1075,6 +1075,11 @@ declare const _default: {
|
|
|
1075
1075
|
"string"
|
|
1076
1076
|
]
|
|
1077
1077
|
},
|
|
1078
|
+
"datasetId": {
|
|
1079
|
+
"description": "Dataset id",
|
|
1080
|
+
"format": "uuid",
|
|
1081
|
+
"type": "string"
|
|
1082
|
+
},
|
|
1078
1083
|
"datetimeDisplayMode": {
|
|
1079
1084
|
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
1080
1085
|
"enum": [
|
|
@@ -1120,8 +1125,7 @@ declare const _default: {
|
|
|
1120
1125
|
"type": "string"
|
|
1121
1126
|
},
|
|
1122
1127
|
"formula": {
|
|
1123
|
-
"description": "
|
|
1124
|
-
"format": "uuid",
|
|
1128
|
+
"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",
|
|
1125
1129
|
"type": "string"
|
|
1126
1130
|
},
|
|
1127
1131
|
"grandTotals": {
|
|
@@ -1167,17 +1171,39 @@ declare const _default: {
|
|
|
1167
1171
|
],
|
|
1168
1172
|
"type": "string"
|
|
1169
1173
|
},
|
|
1174
|
+
"periodOverPeriod": {
|
|
1175
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
1176
|
+
"properties": {
|
|
1177
|
+
"level": {
|
|
1178
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
1179
|
+
"type": "number"
|
|
1180
|
+
},
|
|
1181
|
+
"periodToDate": {
|
|
1182
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
1183
|
+
"type": "boolean"
|
|
1184
|
+
},
|
|
1185
|
+
"quantity": {
|
|
1186
|
+
"description": "Number of periods",
|
|
1187
|
+
"type": "number"
|
|
1188
|
+
},
|
|
1189
|
+
"type": {
|
|
1190
|
+
"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",
|
|
1191
|
+
"enum": [
|
|
1192
|
+
"change",
|
|
1193
|
+
"none",
|
|
1194
|
+
"past"
|
|
1195
|
+
],
|
|
1196
|
+
"type": "string"
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
"type": "object"
|
|
1200
|
+
},
|
|
1170
1201
|
"readonly": {
|
|
1171
1202
|
"type": "boolean"
|
|
1172
1203
|
},
|
|
1173
1204
|
"selected": {
|
|
1174
1205
|
"type": "boolean"
|
|
1175
1206
|
},
|
|
1176
|
-
"set": {
|
|
1177
|
-
"description": "Dataset id",
|
|
1178
|
-
"format": "uuid",
|
|
1179
|
-
"type": "string"
|
|
1180
|
-
},
|
|
1181
1207
|
"subtype": {
|
|
1182
1208
|
"anyOf": [
|
|
1183
1209
|
{
|
|
@@ -1310,6 +1336,67 @@ declare const _default: {
|
|
|
1310
1336
|
},
|
|
1311
1337
|
"type": "object"
|
|
1312
1338
|
},
|
|
1339
|
+
"loader": {
|
|
1340
|
+
"description": "The loader configuration",
|
|
1341
|
+
"properties": {
|
|
1342
|
+
"background": {
|
|
1343
|
+
"default": "#f9f9f9",
|
|
1344
|
+
"description": "Background color of the chart loader element",
|
|
1345
|
+
"type": "string"
|
|
1346
|
+
},
|
|
1347
|
+
"fontColor": {
|
|
1348
|
+
"default": "#5a5a5a",
|
|
1349
|
+
"description": "Font color of the text of the chart loaders",
|
|
1350
|
+
"type": "string"
|
|
1351
|
+
},
|
|
1352
|
+
"locale": {
|
|
1353
|
+
"default": "en",
|
|
1354
|
+
"description": "Locale to be used if \"msg\" is set",
|
|
1355
|
+
"examples": [
|
|
1356
|
+
"en",
|
|
1357
|
+
"fr"
|
|
1358
|
+
],
|
|
1359
|
+
"type": "string"
|
|
1360
|
+
},
|
|
1361
|
+
"mode": {
|
|
1362
|
+
"default": "light",
|
|
1363
|
+
"description": "Light or dark loader",
|
|
1364
|
+
"type": "string"
|
|
1365
|
+
},
|
|
1366
|
+
"msg": {
|
|
1367
|
+
"description": "Loading message",
|
|
1368
|
+
"examples": [
|
|
1369
|
+
"Loading dashboard..."
|
|
1370
|
+
],
|
|
1371
|
+
"type": "string"
|
|
1372
|
+
},
|
|
1373
|
+
"showBranded": {
|
|
1374
|
+
"default": false,
|
|
1375
|
+
"description": "Shows the branded \"powered by\" information",
|
|
1376
|
+
"type": "boolean"
|
|
1377
|
+
},
|
|
1378
|
+
"spinnerBackground": {
|
|
1379
|
+
"default": "rgba(169, 169, 169, 0.14)",
|
|
1380
|
+
"description": "Background color of the spinner",
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
},
|
|
1383
|
+
"spinnerColor": {
|
|
1384
|
+
"default": "rgba(255, 165, 0, 0.7)",
|
|
1385
|
+
"description": "Spinner color of the loader",
|
|
1386
|
+
"type": "string"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"type": "object"
|
|
1390
|
+
},
|
|
1391
|
+
"locale": {
|
|
1392
|
+
"default": "en",
|
|
1393
|
+
"description": "Locale to be used",
|
|
1394
|
+
"examples": [
|
|
1395
|
+
"en",
|
|
1396
|
+
"fr"
|
|
1397
|
+
],
|
|
1398
|
+
"type": "string"
|
|
1399
|
+
},
|
|
1313
1400
|
"measures": {
|
|
1314
1401
|
"default": [
|
|
1315
1402
|
[]
|
|
@@ -1921,6 +2008,14 @@ declare const _default: {
|
|
|
1921
2008
|
},
|
|
1922
2009
|
"type": "object"
|
|
1923
2010
|
},
|
|
2011
|
+
"timezoneId": {
|
|
2012
|
+
"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",
|
|
2013
|
+
"examples": [
|
|
2014
|
+
"Europe/Brussels",
|
|
2015
|
+
"America/New_York"
|
|
2016
|
+
],
|
|
2017
|
+
"type": "string"
|
|
2018
|
+
},
|
|
1924
2019
|
"title": {
|
|
1925
2020
|
"description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
|
|
1926
2021
|
"examples": [
|