@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.
Files changed (214) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/assets/json-schemas/area-chart-options.schema.json.d.ts +110 -166
  3. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +99 -19
  4. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +109 -14
  5. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +99 -19
  6. package/assets/json-schemas/box-plot-options.schema.json.d.ts +109 -14
  7. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +99 -19
  8. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +109 -14
  9. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +99 -19
  10. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +109 -14
  11. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +99 -19
  12. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +109 -14
  13. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +105 -25
  14. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +109 -14
  15. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +99 -19
  16. package/assets/json-schemas/column-chart-options.schema.json.d.ts +109 -14
  17. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +99 -19
  18. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +109 -14
  19. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +99 -19
  20. package/assets/json-schemas/date-filter-options.schema.json.d.ts +109 -14
  21. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +32 -5
  22. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +109 -14
  23. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +99 -19
  24. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +109 -14
  25. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +99 -19
  26. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +109 -14
  27. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +99 -19
  28. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +109 -14
  29. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +99 -19
  30. package/assets/json-schemas/image-options.schema.json.d.ts +69 -0
  31. package/assets/json-schemas/line-chart-options.schema.json.d.ts +109 -14
  32. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +99 -19
  33. package/assets/json-schemas/options.schema.json.d.ts +3 -0
  34. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +109 -14
  35. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +99 -19
  36. package/assets/json-schemas/regular-table-options.schema.json.d.ts +109 -14
  37. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +99 -19
  38. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +109 -14
  39. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +99 -19
  40. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +109 -14
  41. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +99 -19
  42. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +109 -14
  43. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +99 -19
  44. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +109 -14
  45. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +67 -14
  46. package/assets/json-schemas/slots.schema.json.d.ts +3 -0
  47. package/assets/json-schemas/text-options.schema.json.d.ts +69 -0
  48. package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -0
  49. package/index.d.ts +0 -1
  50. package/index.js +435 -111
  51. package/index.mjs +5084 -1171
  52. package/json-schemas.d.ts +3883 -828
  53. package/json-schemas.d.ts.map +1 -1
  54. package/package.json +1 -1
  55. package/src/index.d.ts +1 -1
  56. package/src/index.d.ts.map +1 -1
  57. package/src/lib/area-chart/area-chart-options.d.ts +20 -19
  58. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  59. package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
  60. package/src/lib/area-chart/area-chart.d.ts +2 -4
  61. package/src/lib/area-chart/index.d.ts +0 -1
  62. package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
  63. package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
  64. package/src/lib/bar-chart/bar-chart.d.ts +2 -4
  65. package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
  66. package/src/lib/bar-chart/index.d.ts +0 -1
  67. package/src/lib/box-plot/box-plot-options.d.ts +13 -15
  68. package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
  69. package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
  70. package/src/lib/box-plot/box-plot.d.ts +2 -4
  71. package/src/lib/box-plot/index.d.ts +0 -1
  72. package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
  73. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  74. package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
  75. package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
  76. package/src/lib/bubble-chart/index.d.ts +0 -1
  77. package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
  78. package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
  79. package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
  80. package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
  81. package/src/lib/bullet-chart/index.d.ts +0 -1
  82. package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
  83. package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
  84. package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
  85. package/src/lib/choropleth-map/index.d.ts +0 -1
  86. package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
  87. package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
  88. package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
  89. package/src/lib/circular-gauge/index.d.ts +0 -1
  90. package/src/lib/column-chart/column-chart-options.d.ts +14 -16
  91. package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
  92. package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
  93. package/src/lib/column-chart/column-chart.d.ts +2 -4
  94. package/src/lib/column-chart/index.d.ts +0 -1
  95. package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
  96. package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
  97. package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
  98. package/src/lib/combination-chart/combination-chart.d.ts +2 -4
  99. package/src/lib/combination-chart/index.d.ts +0 -1
  100. package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
  101. package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
  102. package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
  103. package/src/lib/conditional-number/conditional-number.d.ts +2 -4
  104. package/src/lib/conditional-number/index.d.ts +0 -1
  105. package/src/lib/date-filter/date-filter-options.d.ts +5 -8
  106. package/src/lib/date-filter/date-filter-options.d.ts.map +1 -1
  107. package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
  108. package/src/lib/date-filter/date-filter.d.ts +2 -4
  109. package/src/lib/date-filter/index.d.ts +0 -1
  110. package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
  111. package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
  112. package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
  113. package/src/lib/donut-chart/donut-chart.d.ts +2 -4
  114. package/src/lib/donut-chart/index.d.ts +0 -1
  115. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +7 -10
  116. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
  117. package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
  118. package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
  119. package/src/lib/dropdown-filter/index.d.ts +0 -1
  120. package/src/lib/evolution-number/evolution-number-options.d.ts +7 -9
  121. package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
  122. package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
  123. package/src/lib/evolution-number/evolution-number.d.ts +2 -4
  124. package/src/lib/evolution-number/index.d.ts +0 -1
  125. package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
  126. package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
  127. package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
  128. package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
  129. package/src/lib/funnel-chart/index.d.ts +0 -1
  130. package/src/lib/image/image-options.d.ts +3 -5
  131. package/src/lib/image/image.d.ts +1 -3
  132. package/src/lib/image/index.d.ts +0 -1
  133. package/src/lib/line-chart/index.d.ts +0 -1
  134. package/src/lib/line-chart/line-chart-options.d.ts +13 -15
  135. package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
  136. package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
  137. package/src/lib/line-chart/line-chart.d.ts +2 -4
  138. package/src/lib/pivot-table/index.d.ts +0 -1
  139. package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
  140. package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
  141. package/src/lib/pivot-table/pivot-table.d.ts +2 -4
  142. package/src/lib/regular-table/index.d.ts +0 -1
  143. package/src/lib/regular-table/regular-table-options.d.ts +9 -11
  144. package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
  145. package/src/lib/regular-table/regular-table.d.ts +2 -4
  146. package/src/lib/sankey-diagram/index.d.ts +0 -1
  147. package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
  148. package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
  149. package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
  150. package/src/lib/scatter-plot/index.d.ts +0 -1
  151. package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
  152. package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
  153. package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
  154. package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
  155. package/src/lib/search-filter/index.d.ts +3 -0
  156. package/src/lib/search-filter/index.d.ts.map +1 -0
  157. package/src/lib/search-filter/search-filter-options.d.ts +56 -0
  158. package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
  159. package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
  160. package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
  161. package/src/lib/search-filter/search-filter.d.ts +23 -0
  162. package/src/lib/search-filter/search-filter.d.ts.map +1 -0
  163. package/src/lib/shared/axes.d.ts +0 -1
  164. package/src/lib/shared/axis-view-options.d.ts +0 -2
  165. package/src/lib/shared/common.d.ts +2 -4
  166. package/src/lib/shared/common.d.ts.map +1 -1
  167. package/src/lib/shared/drop-object-view-options.d.ts +0 -2
  168. package/src/lib/shared/filters.d.ts +0 -1
  169. package/src/lib/shared/formula.d.ts +0 -2
  170. package/src/lib/shared/index.d.ts +1 -1
  171. package/src/lib/shared/index.d.ts.map +1 -1
  172. package/src/lib/shared/info-tooltip-options.d.ts +0 -1
  173. package/src/lib/shared/interactivity-brush.d.ts +0 -1
  174. package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
  175. package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
  176. package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
  177. package/src/lib/shared/interactivity-export.d.ts +0 -1
  178. package/src/lib/shared/interactivity-filter.d.ts +0 -1
  179. package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
  180. package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
  181. package/src/lib/shared/interactivity-target.d.ts +0 -1
  182. package/src/lib/shared/interpolation.d.ts +0 -1
  183. package/src/lib/shared/item-filter-group.d.ts +54 -3
  184. package/src/lib/shared/item-filter-group.d.ts.map +1 -1
  185. package/src/lib/shared/legend.d.ts +0 -2
  186. package/src/lib/shared/map-object-view-options.d.ts +2 -4
  187. package/src/lib/shared/object-view-options.d.ts +4 -5
  188. package/src/lib/shared/object-view-options.d.ts.map +1 -1
  189. package/src/lib/shared/placeholder.d.ts +0 -1
  190. package/src/lib/shared/query.d.ts +0 -1
  191. package/src/lib/shared/ranges.d.ts +0 -1
  192. package/src/lib/shared/slots.d.ts +62 -7
  193. package/src/lib/shared/slots.d.ts.map +1 -1
  194. package/src/lib/shared/sort.d.ts +0 -2
  195. package/src/lib/shared/theme.d.ts +0 -1
  196. package/src/lib/shared/title.d.ts +0 -1
  197. package/src/lib/shared/viz-item.d.ts +60 -0
  198. package/src/lib/shared/viz-item.d.ts.map +1 -0
  199. package/src/lib/slicer-filter/index.d.ts +0 -1
  200. package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
  201. package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
  202. package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
  203. package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
  204. package/src/lib/slider-filter/index.d.ts +0 -1
  205. package/src/lib/slider-filter/slider-filter-options.d.ts +4 -6
  206. package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -1
  207. package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
  208. package/src/lib/slider-filter/slider-filter.d.ts +2 -4
  209. package/src/lib/text/index.d.ts +0 -1
  210. package/src/lib/text/text-options.d.ts +1 -3
  211. package/src/lib/text/text.d.ts +1 -3
  212. package/src/options.d.ts +24 -26
  213. package/src/options.d.ts.map +1 -1
  214. package/src/slots.d.ts +21 -23
