ydb-embedded-ui 6.34.0 → 6.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
  2. package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
  3. package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
  4. package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
  5. package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
  6. package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
  7. package/dist/components/nodesColumns/columns.d.ts +28 -2
  8. package/dist/components/nodesColumns/columns.js +82 -4
  9. package/dist/components/nodesColumns/columns.js.map +1 -1
  10. package/dist/components/nodesColumns/constants.d.ts +12 -0
  11. package/dist/components/nodesColumns/constants.js +36 -0
  12. package/dist/components/nodesColumns/constants.js.map +1 -1
  13. package/dist/components/nodesColumns/i18n/en.json +11 -1
  14. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  15. package/dist/components/nodesColumns/utils.d.ts +2 -0
  16. package/dist/components/nodesColumns/utils.js +11 -0
  17. package/dist/components/nodesColumns/utils.js.map +1 -0
  18. package/dist/containers/Nodes/Nodes.js +2 -2
  19. package/dist/containers/Nodes/Nodes.js.map +1 -1
  20. package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
  21. package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
  22. package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
  23. package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
  24. package/dist/containers/Nodes/PaginatedNodes.js +16 -19
  25. package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
  26. package/dist/containers/Nodes/columns/constants.d.ts +3 -2
  27. package/dist/containers/Nodes/columns/constants.js +8 -8
  28. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  29. package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
  30. package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
  31. package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
  32. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  33. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  34. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
  35. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
  36. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
  37. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
  38. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
  39. package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
  40. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
  41. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
  42. package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
  43. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
  44. package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
  45. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
  46. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
  47. package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
  48. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +3 -9
  49. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  50. package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
  51. package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
  52. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +17 -3
  53. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  54. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +12 -3
  55. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +25 -10
  56. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  57. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +0 -1
  58. package/dist/containers/Tenant/utils/newSQLQueryActions.js +0 -1
  59. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  60. package/dist/containers/Tenant/utils/schemaActions.js +5 -4
  61. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  62. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +86 -53
  63. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  64. package/dist/containers/UserSettings/i18n/en.json +1 -0
  65. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  66. package/dist/containers/UserSettings/settings.d.ts +1 -0
  67. package/dist/containers/UserSettings/settings.js +6 -2
  68. package/dist/containers/UserSettings/settings.js.map +1 -1
  69. package/dist/services/settings.d.ts +1 -0
  70. package/dist/services/settings.js +2 -1
  71. package/dist/services/settings.js.map +1 -1
  72. package/dist/store/configureStore.d.ts +12 -4
  73. package/dist/store/defaultStore.d.ts +6 -2
  74. package/dist/store/reducers/capabilities/capabilities.d.ts +24 -8
  75. package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
  76. package/dist/store/reducers/capabilities/hooks.js +3 -0
  77. package/dist/store/reducers/capabilities/hooks.js.map +1 -1
  78. package/dist/store/reducers/cluster/cluster.d.ts +18 -6
  79. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +60 -20
  80. package/dist/store/reducers/index.d.ts +9 -3
  81. package/dist/store/reducers/node/selectors.d.ts +3 -1
  82. package/dist/store/reducers/nodes/types.d.ts +13 -0
  83. package/dist/store/reducers/nodes/utils.js +3 -3
  84. package/dist/store/reducers/nodes/utils.js.map +1 -1
  85. package/dist/store/reducers/nodesList.d.ts +3 -1
  86. package/dist/store/reducers/partitions/partitions.d.ts +4 -3
  87. package/dist/store/reducers/partitions/partitions.js +1 -3
  88. package/dist/store/reducers/partitions/partitions.js.map +1 -1
  89. package/dist/store/reducers/partitions/types.d.ts +0 -3
  90. package/dist/store/reducers/queryActions/types.d.ts +1 -1
  91. package/dist/store/reducers/tablets.d.ts +15 -5
  92. package/dist/store/reducers/tenants/selectors.d.ts +27 -9
  93. package/dist/store/reducers/topic.d.ts +45 -15
  94. package/dist/types/api/nodes.d.ts +56 -0
  95. package/dist/types/api/nodes.js.map +1 -1
  96. package/dist/utils/constants.d.ts +1 -0
  97. package/dist/utils/constants.js +1 -0
  98. package/dist/utils/constants.js.map +1 -1
  99. package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
  100. package/dist/utils/dataFormatters/dataFormatters.js +12 -6
  101. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  102. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +12 -8
  103. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -1
  104. package/dist/utils/monaco/insertSnippet.d.ts +1 -0
  105. package/dist/utils/monaco/insertSnippet.js +8 -0
  106. package/dist/utils/monaco/insertSnippet.js.map +1 -0
  107. package/dist/utils/timeParsers/parsers.d.ts +1 -1
  108. package/dist/utils/timeParsers/parsers.js +3 -2
  109. package/dist/utils/timeParsers/parsers.js.map +1 -1
  110. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
