ydb-embedded-ui 6.32.0-hotfix.1 → 6.33.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,6 @@
7
7
  }
8
8
  &__definition {
9
9
  text-align: right;
10
- word-break: break-all;
10
+ word-break: break-word;
11
11
  }
12
12
  }
@@ -74,7 +74,7 @@ export function Clusters() {
74
74
  .sort()
75
75
  .map((el) => ({ value: el, content: el }));
76
76
  }, [clusters]);
77
- return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { children: _jsx("title", { children: i18n('page_title') }) }), _jsx(ClustersStatistics, { stats: aggregation, count: filteredClusters.length }), _jsxs("div", { className: b('controls'), children: [_jsx("div", { className: b('control', { wide: true }), children: _jsx(Search, { placeholder: i18n('controls_search-placeholder'), onChange: changeClusterName, value: clusterName }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_status-select-label'), value: status, options: statuses, onUpdate: changeStatus, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_service-select-label'), value: service, options: servicesToSelect, onUpdate: changeService, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_version-select-label'), value: version, options: versions, onUpdate: changeVersion, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(TableColumnSetup, { popupWidth: 242, items: columnsToSelect, showStatus: true, onUpdate: setColumns, sortable: false }, "TableColumnSetup") }), _jsx(AutoRefreshControl, {})] }), query.isError ? _jsx(ResponseError, { error: query.error, className: b('error') }) : null, query.isLoading ? _jsx(Loader, { size: "l" }) : null, query.fulfilledTimeStamp ? (_jsx("div", { className: b('table-wrapper'), children: _jsx("div", { className: b('table-content'), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: CLUSTERS_COLUMNS_WIDTH_LS_KEY, wrapperClassName: b('table'), data: filteredClusters, columns: columnsToShow, settings: { ...DEFAULT_TABLE_SETTINGS, dynamicRender: false }, initialSortOrder: {
77
+ return (_jsxs("div", { className: b(), children: [_jsx(Helmet, { children: _jsx("title", { children: i18n('page_title') }) }), _jsx(ClustersStatistics, { stats: aggregation, count: filteredClusters.length }), _jsxs("div", { className: b('controls'), children: [_jsx("div", { className: b('control', { wide: true }), children: _jsx(Search, { placeholder: i18n('controls_search-placeholder'), onChange: changeClusterName, value: clusterName }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_status-select-label'), value: status, options: statuses, onUpdate: changeStatus, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_service-select-label'), value: service, options: servicesToSelect, onUpdate: changeService, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(Select, { multiple: true, filterable: true, hasClear: true, placeholder: i18n('controls_select-placeholder'), label: i18n('controls_version-select-label'), value: version, options: versions, onUpdate: changeVersion, width: "max" }) }), _jsx("div", { className: b('control'), children: _jsx(TableColumnSetup, { popupWidth: 242, items: columnsToSelect, showStatus: true, onUpdate: setColumns, sortable: false }, "TableColumnSetup") }), _jsx(AutoRefreshControl, { className: b('autorefresh') })] }), query.isError ? _jsx(ResponseError, { error: query.error, className: b('error') }) : null, query.isLoading ? _jsx(Loader, { size: "l" }) : null, query.fulfilledTimeStamp ? (_jsx("div", { className: b('table-wrapper'), children: _jsx("div", { className: b('table-content'), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: CLUSTERS_COLUMNS_WIDTH_LS_KEY, wrapperClassName: b('table'), data: filteredClusters, columns: columnsToShow, settings: { ...DEFAULT_TABLE_SETTINGS, dynamicRender: false }, initialSortOrder: {
78
78
  columnId: COLUMNS_NAMES.TITLE,
79
79
  order: DataTable.ASCENDING,
80
80
  } }) }) })) :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BAAiB,EAAE,6BAA6B,EAChD,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,EAC5B,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,EAAC,GAAG,sBAAsB,EAAE,aAAa,EAAE,KAAK,EAAC,EAC3D,gBAAgB,EAAE;4BACd,QAAQ,EAAE,aAAa,CAAC,KAAK;4BAC7B,KAAK,EAAE,SAAS,CAAC,SAAS;yBAC7B,GACH,GACA,GACJ,CACT,CAAC,CAAC,CAAC,IAAI,IACN,CACT,CAAC;AACN,CAAC"}
@@ -7,7 +7,9 @@
7
7
 
8
8
  @include mixins.body-2-typography();
9
9
  @include mixins.flex-container();
10
-
10
+ &__autorefresh {
11
+ margin-left: auto;
12
+ }
11
13
  &__cluster {
12
14
  display: flex;
13
15
  align-items: center;
@@ -87,6 +89,7 @@
87
89
 
88
90
  &__aggregation,
89
91
  &__controls {
92
+ margin-right: 15px;
90
93
  margin-left: 15px;
91
94
  }
92
95
 
@@ -108,7 +111,7 @@
108
111
  display: flex;
109
112
  align-items: center;
110
113
 
111
- max-width: 200px;
114
+ max-width: 230px;
112
115
 
113
116
  font-size: var(--g-text-subheader-3-font-size);
114
117
  line-height: var(--g-text-subheader-3-line-height);
@@ -1,4 +1,4 @@
1
- import type { YQLEntity } from '@gravity-ui/websql-autocomplete';
1
+ import type { YQLEntity } from '@gravity-ui/websql-autocomplete/yql';
2
2
  export declare const SimpleTypes: string[];
3
3
  export declare const SimpleFunctions: string[];
4
4
  export declare const AggregateFunctions: string[];
@@ -1,4 +1,5 @@
1
- import type { ColumnAliasSuggestion, KeywordSuggestion, YQLEntity, YqlAutocompleteResult } from '@gravity-ui/websql-autocomplete';
1
+ import type { ColumnAliasSuggestion, KeywordSuggestion } from '@gravity-ui/websql-autocomplete/shared';
2
+ import type { YQLEntity, YqlAutocompleteResult } from '@gravity-ui/websql-autocomplete/yql';
2
3
  import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
3
4
  export declare function generateColumnsSuggestion(rangeToInsertSuggestion: monaco.IRange, suggestColumns: YqlAutocompleteResult['suggestColumns'] | undefined, database: string): Promise<monaco.languages.CompletionItem[]>;
4
5
  export declare function generateColumnAliasesSuggestion(rangeToInsertSuggestion: monaco.IRange, suggestColumnAliases?: ColumnAliasSuggestion[]): {
@@ -93,18 +93,19 @@ const SuggestionsWeight = {
93
93
  suggestTemplates: 0,
94
94
  suggestPragmas: 1,
95
95
  suggestEntity: 2,
96
- suggestColumns: 3,
97
- suggestColumnAliases: 4,
98
- suggestTableIndexes: 5,
99
- suggestTableHints: 6,
100
- suggestEntitySettings: 7,
101
- suggestKeywords: 8,
102
- suggestAggregateFunctions: 9,
103
- suggestTableFunctions: 10,
104
- suggestWindowFunctions: 11,
105
- suggestFunctions: 12,
106
- suggestSimpleTypes: 13,
107
- suggestUdfs: 14,
96
+ suggestAllColumns: 3,
97
+ suggestColumns: 4,
98
+ suggestColumnAliases: 5,
99
+ suggestTableIndexes: 6,
100
+ suggestTableHints: 7,
101
+ suggestEntitySettings: 8,
102
+ suggestKeywords: 9,
103
+ suggestAggregateFunctions: 10,
104
+ suggestTableFunctions: 11,
105
+ suggestWindowFunctions: 12,
106
+ suggestFunctions: 13,
107
+ suggestSimpleTypes: 14,
108
+ suggestUdfs: 15,
108
109
  };
109
110
  function getSuggestionIndex(suggestionType) {
110
111
  return SuggestionsWeight[suggestionType];
@@ -139,6 +140,7 @@ export async function generateColumnsSuggestion(rangeToInsertSuggestion, suggest
139
140
  return [];
140
141
  }
141
142
  const suggestions = [];
143
+ const normalizedColumns = suggestColumns.all ? [] : undefined;
142
144
  const multi = suggestColumns.tables.length > 1;
143
145
  const normalizedTableNames = (_b = (_a = suggestColumns.tables) === null || _a === void 0 ? void 0 : _a.map((entity) => {
144
146
  let normalizedEntityName = removeBackticks(entity.name);
@@ -174,6 +176,7 @@ export async function generateColumnsSuggestion(rangeToInsertSuggestion, suggest
174
176
  const normalizedName = wrapStringToBackticks(col.Name);
175
177
  const normalizedParentName = normalizeEntityPrefix(col.Parent, database);
176
178
  const aliases = tableNameToAliasMap[normalizedParentName];
179
+ const currentSuggestionIndex = suggestions.length;
177
180
  if (aliases === null || aliases === void 0 ? void 0 : aliases.length) {
178
181
  aliases.forEach((a) => {
179
182
  const columnNameSuggestion = `${a}.${normalizedName}`;
@@ -183,8 +186,10 @@ export async function generateColumnsSuggestion(rangeToInsertSuggestion, suggest
183
186
  kind: CompletionItemKind.Field,
184
187
  detail: 'Column',
185
188
  range: rangeToInsertSuggestion,
186
- sortText: suggestionIndexToWeight(getSuggestionIndex('suggestColumns')),
189
+ sortText: suggestionIndexToWeight(getSuggestionIndex('suggestColumns')) +
190
+ suggestionIndexToWeight(currentSuggestionIndex),
187
191
  });
192
+ normalizedColumns === null || normalizedColumns === void 0 ? void 0 : normalizedColumns.push(columnNameSuggestion);
188
193
  });
189
194
  }
190
195
  else {
@@ -198,10 +203,23 @@ export async function generateColumnsSuggestion(rangeToInsertSuggestion, suggest
198
203
  kind: CompletionItemKind.Field,
199
204
  detail: 'Column',
200
205
  range: rangeToInsertSuggestion,
201
- sortText: suggestionIndexToWeight(getSuggestionIndex('suggestColumns')),
206
+ sortText: suggestionIndexToWeight(getSuggestionIndex('suggestColumns')) +
207
+ suggestionIndexToWeight(currentSuggestionIndex),
202
208
  });
209
+ normalizedColumns === null || normalizedColumns === void 0 ? void 0 : normalizedColumns.push(columnNameSuggestion);
203
210
  }
204
211
  });
212
+ if (normalizedColumns && normalizedColumns.length > 0) {
213
+ const allColumsn = normalizedColumns.join(', ');
214
+ suggestions.push({
215
+ label: allColumsn,
216
+ insertText: allColumsn,
217
+ kind: CompletionItemKind.Field,
218
+ detail: 'All columns',
219
+ range: rangeToInsertSuggestion,
220
+ sortText: suggestionIndexToWeight(getSuggestionIndex('suggestAllColumns')),
221
+ });
222
+ }
205
223
  return suggestions;
206
224
  }
207
225
  export function generateColumnAliasesSuggestion(rangeToInsertSuggestion, suggestColumnAliases) {
@@ -243,6 +261,7 @@ export async function generateEntitiesSuggestion(rangeToInsertSuggestion, sugges
243
261
  if (isDir && !withBackticks) {
244
262
  labelAsSnippet = `\`${label}$0\``;
245
263
  }
264
+ const suggestionIndex = acc.length;
246
265
  acc.push({
247
266
  label,
248
267
  insertText: labelAsSnippet !== null && labelAsSnippet !== void 0 ? labelAsSnippet : label,
@@ -255,7 +274,9 @@ export async function generateEntitiesSuggestion(rangeToInsertSuggestion, sugges
255
274
  command: label.endsWith('/')
256
275
  ? { id: 'editor.action.triggerSuggest', title: '' }
257
276
  : undefined,
258
- sortText: suggestionIndexToWeight(getSuggestionIndex('suggestEntity')),
277
+ // first argument is responsible for sorting groups of suggestions, the second - to preserve suggestions order returned from backend
278
+ sortText: suggestionIndexToWeight(getSuggestionIndex('suggestEntity')) +
279
+ suggestionIndexToWeight(suggestionIndex),
259
280
  });
260
281
  return acc;
261
282
  }, []);
@@ -1 +1 @@
1
- {"version":3,"file":"generateSuggestions.js","sourceRoot":"","sources":["../../../../src/utils/monaco/yql/generateSuggestions.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,wCAAwC,CAAC;AAIjE,OAAO,EACH,kBAAkB,EAClB,cAAc,EACd,OAAO,EACP,eAAe,EACf,WAAW,EACX,aAAa,EACb,IAAI,EACJ,eAAe,GAClB,MAAM,aAAa,CAAC;AAErB,MAAM,kBAAkB,GAEpB;IACA,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;IACX,WAAW,EAAE,CAAC;IACd,KAAK,EAAE,CAAC;IACR,QAAQ,EAAE,CAAC;IACX,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,SAAS,EAAE,CAAC;IACZ,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,CAAC;IACX,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,QAAQ,EAAE,EAAE;IACZ,IAA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(model, cursorPosition) {
13
13
  return `${(_b = (_a = prevWord === null || prevWord === void 0 ? void 0 : prevWord.matches) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : ''}${(_d = (_c = nextWord === null || nextWord === void 0 ? void 0 : nextWord.matches) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : ''}`;
14
14
  }
15
15
  async function getSuggestions(model, cursorPosition, rangeToInsertSuggestion, database) {
16
- const { parseYqlQuery } = await import('@gravity-ui/websql-autocomplete');
16
+ const { parseYqlQuery } = await import('@gravity-ui/websql-autocomplete/yql');
17
17
  const cursorForParsing = {
18
18
  line: cursorPosition.lineNumber,
19
19
  column: cursorPosition.column,
@@ -1 +1 @@
1
- {"version":3,"file":"yqlSuggestions.js","sourceRoot":"","sources":["../../../../src/utils/monaco/yql/yqlSuggestions.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,oCAAoC,EACpC,+BAA+B,EAC/B,yBAAyB,EACzB,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAC1B,yBAAyB,EACzB,iCAAiC,EACjC,6BAA6B,EAC7B,gCAAgC,EAChC,qBAAqB,EACrB,iCAAiC,GACpC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,UAAU,gCAAgC,CAAC,QAAgB;IAC7D,OAAO,KAAK,EACR,KAA+B,EAC/B,oBAAqC,EACrC,QAA4C,EAC5C,MAAgC,EAClC,EAAE;QACA,MAAM,uBAAuB,GAAG,0BAA0B,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;QAExF,MAAM,WAAW,GAAG,MAAM,cAAc,CACpC,KAAK,EACL,oBAAoB,EACpB,uBAAuB,EACvB,QAAQ,CACX,CAAC;QAEF,OAAO,EAAC,WAAW,EAAC,CAAC;IACzB,CAAC,CAAC;AACN,CAAC;AAED,SAAS,qBAAqB,CAAC,KAA+B,EAAE,cAA+B;;IAC3F,MAAM,QAAQ,GAAG,KAAK,CAAC,iBAAiB,CACpC,gBAAg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AAC;IAC/C,oJAAoJ;IACpJ,MAAM,yBAAyB,GAC3B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,mBAAmB,GAAG,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7F,OAAO;QACH,WAAW,EAAE,mBAAmB,GAAG,yBAAyB;QAC5D,eAAe,EAAE,cAAc,CAAC,UAAU;QAC1C,SAAS,EAAE,iBAAiB;QAC5B,aAAa,EAAE,cAAc,CAAC,UAAU;KAC3C,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "6.32.0-hotfix.1",
3
+ "version": "6.33.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -23,7 +23,7 @@
23
23
  "@gravity-ui/react-data-table": "^2.1.1",
24
24
  "@gravity-ui/table": "^0.5.0",
25
25
  "@gravity-ui/uikit": "^6.33.0",
26
- "@gravity-ui/websql-autocomplete": "^9.1.0",
26
+ "@gravity-ui/websql-autocomplete": "^12.1.2",
27
27
  "@hookform/resolvers": "^3.9.0",
28
28
  "@reduxjs/toolkit": "^2.2.3",
29
29
  "@tanstack/react-table": "^8.19.3",