@voplus/morpho-csp 6.0.47 → 6.0.49
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/corporate/background-investigation/risk-match/components/RiskMatchProperties/index.js +12 -11
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchProperties/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchResult/index.js +5 -5
- package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchResult/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +12 -11
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.js +37 -34
- package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.d.ts +0 -2
- package/es/modules/corporate/clda/components/CLDAProperties/index.js +12 -16
- package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +2 -2
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/index.js +5 -4
- package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +29 -40
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js +0 -1
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +14 -21
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +20 -27
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +15 -20
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +31 -37
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +11 -10
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +10 -10
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +31 -41
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +3 -3
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +11 -12
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js +4 -4
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/corporate/company/components/PropertyLabel/index.d.ts +0 -8
- package/es/modules/corporate/company/components/PropertyLabel/index.js +0 -12
- package/es/modules/corporate/company/components/PropertyLabel/index.js.map +0 -1
- package/es/modules/corporate/company/components/PropertyLabel/index.less +0 -7
|
@@ -4,7 +4,8 @@ import { InlineEdit, observe } from "@voplus/morpho-ui";
|
|
|
4
4
|
import { useFilingRecore, useFilingRecoreStore } from "../../../../../data/filing-record";
|
|
5
5
|
import { faEllipsisVertical } from "@fortawesome/pro-light-svg-icons";
|
|
6
6
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
7
|
-
import {
|
|
7
|
+
import { Switch } from "antd";
|
|
8
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
8
9
|
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
|
9
10
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
10
11
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
@@ -21,56 +22,49 @@ const FilingProperties = (props) => {
|
|
|
21
22
|
const filing = useFilingRecore(id, { reload: (i) => !i.year, includes: "filing-year" });
|
|
22
23
|
const store = useFilingRecoreStore();
|
|
23
24
|
const filterPro = filingProperties === null || filingProperties === void 0 ? void 0 : filingProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
24
|
-
return observe(() => (React.createElement("div", { className: "filing-properties" },
|
|
25
|
+
return observe(() => (React.createElement("div", { className: "filing-properties properties-list" },
|
|
25
26
|
headerVisible && (React.createElement("div", { className: "filing-header" },
|
|
26
27
|
React.createElement("div", { className: "title" }, filing.name),
|
|
27
28
|
React.createElement(FilingRecoreMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) }))),
|
|
28
29
|
React.createElement(Scrollbars, { autoHide: true },
|
|
29
|
-
verificationVisible &&
|
|
30
|
-
React.createElement(PropertiesSection, { title: filingTitle, properties: (
|
|
30
|
+
verificationVisible && React.createElement(VerificationInformation, { id: id }),
|
|
31
|
+
React.createElement(PropertiesSection, { title: filingTitle, 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)))) })))));
|
|
31
32
|
function renderProp(item) {
|
|
32
33
|
var _a;
|
|
33
34
|
switch (item.name) {
|
|
34
35
|
case "Filing Year":
|
|
35
|
-
return
|
|
36
|
-
React.createElement("span", { className: "properties-value" }, dayjs(filing.year).format("YYYY-MM-DD"))));
|
|
36
|
+
return React.createElement("span", { className: "properties-value" }, dayjs(filing.year).format("YYYY-MM-DD"));
|
|
37
37
|
case "Name":
|
|
38
|
-
return (React.createElement(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}) }, (filing === null || filing === void 0 ? void 0 : filing.name) ? filing.name : "Add Name")), onSave: (value) => store.edit(id, { data: { Name: value }, error: "message" }) })));
|
|
38
|
+
return (React.createElement(InlineEdit, { defaultValue: filing === null || filing === void 0 ? void 0 : filing.name, content: (v) => (React.createElement("span", { className: classnames("properties-value", {
|
|
39
|
+
"add-info-style": !(filing === null || filing === void 0 ? void 0 : filing.name),
|
|
40
|
+
}) }, (filing === null || filing === void 0 ? void 0 : filing.name) ? filing.name : "Add Name")), onSave: (value) => store.edit(id, { data: { Name: value }, error: "message" }) }));
|
|
42
41
|
case "DueDate":
|
|
43
|
-
return (React.createElement(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} })));
|
|
42
|
+
return (React.createElement(InlineEdit, { defaultValue: filing.dueDate ? dayjs(filing.dueDate) : undefined, content: (v) => filing.dueDate ? (React.createElement("span", { className: "properties-value" }, dayjs(filing.dueDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add DueDate")), editor: DateInputEditor, onSave: (date) => {
|
|
43
|
+
if (filing.dueDate && dayjs(date).isSame(filing.dueDate, "day"))
|
|
44
|
+
return;
|
|
45
|
+
store.edit(props.id, {
|
|
46
|
+
data: { DueDate: date !== null && date !== void 0 ? date : "" },
|
|
47
|
+
});
|
|
48
|
+
} }));
|
|
51
49
|
case "Exempted":
|
|
52
|
-
return (React.createElement(
|
|
53
|
-
React.createElement(Switch, { checked: filing.exempted, onChange: (checked) => store.edit(id, { data: { Exempted: checked }, error: "message" }) })));
|
|
50
|
+
return (React.createElement(Switch, { checked: filing.exempted, onChange: (checked) => store.edit(id, { data: { Exempted: checked }, error: "message" }) }));
|
|
54
51
|
case "FileDate":
|
|
55
|
-
return (!filing.exempted && (React.createElement(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} }))));
|
|
52
|
+
return (!filing.exempted && (React.createElement(InlineEdit, { defaultValue: filing.fileDate ? dayjs(filing.fileDate) : undefined, content: (v) => filing.fileDate ? (React.createElement("span", { className: "properties-value" }, dayjs(filing.fileDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add DueDate")), editor: DateInputEditor, onSave: (date) => {
|
|
53
|
+
if (filing.fileDate && dayjs(date).isSame(filing.fileDate, "day"))
|
|
54
|
+
return;
|
|
55
|
+
store.edit(props.id, {
|
|
56
|
+
data: { FileDate: date !== null && date !== void 0 ? date : "" },
|
|
57
|
+
});
|
|
58
|
+
} })));
|
|
63
59
|
case "File By":
|
|
64
|
-
return (React.createElement(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} })));
|
|
60
|
+
return (React.createElement(MentionList, { isEmptyData: true, multiple: false, contacts: ((_a = filing.fileBy) === null || _a === void 0 ? void 0 : _a.id) ? [filing.fileBy] : [], onChange: (list) => {
|
|
61
|
+
store.edit(id, {
|
|
62
|
+
data: { FileById: list.length ? list[0].id : "" },
|
|
63
|
+
error: "message",
|
|
64
|
+
});
|
|
65
|
+
} }));
|
|
71
66
|
case "Tags":
|
|
72
|
-
return
|
|
73
|
-
React.createElement(TagView, { id: id, tags: filing.tags, editable: true, items: store.items })));
|
|
67
|
+
return React.createElement(TagView, { id: id, tags: filing.tags, editable: true, items: store.items });
|
|
74
68
|
}
|
|
75
69
|
}
|
|
76
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/filing-record/components/FilingRecordProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B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AEF,gBAAgB,CAAC,YAAY,GAAG;IAC/B,mBAAmB,EAAE,IAAI;IACzB,WAAW,EAAE,mBAAmB;IAChC,gBAAgB,EAAE;QACjB,EAAE,IAAI,EAAE,aAAa,EAAE;QACvB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,MAAM,EAAE;KAChB;CACD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Select } from "antd";
|
|
3
3
|
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
4
4
|
import { useFilingType, useFilingTypeStore, } from "../../../../../../data/filing-type";
|
|
5
5
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
6
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
6
7
|
import { faEllipsisVertical } from "@fortawesome/pro-light-svg-icons";
|
|
7
8
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
8
9
|
import { splitAtUpperCase } from "../../../tools";
|
|
@@ -32,14 +33,14 @@ const FilingTypeProperties = (props) => {
|
|
|
32
33
|
React.createElement("div", { className: "title" }, filingType.name),
|
|
33
34
|
React.createElement(FilingTypeMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) }))),
|
|
34
35
|
React.createElement(Scrollbars, { autoHide: true },
|
|
35
|
-
React.createElement(PropertiesSection, { title: filingTypeTitle, properties: (
|
|
36
|
+
React.createElement(PropertiesSection, { title: filingTypeTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => React.createElement(React.Fragment, { key: i.name }, renderProp(i))) })))));
|
|
36
37
|
function renderProp(item) {
|
|
37
38
|
switch (item.name) {
|
|
38
39
|
case "Name":
|
|
39
|
-
return (React.createElement(
|
|
40
|
+
return (React.createElement(Prop, { label: "Name", className: classId + "-name" },
|
|
40
41
|
React.createElement(InlineEdit, { defaultValue: filingType.name, content: (v) => React.createElement("span", { className: "properties-value" }, filingType.name), onSave: (v) => store.edit(id, { data: { Name: v }, error: "message" }) })));
|
|
41
42
|
case "Category":
|
|
42
|
-
return (React.createElement(
|
|
43
|
+
return (React.createElement(Prop, { label: "Category", className: classId + "-category" },
|
|
43
44
|
React.createElement(FolderEdit, { showEditIcon: showCategoryEditIcon, onEditIconClick: onEditCategory }, categoryEditable ? (React.createElement(Select, { open: true, autoFocus: true, defaultValue: filingType.category, optionFilterProp: "children", onChange: (value) => store.edit(id, { data: { Category: value }, error: "message" }).then(() => {
|
|
44
45
|
onBulurCategory();
|
|
45
46
|
}), onBlur: onBulurCategory, options: [
|
|
@@ -55,7 +56,7 @@ const FilingTypeProperties = (props) => {
|
|
|
55
56
|
"add-info-style": !filingType.category,
|
|
56
57
|
}), onClick: onEditCategory }, filingType.category || "Select Work Type")))));
|
|
57
58
|
case "Frequency":
|
|
58
|
-
return (React.createElement(
|
|
59
|
+
return (React.createElement(Prop, { label: "Frequency", className: classId + "-frequency" },
|
|
59
60
|
React.createElement(FolderEdit, { showEditIcon: showFrequencyEditIcon, onEditIconClick: onEditFrequency }, frequencyEditable ? (React.createElement(Select, { open: true, autoFocus: true, defaultValue: filingType.frequency, optionFilterProp: "children", onChange: (value) => store.edit(id, { data: { Frequency: value }, error: "message" }).then(() => {
|
|
60
61
|
onBulurFrequency();
|
|
61
62
|
}), onBlur: onBulurFrequency, options: [
|
|
@@ -79,7 +80,7 @@ const FilingTypeProperties = (props) => {
|
|
|
79
80
|
"add-info-style": !filingType.frequency,
|
|
80
81
|
}), onClick: onEditFrequency }, splitAtUpperCase(filingType.frequency) || "Select Frequency")))));
|
|
81
82
|
case "DateBased":
|
|
82
|
-
return (React.createElement(
|
|
83
|
+
return (React.createElement(Prop, { label: "DateBased", className: classId + "-dateBased" },
|
|
83
84
|
React.createElement(FolderEdit, { showEditIcon: showDateBasedEditIcon, onEditIconClick: onEditDateBased }, dateBasedEditable ? (React.createElement(Select, { open: true, autoFocus: true, defaultValue: filingType.dateBased, optionFilterProp: "children", onChange: (value) => store.edit(id, { data: { DateBased: value }, error: "message" }).then(() => {
|
|
84
85
|
onBulurDateBased();
|
|
85
86
|
}), onBlur: onBulurDateBased, options: [
|
|
@@ -99,7 +100,7 @@ const FilingTypeProperties = (props) => {
|
|
|
99
100
|
"add-info-style": !filingType.dateBased,
|
|
100
101
|
}), onClick: onEditDateBased }, splitAtUpperCase(filingType.dateBased) || "Select DateBased")))));
|
|
101
102
|
case "FixedOffset":
|
|
102
|
-
return (filingType.dateBased === "Fixed" && (React.createElement(
|
|
103
|
+
return (filingType.dateBased === "Fixed" && (React.createElement(Prop, { label: "FixedOffset", className: classId + "-fixedOffset" },
|
|
103
104
|
React.createElement(FolderEdit, { showEditIcon: showFixedOffsetEditIcon, onEditIconClick: onEditFixedOffset }, fixedOffsetEditable ? (React.createElement(Select, { open: true, autoFocus: true, defaultValue: filingType.fixedOffset, optionFilterProp: "children", onChange: (value) => store
|
|
104
105
|
.edit(id, { data: { FixedOffset: value }, error: "message" })
|
|
105
106
|
.then(() => {
|
|
@@ -117,7 +118,7 @@ const FilingTypeProperties = (props) => {
|
|
|
117
118
|
"add-info-style": !filingType.fixedOffset,
|
|
118
119
|
}), onClick: onEditFixedOffset }, splitAtUpperCase(filingType.fixedOffset) || "Select FixedOffset"))))));
|
|
119
120
|
case "FixedDate":
|
|
120
|
-
return (filingType.dateBased === "Fixed" && (React.createElement(
|
|
121
|
+
return (filingType.dateBased === "Fixed" && (React.createElement(Prop, { label: "FixedDate", className: classId + "-fixedDate" },
|
|
121
122
|
React.createElement(InlineEdit, { defaultValue: filingType.fixedDate ? dayjs(filingType.fixedDate) : undefined, content: (v) => filingType.fixedDate ? (React.createElement("span", { className: "properties-value" }, dayjs(filingType.fixedDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add FixedDate")), editor: DateInputEditor, onSave: (date) => {
|
|
122
123
|
if (filingType.fixedDate && dayjs(date).isSame(filingType.fixedDate, "day"))
|
|
123
124
|
return;
|
|
@@ -126,10 +127,10 @@ const FilingTypeProperties = (props) => {
|
|
|
126
127
|
});
|
|
127
128
|
} }))));
|
|
128
129
|
case "MonthOffset":
|
|
129
|
-
return (filingType.dateBased === "FinancialYear" && (React.createElement(
|
|
130
|
+
return (filingType.dateBased === "FinancialYear" && (React.createElement(Prop, { label: "MonthOffset", className: classId + "-monthOffset" },
|
|
130
131
|
React.createElement(InlineEdit, { defaultValue: filingType.monthOffset, content: (v) => v.store.value ? (React.createElement("span", { className: "properties-value" }, v.store.value)) : (React.createElement("span", { className: "add-info-style" }, "Add MonthOffset")), onSave: (value) => store.edit(id, { data: { MonthOffset: value }, error: "message" }) }))));
|
|
131
132
|
case "Jurisdiction":
|
|
132
|
-
return (React.createElement(
|
|
133
|
+
return (React.createElement(Prop, { label: "Jurisdiction", className: classId + "-jurisdiction" }, filingType.jurisdiction));
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
function onEditFrequency() {
|
package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,E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AmB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;AACF,CAAC,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG;IACnC,eAAe,EAAE,uBAAuB;IACxC,eAAe,EAAE,oBAAoB;IACrC,oBAAoB,EAAE;QACrB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,aAAa,EAAE;QACvB,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,aAAa,EAAE;QACvB,EAAE,IAAI,EAAE,cAAc,EAAE;KACxB;CACD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Skeleton } from "antd";
|
|
3
3
|
import { observe, InlineEdit } from "@voplus/morpho-ui";
|
|
4
4
|
import { useFilingYear, useFilingYearStore } from "../../../../../../data/filing-year";
|
|
5
5
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
6
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
6
7
|
import { faEllipsisVertical, faCalendar } from "@fortawesome/pro-light-svg-icons";
|
|
7
8
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
8
9
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
@@ -24,18 +25,17 @@ const FilingYearProperties = (props) => {
|
|
|
24
25
|
dayjs(filingYear.fYE).format("YYYY-MM-DD")),
|
|
25
26
|
React.createElement(FilingYearMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) }))),
|
|
26
27
|
React.createElement(Scrollbars, { autoHide: true },
|
|
27
|
-
React.createElement(PropertiesSection, { title: filingYearTitle, properties: (
|
|
28
|
+
React.createElement(PropertiesSection, { title: filingYearTitle, 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
29
|
function renderProp(item) {
|
|
29
30
|
switch (item.name) {
|
|
30
31
|
case "FYE":
|
|
31
|
-
return (React.createElement(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} })));
|
|
32
|
+
return (React.createElement(InlineEdit, { defaultValue: filingYear.fYE ? dayjs(filingYear.fYE) : undefined, content: (v) => filingYear.fYE ? (React.createElement("span", { className: "properties-value" }, dayjs(filingYear.fYE).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add DueDate")), editor: DateInputEditor, onSave: (date) => {
|
|
33
|
+
if (filingYear.fYE && dayjs(date).isSame(filingYear.fYE, "day"))
|
|
34
|
+
return;
|
|
35
|
+
store.edit(props.id, {
|
|
36
|
+
data: { FYE: date !== null && date !== void 0 ? date : "" },
|
|
37
|
+
});
|
|
38
|
+
} }));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
};
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAA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Ae,EACvB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;wBAChB,IAAI,UAAU,CAAC,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;4BAAE,OAAO;wBACxE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;4BACpB,IAAI,EAAE,EAAE,GAAG,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,EAAE;yBACzB,CAAC,CAAC;oBACJ,CAAC,GACA,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG;IACnC,eAAe,EAAE,uBAAuB;IACxC,oBAAoB,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;CACvC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import { useShareCertificate, useShareCertificateStore, } from "../../../../../data/share-certificate";
|
|
3
3
|
import { InlineEdit, observe, UTCDatePicker as DatePicker } from "@voplus/morpho-ui";
|
|
4
|
-
import { Form } from "antd";
|
|
5
4
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
5
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
6
6
|
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
|
7
7
|
import CorporateMentionList from "../../../../../components/CorporateMentionList";
|
|
8
8
|
import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
|
|
@@ -27,52 +27,44 @@ const ShareCertificateProperties = (props) => {
|
|
|
27
27
|
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
28
28
|
headerVisible && loaded && React.createElement(DocumentPanelHeader, { id: id }),
|
|
29
29
|
React.createElement(Scrollbars, { autoHide: true },
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement(PropertiesSection, { title: shareCertificateTitle, properties: (
|
|
32
|
-
React.createElement(DocumentProperties, { id: id,
|
|
30
|
+
React.createElement(VerificationInformation, { id: id, onChange: onReload }),
|
|
31
|
+
React.createElement(PropertiesSection, { title: shareCertificateTitle, 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)))) }),
|
|
32
|
+
React.createElement(DocumentProperties, { id: id, title: documentTitle, customProperties: documentProperties })))));
|
|
33
33
|
function renderProp(item) {
|
|
34
34
|
switch (item.name) {
|
|
35
35
|
case "Shareholder":
|
|
36
|
-
return (React.createElement(
|
|
37
|
-
React.createElement(CorporateMentionList, { canEdit: false, contacts: shareCertificate.shareholder ? [shareCertificate.shareholder] : [] })));
|
|
36
|
+
return (React.createElement(CorporateMentionList, { canEdit: false, contacts: shareCertificate.shareholder ? [shareCertificate.shareholder] : [] }));
|
|
38
37
|
case "Number":
|
|
39
|
-
return (React.createElement(
|
|
40
|
-
React.createElement(InlineEdit, { defaultValue: shareCertificate.certno, editable: shareCertificate.certificateStatus === "Draft", content: (v) => shareCertificate.certno || shareCertificate.certno === 0 ? (React.createElement("span", { className: "properties-value" }, shareCertificate.certno)) : (React.createElement("span", { className: "add-info-style" }, "Add Number")), onSave: (value) => store.edit(id, { data: { Number: value }, error: "message" }) })));
|
|
38
|
+
return (React.createElement(InlineEdit, { defaultValue: shareCertificate.certno, editable: shareCertificate.certificateStatus === "Draft", content: (v) => shareCertificate.certno || shareCertificate.certno === 0 ? (React.createElement("span", { className: "properties-value" }, shareCertificate.certno)) : (React.createElement("span", { className: "add-info-style" }, "Add Number")), onSave: (value) => store.edit(id, { data: { Number: value }, error: "message" }) }));
|
|
41
39
|
case "CertificateType":
|
|
42
|
-
return (React.createElement(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} })));
|
|
40
|
+
return (React.createElement(ShareCertificateTypeLabel, { editable: shareCertificate.certificateStatus === "Draft", type: shareCertificate.certificateType, onChange: (type) => {
|
|
41
|
+
store.edit(id, { data: { CertificateType: type }, error: "message" });
|
|
42
|
+
} }));
|
|
46
43
|
case "CertificateStatus":
|
|
47
|
-
return (React.createElement(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} })));
|
|
44
|
+
return (React.createElement(ShareCertificateStatusLabel, { editable: shareCertificate.certificateType === "Physical" ||
|
|
45
|
+
shareCertificate.certificateType === "PhysicalThirdParty", status: shareCertificate.certificateStatus, onChange: (status) => {
|
|
46
|
+
store.edit(id, { data: { CertificateStatus: status }, error: "message" });
|
|
47
|
+
} }));
|
|
52
48
|
case "Shares":
|
|
53
|
-
return
|
|
54
|
-
React.createElement("span", { className: "properties-value" }, shareCertificate.shares)));
|
|
49
|
+
return React.createElement("span", { className: "properties-value" }, shareCertificate.shares);
|
|
55
50
|
case "Class":
|
|
56
|
-
return
|
|
57
|
-
React.createElement("span", { className: "properties-value" }, shareCertificate.class)));
|
|
51
|
+
return React.createElement("span", { className: "properties-value" }, shareCertificate.class);
|
|
58
52
|
case "Signee1":
|
|
59
|
-
return (React.createElement(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} })));
|
|
53
|
+
return (React.createElement(CorporateMentionList, { multiple: false, defaultSelection: "Officers", corporateId: shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.corporateId, contacts: shareCertificate.signee1 ? [shareCertificate.signee1] : [], onChange: (list) => {
|
|
54
|
+
store.edit(id, {
|
|
55
|
+
data: { Signee1: list[0].id },
|
|
56
|
+
error: "message",
|
|
57
|
+
});
|
|
58
|
+
} }));
|
|
66
59
|
case "Signee2":
|
|
67
|
-
return (React.createElement(
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} })));
|
|
60
|
+
return (React.createElement(CorporateMentionList, { multiple: false, defaultSelection: "Officers", corporateId: shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.corporateId, contacts: shareCertificate.signee2 ? [shareCertificate.signee2] : [], onChange: (list) => {
|
|
61
|
+
store.edit(id, {
|
|
62
|
+
data: { Signee2: list[0].id },
|
|
63
|
+
error: "message",
|
|
64
|
+
});
|
|
65
|
+
} }));
|
|
74
66
|
case "CertificateDate":
|
|
75
|
-
return
|
|
67
|
+
return certificateDateEdit ? (React.createElement(DatePicker, { allowClear: false, bordered: false, defaultValue: (shareCertificate === null || shareCertificate === void 0 ? void 0 : shareCertificate.certificateDate)
|
|
76
68
|
? dayjs(shareCertificate.certificateDate)
|
|
77
69
|
: undefined, onBlur: () => setCertificateDateEdit(false), onChange: (date, dateString) => {
|
|
78
70
|
store.edit(id, {
|
|
@@ -82,13 +74,11 @@ const ShareCertificateProperties = (props) => {
|
|
|
82
74
|
error: "message",
|
|
83
75
|
});
|
|
84
76
|
setCertificateDateEdit(false);
|
|
85
|
-
} })) : (React.createElement("div", { onClick: () => setCertificateDateEdit(true) }, shareCertificate.certificateDate ? (React.createElement("span", { className: "properties-value" }, dayjs(shareCertificate.certificateDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add Certificate Date"))))
|
|
77
|
+
} })) : (React.createElement("div", { onClick: () => setCertificateDateEdit(true) }, shareCertificate.certificateDate ? (React.createElement("span", { className: "properties-value" }, dayjs(shareCertificate.certificateDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, "Add Certificate Date"))));
|
|
86
78
|
case "PaymentText":
|
|
87
|
-
return (React.createElement(
|
|
88
|
-
React.createElement(InlineEdit, { defaultValue: shareCertificate.paymentText, content: (v) => shareCertificate.paymentText ? (React.createElement("span", { className: "properties-value" }, shareCertificate.paymentText)) : (React.createElement("span", { className: "add-info-style" }, "Add Payment Text")), onSave: (value) => store.edit(id, { data: { PaymentText: value }, error: "message" }) })));
|
|
79
|
+
return (React.createElement(InlineEdit, { defaultValue: shareCertificate.paymentText, content: (v) => shareCertificate.paymentText ? (React.createElement("span", { className: "properties-value" }, shareCertificate.paymentText)) : (React.createElement("span", { className: "add-info-style" }, "Add Payment Text")), onSave: (value) => store.edit(id, { data: { PaymentText: value }, error: "message" }) }));
|
|
89
80
|
case "Corproate Unit":
|
|
90
|
-
return (React.createElement(
|
|
91
|
-
React.createElement(MentionList, { canEdit: false, contacts: shareCertificate.corporateUnit ? [shareCertificate.corporateUnit] : [] })));
|
|
81
|
+
return (React.createElement(MentionList, { canEdit: false, contacts: shareCertificate.corporateUnit ? [shareCertificate.corporateUnit] : [] }));
|
|
92
82
|
}
|
|
93
83
|
}
|
|
94
84
|
function onReload() {
|
package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,mBAAmB,EACnB,wBAAwB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,2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
|
|
3
3
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
6
|
-
import { Form } from "antd";
|
|
7
6
|
import React from "react";
|
|
7
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
8
8
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
9
9
|
import { useVirtualAddress, useVirtualAddressStore } from "../../../../../data/virtual-address";
|
|
10
10
|
import VirtualAddressMenu from "../../controls/VirtualAddressMenu";
|
|
@@ -22,12 +22,12 @@ const VirtualAddressProperties = (props) => {
|
|
|
22
22
|
React.createElement(ToolBar, { id: id, showMenu: false },
|
|
23
23
|
React.createElement(VirtualAddressMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })))),
|
|
24
24
|
React.createElement(Scrollbars, { autoHide: true },
|
|
25
|
-
React.createElement(PropertiesSection, { title: VirtualAddressTitle, properties: (
|
|
25
|
+
React.createElement(PropertiesSection, { title: VirtualAddressTitle, 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)))) })))));
|
|
26
26
|
function renderProp(item) {
|
|
27
27
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
28
28
|
switch (item.name) {
|
|
29
29
|
case "Address":
|
|
30
|
-
return (React.createElement(
|
|
30
|
+
return (React.createElement(React.Fragment, null,
|
|
31
31
|
((_b = (_a = virtualAddress.office) === null || _a === void 0 ? void 0 : _a.address) === null || _b === void 0 ? void 0 : _b.line1) && ((_d = (_c = virtualAddress.office) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1) + ", ",
|
|
32
32
|
((_f = (_e = virtualAddress.office) === null || _e === void 0 ? void 0 : _e.address) === null || _f === void 0 ? void 0 : _f.line2) && ((_h = (_g = virtualAddress.office) === null || _g === void 0 ? void 0 : _g.address) === null || _h === void 0 ? void 0 : _h.line2) + ", ",
|
|
33
33
|
((_k = (_j = virtualAddress.office) === null || _j === void 0 ? void 0 : _j.address) === null || _k === void 0 ? void 0 : _k.city) && ((_m = (_l = virtualAddress.office) === null || _l === void 0 ? void 0 : _l.address) === null || _m === void 0 ? void 0 : _m.city) + ", ",
|
package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OA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