@grafana/plugin-ui 0.9.5 → 0.10.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 (729) hide show
  1. package/dist/cjs/index.d.cts +1205 -0
  2. package/dist/cjs/index.js +9739 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/esm/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js +80 -0
  5. package/dist/esm/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js.map +1 -0
  6. package/dist/esm/components/ConfigEditor/Auth/Auth.js +43 -0
  7. package/dist/esm/components/ConfigEditor/Auth/Auth.js.map +1 -0
  8. package/dist/esm/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js +132 -0
  9. package/dist/esm/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js.map +1 -0
  10. package/dist/esm/components/ConfigEditor/Auth/auth-method/BasicAuth.js +82 -0
  11. package/dist/esm/components/ConfigEditor/Auth/auth-method/BasicAuth.js.map +1 -0
  12. package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeader.js +91 -0
  13. package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeader.js.map +1 -0
  14. package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js +101 -0
  15. package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js.map +1 -0
  16. package/dist/esm/components/ConfigEditor/Auth/styles.js +18 -0
  17. package/dist/esm/components/ConfigEditor/Auth/styles.js.map +1 -0
  18. package/dist/esm/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js +58 -0
  19. package/dist/esm/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js.map +1 -0
  20. package/dist/esm/components/ConfigEditor/Auth/tls/SkipTLSVerification.js +18 -0
  21. package/dist/esm/components/ConfigEditor/Auth/tls/SkipTLSVerification.js.map +1 -0
  22. package/dist/esm/components/ConfigEditor/Auth/tls/TLSClientAuth.js +114 -0
  23. package/dist/esm/components/ConfigEditor/Auth/tls/TLSClientAuth.js.map +1 -0
  24. package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettings.js +31 -0
  25. package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettings.js.map +1 -0
  26. package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettingsSection.js +35 -0
  27. package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettingsSection.js.map +1 -0
  28. package/dist/esm/components/ConfigEditor/Auth/types.js +12 -0
  29. package/dist/esm/components/ConfigEditor/Auth/types.js.map +1 -0
  30. package/dist/esm/components/ConfigEditor/Auth/utils.js +200 -0
  31. package/dist/esm/components/ConfigEditor/Auth/utils.js.map +1 -0
  32. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +38 -0
  33. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js.map +1 -0
  34. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSection.js +9 -0
  35. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSection.js.map +1 -0
  36. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSubSection.js +9 -0
  37. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSubSection.js.map +1 -0
  38. package/dist/esm/components/ConfigEditor/ConfigSection/GenericConfigSection.js +55 -0
  39. package/dist/esm/components/ConfigEditor/ConfigSection/GenericConfigSection.js.map +1 -0
  40. package/dist/esm/components/ConfigEditor/Connection/ConnectionSettings.js +53 -0
  41. package/dist/esm/components/ConfigEditor/Connection/ConnectionSettings.js.map +1 -0
  42. package/dist/esm/components/ConfigEditor/DataSourceDescription.js +32 -0
  43. package/dist/esm/components/ConfigEditor/DataSourceDescription.js.map +1 -0
  44. package/dist/esm/components/ConfigEditor/SecureSocksProxyToggle.js +45 -0
  45. package/dist/esm/components/ConfigEditor/SecureSocksProxyToggle.js.map +1 -0
  46. package/dist/esm/components/CustomHeadersSettings/CustomHeadersSettings.js +182 -0
  47. package/dist/esm/components/CustomHeadersSettings/CustomHeadersSettings.js.map +1 -0
  48. package/dist/esm/components/DataLinks/DataLink.js +144 -0
  49. package/dist/esm/components/DataLinks/DataLink.js.map +1 -0
  50. package/dist/esm/components/DataLinks/DataLinks.js +66 -0
  51. package/dist/esm/components/DataLinks/DataLinks.js.map +1 -0
  52. package/dist/esm/components/DataSourcePicker/DataSourcePicker.js +103 -0
  53. package/dist/esm/components/DataSourcePicker/DataSourcePicker.js.map +1 -0
  54. package/dist/esm/components/DatePicker/DatePicker.js +39 -0
  55. package/dist/esm/components/DatePicker/DatePicker.js.map +1 -0
  56. package/dist/{components → esm/components}/DatePicker/styles.js +20 -21
  57. package/dist/esm/components/DatePicker/styles.js.map +1 -0
  58. package/dist/esm/components/DatePickerWithInput/DatePickerWithInput.js +28 -0
  59. package/dist/esm/components/DatePickerWithInput/DatePickerWithInput.js.map +1 -0
  60. package/dist/esm/components/DatePickerWithInput/styles.js +16 -0
  61. package/dist/esm/components/DatePickerWithInput/styles.js.map +1 -0
  62. package/dist/esm/components/DebounceInput/DebounceInput.js +15 -0
  63. package/dist/esm/components/DebounceInput/DebounceInput.js.map +1 -0
  64. package/dist/esm/components/Plugins/PluginSignatureBadge.js +57 -0
  65. package/dist/esm/components/Plugins/PluginSignatureBadge.js.map +1 -0
  66. package/dist/esm/components/QueryEditor/AccessoryButton.js +18 -0
  67. package/dist/esm/components/QueryEditor/AccessoryButton.js.map +1 -0
  68. package/dist/esm/components/QueryEditor/ConfirmModal.js +26 -0
  69. package/dist/esm/components/QueryEditor/ConfirmModal.js.map +1 -0
  70. package/dist/esm/components/QueryEditor/DatasetSelector.js +56 -0
  71. package/dist/esm/components/QueryEditor/DatasetSelector.js.map +1 -0
  72. package/dist/esm/components/QueryEditor/EditorField.js +42 -0
  73. package/dist/esm/components/QueryEditor/EditorField.js.map +1 -0
  74. package/dist/esm/components/QueryEditor/EditorFieldGroup.js +9 -0
  75. package/dist/esm/components/QueryEditor/EditorFieldGroup.js.map +1 -0
  76. package/dist/esm/components/QueryEditor/EditorHeader.js +21 -0
  77. package/dist/esm/components/QueryEditor/EditorHeader.js.map +1 -0
  78. package/dist/esm/components/QueryEditor/EditorList.js +28 -0
  79. package/dist/esm/components/QueryEditor/EditorList.js.map +1 -0
  80. package/dist/esm/components/QueryEditor/EditorRow.js +22 -0
  81. package/dist/esm/components/QueryEditor/EditorRow.js.map +1 -0
  82. package/dist/esm/components/QueryEditor/EditorRows.js +9 -0
  83. package/dist/esm/components/QueryEditor/EditorRows.js.map +1 -0
  84. package/dist/esm/components/QueryEditor/EditorStack.js +11 -0
  85. package/dist/esm/components/QueryEditor/EditorStack.js.map +1 -0
  86. package/dist/esm/components/QueryEditor/EditorSwitch.js +20 -0
  87. package/dist/esm/components/QueryEditor/EditorSwitch.js.map +1 -0
  88. package/dist/esm/components/QueryEditor/FlexItem.js +8 -0
  89. package/dist/esm/components/QueryEditor/FlexItem.js.map +1 -0
  90. package/dist/esm/components/QueryEditor/InlineSelect.js +50 -0
  91. package/dist/esm/components/QueryEditor/InlineSelect.js.map +1 -0
  92. package/dist/esm/components/QueryEditor/InputGroup.js +63 -0
  93. package/dist/esm/components/QueryEditor/InputGroup.js.map +1 -0
  94. package/dist/esm/components/QueryEditor/QueryEditor.js +110 -0
  95. package/dist/esm/components/QueryEditor/QueryEditor.js.map +1 -0
  96. package/dist/esm/components/QueryEditor/QueryHeader.js +172 -0
  97. package/dist/esm/components/QueryEditor/QueryHeader.js.map +1 -0
  98. package/dist/esm/components/QueryEditor/RunQueryButton.js +42 -0
  99. package/dist/esm/components/QueryEditor/RunQueryButton.js.map +1 -0
  100. package/dist/esm/components/QueryEditor/Space.js +35 -0
  101. package/dist/esm/components/QueryEditor/Space.js.map +1 -0
  102. package/dist/esm/components/QueryEditor/TableSelector.js +33 -0
  103. package/dist/esm/components/QueryEditor/TableSelector.js.map +1 -0
  104. package/dist/esm/components/QueryEditor/defaults.js +25 -0
  105. package/dist/esm/components/QueryEditor/defaults.js.map +1 -0
  106. package/dist/esm/components/QueryEditor/expressions.js +17 -0
  107. package/dist/esm/components/QueryEditor/expressions.js.map +1 -0
  108. package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js +39 -0
  109. package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js.map +1 -0
  110. package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js +63 -0
  111. package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js.map +1 -0
  112. package/dist/esm/components/QueryEditor/query-editor-raw/QueryValidator.js +72 -0
  113. package/dist/esm/components/QueryEditor/query-editor-raw/QueryValidator.js.map +1 -0
  114. package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js +96 -0
  115. package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js.map +1 -0
  116. package/dist/esm/components/QueryEditor/types.js +33 -0
  117. package/dist/esm/components/QueryEditor/types.js.map +1 -0
  118. package/dist/esm/components/QueryEditor/utils/formatSQL.js +10 -0
  119. package/dist/esm/components/QueryEditor/utils/formatSQL.js.map +1 -0
  120. package/dist/esm/components/QueryEditor/utils/sql.utils.js +93 -0
  121. package/dist/esm/components/QueryEditor/utils/sql.utils.js.map +1 -0
  122. package/dist/esm/components/QueryEditor/utils/useSqlChange.js +19 -0
  123. package/dist/esm/components/QueryEditor/utils/useSqlChange.js.map +1 -0
  124. package/dist/esm/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js +216 -0
  125. package/dist/esm/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js.map +1 -0
  126. package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js +44 -0
  127. package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js.map +1 -0
  128. package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js +22 -0
  129. package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js.map +1 -0
  130. package/dist/esm/components/QueryEditor/visual-query-builder/EditorRows.js +9 -0
  131. package/dist/esm/components/QueryEditor/visual-query-builder/EditorRows.js.map +1 -0
  132. package/dist/esm/components/QueryEditor/visual-query-builder/GroupByRow.js +51 -0
  133. package/dist/esm/components/QueryEditor/visual-query-builder/GroupByRow.js.map +1 -0
  134. package/dist/esm/components/QueryEditor/visual-query-builder/OrderByRow.js +70 -0
  135. package/dist/esm/components/QueryEditor/visual-query-builder/OrderByRow.js.map +1 -0
  136. package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js +33 -0
  137. package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js.map +1 -0
  138. package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js +14 -0
  139. package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js.map +1 -0
  140. package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js +35 -0
  141. package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js.map +1 -0
  142. package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js +19 -0
  143. package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js.map +1 -0
  144. package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js +40 -0
  145. package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js.map +1 -0
  146. package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js +123 -0
  147. package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js.map +1 -0
  148. package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js +24 -0
  149. package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js.map +1 -0
  150. package/dist/esm/components/QueryEditor/visual-query-builder/WhereRow.js +79 -0
  151. package/dist/esm/components/QueryEditor/visual-query-builder/WhereRow.js.map +1 -0
  152. package/dist/esm/components/QueryEditorRow/QueryEditorRow.js +11 -0
  153. package/dist/esm/components/QueryEditorRow/QueryEditorRow.js.map +1 -0
  154. package/dist/esm/components/SQLEditor/components/SQLEditor.js +339 -0
  155. package/dist/esm/components/SQLEditor/components/SQLEditor.js.map +1 -0
  156. package/dist/esm/components/SQLEditor/mocks/Monaco.js +19 -0
  157. package/dist/esm/components/SQLEditor/mocks/Monaco.js.map +1 -0
  158. package/dist/esm/components/SQLEditor/mocks/TextModel.js +21 -0
  159. package/dist/esm/components/SQLEditor/mocks/TextModel.js.map +1 -0
  160. package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQuery.js +217 -0
  161. package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQuery.js.map +1 -0
  162. package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js +232 -0
  163. package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js.map +1 -0
  164. package/dist/esm/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js +272 -0
  165. package/dist/esm/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js.map +1 -0
  166. package/dist/esm/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js +9 -0
  167. package/dist/esm/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js.map +1 -0
  168. package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQuery.js +197 -0
  169. package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQuery.js.map +1 -0
  170. package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js +212 -0
  171. package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js.map +1 -0
  172. package/dist/esm/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js +252 -0
  173. package/dist/esm/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js.map +1 -0
  174. package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueries.js +387 -0
  175. package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueries.js.map +1 -0
  176. package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js +417 -0
  177. package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js.map +1 -0
  178. package/dist/{src/components/SQLEditor/mocks/testData.d.ts → esm/components/SQLEditor/mocks/testData.js} +10 -9
  179. package/dist/esm/components/SQLEditor/mocks/testData.js.map +1 -0
  180. package/dist/esm/components/SQLEditor/standardSql/definition.js +19 -0
  181. package/dist/esm/components/SQLEditor/standardSql/definition.js.map +1 -0
  182. package/dist/esm/components/SQLEditor/standardSql/getStandardSuggestions.js +20 -0
  183. package/dist/esm/components/SQLEditor/standardSql/getStandardSuggestions.js.map +1 -0
  184. package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js +24 -0
  185. package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js.map +1 -0
  186. package/dist/esm/components/SQLEditor/standardSql/language.js +867 -0
  187. package/dist/esm/components/SQLEditor/standardSql/language.js.map +1 -0
  188. package/dist/esm/components/SQLEditor/standardSql/macros.js +58 -0
  189. package/dist/esm/components/SQLEditor/standardSql/macros.js.map +1 -0
  190. package/dist/esm/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js +34 -0
  191. package/dist/esm/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js.map +1 -0
  192. package/dist/esm/components/SQLEditor/standardSql/standardSuggestionsRegistry.js +367 -0
  193. package/dist/esm/components/SQLEditor/standardSql/standardSuggestionsRegistry.js.map +1 -0
  194. package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js +215 -0
  195. package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js.map +1 -0
  196. package/dist/esm/components/SQLEditor/standardSql/suggestionsKindRegistry.js +152 -0
  197. package/dist/esm/components/SQLEditor/standardSql/suggestionsKindRegistry.js.map +1 -0
  198. package/dist/esm/components/SQLEditor/test-utils/index.js +11 -0
  199. package/dist/esm/components/SQLEditor/test-utils/index.js.map +1 -0
  200. package/dist/esm/components/SQLEditor/test-utils/statementPosition.js +45 -0
  201. package/dist/esm/components/SQLEditor/test-utils/statementPosition.js.map +1 -0
  202. package/dist/esm/components/SQLEditor/types.js +140 -0
  203. package/dist/esm/components/SQLEditor/types.js.map +1 -0
  204. package/dist/esm/components/SQLEditor/utils/LinkedToken.js +145 -0
  205. package/dist/esm/components/SQLEditor/utils/LinkedToken.js.map +1 -0
  206. package/dist/esm/components/SQLEditor/utils/commands.js +7 -0
  207. package/dist/esm/components/SQLEditor/utils/commands.js.map +1 -0
  208. package/dist/esm/components/SQLEditor/utils/debugger.js +14 -0
  209. package/dist/esm/components/SQLEditor/utils/debugger.js.map +1 -0
  210. package/dist/esm/components/SQLEditor/utils/getSuggestionKind.js +16 -0
  211. package/dist/esm/components/SQLEditor/utils/getSuggestionKind.js.map +1 -0
  212. package/dist/esm/components/SQLEditor/utils/linkedTokenBuilder.js +45 -0
  213. package/dist/esm/components/SQLEditor/utils/linkedTokenBuilder.js.map +1 -0
  214. package/dist/esm/components/SQLEditor/utils/toCompletionItem.js +17 -0
  215. package/dist/esm/components/SQLEditor/utils/toCompletionItem.js.map +1 -0
  216. package/dist/esm/components/SQLEditor/utils/tokenUtils.js +36 -0
  217. package/dist/esm/components/SQLEditor/utils/tokenUtils.js.map +1 -0
  218. package/dist/esm/components/Segment/Segment.js +24 -0
  219. package/dist/esm/components/Segment/Segment.js.map +1 -0
  220. package/dist/esm/components/VisualQueryBuilder/QueryModellerBase.js +39 -0
  221. package/dist/esm/components/VisualQueryBuilder/QueryModellerBase.js.map +1 -0
  222. package/dist/esm/components/VisualQueryBuilder/components/LabelFilterItem.js +178 -0
  223. package/dist/esm/components/VisualQueryBuilder/components/LabelFilterItem.js.map +1 -0
  224. package/dist/esm/components/VisualQueryBuilder/components/LabelFilters.js +70 -0
  225. package/dist/esm/components/VisualQueryBuilder/components/LabelFilters.js.map +1 -0
  226. package/dist/esm/components/VisualQueryBuilder/components/OperationEditor.js +77 -0
  227. package/dist/esm/components/VisualQueryBuilder/components/OperationEditor.js.map +1 -0
  228. package/dist/esm/components/VisualQueryBuilder/components/OperationEditorBody.js +254 -0
  229. package/dist/esm/components/VisualQueryBuilder/components/OperationEditorBody.js.map +1 -0
  230. package/dist/esm/components/VisualQueryBuilder/components/OperationExplainedBox.js +55 -0
  231. package/dist/esm/components/VisualQueryBuilder/components/OperationExplainedBox.js.map +1 -0
  232. package/dist/esm/components/VisualQueryBuilder/components/OperationHeader.js +107 -0
  233. package/dist/esm/components/VisualQueryBuilder/components/OperationHeader.js.map +1 -0
  234. package/dist/esm/components/VisualQueryBuilder/components/OperationInfoButton.js +87 -0
  235. package/dist/esm/components/VisualQueryBuilder/components/OperationInfoButton.js.map +1 -0
  236. package/dist/esm/components/VisualQueryBuilder/components/OperationList.js +169 -0
  237. package/dist/esm/components/VisualQueryBuilder/components/OperationList.js.map +1 -0
  238. package/dist/esm/components/VisualQueryBuilder/components/OperationListExplained.js +43 -0
  239. package/dist/esm/components/VisualQueryBuilder/components/OperationListExplained.js.map +1 -0
  240. package/dist/esm/components/VisualQueryBuilder/components/OperationParamEditor.js +136 -0
  241. package/dist/esm/components/VisualQueryBuilder/components/OperationParamEditor.js.map +1 -0
  242. package/dist/esm/components/VisualQueryBuilder/components/OperationsEditorRow.js +39 -0
  243. package/dist/esm/components/VisualQueryBuilder/components/OperationsEditorRow.js.map +1 -0
  244. package/dist/esm/components/VisualQueryBuilder/components/QueryBuilderHints.js +73 -0
  245. package/dist/esm/components/VisualQueryBuilder/components/QueryBuilderHints.js.map +1 -0
  246. package/dist/esm/components/VisualQueryBuilder/components/QueryEditorModeToggle.js +14 -0
  247. package/dist/esm/components/VisualQueryBuilder/components/QueryEditorModeToggle.js.map +1 -0
  248. package/dist/esm/components/VisualQueryBuilder/components/QueryHeaderSwitch.js +44 -0
  249. package/dist/esm/components/VisualQueryBuilder/components/QueryHeaderSwitch.js.map +1 -0
  250. package/dist/esm/components/VisualQueryBuilder/components/QueryOptionGroup.js +97 -0
  251. package/dist/esm/components/VisualQueryBuilder/components/QueryOptionGroup.js.map +1 -0
  252. package/dist/esm/components/VisualQueryBuilder/components/RawQuery.js +30 -0
  253. package/dist/esm/components/VisualQueryBuilder/components/RawQuery.js.map +1 -0
  254. package/dist/esm/components/VisualQueryBuilder/types.js +12 -0
  255. package/dist/esm/components/VisualQueryBuilder/types.js.map +1 -0
  256. package/dist/esm/datasource/SqlDatasource.js +172 -0
  257. package/dist/esm/datasource/SqlDatasource.js.map +1 -0
  258. package/dist/esm/datasource/constants.js +18 -0
  259. package/dist/esm/datasource/constants.js.map +1 -0
  260. package/dist/esm/hooks/useDebounce.js +18 -0
  261. package/dist/esm/hooks/useDebounce.js.map +1 -0
  262. package/dist/esm/index.d.ts +1205 -0
  263. package/dist/esm/index.js +57 -0
  264. package/dist/esm/index.js.map +1 -0
  265. package/package.json +62 -41
  266. package/dist/components/AsyncButtonCascader/AsyncButtonCascader.js +0 -33
  267. package/dist/components/AsyncButtonCascader/AsyncButtonCascader.js.map +0 -1
  268. package/dist/components/Cascader/Cascader.js +0 -6
  269. package/dist/components/Cascader/Cascader.js.map +0 -1
  270. package/dist/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js +0 -28
  271. package/dist/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js.map +0 -1
  272. package/dist/components/ConfigEditor/AdvancedSettings/index.js +0 -6
  273. package/dist/components/ConfigEditor/AdvancedSettings/index.js.map +0 -1
  274. package/dist/components/ConfigEditor/Auth/Auth.js +0 -24
  275. package/dist/components/ConfigEditor/Auth/Auth.js.map +0 -1
  276. package/dist/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js +0 -110
  277. package/dist/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js.map +0 -1
  278. package/dist/components/ConfigEditor/Auth/auth-method/BasicAuth.js +0 -23
  279. package/dist/components/ConfigEditor/Auth/auth-method/BasicAuth.js.map +0 -1
  280. package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeader.js +0 -41
  281. package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeader.js.map +0 -1
  282. package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js +0 -76
  283. package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js.map +0 -1
  284. package/dist/components/ConfigEditor/Auth/index.js +0 -10
  285. package/dist/components/ConfigEditor/Auth/index.js.map +0 -1
  286. package/dist/components/ConfigEditor/Auth/styles.js +0 -19
  287. package/dist/components/ConfigEditor/Auth/styles.js.map +0 -1
  288. package/dist/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js +0 -18
  289. package/dist/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js.map +0 -1
  290. package/dist/components/ConfigEditor/Auth/tls/SkipTLSVerification.js +0 -11
  291. package/dist/components/ConfigEditor/Auth/tls/SkipTLSVerification.js.map +0 -1
  292. package/dist/components/ConfigEditor/Auth/tls/TLSClientAuth.js +0 -22
  293. package/dist/components/ConfigEditor/Auth/tls/TLSClientAuth.js.map +0 -1
  294. package/dist/components/ConfigEditor/Auth/tls/TLSSettings.js +0 -25
  295. package/dist/components/ConfigEditor/Auth/tls/TLSSettings.js.map +0 -1
  296. package/dist/components/ConfigEditor/Auth/tls/TLSSettingsSection.js +0 -35
  297. package/dist/components/ConfigEditor/Auth/tls/TLSSettingsSection.js.map +0 -1
  298. package/dist/components/ConfigEditor/Auth/types.js +0 -11
  299. package/dist/components/ConfigEditor/Auth/types.js.map +0 -1
  300. package/dist/components/ConfigEditor/Auth/utils.js +0 -113
  301. package/dist/components/ConfigEditor/Auth/utils.js.map +0 -1
  302. package/dist/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +0 -32
  303. package/dist/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js.map +0 -1
  304. package/dist/components/ConfigEditor/ConfigSection/ConfigSection.js +0 -12
  305. package/dist/components/ConfigEditor/ConfigSection/ConfigSection.js.map +0 -1
  306. package/dist/components/ConfigEditor/ConfigSection/ConfigSubSection.js +0 -12
  307. package/dist/components/ConfigEditor/ConfigSection/ConfigSubSection.js.map +0 -1
  308. package/dist/components/ConfigEditor/ConfigSection/GenericConfigSection.js +0 -40
  309. package/dist/components/ConfigEditor/ConfigSection/GenericConfigSection.js.map +0 -1
  310. package/dist/components/ConfigEditor/ConfigSection/index.js +0 -10
  311. package/dist/components/ConfigEditor/ConfigSection/index.js.map +0 -1
  312. package/dist/components/ConfigEditor/Connection/ConnectionSettings.js +0 -26
  313. package/dist/components/ConfigEditor/Connection/ConnectionSettings.js.map +0 -1
  314. package/dist/components/ConfigEditor/Connection/index.js +0 -6
  315. package/dist/components/ConfigEditor/Connection/index.js.map +0 -1
  316. package/dist/components/ConfigEditor/DataSourceDescription.js +0 -39
  317. package/dist/components/ConfigEditor/DataSourceDescription.js.map +0 -1
  318. package/dist/components/ConfigEditor/SecureSocksProxyToggle.js +0 -24
  319. package/dist/components/ConfigEditor/SecureSocksProxyToggle.js.map +0 -1
  320. package/dist/components/ConfigEditor/index.js +0 -22
  321. package/dist/components/ConfigEditor/index.js.map +0 -1
  322. package/dist/components/ConfigEditor/types.js +0 -3
  323. package/dist/components/ConfigEditor/types.js.map +0 -1
  324. package/dist/components/CustomHeadersSettings/CustomHeadersSettings.js +0 -124
  325. package/dist/components/CustomHeadersSettings/CustomHeadersSettings.js.map +0 -1
  326. package/dist/components/DataLinks/DataLink.js +0 -79
  327. package/dist/components/DataLinks/DataLink.js.map +0 -1
  328. package/dist/components/DataLinks/DataLinks.js +0 -56
  329. package/dist/components/DataLinks/DataLinks.js.map +0 -1
  330. package/dist/components/DataLinks/index.js +0 -7
  331. package/dist/components/DataLinks/index.js.map +0 -1
  332. package/dist/components/DataLinks/types.js +0 -3
  333. package/dist/components/DataLinks/types.js.map +0 -1
  334. package/dist/components/DataSourcePicker/DataSourcePicker.js +0 -88
  335. package/dist/components/DataSourcePicker/DataSourcePicker.js.map +0 -1
  336. package/dist/components/DatePicker/DatePicker.js +0 -31
  337. package/dist/components/DatePicker/DatePicker.js.map +0 -1
  338. package/dist/components/DatePicker/styles.js.map +0 -1
  339. package/dist/components/DatePickerWithInput/DatePickerWithInput.js +0 -23
  340. package/dist/components/DatePickerWithInput/DatePickerWithInput.js.map +0 -1
  341. package/dist/components/DatePickerWithInput/style.css +0 -8
  342. package/dist/components/DebounceInput/DebounceInput.js +0 -19
  343. package/dist/components/DebounceInput/DebounceInput.js.map +0 -1
  344. package/dist/components/Plugins/PluginSignatureBadge.js +0 -65
  345. package/dist/components/Plugins/PluginSignatureBadge.js.map +0 -1
  346. package/dist/components/QueryEditor/AccessoryButton.js +0 -20
  347. package/dist/components/QueryEditor/AccessoryButton.js.map +0 -1
  348. package/dist/components/QueryEditor/ConfirmModal.js +0 -28
  349. package/dist/components/QueryEditor/ConfirmModal.js.map +0 -1
  350. package/dist/components/QueryEditor/DatasetSelector.js +0 -40
  351. package/dist/components/QueryEditor/DatasetSelector.js.map +0 -1
  352. package/dist/components/QueryEditor/EditorField.js +0 -49
  353. package/dist/components/QueryEditor/EditorField.js.map +0 -1
  354. package/dist/components/QueryEditor/EditorFieldGroup.js +0 -11
  355. package/dist/components/QueryEditor/EditorFieldGroup.js.map +0 -1
  356. package/dist/components/QueryEditor/EditorHeader.js +0 -22
  357. package/dist/components/QueryEditor/EditorHeader.js.map +0 -1
  358. package/dist/components/QueryEditor/EditorList.js +0 -27
  359. package/dist/components/QueryEditor/EditorList.js.map +0 -1
  360. package/dist/components/QueryEditor/EditorRow.js +0 -24
  361. package/dist/components/QueryEditor/EditorRow.js.map +0 -1
  362. package/dist/components/QueryEditor/EditorRows.js +0 -11
  363. package/dist/components/QueryEditor/EditorRows.js.map +0 -1
  364. package/dist/components/QueryEditor/EditorStack.js +0 -13
  365. package/dist/components/QueryEditor/EditorStack.js.map +0 -1
  366. package/dist/components/QueryEditor/EditorSwitch.js +0 -24
  367. package/dist/components/QueryEditor/EditorSwitch.js.map +0 -1
  368. package/dist/components/QueryEditor/FlexItem.js +0 -10
  369. package/dist/components/QueryEditor/FlexItem.js.map +0 -1
  370. package/dist/components/QueryEditor/InlineSelect.js +0 -57
  371. package/dist/components/QueryEditor/InlineSelect.js.map +0 -1
  372. package/dist/components/QueryEditor/InputGroup.js +0 -66
  373. package/dist/components/QueryEditor/InputGroup.js.map +0 -1
  374. package/dist/components/QueryEditor/QueryEditor.js +0 -74
  375. package/dist/components/QueryEditor/QueryEditor.js.map +0 -1
  376. package/dist/components/QueryEditor/QueryHeader.js +0 -86
  377. package/dist/components/QueryEditor/QueryHeader.js.map +0 -1
  378. package/dist/components/QueryEditor/RunQueryButton.js +0 -19
  379. package/dist/components/QueryEditor/RunQueryButton.js.map +0 -1
  380. package/dist/components/QueryEditor/Space.js +0 -36
  381. package/dist/components/QueryEditor/Space.js.map +0 -1
  382. package/dist/components/QueryEditor/TableSelector.js +0 -20
  383. package/dist/components/QueryEditor/TableSelector.js.map +0 -1
  384. package/dist/components/QueryEditor/defaults.js +0 -20
  385. package/dist/components/QueryEditor/defaults.js.map +0 -1
  386. package/dist/components/QueryEditor/expressions.js +0 -18
  387. package/dist/components/QueryEditor/expressions.js.map +0 -1
  388. package/dist/components/QueryEditor/index.js +0 -37
  389. package/dist/components/QueryEditor/index.js.map +0 -1
  390. package/dist/components/QueryEditor/query-editor-raw/QueryEditorRaw.js +0 -21
  391. package/dist/components/QueryEditor/query-editor-raw/QueryEditorRaw.js.map +0 -1
  392. package/dist/components/QueryEditor/query-editor-raw/QueryToolbox.js +0 -59
  393. package/dist/components/QueryEditor/query-editor-raw/QueryToolbox.js.map +0 -1
  394. package/dist/components/QueryEditor/query-editor-raw/QueryValidator.js +0 -79
  395. package/dist/components/QueryEditor/query-editor-raw/QueryValidator.js.map +0 -1
  396. package/dist/components/QueryEditor/query-editor-raw/RawEditor.js +0 -60
  397. package/dist/components/QueryEditor/query-editor-raw/RawEditor.js.map +0 -1
  398. package/dist/components/QueryEditor/types.js +0 -26
  399. package/dist/components/QueryEditor/types.js.map +0 -1
  400. package/dist/components/QueryEditor/utils/formatSQL.js +0 -13
  401. package/dist/components/QueryEditor/utils/formatSQL.js.map +0 -1
  402. package/dist/components/QueryEditor/utils/sql.utils.js +0 -103
  403. package/dist/components/QueryEditor/utils/sql.utils.js.map +0 -1
  404. package/dist/components/QueryEditor/utils/useSqlChange.js +0 -16
  405. package/dist/components/QueryEditor/utils/useSqlChange.js.map +0 -1
  406. package/dist/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js +0 -109
  407. package/dist/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js.map +0 -1
  408. package/dist/components/QueryEditor/visual-query-builder/EditorField.js +0 -51
  409. package/dist/components/QueryEditor/visual-query-builder/EditorField.js.map +0 -1
  410. package/dist/components/QueryEditor/visual-query-builder/EditorRow.js +0 -24
  411. package/dist/components/QueryEditor/visual-query-builder/EditorRow.js.map +0 -1
  412. package/dist/components/QueryEditor/visual-query-builder/EditorRows.js +0 -11
  413. package/dist/components/QueryEditor/visual-query-builder/EditorRows.js.map +0 -1
  414. package/dist/components/QueryEditor/visual-query-builder/GroupByRow.js +0 -33
  415. package/dist/components/QueryEditor/visual-query-builder/GroupByRow.js.map +0 -1
  416. package/dist/components/QueryEditor/visual-query-builder/OrderByRow.js +0 -50
  417. package/dist/components/QueryEditor/visual-query-builder/OrderByRow.js.map +0 -1
  418. package/dist/components/QueryEditor/visual-query-builder/Preview.js +0 -28
  419. package/dist/components/QueryEditor/visual-query-builder/Preview.js.map +0 -1
  420. package/dist/components/QueryEditor/visual-query-builder/SQLGroupByRow.js +0 -13
  421. package/dist/components/QueryEditor/visual-query-builder/SQLGroupByRow.js.map +0 -1
  422. package/dist/components/QueryEditor/visual-query-builder/SQLOrderByRow.js +0 -34
  423. package/dist/components/QueryEditor/visual-query-builder/SQLOrderByRow.js.map +0 -1
  424. package/dist/components/QueryEditor/visual-query-builder/SQLSelectRow.js +0 -19
  425. package/dist/components/QueryEditor/visual-query-builder/SQLSelectRow.js.map +0 -1
  426. package/dist/components/QueryEditor/visual-query-builder/SQLWhereRow.js +0 -35
  427. package/dist/components/QueryEditor/visual-query-builder/SQLWhereRow.js.map +0 -1
  428. package/dist/components/QueryEditor/visual-query-builder/SelectRow.js +0 -68
  429. package/dist/components/QueryEditor/visual-query-builder/SelectRow.js.map +0 -1
  430. package/dist/components/QueryEditor/visual-query-builder/VisualEditor.js +0 -38
  431. package/dist/components/QueryEditor/visual-query-builder/VisualEditor.js.map +0 -1
  432. package/dist/components/QueryEditor/visual-query-builder/WhereRow.js +0 -67
  433. package/dist/components/QueryEditor/visual-query-builder/WhereRow.js.map +0 -1
  434. package/dist/components/QueryEditor/visual-query-builder/index.js +0 -6
  435. package/dist/components/QueryEditor/visual-query-builder/index.js.map +0 -1
  436. package/dist/components/QueryEditorRow/QueryEditorRow.js +0 -16
  437. package/dist/components/QueryEditorRow/QueryEditorRow.js.map +0 -1
  438. package/dist/components/SQLEditor/components/SQLEditor.js +0 -330
  439. package/dist/components/SQLEditor/components/SQLEditor.js.map +0 -1
  440. package/dist/components/SQLEditor/index.js +0 -25
  441. package/dist/components/SQLEditor/index.js.map +0 -1
  442. package/dist/components/SQLEditor/mocks/Monaco.js +0 -23
  443. package/dist/components/SQLEditor/mocks/Monaco.js.map +0 -1
  444. package/dist/components/SQLEditor/mocks/TextModel.js +0 -22
  445. package/dist/components/SQLEditor/mocks/TextModel.js.map +0 -1
  446. package/dist/components/SQLEditor/mocks/queries/multiLineFullQuery.js +0 -216
  447. package/dist/components/SQLEditor/mocks/queries/multiLineFullQuery.js.map +0 -1
  448. package/dist/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js +0 -231
  449. package/dist/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js.map +0 -1
  450. package/dist/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js +0 -271
  451. package/dist/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js.map +0 -1
  452. package/dist/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js +0 -8
  453. package/dist/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js.map +0 -1
  454. package/dist/components/SQLEditor/mocks/queries/singleLineFullQuery.js +0 -196
  455. package/dist/components/SQLEditor/mocks/queries/singleLineFullQuery.js.map +0 -1
  456. package/dist/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js +0 -211
  457. package/dist/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js.map +0 -1
  458. package/dist/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js +0 -251
  459. package/dist/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js.map +0 -1
  460. package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueries.js +0 -386
  461. package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueries.js.map +0 -1
  462. package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js +0 -416
  463. package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js.map +0 -1
  464. package/dist/components/SQLEditor/mocks/testData.js +0 -22
  465. package/dist/components/SQLEditor/mocks/testData.js.map +0 -1
  466. package/dist/components/SQLEditor/standardSql/definition.js +0 -13
  467. package/dist/components/SQLEditor/standardSql/definition.js.map +0 -1
  468. package/dist/components/SQLEditor/standardSql/getStandardSuggestions.js +0 -26
  469. package/dist/components/SQLEditor/standardSql/getStandardSuggestions.js.map +0 -1
  470. package/dist/components/SQLEditor/standardSql/getStatementPosition.js +0 -24
  471. package/dist/components/SQLEditor/standardSql/getStatementPosition.js.map +0 -1
  472. package/dist/components/SQLEditor/standardSql/language.js +0 -875
  473. package/dist/components/SQLEditor/standardSql/language.js.map +0 -1
  474. package/dist/components/SQLEditor/standardSql/macros.js +0 -166
  475. package/dist/components/SQLEditor/standardSql/macros.js.map +0 -1
  476. package/dist/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js +0 -30
  477. package/dist/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js.map +0 -1
  478. package/dist/components/SQLEditor/standardSql/standardSuggestionsRegistry.js +0 -378
  479. package/dist/components/SQLEditor/standardSql/standardSuggestionsRegistry.js.map +0 -1
  480. package/dist/components/SQLEditor/standardSql/statementPositionResolversRegistry.js +0 -234
  481. package/dist/components/SQLEditor/standardSql/statementPositionResolversRegistry.js.map +0 -1
  482. package/dist/components/SQLEditor/standardSql/suggestionsKindRegistry.js +0 -153
  483. package/dist/components/SQLEditor/standardSql/suggestionsKindRegistry.js.map +0 -1
  484. package/dist/components/SQLEditor/standardSql/types.js +0 -3
  485. package/dist/components/SQLEditor/standardSql/types.js.map +0 -1
  486. package/dist/components/SQLEditor/test-utils/index.js +0 -11
  487. package/dist/components/SQLEditor/test-utils/index.js.map +0 -1
  488. package/dist/components/SQLEditor/test-utils/statementPosition.js +0 -40
  489. package/dist/components/SQLEditor/test-utils/statementPosition.js.map +0 -1
  490. package/dist/components/SQLEditor/test-utils/types.js +0 -3
  491. package/dist/components/SQLEditor/test-utils/types.js.map +0 -1
  492. package/dist/components/SQLEditor/types.js +0 -139
  493. package/dist/components/SQLEditor/types.js.map +0 -1
  494. package/dist/components/SQLEditor/utils/LinkedToken.js +0 -147
  495. package/dist/components/SQLEditor/utils/LinkedToken.js.map +0 -1
  496. package/dist/components/SQLEditor/utils/commands.js +0 -8
  497. package/dist/components/SQLEditor/utils/commands.js.map +0 -1
  498. package/dist/components/SQLEditor/utils/debugger.js +0 -14
  499. package/dist/components/SQLEditor/utils/debugger.js.map +0 -1
  500. package/dist/components/SQLEditor/utils/getSuggestionKind.js +0 -18
  501. package/dist/components/SQLEditor/utils/getSuggestionKind.js.map +0 -1
  502. package/dist/components/SQLEditor/utils/linkedTokenBuilder.js +0 -46
  503. package/dist/components/SQLEditor/utils/linkedTokenBuilder.js.map +0 -1
  504. package/dist/components/SQLEditor/utils/toCompletionItem.js +0 -10
  505. package/dist/components/SQLEditor/utils/toCompletionItem.js.map +0 -1
  506. package/dist/components/SQLEditor/utils/tokenUtils.js +0 -72
  507. package/dist/components/SQLEditor/utils/tokenUtils.js.map +0 -1
  508. package/dist/components/SQLEditor/utils/types.js +0 -3
  509. package/dist/components/SQLEditor/utils/types.js.map +0 -1
  510. package/dist/components/Segment/Segment.js +0 -19
  511. package/dist/components/Segment/Segment.js.map +0 -1
  512. package/dist/components/VisualQueryBuilder/QueryModellerBase.js +0 -35
  513. package/dist/components/VisualQueryBuilder/QueryModellerBase.js.map +0 -1
  514. package/dist/components/VisualQueryBuilder/components/LabelFilterItem.js +0 -125
  515. package/dist/components/VisualQueryBuilder/components/LabelFilterItem.js.map +0 -1
  516. package/dist/components/VisualQueryBuilder/components/LabelFilters.js +0 -37
  517. package/dist/components/VisualQueryBuilder/components/LabelFilters.js.map +0 -1
  518. package/dist/components/VisualQueryBuilder/components/OperationEditor.js +0 -41
  519. package/dist/components/VisualQueryBuilder/components/OperationEditor.js.map +0 -1
  520. package/dist/components/VisualQueryBuilder/components/OperationEditorBody.js +0 -181
  521. package/dist/components/VisualQueryBuilder/components/OperationEditorBody.js.map +0 -1
  522. package/dist/components/VisualQueryBuilder/components/OperationExplainedBox.js +0 -64
  523. package/dist/components/VisualQueryBuilder/components/OperationExplainedBox.js.map +0 -1
  524. package/dist/components/VisualQueryBuilder/components/OperationHeader.js +0 -68
  525. package/dist/components/VisualQueryBuilder/components/OperationHeader.js.map +0 -1
  526. package/dist/components/VisualQueryBuilder/components/OperationInfoButton.js +0 -71
  527. package/dist/components/VisualQueryBuilder/components/OperationInfoButton.js.map +0 -1
  528. package/dist/components/VisualQueryBuilder/components/OperationList.js +0 -132
  529. package/dist/components/VisualQueryBuilder/components/OperationList.js.map +0 -1
  530. package/dist/components/VisualQueryBuilder/components/OperationListExplained.js +0 -22
  531. package/dist/components/VisualQueryBuilder/components/OperationListExplained.js.map +0 -1
  532. package/dist/components/VisualQueryBuilder/components/OperationParamEditor.js +0 -71
  533. package/dist/components/VisualQueryBuilder/components/OperationParamEditor.js.map +0 -1
  534. package/dist/components/VisualQueryBuilder/components/OperationsEditorRow.js +0 -24
  535. package/dist/components/VisualQueryBuilder/components/OperationsEditorRow.js.map +0 -1
  536. package/dist/components/VisualQueryBuilder/components/QueryBuilderHints.js +0 -54
  537. package/dist/components/VisualQueryBuilder/components/QueryBuilderHints.js.map +0 -1
  538. package/dist/components/VisualQueryBuilder/components/QueryEditorModeToggle.js +0 -17
  539. package/dist/components/VisualQueryBuilder/components/QueryEditorModeToggle.js.map +0 -1
  540. package/dist/components/VisualQueryBuilder/components/QueryHeaderSwitch.js +0 -32
  541. package/dist/components/VisualQueryBuilder/components/QueryHeaderSwitch.js.map +0 -1
  542. package/dist/components/VisualQueryBuilder/components/QueryOptionGroup.js +0 -81
  543. package/dist/components/VisualQueryBuilder/components/QueryOptionGroup.js.map +0 -1
  544. package/dist/components/VisualQueryBuilder/components/RawQuery.js +0 -25
  545. package/dist/components/VisualQueryBuilder/components/RawQuery.js.map +0 -1
  546. package/dist/components/VisualQueryBuilder/index.js +0 -29
  547. package/dist/components/VisualQueryBuilder/index.js.map +0 -1
  548. package/dist/components/VisualQueryBuilder/types.js +0 -10
  549. package/dist/components/VisualQueryBuilder/types.js.map +0 -1
  550. package/dist/components/index.js +0 -30
  551. package/dist/components/index.js.map +0 -1
  552. package/dist/datasource/SqlDatasource.js +0 -161
  553. package/dist/datasource/SqlDatasource.js.map +0 -1
  554. package/dist/datasource/constants.js +0 -19
  555. package/dist/datasource/constants.js.map +0 -1
  556. package/dist/hooks/useDebounce.js +0 -21
  557. package/dist/hooks/useDebounce.js.map +0 -1
  558. package/dist/index.js +0 -13
  559. package/dist/index.js.map +0 -1
  560. package/dist/src/components/AsyncButtonCascader/AsyncButtonCascader.d.ts +0 -21
  561. package/dist/src/components/Cascader/Cascader.d.ts +0 -1
  562. package/dist/src/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.d.ts +0 -8
  563. package/dist/src/components/ConfigEditor/AdvancedSettings/index.d.ts +0 -1
  564. package/dist/src/components/ConfigEditor/Auth/Auth.d.ts +0 -18
  565. package/dist/src/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.d.ts +0 -14
  566. package/dist/src/components/ConfigEditor/Auth/auth-method/BasicAuth.d.ts +0 -17
  567. package/dist/src/components/ConfigEditor/Auth/custom-headers/CustomHeader.d.ts +0 -10
  568. package/dist/src/components/ConfigEditor/Auth/custom-headers/CustomHeaders.d.ts +0 -8
  569. package/dist/src/components/ConfigEditor/Auth/index.d.ts +0 -4
  570. package/dist/src/components/ConfigEditor/Auth/styles.d.ts +0 -4
  571. package/dist/src/components/ConfigEditor/Auth/tls/SelfSignedCertificate.d.ts +0 -13
  572. package/dist/src/components/ConfigEditor/Auth/tls/SkipTLSVerification.d.ts +0 -7
  573. package/dist/src/components/ConfigEditor/Auth/tls/TLSClientAuth.d.ts +0 -20
  574. package/dist/src/components/ConfigEditor/Auth/tls/TLSSettings.d.ts +0 -11
  575. package/dist/src/components/ConfigEditor/Auth/tls/TLSSettingsSection.d.ts +0 -9
  576. package/dist/src/components/ConfigEditor/Auth/types.d.ts +0 -28
  577. package/dist/src/components/ConfigEditor/Auth/utils.d.ts +0 -12
  578. package/dist/src/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.d.ts +0 -8
  579. package/dist/src/components/ConfigEditor/ConfigSection/ConfigSection.d.ts +0 -5
  580. package/dist/src/components/ConfigEditor/ConfigSection/ConfigSubSection.d.ts +0 -5
  581. package/dist/src/components/ConfigEditor/ConfigSection/GenericConfigSection.d.ts +0 -10
  582. package/dist/src/components/ConfigEditor/ConfigSection/index.d.ts +0 -3
  583. package/dist/src/components/ConfigEditor/Connection/ConnectionSettings.d.ts +0 -13
  584. package/dist/src/components/ConfigEditor/Connection/index.d.ts +0 -1
  585. package/dist/src/components/ConfigEditor/DataSourceDescription.d.ts +0 -9
  586. package/dist/src/components/ConfigEditor/SecureSocksProxyToggle.d.ts +0 -10
  587. package/dist/src/components/ConfigEditor/index.d.ts +0 -9
  588. package/dist/src/components/ConfigEditor/types.d.ts +0 -15
  589. package/dist/src/components/CustomHeadersSettings/CustomHeadersSettings.d.ts +0 -27
  590. package/dist/src/components/DataLinks/DataLink.d.ts +0 -13
  591. package/dist/src/components/DataLinks/DataLinks.d.ts +0 -8
  592. package/dist/src/components/DataLinks/index.d.ts +0 -3
  593. package/dist/src/components/DataLinks/types.d.ts +0 -7
  594. package/dist/src/components/DataSourcePicker/DataSourcePicker.d.ts +0 -34
  595. package/dist/src/components/DatePicker/DatePicker.d.ts +0 -8
  596. package/dist/src/components/DatePicker/styles.d.ts +0 -11
  597. package/dist/src/components/DatePickerWithInput/DatePickerWithInput.d.ts +0 -9
  598. package/dist/src/components/DebounceInput/DebounceInput.d.ts +0 -8
  599. package/dist/src/components/Plugins/PluginSignatureBadge.d.ts +0 -12
  600. package/dist/src/components/QueryEditor/AccessoryButton.d.ts +0 -6
  601. package/dist/src/components/QueryEditor/ConfirmModal.d.ts +0 -9
  602. package/dist/src/components/QueryEditor/DatasetSelector.d.ts +0 -13
  603. package/dist/src/components/QueryEditor/EditorField.d.ts +0 -12
  604. package/dist/src/components/QueryEditor/EditorFieldGroup.d.ts +0 -6
  605. package/dist/src/components/QueryEditor/EditorHeader.d.ts +0 -6
  606. package/dist/src/components/QueryEditor/EditorList.d.ts +0 -8
  607. package/dist/src/components/QueryEditor/EditorRow.d.ts +0 -6
  608. package/dist/src/components/QueryEditor/EditorRows.d.ts +0 -6
  609. package/dist/src/components/QueryEditor/EditorStack.d.ts +0 -13
  610. package/dist/src/components/QueryEditor/EditorSwitch.d.ts +0 -3
  611. package/dist/src/components/QueryEditor/FlexItem.d.ts +0 -7
  612. package/dist/src/components/QueryEditor/InlineSelect.d.ts +0 -7
  613. package/dist/src/components/QueryEditor/InputGroup.d.ts +0 -10
  614. package/dist/src/components/QueryEditor/QueryEditor.d.ts +0 -8
  615. package/dist/src/components/QueryEditor/QueryHeader.d.ts +0 -17
  616. package/dist/src/components/QueryEditor/RunQueryButton.d.ts +0 -13
  617. package/dist/src/components/QueryEditor/Space.d.ts +0 -14
  618. package/dist/src/components/QueryEditor/TableSelector.d.ts +0 -13
  619. package/dist/src/components/QueryEditor/defaults.d.ts +0 -3
  620. package/dist/src/components/QueryEditor/expressions.d.ts +0 -50
  621. package/dist/src/components/QueryEditor/index.d.ts +0 -17
  622. package/dist/src/components/QueryEditor/query-editor-raw/QueryEditorRaw.d.ts +0 -15
  623. package/dist/src/components/QueryEditor/query-editor-raw/QueryToolbox.d.ts +0 -11
  624. package/dist/src/components/QueryEditor/query-editor-raw/QueryValidator.d.ts +0 -10
  625. package/dist/src/components/QueryEditor/query-editor-raw/RawEditor.d.ts +0 -10
  626. package/dist/src/components/QueryEditor/types.d.ts +0 -149
  627. package/dist/src/components/QueryEditor/utils/formatSQL.d.ts +0 -1
  628. package/dist/src/components/QueryEditor/utils/sql.utils.d.ts +0 -14
  629. package/dist/src/components/QueryEditor/utils/useSqlChange.d.ts +0 -10
  630. package/dist/src/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.d.ts +0 -7
  631. package/dist/src/components/QueryEditor/visual-query-builder/EditorField.d.ts +0 -11
  632. package/dist/src/components/QueryEditor/visual-query-builder/EditorRow.d.ts +0 -6
  633. package/dist/src/components/QueryEditor/visual-query-builder/EditorRows.d.ts +0 -6
  634. package/dist/src/components/QueryEditor/visual-query-builder/GroupByRow.d.ts +0 -10
  635. package/dist/src/components/QueryEditor/visual-query-builder/OrderByRow.d.ts +0 -11
  636. package/dist/src/components/QueryEditor/visual-query-builder/Preview.d.ts +0 -6
  637. package/dist/src/components/QueryEditor/visual-query-builder/SQLGroupByRow.d.ts +0 -12
  638. package/dist/src/components/QueryEditor/visual-query-builder/SQLOrderByRow.d.ts +0 -12
  639. package/dist/src/components/QueryEditor/visual-query-builder/SQLSelectRow.d.ts +0 -12
  640. package/dist/src/components/QueryEditor/visual-query-builder/SQLWhereRow.d.ts +0 -12
  641. package/dist/src/components/QueryEditor/visual-query-builder/SelectRow.d.ts +0 -11
  642. package/dist/src/components/QueryEditor/visual-query-builder/VisualEditor.d.ts +0 -13
  643. package/dist/src/components/QueryEditor/visual-query-builder/WhereRow.d.ts +0 -10
  644. package/dist/src/components/QueryEditor/visual-query-builder/index.d.ts +0 -1
  645. package/dist/src/components/QueryEditorRow/QueryEditorRow.d.ts +0 -8
  646. package/dist/src/components/SQLEditor/components/SQLEditor.d.ts +0 -29
  647. package/dist/src/components/SQLEditor/index.d.ts +0 -7
  648. package/dist/src/components/SQLEditor/mocks/Monaco.d.ts +0 -3
  649. package/dist/src/components/SQLEditor/mocks/TextModel.d.ts +0 -7
  650. package/dist/src/components/SQLEditor/mocks/queries/multiLineFullQuery.d.ts +0 -2
  651. package/dist/src/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.d.ts +0 -2
  652. package/dist/src/components/SQLEditor/mocks/queries/multiLineMultipleColumns.d.ts +0 -2
  653. package/dist/src/components/SQLEditor/mocks/queries/singleLineEmptyQuery.d.ts +0 -2
  654. package/dist/src/components/SQLEditor/mocks/queries/singleLineFullQuery.d.ts +0 -2
  655. package/dist/src/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.d.ts +0 -2
  656. package/dist/src/components/SQLEditor/mocks/queries/singleLineMultipleColumns.d.ts +0 -2
  657. package/dist/src/components/SQLEditor/mocks/queries/singleLineTwoQueries.d.ts +0 -2
  658. package/dist/src/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.d.ts +0 -2
  659. package/dist/src/components/SQLEditor/standardSql/definition.d.ts +0 -3
  660. package/dist/src/components/SQLEditor/standardSql/getStandardSuggestions.d.ts +0 -6
  661. package/dist/src/components/SQLEditor/standardSql/getStatementPosition.d.ts +0 -5
  662. package/dist/src/components/SQLEditor/standardSql/language.d.ts +0 -23
  663. package/dist/src/components/SQLEditor/standardSql/macros.d.ts +0 -2
  664. package/dist/src/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.d.ts +0 -4
  665. package/dist/src/components/SQLEditor/standardSql/standardSuggestionsRegistry.d.ts +0 -7
  666. package/dist/src/components/SQLEditor/standardSql/statementPositionResolversRegistry.d.ts +0 -2
  667. package/dist/src/components/SQLEditor/standardSql/suggestionsKindRegistry.d.ts +0 -7
  668. package/dist/src/components/SQLEditor/standardSql/types.d.ts +0 -33
  669. package/dist/src/components/SQLEditor/test-utils/index.d.ts +0 -7
  670. package/dist/src/components/SQLEditor/test-utils/statementPosition.d.ts +0 -3
  671. package/dist/src/components/SQLEditor/test-utils/types.d.ts +0 -12
  672. package/dist/src/components/SQLEditor/types.d.ts +0 -249
  673. package/dist/src/components/SQLEditor/utils/LinkedToken.d.ts +0 -29
  674. package/dist/src/components/SQLEditor/utils/commands.d.ts +0 -4
  675. package/dist/src/components/SQLEditor/utils/debugger.d.ts +0 -5
  676. package/dist/src/components/SQLEditor/utils/getSuggestionKind.d.ts +0 -7
  677. package/dist/src/components/SQLEditor/utils/linkedTokenBuilder.d.ts +0 -4
  678. package/dist/src/components/SQLEditor/utils/toCompletionItem.d.ts +0 -2
  679. package/dist/src/components/SQLEditor/utils/tokenUtils.d.ts +0 -14
  680. package/dist/src/components/SQLEditor/utils/types.d.ts +0 -11
  681. package/dist/src/components/Segment/Segment.d.ts +0 -8
  682. package/dist/src/components/VisualQueryBuilder/QueryModellerBase.d.ts +0 -18
  683. package/dist/src/components/VisualQueryBuilder/components/LabelFilterItem.d.ts +0 -18
  684. package/dist/src/components/VisualQueryBuilder/components/LabelFilters.d.ts +0 -14
  685. package/dist/src/components/VisualQueryBuilder/components/OperationEditor.d.ts +0 -20
  686. package/dist/src/components/VisualQueryBuilder/components/OperationEditorBody.d.ts +0 -23
  687. package/dist/src/components/VisualQueryBuilder/components/OperationExplainedBox.d.ts +0 -7
  688. package/dist/src/components/VisualQueryBuilder/components/OperationHeader.d.ts +0 -15
  689. package/dist/src/components/VisualQueryBuilder/components/OperationInfoButton.d.ts +0 -9
  690. package/dist/src/components/VisualQueryBuilder/components/OperationList.d.ts +0 -15
  691. package/dist/src/components/VisualQueryBuilder/components/OperationListExplained.d.ts +0 -17
  692. package/dist/src/components/VisualQueryBuilder/components/OperationParamEditor.d.ts +0 -4
  693. package/dist/src/components/VisualQueryBuilder/components/OperationsEditorRow.d.ts +0 -2
  694. package/dist/src/components/VisualQueryBuilder/components/QueryBuilderHints.d.ts +0 -20
  695. package/dist/src/components/VisualQueryBuilder/components/QueryEditorModeToggle.d.ts +0 -8
  696. package/dist/src/components/VisualQueryBuilder/components/QueryHeaderSwitch.d.ts +0 -7
  697. package/dist/src/components/VisualQueryBuilder/components/QueryOptionGroup.d.ts +0 -9
  698. package/dist/src/components/VisualQueryBuilder/components/RawQuery.d.ts +0 -12
  699. package/dist/src/components/VisualQueryBuilder/index.d.ts +0 -13
  700. package/dist/src/components/VisualQueryBuilder/types.d.ts +0 -91
  701. package/dist/src/components/index.d.ts +0 -15
  702. package/dist/src/datasource/SqlDatasource.d.ts +0 -62
  703. package/dist/src/datasource/constants.d.ts +0 -1
  704. package/dist/src/hooks/useDebounce.d.ts +0 -2
  705. package/dist/src/index.d.ts +0 -7
  706. package/dist/src/test/mocks/DataQuery.d.ts +0 -2
  707. package/dist/src/test/mocks/Datasource.d.ts +0 -40
  708. package/dist/src/test/mocks/Plugin.d.ts +0 -10
  709. package/dist/src/test/mocks/QueryEditorProps.d.ts +0 -4
  710. package/dist/src/test/mocks/index.d.ts +0 -5
  711. package/dist/src/test/mocks/utils.d.ts +0 -18
  712. package/dist/src/utils/changeset/functions.d.ts +0 -3
  713. package/dist/src/utils/changeset/index.d.ts +0 -2
  714. package/dist/test/mocks/DataQuery.js +0 -14
  715. package/dist/test/mocks/DataQuery.js.map +0 -1
  716. package/dist/test/mocks/Datasource.js +0 -78
  717. package/dist/test/mocks/Datasource.js.map +0 -1
  718. package/dist/test/mocks/Plugin.js +0 -105
  719. package/dist/test/mocks/Plugin.js.map +0 -1
  720. package/dist/test/mocks/QueryEditorProps.js +0 -46
  721. package/dist/test/mocks/QueryEditorProps.js.map +0 -1
  722. package/dist/test/mocks/index.js +0 -9
  723. package/dist/test/mocks/index.js.map +0 -1
  724. package/dist/test/mocks/utils.js +0 -48
  725. package/dist/test/mocks/utils.js.map +0 -1
  726. package/dist/utils/changeset/functions.js +0 -11
  727. package/dist/utils/changeset/functions.js.map +0 -1
  728. package/dist/utils/changeset/index.js +0 -99
  729. package/dist/utils/changeset/index.js.map +0 -1
