@lightdash/common 0.2406.0 → 0.2407.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 (190) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/compiler/exploreCompiler.d.ts +12 -0
  3. package/dist/cjs/compiler/exploreCompiler.d.ts.map +1 -1
  4. package/dist/cjs/compiler/exploreCompiler.js +68 -5
  5. package/dist/cjs/compiler/exploreCompiler.js.map +1 -1
  6. package/dist/cjs/compiler/exploreCompiler.mock.d.ts +14 -0
  7. package/dist/cjs/compiler/exploreCompiler.mock.d.ts.map +1 -1
  8. package/dist/cjs/compiler/exploreCompiler.mock.js +331 -5
  9. package/dist/cjs/compiler/exploreCompiler.mock.js.map +1 -1
  10. package/dist/cjs/compiler/exploreCompiler.test.js +87 -0
  11. package/dist/cjs/compiler/exploreCompiler.test.js.map +1 -1
  12. package/dist/cjs/compiler/lightdashProjectConfig.d.ts.map +1 -1
  13. package/dist/cjs/compiler/lightdashProjectConfig.js +2 -1
  14. package/dist/cjs/compiler/lightdashProjectConfig.js.map +1 -1
  15. package/dist/cjs/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.d.ts.map +1 -1
  16. package/dist/cjs/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.js +8 -20
  17. package/dist/cjs/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.js.map +1 -1
  18. package/dist/cjs/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.d.ts.map +1 -1
  19. package/dist/cjs/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.js +9 -19
  20. package/dist/cjs/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.js.map +1 -1
  21. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/bar.js +1 -1
  22. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/bar.js.map +1 -1
  23. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.d.ts.map +1 -1
  24. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.js +10 -3
  25. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.js.map +1 -1
  26. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/horizontalBar.js +1 -1
  27. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/horizontalBar.js.map +1 -1
  28. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.d.ts.map +1 -1
  29. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.js +2 -1
  30. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.js.map +1 -1
  31. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.d.ts.map +1 -1
  32. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.js +13 -6
  33. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.js.map +1 -1
  34. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.d.ts.map +1 -1
  35. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.js +2 -1
  36. package/dist/cjs/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.js.map +1 -1
  37. package/dist/cjs/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.d.ts +6 -2
  38. package/dist/cjs/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.d.ts.map +1 -1
  39. package/dist/cjs/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.js +30 -14
  40. package/dist/cjs/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.js.map +1 -1
  41. package/dist/cjs/schemas/json/chart-as-code-1.0.json +418 -42
  42. package/dist/cjs/types/content.d.ts +1 -0
  43. package/dist/cjs/types/content.d.ts.map +1 -1
  44. package/dist/cjs/types/errors.d.ts +10 -0
  45. package/dist/cjs/types/errors.d.ts.map +1 -1
  46. package/dist/cjs/types/errors.js +27 -2
  47. package/dist/cjs/types/errors.js.map +1 -1
  48. package/dist/cjs/types/periodOverPeriodComparison.d.ts +19 -1
  49. package/dist/cjs/types/periodOverPeriodComparison.d.ts.map +1 -1
  50. package/dist/cjs/types/periodOverPeriodComparison.js +36 -3
  51. package/dist/cjs/types/periodOverPeriodComparison.js.map +1 -1
  52. package/dist/cjs/types/periodOverPeriodComparison.test.d.ts +2 -0
  53. package/dist/cjs/types/periodOverPeriodComparison.test.d.ts.map +1 -0
  54. package/dist/cjs/types/periodOverPeriodComparison.test.js +81 -0
  55. package/dist/cjs/types/periodOverPeriodComparison.test.js.map +1 -0
  56. package/dist/cjs/types/savedCharts.d.ts +3 -0
  57. package/dist/cjs/types/savedCharts.d.ts.map +1 -1
  58. package/dist/cjs/types/savedCharts.js.map +1 -1
  59. package/dist/cjs/types/space.d.ts +2 -1
  60. package/dist/cjs/types/space.d.ts.map +1 -1
  61. package/dist/cjs/types/space.js.map +1 -1
  62. package/dist/cjs/visualizations/types/index.d.ts +1 -1
  63. package/dist/cjs/visualizations/types/index.d.ts.map +1 -1
  64. package/dist/esm/.tsbuildinfo +1 -1
  65. package/dist/esm/compiler/exploreCompiler.d.ts +12 -0
  66. package/dist/esm/compiler/exploreCompiler.d.ts.map +1 -1
  67. package/dist/esm/compiler/exploreCompiler.js +66 -4
  68. package/dist/esm/compiler/exploreCompiler.js.map +1 -1
  69. package/dist/esm/compiler/exploreCompiler.mock.d.ts +14 -0
  70. package/dist/esm/compiler/exploreCompiler.mock.d.ts.map +1 -1
  71. package/dist/esm/compiler/exploreCompiler.mock.js +329 -3
  72. package/dist/esm/compiler/exploreCompiler.mock.js.map +1 -1
  73. package/dist/esm/compiler/exploreCompiler.test.js +89 -2
  74. package/dist/esm/compiler/exploreCompiler.test.js.map +1 -1
  75. package/dist/esm/compiler/lightdashProjectConfig.d.ts.map +1 -1
  76. package/dist/esm/compiler/lightdashProjectConfig.js +2 -1
  77. package/dist/esm/compiler/lightdashProjectConfig.js.map +1 -1
  78. package/dist/esm/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.d.ts.map +1 -1
  79. package/dist/esm/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.js +8 -20
  80. package/dist/esm/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.js.map +1 -1
  81. package/dist/esm/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.d.ts.map +1 -1
  82. package/dist/esm/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.js +9 -19
  83. package/dist/esm/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.js.map +1 -1
  84. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/bar.js +1 -1
  85. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/bar.js.map +1 -1
  86. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.d.ts.map +1 -1
  87. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.js +10 -3
  88. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.js.map +1 -1
  89. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/horizontalBar.js +1 -1
  90. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/horizontalBar.js.map +1 -1
  91. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.d.ts.map +1 -1
  92. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.js +2 -1
  93. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.js.map +1 -1
  94. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.d.ts.map +1 -1
  95. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.js +13 -6
  96. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.js.map +1 -1
  97. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.d.ts.map +1 -1
  98. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.js +2 -1
  99. package/dist/esm/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.js.map +1 -1
  100. package/dist/esm/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.d.ts +6 -2
  101. package/dist/esm/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.d.ts.map +1 -1
  102. package/dist/esm/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.js +30 -14
  103. package/dist/esm/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.js.map +1 -1
  104. package/dist/esm/schemas/json/chart-as-code-1.0.json +418 -42
  105. package/dist/esm/types/content.d.ts +1 -0
  106. package/dist/esm/types/content.d.ts.map +1 -1
  107. package/dist/esm/types/errors.d.ts +10 -0
  108. package/dist/esm/types/errors.d.ts.map +1 -1
  109. package/dist/esm/types/errors.js +23 -0
  110. package/dist/esm/types/errors.js.map +1 -1
  111. package/dist/esm/types/periodOverPeriodComparison.d.ts +19 -1
  112. package/dist/esm/types/periodOverPeriodComparison.d.ts.map +1 -1
  113. package/dist/esm/types/periodOverPeriodComparison.js +32 -2
  114. package/dist/esm/types/periodOverPeriodComparison.js.map +1 -1
  115. package/dist/esm/types/periodOverPeriodComparison.test.d.ts +2 -0
  116. package/dist/esm/types/periodOverPeriodComparison.test.d.ts.map +1 -0
  117. package/dist/esm/types/periodOverPeriodComparison.test.js +79 -0
  118. package/dist/esm/types/periodOverPeriodComparison.test.js.map +1 -0
  119. package/dist/esm/types/savedCharts.d.ts +3 -0
  120. package/dist/esm/types/savedCharts.d.ts.map +1 -1
  121. package/dist/esm/types/savedCharts.js.map +1 -1
  122. package/dist/esm/types/space.d.ts +2 -1
  123. package/dist/esm/types/space.d.ts.map +1 -1
  124. package/dist/esm/types/space.js.map +1 -1
  125. package/dist/esm/visualizations/types/index.d.ts +1 -1
  126. package/dist/esm/visualizations/types/index.d.ts.map +1 -1
  127. package/dist/types/.tsbuildinfo +1 -1
  128. package/dist/types/compiler/exploreCompiler.d.ts +12 -0
  129. package/dist/types/compiler/exploreCompiler.d.ts.map +1 -1
  130. package/dist/types/compiler/exploreCompiler.js +66 -4
  131. package/dist/types/compiler/exploreCompiler.js.map +1 -1
  132. package/dist/types/compiler/exploreCompiler.mock.d.ts +14 -0
  133. package/dist/types/compiler/exploreCompiler.mock.d.ts.map +1 -1
  134. package/dist/types/compiler/exploreCompiler.mock.js +329 -3
  135. package/dist/types/compiler/exploreCompiler.mock.js.map +1 -1
  136. package/dist/types/compiler/exploreCompiler.test.js +89 -2
  137. package/dist/types/compiler/exploreCompiler.test.js.map +1 -1
  138. package/dist/types/compiler/lightdashProjectConfig.d.ts.map +1 -1
  139. package/dist/types/compiler/lightdashProjectConfig.js +2 -1
  140. package/dist/types/compiler/lightdashProjectConfig.js.map +1 -1
  141. package/dist/types/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.d.ts.map +1 -1
  142. package/dist/types/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.js +8 -20
  143. package/dist/types/ee/AiAgent/chartConfig/slack/generateBarVizConfigTool/getVerticalBarChartEchartsConfig.js.map +1 -1
  144. package/dist/types/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.d.ts.map +1 -1
  145. package/dist/types/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.js +9 -19
  146. package/dist/types/ee/AiAgent/chartConfig/slack/generateTimeSeriesVizConfigTool/getTimeSeriesChartEchartsConfig.js.map +1 -1
  147. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/bar.js +1 -1
  148. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/bar.js.map +1 -1
  149. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.d.ts.map +1 -1
  150. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.js +10 -3
  151. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/funnel.js.map +1 -1
  152. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/horizontalBar.js +1 -1
  153. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/horizontalBar.js.map +1 -1
  154. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.d.ts.map +1 -1
  155. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.js +2 -1
  156. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/line.js.map +1 -1
  157. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.d.ts.map +1 -1
  158. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.js +13 -6
  159. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/pie.js.map +1 -1
  160. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.d.ts.map +1 -1
  161. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.js +2 -1
  162. package/dist/types/ee/AiAgent/chartConfig/slack/runQueryTool/viz/scatter.js.map +1 -1
  163. package/dist/types/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.d.ts +6 -2
  164. package/dist/types/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.d.ts.map +1 -1
  165. package/dist/types/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.js +30 -14
  166. package/dist/types/ee/AiAgent/chartConfig/slack/shared/getCommonEChartsConfig.js.map +1 -1
  167. package/dist/types/schemas/json/chart-as-code-1.0.json +418 -42
  168. package/dist/types/types/content.d.ts +1 -0
  169. package/dist/types/types/content.d.ts.map +1 -1
  170. package/dist/types/types/errors.d.ts +10 -0
  171. package/dist/types/types/errors.d.ts.map +1 -1
  172. package/dist/types/types/errors.js +23 -0
  173. package/dist/types/types/errors.js.map +1 -1
  174. package/dist/types/types/periodOverPeriodComparison.d.ts +19 -1
  175. package/dist/types/types/periodOverPeriodComparison.d.ts.map +1 -1
  176. package/dist/types/types/periodOverPeriodComparison.js +32 -2
  177. package/dist/types/types/periodOverPeriodComparison.js.map +1 -1
  178. package/dist/types/types/periodOverPeriodComparison.test.d.ts +2 -0
  179. package/dist/types/types/periodOverPeriodComparison.test.d.ts.map +1 -0
  180. package/dist/types/types/periodOverPeriodComparison.test.js +79 -0
  181. package/dist/types/types/periodOverPeriodComparison.test.js.map +1 -0
  182. package/dist/types/types/savedCharts.d.ts +3 -0
  183. package/dist/types/types/savedCharts.d.ts.map +1 -1
  184. package/dist/types/types/savedCharts.js.map +1 -1
  185. package/dist/types/types/space.d.ts +2 -1
  186. package/dist/types/types/space.d.ts.map +1 -1
  187. package/dist/types/types/space.js.map +1 -1
  188. package/dist/types/visualizations/types/index.d.ts +1 -1
  189. package/dist/types/visualizations/types/index.d.ts.map +1 -1
  190. package/package.json +3 -3
