@voplus/morpho-csp 2.0.3 → 2.0.5

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 (129) hide show
  1. package/es/components/RegisteresMenuItem/index.less +10 -10
  2. package/es/modules/account/components/AccountOrganizations/index.less +26 -26
  3. package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
  4. package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
  5. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +5 -5
  6. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
  7. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js +2 -1
  8. package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileTabs/index.js.map +1 -1
  9. package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
  10. package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
  11. package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
  12. package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
  13. package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
  14. package/es/modules/corporate/clda/components/CLDASendForm/index.less +7 -6
  15. package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
  16. package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
  17. package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
  18. package/es/modules/corporate/clda/controls/ModeIcon/index.d.ts +1 -1
  19. package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
  20. package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
  21. package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
  22. package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
  23. package/es/modules/corporate/company/components/CompanyProperties/Properties.js +5 -5
  24. package/es/modules/corporate/company/components/CompanyProperties/Properties.js.map +1 -1
  25. package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
  26. package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js +10 -10
  27. package/es/modules/corporate/company/controller-register/components/ControllerInformation/index.js.map +1 -1
  28. package/es/modules/corporate/company/controller-register/components/SelectControllerForm/index.less +5 -1
  29. package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
  30. package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
  31. package/es/modules/corporate/company/identity/components/ContactIdentitySelectDialog/index.less +7 -3
  32. package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
  33. package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
  34. package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
  35. package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
  36. package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
  37. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js +1 -1
  38. package/es/modules/corporate/company/member-register/components/CompanyMemberItem/index.js.map +1 -1
  39. package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
  40. package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
  41. package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
  42. package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js +7 -7
  43. package/es/modules/corporate/company/officer-register/components/OfficerInformation/index.js.map +1 -1
  44. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js +1 -1
  45. package/es/modules/corporate/company/officer-register/components/OfficerItem/index.js.map +1 -1
  46. package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
  47. package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
  48. package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
  49. package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js +28 -8
  50. package/es/modules/corporate/company/pages/CompanyPage/Dashboard.js.map +1 -1
  51. package/es/modules/corporate/company/pages/CompanyPage/index.less +13 -1
  52. package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
  53. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +2 -2
  54. package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
  55. package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
  56. package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
  57. package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
  58. package/es/modules/corporate/components/Statement/index.less +16 -16
  59. package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
  60. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.js +4 -4
  61. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.js.map +1 -1
  62. package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
  63. package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
  64. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +4 -4
  65. package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
  66. package/es/modules/corporate/filing-record/filing-year/FilingYearTabs/index.js +1 -1
  67. package/es/modules/corporate/filing-record/filing-year/FilingYearTabs/index.js.map +1 -1
  68. package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
  69. package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
  70. package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
  71. package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
  72. package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
  73. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +1 -1
  74. package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
  75. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +5 -7
  76. package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
  77. package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
  78. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.js +2 -2
  79. package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.js.map +1 -1
  80. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js +2 -2
  81. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/Content.js.map +1 -1
  82. package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
  83. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.js +2 -2
  84. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.js.map +1 -1
  85. package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
  86. package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
  87. package/es/modules/self-registration/clda-form/Download/index.less +41 -41
  88. package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
  89. package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
  90. package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
  91. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js +3 -3
  92. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.js.map +1 -1
  93. package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +1 -1
  94. package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
  95. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +2 -2
  96. package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
  97. package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
  98. package/es/modules/self-registration/clda-form/incorporation/agm/index.js +3 -4
  99. package/es/modules/self-registration/clda-form/incorporation/agm/index.js.map +1 -1
  100. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js +3 -4
  101. package/es/modules/self-registration/clda-form/incorporation/bvi/index.js.map +1 -1
  102. package/es/modules/self-registration/clda-form/incorporation/sgp/index.js +3 -4
  103. package/es/modules/self-registration/clda-form/incorporation/sgp/index.js.map +1 -1
  104. package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
  105. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js +1 -1
  106. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.js.map +1 -1
  107. package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
  108. package/es/modules/self-registration/components/StripeForm/index.less +36 -36
  109. package/es/modules/self-registration/controls/Blink/index.less +27 -27
  110. package/es/modules/self-registration/controls/Tips/Tip.js +3 -3
  111. package/es/modules/self-registration/controls/Tips/Tip.js.map +1 -1
  112. package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
  113. package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
  114. package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
  115. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
  116. package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
  117. package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
  118. package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
  119. package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
  120. package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
  121. package/es/modules/self-registration/shopping-cart/pages.less +6 -6
  122. package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
  123. package/es/obsolete/ShareTransactionPropertiesView/Content.js +2 -2
  124. package/es/obsolete/ShareTransactionPropertiesView/Content.js.map +1 -1
  125. package/es/obsolete/controller-register/components/ControllerInformation/index.js +7 -7
  126. package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -1
  127. package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
  128. package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
  129. package/package.json +2 -2
