@voplus/morpho-csp 6.0.48 → 6.0.50
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 +1 -1
- 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.d.ts +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +17 -22
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.d.ts +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +35 -41
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.d.ts +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +19 -18
- 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.d.ts +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +39 -49
- 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
|
@@ -3,8 +3,8 @@ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
|
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,iDAAi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G,IAAI,EACjD,MAAA,MAAA,cAAc,CAAC,MAAM,0CAAE,OAAO;uBAAE,OAAO,CACtC,CACH,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,wBAAwB,CAAC,YAAY,GAAG;IACvC,mBAAmB,EAAE,4BAA4B;IACjD,wBAAwB,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;CAC/C,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
|
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";
|
|
8
7
|
import dayjs from "dayjs";
|
|
9
8
|
import TextArea from "antd/es/input/TextArea";
|
|
10
9
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
10
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
11
11
|
import Editor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/Editor";
|
|
12
12
|
import { useVirtualAddressMail, useVirtualAddressMailStore, } from "../../../../../data/virtual-address-mail";
|
|
13
13
|
import InlineEdit from "@voplus/morpho-ui/es/controls/InlineEdit";
|
|
@@ -27,24 +27,23 @@ const VirtualAddressMailProperties = (props) => {
|
|
|
27
27
|
React.createElement(ToolBar, { id: id, showMenu: false },
|
|
28
28
|
React.createElement(VirtualAddressMailMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })))),
|
|
29
29
|
React.createElement(Scrollbars, { autoHide: true },
|
|
30
|
-
React.createElement(PropertiesSection, { title: VirtualAddressMailTitle, properties: (
|
|
30
|
+
React.createElement(PropertiesSection, { title: VirtualAddressMailTitle, 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
31
|
function renderProp(item) {
|
|
32
32
|
var _a, _b;
|
|
33
33
|
switch (item.name) {
|
|
34
34
|
case "Corporate":
|
|
35
|
-
return (
|
|
35
|
+
return (((_a = virtualAddress.recipent) === null || _a === void 0 ? void 0 : _a.corporate) && (React.createElement(UnitReference, { unit: virtualAddress.recipent.corporate, symbol: true })));
|
|
36
36
|
case "Recipent":
|
|
37
|
-
return (
|
|
37
|
+
return (((_b = virtualAddress.recipent) === null || _b === void 0 ? void 0 : _b.receipent) && (React.createElement(UnitReference, { unit: virtualAddress.recipent.receipent, symbol: true })));
|
|
38
38
|
case "Sender":
|
|
39
|
-
return (React.createElement(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} })));
|
|
39
|
+
return (React.createElement(InlineEdit, { defaultValue: virtualAddress.sender, content: ({ store }) => (React.createElement("pre", { style: { whiteSpace: "pre-wrap", wordWrap: "break-word" } }, store.defaultValue)), editor: ({ store }) => (React.createElement(Editor, { store: store },
|
|
40
|
+
React.createElement(TextArea, { defaultValue: store.value, rows: 5, onFocus: (v) => v.target.select(), onInput: (v) => (store.value = v.target.value) }))), onSave: (v) => {
|
|
41
|
+
if (v !== virtualAddress.sender) {
|
|
42
|
+
store.edit(id, { data: { Sender: v } });
|
|
43
|
+
}
|
|
44
|
+
} }));
|
|
46
45
|
case "Date":
|
|
47
|
-
return
|
|
46
|
+
return dayjs(virtualAddress.date).format("DD MMM YYYY");
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/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-mail/components/VirtualAddressMailProperties/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,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,MAAM,MAAM,yDAAyD,CAAC;AAC7E,OAAO,EACN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,0CAA0C,CAAC;AAClD,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,cAAc,CAAC;AAItB,MAAM,4BAA4B,GAAG,CAAC,KAKrC,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,+BAA+B,CAAC;IAEhD,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE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EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;wBACzC,CAAC;oBACF,CAAC,GACA,CACF,CAAC;YACH,KAAK,MAAM;gBACV,OAAO,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC1D,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,4BAA4B,CAAC,YAAY,GAAG;IAC3C,uBAAuB,EAAE,iCAAiC;IAC1D,4BAA4B,EAAE;QAC7B,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,MAAM,EAAE;KAChB;CACD,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { useCLDAForm } from "../../../../../data/clda-form";
|
|
3
|
-
import { Form } from "antd";
|
|
4
3
|
import { observe } from "@voplus/morpho-ui";
|
|
5
4
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
|
5
|
+
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
|
6
6
|
import UnitReference from "@voplus/morpho-org/es/controls/UnitReference";
|
|
7
7
|
import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
|
|
8
8
|
import DocumentProperties from "@voplus/morpho-document/es/components/DocumentProperties";
|
|
@@ -16,13 +16,13 @@ const CLDAFormProperties = (props) => {
|
|
|
16
16
|
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
17
17
|
headerVisible && React.createElement(DocumentPanelHeader, { id: id }),
|
|
18
18
|
React.createElement(Scrollbars, { autoHide: true },
|
|
19
|
-
React.createElement(PropertiesSection, { title: cldaFormTitle, properties: (
|
|
20
|
-
React.createElement(DocumentProperties, { id: id,
|
|
19
|
+
React.createElement(PropertiesSection, { title: cldaFormTitle, 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)))) }),
|
|
20
|
+
React.createElement(DocumentProperties, { id: id, title: documentTitle, customProperties: documentProperties })))));
|
|
21
21
|
function renderProp(item) {
|
|
22
22
|
var _a;
|
|
23
23
|
switch (item.name) {
|
|
24
24
|
case "Customer":
|
|
25
|
-
return (
|
|
25
|
+
return ((_a = incorporation.customer) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(UnitReference, { id: incorporation.customer.id, symbol: true })) : (React.createElement("span", { className: "add-info-style" }, "no data"));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/clda-form/components/CLDAFormProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,aAAa,MAAM,8CAA8C,CAAC;AACzE,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAIhF,MAAM,kBAAkB,GAAG,CAAC,KAa3B,EAAE,EAAE;I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AAC,CAAC,CACnC,oBAAC,aAAa,IAAC,EAAE,EAAE,aAAa,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,GAAI,CAC9D,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,cAAe,CAC/C,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,aAAa,EAAE,qBAAqB;IACpC,aAAa,EAAE,qBAAqB;IACpC,kBAAkB,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IAC1C,kBAAkB,EAAE;QACnB,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,aAAa,EAAE;QACvB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE;KAClC;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Row, Col } from "antd";
|
|
3
|
-
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import "./index.less";
|
|
5
|
-
const PropertyLabel = (props) => {
|
|
6
|
-
const { label, labelCol, children } = props;
|
|
7
|
-
return observe(() => (React.createElement(Row, null,
|
|
8
|
-
React.createElement(Col, { className: "property-label-style", span: labelCol }, label),
|
|
9
|
-
React.createElement(Col, { span: 24 - labelCol }, children))));
|
|
10
|
-
};
|
|
11
|
-
export default PropertyLabel;
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/PropertyLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,aAAa,GAAG,CAAC,KAAqE,EAAE,EAAE;IAC/F,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE5C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,GAAG;QACH,oBAAC,GAAG,IAAC,SAAS,EAAC,sBAAsB,EAAC,IAAI,EAAE,QAAQ,IAClD,KAAK,CACD;QACN,oBAAC,GAAG,IAAC,IAAI,EAAE,EAAE,GAAG,QAAQ,IAAG,QAAQ,CAAO,CACrC,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|