ronds-metadata 1.1.13 → 1.1.14

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.
Files changed (56) hide show
  1. package/es/comps/DynamicPorts/comps/ContextMenu.js +1 -1
  2. package/es/comps/DynamicPorts/comps/{ContextMenu.css → ContextMenu.less} +0 -0
  3. package/es/comps/DynamicPorts/comps/DragNode.js +1 -1
  4. package/es/comps/DynamicPorts/comps/GraphHandler/index.js +1 -1
  5. package/es/comps/DynamicPorts/comps/GraphHandler/{index.css → index.less} +17 -10
  6. package/es/comps/DynamicPorts/comps/NodeElement.js +1 -1
  7. package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.js +1 -1
  8. package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/{index.css → index.less} +0 -0
  9. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.js +1 -1
  10. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -0
  11. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.js +1 -1
  12. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -0
  13. package/es/comps/DynamicPorts/comps/shape/edge.js +1 -1
  14. package/es/comps/DynamicPorts/comps/shape/edge.less +8 -0
  15. package/es/comps/DynamicPorts/index.js +1 -1
  16. package/es/comps/DynamicPorts/index.less +198 -0
  17. package/es/comps/Editable/comps/EditableCell.js +1 -1
  18. package/es/comps/Editable/comps/EditableHeardCell.js +1 -1
  19. package/es/comps/Editable/comps/Texty.js +1 -1
  20. package/es/comps/Editable/comps/{Texty.css → Texty.less} +4 -0
  21. package/es/comps/Editable/comps/{index.css → index.less} +5 -0
  22. package/es/comps/Editable/index.js +1 -1
  23. package/es/comps/Editable/index.less +97 -0
  24. package/es/comps/JsonEdit/index.js +1 -1
  25. package/es/comps/JsonEdit/{index.css → index.less} +6 -0
  26. package/es/comps/JsonView/index.js +1 -1
  27. package/es/comps/JsonView/{index.css → index.less} +41 -41
  28. package/es/comps/MdEdit/index.js +1 -1
  29. package/es/comps/MdEdit/{index.css → index.less} +0 -0
  30. package/es/comps/MetadataEdit/index.js +1 -1
  31. package/es/comps/MetadataEdit/index.less +10 -0
  32. package/es/comps/MetadataEditV2/index.js +1 -1
  33. package/es/comps/MetadataEditV2/index.less +11 -0
  34. package/es/comps/MetadataForm/HOC/index.js +1 -1
  35. package/es/comps/MetadataForm/HOC/index.less +25 -0
  36. package/es/comps/MetadataForm/index.js +1 -1
  37. package/es/comps/MetadataForm/index.less +11 -0
  38. package/es/framework/graph/index.js +1 -1
  39. package/es/framework/graph/{index.css → index.less} +2 -0
  40. package/es/framework/libs/iconfont/iconfont.css +19 -3
  41. package/es/framework/libs/iconfont/iconfont.ttf +0 -0
  42. package/es/framework/libs/iconfont/iconfont.woff +0 -0
  43. package/es/framework/libs/iconfont/iconfont.woff2 +0 -0
  44. package/es/index.js +1 -1
  45. package/es/theme.less +69 -0
  46. package/package.json +3 -2
  47. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.css +0 -21
  48. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.css +0 -23
  49. package/es/comps/DynamicPorts/comps/shape/edge.css +0 -4
  50. package/es/comps/DynamicPorts/index.css +0 -169
  51. package/es/comps/Editable/index.css +0 -75
  52. package/es/comps/MetadataEdit/index.css +0 -10
  53. package/es/comps/MetadataEditV2/index.css +0 -11
  54. package/es/comps/MetadataForm/HOC/index.css +0 -25
  55. package/es/comps/MetadataForm/index.css +0 -9
  56. package/es/theme.css +0 -56
@@ -7,7 +7,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
7
7
  */
8
8
  import React from 'react';
9
9
  import NodeContextMenu from './contextMenu/NodeContextMenu';
10
- import "./ContextMenu.css";
10
+ import './ContextMenu.less';
11
11
  import { EdgeContextMenu } from './contextMenu/EdgeContextMenu';
