@voplus/morpho-document 6.1.88 → 6.1.90
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/Modules.js +1 -1
- package/es/components/DocumentTabs/index.d.ts +1 -0
- package/es/components/DocumentTabs/index.js +3 -3
- package/es/components/DocumentTabs/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionItem/index.d.ts +1 -0
- package/es/modules/action-plan/components/ActionItem/index.js +4 -3
- package/es/modules/action-plan/components/ActionItem/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionList/index.js +34 -31
- package/es/modules/action-plan/components/ActionList/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionPlanItem/index.js +2 -3
- package/es/modules/action-plan/components/ActionPlanItem/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionPlanProperties/index.d.ts +0 -1
- package/es/modules/action-plan/components/ActionPlanProperties/index.js +3 -12
- package/es/modules/action-plan/components/ActionPlanProperties/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionPlanPropertiesView/index.js +4 -4
- package/es/modules/action-plan/components/ActionPlanPropertiesView/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionPlanTabs/index.d.ts +1 -0
- package/es/modules/action-plan/components/ActionPlanTabs/index.js +11 -2
- package/es/modules/action-plan/components/ActionPlanTabs/index.js.map +1 -1
- package/es/modules/action-plan/components/ActionQuickViewDialog/index.d.ts +9 -0
- package/es/modules/action-plan/components/ActionQuickViewDialog/index.js +33 -0
- package/es/modules/action-plan/components/ActionQuickViewDialog/index.js.map +1 -0
- package/es/modules/action-plan/components/ActionQuickViewDialog/index.less +15 -0
- package/es/modules/action-plan/pages/ActionPlanDefaultView/index.js +7 -4
- package/es/modules/action-plan/pages/ActionPlanDefaultView/index.js.map +1 -1
- package/es/modules/action-plan-template/components/ActionPlanTemplateProperties/index.d.ts +0 -1
- package/es/modules/action-plan-template/components/ActionPlanTemplateProperties/index.js +2 -14
- package/es/modules/action-plan-template/components/ActionPlanTemplateProperties/index.js.map +1 -1
- package/es/modules/document-register/components/DocumentRegisterItem/index.js +3 -20
- package/es/modules/document-register/components/DocumentRegisterItem/index.js.map +1 -1
- package/es/modules/document-register/components/DocumentRegisterProperties/index.d.ts +0 -1
- package/es/modules/document-register/components/DocumentRegisterProperties/index.js +2 -10
- package/es/modules/document-register/components/DocumentRegisterProperties/index.js.map +1 -1
- package/es/modules/message-template/components/MessageTemplateItem/index.js +3 -19
- package/es/modules/message-template/components/MessageTemplateItem/index.js.map +1 -1
- package/es/modules/message-template/components/MessageTemplateProperties/index.d.ts +0 -1
- package/es/modules/message-template/components/MessageTemplateProperties/index.js +1 -3
- package/es/modules/message-template/components/MessageTemplateProperties/index.js.map +1 -1
- package/es/modules/registered-document/components/RegisteredDocumentItem/index.js +3 -20
- package/es/modules/registered-document/components/RegisteredDocumentItem/index.js.map +1 -1
- package/es/modules/registered-document/components/RegisteredDocumentProperties/index.d.ts +0 -1
- package/es/modules/registered-document/components/RegisteredDocumentProperties/index.js +2 -5
- package/es/modules/registered-document/components/RegisteredDocumentProperties/index.js.map +1 -1
- package/es/modules/tenant-service/components/TenantServiceProperties/index.d.ts +0 -1
- package/es/modules/tenant-service/components/TenantServiceProperties/index.js +2 -10
- package/es/modules/tenant-service/components/TenantServiceProperties/index.js.map +1 -1
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.d.ts +0 -1
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.js +2 -10
- package/es/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.js.map +1 -1
- package/es/pages/Signature/Envelope/components/EnvelopeProperties/index.d.ts +0 -1
- package/es/pages/Signature/Envelope/components/EnvelopeProperties/index.js +2 -5
- package/es/pages/Signature/Envelope/components/EnvelopeProperties/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/document-register/components/DocumentRegisterItem/index.less +0 -45
- package/es/modules/message-template/components/MessageTemplateItem/index.less +0 -32
- package/es/modules/registered-document/components/RegisteredDocumentItem/index.less +0 -45
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import
|
|
3
|
-
import DocumentHeader from "../../../../components/DocumentHeader";
|
|
4
|
-
import { Open } from "../../../../controls/ToolBar/buttons";
|
|
5
|
-
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
6
|
-
import classnames from "classnames";
|
|
1
|
+
import React from "react";
|
|
2
|
+
import DocumentItem from "../../../../components/DocumentItem/DocumentItem2";
|
|
7
3
|
import { observe } from "@voplus/morpho-ui";
|
|
8
|
-
import styles from "./index.less";
|
|
9
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
10
4
|
const DocumentRegisterItem = (props) => {
|
|
11
5
|
const { id } = props;
|
|
12
|
-
|
|
13
|
-
const documentRegister = useDocumentRegister(id);
|
|
14
|
-
const store = useDocumentRegisterStore();
|
|
15
|
-
const [hover, setHover] = useState(false);
|
|
16
|
-
return observe(() => (React.createElement(DocumentHeader, { id: documentRegister.id, clickNameEffect: "default", quickDataBarAlign: "left",
|
|
17
|
-
// tagsVisible={!!documentRegister.tags?.length}
|
|
18
|
-
className: styles["document-register-item"], onMouse: (over) => setHover(over), tools: React.createElement(React.Fragment, null,
|
|
19
|
-
React.createElement("div", { className: classnames("hover-operate-icon", { show: hover }) },
|
|
20
|
-
React.createElement(ToolBar, { id: id, moreProps: {
|
|
21
|
-
buttonProps: { size: "middle" },
|
|
22
|
-
} },
|
|
23
|
-
React.createElement(Open, { size: "middle", url: meta.getRoute(documentRegister) })))) })));
|
|
6
|
+
return observe(() => React.createElement(DocumentItem, { id: id }));
|
|
24
7
|
};
|
|
25
8
|
export default DocumentRegisterItem;
|
|
26
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document-register/components/DocumentRegisterItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document-register/components/DocumentRegisterItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,oBAAoB,GAAG,CAAC,KAAiC,EAAE,EAAE;IAClE,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC,CAAC;AAChD,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,22 +1,14 @@
|
|
|
1
|
-
import { useDocumentRegisterStore } from "../../../../data/document-register";
|
|
2
1
|
import DocumentProperties from "../../../../components/DocumentProperties";
|
|
3
|
-
import DocumentPropertiesHeader from "../../../../components/DocumentPropertiesHeader";
|
|
4
2
|
import DescriptionEditor from "../../../../controls/DescriptionEditor2";
|
|
5
|
-
import { useDocument } from "@voplus/morpho-document-core";
|
|
6
3
|
import React from "react";
|
|
7
4
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
8
5
|
import { observe } from "@voplus/morpho-ui";
|
|
9
|
-
import classnames from "classnames";
|
|
10
6
|
const DocumentRegisterProperties = (props) => {
|
|
11
7
|
/** 加class name 为了方便做integration tests */
|
|
12
8
|
const classId = "documentRegister-properties";
|
|
13
|
-
const { id,
|
|
14
|
-
// const documentRegister = useDocumentRegister(id, { includes: "tags" });
|
|
15
|
-
const documentRegister = useDocument(id, { includes: "tags" });
|
|
16
|
-
const store = useDocumentRegisterStore();
|
|
9
|
+
const { id, documentRegisterTitle, documentTitle, documentRegisterProperties, documentProperties, } = props;
|
|
17
10
|
const filterPro = documentRegisterProperties === null || documentRegisterProperties === void 0 ? void 0 : documentRegisterProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
18
|
-
return observe(() => (React.createElement("div", { className:
|
|
19
|
-
headerVisible && React.createElement(DocumentPropertiesHeader, { id: id }),
|
|
11
|
+
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
20
12
|
React.createElement(Scrollbars, { autoHide: true },
|
|
21
13
|
React.createElement(DescriptionEditor, { id: id }),
|
|
22
14
|
React.createElement(DocumentProperties, { id: id, title: documentTitle, customProperties: documentProperties })))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document-register/components/DocumentRegisterProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/document-register/components/DocumentRegisterProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAEN,MAAM,2CAA2C,CAAC;AACnD,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI5C,MAAM,0BAA0B,GAAG,CAAC,KAYnC,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,6BAA6B,CAAC;IAE9C,MAAM,EACL,EAAE,EACF,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,kBAAkB,GAClB,GAAG,KAAK,CAAC;IAEV,MAAM,SAAS,GAAG,0BAA0B,aAA1B,0BAA0B,uBAA1B,0BAA0B,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,KAAK,CAAC,CAAC;IAElF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,iBAAiB;QAC/B,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,GAAI;YAC7B,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,GAAI,CAC9E,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,qBAAqB,EAAE,8BAA8B;IACrD,aAAa,EAAE,qBAAqB;IACpC,0BAA0B,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;CACxD,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import
|
|
3
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
4
|
-
import { Open } from "../../../../controls/ToolBar/buttons";
|
|
1
|
+
import React from "react";
|
|
2
|
+
import DocumentItem from "../../../../components/DocumentItem/DocumentItem2";
|
|
5
3
|
import { observe } from "@voplus/morpho-ui";
|
|
6
|
-
import DocumentHeader from "../../../../components/DocumentHeader";
|
|
7
|
-
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
8
|
-
import classnames from "classnames";
|
|
9
|
-
import styles from "./index.less";
|
|
10
4
|
const MessageTemplateItem = (props) => {
|
|
11
5
|
const { id } = props;
|
|
12
|
-
|
|
13
|
-
const data = useMessageTemplate(id);
|
|
14
|
-
const [hover, setHover] = useState(false);
|
|
15
|
-
return observe(() => {
|
|
16
|
-
var _a;
|
|
17
|
-
return (React.createElement(DocumentHeader, { id: data.id, clickNameEffect: "default", quickDataBarAlign: "left", tagsVisible: !!((_a = data.tags) === null || _a === void 0 ? void 0 : _a.length), className: styles["message-template-item"], onMouse: (over) => setHover(over), tools: React.createElement("div", { className: classnames("hover-operate-icon", { show: hover }) },
|
|
18
|
-
React.createElement(ToolBar, { id: id, moreProps: {
|
|
19
|
-
buttonProps: { size: "middle" },
|
|
20
|
-
} },
|
|
21
|
-
React.createElement(Open, { size: "middle", url: meta.getRoute(data) }))) }));
|
|
22
|
-
});
|
|
6
|
+
return observe(() => React.createElement(DocumentItem, { id: id }));
|
|
23
7
|
};
|
|
24
8
|
export default MessageTemplateItem;
|
|
25
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/message-template/components/MessageTemplateItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/message-template/components/MessageTemplateItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACrD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC,CAAC;AAChD,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -8,10 +8,9 @@ import DocumentProperties from "../../../../components/DocumentProperties";
|
|
|
8
8
|
import MessageTemplateSelect from "../MessageTemplateSelect";
|
|
9
9
|
import DocumentReference from "../../../../controls/DocumentReference";
|
|
10
10
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
11
|
-
import DocumentPropertiesHeader from "../../../../components/DocumentPropertiesHeader";
|
|
12
11
|
import classnames from "classnames";
|
|
13
12
|
const MessageTemplateProperties = (props) => {
|
|
14
|
-
const { id,
|
|
13
|
+
const { id, messageTemplateTitle, documentTitle, messageTemplateProperties, documentProperties } = props;
|
|
15
14
|
const [showEditIcon, setShowEditIcon] = useState(true);
|
|
16
15
|
const [folderEditable, setFolderEditable] = useState(false);
|
|
17
16
|
const [showEditorEditIcon, setShowEditorEditIcon] = useState(true);
|
|
@@ -22,7 +21,6 @@ const MessageTemplateProperties = (props) => {
|
|
|
22
21
|
/** 加class name 为了方便做integration tests */
|
|
23
22
|
const classId = "message-template-properties";
|
|
24
23
|
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
25
|
-
headerVisible && React.createElement(DocumentPropertiesHeader, { id: id }),
|
|
26
24
|
React.createElement(Scrollbars, { autoHide: true },
|
|
27
25
|
React.createElement(PropertiesSection, { title: messageTemplateTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => renderProp(i)) }),
|
|
28
26
|
React.createElement(DocumentProperties, { id: id, title: documentTitle, customProperties: documentProperties })))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/message-template/components/MessageTemplateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EACN,kBAAkB,EAClB,uBAAuB,GAEvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,kBAEN,MAAM,2CAA2C,CAAC;AACnD,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AACvE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/message-template/components/MessageTemplateProperties/index.tsx"],"names":[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
2
|
-
import
|
|
3
|
-
import DocumentHeader from "../../../../components/DocumentHeader";
|
|
4
|
-
import { Open } from "../../../../controls/ToolBar/buttons";
|
|
5
|
-
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
6
|
-
import classnames from "classnames";
|
|
1
|
+
import React from "react";
|
|
2
|
+
import DocumentItem from "../../../../components/DocumentItem/DocumentItem2";
|
|
7
3
|
import { observe } from "@voplus/morpho-ui";
|
|
8
|
-
import styles from "./index.less";
|
|
9
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
|
10
4
|
const RegisteredDocumentItem = (props) => {
|
|
11
5
|
const { id } = props;
|
|
12
|
-
|
|
13
|
-
const documentRegister = useRegisteredDocument(id);
|
|
14
|
-
const store = useRegisteredDocumentStore();
|
|
15
|
-
const [hover, setHover] = useState(false);
|
|
16
|
-
return observe(() => (React.createElement(DocumentHeader, { id: documentRegister.id, clickNameEffect: "default", quickDataBarAlign: "left",
|
|
17
|
-
// tagsVisible={!!documentRegister.tags?.length}
|
|
18
|
-
className: styles["registered-document-item"], onMouse: (over) => setHover(over), tools: React.createElement(React.Fragment, null,
|
|
19
|
-
React.createElement("div", { className: classnames("hover-operate-icon", { show: hover }) },
|
|
20
|
-
React.createElement(ToolBar, { id: id, moreProps: {
|
|
21
|
-
buttonProps: { size: "middle" },
|
|
22
|
-
} },
|
|
23
|
-
React.createElement(Open, { size: "middle", url: meta.getRoute(documentRegister) })))) })));
|
|
6
|
+
return observe(() => React.createElement(DocumentItem, { id: id }));
|
|
24
7
|
};
|
|
25
8
|
export default RegisteredDocumentItem;
|
|
26
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,YAAY,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,sBAAsB,GAAG,CAAC,KAAiC,EAAE,EAAE;IACpE,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC,CAAC;AAChD,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -4,7 +4,6 @@ export type RegisteredDocumentPropertiesName = "Date" | "Documents" | "Types";
|
|
|
4
4
|
declare const RegisteredDocumentProperties: {
|
|
5
5
|
(props: {
|
|
6
6
|
id: string;
|
|
7
|
-
headerVisible?: boolean;
|
|
8
7
|
documentRegisterTitle?: string;
|
|
9
8
|
documentTitle?: string;
|
|
10
9
|
documentRegisterProperties?: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useRegisteredDocument, useRegisteredDocumentStore, } from "../../../../data/registered-document";
|
|
2
2
|
import DocumentProperties from "../../../../components/DocumentProperties";
|
|
3
3
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
4
|
-
import DocumentPropertiesHeader from "../../../../components/DocumentPropertiesHeader";
|
|
5
4
|
import DescriptionEditor from "../../../../controls/DescriptionEditor2";
|
|
6
5
|
import Documents from "../Documents";
|
|
7
6
|
import VerificationInformation from "@voplus/morpho-org/es/modules/verification/VerificationInformation";
|
|
@@ -11,16 +10,14 @@ import React from "react";
|
|
|
11
10
|
import TypesView from "../TypesView";
|
|
12
11
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
13
12
|
import { observe } from "@voplus/morpho-ui";
|
|
14
|
-
import classnames from "classnames";
|
|
15
13
|
const RegisteredDocumentProperties = (props) => {
|
|
16
14
|
/** 加class name 为了方便做integration tests */
|
|
17
15
|
const classId = "documentRegister-properties";
|
|
18
|
-
const { id,
|
|
16
|
+
const { id, documentRegisterTitle, documentTitle, documentRegisterProperties, documentProperties, } = props;
|
|
19
17
|
const documentRegister = useRegisteredDocument(id, { includes: "tags" });
|
|
20
18
|
const store = useRegisteredDocumentStore();
|
|
21
19
|
const filterPro = documentRegisterProperties === null || documentRegisterProperties === void 0 ? void 0 : documentRegisterProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
22
|
-
return observe(() => (React.createElement("div", { className:
|
|
23
|
-
headerVisible && React.createElement(DocumentPropertiesHeader, { id: id }),
|
|
20
|
+
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
24
21
|
React.createElement(Scrollbars, { autoHide: true },
|
|
25
22
|
React.createElement(DescriptionEditor, { id: id }),
|
|
26
23
|
React.createElement(VerificationInformation, { id: id }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,kBAEN,MAAM,2CAA2C,CAAC;AACnD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,kBAEN,MAAM,2CAA2C,CAAC;AACnD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,iBAAiB,MAAM,iDA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
|
declare const TenantServiceProperties: {
|
|
4
4
|
(props: {
|
|
5
5
|
id: string;
|
|
6
|
-
headerVisible?: boolean;
|
|
7
6
|
tenantServiceTitle?: string;
|
|
8
7
|
tenantServiceProperties?: {
|
|
9
8
|
name: TenantServicePropertiesName;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import DescriptionEditor from "../../../../controls/DescriptionEditor";
|
|
2
|
-
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
3
2
|
import { observe } from "@voplus/morpho-ui";
|
|
4
3
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
5
|
-
import { faEllipsisVertical } from "@fortawesome/pro-light-svg-icons";
|
|
6
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
4
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
8
5
|
import React from "react";
|
|
9
6
|
import { Switch, Badge } from "antd";
|
|
@@ -11,19 +8,14 @@ import Scrollbars from "react-custom-scrollbars-2";
|
|
|
11
8
|
import TenantServiceInterval from "../TenantServiceInterval";
|
|
12
9
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
13
10
|
import { useTenantService, useTenantServiceStore } from "../../../../data/tenant-service";
|
|
14
|
-
import TenantServiceMenu from "../../controls/TenantServiceMenu";
|
|
15
11
|
const TenantServiceProperties = (props) => {
|
|
16
12
|
/** 加class name 为了方便做integration tests */
|
|
17
13
|
const classId = "tenantService-properties";
|
|
18
|
-
const { id,
|
|
14
|
+
const { id, tenantServiceTitle, tenantServiceProperties } = props;
|
|
19
15
|
const tenantService = useTenantService(id);
|
|
20
16
|
const store = useTenantServiceStore();
|
|
21
17
|
const filterPro = tenantServiceProperties === null || tenantServiceProperties === void 0 ? void 0 : tenantServiceProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
22
18
|
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
23
|
-
headerVisible && (React.createElement("div", { className: "properties-header" },
|
|
24
|
-
React.createElement("div", { className: "title" }, tenantService.name),
|
|
25
|
-
React.createElement(ToolBar, { id: id, showMenu: false },
|
|
26
|
-
React.createElement(TenantServiceMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })))),
|
|
27
19
|
React.createElement(Scrollbars, { autoHide: true },
|
|
28
20
|
tenantService.description ? (React.createElement(DescriptionEditor, { id: id, description: tenantService.description, readonly: true })) : null,
|
|
29
21
|
React.createElement(PropertiesSection, { title: tenantServiceTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => React.createElement(React.Fragment, { key: i.name }, renderProp(i))) })))));
|
|
@@ -48,7 +40,7 @@ const TenantServiceProperties = (props) => {
|
|
|
48
40
|
}
|
|
49
41
|
};
|
|
50
42
|
TenantServiceProperties.defaultProps = {
|
|
51
|
-
tenantServiceTitle: "
|
|
43
|
+
tenantServiceTitle: "TENANT SERVICE PROPERTIES",
|
|
52
44
|
tenantServiceProperties: [
|
|
53
45
|
{ name: "Interval" },
|
|
54
46
|
{ name: "Enabled" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service/components/TenantServiceProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AACvE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service/components/TenantServiceProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,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O,CACN,oBAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,IAAI,CAAC,IAAI,EAAE;oBAC3D,oBAAC,qBAAqB,IAAC,EAAE,EAAE,EAAE,GAAI,CAC3B,CACP,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,uBAAuB,CAAC,YAAY,GAAG;IACtC,kBAAkB,EAAE,2BAA2B;IAC/C,uBAAuB,EAAE;QACxB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,YAAY,EAAE;QACtB,EAAE,IAAI,EAAE,UAAU,EAAE;KACpB;CACD,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
package/es/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export type TenantServiceExecutionPropertiesName = "Date" | "Time" | "Duration"
|
|
|
3
3
|
declare const TenantServiceExecutionProperties: {
|
|
4
4
|
(props: {
|
|
5
5
|
id: string;
|
|
6
|
-
headerVisible?: boolean;
|
|
7
6
|
tenantServiceExecutionTitle?: string;
|
|
8
7
|
tenantServiceExecutionProperties?: {
|
|
9
8
|
name: TenantServiceExecutionPropertiesName;
|
package/es/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import ToolBar from "../../../../controls/ToolBar/ToolBar2";
|
|
2
1
|
import { observe } from "@voplus/morpho-ui";
|
|
3
2
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
4
3
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
5
|
-
import { faEllipsisVertical } from "@fortawesome/pro-light-svg-icons";
|
|
6
|
-
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
4
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
8
5
|
import TenantServiceReference from "../../../tenant-service/components/TenantServiceReference";
|
|
9
6
|
import React from "react";
|
|
@@ -11,18 +8,13 @@ import dayjs from "dayjs";
|
|
|
11
8
|
import Duration from "../Duration";
|
|
12
9
|
import Scrollbars from "react-custom-scrollbars-2";
|
|
13
10
|
import { useTenantServiceExecution } from "../../../../data/tenant-service-execution";
|
|
14
|
-
import TenantServiceExecutionMenu from "../../controls/TenantServiceExecutionMenu";
|
|
15
11
|
const TenantServiceExecutionProperties = (props) => {
|
|
16
12
|
/** 加class name 为了方便做integration tests */
|
|
17
13
|
const classId = "tenantServiceExecution-properties";
|
|
18
|
-
const { id,
|
|
14
|
+
const { id, tenantServiceExecutionTitle, tenantServiceExecutionProperties } = props;
|
|
19
15
|
const tenantServiceExecution = useTenantServiceExecution(id);
|
|
20
16
|
const filterPro = tenantServiceExecutionProperties === null || tenantServiceExecutionProperties === void 0 ? void 0 : tenantServiceExecutionProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
21
17
|
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
22
|
-
headerVisible && (React.createElement("div", { className: "properties-header" },
|
|
23
|
-
React.createElement("div", { className: "title" }, "TenantServiceExecution"),
|
|
24
|
-
React.createElement(ToolBar, { id: id, showMenu: false },
|
|
25
|
-
React.createElement(TenantServiceExecutionMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })))),
|
|
26
18
|
React.createElement(Scrollbars, { autoHide: true },
|
|
27
19
|
React.createElement(PropertiesSection, { title: tenantServiceExecutionTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(Prop, { key: i.name, label: i.name, className: `${classId}-${i.name}` }, renderProp(i)))) })))));
|
|
28
20
|
function renderProp(item) {
|
|
@@ -40,7 +32,7 @@ const TenantServiceExecutionProperties = (props) => {
|
|
|
40
32
|
}
|
|
41
33
|
};
|
|
42
34
|
TenantServiceExecutionProperties.defaultProps = {
|
|
43
|
-
tenantServiceExecutionTitle: "
|
|
35
|
+
tenantServiceExecutionTitle: "TENANT SERVICE EXECUTION PROPERTIES",
|
|
44
36
|
tenantServiceExecutionProperties: [
|
|
45
37
|
{ name: "Date" },
|
|
46
38
|
{ name: "Time" },
|
package/es/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tenant-service-execution/components/TenantServiceExecutionProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,sBAAsB,MAAM,2DAA2D,CAAC;AAC/F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAItF,MAAM,gCAAgC,GAAG,CAAC,KAOzC,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,mCAAmC,CAAC;IAEpD,MAAM,EAAE,EAAE,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,GAAG,KAAK,CAAC;IAEpF,MAAM,sBAAsB,GAAG,yBAAyB,CAAC,EAAE,CAAC,CAAC;IAE7D,MAAM,SAAS,GAAG,gCAAgC,aAAhC,gCAAgC,uBAAhC,gCAAgC,CAAE,MAAM,CAAC,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sB,CAAC,OAAO,0CAAE,EAAE,KAAI,CACrC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,MAAA,sBAAsB,CAAC,OAAO,0CAAE,EAAY,GAAI,CAC5E,CACD,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,gCAAgC,CAAC,YAAY,GAAG;IAC/C,2BAA2B,EAAE,qCAAqC;IAClE,gCAAgC,EAAE;QACjC,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE;KACnB;CACD,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
|
|
@@ -4,20 +4,17 @@ import { observe } from "@voplus/morpho-ui";
|
|
|
4
4
|
import { useEnvelope } from "../../../../../data/envelope";
|
|
5
5
|
import DocumentReference from "../../../../../controls/DocumentReference";
|
|
6
6
|
import DescriptionEditor from "../../../../../controls/DescriptionEditor2";
|
|
7
|
-
import DocumentPropertiesHeader from "../../../../../components/DocumentPropertiesHeader";
|
|
8
7
|
import DocumentProperties from "../../../../../components/DocumentProperties";
|
|
9
8
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
10
9
|
import EnvelopeStatusLabel from "../../controls/EnvelopeStatusLabel";
|
|
11
10
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
12
|
-
import classnames from "classnames";
|
|
13
11
|
const EnvelopeProperties = (props) => {
|
|
14
12
|
/** 加class name 为了方便做integration tests */
|
|
15
13
|
const classId = "envelope-properties";
|
|
16
|
-
const { id,
|
|
14
|
+
const { id, descriptionVisible, documentPropertiesVisible, envelopeTitle, documentTitle, envelopeProperties, documentProperties, } = props;
|
|
17
15
|
const envelope = useEnvelope(id, { includes: "tags,createdby,folder" });
|
|
18
16
|
const filterPro = envelopeProperties === null || envelopeProperties === void 0 ? void 0 : envelopeProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
19
|
-
return observe(() => (React.createElement("div", { className:
|
|
20
|
-
headerVisible && React.createElement(DocumentPropertiesHeader, { id: id }),
|
|
17
|
+
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
21
18
|
React.createElement(Scrollbars, { autoHide: true },
|
|
22
19
|
descriptionVisible && React.createElement(DescriptionEditor, { id: id }),
|
|
23
20
|
React.createElement(PropertiesSection, { title: envelopeTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(Prop, { key: i.name, label: i.name, className: `${classId}-${i.name}` }, renderProp(i)))) }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Signature/Envelope/components/EnvelopeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,2CAA2C,CAAC;AAC1E,OAAO,iBAAiB,MAAM,4CAA4C,CAAC;AAC3E,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/pages/Signature/Envelope/components/EnvelopeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,2CAA2C,CAAC;AAC1E,OAAO,iBAAiB,MAAM,4CAA4C,CAAC;AAC3E,OAAO,kBAEN,MAAM,8CAA8C,CAAC;AACtD,OA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AAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,GAAI,CAC1F,CACW,CACR,CACN,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAAyD;QAC5E,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,QAAQ;gBACZ,OAAO,oBAAC,mBAAmB,IAAC,MAAM,EAAE,QAAQ,CAAC,cAAe,GAAI,CAAC;YAClE,KAAK,iBAAiB;gBACrB,OAAO,oBAAC,mBAAmB,IAAC,MAAM,EAAE,QAAQ,CAAC,cAAe,GAAI,CAAC;YAClE,KAAK,UAAU;gBACd,OAAO,oBAAC,iBAAiB,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAC,MAAM,GAAG,CAAC;QACnD,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,kBAAkB,EAAE,IAAI;IACxB,yBAAyB,EAAE,IAAI;IAC/B,aAAa,EAAE,qBAAqB;IACpC,aAAa,EAAE,qBAAqB;IACpC,kBAAkB,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;CACxC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.document-register-item {
|
|
2
|
-
position: relative;
|
|
3
|
-
align-items: center;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
background-color: transparent;
|
|
6
|
-
|
|
7
|
-
&:global(:after) {
|
|
8
|
-
position: absolute;
|
|
9
|
-
content: "";
|
|
10
|
-
left: 20px;
|
|
11
|
-
right: 20px;
|
|
12
|
-
bottom: 0;
|
|
13
|
-
border-bottom: 1px solid #f2f2f2;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:global {
|
|
17
|
-
.document-register-status-label {
|
|
18
|
-
opacity: 1;
|
|
19
|
-
transition: opacity 0.3s;
|
|
20
|
-
flex-shrink: 0;
|
|
21
|
-
|
|
22
|
-
&.hide {
|
|
23
|
-
opacity: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.hover-operate-icon {
|
|
28
|
-
display: none;
|
|
29
|
-
position: absolute;
|
|
30
|
-
right: 20px;
|
|
31
|
-
|
|
32
|
-
.ant-btn:first-child {
|
|
33
|
-
margin-left: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.show {
|
|
37
|
-
display: block;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.due-date {
|
|
42
|
-
margin-right: 12px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
.message-template-item {
|
|
2
|
-
position: relative;
|
|
3
|
-
align-items: center;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
background-color: transparent;
|
|
6
|
-
|
|
7
|
-
&:global(:after) {
|
|
8
|
-
position: absolute;
|
|
9
|
-
content: "";
|
|
10
|
-
left: 20px;
|
|
11
|
-
right: 20px;
|
|
12
|
-
bottom: 0;
|
|
13
|
-
border-bottom: 1px solid #f2f2f2;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:global {
|
|
17
|
-
.hover-operate-icon {
|
|
18
|
-
display: none;
|
|
19
|
-
position: absolute;
|
|
20
|
-
right: 20px;
|
|
21
|
-
|
|
22
|
-
.ant-btn:first-child {
|
|
23
|
-
margin-left: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.show {
|
|
27
|
-
display: block;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.registered-document-item {
|
|
2
|
-
position: relative;
|
|
3
|
-
align-items: center;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
background-color: transparent;
|
|
6
|
-
|
|
7
|
-
&:global(:after) {
|
|
8
|
-
position: absolute;
|
|
9
|
-
content: "";
|
|
10
|
-
left: 20px;
|
|
11
|
-
right: 20px;
|
|
12
|
-
bottom: 0;
|
|
13
|
-
border-bottom: 1px solid #f2f2f2;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:global {
|
|
17
|
-
.registered-document-status-label {
|
|
18
|
-
opacity: 1;
|
|
19
|
-
transition: opacity 0.3s;
|
|
20
|
-
flex-shrink: 0;
|
|
21
|
-
|
|
22
|
-
&.hide {
|
|
23
|
-
opacity: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.hover-operate-icon {
|
|
28
|
-
display: none;
|
|
29
|
-
position: absolute;
|
|
30
|
-
right: 20px;
|
|
31
|
-
|
|
32
|
-
.ant-btn:first-child {
|
|
33
|
-
margin-left: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.show {
|
|
37
|
-
display: block;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.due-date {
|
|
42
|
-
margin-right: 12px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|