@@ -0,0 +1,57 @@
1
+ export { QueryEditorRow } from './components/QueryEditorRow/QueryEditorRow.js';
2
+ export { DebounceInput } from './components/DebounceInput/DebounceInput.js';
3
+ export { Segment } from './components/Segment/Segment.js';
4
+ export { DatePicker } from './components/DatePicker/DatePicker.js';
5
+ export { DatePickerWithInput, formatDate } from './components/DatePickerWithInput/DatePickerWithInput.js';
6
+ export { DataSourcePicker } from './components/DataSourcePicker/DataSourcePicker.js';
7
+ export { DataLinks } from './components/DataLinks/DataLinks.js';
8
+ export { DataLink } from './components/DataLinks/DataLink.js';
9
+ export { GroupByRow } from './components/QueryEditor/visual-query-builder/GroupByRow.js';
10
+ export { AccessoryButton } from './components/QueryEditor/AccessoryButton.js';
11
+ export { EditorFieldGroup } from './components/QueryEditor/EditorFieldGroup.js';
12
+ export { EditorHeader } from './components/QueryEditor/EditorHeader.js';
13
+ export { EditorField } from './components/QueryEditor/EditorField.js';
14
+ export { EditorRow } from './components/QueryEditor/EditorRow.js';
15
+ export { EditorList } from './components/QueryEditor/EditorList.js';
16
+ export { EditorRows } from './components/QueryEditor/EditorRows.js';
17
+ export { EditorSwitch } from './components/QueryEditor/EditorSwitch.js';
18
+ export { FlexItem } from './components/QueryEditor/FlexItem.js';
19
+ export { EditorStack } from './components/QueryEditor/EditorStack.js';
20
+ export { InlineSelect } from './components/QueryEditor/InlineSelect.js';
21
+ export { InputGroup } from './components/QueryEditor/InputGroup.js';
22
+ export { Space } from './components/QueryEditor/Space.js';
23
+ export { SqlQueryEditor } from './components/QueryEditor/QueryEditor.js';
24
+ export { RunQueryButton } from './components/QueryEditor/RunQueryButton.js';
25
+ export { EditorMode, QUERY_FORMAT_OPTIONS, QueryFormat, toOption } from './components/QueryEditor/types.js';
26
+ export { SecureSocksProxyToggle } from './components/ConfigEditor/SecureSocksProxyToggle.js';
27
+ export { DataSourceDescription } from './components/ConfigEditor/DataSourceDescription.js';
28
+ export { ConfigSection } from './components/ConfigEditor/ConfigSection/ConfigSection.js';
29
+ export { ConfigSubSection } from './components/ConfigEditor/ConfigSection/ConfigSubSection.js';
30
+ export { ConfigDescriptionLink } from './components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js';
31
+ export { Auth } from './components/ConfigEditor/Auth/Auth.js';
32
+ export { AuthMethod } from './components/ConfigEditor/Auth/types.js';
33
+ export { convertLegacyAuthProps } from './components/ConfigEditor/Auth/utils.js';
34
+ export { TLSSettings } from './components/ConfigEditor/Auth/tls/TLSSettings.js';
35
+ export { ConnectionSettings } from './components/ConfigEditor/Connection/ConnectionSettings.js';
36
+ export { AdvancedHttpSettings } from './components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js';
37
+ export { CustomHeadersSettings } from './components/CustomHeadersSettings/CustomHeadersSettings.js';
38
+ export { QueryModellerBase } from './components/VisualQueryBuilder/QueryModellerBase.js';
39
+ export { LabelFilters } from './components/VisualQueryBuilder/components/LabelFilters.js';
40
+ export { OperationExplainedBox } from './components/VisualQueryBuilder/components/OperationExplainedBox.js';
41
+ export { OperationList } from './components/VisualQueryBuilder/components/OperationList.js';
42
+ export { OperationListExplained } from './components/VisualQueryBuilder/components/OperationListExplained.js';
43
+ export { OperationsEditorRow } from './components/VisualQueryBuilder/components/OperationsEditorRow.js';
44
+ export { QueryBuilderHints } from './components/VisualQueryBuilder/components/QueryBuilderHints.js';
45
+ export { QueryEditorModeToggle } from './components/VisualQueryBuilder/components/QueryEditorModeToggle.js';
46
+ export { QueryHeaderSwitch } from './components/VisualQueryBuilder/components/QueryHeaderSwitch.js';
47
+ export { QueryOptionGroup } from './components/VisualQueryBuilder/components/QueryOptionGroup.js';
48
+ export { RawQuery } from './components/VisualQueryBuilder/components/RawQuery.js';
49
+ export { BINARY_OPERATIONS_KEY, QueryEditorMode } from './components/VisualQueryBuilder/types.js';
50
+ export { SQLEditor } from './components/SQLEditor/components/SQLEditor.js';
51
+ export { SQLEditorTestUtils } from './components/SQLEditor/test-utils/index.js';
52
+ export { LinkedToken } from './components/SQLEditor/utils/LinkedToken.js';
53
+ export { language as grafanaStandardSQLLanguage, conf as grafanaStandardSQLLanguageConf } from './components/SQLEditor/standardSql/language.js';
54
+ export { getStandardSQLCompletionProvider } from './components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js';
55
+ export { CompletionItemInsertTextRule, CompletionItemKind, CompletionItemPriority, MacroType, OperatorType, SQLEditorMode, StatementPosition, SuggestionKind, TokenType } from './components/SQLEditor/types.js';
56
+ export { SqlDatasource } from './datasource/SqlDatasource.js';
57
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,78 +1,96 @@
1
1
  {
2
2
  "name": "@grafana/plugin-ui",
3
- "version": "0.9.5",
3
+ "version": "0.10.0",
4
4
  "repository": "git@github.com:grafana/plugin-ui.git",
5
5
  "author": "Grafana Labs",
6
- "main": "dist/index.js",
7
- "types": "dist/src/index.d.ts",
6
+ "type": "module",
7
+ "main": "dist/cjs/index.cjs",
8
+ "module": "dist/esm/index.js",
9
+ "types": "dist/cjs/index.d.cts",
10
+ "exports": {
11
+ "./package.json": "./package.json",
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/esm/index.d.ts",
15
+ "default": "./dist/esm/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/cjs/index.d.cts",
19
+ "default": "./dist/cjs/index.cjs"
20
+ }
21
+ }
22
+ },
23
+ "sideEffects": false,
8
24
  "scripts": {
9
- "build": "tsc -p tsconfig.build.json && yarn copy-files",
10
- "copy-files": "copyfiles -u 1 src/**/*.css dist/",
25
+ "build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts --configPlugin esbuild",
26
+ "clean": "rm -rf ./dist ./compiled",
11
27
  "test": "jest --watch",
28
+ "test:ci": "jest --ci",
12
29
  "spellcheck": "cspell -c cspell.config.json \"**/*.{ts,tsx,js,md,mdx,yml,yaml,json,scss,css}\"",
13
- "storybook": "start-storybook -p 6006",
14
- "storybook:build": "build-storybook",
15
- "changeset": "ts-node src/utils/changeset/index.ts",
30
+ "storybook": "storybook dev",
31
+ "storybook:build": "storybook build",
16
32
  "lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
17
33
  "lint:fix": "yarn run lint --fix",
18
- "typecheck": "tsc --emitDeclarationOnly false --noEmit"
19
- },
20
- "bin": {
21
- "changeset-improved": "./dist/utils/changeset/index.js"
34
+ "typecheck": "tsc",
35
+ "verify-types": "attw --pack ."
22
36
  },
