@luzmo/dashboard-contents-types 0.1.88 → 1.0.0

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 (229) hide show
  1. package/assets/json-schemas/area-chart-options.schema.json.d.ts +55 -15
  2. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +113 -33
  3. package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
  4. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +53 -15
  5. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +113 -33
  6. package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
  7. package/assets/json-schemas/box-plot-options.schema.json.d.ts +53 -15
  8. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +107 -27
  9. package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
  10. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +53 -15
  11. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +113 -33
  12. package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
  13. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +53 -15
  14. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +113 -33
  15. package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
  16. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +53 -15
  17. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +142 -35
  18. package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
  19. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +53 -15
  20. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +109 -29
  21. package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
  22. package/assets/json-schemas/column-chart-options.schema.json.d.ts +53 -15
  23. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +113 -33
  24. package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
  25. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +55 -15
  26. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +109 -29
  27. package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
  28. package/assets/json-schemas/date-filter-options.schema.json.d.ts +53 -15
  29. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +35 -8
  30. package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
  31. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +53 -15
  32. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +109 -29
  33. package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
  34. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +53 -15
  35. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +105 -25
  36. package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
  37. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +77 -37
  38. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +107 -27
  39. package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
  40. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +53 -15
  41. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +108 -28
  42. package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
  43. package/assets/json-schemas/image-options.schema.json.d.ts +7 -1
  44. package/assets/json-schemas/image.schema.json.d.ts +2 -2
  45. package/assets/json-schemas/line-chart-options.schema.json.d.ts +55 -15
  46. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +113 -33
  47. package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
  48. package/assets/json-schemas/options.schema.json.d.ts +24 -24
  49. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +53 -15
  50. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +113 -33
  51. package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
  52. package/assets/json-schemas/regular-table-options.schema.json.d.ts +53 -15
  53. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +105 -25
  54. package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
  55. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +53 -15
  56. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +117 -37
  57. package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
  58. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +53 -15
  59. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +121 -41
  60. package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
  61. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +53 -15
  62. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +109 -29
  63. package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
  64. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +53 -15
  65. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +72 -19
  66. package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
  67. package/assets/json-schemas/slots.schema.json.d.ts +22 -22
  68. package/assets/json-schemas/text-options.schema.json.d.ts +7 -1
  69. package/assets/json-schemas/text.schema.json.d.ts +2 -2
  70. package/assets/json-schemas/viz-item-type.schema.json.d.ts +2 -1
  71. package/index.d.ts +0 -1
  72. package/index.js +357 -111
  73. package/index.mjs +4143 -1451
  74. package/json-schemas.d.ts +2532 -605
  75. package/json-schemas.d.ts.map +1 -1
  76. package/package.json +1 -1
  77. package/src/index.d.ts +1 -1
  78. package/src/index.d.ts.map +1 -1
  79. package/src/lib/area-chart/area-chart-options.d.ts +13 -15
  80. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  81. package/src/lib/area-chart/area-chart-slots.d.ts +0 -2
  82. package/src/lib/area-chart/area-chart.d.ts +2 -4
  83. package/src/lib/area-chart/index.d.ts +0 -1
  84. package/src/lib/bar-chart/bar-chart-options.d.ts +14 -16
  85. package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
  86. package/src/lib/bar-chart/bar-chart.d.ts +2 -4
  87. package/src/lib/bar-chart/bar-chart.slots.d.ts +0 -2
  88. package/src/lib/bar-chart/index.d.ts +0 -1
  89. package/src/lib/box-plot/box-plot-options.d.ts +13 -15
  90. package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
  91. package/src/lib/box-plot/box-plot-slots.d.ts +0 -2
  92. package/src/lib/box-plot/box-plot.d.ts +2 -4
  93. package/src/lib/box-plot/index.d.ts +0 -1
  94. package/src/lib/bubble-chart/bubble-chart-options.d.ts +12 -14
  95. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  96. package/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -2
  97. package/src/lib/bubble-chart/bubble-chart.d.ts +2 -4
  98. package/src/lib/bubble-chart/index.d.ts +0 -1
  99. package/src/lib/bullet-chart/bullet-chart-options.d.ts +11 -13
  100. package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
  101. package/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -2
  102. package/src/lib/bullet-chart/bullet-chart.d.ts +2 -4
  103. package/src/lib/bullet-chart/index.d.ts +0 -1
  104. package/src/lib/choropleth-map/choropleth-map-options.d.ts +11 -13
  105. package/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -2
  106. package/src/lib/choropleth-map/choropleth-map.d.ts +2 -4
  107. package/src/lib/choropleth-map/index.d.ts +0 -1
  108. package/src/lib/circular-gauge/circular-gauge-options.d.ts +7 -9
  109. package/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -2
  110. package/src/lib/circular-gauge/circular-gauge.d.ts +2 -4
  111. package/src/lib/circular-gauge/index.d.ts +0 -1
  112. package/src/lib/column-chart/column-chart-options.d.ts +14 -16
  113. package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
  114. package/src/lib/column-chart/column-chart-slots.d.ts +0 -2
  115. package/src/lib/column-chart/column-chart.d.ts +2 -4
  116. package/src/lib/column-chart/index.d.ts +0 -1
  117. package/src/lib/combination-chart/combination-chart-options.d.ts +14 -16
  118. package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
  119. package/src/lib/combination-chart/combination-chart-slots.d.ts +0 -2
  120. package/src/lib/combination-chart/combination-chart.d.ts +2 -4
  121. package/src/lib/combination-chart/index.d.ts +0 -1
  122. package/src/lib/conditional-number/conditional-number-options.d.ts +9 -11
  123. package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
  124. package/src/lib/conditional-number/conditional-number-slots.d.ts +0 -2
  125. package/src/lib/conditional-number/conditional-number.d.ts +2 -4
  126. package/src/lib/conditional-number/index.d.ts +0 -1
  127. package/src/lib/date-filter/date-filter-options.d.ts +4 -6
  128. package/src/lib/date-filter/date-filter-slots.d.ts +0 -2
  129. package/src/lib/date-filter/date-filter.d.ts +2 -4
  130. package/src/lib/date-filter/index.d.ts +0 -1
  131. package/src/lib/donut-chart/donut-chart-options.d.ts +13 -15
  132. package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
  133. package/src/lib/donut-chart/donut-chart-slots.d.ts +0 -2
  134. package/src/lib/donut-chart/donut-chart.d.ts +2 -4
  135. package/src/lib/donut-chart/index.d.ts +0 -1
  136. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +6 -8
  137. package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -2
  138. package/src/lib/dropdown-filter/dropdown-filter.d.ts +2 -4
  139. package/src/lib/dropdown-filter/index.d.ts +0 -1
  140. package/src/lib/evolution-number/evolution-number-options.d.ts +27 -14
  141. package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
  142. package/src/lib/evolution-number/evolution-number-slots.d.ts +0 -2
  143. package/src/lib/evolution-number/evolution-number.d.ts +2 -4
  144. package/src/lib/evolution-number/index.d.ts +0 -1
  145. package/src/lib/funnel-chart/funnel-chart-options.d.ts +13 -15
  146. package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
  147. package/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -2
  148. package/src/lib/funnel-chart/funnel-chart.d.ts +2 -4
  149. package/src/lib/funnel-chart/index.d.ts +0 -1
  150. package/src/lib/image/image-options.d.ts +3 -5
  151. package/src/lib/image/image.d.ts +1 -3
  152. package/src/lib/image/index.d.ts +0 -1
  153. package/src/lib/line-chart/index.d.ts +0 -1
  154. package/src/lib/line-chart/line-chart-options.d.ts +13 -15
  155. package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
  156. package/src/lib/line-chart/line-chart-slots.d.ts +0 -2
  157. package/src/lib/line-chart/line-chart.d.ts +2 -4
  158. package/src/lib/pivot-table/index.d.ts +0 -1
  159. package/src/lib/pivot-table/pivot-table-options.d.ts +10 -12
  160. package/src/lib/pivot-table/pivot-table-slots.d.ts +0 -2
  161. package/src/lib/pivot-table/pivot-table.d.ts +2 -4
  162. package/src/lib/regular-table/index.d.ts +0 -1
  163. package/src/lib/regular-table/regular-table-options.d.ts +9 -11
  164. package/src/lib/regular-table/regular-table-slots.d.ts +0 -2
  165. package/src/lib/regular-table/regular-table.d.ts +2 -4
  166. package/src/lib/sankey-diagram/index.d.ts +0 -1
  167. package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +9 -11
  168. package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -2
  169. package/src/lib/sankey-diagram/sankey-diagram.d.ts +2 -4
  170. package/src/lib/scatter-plot/index.d.ts +0 -1
  171. package/src/lib/scatter-plot/scatter-plot-options.d.ts +12 -14
  172. package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
  173. package/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -2
  174. package/src/lib/scatter-plot/scatter-plot.d.ts +2 -4
  175. package/src/lib/search-filter/index.d.ts +3 -0
  176. package/src/lib/search-filter/index.d.ts.map +1 -0
  177. package/src/lib/search-filter/search-filter-options.d.ts +56 -0
  178. package/src/lib/search-filter/search-filter-options.d.ts.map +1 -0
  179. package/src/lib/search-filter/search-filter-slots.d.ts +17 -0
  180. package/src/lib/search-filter/search-filter-slots.d.ts.map +1 -0
  181. package/src/lib/search-filter/search-filter.d.ts +23 -0
  182. package/src/lib/search-filter/search-filter.d.ts.map +1 -0
  183. package/src/lib/shared/axes.d.ts +0 -1
  184. package/src/lib/shared/axis-view-options.d.ts +0 -2
  185. package/src/lib/shared/common.d.ts +6 -8
  186. package/src/lib/shared/common.d.ts.map +1 -1
  187. package/src/lib/shared/drop-object-view-options.d.ts +2 -2
  188. package/src/lib/shared/drop-object-view-options.d.ts.map +1 -1
  189. package/src/lib/shared/filters.d.ts +0 -1
  190. package/src/lib/shared/formula.d.ts +0 -2
  191. package/src/lib/shared/index.d.ts +0 -1
  192. package/src/lib/shared/info-tooltip-options.d.ts +0 -1
  193. package/src/lib/shared/interactivity-brush.d.ts +0 -1
  194. package/src/lib/shared/interactivity-custom-events.d.ts +0 -2
  195. package/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -1
  196. package/src/lib/shared/interactivity-drilldown.d.ts +0 -2
  197. package/src/lib/shared/interactivity-export.d.ts +0 -1
  198. package/src/lib/shared/interactivity-filter.d.ts +0 -1
  199. package/src/lib/shared/interactivity-go-to-url.d.ts +0 -1
  200. package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +1 -3
  201. package/src/lib/shared/interactivity-target.d.ts +0 -1
  202. package/src/lib/shared/interpolation.d.ts +0 -1
  203. package/src/lib/shared/item-filter-group.d.ts +54 -3
  204. package/src/lib/shared/item-filter-group.d.ts.map +1 -1
  205. package/src/lib/shared/legend.d.ts +0 -2
  206. package/src/lib/shared/map-object-view-options.d.ts +2 -4
  207. package/src/lib/shared/object-view-options.d.ts +2 -4
  208. package/src/lib/shared/placeholder.d.ts +0 -1
  209. package/src/lib/shared/query.d.ts +0 -1
  210. package/src/lib/shared/ranges.d.ts +0 -1
  211. package/src/lib/shared/slots.d.ts +60 -6
  212. package/src/lib/shared/slots.d.ts.map +1 -1
  213. package/src/lib/shared/sort.d.ts +0 -2
  214. package/src/lib/shared/theme.d.ts +4 -1
  215. package/src/lib/shared/theme.d.ts.map +1 -1
  216. package/src/lib/shared/title.d.ts +0 -1
  217. package/src/lib/slicer-filter/index.d.ts +0 -1
  218. package/src/lib/slicer-filter/slicer-filter-options.d.ts +6 -8
  219. package/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -2
  220. package/src/lib/slicer-filter/slicer-filter.d.ts +2 -4
  221. package/src/lib/slider-filter/index.d.ts +0 -1
  222. package/src/lib/slider-filter/slider-filter-options.d.ts +5 -7
  223. package/src/lib/slider-filter/slider-filter-slots.d.ts +0 -2
  224. package/src/lib/slider-filter/slider-filter.d.ts +2 -4
  225. package/src/lib/text/index.d.ts +0 -1
  226. package/src/lib/text/text-options.d.ts +1 -3
  227. package/src/lib/text/text.d.ts +1 -3
  228. package/src/options.d.ts +23 -25
  229. package/src/slots.d.ts +21 -23
