@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.
- package/dist/cjs/index.d.cts +1205 -0
- package/dist/cjs/index.js +9739 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/esm/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js +80 -0
- package/dist/esm/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/Auth.js +43 -0
- package/dist/esm/components/ConfigEditor/Auth/Auth.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js +132 -0
- package/dist/esm/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/auth-method/BasicAuth.js +82 -0
- package/dist/esm/components/ConfigEditor/Auth/auth-method/BasicAuth.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeader.js +91 -0
- package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeader.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js +101 -0
- package/dist/esm/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/styles.js +18 -0
- package/dist/esm/components/ConfigEditor/Auth/styles.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js +58 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/SkipTLSVerification.js +18 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/SkipTLSVerification.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSClientAuth.js +114 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSClientAuth.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettings.js +31 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettings.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettingsSection.js +35 -0
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSSettingsSection.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/types.js +12 -0
- package/dist/esm/components/ConfigEditor/Auth/types.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Auth/utils.js +200 -0
- package/dist/esm/components/ConfigEditor/Auth/utils.js.map +1 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +38 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js.map +1 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSection.js +9 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSection.js.map +1 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSubSection.js +9 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigSubSection.js.map +1 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/GenericConfigSection.js +55 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/GenericConfigSection.js.map +1 -0
- package/dist/esm/components/ConfigEditor/Connection/ConnectionSettings.js +53 -0
- package/dist/esm/components/ConfigEditor/Connection/ConnectionSettings.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DataSourceDescription.js +32 -0
- package/dist/esm/components/ConfigEditor/DataSourceDescription.js.map +1 -0
- package/dist/esm/components/ConfigEditor/SecureSocksProxyToggle.js +45 -0
- package/dist/esm/components/ConfigEditor/SecureSocksProxyToggle.js.map +1 -0
- package/dist/esm/components/CustomHeadersSettings/CustomHeadersSettings.js +182 -0
- package/dist/esm/components/CustomHeadersSettings/CustomHeadersSettings.js.map +1 -0
- package/dist/esm/components/DataLinks/DataLink.js +144 -0
- package/dist/esm/components/DataLinks/DataLink.js.map +1 -0
- package/dist/esm/components/DataLinks/DataLinks.js +66 -0
- package/dist/esm/components/DataLinks/DataLinks.js.map +1 -0
- package/dist/esm/components/DataSourcePicker/DataSourcePicker.js +103 -0
- package/dist/esm/components/DataSourcePicker/DataSourcePicker.js.map +1 -0
- package/dist/esm/components/DatePicker/DatePicker.js +39 -0
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/{components → esm/components}/DatePicker/styles.js +20 -21
- package/dist/esm/components/DatePicker/styles.js.map +1 -0
- package/dist/esm/components/DatePickerWithInput/DatePickerWithInput.js +28 -0
- package/dist/esm/components/DatePickerWithInput/DatePickerWithInput.js.map +1 -0
- package/dist/esm/components/DatePickerWithInput/styles.js +16 -0
- package/dist/esm/components/DatePickerWithInput/styles.js.map +1 -0
- package/dist/esm/components/DebounceInput/DebounceInput.js +15 -0
- package/dist/esm/components/DebounceInput/DebounceInput.js.map +1 -0
- package/dist/esm/components/Plugins/PluginSignatureBadge.js +57 -0
- package/dist/esm/components/Plugins/PluginSignatureBadge.js.map +1 -0
- package/dist/esm/components/QueryEditor/AccessoryButton.js +18 -0
- package/dist/esm/components/QueryEditor/AccessoryButton.js.map +1 -0
- package/dist/esm/components/QueryEditor/ConfirmModal.js +26 -0
- package/dist/esm/components/QueryEditor/ConfirmModal.js.map +1 -0
- package/dist/esm/components/QueryEditor/DatasetSelector.js +56 -0
- package/dist/esm/components/QueryEditor/DatasetSelector.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorField.js +42 -0
- package/dist/esm/components/QueryEditor/EditorField.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorFieldGroup.js +9 -0
- package/dist/esm/components/QueryEditor/EditorFieldGroup.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorHeader.js +21 -0
- package/dist/esm/components/QueryEditor/EditorHeader.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorList.js +28 -0
- package/dist/esm/components/QueryEditor/EditorList.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorRow.js +22 -0
- package/dist/esm/components/QueryEditor/EditorRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorRows.js +9 -0
- package/dist/esm/components/QueryEditor/EditorRows.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorStack.js +11 -0
- package/dist/esm/components/QueryEditor/EditorStack.js.map +1 -0
- package/dist/esm/components/QueryEditor/EditorSwitch.js +20 -0
- package/dist/esm/components/QueryEditor/EditorSwitch.js.map +1 -0
- package/dist/esm/components/QueryEditor/FlexItem.js +8 -0
- package/dist/esm/components/QueryEditor/FlexItem.js.map +1 -0
- package/dist/esm/components/QueryEditor/InlineSelect.js +50 -0
- package/dist/esm/components/QueryEditor/InlineSelect.js.map +1 -0
- package/dist/esm/components/QueryEditor/InputGroup.js +63 -0
- package/dist/esm/components/QueryEditor/InputGroup.js.map +1 -0
- package/dist/esm/components/QueryEditor/QueryEditor.js +110 -0
- package/dist/esm/components/QueryEditor/QueryEditor.js.map +1 -0
- package/dist/esm/components/QueryEditor/QueryHeader.js +172 -0
- package/dist/esm/components/QueryEditor/QueryHeader.js.map +1 -0
- package/dist/esm/components/QueryEditor/RunQueryButton.js +42 -0
- package/dist/esm/components/QueryEditor/RunQueryButton.js.map +1 -0
- package/dist/esm/components/QueryEditor/Space.js +35 -0
- package/dist/esm/components/QueryEditor/Space.js.map +1 -0
- package/dist/esm/components/QueryEditor/TableSelector.js +33 -0
- package/dist/esm/components/QueryEditor/TableSelector.js.map +1 -0
- package/dist/esm/components/QueryEditor/defaults.js +25 -0
- package/dist/esm/components/QueryEditor/defaults.js.map +1 -0
- package/dist/esm/components/QueryEditor/expressions.js +17 -0
- package/dist/esm/components/QueryEditor/expressions.js.map +1 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js +39 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js.map +1 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js +63 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js.map +1 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryValidator.js +72 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryValidator.js.map +1 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js +96 -0
- package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js.map +1 -0
- package/dist/esm/components/QueryEditor/types.js +33 -0
- package/dist/esm/components/QueryEditor/types.js.map +1 -0
- package/dist/esm/components/QueryEditor/utils/formatSQL.js +10 -0
- package/dist/esm/components/QueryEditor/utils/formatSQL.js.map +1 -0
- package/dist/esm/components/QueryEditor/utils/sql.utils.js +93 -0
- package/dist/esm/components/QueryEditor/utils/sql.utils.js.map +1 -0
- package/dist/esm/components/QueryEditor/utils/useSqlChange.js +19 -0
- package/dist/esm/components/QueryEditor/utils/useSqlChange.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js +216 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js +44 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js +22 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorRows.js +9 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorRows.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/GroupByRow.js +51 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/GroupByRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/OrderByRow.js +70 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/OrderByRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js +33 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js +14 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js +35 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js +19 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js +40 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js +123 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js +24 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js.map +1 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/WhereRow.js +79 -0
- package/dist/esm/components/QueryEditor/visual-query-builder/WhereRow.js.map +1 -0
- package/dist/esm/components/QueryEditorRow/QueryEditorRow.js +11 -0
- package/dist/esm/components/QueryEditorRow/QueryEditorRow.js.map +1 -0
- package/dist/esm/components/SQLEditor/components/SQLEditor.js +339 -0
- package/dist/esm/components/SQLEditor/components/SQLEditor.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/Monaco.js +19 -0
- package/dist/esm/components/SQLEditor/mocks/Monaco.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/TextModel.js +21 -0
- package/dist/esm/components/SQLEditor/mocks/TextModel.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQuery.js +217 -0
- package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQuery.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js +232 -0
- package/dist/esm/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js +272 -0
- package/dist/esm/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js +9 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQuery.js +197 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQuery.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js +212 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js +252 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueries.js +387 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueries.js.map +1 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js +417 -0
- package/dist/esm/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js.map +1 -0
- package/dist/{src/components/SQLEditor/mocks/testData.d.ts → esm/components/SQLEditor/mocks/testData.js} +10 -9
- package/dist/esm/components/SQLEditor/mocks/testData.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/definition.js +19 -0
- package/dist/esm/components/SQLEditor/standardSql/definition.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/getStandardSuggestions.js +20 -0
- package/dist/esm/components/SQLEditor/standardSql/getStandardSuggestions.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js +24 -0
- package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/language.js +867 -0
- package/dist/esm/components/SQLEditor/standardSql/language.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/macros.js +58 -0
- package/dist/esm/components/SQLEditor/standardSql/macros.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js +34 -0
- package/dist/esm/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/standardSuggestionsRegistry.js +367 -0
- package/dist/esm/components/SQLEditor/standardSql/standardSuggestionsRegistry.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js +215 -0
- package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js.map +1 -0
- package/dist/esm/components/SQLEditor/standardSql/suggestionsKindRegistry.js +152 -0
- package/dist/esm/components/SQLEditor/standardSql/suggestionsKindRegistry.js.map +1 -0
- package/dist/esm/components/SQLEditor/test-utils/index.js +11 -0
- package/dist/esm/components/SQLEditor/test-utils/index.js.map +1 -0
- package/dist/esm/components/SQLEditor/test-utils/statementPosition.js +45 -0
- package/dist/esm/components/SQLEditor/test-utils/statementPosition.js.map +1 -0
- package/dist/esm/components/SQLEditor/types.js +140 -0
- package/dist/esm/components/SQLEditor/types.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/LinkedToken.js +145 -0
- package/dist/esm/components/SQLEditor/utils/LinkedToken.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/commands.js +7 -0
- package/dist/esm/components/SQLEditor/utils/commands.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/debugger.js +14 -0
- package/dist/esm/components/SQLEditor/utils/debugger.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/getSuggestionKind.js +16 -0
- package/dist/esm/components/SQLEditor/utils/getSuggestionKind.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/linkedTokenBuilder.js +45 -0
- package/dist/esm/components/SQLEditor/utils/linkedTokenBuilder.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/toCompletionItem.js +17 -0
- package/dist/esm/components/SQLEditor/utils/toCompletionItem.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/tokenUtils.js +36 -0
- package/dist/esm/components/SQLEditor/utils/tokenUtils.js.map +1 -0
- package/dist/esm/components/Segment/Segment.js +24 -0
- package/dist/esm/components/Segment/Segment.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/QueryModellerBase.js +39 -0
- package/dist/esm/components/VisualQueryBuilder/QueryModellerBase.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/LabelFilterItem.js +178 -0
- package/dist/esm/components/VisualQueryBuilder/components/LabelFilterItem.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/LabelFilters.js +70 -0
- package/dist/esm/components/VisualQueryBuilder/components/LabelFilters.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationEditor.js +77 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationEditor.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationEditorBody.js +254 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationEditorBody.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationExplainedBox.js +55 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationExplainedBox.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationHeader.js +107 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationHeader.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationInfoButton.js +87 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationInfoButton.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationList.js +169 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationList.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationListExplained.js +43 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationListExplained.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationParamEditor.js +136 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationParamEditor.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationsEditorRow.js +39 -0
- package/dist/esm/components/VisualQueryBuilder/components/OperationsEditorRow.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryBuilderHints.js +73 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryBuilderHints.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryEditorModeToggle.js +14 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryEditorModeToggle.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryHeaderSwitch.js +44 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryHeaderSwitch.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryOptionGroup.js +97 -0
- package/dist/esm/components/VisualQueryBuilder/components/QueryOptionGroup.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/components/RawQuery.js +30 -0
- package/dist/esm/components/VisualQueryBuilder/components/RawQuery.js.map +1 -0
- package/dist/esm/components/VisualQueryBuilder/types.js +12 -0
- package/dist/esm/components/VisualQueryBuilder/types.js.map +1 -0
- package/dist/esm/datasource/SqlDatasource.js +172 -0
- package/dist/esm/datasource/SqlDatasource.js.map +1 -0
- package/dist/esm/datasource/constants.js +18 -0
- package/dist/esm/datasource/constants.js.map +1 -0
- package/dist/esm/hooks/useDebounce.js +18 -0
- package/dist/esm/hooks/useDebounce.js.map +1 -0
- package/dist/esm/index.d.ts +1205 -0
- package/dist/esm/index.js +57 -0
- package/dist/esm/index.js.map +1 -0
- package/package.json +62 -41
- package/dist/components/AsyncButtonCascader/AsyncButtonCascader.js +0 -33
- package/dist/components/AsyncButtonCascader/AsyncButtonCascader.js.map +0 -1
- package/dist/components/Cascader/Cascader.js +0 -6
- package/dist/components/Cascader/Cascader.js.map +0 -1
- package/dist/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js +0 -28
- package/dist/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js.map +0 -1
- package/dist/components/ConfigEditor/AdvancedSettings/index.js +0 -6
- package/dist/components/ConfigEditor/AdvancedSettings/index.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/Auth.js +0 -24
- package/dist/components/ConfigEditor/Auth/Auth.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js +0 -110
- package/dist/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/auth-method/BasicAuth.js +0 -23
- package/dist/components/ConfigEditor/Auth/auth-method/BasicAuth.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeader.js +0 -41
- package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeader.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js +0 -76
- package/dist/components/ConfigEditor/Auth/custom-headers/CustomHeaders.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/index.js +0 -10
- package/dist/components/ConfigEditor/Auth/index.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/styles.js +0 -19
- package/dist/components/ConfigEditor/Auth/styles.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js +0 -18
- package/dist/components/ConfigEditor/Auth/tls/SelfSignedCertificate.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/tls/SkipTLSVerification.js +0 -11
- package/dist/components/ConfigEditor/Auth/tls/SkipTLSVerification.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/tls/TLSClientAuth.js +0 -22
- package/dist/components/ConfigEditor/Auth/tls/TLSClientAuth.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/tls/TLSSettings.js +0 -25
- package/dist/components/ConfigEditor/Auth/tls/TLSSettings.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/tls/TLSSettingsSection.js +0 -35
- package/dist/components/ConfigEditor/Auth/tls/TLSSettingsSection.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/types.js +0 -11
- package/dist/components/ConfigEditor/Auth/types.js.map +0 -1
- package/dist/components/ConfigEditor/Auth/utils.js +0 -113
- package/dist/components/ConfigEditor/Auth/utils.js.map +0 -1
- package/dist/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +0 -32
- package/dist/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js.map +0 -1
- package/dist/components/ConfigEditor/ConfigSection/ConfigSection.js +0 -12
- package/dist/components/ConfigEditor/ConfigSection/ConfigSection.js.map +0 -1
- package/dist/components/ConfigEditor/ConfigSection/ConfigSubSection.js +0 -12
- package/dist/components/ConfigEditor/ConfigSection/ConfigSubSection.js.map +0 -1
- package/dist/components/ConfigEditor/ConfigSection/GenericConfigSection.js +0 -40
- package/dist/components/ConfigEditor/ConfigSection/GenericConfigSection.js.map +0 -1
- package/dist/components/ConfigEditor/ConfigSection/index.js +0 -10
- package/dist/components/ConfigEditor/ConfigSection/index.js.map +0 -1
- package/dist/components/ConfigEditor/Connection/ConnectionSettings.js +0 -26
- package/dist/components/ConfigEditor/Connection/ConnectionSettings.js.map +0 -1
- package/dist/components/ConfigEditor/Connection/index.js +0 -6
- package/dist/components/ConfigEditor/Connection/index.js.map +0 -1
- package/dist/components/ConfigEditor/DataSourceDescription.js +0 -39
- package/dist/components/ConfigEditor/DataSourceDescription.js.map +0 -1
- package/dist/components/ConfigEditor/SecureSocksProxyToggle.js +0 -24
- package/dist/components/ConfigEditor/SecureSocksProxyToggle.js.map +0 -1
- package/dist/components/ConfigEditor/index.js +0 -22
- package/dist/components/ConfigEditor/index.js.map +0 -1
- package/dist/components/ConfigEditor/types.js +0 -3
- package/dist/components/ConfigEditor/types.js.map +0 -1
- package/dist/components/CustomHeadersSettings/CustomHeadersSettings.js +0 -124
- package/dist/components/CustomHeadersSettings/CustomHeadersSettings.js.map +0 -1
- package/dist/components/DataLinks/DataLink.js +0 -79
- package/dist/components/DataLinks/DataLink.js.map +0 -1
- package/dist/components/DataLinks/DataLinks.js +0 -56
- package/dist/components/DataLinks/DataLinks.js.map +0 -1
- package/dist/components/DataLinks/index.js +0 -7
- package/dist/components/DataLinks/index.js.map +0 -1
- package/dist/components/DataLinks/types.js +0 -3
- package/dist/components/DataLinks/types.js.map +0 -1
- package/dist/components/DataSourcePicker/DataSourcePicker.js +0 -88
- package/dist/components/DataSourcePicker/DataSourcePicker.js.map +0 -1
- package/dist/components/DatePicker/DatePicker.js +0 -31
- package/dist/components/DatePicker/DatePicker.js.map +0 -1
- package/dist/components/DatePicker/styles.js.map +0 -1
- package/dist/components/DatePickerWithInput/DatePickerWithInput.js +0 -23
- package/dist/components/DatePickerWithInput/DatePickerWithInput.js.map +0 -1
- package/dist/components/DatePickerWithInput/style.css +0 -8
- package/dist/components/DebounceInput/DebounceInput.js +0 -19
- package/dist/components/DebounceInput/DebounceInput.js.map +0 -1
- package/dist/components/Plugins/PluginSignatureBadge.js +0 -65
- package/dist/components/Plugins/PluginSignatureBadge.js.map +0 -1
- package/dist/components/QueryEditor/AccessoryButton.js +0 -20
- package/dist/components/QueryEditor/AccessoryButton.js.map +0 -1
- package/dist/components/QueryEditor/ConfirmModal.js +0 -28
- package/dist/components/QueryEditor/ConfirmModal.js.map +0 -1
- package/dist/components/QueryEditor/DatasetSelector.js +0 -40
- package/dist/components/QueryEditor/DatasetSelector.js.map +0 -1
- package/dist/components/QueryEditor/EditorField.js +0 -49
- package/dist/components/QueryEditor/EditorField.js.map +0 -1
- package/dist/components/QueryEditor/EditorFieldGroup.js +0 -11
- package/dist/components/QueryEditor/EditorFieldGroup.js.map +0 -1
- package/dist/components/QueryEditor/EditorHeader.js +0 -22
- package/dist/components/QueryEditor/EditorHeader.js.map +0 -1
- package/dist/components/QueryEditor/EditorList.js +0 -27
- package/dist/components/QueryEditor/EditorList.js.map +0 -1
- package/dist/components/QueryEditor/EditorRow.js +0 -24
- package/dist/components/QueryEditor/EditorRow.js.map +0 -1
- package/dist/components/QueryEditor/EditorRows.js +0 -11
- package/dist/components/QueryEditor/EditorRows.js.map +0 -1
- package/dist/components/QueryEditor/EditorStack.js +0 -13
- package/dist/components/QueryEditor/EditorStack.js.map +0 -1
- package/dist/components/QueryEditor/EditorSwitch.js +0 -24
- package/dist/components/QueryEditor/EditorSwitch.js.map +0 -1
- package/dist/components/QueryEditor/FlexItem.js +0 -10
- package/dist/components/QueryEditor/FlexItem.js.map +0 -1
- package/dist/components/QueryEditor/InlineSelect.js +0 -57
- package/dist/components/QueryEditor/InlineSelect.js.map +0 -1
- package/dist/components/QueryEditor/InputGroup.js +0 -66
- package/dist/components/QueryEditor/InputGroup.js.map +0 -1
- package/dist/components/QueryEditor/QueryEditor.js +0 -74
- package/dist/components/QueryEditor/QueryEditor.js.map +0 -1
- package/dist/components/QueryEditor/QueryHeader.js +0 -86
- package/dist/components/QueryEditor/QueryHeader.js.map +0 -1
- package/dist/components/QueryEditor/RunQueryButton.js +0 -19
- package/dist/components/QueryEditor/RunQueryButton.js.map +0 -1
- package/dist/components/QueryEditor/Space.js +0 -36
- package/dist/components/QueryEditor/Space.js.map +0 -1
- package/dist/components/QueryEditor/TableSelector.js +0 -20
- package/dist/components/QueryEditor/TableSelector.js.map +0 -1
- package/dist/components/QueryEditor/defaults.js +0 -20
- package/dist/components/QueryEditor/defaults.js.map +0 -1
- package/dist/components/QueryEditor/expressions.js +0 -18
- package/dist/components/QueryEditor/expressions.js.map +0 -1
- package/dist/components/QueryEditor/index.js +0 -37
- package/dist/components/QueryEditor/index.js.map +0 -1
- package/dist/components/QueryEditor/query-editor-raw/QueryEditorRaw.js +0 -21
- package/dist/components/QueryEditor/query-editor-raw/QueryEditorRaw.js.map +0 -1
- package/dist/components/QueryEditor/query-editor-raw/QueryToolbox.js +0 -59
- package/dist/components/QueryEditor/query-editor-raw/QueryToolbox.js.map +0 -1
- package/dist/components/QueryEditor/query-editor-raw/QueryValidator.js +0 -79
- package/dist/components/QueryEditor/query-editor-raw/QueryValidator.js.map +0 -1
- package/dist/components/QueryEditor/query-editor-raw/RawEditor.js +0 -60
- package/dist/components/QueryEditor/query-editor-raw/RawEditor.js.map +0 -1
- package/dist/components/QueryEditor/types.js +0 -26
- package/dist/components/QueryEditor/types.js.map +0 -1
- package/dist/components/QueryEditor/utils/formatSQL.js +0 -13
- package/dist/components/QueryEditor/utils/formatSQL.js.map +0 -1
- package/dist/components/QueryEditor/utils/sql.utils.js +0 -103
- package/dist/components/QueryEditor/utils/sql.utils.js.map +0 -1
- package/dist/components/QueryEditor/utils/useSqlChange.js +0 -16
- package/dist/components/QueryEditor/utils/useSqlChange.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js +0 -109
- package/dist/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/EditorField.js +0 -51
- package/dist/components/QueryEditor/visual-query-builder/EditorField.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/EditorRow.js +0 -24
- package/dist/components/QueryEditor/visual-query-builder/EditorRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/EditorRows.js +0 -11
- package/dist/components/QueryEditor/visual-query-builder/EditorRows.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/GroupByRow.js +0 -33
- package/dist/components/QueryEditor/visual-query-builder/GroupByRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/OrderByRow.js +0 -50
- package/dist/components/QueryEditor/visual-query-builder/OrderByRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/Preview.js +0 -28
- package/dist/components/QueryEditor/visual-query-builder/Preview.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/SQLGroupByRow.js +0 -13
- package/dist/components/QueryEditor/visual-query-builder/SQLGroupByRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/SQLOrderByRow.js +0 -34
- package/dist/components/QueryEditor/visual-query-builder/SQLOrderByRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/SQLSelectRow.js +0 -19
- package/dist/components/QueryEditor/visual-query-builder/SQLSelectRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/SQLWhereRow.js +0 -35
- package/dist/components/QueryEditor/visual-query-builder/SQLWhereRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/SelectRow.js +0 -68
- package/dist/components/QueryEditor/visual-query-builder/SelectRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/VisualEditor.js +0 -38
- package/dist/components/QueryEditor/visual-query-builder/VisualEditor.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/WhereRow.js +0 -67
- package/dist/components/QueryEditor/visual-query-builder/WhereRow.js.map +0 -1
- package/dist/components/QueryEditor/visual-query-builder/index.js +0 -6
- package/dist/components/QueryEditor/visual-query-builder/index.js.map +0 -1
- package/dist/components/QueryEditorRow/QueryEditorRow.js +0 -16
- package/dist/components/QueryEditorRow/QueryEditorRow.js.map +0 -1
- package/dist/components/SQLEditor/components/SQLEditor.js +0 -330
- package/dist/components/SQLEditor/components/SQLEditor.js.map +0 -1
- package/dist/components/SQLEditor/index.js +0 -25
- package/dist/components/SQLEditor/index.js.map +0 -1
- package/dist/components/SQLEditor/mocks/Monaco.js +0 -23
- package/dist/components/SQLEditor/mocks/Monaco.js.map +0 -1
- package/dist/components/SQLEditor/mocks/TextModel.js +0 -22
- package/dist/components/SQLEditor/mocks/TextModel.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/multiLineFullQuery.js +0 -216
- package/dist/components/SQLEditor/mocks/queries/multiLineFullQuery.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js +0 -231
- package/dist/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js +0 -271
- package/dist/components/SQLEditor/mocks/queries/multiLineMultipleColumns.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js +0 -8
- package/dist/components/SQLEditor/mocks/queries/singleLineEmptyQuery.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/singleLineFullQuery.js +0 -196
- package/dist/components/SQLEditor/mocks/queries/singleLineFullQuery.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js +0 -211
- package/dist/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js +0 -251
- package/dist/components/SQLEditor/mocks/queries/singleLineMultipleColumns.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueries.js +0 -386
- package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueries.js.map +0 -1
- package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js +0 -416
- package/dist/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.js.map +0 -1
- package/dist/components/SQLEditor/mocks/testData.js +0 -22
- package/dist/components/SQLEditor/mocks/testData.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/definition.js +0 -13
- package/dist/components/SQLEditor/standardSql/definition.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/getStandardSuggestions.js +0 -26
- package/dist/components/SQLEditor/standardSql/getStandardSuggestions.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/getStatementPosition.js +0 -24
- package/dist/components/SQLEditor/standardSql/getStatementPosition.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/language.js +0 -875
- package/dist/components/SQLEditor/standardSql/language.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/macros.js +0 -166
- package/dist/components/SQLEditor/standardSql/macros.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js +0 -30
- package/dist/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/standardSuggestionsRegistry.js +0 -378
- package/dist/components/SQLEditor/standardSql/standardSuggestionsRegistry.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/statementPositionResolversRegistry.js +0 -234
- package/dist/components/SQLEditor/standardSql/statementPositionResolversRegistry.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/suggestionsKindRegistry.js +0 -153
- package/dist/components/SQLEditor/standardSql/suggestionsKindRegistry.js.map +0 -1
- package/dist/components/SQLEditor/standardSql/types.js +0 -3
- package/dist/components/SQLEditor/standardSql/types.js.map +0 -1
- package/dist/components/SQLEditor/test-utils/index.js +0 -11
- package/dist/components/SQLEditor/test-utils/index.js.map +0 -1
- package/dist/components/SQLEditor/test-utils/statementPosition.js +0 -40
- package/dist/components/SQLEditor/test-utils/statementPosition.js.map +0 -1
- package/dist/components/SQLEditor/test-utils/types.js +0 -3
- package/dist/components/SQLEditor/test-utils/types.js.map +0 -1
- package/dist/components/SQLEditor/types.js +0 -139
- package/dist/components/SQLEditor/types.js.map +0 -1
- package/dist/components/SQLEditor/utils/LinkedToken.js +0 -147
- package/dist/components/SQLEditor/utils/LinkedToken.js.map +0 -1
- package/dist/components/SQLEditor/utils/commands.js +0 -8
- package/dist/components/SQLEditor/utils/commands.js.map +0 -1
- package/dist/components/SQLEditor/utils/debugger.js +0 -14
- package/dist/components/SQLEditor/utils/debugger.js.map +0 -1
- package/dist/components/SQLEditor/utils/getSuggestionKind.js +0 -18
- package/dist/components/SQLEditor/utils/getSuggestionKind.js.map +0 -1
- package/dist/components/SQLEditor/utils/linkedTokenBuilder.js +0 -46
- package/dist/components/SQLEditor/utils/linkedTokenBuilder.js.map +0 -1
- package/dist/components/SQLEditor/utils/toCompletionItem.js +0 -10
- package/dist/components/SQLEditor/utils/toCompletionItem.js.map +0 -1
- package/dist/components/SQLEditor/utils/tokenUtils.js +0 -72
- package/dist/components/SQLEditor/utils/tokenUtils.js.map +0 -1
- package/dist/components/SQLEditor/utils/types.js +0 -3
- package/dist/components/SQLEditor/utils/types.js.map +0 -1
- package/dist/components/Segment/Segment.js +0 -19
- package/dist/components/Segment/Segment.js.map +0 -1
- package/dist/components/VisualQueryBuilder/QueryModellerBase.js +0 -35
- package/dist/components/VisualQueryBuilder/QueryModellerBase.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/LabelFilterItem.js +0 -125
- package/dist/components/VisualQueryBuilder/components/LabelFilterItem.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/LabelFilters.js +0 -37
- package/dist/components/VisualQueryBuilder/components/LabelFilters.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationEditor.js +0 -41
- package/dist/components/VisualQueryBuilder/components/OperationEditor.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationEditorBody.js +0 -181
- package/dist/components/VisualQueryBuilder/components/OperationEditorBody.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationExplainedBox.js +0 -64
- package/dist/components/VisualQueryBuilder/components/OperationExplainedBox.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationHeader.js +0 -68
- package/dist/components/VisualQueryBuilder/components/OperationHeader.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationInfoButton.js +0 -71
- package/dist/components/VisualQueryBuilder/components/OperationInfoButton.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationList.js +0 -132
- package/dist/components/VisualQueryBuilder/components/OperationList.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationListExplained.js +0 -22
- package/dist/components/VisualQueryBuilder/components/OperationListExplained.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationParamEditor.js +0 -71
- package/dist/components/VisualQueryBuilder/components/OperationParamEditor.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/OperationsEditorRow.js +0 -24
- package/dist/components/VisualQueryBuilder/components/OperationsEditorRow.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/QueryBuilderHints.js +0 -54
- package/dist/components/VisualQueryBuilder/components/QueryBuilderHints.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/QueryEditorModeToggle.js +0 -17
- package/dist/components/VisualQueryBuilder/components/QueryEditorModeToggle.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/QueryHeaderSwitch.js +0 -32
- package/dist/components/VisualQueryBuilder/components/QueryHeaderSwitch.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/QueryOptionGroup.js +0 -81
- package/dist/components/VisualQueryBuilder/components/QueryOptionGroup.js.map +0 -1
- package/dist/components/VisualQueryBuilder/components/RawQuery.js +0 -25
- package/dist/components/VisualQueryBuilder/components/RawQuery.js.map +0 -1
- package/dist/components/VisualQueryBuilder/index.js +0 -29
- package/dist/components/VisualQueryBuilder/index.js.map +0 -1
- package/dist/components/VisualQueryBuilder/types.js +0 -10
- package/dist/components/VisualQueryBuilder/types.js.map +0 -1
- package/dist/components/index.js +0 -30
- package/dist/components/index.js.map +0 -1
- package/dist/datasource/SqlDatasource.js +0 -161
- package/dist/datasource/SqlDatasource.js.map +0 -1
- package/dist/datasource/constants.js +0 -19
- package/dist/datasource/constants.js.map +0 -1
- package/dist/hooks/useDebounce.js +0 -21
- package/dist/hooks/useDebounce.js.map +0 -1
- package/dist/index.js +0 -13
- package/dist/index.js.map +0 -1
- package/dist/src/components/AsyncButtonCascader/AsyncButtonCascader.d.ts +0 -21
- package/dist/src/components/Cascader/Cascader.d.ts +0 -1
- package/dist/src/components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.d.ts +0 -8
- package/dist/src/components/ConfigEditor/AdvancedSettings/index.d.ts +0 -1
- package/dist/src/components/ConfigEditor/Auth/Auth.d.ts +0 -18
- package/dist/src/components/ConfigEditor/Auth/auth-method/AuthMethodSettings.d.ts +0 -14
- package/dist/src/components/ConfigEditor/Auth/auth-method/BasicAuth.d.ts +0 -17
- package/dist/src/components/ConfigEditor/Auth/custom-headers/CustomHeader.d.ts +0 -10
- package/dist/src/components/ConfigEditor/Auth/custom-headers/CustomHeaders.d.ts +0 -8
- package/dist/src/components/ConfigEditor/Auth/index.d.ts +0 -4
- package/dist/src/components/ConfigEditor/Auth/styles.d.ts +0 -4
- package/dist/src/components/ConfigEditor/Auth/tls/SelfSignedCertificate.d.ts +0 -13
- package/dist/src/components/ConfigEditor/Auth/tls/SkipTLSVerification.d.ts +0 -7
- package/dist/src/components/ConfigEditor/Auth/tls/TLSClientAuth.d.ts +0 -20
- package/dist/src/components/ConfigEditor/Auth/tls/TLSSettings.d.ts +0 -11
- package/dist/src/components/ConfigEditor/Auth/tls/TLSSettingsSection.d.ts +0 -9
- package/dist/src/components/ConfigEditor/Auth/types.d.ts +0 -28
- package/dist/src/components/ConfigEditor/Auth/utils.d.ts +0 -12
- package/dist/src/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.d.ts +0 -8
- package/dist/src/components/ConfigEditor/ConfigSection/ConfigSection.d.ts +0 -5
- package/dist/src/components/ConfigEditor/ConfigSection/ConfigSubSection.d.ts +0 -5
- package/dist/src/components/ConfigEditor/ConfigSection/GenericConfigSection.d.ts +0 -10
- package/dist/src/components/ConfigEditor/ConfigSection/index.d.ts +0 -3
- package/dist/src/components/ConfigEditor/Connection/ConnectionSettings.d.ts +0 -13
- package/dist/src/components/ConfigEditor/Connection/index.d.ts +0 -1
- package/dist/src/components/ConfigEditor/DataSourceDescription.d.ts +0 -9
- package/dist/src/components/ConfigEditor/SecureSocksProxyToggle.d.ts +0 -10
- package/dist/src/components/ConfigEditor/index.d.ts +0 -9
- package/dist/src/components/ConfigEditor/types.d.ts +0 -15
- package/dist/src/components/CustomHeadersSettings/CustomHeadersSettings.d.ts +0 -27
- package/dist/src/components/DataLinks/DataLink.d.ts +0 -13
- package/dist/src/components/DataLinks/DataLinks.d.ts +0 -8
- package/dist/src/components/DataLinks/index.d.ts +0 -3
- package/dist/src/components/DataLinks/types.d.ts +0 -7
- package/dist/src/components/DataSourcePicker/DataSourcePicker.d.ts +0 -34
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -8
- package/dist/src/components/DatePicker/styles.d.ts +0 -11
- package/dist/src/components/DatePickerWithInput/DatePickerWithInput.d.ts +0 -9
- package/dist/src/components/DebounceInput/DebounceInput.d.ts +0 -8
- package/dist/src/components/Plugins/PluginSignatureBadge.d.ts +0 -12
- package/dist/src/components/QueryEditor/AccessoryButton.d.ts +0 -6
- package/dist/src/components/QueryEditor/ConfirmModal.d.ts +0 -9
- package/dist/src/components/QueryEditor/DatasetSelector.d.ts +0 -13
- package/dist/src/components/QueryEditor/EditorField.d.ts +0 -12
- package/dist/src/components/QueryEditor/EditorFieldGroup.d.ts +0 -6
- package/dist/src/components/QueryEditor/EditorHeader.d.ts +0 -6
- package/dist/src/components/QueryEditor/EditorList.d.ts +0 -8
- package/dist/src/components/QueryEditor/EditorRow.d.ts +0 -6
- package/dist/src/components/QueryEditor/EditorRows.d.ts +0 -6
- package/dist/src/components/QueryEditor/EditorStack.d.ts +0 -13
- package/dist/src/components/QueryEditor/EditorSwitch.d.ts +0 -3
- package/dist/src/components/QueryEditor/FlexItem.d.ts +0 -7
- package/dist/src/components/QueryEditor/InlineSelect.d.ts +0 -7
- package/dist/src/components/QueryEditor/InputGroup.d.ts +0 -10
- package/dist/src/components/QueryEditor/QueryEditor.d.ts +0 -8
- package/dist/src/components/QueryEditor/QueryHeader.d.ts +0 -17
- package/dist/src/components/QueryEditor/RunQueryButton.d.ts +0 -13
- package/dist/src/components/QueryEditor/Space.d.ts +0 -14
- package/dist/src/components/QueryEditor/TableSelector.d.ts +0 -13
- package/dist/src/components/QueryEditor/defaults.d.ts +0 -3
- package/dist/src/components/QueryEditor/expressions.d.ts +0 -50
- package/dist/src/components/QueryEditor/index.d.ts +0 -17
- package/dist/src/components/QueryEditor/query-editor-raw/QueryEditorRaw.d.ts +0 -15
- package/dist/src/components/QueryEditor/query-editor-raw/QueryToolbox.d.ts +0 -11
- package/dist/src/components/QueryEditor/query-editor-raw/QueryValidator.d.ts +0 -10
- package/dist/src/components/QueryEditor/query-editor-raw/RawEditor.d.ts +0 -10
- package/dist/src/components/QueryEditor/types.d.ts +0 -149
- package/dist/src/components/QueryEditor/utils/formatSQL.d.ts +0 -1
- package/dist/src/components/QueryEditor/utils/sql.utils.d.ts +0 -14
- package/dist/src/components/QueryEditor/utils/useSqlChange.d.ts +0 -10
- package/dist/src/components/QueryEditor/visual-query-builder/AwesomeQueryBuilder.d.ts +0 -7
- package/dist/src/components/QueryEditor/visual-query-builder/EditorField.d.ts +0 -11
- package/dist/src/components/QueryEditor/visual-query-builder/EditorRow.d.ts +0 -6
- package/dist/src/components/QueryEditor/visual-query-builder/EditorRows.d.ts +0 -6
- package/dist/src/components/QueryEditor/visual-query-builder/GroupByRow.d.ts +0 -10
- package/dist/src/components/QueryEditor/visual-query-builder/OrderByRow.d.ts +0 -11
- package/dist/src/components/QueryEditor/visual-query-builder/Preview.d.ts +0 -6
- package/dist/src/components/QueryEditor/visual-query-builder/SQLGroupByRow.d.ts +0 -12
- package/dist/src/components/QueryEditor/visual-query-builder/SQLOrderByRow.d.ts +0 -12
- package/dist/src/components/QueryEditor/visual-query-builder/SQLSelectRow.d.ts +0 -12
- package/dist/src/components/QueryEditor/visual-query-builder/SQLWhereRow.d.ts +0 -12
- package/dist/src/components/QueryEditor/visual-query-builder/SelectRow.d.ts +0 -11
- package/dist/src/components/QueryEditor/visual-query-builder/VisualEditor.d.ts +0 -13
- package/dist/src/components/QueryEditor/visual-query-builder/WhereRow.d.ts +0 -10
- package/dist/src/components/QueryEditor/visual-query-builder/index.d.ts +0 -1
- package/dist/src/components/QueryEditorRow/QueryEditorRow.d.ts +0 -8
- package/dist/src/components/SQLEditor/components/SQLEditor.d.ts +0 -29
- package/dist/src/components/SQLEditor/index.d.ts +0 -7
- package/dist/src/components/SQLEditor/mocks/Monaco.d.ts +0 -3
- package/dist/src/components/SQLEditor/mocks/TextModel.d.ts +0 -7
- package/dist/src/components/SQLEditor/mocks/queries/multiLineFullQuery.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/multiLineFullQueryWithAggregation.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/multiLineMultipleColumns.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/singleLineEmptyQuery.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/singleLineFullQuery.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/singleLineFullQueryWithAggregation.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/singleLineMultipleColumns.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/singleLineTwoQueries.d.ts +0 -2
- package/dist/src/components/SQLEditor/mocks/queries/singleLineTwoQueriesWithAggregation.d.ts +0 -2
- package/dist/src/components/SQLEditor/standardSql/definition.d.ts +0 -3
- package/dist/src/components/SQLEditor/standardSql/getStandardSuggestions.d.ts +0 -6
- package/dist/src/components/SQLEditor/standardSql/getStatementPosition.d.ts +0 -5
- package/dist/src/components/SQLEditor/standardSql/language.d.ts +0 -23
- package/dist/src/components/SQLEditor/standardSql/macros.d.ts +0 -2
- package/dist/src/components/SQLEditor/standardSql/standardSQLCompletionItemProvider.d.ts +0 -4
- package/dist/src/components/SQLEditor/standardSql/standardSuggestionsRegistry.d.ts +0 -7
- package/dist/src/components/SQLEditor/standardSql/statementPositionResolversRegistry.d.ts +0 -2
- package/dist/src/components/SQLEditor/standardSql/suggestionsKindRegistry.d.ts +0 -7
- package/dist/src/components/SQLEditor/standardSql/types.d.ts +0 -33
- package/dist/src/components/SQLEditor/test-utils/index.d.ts +0 -7
- package/dist/src/components/SQLEditor/test-utils/statementPosition.d.ts +0 -3
- package/dist/src/components/SQLEditor/test-utils/types.d.ts +0 -12
- package/dist/src/components/SQLEditor/types.d.ts +0 -249
- package/dist/src/components/SQLEditor/utils/LinkedToken.d.ts +0 -29
- package/dist/src/components/SQLEditor/utils/commands.d.ts +0 -4
- package/dist/src/components/SQLEditor/utils/debugger.d.ts +0 -5
- package/dist/src/components/SQLEditor/utils/getSuggestionKind.d.ts +0 -7
- package/dist/src/components/SQLEditor/utils/linkedTokenBuilder.d.ts +0 -4
- package/dist/src/components/SQLEditor/utils/toCompletionItem.d.ts +0 -2
- package/dist/src/components/SQLEditor/utils/tokenUtils.d.ts +0 -14
- package/dist/src/components/SQLEditor/utils/types.d.ts +0 -11
- package/dist/src/components/Segment/Segment.d.ts +0 -8
- package/dist/src/components/VisualQueryBuilder/QueryModellerBase.d.ts +0 -18
- package/dist/src/components/VisualQueryBuilder/components/LabelFilterItem.d.ts +0 -18
- package/dist/src/components/VisualQueryBuilder/components/LabelFilters.d.ts +0 -14
- package/dist/src/components/VisualQueryBuilder/components/OperationEditor.d.ts +0 -20
- package/dist/src/components/VisualQueryBuilder/components/OperationEditorBody.d.ts +0 -23
- package/dist/src/components/VisualQueryBuilder/components/OperationExplainedBox.d.ts +0 -7
- package/dist/src/components/VisualQueryBuilder/components/OperationHeader.d.ts +0 -15
- package/dist/src/components/VisualQueryBuilder/components/OperationInfoButton.d.ts +0 -9
- package/dist/src/components/VisualQueryBuilder/components/OperationList.d.ts +0 -15
- package/dist/src/components/VisualQueryBuilder/components/OperationListExplained.d.ts +0 -17
- package/dist/src/components/VisualQueryBuilder/components/OperationParamEditor.d.ts +0 -4
- package/dist/src/components/VisualQueryBuilder/components/OperationsEditorRow.d.ts +0 -2
- package/dist/src/components/VisualQueryBuilder/components/QueryBuilderHints.d.ts +0 -20
- package/dist/src/components/VisualQueryBuilder/components/QueryEditorModeToggle.d.ts +0 -8
- package/dist/src/components/VisualQueryBuilder/components/QueryHeaderSwitch.d.ts +0 -7
- package/dist/src/components/VisualQueryBuilder/components/QueryOptionGroup.d.ts +0 -9
- package/dist/src/components/VisualQueryBuilder/components/RawQuery.d.ts +0 -12
- package/dist/src/components/VisualQueryBuilder/index.d.ts +0 -13
- package/dist/src/components/VisualQueryBuilder/types.d.ts +0 -91
- package/dist/src/components/index.d.ts +0 -15
- package/dist/src/datasource/SqlDatasource.d.ts +0 -62
- package/dist/src/datasource/constants.d.ts +0 -1
- package/dist/src/hooks/useDebounce.d.ts +0 -2
- package/dist/src/index.d.ts +0 -7
- package/dist/src/test/mocks/DataQuery.d.ts +0 -2
- package/dist/src/test/mocks/Datasource.d.ts +0 -40
- package/dist/src/test/mocks/Plugin.d.ts +0 -10
- package/dist/src/test/mocks/QueryEditorProps.d.ts +0 -4
- package/dist/src/test/mocks/index.d.ts +0 -5
- package/dist/src/test/mocks/utils.d.ts +0 -18
- package/dist/src/utils/changeset/functions.d.ts +0 -3
- package/dist/src/utils/changeset/index.d.ts +0 -2
- package/dist/test/mocks/DataQuery.js +0 -14
- package/dist/test/mocks/DataQuery.js.map +0 -1
- package/dist/test/mocks/Datasource.js +0 -78
- package/dist/test/mocks/Datasource.js.map +0 -1
- package/dist/test/mocks/Plugin.js +0 -105
- package/dist/test/mocks/Plugin.js.map +0 -1
- package/dist/test/mocks/QueryEditorProps.js +0 -46
- package/dist/test/mocks/QueryEditorProps.js.map +0 -1
- package/dist/test/mocks/index.js +0 -9
- package/dist/test/mocks/index.js.map +0 -1
- package/dist/test/mocks/utils.js +0 -48
- package/dist/test/mocks/utils.js.map +0 -1
- package/dist/utils/changeset/functions.js +0 -11
- package/dist/utils/changeset/functions.js.map +0 -1
- package/dist/utils/changeset/index.js +0 -99
- package/dist/utils/changeset/index.js.map +0 -1
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
import { DataSourceApi, RegistryItem, SelectableValue, TimeRange } from '@grafana/data';
|
|
3
|
-
export interface QueryBuilderLabelFilter {
|
|
4
|
-
label: string;
|
|
5
|
-
op: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
export interface QueryBuilderOperation {
|
|
9
|
-
id: string;
|
|
10
|
-
params: QueryBuilderOperationParamValue[];
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface QueryBuilderOperationDefinition<T = any> extends RegistryItem {
|
|
14
|
-
documentation?: string;
|
|
15
|
-
params: QueryBuilderOperationParamDef[];
|
|
16
|
-
defaultParams: QueryBuilderOperationParamValue[];
|
|
17
|
-
category: string;
|
|
18
|
-
hideFromList?: boolean;
|
|
19
|
-
alternativesKey?: string;
|
|
20
|
-
/** Can be used to control operation placement when adding a new operations, lower are placed first */
|
|
21
|
-
orderRank?: number;
|
|
22
|
-
renderer: QueryBuilderOperationRenderer;
|
|
23
|
-
addOperationHandler: QueryBuilderAddOperationHandler<T>;
|
|
24
|
-
paramChangedHandler?: QueryBuilderOnParamChangedHandler;
|
|
25
|
-
explainHandler?: QueryBuilderExplainOperationHandler;
|
|
26
|
-
changeTypeHandler?: (op: QueryBuilderOperation, newDef: QueryBuilderOperationDefinition<T>) => QueryBuilderOperation;
|
|
27
|
-
toggleable?: boolean;
|
|
28
|
-
}
|
|
29
|
-
type QueryBuilderAddOperationHandler<T> = (def: QueryBuilderOperationDefinition, query: T, modeller: VisualQueryModeller) => T;
|
|
30
|
-
type QueryBuilderExplainOperationHandler = (op: QueryBuilderOperation, def?: QueryBuilderOperationDefinition) => string;
|
|
31
|
-
type QueryBuilderOnParamChangedHandler = (index: number, operation: QueryBuilderOperation, operationDef: QueryBuilderOperationDefinition) => QueryBuilderOperation;
|
|
32
|
-
type QueryBuilderOperationRenderer = (model: QueryBuilderOperation, def: QueryBuilderOperationDefinition, innerQuery: string) => string;
|
|
33
|
-
export type QueryBuilderOperationParamValue = string | number | boolean;
|
|
34
|
-
export interface QueryBuilderOperationParamDef {
|
|
35
|
-
name: string;
|
|
36
|
-
type: 'string' | 'number' | 'boolean';
|
|
37
|
-
options?: string[] | number[] | Array<SelectableValue<string>>;
|
|
38
|
-
hideName?: boolean;
|
|
39
|
-
restParam?: boolean;
|
|
40
|
-
optional?: boolean;
|
|
41
|
-
placeholder?: string;
|
|
42
|
-
description?: string;
|
|
43
|
-
minWidth?: number;
|
|
44
|
-
editor?: FunctionComponent<QueryBuilderOperationParamEditorProps>;
|
|
45
|
-
runQueryOnEnter?: boolean;
|
|
46
|
-
}
|
|
47
|
-
export interface QueryBuilderOperationParamEditorProps {
|
|
48
|
-
value?: QueryBuilderOperationParamValue;
|
|
49
|
-
paramDef: QueryBuilderOperationParamDef;
|
|
50
|
-
/** Parameter index */
|
|
51
|
-
index: number;
|
|
52
|
-
operation: QueryBuilderOperation;
|
|
53
|
-
operationId: string;
|
|
54
|
-
query: any;
|
|
55
|
-
datasource: DataSourceApi;
|
|
56
|
-
timeRange?: TimeRange;
|
|
57
|
-
onChange: (index: number, value: QueryBuilderOperationParamValue) => void;
|
|
58
|
-
onRunQuery: () => void;
|
|
59
|
-
queryModeller: VisualQueryModeller;
|
|
60
|
-
}
|
|
61
|
-
export declare enum QueryEditorMode {
|
|
62
|
-
Code = "code",
|
|
63
|
-
Builder = "builder"
|
|
64
|
-
}
|
|
65
|
-
export type QueryStats = {
|
|
66
|
-
bytes: number;
|
|
67
|
-
message?: string;
|
|
68
|
-
};
|
|
69
|
-
export interface VisualQueryModeller {
|
|
70
|
-
getOperationsForCategory(category: string): QueryBuilderOperationDefinition[];
|
|
71
|
-
getAlternativeOperations(key: string): QueryBuilderOperationDefinition[];
|
|
72
|
-
getCategories(): string[];
|
|
73
|
-
getOperationDefinition(id: string): QueryBuilderOperationDefinition | undefined;
|
|
74
|
-
renderQuery(query: VisualQuery, nested?: boolean): string;
|
|
75
|
-
renderLabels(labels: QueryBuilderLabelFilter[]): string;
|
|
76
|
-
innerQueryPlaceholder: string;
|
|
77
|
-
}
|
|
78
|
-
export interface VisualQueryBinary<T> {
|
|
79
|
-
operator: string;
|
|
80
|
-
vectorMatchesType?: 'on' | 'ignoring';
|
|
81
|
-
vectorMatches?: string;
|
|
82
|
-
query: T;
|
|
83
|
-
}
|
|
84
|
-
export declare const BINARY_OPERATIONS_KEY = "Binary operations";
|
|
85
|
-
export interface VisualQuery {
|
|
86
|
-
metric?: string;
|
|
87
|
-
labels: QueryBuilderLabelFilter[];
|
|
88
|
-
operations: QueryBuilderOperation[];
|
|
89
|
-
binaryQueries?: Array<VisualQueryBinary<VisualQuery>>;
|
|
90
|
-
}
|
|
91
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { AsyncButtonCascader } from './AsyncButtonCascader/AsyncButtonCascader';
|
|
2
|
-
export { QueryEditorRow } from './QueryEditorRow/QueryEditorRow';
|
|
3
|
-
export { DebounceInput, DebounceInputProps } from './DebounceInput/DebounceInput';
|
|
4
|
-
export { Segment, SegmentProps } from './Segment/Segment';
|
|
5
|
-
export { DatePicker, DatePickerProps } from './DatePicker/DatePicker';
|
|
6
|
-
export { DatePickerWithInput, DatePickerWithInputProps, formatDate } from './DatePickerWithInput/DatePickerWithInput';
|
|
7
|
-
export * from './DataSourcePicker/DataSourcePicker';
|
|
8
|
-
export * from './DataLinks';
|
|
9
|
-
export * from './Cascader/Cascader';
|
|
10
|
-
export { InlineSwitch, CertificationKey } from '@grafana/ui';
|
|
11
|
-
export * from './QueryEditor';
|
|
12
|
-
export * from './ConfigEditor';
|
|
13
|
-
export { CustomHeadersSettings } from './CustomHeadersSettings/CustomHeadersSettings';
|
|
14
|
-
export * from './VisualQueryBuilder';
|
|
15
|
-
export * from './SQLEditor';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { DataFrameView, DataSourceInstanceSettings, MetricFindValue, ScopedVars, TimeRange, VariableModel } from '@grafana/data';
|
|
2
|
-
import { DataSourceWithBackend, TemplateSrv } from '@grafana/runtime';
|
|
3
|
-
import { SQLQuery, SQLOptions, DB, SqlQueryModel, ResponseParser } from '../components/QueryEditor/types';
|
|
4
|
-
export interface SearchFilterOptions {
|
|
5
|
-
searchFilter?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface VariableWithMultiSupport extends VariableWithOptions {
|
|
8
|
-
multi: boolean;
|
|
9
|
-
includeAll: boolean;
|
|
10
|
-
allValue?: string | null;
|
|
11
|
-
}
|
|
12
|
-
export interface VariableWithOptions extends VariableModel {
|
|
13
|
-
current: VariableOption;
|
|
14
|
-
options: VariableOption[];
|
|
15
|
-
query: string;
|
|
16
|
-
}
|
|
17
|
-
export interface VariableOption {
|
|
18
|
-
selected: boolean;
|
|
19
|
-
text: string | string[];
|
|
20
|
-
value: string | string[];
|
|
21
|
-
isNone?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export declare abstract class SqlDatasource extends DataSourceWithBackend<SQLQuery, SQLOptions> {
|
|
24
|
-
protected readonly templateSrv: TemplateSrv;
|
|
25
|
-
id: number;
|
|
26
|
-
name: string;
|
|
27
|
-
interval: string;
|
|
28
|
-
db: DB;
|
|
29
|
-
dataset?: string;
|
|
30
|
-
annotations: {};
|
|
31
|
-
constructor(instanceSettings: DataSourceInstanceSettings<SQLOptions>, templateSrv?: TemplateSrv);
|
|
32
|
-
abstract getDB(dsID?: number): DB;
|
|
33
|
-
abstract getQueryModel(target?: SQLQuery, templateSrv?: TemplateSrv, scopedVars?: ScopedVars): SqlQueryModel;
|
|
34
|
-
abstract getResponseParser(): ResponseParser;
|
|
35
|
-
interpolateVariable: (value: string | string[] | number, variable: VariableWithMultiSupport) => string | number;
|
|
36
|
-
interpolateVariablesInQueries(queries: SQLQuery[], scopedVars: ScopedVars): SQLQuery[];
|
|
37
|
-
filterQuery(query: SQLQuery): boolean;
|
|
38
|
-
applyTemplateVariables(target: SQLQuery, scopedVars: ScopedVars): SQLQuery;
|
|
39
|
-
clean(value: string): string;
|
|
40
|
-
metricFindQuery(query: string, optionalOptions?: MetricFindQueryOptions): Promise<MetricFindValue[]>;
|
|
41
|
-
runSql<T extends object>(query: string, options?: RunSQLOptions): Promise<DataFrameView<T>>;
|
|
42
|
-
private runMetaQuery;
|
|
43
|
-
testDatasource(): Promise<{
|
|
44
|
-
status: string;
|
|
45
|
-
message: string;
|
|
46
|
-
}>;
|
|
47
|
-
targetContainsTemplate(target: SQLQuery): boolean;
|
|
48
|
-
}
|
|
49
|
-
interface RunSQLOptions extends MetricFindQueryOptions {
|
|
50
|
-
refId?: string;
|
|
51
|
-
}
|
|
52
|
-
interface MetricFindQueryOptions extends SearchFilterOptions {
|
|
53
|
-
range?: TimeRange;
|
|
54
|
-
}
|
|
55
|
-
export declare const SEARCH_FILTER_VARIABLE = "__searchFilter";
|
|
56
|
-
export declare const containsSearchFilter: (query: string | unknown) => boolean;
|
|
57
|
-
export declare const getSearchFilterScopedVar: (args: {
|
|
58
|
-
query: string;
|
|
59
|
-
wildcardChar: string;
|
|
60
|
-
options?: SearchFilterOptions;
|
|
61
|
-
}) => ScopedVars;
|
|
62
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MACRO_NAMES: string[];
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/// <reference types="jest" />
|
|
2
|
-
import { DataSourceInstanceSettings } from '@grafana/data';
|
|
3
|
-
import { DataSourceWithBackend } from '@grafana/runtime';
|
|
4
|
-
declare class DatasourceMock extends DataSourceWithBackend {
|
|
5
|
-
query: jest.Mock<any, any>;
|
|
6
|
-
filterQuery: any;
|
|
7
|
-
applyTemplateVariables: jest.Mock<any, any>;
|
|
8
|
-
getResource: jest.Mock<any, any>;
|
|
9
|
-
postResource: jest.Mock<any, any>;
|
|
10
|
-
callHealthCheck: jest.Mock<any, any>;
|
|
11
|
-
testDatasource: jest.Mock<any, any>;
|
|
12
|
-
uid: string;
|
|
13
|
-
name: string;
|
|
14
|
-
id: number;
|
|
15
|
-
type: string;
|
|
16
|
-
interval: string;
|
|
17
|
-
importQueries: jest.Mock<any, any>;
|
|
18
|
-
init: jest.Mock<any, any>;
|
|
19
|
-
getQueryHints: jest.Mock<any, any>;
|
|
20
|
-
getQueryDisplayText: jest.Mock<any, any>;
|
|
21
|
-
metricFindQuery: jest.Mock<any, any>;
|
|
22
|
-
getTagKeys: jest.Mock<any, any>;
|
|
23
|
-
getTagValues: jest.Mock<any, any>;
|
|
24
|
-
components: {};
|
|
25
|
-
meta: import("@grafana/data").DataSourcePluginMeta<{}>;
|
|
26
|
-
targetContainsTemplate: jest.Mock<any, any>;
|
|
27
|
-
modifyQuery: jest.Mock<any, any>;
|
|
28
|
-
getHighlighterExpression: jest.Mock<any, any>;
|
|
29
|
-
languageProvider: jest.Mock<any, any>;
|
|
30
|
-
getVersion: jest.Mock<any, any>;
|
|
31
|
-
interpolateVariablesInQueries: jest.Mock<any, any>;
|
|
32
|
-
annotations: {};
|
|
33
|
-
annotationQuery: jest.Mock<any, any>;
|
|
34
|
-
streamOptionsProvider: jest.Mock<any, any>;
|
|
35
|
-
getRef: jest.Mock<any, any>;
|
|
36
|
-
protected getRequestHeaders: jest.Mock<any, any>;
|
|
37
|
-
}
|
|
38
|
-
export declare const mockDatasource: () => DatasourceMock;
|
|
39
|
-
export declare const mockDatasourceInstanceSettings: () => DataSourceInstanceSettings;
|
|
40
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSourcePluginMeta, PluginMetaInfo, PluginMeta, PluginState, PluginSignatureStatus, PluginInclude, PluginIncludeType, PluginDependencies, PluginType } from '@grafana/data';
|
|
2
|
-
export declare const mockDataSourcePluginMeta: () => DataSourcePluginMeta;
|
|
3
|
-
export declare const mockPluginMetaInfo: () => PluginMetaInfo;
|
|
4
|
-
export declare const mockPluginMeta: () => PluginMeta;
|
|
5
|
-
export declare const mockPluginInclude: () => PluginInclude;
|
|
6
|
-
export declare const mockPluginType: () => PluginType;
|
|
7
|
-
export declare const mockPluginIncludeType: () => PluginIncludeType;
|
|
8
|
-
export declare const mockPluginState: () => PluginState;
|
|
9
|
-
export declare const mockPluginDependencies: () => PluginDependencies;
|
|
10
|
-
export declare const mockPluginSignatureStatus: () => PluginSignatureStatus;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { QueryEditorProps, LoadingState, TimeRange } from '@grafana/data';
|
|
2
|
-
export declare const mockQueryEditorProps: () => QueryEditorProps<any, any, any>;
|
|
3
|
-
export declare const mockLoadingState: () => LoadingState;
|
|
4
|
-
export declare const mockTimeRange: () => TimeRange;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const generateBoolean: () => boolean;
|
|
2
|
-
export declare const undefinedOr: (fn: Function) => any;
|
|
3
|
-
export declare const generateArrayOf: (fn: Function, numberOf?: number) => any[];
|
|
4
|
-
/**
|
|
5
|
-
* Opens a Select or MultiSelect dropdown
|
|
6
|
-
*
|
|
7
|
-
* @param {HTMLElement} container The container wrapping the Select or MultiSelect component
|
|
8
|
-
* @param {string} optionLabel The option text we want to type or search
|
|
9
|
-
*/
|
|
10
|
-
export declare const openSelect: (container: HTMLElement, optionLabel?: string) => void;
|
|
11
|
-
/**
|
|
12
|
-
* Selects an option from the Select or MultiSelect component
|
|
13
|
-
*
|
|
14
|
-
* @param {HTMLElement} container The container wrapping the Select or MultiSelect component
|
|
15
|
-
* @param {string} optionLabel The option we want to select
|
|
16
|
-
* @param {boolean} [typeOptionLabel=false] If we should type the optional label after opening - this is useful for AsyncSelect
|
|
17
|
-
*/
|
|
18
|
-
export declare const selectOption: (container: HTMLElement, optionLabel: string, typeOptionLabel?: boolean) => Promise<void>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mockDataQuery = void 0;
|
|
4
|
-
const chance_1 = require("chance");
|
|
5
|
-
const utils_1 = require("./utils");
|
|
6
|
-
const mockDataQuery = () => ({
|
|
7
|
-
refId: (0, chance_1.Chance)().word(),
|
|
8
|
-
hide: false,
|
|
9
|
-
key: (0, chance_1.Chance)().guid(),
|
|
10
|
-
queryType: (0, chance_1.Chance)().word(),
|
|
11
|
-
datasource: (0, utils_1.undefinedOr)(() => (0, chance_1.Chance)().word()),
|
|
12
|
-
});
|
|
13
|
-
exports.mockDataQuery = mockDataQuery;
|
|
14
|
-
//# sourceMappingURL=DataQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataQuery.js","sourceRoot":"","sources":["../../../src/test/mocks/DataQuery.ts"],"names":[],"mappings":";;;AACA,mCAAgC;AAChC,mCAAsC;AAE/B,MAAM,aAAa,GAAG,GAAc,EAAE,CAAC,CAAC;IAC7C,KAAK,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IACtB,IAAI,EAAE,KAAK;IACX,GAAG,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IACpB,SAAS,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IAC1B,UAAU,EAAE,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE,CAAC;CAC/C,CAAC,CAAC;AANU,QAAA,aAAa,iBAMvB"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mockDatasourceInstanceSettings = exports.mockDatasource = void 0;
|
|
4
|
-
const runtime_1 = require("@grafana/runtime");
|
|
5
|
-
const chance_1 = require("chance");
|
|
6
|
-
const Plugin_1 = require("./Plugin");
|
|
7
|
-
const utils_1 = require("./utils");
|
|
8
|
-
class DatasourceMock extends runtime_1.DataSourceWithBackend {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
// DataSourceWithBackend
|
|
12
|
-
this.query = jest.fn();
|
|
13
|
-
this.filterQuery = (0, utils_1.undefinedOr)(utils_1.generateBoolean);
|
|
14
|
-
this.applyTemplateVariables = jest.fn();
|
|
15
|
-
this.getResource = jest.fn();
|
|
16
|
-
this.postResource = jest.fn();
|
|
17
|
-
this.callHealthCheck = jest.fn();
|
|
18
|
-
this.testDatasource = jest.fn();
|
|
19
|
-
// DataSourceApi
|
|
20
|
-
this.uid = (0, chance_1.Chance)().guid();
|
|
21
|
-
this.name = (0, chance_1.Chance)().word();
|
|
22
|
-
this.id = 1;
|
|
23
|
-
this.type = (0, chance_1.Chance)().word();
|
|
24
|
-
this.interval = (0, chance_1.Chance)().word();
|
|
25
|
-
this.importQueries = jest.fn();
|
|
26
|
-
this.init = jest.fn();
|
|
27
|
-
this.getQueryHints = jest.fn().mockReturnValue([mockQueryHint()]);
|
|
28
|
-
this.getQueryDisplayText = jest.fn().mockReturnValue((0, chance_1.Chance)().word());
|
|
29
|
-
this.metricFindQuery = jest.fn();
|
|
30
|
-
this.getTagKeys = jest.fn();
|
|
31
|
-
this.getTagValues = jest.fn();
|
|
32
|
-
this.components = {};
|
|
33
|
-
this.meta = (0, Plugin_1.mockDataSourcePluginMeta)();
|
|
34
|
-
this.targetContainsTemplate = jest.fn();
|
|
35
|
-
this.modifyQuery = jest.fn();
|
|
36
|
-
this.getHighlighterExpression = jest.fn();
|
|
37
|
-
this.languageProvider = jest.fn();
|
|
38
|
-
this.getVersion = jest.fn();
|
|
39
|
-
this.interpolateVariablesInQueries = jest.fn();
|
|
40
|
-
this.annotations = {};
|
|
41
|
-
this.annotationQuery = jest.fn();
|
|
42
|
-
this.streamOptionsProvider = jest.fn();
|
|
43
|
-
this.getRef = jest.fn();
|
|
44
|
-
this.getRequestHeaders = jest.fn();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
const mockDatasource = () => new DatasourceMock((0, exports.mockDatasourceInstanceSettings)());
|
|
48
|
-
exports.mockDatasource = mockDatasource;
|
|
49
|
-
const mockQueryHint = () => ({
|
|
50
|
-
type: (0, chance_1.Chance)().word(),
|
|
51
|
-
label: (0, chance_1.Chance)().word(),
|
|
52
|
-
fix: {
|
|
53
|
-
label: (0, chance_1.Chance)().word(),
|
|
54
|
-
action: {
|
|
55
|
-
type: (0, chance_1.Chance)().word(),
|
|
56
|
-
query: (0, chance_1.Chance)().word(),
|
|
57
|
-
preventSubmit: (0, utils_1.generateBoolean)(),
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
});
|
|
61
|
-
const mockDatasourceInstanceSettings = () => ({
|
|
62
|
-
id: (0, chance_1.Chance)().integer(),
|
|
63
|
-
uid: (0, chance_1.Chance)().word(),
|
|
64
|
-
type: (0, chance_1.Chance)().word(),
|
|
65
|
-
name: (0, chance_1.Chance)().word(),
|
|
66
|
-
meta: (0, Plugin_1.mockDataSourcePluginMeta)(),
|
|
67
|
-
url: (0, chance_1.Chance)().word(),
|
|
68
|
-
jsonData: {},
|
|
69
|
-
username: (0, chance_1.Chance)().word(),
|
|
70
|
-
password: (0, chance_1.Chance)().word(),
|
|
71
|
-
database: (0, chance_1.Chance)().word(),
|
|
72
|
-
basicAuth: (0, chance_1.Chance)().word(),
|
|
73
|
-
withCredentials: (0, utils_1.generateBoolean)(),
|
|
74
|
-
access: (0, chance_1.Chance)().pickone(['direct', 'proxy']),
|
|
75
|
-
readOnly: false,
|
|
76
|
-
});
|
|
77
|
-
exports.mockDatasourceInstanceSettings = mockDatasourceInstanceSettings;
|
|
78
|
-
//# sourceMappingURL=Datasource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Datasource.js","sourceRoot":"","sources":["../../../src/test/mocks/Datasource.ts"],"names":[],"mappings":";;;AACA,8CAAyD;AACzD,mCAAgC;AAChC,qCAAoD;AACpD,mCAAuD;AAEvD,MAAM,cAAe,SAAQ,+BAAqB;IAAlD;;QACE,wBAAwB;QACxB,UAAK,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAClB,gBAAW,GAAG,IAAA,mBAAW,EAAC,uBAAe,CAAC,CAAC;QAC3C,2BAAsB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACnC,gBAAW,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACxB,iBAAY,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QACzB,oBAAe,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAC5B,mBAAc,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;QAC3B,gBAAgB;QAChB,QAAG,GAAG,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE,CAAC;QACtB,SAAI,GAAG,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE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AC,OAAO,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,QAAQ,EAAE,KAAK;CAChB,CAAC,CAAC;AAfU,QAAA,8BAA8B,kCAexC"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mockPluginSignatureStatus = exports.mockPluginDependencies = exports.mockPluginState = exports.mockPluginIncludeType = exports.mockPluginType = exports.mockPluginInclude = exports.mockPluginMeta = exports.mockPluginMetaInfo = exports.mockDataSourcePluginMeta = void 0;
|
|
4
|
-
const chance_1 = require("chance");
|
|
5
|
-
const data_1 = require("@grafana/data");
|
|
6
|
-
const utils_1 = require("./utils");
|
|
7
|
-
const mockDataSourcePluginMeta = () => ({
|
|
8
|
-
builtIn: (0, utils_1.generateBoolean)(),
|
|
9
|
-
metrics: (0, utils_1.generateBoolean)(),
|
|
10
|
-
logs: (0, utils_1.generateBoolean)(),
|
|
11
|
-
annotations: (0, utils_1.generateBoolean)(),
|
|
12
|
-
alerting: (0, utils_1.generateBoolean)(),
|
|
13
|
-
tracing: (0, utils_1.generateBoolean)(),
|
|
14
|
-
mixed: (0, utils_1.generateBoolean)(),
|
|
15
|
-
hasQueryHelp: (0, utils_1.generateBoolean)(),
|
|
16
|
-
category: (0, chance_1.Chance)().word(),
|
|
17
|
-
queryOptions: {
|
|
18
|
-
cacheTimeout: (0, utils_1.generateBoolean)(),
|
|
19
|
-
maxDataPoints: (0, utils_1.generateBoolean)(),
|
|
20
|
-
minInterval: (0, utils_1.generateBoolean)(),
|
|
21
|
-
},
|
|
22
|
-
sort: 1,
|
|
23
|
-
streaming: (0, utils_1.generateBoolean)(),
|
|
24
|
-
unlicensed: (0, utils_1.generateBoolean)(),
|
|
25
|
-
id: (0, chance_1.Chance)().word(),
|
|
26
|
-
name: (0, chance_1.Chance)().word(),
|
|
27
|
-
type: (0, exports.mockPluginType)(),
|
|
28
|
-
info: (0, exports.mockPluginMetaInfo)(),
|
|
29
|
-
module: (0, chance_1.Chance)().word(),
|
|
30
|
-
baseUrl: (0, chance_1.Chance)().word(),
|
|
31
|
-
});
|
|
32
|
-
exports.mockDataSourcePluginMeta = mockDataSourcePluginMeta;
|
|
33
|
-
const mockPluginMetaInfo = () => ({
|
|
34
|
-
author: {
|
|
35
|
-
name: (0, chance_1.Chance)().word(),
|
|
36
|
-
url: (0, chance_1.Chance)().word(),
|
|
37
|
-
},
|
|
38
|
-
description: (0, chance_1.Chance)().word(),
|
|
39
|
-
links: [],
|
|
40
|
-
logos: {
|
|
41
|
-
large: (0, chance_1.Chance)().word(),
|
|
42
|
-
small: (0, chance_1.Chance)().word(),
|
|
43
|
-
},
|
|
44
|
-
screenshots: [],
|
|
45
|
-
updated: (0, chance_1.Chance)().word(),
|
|
46
|
-
version: (0, chance_1.Chance)().word(),
|
|
47
|
-
});
|
|
48
|
-
exports.mockPluginMetaInfo = mockPluginMetaInfo;
|
|
49
|
-
const mockPluginMeta = () => ({
|
|
50
|
-
id: (0, chance_1.Chance)().word(),
|
|
51
|
-
name: (0, chance_1.Chance)().word(),
|
|
52
|
-
type: (0, exports.mockPluginType)(),
|
|
53
|
-
info: (0, exports.mockPluginMetaInfo)(),
|
|
54
|
-
includes: [(0, exports.mockPluginInclude)()],
|
|
55
|
-
state: (0, exports.mockPluginState)(),
|
|
56
|
-
module: (0, chance_1.Chance)().word(),
|
|
57
|
-
baseUrl: (0, chance_1.Chance)().word(),
|
|
58
|
-
dependencies: (0, exports.mockPluginDependencies)(),
|
|
59
|
-
jsonData: {},
|
|
60
|
-
secureJsonData: {},
|
|
61
|
-
enabled: (0, utils_1.generateBoolean)(),
|
|
62
|
-
defaultNavUrl: (0, chance_1.Chance)().word(),
|
|
63
|
-
hasUpdate: (0, utils_1.generateBoolean)(),
|
|
64
|
-
enterprise: (0, utils_1.generateBoolean)(),
|
|
65
|
-
latestVersion: (0, chance_1.Chance)().word(),
|
|
66
|
-
pinned: (0, utils_1.generateBoolean)(),
|
|
67
|
-
signature: (0, exports.mockPluginSignatureStatus)(),
|
|
68
|
-
live: (0, utils_1.generateBoolean)(),
|
|
69
|
-
});
|
|
70
|
-
exports.mockPluginMeta = mockPluginMeta;
|
|
71
|
-
const mockPluginInclude = () => ({
|
|
72
|
-
type: (0, exports.mockPluginIncludeType)(),
|
|
73
|
-
name: (0, chance_1.Chance)().word(),
|
|
74
|
-
path: (0, chance_1.Chance)().word(),
|
|
75
|
-
icon: (0, chance_1.Chance)().word(),
|
|
76
|
-
role: (0, chance_1.Chance)().word(),
|
|
77
|
-
addToNav: (0, utils_1.generateBoolean)(),
|
|
78
|
-
component: (0, chance_1.Chance)().word(),
|
|
79
|
-
});
|
|
80
|
-
exports.mockPluginInclude = mockPluginInclude;
|
|
81
|
-
const mockPluginType = () => (0, chance_1.Chance)().pickone([data_1.PluginType.panel, data_1.PluginType.datasource, data_1.PluginType.app, data_1.PluginType.renderer]);
|
|
82
|
-
exports.mockPluginType = mockPluginType;
|
|
83
|
-
const mockPluginIncludeType = () => (0, chance_1.Chance)().pickone([
|
|
84
|
-
data_1.PluginIncludeType.dashboard,
|
|
85
|
-
data_1.PluginIncludeType.page,
|
|
86
|
-
data_1.PluginIncludeType.panel,
|
|
87
|
-
data_1.PluginIncludeType.datasource,
|
|
88
|
-
]);
|
|
89
|
-
exports.mockPluginIncludeType = mockPluginIncludeType;
|
|
90
|
-
const mockPluginState = () => (0, chance_1.Chance)().pickone([data_1.PluginState.alpha, data_1.PluginState.beta, data_1.PluginState.deprecated]);
|
|
91
|
-
exports.mockPluginState = mockPluginState;
|
|
92
|
-
const mockPluginDependencies = () => ({
|
|
93
|
-
grafanaVersion: (0, chance_1.Chance)().word(),
|
|
94
|
-
plugins: [],
|
|
95
|
-
});
|
|
96
|
-
exports.mockPluginDependencies = mockPluginDependencies;
|
|
97
|
-
const mockPluginSignatureStatus = () => (0, chance_1.Chance)().pickone([
|
|
98
|
-
data_1.PluginSignatureStatus.internal,
|
|
99
|
-
data_1.PluginSignatureStatus.valid,
|
|
100
|
-
data_1.PluginSignatureStatus.invalid,
|
|
101
|
-
data_1.PluginSignatureStatus.modified,
|
|
102
|
-
data_1.PluginSignatureStatus.missing,
|
|
103
|
-
]);
|
|
104
|
-
exports.mockPluginSignatureStatus = mockPluginSignatureStatus;
|
|
105
|
-
//# sourceMappingURL=Plugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../../src/test/mocks/Plugin.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAChC,wCAUuB;AACvB,mCAA0C;AAEnC,MAAM,wBAAwB,GAAG,GAAyB,EAAE,CAAC,CAAC;IACnE,OAAO,EAAE,IAAA,uBAAe,GAAE;IAC1B,OAAO,EAAE,IAAA,uBAAe,GAAE;IAC1B,IAAI,EAAE,IAAA,uBAAe,GAAE;IACvB,WAAW,EAAE,IAAA,uBAAe,GAAE;IAC9B,QAAQ,EAAE,IAAA,uBAAe,GAAE;IAC3B,OAAO,EAAE,IAAA,uBAAe,GAAE;IAC1B,KAAK,EAAE,IAAA,uBAAe,GAAE;IACxB,YAAY,EAAE,IAAA,uBAAe,GAAE;IAC/B,QAAQ,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IACzB,YAAY,EAAE;QACZ,YAAY,EAAE,IAAA,uBAAe,GAAE;QAC/B,aAAa,EAAE,IAAA,uBAAe,GAAE;QAChC,WAAW,EAAE,IAAA,uBAAe,GAAE;KAC/B;IACD,IAAI,EAAE,CAAC;IACP,SAAS,EAAE,IAAA,uBAAe,GAAE;IAC5B,UAAU,EAAE,IAAA,uBAAe,GAAE;IAC7B,EAAE,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IACnB,IAAI,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IACrB,IAAI,EAAE,IAAA,sBAAc,GAAE;IACtB,IAAI,EAAE,IAAA,0BAAkB,GAA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AC,KAAK;IACvB,wBAAiB,CAAC,UAAU;CAC7B,CAAC,CAAC;AANQ,QAAA,qBAAqB,yBAM7B;AAEE,MAAM,eAAe,GAAG,GAAgB,EAAE,CAC/C,IAAA,eAAM,GAAE,CAAC,OAAO,CAAC,CAAC,kBAAW,CAAC,KAAK,EAAE,kBAAW,CAAC,IAAI,EAAE,kBAAW,CAAC,UAAU,CAAC,CAAC,CAAC;AADrE,QAAA,eAAe,mBACsD;AAE3E,MAAM,sBAAsB,GAAG,GAAuB,EAAE,CAAC,CAAC;IAC/D,cAAc,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;IAC/B,OAAO,EAAE,EAAE;CACZ,CAAC,CAAC;AAHU,QAAA,sBAAsB,0BAGhC;AAEI,MAAM,yBAAyB,GAAG,GAA0B,EAAE,CACnE,IAAA,eAAM,GAAE,CAAC,OAAO,CAAC;IACf,4BAAqB,CAAC,QAAQ;IAC9B,4BAAqB,CAAC,KAAK;IAC3B,4BAAqB,CAAC,OAAO;IAC7B,4BAAqB,CAAC,QAAQ;IAC9B,4BAAqB,CAAC,OAAO;CAC9B,CAAC,CAAC;AAPQ,QAAA,yBAAyB,6BAOjC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mockTimeRange = exports.mockLoadingState = exports.mockQueryEditorProps = void 0;
|
|
4
|
-
const data_1 = require("@grafana/data");
|
|
5
|
-
const chance_1 = require("chance");
|
|
6
|
-
const mockQueryEditorProps = () => ({
|
|
7
|
-
datasource: {},
|
|
8
|
-
query: {
|
|
9
|
-
refId: (0, chance_1.Chance)().word(),
|
|
10
|
-
hide: false,
|
|
11
|
-
key: (0, chance_1.Chance)().word(),
|
|
12
|
-
queryType: (0, chance_1.Chance)().word(),
|
|
13
|
-
dataTopic: data_1.DataTopic.Annotations,
|
|
14
|
-
datasource: (0, chance_1.Chance)().pickone([(0, chance_1.Chance)().word(), null]),
|
|
15
|
-
},
|
|
16
|
-
onRunQuery: jest.fn(),
|
|
17
|
-
onChange: jest.fn(),
|
|
18
|
-
onBlur: jest.fn(),
|
|
19
|
-
data: {
|
|
20
|
-
state: (0, exports.mockLoadingState)(),
|
|
21
|
-
series: [],
|
|
22
|
-
annotations: [],
|
|
23
|
-
timeRange: (0, exports.mockTimeRange)(),
|
|
24
|
-
},
|
|
25
|
-
range: (0, exports.mockTimeRange)(),
|
|
26
|
-
history: [],
|
|
27
|
-
});
|
|
28
|
-
exports.mockQueryEditorProps = mockQueryEditorProps;
|
|
29
|
-
const mockLoadingState = () => (0, chance_1.Chance)().pickone([
|
|
30
|
-
data_1.LoadingState.NotStarted,
|
|
31
|
-
data_1.LoadingState.Loading,
|
|
32
|
-
data_1.LoadingState.Streaming,
|
|
33
|
-
data_1.LoadingState.Done,
|
|
34
|
-
data_1.LoadingState.Error,
|
|
35
|
-
]);
|
|
36
|
-
exports.mockLoadingState = mockLoadingState;
|
|
37
|
-
const mockTimeRange = () => ({
|
|
38
|
-
from: (0, data_1.dateTime)(),
|
|
39
|
-
to: (0, data_1.dateTime)(),
|
|
40
|
-
raw: {
|
|
41
|
-
from: (0, data_1.dateTime)(),
|
|
42
|
-
to: (0, data_1.dateTime)(),
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
exports.mockTimeRange = mockTimeRange;
|
|
46
|
-
//# sourceMappingURL=QueryEditorProps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryEditorProps.js","sourceRoot":"","sources":["../../../src/test/mocks/QueryEditorProps.ts"],"names":[],"mappings":";;;AAAA,wCAA+F;AAC/F,mCAAgC;AAEzB,MAAM,oBAAoB,GAAG,GAAoC,EAAE,CAAC,CAAC;IAC1E,UAAU,EAAE,EAAE;IACd,KAAK,EAAE;QACL,KAAK,EAAE,IAAA,eAAM,GAAE,CAAC,IAAI,EAAE;QACtB,IAAI,EAAE,KAAK;QACX,GAAG,EAA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
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Datasource"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./DataQuery"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./Plugin"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./QueryEditorProps"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./utils"), exports);
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/test/mocks/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,sDAA4B;AAC5B,mDAAyB;AACzB,6DAAmC;AACnC,kDAAwB"}
|
package/dist/test/mocks/utils.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.selectOption = exports.openSelect = exports.generateArrayOf = exports.undefinedOr = exports.generateBoolean = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const chance_1 = require("chance");
|
|
6
|
-
const react_1 = require("@testing-library/react");
|
|
7
|
-
const user_event_1 = tslib_1.__importDefault(require("@testing-library/user-event"));
|
|
8
|
-
const generateBoolean = () => (0, chance_1.Chance)().pickone([true, false]);
|
|
9
|
-
exports.generateBoolean = generateBoolean;
|
|
10
|
-
const undefinedOr = (fn) => (0, chance_1.Chance)().pickone([undefined, fn()]);
|
|
11
|
-
exports.undefinedOr = undefinedOr;
|
|
12
|
-
const generateArrayOf = (fn, numberOf = 3) => Array.from(new Array(numberOf), () => fn());
|
|
13
|
-
exports.generateArrayOf = generateArrayOf;
|
|
14
|
-
// react-select (used by @grafana/ui) renders very differently from the native Select HTML element
|
|
15
|
-
// and because they are not accessible and do not pass data-testid or aria-labels down,
|
|
16
|
-
// it is difficult to grab the correct element and simulate selecting different options
|
|
17
|
-
// the helper functions below can be used instead
|
|
18
|
-
/**
|
|
19
|
-
* Opens a Select or MultiSelect dropdown
|
|
20
|
-
*
|
|
21
|
-
* @param {HTMLElement} container The container wrapping the Select or MultiSelect component
|
|
22
|
-
* @param {string} optionLabel The option text we want to type or search
|
|
23
|
-
*/
|
|
24
|
-
const openSelect = (container, optionLabel) => {
|
|
25
|
-
const selectInput = (0, react_1.within)(container).getByRole('textbox');
|
|
26
|
-
// this needs to be here to support autoFocus=true prop
|
|
27
|
-
react_1.fireEvent.blur(selectInput);
|
|
28
|
-
// if we have an async Select, we want to type the option label to make the option available
|
|
29
|
-
// otherwise, just press down to open the dropdown
|
|
30
|
-
user_event_1.default.type(selectInput, optionLabel !== null && optionLabel !== void 0 ? optionLabel : '{arrowdown}');
|
|
31
|
-
};
|
|
32
|
-
exports.openSelect = openSelect;
|
|
33
|
-
/**
|
|
34
|
-
* Selects an option from the Select or MultiSelect component
|
|
35
|
-
*
|
|
36
|
-
* @param {HTMLElement} container The container wrapping the Select or MultiSelect component
|
|
37
|
-
* @param {string} optionLabel The option we want to select
|
|
38
|
-
* @param {boolean} [typeOptionLabel=false] If we should type the optional label after opening - this is useful for AsyncSelect
|
|
39
|
-
*/
|
|
40
|
-
const selectOption = (container, optionLabel, typeOptionLabel) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
41
|
-
(0, exports.openSelect)(container, typeOptionLabel ? optionLabel : undefined);
|
|
42
|
-
// wait for the list to show
|
|
43
|
-
const option = yield (0, react_1.waitFor)(() => (0, react_1.within)(container).getByText(optionLabel));
|
|
44
|
-
// select the option
|
|
45
|
-
user_event_1.default.click(option);
|
|
46
|
-
});
|
|
47
|
-
exports.selectOption = selectOption;
|
|
48
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/test/mocks/utils.ts"],"names":[],"mappings":";;;;AAAA,mCAAgC;AACh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5B,MAAM,MAAM,GAAG,MAAM,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,IAAA,cAAM,EAAC,SAAS,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC;IAE7E,oBAAoB;IACpB,oBAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAC1B,CAAC,CAAA,CAAC;AARW,QAAA,YAAY,gBAQvB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const getReleaseLine = (changeset) => tslib_1.__awaiter(void 0, void 0, void 0, function* () { return `- ${changeset.summary}`; });
|
|
5
|
-
const getDependencyReleaseLine = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () { return ''; });
|
|
6
|
-
const defaultChangelogFunctions = {
|
|
7
|
-
getReleaseLine,
|
|
8
|
-
getDependencyReleaseLine,
|
|
9
|
-
};
|
|
10
|
-
exports.default = defaultChangelogFunctions;
|
|
11
|
-
//# sourceMappingURL=functions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../src/utils/changeset/functions.ts"],"names":[],"mappings":";;;AAEA,MAAM,cAAc,GAAmB,CAAO,SAAS,EAAE,EAAE,0DAAC,OAAA,KAAK,SAAS,CAAC,OAAO,EAAE,CAAA,GAAA,CAAC;AAErF,MAAM,wBAAwB,GAA6B,GAAS,EAAE,0DAAC,OAAA,EAAE,CAAA,GAAA,CAAC;AAE1E,MAAM,yBAAyB,GAAuB;IACpD,cAAc;IACd,wBAAwB;CACzB,CAAC;AAEF,kBAAe,yBAAyB,CAAC"}
|