@voplus/morpho-csp 6.0.89 → 6.0.91
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/company/pages/CompanyPage/index.js +86 -72
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +49 -28
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { Navigate, Route, Routes, useParams, useResolvedPath } from "react-router-dom";
|
|
3
|
-
import { faTableRows, faChartNetwork, faFolder, faScrollOld, faEllipsisVertical, faVrCardboard, faGear, faBell, } from "@fortawesome/pro-duotone-svg-icons";
|
|
3
|
+
import { faTableRows, faChartNetwork, faFolder, faScrollOld, faEllipsisVertical, faShareNodes, faVrCardboard, faGear, faBell, } from "@fortawesome/pro-duotone-svg-icons";
|
|
4
4
|
import { State } from "./state";
|
|
5
|
-
import CorporateNavMenu from "../../../../../components/CorporateNavMenu";
|
|
6
5
|
import { observe, useAutorunEffect, NavPanel } from "@voplus/morpho-ui";
|
|
7
6
|
import { useCorporate } from "../../../../../data/corporate";
|
|
8
|
-
import { useLayout, useTabItem } from "@voplus/morpho-data";
|
|
7
|
+
import { useLayout, useTabItem, useApplicationContext } from "@voplus/morpho-data";
|
|
8
|
+
import { CurrentContactContext } from "@voplus/morpho-document-core/es/data/context/CurrentContactContext";
|
|
9
9
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
10
|
import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
|
|
11
11
|
import AnnualFilings from "../../../filing-record/components/AnnualFilings";
|
|
@@ -17,10 +17,10 @@ import MainContent from "@voplus/morpho-ui/es/components/layout/MainContent";
|
|
|
17
17
|
import OfficerList from "../../officer-register/components/OfficerList";
|
|
18
18
|
import ControllerList from "../../controller-register/components/ControllerList";
|
|
19
19
|
import ShareTransactionList from "../../share-transactions-register/components/ShareTransactionList";
|
|
20
|
-
import
|
|
20
|
+
import ShareClassList from "../../../share-class/components/ShareClassList";
|
|
21
21
|
import VirtualAddressList from "../../../virtual-address/components/VirtualAddressList";
|
|
22
22
|
import NotificationList from "@voplus/morpho-workspace/es/modules/notification/components/NotificationList2";
|
|
23
|
-
import
|
|
23
|
+
import CorporateNavMenu from "../../../../../components/CorporateNavMenu";
|
|
24
24
|
import Scrollbars from "react-custom-scrollbars-2";
|
|
25
25
|
import CompanySetting from "./CompanySetting";
|
|
26
26
|
import "./index.less";
|
|
@@ -44,73 +44,87 @@ const CompanyPage = (props) => {
|
|
|
44
44
|
useAutorunEffect(() => {
|
|
45
45
|
tab.title = `Corporate - ${corporate.name}` || "Corporate";
|
|
46
46
|
});
|
|
47
|
-
return observe(() =>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
React.createElement(
|
|
47
|
+
return observe(() => {
|
|
48
|
+
var _a;
|
|
49
|
+
let renderNavMenuItems = [
|
|
50
|
+
{
|
|
51
|
+
key: "/filings",
|
|
52
|
+
icon: React.createElement(FAIcon, { icon: faScrollOld }),
|
|
53
|
+
label: "Filings",
|
|
54
|
+
className: `${classId}-filings`,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "/documents",
|
|
58
|
+
icon: React.createElement(FAIcon, { icon: faFolder }),
|
|
59
|
+
label: "Documents",
|
|
60
|
+
className: `${classId}-documents`,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
key: "/virtual-address",
|
|
64
|
+
icon: React.createElement(FAIcon, { icon: faVrCardboard }),
|
|
65
|
+
label: "Virtual Address",
|
|
66
|
+
className: `${classId}-virtual-address`,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
key: "/notification",
|
|
70
|
+
icon: React.createElement(FAIcon, { icon: faBell }),
|
|
71
|
+
label: "Notification",
|
|
72
|
+
className: `${classId}-notification`,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
key: "/activities",
|
|
76
|
+
icon: React.createElement(FAIcon, { icon: faChartNetwork }),
|
|
77
|
+
label: "Activities",
|
|
78
|
+
className: `${classId}-activities`,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: "/settings",
|
|
82
|
+
icon: React.createElement(FAIcon, { icon: faGear }),
|
|
83
|
+
label: "Settings",
|
|
84
|
+
className: `${classId}-settings`,
|
|
85
|
+
},
|
|
86
|
+
];
|
|
87
|
+
if (((_a = state.corporate) === null || _a === void 0 ? void 0 : _a.liabilityType) === "LimitedByShares" &&
|
|
88
|
+
!renderNavMenuItems.map((m) => m.key).includes("/share-class")) {
|
|
89
|
+
renderNavMenuItems.unshift({
|
|
90
|
+
key: "/share-class",
|
|
91
|
+
icon: React.createElement(FAIcon, { icon: faShareNodes }),
|
|
92
|
+
label: "Share Class",
|
|
93
|
+
className: `${classId}-share-class`,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
return (React.createElement(CurrentContactContext.Provider, { value: { contact: corporate.unit } },
|
|
97
|
+
React.createElement(MainContent, { className: "company-page" },
|
|
98
|
+
React.createElement(MainContent.Nav, { collapsible: true },
|
|
99
|
+
React.createElement(NavPanel, null,
|
|
100
|
+
React.createElement("h2", { className: "nav-panel-title" },
|
|
101
|
+
React.createElement("div", { className: "nav-panel-name" }, corporate.name),
|
|
102
|
+
React.createElement(CorporateMenu, { id: corporate.id, unitId: params.id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })),
|
|
103
|
+
React.createElement(Scrollbars, { autoHide: true },
|
|
104
|
+
React.createElement(CorporateNavMenu, { id: corporate.id, url: url, defaultSelectedKeys: ["/dashboard"], preItems: [
|
|
105
|
+
{
|
|
106
|
+
key: "/dashboard",
|
|
107
|
+
icon: React.createElement(FAIcon, { icon: faTableRows }),
|
|
108
|
+
label: "Dashboard",
|
|
109
|
+
className: `${classId}-dashboard`,
|
|
110
|
+
},
|
|
111
|
+
], sufItems: renderNavMenuItems })))),
|
|
112
|
+
React.createElement("div", { className: "company-page-content" },
|
|
113
|
+
React.createElement(Routes, null,
|
|
114
|
+
React.createElement(Route, { path: "dashboard", element: React.createElement(Dashboard, { corporate: corporate, unitId: params.id, membersRegisterId: state.MemberId, officersRegisterId: state.OfficerId }) }),
|
|
115
|
+
React.createElement(Route, { path: "registers/OfficersRegister", element: state.OfficerId ? (React.createElement(OfficerList, { officersRegisterId: state.OfficerId, corporateId: corporate.id, onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
116
|
+
React.createElement(Route, { path: "registers/ShareTransactionsRegister", element: state.shareTransactionId ? (React.createElement(ShareTransactionList, { shareTransactionId: state.shareTransactionId, corporateId: corporate.id, memberId: state.MemberId, headerTitle: "ShareTransactions Register", onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
117
|
+
React.createElement(Route, { path: "registers/MembersRegister", element: state.MemberId ? (React.createElement(CompanyMemberList, { membersRegisterId: state.MemberId, corporateId: corporate.id, onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
118
|
+
React.createElement(Route, { path: "registers/ControllerRegister", element: state.ControllerId && loaded ? (React.createElement(ControllerList, { controllerRegisterId: state.ControllerId, corporateId: corporate.id, onReload: onReload, onRedirect: () => layout.history.replace(`${url}/dashboard`) })) : null }),
|
|
119
|
+
React.createElement(Route, { path: "filings", element: React.createElement(AnnualFilings, { id: corporate.id }) }),
|
|
120
|
+
React.createElement(Route, { path: "share-class", element: React.createElement(ShareClassList, { corporateId: corporate.id }) }),
|
|
121
|
+
React.createElement(Route, { path: "documents", element: React.createElement(DocumentPage, { root: corporate.id, route: `${url}/documents`, className: "corporate-documents", tabTitle: `Corporate - ${corporate.name}` || "Corporate" }) }),
|
|
122
|
+
React.createElement(Route, { path: "virtual-address", element: React.createElement(VirtualAddressList, { corporateId: corporate.id }) }),
|
|
123
|
+
React.createElement(Route, { path: "notification", element: React.createElement(NotificationList, { parentId: corporate.id, addAble: context.host.isTest }) }),
|
|
124
|
+
React.createElement(Route, { path: "activities", element: React.createElement(ActivityLog, { id: corporate.id }) }),
|
|
125
|
+
React.createElement(Route, { path: "settings", element: React.createElement(CompanySetting, { id: props.id, liabilityType: corporate.liabilityType }) }),
|
|
126
|
+
React.createElement(Route, { path: "/", element: React.createElement(Navigate, { to: "dashboard" }) }))))));
|
|
127
|
+
});
|
|
114
128
|
function onReload() {
|
|
115
129
|
setLoaded(false);
|
|
116
130
|
setTimeout(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EACN,WAAW,EACX,cAAc,EACd,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,MAAM,EACN,MAAM,GACN,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/pages/CompanyPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EACN,WAAW,EACX,cAAc,EACd,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,MAAM,EACN,MAAM,GACN,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAC;AAC3G,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,aAAa,MAAM,iDAAiD,CAAC;AAC5E,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KAAK,IACL,IAAI,EAAC,cAAc,EACnB,OAAO,EAAE,oBAAC,gBAAgB,IAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,GAAI,GAClF;wBACF,oBAAC,KAAK,IAAC,IAAI,EAAC,YAAY,EAAC,OAAO,EAAE,oBAAC,WAAW,IAAC,EAAE,EAAE,SAAS,CAAC,EAAE,GAAI,GAAI;wBACvE,oBAAC,KAAK,IACL,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,aAAa,EAAE,SAAS,CAAC,aAAa,GAAI,GAChF;wBACF,oBAAC,KAAK,IAAC,IAAI,EAAC,GAAG,EAAC,OAAO,EAAE,oBAAC,QAAQ,IAAC,EAAE,EAAC,WAAW,GAAG,GAAI,CAChD,CACJ,CACO,CACkB,CACjC,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
3
3
|
import { InlineEdit, observe } from "@voplus/morpho-ui";
|
|
4
|
+
import { utcdayjs } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
|
4
5
|
import { useFilingRecore, useFilingRecoreStore } from "../../../../../data/filing-record";
|
|
5
6
|
import { faEllipsisVertical } from "@fortawesome/pro-light-svg-icons";
|
|
6
7
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -9,11 +10,11 @@ import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
|
9
10
|
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
|
10
11
|
import MentionList from "@voplus/morpho-org/es/controls/MentionList";
|
|
11
12
|
import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
|
|
12
|
-
import { utcdayjs } from "@voplus/morpho-ui/es/controls/UTCDatePicker/state";
|
|
13
13
|
import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
|
|
14
14
|
import VerificationInformation from "@voplus/morpho-org/es/modules/verification/VerificationInformation";
|
|
15
15
|
import FilingRecoreMenu from "../../controls/FilingRecoreMenu";
|
|
16
16
|
import TagView from "@voplus/morpho-document/es/components/TagView";
|
|
17
|
+
import Tip from "@voplus/morpho-ui/es/controls/Tit";
|
|
17
18
|
import classnames from "classnames";
|
|
18
19
|
import dayjs from "dayjs";
|
|
19
20
|
import "./index.less";
|
|
@@ -30,43 +31,63 @@ const FilingProperties = (props) => {
|
|
|
30
31
|
React.createElement(FilingRecoreMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) }))),
|
|
31
32
|
React.createElement(Scrollbars, { autoHide: true },
|
|
32
33
|
verificationVisible && React.createElement(VerificationInformation, { id: id }),
|
|
33
|
-
React.createElement(PropertiesSection, { title: filingTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) =>
|
|
34
|
+
React.createElement(PropertiesSection, { title: filingTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => renderProp(i)) })))));
|
|
34
35
|
function renderProp(item) {
|
|
35
36
|
var _a;
|
|
36
37
|
switch (item.name) {
|
|
37
38
|
case "Filing Year":
|
|
38
|
-
return React.createElement(
|
|
39
|
+
return (React.createElement(Prop, { label: "Filing Year", className: `${classId}-Filing Year` },
|
|
40
|
+
React.createElement(UTCShortDate, { className: "properties-value", value: filing.year })));
|
|
39
41
|
case "Name":
|
|
40
|
-
return (React.createElement(
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
return (React.createElement(Prop, { label: "Name", className: `${classId}-Name` },
|
|
43
|
+
React.createElement(InlineEdit, { defaultValue: filing === null || filing === void 0 ? void 0 : filing.name, content: (v) => (React.createElement("span", { className: classnames("properties-value", {
|
|
44
|
+
"add-info-style": !(filing === null || filing === void 0 ? void 0 : filing.name),
|
|
45
|
+
}) }, (filing === null || filing === void 0 ? void 0 : filing.name) ? filing.name : "Add Name")), onSave: (value) => store.edit(id, { data: { Name: value }, error: "message" }) })));
|
|
43
46
|
case "Due Date":
|
|
44
|
-
return (React.createElement(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
return (React.createElement(Prop, { label: "Due Date", className: `${classId}-Due Date` },
|
|
48
|
+
React.createElement(InlineEdit, { defaultValue: filing.dueDate ? utcdayjs(filing.dueDate) : undefined, content: (v) => filing.dueDate ? (React.createElement(UTCShortDate, { className: "properties-value", value: filing.dueDate })) : (React.createElement("span", { className: "add-info-style" }, "Add DueDate")), editor: DateInputEditor, onSave: (date) => {
|
|
49
|
+
if (filing.dueDate && dayjs(date).isSame(filing.dueDate, "day"))
|
|
50
|
+
return;
|
|
51
|
+
store.edit(props.id, {
|
|
52
|
+
data: { DueDate: date !== null && date !== void 0 ? date : "" },
|
|
53
|
+
});
|
|
54
|
+
} })));
|
|
51
55
|
case "Exempted":
|
|
52
|
-
return (React.createElement(
|
|
56
|
+
return (React.createElement(Prop, { label: React.createElement(React.Fragment, null,
|
|
57
|
+
"Exempted",
|
|
58
|
+
" ",
|
|
59
|
+
React.createElement(Tip, { content: `Indicate whether the organization is exempt from this filing. Setting this to true will also clear all existing 'File Date' and 'File By' information.` })), className: `${classId}-Exempted` },
|
|
60
|
+
React.createElement(Switch, { checked: filing.exempted, onChange: (checked) => {
|
|
61
|
+
let editData = { Exempted: checked };
|
|
62
|
+
if (checked) {
|
|
63
|
+
editData = {
|
|
64
|
+
Exempted: checked,
|
|
65
|
+
FileDate: "",
|
|
66
|
+
FileById: "",
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
store.edit(id, { data: editData, error: "message" });
|
|
70
|
+
} })));
|
|
53
71
|
case "File Date":
|
|
54
|
-
return (!filing.exempted && (React.createElement(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
72
|
+
return (!filing.exempted && (React.createElement(Prop, { label: "File Date", className: `${classId}-File Date` },
|
|
73
|
+
React.createElement(InlineEdit, { defaultValue: filing.fileDate ? utcdayjs(filing.fileDate) : undefined, content: (v) => filing.fileDate ? (React.createElement(UTCShortDate, { className: "properties-value", value: filing.fileDate })) : (React.createElement("span", { className: "add-info-style" }, "Add Due Date")), editor: DateInputEditor, onSave: (date) => {
|
|
74
|
+
if (filing.fileDate && dayjs(date).isSame(filing.fileDate, "day"))
|
|
75
|
+
return;
|
|
76
|
+
store.edit(props.id, {
|
|
77
|
+
data: { FileDate: date !== null && date !== void 0 ? date : "" },
|
|
78
|
+
});
|
|
79
|
+
} }))));
|
|
61
80
|
case "File By":
|
|
62
|
-
return (React.createElement(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
81
|
+
return (!filing.exempted && (React.createElement(Prop, { label: "File By", className: `${classId}-File By` },
|
|
82
|
+
React.createElement(MentionList, { isEmptyData: true, multiple: false, contacts: ((_a = filing.fileBy) === null || _a === void 0 ? void 0 : _a.id) ? [filing.fileBy] : [], onChange: (list) => {
|
|
83
|
+
store.edit(id, {
|
|
84
|
+
data: { FileById: list.length ? list[0].id : "" },
|
|
85
|
+
error: "message",
|
|
86
|
+
});
|
|
87
|
+
} }))));
|
|
68
88
|
case "Tags":
|
|
69
|
-
return React.createElement(
|
|
89
|
+
return (React.createElement(Prop, { label: "Tags", className: `${classId}-Tags` },
|
|
90
|
+
React.createElement(TagView, { id: id, tags: filing.tags, editable: true, items: store.items })));
|
|
70
91
|
}
|
|
71
92
|
}
|
|
72
93
|
};
|
|
@@ -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,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,
|
|
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,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,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,E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