@@ -11,7 +11,7 @@ import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEd
11
11
  import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
12
12
  import ShareTransactionItems from "../../modules/corporate/company/share-transactions-register/components/ShareTransactionItems";
13
13
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
14
- import moment from "moment";
14
+ import dayjs from "dayjs";
15
15
  import "./index.less";
16
16
  const Content = (props) => {
17
17
  const { id, memberId } = props;
@@ -27,7 +27,7 @@ const Content = (props) => {
27
27
  React.createElement(Skeleton, { active: true }))) : (React.createElement("div", { className: "shareTransaction-item-info" },
28
28
  React.createElement("div", null,
29
29
  React.createElement("div", { className: "bold" }, "Date"),
30
- React.createElement(InlineEdit, { editor: DateInputEditor, editable: !shareTransaction.readonly, defaultValue: moment(shareTransaction.date), content: (v) => (React.createElement(React.Fragment, null, v.store.value ? moment(v.store.value).format("DD MMM YYYY") : "Add DateTime")), onSave: (v) => v
30
+ React.createElement(InlineEdit, { editor: DateInputEditor, editable: !shareTransaction.readonly, defaultValue: dayjs(shareTransaction.date), content: (v) => (React.createElement(React.Fragment, null, v.store.value ? dayjs(v.store.value).format("DD MMM YYYY") : "Add DateTime")), onSave: (v) => v
31
31
  ? shareStore.edit(id, {
32
32
  data: {
33
33
  Date: v.format("DD MMM YYYY"),
@@ -1 +1 @@
1
- {"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../src/obsolete/ShareTransactionPropertiesView/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EA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QAAQ,EACnC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,QAAQ,EAAE,CAAC,QAAQ,EAAE,EAAE,CACtB,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEvE,CACG,CACD,CACN;YACA,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC3B,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;gBAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,qBAAqB,IACrB,IAAI,EAAE,gBAAgB,EACtB,eAAe,EAAE,gBAAgB,CAAC,eAAe,GAChD,CACF;YACA,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC3B,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;gBAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,iBAAiB,IACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,gBAAgB,CAAC,WAAW,EACzC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,EACnC,OAAO,EAAC,WAAW,GAClB,CACF,CACI,CACM,CACb,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -4,7 +4,7 @@ import React from "react";
4
4
  import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
5
5
  import { InlineEdit } from "@voplus/morpho-ui";
6
6
  import Scrollbars from "react-custom-scrollbars";
7
- import moment from "moment";
7
+ import dayjs from "dayjs";
8
8
  import { observe } from "@voplus/morpho-ui";
9
9
  const ControllerInformation = (props) => {
10
10
  const { id, allowEdit } = props;
@@ -23,22 +23,22 @@ const ControllerInformation = (props) => {
23
23
  React.createElement(Skeleton, { active: true }))) : (React.createElement(Form, { labelAlign: "left", labelCol: { span: 6 }, className: "company-information" },
24
24
  controller.status && (React.createElement(Form.Item, { label: "Status" }, controller.status === "Present" ? (React.createElement(Badge, { status: "success", text: "Present" })) : (React.createElement(Badge, { status: "error", text: "Past" })))),
25
25
  React.createElement(Form.Item, { label: "Appointment Date" },
26
- React.createElement(InlineEdit, { defaultValue: moment(controller === null || controller === void 0 ? void 0 : controller.confirmDate), content: (v) => (React.createElement("span", null, (controller === null || controller === void 0 ? void 0 : controller.confirmDate)
27
- ? moment(v.store.value).format("YYYY-MM-DD")
26
+ React.createElement(InlineEdit, { defaultValue: dayjs(controller === null || controller === void 0 ? void 0 : controller.confirmDate), content: (v) => (React.createElement("span", null, (controller === null || controller === void 0 ? void 0 : controller.confirmDate)
27
+ ? dayjs(v.store.value).format("YYYY-MM-DD")
28
28
  : allowEdit
29
29
  ? "Add Appointment Date"
30
30
  : "No Appointment Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
31
- if ((controller === null || controller === void 0 ? void 0 : controller.confirmDate) && moment(date).isSame(controller === null || controller === void 0 ? void 0 : controller.confirmDate, "day"))
31
+ if ((controller === null || controller === void 0 ? void 0 : controller.confirmDate) && dayjs(date).isSame(controller === null || controller === void 0 ? void 0 : controller.confirmDate, "day"))
32
32
  return;
33
33
  edit({ Appointment: date });
34
34
  } })),
35
35
  React.createElement(Form.Item, { label: "Cease Date" },
36
- React.createElement(InlineEdit, { defaultValue: moment(controller === null || controller === void 0 ? void 0 : controller.ceaseDate), content: (v) => (React.createElement("span", null, (controller === null || controller === void 0 ? void 0 : controller.ceaseDate)
37
- ? moment(v.store.value).format("YYYY-MM-DD")
36
+ React.createElement(InlineEdit, { defaultValue: dayjs(controller === null || controller === void 0 ? void 0 : controller.ceaseDate), content: (v) => (React.createElement("span", null, (controller === null || controller === void 0 ? void 0 : controller.ceaseDate)
37
+ ? dayjs(v.store.value).format("YYYY-MM-DD")
38
38
  : allowEdit
39
39
  ? "Add Cease Date"
40
40
  : "No Cease Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
41
- if ((controller === null || controller === void 0 ? void 0 : controller.ceaseDate) && moment(date).isSame(controller === null || controller === void 0 ? void 0 : controller.ceaseDate, "day"))
41
+ if ((controller === null || controller === void 0 ? void 0 : controller.ceaseDate) && dayjs(date).isSame(controller === null || controller === void 0 ? void 0 : controller.ceaseDate, "day"))
42
42
  return;
43
43
  edit({ Cease: date });
44
44
  } })))))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,MAAM,CAAC;AAClE,OAAO,EAGN,kBAAkB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,qBAAqB,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC5E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,wCAAwC;IACxC,MAAM,UAAU,GAAG;QAClB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,YAAY;QACzB,SAAS,EAAE,YAAY;QACvB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,UAAU,QAC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C,SAAS,EAAE,IAAI;CACf,CAAC;AACF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/obsolete/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAS,QAAQ,EAAE,MAAM,MAAM,CAAC;AAClE,OAAO,EAGN,kBAAkB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,qBAAqB,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC5E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhC,wCAAwC;IACxC,MAAM,UAAU,GAAG;QAClB,EAAE,EAAE,EAAE;QACN,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,sCAAsC;QAC9C,WAAW,EAAE,YAAY;QACzB,SAAS,EAAE,YAAY;QACvB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,KAAK;KACd,CAAC;IAEF,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,UAAU,QACT,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CACrB,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE;QAChC,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACd,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,IAAI,IAAC,UAAU,EAAC,MAAM,EAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,E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C,UAAU,IACV,YAAY,EAAE,KAAK,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,CAAC,EAC1C,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CACf,kCACE,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS;oBACrB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;oBAC3C,CAAC,CAAC,SAAS;wBACX,CAAC,CAAC,gBAAgB;wBAClB,CAAC,CAAC,eAAe,CACZ,CACP,EACD,MAAM,EAAE,eAAe,EACvB,QAAQ,EAAE,SAAS,EACnB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;oBAChB,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,KAAI,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,EAAE,KAAK,CAAC;wBAC5E,OAAO;oBACR,IAAI,CAAC,EAAE,KAAK,EAAE,IAAW,EAAE,CAAC,CAAC;gBAC9B,CAAC,GACA,CACS,CACN,CACP,CACW,CACb,CAAC,CAAC;IACH,KAAK,UAAU,IAAI,CAAC,IAA+B;QAClD,MAAM,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5D,CAAC;AACF,CAAC,CAAC;AACF,qBAAqB,CAAC,YAAY,GAAG;IACpC,SAAS,EAAE,IAAI;CACf,CAAC;AACF,eAAe,qBAAqB,CAAC"}
@@ -1,29 +1,29 @@
1
- :global {
2
- .controller-item {
3
- position: relative;
4
- display: flex;
5
- justify-content: space-between;
6
- align-items: center;
7
- padding: 10px 20px;
8
- &::after {
9
- position: absolute;
10
- content: "";
11
- left: 20px;
12
- bottom: 0;
13
- right: 20px;
14
- border-bottom: 1px solid #f2f2f2;
15
- }
16
- .controller-info {
17
- flex: 1;
18
- margin-left: 10px;
19
- .title {
20
- font-weight: 500;
21
- }
22
- }
23
- .appointment-date,
24
- .cease-date {
25
- font-size: 13px;
26
- line-height: 22px;
27
- }
28
- }
29
- }
1
+ :global {
2
+ .controller-item {
3
+ position: relative;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ align-items: center;
7
+ padding: 10px 20px;
8
+ &::after {
9
+ position: absolute;
10
+ content: "";
11
+ left: 20px;
12
+ bottom: 0;
13
+ right: 20px;
14
+ border-bottom: 1px solid #f2f2f2;
15
+ }
16
+ .controller-info {
17
+ flex: 1;
18
+ margin-left: 10px;
19
+ .title {
20
+ font-weight: 500;
21
+ }
22
+ }
23
+ .appointment-date,
24
+ .cease-date {
25
+ font-size: 13px;
26
+ line-height: 22px;
27
+ }
28
+ }
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-csp",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@antv/x6": ">=1.10.0",
32
+ "@antv/x6": ">=2.0",
33
33
  "@voplus/morpho-collaboration-action": "2.x",
34
34
  "@voplus/morpho-document": "2.x",
35
35
  "@voplus/morpho-finance": "2.x",