@trii/components 2.0.34 → 2.0.35
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/dist/cjs/index.js +1968 -497
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/ContactInformation.d.ts +15 -1
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/ContactMethod.d.ts +11 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodItem/ContactMethodItem.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodItem/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/ContactMethodPhoneItem.d.ts +6 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/utils/phone.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/index.d.ts +2 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/EditModal.d.ts +9 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/Mails.d.ts +9 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/Body.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/Mail.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/style.d.ts +19 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/Phones.d.ts +9 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/Body.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/Phone.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/CountrySelect.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/style.d.ts +7 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/utils/countryList.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/OptionsMenu.d.ts +18 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/WhatsAppToggle.d.ts +2 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/style.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/index.d.ts +3 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/style.d.ts +15 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/RCSs.d.ts +9 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/Body.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/RCS.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/style.d.ts +19 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/Whatsapps.d.ts +9 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/Body.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/Whatsapp.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/style.d.ts +19 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/index.d.ts +4 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/AddressInput.d.ts +14 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/style.d.ts +3 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/InformationSocialNetworkItem.d.ts +12 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/Body.d.ts +11 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/Ims.d.ts +11 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/style.d.ts +7 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/types/IMS.d.ts +2 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/PhoneInput.d.ts +14 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/style.d.ts +3 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeader/SubsectionHeader.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeader/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/SubsectionHeaderWithButton.d.ts +7 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/style.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/WarningsDisplay.d.ts +6 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/Warning.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/style.d.ts +15 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/style.d.ts +6 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/index.d.ts +10 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/InformationItemContainer.d.ts +6 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/style.d.ts +12 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/InformationItemInputsContainer.d.ts +6 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/style.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/NoteDeleteButton.d.ts +19 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/style.d.ts +13 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/StatusAdornment.d.ts +7 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/Adornment.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/SubsectionBodyContainer.d.ts +7 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/index.d.ts +1 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/style.d.ts +14 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/index.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/types/CheckContactAddressData.d.ts +5 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/types/ContactAddress.d.ts +2 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/components/index.d.ts +2 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/ContactInformation/hooks/useEditModal.d.ts +8 -0
- package/dist/cjs/types/components/EditContactModal/components/Section/General/components/BusinessGeneral.d.ts +1 -1
- package/dist/cjs/types/components/EditContactModal/components/Section/General/components/ContactGeneral.d.ts +1 -1
- package/dist/cjs/types/components/EditContactModal/context/EditContactApiContext.d.ts +161 -0
- package/dist/cjs/types/components/EditContactModal/context/EditEntityContext.d.ts +34 -0
- package/dist/cjs/types/components/EditContactModal/hooks/useEditBusiness/types/UseEditBusiness.d.ts +8 -8
- package/dist/cjs/types/components/EditContactModal/hooks/useEditContactMethods.d.ts +8 -8
- package/dist/cjs/types/components/EditContactModal/services/api.d.ts +94 -34
- package/dist/esm/index.js +2003 -532
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/ContactInformation.d.ts +15 -1
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/ContactMethod.d.ts +11 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodItem/ContactMethodItem.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodItem/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/ContactMethodPhoneItem.d.ts +6 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/utils/phone.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/index.d.ts +2 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/EditModal.d.ts +9 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/Mails.d.ts +9 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/Body.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/Mail.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/style.d.ts +19 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/Phones.d.ts +9 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/Body.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/Phone.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/CountrySelect.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/style.d.ts +7 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/utils/countryList.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/OptionsMenu.d.ts +18 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/WhatsAppToggle.d.ts +2 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/style.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/index.d.ts +3 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/style.d.ts +15 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/RCSs.d.ts +9 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/Body.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/RCS.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/style.d.ts +19 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/Whatsapps.d.ts +9 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/Body.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/Whatsapp.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/style.d.ts +19 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/index.d.ts +4 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/AddressInput.d.ts +14 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/style.d.ts +3 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/InformationSocialNetworkItem.d.ts +12 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/Body.d.ts +11 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/Ims.d.ts +11 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/style.d.ts +7 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/types/IMS.d.ts +2 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/PhoneInput.d.ts +14 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/style.d.ts +3 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeader/SubsectionHeader.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeader/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/SubsectionHeaderWithButton.d.ts +7 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/style.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/WarningsDisplay.d.ts +6 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/Warning.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/style.d.ts +15 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/style.d.ts +6 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/index.d.ts +10 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/InformationItemContainer.d.ts +6 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/style.d.ts +12 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/InformationItemInputsContainer.d.ts +6 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/style.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/NoteDeleteButton.d.ts +19 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/style.d.ts +13 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/StatusAdornment.d.ts +7 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/Adornment.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/SubsectionBodyContainer.d.ts +7 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/index.d.ts +1 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/style.d.ts +14 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/index.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/types/CheckContactAddressData.d.ts +5 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/types/ContactAddress.d.ts +2 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/components/index.d.ts +2 -0
- package/dist/esm/types/components/EditContactModal/components/Section/ContactInformation/hooks/useEditModal.d.ts +8 -0
- package/dist/esm/types/components/EditContactModal/components/Section/General/components/BusinessGeneral.d.ts +1 -1
- package/dist/esm/types/components/EditContactModal/components/Section/General/components/ContactGeneral.d.ts +1 -1
- package/dist/esm/types/components/EditContactModal/context/EditContactApiContext.d.ts +161 -0
- package/dist/esm/types/components/EditContactModal/context/EditEntityContext.d.ts +34 -0
- package/dist/esm/types/components/EditContactModal/hooks/useEditBusiness/types/UseEditBusiness.d.ts +8 -8
- package/dist/esm/types/components/EditContactModal/hooks/useEditContactMethods.d.ts +8 -8
- package/dist/esm/types/components/EditContactModal/services/api.d.ts +94 -34
- package/package.json +2 -1
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { IBusiness, IContact, IContactAddress } from '@trii/types/dist/Contacts';
|
|
2
|
+
type OwnerData = IContact | IBusiness;
|
|
3
|
+
interface Props {
|
|
4
|
+
phones: IContactAddress[];
|
|
5
|
+
emails: IContactAddress[];
|
|
6
|
+
facebook: IContactAddress[];
|
|
7
|
+
whatsapp: IContactAddress[];
|
|
8
|
+
mercadolibre: IContactAddress[];
|
|
9
|
+
webchat: IContactAddress[];
|
|
10
|
+
instagram: IContactAddress[];
|
|
11
|
+
rcs?: IContactAddress[];
|
|
12
|
+
ownerData: OwnerData;
|
|
13
|
+
t: (key: string) => string;
|
|
14
|
+
}
|
|
15
|
+
declare const ContactInformation: ({ phones, emails, facebook, whatsapp, mercadolibre, webchat, instagram, rcs, ownerData, t, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
2
16
|
export default ContactInformation;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IContactAddress } from '@trii/types/dist/Contacts';
|
|
2
|
+
import { IBusiness, IContact } from '@trii/types/dist/Contacts/contacts';
|
|
3
|
+
interface Props {
|
|
4
|
+
title: string;
|
|
5
|
+
methodItems: IContactAddress[];
|
|
6
|
+
isPhone?: boolean;
|
|
7
|
+
handleEdit: () => void;
|
|
8
|
+
owner?: IBusiness | IContact;
|
|
9
|
+
}
|
|
10
|
+
declare const ContactMethod: ({ title, methodItems, isPhone, handleEdit, owner }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default ContactMethod;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IContactAddress } from '@trii/types/dist/Contacts';
|
|
2
|
+
import { IBusiness, IContact } from '@trii/types/dist/Contacts/contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
item: IContactAddress;
|
|
5
|
+
owner?: IBusiness | IContact;
|
|
6
|
+
};
|
|
7
|
+
declare const ContactMethodItem: ({ item }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ContactMethodItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContactMethodItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContactMethodPhoneItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContactMethod';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
emails: Array<NewAddress | IContactAddress>;
|
|
5
|
+
handleAdd: () => void;
|
|
6
|
+
t?: (key: string) => string;
|
|
7
|
+
};
|
|
8
|
+
declare const Mails: ({ emails, handleAdd, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Mails;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
emails: Array<NewAddress | IContactAddress>;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Body: ({ emails, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Body;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: NewAddress | IContactAddress;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Mail: ({ data, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Mail;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Mail';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const mailStyle: {
|
|
2
|
+
emailField: {
|
|
3
|
+
width: string;
|
|
4
|
+
};
|
|
5
|
+
numberCountryContainer: {
|
|
6
|
+
display: string;
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
width: string;
|
|
9
|
+
};
|
|
10
|
+
warningMessage: {
|
|
11
|
+
position: string;
|
|
12
|
+
bottom: string;
|
|
13
|
+
};
|
|
14
|
+
adressInputBox: {
|
|
15
|
+
position: string;
|
|
16
|
+
width: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default mailStyle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Mail } from './Mail';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Body } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Mails';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
phoneNumbers: Array<NewAddress | IContactAddress>;
|
|
5
|
+
handleAdd: () => void;
|
|
6
|
+
t?: (key: string) => string;
|
|
7
|
+
};
|
|
8
|
+
declare const Phones: ({ phoneNumbers, handleAdd, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Phones;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
phoneNumbers: Array<NewAddress | IContactAddress>;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Body: ({ phoneNumbers, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Body;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: NewAddress | IContactAddress;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Phone: ({ data, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Phone;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CountrySelect';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChannelType } from '@trii/types/dist/Common/Channels';
|
|
2
|
+
type OptionsMenuProps = {
|
|
3
|
+
onDelete: () => void;
|
|
4
|
+
addressData: {
|
|
5
|
+
address: string;
|
|
6
|
+
channelType: ChannelType;
|
|
7
|
+
};
|
|
8
|
+
handleLinkAccountSave: () => Promise<void>;
|
|
9
|
+
checked: boolean;
|
|
10
|
+
t?: (key: string) => string;
|
|
11
|
+
onCheckContactAddress?: (type: ChannelType) => Promise<ResultContactAddressCheck | null>;
|
|
12
|
+
};
|
|
13
|
+
type ResultContactAddressCheck = {
|
|
14
|
+
success: boolean;
|
|
15
|
+
warnings: string[];
|
|
16
|
+
};
|
|
17
|
+
declare const OptionsMenu: ({ onDelete, addressData, handleLinkAccountSave, checked, t, onCheckContactAddress, }: OptionsMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default OptionsMenu;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './OptionsMenu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './WhatsAppToggle';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Phone';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const phoneStyle: {
|
|
2
|
+
numberCountryContainer: {
|
|
3
|
+
display: string;
|
|
4
|
+
justifyContent: string;
|
|
5
|
+
width: string;
|
|
6
|
+
};
|
|
7
|
+
warningMessage: {
|
|
8
|
+
marginTop: string;
|
|
9
|
+
};
|
|
10
|
+
adressInputBox: {
|
|
11
|
+
position: string;
|
|
12
|
+
width: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default phoneStyle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Phone } from './Phone';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Body } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Phones';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
RCSs: Array<NewAddress | IContactAddress>;
|
|
5
|
+
handleAdd: () => void;
|
|
6
|
+
t?: (key: string) => string;
|
|
7
|
+
};
|
|
8
|
+
declare const RCSs: ({ RCSs, handleAdd, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default RCSs;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
RCSs: Array<NewAddress | IContactAddress>;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Body: ({ RCSs, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Body;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: NewAddress | IContactAddress;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const RCS: ({ data, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default RCS;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './RCS';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const mailStyle: {
|
|
2
|
+
emailField: {
|
|
3
|
+
width: string;
|
|
4
|
+
};
|
|
5
|
+
numberCountryContainer: {
|
|
6
|
+
display: string;
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
width: string;
|
|
9
|
+
};
|
|
10
|
+
warningMessage: {
|
|
11
|
+
position: string;
|
|
12
|
+
bottom: string;
|
|
13
|
+
};
|
|
14
|
+
adressInputBox: {
|
|
15
|
+
position: string;
|
|
16
|
+
width: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default mailStyle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RCS } from './RCS';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Body } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './RCSs';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
whatsapps: Array<NewAddress | IContactAddress>;
|
|
5
|
+
handleAdd: () => void;
|
|
6
|
+
t?: (key: string) => string;
|
|
7
|
+
};
|
|
8
|
+
declare const Whatsapps: ({ whatsapps, handleAdd, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Whatsapps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
whatsapps: Array<NewAddress | IContactAddress>;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Body: ({ whatsapps, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Body;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: NewAddress | IContactAddress;
|
|
5
|
+
t?: (key: string) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const Whatsapp: ({ data, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default Whatsapp;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Whatsapp';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const mailStyle: {
|
|
2
|
+
emailField: {
|
|
3
|
+
width: string;
|
|
4
|
+
};
|
|
5
|
+
numberCountryContainer: {
|
|
6
|
+
display: string;
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
width: string;
|
|
9
|
+
};
|
|
10
|
+
warningMessage: {
|
|
11
|
+
position: string;
|
|
12
|
+
bottom: string;
|
|
13
|
+
};
|
|
14
|
+
adressInputBox: {
|
|
15
|
+
position: string;
|
|
16
|
+
width: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default mailStyle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Whatsapp } from './Whatsapp';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Body } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Whatsapps';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './EditModal';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
import type { ChangeEvent } from 'react';
|
|
3
|
+
import { ChannelType } from '@trii/types/dist/Common/Channels';
|
|
4
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
5
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
6
|
+
import { SetStateAction } from 'react';
|
|
7
|
+
interface AddressInputProps {
|
|
8
|
+
data: NewAddress | IContactAddress;
|
|
9
|
+
onChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, id: string, channelType: ChannelType) => void;
|
|
10
|
+
setWarnings: Dispatch<SetStateAction<string[]>>;
|
|
11
|
+
t?: (key: string) => string;
|
|
12
|
+
}
|
|
13
|
+
declare const AddressInput: ({ data, onChange, setWarnings, t }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default AddressInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AddressInput';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import UseEditBusiness from '../../../../../../../hooks/useEditBusiness/types/UseEditBusiness';
|
|
2
|
+
import UseEditContact from '../../../../../../../hooks/useEditContact/types/UseEditContact';
|
|
3
|
+
import { IContactAddress } from '@trii/types/dist/Contacts';
|
|
4
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
5
|
+
type Props = {
|
|
6
|
+
editEntity: UseEditBusiness | UseEditContact;
|
|
7
|
+
title: string;
|
|
8
|
+
IMSs: IContactAddress[] | NewAddress[];
|
|
9
|
+
t?: (key: string) => string;
|
|
10
|
+
};
|
|
11
|
+
declare const InformationSocialNetworkItem: ({ editEntity, title, IMSs, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default InformationSocialNetworkItem;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import UseEditContact from '../../../../../../../../../hooks/useEditContact/types/UseEditContact';
|
|
3
|
+
import UseEditBusiness from '../../../../../../../../../hooks/useEditBusiness/types/UseEditBusiness';
|
|
4
|
+
import { IContactAddress } from '@trii/types/dist/Contacts';
|
|
5
|
+
type Props = {
|
|
6
|
+
IMSs: NewAddress[] | IContactAddress[];
|
|
7
|
+
editEntity: UseEditBusiness | UseEditContact;
|
|
8
|
+
t?: (key: string) => string;
|
|
9
|
+
};
|
|
10
|
+
declare const Body: ({ IMSs, editEntity, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Body;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NewAddress } from '../../../../../../../../../../../utils/contactHelper';
|
|
2
|
+
import UseEditBusiness from '../../../../../../../../../../../hooks/useEditBusiness/types/UseEditBusiness';
|
|
3
|
+
import UseEditContact from '../../../../../../../../../../../hooks/useEditContact/types/UseEditContact';
|
|
4
|
+
import { IContactAddress } from '@trii/types/dist/Contacts';
|
|
5
|
+
type Props = {
|
|
6
|
+
data: NewAddress | IContactAddress;
|
|
7
|
+
editEntity: UseEditBusiness | UseEditContact;
|
|
8
|
+
t?: (key: string) => string;
|
|
9
|
+
};
|
|
10
|
+
declare const Ims: ({ data, editEntity, t }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Ims;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Ims';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Ims } from './Ims';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Body } from './Body';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InformationSocialNetworkItem';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
import type { ChangeEvent } from 'react';
|
|
3
|
+
import { ChannelType } from '@trii/types/dist/Common/Channels';
|
|
4
|
+
import { NewAddress } from '../../../../../../../utils/contactHelper';
|
|
5
|
+
import type { IContactAddress } from '@trii/types/dist/Contacts';
|
|
6
|
+
import { SetStateAction } from 'react';
|
|
7
|
+
interface AddressInputProps {
|
|
8
|
+
data: NewAddress | IContactAddress;
|
|
9
|
+
onChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, id: string, channelType: ChannelType) => void;
|
|
10
|
+
setWarnings: Dispatch<SetStateAction<string[]>>;
|
|
11
|
+
t?: (key: string) => string;
|
|
12
|
+
}
|
|
13
|
+
declare const PhoneInput: ({ data, onChange, setWarnings, t }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default PhoneInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PhoneInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SubsectionHeader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SubsectionHeaderWithButton';
|