@trii/components 2.0.66 → 2.0.68
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 +15 -10464
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +15 -10442
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +142 -356
- package/dist/types/components/ContactInfoPopup/ContactInfoPopup.d.ts +14 -0
- package/dist/types/components/ContactInfoPopup/ContactInfoPopup.stories.d.ts +9 -0
- package/dist/types/components/ContactInfoPopup/components/BusinessSection/BusinessSection.d.ts +7 -0
- package/dist/types/components/ContactInfoPopup/components/BusinessSection/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/ContactMethod/ContactMethod.d.ts +10 -0
- package/dist/types/components/ContactInfoPopup/components/ContactMethod/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/Header/Header.d.ts +12 -0
- package/dist/types/components/ContactInfoPopup/components/Header/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/LabelsSection/LabelsSection.d.ts +7 -0
- package/dist/types/components/ContactInfoPopup/components/LabelsSection/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/MembersSection/MembersSection.d.ts +8 -0
- package/dist/types/components/ContactInfoPopup/components/MembersSection/components/MemberItem/MemberItem.d.ts +7 -0
- package/dist/types/components/ContactInfoPopup/components/MembersSection/components/MemberItem/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/MembersSection/components/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/MembersSection/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/Properties/Properties.d.ts +7 -0
- package/dist/types/components/ContactInfoPopup/components/Properties/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/components/index.d.ts +6 -0
- package/dist/types/components/ContactInfoPopup/index.d.ts +1 -0
- package/dist/types/components/ContactInfoPopup/types/is-business.typeguard.d.ts +7 -0
- package/dist/types/components/ContactInfoPopup/types/is-contact.typeguard.d.ts +7 -0
- package/dist/types/components/EditContactModal/EditContactModal.d.ts +16 -0
- package/dist/types/components/EditContactModal/EditContactModal.stories.d.ts +9 -0
- package/dist/types/components/EditContactModal/components/BusinessSelect/BusinessSelectEditor.d.ts +16 -0
- package/dist/types/components/EditContactModal/components/Header/Header.d.ts +23 -0
- package/dist/types/components/EditContactModal/components/Header/components/AvatarWithActions/AvatarWithActions.d.ts +11 -0
- package/dist/types/components/EditContactModal/components/Header/components/ContactName/ContactName.d.ts +12 -0
- package/dist/types/components/EditContactModal/components/Header/components/Tags/Tags.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Header/components/Tags/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Header/components/index.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/SearchLocation/SearchLocationEditor.d.ts +10 -0
- package/dist/types/components/EditContactModal/components/SearchLocation/SearchLocationInput.d.ts +22 -0
- package/dist/types/components/EditContactModal/components/SearchLocation/googleMapsUtils.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/AddressInformation/AddressInformation.d.ts +11 -0
- package/dist/types/components/EditContactModal/components/Section/AddressInformation/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/ContactInformation.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/ContactMethod.d.ts +11 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodItem/ContactMethodItem.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodItem/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/ContactMethodPhoneItem.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/ContactMethodPhoneItem/utils/phone.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/components/index.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/ContactMethod/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/EditModal.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/Mails.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/Body.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/Mail.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/Mail/style.d.ts +19 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/Body/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Mails/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/Phones.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/Body.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/Phone.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/CountrySelect.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/style.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/CountrySelect/utils/countryList.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/OptionsMenu.d.ts +17 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/OptionsMenu/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/WhatsAppToggle.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/WhatsAppToggle/style.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/components/index.d.ts +3 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/Phone/style.d.ts +15 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/Body/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Phones/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/RCSs.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/Body.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/RCS.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/RCS/style.d.ts +19 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/Body/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/RCSs/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/Whatsapps.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/Body.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/Whatsapp.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/Whatsapp/style.d.ts +19 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/Body/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/Whatsapps/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/components/index.d.ts +4 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/AddressInput.d.ts +13 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/AddressInput/style.d.ts +3 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/InformationSocialNetworkItem.d.ts +11 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/Body.d.ts +10 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/Ims.d.ts +10 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/Ims/style.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/Body/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/InformationSocialNetworkItem/types/IMS.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/PhoneInput.d.ts +13 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/PhoneInput/style.d.ts +3 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeader/SubsectionHeader.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeader/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/SubsectionHeaderWithButton.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/SubsectionHeaderWithButton/style.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/WarningsDisplay.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/Warning.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/style.d.ts +15 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/style.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/index.d.ts +10 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/InformationItemContainer.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemContainer/style.d.ts +12 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/InformationItemInputsContainer.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/InformationItemInputsContainer/style.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/NoteDeleteButton.d.ts +18 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/NoteDeleteButton/style.d.ts +13 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/StatusAdornment.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/Adornment.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/SubsectionBodyContainer.d.ts +7 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/SubsectionBodyContainer/style.d.ts +14 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/index.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/types/CheckContactAddressData.d.ts +5 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/types/ContactAddress.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/index.d.ts +2 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/hooks/useEditModal.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/General/General.d.ts +14 -0
- package/dist/types/components/EditContactModal/components/Section/General/components/BusinessGeneral.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/General/components/ContactGeneral.d.ts +8 -0
- package/dist/types/components/EditContactModal/components/Section/General/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/components/Section/index.d.ts +3 -0
- package/dist/types/components/EditContactModal/components/Section/utils/resolveUserLabel.d.ts +6 -0
- package/dist/types/components/EditContactModal/components/TagsEditor/TagsEditor.d.ts +14 -0
- package/dist/types/components/EditContactModal/context/EditContactApiContext.d.ts +201 -0
- package/dist/types/components/EditContactModal/context/EditContactViewContext.d.ts +8 -0
- package/dist/types/components/EditContactModal/context/EditEntityContext.d.ts +34 -0
- package/dist/types/components/EditContactModal/context/NavigateContext.d.ts +9 -0
- package/dist/types/components/EditContactModal/context/TranslationContext.d.ts +9 -0
- package/dist/types/components/EditContactModal/hooks/useEditBusiness/types/UseEditBusiness.d.ts +55 -0
- package/dist/types/components/EditContactModal/hooks/useEditBusiness/useEditBusiness.d.ts +10 -0
- package/dist/types/components/EditContactModal/hooks/useEditContact/types/UseEditContact.d.ts +60 -0
- package/dist/types/components/EditContactModal/hooks/useEditContact/useEditContact.d.ts +10 -0
- package/dist/types/components/EditContactModal/hooks/useEditContactMethods.d.ts +52 -0
- package/dist/types/components/EditContactModal/hooks/useEditContactModalController.d.ts +44 -0
- package/dist/types/components/EditContactModal/hooks/useEntityUpdateSync.d.ts +8 -0
- package/dist/types/components/EditContactModal/hooks/useField.d.ts +18 -0
- package/dist/types/components/EditContactModal/hooks/useImage.d.ts +27 -0
- package/dist/types/components/EditContactModal/hooks/useModalCloseHandler.d.ts +6 -0
- package/dist/types/components/EditContactModal/hooks/useMultipleSelect.d.ts +20 -0
- package/dist/types/components/EditContactModal/hooks/useSelect.d.ts +13 -0
- package/dist/types/components/EditContactModal/hooks/useTagsEditorController.d.ts +26 -0
- package/dist/types/components/EditContactModal/hooks/utils/editContactHelper.d.ts +6 -0
- package/dist/types/components/EditContactModal/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/layout/Section.d.ts +9 -0
- package/dist/types/components/EditContactModal/layout/SectionContent.d.ts +7 -0
- package/dist/types/components/EditContactModal/layout/index.d.ts +2 -0
- package/dist/types/components/EditContactModal/services/api.d.ts +196 -0
- package/dist/types/components/EditContactModal/services/http.d.ts +23 -0
- package/dist/types/components/EditContactModal/services/urls.d.ts +6 -0
- package/dist/types/components/EditContactModal/shared/BusinessInfoLabel/BusinessInfoLabel.d.ts +16 -0
- package/dist/types/components/EditContactModal/shared/BusinessInfoLabel/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/ContactInfoLabel/ContactInfoLabel.d.ts +29 -0
- package/dist/types/components/EditContactModal/shared/ContactInfoLabel/components/DateSelect/DateSelect.d.ts +8 -0
- package/dist/types/components/EditContactModal/shared/ContactInfoLabel/components/DateSelect/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/ContactInfoLabel/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/ContactInfoLabel/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/EntityCustomFieldLabel.d.ts +18 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyDatePicker/CustomPropertyDatePicker.d.ts +8 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyDatePicker/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyDateRangePicker/CustomPropertyDateRangePicker.d.ts +9 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyDateRangePicker/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyInput/CustomPropertyInput.d.ts +6 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyInput/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyInput/types/CustomPropertyInputProps.d.ts +6 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyOptionSelect/CustomPropertyOptionsSelect.d.ts +7 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyOptionSelect/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyTimePicker/CustomPropertyTimePicker.d.ts +8 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyTimePicker/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyTimeRangePicker/CustomPropertyTimeRangePicker.d.ts +9 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/CustomPropertyTimeRangePicker/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/components/index.d.ts +6 -0
- package/dist/types/components/EditContactModal/shared/EntityCustomFieldLabel/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityInfoLabel/EntityInfoLabel.d.ts +40 -0
- package/dist/types/components/EditContactModal/shared/EntityInfoLabel/components/SelectBusinessLabel/SelectBusinessLabel.d.ts +7 -0
- package/dist/types/components/EditContactModal/shared/EntityInfoLabel/components/SelectBusinessLabel/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityInfoLabel/components/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/EntityInfoLabel/index.d.ts +1 -0
- package/dist/types/components/EditContactModal/shared/index.d.ts +3 -0
- package/dist/types/components/EditContactModal/types/is-business.typeguard.d.ts +7 -0
- package/dist/types/components/EditContactModal/types/is-contact.typeguard.d.ts +7 -0
- package/dist/types/components/EditContactModal/utils/contactHelper.d.ts +13 -0
- package/dist/types/components/EventsDialog/EventDialog.d.ts +3 -0
- package/dist/types/components/EventsDialog/EventsDialog.d.ts +123 -0
- package/dist/types/components/EventsDialog/components/ActionButtons/ActionButtons.d.ts +5 -0
- package/dist/types/components/EventsDialog/components/ActionButtons/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/AllDayCheckbox/AllDayCheckbox.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/AllDayCheckbox/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/ColorPicker/ColorPicker.d.ts +8 -0
- package/dist/types/components/EventsDialog/components/ColorPicker/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/CreateTypeTabs/CreateTypeTabs.d.ts +11 -0
- package/dist/types/components/EventsDialog/components/CreateTypeTabs/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/DatePicker/DatePicker.d.ts +13 -0
- package/dist/types/components/EventsDialog/components/DatePicker/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/DatePicker/styles.d.ts +10 -0
- package/dist/types/components/EventsDialog/components/DescriptionTextField/DescriptionTextField.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/DescriptionTextField/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/IsPrivateCheckbox/IsPrivateCheckbox.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/IsPrivateCheckbox/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/LinkContactsSelect.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/components/ContactSearchBar/ContactSearchBar.d.ts +6 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/components/ContactSearchBar/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/components/ContactSearchResults/ContactsSearchResults.d.ts +11 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/components/ContactSearchResults/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/components/index.d.ts +2 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/LinkContactsSelect/styles.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/LocationTextField.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/MapLocationPicker.d.ts +8 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/LocationSelectorModal.d.ts +8 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/components/GoogleMap/GoogleMapStandalone.d.ts +9 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/components/GoogleMap/components/LocationSearch/locationSearch.d.ts +6 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/components/GoogleMap/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/components/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/index.d.ts +3 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/types.d.ts +15 -0
- package/dist/types/components/EventsDialog/components/LocationTextField/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/RecurrenceSelect/RecurrenceSelect.d.ts +8 -0
- package/dist/types/components/EventsDialog/components/RecurrenceSelect/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/ReminderNotifications.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/ReminderItem.d.ts +12 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/style.d.ts +17 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/utils/selectOptions.d.ts +5 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/ReminderNotifications/styles.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/ShareUsersSelect/ShareUsersSelect.d.ts +7 -0
- package/dist/types/components/EventsDialog/components/ShareUsersSelect/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/ShareUsersSelect/styles.d.ts +4 -0
- package/dist/types/components/EventsDialog/components/SyncWithGoogleField/SyncWithGoogleField.d.ts +5 -0
- package/dist/types/components/EventsDialog/components/TaskCalendarSelect/TaskCalendarSelect.d.ts +9 -0
- package/dist/types/components/EventsDialog/components/TaskCalendarSelect/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/TaskDatePicker/TaskDatePicker.d.ts +10 -0
- package/dist/types/components/EventsDialog/components/TaskDatePicker/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/TitleTextField/TitleTextField.d.ts +8 -0
- package/dist/types/components/EventsDialog/components/TitleTextField/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/components/index.d.ts +13 -0
- package/dist/types/components/EventsDialog/context/CalendarContext.d.ts +85 -0
- package/dist/types/components/EventsDialog/context/CalendarContextProvider.d.ts +6 -0
- package/dist/types/components/EventsDialog/context/EventsDialogApiContext.d.ts +9 -0
- package/dist/types/components/EventsDialog/context/types/CalendarContextType.d.ts +0 -0
- package/dist/types/components/EventsDialog/context/types/CalendarDialogMode.d.ts +1 -0
- package/dist/types/components/EventsDialog/context/types/CalendarDialogState.d.ts +1 -0
- package/dist/types/components/EventsDialog/context/types/DialogType.d.ts +1 -0
- package/dist/types/components/EventsDialog/context/types/Mode.d.ts +1 -0
- package/dist/types/components/EventsDialog/hooks/index.d.ts +9 -0
- package/dist/types/components/EventsDialog/hooks/useAppDispatch.d.ts +17 -0
- package/dist/types/components/EventsDialog/hooks/useCalendar.d.ts +21 -0
- package/dist/types/components/EventsDialog/hooks/useCalendarEvents.d.ts +36 -0
- package/dist/types/components/EventsDialog/hooks/useCalendarTasks.d.ts +25 -0
- package/dist/types/components/EventsDialog/hooks/useDialog.d.ts +8 -0
- package/dist/types/components/EventsDialog/hooks/useEvent.d.ts +71 -0
- package/dist/types/components/EventsDialog/hooks/useField.d.ts +19 -0
- package/dist/types/components/EventsDialog/hooks/useNotifications.d.ts +27 -0
- package/dist/types/components/EventsDialog/hooks/useSelect.d.ts +14 -0
- package/dist/types/components/EventsDialog/hooks/useTask.d.ts +19 -0
- package/dist/types/components/EventsDialog/index.d.ts +26 -0
- package/dist/types/components/EventsDialog/layout/BasicInputContainer/BasicInputContainer.d.ts +7 -0
- package/dist/types/components/EventsDialog/layout/BasicInputContainer/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/layout/BasicInputContainer/styles.d.ts +7 -0
- package/dist/types/components/EventsDialog/layout/InputContainer/InputContainer.d.ts +7 -0
- package/dist/types/components/EventsDialog/layout/InputContainer/index.d.ts +1 -0
- package/dist/types/components/EventsDialog/layout/index.d.ts +2 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/activitiesSlice.d.ts +27 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/types/ActivitiesSlice.d.ts +12 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/types/ActivitiesTableColumnName.d.ts +1 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/types/AddActivityRequestData.d.ts +19 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/types/EventNotificationFront.d.ts +2 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/types/UpdateActivityRequestData.d.ts +6 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/utils/activitiesSliceService.d.ts +12 -0
- package/dist/types/components/EventsDialog/redux/features/activitiesSlice/utils/selectors.d.ts +132 -0
- package/dist/types/components/EventsDialog/redux/features/calendarsSlice/calendarsSlice.d.ts +12 -0
- package/dist/types/components/EventsDialog/redux/features/calendarsSlice/types/AddCalendarResquestData.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/calendarsSlice/types/CalendarSlice.d.ts +10 -0
- package/dist/types/components/EventsDialog/redux/features/calendarsSlice/utils/calendarsSliceService.d.ts +9 -0
- package/dist/types/components/EventsDialog/redux/features/calendarsSlice/utils/selectors.d.ts +106 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/contactInfoService.d.ts +22 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/contactInfoSlice.d.ts +519 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/ContactData.d.ts +7 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/ContactFile.d.ts +7 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/ContactInfoState.d.ts +20 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/ContactNotes.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/ConvertContact.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/FieldsData.d.ts +7 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/Filter.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/Order.d.ts +1 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/Pagination.d.ts +14 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/PaginationInfo.d.ts +7 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/TableItemFormat.d.ts +2 -0
- package/dist/types/components/EventsDialog/redux/features/contactInfoSlice/types/UpdateField.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/poolSlice/poolSlice.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/poolSlice/types/PoolSliceState.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/sessionSlice/sessionSlice.d.ts +30 -0
- package/dist/types/components/EventsDialog/redux/features/sessionSlice/utils/sessionHelper.d.ts +5 -0
- package/dist/types/components/EventsDialog/redux/features/spaceSlice/spaceSlice.d.ts +45 -0
- package/dist/types/components/EventsDialog/redux/features/spaceSlice/spaceSliceService.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/features/spaceSlice/types/SpaceSliceState.d.ts +17 -0
- package/dist/types/components/EventsDialog/redux/features/spacesSlice/spacesSlice.d.ts +80 -0
- package/dist/types/components/EventsDialog/redux/features/spacesSlice/spacesSliceService.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/features/spacesSlice/types/SpacesSliceState.d.ts +8 -0
- package/dist/types/components/EventsDialog/redux/features/tasksSlice/tasksSlice.d.ts +26 -0
- package/dist/types/components/EventsDialog/redux/features/tasksSlice/types/AddTaskRequestData.d.ts +7 -0
- package/dist/types/components/EventsDialog/redux/features/tasksSlice/types/TasksSlice.d.ts +14 -0
- package/dist/types/components/EventsDialog/redux/features/tasksSlice/types/UpdateTaskRequestData.d.ts +10 -0
- package/dist/types/components/EventsDialog/redux/features/tasksSlice/utils/selectors.d.ts +111 -0
- package/dist/types/components/EventsDialog/redux/features/tasksSlice/utils/tasksSliceService.d.ts +16 -0
- package/dist/types/components/EventsDialog/redux/features/userSlice/types/UserSliceState.d.ts +11 -0
- package/dist/types/components/EventsDialog/redux/features/userSlice/userSliceService.d.ts +7 -0
- package/dist/types/components/EventsDialog/redux/functions/getRequestConfig.d.ts +13 -0
- package/dist/types/components/EventsDialog/redux/functions/initRequestData.d.ts +12 -0
- package/dist/types/components/EventsDialog/redux/rootReducer.d.ts +35 -0
- package/dist/types/components/EventsDialog/redux/store.d.ts +39 -0
- package/dist/types/components/EventsDialog/redux/types/AddPermissionAction.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/types/BasicRequests.d.ts +11 -0
- package/dist/types/components/EventsDialog/redux/types/ChangePermissionReadMessagesAction.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/types/ChangePermissionStartConversationsAction.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/types/ChangeScheduleFn.d.ts +3 -0
- package/dist/types/components/EventsDialog/redux/types/Gif.d.ts +41 -0
- package/dist/types/components/EventsDialog/redux/types/InitRequestDataReturn.d.ts +10 -0
- package/dist/types/components/EventsDialog/redux/types/PermissionReadMessagesPayload.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/types/PermissionStartConversationsPayload.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/types/RemovePermissionAction.d.ts +3 -0
- package/dist/types/components/EventsDialog/redux/types/RequestStatus.d.ts +1 -0
- package/dist/types/components/EventsDialog/redux/types/SearchBy.d.ts +4 -0
- package/dist/types/components/EventsDialog/redux/types/SortOrder.d.ts +1 -0
- package/dist/types/components/EventsDialog/redux/types/UpdateChannelThunk.d.ts +6 -0
- package/dist/types/components/EventsDialog/services/api.d.ts +196 -0
- package/dist/types/components/EventsDialog/services/http.d.ts +23 -0
- package/dist/types/components/EventsDialog/services/urls.d.ts +6 -0
- package/dist/types/components/EventsDialog/types.d.ts +129 -0
- package/dist/types/components/EventsDialog/utils/eventIdUtils.d.ts +38 -0
- package/dist/types/components/EventsDialog/utils/eventValidation.d.ts +37 -0
- package/dist/types/components/EventsDialog/utils/googleMapsLoader.d.ts +51 -0
- package/dist/types/components/EventsDialog/utils/isNumber.d.ts +1 -0
- package/dist/types/components/EventsDialog/utils/keyboardNavigation.d.ts +23 -0
- package/dist/types/components/EventsDialog/utils/roundTime.d.ts +10 -0
- package/dist/types/components/index.d.ts +5 -0
- package/dist/types/i18n/config.d.ts +2 -0
- package/dist/types/i18n/index.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +34 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ActionButtons';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type AllDayCheckboxProps = {
|
|
2
|
+
checked: boolean;
|
|
3
|
+
onChange: (checked: boolean) => void;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const AllDayCheckbox: ({ checked, onChange, disabled }: AllDayCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default AllDayCheckbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AllDayCheckbox';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseFieldType } from '../../hooks/useField';
|
|
2
|
+
type ColorPickerProps = {
|
|
3
|
+
colorField: UseFieldType;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
onColorChange?: (color: string) => void;
|
|
6
|
+
};
|
|
7
|
+
declare const ColorPicker: ({ colorField, disabled, onColorChange }: ColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ColorPicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ColorPicker';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DialogType } from '../../context/types/DialogType';
|
|
2
|
+
declare const CreateTypeTabs: ({ value, onChange, labels, }: {
|
|
3
|
+
value: DialogType;
|
|
4
|
+
onChange: (v: DialogType) => void;
|
|
5
|
+
labels: {
|
|
6
|
+
event: string;
|
|
7
|
+
task: string;
|
|
8
|
+
};
|
|
9
|
+
disabledTask?: boolean;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default CreateTypeTabs;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CreateTypeTabs';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
type DatePickerProps = {
|
|
3
|
+
selectedStartDate: Dayjs;
|
|
4
|
+
selectedEndDate: Dayjs;
|
|
5
|
+
handleSelectStart: (date: Dayjs) => void;
|
|
6
|
+
handleSelectEnd: (date: Dayjs) => void;
|
|
7
|
+
isError: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
hideLabel?: boolean;
|
|
10
|
+
allDay?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const DatePicker: ({ selectedStartDate, selectedEndDate, handleSelectStart, handleSelectEnd, isError, disabled, hideLabel, allDay, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default DatePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DatePicker';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledDatePickerContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const StyledPickersContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
+
export declare const StyledPickersDivider: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
10
|
+
}, "p" | "style" | "className" | "color" | "children" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "sx" | "classes" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/types/components/EventsDialog/components/DescriptionTextField/DescriptionTextField.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseFieldType } from '../../hooks/useField';
|
|
2
|
+
type DescriptionTextFieldProps = {
|
|
3
|
+
descriptionField: UseFieldType;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const DescriptionTextField: ({ descriptionField, disabled }: DescriptionTextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DescriptionTextField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DescriptionTextField';
|
package/dist/types/components/EventsDialog/components/IsPrivateCheckbox/IsPrivateCheckbox.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type IsPrivateCheckboxProps = {
|
|
2
|
+
checked: boolean;
|
|
3
|
+
onChange: (checked: boolean) => void;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const IsPrivateCheckbox: ({ checked, onChange, disabled }: IsPrivateCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default IsPrivateCheckbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './IsPrivateCheckbox';
|
package/dist/types/components/EventsDialog/components/LinkContactsSelect/LinkContactsSelect.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseLinkContact } from '../../hooks/useEvent';
|
|
2
|
+
type LinkContactsSelectProps = {
|
|
3
|
+
linkContactsHandler: UseLinkContact;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const LinkContactsSelect: ({ linkContactsHandler, disabled }: LinkContactsSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default LinkContactsSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContactSearchBar';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UIEvent } from 'react';
|
|
2
|
+
import { IContact } from '@trii/types/dist/Contacts';
|
|
3
|
+
interface Props {
|
|
4
|
+
handleScroll: (e: UIEvent<HTMLElement>) => void;
|
|
5
|
+
contactList: IContact[];
|
|
6
|
+
handleSelectContact: (contact: IContact) => void;
|
|
7
|
+
contactSelectedId: string;
|
|
8
|
+
search: string;
|
|
9
|
+
}
|
|
10
|
+
declare const ContactSearchResults: ({ handleScroll, contactList, handleSelectContact, contactSelectedId, search, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default ContactSearchResults;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContactsSearchResults';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './LinkContactsSelect';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SelectPrimaryContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/system").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/system").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
|
|
5
|
+
export declare const SelectSecondaryContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/system").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/system").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, {}, {}>;
|
package/dist/types/components/EventsDialog/components/LocationTextField/LocationTextField.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseFieldType } from '../../hooks/useField';
|
|
2
|
+
type LocationTextFieldProps = {
|
|
3
|
+
locationField: UseFieldType;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const LocationTextField: ({ locationField, disabled }: LocationTextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default LocationTextField;
|
package/dist/types/components/EventsDialog/components/LocationTextField/MapLocationPicker.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface MapLocationPickerProps {
|
|
3
|
+
onLocationSelect: (address: string, lat: number, lng: number) => void;
|
|
4
|
+
initialAddress?: string;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare const MapLocationPicker: React.FC<MapLocationPickerProps>;
|
|
8
|
+
export default MapLocationPicker;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface LocationSelectorModalProps {
|
|
2
|
+
open: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
onSelectLocation: (address: string, lat: string, lng: string) => void;
|
|
5
|
+
initialAddress?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const LocationSelectorModal: ({ open, onClose, onSelectLocation, initialAddress, }: LocationSelectorModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default LocationSelectorModal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { LocationData } from '../../types';
|
|
3
|
+
export type { LocationData };
|
|
4
|
+
interface GoogleMapStandaloneProps {
|
|
5
|
+
onLocationChange: (location: LocationData) => void;
|
|
6
|
+
initialLocation?: LocationData;
|
|
7
|
+
}
|
|
8
|
+
declare const GoogleMapStandalone: React.FC<GoogleMapStandaloneProps>;
|
|
9
|
+
export default GoogleMapStandalone;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="google.maps" />
|
|
2
|
+
interface Props {
|
|
3
|
+
onPlaceSelected: (location: google.maps.LatLngLiteral, address?: string) => void;
|
|
4
|
+
}
|
|
5
|
+
declare const LocationSearch: ({ onPlaceSelected }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default LocationSearch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './GoogleMapStandalone';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GoogleMapStandalone } from './GoogleMap/GoogleMapStandalone';
|
package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/types.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tipos para el selector de ubicación independiente
|
|
3
|
+
* No depende de contextos de Conversations
|
|
4
|
+
*/
|
|
5
|
+
export interface LocationData {
|
|
6
|
+
lat: string;
|
|
7
|
+
lng: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
url: string;
|
|
11
|
+
}
|
|
12
|
+
export interface LocationCoordinates {
|
|
13
|
+
lat: number;
|
|
14
|
+
lng: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './LocationTextField';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type RecurrenceSelectProps = {
|
|
2
|
+
value: string;
|
|
3
|
+
onChange: (value: string) => void;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
hideLabel?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const RecurrenceSelect: ({ value, onChange, disabled, hideLabel, }: RecurrenceSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default RecurrenceSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './RecurrenceSelect';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseNotificationsType } from '../../hooks/useNotifications';
|
|
2
|
+
type ReminderNotificationsProps = {
|
|
3
|
+
notificationsField: UseNotificationsType;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const ReminderNotifications: ({ notificationsField, disabled }: ReminderNotificationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ReminderNotifications;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SelectChangeEvent } from '@mui/material';
|
|
2
|
+
import { ChangeEvent } from 'react';
|
|
3
|
+
import { EventNotificationFront } from '../../../../types';
|
|
4
|
+
type ReminderItemProps = {
|
|
5
|
+
data: EventNotificationFront;
|
|
6
|
+
timeValueHandler: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>, notificationId: string) => void;
|
|
7
|
+
timePeriodHandler: (event: SelectChangeEvent<unknown>, notificationId: string) => void;
|
|
8
|
+
sendToContactHandler: (event: ChangeEvent<HTMLInputElement>, notificationId: string) => void;
|
|
9
|
+
deleteHandler: (notificationId: string) => void;
|
|
10
|
+
};
|
|
11
|
+
declare const ReminderItem: ({ data, timeValueHandler, timePeriodHandler, sendToContactHandler, deleteHandler, }: ReminderItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default ReminderItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ReminderItem';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledReminderItemContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const StyledReminderInputsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
+
export declare const StyledReminderTextField: import("@emotion/styled").StyledComponent<{
|
|
9
|
+
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
10
|
+
} & Omit<import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
export declare const StyledReminderSelect: import("@emotion/styled").StyledComponent<import("@mui/material").SelectProps<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
12
|
+
export declare const StyledReminderActionsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
15
|
+
export declare const StyledReminderDeleteIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
17
|
+
}, "style" | "className" | "tabIndex" | "color" | "children" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "size"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/types/components/EventsDialog/components/ReminderNotifications/components/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ReminderItem } from './ReminderItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ReminderNotifications';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ReminderNotificationsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const HeaderContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseShareWithUsersType } from 'features/Views/CalendarView/hooks/useShareWithUsers';
|
|
2
|
+
type ShareUsersSelectProps = {
|
|
3
|
+
shareWithUsersField: UseShareWithUsersType;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const ShareUsersSelect: ({ shareWithUsersField, disabled, }: ShareUsersSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ShareUsersSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ShareUsersSelect';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledChipArray: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/dist/types/components/EventsDialog/components/TaskCalendarSelect/TaskCalendarSelect.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICalendar } from '@trii/types/dist/Calendar/Calendar';
|
|
2
|
+
type Props = {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
calendars: ICalendar[];
|
|
5
|
+
value: string;
|
|
6
|
+
onChange: (calendarId: string) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const TaskCalendarSelect: ({ disabled, calendars, value, onChange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default TaskCalendarSelect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TaskCalendarSelect';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
type Props = {
|
|
3
|
+
selectedDateTime: Dayjs;
|
|
4
|
+
handleSelect: (date: Dayjs) => void;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
isError?: boolean;
|
|
7
|
+
hideLabel?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const TaskDatePicker: ({ selectedDateTime, handleSelect, disabled, isError, hideLabel, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default TaskDatePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TaskDatePicker';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseFieldType } from '../../hooks/useField';
|
|
2
|
+
type TitleTextFieldProps = {
|
|
3
|
+
titleField: UseFieldType;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
variantMode?: 'default' | 'inline';
|
|
6
|
+
};
|
|
7
|
+
declare const TitleTextField: ({ titleField, disabled, variantMode }: TitleTextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TitleTextField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TitleTextField';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as DatePicker } from './DatePicker';
|
|
2
|
+
export { default as TitleTextField } from './TitleTextField';
|
|
3
|
+
export { default as ReminderNotifications } from './ReminderNotifications';
|
|
4
|
+
export { default as DescriptionTextField } from './DescriptionTextField';
|
|
5
|
+
export { default as LocationTextField } from './LocationTextField';
|
|
6
|
+
export { default as LinkContactsSelect } from './LinkContactsSelect';
|
|
7
|
+
export { default as ActionButtons } from './ActionButtons';
|
|
8
|
+
export { default as CreateTypeTabs } from './CreateTypeTabs';
|
|
9
|
+
export { default as TaskDatePicker } from './TaskDatePicker';
|
|
10
|
+
export { default as TaskCalendarSelect } from './TaskCalendarSelect';
|
|
11
|
+
export { default as AllDayCheckbox } from './AllDayCheckbox';
|
|
12
|
+
export { default as ColorPicker } from './ColorPicker';
|
|
13
|
+
export { default as RecurrenceSelect } from './RecurrenceSelect';
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { Mode } from './types/Mode';
|
|
3
|
+
import type { EventData, TaskData } from '../types';
|
|
4
|
+
import { ICalendar } from '@trii/types/dist/Calendar/Calendar';
|
|
5
|
+
import { CalendarDialogMode } from './types/CalendarDialogMode';
|
|
6
|
+
import { UseCalendarEventsType } from '../hooks/useCalendarEvents';
|
|
7
|
+
import { UseDialog } from '../hooks/useDialog';
|
|
8
|
+
import { UseEvent } from '../hooks/useEvent';
|
|
9
|
+
import { UseCalendarType } from '../hooks/useCalendar';
|
|
10
|
+
import { UseCalendarTasksType } from '../hooks/useCalendarTasks';
|
|
11
|
+
import { UseTask } from '../hooks/useTask';
|
|
12
|
+
import { DialogType } from './types/DialogType';
|
|
13
|
+
export type CalendarContextType = {
|
|
14
|
+
eventDialog: UseDialog;
|
|
15
|
+
createCalendarDialog: UseDialog;
|
|
16
|
+
event: UseEvent;
|
|
17
|
+
events: UseCalendarEventsType;
|
|
18
|
+
calendar: UseCalendarType;
|
|
19
|
+
dialogMode: Mode;
|
|
20
|
+
handleCreateEvent(eventData?: EventData): void;
|
|
21
|
+
handleSelectEvent(event: any): void;
|
|
22
|
+
handleOpenEventCreate: () => void;
|
|
23
|
+
handleStartEditingEvent: () => void;
|
|
24
|
+
handleSaveUpdatedEvent: () => void;
|
|
25
|
+
handleEndEvent(): void;
|
|
26
|
+
handleDeleteEvent(): void;
|
|
27
|
+
handleResizeEvent(event: any, start: Date | string, end: Date | string): void;
|
|
28
|
+
selectedEvent: any;
|
|
29
|
+
savingSnackbar: {
|
|
30
|
+
open: boolean;
|
|
31
|
+
message: string;
|
|
32
|
+
severity: 'info' | 'success' | 'error';
|
|
33
|
+
};
|
|
34
|
+
handleCloseSnackbar: () => void;
|
|
35
|
+
dialogType: DialogType;
|
|
36
|
+
setDialogType: (value: DialogType) => void;
|
|
37
|
+
handleOpenTaskCreate: () => void;
|
|
38
|
+
handleOpenCreateFromSlot: (start: Date, end: Date) => void;
|
|
39
|
+
handleCloseCreateCalendarDialog: () => void;
|
|
40
|
+
calendarDialogMode: CalendarDialogMode;
|
|
41
|
+
editingCalendar: ICalendar | null;
|
|
42
|
+
handleOpenCreateCalendarDialog: () => void;
|
|
43
|
+
handleOpenEditCalendarDialog: (cal: ICalendar) => void;
|
|
44
|
+
handleSubmitCalendar: () => Promise<void>;
|
|
45
|
+
tasks: UseCalendarTasksType;
|
|
46
|
+
activeCalendarIds: string[];
|
|
47
|
+
setActiveCalendarIds: Dispatch<SetStateAction<string[]>>;
|
|
48
|
+
handleCreateTask: (taskData?: TaskData) => void;
|
|
49
|
+
task: UseTask;
|
|
50
|
+
selectedTask: any;
|
|
51
|
+
taskCalendarId: string;
|
|
52
|
+
setTaskCalendarId: ((id: string) => void) | Dispatch<SetStateAction<string>>;
|
|
53
|
+
eventCalendarId: string;
|
|
54
|
+
setEventCalendarId: ((id: string) => void) | Dispatch<SetStateAction<string>>;
|
|
55
|
+
userManuallyChangedColor: boolean;
|
|
56
|
+
setUserManuallyChangedColor: ((value: boolean) => void) | Dispatch<SetStateAction<boolean>>;
|
|
57
|
+
myCalendars: ICalendar[];
|
|
58
|
+
otherCalendars: ICalendar[];
|
|
59
|
+
handleSaveUpdatedTask: () => void;
|
|
60
|
+
handleDeleteTask: () => void;
|
|
61
|
+
handleToggleTaskCompleted: () => void;
|
|
62
|
+
handleDuplicateItem: () => void;
|
|
63
|
+
calendarView: 'month' | 'week' | 'day';
|
|
64
|
+
setCalendarView: (view: 'month' | 'week' | 'day') => void;
|
|
65
|
+
calendarDate: Date;
|
|
66
|
+
setCalendarDate: (date: Date) => void;
|
|
67
|
+
navigateToDate: (date: Date) => void;
|
|
68
|
+
confirmDeleteDialog: {
|
|
69
|
+
open: boolean;
|
|
70
|
+
handleClose: () => void;
|
|
71
|
+
itemType: 'event' | 'task';
|
|
72
|
+
};
|
|
73
|
+
handleConfirmDelete: () => void;
|
|
74
|
+
deleteRecurringDialog: {
|
|
75
|
+
open: boolean;
|
|
76
|
+
handleClose: () => void;
|
|
77
|
+
};
|
|
78
|
+
handleConfirmDeleteRecurring: (deleteAll: boolean) => void;
|
|
79
|
+
editRecurringDialog: {
|
|
80
|
+
open: boolean;
|
|
81
|
+
handleClose: () => void;
|
|
82
|
+
};
|
|
83
|
+
handleConfirmEditRecurring: (editAll: boolean) => void;
|
|
84
|
+
};
|
|
85
|
+
export declare const CalendarContext: import("react").Context<CalendarContextType>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface EventsDialogApi {
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
spaceId: string;
|
|
5
|
+
}
|
|
6
|
+
declare const EventsDialogApiContext: import("react").Context<EventsDialogApi | null>;
|
|
7
|
+
export declare const EventsDialogApiProvider: import("react").Provider<EventsDialogApi | null>;
|
|
8
|
+
export declare const useEventsDialogApi: () => EventsDialogApi | null;
|
|
9
|
+
export default EventsDialogApiContext;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CalendarDialogMode = 'create' | 'edit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DialogType = 'event' | 'task';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Mode = 'view' | 'create' | 'edit';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as useField, useFieldInitialState, type UseFieldType } from './useField';
|
|
2
|
+
export { default as useSelect, type UseSelect } from './useSelect';
|
|
3
|
+
export { default as useDialog, useDialogInitialState, type UseDialog } from './useDialog';
|
|
4
|
+
export { default as useEvent, useEventInitialState, type UseEvent, type UseDateState, type UseLinkContact, type UseShareWithUsers, type UseNotifications } from './useEvent';
|
|
5
|
+
export { default as useTask, useTaskInitialState, type UseTask } from './useTask';
|
|
6
|
+
export { default as useCalendar, useCalendarInitialState, type UseCalendarType } from './useCalendar';
|
|
7
|
+
export { default as useCalendarEvents, useCalendarEventsInitialState, type UseCalendarEventsType, type CalendarEvent } from './useCalendarEvents';
|
|
8
|
+
export { default as useCalendarTasks, useCalendarTasksInitialState, type UseCalendarTasksType, type CalendarTask } from './useCalendarTasks';
|
|
9
|
+
export { useAppDispatch } from './useAppDispatch';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const useAppDispatch: () => import("redux-thunk").ThunkDispatch<{
|
|
2
|
+
Pool: import("../redux/features/poolSlice/types/PoolSliceState").default;
|
|
3
|
+
Session: {
|
|
4
|
+
session: null;
|
|
5
|
+
status: {
|
|
6
|
+
setSession: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
Space: import("../redux/features/spaceSlice/types/SpaceSliceState").SpaceSliceState;
|
|
10
|
+
Spaces: import("../redux/features/spacesSlice/types/SpacesSliceState").SpacesSliceState;
|
|
11
|
+
User: import("../redux/features/userSlice/types/UserSliceState").UserSliceState;
|
|
12
|
+
Theme: import("../redux/features/themeSlice").ThemeState;
|
|
13
|
+
Activities: import("../redux/features/activitiesSlice/types/ActivitiesSlice").ActivitiesSlice;
|
|
14
|
+
ContactInfo: import("../redux/features/contactInfoSlice/types/ContactInfoState").ContactInfoState;
|
|
15
|
+
Calendars: import("../redux/features/calendarsSlice/types/CalendarSlice").CalendarsSlice;
|
|
16
|
+
Tasks: import("../redux/features/tasksSlice/types/TasksSlice").TasksSlice;
|
|
17
|
+
}, undefined, import("redux").UnknownAction> & import("redux").Dispatch<import("redux").UnknownAction>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseFieldType } from './useField';
|
|
2
|
+
export interface UseShareWithUsers {
|
|
3
|
+
field: {
|
|
4
|
+
userIds: string[];
|
|
5
|
+
};
|
|
6
|
+
action: {
|
|
7
|
+
setUserIds: (ids: string[]) => void;
|
|
8
|
+
resetField: () => void;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface UseCalendarType {
|
|
12
|
+
nameField: UseFieldType;
|
|
13
|
+
color: string;
|
|
14
|
+
handleColorChange: (hexColor: string) => void;
|
|
15
|
+
shareWithUsers: UseShareWithUsers;
|
|
16
|
+
googleCalendar: any;
|
|
17
|
+
handleGoogleCalendarChange: (config: any) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const useCalendarInitialState: UseCalendarType;
|
|
20
|
+
export declare const useCalendar: () => UseCalendarType;
|
|
21
|
+
export default useCalendar;
|