23
37
  "dependencies": {
38
+ "@emotion/css": "^11.11.2",
24
39
  "@hello-pangea/dnd": "^17.0.0",
40
+ "@types/prismjs": "^1.26.4",
25
41
  "lodash": "^4.17.21",
26
42
  "prismjs": "^1.29.0",
27
- "prompts": "^2.4.2",
28
- "rc-cascader": "1.0.1",
29
43
  "react-awesome-query-builder": "^5.3.1",
44
+ "react-calendar": "^4.8.0",
30
45
  "react-popper-tooltip": "^4.4.2",
31
- "react-use": "17.3.1",
46
+ "react-use": "^17.3.1",
32
47
  "react-virtualized-auto-sizer": "^1.0.6",
33
48
  "sql-formatter-plus": "^1.3.6",
34
49
  "uuid": "^8.3.2"
35
50
  },
36
51
  "devDependencies": {
37
- "@babel/core": "^7.12.9",
38
- "@babel/plugin-transform-classes": "7.10.4",
39
- "@babel/plugin-transform-runtime": "^7.12.10",
40
- "@babel/preset-env": "^7.12.7",
41
- "@babel/preset-react": "^7.12.7",
42
- "@babel/preset-typescript": "^7.12.7",
43
- "@changesets/cli": "^2.26.2",
44
- "@changesets/read": "^0.5.9",
45
- "@changesets/types": "^5.2.1",
46
- "@changesets/write": "^0.2.3",
52
+ "@arethetypeswrong/cli": "^0.17.3",
47
53
  "@grafana/data": "^10.4.0",
48
54
  "@grafana/e2e-selectors": "^10.4.0",
49
- "@grafana/eslint-config": "^7.0.0",
55
+ "@grafana/eslint-config": "^8.0.0",
50
56
  "@grafana/runtime": "^10.4.0",
51
57
  "@grafana/tsconfig": "^1.3.0-rc1",
52
58
  "@grafana/ui": "^10.4.0",
53
- "@storybook/addon-actions": "^6.5.16",
54
- "@storybook/addon-essentials": "^6.5.16",
55
- "@storybook/addon-links": "^6.5.16",
59
+ "@rollup/plugin-commonjs": "^28.0.2",
60
+ "@rollup/plugin-node-resolve": "^16.0.0",
61
+ "@storybook/addon-actions": "^8.5.2",
62
+ "@storybook/addon-essentials": "^8.5.2",
63
+ "@storybook/addon-links": "^8.5.2",
64
+ "@storybook/addon-mdx-gfm": "^8.5.2",
65
+ "@storybook/addon-webpack5-compiler-swc": "^2.0.0",
56
66
  "@storybook/addons": "^6.5.16",
57
- "@storybook/react": "^6.5.16",
58
- "@storybook/theming": "^6.5.16",
67
+ "@storybook/react": "^8.5.2",
68
+ "@storybook/react-webpack5": "^8.5.2",
69
+ "@storybook/theming": "^8.5.2",
70
+ "@stylistic/eslint-plugin-ts": "^2.9.0",
71
+ "@swc/jest": "^0.2.37",
59
72
  "@testing-library/jest-dom": "5.16.5",
60
73
  "@testing-library/react": "15.0.2",
61
74
  "@testing-library/user-event": "14.5.2",
62
75
  "@types/chance": "^1.1.0",
63
76
  "@types/lodash": "^4.14.194",
64
77
  "@types/memoize-one": "^5.1.2",
65
- "@types/prismjs": "^1.26.4",
66
- "@types/prompts": "^2.4.4",
67
- "@types/react": "17.0.38",
78
+ "@types/react": "18.3.18",
68
79
  "@types/react-calendar": "^3.1.2",
69
80
  "@types/testing-library__jest-dom": "^5.9.5",
70
81
  "@types/uuid": "^8.3.2",
71
- "babel-loader": "^8.2.2",
82
+ "@typescript-eslint/eslint-plugin": "^6.18.0",
83
+ "@typescript-eslint/parser": "^6.18.0",
72
84
  "chance": "^1.1.7",
73
85
  "copyfiles": "^2.4.1",
74
86
  "cspell": "^8.14.4",
87
+ "esbuild": "^0.24.2",
88
+ "eslint": "^8.52.0",
89
+ "eslint-config-prettier": "^8.8.0",
90
+ "eslint-plugin-jsdoc": "^46.8.2",
75
91
  "eslint-plugin-prettier": "^5.2.1",
92
+ "eslint-plugin-react": "^7.33.2",
93
+ "eslint-plugin-react-hooks": "^4.6.0",
76
94
  "fast-glob": "^3.3.1",
77
95
  "jest": "^29.7.0",
78
96
  "jest-environment-jsdom": "^29.7.0",
@@ -83,13 +101,16 @@
83
101
  "react": "18.2.0",
84
102
  "react-dom": "18.2.0",
85
103
  "react-select-event": "^5.5.1",
104
+ "rollup": "^4.32.1",
105
+ "rollup-plugin-dts": "^6.1.1",
106
+ "rollup-plugin-esbuild": "^6.1.1",
107
+ "rollup-plugin-node-externals": "^8.0.0",
86
108
  "rxjs": "^7.8.1",
87
- "ts-jest": "^26.4.4",
109
+ "storybook": "^8.5.2",
88
110
  "ts-node": "^10.9.1",
89
- "typescript": "^4.9.5"
111
+ "typescript": "^5.7.3"
90
112
  },
