@voplus/morpho-csp 6.0.48 → 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.
Files changed (47) hide show
  1. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchProperties/index.js +12 -11
  2. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchProperties/index.js.map +1 -1
  3. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchResult/index.js +5 -5
  4. package/es/modules/corporate/background-investigation/risk-match/components/RiskMatchResult/index.js.map +1 -1
  5. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +12 -11
  6. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
  7. package/es/modules/corporate/clda/components/CLDADetails/index.js +37 -34
  8. package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
  9. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -1
  10. package/es/modules/corporate/clda/components/CLDAProperties/index.d.ts +0 -2
  11. package/es/modules/corporate/clda/components/CLDAProperties/index.js +12 -16
  12. package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
  13. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js +1 -1
  14. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.js.map +1 -1
  15. package/es/modules/corporate/company/components/CompanyProperties/index.js +5 -4
  16. package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
  17. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +29 -40
  18. package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
  19. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js +0 -1
  20. package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js.map +1 -1
  21. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js +1 -1
  22. package/es/modules/corporate/company/identity/components/IdentifyProperties/index.js.map +1 -1
  23. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +14 -21
  24. package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
  25. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +20 -27
  26. package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
  27. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +15 -20
  28. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
  29. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +31 -37
  30. package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
  31. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +11 -10
  32. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
  33. package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +10 -10
  34. package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
  35. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +31 -41
  36. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
  37. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +3 -3
  38. package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
  39. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +11 -12
  40. package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
  41. package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js +4 -4
  42. package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/es/modules/corporate/company/components/PropertyLabel/index.d.ts +0 -8
  45. package/es/modules/corporate/company/components/PropertyLabel/index.js +0 -12
  46. package/es/modules/corporate/company/components/PropertyLabel/index.js.map +0 -1
  47. package/es/modules/corporate/company/components/PropertyLabel/index.less +0 -7
@@ -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: (labelCol) => (React.createElement(Form, { className: classId + "-form", labelAlign: "left", colon: false, labelCol: { span: labelCol || 10 }, scrollToFirstError: true }, filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(React.Fragment, { key: i.name }, renderProp(i)))))) })))));
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 (React.createElement(Form.Item, { label: "Corporate", className: classId + "-corporate" }, ((_a = virtualAddress.recipent) === null || _a === void 0 ? void 0 : _a.corporate) && (React.createElement(UnitReference, { unit: virtualAddress.recipent.corporate, symbol: true }))));
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 (React.createElement(Form.Item, { label: "Recipent", className: classId + "-recipent" }, ((_b = virtualAddress.recipent) === null || _b === void 0 ? void 0 : _b.receipent) && (React.createElement(UnitReference, { unit: virtualAddress.recipent.receipent, symbol: true }))));
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(Form.Item, { label: "Sender", className: classId + "-sender" },
40
- 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 },
41
- React.createElement(TextArea, { defaultValue: store.value, rows: 5, onFocus: (v) => v.target.select(), onInput: (v) => (store.value = v.target.value) }))), onSave: (v) => {
42
- if (v !== virtualAddress.sender) {
43
- store.edit(id, { data: { Sender: v } });
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 (React.createElement(Form.Item, { label: "Date", className: classId + "-date" }, dayjs(virtualAddress.date).format("DD MMM YYYY")));
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,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,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,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,uBAAuB,EAAE,4BAA4B,EAAE,GAAG,KAAK,CAAC;IAE3F,MAAM,cAAc,GAAG,qBAAqB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACnE,MAAM,KAAK,GAAG,0BAA0B,EAAE,CAAC;IAE3C,MAAM,SAAS,GAAG,4BAA4B,aAA5B,4BAA4B,uBAA5B,4BAA4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,CAAC,KAAK,CAAC,GACtD,CACM,CACT,EACD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE;4BACb,IAAI,CAAC,KAAK,cAAc,CAAC,MAAM,EAAE,CAAC;gCACjC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;4BACzC,CAAC;wBACF,CAAC,GACA,CACS,CACZ,CAAC;YACH,KAAK,MAAM;gBACV,OAAO,CACN,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAE,OAAO,GAAG,OAAO,IAClD,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CACtC,CACZ,CAAC;QACJ,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
+ {"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,OAA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ACN,EACD,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACtB,oBAAC,MAAM,IAAC,KAAK,EAAE,KAAK;wBACnB,oBAAC,QAAQ,IACR,YAAY,EAAE,KAAK,CAAC,KAAK,EACzB,IAAI,EAAE,CAAC,EACP,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,EACjC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,GAAI,CAAC,CAAC,MAAc,CAAC,KAAK,CAAC,GACtD,CACM,CACT,EACD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE;wBACb,IAAI,CAAC,KAAK,cAAc,CAAC,MAAM,EAAE,CAAC;4BACjC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,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: (labelCol) => (React.createElement(Form, { labelAlign: "left", colon: false, labelCol: { span: labelCol || 10 }, scrollToFirstError: true, className: classId + "-form" }, filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(React.Fragment, { key: i.name }, renderProp(i)))))) }),
20
- React.createElement(DocumentProperties, { id: id, fromLabelRequired: true, title: documentTitle, customProperties: documentProperties })))));
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 (React.createElement(Form.Item, { label: "Customer", className: classId + "-customer" }, ((_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"))));
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-regist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IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE;KAClC;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
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;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,qBAAqB,CAAC;IAEtC,MAAM,EACL,EAAE,EACF,aAAa,EACb,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,kBAAkB,GAClB,GAAG,KAAK,CAAC;IAEV,MAAM,aAAa,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEtC,MAAM,SAAS,GAAG,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,OAAO,MAAK,KAAK,CAAC,CAAC;IAE1E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,iBAAiB;QAC9B,aAAa,IAAI,oBAAC,mBAAmB,IAAC,EAAE,EAAE,EAAE,GAAI;QACjD,oBAAC,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K,EAAE;KAClC;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "6.0.48",
3
+ "version": "6.0.49",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import "./index.less";
3
- declare const PropertyLabel: (props: {
4
- label: string;
5
- labelCol: number;
6
- children: React.ReactNode;
7
- }) => React.JSX.Element;
8
- export default PropertyLabel;
@@ -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"}
@@ -1,7 +0,0 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global{
4
- .property-label-style{
5
- color: @properties-label-color;
6
- }
7
- }