@@ -788,29 +788,90 @@
788
788
  "chartConfig": {
789
789
  "type": "object",
790
790
  "description": "Visualization configuration for the chart",
791
- "additionalProperties": false,
792
- "required": ["type"],
793
- "properties": {
794
- "type": {
795
- "type": "string",
796
- "description": "Type of chart visualization",
797
- "enum": [
798
- "cartesian",
799
- "pie",
800
- "table",
801
- "big_number",
802
- "funnel",
803
- "treemap",
804
- "gauge",
805
- "map",
806
- "custom"
807
- ]
791
+ "discriminator": { "propertyName": "type" },
792
+ "oneOf": [
793
+ {
794
+ "type": "object",
795
+ "additionalProperties": false,
796
+ "required": ["type"],
797
+ "properties": {
798
+ "type": { "const": "cartesian" },
799
+ "config": { "$ref": "#/$defs/cartesianChart" }
800
+ }
808
801
  },
809
- "config": {
810
- "type": ["object", "null"],
811
- "description": "Chart-specific configuration (varies by chart type). See $defs/cartesianChart for cartesian chart structure."
802
+ {
803
+ "type": "object",
804
+ "additionalProperties": false,
805
+ "required": ["type"],
806
+ "properties": {
807
+ "type": { "const": "pie" },
808
+ "config": { "$ref": "#/$defs/pieChart" }
809
+ }
810
+ },
811
+ {
812
+ "type": "object",
813
+ "additionalProperties": false,
814
+ "required": ["type"],
815
+ "properties": {
816
+ "type": { "const": "table" },
817
+ "config": { "$ref": "#/$defs/tableChart" }
818
+ }
819
+ },
820
+ {
821
+ "type": "object",
822
+ "additionalProperties": false,
823
+ "required": ["type"],
824
+ "properties": {
825
+ "type": { "const": "big_number" },
826
+ "config": { "$ref": "#/$defs/bigNumber" }
827
+ }
828
+ },
829
+ {
830
+ "type": "object",
831
+ "additionalProperties": false,
832
+ "required": ["type"],
833
+ "properties": {
834
+ "type": { "const": "funnel" },
835
+ "config": { "$ref": "#/$defs/funnelChart" }
836
+ }
837
+ },
838
+ {
839
+ "type": "object",
840
+ "additionalProperties": false,
841
+ "required": ["type"],
842
+ "properties": {
843
+ "type": { "const": "treemap" },
844
+ "config": { "$ref": "#/$defs/treemapChart" }
845
+ }
846
+ },
847
+ {
848
+ "type": "object",
849
+ "additionalProperties": false,
850
+ "required": ["type"],
851
+ "properties": {
852
+ "type": { "const": "gauge" },
853
+ "config": { "$ref": "#/$defs/gaugeChart" }
854
+ }
855
+ },
856
+ {
857
+ "type": "object",
858
+ "additionalProperties": false,
859
+ "required": ["type"],
860
+ "properties": {
861
+ "type": { "const": "map" },
862
+ "config": { "$ref": "#/$defs/mapChart" }
863
+ }
864
+ },
865
+ {
866
+ "type": "object",
867
+ "additionalProperties": false,
868
+ "required": ["type"],
869
+ "properties": {
870
+ "type": { "const": "custom" },
871
+ "config": { "$ref": "#/$defs/customVis" }
872
+ }
812
873
  }
813
- }
874
+ ]
814
875
  },
815
876
  "tableConfig": {
816
877
  "type": "object",
@@ -1019,7 +1080,7 @@
1019
1080
  },
1020
1081
  "eChartsConfig": {
1021
1082
  "type": "object",
1022
- "description": "ECharts-specific configuration",
1083
+ "description": "ECharts-specific configuration. Supports all ECharts options.",
1023
1084
  "additionalProperties": false,
1024
1085
  "properties": {
1025
1086
  "legend": { "$ref": "#/$defs/echartsLegend" },
@@ -1039,9 +1100,95 @@
1039
1100
  "description": "Y axis configuration",
1040
1101
  "items": { "$ref": "#/$defs/axis" }
1041
1102
  },
1103
+ "title": {
1104
+ "type": "object",
1105
+ "description": "Chart title configuration",
1106
+ "additionalProperties": false,
1107
+ "properties": {
1108
+ "text": {
1109
+ "type": "string",
1110
+ "description": "Title text"
1111
+ },
1112
+ "subtext": {
1113
+ "type": "string",
1114
+ "description": "Subtitle text"
1115
+ },
1116
+ "left": {
1117
+ "type": "string",
1118
+ "description": "Horizontal position"
1119
+ },
1120
+ "top": {
1121
+ "type": "string",
1122
+ "description": "Vertical position"
1123
+ }
1124
+ }
1125
+ },
1042
1126
  "tooltip": {
1043
- "type": "string",
1044
- "description": "Tooltip formatter template"
1127
+ "description": "Tooltip configuration (string for formatter, object for full config)",
1128
+ "oneOf": [
1129
+ {
1130
+ "type": "string",
1131
+ "description": "Tooltip formatter template"
1132
+ },
1133
+ {
1134
+ "type": "object",
1135
+ "description": "Full tooltip configuration",
1136
+ "additionalProperties": false,
1137
+ "properties": {
1138
+ "show": {
1139
+ "type": "boolean",
1140
+ "description": "Show tooltip"
1141
+ },
1142
+ "trigger": {
1143
+ "type": "string",
1144
+ "enum": ["item", "axis", "none"],
1145
+ "description": "Tooltip trigger type"
1146
+ },
1147
+ "backgroundColor": {
1148
+ "type": "string",
1149
+ "description": "Tooltip background color"
1150
+ },
1151
+ "borderColor": {
1152
+ "type": "string",
1153
+ "description": "Tooltip border color"
1154
+ },
1155
+ "borderWidth": {
1156
+ "type": "number",
1157
+ "description": "Tooltip border width in pixels"
1158
+ },
1159
+ "formatter": {
1160
+ "type": "string",
1161
+ "description": "Tooltip content formatter (HTML template or function)"
1162
+ },
1163
+ "textStyle": {
1164
+ "type": "object",
1165
+ "description": "Tooltip text style",
1166
+ "additionalProperties": false,
1167
+ "properties": {
1168
+ "color": {
1169
+ "type": "string",
1170
+ "description": "Text color"
1171
+ },
1172
+ "fontSize": {
1173
+ "type": "number",
1174
+ "description": "Font size"
1175
+ },
1176
+ "fontWeight": {
1177
+ "type": [
1178
+ "string",
1179
+ "number"
1180
+ ],
1181
+ "description": "Font weight"
1182
+ },
1183
+ "fontFamily": {
1184
+ "type": "string",
1185
+ "description": "Font family"
1186
+ }
1187
+ }
1188
+ }
1189
+ }
1190
+ }
1191
+ ]
1045
1192
  },
1046
1193
  "tooltipSort": {
1047
1194
  "type": "string",
@@ -1081,7 +1228,7 @@
1081
1228
  },
1082
1229
  "echartsLegend": {
1083
1230
  "type": "object",
1084
- "description": "Legend configuration",
1231
+ "description": "Legend configuration. Supports all ECharts legend options.",
1085
1232
  "additionalProperties": false,
1086
1233
  "properties": {
1087
1234
  "show": {
@@ -1130,7 +1277,7 @@
1130
1277
  },
1131
1278
  "echartsGrid": {
1132
1279
  "type": "object",
1133
- "description": "Grid (chart area) configuration",
1280
+ "description": "Grid (chart area) configuration. Supports all ECharts grid options.",
1134
1281
  "additionalProperties": false,
1135
1282
  "properties": {
1136
1283
  "containLabel": {
@@ -1147,13 +1294,23 @@
1147
1294
  },
1148
1295
  "axis": {
1149
1296
  "type": "object",
1150
- "description": "Axis configuration",
1297
+ "description": "Axis configuration. Supports all ECharts axis options.",
1151
1298
  "additionalProperties": false,
1152
1299
  "properties": {
1153
1300
  "name": {
1154
1301
  "type": "string",
1155
1302
  "description": "Axis title"
1156
1303
  },
1304
+ "type": {
1305
+ "type": "string",
1306
+ "enum": ["value", "category", "time", "log"],
1307
+ "description": "Axis type"
1308
+ },
1309
+ "position": {
1310
+ "type": "string",
1311
+ "enum": ["left", "right", "top", "bottom"],
1312
+ "description": "Axis position"
1313
+ },
1157
1314
  "min": {
1158
1315
  "type": "string",
1159
1316
  "description": "Minimum value (or 'dataMin' for auto)"
@@ -1177,15 +1334,48 @@
1177
1334
  "rotate": {
1178
1335
  "type": "number",
1179
1336
  "description": "Rotation angle for axis labels"
1337
+ },
1338
+ "axisLabel": {
1339
+ "type": "object",
1340
+ "description": "Axis label configuration",
1341
+ "additionalProperties": false,
1342
+ "properties": {
1343
+ "show": {
1344
+ "type": "boolean",
1345
+ "description": "Show axis labels"
1346
+ },
1347
+ "rotate": {
1348
+ "type": "number",
1349
+ "description": "Label rotation angle"
1350
+ },
1351
+ "formatter": {
1352
+ "type": "string",
1353
+ "description": "Label formatter"
1354
+ },
1355
+ "fontSize": {
1356
+ "type": "number",
1357
+ "description": "Label font size"
1358
+ }
1359
+ }
1180
1360
  }
1181
1361
  }
1182
1362
  },
1183
1363
  "xAxis": {
1184
1364
  "type": "object",
1185
- "description": "X axis configuration (extends axis)",
1365
+ "description": "X axis configuration. Supports all ECharts xAxis options.",
1186
1366
  "additionalProperties": false,
1187
1367
  "properties": {
1188
1368
  "name": { "type": "string", "description": "Axis title" },
1369
+ "type": {
1370
+ "type": "string",
1371
+ "enum": ["value", "category", "time", "log"],
1372
+ "description": "Axis type"
1373
+ },
1374
+ "position": {
1375
+ "type": "string",
1376
+ "enum": ["top", "bottom"],
1377
+ "description": "X axis position"
1378
+ },
1189
1379
  "min": { "type": "string", "description": "Minimum value" },
1190
1380
  "max": { "type": "string", "description": "Maximum value" },
1191
1381
  "minOffset": {
@@ -1212,12 +1402,35 @@
1212
1402
  "enableDataZoom": {
1213
1403
  "type": "boolean",
1214
1404
  "description": "Enable data zoom slider for this axis"
1405
+ },
1406
+ "axisLabel": {
1407
+ "type": "object",
1408
+ "description": "Axis label configuration",
1409
+ "additionalProperties": false,
1410
+ "properties": {
1411
+ "show": {
1412
+ "type": "boolean",
1413
+ "description": "Show axis labels"
1414
+ },
1415
+ "rotate": {
1416
+ "type": "number",
1417
+ "description": "Label rotation angle"
1418
+ },
1419
+ "formatter": {
1420
+ "type": "string",
1421
+ "description": "Label formatter"
1422
+ },
1423
+ "fontSize": {
1424
+ "type": "number",
1425
+ "description": "Label font size"
1426
+ }
1427
+ }
1215
1428
  }
1216
1429
  }
1217
1430
  },
1218
1431
  "series": {
1219
1432
  "type": "object",
1220
- "description": "Chart series configuration",
1433
+ "description": "Chart series configuration. Supports all ECharts series options.",
1221
1434
  "additionalProperties": false,
1222
1435
  "required": ["encode", "type"],
1223
1436
  "properties": {
@@ -1271,6 +1484,10 @@
1271
1484
  "type": "number",
1272
1485
  "description": "Index of Y axis to use (for dual Y axis charts)"
1273
1486
  },
1487
+ "xAxisIndex": {
1488
+ "type": "number",
1489
+ "description": "Index of X axis to use (for dual X axis charts)"
1490
+ },
1274
1491
  "label": {
1275
1492
  "type": "object",
1276
1493
  "description": "Data label configuration",
@@ -1303,7 +1520,82 @@
1303
1520
  },
1304
1521
  "areaStyle": {
1305
1522
  "type": "object",
1306
- "description": "Area fill style (presence indicates area chart)"
1523
+ "description": "Area fill style (presence indicates area chart)",
1524
+ "additionalProperties": false,
1525
+ "properties": {
1526
+ "opacity": {
1527
+ "type": "number",
1528
+ "description": "Area fill opacity (0-1)"
1529
+ },
1530
+ "color": {
1531
+ "type": "string",
1532
+ "description": "Area fill color"
1533
+ }
1534
+ }
1535
+ },
1536
+ "lineStyle": {
1537
+ "type": "object",
1538
+ "description": "Line style configuration",
1539
+ "additionalProperties": false,
1540
+ "properties": {
1541
+ "width": {
1542
+ "type": "number",
1543
+ "description": "Line width"
1544
+ },
1545
+ "type": {
1546
+ "type": "string",
1547
+ "enum": ["solid", "dashed", "dotted"],
1548
+ "description": "Line type"
1549
+ },
1550
+ "color": {
1551
+ "type": "string",
1552
+ "description": "Line color"
1553
+ }
1554
+ }
1555
+ },
1556
+ "itemStyle": {
1557
+ "type": "object",
1558
+ "description": "Style for data points/items",
1559
+ "additionalProperties": false,
1560
+ "properties": {
1561
+ "color": {
1562
+ "description": "Item color (string or gradient object)"
1563
+ },
1564
+ "borderColor": {
1565
+ "type": "string",
1566
+ "description": "Item border color"
1567
+ },
1568
+ "borderWidth": {
1569
+ "type": "number",
1570
+ "description": "Item border width"
1571
+ },
1572
+ "opacity": {
1573
+ "type": "number",
1574
+ "description": "Item opacity (0-1)"
1575
+ }
1576
+ }
1577
+ },
1578
+ "symbol": {
1579
+ "type": "string",
1580
+ "description": "Symbol shape for data points",
1581
+ "enum": [
1582
+ "circle",
1583
+ "rect",
1584
+ "roundRect",
1585
+ "triangle",
1586
+ "diamond",
1587
+ "pin",
1588
+ "arrow",
1589
+ "none"
1590
+ ]
1591
+ },
1592
+ "symbolSize": {
1593
+ "type": "number",
1594
+ "description": "Size of data point symbols"
1595
+ },
1596
+ "barWidth": {
1597
+ "type": ["string", "number"],
1598
+ "description": "Width of bars (number for pixels, string for percentage)"
1307
1599
  },
1308
1600
  "showSymbol": {
1309
1601
  "type": "boolean",
@@ -1352,7 +1644,7 @@
1352
1644
  },
1353
1645
  "markLine": {
1354
1646
  "type": "object",
1355
- "description": "Reference line configuration",
1647
+ "description": "Reference line configuration. Supports all ECharts markLine options.",
1356
1648
  "additionalProperties": false,
1357
1649
  "properties": {
1358
1650
  "data": {
@@ -1437,7 +1729,7 @@
1437
1729
  },
1438
1730
  "pieChart": {
1439
1731
  "type": ["object", "null"],
1440
- "description": "Configuration for pie and donut charts",
1732
+ "description": "Configuration for pie and donut charts. Supports additional ECharts pie options.",
1441
1733
  "additionalProperties": false,
1442
1734
  "properties": {
1443
1735
  "groupFieldIds": {
@@ -1455,9 +1747,77 @@
1455
1747
  },
1456
1748
  "valueLabel": {
1457
1749
  "type": "string",
1458
- "enum": ["hidden", "inside", "outside"],
1750
+ "enum": ["hidden", "inside", "outside", "both"],
1459
1751
  "description": "Position of value labels on slices"
1460
1752
  },
1753
+ "colors": {
1754
+ "type": "object",
1755
+ "description": "Custom colors for each slice by label",
1756
+ "additionalProperties": { "type": "string" }
1757
+ },
1758
+ "eChartsConfig": {
1759
+ "type": "object",
1760
+ "description": "ECharts-specific pie chart configuration",
1761
+ "additionalProperties": false,
1762
+ "properties": {
1763
+ "tooltip": {
1764
+ "description": "Tooltip configuration",
1765
+ "oneOf": [
1766
+ {
1767
+ "type": "string",
1768
+ "description": "Tooltip formatter template"
1769
+ },
1770
+ {
1771
+ "type": "object",
1772
+ "description": "Full tooltip configuration",
1773
+ "additionalProperties": false,
1774
+ "properties": {
1775
+ "show": {
1776
+ "type": "boolean",
1777
+ "description": "Show tooltip"
1778
+ },
1779
+ "trigger": {
1780
+ "type": "string",
1781
+ "enum": ["item", "axis", "none"],
1782
+ "description": "Tooltip trigger type"
1783
+ },
1784
+ "backgroundColor": {
1785
+ "type": "string",
1786
+ "description": "Tooltip background color"
1787
+ },
1788
+ "borderColor": {
1789
+ "type": "string",
1790
+ "description": "Tooltip border color"
1791
+ },
1792
+ "borderWidth": {
1793
+ "type": "number",
1794
+ "description": "Tooltip border width in pixels"
1795
+ },
1796
+ "formatter": {
1797
+ "type": "string",
1798
+ "description": "Tooltip content formatter"
1799
+ },
1800
+ "textStyle": {
1801
+ "type": "object",
1802
+ "description": "Tooltip text style",
1803
+ "additionalProperties": false,
1804
+ "properties": {
1805
+ "color": {
1806
+ "type": "string",
1807
+ "description": "Text color"
1808
+ },
1809
+ "fontSize": {
1810
+ "type": "number",
1811
+ "description": "Font size"
1812
+ }
1813
+ }
1814
+ }
1815
+ }
1816
+ }
1817
+ ]
1818
+ }
1819
+ }
1820
+ },
1461
1821
  "showValue": {
1462
1822
  "type": "boolean",
1463
1823
  "description": "Show the actual value on slices"
@@ -1503,8 +1863,15 @@
1503
1863
  },
1504
1864
  "legendPosition": {
1505
1865
  "type": "string",
1506
- "enum": ["horizontal", "vertical"],
1507
- "description": "Legend orientation"
1866
+ "enum": [
1867
+ "horizontal",
1868
+ "vertical",
1869
+ "left",
1870
+ "right",
1871
+ "top",
1872
+ "bottom"
1873
+ ],
1874
+ "description": "Legend position/orientation"
1508
1875
  },
1509
1876
  "legendMaxItemLength": {
1510
1877
  "type": "number",
@@ -1524,7 +1891,7 @@
1524
1891
  },
1525
1892
  "funnelChart": {
1526
1893
  "type": ["object", "null"],
1527
- "description": "Configuration for funnel charts",
1894
+ "description": "Configuration for funnel charts. Supports additional ECharts funnel options.",
1528
1895
  "additionalProperties": false,
1529
1896
  "properties": {
1530
1897
  "dataInput": {
@@ -1589,7 +1956,7 @@
1589
1956
  },
1590
1957
  "bigNumber": {
1591
1958
  "type": ["object", "null"],
1592
- "description": "Configuration for big number (single value) displays",
1959
+ "description": "Configuration for big number (single value) displays. Supports additional options.",
1593
1960
  "additionalProperties": false,
1594
1961
  "properties": {
1595
1962
  "label": {
@@ -1603,6 +1970,7 @@
1603
1970
  "style": {
1604
1971
  "type": "string",
1605
1972
  "enum": [
1973
+ "default",
1606
1974
  "thousands",
1607
1975
  "millions",
1608
1976
  "billions",
@@ -1643,7 +2011,7 @@
1643
2011
  },
1644
2012
  "gaugeChart": {
1645
2013
  "type": ["object", "null"],
1646
- "description": "Configuration for gauge charts",
2014
+ "description": "Configuration for gauge charts. Supports additional ECharts gauge options.",
1647
2015
  "additionalProperties": false,
1648
2016
  "properties": {
1649
2017
  "selectedField": {
@@ -1715,7 +2083,7 @@
1715
2083
  },
1716
2084
  "treemapChart": {
1717
2085
  "type": ["object", "null"],
1718
- "description": "Configuration for treemap charts",
2086
+ "description": "Configuration for treemap charts. Supports additional ECharts treemap options.",
1719
2087
  "additionalProperties": false,
1720
2088
  "properties": {
1721
2089
  "visibleMin": {
@@ -1763,7 +2131,7 @@
1763
2131
  },
1764
2132
  "customVis": {
1765
2133
  "type": ["object", "null"],
1766
- "description": "Configuration for custom visualizations",
2134
+ "description": "Configuration for custom visualizations. Accepts any configuration.",
1767
2135
  "additionalProperties": false,
1768
2136
  "properties": {
1769
2137
  "spec": {
@@ -1774,7 +2142,7 @@
1774
2142
  },
1775
2143
  "tableChart": {
1776
2144
  "type": ["object", "null"],
1777
- "description": "Configuration for table visualizations",
2145
+ "description": "Configuration for table visualizations. Supports additional options.",
1778
2146
  "additionalProperties": false,
1779
2147
  "properties": {
1780
2148
  "showColumnCalculation": {
@@ -1793,6 +2161,14 @@
1793
2161
  "type": "boolean",
1794
2162
  "description": "Hide row number column"
1795
2163
  },
2164
+ "showRowNumbers": {
2165
+ "type": "boolean",
2166
+ "description": "Show row number column"
2167
+ },
2168
+ "showColumnTotals": {
2169
+ "type": "boolean",
2170
+ "description": "Show column totals row"
2171
+ },
1796
2172
  "showResultsTotal": {
1797
2173
  "type": "boolean",
1798
2174
  "description": "Show total results count"
@@ -1961,7 +2337,7 @@
1961
2337
  },
1962
2338
  "mapChart": {
1963
2339
  "type": ["object", "null"],
1964
- "description": "Configuration for map visualizations",
2340
+ "description": "Configuration for map visualizations. Supports additional options.",
1965
2341
  "additionalProperties": false,
1966
2342
  "properties": {
1967
2343
  "mapType": {
@@ -66,6 +66,7 @@ export interface DashboardContent extends Content {
66
66
  export interface SpaceContent extends Content {
67
67
  contentType: ContentType.SPACE;
68
68
  isPrivate: boolean;
69
+ inheritParentPermissions: boolean;
69
70
  access: string[];
70
71
  dashboardCount: number;
71
72
  chartCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/types/content.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,oBAAY,WAAW;IACnB,KAAK,UAAU;IACf,SAAS,c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