@@ -649,7 +649,7 @@ declare const _default: {
649
649
  "aggregationWeight": {
650
650
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
651
651
  "properties": {
652
- "column": {
652
+ "columnId": {
653
653
  "description": "Column id",
654
654
  "format": "uuid",
655
655
  "type": "string"
@@ -665,7 +665,7 @@ declare const _default: {
665
665
  ],
666
666
  "type": "string"
667
667
  },
668
- "set": {
668
+ "datasetId": {
669
669
  "description": "Dataset id",
670
670
  "format": "uuid",
671
671
  "type": "string"
@@ -694,11 +694,6 @@ declare const _default: {
694
694
  "string"
695
695
  ]
696
696
  },
697
- "column": {
698
- "description": "Column id",
699
- "format": "uuid",
700
- "type": "string"
701
- },
702
697
  "columnHierarchies": {
703
698
  "anyOf": [
704
699
  {
@@ -729,6 +724,11 @@ declare const _default: {
729
724
  }
730
725
  ]
731
726
  },
727
+ "columnId": {
728
+ "description": "Column id",
729
+ "format": "uuid",
730
+ "type": "string"
731
+ },
732
732
  "currency": {
733
733
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
734
734
  "type": [
@@ -736,6 +736,11 @@ declare const _default: {
736
736
  "string"
737
737
  ]
738
738
  },
739
+ "datasetId": {
740
+ "description": "Dataset id",
741
+ "format": "uuid",
742
+ "type": "string"
743
+ },
739
744
  "datetimeDisplayMode": {
740
745
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
741
746
  "enum": [
@@ -781,8 +786,7 @@ declare const _default: {
781
786
  "type": "string"
782
787
  },
783
788
  "formula": {
784
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
785
- "format": "uuid",
789
+ "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",
786
790
  "type": "string"
787
791
  },
788
792
  "grandTotals": {
@@ -828,17 +832,39 @@ declare const _default: {
828
832
  ],
829
833
  "type": "string"
830
834
  },
835
+ "periodOverPeriod": {
836
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
837
+ "properties": {
838
+ "level": {
839
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
840
+ "type": "number"
841
+ },
842
+ "periodToDate": {
843
+ "description": "Turn ON/OFF period to date comparison",
844
+ "type": "boolean"
845
+ },
846
+ "quantity": {
847
+ "description": "Number of periods",
848
+ "type": "number"
849
+ },
850
+ "type": {
851
+ "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",
852
+ "enum": [
853
+ "change",
854
+ "none",
855
+ "past"
856
+ ],
857
+ "type": "string"
858
+ }
859
+ },
860
+ "type": "object"
861
+ },
831
862
  "readonly": {
832
863
  "type": "boolean"
833
864
  },
834
865
  "selected": {
835
866
  "type": "boolean"
836
867
  },
837
- "set": {
838
- "description": "Dataset id",
839
- "format": "uuid",
840
- "type": "string"
841
- },
842
868
  "subtype": {
843
869
  "anyOf": [
844
870
  {
@@ -938,6 +964,67 @@ declare const _default: {
938
964
  },
939
965
  "type": "object"
940
966
  },
967
+ "loader": {
968
+ "description": "The loader configuration",
969
+ "properties": {
970
+ "background": {
971
+ "default": "#f9f9f9",
972
+ "description": "Background color of the chart loader element",
973
+ "type": "string"
974
+ },
975
+ "fontColor": {
976
+ "default": "#5a5a5a",
977
+ "description": "Font color of the text of the chart loaders",
978
+ "type": "string"
979
+ },
980
+ "locale": {
981
+ "default": "en",
982
+ "description": "Locale to be used if \"msg\" is set",
983
+ "examples": [
984
+ "en",
985
+ "fr"
986
+ ],
987
+ "type": "string"
988
+ },
989
+ "mode": {
990
+ "default": "light",
991
+ "description": "Light or dark loader",
992
+ "type": "string"
993
+ },
994
+ "msg": {
995
+ "description": "Loading message",
996
+ "examples": [
997
+ "Loading dashboard..."
998
+ ],
999
+ "type": "string"
1000
+ },
1001
+ "showBranded": {
1002
+ "default": false,
1003
+ "description": "Shows the branded \"powered by\" information",
1004
+ "type": "boolean"
1005
+ },
1006
+ "spinnerBackground": {
1007
+ "default": "rgba(169, 169, 169, 0.14)",
1008
+ "description": "Background color of the spinner",
1009
+ "type": "string"
1010
+ },
1011
+ "spinnerColor": {
1012
+ "default": "rgba(255, 165, 0, 0.7)",
1013
+ "description": "Spinner color of the loader",
1014
+ "type": "string"
1015
+ }
1016
+ },
1017
+ "type": "object"
1018
+ },
1019
+ "locale": {
1020
+ "default": "en",
1021
+ "description": "Locale to be used",
1022
+ "examples": [
1023
+ "en",
1024
+ "fr"
1025
+ ],
1026
+ "type": "string"
1027
+ },
941
1028
  "missingValue": {
942
1029
  "description": "Missing value configuration",
943
1030
  "properties": {
@@ -1473,6 +1560,14 @@ declare const _default: {
1473
1560
  },
1474
1561
  "type": "object"
1475
1562
  },
1563
+ "timezoneId": {
1564
+ "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",
1565
+ "examples": [
1566
+ "Europe/Brussels",
1567
+ "America/New_York"
1568
+ ],
1569
+ "type": "string"
1570
+ },
1476
1571
  "titleFontSize": {
1477
1572
  "description": "Title font size",
1478
1573
  "examples": [
@@ -29,11 +29,16 @@ declare const _default: {
29
29
  "string"
30
30
  ]
31
31
  },
32
- "column": {
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
- "set": {
96
- "description": "Dataset id",
97
- "format": "uuid",
98
- "type": "string"
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",
@@ -162,11 +189,16 @@ declare const _default: {
162
189
  "string"
163
190
  ]
164
191
  },
165
- "column": {
192
+ "columnId": {
166
193
  "description": "Column id",
167
194
  "format": "uuid",
168
195
  "type": "string"
169
196
  },
197
+ "datasetId": {
198
+ "description": "Dataset id",
199
+ "format": "uuid",
200
+ "type": "string"
201
+ },
170
202
  "format": {
171
203
  "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.",
172
204
  "type": "string"
@@ -198,10 +230,32 @@ declare const _default: {
198
230
  "number"
199
231
  ]
200
232
  },
201
- "set": {
202
- "description": "Dataset id",
203
- "format": "uuid",
204
- "type": "string"
233
+ "periodOverPeriod": {
234
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
235
+ "properties": {
236
+ "level": {
237
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
238
+ "type": "number"
239
+ },
240
+ "periodToDate": {
241
+ "description": "Turn ON/OFF period to date comparison",
242
+ "type": "boolean"
243
+ },
244
+ "quantity": {
245
+ "description": "Number of periods",
246
+ "type": "number"
247
+ },
248
+ "type": {
249
+ "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",
250
+ "enum": [
251
+ "change",
252
+ "none",
253
+ "past"
254
+ ],
255
+ "type": "string"
256
+ }
257
+ },
258
+ "type": "object"
205
259
  },
206
260
  "subtype": {
207
261
  "anyOf": [
@@ -283,7 +337,7 @@ declare const _default: {
283
337
  "aggregationWeight": {
284
338
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
285
339
  "properties": {
286
- "column": {
340
+ "columnId": {
287
341
  "description": "Column id",
288
342
  "format": "uuid",
289
343
  "type": "string"
@@ -292,7 +346,7 @@ declare const _default: {
292
346
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/ColumnSubtype",
293
347
  "description": "Column subtype"
294
348
  },
295
- "set": {
349
+ "datasetId": {
296
350
  "description": "Dataset id",
297
351
  "format": "uuid",
298
352
  "type": "string"
@@ -321,7 +375,7 @@ declare const _default: {
321
375
  "string"
322
376
  ]
323
377
  },
324
- "column": {
378
+ "columnId": {
325
379
  "description": "Column id",
326
380
  "format": "uuid",
327
381
  "type": "string"
@@ -333,6 +387,11 @@ declare const _default: {
333
387
  "string"
334
388
  ]
335
389
  },
390
+ "datasetId": {
391
+ "description": "Dataset id",
392
+ "format": "uuid",
393
+ "type": "string"
394
+ },
336
395
  "duration": {
337
396
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
338
397
  "properties": {
@@ -360,8 +419,7 @@ declare const _default: {
360
419
  "type": "string"
361
420
  },
362
421
  "formula": {
363
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
364
- "format": "uuid",
422
+ "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",
365
423
  "type": "string"
366
424
  },
367
425
  "grandTotals": {
@@ -377,10 +435,32 @@ declare const _default: {
377
435
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
378
436
  "type": "object"
379
437
  },
380
- "set": {
381
- "description": "Dataset id",
382
- "format": "uuid",
383
- "type": "string"
438
+ "periodOverPeriod": {
439
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
440
+ "properties": {
441
+ "level": {
442
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
443
+ "type": "number"
444
+ },
445
+ "periodToDate": {
446
+ "description": "Turn ON/OFF period to date comparison",
447
+ "type": "boolean"
448
+ },
449
+ "quantity": {
450
+ "description": "Number of periods",
451
+ "type": "number"
452
+ },
453
+ "type": {
454
+ "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",
455
+ "enum": [
456
+ "change",
457
+ "none",
458
+ "past"
459
+ ],
460
+ "type": "string"
461
+ }
462
+ },
463
+ "type": "object"
384
464
  },
385
465
  "subtype": {
386
466
  "anyOf": [
@@ -2642,7 +2642,7 @@ declare const _default: {
2642
2642
  "aggregationWeight": {
2643
2643
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
2644
2644
  "properties": {
2645
- "column": {
2645
+ "columnId": {
2646
2646
  "description": "Column id",
2647
2647
  "format": "uuid",
2648
2648
  "type": "string"
@@ -2658,7 +2658,7 @@ declare const _default: {
2658
2658
  ],
2659
2659
  "type": "string"
2660
2660
  },
2661
- "set": {
2661
+ "datasetId": {
2662
2662
  "description": "Dataset id",
2663
2663
  "format": "uuid",
2664
2664
  "type": "string"
@@ -2687,11 +2687,6 @@ declare const _default: {
2687
2687
  "string"
2688
2688
  ]
2689
2689
  },
2690
- "column": {
2691
- "description": "Column id",
2692
- "format": "uuid",
2693
- "type": "string"
2694
- },
2695
2690
  "columnHierarchies": {
2696
2691
  "anyOf": [
2697
2692
  {
@@ -2722,6 +2717,11 @@ declare const _default: {
2722
2717
  }
2723
2718
  ]
2724
2719
  },
2720
+ "columnId": {
2721
+ "description": "Column id",
2722
+ "format": "uuid",
2723
+ "type": "string"
2724
+ },
2725
2725
  "currency": {
2726
2726
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
2727
2727
  "type": [
@@ -2729,6 +2729,11 @@ declare const _default: {
2729
2729
  "string"
2730
2730
  ]
2731
2731
  },
2732
+ "datasetId": {
2733
+ "description": "Dataset id",
2734
+ "format": "uuid",
2735
+ "type": "string"
2736
+ },
2732
2737
  "datetimeDisplayMode": {
2733
2738
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
2734
2739
  "enum": [
@@ -2774,8 +2779,7 @@ declare const _default: {
2774
2779
  "type": "string"
2775
2780
  },
2776
2781
  "formula": {
2777
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
2778
- "format": "uuid",
2782
+ "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",
2779
2783
  "type": "string"
2780
2784
  },
2781
2785
  "grandTotals": {
@@ -2821,17 +2825,39 @@ declare const _default: {
2821
2825
  ],
2822
2826
  "type": "string"
2823
2827
  },
2828
+ "periodOverPeriod": {
2829
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
2830
+ "properties": {
2831
+ "level": {
2832
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
2833
+ "type": "number"
2834
+ },
2835
+ "periodToDate": {
2836
+ "description": "Turn ON/OFF period to date comparison",
2837
+ "type": "boolean"
2838
+ },
2839
+ "quantity": {
2840
+ "description": "Number of periods",
2841
+ "type": "number"
2842
+ },
2843
+ "type": {
2844
+ "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",
2845
+ "enum": [
2846
+ "change",
2847
+ "none",
2848
+ "past"
2849
+ ],
2850
+ "type": "string"
2851
+ }
2852
+ },
2853
+ "type": "object"
2854
+ },
2824
2855
  "readonly": {
2825
2856
  "type": "boolean"
2826
2857
  },
2827
2858
  "selected": {
2828
2859
  "type": "boolean"
2829
2860
  },
2830
- "set": {
2831
- "description": "Dataset id",
2832
- "format": "uuid",
2833
- "type": "string"
2834
- },
2835
2861
  "subtype": {
2836
2862
  "anyOf": [
2837
2863
  {
@@ -2969,6 +2995,67 @@ declare const _default: {
2969
2995
  },
2970
2996
  "type": "object"
2971
2997
  },
2998
+ "loader": {
2999
+ "description": "The loader configuration",
3000
+ "properties": {
3001
+ "background": {
3002
+ "default": "#f9f9f9",
3003
+ "description": "Background color of the chart loader element",
3004
+ "type": "string"
3005
+ },
3006
+ "fontColor": {
3007
+ "default": "#5a5a5a",
3008
+ "description": "Font color of the text of the chart loaders",
3009
+ "type": "string"
3010
+ },
3011
+ "locale": {
3012
+ "default": "en",
3013
+ "description": "Locale to be used if \"msg\" is set",
3014
+ "examples": [
3015
+ "en",
3016
+ "fr"
3017
+ ],
3018
+ "type": "string"
3019
+ },
3020
+ "mode": {
3021
+ "default": "light",
3022
+ "description": "Light or dark loader",
3023
+ "type": "string"
3024
+ },
3025
+ "msg": {
3026
+ "description": "Loading message",
3027
+ "examples": [
3028
+ "Loading dashboard..."
3029
+ ],
3030
+ "type": "string"
3031
+ },
3032
+ "showBranded": {
3033
+ "default": false,
3034
+ "description": "Shows the branded \"powered by\" information",
3035
+ "type": "boolean"
3036
+ },
3037
+ "spinnerBackground": {
3038
+ "default": "rgba(169, 169, 169, 0.14)",
3039
+ "description": "Background color of the spinner",
3040
+ "type": "string"
3041
+ },
3042
+ "spinnerColor": {
3043
+ "default": "rgba(255, 165, 0, 0.7)",
3044
+ "description": "Spinner color of the loader",
3045
+ "type": "string"
3046
+ }
3047
+ },
3048
+ "type": "object"
3049
+ },
3050
+ "locale": {
3051
+ "default": "en",
3052
+ "description": "Locale to be used",
3053
+ "examples": [
3054
+ "en",
3055
+ "fr"
3056
+ ],
3057
+ "type": "string"
3058
+ },
2972
3059
  "mode": {
2973
3060
  "enum": [
2974
3061
  "dynamicHeight",
@@ -3520,6 +3607,14 @@ declare const _default: {
3520
3607
  },
3521
3608
  "type": "object"
3522
3609
  },
3610
+ "timezoneId": {
3611
+ "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",
3612
+ "examples": [
3613
+ "Europe/Brussels",
3614
+ "America/New_York"
3615
+ ],
3616
+ "type": "string"
3617
+ },
3523
3618
  "title": {
3524
3619
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
3525
3620
  "examples": [