@voplus/morpho-document 6.1.89 → 7.0.0
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/components/Links/NewLinkType.js +1 -1
- package/es/components/Links/NewLinkType.js.map +1 -1
- package/es/controls/filters/CreateDateFilter/index.js +18 -2
- package/es/controls/filters/CreateDateFilter/index.js.map +1 -1
- package/es/controls/filters/CreateDateFilter/state.d.ts +2 -3
- package/es/controls/filters/CreateDateFilter/state.js +1 -1
- package/es/controls/filters/CreateDateFilter/state.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/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/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/page/components/PageItems/state.d.ts +1 -1
- package/es/modules/page/components/PageItems/state.js.map +1 -1
- package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.js +1 -1
- package/es/modules/registered-document/components/RegisteredDocumentListHeader/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/obsolete/EmailTemplate/EmailTemplateItems/state.js.map +1 -1
- package/es/obsolete/LibraryDefaultView/state.d.ts +1 -1
- package/es/pages/Library/LibraryDefaultView/state.d.ts +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 +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useEffect } from "react";
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import { runInAction } from "mobx";
|
|
4
4
|
import { useParams } from "react-router-dom";
|
|
@@ -7,6 +7,7 @@ import { useActionPlan } from "../../../../data/action-plan";
|
|
|
7
7
|
import { useHandleError } from "@voplus/morpho-document-core";
|
|
8
8
|
import { faEllipsisVertical, faClock } from "@fortawesome/pro-solid-svg-icons";
|
|
9
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
|
+
import { FieldsContext, RefreshState, } from "@voplus/morpho-fields/es/components/FieldsProperties/FieldsRefreshContext";
|
|
10
11
|
import ActionPlanProperties from "../../components/ActionPlanProperties";
|
|
11
12
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
12
13
|
import DefaultViewLayout from "@voplus/morpho-ui/es/components/layout/DefaultViewLayout";
|
|
@@ -20,12 +21,14 @@ const ActionPlanDefaultView = () => {
|
|
|
20
21
|
const tab = useTabItem();
|
|
21
22
|
const handleError = useHandleError();
|
|
22
23
|
const actionPlan = useActionPlan(id, { onError: handleError });
|
|
24
|
+
const [fields] = useState(() => new RefreshState());
|
|
23
25
|
useEffect(() => {
|
|
24
26
|
runInAction(() => (tab.title = actionPlan.name));
|
|
25
27
|
}, [id]);
|
|
26
|
-
return observe(() => (React.createElement(
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
return observe(() => (React.createElement(FieldsContext.Provider, { value: fields },
|
|
29
|
+
React.createElement(DefaultViewLayout, { className: styles["action-plan-default-view"], header: React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faClock }), title: actionPlan.name, upAble: true, description: "Streamlining Engagement: A Comprehensive Overview of Nominee Services Performance", toolMenu: React.createElement(ToolBar, { id: id, showMenu: false },
|
|
30
|
+
React.createElement(ActionPlanMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })) }), properties: React.createElement(ActionPlanProperties, { id: id }) },
|
|
31
|
+
React.createElement(ActionPlanTabs, { id: id, fieldsContext: false })))));
|
|
29
32
|
};
|
|
30
33
|
export default ActionPlanDefaultView;
|
|
31
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/action-plan/pages/ActionPlanDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/action-plan/pages/ActionPlanDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACN,aAAa,EACb,YAAY,GACZ,MAAM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AAQ,EACP,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;oBAC/B,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,GAAI,CAC7D,GAEV,EAEH,UAAU,EAAE,oBAAC,oBAAoB,IAAC,EAAE,EAAE,EAAG,GAAI;YAE7C,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,GAAI,CAC7B,CACI,CACzB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,30 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Button } from "antd";
|
|
3
2
|
import { observe } from "@voplus/morpho-ui";
|
|
4
3
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
5
|
-
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
6
4
|
import DocumentProperties from "../../../../components/DocumentProperties";
|
|
7
5
|
import { useApplicationContext } from "@voplus/morpho-data";
|
|
8
|
-
import DocumentPropertiesHeader from "../../../../components/DocumentPropertiesHeader";
|
|
9
|
-
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
10
6
|
const ActionPlanTemplateProperties = (props) => {
|
|
11
|
-
const { id,
|
|
7
|
+
const { id, messagePlanTitle, documentTitle, messagePlanProperties, documentProperties } = props;
|
|
12
8
|
const filterPro = messagePlanProperties === null || messagePlanProperties === void 0 ? void 0 : messagePlanProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
13
9
|
/** 加class name 为了方便做integration tests */
|
|
14
10
|
const classId = "message-plan-properties";
|
|
15
11
|
const appContext = useApplicationContext();
|
|
16
12
|
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
17
|
-
headerVisible && React.createElement(DocumentPropertiesHeader, { id: id }),
|
|
18
13
|
React.createElement(Scrollbars, { autoHide: true },
|
|
19
|
-
React.createElement(PropertiesSection, { title: messagePlanTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => renderProp(i)) }),
|
|
20
14
|
React.createElement(DocumentProperties, { id: id, title: documentTitle, customProperties: documentProperties })))));
|
|
21
|
-
function renderProp(item) {
|
|
22
|
-
switch (item.name) {
|
|
23
|
-
case "Actions Plans":
|
|
24
|
-
return (appContext.host.isTest && (React.createElement(Prop, { label: "Actions Plans (test)" },
|
|
25
|
-
React.createElement(Button, { size: "small" }, "Create"))));
|
|
26
|
-
}
|
|
27
|
-
}
|
|
15
|
+
function renderProp(item) { }
|
|
28
16
|
};
|
|
29
17
|
ActionPlanTemplateProperties.defaultProps = {
|
|
30
18
|
messagePlanTitle: "MESSAGE PLAN PROPERTIES",
|
package/es/modules/action-plan-template/components/ActionPlanTemplateProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/action-plan-template/components/ActionPlanTemplateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/action-plan-template/components/ActionPlanTemplateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,kBAEN,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAK5D,MAAM,4BAA4B,GAAG,CAAC,KAYrC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,gBAAgB,EAAE,aAAa,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IAEjG,MAAM,SAAS,GAAG,qBAAqB,aAArB,qBAAqB,uBAArB,qBAAqB,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,KAAK,CAAC,CAAC;IAC7E,yCAAyC;IACzC,MAAM,OAAO,GAAG,yBAAyB,CAAC;IAE1C,MAAM,UAAU,GAAG,qBAAqB,EAAE,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,iBAAiB;QAC/B,oBAAC,UAAU,IAAC,QAAQ;YAKnB,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,GAAI,CAC9E,CACR,CACN,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAAmE,IAAG,CAAC;AAC5F,CAAC,CAAC;AAEF,4BAA4B,CAAC,YAAY,GAAG;IAC3C,gBAAgB,EAAE,yBAAyB;IAC3C,aAAa,EAAE,qBAAqB;IACpC,qBAAqB,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;CAClD,CAAC;AAEF,eAAe,4BAA4B,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"}
|
|
@@ -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":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,O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gCACb,KAAK,EAAE,MAAM;6BACb;4BACD;gCACC,KAAK,EAAE,UAAU;gCACjB,KAAK,EAAE,WAAW;6BAClB;yBACD,GACA,CACF,CAAC,CAAC,CAAC,CACH,8BACC,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;4BACzC,gBAAgB,EAAE,CAAC,eAAe,CAAC,MAAM;yBACzC,CAAC,EACF,OAAO,EAAE,YAAY,IAEpB,eAAe,CAAC,MAAM,IAAI,eAAe,CACpC,CACP,CACW,CACP,CACP,CAAC;QACJ,CAAC;IACF,CAAC;IAED,SAAS,YAAY;QACpB,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACxB,eAAe,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC;IAED,SAAS,YAAY;QACpB,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,SAAS,YAAY;QACpB,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACxB,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED,SAAS,YAAY;QACpB,qBAAqB,CAAC,IAAI,CAAC,CAAC;QAC5B,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;AACF,CAAC,CAAC;AAEF,yBAAyB,CAAC,YAAY,GAAG;IACxC,oBAAoB,EAAE,6BAA6B;IACnD,aAAa,EAAE,qBAAqB;IACpC,yBAAyB,EAAE;QAC1B,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,eAAe,EAAE;QACzB,EAAE,IAAI,EAAE,QAAQ,EAAE;KAClB;CACD,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/page/components/PageItems/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/page/components/PageItems/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAI1D,MAAM,OAAO,KAAK;IAQjB;QAPA,0BAA0B;QACP;;;;mBAAU,KAAK;WAAC;QACnC,uBAAuB;QACJ;;;;;WAAc;QACjC,OAAO;QACY;;;;mBAAU,KAAK;WAAC;QAQ5B;;;;mBAAa,CAAC,EAAE,GAAG,EAAY,EAAE,EAAE;gBACzC,IAAI,CAAC,IAAI,GAAG,GAAc,CAAC;gBAC3B,IAAI,GAAG,KAAK,UAAU,EAAE,CAAC;oBACxB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;gBACrB,CAAC;qBAAM,CAAC;oBACP,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;gBACrB,CAAC;YACF,CAAC;WAAC;QAZD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAYD;AApBmB;IAAlB,UAAU;sCAAwB;AAEhB;IAAlB,UAAU;mCAAsB;AAEd;IAAlB,UAAU;sCAAwB;AAQ5B;IAFN,MAAM;IACP,kCAAkC;yCAQhC"}
|
|
@@ -55,7 +55,7 @@ const RegisterListHeader = (props) => {
|
|
|
55
55
|
item.label,
|
|
56
56
|
" ",
|
|
57
57
|
(item === null || item === void 0 ? void 0 : item.total) ? ` (${item.total})` : ""))),
|
|
58
|
-
React.createElement(Divider, {
|
|
58
|
+
React.createElement(Divider, { orientation: "vertical" }))), rightExtra: () => (React.createElement(Dropdown, { classNames: { root: "document-register-table-list-dropdown" }, menu: { items } },
|
|
59
59
|
React.createElement(Button, null,
|
|
60
60
|
React.createElement(FAIcon, { icon: faEllipsisVertical })))) }));
|
|
61
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,kBAAkB,GAAG,CAAC,KAW3B,EAAE,EAAE;IACJ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAElC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,EAAU,CAAC;IACvD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAAU,CAAC;IAE7C,SAAS,CAAC,GAAG,EAAE;QACd,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAEjB,+BAA+B,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACzE,KAAK,EAAE,IAAI;QACX,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC;KAChE,CAAC,CAAC;IAEH,MAAM,KAAK,GAAuB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,kBAAkB,GAAG,CAAC,KAW3B,EAAE,EAAE;IACJ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAElC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,EAAU,CAAC;IACvD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAAU,CAAC;IAE7C,SAAS,CAAC,GAAG,EAAE;QACd,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAEjB,+BAA+B,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC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ACtD,EACD,QAAQ,EAAE,GAAG,EAAE,CAAC,CACf,6BAAK,SAAS,EAAC,qBAAqB;gBAClC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC5B,oBAAC,MAAM,IACN,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;wBAC3B,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC,EAAE;qBAC9B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC;oBAErC,IAAI,CAAC,KAAK;;oBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAC3C,CACT,CAAC;gBACF,oBAAC,OAAO,IAAC,WAAW,EAAC,UAAU,GAAG,CAC7B,CACN,EACD,UAAU,EAAE,GAAG,EAAE,CAAC,CACjB,oBAAC,QAAQ,IAAC,UAAU,EAAE,EAAE,IAAI,EAAE,uCAAuC,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE;gBACvF,oBAAC,MAAM;oBACN,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,CAC5B,CACC,CACX,GACA,CACF,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,IAAa;;QACpC,aAAa,CAAC,IAAI,CAAC,CAAC;QACpB,MAAA,KAAK,CAAC,cAAc,sDAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,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,iDAAiD,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAI5C,MAAM,4BAA4B,GAAG,CAAC,KAYrC,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,gBAAgB,GAAG,qBAAqB,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;IACzE,MAAM,KAAK,GAAG,0BAA0B,E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EAAE,CAAC,GAC3E,CACF,CAAC;YACH,KAAK,OAAO;gBACX,OAAO,CACN,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,gBAAgB,CAAC,QAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,KAAK,GAAI,CAC1F,CAAC;YACH,KAAK,WAAW;gBACf,OAAO,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC;QAC/B,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,4BAA4B,CAAC,YAAY,GAAG;IAC3C,qBAAqB,EAAE,8BAA8B;IACrD,aAAa,EAAE,qBAAqB;IACpC,0BAA0B,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;CACxF,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -3,7 +3,6 @@ export type TenantServicePropertiesName = "Enabled" | "Is Running" | "Interval"
|
|
|
3
3
|
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,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAI1F,MAAM,uBAAuB,GAAG,CAAC,KAIhC,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,0BAA0B,CAAC;IAE3C,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,GAAG,KAAK,CAAC;IAElE,MAAM,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC3C,MAAM,KAAK,GAAG,qBAAqB,EAAE,CAAC;IAEtC,MAAM,SAAS,GAAG,uBAAuB,aAAvB,uBAAuB,uBAAvB,uBAAuB,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE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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,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GAEF,CACU,CACR,CACN,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAAuE;;QAC1F,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,MAAM;gBACV,OAAO,oBAAC,YAAY,IAAC,KAAK,EAAE,sBAAsB,CAAC,SAAS,GAAI,CAAC;YAClE,KAAK,MAAM;gBACV,OAAO,oBAAC,YAAY,IAAC,KAAK,EAAE,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAC,OAAO,GAAG,CAAC;YACjF,KAAK,UAAU;gBACd,OAAO,sBAAsB,CAAC,YAAY,IAAI,sBAAsB,CAAC,SAAS,CAAC,CAAC,CAAC,CAChF,oBAAC,QAAQ,IACR,YAAY,EAAE,KAAK,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC,IAAI,CAC5D,KAAK,CAAC,sBAAsB,CAAC,SAAS,CAAC,EACvC,QAAQ,CACR,GACA,CACF,CAAC,CAAC,CAAC,IAAI,CAAC;YACV,KAAK,SAAS;gBACb,OAAO,CACN,CAAA,MAAA,sBAAsB,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/obsolete/EmailTemplate/EmailTemplateItems/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/obsolete/EmailTemplate/EmailTemplateItems/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG1D,MAAM,OAAO,KAAK;IAIjB;QAHA,8BAA8B;QACX;;;;mBAAU,KAAK;WAAC;QAGlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAGM,aAAa,CAAC,OAAgB;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;CACD;AAVmB;IAAlB,UAAU;sCAAwB;AAO5B;IADN,MAAM;0CAGN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DocumentStore, IDocument } from "@voplus/morpho-document-core";
|
|
2
2
|
import { FilterOption } from "@voplus/morpho-data";
|
|
3
|
-
import { MenuInfo } from "rc-menu/
|
|
3
|
+
import { MenuInfo } from "@rc-component/menu/lib/interface";
|
|
4
4
|
export declare class State {
|
|
5
5
|
id: string;
|
|
6
6
|
store: DocumentStore;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DocumentStore, IDocument } from "@voplus/morpho-document-core";
|
|
2
2
|
import { IDocTree } from "../components/DocumentTree";
|
|
3
3
|
import { FilterOption } from "@voplus/morpho-data";
|
|
4
|
-
import { MenuInfo } from "rc-menu/
|
|
4
|
+
import { MenuInfo } from "@rc-component/menu/lib/interface";
|
|
5
5
|
export declare class State {
|
|
6
6
|
id: string;
|
|
7
7
|
store: DocumentStore;
|
|
@@ -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,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,IAAI,MAAM,oCAAoC,CAAC;AAItD,MAAM,kBAAkB,GAAG,CAAC,KAW3B,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,qBAAqB,CAAC;IAEtC,MAAM,EACL,EAAE,EACF,kBAAkB,EAClB,yBAAyB,EACzB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,kBAAkB,GAClB,GAAG,KAAK,CAAC;IACV,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAExE,MAAM,SAAS,GAAG,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,KAAK,CAAC,CAAC;IAE1E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AAa,EAAE,qBAAqB;IACpC,kBAAkB,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;CACxC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voplus/morpho-document",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@codemirror/lang-javascript": "^6.1.9",
|
|
34
34
|
"@uiw/codemirror-theme-material": "^4.22.2",
|
|
35
35
|
"@uiw/react-codemirror": "4.23.10",
|
|
36
|
-
"@voplus/morpho-org": "
|
|
37
|
-
"@voplus/morpho-text": "
|
|
36
|
+
"@voplus/morpho-org": "7.x",
|
|
37
|
+
"@voplus/morpho-text": "7.x",
|
|
38
38
|
"file-saver": "2.x",
|
|
39
39
|
"iframe-resizer-react": "1.x",
|
|
40
40
|
"qrcode.react": "^3.1.0",
|