12
12
  import useObservable from '../../../framework/rxjs-hooks/useObservable';
13
13
 
@@ -9,7 +9,7 @@ import { DragSource } from 'react-dnd';
9
9
  import { GlobalOutlined } from '@ant-design/icons';
10
10
  import Icon from '../../../comps/Icons';
11
11
  import { DRAGGABLE_COMPONENT } from '../constant';
12
- import "../index.css";
12
+ import '../index.less';
13
13
 
14
14
  var InnerNodeTitle = function InnerNodeTitle(props) {
15
15
  var data = props.data,
@@ -9,7 +9,7 @@ import _Popover from "antd/es/popover";
9
9
  import React from 'react';
10
10
  import { CompressOutlined, OneToOneOutlined, ZoomInOutlined, ZoomOutOutlined } from '@ant-design/icons';
11
11
  import classNames from 'classnames';
12
- import "./index.css";
12
+ import './index.less';
13
13
  import { tr } from '../../../../framework/locale';
14
14
  export var GraphHandler = function GraphHandler(props) {
15
15
  var className = props.className,
@@ -13,15 +13,22 @@
13
13
  border: 1px solid rgba(0, 0, 0, 0.04);
14
14
  border-radius: 3px;
15
15
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.01);
16
+
17
+ .item {
18
+ text-align: center;
19
+ cursor: pointer;
20
+
21
+ &:hover {
22
+ color: #000;
23
+ background-color: #e0e0e0;
24
+ }
25
+ }
16
26
  }
