@voplus/morpho-csp 1.0.0-dev011 → 1.2.0-dev01
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/CompanyMemberSelect/index.js +2 -2
- package/es/components/CompanyMemberSelect/index.js.map +1 -1
- package/es/components/CurrencyView/state.d.ts +1 -0
- package/es/components/CurrencyView/state.js +20 -4
- package/es/components/CurrencyView/state.js.map +1 -1
- package/es/components/LegalContactSelect/index.js +4 -3
- package/es/components/LegalContactSelect/index.js.map +1 -1
- package/es/components/LegalContactSelect/state.d.ts +1 -0
- package/es/components/LegalContactSelect/state.js +20 -4
- package/es/components/LegalContactSelect/state.js.map +1 -1
- package/es/components/NewTypeDropdown/index.js +1 -1
- package/es/components/NewTypeDropdown/index.js.map +1 -1
- package/es/components/ShareTransactionPropertiesView/Content.js +2 -2
- package/es/components/ShareTransactionPropertiesView/Content.js.map +1 -1
- package/es/components/ShareTransactionPropertiesView/index.js +2 -2
- package/es/components/ShareTransactionPropertiesView/index.js.map +1 -1
- package/es/components/TableDragRow/index.js +2 -2
- package/es/components/TableDragRow/index.js.map +1 -1
- package/es/components/VerificationInformation/VerificationStore.js +12 -2
- package/es/components/VerificationInformation/VerificationStore.js.map +1 -1
- package/es/components/VerificationInformation/index.js +7 -46
- package/es/components/VerificationInformation/index.js.map +1 -1
- package/es/components/VerificationInformation/state.d.ts +9 -1
- package/es/components/VerificationInformation/state.js +91 -4
- package/es/components/VerificationInformation/state.js.map +1 -1
- package/es/controls/UnitAvatar/index.d.ts +16 -0
- package/es/controls/UnitAvatar/index.js +30 -0
- package/es/controls/UnitAvatar/index.js.map +1 -0
- package/es/controls/UnitAvatar/index.less +7 -0
- package/es/data/CLDA/store.js +12 -2
- package/es/data/CLDA/store.js.map +1 -1
- package/es/data/account/AccountStore.js +18 -3
- package/es/data/account/AccountStore.js.map +1 -1
- package/es/data/corporate/CorporateStore.js +18 -3
- package/es/data/corporate/CorporateStore.js.map +1 -1
- package/es/data/filingRecord/store.js +12 -2
- package/es/data/filingRecord/store.js.map +1 -1
- package/es/data/identity/IdentityStore.js +18 -3
- package/es/data/identity/IdentityStore.js.map +1 -1
- package/es/data/member/MemberStore.js +18 -3
- package/es/data/member/MemberStore.js.map +1 -1
- package/es/data/officer/OfficerStore.js +18 -3
- package/es/data/officer/OfficerStore.js.map +1 -1
- package/es/data/service/store.js +18 -3
- package/es/data/service/store.js.map +1 -1
- package/es/data/serviceType/store.js +18 -3
- package/es/data/serviceType/store.js.map +1 -1
- package/es/data/shareCertificate/store.js +18 -3
- package/es/data/shareCertificate/store.js.map +1 -1
- package/es/data/shareTransaction/ShareTransactionStore.js +6 -1
- package/es/data/shareTransaction/ShareTransactionStore.js.map +1 -1
- package/es/data/shareTransaction/metas.js +6 -1
- package/es/data/shareTransaction/metas.js.map +1 -1
- package/es/modules/account/AccountDefaultView/index.js +2 -2
- package/es/modules/account/AccountDefaultView/index.js.map +1 -1
- package/es/modules/account/AccountOrganizations/index.js +7 -7
- package/es/modules/account/AccountOrganizations/index.js.map +1 -1
- package/es/modules/account/AccountOrganizations/index.less +1 -1
- package/es/modules/account/AccountPropertiesView/index.js +3 -3
- package/es/modules/account/AccountPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js +25 -3
- package/es/modules/corporate/CLDA/CLDAClientView/CLDAClientContext.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/CompletedStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/DigitalPreparationStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalPreparationStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/PhysicalSigningStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/SelectStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/StartStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/components/VerificationStep/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAClientView/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAClientView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDADefaultView/index.js +3 -3
- package/es/modules/corporate/CLDA/CLDADefaultView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAListView/index.d.ts +1 -1
- package/es/modules/corporate/CLDA/CLDAListView/index.js +21 -14
- package/es/modules/corporate/CLDA/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAListView/state.d.ts +2 -0
- package/es/modules/corporate/CLDA/CLDAListView/state.js +54 -4
- package/es/modules/corporate/CLDA/CLDAListView/state.js.map +1 -1
- package/es/modules/corporate/CLDA/CLDAPropertiesView/index.js +2 -2
- package/es/modules/corporate/CLDA/CLDAPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.js +13 -12
- package/es/modules/corporate/CLDA/ChangeAddress2021/index.js.map +1 -1
- package/es/modules/corporate/CLDA/ChangeAddress2021/state.d.ts +2 -0
- package/es/modules/corporate/CLDA/ChangeAddress2021/state.js +89 -11
- package/es/modules/corporate/CLDA/ChangeAddress2021/state.js.map +1 -1
- package/es/modules/corporate/CLDA/components/CLDADetails/index.js +2 -2
- package/es/modules/corporate/CLDA/components/CLDADetails/index.js.map +1 -1
- package/es/modules/corporate/CLDA/components/CLDAItem/index.js +2 -2
- package/es/modules/corporate/CLDA/components/CLDAItem/index.js.map +1 -1
- package/es/modules/corporate/CLDA/components/NewCLDA/index.js +2 -2
- package/es/modules/corporate/CLDA/components/NewCLDA/index.js.map +1 -1
- package/es/modules/corporate/CLDA/controls/ModeIcon/index.js +3 -3
- package/es/modules/corporate/CLDA/controls/ModeIcon/index.js.map +1 -1
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.js +2 -2
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/index.js.map +1 -1
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.d.ts +1 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.js +8 -2
- package/es/modules/corporate/CLDA/controls/filters/CLDASigningModeFilter/state.js.map +1 -1
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.js +2 -2
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/index.js.map +1 -1
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.d.ts +1 -0
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.js +8 -2
- package/es/modules/corporate/CLDA/controls/filters/CLDAStatusFilter/state.js.map +1 -1
- package/es/modules/corporate/CorporateDefaultView/index.js +2 -2
- package/es/modules/corporate/CorporateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/CorporateSelect/index.js +2 -2
- package/es/modules/corporate/CorporateSelect/index.js.map +1 -1
- package/es/modules/corporate/DocumentIconList/index.js +3 -3
- package/es/modules/corporate/DocumentIconList/index.js.map +1 -1
- package/es/modules/corporate/FilingRecord/AnnualFilings/index.js +4 -3
- package/es/modules/corporate/FilingRecord/AnnualFilings/index.js.map +1 -1
- package/es/modules/corporate/FilingRecord/FilingRecordItem/index.js +2 -2
- package/es/modules/corporate/FilingRecord/FilingRecordItem/index.js.map +1 -1
- package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.js +2 -2
- package/es/modules/corporate/FilingRecord/FilingRecordQuickView/index.js.map +1 -1
- package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.js +2 -2
- package/es/modules/corporate/FilingRecord/FilingYearTimeLine/index.js.map +1 -1
- package/es/modules/corporate/Service/ServiceItem/index.js +2 -2
- package/es/modules/corporate/Service/ServiceItem/index.js.map +1 -1
- package/es/modules/corporate/Service/ServiceList/index.js +4 -3
- package/es/modules/corporate/Service/ServiceList/index.js.map +1 -1
- package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.js +2 -2
- package/es/modules/corporate/ServiceType/ServiceTypeDefaultView/index.js.map +1 -1
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.js +39 -33
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/index.js.map +1 -1
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.d.ts +1 -0
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.js +38 -7
- package/es/modules/corporate/ServiceType/ServiceTypePropertiesView/state.js.map +1 -1
- package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.js +2 -2
- package/es/modules/corporate/ServiceType/ServiceTypeSelect/index.js.map +1 -1
- package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.js +2 -2
- package/es/modules/corporate/ShareCertificate/ShareCertificateDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/CompanyDefaultView/index.js +2 -2
- package/es/modules/corporate/company/CompanyDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/CompanyDetailsView/index.js +2 -2
- package/es/modules/corporate/company/CompanyDetailsView/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js +2 -2
- package/es/modules/corporate/company/Identity/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentityInformation/index.js +6 -28
- package/es/modules/corporate/company/Identity/IdentityInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/IdentityInformation/state.d.ts +6 -1
- package/es/modules/corporate/company/Identity/IdentityInformation/state.js +95 -8
- package/es/modules/corporate/company/Identity/IdentityInformation/state.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js +24 -21
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page1.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.js +6 -5
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page2.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.js +10 -9
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page3.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.js +21 -18
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page4.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.js +6 -5
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/Page5.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.js +2 -2
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/index.js.map +1 -1
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.d.ts +1 -0
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.js +136 -27
- package/es/modules/corporate/company/Identity/SelectLegalContactDialog/state.js.map +1 -1
- package/es/modules/corporate/company/InlineEditAddress/index.js +2 -2
- package/es/modules/corporate/company/InlineEditAddress/index.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.js +2 -2
- package/es/modules/corporate/company/MemberRegister/CompanyMemberDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.js +3 -3
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberAvatar/index.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.js +2 -2
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberItem/index.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.js +2 -2
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/index.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.d.ts +1 -0
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.js +20 -4
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberList/state.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.js +3 -3
- package/es/modules/corporate/company/MemberRegister/components/CompanyMemberPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/MemberRegister/components/Details/index.js +2 -2
- package/es/modules/corporate/company/MemberRegister/components/Details/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/ContactInformation/index.js +2 -2
- package/es/modules/corporate/company/Officer/ContactInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerDefaultView/index.js +2 -2
- package/es/modules/corporate/company/Officer/OfficerDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerInformation/index.js +2 -2
- package/es/modules/corporate/company/Officer/OfficerInformation/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerInformation/state.d.ts +1 -0
- package/es/modules/corporate/company/Officer/OfficerInformation/state.js +11 -1
- package/es/modules/corporate/company/Officer/OfficerInformation/state.js.map +1 -1
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js +3 -3
- package/es/modules/corporate/company/Officer/OfficerPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js +2 -2
- package/es/modules/corporate/company/Officer/components/CorporateOfficerSelect/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js +3 -3
- package/es/modules/corporate/company/OfficerRegister/OfficerItem/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js +53 -42
- package/es/modules/corporate/company/OfficerRegister/OfficerList/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerList/state.d.ts +2 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerList/state.js +32 -4
- package/es/modules/corporate/company/OfficerRegister/OfficerList/state.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.js +2 -2
- package/es/modules/corporate/company/OfficerRegister/OfficerRegisterDefaultView/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.js +4 -3
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/index.js.map +1 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.d.ts +1 -0
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.js +11 -1
- package/es/modules/corporate/company/OfficerRegister/OfficerStatusFilter/state.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.js +36 -8
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js +15 -14
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/state.d.ts +2 -0
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/state.js +38 -5
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/state.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js +2 -2
- package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js +7 -6
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/state.d.ts +1 -0
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/state.js +20 -4
- package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/state.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js +5 -5
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js.map +1 -1
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.d.ts +1 -0
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.js +8 -2
- package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/state.js.map +1 -1
- package/es/routes.d.ts +1 -1
- package/es/style/common.less +0 -3
- package/package.json +14 -17
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemberListEffect } from "../../data/member";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Select } from "@voplus/antd";
|
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
|
4
5
|
import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
5
|
-
import { useObserver } from "mobx-react-lite";
|
|
6
6
|
const CompanyMemberSelect = (props) => {
|
|
7
7
|
const { id, multiple, style, onChange } = props;
|
|
8
8
|
const list = useCreateListDataState({}, [id]);
|
|
@@ -18,7 +18,7 @@ const CompanyMemberSelect = (props) => {
|
|
|
18
18
|
// }
|
|
19
19
|
],
|
|
20
20
|
});
|
|
21
|
-
return
|
|
21
|
+
return observe(() => (React.createElement(Select, Object.assign({ showSearch: true, allowClear: true, style: style, placeholder: "Please Select Member" }, (!!multiple ? { mode: "multiple" } : {}), { onChange: onSelect, loading: list.loading, filterOption: (input, option) => (option === null || option === void 0 ? void 0 : option.children.toLowerCase().indexOf(input.toLowerCase())) >= 0, dropdownStyle: { backgroundColor: "#fff" } }), list.data.map((member) => (React.createElement(Select.Option, { value: member.id, key: member.id }, member.name))))));
|
|
22
22
|
/** select company member */
|
|
23
23
|
async function onSelect(value) {
|
|
24
24
|
const members = multiple
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CompanyMemberSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CompanyMemberSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,mBAAmB,GAAG,CAAC,KAK5B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEhD,MAAM,IAAI,GAAG,sBAAsB,CAAiB,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,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AC,CAAC,EAAE,EAAE,CAAE,KAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;YACtE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,CAAC,CAAC;QACzC,OAAM,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,OAAO,EAAC,CAAC;IAC3B,CAAC;AACF,CAAC,CAAC;AAEF,mBAAmB,CAAC,YAAY,GAAG;IAClC,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;CACxB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { observable } from "mobx";
|
|
2
|
+
import { makeAutoObservable, observable } from "mobx";
|
|
3
3
|
export class State {
|
|
4
4
|
constructor() {
|
|
5
5
|
/** EDit To of the quotation. */
|
|
6
|
-
this
|
|
6
|
+
Object.defineProperty(this, "contactEdit", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: false
|
|
11
|
+
});
|
|
7
12
|
/** EDit To of the quotation. */
|
|
8
|
-
this
|
|
13
|
+
Object.defineProperty(this, "currencyEdit", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: false
|
|
18
|
+
});
|
|
9
19
|
/** Edit Date of the quotation. */
|
|
10
|
-
this
|
|
20
|
+
Object.defineProperty(this, "dateEdit", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: false
|
|
25
|
+
});
|
|
26
|
+
makeAutoObservable(this);
|
|
11
27
|
}
|
|
12
28
|
}
|
|
13
29
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/CurrencyView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/CurrencyView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEtD,MAAM,OAAO,KAAK;IAQjB;QAPA,gCAAgC;QACpB;;;;mBAAqB,KAAK;WAAC;QACvC,gCAAgC;QACpB;;;;mBAAsB,KAAK;WAAC;QACxC,kCAAkC;QACtB;;;;mBAAkB,KAAK;WAAC;QAGnC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CACD;AATY;IAAX,UAAU;0CAA4B;AAE3B;IAAX,UAAU;2CAA6B;AAE5B;IAAX,UAAU;uCAAyB;AAOrC,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACL,CAAC"}
|
|
@@ -2,14 +2,15 @@ import { useIdentityListEffect } from "../../data/identity";
|
|
|
2
2
|
import React, { useState } from "react";
|
|
3
3
|
import { Select } from "@voplus/antd";
|
|
4
4
|
import { State } from "./state";
|
|
5
|
-
import {
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
import { runInAction } from "mobx";
|
|
6
7
|
const LegalContactSelect = (props) => {
|
|
7
8
|
const [state] = useState(new State());
|
|
8
9
|
useIdentityListEffect(null, (list) => {
|
|
9
10
|
state.contactList = list || [];
|
|
10
11
|
state.loading = false;
|
|
11
12
|
});
|
|
12
|
-
return
|
|
13
|
+
return observe(() => (React.createElement(Select, { value: state.identityId, loading: state.loading, showSearch: true, filterOption: filterItems, optionLabelProp: "title", onSelect: onSelect, style: { width: "100%" } }, state.contactList.map((i) => (React.createElement(Select.Option, { key: i.id, value: i.id, title: i.identity }, i.identity))))));
|
|
13
14
|
function filterItems(input, option) {
|
|
14
15
|
return option.title.toLowerCase().includes(input.toLowerCase());
|
|
15
16
|
}
|
|
@@ -17,7 +18,7 @@ const LegalContactSelect = (props) => {
|
|
|
17
18
|
function onSelect(id) {
|
|
18
19
|
var _a;
|
|
19
20
|
const contact = state.contactList.find((x) => x.id === id);
|
|
20
|
-
state.identityId = id;
|
|
21
|
+
runInAction(() => (state.identityId = id));
|
|
21
22
|
(_a = props.onChange) === null || _a === void 0 ? void 0 : _a.call(props, contact);
|
|
22
23
|
}
|
|
23
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/LegalContactSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,EAAE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,CAAC,MAAM,IAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,IACtD,CAAC,CAAC,QAAQ,CACI,CAChB,CAAC,CACM,CACT,CAAC,CAAC;IACH,SAAS,WAAW,CAAC,KAAU,EAAE,MAAW;QAC3C,OAAQ,MAAM,CAAC,KAAgB,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7E,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ,CAAC,EAAU;;QAC3B,MAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAC3D,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,GAAG,EAAE,CAAC,CAAC,CAAC;QAC3C,MAAA,KAAK,CAAC,QAAQ,+CAAd,KAAK,EAAY,OAAO,EAAE;IAC3B,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { observable } from "mobx";
|
|
2
|
+
import { makeAutoObservable, observable } from "mobx";
|
|
3
3
|
export class State {
|
|
4
4
|
constructor() {
|
|
5
5
|
/** id of identity */
|
|
6
|
-
this
|
|
6
|
+
Object.defineProperty(this, "identityId", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: ""
|
|
11
|
+
});
|
|
7
12
|
/** list of unit */
|
|
8
|
-
this
|
|
13
|
+
Object.defineProperty(this, "contactList", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true,
|
|
17
|
+
value: []
|
|
18
|
+
});
|
|
9
19
|
/** loading of load identity list */
|
|
10
|
-
this
|
|
20
|
+
Object.defineProperty(this, "loading", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
configurable: true,
|
|
23
|
+
writable: true,
|
|
24
|
+
value: true
|
|
25
|
+
});
|
|
26
|
+
makeAutoObservable(this);
|
|
11
27
|
}
|
|
12
28
|
}
|
|
13
29
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/LegalContactSelect/state.ts"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/LegalContactSelect/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAItD,MAAM,OAAO,KAAK;IAQjB;QAPA,qBAAqB;QACT;;;;mBAAoB,EAAE;WAAC;QACnC,mBAAmB;QACP;;;;mBAAkC,EAAE;WAAC;QACjD,oCAAoC;QACxB;;;;mBAAiB,IAAI;WAAC;QAGjC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CACD;AATY;IAAX,UAAU;yCAAwB;AAEvB;IAAX,UAAU;0CAAsC;AAErC;IAAX,UAAU;sCAAuB"}
|
|
@@ -11,7 +11,7 @@ const NewTypeDropdown = (props) => {
|
|
|
11
11
|
const hasKey = selectedKeys.some((selectedKey) => selectedKey === key);
|
|
12
12
|
setSelectedKeys(hasKey ? [] : [key.toString()]);
|
|
13
13
|
if (props.onSelect)
|
|
14
|
-
props.onSelect(hasKey ? "" : key.toString());
|
|
14
|
+
props === null || props === void 0 ? void 0 : props.onSelect(hasKey ? "" : key.toString());
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
export default NewTypeDropdown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/NewTypeDropdown/index.tsx"],"names":[],"mappings":"AAAA,O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EAAE,EAAE;IACnE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -9,8 +9,8 @@ import { Scrollbars } from "react-custom-scrollbars";
|
|
|
9
9
|
import ShareTransactionItems from "../../modules/legalEntity/shareTransactionsRegister/ShareTransactionItems";
|
|
10
10
|
import { Skeleton } from "@voplus/antd";
|
|
11
11
|
import moment from "moment";
|
|
12
|
+
import { observe } from "@voplus/morpho-ui";
|
|
12
13
|
import { useLayout } from "@voplus/morpho-data";
|
|
13
|
-
import { useObserver } from "mobx-react-lite";
|
|
14
14
|
import { useShareTransaction } from "../../data/shareTransaction";
|
|
15
15
|
import { useShareTransactionStore } from "../../data/shareTransaction";
|
|
16
16
|
const Content = (props) => {
|
|
@@ -18,7 +18,7 @@ const Content = (props) => {
|
|
|
18
18
|
const shareTransaction = useShareTransaction(id, { reload: true, includes: "tags" });
|
|
19
19
|
const shareStore = useShareTransactionStore();
|
|
20
20
|
const layout = useLayout();
|
|
21
|
-
return
|
|
21
|
+
return observe(() => (React.createElement(Scrollbars, null,
|
|
22
22
|
React.createElement("div", { className: "share-transaction-properties-view" },
|
|
23
23
|
shareTransaction.loading ? (React.createElement("div", { style: { padding: "0 20px" } },
|
|
24
24
|
React.createElement(Skeleton, { active: true }))) : (React.createElement(DocumentHeader, { id: id, size: "h2", clickNameEffect: "edit", autoSaveName: true, onOpen: () => layout.history.push(`/shareTransactions/${id}`) })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.js","sourceRoot":"","sources":["../../../src/components/ShareTransactionPropertiesView/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAm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CACF,CACI,CACM,CACb,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,OAAO,CAAC"}
|
|
@@ -2,10 +2,10 @@ import "./index.less";
|
|
|
2
2
|
import Content from "./Content";
|
|
3
3
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
6
|
const ShareTransactionPropertiesView = (props) => {
|
|
7
7
|
const { id, content } = props;
|
|
8
|
-
return
|
|
8
|
+
return observe(() => (React.createElement("div", { className: "csp-default-view_aside" },
|
|
9
9
|
React.createElement(DocumentTabs, { id: id, details: content && React.createElement(Content, { id: id }) }))));
|
|
10
10
|
};
|
|
11
11
|
ShareTransactionPropertiesView.defaultProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ShareTransactionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ShareTransactionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,8BAA8B,GAAG,CAAC,KAAwC,EAAE,EAAE;IACnF,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,wBAAwB;QACtC,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,IAAI,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,GAAI,GAAI,CAC5D,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,8BAA8B,CAAC,YAAY,GAAG;IAC7C,OAAO,EAAE,IAAI;CACb,CAAC;AACF,eAAe,8BAA8B,CAAC"}
|
|
@@ -2,12 +2,12 @@ import { DragSource, DropTarget } from "react-dnd";
|
|
|
2
2
|
import { Form } from "@voplus/antd";
|
|
3
3
|
import { FormRowContext } from "./FormRowContext";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
6
|
const TableRow = (props) => {
|
|
7
7
|
const { isOver, connectDragSource, connectDropTarget, connectDragPreview, moveAfter, ...restProps } = props;
|
|
8
8
|
const opacity = isOver ? 0 : 1;
|
|
9
9
|
const [form] = Form.useForm();
|
|
10
|
-
return
|
|
10
|
+
return observe(() => (React.createElement(Form, { form: form, component: false },
|
|
11
11
|
React.createElement(FormRowContext.Provider, { value: { form, connectDragSource } }, connectDropTarget(connectDragPreview(React.createElement("tr", Object.assign({}, restProps, { style: { ...restProps.style, opacity } }))))))));
|
|
12
12
|
};
|
|
13
13
|
let dragIndex = -1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TableDragRow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TableDragRow/index.tsx"],"names":[],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AM,SAAS,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC;QAC1C,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC;QAC/B,IAAI,SAAS,KAAK,UAAU,EAAE;YAC7B,OAAO;SACP;QACD,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;QACvC,OAAO,CAAC,OAAO,EAAE,CAAC,KAAK,GAAG,UAAU,CAAC;IACtC,CAAC;CACD,CAAC;AAEF,MAAM,YAAY,GAAG,UAAU,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;IACxE,iBAAiB,EAAE,OAAO,CAAC,UAAU,EAAE;IACvC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE;CACxB,CAAC,CAAC,CACF,UAAU,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IAC1C,iBAAiB,EAAE,OAAO,CAAC,UAAU,EAAE;IACvC,kBAAkB,EAAE,OAAO,CAAC,WAAW,EAAE;CACzC,CAAC,CAAC,CAAC,QAAQ,CAAC,CACb,CAAC;AACF,eAAe,YAAY,CAAC"}
|
|
@@ -5,9 +5,19 @@ const StoreName = "VerificationStore";
|
|
|
5
5
|
export class VerificationStore extends Store {
|
|
6
6
|
constructor(endpoint) {
|
|
7
7
|
super();
|
|
8
|
-
this
|
|
8
|
+
Object.defineProperty(this, "endpoint", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
configurable: true,
|
|
11
|
+
writable: true,
|
|
12
|
+
value: endpoint
|
|
13
|
+
});
|
|
9
14
|
/** Name of the store */
|
|
10
|
-
this
|
|
15
|
+
Object.defineProperty(this, "name", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true,
|
|
19
|
+
value: StoreName
|
|
20
|
+
});
|
|
11
21
|
}
|
|
12
22
|
/** Edit verified. */
|
|
13
23
|
async verify(nodeId, options) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerificationStore.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/VerificationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAGN,KAAK,EAEL,qBAAqB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAStC,gDAAgD;AAChD,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAI3C,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"VerificationStore.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/VerificationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAGN,KAAK,EAEL,qBAAqB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAStC,gDAAgD;AAChD,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAI3C,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;;;;;mBAD0B;;QAHnC,wBAAwB;QACxB;;;;mBAA+B,SAAS;WAAC;IAIzC,CAAC;IAED,qBAAqB;IACd,KAAK,CAAC,MAAM,CAAC,MAAc,EAAE,OAAmD;QACtF,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC7B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,cAAc,MAAM,6BAA6B,EACjD,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC3C,CAAC;YAEF,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;IACD,yBAAyB;IAClB,KAAK,CAAC,OAAO,CAAC,MAAc,EAAE,OAAoD;QACxF,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC7B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CACjC,cAAc,MAAM,8BAA8B,EAClD,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAC5C,CAAC;YAEF,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;IACD,wBAAwB;IACjB,KAAK,CAAC,IAAI,CAAC,MAAc;QAC/B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,MAAM,sBAAsB,CAAC,CAAC;QAC9E,OAAO,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;CACD;AAED,+BAA+B;AAC/B,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;QACnC,OAAO,CAAC,eAAe,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;KAC5E;IACD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,CAAuB,CAAC;AAC5D,CAAC,CAAC"}
|
|
@@ -1,71 +1,32 @@
|
|
|
1
|
-
import { Form, Skeleton, Switch
|
|
1
|
+
import { Form, Skeleton, Switch } from "@voplus/antd";
|
|
2
2
|
import React, { useEffect, useState } from "react";
|
|
3
3
|
import { State } from "./state";
|
|
4
4
|
import moment from "moment";
|
|
5
|
-
import {
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
6
|
import { useVerificationStore } from "./VerificationStore";
|
|
7
7
|
const VerificationInformation = (props) => {
|
|
8
8
|
const { id } = props;
|
|
9
9
|
const verifyStore = useVerificationStore();
|
|
10
|
-
const [state] = useState(new State());
|
|
10
|
+
const [state] = useState(new State(id, verifyStore));
|
|
11
11
|
useEffect(() => {
|
|
12
|
-
load();
|
|
12
|
+
state.load();
|
|
13
13
|
}, [id]);
|
|
14
|
-
return
|
|
14
|
+
return observe(() => {
|
|
15
15
|
var _a, _b;
|
|
16
16
|
return (React.createElement(Form, { labelAlign: "left", labelCol: { span: 5 } }, state.loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
|
17
17
|
React.createElement(Form.Item, { label: "Verified" },
|
|
18
|
-
React.createElement(Switch, { checked: state.verified, onChange: onVerified }),
|
|
18
|
+
React.createElement(Switch, { checked: state.verified, onChange: state.onVerified }),
|
|
19
19
|
((_a = state.verification) === null || _a === void 0 ? void 0 : _a.verifiedBy.id) && (React.createElement("div", { className: "operate-record" },
|
|
20
20
|
state.verification.verifiedBy.name,
|
|
21
21
|
" verified on",
|
|
22
22
|
moment(moment.utc(state.verification.verifiedOn).toDate()).format("YYYY-MM-DD HH:mm:ss")))),
|
|
23
23
|
React.createElement(Form.Item, { label: "Confirmed" },
|
|
24
|
-
React.createElement(Switch, { checked: state.confirmed, onChange: onConfirmed }),
|
|
24
|
+
React.createElement(Switch, { checked: state.confirmed, onChange: state.onConfirmed }),
|
|
25
25
|
((_b = state.verification) === null || _b === void 0 ? void 0 : _b.confirmedBy.id) && (React.createElement("div", { className: "operate-record" },
|
|
26
26
|
state.verification.confirmedBy.name,
|
|
27
27
|
" confirmed on",
|
|
28
28
|
moment(moment.utc(state.verification.confirmedOn).toDate()).format("YYYY-MM-DD HH:mm:ss"))))))));
|
|
29
29
|
});
|
|
30
|
-
/** Load verification */
|
|
31
|
-
async function load() {
|
|
32
|
-
state.loading = true;
|
|
33
|
-
const res = await verifyStore.load(id);
|
|
34
|
-
state.verification = res;
|
|
35
|
-
state.verified = !!res.verifiedBy.id;
|
|
36
|
-
state.confirmed = !!res.confirmedBy.id;
|
|
37
|
-
state.loading = false;
|
|
38
|
-
}
|
|
39
|
-
/** Edit verified */
|
|
40
|
-
async function onVerified(checked) {
|
|
41
|
-
state.verified = checked;
|
|
42
|
-
const res = await verifyStore.verify(id, {
|
|
43
|
-
verified: checked,
|
|
44
|
-
error: (error) => {
|
|
45
|
-
message.error(error.message);
|
|
46
|
-
state.verified = !checked;
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
if (!res)
|
|
50
|
-
return;
|
|
51
|
-
state.verification = res;
|
|
52
|
-
state.verified = !!res.verifiedBy.id;
|
|
53
|
-
}
|
|
54
|
-
/** Edit confirmed */
|
|
55
|
-
async function onConfirmed(checked) {
|
|
56
|
-
state.confirmed = checked;
|
|
57
|
-
const res = await verifyStore.confirm(id, {
|
|
58
|
-
confirmed: checked,
|
|
59
|
-
error: (error) => {
|
|
60
|
-
message.error(error.message);
|
|
61
|
-
state.confirmed = !checked;
|
|
62
|
-
},
|
|
63
|
-
});
|
|
64
|
-
if (!res)
|
|
65
|
-
return;
|
|
66
|
-
state.verification = res;
|
|
67
|
-
state.confirmed = !!res.confirmedBy.id;
|
|
68
|
-
}
|
|
69
30
|
};
|
|
70
31
|
export default VerificationInformation;
|
|
71
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAW,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,MAA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AAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,WAAW;gBAC3B,oBAAC,MAAM,IAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,WAAW,GAAI;gBAChE,OAAA,KAAK,CAAC,YAAY,0CAAE,WAAW,CAAC,EAAE,KAAI,CACtC,6BAAK,SAAS,EAAC,gBAAgB;oBAC7B,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,IAAI;;oBACnC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAClE,qBAAqB,CACrB,CACI,CACN,CACU,CACI,CACjB,CACK,CACP,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { IVerification } from "./VerificationStore";
|
|
1
|
+
import { IVerification, VerificationStore } from "./VerificationStore";
|
|
2
2
|
export declare class State {
|
|
3
|
+
private id;
|
|
4
|
+
private verifyStore;
|
|
3
5
|
/** data of verification */
|
|
4
6
|
verification: IVerification;
|
|
5
7
|
/** checked of verified */
|
|
@@ -8,4 +10,10 @@ export declare class State {
|
|
|
8
10
|
confirmed: boolean;
|
|
9
11
|
/** loading of load manual-verification */
|
|
10
12
|
loading: boolean;
|
|
13
|
+
constructor(id: string, verifyStore: VerificationStore);
|
|
14
|
+
load(): Promise<void>;
|
|
15
|
+
/** Edit verified */
|
|
16
|
+
onVerified: (checked: boolean) => Promise<void>;
|
|
17
|
+
/** Edit confirmed */
|
|
18
|
+
onConfirmed: (checked: boolean) => Promise<void>;
|
|
11
19
|
}
|
|
@@ -1,12 +1,96 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { observable } from "mobx";
|
|
2
|
+
import { action, makeAutoObservable, observable } from "mobx";
|
|
3
|
+
import { message } from "@voplus/antd";
|
|
3
4
|
export class State {
|
|
4
|
-
constructor() {
|
|
5
|
+
constructor(id, verifyStore) {
|
|
6
|
+
Object.defineProperty(this, "id", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: id
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(this, "verifyStore", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true,
|
|
16
|
+
value: verifyStore
|
|
17
|
+
});
|
|
18
|
+
/** data of verification */
|
|
19
|
+
Object.defineProperty(this, "verification", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true,
|
|
23
|
+
value: void 0
|
|
24
|
+
});
|
|
5
25
|
/** checked of verified */
|
|
6
|
-
this
|
|
26
|
+
Object.defineProperty(this, "verified", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
configurable: true,
|
|
29
|
+
writable: true,
|
|
30
|
+
value: false
|
|
31
|
+
});
|
|
7
32
|
/** checked of confirmed */
|
|
8
|
-
this
|
|
33
|
+
Object.defineProperty(this, "confirmed", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true,
|
|
37
|
+
value: false
|
|
38
|
+
});
|
|
9
39
|
/** loading of load manual-verification */
|
|
40
|
+
Object.defineProperty(this, "loading", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
writable: true,
|
|
44
|
+
value: false
|
|
45
|
+
});
|
|
46
|
+
/** Edit verified */
|
|
47
|
+
Object.defineProperty(this, "onVerified", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
configurable: true,
|
|
50
|
+
writable: true,
|
|
51
|
+
value: async (checked) => {
|
|
52
|
+
this.verified = checked;
|
|
53
|
+
const res = await this.verifyStore.verify(this.id, {
|
|
54
|
+
verified: checked,
|
|
55
|
+
error: (error) => {
|
|
56
|
+
message.error(error.message);
|
|
57
|
+
this.verified = !checked;
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
if (!res)
|
|
61
|
+
return;
|
|
62
|
+
this.verification = res;
|
|
63
|
+
this.verified = !!res.verifiedBy.id;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
/** Edit confirmed */
|
|
67
|
+
Object.defineProperty(this, "onConfirmed", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
configurable: true,
|
|
70
|
+
writable: true,
|
|
71
|
+
value: async (checked) => {
|
|
72
|
+
this.confirmed = checked;
|
|
73
|
+
const res = await this.verifyStore.confirm(this.id, {
|
|
74
|
+
confirmed: checked,
|
|
75
|
+
error: (error) => {
|
|
76
|
+
message.error(error.message);
|
|
77
|
+
this.confirmed = !checked;
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
if (!res)
|
|
81
|
+
return;
|
|
82
|
+
this.verification = res;
|
|
83
|
+
this.confirmed = !!res.confirmedBy.id;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
makeAutoObservable(this);
|
|
87
|
+
}
|
|
88
|
+
async load() {
|
|
89
|
+
this.loading = true;
|
|
90
|
+
const res = await this.verifyStore.load(this.id);
|
|
91
|
+
this.verification = res;
|
|
92
|
+
this.verified = !!res.verifiedBy.id;
|
|
93
|
+
this.confirmed = !!res.confirmedBy.id;
|
|
10
94
|
this.loading = false;
|
|
11
95
|
}
|
|
12
96
|
}
|
|
@@ -22,4 +106,7 @@ __decorate([
|
|
|
22
106
|
__decorate([
|
|
23
107
|
observable
|
|
24
108
|
], State.prototype, "loading", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
action
|
|
111
|
+
], State.prototype, "load", null);
|
|
25
112
|
//# sourceMappingURL=state.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/components/VerificationInformation/state.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|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I,CAAC,EAAE,EAAE;oBACnD,SAAS,EAAE,OAAO;oBAClB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;wBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;wBAC7B,IAAI,CAAC,SAAS,GAAG,CAAC,OAAO,CAAC;oBAC3B,CAAC;iBACD,CAAC,CAAC;gBACH,IAAI,CAAC,GAAG;oBAAE,OAAO;gBACjB,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;gBACxB,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;YACvC,CAAC;WAAC;QAxCD,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAIM,KAAK,CAAC,IAAI;QAChB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACtB,CAAC;CA6BD;AAlDY;IAAX,UAAU;2CAAoC;AAEnC;IAAX,UAAU;uCAAyB;AAExB;IAAX,UAAU;wCAA0B;AAEzB;IAAX,UAAU;sCAAwB;AAQnC;IAFC,MAAM;iCASN"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import "./index.less";
|
|
3
|
+
declare const UnitAvatar: {
|
|
4
|
+
(props: {
|
|
5
|
+
id: string;
|
|
6
|
+
index?: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
tooltip?: boolean;
|
|
9
|
+
size?: number | "large" | "small" | "default";
|
|
10
|
+
className?: string;
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
defaultProps: {
|
|
13
|
+
size: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default UnitAvatar;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "./index.less";
|
|
2
|
+
import { Avatar, Tooltip } from "@voplus/antd";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import classnames from "classnames";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
import styles from "./index.less";
|
|
7
|
+
import { useUnit } from "@voplus/morpho-org";
|
|
8
|
+
const colorList = ["#765FEE", "#fe4066", "#FFC832", "#FF8F5E", "#3AC43A", "#FFC832"];
|
|
9
|
+
const UnitAvatar = (props) => {
|
|
10
|
+
const { id, index, size, disabled, tooltip, className } = props;
|
|
11
|
+
const unit = useUnit(id);
|
|
12
|
+
const avatar = (React.createElement(Avatar
|
|
13
|
+
// src={contact.url}
|
|
14
|
+
, {
|
|
15
|
+
// src={contact.url}
|
|
16
|
+
size: size, className: classnames({ "avatar-item-disabled": !!disabled }, styles["avatar-item-img"], className), style: { backgroundColor: colorList[(index || 0) % 6] } }, setName(unit.name)));
|
|
17
|
+
return observe(() => (React.createElement(React.Fragment, null, !tooltip ? avatar : React.createElement(Tooltip, { title: unit.name }, avatar))));
|
|
18
|
+
function setName(name) {
|
|
19
|
+
let str = "";
|
|
20
|
+
name === null || name === void 0 ? void 0 : name.split(" ").forEach((r) => {
|
|
21
|
+
str += r.substr(0, 1);
|
|
22
|
+
});
|
|
23
|
+
return str;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
UnitAvatar.defaultProps = {
|
|
27
|
+
size: "small",
|
|
28
|
+
};
|
|
29
|
+
export default UnitAvatar;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["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