ronds-metadata 1.3.55 → 1.3.56
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +25 -25
- package/es/api/index.js +6 -4
- package/es/comps/CodeEdit/index.d.ts +2 -1
- package/es/comps/DataMine/Line.d.ts +2 -1
- package/es/comps/DataMine/Line.js +0 -1
- package/es/comps/DataMine/index.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
- package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
- package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
- package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
- package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +2 -1
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
- package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
- package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
- package/es/comps/DynamicPorts/comps/shape/node.js +8 -9
- package/es/comps/DynamicPorts/graph.js +5 -4
- package/es/comps/DynamicPorts/index.d.ts +2 -1
- package/es/comps/DynamicPorts/index.less +307 -307
- package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
- package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
- package/es/comps/Editable/DataCell/Input.d.ts +1 -1
- package/es/comps/Editable/DataCell/Number.d.ts +1 -1
- package/es/comps/Editable/DataCell/Select.d.ts +1 -1
- package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
- package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
- package/es/comps/Editable/comps/EditableAction.d.ts +2 -1
- package/es/comps/Editable/comps/Texty.d.ts +1 -1
- package/es/comps/Editable/comps/Texty.js +5 -4
- package/es/comps/Editable/comps/Texty.less +43 -43
- package/es/comps/Editable/comps/index.less +38 -38
- package/es/comps/Editable/index.d.ts +2 -1
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/utils.d.ts +2 -1
- package/es/comps/FileView/index.d.ts +2 -1
- package/es/comps/FileView/index.js +2 -3
- package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
- package/es/comps/FormGenerator/comps/Canvas/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Settings/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Settings/index.js +1 -2
- package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +2 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.d.ts +2 -1
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/JsonEdit/index.d.ts +2 -1
- package/es/comps/JsonEdit/index.js +0 -1
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.d.ts +2 -1
- package/es/comps/MdEdit/index.d.ts +2 -1
- package/es/comps/MdEditPro/index.d.ts +2 -1
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdEditPro/index2.d.ts +1 -1
- package/es/comps/MdNavbar/index.d.ts +2 -1
- package/es/comps/MdNavbar/index.less +77 -77
- package/es/comps/MdView/index.d.ts +1 -1
- package/es/comps/MdView/index.less +376 -376
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +2 -1
- package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +2 -1
- package/es/comps/MetadataEdit/constant/index.js +0 -2
- package/es/comps/MetadataEdit/index.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.js +15 -4
- package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.js +6 -4
- package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/IconButton.d.ts +8 -0
- package/es/comps/MetadataForm/DataCell/plugin/IconButton.js +16 -0
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +12 -0
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +116 -0
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.js +3 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +11 -0
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +249 -0
- package/es/comps/MetadataForm/HOC/index.d.ts +2 -1
- package/es/comps/MetadataForm/index.d.ts +2 -1
- package/es/comps/MetadataForm/index.less +26 -26
- package/es/comps/MetadataForm/utils.d.ts +3 -2
- package/es/comps/Split/index.d.ts +1 -1
- package/es/comps/Split/index.less +29 -29
- package/es/framework/RxStore/demo/index.d.ts +2 -1
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/msgpack5/lib/helpers.js +0 -1
- package/es/framework/libs/iconfont/iconfont.css +323 -323
- package/es/framework/libs/iconfont/iconfont.json +548 -548
- package/es/framework/libs/jquery.min.js +4 -4
- package/es/framework/locale/dil8/di18n.js +5 -3
- package/es/framework/metadata/MetadataService.js +14 -14
- package/es/framework/metadata/index.js +14 -15
- package/es/framework/metadata/types.d.ts +103 -103
- package/es/theme.less +81 -81
- package/package.json +1 -1
@@ -1,21 +1,21 @@
|
|
1
|
-
.fg-sidebar {
|
2
|
-
height: 100%;
|
3
|
-
position: relative;
|
4
|
-
|
5
|
-
&-bottom-tool {
|
6
|
-
position: absolute;
|
7
|
-
display: flex;
|
8
|
-
left: 0;
|
9
|
-
right: 0;
|
10
|
-
align-items: center;
|
11
|
-
bottom: 0;
|
12
|
-
cursor: pointer;
|
13
|
-
.ant-radio-group {
|
14
|
-
width: 100%;
|
15
|
-
.ant-radio-button-wrapper {
|
16
|
-
width: 50%;
|
17
|
-
text-align: center;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
1
|
+
.fg-sidebar {
|
2
|
+
height: 100%;
|
3
|
+
position: relative;
|
4
|
+
|
5
|
+
&-bottom-tool {
|
6
|
+
position: absolute;
|
7
|
+
display: flex;
|
8
|
+
left: 0;
|
9
|
+
right: 0;
|
10
|
+
align-items: center;
|
11
|
+
bottom: 0;
|
12
|
+
cursor: pointer;
|
13
|
+
.ant-radio-group {
|
14
|
+
width: 100%;
|
15
|
+
.ant-radio-button-wrapper {
|
16
|
+
width: 50%;
|
17
|
+
text-align: center;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './index.less';
|
2
3
|
interface IFormGeneratorProps {
|
3
4
|
/**
|
@@ -6,5 +7,5 @@ interface IFormGeneratorProps {
|
|
6
7
|
defaultSchema?: any;
|
7
8
|
onImportSchema?: () => void;
|
8
9
|
}
|
9
|
-
declare const FormGenerator: (props: IFormGeneratorProps) => JSX.Element;
|
10
|
+
declare const FormGenerator: (props: IFormGeneratorProps) => React.JSX.Element;
|
10
11
|
export default FormGenerator;
|
@@ -1,20 +1,20 @@
|
|
1
|
-
.form-generator-container {
|
2
|
-
width: 100%;
|
3
|
-
height: 100%;
|
4
|
-
|
5
|
-
.ant-tabs {
|
6
|
-
height: 100%;
|
7
|
-
.ant-tabs-nav {
|
8
|
-
margin: 0px 0 8px 0;
|
9
|
-
}
|
10
|
-
.ant-tabs-content-holder {
|
11
|
-
height: calc(100% - 50px);
|
12
|
-
.ant-tabs-content {
|
13
|
-
height: 100%;
|
14
|
-
padding: 8px;
|
15
|
-
overflow-y: auto;
|
16
|
-
overflow-x: hidden;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
1
|
+
.form-generator-container {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
|
5
|
+
.ant-tabs {
|
6
|
+
height: 100%;
|
7
|
+
.ant-tabs-nav {
|
8
|
+
margin: 0px 0 8px 0;
|
9
|
+
}
|
10
|
+
.ant-tabs-content-holder {
|
11
|
+
height: calc(100% - 50px);
|
12
|
+
.ant-tabs-content {
|
13
|
+
height: 100%;
|
14
|
+
padding: 8px;
|
15
|
+
overflow-y: auto;
|
16
|
+
overflow-x: hidden;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import 'codemirror/lib/codemirror.css';
|
2
3
|
import 'codemirror/theme/neo.css';
|
3
4
|
import 'codemirror/theme/panda-syntax.css';
|
@@ -65,5 +66,5 @@ interface ISqlEditProps {
|
|
65
66
|
*/
|
66
67
|
onReWriteEnter?: () => void;
|
67
68
|
}
|
68
|
-
declare const SqlEdit: (props: ISqlEditProps) => JSX.Element;
|
69
|
+
declare const SqlEdit: (props: ISqlEditProps) => React.JSX.Element;
|
69
70
|
export default SqlEdit;
|
@@ -1,64 +1,64 @@
|
|
1
|
-
.my-txt {
|
2
|
-
width: 100%;
|
3
|
-
height: 100%;
|
4
|
-
border: 0;
|
5
|
-
outline: none;
|
6
|
-
}
|
7
|
-
.sql {
|
8
|
-
color: blue;
|
9
|
-
}
|
10
|
-
|
11
|
-
.sql:after {
|
12
|
-
content: 'sql';
|
13
|
-
padding-left: 20px;
|
14
|
-
font-style: italic;
|
15
|
-
float: right;
|
16
|
-
color: gray;
|
17
|
-
}
|
18
|
-
|
19
|
-
.table {
|
20
|
-
color: blueviolet;
|
21
|
-
}
|
22
|
-
.table:after {
|
23
|
-
content: 'table';
|
24
|
-
padding-left: 20px;
|
25
|
-
font-style: italic;
|
26
|
-
float: right;
|
27
|
-
color: gray;
|
28
|
-
}
|
29
|
-
|
30
|
-
.column {
|
31
|
-
color: brown;
|
32
|
-
}
|
33
|
-
.column:after {
|
34
|
-
content: 'column';
|
35
|
-
padding-left: 20px;
|
36
|
-
font-style: italic;
|
37
|
-
float: right;
|
38
|
-
color: gray;
|
39
|
-
}
|
40
|
-
|
41
|
-
.pf {
|
42
|
-
color: cadetblue;
|
43
|
-
}
|
44
|
-
.pf:after {
|
45
|
-
content: 'procfunc';
|
46
|
-
padding-left: 20px;
|
47
|
-
font-style: italic;
|
48
|
-
float: right;
|
49
|
-
color: gray;
|
50
|
-
}
|
51
|
-
|
52
|
-
.CodeMirror {
|
53
|
-
height: 100%;
|
54
|
-
// height: auto;
|
55
|
-
min-height: 28px;
|
56
|
-
font-size: 14px;
|
57
|
-
direction: ltr;
|
58
|
-
}
|
59
|
-
.CodeMirror-scroll {
|
60
|
-
overflow-x: hidden !important;
|
61
|
-
}
|
62
|
-
.CodeMirror-sizer {
|
63
|
-
margin-bottom: 0px !important;
|
64
|
-
}
|
1
|
+
.my-txt {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
border: 0;
|
5
|
+
outline: none;
|
6
|
+
}
|
7
|
+
.sql {
|
8
|
+
color: blue;
|
9
|
+
}
|
10
|
+
|
11
|
+
.sql:after {
|
12
|
+
content: 'sql';
|
13
|
+
padding-left: 20px;
|
14
|
+
font-style: italic;
|
15
|
+
float: right;
|
16
|
+
color: gray;
|
17
|
+
}
|
18
|
+
|
19
|
+
.table {
|
20
|
+
color: blueviolet;
|
21
|
+
}
|
22
|
+
.table:after {
|
23
|
+
content: 'table';
|
24
|
+
padding-left: 20px;
|
25
|
+
font-style: italic;
|
26
|
+
float: right;
|
27
|
+
color: gray;
|
28
|
+
}
|
29
|
+
|
30
|
+
.column {
|
31
|
+
color: brown;
|
32
|
+
}
|
33
|
+
.column:after {
|
34
|
+
content: 'column';
|
35
|
+
padding-left: 20px;
|
36
|
+
font-style: italic;
|
37
|
+
float: right;
|
38
|
+
color: gray;
|
39
|
+
}
|
40
|
+
|
41
|
+
.pf {
|
42
|
+
color: cadetblue;
|
43
|
+
}
|
44
|
+
.pf:after {
|
45
|
+
content: 'procfunc';
|
46
|
+
padding-left: 20px;
|
47
|
+
font-style: italic;
|
48
|
+
float: right;
|
49
|
+
color: gray;
|
50
|
+
}
|
51
|
+
|
52
|
+
.CodeMirror {
|
53
|
+
height: 100%;
|
54
|
+
// height: auto;
|
55
|
+
min-height: 28px;
|
56
|
+
font-size: 14px;
|
57
|
+
direction: ltr;
|
58
|
+
}
|
59
|
+
.CodeMirror-scroll {
|
60
|
+
overflow-x: hidden !important;
|
61
|
+
}
|
62
|
+
.CodeMirror-sizer {
|
63
|
+
margin-bottom: 0px !important;
|
64
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import 'react-markdown-editor-lite/lib/index.css';
|
2
3
|
import { UploadFunc } from 'react-markdown-editor-lite/cjs/share/var';
|
3
4
|
import './index.less';
|
@@ -12,5 +13,5 @@ interface IMdEditProps {
|
|
12
13
|
text?: string;
|
13
14
|
}>;
|
14
15
|
}
|
15
|
-
declare const MdEdit: (props: IMdEditProps) => JSX.Element;
|
16
|
+
declare const MdEdit: (props: IMdEditProps) => React.JSX.Element;
|
16
17
|
export default MdEdit;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './index.less';
|
2
3
|
interface IMdEditProProps {
|
3
4
|
value: string;
|
@@ -6,5 +7,5 @@ interface IMdEditProProps {
|
|
6
7
|
default: string;
|
7
8
|
}>;
|
8
9
|
}
|
9
|
-
declare const MdEditPro: (props: IMdEditProProps) => JSX.Element;
|
10
|
+
declare const MdEditPro: (props: IMdEditProProps) => React.JSX.Element;
|
10
11
|
export default MdEditPro;
|
@@ -1,166 +1,166 @@
|
|
1
|
-
/* ---- Cross-editor content styles. --------------------------------------------------------------- */
|
2
|
-
// .ck .ck-editor__top {
|
3
|
-
// position: fixed;
|
4
|
-
// z-index: 1000;
|
5
|
-
// }
|
6
|
-
.ck-editor {
|
7
|
-
height: 100% !important;
|
8
|
-
}
|
9
|
-
.ck .ck-editor__main {
|
10
|
-
height: calc(100% - 40px);
|
11
|
-
}
|
12
|
-
|
13
|
-
.ck.ck-content:not(.ck-style-grid__button__preview) {
|
14
|
-
/* Make sure all content containers have some min height to make them easier to locate. */
|
15
|
-
min-height: 300px;
|
16
|
-
height: 100%;
|
17
|
-
padding: 10px 20px;
|
18
|
-
overflow-y: auto;
|
19
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
20
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
21
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
22
|
-
}
|
23
|
-
.ck .ck-editor {
|
24
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
25
|
-
}
|
26
|
-
|
27
|
-
.ck-content pre {
|
28
|
-
background-color: var(--ronds-metadata-color-bg-2) !important;
|
29
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
30
|
-
}
|
31
|
-
|
32
|
-
.ck.ck-toolbar,
|
33
|
-
.ck .ck-editor__top {
|
34
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
35
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
36
|
-
}
|
37
|
-
|
38
|
-
.ck .ck-toolbar {
|
39
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
40
|
-
}
|
41
|
-
|
42
|
-
.ck .ck-list {
|
43
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
44
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
45
|
-
}
|
46
|
-
|
47
|
-
.ck.ck-button,
|
48
|
-
.ck .ck-button__label,
|
49
|
-
.ck .ck-toolbar__items {
|
50
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
51
|
-
}
|
52
|
-
|
53
|
-
.ck .ck-toolbar__separator {
|
54
|
-
background-color: var(--ronds-metadata-color-border-1) !important;
|
55
|
-
}
|
56
|
-
|
57
|
-
/* Make sure all content containers are distinguishable on a web page even of not focused. */
|
58
|
-
.ck.ck-content:not(:focus) {
|
59
|
-
border: 1px solid var(--ck-color-base-border);
|
60
|
-
}
|
61
|
-
|
62
|
-
/* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
|
63
|
-
.ck-content h1 {
|
64
|
-
font-size: 28px;
|
65
|
-
}
|
66
|
-
.ck-content h2 {
|
67
|
-
font-size: 18px;
|
68
|
-
}
|
69
|
-
.ck-content h3 {
|
70
|
-
font-size: 16px;
|
71
|
-
}
|
72
|
-
.ck-content h4 {
|
73
|
-
font-size: 15px;
|
74
|
-
}
|
75
|
-
.ck-content h5 {
|
76
|
-
font-size: 15px;
|
77
|
-
}
|
78
|
-
.ck-content h6 {
|
79
|
-
font-size: 15px;
|
80
|
-
}
|
81
|
-
.ck-content h1,
|
82
|
-
.ck-content h2,
|
83
|
-
.ck-content h3,
|
84
|
-
.ck-content h4,
|
85
|
-
.ck-content h5,
|
86
|
-
.ck-content h6 {
|
87
|
-
color: var(--ronds-metadata-color-text-2) !important;
|
88
|
-
margin: 42px 0 18px;
|
89
|
-
font-weight: 600;
|
90
|
-
line-height: 1.40625;
|
91
|
-
}
|
92
|
-
.ck-content blockquote,
|
93
|
-
.ck-content ol,
|
94
|
-
.ck-content p,
|
95
|
-
.ck-content ul {
|
96
|
-
font-size: 15px;
|
97
|
-
line-height: 1.40625;
|
98
|
-
padding-top: 10px;
|
99
|
-
margin-bottom: var(--ck-spacing-large);
|
100
|
-
}
|
101
|
-
|
102
|
-
// .ck-content ol,
|
103
|
-
// .ck-content ul {
|
104
|
-
// margin-left: 10px !important;
|
105
|
-
// }
|
106
|
-
|
107
|
-
.ck-content ul li {
|
108
|
-
list-style: disc !important;
|
109
|
-
}
|
110
|
-
|
111
|
-
.ck-content ol li {
|
112
|
-
list-style: decimal !important;
|
113
|
-
}
|
114
|
-
|
115
|
-
.ck.ck-content.ck-editor__editable_inline > :first-child {
|
116
|
-
margin-top: 0;
|
117
|
-
}
|
118
|
-
|
119
|
-
.ck-content .table {
|
120
|
-
width: 100%;
|
121
|
-
margin: 0px !important;
|
122
|
-
}
|
123
|
-
.ck-content .image {
|
124
|
-
margin: 0px !important;
|
125
|
-
}
|
126
|
-
|
127
|
-
.ronds-metadata-dark {
|
128
|
-
.ck {
|
129
|
-
.table {
|
130
|
-
width: 100%;
|
131
|
-
}
|
132
|
-
th {
|
133
|
-
background-color: #0d1f40 !important;
|
134
|
-
}
|
135
|
-
table,
|
136
|
-
.ck-content .table table td,
|
137
|
-
.ck-content .table table th {
|
138
|
-
color: #9b9fa8 !important;
|
139
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
140
|
-
}
|
141
|
-
code {
|
142
|
-
color: #9b9fa8 !important;
|
143
|
-
}
|
144
|
-
code[class*='language-'],
|
145
|
-
pre[class*='language-'] {
|
146
|
-
text-shadow: none;
|
147
|
-
}
|
148
|
-
.ck.ck-button:hover,
|
149
|
-
a.ck.ck-button:hover {
|
150
|
-
background-color: #1d4085 !important;
|
151
|
-
}
|
152
|
-
.ck .ck-on {
|
153
|
-
color: var(--ck-color-button-on-color) !important;
|
154
|
-
background-color: #1d4085 !important;
|
155
|
-
}
|
156
|
-
.ck-dropdown__panel {
|
157
|
-
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
158
|
-
background-color: var(--ronds-metadata-color-bg-5) !important;
|
159
|
-
}
|
160
|
-
.ck .ck-form__header__label,
|
161
|
-
.ck-character-info__name,
|
162
|
-
.ck-special-characters-navigation {
|
163
|
-
color: var(--ck-color-button-on-color) !important;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
1
|
+
/* ---- Cross-editor content styles. --------------------------------------------------------------- */
|
2
|
+
// .ck .ck-editor__top {
|
3
|
+
// position: fixed;
|
4
|
+
// z-index: 1000;
|
5
|
+
// }
|
6
|
+
.ck-editor {
|
7
|
+
height: 100% !important;
|
8
|
+
}
|
9
|
+
.ck .ck-editor__main {
|
10
|
+
height: calc(100% - 40px);
|
11
|
+
}
|
12
|
+
|
13
|
+
.ck.ck-content:not(.ck-style-grid__button__preview) {
|
14
|
+
/* Make sure all content containers have some min height to make them easier to locate. */
|
15
|
+
min-height: 300px;
|
16
|
+
height: 100%;
|
17
|
+
padding: 10px 20px;
|
18
|
+
overflow-y: auto;
|
19
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
20
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
21
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
22
|
+
}
|
23
|
+
.ck .ck-editor {
|
24
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
25
|
+
}
|
26
|
+
|
27
|
+
.ck-content pre {
|
28
|
+
background-color: var(--ronds-metadata-color-bg-2) !important;
|
29
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
.ck.ck-toolbar,
|
33
|
+
.ck .ck-editor__top {
|
34
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
35
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
.ck .ck-toolbar {
|
39
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
40
|
+
}
|
41
|
+
|
42
|
+
.ck .ck-list {
|
43
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
44
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
.ck.ck-button,
|
48
|
+
.ck .ck-button__label,
|
49
|
+
.ck .ck-toolbar__items {
|
50
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
.ck .ck-toolbar__separator {
|
54
|
+
background-color: var(--ronds-metadata-color-border-1) !important;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Make sure all content containers are distinguishable on a web page even of not focused. */
|
58
|
+
.ck.ck-content:not(:focus) {
|
59
|
+
border: 1px solid var(--ck-color-base-border);
|
60
|
+
}
|
61
|
+
|
62
|
+
/* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
|
63
|
+
.ck-content h1 {
|
64
|
+
font-size: 28px;
|
65
|
+
}
|
66
|
+
.ck-content h2 {
|
67
|
+
font-size: 18px;
|
68
|
+
}
|
69
|
+
.ck-content h3 {
|
70
|
+
font-size: 16px;
|
71
|
+
}
|
72
|
+
.ck-content h4 {
|
73
|
+
font-size: 15px;
|
74
|
+
}
|
75
|
+
.ck-content h5 {
|
76
|
+
font-size: 15px;
|
77
|
+
}
|
78
|
+
.ck-content h6 {
|
79
|
+
font-size: 15px;
|
80
|
+
}
|
81
|
+
.ck-content h1,
|
82
|
+
.ck-content h2,
|
83
|
+
.ck-content h3,
|
84
|
+
.ck-content h4,
|
85
|
+
.ck-content h5,
|
86
|
+
.ck-content h6 {
|
87
|
+
color: var(--ronds-metadata-color-text-2) !important;
|
88
|
+
margin: 42px 0 18px;
|
89
|
+
font-weight: 600;
|
90
|
+
line-height: 1.40625;
|
91
|
+
}
|
92
|
+
.ck-content blockquote,
|
93
|
+
.ck-content ol,
|
94
|
+
.ck-content p,
|
95
|
+
.ck-content ul {
|
96
|
+
font-size: 15px;
|
97
|
+
line-height: 1.40625;
|
98
|
+
padding-top: 10px;
|
99
|
+
margin-bottom: var(--ck-spacing-large);
|
100
|
+
}
|
101
|
+
|
102
|
+
// .ck-content ol,
|
103
|
+
// .ck-content ul {
|
104
|
+
// margin-left: 10px !important;
|
105
|
+
// }
|
106
|
+
|
107
|
+
.ck-content ul li {
|
108
|
+
list-style: disc !important;
|
109
|
+
}
|
110
|
+
|
111
|
+
.ck-content ol li {
|
112
|
+
list-style: decimal !important;
|
113
|
+
}
|
114
|
+
|
115
|
+
.ck.ck-content.ck-editor__editable_inline > :first-child {
|
116
|
+
margin-top: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
.ck-content .table {
|
120
|
+
width: 100%;
|
121
|
+
margin: 0px !important;
|
122
|
+
}
|
123
|
+
.ck-content .image {
|
124
|
+
margin: 0px !important;
|
125
|
+
}
|
126
|
+
|
127
|
+
.ronds-metadata-dark {
|
128
|
+
.ck {
|
129
|
+
.table {
|
130
|
+
width: 100%;
|
131
|
+
}
|
132
|
+
th {
|
133
|
+
background-color: #0d1f40 !important;
|
134
|
+
}
|
135
|
+
table,
|
136
|
+
.ck-content .table table td,
|
137
|
+
.ck-content .table table th {
|
138
|
+
color: #9b9fa8 !important;
|
139
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
140
|
+
}
|
141
|
+
code {
|
142
|
+
color: #9b9fa8 !important;
|
143
|
+
}
|
144
|
+
code[class*='language-'],
|
145
|
+
pre[class*='language-'] {
|
146
|
+
text-shadow: none;
|
147
|
+
}
|
148
|
+
.ck.ck-button:hover,
|
149
|
+
a.ck.ck-button:hover {
|
150
|
+
background-color: #1d4085 !important;
|
151
|
+
}
|
152
|
+
.ck .ck-on {
|
153
|
+
color: var(--ck-color-button-on-color) !important;
|
154
|
+
background-color: #1d4085 !important;
|
155
|
+
}
|
156
|
+
.ck-dropdown__panel {
|
157
|
+
border: 1px solid var(--ronds-metadata-color-border-1) !important;
|
158
|
+
background-color: var(--ronds-metadata-color-bg-5) !important;
|
159
|
+
}
|
160
|
+
.ck .ck-form__header__label,
|
161
|
+
.ck-character-info__name,
|
162
|
+
.ck-special-characters-navigation {
|
163
|
+
color: var(--ck-color-button-on-color) !important;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import './index.less';
|
2
3
|
interface IMdNavbarProps {
|
3
4
|
source: string;
|
@@ -9,5 +10,5 @@ interface IMdNavbarProps {
|
|
9
10
|
onNavItemClick?: (event: any, element: HTMLDivElement, hashValue: string) => void;
|
10
11
|
onHashChange?: (newHash: string, oldHash: string) => void;
|
11
12
|
}
|
12
|
-
declare const MdNavbar: (props: IMdNavbarProps) => JSX.Element;
|
13
|
+
declare const MdNavbar: (props: IMdNavbarProps) => React.JSX.Element;
|
13
14
|
export default MdNavbar;
|