@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
@@ -1,84 +1,84 @@
1
- :global {
2
- .clda-client-view {
3
- display: flex;
4
- flex-direction: column;
5
- height: 100%;
6
- background-color: #f5f5f5;
7
- header {
8
- padding: 15px 20px;
9
- font-size: 15px;
10
- font-weight: 500;
11
- background-color: #fff;
12
- border-bottom: 1px solid #f2f2f2;
13
- .title {
14
- font-size: 18px;
15
- padding-top: 5px;
16
- }
17
- }
18
- .clda-client-view_content {
19
- display: flex;
20
- flex-direction: column;
21
- height: 100%;
22
- padding: 20px;
23
- .ant-steps {
24
- padding-bottom: 20px;
25
- .ant-steps-item {
26
- flex: auto;
27
- .ant-steps-item-title {
28
- font-size: 15px;
29
- }
30
- }
31
- }
32
- .steps-content {
33
- margin: 0 auto;
34
- max-width: 500px;
35
- &.select-step {
36
- .ant-radio-group {
37
- display: block;
38
- display: block;
39
- // height: 40px;
40
- span.ant-radio + * {
41
- display: inline-grid;
42
- }
43
- .desc {
44
- display: block;
45
- white-space: pre-wrap;
46
- }
47
- & + .ant-radio-wrapper {
48
- margin-top: 20px;
49
- }
50
- }
51
- }
52
- }
53
- .step-actions {
54
- padding-top: 20px;
55
- .ant-btn + .ant-btn {
56
- margin-left: 10px;
57
- }
58
- }
59
- .digital-preparation-step,
60
- .physical-signing-step {
61
- width: 600px;
62
- height: 100%;
63
- margin: 0 auto;
64
- .ant-card-body {
65
- height: calc(100% - 57px);
66
- padding: 0;
67
- .description,
68
- .step-actions {
69
- padding: 15px 24px;
70
- // font-size: 15px;
71
- // font-weight: 500;
72
- }
73
- .ant-table-wrapper {
74
- padding: 0 24px;
75
- }
76
- }
77
- }
78
- .physical-signing-step .ant-card-body {
79
- display: flex;
80
- flex-direction: column;
81
- }
82
- }
83
- }
84
- }
1
+ :global {
2
+ .clda-client-view {
3
+ display: flex;
4
+ flex-direction: column;
5
+ height: 100%;
6
+ background-color: #f5f5f5;
7
+ header {
8
+ padding: 15px 20px;
9
+ font-size: 15px;
10
+ font-weight: 500;
11
+ background-color: #fff;
12
+ border-bottom: 1px solid #f2f2f2;
13
+ .title {
14
+ font-size: 18px;
15
+ padding-top: 5px;
16
+ }
17
+ }
18
+ .clda-client-view_content {
19
+ display: flex;
20
+ flex-direction: column;
21
+ height: 100%;
22
+ padding: 20px;
23
+ .ant-steps {
24
+ padding-bottom: 20px;
25
+ .ant-steps-item {
26
+ flex: auto;
27
+ .ant-steps-item-title {
28
+ font-size: 15px;
29
+ }
30
+ }
31
+ }
32
+ .steps-content {
33
+ margin: 0 auto;
34
+ max-width: 500px;
35
+ &.select-step {
36
+ .ant-radio-group {
37
+ display: block;
38
+ display: block;
39
+ // height: 40px;
40
+ span.ant-radio + * {
41
+ display: inline-grid;
42
+ }
43
+ .desc {
44
+ display: block;
45
+ white-space: pre-wrap;
46
+ }
47
+ & + .ant-radio-wrapper {
48
+ margin-top: 20px;
49
+ }
50
+ }
51
+ }
52
+ }
53
+ .step-actions {
54
+ padding-top: 20px;
55
+ .ant-btn + .ant-btn {
56
+ margin-left: 10px;
57
+ }
58
+ }
59
+ .digital-preparation-step,
60
+ .physical-signing-step {
61
+ width: 600px;
62
+ height: 100%;
63
+ margin: 0 auto;
64
+ .ant-card-body {
65
+ height: calc(100% - 57px);
66
+ padding: 0;
67
+ .description,
68
+ .step-actions {
69
+ padding: 15px 24px;
70
+ // font-size: 15px;
71
+ // font-weight: 500;
72
+ }
73
+ .ant-table-wrapper {
74
+ padding: 0 24px;
75
+ }
76
+ }
77
+ }
78
+ .physical-signing-step .ant-card-body {
79
+ display: flex;
80
+ flex-direction: column;
81
+ }
82
+ }
83
+ }
84
+ }
@@ -1,40 +1,40 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- .Change-Address-2021 {
4
- :global {
5
- .main-content-nav {
6
- .ant-menu {
7
- .ant-menu-item {
8
- .ant-menu-title-content {
9
- display: flex;
10
- align-items: center;
11
- justify-content: space-between;
12
- }
13
- }
14
- .ant-menu-item-selected,
15
- .ant-menu-item-active {
16
- .ant-badge {
17
- .ant-badge-count {
18
- color: @ant-badge-hover-color;
19
- box-shadow: @badge-hover-shadow;
20
- border: 1px solid white;
21
- }
22
- }
23
- }
24
- }
25
- }
26
- .csp-default-view_content {
27
- > div {
28
- margin: 0;
29
- background-color: #f5f5f5;
30
- .list-view-header {
31
- display: flex;
32
- background-color: #ffffff;
33
- }
34
- > :last-child {
35
- background: #fff;
36
- }
37
- }
38
- }
39
- }
40
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ .Change-Address-2021 {
4
+ :global {
5
+ .main-content-nav {
6
+ .ant-menu {
7
+ .ant-menu-item {
8
+ .ant-menu-title-content {
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: space-between;
12
+ }
13
+ }
14
+ .ant-menu-item-selected,
15
+ .ant-menu-item-active {
16
+ .ant-badge {
17
+ .ant-badge-count {
18
+ color: @ant-badge-hover-color;
19
+ box-shadow: @badge-hover-shadow;
20
+ border: 1px solid white;
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ .csp-default-view_content {
27
+ > div {
28
+ margin: 0;
29
+ background-color: #f5f5f5;
30
+ .list-view-header {
31
+ display: flex;
32
+ background-color: #ffffff;
33
+ }
34
+ > :last-child {
35
+ background: #fff;
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -1,40 +1,40 @@
1
- :global {
2
- .company-details-view {
3
- height: 100%;
4
- .company-amount-title {
5
- color: rgba(0, 0, 0, 0.85);
6
- font-weight: bold;
7
- font-size: 16px;
8
- margin-bottom: 10px;
9
- }
10
- h4 {
11
- padding: 10px 0;
12
- margin: 0;
13
- }
14
- .ant-timeline {
15
- margin-top: 20px;
16
- }
17
- .card-amount {
18
- margin-bottom: 15px;
19
- }
20
- .card-company {
21
- position: relative;
22
- margin-bottom: 15px;
23
- &:hover .hover-edit-btn {
24
- display: block;
25
- cursor: pointer;
26
- }
27
- .ant-descriptions-item-label {
28
- font-weight: 500;
29
- }
30
- .ant-descriptions-extra .ant-btn {
31
- padding: 0 0 0 10px;
32
- height: auto;
33
- }
34
- .hover-edit-btn {
35
- display: none;
36
- height: auto;
37
- }
38
- }
39
- }
40
- }
1
+ :global {
2
+ .company-details-view {
3
+ height: 100%;
4
+ .company-amount-title {
5
+ color: rgba(0, 0, 0, 0.85);
6
+ font-weight: bold;
7
+ font-size: 16px;
8
+ margin-bottom: 10px;
9
+ }
10
+ h4 {
11
+ padding: 10px 0;
12
+ margin: 0;
13
+ }
14
+ .ant-timeline {
15
+ margin-top: 20px;
16
+ }
17
+ .card-amount {
18
+ margin-bottom: 15px;
19
+ }
20
+ .card-company {
21
+ position: relative;
22
+ margin-bottom: 15px;
23
+ &:hover .hover-edit-btn {
24
+ display: block;
25
+ cursor: pointer;
26
+ }
27
+ .ant-descriptions-item-label {
28
+ font-weight: 500;
29
+ }
30
+ .ant-descriptions-extra .ant-btn {
31
+ padding: 0 0 0 10px;
32
+ height: auto;
33
+ }
34
+ .hover-edit-btn {
35
+ display: none;
36
+ height: auto;
37
+ }
38
+ }
39
+ }
40
+ }
@@ -6,7 +6,7 @@ import InlineEditAddress from "../InlineEditAddress";
6
6
  import InlineEditCountry from "../InlineEditCountry";
7
7
  import InlineEditType from "../InlineEditType";
8
8
  import React from "react";
9
- import moment from "moment";
9
+ import dayjs from "dayjs";
10
10
  const Properties = (props) => {
11
11
  const { id, propertiesName } = props;
12
12
  const corporate = useCorporate(id, { includes: "registers" });
@@ -33,7 +33,7 @@ const Properties = (props) => {
33
33
  RegistrationNumber: value,
34
34
  }) }));
35
35
  case "Registration Date":
36
- return (React.createElement(InlineEdit, { defaultValue: moment(corporate.registrationDate), editable: corporate.allowEdit, content: (v) => corporate.registrationDate ? (React.createElement("span", null, moment(corporate.registrationDate).format("DD MMM yyyy"))) : (React.createElement("span", { className: "add-info-style" }, "No Registration Date")), editor: DateInputEditor, onSave: changeRegistrationDate }));
36
+ return (React.createElement(InlineEdit, { defaultValue: dayjs(corporate.registrationDate), editable: corporate.allowEdit, content: (v) => corporate.registrationDate ? (React.createElement("span", null, dayjs(corporate.registrationDate).format("DD MMM yyyy"))) : (React.createElement("span", { className: "add-info-style" }, "No Registration Date")), editor: DateInputEditor, onSave: changeRegistrationDate }));
37
37
  case "Registered Address":
38
38
  return (React.createElement(InlineEditAddress, { address: corporate.registeredAddress, readonly: !corporate.allowEdit, modal: true, onChange: (address) => save({
39
39
  RegisteredAddress: address,
@@ -43,7 +43,7 @@ const Properties = (props) => {
43
43
  CorporateStatus: status,
44
44
  }) }));
45
45
  case "FYE":
46
- return (React.createElement(InlineEdit, { defaultValue: (corporate === null || corporate === void 0 ? void 0 : corporate.fYE) ? moment(corporate === null || corporate === void 0 ? void 0 : corporate.fYE) : undefined, editable: corporate.allowEdit, content: (v) => (corporate === null || corporate === void 0 ? void 0 : corporate.fYE) ? (React.createElement("span", null, moment(corporate === null || corporate === void 0 ? void 0 : corporate.fYE).format("DD MMM"))) : (React.createElement("span", { className: "add-info-style" }, "Add FYE")), editor: DateInputEditor, onSave: changeFYEDate }));
46
+ return (React.createElement(InlineEdit, { defaultValue: (corporate === null || corporate === void 0 ? void 0 : corporate.fYE) ? dayjs(corporate === null || corporate === void 0 ? void 0 : corporate.fYE) : undefined, editable: corporate.allowEdit, content: (v) => (corporate === null || corporate === void 0 ? void 0 : corporate.fYE) ? (React.createElement("span", null, dayjs(corporate === null || corporate === void 0 ? void 0 : corporate.fYE).format("DD MMM"))) : (React.createElement("span", { className: "add-info-style" }, "Add FYE")), editor: DateInputEditor, onSave: changeFYEDate }));
47
47
  }
48
48
  }
49
49
  async function save(options) {
@@ -54,12 +54,12 @@ const Properties = (props) => {
54
54
  }
55
55
  function changeRegistrationDate(v) {
56
56
  // date未变更不保存
57
- if ((corporate === null || corporate === void 0 ? void 0 : corporate.registrationDate) && moment(v).isSame(corporate.registrationDate, "day"))
57
+ if ((corporate === null || corporate === void 0 ? void 0 : corporate.registrationDate) && dayjs(v).isSame(corporate.registrationDate, "day"))
58
58
  return;
59
59
  save({ RegistrationDate: v });
60
60
  }
61
61
  function changeFYEDate(v) {
62
- if ((corporate === null || corporate === void 0 ? void 0 : corporate.fYE) && moment(v).isSame(corporate.fYE, "day"))
62
+ if ((corporate === null || corporate === void 0 ? void 0 : corporate.fYE) && dayjs(v).isSame(corporate.fYE, "day"))
63
63
  return;
64
64
  save({ FYE: v !== null ? v : "" });
65
65
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,YAAY,EACZ,iBAAiB,GACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,oBAAoB,MAAM,qCAAqC,CAAC;AACvE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAY5B,MAAM,UAAU,GAAG,CAAC,KAA4D,EAAE,EAAE;IACnF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;IAC9D,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,KAAK,CAAC,QAAQ,QAAE,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AC;YAAE,OAAO;QACrE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC,CAAC,CAAE,CAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/company/components/CompanyProperties/Properties.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,YAAY,EACZ,iBAAiB,GACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,oBAAoB,MAAM,qCAAqC,CAAC;AACvE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,UAAU,GAAG,CAAC,KAA4D,EAAE,EAAE;IACnF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;IAC9D,MAAM,cAAc,GAAG,iBAAiB,EAAE,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,KAAK,CAAC,QAAQ,QAAE,UAAU,CAAC,cAAc,CAAC,CAAkB,CAAC,CAAC;IAEpF,SAAS,UAAU,CAAC,IAA2B;QAC9C,QAAQ,IAAI,EAAE;YACb,KAAK,yBAAyB;gBAC7B,OAAO,CACN,oBAAC,iBAAiB,IACjB,OAAO,EAAE,SAAS,CAAC,YAAY,EAC/B,IAAI,EAAE,SAAS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{
2
- .inline-edit-address,
3
- .company-information {
4
- .ant-col .ant-row.ant-form-item {
5
- display: block;
6
- .ant-col.ant-form-item-label {
7
- display: inline;
8
- width: 100%;
9
- text-align: left;
10
- > label {
11
- height: auto;
12
- }
13
- }
14
- }
15
- }
16
- }
1
+ :global {
2
+ .inline-edit-address,
3
+ .company-information {
4
+ .ant-col .ant-row.ant-form-item {
5
+ display: block;
6
+ .ant-col.ant-form-item-label {
7
+ display: inline;
8
+ width: 100%;
9
+ text-align: left;
10
+ > label {
11
+ height: auto;
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
@@ -5,7 +5,7 @@ import { observe, InlineEdit } from "@voplus/morpho-ui";
5
5
  import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
6
6
  import ControllerStatusLabel from "../../controls/ControllerStatusLabel";
7
7
  import Scrollbars from "react-custom-scrollbars";
8
- import moment from "moment";
8
+ import dayjs from "dayjs";
9
9
  const ControllerInformation = (props) => {
10
10
  const { id, allowEdit } = props;
11
11
  const controller = useController(id);
@@ -16,27 +16,27 @@ const ControllerInformation = (props) => {
16
16
  React.createElement(Form.Item, { label: "Confimration Status" },
17
17
  React.createElement(ControllerStatusLabel, { status: controller.confirmationStatus, editable: allowEdit, onChange: (status) => controllerStore.edit(id, { data: { ConfirmationStatus: status }, error: "message" }) })),
18
18
  React.createElement(Form.Item, { label: "Confimration Date" },
19
- React.createElement(InlineEdit, { defaultValue: moment(controller.confimrationDate), content: (v) => controller.confimrationDate ? (React.createElement("span", null, moment(controller.confimrationDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Confimration Date" : "No Confimration Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
19
+ React.createElement(InlineEdit, { defaultValue: dayjs(controller.confimrationDate), content: (v) => controller.confimrationDate ? (React.createElement("span", null, dayjs(controller.confimrationDate).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Confimration Date" : "No Confimration Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
20
20
  if ((controller === null || controller === void 0 ? void 0 : controller.confimrationDate) &&
21
- moment(date).isSame(controller.confimrationDate, "day"))
21
+ dayjs(date).isSame(controller.confimrationDate, "day"))
22
22
  return;
23
23
  edit({
24
- ConfimrationDate: (date !== null ? moment(date).format("YYYY-MM-DD") : ""),
24
+ ConfimrationDate: (date !== null ? dayjs(date).format("YYYY-MM-DD") : ""),
25
25
  });
26
26
  } })),
27
27
  React.createElement(Form.Item, { label: "Appointment Date" },
28
- React.createElement(InlineEdit, { defaultValue: moment((controller === null || controller === void 0 ? void 0 : controller.appointment) !== "" ? controller === null || controller === void 0 ? void 0 : controller.appointment : undefined), content: (v) => (controller === null || controller === void 0 ? void 0 : controller.appointment) ? (React.createElement("span", null, moment(controller === null || controller === void 0 ? void 0 : controller.appointment).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Appointment Date" : "No Appointment Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
29
- if ((controller === null || controller === void 0 ? void 0 : controller.appointment) && moment(date).isSame(controller === null || controller === void 0 ? void 0 : controller.appointment, "day"))
28
+ React.createElement(InlineEdit, { defaultValue: dayjs((controller === null || controller === void 0 ? void 0 : controller.appointment) !== "" ? controller === null || controller === void 0 ? void 0 : controller.appointment : undefined), content: (v) => (controller === null || controller === void 0 ? void 0 : controller.appointment) ? (React.createElement("span", null, dayjs(controller === null || controller === void 0 ? void 0 : controller.appointment).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Appointment Date" : "No Appointment Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
29
+ if ((controller === null || controller === void 0 ? void 0 : controller.appointment) && dayjs(date).isSame(controller === null || controller === void 0 ? void 0 : controller.appointment, "day"))
30
30
  return;
31
31
  edit({
32
- Appointment: (date !== null ? moment(date).format("YYYY-MM-DD") : ""),
32
+ Appointment: (date !== null ? dayjs(date).format("YYYY-MM-DD") : ""),
33
33
  });
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.cease) !== "" ? controller === null || controller === void 0 ? void 0 : controller.cease : undefined), content: (v) => (controller === null || controller === void 0 ? void 0 : controller.cease) ? (React.createElement("span", null, moment(controller === null || controller === void 0 ? void 0 : controller.cease).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Cease Date" : "No Cease Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
37
- if ((controller === null || controller === void 0 ? void 0 : controller.cease) && moment(date).isSame(controller === null || controller === void 0 ? void 0 : controller.cease, "day"))
36
+ React.createElement(InlineEdit, { defaultValue: dayjs((controller === null || controller === void 0 ? void 0 : controller.cease) !== "" ? controller === null || controller === void 0 ? void 0 : controller.cease : undefined), content: (v) => (controller === null || controller === void 0 ? void 0 : controller.cease) ? (React.createElement("span", null, dayjs(controller === null || controller === void 0 ? void 0 : controller.cease).format("YYYY-MM-DD"))) : (React.createElement("span", { className: "add-info-style" }, allowEdit ? "Add Cease Date" : "No Cease Date")), editor: DateInputEditor, editable: allowEdit, onSave: (date) => {
37
+ if ((controller === null || controller === void 0 ? void 0 : controller.cease) && dayjs(date).isSame(controller === null || controller === void 0 ? void 0 : controller.cease, "day"))
38
38
  return;
39
- edit({ Cease: (date !== null ? moment(date).format("YYYY-MM-DD") : "") });
39
+ edit({ Cease: (date !== null ? dayjs(date).format("YYYY-MM-DD") : "") });
40
40
  } })),
41
41
  React.createElement(Form.Item, { label: "Email" },
42
42
  React.createElement(InlineEdit, { defaultValue: controller.email, content: (v) => controller.email ? (React.createElement("span", null, controller.email)) : (React.createElement("span", { className: "add-info-style" }, "Add Email")), onSave: (value) => controllerStore.edit(id, { data: { Email: value }, error: "message" }) })),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAEN,aAAa,EACb,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,MAAM,qBAAqB,GAAG,CAAC,KAA0C,EAAE,EAAE;IAC5E,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAChC,MAAM,UAAU,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IACrC,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,EAAE,EAAE,EAAE,SAAS,EAAC,wBAAwB;QAChF,UAAU,CAAC,MAAM,IAAI,CACrB,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,IACvB,UAAU,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAClC,oBAAC,KAAK,IAAC,MAAM,EAAC,SAAS,EAAC,IAAI,EAAC,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,CAAC,EAAE,EAAE,CACd,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAClB,kCAAO,UAAU,CAAC,KAAK,CAAQ,CAC/B,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,gBAAiB,CACjD,EAEF,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CACtB,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEtE,CACS;QACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,OAAO;YACvB,oBAAC,UAAU,IACV,YAAY,EAAE,UAAU,CAAC,KAAK,EAC9B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CACd,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAClB,kCAAO,UAAU,CAAC,KAAK,CAAQ,CAC/B,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,gBAAiB,CACjD,EAEF,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CACtB,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEtE,CACS,CACN,CACP,CACW,CACb,CAAC,CAAC;IAEH,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;AAEF,qBAAqB,CAAC,YAAY,GAAG;IACpC,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/company/controller-register/components/ControllerInformation/index.tsx"],"names":[],"mappings":"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,CAAC,KAAK,CAAQ,CAC/B,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,gBAAiB,CACjD,EAEF,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CACtB,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEtE,CACS;QACZ,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,OAAO;YACvB,oBAAC,UAAU,IACV,YAAY,EAAE,UAAU,CAAC,KAAK,EAC9B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CACd,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAClB,kCAAO,UAAU,CAAC,KAAK,CAAQ,CAC/B,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,gBAAiB,CACjD,EAEF,MAAM,EAAE,CAAC,KAAU,EAAE,EAAE,CACtB,eAAe,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAEtE,CACS,CACN,CACP,CACW,CACb,CAAC,CAAC;IAEH,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;AAEF,qBAAqB,CAAC,YAAY,GAAG;IACpC,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -5,7 +5,7 @@
5
5
  .ant-modal-content {
6
6
  .ant-modal-body {
7
7
  height: 500px;
8
- padding: 0;
8
+ padding: 0 !important;
9
9
  }
10
10
 
11
11
  .ant-checkbox-group {
@@ -28,6 +28,10 @@
28
28
 
29
29
  .select-controller-list-content {
30
30
  height: calc(100% - 55px);
31
+
32
+ .ant-checkbox-group{
33
+ flex-direction: column;
34
+ }
31
35
  }
32
36
  }
33
37
  }
@@ -1,25 +1,25 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- :global {
4
- .controller-status {
5
-
6
- &.unconfirmed,
7
- &.unconfirmed:hover {
8
- border: unset;
9
- background: #ffe58f;
10
- color: white;
11
- }
12
-
13
- &.confirmed-not-controller,
14
- &.confirmed-not-controller:hover {
15
- background: @closed-color;
16
- }
17
-
18
- &.confirmed-controller,
19
- &.confirmed-controller:hover {
20
- background: @done-color;
21
- }
22
-
23
- width: 13em;
24
- }
1
+ @import "~@voplus/morpho-theme/styles/index.less";
2
+
3
+ :global {
4
+ .controller-status {
5
+
6
+ &.unconfirmed,
7
+ &.unconfirmed:hover {
8
+ border: unset;
9
+ background: #ffe58f;
10
+ color: white;
11
+ }
12
+
13
+ &.confirmed-not-controller,
14
+ &.confirmed-not-controller:hover {
15
+ background: @closed-color;
16
+ }
17
+
18
+ &.confirmed-controller,
19
+ &.confirmed-controller:hover {
20
+ background: @done-color;
21
+ }
22
+
23
+ width: 13em;
24
+ }
25
25
  }
@@ -1,6 +1,6 @@
1
- :global {
2
- .controller-default-view {
3
- padding: 0 !important;
4
- overflow: hidden;
5
- }
1
+ :global {
2
+ .controller-default-view {
3
+ padding: 0 !important;
4
+ overflow: hidden;
5
+ }
6
6
  }
@@ -6,10 +6,10 @@
6
6
  .ant-modal-body {
7
7
  display: flex;
8
8
  height: calc(100vh - 200px);
9
- padding: 0;
9
+ padding: 0 !important;
10
10
 
11
11
  .ant-modal-close {
12
- height: 56px;
12
+ height: 22px;
13
13
 
14
14
  .ant-modal-close-x {
15
15
  color: #000;
@@ -75,13 +75,17 @@
75
75
 
76
76
  .identity-detail {
77
77
  flex: 1;
78
- padding: 0 20px;
78
+ // padding: 0 20px;
79
79
 
80
80
  .identity-content {
81
81
  height: calc(100% - 30px);
82
82
 
83
83
  .ant-tabs {
84
84
  height: 100%;
85
+
86
+ & > .ant-tabs-nav {
87
+ padding: 0 20px;
88
+ }
85
89
  }
86
90
  }
87
91
  }