91
113
  "peerDependencies": {
92
- "@changesets/cli": ">=2.x",
93
114
  "@grafana/data": "^10.4.0 || ^11.0.0",
94
115
  "@grafana/e2e-selectors": "^10.4.0 || ^11.0.0",
95
116
  "@grafana/runtime": "^10.4.0 || ^11.0.0",
@@ -99,7 +120,7 @@
99
120
  "rxjs": "^7.8.1"
100
121
  },
101
122
  "files": [
102
- "dist/**/*",
103
- "package.json"
104
- ]
123
+ "dist"
124
+ ],
125
+ "packageManager": "yarn@4.6.0"
105
126
  }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AsyncButtonCascader = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const ui_1 = require("@grafana/ui");
7
- const css_1 = require("@emotion/css");
8
- // @ts-ignore
9
- const rc_cascader_1 = tslib_1.__importDefault(require("rc-cascader"));
10
- const getStyles = (theme) => {
11
- return {
12
- popup: (0, css_1.css) `
13
- label: popup;
14
- z-index: ${theme.zIndex.dropdown};
15
- `,
16
- icon: (0, css_1.css) `
17
- margin: 1px 0 0 4px;
18
- `,
19
- };
20
- };
21
- const AsyncButtonCascader = (props) => {
22
- const { onChange, className, loadData } = props, rest = tslib_1.__rest(props, ["onChange", "className", "loadData"]);
23
- const theme = (0, ui_1.useTheme2)();
24
- const styles = getStyles(theme);
25
- return (react_1.default.createElement(rc_cascader_1.default, Object.assign({ onChange: onChange, loadData: loadData, changeOnSelect: true, popupClassName: styles.popup }, rest, { expandIcon: null }),
26
- react_1.default.createElement("button", { className: (0, css_1.cx)('gf-form-label', className), disabled: props.disabled },
27
- props.children,
28
- " ",
29
- react_1.default.createElement(ui_1.Icon, { name: "angle-down", className: styles.icon }))));
30
- };
31
- exports.AsyncButtonCascader = AsyncButtonCascader;
32
- exports.AsyncButtonCascader.displayName = 'AsyncButtonCascader';
33
- //# sourceMappingURL=AsyncButtonCascader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AsyncButtonCascader.js","sourceRoot":"","sources":["../../../src/components/AsyncButtonCascader/AsyncButtonCascader.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,oCAA8C;AAE9C,sCAAuC;AAEvC,aAAa;AACb,sEAAyD;AAczD,MAAM,SAAS,GAAG,CAAC,KAAoB,EAAE,EAAE;IACzC,OAAO;QACL,KAAK,EAAE,IAAA,SAAG,EAAA;;iBAEG,KAAK,CAAC,MAAM,CAAC,QAAQ;KACjC;QACD,IAAI,EAAE,IAAA,SAAG,EAAA;;KAER;KACF,CAAC;AACJ,CAAC,CAAC;AAEK,MAAM,mBAAmB,GAAG,CAAC,KAA+B,EAAE,EAAE;IACrE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAc,KAAK,EAAd,IAAI,kBAAK,KAAK,EAAlD,qCAA0C,CAAQ,CAAC;IACzD,MAAM,KAAK,GAAG,IAAA,cAAS,GAAE,CAAC;IAC1B,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC;IAEhC,OAAO,CACL,8BAAC,qBAAU,kBACT,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,IAAI,EACpB,cAAc,EAAE,MAAM,CAAC,KAAK,IACxB,IAAI,IACR,UAAU,EAAE,IAAI;QAEhB,0CAAQ,SAAS,EAAE,IAAA,QAAE,EAAC,eAAe,EAAE,SAAS,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxE,KAAK,CAAC,QAAQ;;YAAE,8BAAC,SAAI,IAAC,IAAI,EAAC,YAAY,EAAC,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,CAC5D,CACE,CACd,CAAC;AACJ,CAAC,CAAC;AAnBW,QAAA,mBAAmB,uBAmB9B;AAEF,2BAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Cascader = void 0;
4
- var ui_1 = require("@grafana/ui");
5
- Object.defineProperty(exports, "Cascader", { enumerable: true, get: function () { return ui_1.Cascader; } });
6
- //# sourceMappingURL=Cascader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cascader.js","sourceRoot":"","sources":["../../../src/components/Cascader/Cascader.tsx"],"names":[],"mappings":";;;AAAA,kCAAuC;AAA9B,8FAAA,QAAQ,OAAA"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdvancedHttpSettings = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const css_1 = require("@emotion/css");
7
- const ui_1 = require("@grafana/ui");
8
- const ConfigSection_1 = require("../ConfigSection");
9
- const AdvancedHttpSettings = ({ config, onChange, className, }) => {
10
- const onCookiesChange = (cookies) => {
11
- onChange(Object.assign(Object.assign({}, config), { jsonData: Object.assign(Object.assign({}, config.jsonData), { keepCookies: cookies }) }));
12
- };
13
- const onTimeoutChange = (event) => {
14
- onChange(Object.assign(Object.assign({}, config), { jsonData: Object.assign(Object.assign({}, config.jsonData), { timeout: parseInt(event.currentTarget.value, 10) }) }));
15
- };
16
- const styles = {
17
- container: (0, css_1.css)({
18
- maxWidth: 578,
19
- }),
20
- };
21
- return (react_1.default.createElement(ConfigSection_1.ConfigSubSection, { title: "Advanced HTTP settings", className: (0, css_1.cx)(styles.container, className) },
22
- react_1.default.createElement(ui_1.InlineField, { htmlFor: "advanced-http-cookies", label: "Allowed cookies", labelWidth: 24, tooltip: "Grafana proxy deletes forwarded cookies by default. Specify cookies by name that should be forwarded to the data source.", disabled: config.readOnly, grow: true },
23
- react_1.default.createElement(ui_1.TagsInput, { id: "advanced-http-cookies", placeholder: "New cookie (hit enter to add)", tags: config.jsonData.keepCookies, onChange: onCookiesChange })),
24
- react_1.default.createElement(ui_1.InlineField, { htmlFor: "advanced-http-timeout", label: "Timeout", labelWidth: 24, tooltip: "HTTP request timeout in seconds", disabled: config.readOnly, grow: true },
25
- react_1.default.createElement(ui_1.Input, { id: "advanced-http-timeout", type: "number", min: 0, placeholder: "Timeout in seconds", "aria-label": "Timeout in seconds", value: config.jsonData.timeout, onChange: onTimeoutChange }))));
26
- };
27
- exports.AdvancedHttpSettings = AdvancedHttpSettings;
28
- //# sourceMappingURL=AdvancedHttpSettings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AdvancedHttpSettings.js","sourceRoot":"","sources":["../../../../src/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,sCAAuC;AACvC,oCAA4D;AAC5D,oDAAoD;AAS7C,MAAM,oBAAoB,GAAgE,CAAC,EAChG,MAAM,EACN,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,eAAe,GAAG,CAAC,OAAiB,EAAE,EAAE;QAC5C,QAAQ,iCACH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,CAAC,OAAO,EAC9B,QAAQ,EAAE,eAAe,GACzB,CACU,CACG,CACpB,CAAC;AACJ,CAAC,CAAC;AArEW,QAAA,oBAAoB,wBAqE/B"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdvancedHttpSettings = void 0;
4
- var AdvancedHttpSettings_1 = require("./AdvancedHttpSettings");
5
- Object.defineProperty(exports, "AdvancedHttpSettings", { enumerable: true, get: function () { return AdvancedHttpSettings_1.AdvancedHttpSettings; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ConfigEditor/AdvancedSettings/index.ts"],"names":[],"mappings":";;;AAAA,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Auth = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const css_1 = require("@emotion/css");
7
- const AuthMethodSettings_1 = require("./auth-method/AuthMethodSettings");
8
- const TLSSettings_1 = require("./tls/TLSSettings");
9
- const CustomHeaders_1 = require("./custom-headers/CustomHeaders");
10
- const ConfigSection_1 = require("../ConfigSection");
11
- const Auth = ({ selectedMethod, mostCommonMethod, visibleMethods, defaultOptionsOverrides, customMethods, onAuthMethodSelect, basicAuth, TLS, customHeaders, readOnly = false, }) => {
12
- const styles = {
13
- container: (0, css_1.css)({
14
- maxWidth: 578,
15
- }),
16
- };
17
- return (react_1.default.createElement("div", { className: styles.container },
18
- react_1.default.createElement(ConfigSection_1.ConfigSection, { title: "Authentication" },
19
- react_1.default.createElement(AuthMethodSettings_1.AuthMethodSettings, { selectedMethod: selectedMethod, mostCommonMethod: mostCommonMethod, customMethods: customMethods, visibleMethods: visibleMethods, defaultOptionsOverrides: defaultOptionsOverrides, onAuthMethodSelect: onAuthMethodSelect, basicAuth: basicAuth, readOnly: readOnly }),
20
- TLS && react_1.default.createElement(TLSSettings_1.TLSSettings, Object.assign({}, TLS, { readOnly: readOnly })),
21
- customHeaders && react_1.default.createElement(CustomHeaders_1.CustomHeaders, Object.assign({}, customHeaders, { readOnly: readOnly })))));
22
- };
23
- exports.Auth = Auth;
24
- //# sourceMappingURL=Auth.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Auth.js","sourceRoot":"","sources":["../../../../src/components/ConfigEditor/Auth/Auth.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,sCAAmC;AAEnC,yEAAsE;AACtE,mDAA2E;AAE3E,kEAA4F;AAC5F,oDAAiD;AAe1C,MAAM,IAAI,GAAG,CAAC,EACnB,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,GAAG,EACH,aAAa,EACb,QAAQ,GAAG,KAAK,GACV,EAAE,EAAE;IACV,MAAM,MAAM,GAAG;QACb,SAAS,EAAE,IAAA,SAAG,EAAC;YACb,QAAQ,EAAE,GAAG;SACd,CAAC;KACH,CAAC;IAEF,OAAO,CACL,uCAAK,SAAS,EAAE,MAAM,CAAC,SAAS;QAC9B,8BAAC,6BAAa,IAAC,KAAK,EAAC,gBAAgB;YACnC,8BAAC,uCAAkB,IACjB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,EAClC,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,uBAAuB,EAAE,uBAAuB,EAChD,kBAAkB,EAAE,kBAAkB,EACtC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,GAClB;YACD,GAAG,IAAI,8BAAC,yBAAW,oBAAK,GAAG,IAAE,QAAQ,EAAE,QAAQ,IAAI;YACnD,aAAa,IAAI,8BAAC,6BAAa,oBAAK,aAAa,IAAE,QAAQ,EAAE,QAAQ,IAAI,CAC5D,CACZ,CACP,CAAC;AACJ,CAAC,CAAC;AApCW,QAAA,IAAI,QAoCf"}
@@ -1,110 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthMethodSettings = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importStar(require("react"));
6
- const css_1 = require("@emotion/css");
7
- const ui_1 = require("@grafana/ui");
8
- const BasicAuth_1 = require("./BasicAuth");
9
- const ConfigSection_1 = require("../../ConfigSection");
10
- const types_1 = require("../types");
11
- const defaultOptions = {
12
- [types_1.AuthMethod.BasicAuth]: {
13
- label: 'Basic authentication',
14
- value: types_1.AuthMethod.BasicAuth,
15
- description: 'Authenticate with your data source username and password',
16
- },
17
- [types_1.AuthMethod.CrossSiteCredentials]: {
18
- label: 'Enable cross-site access control requests',
19
- value: types_1.AuthMethod.CrossSiteCredentials,
20
- description: 'Allow cross-site Access-Control requests with your existing credentials and cookies. This enables the server to authenticate the user and perform authorized requests on their behalf on other domains.',
21
- },
22
- [types_1.AuthMethod.OAuthForward]: {
23
- label: 'Forward OAuth Identity',
24
- value: types_1.AuthMethod.OAuthForward,
25
- description: 'Forward the OAuth access token (and if available: the OIDC ID token) of the user querying to the data source',
26
- },
27
- [types_1.AuthMethod.NoAuth]: {
28
- label: 'No Authentication',
29
- value: types_1.AuthMethod.NoAuth,
30
- description: 'Data source is available without authentication',
31
- },
32
- };
33
- const AuthMethodSettings = ({ selectedMethod, mostCommonMethod, visibleMethods: visibleMethodsFromProps, defaultOptionsOverrides, customMethods, onAuthMethodSelect, basicAuth, readOnly, }) => {
34
- var _a, _b, _c, _d;
35
- const [authMethodChanged, setAuthMethodChanged] = (0, react_1.useState)(false);
36
- const { colors, spacing } = (0, ui_1.useTheme2)();
37
- const visibleMethods = (0, react_1.useMemo)(() => {
38
- var _a;
39
- return visibleMethodsFromProps !== null && visibleMethodsFromProps !== void 0 ? visibleMethodsFromProps : [
40
- types_1.AuthMethod.BasicAuth,
41
- types_1.AuthMethod.OAuthForward,
42
- types_1.AuthMethod.NoAuth,
43
- ...((_a = customMethods === null || customMethods === void 0 ? void 0 : customMethods.map((m) => m.id)) !== null && _a !== void 0 ? _a : []),
44
- ];
45
- }, [customMethods, visibleMethodsFromProps]);
46
- const hasSelect = visibleMethods.length > 1;
47
- const preparedOptions = (0, react_1.useMemo)(() => {
48
- var _a;
49
- const customOptions = (_a = customMethods === null || customMethods === void 0 ? void 0 : customMethods.reduce((acc, method) => {
50
- acc[method.id] = {
51
- label: method.label,
52
- value: method.id,
53
- description: method.description,
54
- };
55
- return acc;
56
- }, {})) !== null && _a !== void 0 ? _a : {};
57
- const preparedDefaultOptions = {};
58
- let k;
59
- for (k in defaultOptions) {
60
- preparedDefaultOptions[k] = Object.assign(Object.assign({}, defaultOptions[k]), defaultOptionsOverrides === null || defaultOptionsOverrides === void 0 ? void 0 : defaultOptionsOverrides[k]);
61
- }
62
- const allOptions = Object.assign(Object.assign({}, customOptions), preparedDefaultOptions);
63
- return visibleMethods
64
- .filter((method) => Boolean(allOptions[method]))
65
- .map((method) => {
66
- const option = allOptions[method];
67
- if (method === mostCommonMethod && hasSelect) {
68
- return Object.assign(Object.assign({}, option), { label: `${option.label} (most common)` });
69
- }
70
- return option;
71
- });
72
- }, [visibleMethods, customMethods, defaultOptionsOverrides, mostCommonMethod, hasSelect]);
73
- let selected = selectedMethod;
74
- if (!hasSelect) {
75
- selected = visibleMethods[0];
76
- }
77
- else if (selectedMethod === types_1.AuthMethod.NoAuth && mostCommonMethod && !authMethodChanged) {
78
- selected = mostCommonMethod;
79
- }
80
- let AuthFieldsComponent = null;
81
- if (selected === types_1.AuthMethod.BasicAuth && basicAuth) {
82
- AuthFieldsComponent = react_1.default.createElement(BasicAuth_1.BasicAuth, Object.assign({}, basicAuth, { readOnly: readOnly }));
83
- }
84
- else if (selected.startsWith('custom-')) {
85
- AuthFieldsComponent = (_b = (_a = customMethods === null || customMethods === void 0 ? void 0 : customMethods.find((m) => m.id === selected)) === null || _a === void 0 ? void 0 : _a.component) !== null && _b !== void 0 ? _b : null;
86
- }
87
- const title = hasSelect ? 'Authentication methods' : (_c = preparedOptions[0].label) !== null && _c !== void 0 ? _c : '';
88
- const description = hasSelect
89
- ? 'Choose an authentication method to access the data source'
90
- : (_d = preparedOptions[0].description) !== null && _d !== void 0 ? _d : '';
91
- const styles = {
92
- authMethods: (0, css_1.css)(Object.assign({ marginTop: spacing(2.5) }, (hasSelect && {
93
- padding: spacing(2),
94
- border: `1px solid ${colors.border.weak}`,
95
- }))),
96
- selectedMethodFields: (0, css_1.css)({
97
- marginTop: spacing(1.5),
98
- }),
99
- };
100
- return (react_1.default.createElement(ConfigSection_1.ConfigSubSection, { title: title, description: description },
101
- react_1.default.createElement("div", { className: styles.authMethods },
102
- hasSelect && (react_1.default.createElement(ui_1.Field, { label: "Authentication method" },
103
- react_1.default.createElement(ui_1.Select, { inputId: "auth-method-select", options: preparedOptions, value: selected, onChange: (option) => {
104
- setAuthMethodChanged(true);
105
- onAuthMethodSelect(option.value);
106
- }, disabled: readOnly }))),
107
- AuthFieldsComponent && react_1.default.createElement("div", { className: styles.selectedMethodFields }, AuthFieldsComponent))));
108
- };
109
- exports.AuthMethodSettings = AuthMethodSettings;
110
- //# sourceMappingURL=AuthMethodSettings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthMethodSettings.js","sourceRoot":"","sources":["../../../../../src/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.tsx"],"names":[],"mappings":";;;;AAAA,uDAA+D;AAC/D,sCAAmC;AACnC,oCAAuD;AAEvD,2CAAiE;AACjE,uDAAuD;AACvD,oCAA4F;AAE5F,MAAM,cAAc,GAAoD;IACtE,CAAC,kBAAU,CAAC,SAAS,CAAC,EAAE;QACtB,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,kBAAU,CAAC,SAAS;QAC3B,WAAW,EAAE,0DAA0D;KACxE;IACD,CAAC,kBAAU,CAAC,oBAAoB,CAAC,EAAE;QACjC,KAAK,EAAE,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C,gCAAgB,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW;QACtD,uCAAK,SAAS,EAAE,MAAM,CAAC,WAAW;YAC/B,SAAS,IAAI,CACZ,8BAAC,UAAK,IAAC,KAAK,EAAC,uBAAuB;gBAClC,8BAAC,WAAM,IACL,OAAO,EAAC,oBAAoB,EAC5B,OAAO,EAAE,eAAe,EACxB,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,MAAM,EAAE,EAAE;wBACnB,oBAAoB,CAAC,IAAI,CAAC,CAAC;wBAC3B,kBAAkB,CAAC,MAAM,CAAC,KAAM,CAAC,CAAC;oBACpC,CAAC,EACD,QAAQ,EAAE,QAAQ,GAClB,CACI,CACT;YACA,mBAAmB,IAAI,uCAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,IAAG,mBAAmB,CAAO,CAC5F,CACW,CACpB,CAAC;AACJ,CAAC,CAAC;AArHW,QAAA,kBAAkB,sBAqH7B"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasicAuth = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const css_1 = require("@emotion/css");
7
- const ui_1 = require("@grafana/ui");
8
- const styles_1 = require("../styles");
9
- const BasicAuth = ({ user, passwordConfigured, userLabel = 'User', userTooltip = 'The username of the data source account', userPlaceholder = 'User', passwordLabel = 'Password', passwordTooltip = 'The password of the data source account', passwordPlaceholder = 'Password', onUserChange, onPasswordChange, onPasswordReset, readOnly, }) => {
10
- const commonStyles = (0, styles_1.useCommonStyles)();
11
- const styles = {
12
- lastInlineField: (0, css_1.css)({
13
- marginBottom: 0,
14
- }),
15
- };
16
- return (react_1.default.createElement(react_1.default.Fragment, null,
17
- react_1.default.createElement(ui_1.InlineField, { className: commonStyles.inlineFieldNoMarginRight, label: userLabel, labelWidth: 24, tooltip: userTooltip, required: true, htmlFor: "basic-auth-user-input", interactive: true, grow: true, disabled: readOnly },
18
- react_1.default.createElement(ui_1.Input, { id: "basic-auth-user-input", placeholder: userPlaceholder, value: user, onChange: (e) => onUserChange(e.currentTarget.value), required: true })),
19
- react_1.default.createElement(ui_1.InlineField, { className: (0, css_1.cx)(commonStyles.inlineFieldNoMarginRight, commonStyles.inlineFieldWithSecret, styles.lastInlineField), label: passwordLabel, labelWidth: 24, tooltip: passwordTooltip, required: true, htmlFor: "basic-auth-password-input", interactive: true, grow: true, disabled: readOnly },
20
- react_1.default.createElement(ui_1.SecretInput, { id: "basic-auth-password-input", isConfigured: passwordConfigured, onReset: readOnly ? () => { } : onPasswordReset, placeholder: passwordPlaceholder, onChange: (e) => onPasswordChange(e.currentTarget.value), required: true }))));
21
- };
22
- exports.BasicAuth = BasicAuth;
23
- //# sourceMappingURL=BasicAuth.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BasicAuth.js","sourceRoot":"","sources":["../../../../../src/components/ConfigEditor/Auth/auth-method/BasicAuth.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,sCAAuC;AACvC,oCAA8E;AAC9E,sCAA4C;AAiBrC,MAAM,SAAS,GAAG,CAAC,EACxB,IAAI,EACJ,kBAAkB,EAClB,SAAS,GAAG,MAAM,EAClB,WAAW,GAAG,yCAAyC,EACvD,eAAe,GAAG,MAAM,EACxB,aAAa,GAAG,UAAU,EAC1B,eAAe,GAAG,yCAAyC,EAC3D,mBAAmB,GAAG,UAAU,EAChC,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,QAAQ,GACF,EAAE,EAAE;IACV,MAAM,YAAY,GAAG,IAAA,wBAAe,GAAE,CAAC;IACvC,MAAM,MAAM,GAAG;QACb,eAAe,EAAE,IAAA,SAAG,EAAC;YACnB,YAAY,EAAE,CAAC;SAChB,CAAC;KACH,CAAC;IACF,OAAO,CACL;QACE,8BAAC,gBAAW,IACV,SAAS,EAAE,YAAY,CAAC,wBAAwB,EAChD,KAAK,EAAE,SAAS,EAChB,UAAU,EAAE,EAAE,EACd,OAAO,EAAE,WAAW,EACpB,QAAQ,QACR,OAAO,EAAC,uBAAuB,EAC/B,WAAW,QACX,IAAI,QACJ,QAAQ,EAAE,QAAQ;YAElB,8BAAC,UAAK,IACJ,EAAE,EAAC,uBAAuB,EAC1B,WAAW,EAAE,eAAe,EAC5B,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,EACpD,QAAQ,SACR,CACU;QACd,8BAAC,gBAAW,IACV,SAAS,EAAE,IAAA,QAAE,EACX,YAAY,CAAC,wBAAwB,EACrC,YAAY,CAAC,qBAAqB,EAClC,MAAM,CAAC,eAAe,CACvB,EACD,KAAK,EAAE,aAAa,EACpB,UAAU,EAAE,EAAE,EACd,OAAO,EAAE,eAAe,EACxB,QAAQ,QACR,OAAO,EAAC,2BAA2B,EACnC,WAAW,QACX,IAAI,QACJ,QAAQ,EAAE,QAAQ;YAElB,8BAAC,gBAAW,IACV,EAAE,EAAC,2BAA2B,EAC9B,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC,CAAC,eAAe,EAC9C,WAAW,EAAE,mBAAmB,EAChC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,EACxD,QAAQ,SACR,CACU,CACb,CACJ,CAAC;AACJ,CAAC,CAAC;AAnEW,QAAA,SAAS,aAmEpB"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomHeader = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const css_1 = require("@emotion/css");
7
- const ui_1 = require("@grafana/ui");
8
- const styles_1 = require("../styles");
9
- const CustomHeader = ({ header, onChange, onBlur, onDelete, readOnly }) => {
10
- const { spacing } = (0, ui_1.useTheme2)();
11
- const commonStyles = (0, styles_1.useCommonStyles)();
12
- const styles = {
13
- container: (0, css_1.css)({
14
- alignItems: 'center',
15
- }),
16
- input: (0, css_1.css)({
17
- minWidth: '100%',
18
- }),
19
- headerNameField: (0, css_1.css)({
20
- width: '40%',
21
- marginRight: 0,
22
- paddingRight: spacing(1),
23
- }),
24
- headerValueField: (0, css_1.css)({
25
- width: '45%',
26
- marginRight: 0,
27
- }),
28
- removeHeaderBtn: (0, css_1.css)({
29
- margin: `0 0 3px 10px`,
30
- }),
31
- };
32
- return (react_1.default.createElement(react_1.default.Fragment, null,
33
- react_1.default.createElement(ui_1.InlineFieldRow, { className: styles.container },
34
- react_1.default.createElement(ui_1.InlineField, { label: "Header", labelWidth: 9, grow: true, className: styles.headerNameField, htmlFor: `custom-header-${header.id}-name-input`, disabled: readOnly },
35
- react_1.default.createElement(ui_1.Input, { id: `custom-header-${header.id}-name-input`, placeholder: "X-Custom-Header", value: header.name, width: 12, onChange: (e) => onChange(Object.assign(Object.assign({}, header), { name: e.currentTarget.value })), onBlur: onBlur, className: styles.input })),
36
- react_1.default.createElement(ui_1.InlineField, { label: "Value", labelWidth: 9, grow: true, className: (0, css_1.cx)(commonStyles.inlineFieldWithSecret, styles.headerValueField), htmlFor: `custom-header-${header.id}-value-input`, disabled: readOnly },
37
- react_1.default.createElement(ui_1.SecretInput, { id: `custom-header-${header.id}-value-input`, isConfigured: header.configured, placeholder: "Header value", value: header.value, width: 12, onChange: (e) => onChange(Object.assign(Object.assign({}, header), { value: e.currentTarget.value })), onReset: readOnly ? () => { } : () => onChange(Object.assign(Object.assign({}, header), { configured: false, value: '' })), onBlur: onBlur, className: styles.input })),
38
- react_1.default.createElement(ui_1.IconButton, { name: "trash-alt", tooltip: "Remove header", tooltipPlacement: "top", className: styles.removeHeaderBtn, onClick: onDelete, type: "button", disabled: readOnly }))));
39
- };
40
- exports.CustomHeader = CustomHeader;
41
- //# sourceMappingURL=CustomHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomHeader.js","sourceRoot":"","sources":["../../../../../src/components/ConfigEditor/Auth/custom-headers/CustomHeader.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,sCAAuC;AACvC,oCAAqG;AAErG,sCAA4C;AAUrC,MAAM,YAAY,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAS,EAAE,EAAE;IACtF,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,cAAS,GAAE,CAAC;IAChC,MAAM,YAAY,GAAG,IAAA,wBAAe,GAAE,CAAC;IACvC,MAAM,MAAM,GAAG;QACb,SAAS,EAAE,IAAA,SAAG,EAAC;YACb,UAAU,EAAE,QAAQ;SACrB,CAAC;QACF,KAAK,EAAE,IAAA,SAAG,EAAC;YACT,QAAQ,EAAE,MAAM;SACjB,CAAC;QACF,eAAe,EAAE,IAAA,SAAG,EAAC;YACnB,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,CAAC;YACd,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC;SACzB,CAAC;QACF,gBAAgB,EAAE,IAAA,SAAG,EAAC;YACpB,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,CAAC;SACf,CAAC;QACF,eAAe,EAAE,IAAA,SAAG,EAAC;YACnB,MAAM,EAAE,cAAc;SACvB,CAAC;KACH,CAAC;IAEF,OAAO,CACL;QACE,8BAAC,mBAAc,IAAC,SAAS,EAAE,MAAM,CAAC,SAAS;YACzC,8BAAC,gBAAW,IACV,KAAK,EAAC,QAAQ,EACd,UAAU,EAAE,CAAC,EACb,IAAI,QACJ,SAAS,EAAE,MAAM,CAAC,eAAe,EACjC,OAAO,EAAE,iBAAiB,MAAM,CAAC,EAAE,aAAa,EAChD,QAAQ,EAAE,QAAQ;gBAElB,8BAAC,UAAK,IACJ,EAAE,EAAE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