ronds-metadata 1.3.68 → 1.3.69

Sign up to get free protection for your applications and to get access to all the features.
package/es/api/index.js CHANGED
@@ -10,7 +10,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
10
10
  import { guid, md5 } from '../utils';
11
11
  import { addInterceptor, HttpHelper } from '../framework/http';
12
12
  var http = new HttpHelper();
13
- var token = 'Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkMyMTJFMjI1NTcwNjRDQTE3M0U2NjkxRjM4QzFDOEEyIiwidHlwIjoiYXQrand0In0.eyJuYmYiOjE3MjM0MzQ2MzEsImV4cCI6MTcyMzY5MzgzMSwiaXNzIjoiaHR0cDovL2ZhYmlvOjk5OTkvc3VwZXJjYXJlY29yZSIsImF1ZCI6ImVwbSIsImNsaWVudF9pZCI6ImVwbSIsInN1YiI6IjNhMTIxZDJiLWYwZDUtZDQ3OC0xN2Q3LWQwODEwZDgzZDViMSIsImF1dGhfdGltZSI6MTcyMzQzNDYzMSwiaWRwIjoibG9jYWwiLCJuYW1lIjoicGhtIiwiZW1haWwiOiJwaG1AYWJwLmlvIiwicm9sZSI6WyJhZG1pbiIsInBobV9hZG1pbiJdLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9naXZlbm5hbWUiOiJwaG3ov5Dnu7TotKblj7ciLCJwaG9uZV9udW1iZXIiOiIxMzYwMDAwMDAwMCIsInBob25lX251bWJlcl92ZXJpZmllZCI6IlRydWUiLCJlbWFpbF92ZXJpZmllZCI6IlRydWUiLCJpYXQiOjE3MjM0MzQ2MzEsInNjb3BlIjpbImFkZHJlc3MiLCJlbWFpbCIsImVwbSIsIm9wZW5pZCIsInBob25lIiwicHJvZmlsZSIsInJvbGUiLCJvZmZsaW5lX2FjY2VzcyJdLCJhbXIiOlsicHdkIl19.W_5480G2iW6ua9EzViDFCDN6nUnUvbsBi9uL_ChHOmnTXojVUn8qJEK-Z3TdIe22_E1Jjn_AZrvZ7J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OlsicHdkIl19.OK10CQsLVqkRSPEnpQKH_mJU9PbVug0ok4rb6C9EaG2g3-j6GvRhx4_4uPpbE3Y2vBRetkITUh3yccFeoh8kROKUJtr_9HT-W-jULSjfwZN9yd_GJFV1rL3fGEpoUZUqeUEoCvKifgB-8A_N_IN-utk5jzyD-gpKo9jUZySpPsd7JBzA_G_DGV-5vO-lXUJsBySDxt0S3NplnX1A17Pqoxh0ihLL1tlJ-mblSaX8lqWVrEbgBEjpU7Do1siSrZN_zaSBMLneCRkExQULwIWHq0z1agAxhO60YlSdTl78KfF9B_rgQFtkW8a6BZNOvyCwix95lDeedZj-uF2uym84Fg';
14
14
  addInterceptor(function (httpClient) {
15
15
  httpClient.interceptors.request.use(function (_config) {
16
16
  if (!_config.headers) {
@@ -330,7 +330,7 @@ var SourceConfig = function SourceConfig(props) {
330
330
  body: '{"type":"Kafka","level":2}',
331
331
  value: 'name',
332
332
  watch: 'defaultSource',
333
- key: 'name',
333
+ key: 'dfSourceId',
334
334
  url: '/dataset-web/source/cascade/data/v2'
335
335
  };
336
336
  var _React$useState29 = React.useState(),
@@ -143,6 +143,7 @@ var SparkSqlTable = function SparkSqlTable(props) {
143
143
  overflowY: 'auto'
144
144
  }
145
145
  }, list.map(function (item, idx) {
146
+ var _item$alias;
146
147
  return /*#__PURE__*/React.createElement("div", {
147
148
  key: idx,
148
149
  style: {
@@ -174,7 +175,7 @@ var SparkSqlTable = function SparkSqlTable(props) {
174
175
  marginLeft: '5px',
175
176
  marginRight: '8px'
176
177
  },
177
- value: "tbl".concat(idx + 1),
178
+ value: (_item$alias = item.alias) !== null && _item$alias !== void 0 ? _item$alias : "tbl".concat(idx + 1),
178
179
  onChange: function onChange(val) {
179
180
  return onListChange(val, idx, 'alias');
180
181
  }
@@ -194,7 +195,7 @@ var SparkSqlTable = function SparkSqlTable(props) {
194
195
  overflowY: 'auto'
195
196
  }
196
197
  }, /*#__PURE__*/React.createElement(SqlEdit, {
197
- value: "/*- name(tbl".concat(idx + 1, ")*/"),
198
+ value: "/*+".concat(item.alias ? "name(".concat(item.alias, ")") : "name(tbl".concat(idx + 1, ")"), " ").concat(item.outputView ? "output(".concat(item.outputView, ")") : '', "*/"),
198
199
  theme: 'neo',
199
200
  isLineNumbers: false,
200
201
  extraDico: extraDico,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.3.68",
4
+ "version": "1.3.69",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",