@voplus/morpho-document 6.0.65 → 6.0.66
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.
- package/es/components/DocumentTabs/index.less +2 -2
- package/es/pages/TreeViewPage/index.less +0 -26
- package/package.json +1 -1
- package/es/controls/RelatedDocument/index.d.ts +0 -5
- package/es/controls/RelatedDocument/index.js +0 -16
- package/es/controls/RelatedDocument/index.js.map +0 -1
- package/es/controls/RelatedDocument/index.less +0 -12
|
@@ -2,30 +2,4 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
|
5
|
-
:global {
|
|
6
|
-
.list-view-header {
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-items: center;
|
|
10
|
-
padding: 10px 20px;
|
|
11
|
-
border-bottom: 1px solid #f2f2f2;
|
|
12
|
-
.view-title {
|
|
13
|
-
color: #000;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
}
|
|
17
|
-
.plus-icon {
|
|
18
|
-
display: inline-block;
|
|
19
|
-
padding: 4px;
|
|
20
|
-
margin-left: 10px;
|
|
21
|
-
font-size: 13px;
|
|
22
|
-
line-height: 1px;
|
|
23
|
-
background: #1abc9c;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
.margin-left-10 {
|
|
27
|
-
margin-left: 10px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
5
|
}
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { useMemo } from "react";
|
|
2
|
-
import { observe } from "@voplus/morpho-ui";
|
|
3
|
-
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
4
|
-
import { SendFormContext, SendFormContextData, } from "@voplus/morpho-document-core/es/data/context/SendFormContext";
|
|
5
|
-
import Scrollbars from "react-custom-scrollbars-2";
|
|
6
|
-
import styles from "./index.less";
|
|
7
|
-
const RelatedDocument = (props) => {
|
|
8
|
-
const view = useMemo(() => new ViewContextData("PropertiesView"), []);
|
|
9
|
-
const openType = useMemo(() => new SendFormContextData("Dialog"), []);
|
|
10
|
-
return observe(() => (React.createElement(SendFormContext.Provider, { value: openType },
|
|
11
|
-
React.createElement(ViewContext.Provider, { value: view },
|
|
12
|
-
React.createElement(Scrollbars, { autoHide: true },
|
|
13
|
-
React.createElement("div", { className: styles["realted-document"] }, props.children))))));
|
|
14
|
-
};
|
|
15
|
-
export default RelatedDocument;
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/RelatedDocument/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACN,eAAe,EACf,mBAAmB,GACnB,MAAM,8DAA8D,CAAC;AACtE,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,eAAe,GAAG,CAAC,KAAoC,EAAE,EAAE;IAChE,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,QAAQ;QACxC,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;YAChC,oBAAC,UAAU,IAAC,QAAQ;gBACnB,6BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC,IAAG,KAAK,CAAC,QAAQ,CAAO,CACtD,CACS,CACG,CAC3B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|