+ import NiceModal from '@ebay/nice-modal-react';
3
4
  import { isEqual } from 'lodash';
4
5
  import throttle from 'lodash/throttle';
5
6
  import { v4 as uuidv4 } from 'uuid';
@@ -24,7 +25,7 @@ import { ExplainResult } from '../ExplainResult/ExplainResult';
24
25
  import { Preview } from '../Preview/Preview';
25
26
  import { QueryEditorControls } from '../QueryEditorControls/QueryEditorControls';
26
27
  import { QuerySettingsDialog } from '../QuerySettingsDialog/QuerySettingsDialog';
27
- import { SaveQueryDialog } from '../SaveQuery/SaveQuery';
28
+ import { SAVE_QUERY_DIALOG } from '../SaveQuery/SaveQuery';
28
29
  import i18n from '../i18n';
29
30
  import { useEditorOptions } from './helpers';
30
31
  import { getKeyBindings } from './keybindings';
@@ -130,8 +131,21 @@ export default function QueryEditor(props) {
130
131
  handleSendExecuteClick();
131
132
  }
132
133
  });
134
+ const editorWillUnmount = () => {
135
+ window.ydbEditor = undefined;
136
+ };
133
137
  const editorDidMount = (editor, monaco) => {
138
+ window.ydbEditor = editor;
134
139
  const keybindings = getKeyBindings(monaco);
140
+ monaco.editor.registerCommand('insertSnippetToEditor', (_asessor, input) => {
141
+ //suggestController is not properly typed yet in monaco-editor package
142
+ const contribution = editor.getContribution('snippetController2');
143
+ if (contribution) {
144
+ editor.focus();
145
+ editor.setValue('');
146
+ contribution.insert(input);
147
+ }
148
+ });
135
149
  initResizeHandler(editor);
136
150
  initUserPrompt(editor, getLastQueryText);
137
151
  editor.focus();
@@ -202,7 +216,7 @@ export default function QueryEditor(props) {
202
216
  label: i18n('action.save-query'),
203
217
  keybindings: [keybindings.saveQuery],
204
218
  run: () => {
205
- dispatch(setQueryAction('save'));
219
+ NiceModal.show(SAVE_QUERY_DIALOG);
206
220
  },
207
221
  });
208
222
  };
@@ -223,7 +237,7 @@ export default function QueryEditor(props) {
223
237
  };
