@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
@@ -666,7 +666,7 @@ declare const _default: {
666
666
  "aggregationWeight": {
667
667
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
668
668
  "properties": {
669
- "column": {
669
+ "columnId": {
670
670
  "description": "Column id",
671
671
  "format": "uuid",
672
672
  "type": "string"
@@ -682,7 +682,7 @@ declare const _default: {
682
682
  ],
683
683
  "type": "string"
684
684
  },
685
- "set": {
685
+ "datasetId": {
686
686
  "description": "Dataset id",
687
687
  "format": "uuid",
688
688
  "type": "string"
@@ -711,11 +711,6 @@ declare const _default: {
711
711
  "string"
712
712
  ]
713
713
  },
714
- "column": {
715
- "description": "Column id",
716
- "format": "uuid",
717
- "type": "string"
718
- },
719
714
  "columnHierarchies": {
720
715
  "anyOf": [
721
716
  {
@@ -746,6 +741,11 @@ declare const _default: {
746
741
  }
747
742
  ]
748
743
  },
744
+ "columnId": {
745
+ "description": "Column id",
746
+ "format": "uuid",
747
+ "type": "string"
748
+ },
749
749
  "currency": {
750
750
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
751
751
  "type": [
@@ -753,6 +753,11 @@ declare const _default: {
753
753
  "string"
754
754
  ]
755
755
  },
756
+ "datasetId": {
757
+ "description": "Dataset id",
758
+ "format": "uuid",
759
+ "type": "string"
760
+ },
756
761
  "datetimeDisplayMode": {
757
762
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
758
763
  "enum": [
@@ -798,8 +803,7 @@ declare const _default: {
798
803
  "type": "string"
799
804
  },
800
805
  "formula": {
801
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
802
- "format": "uuid",
806
+ "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",
803
807
  "type": "string"
804
808
  },
805
809
  "grandTotals": {
@@ -845,17 +849,39 @@ declare const _default: {
845
849
  ],
846
850
  "type": "string"
847
851
  },
852
+ "periodOverPeriod": {
853
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
854
+ "properties": {
855
+ "level": {
856
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
857
+ "type": "number"
858
+ },
859
+ "periodToDate": {
860
+ "description": "Turn ON/OFF period to date comparison",
861
+ "type": "boolean"
862
+ },
863
+ "quantity": {
864
+ "description": "Number of periods",
865
+ "type": "number"
866
+ },
867
+ "type": {
868
+ "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",
869
+ "enum": [
870
+ "change",
871
+ "none",
872
+ "past"
873
+ ],
874
+ "type": "string"
875
+ }
876
+ },
877
+ "type": "object"
878
+ },
848
879
  "readonly": {
849
880
  "type": "boolean"
850
881
  },
851
882
  "selected": {
852
883
  "type": "boolean"
853
884
  },
854
- "set": {
855
- "description": "Dataset id",
856
- "format": "uuid",
857
- "type": "string"
858
- },
859
885
  "subtype": {
860
886
  "anyOf": [
861
887
  {
@@ -950,6 +976,67 @@ declare const _default: {
950
976
  },
951
977
  "type": "object"
952
978
  },
979
+ "loader": {
980
+ "description": "The loader configuration",
981
+ "properties": {
982
+ "background": {
983
+ "default": "#f9f9f9",
984
+ "description": "Background color of the chart loader element",
985
+ "type": "string"
986
+ },
987
+ "fontColor": {
988
+ "default": "#5a5a5a",
989
+ "description": "Font color of the text of the chart loaders",
990
+ "type": "string"
991
+ },
992
+ "locale": {
993
+ "default": "en",
994
+ "description": "Locale to be used if \"msg\" is set",
995
+ "examples": [
996
+ "en",
997
+ "fr"
998
+ ],
999
+ "type": "string"
1000
+ },
1001
+ "mode": {
1002
+ "default": "light",
1003
+ "description": "Light or dark loader",
1004
+ "type": "string"
1005
+ },
1006
+ "msg": {
1007
+ "description": "Loading message",
1008
+ "examples": [
1009
+ "Loading dashboard..."
1010
+ ],
1011
+ "type": "string"
1012
+ },
1013
+ "showBranded": {
1014
+ "default": false,
1015
+ "description": "Shows the branded \"powered by\" information",
1016
+ "type": "boolean"
1017
+ },
1018
+ "spinnerBackground": {
1019
+ "default": "rgba(169, 169, 169, 0.14)",
1020
+ "description": "Background color of the spinner",
1021
+ "type": "string"
1022
+ },
1023
+ "spinnerColor": {
1024
+ "default": "rgba(255, 165, 0, 0.7)",
1025
+ "description": "Spinner color of the loader",
1026
+ "type": "string"
1027
+ }
1028
+ },
1029
+ "type": "object"
1030
+ },
1031
+ "locale": {
1032
+ "default": "en",
1033
+ "description": "Locale to be used",
1034
+ "examples": [
1035
+ "en",
1036
+ "fr"
1037
+ ],
1038
+ "type": "string"
1039
+ },
953
1040
  "rowHeight": {
954
1041
  "default": 28,
955
1042
  "description": "Row height",
@@ -1548,6 +1635,14 @@ declare const _default: {
1548
1635
  },
1549
1636
  "type": "object"
1550
1637
  },
1638
+ "timezoneId": {
1639
+ "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",
1640
+ "examples": [
1641
+ "Europe/Brussels",
1642
+ "America/New_York"
1643
+ ],
1644
+ "type": "string"
1645
+ },
1551
1646
  "title": {
1552
1647
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
1553
1648
  "examples": [
@@ -57,11 +57,16 @@ declare const _default: {
57
57
  "string"
58
58
  ]
59
59
  },
60
- "column": {
60
+ "columnId": {
61
61
  "description": "Column id",
62
62
  "format": "uuid",
63
63
  "type": "string"
64
64
  },
65
+ "datasetId": {
66
+ "description": "Dataset id",
67
+ "format": "uuid",
68
+ "type": "string"
69
+ },
65
70
  "datetimeDisplayMode": {
66
71
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
67
72
  "enum": [
@@ -120,10 +125,32 @@ declare const _default: {
120
125
  ],
121
126
  "type": "string"
122
127
  },
123
- "set": {
124
- "description": "Dataset id",
125
- "format": "uuid",
126
- "type": "string"
128
+ "periodOverPeriod": {
129
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
130
+ "properties": {
131
+ "level": {
132
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
133
+ "type": "number"
134
+ },
135
+ "periodToDate": {
136
+ "description": "Turn ON/OFF period to date comparison",
137
+ "type": "boolean"
138
+ },
139
+ "quantity": {
140
+ "description": "Number of periods",
141
+ "type": "number"
142
+ },
143
+ "type": {
144
+ "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",
145
+ "enum": [
146
+ "change",
147
+ "none",
148
+ "past"
149
+ ],
150
+ "type": "string"
151
+ }
152
+ },
153
+ "type": "object"
127
154
  },
128
155
  "subtype": {
129
156
  "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
- "column": {
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
- "set": {
211
- "description": "Dataset id",
212
- "format": "uuid",
213
- "type": "string"
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": [
@@ -263,7 +317,7 @@ declare const _default: {
263
317
  "aggregationWeight": {
264
318
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
265
319
  "properties": {
266
- "column": {
320
+ "columnId": {
267
321
  "description": "Column id",
268
322
  "format": "uuid",
269
323
  "type": "string"
@@ -272,7 +326,7 @@ declare const _default: {
272
326
  "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/ColumnSubtype",
273
327
  "description": "Column subtype"
274
328
  },
275
- "set": {
329
+ "datasetId": {
276
330
  "description": "Dataset id",
277
331
  "format": "uuid",
278
332
  "type": "string"
@@ -301,7 +355,7 @@ declare const _default: {
301
355
  "string"
302
356
  ]
303
357
  },
304
- "column": {
358
+ "columnId": {
305
359
  "description": "Column id",
306
360
  "format": "uuid",
307
361
  "type": "string"
@@ -313,6 +367,11 @@ declare const _default: {
313
367
  "string"
314
368
  ]
315
369
  },
370
+ "datasetId": {
371
+ "description": "Dataset id",
372
+ "format": "uuid",
373
+ "type": "string"
374
+ },
316
375
  "duration": {
317
376
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
318
377
  "properties": {
@@ -340,8 +399,7 @@ declare const _default: {
340
399
  "type": "string"
341
400
  },
342
401
  "formula": {
343
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
344
- "format": "uuid",
402
+ "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",
345
403
  "type": "string"
346
404
  },
347
405
  "grandTotals": {
@@ -357,10 +415,32 @@ declare const _default: {
357
415
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
358
416
  "type": "object"
359
417
  },
360
- "set": {
361
- "description": "Dataset id",
362
- "format": "uuid",
363
- "type": "string"
418
+ "periodOverPeriod": {
419
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
420
+ "properties": {
421
+ "level": {
422
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
423
+ "type": "number"
424
+ },
425
+ "periodToDate": {
426
+ "description": "Turn ON/OFF period to date comparison",
427
+ "type": "boolean"
428
+ },
429
+ "quantity": {
430
+ "description": "Number of periods",
431
+ "type": "number"
432
+ },
433
+ "type": {
434
+ "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",
435
+ "enum": [
436
+ "change",
437
+ "none",
438
+ "past"
439
+ ],
440
+ "type": "string"
441
+ }
442
+ },
443
+ "type": "object"
364
444
  },
365
445
  "subtype": {
366
446
  "anyOf": [
@@ -569,7 +569,7 @@ declare const _default: {
569
569
  "aggregationWeight": {
570
570
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
571
571
  "properties": {
572
- "column": {
572
+ "columnId": {
573
573
  "description": "Column id",
574
574
  "format": "uuid",
575
575
  "type": "string"
@@ -585,7 +585,7 @@ declare const _default: {
585
585
  ],
586
586
  "type": "string"
587
587
  },
588
- "set": {
588
+ "datasetId": {
589
589
  "description": "Dataset id",
590
590
  "format": "uuid",
591
591
  "type": "string"
@@ -614,11 +614,6 @@ declare const _default: {
614
614
  "string"
615
615
  ]
616
616
  },
617
- "column": {
618
- "description": "Column id",
619
- "format": "uuid",
620
- "type": "string"
621
- },
622
617
  "columnHierarchies": {
623
618
  "anyOf": [
624
619
  {
@@ -649,6 +644,11 @@ declare const _default: {
649
644
  }
650
645
  ]
651
646
  },
647
+ "columnId": {
648
+ "description": "Column id",
649
+ "format": "uuid",
650
+ "type": "string"
651
+ },
652
652
  "currency": {
653
653
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
654
654
  "type": [
@@ -656,6 +656,11 @@ declare const _default: {
656
656
  "string"
657
657
  ]
658
658
  },
659
+ "datasetId": {
660
+ "description": "Dataset id",
661
+ "format": "uuid",
662
+ "type": "string"
663
+ },
659
664
  "datetimeDisplayMode": {
660
665
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
661
666
  "enum": [
@@ -701,8 +706,7 @@ declare const _default: {
701
706
  "type": "string"
702
707
  },
703
708
  "formula": {
704
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
705
- "format": "uuid",
709
+ "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",
706
710
  "type": "string"
707
711
  },
708
712
  "grandTotals": {
@@ -748,17 +752,39 @@ declare const _default: {
748
752
  ],
749
753
  "type": "string"
750
754
  },
755
+ "periodOverPeriod": {
756
+ "description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
757
+ "properties": {
758
+ "level": {
759
+ "description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
760
+ "type": "number"
761
+ },
762
+ "periodToDate": {
763
+ "description": "Turn ON/OFF period to date comparison",
764
+ "type": "boolean"
765
+ },
766
+ "quantity": {
767
+ "description": "Number of periods",
768
+ "type": "number"
769
+ },
770
+ "type": {
771
+ "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",
772
+ "enum": [
773
+ "change",
774
+ "none",
775
+ "past"
776
+ ],
777
+ "type": "string"
778
+ }
779
+ },
780
+ "type": "object"
781
+ },
751
782
  "readonly": {
752
783
  "type": "boolean"
753
784
  },
754
785
  "selected": {
755
786
  "type": "boolean"
756
787
  },
757
- "set": {
758
- "description": "Dataset id",
759
- "format": "uuid",
760
- "type": "string"
761
- },
762
788
  "subtype": {
763
789
  "anyOf": [
764
790
  {
@@ -885,6 +911,67 @@ declare const _default: {
885
911
  },
886
912
  "type": "object"
887
913
  },
914
+ "loader": {
915
+ "description": "The loader configuration",
916
+ "properties": {
917
+ "background": {
918
+ "default": "#f9f9f9",
919
+ "description": "Background color of the chart loader element",
920
+ "type": "string"
921
+ },
922
+ "fontColor": {
923
+ "default": "#5a5a5a",
924
+ "description": "Font color of the text of the chart loaders",
925
+ "type": "string"
926
+ },
927
+ "locale": {
928
+ "default": "en",
929
+ "description": "Locale to be used if \"msg\" is set",
930
+ "examples": [
931
+ "en",
932
+ "fr"
933
+ ],
934
+ "type": "string"
935
+ },
936
+ "mode": {
937
+ "default": "light",
938
+ "description": "Light or dark loader",
939
+ "type": "string"
940
+ },
941
+ "msg": {
942
+ "description": "Loading message",
943
+ "examples": [
944
+ "Loading dashboard..."
945
+ ],
946
+ "type": "string"
947
+ },
948
+ "showBranded": {
949
+ "default": false,
950
+ "description": "Shows the branded \"powered by\" information",
951
+ "type": "boolean"
952
+ },
953
+ "spinnerBackground": {
954
+ "default": "rgba(169, 169, 169, 0.14)",
955
+ "description": "Background color of the spinner",
956
+ "type": "string"
957
+ },
958
+ "spinnerColor": {
959
+ "default": "rgba(255, 165, 0, 0.7)",
960
+ "description": "Spinner color of the loader",
961
+ "type": "string"
962
+ }
963
+ },
964
+ "type": "object"
965
+ },
966
+ "locale": {
967
+ "default": "en",
968
+ "description": "Locale to be used",
969
+ "examples": [
970
+ "en",
971
+ "fr"
972
+ ],
973
+ "type": "string"
974
+ },
888
975
  "nodeSorting": {
889
976
  "description": "Set node sorting, ascending or descending (asc, dsc)",
890
977
  "enum": [
@@ -1367,6 +1454,14 @@ declare const _default: {
1367
1454
  },
1368
1455
  "type": "object"
1369
1456
  },
1457
+ "timezoneId": {
1458
+ "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",
1459
+ "examples": [
1460
+ "Europe/Brussels",
1461
+ "America/New_York"
1462
+ ],
1463
+ "type": "string"
1464
+ },
1370
1465
  "title": {
1371
1466
  "description": "Title in format {locale: \"title\"}, for example, {en: \"Title\"}",
1372
1467
  "examples": [