@voplus/morpho-csp 9.1.1 → 9.1.2
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/CorporateMentionList/index.d.ts +25 -31
- package/es/components/CorporateMentionList/index.js +4 -9
- package/es/components/CorporateMentionList/index.js.map +1 -1
- package/es/components/CorporateUnitSelectDialog/index.d.ts +1 -9
- package/es/components/CorporateUnitSelectDialog/index.js +4 -10
- package/es/components/CorporateUnitSelectDialog/index.js.map +1 -1
- package/es/components/CurrencyView/index.d.ts +8 -15
- package/es/components/CurrencyView/index.js +2 -5
- package/es/components/CurrencyView/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.d.ts +8 -12
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js +2 -6
- package/es/modules/corporate/background-investigation/risk-profile/components/NewRiskProfileForm/index.js.map +1 -1
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.d.ts +14 -22
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js +13 -18
- package/es/modules/corporate/background-investigation/risk-profile/components/RiskProfileProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDADetails/index.d.ts +6 -8
- package/es/modules/corporate/clda/components/CLDADetails/index.js +2 -5
- package/es/modules/corporate/clda/components/CLDADetails/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListCard/index.d.ts +3 -10
- package/es/modules/corporate/clda/components/CLDAListCard/index.js +1 -6
- package/es/modules/corporate/clda/components/CLDAListCard/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAListView/index.d.ts +1 -9
- package/es/modules/corporate/clda/components/CLDAListView/index.js +3 -9
- package/es/modules/corporate/clda/components/CLDAListView/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.d.ts +16 -24
- package/es/modules/corporate/clda/components/CLDAProperties/index.js +2 -7
- package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.d.ts +1 -6
- package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.js +1 -4
- package/es/modules/corporate/clda/components/NewCLDAForm/NewCLDAFormDialog.js.map +1 -1
- package/es/modules/corporate/clda/components/NewCLDAForm/index.d.ts +1 -6
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js +2 -6
- package/es/modules/corporate/clda/components/NewCLDAForm/index.js.map +1 -1
- package/es/modules/corporate/clda/controls/ModeIcon/index.d.ts +9 -13
- package/es/modules/corporate/clda/controls/ModeIcon/index.js +2 -5
- package/es/modules/corporate/clda/controls/ModeIcon/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDAClientView/index.d.ts +4 -8
- package/es/modules/corporate/clda/pages/CLDAClientView/index.js +2 -5
- package/es/modules/corporate/clda/pages/CLDAClientView/index.js.map +1 -1
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.d.ts +5 -9
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js +2 -5
- package/es/modules/corporate/clda/pages/CLDASettingsPage/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.d.ts +6 -13
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.js +2 -6
- package/es/modules/corporate/company/components/CompanyMemberSelect/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyPageHead/index.d.ts +8 -12
- package/es/modules/corporate/company/components/CompanyPageHead/index.js +2 -5
- package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.d.ts +8 -18
- package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js +36 -39
- package/es/modules/corporate/company/components/CompanyProperties/CompanyPropertiesCard.js.map +1 -1
- package/es/modules/corporate/company/components/CompanyProperties/index.d.ts +13 -21
- package/es/modules/corporate/company/components/CompanyProperties/index.js +15 -20
- package/es/modules/corporate/company/components/CompanyProperties/index.js.map +1 -1
- package/es/modules/corporate/company/components/CorporateList/index.d.ts +1 -8
- package/es/modules/corporate/company/components/CorporateList/index.js +3 -8
- package/es/modules/corporate/company/components/CorporateList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.d.ts +8 -12
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js +2 -5
- package/es/modules/corporate/company/controller-register/components/ControllerHead/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.d.ts +15 -23
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js +11 -16
- package/es/modules/corporate/company/controller-register/components/ControllerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.d.ts +14 -18
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js +2 -5
- package/es/modules/corporate/company/identity/components/IdentifyDetail/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.d.ts +8 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js +2 -5
- package/es/modules/corporate/company/member-register/components/CompanyMemberAvatar/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.d.ts +8 -12
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js +2 -5
- package/es/modules/corporate/company/member-register/components/CompanyMemberHead/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.d.ts +15 -23
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js +2 -7
- package/es/modules/corporate/company/member-register/components/CompanyMemberProperties/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.d.ts +8 -12
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js +2 -5
- package/es/modules/corporate/company/officer-register/components/OfficerHead/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.d.ts +15 -23
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js +9 -14
- package/es/modules/corporate/company/officer-register/components/OfficerProperties/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.d.ts +1 -4
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +0 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.d.ts +5 -9
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js +2 -5
- package/es/modules/corporate/company/officer-register/components/PositionSelect/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.d.ts +14 -22
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js +8 -13
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingList/index.d.ts +1 -8
- package/es/modules/corporate/filing-record/components/FilingList/index.js +2 -7
- package/es/modules/corporate/filing-record/components/FilingList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.d.ts +10 -18
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js +10 -15
- package/es/modules/corporate/filing-record/components/FilingRecordProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/NewFilingRecordFormDialog.d.ts +1 -7
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/NewFilingRecordFormDialog.js +1 -5
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/NewFilingRecordFormDialog.js.map +1 -1
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.d.ts +1 -6
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js +4 -7
- package/es/modules/corporate/filing-record/components/NewFilingRecordForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.d.ts +1 -7
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js +2 -6
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeList/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.d.ts +9 -17
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js +11 -16
- package/es/modules/corporate/filing-record/filing-type/components/FilingTypeProperties/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.d.ts +10 -14
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js +3 -6
- package/es/modules/corporate/filing-record/filing-type/components/NewFilingTypeForm/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.d.ts +5 -9
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js +2 -5
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearItem/index.js.map +1 -1
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.d.ts +10 -17
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js +2 -6
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.d.ts +5 -9
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js +4 -7
- package/es/modules/corporate/share-certificate/components/ShareCertificate/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.d.ts +4 -8
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js +2 -6
- package/es/modules/corporate/share-certificate/components/ShareCertificateItem/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.d.ts +1 -7
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js +2 -6
- package/es/modules/corporate/share-certificate/components/ShareCertificateList/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.d.ts +14 -22
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js +14 -19
- package/es/modules/corporate/share-certificate/components/ShareCertificateProperties/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.d.ts +5 -9
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js +2 -5
- package/es/modules/corporate/share-certificate/controls/ShareCertificateDataIconBar/index.js.map +1 -1
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.d.ts +6 -10
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js +2 -5
- package/es/modules/corporate/share-certificate/controls/ShareCertificateMenu/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.d.ts +1 -6
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js +4 -7
- package/es/modules/corporate/share-class/components/NewShareClassForm/ShareClassForm.js.map +1 -1
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.d.ts +1 -7
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.js +1 -5
- package/es/modules/corporate/share-class/components/NewShareClassForm/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassHeader/index.d.ts +5 -9
- package/es/modules/corporate/share-class/components/ShareClassHeader/index.js +2 -5
- package/es/modules/corporate/share-class/components/ShareClassHeader/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.d.ts +9 -16
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.js +9 -13
- package/es/modules/corporate/share-class/components/ShareClassProperties/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.d.ts +1 -6
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.js +2 -5
- package/es/modules/corporate/share-class/components/ShareClassSelect/index.js.map +1 -1
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.d.ts +4 -9
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.js +2 -5
- package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.d.ts +1 -6
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js +4 -7
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.d.ts +1 -7
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.js +1 -5
- package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.d.ts +5 -9
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.js +2 -6
- package/es/modules/corporate/virtual-address/components/VirtualAddressHeader/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.d.ts +1 -7
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js +2 -6
- package/es/modules/corporate/virtual-address/components/VirtualAddressList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.d.ts +9 -16
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js +2 -6
- package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.d.ts +1 -6
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js +0 -3
- package/es/modules/corporate/virtual-address-mail/components/CorporateMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.d.ts +1 -7
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js +5 -9
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.d.ts +1 -7
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.js +1 -5
- package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailHeader/index.d.ts +5 -10
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailHeader/index.js +2 -5
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailHeader/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.d.ts +1 -8
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js +3 -8
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailList/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.d.ts +9 -16
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js +8 -12
- package/es/modules/corporate/virtual-address-mail/components/VirtualAddressMailProperties/index.js.map +1 -1
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.d.ts +4 -12
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.js +2 -5
- package/es/modules/corporate/virtual-address-mail/controls/VirtualAddressMailMenu/Scan.js.map +1 -1
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.d.ts +5 -9
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js +2 -5
- package/es/modules/self-registration/clda-form/CompanyInfoForm/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.d.ts +14 -29
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js +7 -13
- package/es/modules/self-registration/clda-form/components/CLDAFormProperties/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.d.ts +7 -11
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js +2 -3
- package/es/modules/self-registration/clda-form/components/ShareCapital/index.js.map +1 -1
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.d.ts +12 -17
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js +2 -7
- package/es/modules/self-registration/clda-form/incorporation/components/FormContactEditor/index.js.map +1 -1
- package/es/modules/self-registration/components/Card/index.d.ts +10 -15
- package/es/modules/self-registration/components/Card/index.js +4 -8
- package/es/modules/self-registration/components/Card/index.js.map +1 -1
- package/es/modules/self-registration/controls/Blink/index.d.ts +7 -10
- package/es/modules/self-registration/controls/Blink/index.js +3 -7
- package/es/modules/self-registration/controls/Blink/index.js.map +1 -1
- package/es/modules/self-registration/controls/BusinessNameInput/index.d.ts +10 -16
- package/es/modules/self-registration/controls/BusinessNameInput/index.js +6 -11
- package/es/modules/self-registration/controls/BusinessNameInput/index.js.map +1 -1
- package/es/modules/self-registration/controls/Section/index.d.ts +6 -10
- package/es/modules/self-registration/controls/Section/index.js +2 -5
- package/es/modules/self-registration/controls/Section/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.d.ts +30 -35
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js +2 -6
- package/es/modules/self-registration/incorporation-clda/components/NewIncorporationCLDAForm/index.js.map +1 -1
- package/es/obsolete/ShareTransactionPropertiesView/index.d.ts +5 -9
- package/es/obsolete/ShareTransactionPropertiesView/index.js +2 -5
- package/es/obsolete/ShareTransactionPropertiesView/index.js.map +1 -1
- package/es/obsolete/controller-register/components/ControllerInformation/index.d.ts +4 -9
- package/es/obsolete/controller-register/components/ControllerInformation/index.js +2 -5
- package/es/obsolete/controller-register/components/ControllerInformation/index.js.map +1 -1
- package/es/obsolete/corporate-page/OfficerList/index.d.ts +1 -6
- package/es/obsolete/corporate-page/OfficerList/index.js +2 -5
- package/es/obsolete/corporate-page/OfficerList/index.js.map +1 -1
- package/es/obsolete/corporate-page/ShareClassList/index.d.ts +1 -6
- package/es/obsolete/corporate-page/ShareClassList/index.js +2 -5
- package/es/obsolete/corporate-page/ShareClassList/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,10 +16,17 @@ import ShareClassMenu from "../../controls/ShareClassMenu";
|
|
|
16
16
|
import Tip from "@voplus/morpho-ui/es/controls/Tit";
|
|
17
17
|
import classnames from "classnames";
|
|
18
18
|
import "./index.css";
|
|
19
|
-
const ShareClassProperties = (
|
|
19
|
+
const ShareClassProperties = ({ ShareClassTitle = "SHARE CLASS PROPERTIES", ShareClassProperties = [
|
|
20
|
+
{ name: "Name" },
|
|
21
|
+
{ name: "Official Name" },
|
|
22
|
+
{ name: "Capital Priority" },
|
|
23
|
+
{ name: "Surples Return Right" },
|
|
24
|
+
{ name: "Votes" },
|
|
25
|
+
{ name: "Note" },
|
|
26
|
+
], ...props }) => {
|
|
20
27
|
/** 加class name 为了方便做integration tests */
|
|
21
28
|
const classId = "share-type-properties";
|
|
22
|
-
const { id, headerVisible
|
|
29
|
+
const { id, headerVisible } = props;
|
|
23
30
|
const [state] = useState(new State());
|
|
24
31
|
const { user } = useApplicationContext();
|
|
25
32
|
const [showShareClassEditIcon, setShowShareClassEditIcon] = useState(true);
|
|
@@ -135,16 +142,5 @@ const ShareClassProperties = (props) => {
|
|
|
135
142
|
setShowEditIcon(true);
|
|
136
143
|
}
|
|
137
144
|
};
|
|
138
|
-
ShareClassProperties.defaultProps = {
|
|
139
|
-
ShareClassTitle: "SHARE CLASS PROPERTIES",
|
|
140
|
-
ShareClassProperties: [
|
|
141
|
-
{ name: "Name" },
|
|
142
|
-
{ name: "Official Name" },
|
|
143
|
-
{ name: "Capital Priority" },
|
|
144
|
-
{ name: "Surples Return Right" },
|
|
145
|
-
{ name: "Votes" },
|
|
146
|
-
{ name: "Note" },
|
|
147
|
-
],
|
|
148
|
-
};
|
|
149
145
|
export default ShareClassProperties;
|
|
150
146
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EACN,aAAa,EACb,kBAAkB,GAElB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,GAAG,MAAM,mCAAmC,CAAC;AACpD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EACN,aAAa,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areClassSelectProps = {
|
|
|
10
10
|
onBlur?: () => void;
|
|
11
11
|
onChange?: (data?: IShareClass) => void;
|
|
12
12
|
} & SelectProps;
|
|
13
|
-
declare const ShareClassSelect: {
|
|
14
|
-
(props: ShareClassSelectProps): React.JSX.Element;
|
|
15
|
-
defaultProps: {
|
|
16
|
-
autoFocus: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
13
|
+
declare const ShareClassSelect: ({ autoFocus, ...props }: ShareClassSelectProps) => React.JSX.Element;
|
|
19
14
|
export default ShareClassSelect;
|
|
@@ -7,8 +7,8 @@ import { useAutoUpdateListData, useShareClassListEffect, } from "../../../../../
|
|
|
7
7
|
import { useRenderOnChange, observe } from "@voplus/morpho-ui";
|
|
8
8
|
import NewShareClassFormDialog from "../NewShareClassForm";
|
|
9
9
|
import "./index.css";
|
|
10
|
-
const ShareClassSelect = (props) => {
|
|
11
|
-
const { corporateId,
|
|
10
|
+
const ShareClassSelect = ({ autoFocus = true, ...props }) => {
|
|
11
|
+
const { corporateId, disabled, defaultValue } = props;
|
|
12
12
|
const [state] = useState(new State());
|
|
13
13
|
const [timer, setTimer] = useState();
|
|
14
14
|
const list = useCreateListDataState({
|
|
@@ -71,8 +71,5 @@ const ShareClassSelect = (props) => {
|
|
|
71
71
|
}, 1000));
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
|
-
ShareClassSelect.defaultProps = {
|
|
75
|
-
autoFocus: true,
|
|
76
|
-
};
|
|
77
74
|
export default ShareClassSelect;
|
|
78
75
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,eAAe,MAAM,+CAA+C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,qBAAqB,EAErB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,uBAAuB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,aAAa,CAAC;AAWrB,MAAM,gBAAgB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,eAAe,MAAM,+CAA+C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,qBAAqB,EAErB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,uBAAuB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,aAAa,CAAC;AAWrB,MAAM,gBAAgB,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,KAAK,EAAyB,EAAE,EAAE;IAClF,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAEtD,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC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AI,EAAE,IAAI,EAAE,KAAK,KAAK,EAAE,CAAC;YAC/B,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC;YACjB,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;YACzD,MAAA,KAAK,CAAC,QAAQ,sDAAG,KAAK,CAAC,SAAS,CAAC,CAAC;QACnC,CAAC;IACF,CAAC;IAED,SAAS,QAAQ,CAAC,GAAW;QAC5B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,QAAQ,CACP,UAAU,CAAC,GAAG,EAAE;YACf,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;YACxB,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC,EAAE,IAAI,CAAQ,CACf,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.d.ts
CHANGED
|
@@ -3,13 +3,8 @@
|
|
|
3
3
|
* */
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import React from "react";
|
|
6
|
-
declare const ShareOptionPropertiesView: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
content: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
6
|
+
declare const ShareOptionPropertiesView: ({ content, ...props }: {
|
|
7
|
+
id: string;
|
|
8
|
+
content?: boolean;
|
|
9
|
+
}) => React.JSX.Element;
|
|
15
10
|
export default ShareOptionPropertiesView;
|
package/es/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.js
CHANGED
|
@@ -6,13 +6,10 @@ import Content from "./Content";
|
|
|
6
6
|
import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { observe } from "@voplus/morpho-ui";
|
|
9
|
-
const ShareOptionPropertiesView = (props) => {
|
|
10
|
-
const { id
|
|
9
|
+
const ShareOptionPropertiesView = ({ content = true, ...props }) => {
|
|
10
|
+
const { id } = props;
|
|
11
11
|
return observe(() => (React.createElement("div", { className: "csp-default-view_aside" },
|
|
12
12
|
React.createElement(DocumentTabs, { id: id, details: content && React.createElement(Content, { id: id }) }))));
|
|
13
13
|
};
|
|
14
|
-
ShareOptionPropertiesView.defaultProps = {
|
|
15
|
-
content: true,
|
|
16
|
-
};
|
|
17
14
|
export default ShareOptionPropertiesView;
|
|
18
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,aAAa,CAAC;AAErB,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,yBAAyB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-options-register/components/ShareOptionPropertiesView/index.tsx"],"names":[],"mappings":"AAAA;;KAEK;AAEL,OAAO,aAAa,CAAC;AAErB,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,yBAAyB,GAAG,CAAC,EAClC,OAAO,GAAG,IAAI,EACd,GAAG,KAAK,EAIR,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAErB,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;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -8,10 +8,5 @@ export type NewVirtualAddressFormProps = {
|
|
|
8
8
|
onCancel?: () => void;
|
|
9
9
|
onSave?: (data?: any) => void;
|
|
10
10
|
};
|
|
11
|
-
declare const NewVirtualAddressFormContent: {
|
|
12
|
-
(props: NewVirtualAddressFormProps): React.JSX.Element;
|
|
13
|
-
defaultProps: {
|
|
14
|
-
type: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
11
|
+
declare const NewVirtualAddressFormContent: ({ type, ...props }: NewVirtualAddressFormProps) => React.JSX.Element;
|
|
17
12
|
export default NewVirtualAddressFormContent;
|
package/es/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.js
CHANGED
|
@@ -9,19 +9,19 @@ import { useVirtualAddressStore } from "../../../../../data/virtual-address";
|
|
|
9
9
|
import VirtualAddressPropertiesView from "../VirtualAddressPropertiesView";
|
|
10
10
|
import OfficeSelect from "@voplus/morpho-org/es/modules/office/components/OfficeSelect";
|
|
11
11
|
import { State } from "./state";
|
|
12
|
-
const NewVirtualAddressFormContent = (props) => {
|
|
12
|
+
const NewVirtualAddressFormContent = ({ type = "full", ...props }) => {
|
|
13
13
|
const store = useVirtualAddressStore();
|
|
14
14
|
const asideContext = useAsideContentContext();
|
|
15
15
|
const [state] = useState(new State());
|
|
16
|
-
const content = observe(() => (React.createElement("div", { className: classnames("new-virtualAddress-form", { "sub-virtualAddress-simply-form":
|
|
16
|
+
const content = observe(() => (React.createElement("div", { className: classnames("new-virtualAddress-form", { "sub-virtualAddress-simply-form": type === "mini" }, props.className) },
|
|
17
17
|
React.createElement(Form, { layout: "vertical" },
|
|
18
18
|
React.createElement(Form.Item, { name: "Office", label: "Office" },
|
|
19
19
|
React.createElement(OfficeSelect, { onChange: (office) => (state.officeId = office === null || office === void 0 ? void 0 : office.id) })),
|
|
20
|
-
|
|
20
|
+
type === "mini" && (React.createElement(Row, { className: "virtualAddress-form-btn", justify: "end" },
|
|
21
21
|
React.createElement(Space, null,
|
|
22
22
|
React.createElement(Button, { onClick: onCancel }, "Cancel"),
|
|
23
23
|
React.createElement(Button, { type: "primary", loading: state.loading, onClick: onSave }, "Submit"))))))));
|
|
24
|
-
return observe(() => (React.createElement(React.Fragment, null,
|
|
24
|
+
return observe(() => (React.createElement(React.Fragment, null, type === "full" ? (React.createElement(AddFormView, { title: "Add Virtual Address", loading: !!state.loading, onCancel: onCancel, onSubmit: onSave }, content)) : (content))));
|
|
25
25
|
async function onSave() {
|
|
26
26
|
var _a;
|
|
27
27
|
state.loading = true;
|
|
@@ -44,8 +44,5 @@ const NewVirtualAddressFormContent = (props) => {
|
|
|
44
44
|
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
NewVirtualAddressFormContent.defaultProps = {
|
|
48
|
-
type: "full",
|
|
49
|
-
};
|
|
50
47
|
export default NewVirtualAddressFormContent;
|
|
51
48
|
//# sourceMappingURL=VirtualAddressForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualAddressForm.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,4BAA4B,MAAM,iCAAiC,CAAC;AAC3E,OAAO,YAAY,MAAM,8DAA8D,CAAC;AACxF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAYhC,MAAM,4BAA4B,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"VirtualAddressForm.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/NewVirtualAddressForm/VirtualAddressForm.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,4BAA4B,MAAM,iCAAiC,CAAC;AAC3E,OAAO,YAAY,MAAM,8DAA8D,CAAC;AACxF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAYhC,MAAM,4BAA4B,GAAG,CAAC,EAAE,IAAI,GAAG,MAAM,EAAE,GAAG,KAAK,EAA8B,EAAE,EAAE;IAChG,MAAM,KAAK,GAAG,sBAAsB,EAAE,CAAC;IACvC,MAAM,YAAY,GAAG,sBAAsB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AK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE;YAClE,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACtB,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG;YACxB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,4BAA4B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBAC5E,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;IACL,CAAC;IAED,6BAA6B;IAC7B,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { NewVirtualAddressFormProps } from "./VirtualAddressForm";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare const NewVirtualAddressFormDialog:
|
|
4
|
-
(props: NewVirtualAddressFormProps): React.JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
type: string;
|
|
7
|
-
showSubmit: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
3
|
+
declare const NewVirtualAddressFormDialog: (props: NewVirtualAddressFormProps) => React.JSX.Element;
|
|
10
4
|
export default NewVirtualAddressFormDialog;
|
|
@@ -4,11 +4,7 @@ import { Modal } from "antd";
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
const NewVirtualAddressFormDialog = (props) => {
|
|
6
6
|
return observe(() => (React.createElement(Modal, { title: "New Virtual Address Form Dialog", open: true, closable: false, footer: null, onCancel: props.onCancel },
|
|
7
|
-
React.createElement(Content, { ...props }))));
|
|
8
|
-
};
|
|
9
|
-
NewVirtualAddressFormDialog.defaultProps = {
|
|
10
|
-
type: "mini",
|
|
11
|
-
showSubmit: true,
|
|
7
|
+
React.createElement(Content, { type: "mini", ...props }))));
|
|
12
8
|
};
|
|
13
9
|
export default NewVirtualAddressFormDialog;
|
|
14
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAuC,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,2BAA2B,GAAG,CAAC,KAAiC,EAAE,EAAE;IACzE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,iCAAiC,EACvC,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/NewVirtualAddressForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAuC,MAAM,sBAAsB,CAAC;AAE3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,2BAA2B,GAAG,CAAC,KAAiC,EAAE,EAAE;IACzE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,iCAAiC,EACvC,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,OAAO,IAAC,IAAI,EAAC,MAAM,KAAK,KAAK,GAAI,CAC3B,CACR,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
defaultProps: {
|
|
9
|
-
close: boolean;
|
|
10
|
-
};
|
|
2
|
+
export type VirtualAddressHeaderProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
close?: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
11
6
|
};
|
|
7
|
+
declare const VirtualAddressHeader: ({ id, close, onClose }: VirtualAddressHeaderProps) => React.JSX.Element;
|
|
12
8
|
export default VirtualAddressHeader;
|
|
@@ -6,16 +6,12 @@ import ToolBar from "@voplus/morpho-document-core/es/controls/ToolBar";
|
|
|
6
6
|
import NodeHeaderLayout from "@voplus/morpho-ui/es/controls/NodeHeaderLayout";
|
|
7
7
|
import VirtualAddressMenu from "../../controls/VirtualAddressMenu";
|
|
8
8
|
import Routes from "../../../../../routes";
|
|
9
|
-
const VirtualAddressHeader = (
|
|
10
|
-
const { id, close } = props;
|
|
9
|
+
const VirtualAddressHeader = ({ id, close = true, onClose }) => {
|
|
11
10
|
const virtualAddress = useVirtualAddress(id);
|
|
12
11
|
return observe(() => (React.createElement(NodeHeaderLayout, { content: virtualAddress.name, tool: React.createElement(ToolBar, { showMenu: false, id: id },
|
|
13
12
|
React.createElement(Open, { url: Routes.VirtualAddressDefaultView.getUrl(id) }),
|
|
14
|
-
close && React.createElement(Close, { action:
|
|
13
|
+
close && React.createElement(Close, { action: onClose }),
|
|
15
14
|
React.createElement(VirtualAddressMenu, { id: id, closeAside: true })) })));
|
|
16
15
|
};
|
|
17
|
-
VirtualAddressHeader.defaultProps = {
|
|
18
|
-
close: true,
|
|
19
|
-
};
|
|
20
16
|
export default VirtualAddressHeader;
|
|
21
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,0DAA0D,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,MAAM,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,0DAA0D,CAAC;AACvF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAQ3C,MAAM,oBAAoB,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK,GAAG,IAAI,EAAE,OAAO,EAA6B,EAAE,EAAE;IACzF,MAAM,cAAc,GAAG,iBAAiB,CAAC,EAAE,CAAC,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,gBAAgB,IAChB,OAAO,EAAE,cAAc,CAAC,IAAI,EAC5B,IAAI,EACH,oBAAC,OAAO,IAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;YAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;YACzD,KAAK,IAAI,oBAAC,KAAK,IAAC,MAAM,EAAE,OAAO,GAAI;YACpC,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACvC,GAEV,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -9,11 +9,5 @@ export type VirtualAddressListProps = {
|
|
|
9
9
|
/** 头部的显示方式 */
|
|
10
10
|
headerType?: "dashboard" | "tool";
|
|
11
11
|
};
|
|
12
|
-
declare const VirtualAddressList: {
|
|
13
|
-
(props: VirtualAddressListProps): React.JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
viewTitle: string;
|
|
16
|
-
headerType: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
12
|
+
declare const VirtualAddressList: ({ viewTitle, headerType, ...props }: VirtualAddressListProps) => React.JSX.Element;
|
|
19
13
|
export default VirtualAddressList;
|
|
@@ -11,8 +11,8 @@ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
|
|
|
11
11
|
import { faAddressCardSolid, FontAwesomeIcon as FAIcon } from "@voplus/morpho-ui/es/faIcons";
|
|
12
12
|
import { useAutoUpdateListData } from "../../../../../data/virtual-address";
|
|
13
13
|
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
|
14
|
-
const VirtualAddressList = (props) => {
|
|
15
|
-
const { corporateId
|
|
14
|
+
const VirtualAddressList = ({ viewTitle = "Virtual Address", headerType = "dashboard", ...props }) => {
|
|
15
|
+
const { corporateId } = props;
|
|
16
16
|
const [addAble, setAddAble] = useState(false);
|
|
17
17
|
const layoutContext = useViewLayoutContext();
|
|
18
18
|
if (layoutContext)
|
|
@@ -63,9 +63,5 @@ const VirtualAddressList = (props) => {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
|
-
VirtualAddressList.defaultProps = {
|
|
67
|
-
viewTitle: "Virtual Address",
|
|
68
|
-
headerType: "dashboard",
|
|
69
|
-
};
|
|
70
66
|
export default VirtualAddressList;
|
|
71
67
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAmB,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,4EAA4E,CAAC;AAClH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAChF,OAAO,kBAAkB,MAAM,6CAA6C,CAAC;AAC7E,OAAO,2BAA2B,MAAM,0BAA0B,CAAC;AACnE,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAY1F,MAAM,kBAAkB,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAC;AACrB,OAAO,EAAmB,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,4EAA4E,CAAC;AAClH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,0DAA0D,CAAC;AAChF,OAAO,kBAAkB,MAAM,6CAA6C,CAAC;AAC7E,OAAO,2BAA2B,MAAM,0BAA0B,CAAC;AACnE,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAY1F,MAAM,kBAAkB,GAAG,CAAC,EAC3B,SAAS,GAAG,iBAAiB,EAC7B,UAAU,GAAG,WAAW,EACxB,GAAG,KAAK,EACiB,EAAE,EAAE;IAC7B,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,aAAa,GAAG,oBAAoB,EAAE,CAAC;IAC7C,IAAI,aAAa;QAAE,aAAa,CAAC,YAAY,GAAG,EAAE,CAAC;IAEnD,MAAM,eAAe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
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}[];
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
VirtualAddressTitle: string;
|
|
16
|
-
VirtualAddressProperties: {
|
|
17
|
-
name: string;
|
|
18
|
-
}[];
|
|
19
|
-
};
|
|
4
|
+
export type VirtualAddressPropertiesProps = {
|
|
5
|
+
id: string;
|
|
6
|
+
headerVisible?: boolean;
|
|
7
|
+
VirtualAddressTitle?: string;
|
|
8
|
+
VirtualAddressProperties?: {
|
|
9
|
+
name: VirtualAddressPropertiesName;
|
|
10
|
+
visible?: boolean;
|
|
11
|
+
}[];
|
|
20
12
|
};
|
|
13
|
+
declare const VirtualAddressProperties: ({ VirtualAddressTitle, VirtualAddressProperties, ...props }: VirtualAddressPropertiesProps) => React.JSX.Element;
|
|
21
14
|
export default VirtualAddressProperties;
|
|
@@ -8,10 +8,10 @@ import { Scrollbars } from "react-custom-scrollbars-2";
|
|
|
8
8
|
import { useVirtualAddress, useVirtualAddressStore } from "../../../../../data/virtual-address";
|
|
9
9
|
import VirtualAddressMenu from "../../controls/VirtualAddressMenu";
|
|
10
10
|
import "./index.css";
|
|
11
|
-
const VirtualAddressProperties = (props) => {
|
|
11
|
+
const VirtualAddressProperties = ({ VirtualAddressTitle = "VIRTUAL ADDRESS PROPERTIES", VirtualAddressProperties = [{ name: "Address" }], ...props }) => {
|
|
12
12
|
/** 加class name 为了方便做integration tests */
|
|
13
13
|
const classId = "virtualAddress-properties";
|
|
14
|
-
const { id, headerVisible
|
|
14
|
+
const { id, headerVisible } = props;
|
|
15
15
|
const virtualAddress = useVirtualAddress(id, { reload: true });
|
|
16
16
|
const store = useVirtualAddressStore();
|
|
17
17
|
const filterPro = VirtualAddressProperties === null || VirtualAddressProperties === void 0 ? void 0 : VirtualAddressProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
|
|
@@ -37,9 +37,5 @@ const VirtualAddressProperties = (props) => {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
VirtualAddressProperties.defaultProps = {
|
|
41
|
-
VirtualAddressTitle: "VIRTUAL ADDRESS PROPERTIES",
|
|
42
|
-
VirtualAddressProperties: [{ name: "Address" }],
|
|
43
|
-
};
|
|
44
40
|
export default VirtualAddressProperties;
|
|
45
41
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/virtual-address/components/VirtualAddressProperties/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAChG,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address/components/VirtualAddressProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACpG,OAAO,OAAO,MAAM,kDAAkD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,KAAK,MA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AA,cAAc,CAAC,MAAM,0CAAE,OAAO,0CAAE,UAAU,IAAG,IAAI,EACjD,MAAA,MAAA,cAAc,CAAC,MAAM,0CAAE,OAAO;uBAAE,OAAO,CACtC,CACH,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -6,10 +6,5 @@ export type VirtualAddressMailListProps = {
|
|
|
6
6
|
corporateId?: string;
|
|
7
7
|
onClickItem?: (item: IVirtualAddressMail) => void;
|
|
8
8
|
};
|
|
9
|
-
declare const CorporateMailList:
|
|
10
|
-
(props: VirtualAddressMailListProps): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
isTitle: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
9
|
+
declare const CorporateMailList: (props: VirtualAddressMailListProps) => React.JSX.Element;
|
|
15
10
|
export default CorporateMailList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/CorporateMailList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAEN,+BAA+B,EAC/B,qBAAqB,GACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7F,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,iBAAiB,MAAM,QAAQ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I;4BACb,OAAO,EAAE,KAAK;4BACd,QAAQ,EAAE,KAAK;4BACf,aAAa,EAAE,EAAE,WAAW,EAAE,wBAAwB,EAAE;yBACxD,GACA;oBACF,oBAAC,QAAQ,IACR,WAAW,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAC/B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgD,EAAE,EAAE,CAAC,CAC9E,oBAAC,iBAAiB,IACjB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,OAAO,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,WAAW,sDAAG,IAAI,CAAC,CAAA,EAAA,GACvC,CACF,GACA,CACG,CACQ,CACW,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,OAAO;QACf,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,IAAI,WAAW;YAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;QACtF,OAAO,MAAwB,CAAC;IACjC,CAAC;AACF,CAAC,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/CorporateMailList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAEN,+BAA+B,EAC/B,qBAAqB,GACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,8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BAAK,SAAS,EAAC,8BAA8B;oBAC5C,oBAAC,iBAAiB,IACjB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAChD,KAAK,EAAC,2BAA2B,EACjC,WAAW,EAAC,qCAAqC,EACjD,eAAe,EAAE;4BAChB,OAAO,EAAE,IAAI;4BACb,OAAO,EAAE,KAAK;4BACd,QAAQ,EAAE,KAAK;4BACf,aAAa,EAAE,EAAE,WAAW,EAAE,wBAAwB,EAAE;yBACxD,GACA;oBACF,oBAAC,QAAQ,IACR,WAAW,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAC/B,SAAS,EAAE,KAAK,EAChB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgD,EAAE,EAAE,CAAC,CAC9E,oBAAC,iBAAiB,IACjB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,OAAO,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,WAAW,sDAAG,IAAI,CAAC,CAAA,EAAA,GACvC,CACF,GACA,CACG,CACQ,CACW,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,OAAO;QACf,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,IAAI,WAAW;YAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;QACtF,OAAO,MAAwB,CAAC;IACjC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -12,11 +12,5 @@ export type NewVirtualAddressMailFormProps = {
|
|
|
12
12
|
onCancel?: () => void;
|
|
13
13
|
onSave?: (data?: any) => void;
|
|
14
14
|
};
|
|
15
|
-
declare const NewVirtualAddressMailFormContent: {
|
|
16
|
-
(props: NewVirtualAddressMailFormProps): React.JSX.Element;
|
|
17
|
-
defaultProps: {
|
|
18
|
-
type: string;
|
|
19
|
-
isClose: boolean;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
15
|
+
declare const NewVirtualAddressMailFormContent: ({ type, isClose, ...props }: NewVirtualAddressMailFormProps) => React.JSX.Element;
|
|
22
16
|
export default NewVirtualAddressMailFormContent;
|
|
@@ -14,12 +14,12 @@ import MailTypeSelect from "../MailTypeSelect";
|
|
|
14
14
|
import classnames from "classnames";
|
|
15
15
|
import dayjs from "dayjs";
|
|
16
16
|
import "./index.css";
|
|
17
|
-
const NewVirtualAddressMailFormContent = (props) => {
|
|
17
|
+
const NewVirtualAddressMailFormContent = ({ type = "full", isClose = true, ...props }) => {
|
|
18
18
|
const store = useVirtualAddressMailStore();
|
|
19
19
|
const asideContext = useAsideContentContext();
|
|
20
20
|
const [state] = useState(new State());
|
|
21
21
|
const [form] = Form.useForm();
|
|
22
|
-
const content = observe(() => (React.createElement("div", { className: classnames("new-virtualAddress-form", { "sub-virtualAddress-simply-form":
|
|
22
|
+
const content = observe(() => (React.createElement("div", { className: classnames("new-virtualAddress-form", { "sub-virtualAddress-simply-form": type === "mini" }, props.className) },
|
|
23
23
|
React.createElement(Form, { layout: "vertical", form: form },
|
|
24
24
|
React.createElement(Form.Item, { name: "Receipent", label: "Receipent" },
|
|
25
25
|
React.createElement(ReceipentsSelect, { addressid: props.addressId, subscriptionId: props.subscriptionId, onChange: (receipents) => (state.params.ReceipentId = receipents.id) })),
|
|
@@ -43,11 +43,11 @@ const NewVirtualAddressMailFormContent = (props) => {
|
|
|
43
43
|
" ",
|
|
44
44
|
React.createElement(Tip, { content: "Enter the number of letters from the same sender to automatically generate multiple records at once, saving the effort of creating each one individually." })) },
|
|
45
45
|
React.createElement(InputNumber, { style: { width: "100%" }, defaultValue: state.params.Qty, onChange: (v) => (state.params.Qty = v) })))),
|
|
46
|
-
|
|
46
|
+
type === "mini" && (React.createElement(Row, { className: "virtualAddress-form-btn", justify: "end" },
|
|
47
47
|
React.createElement(Space, null,
|
|
48
48
|
React.createElement(Button, { onClick: onCancel }, "Cancel"),
|
|
49
49
|
React.createElement(Button, { type: "primary", loading: state.loading, onClick: onSave }, "Submit"))))))));
|
|
50
|
-
return observe(() => (React.createElement(React.Fragment, null,
|
|
50
|
+
return observe(() => (React.createElement(React.Fragment, null, type === "full" ? (React.createElement(AddFormView, { title: "Add Virtual Address Mail", loading: !!state.loading, onCancel: onCancel, onSubmit: onSave }, content)) : (content))));
|
|
51
51
|
function resetForm() {
|
|
52
52
|
form.resetFields();
|
|
53
53
|
}
|
|
@@ -64,7 +64,7 @@ const NewVirtualAddressMailFormContent = (props) => {
|
|
|
64
64
|
});
|
|
65
65
|
(_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
66
66
|
state.loading = false;
|
|
67
|
-
if (!
|
|
67
|
+
if (!isClose) {
|
|
68
68
|
state.params = state.Params;
|
|
69
69
|
resetForm();
|
|
70
70
|
}
|
|
@@ -81,9 +81,5 @@ const NewVirtualAddressMailFormContent = (props) => {
|
|
|
81
81
|
(_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
NewVirtualAddressMailFormContent.defaultProps = {
|
|
85
|
-
type: "full",
|
|
86
|
-
isClose: true,
|
|
87
|
-
};
|
|
88
84
|
export default NewVirtualAddressMailFormContent;
|
|
89
85
|
//# sourceMappingURL=VirtualAddressMailForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualAddressMailForm.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,gBAAgB,MAAM,iEAAiE,CAAC;AAC/F,OAAO,gCAAgC,MAAM,qCAAqC,CAAC;AACnF,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,GAAG,MAAM,mCAAmC,CAAC;AACpD,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,CAAC;AAgBrB,MAAM,gCAAgC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"VirtualAddressMailForm.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/VirtualAddressMailForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO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irtualAddressMailForm/index.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { NewVirtualAddressMailFormProps } from "./VirtualAddressMailForm";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare const NewVirtualAddressMailFormDialog:
|
|
4
|
-
(props: NewVirtualAddressMailFormProps): React.JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
type: string;
|
|
7
|
-
showSubmit: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
3
|
+
declare const NewVirtualAddressMailFormDialog: (props: NewVirtualAddressMailFormProps) => React.JSX.Element;
|
|
10
4
|
export default NewVirtualAddressMailFormDialog;
|
package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.js
CHANGED
|
@@ -4,11 +4,7 @@ import { Modal } from "antd";
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
const NewVirtualAddressMailFormDialog = (props) => {
|
|
6
6
|
return observe(() => (React.createElement(Modal, { title: "New Virtual Address Mail Form Dialog", open: true, closable: false, footer: null, onCancel: props.onCancel },
|
|
7
|
-
React.createElement(Content, { ...props }))));
|
|
8
|
-
};
|
|
9
|
-
NewVirtualAddressMailFormDialog.defaultProps = {
|
|
10
|
-
type: "mini",
|
|
11
|
-
showSubmit: true,
|
|
7
|
+
React.createElement(Content, { type: "mini", ...props }))));
|
|
12
8
|
};
|
|
13
9
|
export default NewVirtualAddressMailFormDialog;
|
|
14
10
|
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,OAA2C,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,+BAA+B,GAAG,CAAC,KAAqC,EAAE,EAAE;IACjF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,sCAAsC,EAC5C,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/virtual-address-mail/components/NewVirtualAddressMailForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,OAA2C,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,+BAA+B,GAAG,CAAC,KAAqC,EAAE,EAAE;IACjF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,KAAK,EAAC,sCAAsC,EAC5C,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,EACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,OAAO,IAAC,IAAI,EAAC,MAAM,KAAK,KAAK,GAAI,CAC3B,CACR,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|