@voplus/morpho-csp 1.3.3 → 1.3.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.
- package/es/components/Header/index.less +20 -20
- package/es/components/RegisteresMenuItem/index.less +10 -10
- package/es/data/share-certificate/ShareCertificateStore.d.ts +4 -0
- package/es/data/share-certificate/ShareCertificateStore.js +8 -0
- package/es/data/share-certificate/ShareCertificateStore.js.map +1 -1
- package/es/data/share-certificate/interfaces.d.ts +19 -0
- package/es/data/share-certificate/metas.d.ts +2 -2
- package/es/data/share-certificate/metas.js +3 -4
- package/es/data/share-certificate/metas.js.map +1 -1
- package/es/data/share-certificate/types.d.ts +2 -0
- package/es/data/share-transaction/ShareTransactionStore.d.ts +1 -0
- package/es/data/share-transaction/ShareTransactionStore.js +4 -0
- package/es/data/share-transaction/ShareTransactionStore.js.map +1 -1
- package/es/modules/account/components/AccountOrganizations/index.less +26 -26
- package/es/modules/account/components/AccountPropertiesView/index.less +10 -10
- package/es/modules/account/pages/AccountDefaultView/index.less +8 -8
- package/es/modules/corporate/clda/components/CLDADetails/index.less +5 -5
- package/es/modules/corporate/clda/components/CLDAItem/index.less +41 -41
- package/es/modules/corporate/clda/components/CLDAListView/index.less +30 -30
- package/es/modules/corporate/clda/components/CLDAProperties/index.less +15 -15
- package/es/modules/corporate/clda/components/CLDAPropertiesView/index.less +10 -10
- package/es/modules/corporate/clda/components/CLDAQuickViewDialog/index.less +13 -13
- package/es/modules/corporate/clda/components/CLDASendForm/index.less +47 -47
- package/es/modules/corporate/clda/components/NewCLDAForm/index.less +6 -6
- package/es/modules/corporate/clda/controls/CLDAStatusButton/index.less +58 -58
- package/es/modules/corporate/clda/controls/LegalDocumentDialog/index.less +8 -8
- package/es/modules/corporate/clda/controls/ModeIcon/index.less +20 -20
- package/es/modules/corporate/clda/pages/CLDAAddressDefaultView/index.less +14 -14
- package/es/modules/corporate/clda/pages/CLDAClientView/index.less +84 -84
- package/es/modules/corporate/clda/pages/ChangeAddress2021/index.less +40 -40
- package/es/modules/corporate/clda/pages/SecretaryTestPage/index.less +91 -91
- package/es/modules/corporate/company/components/CompanyDetailsView/index.less +40 -40
- package/es/modules/corporate/company/components/InlineEditAddress/index.less +16 -16
- package/es/modules/corporate/company/controller-register/controls/ControllerStatusLabel/index.less +24 -24
- package/es/modules/corporate/company/controller-register/page/ControllerDefaultView/index.less +5 -5
- package/es/modules/corporate/company/identity/components/IdentityItem/index.less +48 -48
- package/es/modules/corporate/company/identity/components/NewIdentityDialog/index.less +55 -55
- package/es/modules/corporate/company/identity/components/NewLegalContactDialog/index.less +59 -59
- package/es/modules/corporate/company/identity/components/SelectLegalContactDialog/index.less +54 -54
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.less +7 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberList/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/MemberShareTransactions/index.less +12 -12
- package/es/modules/corporate/company/member-register/components/ShareTransactionsDataIcon/index.less +8 -8
- package/es/modules/corporate/company/member-register/page/CompanyMemberDefaultView/index.less +6 -6
- package/es/modules/corporate/company/officer-register/components/OfficerList/index.less +12 -12
- package/es/modules/corporate/company/officer-register/controls/OfficerStatusFilter/index.less +5 -5
- package/es/modules/corporate/company/officer-register/page/OfficerDefaultView/index.less +6 -6
- package/es/modules/corporate/company/pages/CompanyDefaultView/index.less +67 -67
- package/es/modules/corporate/company/share-transactions-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.js +4 -2
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDataContext.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js +6 -4
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/TableDragCell.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.d.ts +1 -0
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js +28 -24
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionItems/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/controls/TransactionTypeFilter/index.less +5 -5
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/pages/ShareTransactionRegisterDefaultView/index.less +20 -20
- package/es/modules/corporate/components/DocumentIconList/index.less +14 -14
- package/es/modules/corporate/components/Statement/index.less +16 -16
- package/es/modules/corporate/filing-record/components/FilingRecordItem/index.less +12 -12
- package/es/modules/corporate/filing-record/components/FilingRecordQuickView/index.less +56 -56
- package/es/modules/corporate/filing-record/components/FilingYearTimeLine/index.less +71 -71
- package/es/modules/corporate/legal-generation/components/SettingDialog/index.less +14 -14
- package/es/modules/corporate/legal-generation/pages/CorporateLegalGeneration/index.less +72 -72
- package/es/modules/corporate/relationship/components/CorporateRelationshipView/index.less +5 -5
- package/es/modules/corporate/service/components/NewServiceDialog/index.less +27 -27
- package/es/modules/corporate/service/components/ServiceItem/index.less +23 -23
- package/es/modules/corporate/service-type/components/ServiceTypePropertiesView/index.less +48 -48
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +3 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +42 -9
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.less +15 -11
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +3 -15
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/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 +37 -5
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.d.ts +2 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js +21 -14
- package/es/modules/corporate/share-certificate/components/ShareCertificateTabs/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.d.ts +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js +25 -25
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/pages/ShareCertificateDefaultView/index.less +74 -25
- package/es/modules/corporate/share-options-register/components/ShareMovementsDataIcon/index.less +11 -11
- package/es/modules/corporate/share-options-register/components/ShareOptionItem/index.less +84 -84
- package/es/modules/corporate/share-options-register/components/ShareOptionList/index.less +22 -22
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.less +89 -89
- package/es/modules/corporate/share-options-register/pages/ShareOptionDefaultView/index.less +89 -89
- package/es/modules/self-registration/clda-form/ApplicationProcessing/index.less +37 -37
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.less +25 -25
- package/es/modules/self-registration/clda-form/Download/index.less +41 -41
- package/es/modules/self-registration/clda-form/IncorporaitonCart/index.less +26 -26
- package/es/modules/self-registration/clda-form/Upload/index.less +15 -15
- package/es/modules/self-registration/clda-form/components/CLDAFormQuickViewDialog/index.less +13 -13
- package/es/modules/self-registration/clda-form/components/CompanyInfo/index.less +19 -19
- package/es/modules/self-registration/clda-form/components/NewShareholderDialog/index.less +12 -12
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.less +50 -50
- package/es/modules/self-registration/clda-form/incorporation/sgp/index.less +36 -36
- package/es/modules/self-registration/clda-form/pages/CLDAFormDefaultView/index.less +45 -45
- package/es/modules/self-registration/components/Card/index.less +51 -51
- package/es/modules/self-registration/components/CheckSection/index.less +20 -20
- package/es/modules/self-registration/components/MemberCard/index.less +53 -53
- package/es/modules/self-registration/components/StripeForm/index.less +36 -36
- package/es/modules/self-registration/controls/Blink/index.less +27 -27
- package/es/modules/self-registration/controls/Section/index.less +79 -79
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.less +12 -12
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.less +10 -10
- package/es/modules/self-registration/incorporation-clda/pages/CLDAIncorporationDefaultView/index.less +20 -20
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/TourGuide/index.less +5 -5
- package/es/modules/self-registration/incorporation-clda/pages/IncorporationCLDAClientView/index.less +52 -52
- package/es/modules/self-registration/shopping-cart/ChooseService/index.less +12 -12
- package/es/modules/self-registration/shopping-cart/Payment/index.less +13 -13
- package/es/modules/self-registration/shopping-cart/components/Pay/index.less +14 -14
- package/es/modules/self-registration/shopping-cart/components/TotalCart/index.less +75 -75
- package/es/modules/self-registration/shopping-cart/components/styles.less +23 -23
- package/es/modules/self-registration/shopping-cart/pages.less +6 -6
- package/es/obsolete/OfficerRegisterDefaultView/index.less +23 -23
- package/es/obsolete/ShareCertificateDefaultView/index.d.ts +4 -0
- package/es/obsolete/ShareCertificateDefaultView/index.js +35 -0
- package/es/obsolete/ShareCertificateDefaultView/index.js.map +1 -0
- package/es/obsolete/ShareCertificateDefaultView/index.less +36 -0
- package/es/obsolete/ShareTransactionPropertiesView/Content.js +1 -1
- package/es/obsolete/ShareTransactionPropertiesView/Content.js.map +1 -1
- package/es/obsolete/controller-register/components/ControllerItem/index.less +29 -29
- package/es/obsolete/controller-register/components/ControllerList/index.less +12 -12
- package/es/obsolete/controller-register/pages/ControllerDefaultView/index.less +1 -1
- package/es/style/common.less +66 -66
- package/package.json +1 -1
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.d.ts +0 -9
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js +0 -13
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.js.map +0 -1
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.d.ts +0 -17
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js +0 -56
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js.map +0 -1
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.less +0 -41
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.d.ts +0 -10
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js +0 -34
- package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
@import "../../../../../../style/common.less";
|
|
2
|
-
:global {
|
|
3
|
-
.officer-register-default-view {
|
|
4
|
-
position: relative;
|
|
5
|
-
// padding: 0 !important;
|
|
6
|
-
aside {
|
|
7
|
-
border-top: 0;
|
|
8
|
-
}
|
|
9
|
-
.shareTransaction-list-header {
|
|
10
|
-
// display: flex;
|
|
11
|
-
// flex: 1;
|
|
12
|
-
// justify-content: space-between;
|
|
13
|
-
// line-height: 21px;
|
|
14
|
-
// color: #fff;
|
|
15
|
-
}
|
|
16
|
-
.create-shareTransaction-form {
|
|
17
|
-
position: absolute;
|
|
18
|
-
bottom: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
right: 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
@import "../../../../../../style/common.less";
|
|
2
|
+
:global {
|
|
3
|
+
.officer-register-default-view {
|
|
4
|
+
position: relative;
|
|
5
|
+
// padding: 0 !important;
|
|
6
|
+
aside {
|
|
7
|
+
border-top: 0;
|
|
8
|
+
}
|
|
9
|
+
.shareTransaction-list-header {
|
|
10
|
+
// display: flex;
|
|
11
|
+
// flex: 1;
|
|
12
|
+
// justify-content: space-between;
|
|
13
|
+
// line-height: 21px;
|
|
14
|
+
// color: #fff;
|
|
15
|
+
}
|
|
16
|
+
.create-shareTransaction-form {
|
|
17
|
+
position: absolute;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
2
|
+
import { Archive, Sidebar } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
3
|
+
import { Tabs } from "@voplus/antd";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
5
|
+
import { useParams } from "react-router-dom";
|
|
6
|
+
import ShareCertificateProperties from "../../../src/modules/corporate/share-certificate/components/ShareCertificateProperties";
|
|
7
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
8
|
+
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
9
|
+
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
10
|
+
import PDFFileViewer from "@voplus/morpho-document/es/components/FileViewer/PDF";
|
|
11
|
+
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
12
|
+
import "./index.less";
|
|
13
|
+
const ShareCertificateDefaultView = () => {
|
|
14
|
+
const { id } = useParams();
|
|
15
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
asideContext.openAside(AsideElement, { span: 12 });
|
|
18
|
+
}, []);
|
|
19
|
+
const AsideElement = React.createElement(DocumentTabs, { id: id });
|
|
20
|
+
return observe(() => (React.createElement(AsideContent, { context: asideContext, className: "share-certificate-default-view csp-default-view_aside" },
|
|
21
|
+
React.createElement("div", { className: "share-certificate-content" },
|
|
22
|
+
React.createElement(DocumentHeader, { id: id, size: "h2", quickDataBarAlign: "left", tools: React.createElement(ToolBar, { id: id },
|
|
23
|
+
React.createElement(Sidebar, { action: () => asideContext.asideContent
|
|
24
|
+
? asideContext.closeAside()
|
|
25
|
+
: asideContext.openAside(AsideElement, { span: 12 }) }),
|
|
26
|
+
React.createElement(Archive, null)), descriptionVisible: false }),
|
|
27
|
+
React.createElement(Tabs, null,
|
|
28
|
+
React.createElement(Tabs.TabPane, { tab: "Details", key: "Details" },
|
|
29
|
+
React.createElement(ShareCertificateProperties, { id: id })),
|
|
30
|
+
React.createElement(Tabs.TabPane, { tab: "Certificate", key: "Certificate", disabled: true },
|
|
31
|
+
React.createElement("div", { className: "certificate-tab-pane" },
|
|
32
|
+
React.createElement(PDFFileViewer, { id: "1baf8aaf-ece7-4e59-a188-af0a0090815d" }))))))));
|
|
33
|
+
};
|
|
34
|
+
export default ShareCertificateDefaultView;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/obsolete/ShareCertificateDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,0BAA0B,MAAM,wFAAwF,CAAC;AAChI,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,aAAa,MAAM,sDAAsD,CAAC;AACjF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,cAAc,CAAC;AAEtB,MAAM,2BAA2B,GAAG,GAAG,EAAE;IACxC,MAAM,EAAE,EAAE,EAAE,GAAG,SAAS,EAAkB,CAAC;IAE3C,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,C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|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.share-certificate-default-view {
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
|
|
5
|
+
.share-certificate-content {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.ant-descriptions {
|
|
10
|
+
margin: 15px 20px;
|
|
11
|
+
|
|
12
|
+
.ant-descriptions-item-label,
|
|
13
|
+
.ant-descriptions-item-content {
|
|
14
|
+
line-height: 30px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ant-descriptions-item-label {
|
|
18
|
+
width: 150px;
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ant-tabs-nav {
|
|
25
|
+
padding-left: 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.certificate-tab-pane {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
height: 100%;
|
|
32
|
+
padding: 15px;
|
|
33
|
+
background-color: #f2f2f2;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -42,7 +42,7 @@ const Content = (props) => {
|
|
|
42
42
|
React.createElement("div", { className: "bold" }, "Currency"),
|
|
43
43
|
React.createElement(CurrencyView, { readonly: shareTransaction.readonly, currency: shareTransaction.currency, onChange: (currency) => shareStore.edit(id, { data: { Currency: currency }, error: "message" }) })))),
|
|
44
44
|
shareTransaction.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
45
|
-
React.createElement(Skeleton, { active: true }))) : (React.createElement(ShareTransactionItems, { data: shareTransaction })),
|
|
45
|
+
React.createElement(Skeleton, { active: true }))) : (React.createElement(ShareTransactionItems, { data: shareTransaction, transactionType: shareTransaction.transactionType })),
|
|
46
46
|
shareTransaction.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
47
47
|
React.createElement(Skeleton, { active: true }))) : (React.createElement(DescriptionEditor, { id: id, description: shareTransaction.description, readonly: shareTransaction.readonly, padding: "0.75rem 0" }))))));
|
|
48
48
|
};
|
|
@@ -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,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,qBAAqB,MAAM,8FAA8F,CAAC;AACjI,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,cAAc,CAAC;AAEtB,MAAM,OAAO,GAAG,CAAC,KAAwC,EAAE,EAAE;IAC5D,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE/B,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;IAErF,gBAAgB,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAErC,MAAM,UAAU,GAAG,wBAAwB,EAAE,CAAC;IAE9C,OAAO,OAAO,CAAC,GAA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I,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"}
|
|
@@ -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
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
-
:global {
|
|
3
|
-
.controller-list-view {
|
|
4
|
-
padding: 0 !important;
|
|
5
|
-
.list-view-header .view-title {
|
|
6
|
-
flex: 1;
|
|
7
|
-
}
|
|
8
|
-
aside {
|
|
9
|
-
border-top: 0;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
:global {
|
|
3
|
+
.controller-list-view {
|
|
4
|
+
padding: 0 !important;
|
|
5
|
+
.list-view-header .view-title {
|
|
6
|
+
flex: 1;
|
|
7
|
+
}
|
|
8
|
+
aside {
|
|
9
|
+
border-top: 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/es/style/common.less
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
3
|
-
|
|
4
|
-
:global {
|
|
5
|
-
.csp-default-view {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
}
|
|
9
|
-
.csp-default-view_aside {
|
|
10
|
-
height: 100%;
|
|
11
|
-
.ant-tabs {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
height: 100%;
|
|
15
|
-
.ant-tabs-nav {
|
|
16
|
-
margin-bottom: 0;
|
|
17
|
-
padding-left: 20px;
|
|
18
|
-
}
|
|
19
|
-
.ant-tabs-content {
|
|
20
|
-
height: 100%;
|
|
21
|
-
padding-bottom: 0px !important;
|
|
22
|
-
.ant-tabs-tabpane {
|
|
23
|
-
position: relative;
|
|
24
|
-
height: 100%;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.csp-default-view_content {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
padding: 0 !important;
|
|
33
|
-
height: 100%;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
> div {
|
|
36
|
-
margin: 15px;
|
|
37
|
-
}
|
|
38
|
-
footer {
|
|
39
|
-
padding: 10px 20px;
|
|
40
|
-
text-align: right;
|
|
41
|
-
background-color: #fff;
|
|
42
|
-
}
|
|
43
|
-
.corporate-documents {
|
|
44
|
-
margin: 0;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.incorporation-form-view {
|
|
48
|
-
padding: 20px 40px;
|
|
49
|
-
background-color: @background-color-base;
|
|
50
|
-
height: 100%;
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
.section-body {
|
|
54
|
-
padding: 20px 100px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.margin-right-10 {
|
|
58
|
-
margin-right: 10px;
|
|
59
|
-
}
|
|
60
|
-
.padding-top-15 {
|
|
61
|
-
padding-top: 15px;
|
|
62
|
-
}
|
|
63
|
-
.padding-bottom-20 {
|
|
64
|
-
padding-bottom: 20px;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
3
|
+
|
|
4
|
+
:global {
|
|
5
|
+
.csp-default-view {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
}
|
|
9
|
+
.csp-default-view_aside {
|
|
10
|
+
height: 100%;
|
|
11
|
+
.ant-tabs {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
height: 100%;
|
|
15
|
+
.ant-tabs-nav {
|
|
16
|
+
margin-bottom: 0;
|
|
17
|
+
padding-left: 20px;
|
|
18
|
+
}
|
|
19
|
+
.ant-tabs-content {
|
|
20
|
+
height: 100%;
|
|
21
|
+
padding-bottom: 0px !important;
|
|
22
|
+
.ant-tabs-tabpane {
|
|
23
|
+
position: relative;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.csp-default-view_content {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
padding: 0 !important;
|
|
33
|
+
height: 100%;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
> div {
|
|
36
|
+
margin: 15px;
|
|
37
|
+
}
|
|
38
|
+
footer {
|
|
39
|
+
padding: 10px 20px;
|
|
40
|
+
text-align: right;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
}
|
|
43
|
+
.corporate-documents {
|
|
44
|
+
margin: 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.incorporation-form-view {
|
|
48
|
+
padding: 20px 40px;
|
|
49
|
+
background-color: @background-color-base;
|
|
50
|
+
height: 100%;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
.section-body {
|
|
54
|
+
padding: 20px 100px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.margin-right-10 {
|
|
58
|
+
margin-right: 10px;
|
|
59
|
+
}
|
|
60
|
+
.padding-top-15 {
|
|
61
|
+
padding-top: 15px;
|
|
62
|
+
}
|
|
63
|
+
.padding-bottom-20 {
|
|
64
|
+
padding-bottom: 20px;
|
|
65
|
+
}
|
|
66
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NewShareCertificateFormProps } from "./index";
|
|
3
|
-
declare const NewShareCertificateFormDialog: {
|
|
4
|
-
(props: NewShareCertificateFormProps): JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
type: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default NewShareCertificateFormDialog;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Modal } from "@voplus/antd";
|
|
3
|
-
import { observe } from "@voplus/morpho-ui";
|
|
4
|
-
import NewShareCertificateForm from "./index";
|
|
5
|
-
const NewShareCertificateFormDialog = (props) => {
|
|
6
|
-
return observe(() => (React.createElement(Modal, { title: "New ShareCertificate Form Dialog", visible: true, closable: false, footer: false, onCancel: props.onCancel },
|
|
7
|
-
React.createElement(NewShareCertificateForm, { ...props }))));
|
|
8
|
-
};
|
|
9
|
-
NewShareCertificateFormDialog.defaultProps = {
|
|
10
|
-
type: "mini",
|
|
11
|
-
};
|
|
12
|
-
export default NewShareCertificateFormDialog;
|
|
13
|
-
//# sourceMappingURL=NewShareCertificateFormDialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewShareCertificateFormDialog.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/NewShareCertificateForm/NewShareCertificateFormDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,uBAAyD,MAAM,SAAS,CAAC;AAEhF,MAAM,6BAA6B,GAAG,CAAC,KAAmC,EAAE,EAAE;IAC5E,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACnB,oBAAC,KAAK,IACJ,KAAK,EAAC,kCAAkC,EACxC,OAAO,QACP,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,uBAAuB,OAAK,KAAK,GAAI,CAChC,CACT,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,6BAA6B,CAAC,YAAY,GAAG;IAC3C,IAAI,EAAE,MAAM;CACb,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import "./index.less";
|
|
3
|
-
export declare type NewShareCertificateFormProps = {
|
|
4
|
-
parentId?: string;
|
|
5
|
-
type?: "full" | "mini";
|
|
6
|
-
className?: string;
|
|
7
|
-
showView?: boolean;
|
|
8
|
-
onSave?: (params?: any) => void;
|
|
9
|
-
onCancel?: () => void;
|
|
10
|
-
};
|
|
11
|
-
declare const NewShareCertificateForm: {
|
|
12
|
-
(props: NewShareCertificateFormProps): JSX.Element;
|
|
13
|
-
defaultProps: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default NewShareCertificateForm;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import { Form, Row, Space, Button } from "@voplus/antd";
|
|
3
|
-
import { State } from "./state";
|
|
4
|
-
import { observe } from "@voplus/morpho-ui";
|
|
5
|
-
import { runInAction } from "mobx";
|
|
6
|
-
import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
7
|
-
import { useShareCertificateStore } from "../../../../../data/share-certificate";
|
|
8
|
-
import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
|
|
9
|
-
import ShareCertificatePropertiesView from "../ShareCertificatePropertiesView";
|
|
10
|
-
import classnames from "classnames";
|
|
11
|
-
import "./index.less";
|
|
12
|
-
const NewShareCertificateForm = (props) => {
|
|
13
|
-
const store = useShareCertificateStore();
|
|
14
|
-
const asideContext = useAsideContentContext();
|
|
15
|
-
const [state] = useState(new State());
|
|
16
|
-
const content = observe(() => (React.createElement("div", { className: classnames("new-share-certificate-form", { "sub-share-certificate-simply-form": props.type === "mini" }, props.className) },
|
|
17
|
-
React.createElement(Form, { layout: "vertical" }, props.type === "mini" && (React.createElement(Row, { className: "share-certificate-form-btn", justify: "end" },
|
|
18
|
-
React.createElement(Space, null,
|
|
19
|
-
React.createElement(Button, { onClick: onCancel }, "Cancel"),
|
|
20
|
-
React.createElement(Button, { type: "primary", onClick: onSubmit }, "Submit"))))))));
|
|
21
|
-
return observe(() => (React.createElement(React.Fragment, null, props.type === "full" ? (React.createElement(AddFormView, { title: "Add ShareCertificate", loading: !!state.loading, onCancel: onCancel, onSubmit: onSubmit }, content)) : (content))));
|
|
22
|
-
async function onSubmit() {
|
|
23
|
-
var _a;
|
|
24
|
-
runInAction(() => (state.loading = true));
|
|
25
|
-
let res;
|
|
26
|
-
res = await store.create({
|
|
27
|
-
data: {
|
|
28
|
-
...state.params,
|
|
29
|
-
ParentId: props === null || props === void 0 ? void 0 : props.parentId,
|
|
30
|
-
},
|
|
31
|
-
error: "message",
|
|
32
|
-
});
|
|
33
|
-
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props, state.params);
|
|
34
|
-
runInAction(() => {
|
|
35
|
-
state.loading = false;
|
|
36
|
-
state.params = state.Params;
|
|
37
|
-
});
|
|
38
|
-
if (props.showView)
|
|
39
|
-
return asideContext.openAside(React.createElement(ShareCertificatePropertiesView, { id: res.id }), {
|
|
40
|
-
span: 12,
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
// cancel add shareCertificate
|
|
44
|
-
function onCancel() {
|
|
45
|
-
state.params = state.Params;
|
|
46
|
-
if (props.showView)
|
|
47
|
-
return asideContext.closeAside();
|
|
48
|
-
if (props.onCancel)
|
|
49
|
-
props.onCancel();
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
NewShareCertificateForm.defaultProps = {
|
|
53
|
-
type: "full",
|
|
54
|
-
};
|
|
55
|
-
export default NewShareCertificateForm;
|
|
56
|
-
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/NewShareCertificateForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAW,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,8BAA8B,MAAM,mCAAmC,CAAC;AAC/E,OA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,IAAI,CAAC,CAAC,CAAC;QAC1C,IAAI,GAAQ,CAAC;QAEb,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YACxB,IAAI,EAAE;gBACL,GAAG,KAAK,CAAC,MAAM;gBACf,QAAQ,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ;aACzB;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,sDAAG,KAAK,CAAC,MAAM,CAAC,CAAC;QAC7B,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,IAAI,KAAK,CAAC,QAAQ;YACjB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,8BAA8B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBAC9E,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;IACL,CAAC;IAED,8BAA8B;IAC9B,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,uBAAuB,CAAC,YAAY,GAAG;IACtC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/index.less
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
|
-
@import "~@voplus/morpho-theme/styles/index.less";
|
|
3
|
-
|
|
4
|
-
:global {
|
|
5
|
-
.new-share-certificate-form {
|
|
6
|
-
&.sub-share-certificate-more-form {
|
|
7
|
-
padding: 0 20px;
|
|
8
|
-
|
|
9
|
-
.ant-form-item {
|
|
10
|
-
margin-bottom: 15px;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&.sub-share-certificate-simply-form {
|
|
15
|
-
flex: none;
|
|
16
|
-
padding-bottom: 10px;
|
|
17
|
-
// border-top: #f2f2f2 solid 1px;
|
|
18
|
-
|
|
19
|
-
.ant-form-item {
|
|
20
|
-
margin-bottom: 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.edit-type {
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 32px;
|
|
27
|
-
line-height: 32px;
|
|
28
|
-
padding: 0 11px;
|
|
29
|
-
border-radius: @border-radius;
|
|
30
|
-
border: 1px solid #d9d9d9;
|
|
31
|
-
|
|
32
|
-
&:hover {
|
|
33
|
-
border-color: #40a9ff;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.share-certificate-form-btn{
|
|
38
|
-
margin-top: 10px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { makeObservable, observable } from "mobx";
|
|
3
|
-
export class State {
|
|
4
|
-
constructor() {
|
|
5
|
-
Object.defineProperty(this, "Params", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
configurable: true,
|
|
8
|
-
writable: true,
|
|
9
|
-
value: {
|
|
10
|
-
Name: "ShareCertificate",
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(this, "params", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
configurable: true,
|
|
16
|
-
writable: true,
|
|
17
|
-
value: this.Params
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(this, "loading", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
configurable: true,
|
|
22
|
-
writable: true,
|
|
23
|
-
value: false
|
|
24
|
-
});
|
|
25
|
-
makeObservable(this);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
__decorate([
|
|
29
|
-
observable
|
|
30
|
-
], State.prototype, "params", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
observable
|
|
33
|
-
], State.prototype, "loading", void 0);
|
|
34
|
-
//# sourceMappingURL=state.js.map
|
package/es/modules/corporate/share-certificate/components/NewShareCertificateForm/state.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-certificate/components/NewShareCertificateForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAIA;;;;mBAAgB;gBACf,IAAI,EAAE,kBAAkB;aACxB;WAAC;QAEU;;;;mBAAgB,IAAI,CAAC,MAAM;WAAC;QAC5B;;;;mBAAiB,KAAK;WAAC;QARlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAQD;AAFY;IAAX,UAAU;qCAA6B;AAC5B;IAAX,UAAU;sCAAwB"}
|