224
238
  return (_jsxs("div", { className: b(), children: [_jsxs(SplitPane, { direction: "vertical", defaultSizePaneKey: DEFAULT_SIZE_RESULT_PANE_KEY, triggerCollapse: resultVisibilityState.triggerCollapse, triggerExpand: resultVisibilityState.triggerExpand, minSize: [0, 52], collapsedSizes: [100, 0], onSplitStartDragAdditional: onSplitStartDragAdditional, children: [_jsxs("div", { className: b('pane-wrapper', {
225
239
  top: true,
226
- }), children: [_jsx("div", { className: b('monaco-wrapper'), children: _jsx("div", { className: b('monaco'), children: _jsx(MonacoEditor, { language: YQL_LANGUAGE_ID, value: input, options: editorOptions, onChange: onChange, editorDidMount: editorDidMount, theme: `vs-${theme}` }) }) }), renderControls()] }), _jsx("div", { className: b('pane-wrapper'), children: _jsx(Result, { resultVisibilityState: resultVisibilityState, onExpandResultHandler: onExpandResultHandler, onCollapseResultHandler: onCollapseResultHandler, type: type, theme: theme, result: result, tenantName: tenantName, path: path, showPreview: showPreview }, result === null || result === void 0 ? void 0 : result.queryId) })] }), _jsx(SaveQueryDialog, {}), _jsx(QuerySettingsDialog, {})] }));
240
+ }), children: [_jsx("div", { className: b('monaco-wrapper'), children: _jsx("div", { className: b('monaco'), children: _jsx(MonacoEditor, { language: YQL_LANGUAGE_ID, value: input, options: editorOptions, onChange: onChange, editorDidMount: editorDidMount, theme: `vs-${theme}`, editorWillUnmount: editorWillUnmount }) }) }), renderControls()] }), _jsx("div", { className: b('pane-wrapper'), children: _jsx(Result, { resultVisibilityState: resultVisibilityState, onExpandResultHandler: onExpandResultHandler, onCollapseResultHandler: onCollapseResultHandler, type: type, theme: theme, result: result, tenantName: tenantName, path: path, showPreview: showPreview }, result === null || result === void 0 ? void 0 : result.queryId) })] }), _jsx(QuerySettingsDialog, {})] }));
227
241
  }
