ronds-metadata 1.3.87 → 1.3.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,13 +4,17 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  /*
5
5
  * @Author: wangxian
6
6
  * @Date: 2023-09-08 10:02:20
7
- * @LastEditTime: 2024-08-22 16:37:50
7
+ * @LastEditTime: 2024-09-06 09:18:26
8
8
  */
9
- import Editor, { useMonaco } from '@monaco-editor/react';
9
+ import Editor, { useMonaco, loader } from '@monaco-editor/react';
10
+ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
10
11
  import React from 'react';
11
12
  // 引入所需的语言库
12
13
  import 'monaco-editor/esm/vs/basic-languages/pgsql/pgsql.contribution.js';
13
14
  import './index.less';
15
+ loader.config({
16
+ monaco: monaco
17
+ });
14
18
  var CodeEdit = function CodeEdit(props) {
15
19
  var value = props.value,
16
20
  width = props.width,
@@ -94,6 +94,26 @@ export declare const BusinessSchema: {
94
94
  }[];
95
95
  enum?: undefined;
96
96
  items?: undefined;
97
+ } | {
98
+ id: string;
99
+ type: string;
100
+ fields: {
101
+ id: string;
102
+ type: string;
103
+ refId: string;
104
+ value: {
105
+ common: {
106
+ label: string;
107
+ labelSpan: number;
108
+ depend: {
109
+ show: string;
110
+ };
111
+ };
112
+ 'common-en-US': {};
113
+ };
114
+ }[];
115
+ enum?: undefined;
116
+ items?: undefined;
97
117
  } | {
98
118
  id: string;
99
119
  type: string;
@@ -106,7 +106,6 @@ var ETL_SOURCE_SCHEMA = [{
106
106
  value: {
107
107
  common: {
108
108
  label: 'SQL',
109
- require: true,
110
109
  labelSpan: 4,
111
110
  depend: {
112
111
  show: 'datasource.dsType=="PostgreSql" || datasource.dsType=="SqlServer"'
@@ -24,7 +24,7 @@ var SparkSqlTable = function SparkSqlTable(props) {
24
24
  extraInfo = props.extraInfo,
25
25
  onChange = props.onChange,
26
26
  disabled = props.disabled;
27
- var _React$useState = React.useState('orgin'),
27
+ var _React$useState = React.useState('origin'),
28
28
  _React$useState2 = _slicedToArray(_React$useState, 2),
29
29
  view = _React$useState2[0],
30
30
  setView = _React$useState2[1];
package/es/config.js CHANGED
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  /*
3
3
  * @Author: wangxian
4
4
  * @Date: 2021-09-18 14:15:04
5
- * @LastEditTime: 2024-08-22 15:37:06
5
+ * @LastEditTime: 2024-09-06 10:39:27
6
6
  */
7
7
  import { BehaviorSubject, map, distinctUntilChanged } from 'rxjs';
8
8
  import { setLocale } from './comps/locales/index';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.3.87",
4
+ "version": "1.3.89",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",