17
- .handler .item {
18
- text-align: center;
19
- cursor: pointer;
20
- }
21
- .handler .item:hover {
22
- color: #000;
23
- background-color: #e0e0e0;
24
- }
25
- .popover :global .ant-popover-inner-content {
26
- padding: 3px 8px;
27
+
28
+ .popover {
29
+ :global {
30
+ .ant-popover-inner-content {
31
+ padding: 3px 8px;
32
+ }
33
+ }
27
34
  }
@@ -6,7 +6,7 @@ import React from "react";
6
6
  * @LastEditTime: 2022-05-28 11:09:22
7
7
  */
8
8
  import { GlobalOutlined } from '@ant-design/icons';
9
- import "../index.css";
9
+ import '../index.less';
10
10
  import Icon from '../../../comps/Icons';
11
11
 
12
12
  var NodeElement = function NodeElement(props) {
@@ -10,7 +10,7 @@ import React, { useCallback, useRef } from 'react';
10
10
  import { DeleteOutlined } from '@ant-design/icons';
11
11
  import { useClickAway } from 'ahooks';
12
12
  import { graphPointToOffsetPoint } from '../../../utils';
13
- import "./index.css";
13
+ import './index.less';
14
14
  import { tr } from '../../../../../framework/locale';
15
15
  export var EdgeContextMenu = function EdgeContextMenu(props) {
16
16
  var graph = props.graph,
@@ -11,7 +11,7 @@ import { ReloadOutlined } from '@ant-design/icons';
11
11
  import { useClickAway } from 'ahooks';
12
12
  import { graphPointToOffsetPoint } from '../../../utils';
13
13
  import { tr } from '../../../../../framework/locale';
14
- import "./index.css";
14
+ import './index.less';
15
15
  export var GraphContextMenu = function GraphContextMenu(props) {
16
16
  var graph = props.graph,
17
17
  data = props.data;
@@ -0,0 +1,40 @@
1
+ .graphContextMenu {
2
+ position: absolute;
3
+ z-index: 1;
4
+ background-color: #fff;
5
+ }
6
+
7
+ .loadExperimentModal {
8
+ :global {
9
+ .ant-modal-title {
10
+ font-size: 14px;
11
+ }
12
+
13
+ .ant-btn {
14
+ font-size: 12px;
15
+ }
16
+ }
17
+
18
+ .versionTable {
19
+ :global {
20
+ .ant-table.ant-table-small {
21
+ font-size: 12px;
22
+ }
23
+ }
24
+
25
+ .operations {
26
+ :global {
27
+ .ant-btn {
28
+ &:first-of-type {
29
+ padding-left: 0;
30
+ border-left: 0;
31
+ }
32
+
33
+ &.ant-btn-sm {
34
+ font-size: 12px;
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -7,7 +7,7 @@ import React from 'react';
7
7
  import { useClickAway } from 'ahooks';
8
8
  import { graphPointToOffsetPoint } from '../../../utils';
9
9
  import { tr } from '../../../../../framework/locale';
10
- import "./index.css";
10
+ import './index.less';
11
11
 
12
12
  var NodeContextMenu = function NodeContextMenu(props) {
13
13
  var graph = props.graph,
@@ -0,0 +1,42 @@
1
+ .graphContextMenu {
2
+ position: absolute;
3
+ z-index: 1;
4
+ width: 100px;
5
+ background-color: #fff;
6
+ box-shadow: 0 2px 10px rgb(0 0 0 1);
7
+ }
8
+
9
+ .loadExperimentModal {
10
+ :global {
11
+ .ant-modal-title {
12
+ font-size: 14px;
13
+ }
14
+
15
+ .ant-btn {
16
+ font-size: 12px;
17
+ }
18
+ }
19
+
20
+ .versionTable {
21
+ :global {
22
+ .ant-table.ant-table-small {
23
+ font-size: 12px;
24
+ }
25
+ }
26
+
27
+ .operations {
28
+ :global {
29
+ .ant-btn {
30
+ &:first-of-type {
31
+ padding-left: 0;
32
+ border-left: 0;
33
+ }
34
+
35
+ &.ant-btn-sm {
36
+ font-size: 12px;
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
@@ -9,7 +9,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
9
9
  * @LastEditTime: 2022-05-24 10:43:18
10
10
  */
11
11
  import { Shape, Edge } from '@antv/x6';
12
- import "./edge.css";
12
+ import './edge.less';
13
13
  export var BaseEdge = /*#__PURE__*/function (_Shape$Edge) {
14
14
  _inherits(BaseEdge, _Shape$Edge);
15
15
 
@@ -0,0 +1,8 @@
1
+ .x6-edge {
2
+ &-selected,
3
+ &:hover {
4
+ path[stroke-width='1'] {
5
+ stroke-width: 3px;
6
+ }
7
+ }
8
+ }
@@ -9,7 +9,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
9
9
  import React from 'react';
10
10
  import { filter } from 'rxjs';
11
11
  import { useDrop } from 'react-dnd';
12
- import "./index.css";
12
+ import './index.less';
13
13
  import './comps/shape/connector';
14
14
  import { useDPGraph, useUnmountDPGraph } from './graph';
15
15
  import { DRAGGABLE_COMPONENT, DRAGGABLE_MODEL } from './constant';
@@ -0,0 +1,198 @@
1
+ .node-element {
2
+ display: flex;
3
+ align-items: center;
4
+ box-sizing: border-box;
5
+ width: 180px;
6
+ height: 32px;
7
+ overflow: hidden;
8
+ background-color: var(--ronds-metadata-color-bg-4);
9
+ color: var(--ronds-metadata-color-text-1);
10
+ border-radius: 4px;
11
+ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
12
+
13
+ &.selected,
14
+ &:hover {
15
+ background-color: var(--ronds-metadata-color-bg-4);
16
+ color: var(--ronds-metadata-color-text-1);
17
+ border: 1px solid #1890ff;
18
+ box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
19
+
20
+ .icon {
21
+ width: 32px;
22
+ height: 30px;
23
+ margin: 0 1px 0 -1px;
24
+ }
25
+ }
26
+
27
+ & > * {
28
+ flex-grow: 1;
29
+ }
30
+
31
+ .icon {
32
+ display: inline-flex;
33
+ flex-grow: 0;
34
+ align-items: center;
35
+ justify-content: center;
36
+ width: 32px;
37
+ height: 32px;
38
+ background-color: var(--ronds-metadata-color-bg-2);
39
+ border-radius: 4px 0 0 4px;
40
+ }
41
+
42
+ .notation {
43
+ display: inline-flex;
44
+ align-items: center;
45
+ width: calc(100% - 32px);
46
+ padding: 0 8px;
47
+ user-select: none;
48
+
49
+ & > * {
50
+ flex-grow: 1;
51
+ }
52
+
53
+ .name {
54
+ overflow-x: hidden;
55
+ color: var(--ronds-metadata-color-text-1);
56
+ font-size: 12px;
57
+ white-space: nowrap;
58
+ text-overflow: ellipsis;
59
+ vertical-align: middle;
60
+ }
61
+
62
+ .statusIcon {
63
+ display: inline-flex;
64
+ flex-grow: 0;
65
+ align-items: center;
66
+ font-size: 14px;
67
+ transform: translateZ(0);
68
+ }
69
+ }
70
+ }
71
+
72
+ .dynamic-ports {
73
+ position: relative;
74
+ .x6-node [magnet='true'] {
75
+ cursor: crosshair;
76
+ transition: none;
77
+ }
78
+
79
+ .x6-node [magnet='true']:hover {
80
+ opacity: 1;
81
+ }
82
+
83
+ .x6-node [magnet='true'][port-group='in'] {
84
+ cursor: move;
85
+ stroke: none;
86
+ }
87
+
88
+ .x6-port-body > span {
89
+ display: block;
90
+ }
91
+
92
+ .x6-node-selected {
93
+ .node-element {
94
+ background-color: var(--ronds-metadata-color-bg-4);
95
+ border: 1px solid #1890ff;
96
+ box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
97
+ }
98
+ }
99
+
100
+ .dp-port {
101
+ width: 100%;
102
+ height: 100%;
103
+ border: 1px solid #808080;
104
+ border-radius: 100%;
105
+ background: #fff;
106
+ display: block;
107
+ }
108
+
109
+ .dp-port.connected {
110
+ width: 0;
111
+ height: 0;
112
+ margin-top: 3px;
113
+ margin-left: -1px;
114
+ border-width: 5px 4px 0;
115
+ border-style: solid;
116
+ border-color: #808080 transparent transparent;
117
+ border-radius: 0;
118
+ background-color: transparent;
119
+ }
120
+
121
+ .x6-port-body.available {
122
+ overflow: visible;
123
+ }
124
+
125
+ .x6-port-body.available body {
126
+ overflow: visible;
127
+ }
128
+
129
+ .x6-port-body.available span {
130
+ overflow: visible;
131
+ display: block;
132
+ }
133
+
134
+ .x6-port-body.available body > span::before {
135
+ content: ' ';
136
+ float: left;
137
+ width: 20px;
138
+ height: 20px;
139
+ margin-top: -6px;
140
+ margin-left: -6px;
141
+ border-radius: 50%;
142
+ background-color: rgba(57, 202, 116, 0.6);
143
+ box-sizing: border-box;
144
+ }
145
+
146
+ .x6-port-body.available body > span::after {
147
+ content: ' ';
148
+ float: left;
149
+ clear: both;
150
+ width: 10px;
151
+ height: 10px;
152
+ margin-top: -15px;
153
+ margin-left: -1px;
154
+ border-radius: 50%;
155
+ background-color: #fff;
156
+ border: 1px solid #39ca74;
157
+ // position: relative;
158
+ z-index: 10;
159
+ box-sizing: border-box;
160
+ // transform: translateZ(0);
161
+ // position: relative
162
+ }
163
+
164
+ .x6-port-body.adsorbed {
165
+ overflow: visible;
166
+ }
167
+
168
+ .x6-port-body.adsorbed body {
169
+ overflow: visible;
170
+ }
171
+
172
+ .x6-port-body.adsorbed body > span::before {
173
+ content: ' ';
174
+ float: left;
175
+ width: 28px;
176
+ height: 28px;
177
+ margin-top: -9px;
178
+ margin-left: -10px;
179
+ border-radius: 50%;
180
+ background-color: rgba(57, 202, 116, 0.6);
181
+ box-sizing: border-box;
182
+ }
183
+
184
+ .x6-port-body.adsorbed body > span::after {
185
+ content: ' ';
186
+ float: left;
187
+ clear: both;
188
+ width: 10px;
189
+ height: 10px;
190
+ margin-top: -19px;
191
+ border-radius: 50%;
192
+ background-color: #fff;
193
+ border: 1px solid #39ca74;
194
+ // position: relative;
195
+ z-index: 10;
196
+ box-sizing: border-box;
197
+ }
198
+ }
@@ -6,7 +6,7 @@ var _excluded = ["title", "isAddColumn", "editable", "record", "editableType", "
6
6
  import React from 'react';
7
7
  import { EditableContext } from '../interface';
8
8
  import { getDataCell, isFreeEditCell, isFreeEditRow } from '../utils';
9
- import "./index.css";
9
+ import './index.less';
10
10
  import Texty from './Texty';
11
11
  import { tr } from '../../../framework/locale';
12
12
 
@@ -15,7 +15,7 @@ import { PlusSquareOutlined, DeleteOutlined } from '@ant-design/icons';
15
15
  import React from 'react';
16
16
  import { EditableContext } from '../interface';
17
17
  import { tr } from '../../../framework/locale';
18
- import "./index.css";
18
+ import './index.less';
19
19
  import Texty from './Texty';
20
20
 
21
21
  var EditableHeardCell = function EditableHeardCell(props) {
@@ -9,7 +9,7 @@ var _excluded = ["tagName", "children", "placement", "innerRef", "showDelay", "h
9
9
  import React from 'react';
10
10
  import ReactDom from 'react-dom';
11
11
  import { Popper } from 'react-popper';
12
- import "./Texty.css";
12
+ import './Texty.less';
13
13
  var modifiers = [{
14
14
  name: 'preventOverflow',
15
15
  options: {
@@ -5,6 +5,7 @@
5
5
  text-overflow: ellipsis;
6
6
  white-space: nowrap;
7
7
  }
8
+
8
9
  [data-texty-tooltip] {
9
10
  margin: 6px 0;
10
11
  padding: 4px 10px;
@@ -13,6 +14,7 @@
13
14
  color: #fff;
14
15
  z-index: 99999;
15
16
  }
17
+
16
18
  [data-texty-arrow] {
17
19
  position: absolute;
18
20
  bottom: -6px;
@@ -22,11 +24,13 @@
22
24
  border-width: 6px 6px 0;
23
25
  border-color: #222 transparent transparent;
24
26
  }
27
+
25
28
  [data-texty-arrow*='bottom'] {
26
29
  top: -6px;
27
30
  bottom: inherit;
28
31
  transform: rotate(180deg);
29
32
  }
33
+
30
34
  /* disable the builtin tooltip for truncated text on Safari */
31
35
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
32
36
  @supports (not (-ms-ime-align: auto)) {
@@ -1,6 +1,7 @@
1
1
  .ant-table-th {
2
2
  position: relative;
3
3
  }
4
+
4
5
  .editable-th-hover-add {
5
6
  position: absolute;
6
7
  right: -3px;
@@ -11,15 +12,19 @@
11
12
  right: 15px;
12
13
  top: -8px;
13
14
  }
15
+
14
16
  .display-none {
15
17
  display: none;
16
18
  }
19
+
17
20
  .border-right {
18
21
  border-right: 1px solid var(--antd-wave-shadow-color) !important;
19
22
  }
23
+
20
24
  .border-top {
21
25
  border-top: 1px solid var(--antd-wave-shadow-color) !important;
22
26
  }
27
+
23
28
  .font-bold {
24
29
  font-weight: bold;
25
30
  }
@@ -19,7 +19,7 @@ import EditableHeardCell from './comps/EditableHeardCell';
19
19
  import useMemoSubject from '../../framework/rxjs-hooks/useMemoSubject';
20
20
  import useObservable from '../../framework/rxjs-hooks/useObservable';
21
21
  import { tr } from '../../framework/locale';
22
- import "./index.css";
22
+ import './index.less';
23
23
 
24
24
  var Editable = function Editable(props) {
25
25
  var _props$type = props.type,
@@ -0,0 +1,97 @@
1
+ .ronds-edit-table {
2
+ // table {
3
+ // border-collapse: collapse !important;
4
+ // }
5
+ width: 100%;
6
+ height: 100%;
7
+
8
+ .ant-table-body {
9
+ overflow: auto !important;
10
+ }
11
+
12
+ //解决固定列底部预留的空隙
13
+ .ant-table-fixed-left,
14
+ .ant-table-fixed-right {
15
+ .ant-table-body-outer {
16
+ margin-bottom: 0 !important;
17
+ }
18
+ .ant-table-cell-scrollbar {
19
+ margin: 0 !important;
20
+ padding: 0 !important;
21
+ }
22
+ }
23
+
24
+ .ant-spin-nested-loading,
25
+ .ant-spin-container,
26
+ .ant-table,
27
+ .ant-table-container,
28
+ .ant-table-content {
29
+ width: 100%;
30
+ height: 100%;
31
+ }
32
+
33
+ .ant-table-cell,
34
+ .ant-table-row {
35
+ height: 30px;
36
+ padding: 0px 8px !important;
37
+ }
38
+
39
+ .ant-table-body {
40
+ height: 100%;
41
+ overflow-y: auto !important;
42
+ }
43
+
44
+ .ant-table.ant-table-small .ant-table-thead > tr > th {
45
+ padding: 8px !important;
46
+ background-color: #ebebeb;
47
+ border-right: 1px solid #f2f2f2;
48
+ }
49
+
50
+ .ant-table-fixed {
51
+ table-layout: fixed;
52
+ }
53
+
54
+ .ant-table-tbody > tr > td {
55
+ word-wrap: break-word;
56
+ word-break: break-all;
57
+ }
58
+
59
+ .ant-table.ant-table-bordered > .ant-table-container {
60
+ border-bottom: 1px solid #f0f0f0;
61
+ }
62
+
63
+ .ant-table .ant-table-expanded-row-fixed {
64
+ padding: 0% !important;
65
+ margin: 0% !important;
66
+ }
67
+
68
+ .ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {
69
+ border-right: 0 !important;
70
+ }
71
+ }
72
+
73
+ .ronds-metadata-normal {
74
+ .ant-table {
75
+ border-right: 1px solid #f0f0f0 !important;
76
+
77
+ .ant-table-row--odd {
78
+ background-color: #ebebeb !important;
79
+ .ant-table-cell {
80
+ background-color: #ebebeb !important;
81
+ }
82
+ }
83
+
84
+ .ant-table-expanded-row-fixed::after {
85
+ border: 0 !important;
86
+ }
87
+
88
+ .ant-table-placeholder {
89
+ pointer-events: none;
90
+ background-color: #fff !important;
91
+ .ant-table-cell {
92
+ padding: 0 !important;
93
+ background-color: #fff !important;
94
+ }
95
+ }
96
+ }
97
+ }
@@ -22,7 +22,7 @@ import 'codemirror/addon/fold/comment-fold';
22
22
  import 'codemirror/addon/selection/active-line.js';
23
23
  import 'codemirror/addon/edit/closebrackets.js';
24
24
  import 'codemirror/addon/edit/matchbrackets.js';
25
- import "./index.css";
25
+ import './index.less';
26
26
  import { SQL_DICO } from './constant';
27
27
 
28
28
  var SqlEdit = function SqlEdit(props) {
@@ -7,6 +7,7 @@
7
7
  .sql {
8
8
  color: blue;
9
9
  }
10
+
10
11
  .sql:after {
11
12
  content: 'sql';
12
13
  padding-left: 20px;
@@ -14,6 +15,7 @@
14
15
  float: right;
15
16
  color: gray;
16
17
  }
18
+
17
19
  .table {
18
20
  color: blueviolet;
19
21
  }
@@ -24,6 +26,7 @@
24
26
  float: right;
25
27
  color: gray;
26
28
  }
29
+
27
30
  .column {
28
31
  color: brown;
29
32
  }
@@ -34,6 +37,7 @@
34
37
  float: right;
35
38
  color: gray;
36
39
  }
40
+
37
41
  .pf {
38
42
  color: cadetblue;
39
43
  }
@@ -44,8 +48,10 @@
44
48
  float: right;
45
49
  color: gray;
46
50
  }
51
+
47
52
  .CodeMirror {
48
53
  height: 100%;
54
+ // height: auto;
49
55
  min-height: 28px;
50
56
  font-size: 14px;
51
57
  direction: ltr;
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
2
  import React from 'react';
3
- import "./index.css";
3
+ import './index.less';
4
4
 
5
5
  var JsonView = function JsonView(props) {
6
6
  var json = props.json;