@@ -1,12 +1,18 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-options.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "properties": {
5
5
  "colWidths": {
6
6
  "type": "object"
7
7
  },
8
8
  "color": {
9
+ "default": "",
9
10
  "description": "The main color for the item, if omitted the default color from the theme will be used.",
11
+ "examples": [
12
+ "#FF5733",
13
+ "#33FF57",
14
+ "#5733FF"
15
+ ],
10
16
  "type": "string"
11
17
  },
12
18
  "columnHeaders": {
@@ -593,7 +599,7 @@ declare const _default: {
593
599
  "aggregationWeight": {
594
600
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
595
601
  "properties": {
596
- "column": {
602
+ "columnId": {
597
603
  "description": "Column id",
598
604
  "format": "uuid",
599
605
  "type": "string"
@@ -609,7 +615,7 @@ declare const _default: {
609
615
  ],
610
616
  "type": "string"
611
617
  },
612
- "set": {
618
+ "datasetId": {
613
619
  "description": "Dataset id",
614
620
  "format": "uuid",
615
621
  "type": "string"
@@ -638,11 +644,6 @@ declare const _default: {
638
644
  "string"
639
645
  ]
640
646
  },
641
- "column": {
642
- "description": "Column id",
643
- "format": "uuid",
644
- "type": "string"
645
- },
646
647
  "columnHierarchies": {
647
648
  "anyOf": [
648
649
  {
@@ -673,6 +674,11 @@ declare const _default: {
673
674
  }
674
675
  ]
675
676
  },
677
+ "columnId": {
678
+ "description": "Column id",
679
+ "format": "uuid",
680
+ "type": "string"
681
+ },
676
682
  "currency": {
677
683
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
678
684
  "type": [
@@ -680,6 +686,11 @@ declare const _default: {
680
686
  "string"
681
687
  ]
682
688
  },
689
+ "datasetId": {
690
+ "description": "Dataset id",
691
+ "format": "uuid",
692
+ "type": "string"
693
+ },
683
694
  "datetimeDisplayMode": {
684
695
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
685
696
  "enum": [
@@ -725,8 +736,7 @@ declare const _default: {
725
736
  "type": "string"
726
737
  },
727
738
  "formula": {
728
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
729
- "format": "uuid",
739
+ "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.",
730
740
  "type": "string"
731
741
  },
732
742
  "grandTotals": {
@@ -772,17 +782,39 @@ declare const _default: {
772
782
  ],
773
783
  "type": "string"
774
784
  },
785
+ "periodOverPeriod": {
786
+ "description": "Settings to configure period over period comparison",
787
+ "properties": {
788
+ "level": {
789
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
790
+ "type": "number"
791
+ },
792
+ "periodToDate": {
793
+ "description": "period to date comparison",
794
+ "type": "boolean"
795
+ },
796
+ "quantity": {
797
+ "description": "number of periods",
798
+ "type": "number"
799
+ },
800
+ "type": {
801
+ "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",
802
+ "enum": [
803
+ "change",
804
+ "none",
805
+ "past"
806
+ ],
807
+ "type": "string"
808
+ }
809
+ },
810
+ "type": "object"
811
+ },
775
812
  "readonly": {
776
813
  "type": "boolean"
777
814
  },
778
815
  "selected": {
779
816
  "type": "boolean"
780
817
  },
781
- "set": {
782
- "description": "Dataset id",
783
- "format": "uuid",
784
- "type": "string"
785
- },
786
818
  "subtype": {
787
819
  "anyOf": [
788
820
  {
@@ -1043,6 +1075,12 @@ declare const _default: {
1043
1075
  "type": "string"
1044
1076
  },
1045
1077
  "baseFontSize": {
1078
+ "description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
1079
+ "examples": [
1080
+ 13,
1081
+ 16,
1082
+ 20
1083
+ ],
1046
1084
  "type": "number"
1047
1085
  },
1048
1086
  "borders": {
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "definitions": {
5
5
  "ColumnSlot": {
@@ -10,13 +10,13 @@ declare const _default: {
10
10
  "items": {
11
11
  "anyOf": [
12
12
  {
13
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/NumericSlotContent"
13
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"
14
14
  },
15
15
  {
16
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"
16
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"
17
17
  },
18
18
  {
19
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"
19
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"
20
20
  }
21
21
  ]
22
22
  },
@@ -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",
130
+ "properties": {
131
+ "level": {
132
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
133
+ "type": "number"
134
+ },
135
+ "periodToDate": {
136
+ "description": "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",
244
+ "properties": {
245
+ "level": {
246
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
247
+ "type": "number"
248
+ },
249
+ "periodToDate": {
250
+ "description": "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": [
@@ -248,13 +302,13 @@ declare const _default: {
248
302
  "items": {
249
303
  "anyOf": [
250
304
  {
251
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/NumericSlotContent"
305
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"
252
306
  },
253
307
  {
254
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"
308
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"
255
309
  },
256
310
  {
257
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"
311
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"
258
312
  }
259
313
  ]
260
314
  },
@@ -291,16 +345,16 @@ declare const _default: {
291
345
  "aggregationWeight": {
292
346
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
293
347
  "properties": {
294
- "column": {
348
+ "columnId": {
295
349
  "description": "Column id",
296
350
  "format": "uuid",
297
351
  "type": "string"
298
352
  },
299
353
  "columnSubType": {
300
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/ColumnSubtype",
354
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/ColumnSubtype",
301
355
  "description": "Column subtype"
302
356
  },
303
- "set": {
357
+ "datasetId": {
304
358
  "description": "Dataset id",
305
359
  "format": "uuid",
306
360
  "type": "string"
@@ -329,7 +383,7 @@ declare const _default: {
329
383
  "string"
330
384
  ]
331
385
  },
332
- "column": {
386
+ "columnId": {
333
387
  "description": "Column id",
334
388
  "format": "uuid",
335
389
  "type": "string"
@@ -341,6 +395,11 @@ declare const _default: {
341
395
  "string"
342
396
  ]
343
397
  },
398
+ "datasetId": {
399
+ "description": "Dataset id",
400
+ "format": "uuid",
401
+ "type": "string"
402
+ },
344
403
  "duration": {
345
404
  "description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
346
405
  "properties": {
@@ -368,8 +427,7 @@ declare const _default: {
368
427
  "type": "string"
369
428
  },
370
429
  "formula": {
371
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
372
- "format": "uuid",
430
+ "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.",
373
431
  "type": "string"
374
432
  },
375
433
  "grandTotals": {
@@ -385,10 +443,32 @@ declare const _default: {
385
443
  "description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
386
444
  "type": "object"
387
445
  },
388
- "set": {
389
- "description": "Dataset id",
390
- "format": "uuid",
391
- "type": "string"
446
+ "periodOverPeriod": {
447
+ "description": "Settings to configure period over period comparison",
448
+ "properties": {
449
+ "level": {
450
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
451
+ "type": "number"
452
+ },
453
+ "periodToDate": {
454
+ "description": "period to date comparison",
455
+ "type": "boolean"
456
+ },
457
+ "quantity": {
458
+ "description": "number of periods",
459
+ "type": "number"
460
+ },
461
+ "type": {
462
+ "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",
463
+ "enum": [
464
+ "change",
465
+ "none",
466
+ "past"
467
+ ],
468
+ "type": "string"
469
+ }
470
+ },
471
+ "type": "object"
392
472
  },
393
473
  "subtype": {
394
474
  "anyOf": [
@@ -426,13 +506,13 @@ declare const _default: {
426
506
  "items": {
427
507
  "anyOf": [
428
508
  {
429
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/NumericSlotContent"
509
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"
430
510
  },
431
511
  {
432
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"
512
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"
433
513
  },
434
514
  {
435
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"
515
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"
436
516
  }
437
517
  ]
438
518
  },
@@ -451,13 +531,13 @@ declare const _default: {
451
531
  "items": {
452
532
  "anyOf": [
453
533
  {
454
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/RowSlot"
534
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/RowSlot"
455
535
  },
456
536
  {
457
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/ColumnSlot"
537
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/ColumnSlot"
458
538
  },
459
539
  {
460
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/MeasureSlot"
540
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/MeasureSlot"
461
541
  }
462
542
  ]
463
543
  },
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table.schema.json",
3
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table.schema.json",
4
4
  "type": "object",
5
5
  "description": "Pivot Table item",
6
6
  "properties": {
@@ -11,11 +11,11 @@ declare const _default: {
11
11
  },
12
12
  "options": {
13
13
  "description": "Options of the Pivot Table item",
14
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-options.schema.json"
14
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json"
15
15
  },
16
16
  "slots": {
17
17
  "description": "Data definition of the Pivot Table item",
18
- "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json"
18
+ "$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json"
19
19
  }
20
20
  }
21
21
  };
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.88/regular-table-options.schema.json",
2
+ "$id": "https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-options.schema.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "properties": {
5
5
  "alternateRowColor": {
@@ -8,7 +8,13 @@ declare const _default: {
8
8
  "type": "boolean"
9
9
  },
10
10
  "color": {
11
+ "default": "",
11
12
  "description": "The main color for the item, if omitted the default color from the theme will be used.",
13
+ "examples": [
14
+ "#FF5733",
15
+ "#33FF57",
16
+ "#5733FF"
17
+ ],
12
18
  "type": "string"
13
19
  },
14
20
  "columns": {
@@ -660,7 +666,7 @@ declare const _default: {
660
666
  "aggregationWeight": {
661
667
  "description": "Aggregation weight. It can be used with a \"numeric\" column type.",
662
668
  "properties": {
663
- "column": {
669
+ "columnId": {
664
670
  "description": "Column id",
665
671
  "format": "uuid",
666
672
  "type": "string"
@@ -676,7 +682,7 @@ declare const _default: {
676
682
  ],
677
683
  "type": "string"
678
684
  },
679
- "set": {
685
+ "datasetId": {
680
686
  "description": "Dataset id",
681
687
  "format": "uuid",
682
688
  "type": "string"
@@ -705,11 +711,6 @@ declare const _default: {
705
711
  "string"
706
712
  ]
707
713
  },
708
- "column": {
709
- "description": "Column id",
710
- "format": "uuid",
711
- "type": "string"
712
- },
713
714
  "columnHierarchies": {
714
715
  "anyOf": [
715
716
  {
@@ -740,6 +741,11 @@ declare const _default: {
740
741
  }
741
742
  ]
742
743
  },
744
+ "columnId": {
745
+ "description": "Column id",
746
+ "format": "uuid",
747
+ "type": "string"
748
+ },
743
749
  "currency": {
744
750
  "description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
745
751
  "type": [
@@ -747,6 +753,11 @@ declare const _default: {
747
753
  "string"
748
754
  ]
749
755
  },
756
+ "datasetId": {
757
+ "description": "Dataset id",
758
+ "format": "uuid",
759
+ "type": "string"
760
+ },
750
761
  "datetimeDisplayMode": {
751
762
  "description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
752
763
  "enum": [
@@ -792,8 +803,7 @@ declare const _default: {
792
803
  "type": "string"
793
804
  },
794
805
  "formula": {
795
- "description": "Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",
796
- "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.",
797
807
  "type": "string"
798
808
  },
799
809
  "grandTotals": {
@@ -839,17 +849,39 @@ declare const _default: {
839
849
  ],
840
850
  "type": "string"
841
851
  },
852
+ "periodOverPeriod": {
853
+ "description": "Settings to configure period over period comparison",
854
+ "properties": {
855
+ "level": {
856
+ "description": "0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
857
+ "type": "number"
858
+ },
859
+ "periodToDate": {
860
+ "description": "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
+ },
842
879
  "readonly": {
843
880
  "type": "boolean"
844
881
  },
845
882
  "selected": {
846
883
  "type": "boolean"
847
884
  },
848
- "set": {
849
- "description": "Dataset id",
850
- "format": "uuid",
851
- "type": "string"
852
- },
853
885
  "subtype": {
854
886
  "anyOf": [
855
887
  {
@@ -1103,6 +1135,12 @@ declare const _default: {
1103
1135
  "type": "string"
1104
1136
  },
1105
1137
  "baseFontSize": {
1138
+ "description": "Base font size, usually it participates in calculations related to font sizes, spacings, etc.",
1139
+ "examples": [
1140
+ 13,
1141
+ 16,
1142
+ 20
1143
+ ],
1106
1144
  "type": "number"
1107
1145
  },
1108
1146
  "borders": {