228
242
  function Result({ resultVisibilityState, onExpandResultHandler, onCollapseResultHandler, type, theme, result, tenantName, path, showPreview, }) {
229
243
  if (showPreview) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,SAAS,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CA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AM,CAAC;QACJ,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC;IACjC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/QueryEditor/QueryEditor.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AAC/B,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAC,EAAE,IAAI,MAAM,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,kDAAkD,CAAC;AAC9E,OAAO,SAAS,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAC,8BAA8B,EAAC,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EACH,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,gCAAgC,EAChC,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,aAAa,GAChB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,sDAAsD,CAAC;AACrF,OAAO,EAAC,cAAc,EAAC,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,0CAA0C,CAAC;AAE3F,OAAO,EAAC,UAAU,EAAC,MAAM,sCAAsC,CAAC;AAGhE,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EACH,iCAAiC,EACjC,4BAA4B,EAC5B,0BAA0B,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACH,eAAe,EACf,yBAAyB,EACzB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAC,uBAAuB,EAAC,MAAM,iDAAiD,CAAC;AACxF,O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.scss';
3
4
  interface SaveQueryProps {
4
5
  buttonProps?: ButtonProps;
5
6
  }
6
- export declare function SaveQueryButton(props: ButtonProps): import("react/jsx-runtime").JSX.Element;
7
+ interface SaveQueryButtonProps extends ButtonProps {
8
+ dialogProps?: SaveQueryDialogCommonProps;
9
+ }
10
+ export declare function SaveQueryButton({ dialogProps, ...buttonProps }: SaveQueryButtonProps): import("react/jsx-runtime").JSX.Element;
7
11
  export declare function SaveQuery({ buttonProps }: SaveQueryProps): import("react/jsx-runtime").JSX.Element;
8
- interface SaveQueryDialogProps {
12
+ interface SaveQueryDialogCommonProps {
9
13
  onSuccess?: () => void;
10
14
  onCancel?: () => void;
15
+ onClose?: () => void;
16
+ }
17
+ interface SaveQueryDialogProps extends SaveQueryDialogCommonProps {
18
+ open: boolean;
11
19
  }
12
- export declare function SaveQueryDialog({ onSuccess, onCancel }: SaveQueryDialogProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare const SAVE_QUERY_DIALOG = "save-query-dialog";
21
+ export declare const SaveQueryDialogNiceModal: React.FC<SaveQueryDialogProps & import("@ebay/nice-modal-react").NiceModalHocProps>;
13
22
  export {};
@@ -1,24 +1,25 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from 'react';
3
+ import NiceModal from '@ebay/nice-modal-react';
3
4
  import { Button, Dialog, DropdownMenu, TextInput } from '@gravity-ui/uikit';
4
- import { clearQueryNameToEdit, saveQuery, selectQueryAction, selectQueryName, setQueryAction, } from '../../../../store/reducers/queryActions/queryActions';
5
+ import { clearQueryNameToEdit, saveQuery, selectQueryName, setQueryAction, } from '../../../../store/reducers/queryActions/queryActions';
5
6
  import { cn } from '../../../../utils/cn';
6
7
  import { useTypedDispatch, useTypedSelector } from '../../../../utils/hooks';
7
8
  import { useSavedQueries } from '../utils/useSavedQueries';
8
9
  import i18n from './i18n';
9
10
  import './SaveQuery.scss';
10
11
  const b = cn('ydb-save-query');
11
- function useSaveQueryHandler() {
12
+ function useSaveQueryHandler(dialogProps) {
12
13
  const dispatch = useTypedDispatch();
13
14
  const onSaveQueryClick = React.useCallback(() => {
14
- dispatch(setQueryAction('save'));
15
+ NiceModal.show(SAVE_QUERY_DIALOG, dialogProps);
15
16
  dispatch(clearQueryNameToEdit());
16
- }, [dispatch]);
17
+ }, [dispatch, dialogProps]);
17
18
  return onSaveQueryClick;
18
19
  }
19
- export function SaveQueryButton(props) {
20
- const onSaveQueryClick = useSaveQueryHandler();
21
- return (_jsx(Button, { onClick: onSaveQueryClick, ...props, children: i18n('action.save') }));
20
+ export function SaveQueryButton({ dialogProps, ...buttonProps }) {
21
+ const onSaveQueryClick = useSaveQueryHandler(dialogProps);
22
+ return (_jsx(Button, { onClick: onSaveQueryClick, ...buttonProps, children: i18n('action.save') }));
22
23
  }
23
24
  export function SaveQuery({ buttonProps = {} }) {
24
25
  const dispatch = useTypedDispatch();
@@ -43,10 +44,9 @@ export function SaveQuery({ buttonProps = {} }) {
43
44
  };
44
45
  return queryNameToEdit ? renderSaveDropdownMenu() : _jsx(SaveQueryButton, {});
45
46
  }
46
- export function SaveQueryDialog({ onSuccess, onCancel }) {
47
+ function SaveQueryDialog({ onSuccess, onCancel, onClose, open }) {
47
48
  const savedQueries = useSavedQueries();
48
49
  const dispatch = useTypedDispatch();
49
- const queryAction = useTypedSelector(selectQueryAction);
50
50
  const [queryName, setQueryName] = React.useState('');
51
51
  const [validationError, setValidationError] = React.useState();
52
52
  const validateQueryName = (value) => {
@@ -62,6 +62,7 @@ export function SaveQueryDialog({ onSuccess, onCancel }) {
62
62
  dispatch(setQueryAction('idle'));
63
63
  setQueryName('');
64
64
  setValidationError(undefined);
65
+ onClose === null || onClose === void 0 ? void 0 : onClose();
65
66
  };
66
67
  const onCloseWithoutSave = () => {
67
68
  onCancel === null || onCancel === void 0 ? void 0 : onCancel();
@@ -76,7 +77,7 @@ export function SaveQueryDialog({ onSuccess, onCancel }) {
76
77
  onCloseDialog();
77
78
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
78
79
  };
79
- return (_jsxs(Dialog, { open: queryAction === 'save', hasCloseButton: false, size: "s", onClose: onCloseWithoutSave, children: [_jsx(Dialog.Header, { caption: i18n('action.save') }), _jsxs("form", { onSubmit: (e) => {
80
+ return (_jsxs(Dialog, { open: open, hasCloseButton: false, size: "s", onClose: onCloseWithoutSave, children: [_jsx(Dialog.Header, { caption: i18n('action.save') }), _jsxs("form", { onSubmit: (e) => {
80
81
  e.preventDefault();
81
82
  const validationError = validateQueryName(queryName);
82
83
  setValidationError(validationError);
@@ -87,4 +88,18 @@ export function SaveQueryDialog({ onSuccess, onCancel }) {
87
88
  type: 'submit',
88
89
  } })] })] }));
89
90
  }
91
+ export const SAVE_QUERY_DIALOG = 'save-query-dialog';
92
+ export const SaveQueryDialogNiceModal = NiceModal.create((props) => {
93
+ const modal = NiceModal.useModal();
94
+ const handleClose = () => {
95
+ modal.hide();
96
+ modal.remove();
97
+ };
98
+ return (_jsx(SaveQueryDialog, { ...props, onClose: () => {
99
+ var _a;
100
+ (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
101
+ handleClose();
102
+ }, open: modal.visible }));
103
+ });
104
+ NiceModal.register(SAVE_QUERY_DIALOG, SaveQueryDialogNiceModal);
90
105
  //# sourceMappingURL=SaveQuery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SaveQuery.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/SaveQuery/SaveQuery.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE1E,OAAO,EACH,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,cAAc,GACjB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAC,EAAE,EAAC,MAAM,sBAAsB,CAAC;AACxC,OAAO,EAAC,gBAA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AAS,EAAE,CAAC,CAAC,aAAa,CAAC,aACpC,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAG,IAAI,CAAC,aAAa,CAAC,GAAO,EAC5D,eAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,aAC3B,gBAAO,OAAO,EAAC,WAAW,EAAC,SAAS,EAAE,CAAC,CAAC,aAAa,EAAE,UAAU,CAAC,YAC7D,IAAI,CAAC,aAAa,CAAC,GAChB,EACR,cAAK,SAAS,EAAE,CAAC,CAAC,iBAAiB,CAAC,YAChC,KAAC,SAAS,IACN,EAAE,EAAC,WAAW,EACd,WAAW,EAAE,IAAI,CAAC,mBAAmB,CAAC,EACtC,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,qBAAqB,EAC/B,QAAQ,QACR,SAAS,QACT,YAAY,EAAE,KAAK,EACnB,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EACxD,YAAY,EAAE,eAAe,GAC/B,GACA,IACJ,IACI,EACd,KAAC,MAAM,CAAC,MAAM,IACV,eAAe,EAAE,IAAI,CAAC,cAAc,CAAC,EACrC,gBAAgB,EAAE,IAAI,CAAC,eAAe,CAAC,EACvC,mBAAmB,EAAE,kBAAkB,EACvC,gBAAgB,EAAE;4BACd,IAAI,EAAE,QAAQ;yBACjB,GACH,IACC,IACF,CACZ,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"SaveQuery.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Query/SaveQuery/SaveQuery.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE1E,OAAO,EACH,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,cAAc,GACjB,MAAM,sDAAsD,CAAC;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C,MAAM,WAAW,GAAG,GAAG,EAAE;QACrB,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,KAAK,CAAC,MAAM,EAAE,CAAC;IACnB,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,eAAe,OACR,KAAK,EACT,OAAO,EAAE,GAAG,EAAE;;YACV,MAAA,KAAK,CAAC,OAAO,qDAAI,CAAC;YAClB,WAAW,EAAE,CAAC;QAClB,CAAC,EACD,IAAI,EAAE,KAAK,CAAC,OAAO,GACrB,CACL,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,wBAAwB,CAAC,CAAC"}
@@ -9,7 +9,6 @@ export declare const bindActions: (changeUserInput: (input: string) => void) =>
9
9
  upsertQuery: () => void;
10
10
  createExternalTable: () => void;
11
11
  dropExternalTable: () => void;
12
- selectQueryFromExternalTable: () => void;
13
12
  createTopic: () => void;
14
13
  alterTopic: () => void;
15
14
  dropTopic: () => void;
@@ -14,7 +14,6 @@ export const bindActions = (changeUserInput) => {
14
14
  upsertQuery: inputQuery(upsertQueryTemplate),
15
15
  createExternalTable: inputQuery(createExternalTableTemplate),
16
16
  dropExternalTable: inputQuery(dropExternalTableTemplate),
17
- selectQueryFromExternalTable: inputQuery(selectQueryTemplate),
18
17
  createTopic: inputQuery(createTopicTemplate),
19
18
  alterTopic: inputQuery(alterTopicTemplate),
20
19
  dropTopic: inputQuery(dropTopicTemplate),
@@ -1 +1 @@
1
- {"version":3,"file":"newSQLQueryActions.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/newSQLQueryActions.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EACb,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,4B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AAU,EAAE,UAAU,CAAC,kBAAkB,CAAC;QAC1C,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC;QAC5C,eAAe,EAAE,UAAU,CAAC,uBAAuB,CAAC;QACpD,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC;QAClD,eAAe,EAAE,UAAU,CAAC,uBAAuB,CAAC;QACpD,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC;QACtC,SAAS,EAAE,UAAU,CAAC,iBAAiB,CAAC;QACxC,aAAa,EAAE,UAAU,CAAC,aAAa,CAAC;QACxC,cAAc,EAAE,UAAU,CAAC,cAAc,CAAC;KAC7C,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"newSQLQueryActions.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/newSQLQueryActions.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EACb,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,eAAwC,EAAE,EAAE;IACpE,MAAM,UAAU,GAAG,CAAC,KAAmB,EAAE,EAAE,CAAC,GAAG,EAAE;QAC7C,eAAe,CAAC,KAAK,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO;QACH,cAAc,EAAE,UAAU,CAAC,mBAAmB,CAAC;QAC/C,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC;QACx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_QUERY_TABS_ID } from '../../../store/reducers/tenant/constants';
4
3
  import { setQueryTab, setTenantPage } from '../../../store/reducers/tenant/tenant';
5
4
  import createToast from '../../../utils/createToast';
5
+ import { insertSnippetToEditor } from '../../../utils/monaco/insertSnippet';
6
6
  import { transformPath } from '../ObjectSummary/transformPath';
7
7
  import i18n from '../i18n';
8
8
  import { nodeTableTypeToPathType } from './schema';
@@ -20,12 +20,13 @@ const bindActions = (params, dispatch, additionalEffects) => {
20
20
  type: pathType,
21
21
  })
22
22
  : Promise.resolve(undefined);
23
- userInputDataPromise.then((tableData) => {
24
- dispatch(changeUserInput({ input: tmpl({ ...params, tableData }) }));
25
- });
23
+ //order is important here: firstly we should open query tab and initialize editor (it will be set to window.ydbEditor), after that it is possible to insert snippet
26
24
  dispatch(setTenantPage(TENANT_PAGES_IDS.query));
27
25
  dispatch(setQueryTab(TENANT_QUERY_TABS_ID.newQuery));
28
26
  setActivePath(params.path);
27
+ userInputDataPromise.then((tableData) => {
28
+ insertSnippetToEditor(tmpl({ ...params, tableData }));
29
+ });
29
30
  };
30
31
  if (getConfirmation) {
31
32
  const confirmedPromise = getConfirmation();
@@ -1 +1 @@
1
- {"version":3,"file":"schemaActions.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaActions.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AAIrC,OAAO,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,uCAAuC,CAAC;AAEjF,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAE7D,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EAAC,uBAAuB,EAAC,MAAM,UAAU,CAAC;AAEjD,OAAO,EACH,aA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iB,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC,CAAC"}
1
+ {"version":3,"file":"schemaActions.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaActions.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,mBAAmB,CAAC;AAKrC,OAAO,EAAC,gBAAgB,EAAE,oBAAoB,EAAC,MAAM,0CAA0C,CAAC;AAChG,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,uCAAuC,CAAC;AAEjF,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAC,qBAAqB,EAAC,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAE7D,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,EAAC,uBAAuB,EAAC,MAAM,UAAU,CAAC;AAEjD,OAAO,EACH,aAAa,EACb,6BAA6B,EAC7B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC5B,yBAAyB,EACzB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,wBAAwB,CAAC;AAmBhC,MAAM,WAAW,GAAG,CAChB,MAAwB,EACxB,QAAqB,EACrB,iBAA2C,EAC7C,EAAE;IACA,MAAM,EAAC,aAAa,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,eAAe,EAAC,GACxF,iBAAiB,CAAC;IAEtB,MAAM,UAAU,GAAG,CAAC,IAAgB,EAAE,EAAE,CAAC,GAAG,EAAE;QAC1C,MAAM,WAAW,GAAG,GAAG,EAAE;YACrB,MAAM,QAAQ,GAAG,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACtD,MAAM,aAAa,GAAG,CAAC,mBAAm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