@voplus/morpho-csp 6.0.175 → 6.0.177
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/CorporateNavMenu/NavMenuItem.js +7 -10
- package/es/components/CorporateNavMenu/NavMenuItem.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js +81 -42
- package/es/modules/corporate/clda/pages/CLDASettingsPage/Content.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.less +2 -1
- package/package.json +1 -1
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import { Menu, Popover } from "antd";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import { useApplicationContext } from "@voplus/morpho-data";
|
|
5
4
|
const NavMenuItem = (props) => {
|
|
6
5
|
const { addRegister } = props;
|
|
7
|
-
const context = useApplicationContext();
|
|
8
6
|
const [visible, setVisible] = useState(false);
|
|
9
7
|
return observe(() => (React.createElement(Popover, { content: React.createElement(Menu, { className: "registers-menu", items: addRegister === null || addRegister === void 0 ? void 0 : addRegister.map((item) => {
|
|
10
8
|
return {
|
|
@@ -12,14 +10,13 @@ const NavMenuItem = (props) => {
|
|
|
12
10
|
label: React.createElement(React.Fragment, null,
|
|
13
11
|
"Register of ",
|
|
14
12
|
item.label),
|
|
15
|
-
disabled: item.name
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
: false,
|
|
13
|
+
disabled: item.name !== "OfficersRegister" &&
|
|
14
|
+
item.name !== "ShareTransactionsRegister" &&
|
|
15
|
+
item.name !== "MembersRegister" &&
|
|
16
|
+
item.name !== "ControllerRegister" &&
|
|
17
|
+
item.name === "DocumentRegister"
|
|
18
|
+
? true
|
|
19
|
+
: false,
|
|
23
20
|
};
|
|
24
21
|
}), onClick: (e) => addClick(e.key) }), placement: "top", trigger: ["click"], open: visible, className: "registers-popover", onOpenChange: handleVisibleChange, overlayClassName: "registers-popover-overlay" }, "Add Registers")));
|
|
25
22
|
function handleVisibleChange(visible) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuItem.js","sourceRoot":"","sources":["../../../src/components/CorporateNavMenu/NavMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"NavMenuItem.js","sourceRoot":"","sources":["../../../src/components/CorporateNavMenu/NavMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,GAAG,CAAC,KAIpB,EAAE,EAAE;IACJ,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,OAAO,IACP,OAAO,EACN,oBAAC,IAAI,IACJ,SAAS,EAAC,gBAAgB,EAC1B,KAAK,EAAE,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;gBAChC,OAAO;oBACN,GAAG,EAAE,IAAI,CAAC,IAAI;oBACd,KAAK,EAAE;;wBAAe,IAAI,CAAC,KAAK,CAAI;oBACpC,QAAQ,EACP,IAAI,CAAC,IAAI,KAAK,kBAAkB;wBAChC,IAAI,CAAC,IAAI,KAAK,2BAA2B;wBACzC,IAAI,CAAC,IAAI,KAAK,iBAAiB;wBAC/B,IAAI,CAAC,IAAI,KAAK,oBAAoB;wBAClC,IAAI,CAAC,IAAI,KAAK,kBAAkB;wBAC/B,CAAC,CAAC,IAAI;wBACN,CAAC,CAAC,KAAK;iBACT,CAAC;YACH,CAAC,CAAC,EACF,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,GAC9B,EAEH,SAAS,EAAC,KAAK,EACf,OAAO,EAAE,CAAC,OAAO,CAAC,EAClB,IAAI,EAAE,OAAO,EACb,SAAS,EAAC,mBAAmB,EAC7B,YAAY,EAAE,mBAAmB,EACjC,gBAAgB,EAAC,2BAA2B,oBAGnC,CACV,CAAC,CAAC;IAEH,SAAS,mBAAmB,CAAC,OAAgB;QAC5C,UAAU,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED,KAAK,UAAU,QAAQ,CAAC,IAAY;;QACnC,UAAU,CAAC,KAAK,CAAC,CAAC;QAClB,MAAA,KAAK,CAAC,KAAK,sDAAG,IAAI,CAAC,CAAC;IACrB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Switch } from "antd";
|
|
2
|
+
import { Switch, Form, Row, Col } from "antd";
|
|
3
3
|
import { useCLDASetting, useCLDASettingStore } from "../../../../../data/clda-setting";
|
|
4
4
|
import { useQuotationStore } from "@voplus/morpho-finance/es/data/quotation";
|
|
5
|
-
import SettingPage from "@voplus/morpho-ui/es/controls/SettingPage";
|
|
6
|
-
import SettingSection from "@voplus/morpho-ui/es/controls/SettingPage/SettingSection";
|
|
7
|
-
import Setting from "@voplus/morpho-ui/es/controls/SettingPage/Setting";
|
|
8
5
|
import { observe } from "@voplus/morpho-ui";
|
|
9
6
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
|
10
7
|
import ReferenceList from "@voplus/morpho-document/es/controls/ReferenceList";
|
|
8
|
+
import { SettingFormPage, SettingItem, SettingFormItem, } from "@voplus/morpho-ui/es/controls/SettingFormPage";
|
|
9
|
+
import { faEnvelope, faFileShield, faInbox, faHardDrive, faMessage, faUpload, faAlignJustify, faFileInvoiceDollar, } from "@fortawesome/pro-solid-svg-icons";
|
|
10
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
11
|
+
import classnames from "classnames";
|
|
11
12
|
const Content = (props) => {
|
|
12
13
|
const { id } = props;
|
|
13
14
|
const store = useCLDASettingStore();
|
|
@@ -15,7 +16,10 @@ const Content = (props) => {
|
|
|
15
16
|
const cldaSetting = useCLDASetting(id);
|
|
16
17
|
const descriptionArr = [
|
|
17
18
|
{
|
|
18
|
-
title:
|
|
19
|
+
title: (React.createElement(React.Fragment, null,
|
|
20
|
+
React.createElement(FAIcon, { icon: faEnvelope }),
|
|
21
|
+
"DEFAULT EMAIL CONTENT")),
|
|
22
|
+
description: "Set and customize default email content.",
|
|
19
23
|
descript: observe(() => {
|
|
20
24
|
var _a;
|
|
21
25
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.emailContent, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -25,7 +29,10 @@ const Content = (props) => {
|
|
|
25
29
|
}),
|
|
26
30
|
},
|
|
27
31
|
{
|
|
28
|
-
title:
|
|
32
|
+
title: (React.createElement(React.Fragment, null,
|
|
33
|
+
React.createElement(FAIcon, { icon: faMessage }),
|
|
34
|
+
"DESCRIPTION")),
|
|
35
|
+
description: "Provide details or instructions for this setting.",
|
|
29
36
|
descript: observe(() => {
|
|
30
37
|
var _a;
|
|
31
38
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.description, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -35,7 +42,10 @@ const Content = (props) => {
|
|
|
35
42
|
}),
|
|
36
43
|
},
|
|
37
44
|
{
|
|
38
|
-
title:
|
|
45
|
+
title: (React.createElement(React.Fragment, null,
|
|
46
|
+
React.createElement(FAIcon, { icon: faUpload }),
|
|
47
|
+
"UPLOAD DESCRIPTION")),
|
|
48
|
+
description: "Add details or instructions for the uploaded file.",
|
|
39
49
|
descript: observe(() => {
|
|
40
50
|
var _a;
|
|
41
51
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.uploadDescription, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -45,7 +55,10 @@ const Content = (props) => {
|
|
|
45
55
|
}),
|
|
46
56
|
},
|
|
47
57
|
{
|
|
48
|
-
title:
|
|
58
|
+
title: (React.createElement(React.Fragment, null,
|
|
59
|
+
React.createElement(FAIcon, { icon: faAlignJustify }),
|
|
60
|
+
"FORM TITLE")),
|
|
61
|
+
description: "Specify the title of the form.",
|
|
49
62
|
descript: observe(() => {
|
|
50
63
|
var _a;
|
|
51
64
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.formTitle, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -55,7 +68,10 @@ const Content = (props) => {
|
|
|
55
68
|
}),
|
|
56
69
|
},
|
|
57
70
|
{
|
|
58
|
-
title:
|
|
71
|
+
title: (React.createElement(React.Fragment, null,
|
|
72
|
+
React.createElement(FAIcon, { icon: faMessage }),
|
|
73
|
+
"FORM DESCRIPTION")),
|
|
74
|
+
description: "Provide a brief description of the form.",
|
|
59
75
|
descript: observe(() => {
|
|
60
76
|
var _a;
|
|
61
77
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.formDescription, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -65,7 +81,10 @@ const Content = (props) => {
|
|
|
65
81
|
}),
|
|
66
82
|
},
|
|
67
83
|
{
|
|
68
|
-
title:
|
|
84
|
+
title: (React.createElement(React.Fragment, null,
|
|
85
|
+
React.createElement(FAIcon, { icon: faFileInvoiceDollar }),
|
|
86
|
+
"QUOTATION TITLE")),
|
|
87
|
+
description: "Specify the title for the quotation.",
|
|
69
88
|
descript: observe(() => {
|
|
70
89
|
var _a;
|
|
71
90
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.quotationTitle, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -75,7 +94,10 @@ const Content = (props) => {
|
|
|
75
94
|
}),
|
|
76
95
|
},
|
|
77
96
|
{
|
|
78
|
-
title:
|
|
97
|
+
title: (React.createElement(React.Fragment, null,
|
|
98
|
+
React.createElement(FAIcon, { icon: faMessage }),
|
|
99
|
+
"QUOTATION DESCRIPTION")),
|
|
100
|
+
description: "Provide a brief description of the quotation.",
|
|
79
101
|
descript: observe(() => {
|
|
80
102
|
var _a;
|
|
81
103
|
return (React.createElement(DescriptionEditor, { id: id, description: (_a = cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.clientTexts) === null || _a === void 0 ? void 0 : _a.quotationDescription, padding: "0 0 0.75rem 0", onSave: (description) => store.edit(id, {
|
|
@@ -87,37 +109,54 @@ const Content = (props) => {
|
|
|
87
109
|
}),
|
|
88
110
|
},
|
|
89
111
|
];
|
|
90
|
-
return observe(() => (React.createElement(
|
|
91
|
-
React.createElement(
|
|
92
|
-
React.createElement(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
return observe(() => (React.createElement(SettingFormPage, { className: "clda-settings-content", headerVisible: false },
|
|
113
|
+
React.createElement(Form, { layout: "vertical" },
|
|
114
|
+
React.createElement(SettingItem, { title: React.createElement(React.Fragment, null,
|
|
115
|
+
React.createElement(FAIcon, { icon: faHardDrive }),
|
|
116
|
+
"GENERAL"), description: "Control Your Environment: Optimize Your Settings for Efficiency." },
|
|
117
|
+
React.createElement(SettingFormItem, { item1: React.createElement(Form.Item, { label: "Quotation" },
|
|
118
|
+
React.createElement("div", { className: classnames({
|
|
119
|
+
"form-item-contacts": !(cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.quotation),
|
|
120
|
+
"form-item-border": !(cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.quotation),
|
|
121
|
+
}) },
|
|
122
|
+
React.createElement(ReferenceList, { loader: () => quotationStore.loadList({
|
|
123
|
+
Filters: [{ c: "Template", o: "=", l: "And", v1: "True" }],
|
|
124
|
+
}), document: (cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.quotation) ? [cldaSetting.quotation] : [], canEdit: true, multiple: false, placeholder: "Select Quotation", onChange: onEditQuotation }))) }),
|
|
125
|
+
React.createElement(SettingFormItem, { item1: React.createElement("div", { className: "form-item-switch" },
|
|
126
|
+
React.createElement(Form.Item, { label: "Default Quotation", layout: "horizontal" },
|
|
127
|
+
React.createElement(Switch, { onChange: onChange })),
|
|
128
|
+
React.createElement("div", { className: "extra" }, "Enable this option to automatically bypass the approval process for default quotations.")), item2: React.createElement("div", { className: "form-item-switch" },
|
|
129
|
+
React.createElement(Form.Item, { label: "Upload Folder", layout: "horizontal" },
|
|
130
|
+
React.createElement(Switch, { checked: cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.uploadFolder, onChange: (checked) => store.edit(id, {
|
|
131
|
+
data: { UploadFolder: checked },
|
|
132
|
+
error: "message",
|
|
133
|
+
}) })),
|
|
134
|
+
React.createElement("div", { className: "extra" }, "Enable this to skip the approval process for invoices when uploading files.")) })),
|
|
135
|
+
React.createElement(SettingItem, { title: React.createElement(React.Fragment, null,
|
|
136
|
+
React.createElement(FAIcon, { icon: faFileShield }),
|
|
137
|
+
"LEGAL TEMPLATES"), description: "Manage and customize your legal document templates." },
|
|
138
|
+
React.createElement(Row, { gutter: { md: 16, lg: 40, xl: 80 } }, (cldaSetting === null || cldaSetting === void 0 ? void 0 : cldaSetting.templates) &&
|
|
139
|
+
cldaSetting.templates.map((item, index) => (React.createElement(Col, { xs: 24, sm: 24, md: 24, lg: 12, xl: 12, key: item.id },
|
|
140
|
+
React.createElement(Form.Item, { label: React.createElement(React.Fragment, null,
|
|
141
|
+
index + 1,
|
|
142
|
+
". ",
|
|
143
|
+
item.templateKey) },
|
|
144
|
+
React.createElement(ReferenceList, { document: item.template ? [item.template] : [], canEdit: true, multiple: false, placeholder: `Select a ${item.templateKey} Templates`, onChange: (list) => {
|
|
145
|
+
store.edit(id, {
|
|
146
|
+
data: {
|
|
147
|
+
Templates: [{ Id: item.id, TemplateId: list[0].id }],
|
|
148
|
+
},
|
|
149
|
+
error: "message",
|
|
150
|
+
});
|
|
151
|
+
} }))))))),
|
|
152
|
+
React.createElement(SettingItem, { title: React.createElement(React.Fragment, null,
|
|
153
|
+
React.createElement(FAIcon, { icon: faInbox }),
|
|
154
|
+
"ADDITIONAL FORMS"), description: "Manage and upload additional legal forms." },
|
|
155
|
+
React.createElement(SettingFormItem, { item1: React.createElement(Form.Item, { label: "Forms" },
|
|
156
|
+
React.createElement("div", { className: "form-item-border form-item-contacts" },
|
|
157
|
+
React.createElement(ReferenceList, { document: [], canEdit: true, placeholder: "Select AddItional Forms" }))) })),
|
|
158
|
+
descriptionArr.map((item, index) => (React.createElement(SettingItem, { key: index, title: item.title, description: item.description },
|
|
159
|
+
React.createElement(SettingFormItem, { item1: React.createElement(Form.Item, { label: "Descriptions", className: "form-item-descriptions" }, item.descript) }))))))));
|
|
121
160
|
function onChange(checked) {
|
|
122
161
|
console.log(`checked = ${checked}`);
|
|
123
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/pages/CLDASettingsPage/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/pages/CLDASettingsPage/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAC9E,OAAO,EACN,eAAe,EACf,WAAW,EACX,eAAe,GACf,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACN,UAAU,EACV,YAAY,EACZ,OAAO,EACP,WAAW,EACX,SAAS,EACT,QAAQ,EACR,cAAc,EACd,mBAAm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