@mozaic-ds/angular 0.22.0 → 0.23.0
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/README.md +0 -92
- package/assets/moz-icons/Device_Desktop_24px.svg +1 -0
- package/assets/moz-icons/Device_Desktop_32px.svg +1 -0
- package/assets/moz-icons/Device_Desktop_48px.svg +1 -0
- package/assets/moz-icons/Device_Desktop_64px.svg +1 -0
- package/assets/moz-icons/Device_Laptop_24px.svg +1 -0
- package/assets/moz-icons/Device_Laptop_32px.svg +1 -0
- package/assets/moz-icons/Device_Laptop_48px.svg +1 -0
- package/assets/moz-icons/Device_Laptop_64px.svg +1 -0
- package/assets/moz-icons/Device_Mobile_24px.svg +1 -0
- package/assets/moz-icons/Device_Mobile_32px.svg +1 -0
- package/assets/moz-icons/Device_Mobile_48px.svg +1 -0
- package/assets/moz-icons/Device_Mobile_64px.svg +1 -0
- package/assets/moz-icons/Device_Tablet_24px.svg +1 -0
- package/assets/moz-icons/Device_Tablet_32px.svg +1 -0
- package/assets/moz-icons/Device_Tablet_48px.svg +1 -0
- package/assets/moz-icons/Device_Tablet_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Cleaned_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Cleaned_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Cleaned_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Cleaned_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Danger_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Danger_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Danger_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Danger_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Distance_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Distance_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Distance_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Distance_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Gel_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Gel_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Gel_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Gel_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Mask_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Mask_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Mask_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Mask_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_NoContact_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_NoContact_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_NoContact_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_NoContact_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Plexiglas_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Plexiglas_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Plexiglas_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Hygiene_Plexiglas_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_Checkout_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_Checkout_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_Checkout_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_Checkout_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_NoContact_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_NoContact_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_NoContact_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Payment_NoContact_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Loading_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Loading_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Loading_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Loading_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Request_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Request_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Request_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Request_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Truck_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Truck_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Truck_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Service_PurchaseHelp_Truck_64px.svg +1 -0
- package/assets/moz-icons/Instruction_Universe_EssentialProduct_24px.svg +1 -0
- package/assets/moz-icons/Instruction_Universe_EssentialProduct_32px.svg +1 -0
- package/assets/moz-icons/Instruction_Universe_EssentialProduct_48px.svg +1 -0
- package/assets/moz-icons/Instruction_Universe_EssentialProduct_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Brand_LM_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Brand_LM_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Brand_LM_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Brand_LM_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Bizum_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Bizum_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Bizum_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Bizum_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_BonificoBancario_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_BonificoBancario_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_BonificoBancario_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_BonificoBancario_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Fintecture_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Fintecture_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Fintecture_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Fintecture_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Multibanco_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Multibanco_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Multibanco_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Multibanco_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Way_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Way_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Way_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_MB--Way_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Bizum_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Bizum_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Bizum_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Bizum_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Fintecture_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Fintecture_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Fintecture_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Fintecture_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Way_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Way_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Way_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_MB--Way_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_Oney_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_PayPal_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_PayPal_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_PayPal_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Monochrome_PayPal_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x4x_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x4x_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x4x_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x4x_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--3x_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--4x_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--4x_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--4x_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney--4x_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_Oney_64px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_PayPal_24px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_PayPal_32px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_PayPal_48px.svg +1 -0
- package/assets/moz-icons/Logotypes_Payment_PayPal_64px.svg +1 -0
- package/assets/moz-icons/Media_API_24px.svg +1 -0
- package/assets/moz-icons/Media_API_32px.svg +1 -0
- package/assets/moz-icons/Media_API_48px.svg +1 -0
- package/assets/moz-icons/Media_API_64px.svg +1 -0
- package/assets/moz-icons/Media_BookStore_24px.svg +1 -0
- package/assets/moz-icons/Media_BookStore_32px.svg +1 -0
- package/assets/moz-icons/Media_BookStore_48px.svg +1 -0
- package/assets/moz-icons/Media_BookStore_64px.svg +1 -0
- package/assets/moz-icons/Media_Camera_24px.svg +1 -0
- package/assets/moz-icons/Media_Camera_32px.svg +1 -0
- package/assets/moz-icons/Media_Camera_48px.svg +1 -0
- package/assets/moz-icons/Media_Camera_64px.svg +1 -0
- package/assets/moz-icons/Media_Code_24px.svg +1 -0
- package/assets/moz-icons/Media_Code_32px.svg +1 -0
- package/assets/moz-icons/Media_Code_48px.svg +1 -0
- package/assets/moz-icons/Media_Code_64px.svg +1 -0
- package/assets/moz-icons/Media_Document_24px.svg +1 -0
- package/assets/moz-icons/Media_Document_32px.svg +1 -0
- package/assets/moz-icons/Media_Document_48px.svg +1 -0
- package/assets/moz-icons/Media_Document_64px.svg +1 -0
- package/assets/moz-icons/Media_Download_App_24px.svg +1 -0
- package/assets/moz-icons/Media_Download_App_32px.svg +1 -0
- package/assets/moz-icons/Media_Download_App_48px.svg +1 -0
- package/assets/moz-icons/Media_Download_App_64px.svg +1 -0
- package/assets/moz-icons/Media_Download_Web_24px.svg +1 -0
- package/assets/moz-icons/Media_Download_Web_32px.svg +1 -0
- package/assets/moz-icons/Media_Download_Web_48px.svg +1 -0
- package/assets/moz-icons/Media_Download_Web_64px.svg +1 -0
- package/assets/moz-icons/Media_FullScreen_16px.svg +1 -0
- package/assets/moz-icons/Media_FullScreen_24px.svg +1 -0
- package/assets/moz-icons/Media_FullScreen_32px.svg +1 -0
- package/assets/moz-icons/Media_FullScreen_48px.svg +1 -0
- package/assets/moz-icons/Media_FullScreen_64px.svg +1 -0
- package/assets/moz-icons/Media_Gauge_24px.svg +1 -0
- package/assets/moz-icons/Media_Gauge_32px.svg +1 -0
- package/assets/moz-icons/Media_Gauge_48px.svg +1 -0
- package/assets/moz-icons/Media_Gauge_64px.svg +1 -0
- package/assets/moz-icons/Media_Group_24px.svg +1 -0
- package/assets/moz-icons/Media_Group_32px.svg +1 -0
- package/assets/moz-icons/Media_Group_48px.svg +1 -0
- package/assets/moz-icons/Media_Group_64px.svg +1 -0
- package/assets/moz-icons/Media_Image-alt_24px.svg +1 -0
- package/assets/moz-icons/Media_Image-alt_32px.svg +1 -0
- package/assets/moz-icons/Media_Image-alt_48px.svg +1 -0
- package/assets/moz-icons/Media_Image-alt_64px.svg +1 -0
- package/assets/moz-icons/Media_NoPicture_24px.svg +1 -0
- package/assets/moz-icons/Media_NoPicture_32px.svg +1 -0
- package/assets/moz-icons/Media_NoPicture_48px.svg +1 -0
- package/assets/moz-icons/Media_NoPicture_64px.svg +1 -0
- package/assets/moz-icons/Media_Pdf_24px.svg +1 -0
- package/assets/moz-icons/Media_Pdf_32px.svg +1 -0
- package/assets/moz-icons/Media_Pdf_48px.svg +1 -0
- package/assets/moz-icons/Media_Pdf_64px.svg +1 -0
- package/assets/moz-icons/Media_Picker_24px.svg +1 -0
- package/assets/moz-icons/Media_Picker_32px.svg +1 -0
- package/assets/moz-icons/Media_Picker_48px.svg +1 -0
- package/assets/moz-icons/Media_Picker_64px.svg +1 -0
- package/assets/moz-icons/Media_Play_24px.svg +1 -0
- package/assets/moz-icons/Media_Play_32px.svg +1 -0
- package/assets/moz-icons/Media_Play_48px.svg +1 -0
- package/assets/moz-icons/Media_Play_64px.svg +1 -0
- package/assets/moz-icons/Media_Player_24px.svg +1 -0
- package/assets/moz-icons/Media_Player_32px.svg +1 -0
- package/assets/moz-icons/Media_Player_48px.svg +1 -0
- package/assets/moz-icons/Media_Player_64px.svg +1 -0
- package/assets/moz-icons/Media_Player_96px.svg +1 -0
- package/assets/moz-icons/Media_Policies_24px.svg +1 -0
- package/assets/moz-icons/Media_Policies_32px.svg +1 -0
- package/assets/moz-icons/Media_Policies_48px.svg +1 -0
- package/assets/moz-icons/Media_Policies_64px.svg +1 -0
- package/assets/moz-icons/Media_Print_24px.svg +1 -0
- package/assets/moz-icons/Media_Print_32px.svg +1 -0
- package/assets/moz-icons/Media_Print_48px.svg +1 -0
- package/assets/moz-icons/Media_Print_64px.svg +1 -0
- package/assets/moz-icons/Media_Project_24px.svg +1 -0
- package/assets/moz-icons/Media_Project_32px.svg +1 -0
- package/assets/moz-icons/Media_Project_48px.svg +1 -0
- package/assets/moz-icons/Media_Project_64px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin-off_24px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin-off_32px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin-off_48px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin-off_64px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin_32px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin_48px.svg +1 -0
- package/assets/moz-icons/Media_Push-pin_64px.svg +1 -0
- package/assets/moz-icons/Media_Read_24px.svg +1 -0
- package/assets/moz-icons/Media_Read_32px.svg +1 -0
- package/assets/moz-icons/Media_Read_48px.svg +1 -0
- package/assets/moz-icons/Media_Read_64px.svg +1 -0
- package/assets/moz-icons/Media_ReduceScreen_16px.svg +1 -0
- package/assets/moz-icons/Media_ReduceScreen_24px.svg +1 -0
- package/assets/moz-icons/Media_ReduceScreen_32px.svg +1 -0
- package/assets/moz-icons/Media_ReduceScreen_48px.svg +1 -0
- package/assets/moz-icons/Media_ReduceScreen_64px.svg +1 -0
- package/assets/moz-icons/Media_Release_24px.svg +1 -0
- package/assets/moz-icons/Media_Release_32px.svg +1 -0
- package/assets/moz-icons/Media_Release_48px.svg +1 -0
- package/assets/moz-icons/Media_Release_64px.svg +1 -0
- package/assets/moz-icons/Media_Server_24px.svg +1 -0
- package/assets/moz-icons/Media_Server_32px.svg +1 -0
- package/assets/moz-icons/Media_Server_48px.svg +1 -0
- package/assets/moz-icons/Media_Server_64px.svg +1 -0
- package/assets/moz-icons/Media_Slideshow_24px.svg +1 -0
- package/assets/moz-icons/Media_Slideshow_32px.svg +1 -0
- package/assets/moz-icons/Media_Slideshow_48px.svg +1 -0
- package/assets/moz-icons/Media_Slideshow_64px.svg +1 -0
- package/assets/moz-icons/Media_Sound_24px.svg +1 -0
- package/assets/moz-icons/Media_Sound_32px.svg +1 -0
- package/assets/moz-icons/Media_Sound_48px.svg +1 -0
- package/assets/moz-icons/Media_Sound_64px.svg +1 -0
- package/assets/moz-icons/Media_Stop_24px.svg +1 -0
- package/assets/moz-icons/Media_Stop_32px.svg +1 -0
- package/assets/moz-icons/Media_Stop_48px.svg +1 -0
- package/assets/moz-icons/Media_Stop_64px.svg +1 -0
- package/assets/moz-icons/Media_TimeRead_24px.svg +1 -0
- package/assets/moz-icons/Media_TimeRead_32px.svg +1 -0
- package/assets/moz-icons/Media_TimeRead_48px.svg +1 -0
- package/assets/moz-icons/Media_TimeRead_64px.svg +1 -0
- package/assets/moz-icons/Media_Upload_24px.svg +1 -0
- package/assets/moz-icons/Media_Upload_32px.svg +1 -0
- package/assets/moz-icons/Media_Upload_48px.svg +1 -0
- package/assets/moz-icons/Media_Upload_64px.svg +1 -0
- package/assets/moz-icons/Media_View360_24px.svg +1 -0
- package/assets/moz-icons/Media_View360_32px.svg +1 -0
- package/assets/moz-icons/Media_View360_48px.svg +1 -0
- package/assets/moz-icons/Media_View360_64px.svg +1 -0
- package/assets/moz-icons/Media_View360_96px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Bottom_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Bottom_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Bottom_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Bottom_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Bottom_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Left_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Left_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Left_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Left_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Left_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Right_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Right_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Right_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Right_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Right_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Top_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Top_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Top_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Top_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Arrow--Top_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomLeft_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomLeft_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomLeft_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomLeft_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomLeft_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomRight_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomRight_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomRight_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomRight_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowBottomRight_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopLeft_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopLeft_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopLeft_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopLeft_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopLeft_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopRight_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopRight_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopRight_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopRight_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_ArrowTopRight_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Back_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Back_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Back_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Back_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Back_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Left_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Left_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Left_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Left_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Left_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Right_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Right_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Right_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Right_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_DoubleArrow--Right_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Down_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Down_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Down_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Down_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Down_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Next_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Next_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Next_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Next_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Next_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Up_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Up_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Up_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Up_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Arrow_Up_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Cross_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Cross_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Cross_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Cross_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Less_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Less_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Less_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--Less_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--More_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--More_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--More_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Circle--More_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Cross_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Cross_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Cross_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Cross_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Cross_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Less_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Less_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Less_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Less_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Less_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_More_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_More_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_More_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_More_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_More_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Tag--Cross_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Tag--Cross_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Tag--Cross_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Tag--Cross_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Control_Tag--Cross_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Blink_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Blink_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Blink_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Blink_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Calendar_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Calendar_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Calendar_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Calendar_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Connect_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Connect_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Connect_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Connect_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Filled_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Filled_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Filled_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Filled_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Outline_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Outline_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Outline_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayFull_Outline_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Filled_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Filled_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Filled_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Filled_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Outline_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Outline_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Outline_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayList_Outline_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Horizontal_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Horizontal_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Horizontal_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Horizontal_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Vertical_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Vertical_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Vertical_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayMobile--Vertical_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Filled_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Filled_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Filled_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Filled_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Outline_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Outline_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Outline_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX4_Outline_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX9_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX9_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX9_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_DisplayProductX9_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ExternalLink_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ExternalLink_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ExternalLink_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ExternalLink_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ExternalLink_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Filter_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Filter_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Filter_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Filter_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Home_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Home_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Home_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Home_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_LogOut_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_LogOut_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_LogOut_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_LogOut_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Menu_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Menu_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Menu_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Menu_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_MovingBlock_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_MovingBlock_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_MovingBlock_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_MovingBlock_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Options_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Options_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Options_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Options_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Other_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Other_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Other_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Other_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ProductNumb_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ProductNumb_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ProductNumb_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ProductNumb_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Refresh_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Refresh_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Refresh_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Refresh_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ScreenRotation_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ScreenRotation_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ScreenRotation_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_ScreenRotation_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchList_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchList_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchList_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchList_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchProduct_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchProduct_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchProduct_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_SearchProduct_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Search_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Search_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Search_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Search_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Setting_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Setting_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Setting_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_Setting_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_View_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_View_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_View_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_View_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_VocalSearch_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_VocalSearch_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_VocalSearch_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Display_VocalSearch_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Available_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Available_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Available_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Available_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Available_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Bell_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Bell_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Bell_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Bell_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Circle--Available_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Circle--Available_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Circle--Available_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Circle--Available_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Information_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Information_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Information_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Information_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Question_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Question_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Question_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Question_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Warning_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Warning_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Warning_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Notification_Warning_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Copy_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Copy_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Copy_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Copy_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Edit_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Edit_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Edit_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Edit_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_FavoriteFull_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_FavoriteFull_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_FavoriteFull_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_FavoriteFull_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_FavoriteFull_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Favorite_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Favorite_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Favorite_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Favorite_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Favorite_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Lock_16px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Lock_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Lock_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Lock_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Lock_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Send_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Send_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Send_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Send_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Trashbin_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Trashbin_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Trashbin_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Publish_Trashbin_64px.svg +1 -0
- package/assets/moz-icons/Navigation_Split_24px.svg +1 -0
- package/assets/moz-icons/Navigation_Split_32px.svg +1 -0
- package/assets/moz-icons/Navigation_Split_48px.svg +1 -0
- package/assets/moz-icons/Navigation_Split_64px.svg +1 -0
- package/assets/moz-icons/Payment_Bill_24px.svg +1 -0
- package/assets/moz-icons/Payment_Bill_32px.svg +1 -0
- package/assets/moz-icons/Payment_Bill_48px.svg +1 -0
- package/assets/moz-icons/Payment_Bill_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_AmericanExpress_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_AmericanExpress_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_AmericanExpress_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_AmericanExpress_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_CB_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_CB_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_CB_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_CB_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Cheque_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Cheque_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Cheque_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Cheque_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Gift_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Gift_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Gift_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Gift_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Illicado_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Illicado_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Illicado_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Illicado_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Loyalty_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Loyalty_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Loyalty_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Loyalty_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Maestro_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Maestro_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Maestro_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Maestro_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Mastercard_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Mastercard_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Mastercard_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Mastercard_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX3_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX3_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX3_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX3_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX4_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX4_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX4_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_OneyX4_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Oney_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Oney_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Oney_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Oney_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paylib_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paylib_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paylib_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paylib_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paypal_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paypal_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paypal_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Paypal_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Visa_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Visa_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Visa_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Colors_Visa_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_AmericanExpress_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_AmericanExpress_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_AmericanExpress_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_AmericanExpress_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_CB_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_CB_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_CB_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_CB_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Cheque_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Cheque_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Cheque_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Cheque_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Gift_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Gift_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Gift_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Gift_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Illicado_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Illicado_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Illicado_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Illicado_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Loyalty_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Loyalty_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Loyalty_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Loyalty_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Maestro_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Maestro_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Maestro_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Maestro_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Mastercard_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Mastercard_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Mastercard_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Mastercard_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX3_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX3_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX3_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX3_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX4_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX4_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX4_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_OneyX4_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Oney_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Oney_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Oney_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Oney_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paylib_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paylib_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paylib_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paylib_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paypal_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paypal_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paypal_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Paypal_64px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Visa_24px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Visa_32px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Visa_48px.svg +1 -0
- package/assets/moz-icons/Payment_Cards_Monochrome_Visa_64px.svg +1 -0
- package/assets/moz-icons/Payment_DetailsOrder_24px.svg +1 -0
- package/assets/moz-icons/Payment_DetailsOrder_32px.svg +1 -0
- package/assets/moz-icons/Payment_DetailsOrder_48px.svg +1 -0
- package/assets/moz-icons/Payment_DetailsOrder_64px.svg +1 -0
- package/assets/moz-icons/Payment_Euro_16px.svg +1 -0
- package/assets/moz-icons/Payment_Euro_24px.svg +1 -0
- package/assets/moz-icons/Payment_Euro_32px.svg +1 -0
- package/assets/moz-icons/Payment_Euro_48px.svg +1 -0
- package/assets/moz-icons/Payment_Euro_64px.svg +1 -0
- package/assets/moz-icons/Payment_Receipt_24px.svg +1 -0
- package/assets/moz-icons/Payment_Receipt_32px.svg +1 -0
- package/assets/moz-icons/Payment_Receipt_48px.svg +1 -0
- package/assets/moz-icons/Payment_Receipt_64px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment1_24px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment1_32px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment1_48px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment1_64px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment2_24px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment2_32px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment2_48px.svg +1 -0
- package/assets/moz-icons/Payment_SafePayment2_64px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Quantity_24px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Quantity_32px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Quantity_48px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Quantity_64px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Size_24px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Size_32px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Size_48px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Size_64px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Weight_24px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Weight_32px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Weight_48px.svg +1 -0
- package/assets/moz-icons/Product_Aspect_Weight_64px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Add_24px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Add_32px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Add_48px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Add_64px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Handbag_24px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Handbag_32px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Handbag_48px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Handbag_64px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Multi_24px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Multi_32px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Multi_48px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Multi_64px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Save_24px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Save_32px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Save_48px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Save_64px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Standard_24px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Standard_32px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Standard_48px.svg +1 -0
- package/assets/moz-icons/Product_Basket_Standard_64px.svg +1 -0
- package/assets/moz-icons/Product_List_Add_24px.svg +1 -0
- package/assets/moz-icons/Product_List_Add_32px.svg +1 -0
- package/assets/moz-icons/Product_List_Add_48px.svg +1 -0
- package/assets/moz-icons/Product_List_Add_64px.svg +1 -0
- package/assets/moz-icons/Product_List_Standard_24px.svg +1 -0
- package/assets/moz-icons/Product_List_Standard_32px.svg +1 -0
- package/assets/moz-icons/Product_List_Standard_48px.svg +1 -0
- package/assets/moz-icons/Product_List_Standard_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Certification_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Certification_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Certification_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Certification_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_CircularEconomy_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_CircularEconomy_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_CircularEconomy_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_CircularEconomy_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Destocking_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Destocking_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Destocking_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Destocking_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_EcoProduct_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_EcoProduct_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_EcoProduct_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_EcoProduct_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_FashionChoice_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_FashionChoice_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_FashionChoice_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_FashionChoice_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Funding_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Funding_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Funding_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Funding_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInEurope_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInEurope_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInEurope_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInEurope_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInFrance_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInFrance_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInFrance_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_MadeInFrance_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Modular_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Modular_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Modular_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Modular_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductOnPicture_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductOnPicture_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductOnPicture_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductOnPicture_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductSheet_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductSheet_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductSheet_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_ProductSheet_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Scan_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Scan_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Scan_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Scan_64px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Warranty_24px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Warranty_32px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Warranty_48px.svg +1 -0
- package/assets/moz-icons/Product_Promise_Warranty_64px.svg +1 -0
- package/assets/moz-icons/Project_DescribeProject_24px.svg +1 -0
- package/assets/moz-icons/Project_DescribeProject_32px.svg +1 -0
- package/assets/moz-icons/Project_DescribeProject_48px.svg +1 -0
- package/assets/moz-icons/Project_DescribeProject_64px.svg +1 -0
- package/assets/moz-icons/Project_Inspiration_24px.svg +1 -0
- package/assets/moz-icons/Project_Inspiration_32px.svg +1 -0
- package/assets/moz-icons/Project_Inspiration_48px.svg +1 -0
- package/assets/moz-icons/Project_Inspiration_64px.svg +1 -0
- package/assets/moz-icons/Project_MakeProject_24px.svg +1 -0
- package/assets/moz-icons/Project_MakeProject_32px.svg +1 -0
- package/assets/moz-icons/Project_MakeProject_48px.svg +1 -0
- package/assets/moz-icons/Project_MakeProject_64px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_AfterSalesService_24px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_AfterSalesService_32px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_AfterSalesService_48px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_AfterSalesService_64px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Helpline_24px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Helpline_32px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Helpline_48px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Helpline_64px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Payback_24px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Payback_32px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Payback_48px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Payback_64px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Satisfaction_24px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Satisfaction_32px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Satisfaction_48px.svg +1 -0
- package/assets/moz-icons/Service_AfterSales_Satisfaction_64px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CopyKey_24px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CopyKey_32px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CopyKey_48px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CopyKey_64px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Course_24px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Course_32px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Course_48px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Course_64px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CutWoodGlass_24px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CutWoodGlass_32px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CutWoodGlass_48px.svg +1 -0
- package/assets/moz-icons/Service_Custom_CutWoodGlass_64px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sample_24px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sample_32px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sample_48px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sample_64px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sharpening_24px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sharpening_32px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sharpening_48px.svg +1 -0
- package/assets/moz-icons/Service_Custom_Sharpening_64px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Home_24px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Home_32px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Home_48px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Home_64px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Locker_24px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Locker_32px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Locker_48px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery--Locker_64px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_24px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_32px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_48px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_64px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--Store_24px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--Store_32px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--Store_48px.svg +1 -0
- package/assets/moz-icons/Service_Delivery_Delivery_Pickup--Store_64px.svg +1 -0
- package/assets/moz-icons/Service_Pallet_24px.svg +1 -0
- package/assets/moz-icons/Service_Pallet_32px.svg +1 -0
- package/assets/moz-icons/Service_Pallet_48px.svg +1 -0
- package/assets/moz-icons/Service_Pallet_64px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_CarRent_24px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_CarRent_32px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_CarRent_48px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_CarRent_64px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeDIY_24px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeDIY_32px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeDIY_48px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeDIY_64px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeInstall_24px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeInstall_32px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeInstall_48px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_HomeInstall_64px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_ToolRent_24px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_ToolRent_32px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_ToolRent_48px.svg +1 -0
- package/assets/moz-icons/Service_PurchaseHelp_ToolRent_64px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--2h_24px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--2h_32px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--2h_48px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--2h_64px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--3h_24px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--3h_32px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--3h_48px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--3h_64px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--48h_24px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--48h_32px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--48h_48px.svg +1 -0
- package/assets/moz-icons/Service_Time_Delivery--48h_64px.svg +1 -0
- package/assets/moz-icons/Service_Time_TimeDecline_24px.svg +1 -0
- package/assets/moz-icons/Service_Time_TimeDecline_32px.svg +1 -0
- package/assets/moz-icons/Service_Time_TimeDecline_48px.svg +1 -0
- package/assets/moz-icons/Service_Time_TimeDecline_64px.svg +1 -0
- package/assets/moz-icons/Service_Tools_3d_24px.svg +1 -0
- package/assets/moz-icons/Service_Tools_3d_32px.svg +1 -0
- package/assets/moz-icons/Service_Tools_3d_48px.svg +1 -0
- package/assets/moz-icons/Service_Tools_3d_64px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Calculator_24px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Calculator_32px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Calculator_48px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Calculator_64px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Comparator_24px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Comparator_32px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Comparator_48px.svg +1 -0
- package/assets/moz-icons/Service_Tools_Comparator_64px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Comment_24px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Comment_32px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Comment_48px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Comment_64px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Community_24px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Community_32px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Community_48px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Community_64px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Question--Article_24px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Question--Article_32px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Question--Article_48px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Question--Article_64px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Report_24px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Report_32px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Report_48px.svg +1 -0
- package/assets/moz-icons/Social_Comment_Report_64px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareAndroid_24px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareAndroid_32px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareAndroid_48px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareAndroid_64px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareIOS_24px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareIOS_32px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareIOS_48px.svg +1 -0
- package/assets/moz-icons/Social_Share_ShareIOS_64px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Facebook_24px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Facebook_32px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Facebook_48px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Facebook_64px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Instagram_24px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Instagram_32px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Instagram_48px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Instagram_64px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Linkedin_24px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Linkedin_32px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Linkedin_48px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Linkedin_64px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Pinterest_24px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Pinterest_32px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Pinterest_48px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Pinterest_64px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Twitter_24px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Twitter_32px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Twitter_48px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Twitter_64px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Youtube_24px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Youtube_32px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Youtube_48px.svg +1 -0
- package/assets/moz-icons/Social_SocialNetwork_Youtube_64px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Negative_16px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Negative_24px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Negative_32px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Negative_48px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Negative_64px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Positive_16px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Positive_24px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Positive_32px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Positive_48px.svg +1 -0
- package/assets/moz-icons/Social_View_Like--Positive_64px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Empty_16px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Empty_24px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Empty_32px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Empty_48px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Empty_64px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Full_16px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Full_24px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Full_32px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Full_48px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Full_64px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Half_16px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Half_24px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Half_32px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Half_48px.svg +1 -0
- package/assets/moz-icons/Social_View_Star--Half_64px.svg +1 -0
- package/assets/moz-icons/Social_View_TesterView_24px.svg +1 -0
- package/assets/moz-icons/Social_View_TesterView_32px.svg +1 -0
- package/assets/moz-icons/Social_View_TesterView_48px.svg +1 -0
- package/assets/moz-icons/Social_View_TesterView_64px.svg +1 -0
- package/assets/moz-icons/Store_Colors_RelayLocation_24px.svg +1 -0
- package/assets/moz-icons/Store_Colors_RelayLocation_32px.svg +1 -0
- package/assets/moz-icons/Store_Colors_RelayLocation_48px.svg +1 -0
- package/assets/moz-icons/Store_Colors_RelayLocation_64px.svg +1 -0
- package/assets/moz-icons/Store_Colors_StoreLocation_24px.svg +1 -0
- package/assets/moz-icons/Store_Colors_StoreLocation_32px.svg +1 -0
- package/assets/moz-icons/Store_Colors_StoreLocation_48px.svg +1 -0
- package/assets/moz-icons/Store_Colors_StoreLocation_64px.svg +1 -0
- package/assets/moz-icons/Store_Itinerary_24px.svg +1 -0
- package/assets/moz-icons/Store_Itinerary_32px.svg +1 -0
- package/assets/moz-icons/Store_Itinerary_48px.svg +1 -0
- package/assets/moz-icons/Store_Itinerary_64px.svg +1 -0
- package/assets/moz-icons/Store_Locator_16px.svg +1 -0
- package/assets/moz-icons/Store_Locator_24px.svg +1 -0
- package/assets/moz-icons/Store_Locator_32px.svg +1 -0
- package/assets/moz-icons/Store_Locator_48px.svg +1 -0
- package/assets/moz-icons/Store_Locator_64px.svg +1 -0
- package/assets/moz-icons/Store_Logo_24px.svg +1 -0
- package/assets/moz-icons/Store_Logo_32px.svg +1 -0
- package/assets/moz-icons/Store_Logo_48px.svg +1 -0
- package/assets/moz-icons/Store_Logo_64px.svg +1 -0
- package/assets/moz-icons/Store_Map_24px.svg +1 -0
- package/assets/moz-icons/Store_Map_32px.svg +1 -0
- package/assets/moz-icons/Store_Map_48px.svg +1 -0
- package/assets/moz-icons/Store_Map_64px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_RelayLocation_24px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_RelayLocation_32px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_RelayLocation_48px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_RelayLocation_64px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_StoreLocation_24px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_StoreLocation_32px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_StoreLocation_48px.svg +1 -0
- package/assets/moz-icons/Store_Monochrome_StoreLocation_64px.svg +1 -0
- package/assets/moz-icons/Store_StoreBM_24px.svg +1 -0
- package/assets/moz-icons/Store_StoreBM_32px.svg +1 -0
- package/assets/moz-icons/Store_StoreBM_48px.svg +1 -0
- package/assets/moz-icons/Store_StoreBM_64px.svg +1 -0
- package/assets/moz-icons/Store_StoreLM_24px.svg +1 -0
- package/assets/moz-icons/Store_StoreLM_32px.svg +1 -0
- package/assets/moz-icons/Store_StoreLM_48px.svg +1 -0
- package/assets/moz-icons/Store_StoreLM_64px.svg +1 -0
- package/assets/moz-icons/Universe_Attic_24px.svg +1 -0
- package/assets/moz-icons/Universe_Attic_32px.svg +1 -0
- package/assets/moz-icons/Universe_Attic_48px.svg +1 -0
- package/assets/moz-icons/Universe_Attic_64px.svg +1 -0
- package/assets/moz-icons/Universe_Bathroom_24px.svg +1 -0
- package/assets/moz-icons/Universe_Bathroom_32px.svg +1 -0
- package/assets/moz-icons/Universe_Bathroom_48px.svg +1 -0
- package/assets/moz-icons/Universe_Bathroom_64px.svg +1 -0
- package/assets/moz-icons/Universe_Bedroom_24px.svg +1 -0
- package/assets/moz-icons/Universe_Bedroom_32px.svg +1 -0
- package/assets/moz-icons/Universe_Bedroom_48px.svg +1 -0
- package/assets/moz-icons/Universe_Bedroom_64px.svg +1 -0
- package/assets/moz-icons/Universe_Carpentry_24px.svg +1 -0
- package/assets/moz-icons/Universe_Carpentry_32px.svg +1 -0
- package/assets/moz-icons/Universe_Carpentry_48px.svg +1 -0
- package/assets/moz-icons/Universe_Carpentry_64px.svg +1 -0
- package/assets/moz-icons/Universe_ChristmasTree_24px.svg +1 -0
- package/assets/moz-icons/Universe_ChristmasTree_32px.svg +1 -0
- package/assets/moz-icons/Universe_ChristmasTree_48px.svg +1 -0
- package/assets/moz-icons/Universe_ChristmasTree_64px.svg +1 -0
- package/assets/moz-icons/Universe_ConnectedHome_24px.svg +1 -0
- package/assets/moz-icons/Universe_ConnectedHome_32px.svg +1 -0
- package/assets/moz-icons/Universe_ConnectedHome_48px.svg +1 -0
- package/assets/moz-icons/Universe_ConnectedHome_64px.svg +1 -0
- package/assets/moz-icons/Universe_Curtains_24px.svg +1 -0
- package/assets/moz-icons/Universe_Curtains_32px.svg +1 -0
- package/assets/moz-icons/Universe_Curtains_48px.svg +1 -0
- package/assets/moz-icons/Universe_Curtains_64px.svg +1 -0
- package/assets/moz-icons/Universe_Dressing_24px.svg +1 -0
- package/assets/moz-icons/Universe_Dressing_32px.svg +1 -0
- package/assets/moz-icons/Universe_Dressing_48px.svg +1 -0
- package/assets/moz-icons/Universe_Dressing_64px.svg +1 -0
- package/assets/moz-icons/Universe_Drill-alt_24px.svg +1 -0
- package/assets/moz-icons/Universe_Drill-alt_32px.svg +1 -0
- package/assets/moz-icons/Universe_Drill-alt_48px.svg +1 -0
- package/assets/moz-icons/Universe_Drill-alt_64px.svg +1 -0
- package/assets/moz-icons/Universe_Electricity_24px.svg +1 -0
- package/assets/moz-icons/Universe_Electricity_32px.svg +1 -0
- package/assets/moz-icons/Universe_Electricity_48px.svg +1 -0
- package/assets/moz-icons/Universe_Electricity_64px.svg +1 -0
- package/assets/moz-icons/Universe_Enki_24px.svg +1 -0
- package/assets/moz-icons/Universe_Enki_32px.svg +1 -0
- package/assets/moz-icons/Universe_Enki_48px.svg +1 -0
- package/assets/moz-icons/Universe_Enki_64px.svg +1 -0
- package/assets/moz-icons/Universe_Floor_24px.svg +1 -0
- package/assets/moz-icons/Universe_Floor_32px.svg +1 -0
- package/assets/moz-icons/Universe_Floor_48px.svg +1 -0
- package/assets/moz-icons/Universe_Floor_64px.svg +1 -0
- package/assets/moz-icons/Universe_Garage_24px.svg +1 -0
- package/assets/moz-icons/Universe_Garage_32px.svg +1 -0
- package/assets/moz-icons/Universe_Garage_48px.svg +1 -0
- package/assets/moz-icons/Universe_Garage_64px.svg +1 -0
- package/assets/moz-icons/Universe_Garden1_24px.svg +1 -0
- package/assets/moz-icons/Universe_Garden1_32px.svg +1 -0
- package/assets/moz-icons/Universe_Garden1_48px.svg +1 -0
- package/assets/moz-icons/Universe_Garden1_64px.svg +1 -0
- package/assets/moz-icons/Universe_Garden2_24px.svg +1 -0
- package/assets/moz-icons/Universe_Garden2_32px.svg +1 -0
- package/assets/moz-icons/Universe_Garden2_48px.svg +1 -0
- package/assets/moz-icons/Universe_Garden2_64px.svg +1 -0
- package/assets/moz-icons/Universe_Garden_24px.svg +1 -0
- package/assets/moz-icons/Universe_Garden_32px.svg +1 -0
- package/assets/moz-icons/Universe_Garden_48px.svg +1 -0
- package/assets/moz-icons/Universe_Garden_64px.svg +1 -0
- package/assets/moz-icons/Universe_Glass_24px.svg +1 -0
- package/assets/moz-icons/Universe_Glass_32px.svg +1 -0
- package/assets/moz-icons/Universe_Glass_48px.svg +1 -0
- package/assets/moz-icons/Universe_Glass_64px.svg +1 -0
- package/assets/moz-icons/Universe_Hard-hat-alt_24px.svg +1 -0
- package/assets/moz-icons/Universe_Hard-hat-alt_32px.svg +1 -0
- package/assets/moz-icons/Universe_Hard-hat-alt_48px.svg +1 -0
- package/assets/moz-icons/Universe_Hard-hat-alt_64px.svg +1 -0
- package/assets/moz-icons/Universe_HardwareStore_24px.svg +1 -0
- package/assets/moz-icons/Universe_HardwareStore_32px.svg +1 -0
- package/assets/moz-icons/Universe_HardwareStore_48px.svg +1 -0
- package/assets/moz-icons/Universe_HardwareStore_64px.svg +1 -0
- package/assets/moz-icons/Universe_Heater_24px.svg +1 -0
- package/assets/moz-icons/Universe_Heater_32px.svg +1 -0
- package/assets/moz-icons/Universe_Heater_48px.svg +1 -0
- package/assets/moz-icons/Universe_Heater_64px.svg +1 -0
- package/assets/moz-icons/Universe_Insulation-alt_24px.svg +1 -0
- package/assets/moz-icons/Universe_Insulation-alt_32px.svg +1 -0
- package/assets/moz-icons/Universe_Insulation-alt_48px.svg +1 -0
- package/assets/moz-icons/Universe_Insulation-alt_64px.svg +1 -0
- package/assets/moz-icons/Universe_Kids_24px.svg +1 -0
- package/assets/moz-icons/Universe_Kids_32px.svg +1 -0
- package/assets/moz-icons/Universe_Kids_48px.svg +1 -0
- package/assets/moz-icons/Universe_Kids_64px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen-alt_24px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen-alt_32px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen-alt_48px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen-alt_64px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen2_24px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen2_32px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen2_48px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen2_64px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen_24px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen_32px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen_48px.svg +1 -0
- package/assets/moz-icons/Universe_Kitchen_64px.svg +1 -0
- package/assets/moz-icons/Universe_Leak_24px.svg +1 -0
- package/assets/moz-icons/Universe_Leak_32px.svg +1 -0
- package/assets/moz-icons/Universe_Leak_48px.svg +1 -0
- package/assets/moz-icons/Universe_Leak_64px.svg +1 -0
- package/assets/moz-icons/Universe_Lighting_24px.svg +1 -0
- package/assets/moz-icons/Universe_Lighting_32px.svg +1 -0
- package/assets/moz-icons/Universe_Lighting_48px.svg +1 -0
- package/assets/moz-icons/Universe_Lighting_64px.svg +1 -0
- package/assets/moz-icons/Universe_Living_24px.svg +1 -0
- package/assets/moz-icons/Universe_Living_32px.svg +1 -0
- package/assets/moz-icons/Universe_Living_48px.svg +1 -0
- package/assets/moz-icons/Universe_Living_64px.svg +1 -0
- package/assets/moz-icons/Universe_MakeIt_24px.svg +1 -0
- package/assets/moz-icons/Universe_MakeIt_32px.svg +1 -0
- package/assets/moz-icons/Universe_MakeIt_48px.svg +1 -0
- package/assets/moz-icons/Universe_MakeIt_64px.svg +1 -0
- package/assets/moz-icons/Universe_Masonry-alt_24px.svg +1 -0
- package/assets/moz-icons/Universe_Masonry-alt_32px.svg +1 -0
- package/assets/moz-icons/Universe_Masonry-alt_48px.svg +1 -0
- package/assets/moz-icons/Universe_Masonry-alt_64px.svg +1 -0
- package/assets/moz-icons/Universe_Paint_24px.svg +1 -0
- package/assets/moz-icons/Universe_Paint_32px.svg +1 -0
- package/assets/moz-icons/Universe_Paint_48px.svg +1 -0
- package/assets/moz-icons/Universe_Paint_64px.svg +1 -0
- package/assets/moz-icons/Universe_Pool_24px.svg +1 -0
- package/assets/moz-icons/Universe_Pool_32px.svg +1 -0
- package/assets/moz-icons/Universe_Pool_48px.svg +1 -0
- package/assets/moz-icons/Universe_Pool_64px.svg +1 -0
- package/assets/moz-icons/Universe_Security_24px.svg +1 -0
- package/assets/moz-icons/Universe_Security_32px.svg +1 -0
- package/assets/moz-icons/Universe_Security_48px.svg +1 -0
- package/assets/moz-icons/Universe_Security_64px.svg +1 -0
- package/assets/moz-icons/Universe_Stairs_24px.svg +1 -0
- package/assets/moz-icons/Universe_Stairs_32px.svg +1 -0
- package/assets/moz-icons/Universe_Stairs_48px.svg +1 -0
- package/assets/moz-icons/Universe_Stairs_64px.svg +1 -0
- package/assets/moz-icons/Universe_Terrace_24px.svg +1 -0
- package/assets/moz-icons/Universe_Terrace_32px.svg +1 -0
- package/assets/moz-icons/Universe_Terrace_48px.svg +1 -0
- package/assets/moz-icons/Universe_Terrace_64px.svg +1 -0
- package/assets/moz-icons/Universe_Tool_24px.svg +1 -0
- package/assets/moz-icons/Universe_Tool_32px.svg +1 -0
- package/assets/moz-icons/Universe_Tool_48px.svg +1 -0
- package/assets/moz-icons/Universe_Tool_64px.svg +1 -0
- package/assets/moz-icons/Universe_Wallpaper_24px.svg +1 -0
- package/assets/moz-icons/Universe_Wallpaper_32px.svg +1 -0
- package/assets/moz-icons/Universe_Wallpaper_48px.svg +1 -0
- package/assets/moz-icons/Universe_Wallpaper_64px.svg +1 -0
- package/assets/moz-icons/Universe_WoodSaw_24px.svg +1 -0
- package/assets/moz-icons/Universe_WoodSaw_32px.svg +1 -0
- package/assets/moz-icons/Universe_WoodSaw_48px.svg +1 -0
- package/assets/moz-icons/Universe_WoodSaw_64px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Collaborator_24px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Collaborator_32px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Collaborator_48px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Collaborator_64px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Passion_24px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Passion_32px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Passion_48px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Passion_64px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Pro_24px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Pro_32px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Pro_48px.svg +1 -0
- package/assets/moz-icons/User_Account_Customer--Pro_64px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Man_24px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Man_32px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Man_48px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Man_64px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--View_24px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--View_32px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--View_48px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--View_64px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Woman_24px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Woman_32px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Woman_48px.svg +1 -0
- package/assets/moz-icons/User_Account_Profile--Woman_64px.svg +1 -0
- package/assets/moz-icons/User_Card_Funding_24px.svg +1 -0
- package/assets/moz-icons/User_Card_Funding_32px.svg +1 -0
- package/assets/moz-icons/User_Card_Funding_48px.svg +1 -0
- package/assets/moz-icons/User_Card_Funding_64px.svg +1 -0
- package/assets/moz-icons/User_Card_Gift_24px.svg +1 -0
- package/assets/moz-icons/User_Card_Gift_32px.svg +1 -0
- package/assets/moz-icons/User_Card_Gift_48px.svg +1 -0
- package/assets/moz-icons/User_Card_Gift_64px.svg +1 -0
- package/assets/moz-icons/User_Card_IDCard_24px.svg +1 -0
- package/assets/moz-icons/User_Card_IDCard_32px.svg +1 -0
- package/assets/moz-icons/User_Card_IDCard_48px.svg +1 -0
- package/assets/moz-icons/User_Card_IDCard_64px.svg +1 -0
- package/assets/moz-icons/User_Card_LoyaltyCard_24px.svg +1 -0
- package/assets/moz-icons/User_Card_LoyaltyCard_32px.svg +1 -0
- package/assets/moz-icons/User_Card_LoyaltyCard_48px.svg +1 -0
- package/assets/moz-icons/User_Card_LoyaltyCard_64px.svg +1 -0
- package/assets/moz-icons/User_Contact_Mail_24px.svg +1 -0
- package/assets/moz-icons/User_Contact_Mail_32px.svg +1 -0
- package/assets/moz-icons/User_Contact_Mail_48px.svg +1 -0
- package/assets/moz-icons/User_Contact_Mail_64px.svg +1 -0
- package/assets/moz-icons/User_Contact_Phone_24px.svg +1 -0
- package/assets/moz-icons/User_Contact_Phone_32px.svg +1 -0
- package/assets/moz-icons/User_Contact_Phone_48px.svg +1 -0
- package/assets/moz-icons/User_Contact_Phone_64px.svg +1 -0
- package/assets/moz-icons/User_Contact_Website_24px.svg +1 -0
- package/assets/moz-icons/User_Contact_Website_32px.svg +1 -0
- package/assets/moz-icons/User_Contact_Website_48px.svg +1 -0
- package/assets/moz-icons/User_Contact_Website_64px.svg +1 -0
- package/assets/moz-icons/User_Situation_Owner_24px.svg +1 -0
- package/assets/moz-icons/User_Situation_Owner_32px.svg +1 -0
- package/assets/moz-icons/User_Situation_Owner_48px.svg +1 -0
- package/assets/moz-icons/User_Situation_Owner_64px.svg +1 -0
- package/assets/moz-icons/User_Situation_Tenant_24px.svg +1 -0
- package/assets/moz-icons/User_Situation_Tenant_32px.svg +1 -0
- package/assets/moz-icons/User_Situation_Tenant_48px.svg +1 -0
- package/assets/moz-icons/User_Situation_Tenant_64px.svg +1 -0
- package/assets/moz-icons/Various_A11y_24px.svg +1 -0
- package/assets/moz-icons/Various_A11y_32px.svg +1 -0
- package/assets/moz-icons/Various_A11y_48px.svg +1 -0
- package/assets/moz-icons/Various_A11y_64px.svg +1 -0
- package/assets/moz-icons/Various_Administration_24px.svg +1 -0
- package/assets/moz-icons/Various_Administration_32px.svg +1 -0
- package/assets/moz-icons/Various_Administration_48px.svg +1 -0
- package/assets/moz-icons/Various_Administration_64px.svg +1 -0
- package/assets/moz-icons/Various_Apartment_24px.svg +1 -0
- package/assets/moz-icons/Various_Apartment_32px.svg +1 -0
- package/assets/moz-icons/Various_Apartment_48px.svg +1 -0
- package/assets/moz-icons/Various_Apartment_64px.svg +1 -0
- package/assets/moz-icons/Various_Balcony_24px.svg +1 -0
- package/assets/moz-icons/Various_Balcony_32px.svg +1 -0
- package/assets/moz-icons/Various_Balcony_48px.svg +1 -0
- package/assets/moz-icons/Various_Balcony_64px.svg +1 -0
- package/assets/moz-icons/Various_Blower_24px.svg +1 -0
- package/assets/moz-icons/Various_Blower_32px.svg +1 -0
- package/assets/moz-icons/Various_Blower_48px.svg +1 -0
- package/assets/moz-icons/Various_Blower_64px.svg +1 -0
- package/assets/moz-icons/Various_Company_24px.svg +1 -0
- package/assets/moz-icons/Various_Company_32px.svg +1 -0
- package/assets/moz-icons/Various_Company_48px.svg +1 -0
- package/assets/moz-icons/Various_Company_64px.svg +1 -0
- package/assets/moz-icons/Various_Door_24px.svg +1 -0
- package/assets/moz-icons/Various_Door_32px.svg +1 -0
- package/assets/moz-icons/Various_Door_48px.svg +1 -0
- package/assets/moz-icons/Various_Door_64px.svg +1 -0
- package/assets/moz-icons/Various_EcoSaving_24px.svg +1 -0
- package/assets/moz-icons/Various_EcoSaving_32px.svg +1 -0
- package/assets/moz-icons/Various_EcoSaving_48px.svg +1 -0
- package/assets/moz-icons/Various_EcoSaving_64px.svg +1 -0
- package/assets/moz-icons/Various_Heat_24px.svg +1 -0
- package/assets/moz-icons/Various_Heat_32px.svg +1 -0
- package/assets/moz-icons/Various_Heat_48px.svg +1 -0
- package/assets/moz-icons/Various_Heat_64px.svg +1 -0
- package/assets/moz-icons/Various_House_24px.svg +1 -0
- package/assets/moz-icons/Various_House_32px.svg +1 -0
- package/assets/moz-icons/Various_House_48px.svg +1 -0
- package/assets/moz-icons/Various_House_64px.svg +1 -0
- package/assets/moz-icons/Various_IncreaseValue_24px.svg +1 -0
- package/assets/moz-icons/Various_IncreaseValue_32px.svg +1 -0
- package/assets/moz-icons/Various_IncreaseValue_48px.svg +1 -0
- package/assets/moz-icons/Various_IncreaseValue_64px.svg +1 -0
- package/assets/moz-icons/Various_Insulation_24px.svg +1 -0
- package/assets/moz-icons/Various_Insulation_32px.svg +1 -0
- package/assets/moz-icons/Various_Insulation_48px.svg +1 -0
- package/assets/moz-icons/Various_Insulation_64px.svg +1 -0
- package/assets/moz-icons/Various_LessonDIY_24px.svg +1 -0
- package/assets/moz-icons/Various_LessonDIY_32px.svg +1 -0
- package/assets/moz-icons/Various_LessonDIY_48px.svg +1 -0
- package/assets/moz-icons/Various_LessonDIY_64px.svg +1 -0
- package/assets/moz-icons/Various_Level_24px.svg +1 -0
- package/assets/moz-icons/Various_Level_32px.svg +1 -0
- package/assets/moz-icons/Various_Level_48px.svg +1 -0
- package/assets/moz-icons/Various_Level_64px.svg +1 -0
- package/assets/moz-icons/Various_PaintCan_24px.svg +1 -0
- package/assets/moz-icons/Various_PaintCan_32px.svg +1 -0
- package/assets/moz-icons/Various_PaintCan_48px.svg +1 -0
- package/assets/moz-icons/Various_PaintCan_64px.svg +1 -0
- package/assets/moz-icons/Various_PartnerCompany_24px.svg +1 -0
- package/assets/moz-icons/Various_PartnerCompany_32px.svg +1 -0
- package/assets/moz-icons/Various_PartnerCompany_48px.svg +1 -0
- package/assets/moz-icons/Various_PartnerCompany_64px.svg +1 -0
- package/assets/moz-icons/Various_PartnerWorker_24px.svg +1 -0
- package/assets/moz-icons/Various_PartnerWorker_32px.svg +1 -0
- package/assets/moz-icons/Various_PartnerWorker_48px.svg +1 -0
- package/assets/moz-icons/Various_PartnerWorker_64px.svg +1 -0
- package/assets/moz-icons/Various_Pipe_24px.svg +1 -0
- package/assets/moz-icons/Various_Pipe_32px.svg +1 -0
- package/assets/moz-icons/Various_Pipe_48px.svg +1 -0
- package/assets/moz-icons/Various_Pipe_64px.svg +1 -0
- package/assets/moz-icons/Various_Premium_24px.svg +1 -0
- package/assets/moz-icons/Various_Premium_32px.svg +1 -0
- package/assets/moz-icons/Various_Premium_48px.svg +1 -0
- package/assets/moz-icons/Various_Premium_64px.svg +1 -0
- package/assets/moz-icons/Various_Shutter_24px.svg +1 -0
- package/assets/moz-icons/Various_Shutter_32px.svg +1 -0
- package/assets/moz-icons/Various_Shutter_48px.svg +1 -0
- package/assets/moz-icons/Various_Shutter_64px.svg +1 -0
- package/assets/moz-icons/Various_Survey_24px.svg +1 -0
- package/assets/moz-icons/Various_Survey_32px.svg +1 -0
- package/assets/moz-icons/Various_Survey_48px.svg +1 -0
- package/assets/moz-icons/Various_Survey_64px.svg +1 -0
- package/assets/moz-icons/Various_Temperature_24px.svg +1 -0
- package/assets/moz-icons/Various_Temperature_32px.svg +1 -0
- package/assets/moz-icons/Various_Temperature_48px.svg +1 -0
- package/assets/moz-icons/Various_Temperature_64px.svg +1 -0
- package/assets/moz-icons/Various_ThermalControl_24px.svg +1 -0
- package/assets/moz-icons/Various_ThermalControl_32px.svg +1 -0
- package/assets/moz-icons/Various_ThermalControl_48px.svg +1 -0
- package/assets/moz-icons/Various_ThermalControl_64px.svg +1 -0
- package/assets/moz-icons/Various_ToolBox_24px.svg +1 -0
- package/assets/moz-icons/Various_ToolBox_32px.svg +1 -0
- package/assets/moz-icons/Various_ToolBox_48px.svg +1 -0
- package/assets/moz-icons/Various_ToolBox_64px.svg +1 -0
- package/common/global-events/global-events.module.d.ts +6 -0
- package/common/global-events/global-events.service.d.ts +11 -0
- package/common/utils/boolean-property.d.ts +1 -0
- package/common/utils/generate-id.d.ts +1 -0
- package/common/utils/get-random-number.d.ts +1 -0
- package/common/utils/overwrite-style.d.ts +2 -0
- package/components/badge/badge.component.d.ts +8 -0
- package/components/badge/badge.d.ts +3 -0
- package/components/badge/badge.module.d.ts +8 -0
- package/components/button/button.component.d.ts +16 -0
- package/components/button/button.d.ts +7 -0
- package/components/button/button.module.d.ts +8 -0
- package/components/checkbox/checkbox.component.d.ts +21 -0
- package/components/checkbox/checkbox.module.d.ts +8 -0
- package/components/dialog/classes/dialog-config.d.ts +9 -0
- package/components/dialog/classes/dialog-injector.d.ts +10 -0
- package/components/dialog/classes/dialog-ref.d.ts +25 -0
- package/components/dialog/dialog-animation.d.ts +1 -0
- package/components/dialog/dialog.component.d.ts +23 -0
- package/components/dialog/dialog.module.d.ts +8 -0
- package/components/dialog/dialog.service.d.ts +20 -0
- package/components/dialog/interfaces/dialog-config.d.ts +7 -0
- package/components/dialog/interfaces/dialog-di-params.d.ts +6 -0
- package/components/dialog/interfaces/dialog-ref.d.ts +18 -0
- package/components/dialog/tokens/dialog-config.token.d.ts +2 -0
- package/components/dialog/tokens/dialog-data.token.d.ts +2 -0
- package/components/dialog/tokens/dialog-ref.token.d.ts +2 -0
- package/components/field/directives/input-icon.directive.d.ts +7 -0
- package/components/field/field-error.component.d.ts +5 -0
- package/components/field/field.component.d.ts +16 -0
- package/components/field/field.module.d.ts +10 -0
- package/components/icon/icon-size.d.ts +6 -0
- package/components/icon/icon.component.d.ts +15 -0
- package/components/icon/icon.module.d.ts +8 -0
- package/components/icon/icon.service.d.ts +13 -0
- package/components/layer/classes/layer-injector.d.ts +10 -0
- package/components/layer/classes/layer-ref.d.ts +21 -0
- package/components/layer/interfaces/layer-config.d.ts +4 -0
- package/components/layer/interfaces/layer-di-params.d.ts +6 -0
- package/components/layer/interfaces/layer-ref.d.ts +15 -0
- package/components/layer/layer-animation.d.ts +1 -0
- package/components/layer/layer.component.d.ts +19 -0
- package/components/layer/layer.module.d.ts +9 -0
- package/components/layer/layer.service.d.ts +19 -0
- package/components/layer/tokens/layer-config.token.d.ts +2 -0
- package/components/layer/tokens/layer-data.token.d.ts +2 -0
- package/components/layer/tokens/layer-ref.token.d.ts +2 -0
- package/components/loader/loader.component.d.ts +25 -0
- package/components/loader/loader.d.ts +16 -0
- package/components/loader/loader.module.d.ts +8 -0
- package/components/loader/loader.service.d.ts +18 -0
- package/components/notification/notification-animation.d.ts +1 -0
- package/components/notification/notification-container.component.d.ts +12 -0
- package/components/notification/notification-footer.d.ts +5 -0
- package/components/notification/notification-message.d.ts +5 -0
- package/components/notification/notification-title.d.ts +5 -0
- package/components/notification/notification.component.d.ts +9 -0
- package/components/notification/notification.d.ts +15 -0
- package/components/notification/notification.module.d.ts +15 -0
- package/components/notification/notification.service.d.ts +16 -0
- package/components/pagination/pagination.component.d.ts +46 -0
- package/components/pagination/pagination.d.ts +7 -0
- package/components/pagination/pagination.module.d.ts +13 -0
- package/components/progress-bar/progress-bar.component.d.ts +15 -0
- package/components/progress-bar/progress-bar.module.d.ts +8 -0
- package/components/select/select-size.d.ts +5 -0
- package/components/select/select.component.d.ts +8 -0
- package/components/select/select.module.d.ts +8 -0
- package/components/stepper/step.component.d.ts +20 -0
- package/components/stepper/stepper.component.d.ts +20 -0
- package/components/stepper/stepper.module.d.ts +10 -0
- package/components/tabs/tab-selectors.d.ts +2 -0
- package/components/tabs/tab.component.d.ts +16 -0
- package/components/tabs/tabs.component.d.ts +36 -0
- package/components/tabs/tabs.module.d.ts +9 -0
- package/components/tag/tag.component.d.ts +23 -0
- package/components/tag/tag.module.d.ts +9 -0
- package/components/text-area/text-area.component.d.ts +12 -0
- package/components/text-area/text-area.module.d.ts +7 -0
- package/components/text-input/text-input.component.d.ts +21 -0
- package/components/text-input/text-input.module.d.ts +10 -0
- package/components/toggle/toggle.component.d.ts +22 -0
- package/components/toggle/toggle.module.d.ts +8 -0
- package/components/tooltip/tooltip.component.d.ts +11 -0
- package/components/tooltip/tooltip.module.d.ts +8 -0
- package/esm2020/common/global-events/global-events.module.mjs +15 -0
- package/esm2020/common/global-events/global-events.service.mjs +30 -0
- package/esm2020/common/global-events/public-api.mjs +3 -0
- package/esm2020/common/index.mjs +3 -0
- package/esm2020/common/utils/boolean-property.mjs +4 -0
- package/esm2020/common/utils/generate-id.mjs +7 -0
- package/esm2020/common/utils/get-random-number.mjs +6 -0
- package/esm2020/common/utils/index.mjs +5 -0
- package/esm2020/common/utils/overwrite-style.mjs +5 -0
- package/esm2020/common/utils/public-api.mjs +2 -0
- package/esm2020/components/badge/badge.component.mjs +30 -0
- package/esm2020/components/badge/badge.mjs +2 -0
- package/esm2020/components/badge/badge.module.mjs +18 -0
- package/esm2020/components/badge/index.mjs +3 -0
- package/esm2020/components/button/button.component.mjs +53 -0
- package/esm2020/components/button/button.mjs +2 -0
- package/esm2020/components/button/button.module.mjs +18 -0
- package/esm2020/components/button/index.mjs +3 -0
- package/esm2020/components/checkbox/checkbox.component.mjs +58 -0
- package/esm2020/components/checkbox/checkbox.module.mjs +21 -0
- package/esm2020/components/checkbox/public-api.mjs +3 -0
- package/esm2020/components/dialog/classes/dialog-config.mjs +9 -0
- package/esm2020/components/dialog/classes/dialog-injector.mjs +22 -0
- package/esm2020/components/dialog/classes/dialog-ref.mjs +49 -0
- package/esm2020/components/dialog/classes/index.mjs +4 -0
- package/esm2020/components/dialog/dialog-animation.mjs +18 -0
- package/esm2020/components/dialog/dialog.component.mjs +57 -0
- package/esm2020/components/dialog/dialog.module.mjs +20 -0
- package/esm2020/components/dialog/dialog.service.mjs +67 -0
- package/esm2020/components/dialog/interfaces/dialog-config.mjs +2 -0
- package/esm2020/components/dialog/interfaces/dialog-di-params.mjs +2 -0
- package/esm2020/components/dialog/interfaces/dialog-ref.mjs +2 -0
- package/esm2020/components/dialog/interfaces/index.mjs +4 -0
- package/esm2020/components/dialog/public-api.mjs +6 -0
- package/esm2020/components/dialog/tokens/dialog-config.token.mjs +3 -0
- package/esm2020/components/dialog/tokens/dialog-data.token.mjs +3 -0
- package/esm2020/components/dialog/tokens/dialog-ref.token.mjs +3 -0
- package/esm2020/components/dialog/tokens/index.mjs +4 -0
- package/esm2020/components/field/directives/input-icon.directive.mjs +15 -0
- package/esm2020/components/field/field-error.component.mjs +13 -0
- package/esm2020/components/field/field.component.mjs +40 -0
- package/esm2020/components/field/field.module.mjs +20 -0
- package/esm2020/components/field/public-api.mjs +5 -0
- package/esm2020/components/icon/icon-size.mjs +8 -0
- package/esm2020/components/icon/icon.component.mjs +49 -0
- package/esm2020/components/icon/icon.module.mjs +18 -0
- package/esm2020/components/icon/icon.service.mjs +42 -0
- package/esm2020/components/icon/public-api.mjs +4 -0
- package/esm2020/components/layer/classes/layer-injector.mjs +22 -0
- package/esm2020/components/layer/classes/layer-ref.mjs +38 -0
- package/esm2020/components/layer/interfaces/index.mjs +4 -0
- package/esm2020/components/layer/interfaces/layer-config.mjs +2 -0
- package/esm2020/components/layer/interfaces/layer-di-params.mjs +2 -0
- package/esm2020/components/layer/interfaces/layer-ref.mjs +2 -0
- package/esm2020/components/layer/layer-animation.mjs +18 -0
- package/esm2020/components/layer/layer.component.mjs +40 -0
- package/esm2020/components/layer/layer.module.mjs +21 -0
- package/esm2020/components/layer/layer.service.mjs +56 -0
- package/esm2020/components/layer/public-api.mjs +6 -0
- package/esm2020/components/layer/tokens/index.mjs +4 -0
- package/esm2020/components/layer/tokens/layer-config.token.mjs +3 -0
- package/esm2020/components/layer/tokens/layer-data.token.mjs +3 -0
- package/esm2020/components/layer/tokens/layer-ref.token.mjs +3 -0
- package/esm2020/components/loader/loader.component.mjs +47 -0
- package/esm2020/components/loader/loader.mjs +11 -0
- package/esm2020/components/loader/loader.module.mjs +20 -0
- package/esm2020/components/loader/loader.service.mjs +53 -0
- package/esm2020/components/loader/public-api.mjs +4 -0
- package/esm2020/components/notification/notification-animation.mjs +21 -0
- package/esm2020/components/notification/notification-container.component.mjs +38 -0
- package/esm2020/components/notification/notification-footer.mjs +11 -0
- package/esm2020/components/notification/notification-message.mjs +11 -0
- package/esm2020/components/notification/notification-title.mjs +11 -0
- package/esm2020/components/notification/notification.component.mjs +29 -0
- package/esm2020/components/notification/notification.mjs +8 -0
- package/esm2020/components/notification/notification.module.mjs +66 -0
- package/esm2020/components/notification/notification.service.mjs +40 -0
- package/esm2020/components/notification/public-api.mjs +9 -0
- package/esm2020/components/pagination/pagination.component.mjs +134 -0
- package/esm2020/components/pagination/pagination.mjs +4 -0
- package/esm2020/components/pagination/pagination.module.mjs +23 -0
- package/esm2020/components/pagination/public-api.mjs +3 -0
- package/esm2020/components/progress-bar/progress-bar-size.mjs +2 -0
- package/esm2020/components/progress-bar/progress-bar-theme.mjs +2 -0
- package/esm2020/components/progress-bar/progress-bar.component.mjs +38 -0
- package/esm2020/components/progress-bar/progress-bar.module.mjs +18 -0
- package/esm2020/components/progress-bar/public-api.mjs +3 -0
- package/esm2020/components/public-api.mjs +20 -0
- package/esm2020/components/select/public-api.mjs +3 -0
- package/esm2020/components/select/select-size.mjs +6 -0
- package/esm2020/components/select/select.component.mjs +25 -0
- package/esm2020/components/select/select.module.mjs +18 -0
- package/esm2020/components/stepper/public-api.mjs +4 -0
- package/esm2020/components/stepper/step-state.mjs +2 -0
- package/esm2020/components/stepper/step.component.mjs +51 -0
- package/esm2020/components/stepper/stepper.component.mjs +79 -0
- package/esm2020/components/stepper/stepper.module.mjs +20 -0
- package/esm2020/components/tabs/public-api.mjs +4 -0
- package/esm2020/components/tabs/tab-selectors.mjs +3 -0
- package/esm2020/components/tabs/tab.component.mjs +53 -0
- package/esm2020/components/tabs/tabs.component.mjs +126 -0
- package/esm2020/components/tabs/tabs.module.mjs +19 -0
- package/esm2020/components/tag/public-api.mjs +3 -0
- package/esm2020/components/tag/tag-type.mjs +2 -0
- package/esm2020/components/tag/tag.component.mjs +61 -0
- package/esm2020/components/tag/tag.module.mjs +19 -0
- package/esm2020/components/text-area/public-api.mjs +3 -0
- package/esm2020/components/text-area/text-area.component.mjs +43 -0
- package/esm2020/components/text-area/text-area.module.mjs +16 -0
- package/esm2020/components/text-input/public-api.mjs +3 -0
- package/esm2020/components/text-input/text-input.component.mjs +64 -0
- package/esm2020/components/text-input/text-input.mjs +2 -0
- package/esm2020/components/text-input/text-input.module.mjs +20 -0
- package/esm2020/components/toggle/public-api.mjs +3 -0
- package/esm2020/components/toggle/toggle-size.mjs +2 -0
- package/esm2020/components/toggle/toggle.component.mjs +59 -0
- package/esm2020/components/toggle/toggle.module.mjs +18 -0
- package/esm2020/components/tooltip/public-api.mjs +3 -0
- package/esm2020/components/tooltip/tooltip-position.mjs +2 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +32 -0
- package/esm2020/components/tooltip/tooltip.module.mjs +18 -0
- package/esm2020/mozaic-ds-angular.mjs +5 -0
- package/esm2020/public-api.mjs +3 -0
- package/fesm2015/mozaic-ds-angular.mjs +2053 -0
- package/fesm2015/mozaic-ds-angular.mjs.map +1 -0
- package/fesm2020/mozaic-ds-angular.mjs +2026 -0
- package/fesm2020/mozaic-ds-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +26 -102
- package/.editorconfig +0 -16
- package/.eslintignore +0 -8
- package/.eslintrc.json +0 -70
- package/.github/ISSUE_TEMPLATE/1-pattern-addition-proposal.md +0 -23
- package/.github/ISSUE_TEMPLATE/2-pattern-bug-report.md +0 -68
- package/.github/ISSUE_TEMPLATE/3-pattern-enhancement-proposal.md +0 -34
- package/.github/ISSUE_TEMPLATE/4-other.md +0 -36
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -19
- package/.github/workflows/onPR.yml +0 -93
- package/.github/workflows/onPRClosed.yml +0 -17
- package/.github/workflows/onPushMaster.yml +0 -59
- package/.husky/pre-commit +0 -4
- package/.lintstagedrc +0 -8
- package/.nvmrc +0 -1
- package/.prettierignore +0 -3
- package/.prettierrc +0 -7
- package/.release-it.json +0 -21
- package/.storybook/main.js +0 -19
- package/.storybook/preview.js +0 -27
- package/.storybook/tsconfig.json +0 -13
- package/.storybook/typings.d.ts +0 -4
- package/.storybook/webpack.config.js +0 -21
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -19
- package/LICENSE +0 -22
- package/angular.json +0 -113
- package/mozaic-angular.svg +0 -9
- package/mozaic.config.js +0 -6
- package/product-info.json +0 -1
- package/projects/kit/.browserslistrc +0 -16
- package/projects/kit/.eslintrc.json +0 -35
- package/projects/kit/README.md +0 -0
- package/projects/kit/assets/tokens/adeo/android/colors.xml +0 -482
- package/projects/kit/assets/tokens/adeo/android/font_dimens.xml +0 -18
- package/projects/kit/assets/tokens/adeo/css/_variables.scss +0 -626
- package/projects/kit/assets/tokens/adeo/css/root.scss +0 -478
- package/projects/kit/assets/tokens/adeo/ios/StyleDictionaryColor.h +0 -490
- package/projects/kit/assets/tokens/adeo/ios/StyleDictionaryColor.m +0 -502
- package/projects/kit/assets/tokens/adeo/ios/StyleDictionaryColor.swift +0 -485
- package/projects/kit/assets/tokens/adeo/ios/StyleDictionarySize.h +0 -69
- package/projects/kit/assets/tokens/adeo/ios/StyleDictionarySize.m +0 -70
- package/projects/kit/assets/tokens/adeo/ios/StyleDictionarySize.swift +0 -71
- package/projects/kit/assets/tokens/adeo/js/tokens.js +0 -574
- package/projects/kit/assets/tokens/adeo/js/tokensObject.js +0 -9637
- package/projects/kit/assets/tokens/adeo/scss/_tokens.scss +0 -1617
- package/projects/kit/common/global-events/global-events.module.ts +0 -7
- package/projects/kit/common/global-events/global-events.service.ts +0 -27
- package/projects/kit/common/utils/boolean-property.ts +0 -3
- package/projects/kit/common/utils/generate-id.ts +0 -7
- package/projects/kit/common/utils/get-random-number.ts +0 -6
- package/projects/kit/common/utils/overwrite-style.ts +0 -10
- package/projects/kit/components/accordion/accordion.component.html +0 -25
- package/projects/kit/components/accordion/accordion.component.scss +0 -2
- package/projects/kit/components/accordion/accordion.component.spec.ts +0 -24
- package/projects/kit/components/accordion/accordion.component.ts +0 -27
- package/projects/kit/components/accordion/accordion.module.ts +0 -11
- package/projects/kit/components/accordion/accordion.stories.ts +0 -55
- package/projects/kit/components/accordion/accordion.ts +0 -1
- package/projects/kit/components/accordion/index.ts +0 -1
- package/projects/kit/components/badge/badge.component.html +0 -1
- package/projects/kit/components/badge/badge.component.scss +0 -2
- package/projects/kit/components/badge/badge.component.spec.ts +0 -24
- package/projects/kit/components/badge/badge.component.ts +0 -29
- package/projects/kit/components/badge/badge.module.ts +0 -10
- package/projects/kit/components/badge/badge.stories.ts +0 -32
- package/projects/kit/components/badge/badge.ts +0 -3
- package/projects/kit/components/button/button.component.html +0 -2
- package/projects/kit/components/button/button.component.scss +0 -23
- package/projects/kit/components/button/button.component.spec.ts +0 -24
- package/projects/kit/components/button/button.component.ts +0 -58
- package/projects/kit/components/button/button.module.ts +0 -10
- package/projects/kit/components/button/button.stories.ts +0 -72
- package/projects/kit/components/button/button.ts +0 -8
- package/projects/kit/components/checkbox/checkbox.component.html +0 -13
- package/projects/kit/components/checkbox/checkbox.component.scss +0 -3
- package/projects/kit/components/checkbox/checkbox.component.spec.ts +0 -24
- package/projects/kit/components/checkbox/checkbox.component.ts +0 -73
- package/projects/kit/components/checkbox/checkbox.module.ts +0 -13
- package/projects/kit/components/checkbox/checkbox.stories.ts +0 -47
- package/projects/kit/components/dialog/classes/dialog-config.ts +0 -13
- package/projects/kit/components/dialog/classes/dialog-injector.ts +0 -34
- package/projects/kit/components/dialog/classes/dialog-ref.ts +0 -66
- package/projects/kit/components/dialog/dialog-animation.ts +0 -24
- package/projects/kit/components/dialog/dialog.component.html +0 -27
- package/projects/kit/components/dialog/dialog.component.scss +0 -3
- package/projects/kit/components/dialog/dialog.component.spec.ts +0 -24
- package/projects/kit/components/dialog/dialog.component.ts +0 -75
- package/projects/kit/components/dialog/dialog.module.ts +0 -12
- package/projects/kit/components/dialog/dialog.service.spec.ts +0 -15
- package/projects/kit/components/dialog/dialog.service.ts +0 -88
- package/projects/kit/components/dialog/dialog.stories.ts +0 -23
- package/projects/kit/components/dialog/examples/dialog-example/dialog-container-example.component.html +0 -3
- package/projects/kit/components/dialog/examples/dialog-example/dialog-container-example.component.ts +0 -18
- package/projects/kit/components/dialog/examples/dialog-example/dialog-example.component.html +0 -10
- package/projects/kit/components/dialog/examples/dialog-example/dialog-example.component.scss +0 -7
- package/projects/kit/components/dialog/examples/dialog-example/dialog-example.component.ts +0 -28
- package/projects/kit/components/dialog/examples/dialog-example/dialog-example.module.ts +0 -19
- package/projects/kit/components/dialog/examples/dialog-example/dialog-nested-example.component.html +0 -6
- package/projects/kit/components/dialog/examples/dialog-example/dialog-nested-example.component.scss +0 -11
- package/projects/kit/components/dialog/examples/dialog-example/dialog-nested-example.component.ts +0 -16
- package/projects/kit/components/dialog/index.ts +0 -1
- package/projects/kit/components/dialog/interfaces/dialog-config.ts +0 -7
- package/projects/kit/components/dialog/interfaces/dialog-di-params.ts +0 -7
- package/projects/kit/components/dialog/interfaces/dialog-ref.ts +0 -20
- package/projects/kit/components/dialog/tokens/dialog-config.token.ts +0 -3
- package/projects/kit/components/dialog/tokens/dialog-data.token.ts +0 -3
- package/projects/kit/components/dialog/tokens/dialog-ref.token.ts +0 -3
- package/projects/kit/components/field/directives/input-icon.directive.ts +0 -9
- package/projects/kit/components/field/field-error.component.html +0 -1
- package/projects/kit/components/field/field-error.component.scss +0 -3
- package/projects/kit/components/field/field-error.component.ts +0 -12
- package/projects/kit/components/field/field.component.html +0 -30
- package/projects/kit/components/field/field.component.scss +0 -30
- package/projects/kit/components/field/field.component.ts +0 -49
- package/projects/kit/components/field/field.module.ts +0 -12
- package/projects/kit/components/field/field.stories.ts +0 -48
- package/projects/kit/components/flag/flag.component.html +0 -1
- package/projects/kit/components/flag/flag.component.scss +0 -2
- package/projects/kit/components/flag/flag.component.spec.ts +0 -47
- package/projects/kit/components/flag/flag.component.ts +0 -26
- package/projects/kit/components/flag/flag.module.ts +0 -10
- package/projects/kit/components/flag/flag.stories.ts +0 -33
- package/projects/kit/components/flag/flag.ts +0 -24
- package/projects/kit/components/flag/index.ts +0 -1
- package/projects/kit/components/icon/icon-size.ts +0 -6
- package/projects/kit/components/icon/icon.component.html +0 -0
- package/projects/kit/components/icon/icon.component.scss +0 -20
- package/projects/kit/components/icon/icon.component.spec.ts +0 -24
- package/projects/kit/components/icon/icon.component.ts +0 -59
- package/projects/kit/components/icon/icon.module.ts +0 -10
- package/projects/kit/components/icon/icon.service.ts +0 -42
- package/projects/kit/components/icon/icon.stories.ts +0 -24
- package/projects/kit/components/layer/classes/index.ts +0 -0
- package/projects/kit/components/layer/classes/layer-injector.ts +0 -35
- package/projects/kit/components/layer/classes/layer-ref.ts +0 -54
- package/projects/kit/components/layer/interfaces/layer-config.ts +0 -4
- package/projects/kit/components/layer/interfaces/layer-di-params.ts +0 -7
- package/projects/kit/components/layer/interfaces/layer-ref.ts +0 -17
- package/projects/kit/components/layer/layer-animation.ts +0 -24
- package/projects/kit/components/layer/layer-example.component.ts +0 -43
- package/projects/kit/components/layer/layer.component.html +0 -21
- package/projects/kit/components/layer/layer.component.scss +0 -3
- package/projects/kit/components/layer/layer.component.ts +0 -55
- package/projects/kit/components/layer/layer.module.ts +0 -13
- package/projects/kit/components/layer/layer.service.ts +0 -73
- package/projects/kit/components/layer/layer.stories.ts +0 -29
- package/projects/kit/components/layer/tokens/layer-config.token.ts +0 -3
- package/projects/kit/components/layer/tokens/layer-data.token.ts +0 -3
- package/projects/kit/components/layer/tokens/layer-ref.token.ts +0 -3
- package/projects/kit/components/loader/loader-run-example.component.ts +0 -20
- package/projects/kit/components/loader/loader.component.html +0 -15
- package/projects/kit/components/loader/loader.component.scss +0 -7
- package/projects/kit/components/loader/loader.component.ts +0 -57
- package/projects/kit/components/loader/loader.module.ts +0 -12
- package/projects/kit/components/loader/loader.service.ts +0 -61
- package/projects/kit/components/loader/loader.stories.ts +0 -51
- package/projects/kit/components/loader/loader.ts +0 -20
- package/projects/kit/components/notification/notification-animation.ts +0 -24
- package/projects/kit/components/notification/notification-container.component.html +0 -6
- package/projects/kit/components/notification/notification-container.component.scss +0 -10
- package/projects/kit/components/notification/notification-container.component.ts +0 -35
- package/projects/kit/components/notification/notification-example.component.ts +0 -17
- package/projects/kit/components/notification/notification-footer.ts +0 -11
- package/projects/kit/components/notification/notification-message.ts +0 -11
- package/projects/kit/components/notification/notification-title.ts +0 -11
- package/projects/kit/components/notification/notification.component.html +0 -5
- package/projects/kit/components/notification/notification.component.scss +0 -2
- package/projects/kit/components/notification/notification.component.ts +0 -30
- package/projects/kit/components/notification/notification.module.ts +0 -48
- package/projects/kit/components/notification/notification.service.ts +0 -50
- package/projects/kit/components/notification/notification.stories.ts +0 -52
- package/projects/kit/components/notification/notification.ts +0 -21
- package/projects/kit/components/pagination/pagination.component.html +0 -37
- package/projects/kit/components/pagination/pagination.component.scss +0 -7
- package/projects/kit/components/pagination/pagination.component.ts +0 -196
- package/projects/kit/components/pagination/pagination.module.ts +0 -15
- package/projects/kit/components/pagination/pagination.stories.ts +0 -28
- package/projects/kit/components/pagination/pagination.ts +0 -7
- package/projects/kit/components/progress-bar/progress-bar.component.html +0 -9
- package/projects/kit/components/progress-bar/progress-bar.component.scss +0 -2
- package/projects/kit/components/progress-bar/progress-bar.component.ts +0 -38
- package/projects/kit/components/progress-bar/progress-bar.module.ts +0 -10
- package/projects/kit/components/progress-bar/progress-bar.stories.ts +0 -39
- package/projects/kit/components/select/select-size.ts +0 -6
- package/projects/kit/components/select/select.component.html +0 -1
- package/projects/kit/components/select/select.component.scss +0 -3
- package/projects/kit/components/select/select.component.ts +0 -27
- package/projects/kit/components/select/select.module.ts +0 -10
- package/projects/kit/components/select/select.stories.ts +0 -39
- package/projects/kit/components/stepper/step.component.html +0 -14
- package/projects/kit/components/stepper/step.component.ts +0 -61
- package/projects/kit/components/stepper/stepper.component.html +0 -3
- package/projects/kit/components/stepper/stepper.component.scss +0 -3
- package/projects/kit/components/stepper/stepper.component.ts +0 -95
- package/projects/kit/components/stepper/stepper.module.ts +0 -12
- package/projects/kit/components/stepper/stepper.stories.ts +0 -33
- package/projects/kit/components/tabs/index.ts +0 -1
- package/projects/kit/components/tabs/tab-selectors.ts +0 -2
- package/projects/kit/components/tabs/tab.component.html +0 -1
- package/projects/kit/components/tabs/tab.component.scss +0 -16
- package/projects/kit/components/tabs/tab.component.spec.ts +0 -27
- package/projects/kit/components/tabs/tab.component.ts +0 -56
- package/projects/kit/components/tabs/tabs.component.html +0 -1
- package/projects/kit/components/tabs/tabs.component.scss +0 -9
- package/projects/kit/components/tabs/tabs.component.spec.ts +0 -24
- package/projects/kit/components/tabs/tabs.component.ts +0 -194
- package/projects/kit/components/tabs/tabs.module.ts +0 -11
- package/projects/kit/components/tabs/tabs.stories.ts +0 -40
- package/projects/kit/components/tag/tag.component.html +0 -29
- package/projects/kit/components/tag/tag.component.scss +0 -3
- package/projects/kit/components/tag/tag.component.ts +0 -71
- package/projects/kit/components/tag/tag.module.ts +0 -11
- package/projects/kit/components/tag/text-area.stories.ts +0 -49
- package/projects/kit/components/text-area/text-area.component.scss +0 -3
- package/projects/kit/components/text-area/text-area.component.ts +0 -47
- package/projects/kit/components/text-area/text-area.module.ts +0 -8
- package/projects/kit/components/text-area/text-area.stories.ts +0 -33
- package/projects/kit/components/text-input/public-api.ts +0 -2
- package/projects/kit/components/text-input/text-input.component.scss +0 -15
- package/projects/kit/components/text-input/text-input.component.spec.ts +0 -24
- package/projects/kit/components/text-input/text-input.component.ts +0 -74
- package/projects/kit/components/text-input/text-input.module.ts +0 -12
- package/projects/kit/components/text-input/text-input.stories.ts +0 -80
- package/projects/kit/components/toggle/toggle.component.html +0 -13
- package/projects/kit/components/toggle/toggle.component.scss +0 -2
- package/projects/kit/components/toggle/toggle.component.ts +0 -76
- package/projects/kit/components/toggle/toggle.module.ts +0 -10
- package/projects/kit/components/toggle/toggle.stories.ts +0 -35
- package/projects/kit/components/tooltip/tooltip.component.html +0 -2
- package/projects/kit/components/tooltip/tooltip.component.scss +0 -2
- package/projects/kit/components/tooltip/tooltip.component.ts +0 -32
- package/projects/kit/components/tooltip/tooltip.module.ts +0 -10
- package/projects/kit/components/tooltip/tooltip.stories.ts +0 -39
- package/projects/kit/karma.conf.js +0 -41
- package/projects/kit/ng-package-adeo.json +0 -21
- package/projects/kit/ng-package.json +0 -23
- package/projects/kit/package.json +0 -11
- package/projects/kit/tsconfig.lib.json +0 -12
- package/projects/kit/tsconfig.lib.prod.json +0 -10
- package/projects/kit/tsconfig.spec.json +0 -10
- package/projects/schematics/.eslintrc.json +0 -35
- package/projects/schematics/README.md +0 -17
- package/projects/schematics/collection.json +0 -10
- package/projects/schematics/kit-component/files/__name@dasherize__.stories.ts.template +0 -21
- package/projects/schematics/kit-component/files/index.ts.template +0 -1
- package/projects/schematics/kit-component/index.ts +0 -82
- package/projects/schematics/kit-component/schema.json +0 -26
- package/projects/schematics/kit-component/schema.ts +0 -10
- package/projects/schematics/ng-package.json +0 -7
- package/projects/schematics/package.json +0 -20
- package/projects/schematics/public-api.ts +0 -1
- package/projects/schematics/tsconfig.lib.json +0 -23
- package/projects/schematics/tsconfig.lib.prod.json +0 -10
- package/tsconfig.json +0 -33
- /package/{projects/kit/assets → assets}/special-icons/checkbox-checked-disabled.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/checkbox-checked.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/checkbox-indeterminate-disabled.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/checkbox-indeterminate.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/invalid-cross.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/layer-cross.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-danger-m.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-danger-s.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-information-m.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-information-s.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-success-m.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-success-s.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-warning-m.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/notification-warning-s.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/remove-tag.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/toggle-checked-disabled.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/toggle-checked.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/toggle-cross-disabled.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/toggle-cross.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/tooltip-triangle.svg +0 -0
- /package/{projects/kit/assets → assets}/special-icons/valid-check-mark.svg +0 -0
- /package/{projects/kit/common/global-events/public-api.ts → common/global-events/public-api.d.ts} +0 -0
- /package/{projects/kit/common/index.ts → common/index.d.ts} +0 -0
- /package/{projects/kit/common/utils/index.ts → common/utils/index.d.ts} +0 -0
- /package/{projects/kit/common/utils/public-api.ts → common/utils/public-api.d.ts} +0 -0
- /package/{projects/kit/components/badge/index.ts → components/badge/index.d.ts} +0 -0
- /package/{projects/kit/components/button/index.ts → components/button/index.d.ts} +0 -0
- /package/{projects/kit/components/checkbox/public-api.ts → components/checkbox/public-api.d.ts} +0 -0
- /package/{projects/kit/components/dialog/classes/index.ts → components/dialog/classes/index.d.ts} +0 -0
- /package/{projects/kit/components/dialog/interfaces/index.ts → components/dialog/interfaces/index.d.ts} +0 -0
- /package/{projects/kit/components/dialog/public-api.ts → components/dialog/public-api.d.ts} +0 -0
- /package/{projects/kit/components/dialog/tokens/index.ts → components/dialog/tokens/index.d.ts} +0 -0
- /package/{projects/kit/components/field/public-api.ts → components/field/public-api.d.ts} +0 -0
- /package/{projects/kit/components/icon/public-api.ts → components/icon/public-api.d.ts} +0 -0
- /package/{projects/kit/components/layer/interfaces/index.ts → components/layer/interfaces/index.d.ts} +0 -0
- /package/{projects/kit/components/layer/public-api.ts → components/layer/public-api.d.ts} +0 -0
- /package/{projects/kit/components/layer/tokens/index.ts → components/layer/tokens/index.d.ts} +0 -0
- /package/{projects/kit/components/loader/public-api.ts → components/loader/public-api.d.ts} +0 -0
- /package/{projects/kit/components/notification/public-api.ts → components/notification/public-api.d.ts} +0 -0
- /package/{projects/kit/components/pagination/public-api.ts → components/pagination/public-api.d.ts} +0 -0
- /package/{projects/kit/components/progress-bar/progress-bar-size.ts → components/progress-bar/progress-bar-size.d.ts} +0 -0
- /package/{projects/kit/components/progress-bar/progress-bar-theme.ts → components/progress-bar/progress-bar-theme.d.ts} +0 -0
- /package/{projects/kit/components/progress-bar/public-api.ts → components/progress-bar/public-api.d.ts} +0 -0
- /package/{projects/kit/components/public-api.ts → components/public-api.d.ts} +0 -0
- /package/{projects/kit/components/select/public-api.ts → components/select/public-api.d.ts} +0 -0
- /package/{projects/kit/components/stepper/public-api.ts → components/stepper/public-api.d.ts} +0 -0
- /package/{projects/kit/components/stepper/step-state.ts → components/stepper/step-state.d.ts} +0 -0
- /package/{projects/kit/components/tabs/public-api.ts → components/tabs/public-api.d.ts} +0 -0
- /package/{projects/kit/components/tag/public-api.ts → components/tag/public-api.d.ts} +0 -0
- /package/{projects/kit/components/tag/tag-type.ts → components/tag/tag-type.d.ts} +0 -0
- /package/{projects/kit/components/text-area/public-api.ts → components/text-area/public-api.d.ts} +0 -0
- /package/{projects/kit/components/text-input/index.ts → components/text-input/public-api.d.ts} +0 -0
- /package/{projects/kit/components/text-input/text-input.ts → components/text-input/text-input.d.ts} +0 -0
- /package/{projects/kit/components/toggle/public-api.ts → components/toggle/public-api.d.ts} +0 -0
- /package/{projects/kit/components/toggle/toggle-size.ts → components/toggle/toggle-size.d.ts} +0 -0
- /package/{projects/kit/components/tooltip/public-api.ts → components/tooltip/public-api.d.ts} +0 -0
- /package/{projects/kit/components/tooltip/tooltip-position.ts → components/tooltip/tooltip-position.d.ts} +0 -0
- /package/{projects/kit/public-api.ts → public-api.d.ts} +0 -0
|
@@ -0,0 +1,2026 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, Input, NgModule, Injectable, forwardRef, InjectionToken, ViewContainerRef, Inject, ViewChild, Directive, ContentChildren, Host, ElementRef, Optional, EventEmitter, Output } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
5
|
+
import * as i3 from '@angular/forms';
|
|
6
|
+
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
7
|
+
import { fromEvent, shareReplay, BehaviorSubject, Subject, startWith, map, of, tap, catchError, throwError, finalize, first, debounceTime, filter, switchMap, takeUntil, merge, combineLatest, delay as delay$1 } from 'rxjs';
|
|
8
|
+
import { trigger, transition, group, query, style, animate } from '@angular/animations';
|
|
9
|
+
import { delay } from 'rxjs/operators';
|
|
10
|
+
import * as i1$1 from '@angular/common/http';
|
|
11
|
+
import * as i1$2 from '@angular/router';
|
|
12
|
+
import { RouterLinkActive, RouterLinkWithHref, NavigationEnd } from '@angular/router';
|
|
13
|
+
|
|
14
|
+
function castBooleanProperty(value) {
|
|
15
|
+
return `${value}` !== 'false' && value != null;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const generateId = () => {
|
|
19
|
+
const generateParts = () => Math.floor((1 + Math.random()) * 0x10000)
|
|
20
|
+
.toString(16)
|
|
21
|
+
.substring(1);
|
|
22
|
+
return generateParts() + '-' + generateParts();
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const getRandomNumber = (min, max) => {
|
|
26
|
+
const minN = Math.ceil(min);
|
|
27
|
+
const maxN = Math.floor(max);
|
|
28
|
+
return Math.floor(Math.random() * (maxN - minN)) + minN;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const overwriteStyle = ({ nativeElement }, oldClassName, newClassName) => {
|
|
32
|
+
nativeElement.classList.remove(oldClassName);
|
|
33
|
+
nativeElement.classList.add(newClassName);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const BADGE_TYPE = ['information', 'success', 'warning', 'danger', 'neutral'];
|
|
37
|
+
|
|
38
|
+
class BadgeComponent {
|
|
39
|
+
constructor() {
|
|
40
|
+
this.badgeClasses = `mc-badge mc-badge--information`;
|
|
41
|
+
}
|
|
42
|
+
set type(type) {
|
|
43
|
+
if (!this.validateType(type))
|
|
44
|
+
return;
|
|
45
|
+
this.badgeClasses = `mc-badge mc-badge--${type}`;
|
|
46
|
+
}
|
|
47
|
+
validateType(type) {
|
|
48
|
+
if (typeof type !== 'string')
|
|
49
|
+
return false;
|
|
50
|
+
return BADGE_TYPE.includes(type);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: BadgeComponent, selector: "[moz-badge]", inputs: { type: "type" }, host: { properties: { "class": "this.badgeClasses" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".mc-badge{border-radius:4px;border:1px solid transparent;display:inline-block;padding:.125rem .4375rem;text-transform:lowercase;white-space:nowrap;font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:.875rem;line-height:1.2857142857;background-color:#daeff7;border-color:#0b96cc;color:#005c91}.mc-badge:first-letter{text-transform:uppercase}.mc-badge--success{background-color:#ebf5de;border-color:#46a610;color:#006902}.mc-badge--warning{background-color:#fdf1e8;border-color:#ea7315;color:#8c3500}.mc-badge--danger{background-color:#fdeaea;border-color:#ea302d;color:#8c0003}.mc-badge--neutral{background-color:#e6e6e6;border-color:gray;color:#4d4d4d}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: '[moz-badge]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: [".mc-badge{border-radius:4px;border:1px solid transparent;display:inline-block;padding:.125rem .4375rem;text-transform:lowercase;white-space:nowrap;font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:.875rem;line-height:1.2857142857;background-color:#daeff7;border-color:#0b96cc;color:#005c91}.mc-badge:first-letter{text-transform:uppercase}.mc-badge--success{background-color:#ebf5de;border-color:#46a610;color:#006902}.mc-badge--warning{background-color:#fdf1e8;border-color:#ea7315;color:#8c3500}.mc-badge--danger{background-color:#fdeaea;border-color:#ea302d;color:#8c0003}.mc-badge--neutral{background-color:#e6e6e6;border-color:gray;color:#4d4d4d}\n"] }]
|
|
58
|
+
}], propDecorators: { badgeClasses: [{
|
|
59
|
+
type: HostBinding,
|
|
60
|
+
args: ['class']
|
|
61
|
+
}], type: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}] } });
|
|
64
|
+
|
|
65
|
+
class BadgeModule {
|
|
66
|
+
}
|
|
67
|
+
BadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
68
|
+
BadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: BadgeModule, declarations: [BadgeComponent], imports: [CommonModule], exports: [BadgeComponent] });
|
|
69
|
+
BadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BadgeModule, imports: [CommonModule] });
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BadgeModule, decorators: [{
|
|
71
|
+
type: NgModule,
|
|
72
|
+
args: [{
|
|
73
|
+
declarations: [BadgeComponent],
|
|
74
|
+
imports: [CommonModule],
|
|
75
|
+
exports: [BadgeComponent],
|
|
76
|
+
}]
|
|
77
|
+
}] });
|
|
78
|
+
|
|
79
|
+
class ButtonComponent {
|
|
80
|
+
constructor() {
|
|
81
|
+
this.iconPosition = 'left';
|
|
82
|
+
this.onlyIcon = false;
|
|
83
|
+
this.theme = 'primary';
|
|
84
|
+
this.variation = 'solid';
|
|
85
|
+
this.widthBehavior = 'fit';
|
|
86
|
+
this.size = 'm';
|
|
87
|
+
}
|
|
88
|
+
get iconPositionIsRight() {
|
|
89
|
+
return this.iconPosition === 'right';
|
|
90
|
+
}
|
|
91
|
+
get viewContent() {
|
|
92
|
+
return !this.onlyIcon;
|
|
93
|
+
}
|
|
94
|
+
generateThemeCssClassName(variation, theme) {
|
|
95
|
+
const themePart = theme === 'primary' ? '' : `-${theme}`;
|
|
96
|
+
return `mc-button--${variation}${themePart}`;
|
|
97
|
+
}
|
|
98
|
+
get hostCssClasses() {
|
|
99
|
+
const squareClass = this.onlyIcon ? 'mc-button--square' : '';
|
|
100
|
+
const iconPositionIsRightClass = this.iconPositionIsRight ? 'icon-right-position' : '';
|
|
101
|
+
const themeClass = this.generateThemeCssClassName(this.variation, this.theme);
|
|
102
|
+
const widthBehaviorClass = `mc-button--${this.widthBehavior}`;
|
|
103
|
+
const sizeClass = `mc-button--${this.size}`;
|
|
104
|
+
return `mc-button ${squareClass} ${iconPositionIsRightClass} ${themeClass} ${sizeClass} ${widthBehaviorClass}`;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ButtonComponent, selector: "button[moz-button]", inputs: { iconPosition: "iconPosition", onlyIcon: "onlyIcon", theme: "theme", variation: "variation", widthBehavior: "widthBehavior", size: "size" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: "<ng-content select=\"moz-icon\"></ng-content>\n<div class=\"content\" *ngIf=\"viewContent\"><ng-content></ng-content></div>\n", styles: [".mc-button{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;padding:0;color:#fff;background-color:#188803;font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;transition:all ease .2s;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;align-items:stretch;box-sizing:border-box;fill:currentColor}.mc-button:hover{background-color:#006902;color:#fff}.mc-button:active{background-color:#006902}.mc-button:disabled,.mc-button.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button .mc-button__icon:first-child,.mc-button .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-button--s{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s .mc-button__icon:first-child,.mc-button--s .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}@media screen and (min-width: 680px){.mc-button--s\\@from-m{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m .mc-button__icon:first-child,.mc-button--s\\@from-m .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l .mc-button__icon:first-child,.mc-button--s\\@from-l .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl .mc-button__icon:first-child,.mc-button--s\\@from-xl .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl .mc-button__icon:first-child,.mc-button--s\\@from-xxl .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}.mc-button--m{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m .mc-button__icon:first-child,.mc-button--m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}@media screen and (min-width: 680px){.mc-button--m\\@from-m{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m .mc-button__icon:first-child,.mc-button--m\\@from-m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1024px){.mc-button--m\\@from-l{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l .mc-button__icon:first-child,.mc-button--m\\@from-l .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1280px){.mc-button--m\\@from-xl{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl .mc-button__icon:first-child,.mc-button--m\\@from-xl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1920px){.mc-button--m\\@from-xxl{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl .mc-button__icon:first-child,.mc-button--m\\@from-xxl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}.mc-button--l{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l .mc-button__icon{width:2rem;height:2rem}.mc-button--l .mc-button__icon:first-child,.mc-button--l .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}@media screen and (min-width: 680px){.mc-button--l\\@from-m{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-m .mc-button__icon:first-child,.mc-button--l\\@from-m .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1024px){.mc-button--l\\@from-l{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-l .mc-button__icon:first-child,.mc-button--l\\@from-l .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1280px){.mc-button--l\\@from-xl{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xl .mc-button__icon:first-child,.mc-button--l\\@from-xl .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1920px){.mc-button--l\\@from-xxl{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xxl .mc-button__icon:first-child,.mc-button--l\\@from-xxl .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}.mc-button--fit{display:inline-flex;width:auto}@media screen and (min-width: 680px){.mc-button--fit\\@from-m{display:inline-flex;width:auto}}@media screen and (min-width: 1024px){.mc-button--fit\\@from-l{display:inline-flex;width:auto}}@media screen and (min-width: 1280px){.mc-button--fit\\@from-xl{display:inline-flex;width:auto}}@media screen and (min-width: 1920px){.mc-button--fit\\@from-xxl{display:inline-flex;width:auto}}.mc-button--full{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full{width:-webkit-fill-available;width:-moz-available;width:stretch}}@media screen and (min-width: 680px){.mc-button--full\\@from-m{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-m{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--full\\@from-l{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-l{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1280px){.mc-button--full\\@from-xl{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-xl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--full\\@from-xxl{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-xxl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-button--square{align-items:center;height:0;padding:0}@media screen and (min-width: 1024px){.mc-button--square{padding:0}}.mc-button__icon{flex-shrink:0}.mc-button__icon:last-child{margin-left:.5rem;margin-right:-.25rem}.mc-button__icon:first-child{margin-right:.5rem;margin-left:-.25rem}.mc-button__icon:only-child{margin:0}.mc-button__label{align-items:center;display:flex;pointer-events:none}a.mc-button:disabled,a.mc-button.is-disabled{pointer-events:none}.mc-button--solid-primary-02{background-color:#6a7081}.mc-button--solid-primary-02:hover{background-color:#242938}.mc-button--solid-primary-02:active{background-color:#171b26}.mc-button--solid-primary-02:disabled,.mc-button--solid-primary-02.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--solid-neutral{background-color:#333}.mc-button--solid-neutral:hover{background-color:#191919}.mc-button--solid-neutral:active{background-color:#333}.mc-button--solid-neutral:disabled,.mc-button--solid-neutral.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--solid-danger{background-color:#c61112}.mc-button--solid-danger:hover,.mc-button--solid-danger:active{background-color:#8c0003}.mc-button--solid-danger:disabled,.mc-button--solid-danger.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered{color:#188803;border-color:#188803;background-color:#fff}.mc-button--bordered:hover{background-color:#ebf5de;color:#006902}.mc-button--bordered:active{background-color:#c5e39e;color:#035010}.mc-button--bordered:disabled,.mc-button--bordered.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered-primary-02{color:#6a7081;border-color:#6a7081;background-color:#fff}.mc-button--bordered-primary-02:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02:active{background-color:#cfd2d8}.mc-button--bordered-primary-02:disabled,.mc-button--bordered-primary-02.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered-neutral{color:#333;border-color:#333;background-color:#fff}.mc-button--bordered-neutral:hover{background-color:#e6e6e6;color:#333}.mc-button--bordered-neutral:active{background-color:#ccc}.mc-button--bordered-neutral:disabled,.mc-button--bordered-neutral.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered-danger{color:#c61112;border-color:#c61112;background-color:#fff}.mc-button--bordered-danger:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger:disabled,.mc-button--bordered-danger.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button{align-items:center;gap:.5rem}.icon-right-position{flex-direction:row-reverse}.mc-button--s{height:2rem}.mc-button--m{height:3rem}.mc-button--l{height:3.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
110
|
+
type: Component,
|
|
111
|
+
args: [{ selector: 'button[moz-button]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"moz-icon\"></ng-content>\n<div class=\"content\" *ngIf=\"viewContent\"><ng-content></ng-content></div>\n", styles: [".mc-button{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;padding:0;color:#fff;background-color:#188803;font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem;cursor:pointer;border-radius:4px;text-align:center;border:2px solid transparent;transition:all ease .2s;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;align-items:stretch;box-sizing:border-box;fill:currentColor}.mc-button:hover{background-color:#006902;color:#fff}.mc-button:active{background-color:#006902}.mc-button:disabled,.mc-button.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button .mc-button__icon:first-child,.mc-button .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}.mc-button:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-button--s{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s .mc-button__icon:first-child,.mc-button--s .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}@media screen and (min-width: 680px){.mc-button--s\\@from-m{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-m .mc-button__icon:first-child,.mc-button--s\\@from-m .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}@media screen and (min-width: 1024px){.mc-button--s\\@from-l{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-l .mc-button__icon:first-child,.mc-button--s\\@from-l .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}@media screen and (min-width: 1280px){.mc-button--s\\@from-xl{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xl .mc-button__icon:first-child,.mc-button--s\\@from-xl .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}@media screen and (min-width: 1920px){.mc-button--s\\@from-xxl{font-size:.875rem;line-height:1.2857142857;padding:.3125rem 1rem;min-height:2rem;min-width:2rem}.mc-button--s\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--s\\@from-xxl .mc-button__icon:first-child,.mc-button--s\\@from-xxl .mc-button__icon:last-child{margin-bottom:-.1875rem;margin-top:-.1875rem}.mc-button--s\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:1.5rem;height:1.5rem}}.mc-button--m{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m .mc-button__icon:first-child,.mc-button--m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}@media screen and (min-width: 680px){.mc-button--m\\@from-m{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-m .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-m .mc-button__icon:first-child,.mc-button--m\\@from-m .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1024px){.mc-button--m\\@from-l{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-l .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-l .mc-button__icon:first-child,.mc-button--m\\@from-l .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1280px){.mc-button--m\\@from-xl{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xl .mc-button__icon:first-child,.mc-button--m\\@from-xl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1920px){.mc-button--m\\@from-xxl{font-size:1rem;line-height:1.375;padding:.6875rem 1.5rem;min-height:3rem;min-width:3rem}.mc-button--m\\@from-xxl .mc-button__icon{width:1.5rem;height:1.5rem}.mc-button--m\\@from-xxl .mc-button__icon:first-child,.mc-button--m\\@from-xxl .mc-button__icon:last-child{margin-bottom:-1px;margin-top:-1px}.mc-button--m\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}.mc-button--l{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l .mc-button__icon{width:2rem;height:2rem}.mc-button--l .mc-button__icon:first-child,.mc-button--l .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}@media screen and (min-width: 680px){.mc-button--l\\@from-m{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-m .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-m .mc-button__icon:first-child,.mc-button--l\\@from-m .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-m .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1024px){.mc-button--l\\@from-l{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-l .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-l .mc-button__icon:first-child,.mc-button--l\\@from-l .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-l .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1280px){.mc-button--l\\@from-xl{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xl .mc-button__icon:first-child,.mc-button--l\\@from-xl .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-xl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}@media screen and (min-width: 1920px){.mc-button--l\\@from-xxl{font-size:1.125rem;line-height:1.3333333333;padding:.875rem 1.5rem;min-height:3.5rem;min-width:3.5rem}.mc-button--l\\@from-xxl .mc-button__icon{width:2rem;height:2rem}.mc-button--l\\@from-xxl .mc-button__icon:first-child,.mc-button--l\\@from-xxl .mc-button__icon:last-child{margin-bottom:-.25rem;margin-top:-.25rem}.mc-button--l\\@from-xxl .mc-button__icon:only-child{margin-bottom:0;margin-top:0;width:2rem;height:2rem}}.mc-button--fit{display:inline-flex;width:auto}@media screen and (min-width: 680px){.mc-button--fit\\@from-m{display:inline-flex;width:auto}}@media screen and (min-width: 1024px){.mc-button--fit\\@from-l{display:inline-flex;width:auto}}@media screen and (min-width: 1280px){.mc-button--fit\\@from-xl{display:inline-flex;width:auto}}@media screen and (min-width: 1920px){.mc-button--fit\\@from-xxl{display:inline-flex;width:auto}}.mc-button--full{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full{width:-webkit-fill-available;width:-moz-available;width:stretch}}@media screen and (min-width: 680px){.mc-button--full\\@from-m{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-m{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1024px){.mc-button--full\\@from-l{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-l{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1280px){.mc-button--full\\@from-xl{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-xl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}@media screen and (min-width: 1920px){.mc-button--full\\@from-xxl{display:flex;width:100%}@supports ((width: -webkit-fill-available) or (width: -moz-available) or (width: stretch)){.mc-button--full\\@from-xxl{width:-webkit-fill-available;width:-moz-available;width:stretch}}}.mc-button--square{align-items:center;height:0;padding:0}@media screen and (min-width: 1024px){.mc-button--square{padding:0}}.mc-button__icon{flex-shrink:0}.mc-button__icon:last-child{margin-left:.5rem;margin-right:-.25rem}.mc-button__icon:first-child{margin-right:.5rem;margin-left:-.25rem}.mc-button__icon:only-child{margin:0}.mc-button__label{align-items:center;display:flex;pointer-events:none}a.mc-button:disabled,a.mc-button.is-disabled{pointer-events:none}.mc-button--solid-primary-02{background-color:#6a7081}.mc-button--solid-primary-02:hover{background-color:#242938}.mc-button--solid-primary-02:active{background-color:#171b26}.mc-button--solid-primary-02:disabled,.mc-button--solid-primary-02.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--solid-neutral{background-color:#333}.mc-button--solid-neutral:hover{background-color:#191919}.mc-button--solid-neutral:active{background-color:#333}.mc-button--solid-neutral:disabled,.mc-button--solid-neutral.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--solid-danger{background-color:#c61112}.mc-button--solid-danger:hover,.mc-button--solid-danger:active{background-color:#8c0003}.mc-button--solid-danger:disabled,.mc-button--solid-danger.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered{color:#188803;border-color:#188803;background-color:#fff}.mc-button--bordered:hover{background-color:#ebf5de;color:#006902}.mc-button--bordered:active{background-color:#c5e39e;color:#035010}.mc-button--bordered:disabled,.mc-button--bordered.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered-primary-02{color:#6a7081;border-color:#6a7081;background-color:#fff}.mc-button--bordered-primary-02:hover{background-color:#eeeff1;color:#6a7081}.mc-button--bordered-primary-02:active{background-color:#cfd2d8}.mc-button--bordered-primary-02:disabled,.mc-button--bordered-primary-02.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered-neutral{color:#333;border-color:#333;background-color:#fff}.mc-button--bordered-neutral:hover{background-color:#e6e6e6;color:#333}.mc-button--bordered-neutral:active{background-color:#ccc}.mc-button--bordered-neutral:disabled,.mc-button--bordered-neutral.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button--bordered-danger{color:#c61112;border-color:#c61112;background-color:#fff}.mc-button--bordered-danger:hover{background-color:#fdeaea;color:#8c0003}.mc-button--bordered-danger:active{background-color:#f8bcbb;color:#530000}.mc-button--bordered-danger:disabled,.mc-button--bordered-danger.is-disabled{background-color:#ccc;border-color:transparent;color:#666;cursor:not-allowed}.mc-button{align-items:center;gap:.5rem}.icon-right-position{flex-direction:row-reverse}.mc-button--s{height:2rem}.mc-button--m{height:3rem}.mc-button--l{height:3.5rem}\n"] }]
|
|
112
|
+
}], propDecorators: { iconPosition: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], onlyIcon: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], theme: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], variation: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}], widthBehavior: [{
|
|
121
|
+
type: Input
|
|
122
|
+
}], size: [{
|
|
123
|
+
type: Input
|
|
124
|
+
}], hostCssClasses: [{
|
|
125
|
+
type: HostBinding,
|
|
126
|
+
args: ['class']
|
|
127
|
+
}] } });
|
|
128
|
+
|
|
129
|
+
class ButtonModule {
|
|
130
|
+
}
|
|
131
|
+
ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
132
|
+
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent], imports: [CommonModule], exports: [ButtonComponent] });
|
|
133
|
+
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ButtonModule, imports: [CommonModule] });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ButtonModule, decorators: [{
|
|
135
|
+
type: NgModule,
|
|
136
|
+
args: [{
|
|
137
|
+
declarations: [ButtonComponent],
|
|
138
|
+
imports: [CommonModule],
|
|
139
|
+
exports: [ButtonComponent],
|
|
140
|
+
}]
|
|
141
|
+
}] });
|
|
142
|
+
|
|
143
|
+
class GlobalEventsService {
|
|
144
|
+
get window() {
|
|
145
|
+
return this._window;
|
|
146
|
+
}
|
|
147
|
+
constructor(_window) {
|
|
148
|
+
this._window = _window;
|
|
149
|
+
this.eventHandlers = new Map();
|
|
150
|
+
}
|
|
151
|
+
getWindowEvent(eventName) {
|
|
152
|
+
const cachedHandler = this.eventHandlers.get(eventName);
|
|
153
|
+
if (cachedHandler) {
|
|
154
|
+
return cachedHandler;
|
|
155
|
+
}
|
|
156
|
+
const eventHandler = fromEvent(this.window, eventName).pipe(shareReplay({ refCount: true, bufferSize: 1 }));
|
|
157
|
+
this.eventHandlers.set(eventName, eventHandler);
|
|
158
|
+
return eventHandler;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
GlobalEventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsService, deps: [{ token: Window }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
162
|
+
GlobalEventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsService, providedIn: 'root' });
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsService, decorators: [{
|
|
164
|
+
type: Injectable,
|
|
165
|
+
args: [{
|
|
166
|
+
providedIn: 'root',
|
|
167
|
+
}]
|
|
168
|
+
}], ctorParameters: function () { return [{ type: Window }]; } });
|
|
169
|
+
|
|
170
|
+
class GlobalEventsModule {
|
|
171
|
+
}
|
|
172
|
+
GlobalEventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
173
|
+
GlobalEventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsModule });
|
|
174
|
+
GlobalEventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsModule, providers: [GlobalEventsService, { provide: Window, useValue: window }] });
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: GlobalEventsModule, decorators: [{
|
|
176
|
+
type: NgModule,
|
|
177
|
+
args: [{
|
|
178
|
+
providers: [GlobalEventsService, { provide: Window, useValue: window }],
|
|
179
|
+
}]
|
|
180
|
+
}] });
|
|
181
|
+
|
|
182
|
+
const CHECKBOX_CONTROL_VALUE_ACCESSOR = {
|
|
183
|
+
provide: NG_VALUE_ACCESSOR,
|
|
184
|
+
useExisting: forwardRef(() => CheckboxComponent),
|
|
185
|
+
multi: true,
|
|
186
|
+
};
|
|
187
|
+
class CheckboxComponent {
|
|
188
|
+
get checked() {
|
|
189
|
+
return this._checked;
|
|
190
|
+
}
|
|
191
|
+
constructor() {
|
|
192
|
+
this.disabled = false;
|
|
193
|
+
this.indeterminate = false;
|
|
194
|
+
this.invalid = false;
|
|
195
|
+
this._checked = false;
|
|
196
|
+
this.onChange = () => { };
|
|
197
|
+
this.onTouch = () => { };
|
|
198
|
+
this.checkboxId = generateId();
|
|
199
|
+
}
|
|
200
|
+
set checked(v) {
|
|
201
|
+
this._checked = v;
|
|
202
|
+
this.onChange(this._checked);
|
|
203
|
+
this.onTouch();
|
|
204
|
+
}
|
|
205
|
+
writeValue(value) {
|
|
206
|
+
this.checked = !!value;
|
|
207
|
+
}
|
|
208
|
+
registerOnChange(fn) {
|
|
209
|
+
this.onChange = fn;
|
|
210
|
+
}
|
|
211
|
+
registerOnTouched(fn) {
|
|
212
|
+
this.onTouch = fn;
|
|
213
|
+
}
|
|
214
|
+
toggle() {
|
|
215
|
+
this.writeValue(!this.checked);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
219
|
+
CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxComponent, selector: "moz-checkbox", inputs: { disabled: "disabled", indeterminate: "indeterminate", invalid: "invalid", checked: "checked" }, host: { properties: { "class.mc-checkbox": "true" } }, providers: [CHECKBOX_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<input\n [id]=\"checkboxId\"\n type=\"checkbox\"\n class=\"mc-checkbox__input\"\n [checked]=\"checked\"\n (click)=\"toggle()\"\n [ngClass]=\"{ 'is-invalid': invalid }\"\n [disabled]=\"disabled\"\n [indeterminate]=\"indeterminate\"\n/>\n<label [for]=\"checkboxId\" class=\"mc-checkbox__label\">\n <ng-content></ng-content>\n</label>\n", styles: [".mc-checkbox{align-items:center;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:.5rem;color:#000}.mc-checkbox__input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#fff;position:relative;transition:all .2s ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#fff;border:2px solid #666666;border-radius:4px;color:#fff}.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#46a610;border-color:#46a610;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#46a610;border-color:#46a610}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#035010}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#035010}.mc-checkbox__input:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:gray}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-checkbox__input:checked:disabled{background-image:url(assets/special-icons/checkbox-checked-disabled.svg)}.mc-checkbox__input:checked{background-image:url(assets/special-icons/checkbox-checked.svg)}.mc-checkbox__input:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate.svg)}.mc-checkbox__input:disabled:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate-disabled.svg)}.mc-checkbox__label:empty{display:none}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
221
|
+
type: Component,
|
|
222
|
+
args: [{ selector: 'moz-checkbox', providers: [CHECKBOX_CONTROL_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
223
|
+
'[class.mc-checkbox]': 'true',
|
|
224
|
+
}, template: "<input\n [id]=\"checkboxId\"\n type=\"checkbox\"\n class=\"mc-checkbox__input\"\n [checked]=\"checked\"\n (click)=\"toggle()\"\n [ngClass]=\"{ 'is-invalid': invalid }\"\n [disabled]=\"disabled\"\n [indeterminate]=\"indeterminate\"\n/>\n<label [for]=\"checkboxId\" class=\"mc-checkbox__label\">\n <ng-content></ng-content>\n</label>\n", styles: [".mc-checkbox{align-items:center;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:.5rem;color:#000}.mc-checkbox__input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#fff;position:relative;transition:all .2s ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#fff;border:2px solid #666666;border-radius:4px;color:#fff}.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#46a610;border-color:#46a610;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#46a610;border-color:#46a610}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#035010}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#035010}.mc-checkbox__input:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:gray}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-checkbox__input:checked:disabled{background-image:url(assets/special-icons/checkbox-checked-disabled.svg)}.mc-checkbox__input:checked{background-image:url(assets/special-icons/checkbox-checked.svg)}.mc-checkbox__input:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate.svg)}.mc-checkbox__input:disabled:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate-disabled.svg)}.mc-checkbox__label:empty{display:none}\n"] }]
|
|
225
|
+
}], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], indeterminate: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], invalid: [{
|
|
230
|
+
type: Input
|
|
231
|
+
}], checked: [{
|
|
232
|
+
type: Input
|
|
233
|
+
}] } });
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @deprecated remove in 0.21 version
|
|
237
|
+
*/
|
|
238
|
+
class CheckboxModule {
|
|
239
|
+
}
|
|
240
|
+
CheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
241
|
+
CheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule], exports: [CheckboxComponent] });
|
|
242
|
+
CheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxModule, imports: [CommonModule] });
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxModule, decorators: [{
|
|
244
|
+
type: NgModule,
|
|
245
|
+
args: [{
|
|
246
|
+
declarations: [CheckboxComponent],
|
|
247
|
+
imports: [CommonModule],
|
|
248
|
+
exports: [CheckboxComponent],
|
|
249
|
+
}]
|
|
250
|
+
}] });
|
|
251
|
+
|
|
252
|
+
const dialogAnimation = trigger('dialogAnimation', [
|
|
253
|
+
transition(':enter', group([
|
|
254
|
+
query(':self', [style({ opacity: 0 }), animate(200, style({ opacity: 1 }))]),
|
|
255
|
+
query('.mc-modal', [
|
|
256
|
+
style({ opacity: 0, transform: 'scale(0.7)' }),
|
|
257
|
+
animate(200, style({ opacity: 1, transform: 'scale(1)' })),
|
|
258
|
+
]),
|
|
259
|
+
])),
|
|
260
|
+
transition(':leave', group([
|
|
261
|
+
query(':self', [animate(200, style({ opacity: 0 }))]),
|
|
262
|
+
query('.mc-modal', [
|
|
263
|
+
style({ opacity: 1, transform: 'scale(1)' }),
|
|
264
|
+
animate(200, style({ opacity: 0, transform: 'scale(0.1)' })),
|
|
265
|
+
]),
|
|
266
|
+
])),
|
|
267
|
+
]);
|
|
268
|
+
|
|
269
|
+
const DIALOG_CONFIG = new InjectionToken('DIALOG_CONFIG');
|
|
270
|
+
|
|
271
|
+
const DIALOG_DATA = new InjectionToken('DIALOG_DATA');
|
|
272
|
+
|
|
273
|
+
const DIALOG_REF = new InjectionToken('DIALOG_REF');
|
|
274
|
+
|
|
275
|
+
class DialogComponent {
|
|
276
|
+
constructor(config, cd) {
|
|
277
|
+
this.config = config;
|
|
278
|
+
this.cd = cd;
|
|
279
|
+
}
|
|
280
|
+
get title() {
|
|
281
|
+
return this.config.title;
|
|
282
|
+
}
|
|
283
|
+
get hasCross() {
|
|
284
|
+
return this.config.hasCross;
|
|
285
|
+
}
|
|
286
|
+
get minHeight() {
|
|
287
|
+
return `${this.config.minHeight}px`;
|
|
288
|
+
}
|
|
289
|
+
get layerIndex() {
|
|
290
|
+
return this.config.layerIndex;
|
|
291
|
+
}
|
|
292
|
+
get dialogContainerIndex() {
|
|
293
|
+
return this.layerIndex + 1;
|
|
294
|
+
}
|
|
295
|
+
ngAfterViewInit() {
|
|
296
|
+
this.initChildComponent(this.childComponentType);
|
|
297
|
+
}
|
|
298
|
+
ngOnDestroy() {
|
|
299
|
+
this.dialogRef.destroy();
|
|
300
|
+
// this.childComponentRef?.destroy();
|
|
301
|
+
}
|
|
302
|
+
close() {
|
|
303
|
+
this.dialogRef.close();
|
|
304
|
+
}
|
|
305
|
+
initChildComponent(componentType) {
|
|
306
|
+
this.childComponentRef = this.contentViewRef.createComponent(componentType);
|
|
307
|
+
this.cd.detectChanges();
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogComponent, deps: [{ token: DIALOG_CONFIG }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
311
|
+
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: DialogComponent, selector: "moz-dialog", inputs: { dialogRef: "dialogRef", childComponentType: "childComponentType" }, host: { properties: { "@dialogAnimation": "true" } }, viewQueries: [{ propertyName: "contentViewRef", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<div\n tabindex=\"-1\"\n role=\"dialog\"\n aria-labelledby=\"modal_title\"\n class=\"mc-modal\"\n [style.zIndex]=\"dialogContainerIndex\"\n>\n <div role=\"document\" class=\"mc-modal__dialog is-open\" [style.minHeight]=\"minHeight\">\n <header class=\"mc-modal__header mc-divider-bottom mc-divider-bottom--light\">\n <h2 class=\"mc-modal__title\" id=\"modalTitle\">{{ title }}</h2>\n <button class=\"mc-modal__close\" type=\"button\" (click)=\"close()\" *ngIf=\"hasCross\">\n <span class=\"mc-modal__close-text\">Close</span>\n </button>\n </header>\n <main class=\"mc-modal__body\">\n <article class=\"mc-modal__content\">\n <ng-template #content></ng-template>\n </article>\n </main>\n </div>\n</div>\n<div\n tabindex=\"-1\"\n role=\"dialog\"\n class=\"mc-modal-overlay is-visible\"\n [style.zIndex]=\"layerIndex\"\n></div>\n", styles: [".mc-modal{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;inset:0;outline:0;pointer-events:none;position:fixed;z-index:1999999999;align-items:flex-end;display:flex;height:100vh;height:-webkit-fill-available;height:-moz-available;height:stretch;justify-content:center;overflow-x:hidden;overflow-y:auto;padding:1rem 1.125rem;width:100vw}.mc-modal,.mc-modal *{box-sizing:border-box}@media screen and (min-width: 680px){.mc-modal{align-items:center;padding:0}}.mc-modal__dialog{background:#ffffff;display:flex;flex-direction:column;opacity:0;max-height:100%;position:relative;transform:translateY(-25%);transition:visibility 0s linear .4s,transform .4s ease,opacity .4s ease;visibility:hidden;width:100%}@media screen and (min-width: 680px){.mc-modal__dialog{max-height:50%;max-width:38.5rem}}@media (min-width: 1024px) and (max-width: 1919px){.mc-modal__dialog{max-height:66.6666666667%}}@media screen and (min-width: 1024px){.mc-modal__dialog{max-width:48rem}}@media screen and (min-width: 1280px){.mc-modal__dialog{max-width:50rem}}@media screen and (min-width: 1920px){.mc-modal__dialog{max-width:56.5rem}}.mc-modal__dialog.is-open{opacity:1;pointer-events:all;transform:translateY(0);transition:visibility 0s linear 0s,transform .4s ease,opacity .4s ease;visibility:visible}.mc-modal__form{display:contents}.mc-modal__header{align-items:center;display:flex;gap:.75rem;margin-bottom:1rem;min-height:3.75rem;padding:.75rem .75rem .75rem 1rem;position:relative}.mc-modal__header:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 680px){.mc-modal__header{padding-top:1rem;padding-right:1rem;padding-left:1.5rem}}.mc-modal__icon{fill:#666;height:1.5rem;width:1.5rem}.mc-modal__title{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#666;margin-bottom:0;margin-top:0}.mc-modal__close{box-shadow:none;text-decoration:none;outline:none;border:none;padding:0;position:relative;align-self:flex-start;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23808080'%3E%3Cpath d='M17.41 16l8.8-8.79a1 1 0 10-1.42-1.42L16 14.59l-8.79-8.8a1 1 0 00-1.42 1.42l8.8 8.79-8.8 8.79a1 1 0 000 1.42 1 1 0 001.42 0l8.79-8.8 8.79 8.8a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:contain;cursor:pointer;height:2rem;flex-shrink:0;margin:0 0 0 auto;width:2rem}.mc-modal__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-modal__close-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-modal__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-modal__body{font-size:1rem;line-height:1.375;flex:1 1;color:#191919;display:flex;overflow:hidden;padding-left:.5rem;padding-right:.5rem}@media screen and (min-width: 680px){.mc-modal__body{padding-left:.75rem;padding-right:1rem}}.mc-modal__content{flex-grow:1;max-height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin;padding-left:.5rem;padding-right:.5rem}@media screen and (min-width: 680px){.mc-modal__content{padding-left:.75rem;padding-right:.75rem}}.mc-modal__content::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-modal__content::-webkit-scrollbar-thumb{background:#666666}.mc-modal__heading{font-size:1.125rem;line-height:1.3333333333;font-weight:600;color:#000;margin-bottom:0;margin-top:0}.mc-modal__inner{padding-top:1.5rem;padding-bottom:3rem}.mc-modal__footer{align-items:stretch;display:flex;flex-direction:column;justify-content:center;padding:1rem}@media screen and (min-width: 680px){.mc-modal__footer{align-items:center;flex-direction:row;padding:1.5rem}}.mc-modal__footer>:first-child:not(:only-child){margin-bottom:.75rem}@media screen and (min-width: 680px){.mc-modal__footer>:first-child:not(:only-child){margin-bottom:0;margin-right:1rem}}.mc-modal-open{overflow:hidden}.mc-modal-overlay{background-color:#191919b3;filter:blur(1px);inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998}.mc-modal-overlay.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-modal__close{background:transparent url(assets/special-icons/layer-cross.svg) no-repeat}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [dialogAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogComponent, decorators: [{
|
|
313
|
+
type: Component,
|
|
314
|
+
args: [{ selector: 'moz-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [dialogAnimation], host: { '[@dialogAnimation]': 'true' }, template: "<div\n tabindex=\"-1\"\n role=\"dialog\"\n aria-labelledby=\"modal_title\"\n class=\"mc-modal\"\n [style.zIndex]=\"dialogContainerIndex\"\n>\n <div role=\"document\" class=\"mc-modal__dialog is-open\" [style.minHeight]=\"minHeight\">\n <header class=\"mc-modal__header mc-divider-bottom mc-divider-bottom--light\">\n <h2 class=\"mc-modal__title\" id=\"modalTitle\">{{ title }}</h2>\n <button class=\"mc-modal__close\" type=\"button\" (click)=\"close()\" *ngIf=\"hasCross\">\n <span class=\"mc-modal__close-text\">Close</span>\n </button>\n </header>\n <main class=\"mc-modal__body\">\n <article class=\"mc-modal__content\">\n <ng-template #content></ng-template>\n </article>\n </main>\n </div>\n</div>\n<div\n tabindex=\"-1\"\n role=\"dialog\"\n class=\"mc-modal-overlay is-visible\"\n [style.zIndex]=\"layerIndex\"\n></div>\n", styles: [".mc-modal{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;inset:0;outline:0;pointer-events:none;position:fixed;z-index:1999999999;align-items:flex-end;display:flex;height:100vh;height:-webkit-fill-available;height:-moz-available;height:stretch;justify-content:center;overflow-x:hidden;overflow-y:auto;padding:1rem 1.125rem;width:100vw}.mc-modal,.mc-modal *{box-sizing:border-box}@media screen and (min-width: 680px){.mc-modal{align-items:center;padding:0}}.mc-modal__dialog{background:#ffffff;display:flex;flex-direction:column;opacity:0;max-height:100%;position:relative;transform:translateY(-25%);transition:visibility 0s linear .4s,transform .4s ease,opacity .4s ease;visibility:hidden;width:100%}@media screen and (min-width: 680px){.mc-modal__dialog{max-height:50%;max-width:38.5rem}}@media (min-width: 1024px) and (max-width: 1919px){.mc-modal__dialog{max-height:66.6666666667%}}@media screen and (min-width: 1024px){.mc-modal__dialog{max-width:48rem}}@media screen and (min-width: 1280px){.mc-modal__dialog{max-width:50rem}}@media screen and (min-width: 1920px){.mc-modal__dialog{max-width:56.5rem}}.mc-modal__dialog.is-open{opacity:1;pointer-events:all;transform:translateY(0);transition:visibility 0s linear 0s,transform .4s ease,opacity .4s ease;visibility:visible}.mc-modal__form{display:contents}.mc-modal__header{align-items:center;display:flex;gap:.75rem;margin-bottom:1rem;min-height:3.75rem;padding:.75rem .75rem .75rem 1rem;position:relative}.mc-modal__header:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 680px){.mc-modal__header{padding-top:1rem;padding-right:1rem;padding-left:1.5rem}}.mc-modal__icon{fill:#666;height:1.5rem;width:1.5rem}.mc-modal__title{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#666;margin-bottom:0;margin-top:0}.mc-modal__close{box-shadow:none;text-decoration:none;outline:none;border:none;padding:0;position:relative;align-self:flex-start;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23808080'%3E%3Cpath d='M17.41 16l8.8-8.79a1 1 0 10-1.42-1.42L16 14.59l-8.79-8.8a1 1 0 00-1.42 1.42l8.8 8.79-8.8 8.79a1 1 0 000 1.42 1 1 0 001.42 0l8.79-8.8 8.79 8.8a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:contain;cursor:pointer;height:2rem;flex-shrink:0;margin:0 0 0 auto;width:2rem}.mc-modal__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-modal__close-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-modal__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-modal__body{font-size:1rem;line-height:1.375;flex:1 1;color:#191919;display:flex;overflow:hidden;padding-left:.5rem;padding-right:.5rem}@media screen and (min-width: 680px){.mc-modal__body{padding-left:.75rem;padding-right:1rem}}.mc-modal__content{flex-grow:1;max-height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin;padding-left:.5rem;padding-right:.5rem}@media screen and (min-width: 680px){.mc-modal__content{padding-left:.75rem;padding-right:.75rem}}.mc-modal__content::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-modal__content::-webkit-scrollbar-thumb{background:#666666}.mc-modal__heading{font-size:1.125rem;line-height:1.3333333333;font-weight:600;color:#000;margin-bottom:0;margin-top:0}.mc-modal__inner{padding-top:1.5rem;padding-bottom:3rem}.mc-modal__footer{align-items:stretch;display:flex;flex-direction:column;justify-content:center;padding:1rem}@media screen and (min-width: 680px){.mc-modal__footer{align-items:center;flex-direction:row;padding:1.5rem}}.mc-modal__footer>:first-child:not(:only-child){margin-bottom:.75rem}@media screen and (min-width: 680px){.mc-modal__footer>:first-child:not(:only-child){margin-bottom:0;margin-right:1rem}}.mc-modal-open{overflow:hidden}.mc-modal-overlay{background-color:#191919b3;filter:blur(1px);inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998}.mc-modal-overlay.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-modal__close{background:transparent url(assets/special-icons/layer-cross.svg) no-repeat}\n"] }]
|
|
315
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
316
|
+
type: Inject,
|
|
317
|
+
args: [DIALOG_CONFIG]
|
|
318
|
+
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { dialogRef: [{
|
|
319
|
+
type: Input
|
|
320
|
+
}], childComponentType: [{
|
|
321
|
+
type: Input
|
|
322
|
+
}], contentViewRef: [{
|
|
323
|
+
type: ViewChild,
|
|
324
|
+
args: ['content', { read: ViewContainerRef, static: true }]
|
|
325
|
+
}] } });
|
|
326
|
+
|
|
327
|
+
class DialogConfigModel {
|
|
328
|
+
constructor(config) {
|
|
329
|
+
this.title = '';
|
|
330
|
+
this.hasCross = true;
|
|
331
|
+
this.minHeight = 65;
|
|
332
|
+
Object.assign(this, config);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
class DialogInjector {
|
|
337
|
+
constructor({ injector, dialogRef }) {
|
|
338
|
+
this.parentInjector = injector;
|
|
339
|
+
this.dialogRef = dialogRef;
|
|
340
|
+
this.initAdditionalTokens();
|
|
341
|
+
}
|
|
342
|
+
get(token, notFoundValue) {
|
|
343
|
+
const value = this.additionalTokens.get(token);
|
|
344
|
+
if (value) {
|
|
345
|
+
return value;
|
|
346
|
+
}
|
|
347
|
+
return this.parentInjector.get(token, notFoundValue);
|
|
348
|
+
}
|
|
349
|
+
initAdditionalTokens() {
|
|
350
|
+
this.additionalTokens = new WeakMap();
|
|
351
|
+
this.additionalTokens.set(DIALOG_REF, this.dialogRef);
|
|
352
|
+
this.additionalTokens.set(DIALOG_CONFIG, this.dialogRef.config);
|
|
353
|
+
this.additionalTokens.set(DIALOG_DATA, this.dialogRef.config.data);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
class DialogRefModel {
|
|
358
|
+
constructor(dialogConfig) {
|
|
359
|
+
this.dialogConfig = dialogConfig;
|
|
360
|
+
this._config$ = new BehaviorSubject({});
|
|
361
|
+
this._afterClosed$ = new Subject();
|
|
362
|
+
this._id = String(getRandomNumber(1, 100000));
|
|
363
|
+
this.init(dialogConfig);
|
|
364
|
+
}
|
|
365
|
+
get afterClosed$() {
|
|
366
|
+
return this._afterClosed$.asObservable();
|
|
367
|
+
}
|
|
368
|
+
get config$() {
|
|
369
|
+
return this._config$.asObservable();
|
|
370
|
+
}
|
|
371
|
+
get config() {
|
|
372
|
+
return this._config$.getValue();
|
|
373
|
+
}
|
|
374
|
+
get id() {
|
|
375
|
+
return this._id;
|
|
376
|
+
}
|
|
377
|
+
get dialogElement() {
|
|
378
|
+
return this._dialogElement;
|
|
379
|
+
}
|
|
380
|
+
get componentRef() {
|
|
381
|
+
return this._componentRef;
|
|
382
|
+
}
|
|
383
|
+
init(config) {
|
|
384
|
+
this.updateConfig(config);
|
|
385
|
+
}
|
|
386
|
+
updateConfig(config) {
|
|
387
|
+
this._config$.next({ ...this.config, ...config });
|
|
388
|
+
}
|
|
389
|
+
close(result) {
|
|
390
|
+
this._afterClosed$.next(result);
|
|
391
|
+
}
|
|
392
|
+
setDialogElement(element) {
|
|
393
|
+
this._dialogElement = element;
|
|
394
|
+
}
|
|
395
|
+
setComponentRef(componentRef) {
|
|
396
|
+
this._componentRef = componentRef;
|
|
397
|
+
}
|
|
398
|
+
destroy() {
|
|
399
|
+
this._config$.complete();
|
|
400
|
+
this._afterClosed$.complete();
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
class DialogService {
|
|
405
|
+
constructor(componentFactoryResolver, injector, applicationRef, document) {
|
|
406
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
407
|
+
this.injector = injector;
|
|
408
|
+
this.applicationRef = applicationRef;
|
|
409
|
+
this.document = document;
|
|
410
|
+
this._layer = 100;
|
|
411
|
+
}
|
|
412
|
+
open(component, config = {}) {
|
|
413
|
+
this.addLayer();
|
|
414
|
+
const dialogRef = this.createDialog({ ...config, layerIndex: this._layer });
|
|
415
|
+
this.applyDataForCreatedDialogInstance({ component, dialogRef });
|
|
416
|
+
return dialogRef;
|
|
417
|
+
}
|
|
418
|
+
createDialog(config) {
|
|
419
|
+
const dialogRef = new DialogRefModel(new DialogConfigModel(config));
|
|
420
|
+
const dialogInjector = new DialogInjector({ injector: this.injector, dialogRef });
|
|
421
|
+
const componentRef = this.createComponentRef(dialogInjector);
|
|
422
|
+
dialogRef.setComponentRef(componentRef);
|
|
423
|
+
this.initDialogRefAfterClosedObserver(dialogRef, componentRef);
|
|
424
|
+
this.appendDialogComponentToBody(componentRef);
|
|
425
|
+
return dialogRef;
|
|
426
|
+
}
|
|
427
|
+
createComponentRef(dialogInjector) {
|
|
428
|
+
return this.componentFactoryResolver
|
|
429
|
+
.resolveComponentFactory(DialogComponent)
|
|
430
|
+
.create(dialogInjector);
|
|
431
|
+
}
|
|
432
|
+
initDialogRefAfterClosedObserver(dialogRef, componentRef) {
|
|
433
|
+
const destroyDelayInMs = 50;
|
|
434
|
+
dialogRef.afterClosed$.pipe(delay(destroyDelayInMs)).subscribe(() => componentRef.destroy());
|
|
435
|
+
}
|
|
436
|
+
appendDialogComponentToBody(componentRef) {
|
|
437
|
+
const componentHostView = componentRef.hostView;
|
|
438
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
439
|
+
this.applicationRef.attachView(componentHostView);
|
|
440
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
441
|
+
}
|
|
442
|
+
applyDataForCreatedDialogInstance({ dialogRef, component, }) {
|
|
443
|
+
const { instance: dialogInstance } = dialogRef.componentRef;
|
|
444
|
+
dialogInstance.childComponentType = component;
|
|
445
|
+
dialogInstance.dialogRef = dialogRef;
|
|
446
|
+
}
|
|
447
|
+
addLayer() {
|
|
448
|
+
this._layer += 1;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
452
|
+
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogService, decorators: [{
|
|
454
|
+
type: Injectable,
|
|
455
|
+
args: [{
|
|
456
|
+
providedIn: 'root',
|
|
457
|
+
}]
|
|
458
|
+
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: Document, decorators: [{
|
|
459
|
+
type: Inject,
|
|
460
|
+
args: [DOCUMENT]
|
|
461
|
+
}] }]; } });
|
|
462
|
+
|
|
463
|
+
class DialogModule {
|
|
464
|
+
}
|
|
465
|
+
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
466
|
+
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, declarations: [DialogComponent], imports: [CommonModule] });
|
|
467
|
+
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, providers: [DialogService], imports: [CommonModule] });
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, decorators: [{
|
|
469
|
+
type: NgModule,
|
|
470
|
+
args: [{
|
|
471
|
+
declarations: [DialogComponent],
|
|
472
|
+
imports: [CommonModule],
|
|
473
|
+
providers: [DialogService],
|
|
474
|
+
exports: [],
|
|
475
|
+
}]
|
|
476
|
+
}] });
|
|
477
|
+
|
|
478
|
+
const MOZ_INPUT_ICON = new InjectionToken('MozInputIcon');
|
|
479
|
+
class InputIconDirective {
|
|
480
|
+
}
|
|
481
|
+
InputIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InputIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
482
|
+
InputIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: InputIconDirective, selector: "[mozInputIcon]", providers: [{ provide: MOZ_INPUT_ICON, useExisting: InputIconDirective }], ngImport: i0 });
|
|
483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InputIconDirective, decorators: [{
|
|
484
|
+
type: Directive,
|
|
485
|
+
args: [{
|
|
486
|
+
selector: '[mozInputIcon]',
|
|
487
|
+
providers: [{ provide: MOZ_INPUT_ICON, useExisting: InputIconDirective }],
|
|
488
|
+
}]
|
|
489
|
+
}] });
|
|
490
|
+
|
|
491
|
+
class FieldErrorComponent {
|
|
492
|
+
}
|
|
493
|
+
FieldErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
494
|
+
FieldErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FieldErrorComponent, selector: "moz-field-error", host: { properties: { "class.mc-field__error-message": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["@charset \"UTF-8\";.mc-field__label,.mc-field__legend{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__legend+.mc-field__container,.mc-field__help+.mc-field__container{margin-top:1rem}.mc-field__requirement,.mc-field__help{font-size:.75rem;line-height:1.3333333333;font-weight:400;color:#666}.mc-field__requirement:before{content:\"\\a0-\\a0\"}.mc-field__help{display:block;margin-top:.125rem}.mc-field .mc-field__input,.mc-field .mc-field__element{margin-top:.5rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-bottom:0;margin-right:1rem}}@media screen and (min-width: 1024px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-right:2rem}}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}.mc-field--group .mc-field__error-message{margin-top:.5rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldErrorComponent, decorators: [{
|
|
496
|
+
type: Component,
|
|
497
|
+
args: [{ selector: 'moz-field-error', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
498
|
+
'[class.mc-field__error-message]': 'true',
|
|
499
|
+
}, template: "<ng-content></ng-content>\n", styles: ["@charset \"UTF-8\";.mc-field__label,.mc-field__legend{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__legend+.mc-field__container,.mc-field__help+.mc-field__container{margin-top:1rem}.mc-field__requirement,.mc-field__help{font-size:.75rem;line-height:1.3333333333;font-weight:400;color:#666}.mc-field__requirement:before{content:\"\\a0-\\a0\"}.mc-field__help{display:block;margin-top:.125rem}.mc-field .mc-field__input,.mc-field .mc-field__element{margin-top:.5rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-bottom:0;margin-right:1rem}}@media screen and (min-width: 1024px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-right:2rem}}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}.mc-field--group .mc-field__error-message{margin-top:.5rem}\n"] }]
|
|
500
|
+
}] });
|
|
501
|
+
|
|
502
|
+
class FieldComponent {
|
|
503
|
+
get viewLabel() {
|
|
504
|
+
return !!(this.label || this.requirementText || this.helpText);
|
|
505
|
+
}
|
|
506
|
+
get hasInputIcon() {
|
|
507
|
+
return this.InputIconDirective?.changes.pipe(startWith(!!this.InputIconDirective?.length), map(() => !!this.InputIconDirective?.length));
|
|
508
|
+
}
|
|
509
|
+
constructor(cd) {
|
|
510
|
+
this.cd = cd;
|
|
511
|
+
this.label = '';
|
|
512
|
+
this.requirementText = '';
|
|
513
|
+
this.helpText = '';
|
|
514
|
+
}
|
|
515
|
+
ngAfterViewInit() {
|
|
516
|
+
this.cd.detectChanges();
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
FieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
520
|
+
FieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FieldComponent, selector: "moz-field", inputs: { label: "label", requirementText: "requirementText", helpText: "helpText" }, host: { properties: { "class.mc-field": "true" } }, queries: [{ propertyName: "InputIconDirective", predicate: MOZ_INPUT_ICON, descendants: true }], ngImport: i0, template: "<label class=\"mc-field__label\" *ngIf=\"viewLabel\">\n {{ label }}\n <span *ngIf=\"requirementText\" [attr.aria-hidden]=\"requirementText\" class=\"mc-field__requirement\">\n {{ requirementText }}\n </span>\n <span *ngIf=\"helpText\" id=\"helptext\" class=\"mc-field__help\">\n {{ helpText }}\n </span>\n</label>\n\n<ng-content></ng-content>\n\n<ng-template #inputIconTemplate>\n <ng-content select=\"[mozInputIcon]\"></ng-content>\n</ng-template>\n\n<ng-template #inputTemplate>\n <ng-content select=\"[moz-input]\"></ng-content>\n</ng-template>\n\n<div class=\"mc-left-icon-input\" *ngIf=\"hasInputIcon | async; else withoutIcon\">\n <ng-container [ngTemplateOutlet]=\"inputIconTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"inputTemplate\"></ng-container>\n</div>\n\n<ng-template #withoutIcon>\n <ng-container [ngTemplateOutlet]=\"inputTemplate\"></ng-container>\n</ng-template>\n\n<ng-content select=\"moz-field-error\"></ng-content>\n", styles: ["@charset \"UTF-8\";.mc-field__label,.mc-field__legend{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__legend+.mc-field__container,.mc-field__help+.mc-field__container{margin-top:1rem}.mc-field__requirement,.mc-field__help{font-size:.75rem;line-height:1.3333333333;font-weight:400;color:#666}.mc-field__requirement:before{content:\"\\a0-\\a0\"}.mc-field__help{display:block;margin-top:.125rem}.mc-field .mc-field__input,.mc-field .mc-field__element{margin-top:.5rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-bottom:0;margin-right:1rem}}@media screen and (min-width: 1024px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-right:2rem}}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}.mc-field--group .mc-field__error-message{margin-top:.5rem}.mc-left-icon-input{position:relative}.mc-left-icon-input__icon{position:absolute;z-index:1;top:50%;transform:translateY(-50%);fill:#666;pointer-events:none}.mc-left-icon-input .mc-left-icon-input__icon{left:.75rem;top:50%;width:1.5rem;height:1.5rem}.mc-left-icon-input .mc-left-icon-input__input{padding-left:2.9375rem}.mc-left-icon-input--s .mc-left-icon-input__icon{left:.5rem;top:50%;width:1.5rem;height:1.5rem}.mc-left-icon-input--s .mc-left-icon-input__input{padding-left:2.4375rem}.mc-field{display:block}.mc-field__label{margin-bottom:.5rem;display:inline-block}.mc-left-icon-input [mozInputIcon]{left:.75rem;top:50%;width:1.5rem;height:1.5rem;position:absolute;z-index:1;transform:translateY(-50%);fill:#666;pointer-events:none}.mc-left-icon-input [moz-input]{padding-left:2.9375rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldComponent, decorators: [{
|
|
522
|
+
type: Component,
|
|
523
|
+
args: [{ selector: 'moz-field', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
524
|
+
'[class.mc-field]': 'true',
|
|
525
|
+
}, template: "<label class=\"mc-field__label\" *ngIf=\"viewLabel\">\n {{ label }}\n <span *ngIf=\"requirementText\" [attr.aria-hidden]=\"requirementText\" class=\"mc-field__requirement\">\n {{ requirementText }}\n </span>\n <span *ngIf=\"helpText\" id=\"helptext\" class=\"mc-field__help\">\n {{ helpText }}\n </span>\n</label>\n\n<ng-content></ng-content>\n\n<ng-template #inputIconTemplate>\n <ng-content select=\"[mozInputIcon]\"></ng-content>\n</ng-template>\n\n<ng-template #inputTemplate>\n <ng-content select=\"[moz-input]\"></ng-content>\n</ng-template>\n\n<div class=\"mc-left-icon-input\" *ngIf=\"hasInputIcon | async; else withoutIcon\">\n <ng-container [ngTemplateOutlet]=\"inputIconTemplate\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"inputTemplate\"></ng-container>\n</div>\n\n<ng-template #withoutIcon>\n <ng-container [ngTemplateOutlet]=\"inputTemplate\"></ng-container>\n</ng-template>\n\n<ng-content select=\"moz-field-error\"></ng-content>\n", styles: ["@charset \"UTF-8\";.mc-field__label,.mc-field__legend{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#333}.mc-field__legend{padding-left:0;padding-right:0}.mc-field__legend+.mc-field__container,.mc-field__help+.mc-field__container{margin-top:1rem}.mc-field__requirement,.mc-field__help{font-size:.75rem;line-height:1.3333333333;font-weight:400;color:#666}.mc-field__requirement:before{content:\"\\a0-\\a0\"}.mc-field__help{display:block;margin-top:.125rem}.mc-field .mc-field__input,.mc-field .mc-field__element{margin-top:.5rem}@media screen and (min-width: 769px){.mc-field__container--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-bottom:0;margin-right:1rem}}@media screen and (min-width: 1024px){.mc-field__container--inline .mc-field__item:not(:last-child){margin-right:2rem}}.mc-field__item:not(:last-child){margin-bottom:1rem}.mc-field__error-message{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-field--group{border:none;margin-left:0;margin-right:0;padding:0}.mc-field--group .mc-field__error-message{margin-top:.5rem}.mc-left-icon-input{position:relative}.mc-left-icon-input__icon{position:absolute;z-index:1;top:50%;transform:translateY(-50%);fill:#666;pointer-events:none}.mc-left-icon-input .mc-left-icon-input__icon{left:.75rem;top:50%;width:1.5rem;height:1.5rem}.mc-left-icon-input .mc-left-icon-input__input{padding-left:2.9375rem}.mc-left-icon-input--s .mc-left-icon-input__icon{left:.5rem;top:50%;width:1.5rem;height:1.5rem}.mc-left-icon-input--s .mc-left-icon-input__input{padding-left:2.4375rem}.mc-field{display:block}.mc-field__label{margin-bottom:.5rem;display:inline-block}.mc-left-icon-input [mozInputIcon]{left:.75rem;top:50%;width:1.5rem;height:1.5rem;position:absolute;z-index:1;transform:translateY(-50%);fill:#666;pointer-events:none}.mc-left-icon-input [moz-input]{padding-left:2.9375rem}\n"] }]
|
|
526
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { label: [{
|
|
527
|
+
type: Input
|
|
528
|
+
}], requirementText: [{
|
|
529
|
+
type: Input
|
|
530
|
+
}], helpText: [{
|
|
531
|
+
type: Input
|
|
532
|
+
}], InputIconDirective: [{
|
|
533
|
+
type: ContentChildren,
|
|
534
|
+
args: [MOZ_INPUT_ICON, { descendants: true }]
|
|
535
|
+
}] } });
|
|
536
|
+
|
|
537
|
+
class FieldModule {
|
|
538
|
+
}
|
|
539
|
+
FieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
540
|
+
FieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, declarations: [FieldComponent, FieldErrorComponent, InputIconDirective], imports: [CommonModule], exports: [FieldComponent, FieldErrorComponent, InputIconDirective] });
|
|
541
|
+
FieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, imports: [CommonModule] });
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, decorators: [{
|
|
543
|
+
type: NgModule,
|
|
544
|
+
args: [{
|
|
545
|
+
imports: [CommonModule],
|
|
546
|
+
declarations: [FieldComponent, FieldErrorComponent, InputIconDirective],
|
|
547
|
+
exports: [FieldComponent, FieldErrorComponent, InputIconDirective],
|
|
548
|
+
}]
|
|
549
|
+
}] });
|
|
550
|
+
|
|
551
|
+
var IconSize;
|
|
552
|
+
(function (IconSize) {
|
|
553
|
+
IconSize["S"] = "16px";
|
|
554
|
+
IconSize["M"] = "24px";
|
|
555
|
+
IconSize["L"] = "32px";
|
|
556
|
+
IconSize["XL"] = "48px";
|
|
557
|
+
})(IconSize || (IconSize = {}));
|
|
558
|
+
|
|
559
|
+
class IconService {
|
|
560
|
+
constructor(http) {
|
|
561
|
+
this.http = http;
|
|
562
|
+
this.cachedIcons = new Map();
|
|
563
|
+
this.cachedRequests = new Map();
|
|
564
|
+
}
|
|
565
|
+
getIcon(name) {
|
|
566
|
+
const cacheIcon = this.cachedIcons.get(name);
|
|
567
|
+
const cachedRequest = this.cachedRequests.get(name);
|
|
568
|
+
if (cacheIcon) {
|
|
569
|
+
return of(cacheIcon);
|
|
570
|
+
}
|
|
571
|
+
if (cachedRequest) {
|
|
572
|
+
return cachedRequest;
|
|
573
|
+
}
|
|
574
|
+
const url = `/assets/moz-icons/${name}.svg`;
|
|
575
|
+
const request = this.http.get(url, { responseType: 'text' }).pipe(tap((svg) => this.cachedIcons.set(name, svg)), catchError(() => throwError(() => this.getNotFoundError(name))), finalize(() => this.cachedRequests.delete(name)), shareReplay({ refCount: true, bufferSize: 1 }));
|
|
576
|
+
this.cachedRequests.set(name, request);
|
|
577
|
+
return request;
|
|
578
|
+
}
|
|
579
|
+
getNotFoundError(name) {
|
|
580
|
+
return Error(`
|
|
581
|
+
The icon (${name}) you are trying to display does not exist.
|
|
582
|
+
Maybe the name is incorrect.
|
|
583
|
+
=> (See all available icons: http://mozaic.adeo.cloud/Foundations/Icons/catalog/)`);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconService, deps: [{ token: i1$1.HttpClient, host: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
587
|
+
IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconService, providedIn: 'root' });
|
|
588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconService, decorators: [{
|
|
589
|
+
type: Injectable,
|
|
590
|
+
args: [{
|
|
591
|
+
providedIn: 'root',
|
|
592
|
+
}]
|
|
593
|
+
}], ctorParameters: function () { return [{ type: i1$1.HttpClient, decorators: [{
|
|
594
|
+
type: Host
|
|
595
|
+
}] }]; } });
|
|
596
|
+
|
|
597
|
+
class IconComponent {
|
|
598
|
+
constructor(iconService, elementRef) {
|
|
599
|
+
this.iconService = iconService;
|
|
600
|
+
this.elementRef = elementRef;
|
|
601
|
+
this.iconName = '';
|
|
602
|
+
}
|
|
603
|
+
ngOnChanges({ iconName }) {
|
|
604
|
+
this.needRenderIcon(iconName?.currentValue, iconName?.previousValue) &&
|
|
605
|
+
this.drawIcon(iconName?.currentValue, iconName?.previousValue);
|
|
606
|
+
}
|
|
607
|
+
needRenderIcon(currentIconName, previousIconName) {
|
|
608
|
+
return !!currentIconName && currentIconName !== previousIconName;
|
|
609
|
+
}
|
|
610
|
+
getSizeClass(name) {
|
|
611
|
+
const [size] = name.match(/\d\dpx/) || [];
|
|
612
|
+
const strategy = {
|
|
613
|
+
[IconSize.S]: 'icons-size-s',
|
|
614
|
+
[IconSize.M]: 'icons-size-m',
|
|
615
|
+
[IconSize.L]: 'icons-size-l',
|
|
616
|
+
[IconSize.XL]: 'icons-size-xl',
|
|
617
|
+
};
|
|
618
|
+
return strategy[size || null] || strategy[IconSize.S];
|
|
619
|
+
}
|
|
620
|
+
drawIcon(iconName, previousIconName) {
|
|
621
|
+
this.iconService
|
|
622
|
+
.getIcon(iconName)
|
|
623
|
+
.pipe(first())
|
|
624
|
+
.subscribe((svg) => {
|
|
625
|
+
this.elementRef.nativeElement.innerHTML = svg;
|
|
626
|
+
previousIconName &&
|
|
627
|
+
this.elementRef.nativeElement.classList.remove(this.getSizeClass(previousIconName));
|
|
628
|
+
this.elementRef.nativeElement.classList.add(this.getSizeClass(iconName));
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconComponent, deps: [{ token: IconService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
633
|
+
IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: IconComponent, selector: "moz-icon", inputs: { iconName: "iconName" }, host: { properties: { "class.icon": "true" } }, usesOnChanges: true, ngImport: i0, template: "", styles: [".icon{display:inline-flex}.icons-size-s{height:1rem;width:1rem}.icons-size-m{height:1.5rem;width:1.5rem}.icons-size-l{height:2rem;width:2rem}.icons-size-xl{height:3rem;width:3rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconComponent, decorators: [{
|
|
635
|
+
type: Component,
|
|
636
|
+
args: [{ selector: 'moz-icon', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.icon]': 'true' }, template: "", styles: [".icon{display:inline-flex}.icons-size-s{height:1rem;width:1rem}.icons-size-m{height:1.5rem;width:1.5rem}.icons-size-l{height:2rem;width:2rem}.icons-size-xl{height:3rem;width:3rem}\n"] }]
|
|
637
|
+
}], ctorParameters: function () { return [{ type: IconService }, { type: i0.ElementRef }]; }, propDecorators: { iconName: [{
|
|
638
|
+
type: Input
|
|
639
|
+
}] } });
|
|
640
|
+
|
|
641
|
+
class IconModule {
|
|
642
|
+
}
|
|
643
|
+
IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
644
|
+
IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent] });
|
|
645
|
+
IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconModule, imports: [CommonModule] });
|
|
646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconModule, decorators: [{
|
|
647
|
+
type: NgModule,
|
|
648
|
+
args: [{
|
|
649
|
+
declarations: [IconComponent],
|
|
650
|
+
imports: [CommonModule],
|
|
651
|
+
exports: [IconComponent],
|
|
652
|
+
}]
|
|
653
|
+
}] });
|
|
654
|
+
|
|
655
|
+
const layerAnimation = trigger('layerAnimation', [
|
|
656
|
+
transition(':enter', group([
|
|
657
|
+
query(':self', [style({ opacity: 0 }), animate(200, style({ opacity: 1 }))]),
|
|
658
|
+
query('.mc-layer', [
|
|
659
|
+
style({ transform: 'translateX(250px)' }),
|
|
660
|
+
animate(200, style({ transform: 'translateX(0)' })),
|
|
661
|
+
]),
|
|
662
|
+
])),
|
|
663
|
+
transition(':leave', group([
|
|
664
|
+
query(':self', [animate(200, style({ opacity: 0 }))]),
|
|
665
|
+
query('.mc-layer', [
|
|
666
|
+
style({ transform: 'translateX(0)' }),
|
|
667
|
+
animate(200, style({ transform: 'translateX(250px)' })),
|
|
668
|
+
]),
|
|
669
|
+
])),
|
|
670
|
+
]);
|
|
671
|
+
|
|
672
|
+
const LAYER_CONFIG = new InjectionToken('LAYER_CONFIG_TOKEN');
|
|
673
|
+
|
|
674
|
+
const LAYER_DATA = new InjectionToken('LAYER_DATA_TOKEN');
|
|
675
|
+
|
|
676
|
+
const LAYER_REF = new InjectionToken('LAYER_DATA_TOKEN');
|
|
677
|
+
|
|
678
|
+
class LayerComponent {
|
|
679
|
+
get title() {
|
|
680
|
+
return this.config.title || 'Layer title';
|
|
681
|
+
}
|
|
682
|
+
constructor(layerRef, config, cd) {
|
|
683
|
+
this.layerRef = layerRef;
|
|
684
|
+
this.config = config;
|
|
685
|
+
this.cd = cd;
|
|
686
|
+
}
|
|
687
|
+
ngAfterViewInit() {
|
|
688
|
+
this.initChildComponent(this.childComponentType);
|
|
689
|
+
}
|
|
690
|
+
initChildComponent(componentType) {
|
|
691
|
+
this.childComponentRef = this.contentViewRef.createComponent(componentType);
|
|
692
|
+
this.cd.detectChanges();
|
|
693
|
+
}
|
|
694
|
+
close() {
|
|
695
|
+
this.layerRef.close();
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
LayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerComponent, deps: [{ token: LAYER_REF }, { token: LAYER_CONFIG }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
699
|
+
LayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: LayerComponent, selector: "moz-layer", host: { properties: { "@layerAnimation": "true" } }, viewQueries: [{ propertyName: "contentViewRef", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<div\n class=\"mc-layer\"\n role=\"dialog\"\n aria-labelledby=\"layerTitle\"\n aria-modal=\"true\"\n aria-hidden=\"true\"\n tabindex=\"-1\"\n>\n <div class=\"mc-layer__dialog is-open\" role=\"document\">\n <div class=\"mc-layer__header\">\n <h2 class=\"mc-layer__title\" id=\"layerTitle\">{{ title }}</h2>\n <button class=\"mc-layer__close\" type=\"button\" (click)=\"close()\">\n <span class=\"mc-layer__close-text\">Close</span>\n </button>\n </div>\n <div class=\"mc-layer__body\">\n <ng-template #content></ng-template>\n </div>\n </div>\n</div>\n<div class=\"mc-layer-overlay is-visible\" tabindex=\"-1\" role=\"dialog\"></div>\n", styles: [".mc-layer{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;inset:0;outline:0;pointer-events:none;position:fixed;z-index:1999999999;display:flex;overflow:hidden}.mc-layer *{box-sizing:inherit}.mc-layer--ltr{justify-content:flex-start}.mc-layer--ltr .mc-layer__dialog{transform:translate3d(-100%,0,0)}.mc-layer:not(.mc-layer--ltr){justify-content:flex-end}.mc-layer:not(.mc-layer--ltr) .mc-layer__dialog{transform:translate3d(100%,0,0)}.mc-layer__dialog{background:#ffffff;display:flex;flex-direction:column;height:100%;max-width:calc(100% - 2rem);transition:visibility 0s linear .4s,transform .4s;visibility:hidden;width:100%}@media screen and (min-width: 680px){.mc-layer__dialog{max-width:25rem}}@media screen and (min-width: 769px){.mc-layer__dialog{max-width:28.6875rem}}@media screen and (min-width: 1024px){.mc-layer__dialog{max-width:28rem}}@media screen and (min-width: 680px){.mc-layer__dialog--extend{max-width:31.75rem}}@media screen and (min-width: 769px){.mc-layer__dialog--extend{max-width:36.3125rem}}@media screen and (min-width: 1024px){.mc-layer__dialog--extend{max-width:43rem}}.mc-layer__header,.mc-layer__footer{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 1024px){.mc-layer__header,.mc-layer__footer{padding-left:2rem;padding-right:2rem}}.mc-layer__header{display:flex;align-items:center;padding-bottom:.5rem;padding-top:1rem;min-height:3.75rem;position:relative}.mc-layer__header:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 1024px){.mc-layer__header{padding-bottom:.75rem;padding-top:1.25rem;min-height:4.25rem}}.mc-layer__icon{fill:#666;height:1.5rem;margin-right:.75rem;width:1.5rem}.mc-layer__title{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#666;margin-bottom:0;margin-top:0}.mc-layer__close{box-shadow:none;text-decoration:none;outline:none;border:none;padding:0;position:relative;align-self:flex-start;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23808080'%3E%3Cpath d='M17.41 16l8.8-8.79a1 1 0 10-1.42-1.42L16 14.59l-8.79-8.8a1 1 0 00-1.42 1.42l8.8 8.79-8.8 8.79a1 1 0 000 1.42 1 1 0 001.42 0l8.79-8.8 8.79 8.8a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:contain;cursor:pointer;height:2rem;margin:0 0 0 auto;width:2rem}.mc-layer__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-layer__close-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-layer__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-layer__body{flex:1 1;overflow:hidden;padding-left:.5rem;padding-right:.5rem}@media screen and (min-width: 1024px){.mc-layer__body{padding-left:1rem;padding-right:1rem}}.mc-layer__body--overflowing+.mc-layer__footer,.mc-layer__body--overflowing-scroll-edge+.mc-layer__footer{box-shadow:0 4px 20px #19191933;position:relative}.mc-layer__body--overflowing-scroll-edge{padding-left:0;padding-right:0}.mc-layer__body--overflowing-scroll-edge .mc-layer__content{padding-left:1rem;padding-right:1.125rem}@media screen and (min-width: 1024px){.mc-layer__body--overflowing-scroll-edge .mc-layer__content{padding-left:2rem;padding-right:2rem}}.mc-layer__body--scroll-end+.mc-layer__footer{box-shadow:none}.mc-layer__content{max-height:100%;overflow-y:auto;overflow-x:hidden;padding:1.5rem .5rem 3rem;scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin}@media screen and (min-width: 1024px){.mc-layer__content{padding-left:1rem;padding-right:1rem}}.mc-layer__content::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-layer__content::-webkit-scrollbar-thumb{background:#666666}.mc-layer__footer{display:flex;flex-direction:column;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 1024px){.mc-layer__footer{align-items:center;flex-direction:row;justify-content:center;padding-top:1.5rem;padding-bottom:1.5rem}}.mc-layer__footer>:first-child:not(:only-child){margin-bottom:.75rem}@media screen and (min-width: 1024px){.mc-layer__footer>:first-child:not(:only-child){margin-bottom:0;margin-right:1rem}}.mc-layer-open{overflow:hidden}.mc-layer .mc-layer__dialog.is-open{pointer-events:all;transform:translateZ(0);transition:visibility 0s linear 0s,transform .4s;visibility:visible}.mc-layer-overlay{background-color:#191919b3;filter:blur(1px);inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998}.mc-layer-overlay.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-layer__close{background:transparent url(assets/special-icons/layer-cross.svg) no-repeat}\n"], animations: [layerAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerComponent, decorators: [{
|
|
701
|
+
type: Component,
|
|
702
|
+
args: [{ selector: 'moz-layer', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [layerAnimation], host: { '[@layerAnimation]': 'true' }, template: "<div\n class=\"mc-layer\"\n role=\"dialog\"\n aria-labelledby=\"layerTitle\"\n aria-modal=\"true\"\n aria-hidden=\"true\"\n tabindex=\"-1\"\n>\n <div class=\"mc-layer__dialog is-open\" role=\"document\">\n <div class=\"mc-layer__header\">\n <h2 class=\"mc-layer__title\" id=\"layerTitle\">{{ title }}</h2>\n <button class=\"mc-layer__close\" type=\"button\" (click)=\"close()\">\n <span class=\"mc-layer__close-text\">Close</span>\n </button>\n </div>\n <div class=\"mc-layer__body\">\n <ng-template #content></ng-template>\n </div>\n </div>\n</div>\n<div class=\"mc-layer-overlay is-visible\" tabindex=\"-1\" role=\"dialog\"></div>\n", styles: [".mc-layer{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;inset:0;outline:0;pointer-events:none;position:fixed;z-index:1999999999;display:flex;overflow:hidden}.mc-layer *{box-sizing:inherit}.mc-layer--ltr{justify-content:flex-start}.mc-layer--ltr .mc-layer__dialog{transform:translate3d(-100%,0,0)}.mc-layer:not(.mc-layer--ltr){justify-content:flex-end}.mc-layer:not(.mc-layer--ltr) .mc-layer__dialog{transform:translate3d(100%,0,0)}.mc-layer__dialog{background:#ffffff;display:flex;flex-direction:column;height:100%;max-width:calc(100% - 2rem);transition:visibility 0s linear .4s,transform .4s;visibility:hidden;width:100%}@media screen and (min-width: 680px){.mc-layer__dialog{max-width:25rem}}@media screen and (min-width: 769px){.mc-layer__dialog{max-width:28.6875rem}}@media screen and (min-width: 1024px){.mc-layer__dialog{max-width:28rem}}@media screen and (min-width: 680px){.mc-layer__dialog--extend{max-width:31.75rem}}@media screen and (min-width: 769px){.mc-layer__dialog--extend{max-width:36.3125rem}}@media screen and (min-width: 1024px){.mc-layer__dialog--extend{max-width:43rem}}.mc-layer__header,.mc-layer__footer{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 1024px){.mc-layer__header,.mc-layer__footer{padding-left:2rem;padding-right:2rem}}.mc-layer__header{display:flex;align-items:center;padding-bottom:.5rem;padding-top:1rem;min-height:3.75rem;position:relative}.mc-layer__header:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 1024px){.mc-layer__header{padding-bottom:.75rem;padding-top:1.25rem;min-height:4.25rem}}.mc-layer__icon{fill:#666;height:1.5rem;margin-right:.75rem;width:1.5rem}.mc-layer__title{font-size:.875rem;line-height:1.2857142857;font-weight:400;color:#666;margin-bottom:0;margin-top:0}.mc-layer__close{box-shadow:none;text-decoration:none;outline:none;border:none;padding:0;position:relative;align-self:flex-start;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23808080'%3E%3Cpath d='M17.41 16l8.8-8.79a1 1 0 10-1.42-1.42L16 14.59l-8.79-8.8a1 1 0 00-1.42 1.42l8.8 8.79-8.8 8.79a1 1 0 000 1.42 1 1 0 001.42 0l8.79-8.8 8.79 8.8a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:contain;cursor:pointer;height:2rem;margin:0 0 0 auto;width:2rem}.mc-layer__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-layer__close-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-layer__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-layer__body{flex:1 1;overflow:hidden;padding-left:.5rem;padding-right:.5rem}@media screen and (min-width: 1024px){.mc-layer__body{padding-left:1rem;padding-right:1rem}}.mc-layer__body--overflowing+.mc-layer__footer,.mc-layer__body--overflowing-scroll-edge+.mc-layer__footer{box-shadow:0 4px 20px #19191933;position:relative}.mc-layer__body--overflowing-scroll-edge{padding-left:0;padding-right:0}.mc-layer__body--overflowing-scroll-edge .mc-layer__content{padding-left:1rem;padding-right:1.125rem}@media screen and (min-width: 1024px){.mc-layer__body--overflowing-scroll-edge .mc-layer__content{padding-left:2rem;padding-right:2rem}}.mc-layer__body--scroll-end+.mc-layer__footer{box-shadow:none}.mc-layer__content{max-height:100%;overflow-y:auto;overflow-x:hidden;padding:1.5rem .5rem 3rem;scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin}@media screen and (min-width: 1024px){.mc-layer__content{padding-left:1rem;padding-right:1rem}}.mc-layer__content::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-layer__content::-webkit-scrollbar-thumb{background:#666666}.mc-layer__footer{display:flex;flex-direction:column;padding-top:1rem;padding-bottom:1rem}@media screen and (min-width: 1024px){.mc-layer__footer{align-items:center;flex-direction:row;justify-content:center;padding-top:1.5rem;padding-bottom:1.5rem}}.mc-layer__footer>:first-child:not(:only-child){margin-bottom:.75rem}@media screen and (min-width: 1024px){.mc-layer__footer>:first-child:not(:only-child){margin-bottom:0;margin-right:1rem}}.mc-layer-open{overflow:hidden}.mc-layer .mc-layer__dialog.is-open{pointer-events:all;transform:translateZ(0);transition:visibility 0s linear 0s,transform .4s;visibility:visible}.mc-layer-overlay{background-color:#191919b3;filter:blur(1px);inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998}.mc-layer-overlay.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-layer__close{background:transparent url(assets/special-icons/layer-cross.svg) no-repeat}\n"] }]
|
|
703
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
704
|
+
type: Inject,
|
|
705
|
+
args: [LAYER_REF]
|
|
706
|
+
}] }, { type: undefined, decorators: [{
|
|
707
|
+
type: Inject,
|
|
708
|
+
args: [LAYER_CONFIG]
|
|
709
|
+
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { contentViewRef: [{
|
|
710
|
+
type: ViewChild,
|
|
711
|
+
args: ['content', { read: ViewContainerRef, static: true }]
|
|
712
|
+
}] } });
|
|
713
|
+
|
|
714
|
+
class LayerInjector {
|
|
715
|
+
constructor({ injector, layerRef }) {
|
|
716
|
+
this.parentInjector = injector;
|
|
717
|
+
this.layerRef = layerRef;
|
|
718
|
+
this.initAdditionalTokens();
|
|
719
|
+
}
|
|
720
|
+
get(token, notFoundValue) {
|
|
721
|
+
const value = this.additionalTokens.get(token);
|
|
722
|
+
if (value) {
|
|
723
|
+
return value;
|
|
724
|
+
}
|
|
725
|
+
return this.parentInjector.get(token, notFoundValue);
|
|
726
|
+
}
|
|
727
|
+
initAdditionalTokens() {
|
|
728
|
+
this.additionalTokens = new WeakMap();
|
|
729
|
+
this.additionalTokens.set(LAYER_REF, this.layerRef);
|
|
730
|
+
this.additionalTokens.set(LAYER_CONFIG, this.layerRef.config);
|
|
731
|
+
this.additionalTokens.set(LAYER_DATA, this.layerRef.config.data);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
class LayerRefModel {
|
|
736
|
+
get afterClosed$() {
|
|
737
|
+
return this._afterClosed$.pipe(first());
|
|
738
|
+
}
|
|
739
|
+
get config$() {
|
|
740
|
+
return this._config$.asObservable();
|
|
741
|
+
}
|
|
742
|
+
get config() {
|
|
743
|
+
return this._config$.getValue();
|
|
744
|
+
}
|
|
745
|
+
get componentRef() {
|
|
746
|
+
return this._componentRef;
|
|
747
|
+
}
|
|
748
|
+
constructor(layerConfig) {
|
|
749
|
+
this.layerConfig = layerConfig;
|
|
750
|
+
this._config$ = new BehaviorSubject({});
|
|
751
|
+
this._afterClosed$ = new Subject();
|
|
752
|
+
this.init(layerConfig);
|
|
753
|
+
}
|
|
754
|
+
init(config) {
|
|
755
|
+
this.updateConfig(config);
|
|
756
|
+
}
|
|
757
|
+
updateConfig(config) {
|
|
758
|
+
this._config$.next({ ...this.config, ...config });
|
|
759
|
+
}
|
|
760
|
+
close(result) {
|
|
761
|
+
this._afterClosed$.next(result);
|
|
762
|
+
}
|
|
763
|
+
setComponentRef(componentRef) {
|
|
764
|
+
this._componentRef = componentRef;
|
|
765
|
+
}
|
|
766
|
+
destroy() {
|
|
767
|
+
this._config$.complete();
|
|
768
|
+
this._afterClosed$.complete();
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
class LayerService {
|
|
773
|
+
constructor(componentFactoryResolver, injector, applicationRef, document) {
|
|
774
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
775
|
+
this.injector = injector;
|
|
776
|
+
this.applicationRef = applicationRef;
|
|
777
|
+
this.document = document;
|
|
778
|
+
}
|
|
779
|
+
open(component, config = {}) {
|
|
780
|
+
const layerRef = this.createLayer(config);
|
|
781
|
+
this.applyChildComponent({ component, layerRef });
|
|
782
|
+
return layerRef;
|
|
783
|
+
}
|
|
784
|
+
createLayer(config) {
|
|
785
|
+
const layerRef = new LayerRefModel(config);
|
|
786
|
+
const layerInjector = new LayerInjector({ injector: this.injector, layerRef });
|
|
787
|
+
const componentRef = this.createComponentRef(layerInjector);
|
|
788
|
+
layerRef.setComponentRef(componentRef);
|
|
789
|
+
this.appendLayerComponentToBody(componentRef);
|
|
790
|
+
this.initDialogRefAfterClosedObserver(layerRef, componentRef);
|
|
791
|
+
return layerRef;
|
|
792
|
+
}
|
|
793
|
+
initDialogRefAfterClosedObserver(layerRef, componentRef) {
|
|
794
|
+
layerRef.afterClosed$.subscribe(() => componentRef.destroy());
|
|
795
|
+
}
|
|
796
|
+
createComponentRef(injector) {
|
|
797
|
+
return this.componentFactoryResolver.resolveComponentFactory(LayerComponent).create(injector);
|
|
798
|
+
}
|
|
799
|
+
appendLayerComponentToBody(componentRef) {
|
|
800
|
+
const componentHostView = componentRef.hostView;
|
|
801
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
802
|
+
this.applicationRef.attachView(componentHostView);
|
|
803
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
804
|
+
}
|
|
805
|
+
applyChildComponent({ layerRef, component, }) {
|
|
806
|
+
const { instance } = layerRef.componentRef;
|
|
807
|
+
instance.childComponentType = component;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
LayerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
811
|
+
LayerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerService, providedIn: 'root' });
|
|
812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerService, decorators: [{
|
|
813
|
+
type: Injectable,
|
|
814
|
+
args: [{
|
|
815
|
+
providedIn: 'root',
|
|
816
|
+
}]
|
|
817
|
+
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: Document, decorators: [{
|
|
818
|
+
type: Inject,
|
|
819
|
+
args: [DOCUMENT]
|
|
820
|
+
}] }]; } });
|
|
821
|
+
|
|
822
|
+
class LayerModule {
|
|
823
|
+
}
|
|
824
|
+
LayerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
825
|
+
LayerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, declarations: [LayerComponent], imports: [CommonModule, IconModule], exports: [LayerComponent] });
|
|
826
|
+
LayerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, providers: [LayerService], imports: [CommonModule, IconModule] });
|
|
827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, decorators: [{
|
|
828
|
+
type: NgModule,
|
|
829
|
+
args: [{
|
|
830
|
+
imports: [CommonModule, IconModule],
|
|
831
|
+
providers: [LayerService],
|
|
832
|
+
declarations: [LayerComponent],
|
|
833
|
+
exports: [LayerComponent],
|
|
834
|
+
}]
|
|
835
|
+
}] });
|
|
836
|
+
|
|
837
|
+
const CIRCLE_VIEW_BOX_SIZES = {
|
|
838
|
+
s: '0 0 24 24',
|
|
839
|
+
m: '0 0 32 32',
|
|
840
|
+
l: '0 0 64 64',
|
|
841
|
+
};
|
|
842
|
+
const CIRCLE_RADIUSES = {
|
|
843
|
+
s: 6,
|
|
844
|
+
m: 9,
|
|
845
|
+
l: 19,
|
|
846
|
+
};
|
|
847
|
+
|
|
848
|
+
class LoaderComponent {
|
|
849
|
+
get viewText() {
|
|
850
|
+
return this.isOverlay && !!this.text;
|
|
851
|
+
}
|
|
852
|
+
get overlayCssClasses() {
|
|
853
|
+
return {
|
|
854
|
+
'mc-overlay-loader': true,
|
|
855
|
+
'is-visible': !this.hideOverlay,
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
get loaderCssClasses() {
|
|
859
|
+
return {
|
|
860
|
+
'mc-loader': true,
|
|
861
|
+
[`mc-loader--${this.size}`]: true,
|
|
862
|
+
[`mc-loader--${this.theme}`]: this.theme !== 'primary',
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
get viewBoxSize() {
|
|
866
|
+
return CIRCLE_VIEW_BOX_SIZES[this.size];
|
|
867
|
+
}
|
|
868
|
+
get radius() {
|
|
869
|
+
return CIRCLE_RADIUSES[this.size];
|
|
870
|
+
}
|
|
871
|
+
constructor(cd) {
|
|
872
|
+
this.cd = cd;
|
|
873
|
+
this.size = 'm';
|
|
874
|
+
this.theme = 'primary';
|
|
875
|
+
this.isOverlay = false;
|
|
876
|
+
this.hideOverlay = true;
|
|
877
|
+
this.text = '';
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
881
|
+
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: LoaderComponent, selector: "moz-loader", inputs: { size: "size", theme: "theme" }, host: { properties: { "class.loader": "!isOverlay" } }, ngImport: i0, template: "<ng-template #loader>\n <div [ngClass]=\"loaderCssClasses\">\n <span class=\"mc-loader__spinner\">\n <svg class=\"mc-loader__icon\" xmlns=\"http://www.w3.org/2000/svg\" [attr.viewBox]=\"viewBoxSize\">\n <circle class=\"mc-loader__path\" cx=\"50%\" cy=\"50%\" [attr.r]=\"radius\" />\n </svg>\n </span>\n\n <span class=\"mc-loader__text\" *ngIf=\"viewText\">{{ text }}</span>\n </div>\n</ng-template>\n\n<div [ngClass]=\"overlayCssClasses\" tabindex=\"-1\" role=\"dialog\" *ngIf=\"isOverlay; else loader\">\n <ng-container [ngTemplateOutlet]=\"loader\"></ng-container>\n</div>\n", styles: [".mc-overlay{background-color:#191919b3;filter:blur(1px);inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998}.mc-overlay.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-overlay-loader{background-color:#191919b3;inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998;align-items:center;display:flex;justify-content:center}.mc-overlay-loader.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-loader{color:#188803;align-items:center;display:inline-flex;flex-direction:column}.mc-loader .mc-loader__spinner{height:2rem;width:2rem}.mc-loader .mc-loader__path{stroke-width:4}.mc-loader .mc-loader__path{stroke:currentColor}.mc-loader__spinner:not(:only-child){margin-bottom:1rem}.mc-loader__icon{animation:rotate-loader 2s linear infinite;transform-origin:center}.mc-loader__path{fill:none;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:animate-dash-loader 2s ease-in-out infinite}.mc-loader__text{font-size:1rem;line-height:1.375;color:currentColor}.mc-loader--s .mc-loader__spinner{height:1.5rem;width:1.5rem}.mc-loader--s .mc-loader__path{stroke-width:4}.mc-loader--l .mc-loader__spinner{height:4rem;width:4rem}.mc-loader--l .mc-loader__path{stroke-width:8}.mc-loader--dark{color:#191919}.mc-loader--dark .mc-loader__path{stroke:currentColor}.mc-loader--light{color:#fff}.mc-loader--light .mc-loader__path{stroke:currentColor}@keyframes rotate-loader{0%{transform:rotate(0)}to{transform:rotate(270deg)}}@keyframes animate-dash-loader{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.loader{display:inline-flex}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
883
|
+
type: Component,
|
|
884
|
+
args: [{ selector: 'moz-loader', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.loader]': '!isOverlay' }, template: "<ng-template #loader>\n <div [ngClass]=\"loaderCssClasses\">\n <span class=\"mc-loader__spinner\">\n <svg class=\"mc-loader__icon\" xmlns=\"http://www.w3.org/2000/svg\" [attr.viewBox]=\"viewBoxSize\">\n <circle class=\"mc-loader__path\" cx=\"50%\" cy=\"50%\" [attr.r]=\"radius\" />\n </svg>\n </span>\n\n <span class=\"mc-loader__text\" *ngIf=\"viewText\">{{ text }}</span>\n </div>\n</ng-template>\n\n<div [ngClass]=\"overlayCssClasses\" tabindex=\"-1\" role=\"dialog\" *ngIf=\"isOverlay; else loader\">\n <ng-container [ngTemplateOutlet]=\"loader\"></ng-container>\n</div>\n", styles: [".mc-overlay{background-color:#191919b3;filter:blur(1px);inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998}.mc-overlay.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-overlay-loader{background-color:#191919b3;inset:0;opacity:0;position:fixed;pointer-events:none;transition:opacity .4s ease,visibility 0ms .4s;z-index:1999999998;align-items:center;display:flex;justify-content:center}.mc-overlay-loader.is-visible{opacity:1;pointer-events:all;transition:opacity .4s ease,visibility 0ms;visibility:visible}.mc-loader{color:#188803;align-items:center;display:inline-flex;flex-direction:column}.mc-loader .mc-loader__spinner{height:2rem;width:2rem}.mc-loader .mc-loader__path{stroke-width:4}.mc-loader .mc-loader__path{stroke:currentColor}.mc-loader__spinner:not(:only-child){margin-bottom:1rem}.mc-loader__icon{animation:rotate-loader 2s linear infinite;transform-origin:center}.mc-loader__path{fill:none;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:animate-dash-loader 2s ease-in-out infinite}.mc-loader__text{font-size:1rem;line-height:1.375;color:currentColor}.mc-loader--s .mc-loader__spinner{height:1.5rem;width:1.5rem}.mc-loader--s .mc-loader__path{stroke-width:4}.mc-loader--l .mc-loader__spinner{height:4rem;width:4rem}.mc-loader--l .mc-loader__path{stroke-width:8}.mc-loader--dark{color:#191919}.mc-loader--dark .mc-loader__path{stroke:currentColor}.mc-loader--light{color:#fff}.mc-loader--light .mc-loader__path{stroke:currentColor}@keyframes rotate-loader{0%{transform:rotate(0)}to{transform:rotate(270deg)}}@keyframes animate-dash-loader{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.loader{display:inline-flex}\n"] }]
|
|
885
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
|
|
886
|
+
type: Input
|
|
887
|
+
}], theme: [{
|
|
888
|
+
type: Input
|
|
889
|
+
}] } });
|
|
890
|
+
|
|
891
|
+
class LoaderService {
|
|
892
|
+
get _loaderComponent() {
|
|
893
|
+
return this._loaderRef.instance;
|
|
894
|
+
}
|
|
895
|
+
constructor(applicationRef, componentFactoryResolver, injector, document) {
|
|
896
|
+
this.applicationRef = applicationRef;
|
|
897
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
898
|
+
this.injector = injector;
|
|
899
|
+
this.document = document;
|
|
900
|
+
this._loaderRef = this.createComponentRef();
|
|
901
|
+
this._loaderComponent.isOverlay = true;
|
|
902
|
+
this._loaderComponent.theme = 'light';
|
|
903
|
+
this.appendLoaderToBody(this._loaderRef);
|
|
904
|
+
}
|
|
905
|
+
startLoad(config) {
|
|
906
|
+
const { size = 'l', text = '' } = config || {};
|
|
907
|
+
this._loaderComponent.size = size;
|
|
908
|
+
this._loaderComponent.text = text;
|
|
909
|
+
this._loaderComponent.hideOverlay = false;
|
|
910
|
+
this._loaderComponent.cd.markForCheck();
|
|
911
|
+
}
|
|
912
|
+
stopLoad() {
|
|
913
|
+
this._loaderComponent.hideOverlay = true;
|
|
914
|
+
this._loaderComponent.cd.markForCheck();
|
|
915
|
+
}
|
|
916
|
+
createComponentRef() {
|
|
917
|
+
return this.componentFactoryResolver
|
|
918
|
+
.resolveComponentFactory(LoaderComponent)
|
|
919
|
+
.create(this.injector);
|
|
920
|
+
}
|
|
921
|
+
appendLoaderToBody(componentRef) {
|
|
922
|
+
const componentHostView = componentRef.hostView;
|
|
923
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
924
|
+
this.applicationRef.attachView(componentHostView);
|
|
925
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
LoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
929
|
+
LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderService, providedIn: 'root' });
|
|
930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderService, decorators: [{
|
|
931
|
+
type: Injectable,
|
|
932
|
+
args: [{
|
|
933
|
+
providedIn: 'root',
|
|
934
|
+
}]
|
|
935
|
+
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: Document, decorators: [{
|
|
936
|
+
type: Inject,
|
|
937
|
+
args: [DOCUMENT]
|
|
938
|
+
}] }]; } });
|
|
939
|
+
|
|
940
|
+
class LoaderModule {
|
|
941
|
+
}
|
|
942
|
+
LoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
943
|
+
LoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, declarations: [LoaderComponent], imports: [CommonModule], exports: [LoaderComponent] });
|
|
944
|
+
LoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, providers: [LoaderService], imports: [CommonModule] });
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, decorators: [{
|
|
946
|
+
type: NgModule,
|
|
947
|
+
args: [{
|
|
948
|
+
imports: [CommonModule],
|
|
949
|
+
declarations: [LoaderComponent],
|
|
950
|
+
providers: [LoaderService],
|
|
951
|
+
exports: [LoaderComponent],
|
|
952
|
+
}]
|
|
953
|
+
}] });
|
|
954
|
+
|
|
955
|
+
const NOTIFICATION_CONFIG = new InjectionToken('NOTIFICATION_CONFIG');
|
|
956
|
+
class NotificationConfigFactory {
|
|
957
|
+
static create(config = {}) {
|
|
958
|
+
return { duration: 3000, ...config };
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
const NotificationAnimation = trigger('fadeIn', [
|
|
963
|
+
transition(':enter', [
|
|
964
|
+
style({ opacity: 1, transform: 'translateY(50%)' }),
|
|
965
|
+
animate('300ms ease-out', style({ transform: 'translateY(0)' })),
|
|
966
|
+
]),
|
|
967
|
+
transition(':leave', [
|
|
968
|
+
group([
|
|
969
|
+
query('.mc-notification__title', [animate('200ms', style({ opacity: 0, height: 0 }))], {
|
|
970
|
+
optional: true,
|
|
971
|
+
}),
|
|
972
|
+
query('.mc-notification__message', [animate('200ms', style({ opacity: 0, height: 0 }))], {
|
|
973
|
+
optional: true,
|
|
974
|
+
}),
|
|
975
|
+
query(':self', [
|
|
976
|
+
animate('300ms', style({ opacity: 0, height: 0, padding: 0, transform: 'translateY(-200%)' })),
|
|
977
|
+
]),
|
|
978
|
+
]),
|
|
979
|
+
]),
|
|
980
|
+
]);
|
|
981
|
+
|
|
982
|
+
class NotificationComponent {
|
|
983
|
+
constructor() {
|
|
984
|
+
this.type = 'information';
|
|
985
|
+
this.size = 'm';
|
|
986
|
+
}
|
|
987
|
+
get hostCssClasses() {
|
|
988
|
+
const staticClasses = 'mc-notification';
|
|
989
|
+
const sizeCssClass = `mc-notification--${this.size}`;
|
|
990
|
+
const typeCssClass = `mc-notification--${this.type}`;
|
|
991
|
+
const dynamicClasses = `${sizeCssClass} ${typeCssClass}`;
|
|
992
|
+
return `${staticClasses} ${dynamicClasses}`;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
996
|
+
NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NotificationComponent, selector: "moz-notification", inputs: { type: "type", size: "size" }, host: { properties: { "class.mc-notification": "true", "class": "this.hostCssClasses" } }, ngImport: i0, template: "<div class=\"mc-notification__content\">\n <ng-content select=\"[mozNotificationTitle]\"></ng-content>\n <ng-content select=\"[mozNotificationMessage]\"></ng-content>\n <ng-content select=\"[mozNotificationFooter]\"></ng-content>\n</div>\n", styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
998
|
+
type: Component,
|
|
999
|
+
args: [{ selector: 'moz-notification', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.mc-notification]': 'true' }, template: "<div class=\"mc-notification__content\">\n <ng-content select=\"[mozNotificationTitle]\"></ng-content>\n <ng-content select=\"[mozNotificationMessage]\"></ng-content>\n <ng-content select=\"[mozNotificationFooter]\"></ng-content>\n</div>\n", styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"] }]
|
|
1000
|
+
}], propDecorators: { type: [{
|
|
1001
|
+
type: Input
|
|
1002
|
+
}], size: [{
|
|
1003
|
+
type: Input
|
|
1004
|
+
}], hostCssClasses: [{
|
|
1005
|
+
type: HostBinding,
|
|
1006
|
+
args: ['class']
|
|
1007
|
+
}] } });
|
|
1008
|
+
|
|
1009
|
+
class NotificationTitleComponent {
|
|
1010
|
+
}
|
|
1011
|
+
NotificationTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1012
|
+
NotificationTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NotificationTitleComponent, selector: "[mozNotificationTitle]", host: { properties: { "class.mc-notification__title": "true" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationTitleComponent, decorators: [{
|
|
1014
|
+
type: Component,
|
|
1015
|
+
args: [{ template: '<ng-content></ng-content>', selector: '[mozNotificationTitle]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.mc-notification__title]': 'true' }, styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"] }]
|
|
1016
|
+
}] });
|
|
1017
|
+
|
|
1018
|
+
class NotificationMessageComponent {
|
|
1019
|
+
}
|
|
1020
|
+
NotificationMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1021
|
+
NotificationMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NotificationMessageComponent, selector: "[mozNotificationMessage]", host: { properties: { "class.mc-notification__message": "true" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationMessageComponent, decorators: [{
|
|
1023
|
+
type: Component,
|
|
1024
|
+
args: [{ template: '<ng-content></ng-content>', selector: '[mozNotificationMessage]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.mc-notification__message]': 'true' }, styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"] }]
|
|
1025
|
+
}] });
|
|
1026
|
+
|
|
1027
|
+
class NotificationContainerComponent {
|
|
1028
|
+
constructor(notificationConfig) {
|
|
1029
|
+
this.notificationConfig = notificationConfig;
|
|
1030
|
+
this._notifications = new BehaviorSubject([]);
|
|
1031
|
+
}
|
|
1032
|
+
get notifications() {
|
|
1033
|
+
return this._notifications.asObservable();
|
|
1034
|
+
}
|
|
1035
|
+
add(notification) {
|
|
1036
|
+
this._notifications.next([...this._notifications.value, notification]);
|
|
1037
|
+
this.autoremove(notification);
|
|
1038
|
+
}
|
|
1039
|
+
autoremove(notification) {
|
|
1040
|
+
setTimeout(() => {
|
|
1041
|
+
const newState = this._notifications.value.filter((n) => n !== notification);
|
|
1042
|
+
this._notifications.next(newState);
|
|
1043
|
+
}, this.notificationConfig.duration);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
NotificationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: NOTIFICATION_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
1047
|
+
NotificationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NotificationContainerComponent, selector: "moz-notification-container", ngImport: i0, template: "<ng-container *ngFor=\"let notification of notifications | async\">\n <moz-notification size=\"s\" [type]=\"notification.type\" @fadeIn>\n <h3 mozNotificationTitle *ngIf=\"notification.title\">{{ notification.title }}</h3>\n <p mozNotificationMessage *ngIf=\"notification.message\">{{ notification.message }}</p>\n </moz-notification>\n</ng-container>\n", styles: [":host{position:fixed;top:1rem;opacity:.9;display:flex;flex-direction:column;gap:1rem;width:20rem;right:1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NotificationComponent, selector: "moz-notification", inputs: ["type", "size"] }, { kind: "component", type: NotificationTitleComponent, selector: "[mozNotificationTitle]" }, { kind: "component", type: NotificationMessageComponent, selector: "[mozNotificationMessage]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], animations: [NotificationAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationContainerComponent, decorators: [{
|
|
1049
|
+
type: Component,
|
|
1050
|
+
args: [{ selector: 'moz-notification-container', changeDetection: ChangeDetectionStrategy.OnPush, animations: [NotificationAnimation], template: "<ng-container *ngFor=\"let notification of notifications | async\">\n <moz-notification size=\"s\" [type]=\"notification.type\" @fadeIn>\n <h3 mozNotificationTitle *ngIf=\"notification.title\">{{ notification.title }}</h3>\n <p mozNotificationMessage *ngIf=\"notification.message\">{{ notification.message }}</p>\n </moz-notification>\n</ng-container>\n", styles: [":host{position:fixed;top:1rem;opacity:.9;display:flex;flex-direction:column;gap:1rem;width:20rem;right:1rem}\n"] }]
|
|
1051
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1052
|
+
type: Inject,
|
|
1053
|
+
args: [NOTIFICATION_CONFIG]
|
|
1054
|
+
}] }]; } });
|
|
1055
|
+
|
|
1056
|
+
class NotificationFooterComponent {
|
|
1057
|
+
}
|
|
1058
|
+
NotificationFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1059
|
+
NotificationFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NotificationFooterComponent, selector: "[mozNotificationFooter]", host: { properties: { "class.mc-notification__footer": "true" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationFooterComponent, decorators: [{
|
|
1061
|
+
type: Component,
|
|
1062
|
+
args: [{ template: '<ng-content></ng-content>', selector: '[mozNotificationFooter]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.mc-notification__footer]': 'true' }, styles: [".mc-notification{font-family:LeroyMerlin,sans-serif;font-weight:400;border-radius:4px;display:flex;flex-flow:row wrap;align-items:flex-start;padding:1rem 1.5rem 1.5rem 1rem;background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc;box-sizing:border-box;color:#000}.mc-notification:before{background-size:2rem;flex:0 0 2rem;height:2rem;margin-right:1rem;width:2rem}.mc-notification .mc-notification__content{padding-top:.25rem}.mc-notification .mc-notification__title+.mc-notification__message{margin-top:.5rem}.mc-notification:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification:before{background-color:transparent;background-repeat:no-repeat;content:\"\";display:block}.mc-notification__content{flex:1 1 0}.mc-notification__title,.mc-notification__message{margin-bottom:0;margin-top:0}.mc-notification__title{font-family:LeroyMerlin,sans-serif;font-weight:600;font-size:1rem;line-height:1.5}.mc-notification__message{font-size:.875rem;line-height:1.5714285714}.mc-notification__footer{align-items:flex-start;display:flex;flex-direction:column;margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification__footer{flex-direction:row}}.mc-notification__link{font-size:.875rem;line-height:1.2857142857;margin-top:.5rem}.mc-notification .mc-button:not(:first-child){margin-top:1rem}@media screen and (min-width: 1024px){.mc-notification .mc-button:not(:first-child){margin-top:0;margin-left:1rem}}.mc-notification--information{background:#daeff7;box-shadow:inset 0 0 0 1px #0b96cc}.mc-notification--information:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23007bb4'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,21.7a1,1,0,0,1-1-1V14.87a1,1,0,1,1,2,0V20.7A1,1,0,0,1,16,21.7Z'/%3E%3Ccircle cx='16' cy='11.3' r='1'/%3E%3C/svg%3E\")}.mc-notification--success{background:#ebf5de;box-shadow:inset 0 0 0 1px #46a610}.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' fill='%23188803' viewBox='0 0 32 32'%3E%3Cpath d='M16,5A11,11,0,1,1,5,16,11,11,0,0,1,16,5m0-2A13,13,0,1,0,29,16,13,13,0,0,0,16,3Z'/%3E%3Cpath d='M14.2,21.45,8.5,16.18a1,1,0,1,1,1.35-1.47l4.28,4,8-8.09a1,1,0,0,1,1.42,0,1,1,0,0,1,0,1.41Z'/%3E%3C/svg%3E\")}.mc-notification--warning{background:#fdf1e8;box-shadow:inset 0 0 0 1px #ea7315}.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c65200'%3E%3Cpath d='M16,29A13,13,0,1,1,29,16,13,13,0,0,1,16,29ZM16,5A11,11,0,1,0,27,16,11,11,0,0,0,16,5Z'/%3E%3Cpath d='M16,18.13a1,1,0,0,1-1-1V11.3a1,1,0,0,1,2,0v5.83A1,1,0,0,1,16,18.13Z'/%3E%3Ccircle cx='16' cy='20.7' r='1'/%3E%3C/svg%3E\")}.mc-notification--danger{background:#fdeaea;box-shadow:inset 0 0 0 1px #ea302d}.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='2rem' width='2rem' viewBox='0 0 32 32' fill='%23c61112'%3E%3Cpath d='M16,3A13,13,0,1,0,29,16,13,13,0,0,0,16,3Zm0,24A11,11,0,1,1,27,16,11,11,0,0,1,16,27Z'/%3E%3Cpath d='M20.71,11.29a1,1,0,0,0-1.42,0L16,14.59l-3.29-3.3a1,1,0,0,0-1.42,1.42L14.59,16l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L16,17.41l3.29,3.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L17.41,16l3.3-3.29A1,1,0,0,0,20.71,11.29Z'/%3E%3C/svg%3E\")}.mc-notification--s{padding:.75rem .75rem 1.5rem}.mc-notification--s:before{background-size:1.5rem;flex:0 0 1.5rem;height:1.5rem;margin-right:.5rem;width:1.5rem}.mc-notification--s .mc-notification__content{padding-top:0}.mc-notification--s .mc-notification__title+.mc-notification__message{margin-top:.25rem}.mc-notification--s:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23007bb4'%3E%3Cpath d='M12 22a10 10 0 1110-10 10 10 0 01-10 10zm0-18a8 8 0 108 8 8 8 0 00-8-8z'/%3E%3Cpath d='M12 17a1 1 0 01-1-1v-4.39a1 1 0 012 0V16a1 1 0 01-1 1z'/%3E%3Ccircle cx='12' cy='8' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--success:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23188803'%3E%3Cpath d='M12 4a8 8 0 11-8 8 8 8 0 018-8m0-2a10 10 0 1010 10A10 10 0 0012 2z'/%3E%3Cpath d='M10.73 15.75a1 1 0 01-.68-.26l-3-2.74a1 1 0 011.36-1.47l2.25 2.08 4.36-4.42a1 1 0 111.42 1.41l-5 5.1a1 1 0 01-.71.3z'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--warning:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c65200'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-notification--s.mc-notification--danger:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M16.21 7.88a1 1 0 00-1.42 0l-2.74 2.74-2.84-2.83a1 1 0 10-1.42 1.42L10.63 12l-2.77 2.79a1 1 0 001.41 1.42l2.78-2.77 2.68 2.68a1 1 0 001.41-1.42L13.46 12l2.75-2.7a1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-notification-closable{position:relative}.mc-notification-closable__close{position:relative;background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat;background-size:1rem;border:0;cursor:pointer;display:block;height:1rem;padding:0;position:absolute;outline:0;right:1rem;top:1rem;width:1rem}.mc-notification-closable__close:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease}.mc-notification-closable__close:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-notification--s:before{background-image:url(assets/special-icons/notification-information-s.svg)}.mc-notification--s.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-s.svg)}.mc-notification--s.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-s.svg)}.mc-notification--s.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-s.svg)}.mc-notification--m:before{background-image:url(assets/special-icons/notification-information-m.svg)}.mc-notification--m.mc-notification--success:before{background-image:url(assets/special-icons/notification-success-m.svg)}.mc-notification--m.mc-notification--warning:before{background-image:url(assets/special-icons/notification-warning-m.svg)}.mc-notification--m.mc-notification--danger:before{background-image:url(assets/special-icons/notification-danger-m.svg)}\n"] }]
|
|
1063
|
+
}] });
|
|
1064
|
+
|
|
1065
|
+
class NotificationService {
|
|
1066
|
+
constructor(applicationRef, componentFactoryResolver, injector, document) {
|
|
1067
|
+
this.applicationRef = applicationRef;
|
|
1068
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
1069
|
+
this.injector = injector;
|
|
1070
|
+
this.document = document;
|
|
1071
|
+
this.container = this.createContainer();
|
|
1072
|
+
this.appendNotificationContainerToBody(this.container);
|
|
1073
|
+
}
|
|
1074
|
+
add(notification) {
|
|
1075
|
+
this.container.instance.add(notification);
|
|
1076
|
+
}
|
|
1077
|
+
createContainer() {
|
|
1078
|
+
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(NotificationContainerComponent);
|
|
1079
|
+
const componentRef = componentFactory.create(this.injector);
|
|
1080
|
+
return componentRef;
|
|
1081
|
+
}
|
|
1082
|
+
appendNotificationContainerToBody(componentRef) {
|
|
1083
|
+
const componentHostView = componentRef.hostView;
|
|
1084
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
1085
|
+
this.applicationRef.attachView(componentHostView);
|
|
1086
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationService, deps: [{ token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1090
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
1091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationService, decorators: [{
|
|
1092
|
+
type: Injectable,
|
|
1093
|
+
args: [{
|
|
1094
|
+
providedIn: 'root',
|
|
1095
|
+
}]
|
|
1096
|
+
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: Document, decorators: [{
|
|
1097
|
+
type: Inject,
|
|
1098
|
+
args: [DOCUMENT]
|
|
1099
|
+
}] }]; } });
|
|
1100
|
+
|
|
1101
|
+
class NotificationModule {
|
|
1102
|
+
static forRoot(config = {}) {
|
|
1103
|
+
return {
|
|
1104
|
+
ngModule: NotificationModule,
|
|
1105
|
+
providers: [
|
|
1106
|
+
{
|
|
1107
|
+
provide: NOTIFICATION_CONFIG,
|
|
1108
|
+
useValue: NotificationConfigFactory.create(config),
|
|
1109
|
+
},
|
|
1110
|
+
],
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1115
|
+
NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, declarations: [NotificationComponent,
|
|
1116
|
+
NotificationTitleComponent,
|
|
1117
|
+
NotificationMessageComponent,
|
|
1118
|
+
NotificationFooterComponent,
|
|
1119
|
+
NotificationContainerComponent], imports: [CommonModule], exports: [NotificationComponent,
|
|
1120
|
+
NotificationTitleComponent,
|
|
1121
|
+
NotificationMessageComponent,
|
|
1122
|
+
NotificationFooterComponent] });
|
|
1123
|
+
NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, providers: [
|
|
1124
|
+
NotificationService,
|
|
1125
|
+
{
|
|
1126
|
+
provide: NOTIFICATION_CONFIG,
|
|
1127
|
+
useValue: NotificationConfigFactory.create(),
|
|
1128
|
+
},
|
|
1129
|
+
], imports: [CommonModule] });
|
|
1130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, decorators: [{
|
|
1131
|
+
type: NgModule,
|
|
1132
|
+
args: [{
|
|
1133
|
+
imports: [CommonModule],
|
|
1134
|
+
declarations: [
|
|
1135
|
+
NotificationComponent,
|
|
1136
|
+
NotificationTitleComponent,
|
|
1137
|
+
NotificationMessageComponent,
|
|
1138
|
+
NotificationFooterComponent,
|
|
1139
|
+
NotificationContainerComponent,
|
|
1140
|
+
],
|
|
1141
|
+
providers: [
|
|
1142
|
+
NotificationService,
|
|
1143
|
+
{
|
|
1144
|
+
provide: NOTIFICATION_CONFIG,
|
|
1145
|
+
useValue: NotificationConfigFactory.create(),
|
|
1146
|
+
},
|
|
1147
|
+
],
|
|
1148
|
+
exports: [
|
|
1149
|
+
NotificationComponent,
|
|
1150
|
+
NotificationTitleComponent,
|
|
1151
|
+
NotificationMessageComponent,
|
|
1152
|
+
NotificationFooterComponent,
|
|
1153
|
+
],
|
|
1154
|
+
}]
|
|
1155
|
+
}] });
|
|
1156
|
+
|
|
1157
|
+
var SELECT_SIZE;
|
|
1158
|
+
(function (SELECT_SIZE) {
|
|
1159
|
+
SELECT_SIZE["S"] = "s";
|
|
1160
|
+
SELECT_SIZE["M"] = "m";
|
|
1161
|
+
})(SELECT_SIZE || (SELECT_SIZE = {}));
|
|
1162
|
+
|
|
1163
|
+
const PAGINATION_FIRST_PAGE = 1;
|
|
1164
|
+
const PAGINATION_MIN_NUMBER_OF_PAGES = 1;
|
|
1165
|
+
const PAGINATION_PAGE_STEP = 1;
|
|
1166
|
+
|
|
1167
|
+
class SelectComponent {
|
|
1168
|
+
constructor() {
|
|
1169
|
+
this.size = 's';
|
|
1170
|
+
}
|
|
1171
|
+
get hostCssClasses() {
|
|
1172
|
+
const staticClasses = 'mc-select';
|
|
1173
|
+
const sizeCssClass = `mc-select--${this.size}`;
|
|
1174
|
+
const dynamicClasses = `${sizeCssClass}`;
|
|
1175
|
+
return `${staticClasses} ${dynamicClasses}`;
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
SelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1179
|
+
SelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SelectComponent, selector: "select[moz-`select`]", inputs: { size: "size" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: "<ng-content select=\"option\"></ng-content>\n", styles: [".mc-select{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23191919' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E\");background-color:#fff;background-repeat:no-repeat;background-size:1rem 1rem,1.5rem 1.5rem;border:1px solid #666666;border-radius:4px;color:#191919;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.mc-select[type=number]::-webkit-inner-spin-button,.mc-select[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-select[type=number]{-moz-appearance:textfield}.mc-select[type=search]::-webkit-search-decoration:hover,.mc-select[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-select::-ms-expand{display:none}.mc-select:hover{border-color:#191919}.mc-select:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-select:disabled{background-color:#e6e6e6;border-color:#e6e6e6;color:#666;cursor:not-allowed;opacity:1}.mc-select.is-invalid{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23191919' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E\"),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNjNjExMTIiPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMTAxMCAxMEExMCAxMCAwIDAwMTIgMnptMCAxOGE4IDggMCAxMTgtOCA4IDggMCAwMS04IDh6Ii8+PHBhdGggZD0iTTEyIDdhMSAxIDAgMDAtMSAxdjQuMzhhMSAxIDAgMDAyIDBWOGExIDEgMCAwMC0xLTF6Ii8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxNiIgcj0iMSIvPjwvc3ZnPg==);border-color:#c61112}.mc-select.is-valid{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23191919' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E\"),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiBmaWxsPSIjNDZhNjEwIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0xMiA0YTggOCAwIDExLTggOCA4IDggMCAwMTgtOG0wLTJhMTAgMTAgMCAxMDEwIDEwQTEwIDEwIDAgMDAxMiAyeiIvPjxwYXRoIGQ9Ik0xMC43MyAxNS43NWExIDEgMCAwMS0uNjgtLjI2bC0zLTIuNzRhMSAxIDAgMDExLjM2LTEuNDdsMi4yNSAyLjA4IDQuMzYtNC40MmExIDEgMCAxMTEuNDIgMS40MWwtNSA1LjFhMSAxIDAgMDEtLjcxLjN6Ii8+PC9zdmc+);border-color:#46a610}.mc-select--s{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}@media screen and (min-width: 680px){.mc-select--s\\@from-m{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}@media screen and (min-width: 1024px){.mc-select--s\\@from-l{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}@media screen and (min-width: 1280px){.mc-select--s\\@from-xl{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}@media screen and (min-width: 1920px){.mc-select--s\\@from-xxl{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}.mc-select--m{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}@media screen and (min-width: 680px){.mc-select--m\\@from-m{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}@media screen and (min-width: 1024px){.mc-select--m\\@from-l{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}@media screen and (min-width: 1280px){.mc-select--m\\@from-xl{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}@media screen and (min-width: 1920px){.mc-select--m\\@from-xxl{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}.mc-select{background-image:url(assets/moz-icons/Navigation_Arrow_Arrow--Bottom_16px.svg);background-size:1.1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectComponent, decorators: [{
|
|
1181
|
+
type: Component,
|
|
1182
|
+
args: [{ selector: 'select[moz-`select`]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"option\"></ng-content>\n", styles: [".mc-select{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23191919' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E\");background-color:#fff;background-repeat:no-repeat;background-size:1rem 1rem,1.5rem 1.5rem;border:1px solid #666666;border-radius:4px;color:#191919;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.mc-select[type=number]::-webkit-inner-spin-button,.mc-select[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-select[type=number]{-moz-appearance:textfield}.mc-select[type=search]::-webkit-search-decoration:hover,.mc-select[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-select::-ms-expand{display:none}.mc-select:hover{border-color:#191919}.mc-select:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-select:disabled{background-color:#e6e6e6;border-color:#e6e6e6;color:#666;cursor:not-allowed;opacity:1}.mc-select.is-invalid{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23191919' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E\"),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiNjNjExMTIiPjxwYXRoIGQ9Ik0xMiAyYTEwIDEwIDAgMTAxMCAxMEExMCAxMCAwIDAwMTIgMnptMCAxOGE4IDggMCAxMTgtOCA4IDggMCAwMS04IDh6Ii8+PHBhdGggZD0iTTEyIDdhMSAxIDAgMDAtMSAxdjQuMzhhMSAxIDAgMDAyIDBWOGExIDEgMCAwMC0xLTF6Ii8+PGNpcmNsZSBjeD0iMTIiIGN5PSIxNiIgcj0iMSIvPjwvc3ZnPg==);border-color:#c61112}.mc-select.is-valid{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23191919' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 01-.71-.29l-5-5a1 1 0 011.42-1.42L8 9.09l4.29-4.3a1 1 0 111.42 1.42l-5 5a1 1 0 01-.71.29z'/%3E%3C/svg%3E\"),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMS41cmVtIiB3aWR0aD0iMS41cmVtIiBmaWxsPSIjNDZhNjEwIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0xMiA0YTggOCAwIDExLTggOCA4IDggMCAwMTgtOG0wLTJhMTAgMTAgMCAxMDEwIDEwQTEwIDEwIDAgMDAxMiAyeiIvPjxwYXRoIGQ9Ik0xMC43MyAxNS43NWExIDEgMCAwMS0uNjgtLjI2bC0zLTIuNzRhMSAxIDAgMDExLjM2LTEuNDdsMi4yNSAyLjA4IDQuMzYtNC40MmExIDEgMCAxMTEuNDIgMS40MWwtNSA1LjFhMSAxIDAgMDEtLjcxLjN6Ii8+PC9zdmc+);border-color:#46a610}.mc-select--s{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}@media screen and (min-width: 680px){.mc-select--s\\@from-m{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}@media screen and (min-width: 1024px){.mc-select--s\\@from-l{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}@media screen and (min-width: 1280px){.mc-select--s\\@from-xl{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}@media screen and (min-width: 1920px){.mc-select--s\\@from-xxl{font-size:.875rem;line-height:1.1428571429;background-position:right .5rem center,right 2rem center;padding:calc(.5rem - 1px) 2rem calc(.5rem - 1px) calc(.5rem - 1px)}}.mc-select--m{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}@media screen and (min-width: 680px){.mc-select--m\\@from-m{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}@media screen and (min-width: 1024px){.mc-select--m\\@from-l{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}@media screen and (min-width: 1280px){.mc-select--m\\@from-xl{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}@media screen and (min-width: 1920px){.mc-select--m\\@from-xxl{font-size:1rem;line-height:1.125;background-position:right 1rem center,right 2.5rem center;padding:calc(.9375rem - 1px) 3rem calc(.9375rem - 1px) calc(.75rem - 1px)}}.mc-select{background-image:url(assets/moz-icons/Navigation_Arrow_Arrow--Bottom_16px.svg);background-size:1.1rem}\n"] }]
|
|
1183
|
+
}], propDecorators: { size: [{
|
|
1184
|
+
type: Input
|
|
1185
|
+
}], hostCssClasses: [{
|
|
1186
|
+
type: HostBinding,
|
|
1187
|
+
args: ['class']
|
|
1188
|
+
}] } });
|
|
1189
|
+
|
|
1190
|
+
const PAGINATION_CONTROL_VALUE_ACCESSOR = {
|
|
1191
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1192
|
+
useExisting: forwardRef(() => PaginationComponent),
|
|
1193
|
+
multi: true,
|
|
1194
|
+
};
|
|
1195
|
+
class PaginationComponent {
|
|
1196
|
+
constructor(globalEventService, cd) {
|
|
1197
|
+
this.globalEventService = globalEventService;
|
|
1198
|
+
this.cd = cd;
|
|
1199
|
+
this.numberOfPages = PAGINATION_MIN_NUMBER_OF_PAGES;
|
|
1200
|
+
this.light = false;
|
|
1201
|
+
this.pageTitleMask = (page, numberOfPages) => `Page ${page} of ${numberOfPages}`;
|
|
1202
|
+
this.onChange = () => { };
|
|
1203
|
+
this.onTouch = () => { };
|
|
1204
|
+
this.currentPage = PAGINATION_FIRST_PAGE;
|
|
1205
|
+
this.pages = [];
|
|
1206
|
+
this.smallResolution = 1024;
|
|
1207
|
+
const isSmall = this.displayIsSmall().pipe(shareReplay({ refCount: true, bufferSize: 1 }));
|
|
1208
|
+
this.initializeIcons(isSmall);
|
|
1209
|
+
this.selectSize = isSmall.pipe(map((isSmall) => this.chooseSelectSize(isSmall)));
|
|
1210
|
+
}
|
|
1211
|
+
ngAfterViewInit() {
|
|
1212
|
+
this.reinitializeNumberOfPagesAtInvalidValue();
|
|
1213
|
+
if (this.viewSelect) {
|
|
1214
|
+
this.pages = this.initializePages(this.numberOfPages);
|
|
1215
|
+
}
|
|
1216
|
+
this.reinitializeCurrentPageAtOverflow();
|
|
1217
|
+
this.cd.detectChanges();
|
|
1218
|
+
}
|
|
1219
|
+
ngOnChanges({ numberOfPages, pageTitleMask }) {
|
|
1220
|
+
if (this.needRenderPages(this.viewSelect, numberOfPages?.currentValue, numberOfPages?.previousValue, pageTitleMask?.currentValue, pageTitleMask?.previousValue)) {
|
|
1221
|
+
this.reinitializeNumberOfPagesAtInvalidValue();
|
|
1222
|
+
this.pages = this.initializePages(this.numberOfPages);
|
|
1223
|
+
}
|
|
1224
|
+
this.reinitializeCurrentPageAtOverflow();
|
|
1225
|
+
}
|
|
1226
|
+
get viewSelect() {
|
|
1227
|
+
return !this.light;
|
|
1228
|
+
}
|
|
1229
|
+
get isFirstPage() {
|
|
1230
|
+
return this.currentPage <= PAGINATION_FIRST_PAGE;
|
|
1231
|
+
}
|
|
1232
|
+
get isLastPage() {
|
|
1233
|
+
return this.currentPage >= this.numberOfPages;
|
|
1234
|
+
}
|
|
1235
|
+
get disabledSelect() {
|
|
1236
|
+
return this.numberOfPages <= PAGINATION_MIN_NUMBER_OF_PAGES;
|
|
1237
|
+
}
|
|
1238
|
+
writeValue(value) {
|
|
1239
|
+
if (!value || value === this.currentPage || value > this.numberOfPages)
|
|
1240
|
+
return;
|
|
1241
|
+
this.currentPage = value;
|
|
1242
|
+
this.cd.markForCheck();
|
|
1243
|
+
this.onChange(value);
|
|
1244
|
+
}
|
|
1245
|
+
registerOnChange(fn) {
|
|
1246
|
+
this.onChange = fn;
|
|
1247
|
+
}
|
|
1248
|
+
registerOnTouched(fn) {
|
|
1249
|
+
this.onTouch = fn;
|
|
1250
|
+
}
|
|
1251
|
+
nextPage() {
|
|
1252
|
+
this.writeValue(this.currentPage + PAGINATION_PAGE_STEP);
|
|
1253
|
+
}
|
|
1254
|
+
previousPage() {
|
|
1255
|
+
this.writeValue(this.currentPage - PAGINATION_PAGE_STEP);
|
|
1256
|
+
}
|
|
1257
|
+
compareWithPages(page, currentPage) {
|
|
1258
|
+
return page === currentPage;
|
|
1259
|
+
}
|
|
1260
|
+
initializePages(numberOfPages) {
|
|
1261
|
+
return new Array(numberOfPages).fill(null).map((_, index) => ({
|
|
1262
|
+
title: this.pageTitleMask(index + 1, numberOfPages),
|
|
1263
|
+
value: index + 1,
|
|
1264
|
+
}));
|
|
1265
|
+
}
|
|
1266
|
+
initializeIcons(isSmall) {
|
|
1267
|
+
const iconSize = isSmall.pipe(map((isSmall) => this.chooseIconSize(isSmall)), shareReplay({ refCount: true, bufferSize: 1 }));
|
|
1268
|
+
this.leftIconName = iconSize.pipe(map((iconSize) => `Navigation_Arrow_Arrow--Left_${iconSize}`));
|
|
1269
|
+
this.rightIconName = iconSize.pipe(map((iconSize) => `Navigation_Arrow_Arrow--Right_${iconSize}`));
|
|
1270
|
+
}
|
|
1271
|
+
displayIsSmall() {
|
|
1272
|
+
const resizeEvent = this.globalEventService.getWindowEvent('resize').pipe(debounceTime(100));
|
|
1273
|
+
const displayWidth = resizeEvent.pipe(map((event) => event?.target?.innerWidth), startWith(this.globalEventService.window.innerWidth));
|
|
1274
|
+
return displayWidth.pipe(map((width) => width < this.smallResolution));
|
|
1275
|
+
}
|
|
1276
|
+
reinitializeCurrentPageAtOverflow() {
|
|
1277
|
+
if (this.numberOfPages < this.currentPage) {
|
|
1278
|
+
this.writeValue(PAGINATION_FIRST_PAGE);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
reinitializeNumberOfPagesAtInvalidValue() {
|
|
1282
|
+
if (!this.numberOfPages || this.numberOfPages < PAGINATION_MIN_NUMBER_OF_PAGES) {
|
|
1283
|
+
this.numberOfPages = PAGINATION_MIN_NUMBER_OF_PAGES;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
chooseIconSize(isSmall) {
|
|
1287
|
+
return isSmall ? IconSize.L : IconSize.M;
|
|
1288
|
+
}
|
|
1289
|
+
chooseSelectSize(isSmall) {
|
|
1290
|
+
return isSmall ? SELECT_SIZE.M : SELECT_SIZE.S;
|
|
1291
|
+
}
|
|
1292
|
+
needRenderPages(viewSelect, numberOfPagesPrevious, numberOfPagesCurrent, pageTitleMaskPrevious, pageTitleMaskCurrent) {
|
|
1293
|
+
const numberOfPageHasChanges = numberOfPagesPrevious !== numberOfPagesCurrent;
|
|
1294
|
+
const maskHasChanges = pageTitleMaskPrevious !== pageTitleMaskCurrent;
|
|
1295
|
+
return viewSelect && (numberOfPageHasChanges || maskHasChanges);
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
PaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationComponent, deps: [{ token: GlobalEventsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1299
|
+
PaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PaginationComponent, selector: "moz-pagination", inputs: { numberOfPages: "numberOfPages", light: "light", pageTitleMask: "pageTitleMask" }, providers: [PAGINATION_CONTROL_VALUE_ACCESSOR], usesOnChanges: true, ngImport: i0, template: "<nav class=\"mc-pagination\" role=\"navigation\" aria-label=\"pagination\">\n <button\n moz-button\n theme=\"neutral\"\n class=\"mc-pagination__button\"\n [disabled]=\"isFirstPage\"\n [onlyIcon]=\"true\"\n (click)=\"previousPage()\"\n *ngIf=\"leftIconName | async; let icon\"\n >\n <moz-icon [iconName]=\"icon\"></moz-icon>\n </button>\n <div *ngIf=\"viewSelect\">\n <select\n moz-select\n [ngModel]=\"currentPage\"\n (ngModelChange)=\"writeValue($event)\"\n [compareWith]=\"compareWithPages\"\n [size]=\"(selectSize | async)!\"\n [disabled]=\"disabledSelect\"\n >\n <option *ngFor=\"let page of pages\" [ngValue]=\"page.value\">{{ page.title }}</option>\n </select>\n </div>\n\n <button\n moz-button\n theme=\"neutral\"\n class=\"mc-pagination__button\"\n [disabled]=\"isLastPage\"\n (click)=\"nextPage()\"\n [onlyIcon]=\"true\"\n *ngIf=\"rightIconName | async; let icon\"\n >\n <moz-icon [iconName]=\"icon\"></moz-icon>\n </button>\n</nav>\n", styles: [".mc-pagination{align-items:center;display:flex;justify-content:center;gap:1rem}.mc-pagination__select{font-size:1rem;line-height:1.125;padding:.875rem 3rem .875rem calc(.75rem - 1px)}@media screen and (min-width: 1024px){.mc-pagination__select{font-size:.875rem;line-height:1.1428571429;padding:calc(.5rem - 1px) 2.25rem calc(.5rem - 1px) calc(.5rem - 1px)}}.mc-pagination{gap:1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ButtonComponent, selector: "button[moz-button]", inputs: ["iconPosition", "onlyIcon", "theme", "variation", "widthBehavior", "size"] }, { kind: "component", type: SelectComponent, selector: "select[moz-`select`]", inputs: ["size"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
1301
|
+
type: Component,
|
|
1302
|
+
args: [{ selector: 'moz-pagination', changeDetection: ChangeDetectionStrategy.OnPush, providers: [PAGINATION_CONTROL_VALUE_ACCESSOR], template: "<nav class=\"mc-pagination\" role=\"navigation\" aria-label=\"pagination\">\n <button\n moz-button\n theme=\"neutral\"\n class=\"mc-pagination__button\"\n [disabled]=\"isFirstPage\"\n [onlyIcon]=\"true\"\n (click)=\"previousPage()\"\n *ngIf=\"leftIconName | async; let icon\"\n >\n <moz-icon [iconName]=\"icon\"></moz-icon>\n </button>\n <div *ngIf=\"viewSelect\">\n <select\n moz-select\n [ngModel]=\"currentPage\"\n (ngModelChange)=\"writeValue($event)\"\n [compareWith]=\"compareWithPages\"\n [size]=\"(selectSize | async)!\"\n [disabled]=\"disabledSelect\"\n >\n <option *ngFor=\"let page of pages\" [ngValue]=\"page.value\">{{ page.title }}</option>\n </select>\n </div>\n\n <button\n moz-button\n theme=\"neutral\"\n class=\"mc-pagination__button\"\n [disabled]=\"isLastPage\"\n (click)=\"nextPage()\"\n [onlyIcon]=\"true\"\n *ngIf=\"rightIconName | async; let icon\"\n >\n <moz-icon [iconName]=\"icon\"></moz-icon>\n </button>\n</nav>\n", styles: [".mc-pagination{align-items:center;display:flex;justify-content:center;gap:1rem}.mc-pagination__select{font-size:1rem;line-height:1.125;padding:.875rem 3rem .875rem calc(.75rem - 1px)}@media screen and (min-width: 1024px){.mc-pagination__select{font-size:.875rem;line-height:1.1428571429;padding:calc(.5rem - 1px) 2.25rem calc(.5rem - 1px) calc(.5rem - 1px)}}.mc-pagination{gap:1rem}\n"] }]
|
|
1303
|
+
}], ctorParameters: function () { return [{ type: GlobalEventsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numberOfPages: [{
|
|
1304
|
+
type: Input
|
|
1305
|
+
}], light: [{
|
|
1306
|
+
type: Input
|
|
1307
|
+
}], pageTitleMask: [{
|
|
1308
|
+
type: Input
|
|
1309
|
+
}] } });
|
|
1310
|
+
|
|
1311
|
+
class SelectModule {
|
|
1312
|
+
}
|
|
1313
|
+
SelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1314
|
+
SelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, declarations: [SelectComponent], imports: [CommonModule], exports: [SelectComponent] });
|
|
1315
|
+
SelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, imports: [CommonModule] });
|
|
1316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, decorators: [{
|
|
1317
|
+
type: NgModule,
|
|
1318
|
+
args: [{
|
|
1319
|
+
imports: [CommonModule],
|
|
1320
|
+
declarations: [SelectComponent],
|
|
1321
|
+
exports: [SelectComponent],
|
|
1322
|
+
}]
|
|
1323
|
+
}] });
|
|
1324
|
+
|
|
1325
|
+
class PaginationModule {
|
|
1326
|
+
}
|
|
1327
|
+
PaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1328
|
+
PaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, declarations: [PaginationComponent], imports: [CommonModule, FormsModule, ButtonModule, SelectModule, IconModule, GlobalEventsModule], exports: [PaginationComponent] });
|
|
1329
|
+
PaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, imports: [CommonModule, FormsModule, ButtonModule, SelectModule, IconModule, GlobalEventsModule] });
|
|
1330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, decorators: [{
|
|
1331
|
+
type: NgModule,
|
|
1332
|
+
args: [{
|
|
1333
|
+
imports: [CommonModule, FormsModule, ButtonModule, SelectModule, IconModule, GlobalEventsModule],
|
|
1334
|
+
declarations: [PaginationComponent],
|
|
1335
|
+
exports: [PaginationComponent],
|
|
1336
|
+
}]
|
|
1337
|
+
}] });
|
|
1338
|
+
|
|
1339
|
+
class ProgressBarComponent {
|
|
1340
|
+
constructor() {
|
|
1341
|
+
this.size = 'm';
|
|
1342
|
+
this.theme = 'default';
|
|
1343
|
+
this.percent = 0;
|
|
1344
|
+
this.text = '';
|
|
1345
|
+
}
|
|
1346
|
+
get indicatorWidth() {
|
|
1347
|
+
return { width: `${this.percent}%` };
|
|
1348
|
+
}
|
|
1349
|
+
get hostCssClasses() {
|
|
1350
|
+
const sizeClass = `mc-progressbar--${this.size}`;
|
|
1351
|
+
const themeClass = `mc-progressbar--${this.theme}`;
|
|
1352
|
+
const textClass = !!this.text ? `mc-progressbar--percent` : '';
|
|
1353
|
+
return `mc-progressbar ${sizeClass} ${themeClass} ${textClass}`;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1357
|
+
ProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ProgressBarComponent, selector: "moz-progress-bar", inputs: { size: "size", theme: "theme", percent: "percent", text: "text" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: "<div\n class=\"mc-progressbar__indicator\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"percent\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [ngStyle]=\"indicatorWidth\"\n></div>\n<div *ngIf=\"text\" class=\"mc-progressbar__percentage\">{{ text }}</div>\n", styles: [".mc-progressbar{font-family:LeroyMerlin,sans-serif;align-items:center;background-color:#ccc;display:flex;height:.5rem;justify-content:center;position:relative}.mc-progressbar,.mc-progressbar__indicator{border-radius:4px;overflow:hidden}.mc-progressbar__indicator{background-color:#188803;height:100%;left:0;position:absolute;transition:width .4s ease;top:0}.mc-progressbar--static .mc-progressbar__indicator{transition:none}.mc-progressbar__percentage{font-size:.875rem;line-height:1.2857142857;font-weight:600;color:#191919;position:relative;z-index:1}.mc-progressbar--half .mc-progressbar__percentage{color:#fff}.mc-progressbar:not(.mc-progressbar--percent) .mc-progressbar__percentage{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-progressbar--xs{height:.125rem}.mc-progressbar--xs,.mc-progressbar--xs .mc-progressbar__indicator{border-radius:1px}.mc-progressbar--s{height:.25rem}.mc-progressbar--s,.mc-progressbar--s .mc-progressbar__indicator{border-radius:2px}.mc-progressbar--percent{height:1.5rem}.mc-progressbar--percent,.mc-progressbar--percent .mc-progressbar__indicator{border-radius:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
1359
|
+
type: Component,
|
|
1360
|
+
args: [{ selector: 'moz-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div\n class=\"mc-progressbar__indicator\"\n role=\"progressbar\"\n [attr.aria-valuenow]=\"percent\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [ngStyle]=\"indicatorWidth\"\n></div>\n<div *ngIf=\"text\" class=\"mc-progressbar__percentage\">{{ text }}</div>\n", styles: [".mc-progressbar{font-family:LeroyMerlin,sans-serif;align-items:center;background-color:#ccc;display:flex;height:.5rem;justify-content:center;position:relative}.mc-progressbar,.mc-progressbar__indicator{border-radius:4px;overflow:hidden}.mc-progressbar__indicator{background-color:#188803;height:100%;left:0;position:absolute;transition:width .4s ease;top:0}.mc-progressbar--static .mc-progressbar__indicator{transition:none}.mc-progressbar__percentage{font-size:.875rem;line-height:1.2857142857;font-weight:600;color:#191919;position:relative;z-index:1}.mc-progressbar--half .mc-progressbar__percentage{color:#fff}.mc-progressbar:not(.mc-progressbar--percent) .mc-progressbar__percentage{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-progressbar--xs{height:.125rem}.mc-progressbar--xs,.mc-progressbar--xs .mc-progressbar__indicator{border-radius:1px}.mc-progressbar--s{height:.25rem}.mc-progressbar--s,.mc-progressbar--s .mc-progressbar__indicator{border-radius:2px}.mc-progressbar--percent{height:1.5rem}.mc-progressbar--percent,.mc-progressbar--percent .mc-progressbar__indicator{border-radius:12px}\n"] }]
|
|
1361
|
+
}], propDecorators: { size: [{
|
|
1362
|
+
type: Input
|
|
1363
|
+
}], theme: [{
|
|
1364
|
+
type: Input
|
|
1365
|
+
}], percent: [{
|
|
1366
|
+
type: Input
|
|
1367
|
+
}], text: [{
|
|
1368
|
+
type: Input
|
|
1369
|
+
}], hostCssClasses: [{
|
|
1370
|
+
type: HostBinding,
|
|
1371
|
+
args: ['class']
|
|
1372
|
+
}] } });
|
|
1373
|
+
|
|
1374
|
+
class ProgressBarModule {
|
|
1375
|
+
}
|
|
1376
|
+
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1377
|
+
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, declarations: [ProgressBarComponent], imports: [CommonModule], exports: [ProgressBarComponent] });
|
|
1378
|
+
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, imports: [CommonModule] });
|
|
1379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
1380
|
+
type: NgModule,
|
|
1381
|
+
args: [{
|
|
1382
|
+
imports: [CommonModule],
|
|
1383
|
+
declarations: [ProgressBarComponent],
|
|
1384
|
+
exports: [ProgressBarComponent],
|
|
1385
|
+
}]
|
|
1386
|
+
}] });
|
|
1387
|
+
|
|
1388
|
+
class StepComponent {
|
|
1389
|
+
get validated() {
|
|
1390
|
+
return this.state === 'validated';
|
|
1391
|
+
}
|
|
1392
|
+
get isCurrent() {
|
|
1393
|
+
return this.state === 'current';
|
|
1394
|
+
}
|
|
1395
|
+
get indicator() {
|
|
1396
|
+
return this.index + 1;
|
|
1397
|
+
}
|
|
1398
|
+
get index() {
|
|
1399
|
+
return this._index;
|
|
1400
|
+
}
|
|
1401
|
+
set index(newIndex) {
|
|
1402
|
+
this._index = newIndex;
|
|
1403
|
+
this.cd.markForCheck();
|
|
1404
|
+
}
|
|
1405
|
+
get state() {
|
|
1406
|
+
return this._state;
|
|
1407
|
+
}
|
|
1408
|
+
set state(newState) {
|
|
1409
|
+
this._state = newState;
|
|
1410
|
+
this.cd.markForCheck();
|
|
1411
|
+
}
|
|
1412
|
+
constructor(cd) {
|
|
1413
|
+
this.cd = cd;
|
|
1414
|
+
this.title = '';
|
|
1415
|
+
this._state = '';
|
|
1416
|
+
this._index = 0;
|
|
1417
|
+
}
|
|
1418
|
+
get hostCssClasses() {
|
|
1419
|
+
const stateClass = this.state ? `mc-stepper__item--${this.state}` : '';
|
|
1420
|
+
return `mc-stepper__item ${stateClass}`;
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
StepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1424
|
+
StepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: StepComponent, selector: "moz-step", inputs: { title: "title" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: "<span class=\"mc-stepper__indicator\" aria-hidden=\"true\">\n <moz-icon\n *ngIf=\"validated\"\n class=\"mc-stepper__icon\"\n iconName=\"Navigation_Notification_Available_16px\"\n ></moz-icon>\n <ng-container *ngIf=\"isCurrent\">{{ indicator }}</ng-container>\n</span>\n<div class=\"mc-stepper__detail\">\n <span class=\"mc-stepper__title\">{{ title }}</span>\n <span class=\"mc-stepper__label\">\n <ng-content></ng-content>\n </span>\n</div>\n", styles: [".mc-stepper{width:100%}.mc-stepper__list{display:flex;padding-left:0;margin-bottom:0;margin-top:0}.mc-stepper__item,.mc-stepper__link{align-items:center;display:flex;flex-direction:column}.mc-stepper__item{flex:1;position:relative}.mc-stepper__item:before,.mc-stepper__item:after{background-color:#999;content:\"\";height:.125rem;position:absolute;top:11px;width:calc(50% - 1.25rem);z-index:1}.mc-stepper__item:before{border-top-right-radius:1px;border-bottom-right-radius:1px;left:0}.mc-stepper__item:after{border-top-left-radius:1px;border-bottom-left-radius:1px;right:0}.mc-stepper__item:first-child:before,.mc-stepper__item:last-child:after{content:none}.mc-stepper__item--current .mc-stepper__indicator,.mc-stepper__item--validated .mc-stepper__indicator{border-color:#46a610}.mc-stepper__item--current .mc-stepper__detail,.mc-stepper__item--validated .mc-stepper__detail{font-weight:600}.mc-stepper__item--current:before{background-color:#46a610}.mc-stepper__item--current .mc-stepper__indicator{background-color:#46a610;color:#fff}.mc-stepper__item--current .mc-stepper__label{color:#000}.mc-stepper__item--validated:before,.mc-stepper__item--validated:not(.mc-stepper__item--current):after{background-color:#46a610}.mc-stepper__link{height:100%;text-decoration:none;width:100%}.mc-stepper__link:hover .mc-stepper__label,.mc-stepper__link:focus .mc-stepper__label{color:#46a610}.mc-stepper__indicator{font-size:.875rem;line-height:1.1428571429;font-weight:600;align-items:center;border:2px solid #999999;border-radius:50%;box-sizing:border-box;display:flex;flex-shrink:0;height:1.5rem;justify-content:center;margin-bottom:.5rem;position:relative;width:1.5rem;z-index:2}.mc-stepper__icon{fill:#46a610;max-width:100%}.mc-stepper__detail{font-size:.875rem;line-height:1.2857142857;color:#666;text-align:center;width:auto}.mc-stepper__title{display:none;color:#46a610}.mc-stepper--compact .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--compact .mc-stepper__item:before,.mc-stepper--compact .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--compact .mc-stepper__item:after{width:100%}.mc-stepper--compact .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--compact .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--compact .mc-stepper__indicator{display:none}.mc-stepper--compact .mc-stepper__detail{text-align:left}.mc-stepper--compact .mc-stepper__title{display:block;margin-bottom:.25rem}@media screen and (max-width: 679px){.mc-stepper--shrinked .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--shrinked .mc-stepper__item:before,.mc-stepper--shrinked .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--shrinked .mc-stepper__item:after{width:100%}.mc-stepper--shrinked .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--shrinked .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--shrinked .mc-stepper__indicator{display:none}.mc-stepper--shrinked .mc-stepper__detail{text-align:left}.mc-stepper--shrinked .mc-stepper__title{display:block;margin-bottom:.25rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepComponent, decorators: [{
|
|
1426
|
+
type: Component,
|
|
1427
|
+
args: [{ selector: 'moz-step', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<span class=\"mc-stepper__indicator\" aria-hidden=\"true\">\n <moz-icon\n *ngIf=\"validated\"\n class=\"mc-stepper__icon\"\n iconName=\"Navigation_Notification_Available_16px\"\n ></moz-icon>\n <ng-container *ngIf=\"isCurrent\">{{ indicator }}</ng-container>\n</span>\n<div class=\"mc-stepper__detail\">\n <span class=\"mc-stepper__title\">{{ title }}</span>\n <span class=\"mc-stepper__label\">\n <ng-content></ng-content>\n </span>\n</div>\n", styles: [".mc-stepper{width:100%}.mc-stepper__list{display:flex;padding-left:0;margin-bottom:0;margin-top:0}.mc-stepper__item,.mc-stepper__link{align-items:center;display:flex;flex-direction:column}.mc-stepper__item{flex:1;position:relative}.mc-stepper__item:before,.mc-stepper__item:after{background-color:#999;content:\"\";height:.125rem;position:absolute;top:11px;width:calc(50% - 1.25rem);z-index:1}.mc-stepper__item:before{border-top-right-radius:1px;border-bottom-right-radius:1px;left:0}.mc-stepper__item:after{border-top-left-radius:1px;border-bottom-left-radius:1px;right:0}.mc-stepper__item:first-child:before,.mc-stepper__item:last-child:after{content:none}.mc-stepper__item--current .mc-stepper__indicator,.mc-stepper__item--validated .mc-stepper__indicator{border-color:#46a610}.mc-stepper__item--current .mc-stepper__detail,.mc-stepper__item--validated .mc-stepper__detail{font-weight:600}.mc-stepper__item--current:before{background-color:#46a610}.mc-stepper__item--current .mc-stepper__indicator{background-color:#46a610;color:#fff}.mc-stepper__item--current .mc-stepper__label{color:#000}.mc-stepper__item--validated:before,.mc-stepper__item--validated:not(.mc-stepper__item--current):after{background-color:#46a610}.mc-stepper__link{height:100%;text-decoration:none;width:100%}.mc-stepper__link:hover .mc-stepper__label,.mc-stepper__link:focus .mc-stepper__label{color:#46a610}.mc-stepper__indicator{font-size:.875rem;line-height:1.1428571429;font-weight:600;align-items:center;border:2px solid #999999;border-radius:50%;box-sizing:border-box;display:flex;flex-shrink:0;height:1.5rem;justify-content:center;margin-bottom:.5rem;position:relative;width:1.5rem;z-index:2}.mc-stepper__icon{fill:#46a610;max-width:100%}.mc-stepper__detail{font-size:.875rem;line-height:1.2857142857;color:#666;text-align:center;width:auto}.mc-stepper__title{display:none;color:#46a610}.mc-stepper--compact .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--compact .mc-stepper__item:before,.mc-stepper--compact .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--compact .mc-stepper__item:after{width:100%}.mc-stepper--compact .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--compact .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--compact .mc-stepper__indicator{display:none}.mc-stepper--compact .mc-stepper__detail{text-align:left}.mc-stepper--compact .mc-stepper__title{display:block;margin-bottom:.25rem}@media screen and (max-width: 679px){.mc-stepper--shrinked .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--shrinked .mc-stepper__item:before,.mc-stepper--shrinked .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--shrinked .mc-stepper__item:after{width:100%}.mc-stepper--shrinked .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--shrinked .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--shrinked .mc-stepper__indicator{display:none}.mc-stepper--shrinked .mc-stepper__detail{text-align:left}.mc-stepper--shrinked .mc-stepper__title{display:block;margin-bottom:.25rem}}\n"] }]
|
|
1428
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { title: [{
|
|
1429
|
+
type: Input
|
|
1430
|
+
}], hostCssClasses: [{
|
|
1431
|
+
type: HostBinding,
|
|
1432
|
+
args: ['class']
|
|
1433
|
+
}] } });
|
|
1434
|
+
|
|
1435
|
+
class StepperComponent {
|
|
1436
|
+
constructor() {
|
|
1437
|
+
this.selectStepIndex = 0;
|
|
1438
|
+
this.viewCompact = false;
|
|
1439
|
+
}
|
|
1440
|
+
ngAfterViewInit() {
|
|
1441
|
+
if (!this.steps)
|
|
1442
|
+
return;
|
|
1443
|
+
this.initStepIndex(this.steps);
|
|
1444
|
+
this.selectStep(this.steps, this.selectStepIndex);
|
|
1445
|
+
this.initCssVariablesForSteps(this.stepElements);
|
|
1446
|
+
}
|
|
1447
|
+
ngOnChanges(changes) {
|
|
1448
|
+
this.updateSelectStepAtChanges(changes);
|
|
1449
|
+
}
|
|
1450
|
+
get hostCssClasses() {
|
|
1451
|
+
const viewCompactClass = this.viewCompact ? `mc-stepper--compact` : '';
|
|
1452
|
+
return `mc-stepper ${viewCompactClass}`;
|
|
1453
|
+
}
|
|
1454
|
+
initStepIndex(steps) {
|
|
1455
|
+
steps.forEach((step, index) => (step.index = index));
|
|
1456
|
+
}
|
|
1457
|
+
initCssVariablesForSteps(stepElements) {
|
|
1458
|
+
stepElements.forEach(this.initCssVariablesForStep);
|
|
1459
|
+
}
|
|
1460
|
+
initCssVariablesForStep(elementRef, currentIndex, elementRefs) {
|
|
1461
|
+
elementRef.nativeElement.style = `--steps: ${elementRefs.length}; --current: ${currentIndex + 1}`;
|
|
1462
|
+
}
|
|
1463
|
+
selectStep(steps, selectStepIndex) {
|
|
1464
|
+
steps.forEach((step) => this.updateStateStep(step, selectStepIndex));
|
|
1465
|
+
}
|
|
1466
|
+
updateStateStep(step, selectStepIndex) {
|
|
1467
|
+
const oldState = step.state;
|
|
1468
|
+
const newState = this.stateDefinitionForStep(step.index, selectStepIndex);
|
|
1469
|
+
const hasChanges = oldState !== newState;
|
|
1470
|
+
if (!hasChanges)
|
|
1471
|
+
return;
|
|
1472
|
+
step.state = newState;
|
|
1473
|
+
}
|
|
1474
|
+
stateDefinitionForStep(stepIndex, selectStepIndex) {
|
|
1475
|
+
const isCurrentStep = stepIndex === selectStepIndex;
|
|
1476
|
+
const isValidatedStep = stepIndex < selectStepIndex;
|
|
1477
|
+
if (isCurrentStep)
|
|
1478
|
+
return 'current';
|
|
1479
|
+
if (isValidatedStep)
|
|
1480
|
+
return 'validated';
|
|
1481
|
+
return '';
|
|
1482
|
+
}
|
|
1483
|
+
updateSelectStepAtChanges({ selectStepIndex }) {
|
|
1484
|
+
if (!this.steps ||
|
|
1485
|
+
!selectStepIndex ||
|
|
1486
|
+
selectStepIndex.currentValue === selectStepIndex.previousValue)
|
|
1487
|
+
return;
|
|
1488
|
+
this.selectStep(this.steps, selectStepIndex.currentValue);
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1492
|
+
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: StepperComponent, selector: "moz-stepper", inputs: { selectStepIndex: "selectStepIndex", viewCompact: "viewCompact" }, host: { properties: { "class": "this.hostCssClasses" } }, queries: [{ propertyName: "steps", predicate: StepComponent }, { propertyName: "stepElements", predicate: StepComponent, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<ol class=\"mc-stepper__list\">\n <ng-content select=\"moz-step\"></ng-content>\n</ol>\n", styles: [".mc-stepper{width:100%}.mc-stepper__list{display:flex;padding-left:0;margin-bottom:0;margin-top:0}.mc-stepper__item,.mc-stepper__link{align-items:center;display:flex;flex-direction:column}.mc-stepper__item{flex:1;position:relative}.mc-stepper__item:before,.mc-stepper__item:after{background-color:#999;content:\"\";height:.125rem;position:absolute;top:11px;width:calc(50% - 1.25rem);z-index:1}.mc-stepper__item:before{border-top-right-radius:1px;border-bottom-right-radius:1px;left:0}.mc-stepper__item:after{border-top-left-radius:1px;border-bottom-left-radius:1px;right:0}.mc-stepper__item:first-child:before,.mc-stepper__item:last-child:after{content:none}.mc-stepper__item--current .mc-stepper__indicator,.mc-stepper__item--validated .mc-stepper__indicator{border-color:#46a610}.mc-stepper__item--current .mc-stepper__detail,.mc-stepper__item--validated .mc-stepper__detail{font-weight:600}.mc-stepper__item--current:before{background-color:#46a610}.mc-stepper__item--current .mc-stepper__indicator{background-color:#46a610;color:#fff}.mc-stepper__item--current .mc-stepper__label{color:#000}.mc-stepper__item--validated:before,.mc-stepper__item--validated:not(.mc-stepper__item--current):after{background-color:#46a610}.mc-stepper__link{height:100%;text-decoration:none;width:100%}.mc-stepper__link:hover .mc-stepper__label,.mc-stepper__link:focus .mc-stepper__label{color:#46a610}.mc-stepper__indicator{font-size:.875rem;line-height:1.1428571429;font-weight:600;align-items:center;border:2px solid #999999;border-radius:50%;box-sizing:border-box;display:flex;flex-shrink:0;height:1.5rem;justify-content:center;margin-bottom:.5rem;position:relative;width:1.5rem;z-index:2}.mc-stepper__icon{fill:#46a610;max-width:100%}.mc-stepper__detail{font-size:.875rem;line-height:1.2857142857;color:#666;text-align:center;width:auto}.mc-stepper__title{display:none;color:#46a610}.mc-stepper--compact .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--compact .mc-stepper__item:before,.mc-stepper--compact .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--compact .mc-stepper__item:after{width:100%}.mc-stepper--compact .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--compact .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--compact .mc-stepper__indicator{display:none}.mc-stepper--compact .mc-stepper__detail{text-align:left}.mc-stepper--compact .mc-stepper__title{display:block;margin-bottom:.25rem}@media screen and (max-width: 679px){.mc-stepper--shrinked .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--shrinked .mc-stepper__item:before,.mc-stepper--shrinked .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--shrinked .mc-stepper__item:after{width:100%}.mc-stepper--shrinked .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--shrinked .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--shrinked .mc-stepper__indicator{display:none}.mc-stepper--shrinked .mc-stepper__detail{text-align:left}.mc-stepper--shrinked .mc-stepper__title{display:block;margin-bottom:.25rem}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperComponent, decorators: [{
|
|
1494
|
+
type: Component,
|
|
1495
|
+
args: [{ selector: 'moz-stepper', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ol class=\"mc-stepper__list\">\n <ng-content select=\"moz-step\"></ng-content>\n</ol>\n", styles: [".mc-stepper{width:100%}.mc-stepper__list{display:flex;padding-left:0;margin-bottom:0;margin-top:0}.mc-stepper__item,.mc-stepper__link{align-items:center;display:flex;flex-direction:column}.mc-stepper__item{flex:1;position:relative}.mc-stepper__item:before,.mc-stepper__item:after{background-color:#999;content:\"\";height:.125rem;position:absolute;top:11px;width:calc(50% - 1.25rem);z-index:1}.mc-stepper__item:before{border-top-right-radius:1px;border-bottom-right-radius:1px;left:0}.mc-stepper__item:after{border-top-left-radius:1px;border-bottom-left-radius:1px;right:0}.mc-stepper__item:first-child:before,.mc-stepper__item:last-child:after{content:none}.mc-stepper__item--current .mc-stepper__indicator,.mc-stepper__item--validated .mc-stepper__indicator{border-color:#46a610}.mc-stepper__item--current .mc-stepper__detail,.mc-stepper__item--validated .mc-stepper__detail{font-weight:600}.mc-stepper__item--current:before{background-color:#46a610}.mc-stepper__item--current .mc-stepper__indicator{background-color:#46a610;color:#fff}.mc-stepper__item--current .mc-stepper__label{color:#000}.mc-stepper__item--validated:before,.mc-stepper__item--validated:not(.mc-stepper__item--current):after{background-color:#46a610}.mc-stepper__link{height:100%;text-decoration:none;width:100%}.mc-stepper__link:hover .mc-stepper__label,.mc-stepper__link:focus .mc-stepper__label{color:#46a610}.mc-stepper__indicator{font-size:.875rem;line-height:1.1428571429;font-weight:600;align-items:center;border:2px solid #999999;border-radius:50%;box-sizing:border-box;display:flex;flex-shrink:0;height:1.5rem;justify-content:center;margin-bottom:.5rem;position:relative;width:1.5rem;z-index:2}.mc-stepper__icon{fill:#46a610;max-width:100%}.mc-stepper__detail{font-size:.875rem;line-height:1.2857142857;color:#666;text-align:center;width:auto}.mc-stepper__title{display:none;color:#46a610}.mc-stepper--compact .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--compact .mc-stepper__item:before,.mc-stepper--compact .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--compact .mc-stepper__item:after{width:100%}.mc-stepper--compact .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--compact .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--compact .mc-stepper__indicator{display:none}.mc-stepper--compact .mc-stepper__detail{text-align:left}.mc-stepper--compact .mc-stepper__title{display:block;margin-bottom:.25rem}@media screen and (max-width: 679px){.mc-stepper--shrinked .mc-stepper__item{align-items:flex-start;flex-direction:row;padding-bottom:1.25rem}.mc-stepper--shrinked .mc-stepper__item:before,.mc-stepper--shrinked .mc-stepper__item:after{bottom:0;border-radius:6px;height:.25rem;top:auto}.mc-stepper--shrinked .mc-stepper__item:after{width:100%}.mc-stepper--shrinked .mc-stepper__item:before{z-index:2;width:calc(var(--current) * 100% / var(--steps))}.mc-stepper--shrinked .mc-stepper__item:not(.mc-stepper__item--current){display:none}.mc-stepper--shrinked .mc-stepper__indicator{display:none}.mc-stepper--shrinked .mc-stepper__detail{text-align:left}.mc-stepper--shrinked .mc-stepper__title{display:block;margin-bottom:.25rem}}\n"] }]
|
|
1496
|
+
}], propDecorators: { selectStepIndex: [{
|
|
1497
|
+
type: Input
|
|
1498
|
+
}], viewCompact: [{
|
|
1499
|
+
type: Input
|
|
1500
|
+
}], steps: [{
|
|
1501
|
+
type: ContentChildren,
|
|
1502
|
+
args: [StepComponent]
|
|
1503
|
+
}], stepElements: [{
|
|
1504
|
+
type: ContentChildren,
|
|
1505
|
+
args: [StepComponent, { read: ElementRef }]
|
|
1506
|
+
}], hostCssClasses: [{
|
|
1507
|
+
type: HostBinding,
|
|
1508
|
+
args: ['class']
|
|
1509
|
+
}] } });
|
|
1510
|
+
|
|
1511
|
+
class StepperModule {
|
|
1512
|
+
}
|
|
1513
|
+
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1514
|
+
StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, declarations: [StepperComponent, StepComponent], imports: [CommonModule, IconModule], exports: [StepperComponent, StepComponent] });
|
|
1515
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, imports: [CommonModule, IconModule] });
|
|
1516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, decorators: [{
|
|
1517
|
+
type: NgModule,
|
|
1518
|
+
args: [{
|
|
1519
|
+
imports: [CommonModule, IconModule],
|
|
1520
|
+
declarations: [StepperComponent, StepComponent],
|
|
1521
|
+
exports: [StepperComponent, StepComponent],
|
|
1522
|
+
}]
|
|
1523
|
+
}] });
|
|
1524
|
+
|
|
1525
|
+
class TabComponent {
|
|
1526
|
+
constructor(routerLinkActive, routerLink) {
|
|
1527
|
+
this.routerLinkActive = routerLinkActive;
|
|
1528
|
+
this.routerLink = routerLink;
|
|
1529
|
+
this.index = 0;
|
|
1530
|
+
this.disabled = false;
|
|
1531
|
+
this.data = null;
|
|
1532
|
+
this.selected = false;
|
|
1533
|
+
}
|
|
1534
|
+
get isAvailableTabForSelection() {
|
|
1535
|
+
return !this.selected && !this.disabled;
|
|
1536
|
+
}
|
|
1537
|
+
get isActiveTab() {
|
|
1538
|
+
return !!this.routerLinkActive?.isActive;
|
|
1539
|
+
}
|
|
1540
|
+
get link() {
|
|
1541
|
+
return this.routerLink?.href || null;
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabComponent, deps: [{ token: RouterLinkActive, optional: true }, { token: RouterLinkWithHref, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1545
|
+
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TabComponent, selector: "a[moz-tab],span[moz-tab],div[moz-tab]", inputs: { disabled: "disabled", data: "data" }, host: { properties: { "class.mc-tabs__item": "true", "class.mc-tabs__link": "true", "class.mc-tabs__link--outline": "true", "class.mc-tabs__link--selected": "selected", "class.mc-tabs__link--disabled": "disabled", "attr.tab-index": "this.index" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Light.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Light.woff) format(\"woff\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Regular.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Regular.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBold.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBold.woff) format(\"woff\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-LightItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-LightItalic.woff) format(\"woff\");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Italic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Italic.woff) format(\"woff\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff) format(\"woff\");font-weight:600;font-style:italic;font-display:swap}.mc-tabs{font-family:LeroyMerlin,sans-serif;font-weight:400;background-color:#fff;display:inline-flex;position:relative;width:100%}.mc-tabs:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 680px){.mc-tabs{width:auto}}.mc-tabs--no-shadow:after,.mc-tabs--no-divider:after{display:none}@media screen and (max-width: 679px){.mc-tabs:not(.mc-tabs--dropdown):before{bottom:.125rem}}.mc-tabs__nav{list-style:none;margin-left:0;padding-left:0;display:flex;margin-top:0;margin-bottom:0}@media screen and (max-width: 679px){.mc-tabs__nav{overflow:auto hidden;white-space:nowrap}}.mc-tabs__nav,.mc-tabs__select{position:relative}.mc-tabs__link,.mc-tabs__element{font-size:.875rem;line-height:1.2857142857;font-weight:600;align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;height:3.5rem;justify-content:center;outline:none;padding-left:.75rem;padding-right:.75rem;position:relative;text-decoration:none}.mc-tabs__link:before,.mc-tabs__element:before{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;bottom:-.125rem;top:-.125rem}.mc-tabs__link:after,.mc-tabs__element:after{background-color:transparent;bottom:0;content:\"\";height:.25rem;left:1.5rem;position:absolute;right:1.5rem}.mc-tabs__link:hover .mc-tabs__text,.mc-tabs__element:hover .mc-tabs__text{background-color:#eeeff1}.mc-tabs__link:active,.mc-tabs__element:active{color:#333}.mc-tabs__link:active .mc-tabs__text,.mc-tabs__element:active .mc-tabs__text{background-color:#cfd2d8}.mc-tabs__link:focus:before,.mc-tabs__element:focus:before{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-tabs__link--selected,.mc-tabs__element--selected{color:#000}.mc-tabs__link--selected:after,.mc-tabs__element--selected:after{background-color:#000}.mc-tabs__link--disabled,.mc-tabs__element--disabled{cursor:not-allowed;background-color:#ccc;pointer-events:none}.mc-tabs__link--disabled,.mc-tabs__link--disabled:hover,.mc-tabs__link--disabled:focus,.mc-tabs__link--disabled:active,.mc-tabs__element--disabled,.mc-tabs__element--disabled:hover,.mc-tabs__element--disabled:focus,.mc-tabs__element--disabled:active{box-shadow:none}.mc-tabs__text{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;justify-content:center;position:relative;padding:.4375rem .75rem;pointer-events:none}.mc-tabs__icon{fill:currentColor;height:1.5rem;width:1.5rem}@media screen and (min-width: 680px){.mc-tabs--full,.mc-tabs--full-centered{width:100%}}.mc-tabs--full-centered{justify-content:center}.mc-tabs--dropdown{padding:1rem;width:auto}.mc-tabs__link,.mc-tabs__link:active,.mc-tabs__link--selected{font-weight:400}.mc-tabs__link:focus:after{box-shadow:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabComponent, decorators: [{
|
|
1547
|
+
type: Component,
|
|
1548
|
+
args: [{ selector: `a[moz-tab],span[moz-tab],div[moz-tab]`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1549
|
+
'[class.mc-tabs__item]': 'true',
|
|
1550
|
+
'[class.mc-tabs__link]': 'true',
|
|
1551
|
+
'[class.mc-tabs__link--outline]': 'true',
|
|
1552
|
+
'[class.mc-tabs__link--selected]': 'selected',
|
|
1553
|
+
'[class.mc-tabs__link--disabled]': 'disabled',
|
|
1554
|
+
}, template: "<ng-content></ng-content>\n", styles: ["@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Light.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Light.woff) format(\"woff\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Regular.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Regular.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBold.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBold.woff) format(\"woff\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-LightItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-LightItalic.woff) format(\"woff\");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Italic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Italic.woff) format(\"woff\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff) format(\"woff\");font-weight:600;font-style:italic;font-display:swap}.mc-tabs{font-family:LeroyMerlin,sans-serif;font-weight:400;background-color:#fff;display:inline-flex;position:relative;width:100%}.mc-tabs:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 680px){.mc-tabs{width:auto}}.mc-tabs--no-shadow:after,.mc-tabs--no-divider:after{display:none}@media screen and (max-width: 679px){.mc-tabs:not(.mc-tabs--dropdown):before{bottom:.125rem}}.mc-tabs__nav{list-style:none;margin-left:0;padding-left:0;display:flex;margin-top:0;margin-bottom:0}@media screen and (max-width: 679px){.mc-tabs__nav{overflow:auto hidden;white-space:nowrap}}.mc-tabs__nav,.mc-tabs__select{position:relative}.mc-tabs__link,.mc-tabs__element{font-size:.875rem;line-height:1.2857142857;font-weight:600;align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;height:3.5rem;justify-content:center;outline:none;padding-left:.75rem;padding-right:.75rem;position:relative;text-decoration:none}.mc-tabs__link:before,.mc-tabs__element:before{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;bottom:-.125rem;top:-.125rem}.mc-tabs__link:after,.mc-tabs__element:after{background-color:transparent;bottom:0;content:\"\";height:.25rem;left:1.5rem;position:absolute;right:1.5rem}.mc-tabs__link:hover .mc-tabs__text,.mc-tabs__element:hover .mc-tabs__text{background-color:#eeeff1}.mc-tabs__link:active,.mc-tabs__element:active{color:#333}.mc-tabs__link:active .mc-tabs__text,.mc-tabs__element:active .mc-tabs__text{background-color:#cfd2d8}.mc-tabs__link:focus:before,.mc-tabs__element:focus:before{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-tabs__link--selected,.mc-tabs__element--selected{color:#000}.mc-tabs__link--selected:after,.mc-tabs__element--selected:after{background-color:#000}.mc-tabs__link--disabled,.mc-tabs__element--disabled{cursor:not-allowed;background-color:#ccc;pointer-events:none}.mc-tabs__link--disabled,.mc-tabs__link--disabled:hover,.mc-tabs__link--disabled:focus,.mc-tabs__link--disabled:active,.mc-tabs__element--disabled,.mc-tabs__element--disabled:hover,.mc-tabs__element--disabled:focus,.mc-tabs__element--disabled:active{box-shadow:none}.mc-tabs__text{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;justify-content:center;position:relative;padding:.4375rem .75rem;pointer-events:none}.mc-tabs__icon{fill:currentColor;height:1.5rem;width:1.5rem}@media screen and (min-width: 680px){.mc-tabs--full,.mc-tabs--full-centered{width:100%}}.mc-tabs--full-centered{justify-content:center}.mc-tabs--dropdown{padding:1rem;width:auto}.mc-tabs__link,.mc-tabs__link:active,.mc-tabs__link--selected{font-weight:400}.mc-tabs__link:focus:after{box-shadow:none}\n"] }]
|
|
1555
|
+
}], ctorParameters: function () { return [{ type: i1$2.RouterLinkActive, decorators: [{
|
|
1556
|
+
type: Optional
|
|
1557
|
+
}, {
|
|
1558
|
+
type: Inject,
|
|
1559
|
+
args: [RouterLinkActive]
|
|
1560
|
+
}] }, { type: i1$2.RouterLinkWithHref, decorators: [{
|
|
1561
|
+
type: Optional
|
|
1562
|
+
}, {
|
|
1563
|
+
type: Inject,
|
|
1564
|
+
args: [RouterLinkWithHref]
|
|
1565
|
+
}] }]; }, propDecorators: { index: [{
|
|
1566
|
+
type: HostBinding,
|
|
1567
|
+
args: ['attr.tab-index']
|
|
1568
|
+
}], disabled: [{
|
|
1569
|
+
type: Input
|
|
1570
|
+
}], data: [{
|
|
1571
|
+
type: Input
|
|
1572
|
+
}] } });
|
|
1573
|
+
|
|
1574
|
+
const TAB_SELECTORS = 'a,div,span';
|
|
1575
|
+
const TABS_SELECTOR = 'moz-tabs';
|
|
1576
|
+
|
|
1577
|
+
class TabsComponent {
|
|
1578
|
+
constructor(elementRef, cd, router) {
|
|
1579
|
+
this.elementRef = elementRef;
|
|
1580
|
+
this.cd = cd;
|
|
1581
|
+
this.router = router;
|
|
1582
|
+
this.fullWidth = false;
|
|
1583
|
+
this.fullWidthCenter = false;
|
|
1584
|
+
this.hideShadow = false;
|
|
1585
|
+
this.selectTabIndex = null;
|
|
1586
|
+
this.selectedTabChange = new EventEmitter();
|
|
1587
|
+
this.afterViewInit = new Subject();
|
|
1588
|
+
this.viewDestroyed = new Subject();
|
|
1589
|
+
this.initBehaviorSelectForTab();
|
|
1590
|
+
}
|
|
1591
|
+
get viewFullWidth() {
|
|
1592
|
+
return this.fullWidth && !this.fullWidthCenter;
|
|
1593
|
+
}
|
|
1594
|
+
ngAfterViewInit() {
|
|
1595
|
+
this.afterViewInit.next(true);
|
|
1596
|
+
}
|
|
1597
|
+
ngOnChanges({ selectTabIndex }) {
|
|
1598
|
+
if (selectTabIndex && typeof selectTabIndex.currentValue === 'number') {
|
|
1599
|
+
this.selectTabAtChanges(selectTabIndex.currentValue);
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
ngOnDestroy() {
|
|
1603
|
+
this.viewDestroyed.next(true);
|
|
1604
|
+
this.viewDestroyed.complete();
|
|
1605
|
+
}
|
|
1606
|
+
initBehaviorSelectForTab() {
|
|
1607
|
+
const afterFullNavigateAndRender = this.getAfterFullNavigateAndRenderEvent();
|
|
1608
|
+
const tabsAfterNavigate = afterFullNavigateAndRender.pipe(map(() => this.tabs), filter(Boolean));
|
|
1609
|
+
tabsAfterNavigate
|
|
1610
|
+
.pipe(tap((tabs) => this.initTabIndex(tabs)), tap((tabs) => this.initFirstSelectionTab(tabs)), switchMap((tabs) => this.getAllTabEvents(tabs)), tap((tab) => this.selectTab(this.tabs, tab)), takeUntil(this.viewDestroyed))
|
|
1611
|
+
.subscribe();
|
|
1612
|
+
}
|
|
1613
|
+
initTabIndex(tabs) {
|
|
1614
|
+
tabs.forEach((tab, index) => (tab.index = index));
|
|
1615
|
+
this.cd.markForCheck();
|
|
1616
|
+
}
|
|
1617
|
+
initFirstSelectionTab(tabs) {
|
|
1618
|
+
const activeTab = tabs.find((tab) => tab.isActiveTab);
|
|
1619
|
+
const selectTabByIndex = typeof this.selectTabIndex === 'number' && tabs.get(this.selectTabIndex);
|
|
1620
|
+
const firstSelectedTab = selectTabByIndex || activeTab || tabs.first;
|
|
1621
|
+
firstSelectedTab.selected = true;
|
|
1622
|
+
this.tryNavigateToTab(firstSelectedTab);
|
|
1623
|
+
}
|
|
1624
|
+
tryNavigateToTab(tab) {
|
|
1625
|
+
if (!tab.link || tab.isActiveTab)
|
|
1626
|
+
return;
|
|
1627
|
+
this.router?.navigate([tab.link]);
|
|
1628
|
+
}
|
|
1629
|
+
selectTabAtChanges(selectTabIndex) {
|
|
1630
|
+
const newSelectTab = this.tabs?.get(selectTabIndex);
|
|
1631
|
+
if (!newSelectTab || !this.tabs)
|
|
1632
|
+
return;
|
|
1633
|
+
this.selectTab(this.tabs, newSelectTab);
|
|
1634
|
+
this.tryNavigateToTab(newSelectTab);
|
|
1635
|
+
}
|
|
1636
|
+
getTabSelectionEvents(tabs) {
|
|
1637
|
+
const indexClickedTab = this.getIndexClickedTab();
|
|
1638
|
+
const clickedTab = indexClickedTab.pipe(map((tabIndex) => tabs.get(+tabIndex)));
|
|
1639
|
+
return clickedTab.pipe(filter(Boolean), filter((tab) => tab.isAvailableTabForSelection));
|
|
1640
|
+
}
|
|
1641
|
+
getTabActiveEvents(tabs) {
|
|
1642
|
+
const tabWithLink = tabs.filter(({ routerLinkActive }) => !!routerLinkActive);
|
|
1643
|
+
const tabsActiveEvent = tabWithLink.map((tab) => {
|
|
1644
|
+
return tab.routerLinkActive.isActiveChange.pipe(filter(Boolean), map(() => tab));
|
|
1645
|
+
});
|
|
1646
|
+
return merge(...tabsActiveEvent);
|
|
1647
|
+
}
|
|
1648
|
+
getAfterFullNavigateAndRenderEvent() {
|
|
1649
|
+
const eventNavigationEnd = this.router?.events.pipe(filter((event) => event instanceof NavigationEnd), first()) || of(true);
|
|
1650
|
+
return combineLatest([eventNavigationEnd, this.afterViewInit]).pipe(delay$1(0));
|
|
1651
|
+
}
|
|
1652
|
+
getIndexClickedTab() {
|
|
1653
|
+
return fromEvent(this.elementRef.nativeElement, 'click').pipe(map((event) => event.target), filter(this.filterTabsElement.bind(this)), map((targetElement) => targetElement.closest(TAB_SELECTORS)), filter((tabElement) => !!tabElement), map((tabElement) => tabElement.getAttribute('tab-index')));
|
|
1654
|
+
}
|
|
1655
|
+
getAllTabEvents(tabs) {
|
|
1656
|
+
return merge(this.getTabSelectionEvents(tabs), this.getTabActiveEvents(tabs));
|
|
1657
|
+
}
|
|
1658
|
+
filterTabsElement({ nodeName }) {
|
|
1659
|
+
return nodeName.toLowerCase() !== TABS_SELECTOR;
|
|
1660
|
+
}
|
|
1661
|
+
selectTab(tabs, clickedTab) {
|
|
1662
|
+
tabs.forEach((tab) => (tab.selected = tab === clickedTab));
|
|
1663
|
+
this.selectedTabChange.emit(clickedTab);
|
|
1664
|
+
this.cd.markForCheck();
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
TabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$2.Router, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1668
|
+
TabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TabsComponent, selector: "moz-tabs", inputs: { fullWidth: "fullWidth", fullWidthCenter: "fullWidthCenter", hideShadow: "hideShadow", selectTabIndex: "selectTabIndex" }, outputs: { selectedTabChange: "selectedTabChange" }, host: { properties: { "class.mc-tabs": "true", "class.mc-tabs--full": "viewFullWidth", "class.mc-tabs--full-centered": "fullWidthCenter", "class.mc-tab--hide-shadow": "hideShadow" } }, queries: [{ propertyName: "tabs", predicate: TabComponent }], usesOnChanges: true, ngImport: i0, template: "<ng-content select=\"[moz-tab]\"></ng-content>\n", styles: ["@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Light.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Light.woff) format(\"woff\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Regular.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Regular.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBold.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBold.woff) format(\"woff\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-LightItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-LightItalic.woff) format(\"woff\");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Italic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Italic.woff) format(\"woff\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff) format(\"woff\");font-weight:600;font-style:italic;font-display:swap}.mc-tabs{font-family:LeroyMerlin,sans-serif;font-weight:400;background-color:#fff;display:inline-flex;position:relative;width:100%}.mc-tabs:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 680px){.mc-tabs{width:auto}}.mc-tabs--no-shadow:after,.mc-tabs--no-divider:after{display:none}@media screen and (max-width: 679px){.mc-tabs:not(.mc-tabs--dropdown):before{bottom:.125rem}}.mc-tabs__nav{list-style:none;margin-left:0;padding-left:0;display:flex;margin-top:0;margin-bottom:0}@media screen and (max-width: 679px){.mc-tabs__nav{overflow:auto hidden;white-space:nowrap}}.mc-tabs__nav,.mc-tabs__select{position:relative}.mc-tabs__link,.mc-tabs__element{font-size:.875rem;line-height:1.2857142857;font-weight:600;align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;height:3.5rem;justify-content:center;outline:none;padding-left:.75rem;padding-right:.75rem;position:relative;text-decoration:none}.mc-tabs__link:before,.mc-tabs__element:before{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;bottom:-.125rem;top:-.125rem}.mc-tabs__link:after,.mc-tabs__element:after{background-color:transparent;bottom:0;content:\"\";height:.25rem;left:1.5rem;position:absolute;right:1.5rem}.mc-tabs__link:hover .mc-tabs__text,.mc-tabs__element:hover .mc-tabs__text{background-color:#eeeff1}.mc-tabs__link:active,.mc-tabs__element:active{color:#333}.mc-tabs__link:active .mc-tabs__text,.mc-tabs__element:active .mc-tabs__text{background-color:#cfd2d8}.mc-tabs__link:focus:before,.mc-tabs__element:focus:before{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-tabs__link--selected,.mc-tabs__element--selected{color:#000}.mc-tabs__link--selected:after,.mc-tabs__element--selected:after{background-color:#000}.mc-tabs__link--disabled,.mc-tabs__element--disabled{cursor:not-allowed;background-color:#ccc;pointer-events:none}.mc-tabs__link--disabled,.mc-tabs__link--disabled:hover,.mc-tabs__link--disabled:focus,.mc-tabs__link--disabled:active,.mc-tabs__element--disabled,.mc-tabs__element--disabled:hover,.mc-tabs__element--disabled:focus,.mc-tabs__element--disabled:active{box-shadow:none}.mc-tabs__text{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;justify-content:center;position:relative;padding:.4375rem .75rem;pointer-events:none}.mc-tabs__icon{fill:currentColor;height:1.5rem;width:1.5rem}@media screen and (min-width: 680px){.mc-tabs--full,.mc-tabs--full-centered{width:100%}}.mc-tabs--full-centered{justify-content:center}.mc-tabs--dropdown{padding:1rem;width:auto}.mc-tab--hide-shadow:before{box-shadow:none!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsComponent, decorators: [{
|
|
1670
|
+
type: Component,
|
|
1671
|
+
args: [{ selector: TABS_SELECTOR, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
1672
|
+
'[class.mc-tabs]': 'true',
|
|
1673
|
+
'[class.mc-tabs--full]': 'viewFullWidth',
|
|
1674
|
+
'[class.mc-tabs--full-centered]': 'fullWidthCenter',
|
|
1675
|
+
'[class.mc-tab--hide-shadow]': 'hideShadow',
|
|
1676
|
+
}, template: "<ng-content select=\"[moz-tab]\"></ng-content>\n", styles: ["@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Light.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Light.woff) format(\"woff\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Regular.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Regular.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBold.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBold.woff) format(\"woff\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-LightItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-LightItalic.woff) format(\"woff\");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-Italic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-Italic.woff) format(\"woff\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:LeroyMerlin;src:url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff2) format(\"woff2\"),url(/fonts/LeroyMerlinSans-Web-SemiBoldItalic.woff) format(\"woff\");font-weight:600;font-style:italic;font-display:swap}.mc-tabs{font-family:LeroyMerlin,sans-serif;font-weight:400;background-color:#fff;display:inline-flex;position:relative;width:100%}.mc-tabs:after{background:#b3b3b3;content:\"\";display:block;margin:0 auto;height:1px;width:100%;bottom:0;left:0;position:absolute}@media screen and (min-width: 680px){.mc-tabs{width:auto}}.mc-tabs--no-shadow:after,.mc-tabs--no-divider:after{display:none}@media screen and (max-width: 679px){.mc-tabs:not(.mc-tabs--dropdown):before{bottom:.125rem}}.mc-tabs__nav{list-style:none;margin-left:0;padding-left:0;display:flex;margin-top:0;margin-bottom:0}@media screen and (max-width: 679px){.mc-tabs__nav{overflow:auto hidden;white-space:nowrap}}.mc-tabs__nav,.mc-tabs__select{position:relative}.mc-tabs__link,.mc-tabs__element{font-size:.875rem;line-height:1.2857142857;font-weight:600;align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;height:3.5rem;justify-content:center;outline:none;padding-left:.75rem;padding-right:.75rem;position:relative;text-decoration:none}.mc-tabs__link:before,.mc-tabs__element:before{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;bottom:-.125rem;top:-.125rem}.mc-tabs__link:after,.mc-tabs__element:after{background-color:transparent;bottom:0;content:\"\";height:.25rem;left:1.5rem;position:absolute;right:1.5rem}.mc-tabs__link:hover .mc-tabs__text,.mc-tabs__element:hover .mc-tabs__text{background-color:#eeeff1}.mc-tabs__link:active,.mc-tabs__element:active{color:#333}.mc-tabs__link:active .mc-tabs__text,.mc-tabs__element:active .mc-tabs__text{background-color:#cfd2d8}.mc-tabs__link:focus:before,.mc-tabs__element:focus:before{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-tabs__link--selected,.mc-tabs__element--selected{color:#000}.mc-tabs__link--selected:after,.mc-tabs__element--selected:after{background-color:#000}.mc-tabs__link--disabled,.mc-tabs__element--disabled{cursor:not-allowed;background-color:#ccc;pointer-events:none}.mc-tabs__link--disabled,.mc-tabs__link--disabled:hover,.mc-tabs__link--disabled:focus,.mc-tabs__link--disabled:active,.mc-tabs__element--disabled,.mc-tabs__element--disabled:hover,.mc-tabs__element--disabled:focus,.mc-tabs__element--disabled:active{box-shadow:none}.mc-tabs__text{align-items:center;border-radius:.25rem;display:flex;gap:.25rem;justify-content:center;position:relative;padding:.4375rem .75rem;pointer-events:none}.mc-tabs__icon{fill:currentColor;height:1.5rem;width:1.5rem}@media screen and (min-width: 680px){.mc-tabs--full,.mc-tabs--full-centered{width:100%}}.mc-tabs--full-centered{justify-content:center}.mc-tabs--dropdown{padding:1rem;width:auto}.mc-tab--hide-shadow:before{box-shadow:none!important}\n"] }]
|
|
1677
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.Router, decorators: [{
|
|
1678
|
+
type: Host
|
|
1679
|
+
}, {
|
|
1680
|
+
type: Optional
|
|
1681
|
+
}] }]; }, propDecorators: { fullWidth: [{
|
|
1682
|
+
type: Input
|
|
1683
|
+
}], fullWidthCenter: [{
|
|
1684
|
+
type: Input
|
|
1685
|
+
}], hideShadow: [{
|
|
1686
|
+
type: Input
|
|
1687
|
+
}], selectTabIndex: [{
|
|
1688
|
+
type: Input
|
|
1689
|
+
}], selectedTabChange: [{
|
|
1690
|
+
type: Output
|
|
1691
|
+
}], tabs: [{
|
|
1692
|
+
type: ContentChildren,
|
|
1693
|
+
args: [TabComponent]
|
|
1694
|
+
}] } });
|
|
1695
|
+
|
|
1696
|
+
class TabsModule {
|
|
1697
|
+
}
|
|
1698
|
+
TabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1699
|
+
TabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, declarations: [TabsComponent, TabComponent], imports: [CommonModule], exports: [TabsComponent, TabComponent] });
|
|
1700
|
+
TabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, imports: [CommonModule] });
|
|
1701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, decorators: [{
|
|
1702
|
+
type: NgModule,
|
|
1703
|
+
args: [{
|
|
1704
|
+
declarations: [TabsComponent, TabComponent],
|
|
1705
|
+
imports: [CommonModule],
|
|
1706
|
+
exports: [TabsComponent, TabComponent],
|
|
1707
|
+
}]
|
|
1708
|
+
}] });
|
|
1709
|
+
|
|
1710
|
+
class TagComponent {
|
|
1711
|
+
constructor(elementRef) {
|
|
1712
|
+
this.elementRef = elementRef;
|
|
1713
|
+
this.size = 'm';
|
|
1714
|
+
this.select = false;
|
|
1715
|
+
this.selectChange = new EventEmitter();
|
|
1716
|
+
this.clickOnRemove = new EventEmitter();
|
|
1717
|
+
this.type = this.getDefaultType();
|
|
1718
|
+
}
|
|
1719
|
+
get hostCssClasses() {
|
|
1720
|
+
return `${this.tagCssClass} ${this.sizeCssClass}`;
|
|
1721
|
+
}
|
|
1722
|
+
get labelCssClass() {
|
|
1723
|
+
return `${this.tagCssClass}__label`;
|
|
1724
|
+
}
|
|
1725
|
+
get tagName() {
|
|
1726
|
+
return this.elementRef?.nativeElement.tagName.toLowerCase();
|
|
1727
|
+
}
|
|
1728
|
+
get hostIsLink() {
|
|
1729
|
+
return this.tagName === 'a';
|
|
1730
|
+
}
|
|
1731
|
+
get tagCssClass() {
|
|
1732
|
+
return `mc-tag-${this.type}`;
|
|
1733
|
+
}
|
|
1734
|
+
get sizeCssClass() {
|
|
1735
|
+
return `${this.tagCssClass}--${this.size}`;
|
|
1736
|
+
}
|
|
1737
|
+
getDefaultType() {
|
|
1738
|
+
return this.hostIsLink ? 'link' : 'text';
|
|
1739
|
+
}
|
|
1740
|
+
emitRemove() {
|
|
1741
|
+
this.clickOnRemove.emit();
|
|
1742
|
+
}
|
|
1743
|
+
emitSelectChanges($event) {
|
|
1744
|
+
this.selectChange.emit($event);
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1748
|
+
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TagComponent, selector: "moz-tag, a[moz-tag]", inputs: { type: "type", size: "size", select: "select" }, outputs: { selectChange: "selectChange", clickOnRemove: "clickOnRemove" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: "<ng-template #labelTemplate>\n <span [ngClass]=\"labelCssClass\">\n <ng-content></ng-content>\n </span>\n</ng-template>\n\n<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'selectable'\">\n <input\n class=\"mc-tag-selectable__input\"\n type=\"checkbox\"\n id=\"selectable\"\n [ngModel]=\"select\"\n (ngModelChange)=\"emitSelectChanges($event)\"\n />\n <label class=\"mc-tag-selectable__pill\" for=\"selectable\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n </label>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'removable'\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n <button class=\"mc-tag-removable__remove\" (click)=\"emitRemove()\"></button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n", styles: [".mc-tag-text{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;background:#ffffff;color:#191919;box-shadow:inset 0 0 0 1px gray}.mc-tag-text:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-text--s{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-text--s\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-text--s\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-text--s\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-text--s\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}.mc-tag-text--dark{background:#191919;color:#fff;box-shadow:inset 0 0 0 1px #fff}.mc-tag-link{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;text-decoration:none;outline:none;background:#ffffff;box-shadow:inset 0 0 0 1px gray;color:#191919}.mc-tag-link:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-link:hover{background:#e6e6e6}.mc-tag-link:active{background:#cccccc}.mc-tag-link:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-tag-link--s{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-link--s\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-link--s\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-link--s\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-link--s\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}.mc-tag-link--dark{background:#191919;color:#fff;box-shadow:inset 0 0 0 1px #fff}.mc-tag-link--dark:hover{background:#333333}.mc-tag-link--dark:active{background:#4d4d4d}.mc-tag-selectable{display:inline-block;white-space:nowrap}.mc-tag-selectable__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-tag-selectable__label{-webkit-user-select:none;user-select:none}.mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;transition:box-shadow .2s ease;background:#ffffff;box-shadow:inset 0 0 0 1px gray;color:#191919;cursor:pointer}.mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-selectable__pill:hover{background:#9ed05f}:checked+.mc-tag-selectable__pill{background:#188803;box-shadow:inset 0 0 0 1px #188803;color:#fff}:checked+.mc-tag-selectable__pill:hover{background:#006902;box-shadow:inset 0 0 0 1px #006902}.mc-tag-selectable__pill:active{background:#035010;box-shadow:inset 0 0 0 1px #035010;color:#fff}:focus+.mc-tag-selectable__pill:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}:disabled+.mc-tag-selectable__pill{cursor:not-allowed;background:#e6e6e6;color:gray}.mc-tag-selectable--dark .mc-tag-selectable__pill{background:#191919;color:#fff;cursor:pointer}.mc-tag-selectable--dark .mc-tag-selectable__pill:hover{background:#006902}.mc-tag-selectable--dark .mc-tag-selectable__pill:active{background:#c5e39e;box-shadow:inset 0 0 0 1px #c5e39e;color:#191919}.mc-tag-selectable--dark :checked+.mc-tag-selectable__pill{background:#78be20;box-shadow:inset 0 0 0 1px #78be20;color:#191919}.mc-tag-selectable--dark :checked+.mc-tag-selectable__pill:hover{background:#9ed05f}.mc-tag-selectable--dark :disabled+.mc-tag-selectable__pill{cursor:not-allowed;background:#4d4d4d;color:gray}.mc-tag-selectable--s .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-selectable--s\\@from-m .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-m .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-selectable--s\\@from-l .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-l .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-selectable--s\\@from-xl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-xl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-selectable--s\\@from-xxl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-xxl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}.mc-tag-selectable--m .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-selectable--m\\@from-m .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-m .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-selectable--m\\@from-l .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-l .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-selectable--m\\@from-xl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-xl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-selectable--m\\@from-xxl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-xxl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}.mc-tag-removable{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0;background-color:#333;color:#fff}.mc-tag-removable:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--s{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}@media screen and (min-width: 680px){.mc-tag-removable--s\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-m .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-m .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}@media screen and (min-width: 1024px){.mc-tag-removable--s\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-l .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-l .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}@media screen and (min-width: 1280px){.mc-tag-removable--s\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-xl .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-xl .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}@media screen and (min-width: 1920px){.mc-tag-removable--s\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-xxl .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-xxl .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}.mc-tag-removable--m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}@media screen and (min-width: 680px){.mc-tag-removable--m\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-m .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-m .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}@media screen and (min-width: 1024px){.mc-tag-removable--m\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-l .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-l .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}@media screen and (min-width: 1280px){.mc-tag-removable--m\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-xl .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-xl .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}@media screen and (min-width: 1920px){.mc-tag-removable--m\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-xxl .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-xxl .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}.mc-tag-removable--dark{background-color:#ccc;color:#191919}.mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable__remove{box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\");position:relative;background-color:#333;margin:0;display:block;border-radius:50%;background-repeat:no-repeat;background-position:center}.mc-tag-removable__remove:after{box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:50%;inset:-.125rem}.mc-tag-removable__remove-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-tag-removable__remove:hover{background-color:#4d4d4d}.mc-tag-removable__remove:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-tag-removable__remove:active{background-color:#666}.mc-tag-removable--dark .mc-tag-removable__remove{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23191919' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\");background-color:#ccc}.mc-tag-removable--dark .mc-tag-removable__remove:hover{background-color:#b3b3b3}.mc-tag-removable--dark .mc-tag-removable__remove:active{background-color:#999}.mc-tag-list{list-style:none;margin-left:0;padding-left:0;display:flex;flex-flow:row wrap}.mc-tag-list__item{margin:0 1rem 1rem 0}.mc-tag-removable__remove{background-image:url(assets/special-icons/remove-tag.svg)!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagComponent, decorators: [{
|
|
1750
|
+
type: Component,
|
|
1751
|
+
args: [{ selector: 'moz-tag, a[moz-tag]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-template #labelTemplate>\n <span [ngClass]=\"labelCssClass\">\n <ng-content></ng-content>\n </span>\n</ng-template>\n\n<ng-container [ngSwitch]=\"type\">\n <ng-container *ngSwitchCase=\"'selectable'\">\n <input\n class=\"mc-tag-selectable__input\"\n type=\"checkbox\"\n id=\"selectable\"\n [ngModel]=\"select\"\n (ngModelChange)=\"emitSelectChanges($event)\"\n />\n <label class=\"mc-tag-selectable__pill\" for=\"selectable\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n </label>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'removable'\">\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n <button class=\"mc-tag-removable__remove\" (click)=\"emitRemove()\"></button>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-container [ngTemplateOutlet]=\"labelTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n", styles: [".mc-tag-text{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;background:#ffffff;color:#191919;box-shadow:inset 0 0 0 1px gray}.mc-tag-text:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-text--s{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-text--s\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-text--s\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-text--s\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-text--s\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-text--s\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}.mc-tag-text--dark{background:#191919;color:#fff;box-shadow:inset 0 0 0 1px #fff}.mc-tag-link{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;text-decoration:none;outline:none;background:#ffffff;box-shadow:inset 0 0 0 1px gray;color:#191919}.mc-tag-link:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-link:hover{background:#e6e6e6}.mc-tag-link:active{background:#cccccc}.mc-tag-link:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-tag-link--s{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-link--s\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-link--s\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-link--s\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-link--s\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-link--s\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}.mc-tag-link--dark{background:#191919;color:#fff;box-shadow:inset 0 0 0 1px #fff}.mc-tag-link--dark:hover{background:#333333}.mc-tag-link--dark:active{background:#4d4d4d}.mc-tag-selectable{display:inline-block;white-space:nowrap}.mc-tag-selectable__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-tag-selectable__label{-webkit-user-select:none;user-select:none}.mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;transition:box-shadow .2s ease;background:#ffffff;box-shadow:inset 0 0 0 1px gray;color:#191919;cursor:pointer}.mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-selectable__pill:hover{background:#9ed05f}:checked+.mc-tag-selectable__pill{background:#188803;box-shadow:inset 0 0 0 1px #188803;color:#fff}:checked+.mc-tag-selectable__pill:hover{background:#006902;box-shadow:inset 0 0 0 1px #006902}.mc-tag-selectable__pill:active{background:#035010;box-shadow:inset 0 0 0 1px #035010;color:#fff}:focus+.mc-tag-selectable__pill:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}:disabled+.mc-tag-selectable__pill{cursor:not-allowed;background:#e6e6e6;color:gray}.mc-tag-selectable--dark .mc-tag-selectable__pill{background:#191919;color:#fff;cursor:pointer}.mc-tag-selectable--dark .mc-tag-selectable__pill:hover{background:#006902}.mc-tag-selectable--dark .mc-tag-selectable__pill:active{background:#c5e39e;box-shadow:inset 0 0 0 1px #c5e39e;color:#191919}.mc-tag-selectable--dark :checked+.mc-tag-selectable__pill{background:#78be20;box-shadow:inset 0 0 0 1px #78be20;color:#191919}.mc-tag-selectable--dark :checked+.mc-tag-selectable__pill:hover{background:#9ed05f}.mc-tag-selectable--dark :disabled+.mc-tag-selectable__pill{cursor:not-allowed;background:#4d4d4d;color:gray}.mc-tag-selectable--s .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-selectable--s\\@from-m .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-m .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-selectable--s\\@from-l .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-l .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-selectable--s\\@from-xl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-xl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-selectable--s\\@from-xxl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex}.mc-tag-selectable--s\\@from-xxl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}}.mc-tag-selectable--m .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}@media screen and (min-width: 680px){.mc-tag-selectable--m\\@from-m .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-m .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}@media screen and (min-width: 1024px){.mc-tag-selectable--m\\@from-l .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-l .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}@media screen and (min-width: 1280px){.mc-tag-selectable--m\\@from-xl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-xl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}@media screen and (min-width: 1920px){.mc-tag-selectable--m\\@from-xxl .mc-tag-selectable__pill{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex}.mc-tag-selectable--m\\@from-xxl .mc-tag-selectable__pill:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}}.mc-tag-removable{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0;background-color:#333;color:#fff}.mc-tag-removable:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--s{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}@media screen and (min-width: 680px){.mc-tag-removable--s\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-m .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-m .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}@media screen and (min-width: 1024px){.mc-tag-removable--s\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-l .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-l .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}@media screen and (min-width: 1280px){.mc-tag-removable--s\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-xl .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-xl .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}@media screen and (min-width: 1920px){.mc-tag-removable--s\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:.75rem;padding:.1875rem 1rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--s\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:.875rem;inset:-.125rem}.mc-tag-removable--s\\@from-xxl .mc-tag-removable__label{padding:.1875rem .25rem .1875rem 1rem}.mc-tag-removable--s\\@from-xxl .mc-tag-removable__remove{width:1.5rem;height:1.5rem;background-size:1rem}}.mc-tag-removable--m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}@media screen and (min-width: 680px){.mc-tag-removable--m\\@from-m{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-m:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-m .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-m .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}@media screen and (min-width: 1024px){.mc-tag-removable--m\\@from-l{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-l:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-l .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-l .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}@media screen and (min-width: 1280px){.mc-tag-removable--m\\@from-xl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-xl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-xl .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-xl .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}@media screen and (min-width: 1920px){.mc-tag-removable--m\\@from-xxl{font-family:LeroyMerlin,sans-serif;font-weight:400;font-size:.875rem;line-height:1.2857142857;border-radius:1.25rem;padding:.6875rem 1.5rem;position:relative;display:inline-flex;padding:0}.mc-tag-removable--m\\@from-xxl:after{border-radius:2px;box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:1.375rem;inset:-.125rem}.mc-tag-removable--m\\@from-xxl .mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable--m\\@from-xxl .mc-tag-removable__remove{width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\")}}.mc-tag-removable--dark{background-color:#ccc;color:#191919}.mc-tag-removable__label{padding:.6875rem .5rem .6875rem 1.5rem}.mc-tag-removable__remove{box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;width:2.5rem;height:2.5rem;background-size:1.5rem;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23cccccc' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\");position:relative;background-color:#333;margin:0;display:block;border-radius:50%;background-repeat:no-repeat;background-position:center}.mc-tag-removable__remove:after{box-shadow:0 0 0 0 transparent;content:\"\";display:block;pointer-events:none;position:absolute;inset:0;transition:box-shadow .2s ease;border-radius:50%;inset:-.125rem}.mc-tag-removable__remove-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-tag-removable__remove:hover{background-color:#4d4d4d}.mc-tag-removable__remove:focus:after{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc;box-shadow:0 0 0 .125rem #0b96cc}.mc-tag-removable__remove:active{background-color:#666}.mc-tag-removable--dark .mc-tag-removable__remove{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' fill='%23191919' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm4.14 12.7a1 1 0 0 1-1.41 1.42l-2.68-2.68-2.78 2.77a1 1 0 1 1-1.41-1.42L10.63 12 7.79 9.21a1 1 0 1 1 1.42-1.42l2.84 2.83 2.74-2.74a1 1 0 1 1 1.42 1.42L13.46 12z'/%3E%3C/svg%3E\");background-color:#ccc}.mc-tag-removable--dark .mc-tag-removable__remove:hover{background-color:#b3b3b3}.mc-tag-removable--dark .mc-tag-removable__remove:active{background-color:#999}.mc-tag-list{list-style:none;margin-left:0;padding-left:0;display:flex;flex-flow:row wrap}.mc-tag-list__item{margin:0 1rem 1rem 0}.mc-tag-removable__remove{background-image:url(assets/special-icons/remove-tag.svg)!important}\n"] }]
|
|
1752
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { type: [{
|
|
1753
|
+
type: Input
|
|
1754
|
+
}], size: [{
|
|
1755
|
+
type: Input
|
|
1756
|
+
}], select: [{
|
|
1757
|
+
type: Input
|
|
1758
|
+
}], selectChange: [{
|
|
1759
|
+
type: Output
|
|
1760
|
+
}], clickOnRemove: [{
|
|
1761
|
+
type: Output
|
|
1762
|
+
}], hostCssClasses: [{
|
|
1763
|
+
type: HostBinding,
|
|
1764
|
+
args: ['class']
|
|
1765
|
+
}] } });
|
|
1766
|
+
|
|
1767
|
+
class TagModule {
|
|
1768
|
+
}
|
|
1769
|
+
TagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1770
|
+
TagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TagModule, declarations: [TagComponent], imports: [CommonModule, FormsModule], exports: [TagComponent] });
|
|
1771
|
+
TagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagModule, imports: [CommonModule, FormsModule] });
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagModule, decorators: [{
|
|
1773
|
+
type: NgModule,
|
|
1774
|
+
args: [{
|
|
1775
|
+
imports: [CommonModule, FormsModule],
|
|
1776
|
+
declarations: [TagComponent],
|
|
1777
|
+
exports: [TagComponent],
|
|
1778
|
+
}]
|
|
1779
|
+
}] });
|
|
1780
|
+
|
|
1781
|
+
class TextAreaComponent {
|
|
1782
|
+
constructor() {
|
|
1783
|
+
this._invalid = false;
|
|
1784
|
+
this._valid = false;
|
|
1785
|
+
}
|
|
1786
|
+
get invalid() {
|
|
1787
|
+
return this._invalid || false;
|
|
1788
|
+
}
|
|
1789
|
+
get valid() {
|
|
1790
|
+
const valid = this._valid || false;
|
|
1791
|
+
return !this.invalid && valid;
|
|
1792
|
+
}
|
|
1793
|
+
get hostCssClasses() {
|
|
1794
|
+
const staticClasses = 'mc-textarea';
|
|
1795
|
+
const validClass = this.valid ? 'is-valid' : '';
|
|
1796
|
+
const invalidClass = this.invalid ? 'is-invalid' : '';
|
|
1797
|
+
const dynamicClasses = `${validClass} ${invalidClass}`;
|
|
1798
|
+
return `${staticClasses} ${dynamicClasses}`;
|
|
1799
|
+
}
|
|
1800
|
+
set invalid(val) {
|
|
1801
|
+
this._invalid = castBooleanProperty(val);
|
|
1802
|
+
}
|
|
1803
|
+
set valid(val) {
|
|
1804
|
+
this._valid = castBooleanProperty(val);
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1808
|
+
TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TextAreaComponent, selector: "textarea[moz-text-area]", inputs: { invalid: "invalid", valid: "valid" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: '', isInline: true, styles: [".mc-textarea{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;font-size:1rem;line-height:1.375;border-radius:4px;display:block;width:100%;position:relative;color:#191919;border:1px solid #666666;background:#ffffff;transition:all ease .2s;padding:calc(.75rem - .125em - 1px) .75rem calc(.75rem + .125em - 1px)}.mc-textarea[type=number]::-webkit-inner-spin-button,.mc-textarea[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-textarea[type=number]{-moz-appearance:textfield}.mc-textarea[type=search]::-webkit-search-decoration:hover,.mc-textarea[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-textarea:hover{border-color:#191919}.mc-textarea.is-valid{border-color:#46a610}.mc-textarea.is-invalid{border-color:#c61112}.mc-textarea:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-textarea:disabled{border-color:#e6e6e6;background:#e6e6e6;cursor:not-allowed}.mc-textarea::placeholder{color:#666}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
1810
|
+
type: Component,
|
|
1811
|
+
args: [{ selector: 'textarea[moz-text-area]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-textarea{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;font-size:1rem;line-height:1.375;border-radius:4px;display:block;width:100%;position:relative;color:#191919;border:1px solid #666666;background:#ffffff;transition:all ease .2s;padding:calc(.75rem - .125em - 1px) .75rem calc(.75rem + .125em - 1px)}.mc-textarea[type=number]::-webkit-inner-spin-button,.mc-textarea[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-textarea[type=number]{-moz-appearance:textfield}.mc-textarea[type=search]::-webkit-search-decoration:hover,.mc-textarea[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-textarea:hover{border-color:#191919}.mc-textarea.is-valid{border-color:#46a610}.mc-textarea.is-invalid{border-color:#c61112}.mc-textarea:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-textarea:disabled{border-color:#e6e6e6;background:#e6e6e6;cursor:not-allowed}.mc-textarea::placeholder{color:#666}\n"] }]
|
|
1812
|
+
}], propDecorators: { hostCssClasses: [{
|
|
1813
|
+
type: HostBinding,
|
|
1814
|
+
args: ['class']
|
|
1815
|
+
}], invalid: [{
|
|
1816
|
+
type: Input
|
|
1817
|
+
}], valid: [{
|
|
1818
|
+
type: Input
|
|
1819
|
+
}] } });
|
|
1820
|
+
|
|
1821
|
+
class TextAreaModule {
|
|
1822
|
+
}
|
|
1823
|
+
TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1824
|
+
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule, declarations: [TextAreaComponent], exports: [TextAreaComponent] });
|
|
1825
|
+
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule });
|
|
1826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule, decorators: [{
|
|
1827
|
+
type: NgModule,
|
|
1828
|
+
args: [{
|
|
1829
|
+
declarations: [TextAreaComponent],
|
|
1830
|
+
exports: [TextAreaComponent],
|
|
1831
|
+
}]
|
|
1832
|
+
}] });
|
|
1833
|
+
|
|
1834
|
+
class TextInputComponent {
|
|
1835
|
+
constructor(elementRef) {
|
|
1836
|
+
this.elementRef = elementRef;
|
|
1837
|
+
this.size = 'm';
|
|
1838
|
+
this._invalid = false;
|
|
1839
|
+
this._valid = false;
|
|
1840
|
+
}
|
|
1841
|
+
get hostCssClasses() {
|
|
1842
|
+
const validClass = this.valid ? 'is-valid' : '';
|
|
1843
|
+
const invalidClass = this.invalid ? 'is-invalid' : '';
|
|
1844
|
+
const sizeCssClass = this.isRadioButton || this.isCheckbox ? '' : `mc-text-input--${this.size}`;
|
|
1845
|
+
return `${this.inputClass} ${sizeCssClass} ${validClass} ${invalidClass}`;
|
|
1846
|
+
}
|
|
1847
|
+
get invalid() {
|
|
1848
|
+
return this._invalid || false;
|
|
1849
|
+
}
|
|
1850
|
+
get valid() {
|
|
1851
|
+
const valid = this._valid || false;
|
|
1852
|
+
return !this.invalid && valid;
|
|
1853
|
+
}
|
|
1854
|
+
get typeElement() {
|
|
1855
|
+
return this.elementRef.nativeElement.type || 'text';
|
|
1856
|
+
}
|
|
1857
|
+
get isRadioButton() {
|
|
1858
|
+
return this.typeElement === 'radio';
|
|
1859
|
+
}
|
|
1860
|
+
get isCheckbox() {
|
|
1861
|
+
return this.typeElement === 'checkbox';
|
|
1862
|
+
}
|
|
1863
|
+
get inputClass() {
|
|
1864
|
+
if (this.isCheckbox) {
|
|
1865
|
+
return 'mc-checkbox__input';
|
|
1866
|
+
}
|
|
1867
|
+
if (this.isRadioButton) {
|
|
1868
|
+
return 'mc-radio__input';
|
|
1869
|
+
}
|
|
1870
|
+
return 'mc-text-input';
|
|
1871
|
+
}
|
|
1872
|
+
set invalid(val) {
|
|
1873
|
+
this._invalid = castBooleanProperty(val);
|
|
1874
|
+
}
|
|
1875
|
+
set valid(val) {
|
|
1876
|
+
this._valid = castBooleanProperty(val);
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1880
|
+
TextInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TextInputComponent, selector: "input[moz-input]", inputs: { size: "size", invalid: "invalid", valid: "valid" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: '', isInline: true, styles: [".mc-text-input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem;transition:box-shadow .2s ease;display:block;width:100%;position:relative;border:1px solid #666666;color:#191919;background-color:#fff;border-radius:4px}.mc-text-input[type=number]::-webkit-inner-spin-button,.mc-text-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-text-input[type=number]{-moz-appearance:textfield}.mc-text-input[type=search]::-webkit-search-decoration:hover,.mc-text-input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-text-input::placeholder{font-size:1rem;line-height:1.375}.mc-text-input::placeholder{margin:0;color:#666;opacity:1}.mc-text-input.is-valid,.mc-text-input.is-invalid{background-repeat:no-repeat;background-size:1.5rem 1.5rem;background-position:right .4375rem center;padding-right:2.5rem}.mc-text-input.is-valid{border-color:#46a610;background-image:url(data:image/svg+xml,)}.mc-text-input.is-valid:hover,.mc-text-input.is-valid.is-hover{border-color:#035010}.mc-text-input.is-invalid{border-color:#c61112;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-text-input.is-invalid:hover,.mc-text-input.is-invalid.is-hover{border-color:#530000}.mc-text-input:hover{border-color:#191919}.mc-text-input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-text-input:disabled{background:#e6e6e6;border-color:#e6e6e6;color:#666;cursor:not-allowed}.mc-text-input--s{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s::placeholder{font-size:.875rem;line-height:1.2857142857}@media screen and (min-width: 680px){.mc-text-input--s\\@from-m{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-m::placeholder{font-size:.875rem;line-height:1.2857142857}}@media screen and (min-width: 1024px){.mc-text-input--s\\@from-l{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-l::placeholder{font-size:.875rem;line-height:1.2857142857}}@media screen and (min-width: 1280px){.mc-text-input--s\\@from-xl{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-xl::placeholder{font-size:.875rem;line-height:1.2857142857}}@media screen and (min-width: 1920px){.mc-text-input--s\\@from-xxl{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-xxl::placeholder{font-size:.875rem;line-height:1.2857142857}}.mc-text-input--m{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m::placeholder{font-size:1rem;line-height:1.375}@media screen and (min-width: 680px){.mc-text-input--m\\@from-m{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-m::placeholder{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1024px){.mc-text-input--m\\@from-l{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-l::placeholder{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1280px){.mc-text-input--m\\@from-xl{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-xl::placeholder{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1920px){.mc-text-input--m\\@from-xxl{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-xxl::placeholder{font-size:1rem;line-height:1.375}}.mc-radio{align-items:center;display:flex}.mc-radio__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:.5rem;color:#000}.mc-radio__input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;border:2px solid #666666;min-width:20px;width:1.25rem;min-height:20px;height:1.25rem;border-radius:50%;background-color:#fff;position:relative;transition:all .2s ease;cursor:pointer}.mc-radio__input[type=number]::-webkit-inner-spin-button,.mc-radio__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-radio__input[type=number]{-moz-appearance:textfield}.mc-radio__input[type=search]::-webkit-search-decoration:hover,.mc-radio__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-radio__input:before{border-radius:50%;content:\"\";display:block;height:.375rem;left:50%;min-height:6px;min-width:6px;position:absolute;top:50%;transform:translate(-50%,-50%);width:.375rem}.mc-radio__input::-ms-check{background-color:#fff;border:2px solid #666666;color:#fff}.mc-radio__input:hover{border-color:#191919}.mc-radio__input:hover::-ms-check{border-color:#191919}.mc-radio__input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-radio__input:focus::-ms-check{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-radio__input:checked{background-color:#46a610;border-color:#46a610}.mc-radio__input:checked::-ms-check{border-color:#46a610;background-color:#46a610}.mc-radio__input:checked:before{background-color:#fff}.mc-radio__input:checked:hover{border-color:#035010}.mc-radio__input:checked:hover::-ms-check{border-color:#035010}.mc-radio__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-radio__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-radio__input:disabled+.mc-radio__label{color:gray}.mc-radio__input:disabled:checked:before{background-color:#999}.mc-radio__input.is-invalid{border-color:#c61112}.mc-radio__input.is-invalid::-ms-check{border-color:#c61112}.mc-radio__input.is-invalid:hover{border-color:#530000}.mc-radio__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-checkbox{align-items:center;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:.5rem;color:#000}.mc-checkbox__input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#fff;position:relative;transition:all .2s ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#fff;border:2px solid #666666;border-radius:4px;color:#fff}.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#46a610;border-color:#46a610;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#46a610;border-color:#46a610}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#035010}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#035010}.mc-checkbox__input:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:gray}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-text-input--m{height:3rem}.mc-text-input--s{height:2rem}.mc-text-input.is-invalid:not(:disabled){background-image:url(assets/special-icons/invalid-cross.svg)}.mc-text-input.is-valid:not(:disabled){background-image:url(assets/special-icons/valid-check-mark.svg)}.mc-checkbox__input:checked:disabled{background-image:url(assets/special-icons/checkbox-checked-disabled.svg)}.mc-checkbox__input:checked{background-image:url(assets/special-icons/checkbox-checked.svg)}.mc-checkbox__input:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate.svg)}.mc-checkbox__input:disabled:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate-disabled.svg)}.mc-checkbox__label:empty{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
1882
|
+
type: Component,
|
|
1883
|
+
args: [{ selector: 'input[moz-input]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".mc-text-input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem;transition:box-shadow .2s ease;display:block;width:100%;position:relative;border:1px solid #666666;color:#191919;background-color:#fff;border-radius:4px}.mc-text-input[type=number]::-webkit-inner-spin-button,.mc-text-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-text-input[type=number]{-moz-appearance:textfield}.mc-text-input[type=search]::-webkit-search-decoration:hover,.mc-text-input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-text-input::placeholder{font-size:1rem;line-height:1.375}.mc-text-input::placeholder{margin:0;color:#666;opacity:1}.mc-text-input.is-valid,.mc-text-input.is-invalid{background-repeat:no-repeat;background-size:1.5rem 1.5rem;background-position:right .4375rem center;padding-right:2.5rem}.mc-text-input.is-valid{border-color:#46a610;background-image:url(data:image/svg+xml,)}.mc-text-input.is-valid:hover,.mc-text-input.is-valid.is-hover{border-color:#035010}.mc-text-input.is-invalid{border-color:#c61112;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1.5rem' width='1.5rem' viewBox='0 0 24 24' fill='%23c61112'%3E%3Cpath d='M12 2a10 10 0 1010 10A10 10 0 0012 2zm0 18a8 8 0 118-8 8 8 0 01-8 8z'/%3E%3Cpath d='M12 7a1 1 0 00-1 1v4.38a1 1 0 002 0V8a1 1 0 00-1-1z'/%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3C/svg%3E\")}.mc-text-input.is-invalid:hover,.mc-text-input.is-invalid.is-hover{border-color:#530000}.mc-text-input:hover{border-color:#191919}.mc-text-input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-text-input:disabled{background:#e6e6e6;border-color:#e6e6e6;color:#666;cursor:not-allowed}.mc-text-input--s{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s::placeholder{font-size:.875rem;line-height:1.2857142857}@media screen and (min-width: 680px){.mc-text-input--s\\@from-m{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-m::placeholder{font-size:.875rem;line-height:1.2857142857}}@media screen and (min-width: 1024px){.mc-text-input--s\\@from-l{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-l::placeholder{font-size:.875rem;line-height:1.2857142857}}@media screen and (min-width: 1280px){.mc-text-input--s\\@from-xl{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-xl::placeholder{font-size:.875rem;line-height:1.2857142857}}@media screen and (min-width: 1920px){.mc-text-input--s\\@from-xxl{font-size:.875rem;line-height:1.2857142857;min-height:2rem;padding:.375rem .4375rem}.mc-text-input--s\\@from-xxl::placeholder{font-size:.875rem;line-height:1.2857142857}}.mc-text-input--m{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m::placeholder{font-size:1rem;line-height:1.375}@media screen and (min-width: 680px){.mc-text-input--m\\@from-m{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-m::placeholder{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1024px){.mc-text-input--m\\@from-l{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-l::placeholder{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1280px){.mc-text-input--m\\@from-xl{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-xl::placeholder{font-size:1rem;line-height:1.375}}@media screen and (min-width: 1920px){.mc-text-input--m\\@from-xxl{font-size:1rem;line-height:1.375;min-height:3rem;padding:.75rem .6875rem}.mc-text-input--m\\@from-xxl::placeholder{font-size:1rem;line-height:1.375}}.mc-radio{align-items:center;display:flex}.mc-radio__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:.5rem;color:#000}.mc-radio__input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;border:2px solid #666666;min-width:20px;width:1.25rem;min-height:20px;height:1.25rem;border-radius:50%;background-color:#fff;position:relative;transition:all .2s ease;cursor:pointer}.mc-radio__input[type=number]::-webkit-inner-spin-button,.mc-radio__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-radio__input[type=number]{-moz-appearance:textfield}.mc-radio__input[type=search]::-webkit-search-decoration:hover,.mc-radio__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-radio__input:before{border-radius:50%;content:\"\";display:block;height:.375rem;left:50%;min-height:6px;min-width:6px;position:absolute;top:50%;transform:translate(-50%,-50%);width:.375rem}.mc-radio__input::-ms-check{background-color:#fff;border:2px solid #666666;color:#fff}.mc-radio__input:hover{border-color:#191919}.mc-radio__input:hover::-ms-check{border-color:#191919}.mc-radio__input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-radio__input:focus::-ms-check{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-radio__input:checked{background-color:#46a610;border-color:#46a610}.mc-radio__input:checked::-ms-check{border-color:#46a610;background-color:#46a610}.mc-radio__input:checked:before{background-color:#fff}.mc-radio__input:checked:hover{border-color:#035010}.mc-radio__input:checked:hover::-ms-check{border-color:#035010}.mc-radio__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-radio__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-radio__input:disabled+.mc-radio__label{color:gray}.mc-radio__input:disabled:checked:before{background-color:#999}.mc-radio__input.is-invalid{border-color:#c61112}.mc-radio__input.is-invalid::-ms-check{border-color:#c61112}.mc-radio__input.is-invalid:hover{border-color:#530000}.mc-radio__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-checkbox{align-items:center;display:flex}.mc-checkbox__label{font-size:1rem;line-height:1.125;cursor:pointer;margin-left:.5rem;color:#000}.mc-checkbox__input{font-family:LeroyMerlin,sans-serif;font-weight:400;box-sizing:border-box;outline:none;-webkit-appearance:none;appearance:none;padding:0;margin:0;box-shadow:none;border:none;min-width:20px;min-height:20px;width:1.25rem;height:1.25rem;border-radius:4px;border:2px solid #666666;background-color:#fff;position:relative;transition:all .2s ease;cursor:pointer}.mc-checkbox__input[type=number]::-webkit-inner-spin-button,.mc-checkbox__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.mc-checkbox__input[type=number]{-moz-appearance:textfield}.mc-checkbox__input[type=search]::-webkit-search-decoration:hover,.mc-checkbox__input[type=search]::-webkit-search-cancel-button:hover{cursor:pointer}.mc-checkbox__input::-ms-check{background-color:#fff;border:2px solid #666666;border-radius:4px;color:#fff}.mc-checkbox__input:hover{border-color:#191919}.mc-checkbox__input:hover::-ms-check{border-color:#191919}.mc-checkbox__input:focus{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:focus::-ms-check{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-checkbox__input:checked,.mc-checkbox__input:indeterminate{background-color:#46a610;border-color:#46a610;background-size:1rem 1rem}.mc-checkbox__input:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\");background-position:center center}.mc-checkbox__input:checked::-ms-check{background-color:#46a610;border-color:#46a610}.mc-checkbox__input:checked:hover:not(:disabled){border-color:#035010}.mc-checkbox__input:checked:hover:not(:disabled)::-ms-check{border-color:#035010}.mc-checkbox__input:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled{background-color:#e6e6e6;border-color:#e6e6e6;cursor:not-allowed}.mc-checkbox__input:disabled::-ms-check{background-color:#e6e6e6;border-color:#e6e6e6}.mc-checkbox__input:disabled:checked{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 0 1-1.38 0l-2.92-2.6a1 1 0 1 1 1.34-1.48l2.22 2 4.41-4.34a1 1 0 1 1 1.4 1.42z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled:indeterminate{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M12 9H4a1 1 0 010-2h8a1 1 0 010 2z'/%3E%3C/svg%3E\")}.mc-checkbox__input:disabled+.mc-checkbox__label{color:gray}.mc-checkbox__input.is-invalid{border-color:#c61112}.mc-checkbox__input.is-invalid::-ms-check{border-color:#c61112}.mc-checkbox__input.is-invalid:hover{border-color:#530000}.mc-checkbox__input.is-invalid:hover::-ms-check{border-color:#530000}.mc-text-input--m{height:3rem}.mc-text-input--s{height:2rem}.mc-text-input.is-invalid:not(:disabled){background-image:url(assets/special-icons/invalid-cross.svg)}.mc-text-input.is-valid:not(:disabled){background-image:url(assets/special-icons/valid-check-mark.svg)}.mc-checkbox__input:checked:disabled{background-image:url(assets/special-icons/checkbox-checked-disabled.svg)}.mc-checkbox__input:checked{background-image:url(assets/special-icons/checkbox-checked.svg)}.mc-checkbox__input:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate.svg)}.mc-checkbox__input:disabled:indeterminate{background-image:url(assets/special-icons/checkbox-indeterminate-disabled.svg)}.mc-checkbox__label:empty{display:none}\n"] }]
|
|
1884
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
|
1885
|
+
type: Input
|
|
1886
|
+
}], hostCssClasses: [{
|
|
1887
|
+
type: HostBinding,
|
|
1888
|
+
args: ['class']
|
|
1889
|
+
}], invalid: [{
|
|
1890
|
+
type: Input
|
|
1891
|
+
}], valid: [{
|
|
1892
|
+
type: Input
|
|
1893
|
+
}] } });
|
|
1894
|
+
|
|
1895
|
+
class TextInputModule {
|
|
1896
|
+
}
|
|
1897
|
+
TextInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1898
|
+
TextInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, declarations: [TextInputComponent], imports: [CommonModule, FormsModule, IconModule], exports: [TextInputComponent] });
|
|
1899
|
+
TextInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, imports: [CommonModule, FormsModule, IconModule] });
|
|
1900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, decorators: [{
|
|
1901
|
+
type: NgModule,
|
|
1902
|
+
args: [{
|
|
1903
|
+
declarations: [TextInputComponent],
|
|
1904
|
+
imports: [CommonModule, FormsModule, IconModule],
|
|
1905
|
+
exports: [TextInputComponent],
|
|
1906
|
+
}]
|
|
1907
|
+
}] });
|
|
1908
|
+
|
|
1909
|
+
const TOGGLE_CONTROL_VALUE_ACCESSOR = {
|
|
1910
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1911
|
+
useExisting: forwardRef(() => ToggleComponent),
|
|
1912
|
+
multi: true,
|
|
1913
|
+
};
|
|
1914
|
+
class ToggleComponent {
|
|
1915
|
+
get checked() {
|
|
1916
|
+
return this._checked;
|
|
1917
|
+
}
|
|
1918
|
+
constructor() {
|
|
1919
|
+
this.disabled = false;
|
|
1920
|
+
this.size = 'm';
|
|
1921
|
+
this._checked = false;
|
|
1922
|
+
this.onChange = () => { };
|
|
1923
|
+
this.onTouch = () => { };
|
|
1924
|
+
this.toggleId = generateId();
|
|
1925
|
+
}
|
|
1926
|
+
set checked(v) {
|
|
1927
|
+
this._checked = v;
|
|
1928
|
+
this.onChange(this._checked);
|
|
1929
|
+
this.onTouch();
|
|
1930
|
+
}
|
|
1931
|
+
writeValue(value) {
|
|
1932
|
+
this.checked = !!value;
|
|
1933
|
+
}
|
|
1934
|
+
registerOnChange(fn) {
|
|
1935
|
+
this.onChange = fn;
|
|
1936
|
+
}
|
|
1937
|
+
registerOnTouched(fn) {
|
|
1938
|
+
this.onTouch = fn;
|
|
1939
|
+
}
|
|
1940
|
+
toggle() {
|
|
1941
|
+
this.writeValue(!this.checked);
|
|
1942
|
+
}
|
|
1943
|
+
get hostCssClasses() {
|
|
1944
|
+
const sizeClass = `mc-toggle--${this.size}`;
|
|
1945
|
+
return `mc-toggle ${sizeClass}`;
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
ToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1949
|
+
ToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToggleComponent, selector: "moz-toggle", inputs: { disabled: "disabled", size: "size", checked: "checked" }, host: { properties: { "class": "this.hostCssClasses" } }, providers: [TOGGLE_CONTROL_VALUE_ACCESSOR], ngImport: i0, template: "<input\n [id]=\"toggleId\"\n type=\"checkbox\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n class=\"mc-toggle__input\"\n (click)=\"toggle()\"\n/>\n<label class=\"mc-toggle__label\" [for]=\"toggleId\">\n <span class=\"mc-toggle__content\">\n <ng-content></ng-content>\n </span>\n</label>\n", styles: [".mc-toggle{display:block;position:relative}.mc-toggle__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-toggle__input:focus+.mc-toggle__label:before{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-toggle__input:checked+.mc-toggle__label:before{background-color:#46a610}.mc-toggle__input:checked+.mc-toggle__label:after{border-color:#46a610;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%2346a610' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 01-1.38 0l-2.92-2.6a1 1 0 111.34-1.48l2.22 2 4.41-4.34a1 1 0 111.4 1.42z'/%3E%3C/svg%3E\");transform:translate(100%,-50%)}.mc-toggle__input:checked+.mc-toggle__label .mc-toggle__off{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-toggle__input:not(:checked)+.mc-toggle__label .mc-toggle__on{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-toggle__input:disabled+.mc-toggle__label{color:gray;cursor:not-allowed}.mc-toggle__input:disabled+.mc-toggle__label:before{background-color:#e6e6e6}.mc-toggle__input:disabled+.mc-toggle__label:after{border-color:#e6e6e6;background-color:#b3b3b3;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23e6e6e6' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-toggle__input:disabled:checked+.mc-toggle__label:before{background-color:#c5e39e}.mc-toggle__input:disabled:checked+.mc-toggle__label:after{border-color:#c5e39e;background-color:#fff;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23c5e39e' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 01-1.38 0l-2.92-2.6a1 1 0 111.34-1.48l2.22 2 4.41-4.34a1 1 0 111.4 1.42z'/%3E%3C/svg%3E\");background-size:1rem}.mc-toggle__input:not(:disabled)+.mc-toggle__label:hover:after{background-color:#e6e6e6}.mc-toggle__content{display:inline-block;padding-left:.75rem}.mc-toggle__label{font-size:1rem;line-height:1.125;height:2rem;padding-left:4rem;box-sizing:border-box;cursor:pointer;color:#000;display:table-cell;position:relative;vertical-align:middle;-webkit-user-select:none;user-select:none}.mc-toggle__label:before,.mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle__label:before{width:4rem}.mc-toggle__label:after{width:2rem}.mc-toggle__label:after,.mc-toggle__label:before{box-sizing:border-box;content:\"\";display:block;left:0;position:absolute;top:50%;transform:translateY(-50%)}.mc-toggle__label:before{background-color:#666;will-change:background-color,border-color,box-shadow;transition:background-color .1s ease,border-color .1s ease,box-shadow .2s ease}.mc-toggle__label:after{background:#ffffff url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23666666' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat center;background-size:1rem;border:solid 3px #666666;will-change:transform;transition:transform .1s ease,border-color .1s ease}.mc-toggle--s .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s .mc-toggle__label:before,.mc-toggle--s .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s .mc-toggle__label:before{width:3rem}.mc-toggle--s .mc-toggle__label:after{width:1.5rem}@media screen and (min-width: 680px){.mc-toggle--s\\@from-m .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-m .mc-toggle__label:before,.mc-toggle--s\\@from-m .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-m .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-m .mc-toggle__label:after{width:1.5rem}}@media screen and (min-width: 1024px){.mc-toggle--s\\@from-l .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-l .mc-toggle__label:before,.mc-toggle--s\\@from-l .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-l .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-l .mc-toggle__label:after{width:1.5rem}}@media screen and (min-width: 1280px){.mc-toggle--s\\@from-xl .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-xl .mc-toggle__label:before,.mc-toggle--s\\@from-xl .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-xl .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-xl .mc-toggle__label:after{width:1.5rem}}@media screen and (min-width: 1920px){.mc-toggle--s\\@from-xxl .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-xxl .mc-toggle__label:before,.mc-toggle--s\\@from-xxl .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-xxl .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-xxl .mc-toggle__label:after{width:1.5rem}}.mc-toggle--m .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m .mc-toggle__label:before,.mc-toggle--m .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m .mc-toggle__label:before{width:4rem}.mc-toggle--m .mc-toggle__label:after{width:2rem}@media screen and (min-width: 680px){.mc-toggle--m\\@from-m .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-m .mc-toggle__label:before,.mc-toggle--m\\@from-m .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-m .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-m .mc-toggle__label:after{width:2rem}}@media screen and (min-width: 1024px){.mc-toggle--m\\@from-l .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-l .mc-toggle__label:before,.mc-toggle--m\\@from-l .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-l .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-l .mc-toggle__label:after{width:2rem}}@media screen and (min-width: 1280px){.mc-toggle--m\\@from-xl .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-xl .mc-toggle__label:before,.mc-toggle--m\\@from-xl .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-xl .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-xl .mc-toggle__label:after{width:2rem}}@media screen and (min-width: 1920px){.mc-toggle--m\\@from-xxl .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-xxl .mc-toggle__label:before,.mc-toggle--m\\@from-xxl .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-xxl .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-xxl .mc-toggle__label:after{width:2rem}}.mc-toggle--hide-label .mc-toggle__content{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}:checked+.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-checked.svg)}:disabled:checked+.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-checked-disabled.svg)}.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-cross.svg)}:disabled+.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-cross-disabled.svg)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleComponent, decorators: [{
|
|
1951
|
+
type: Component,
|
|
1952
|
+
args: [{ selector: 'moz-toggle', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [TOGGLE_CONTROL_VALUE_ACCESSOR], template: "<input\n [id]=\"toggleId\"\n type=\"checkbox\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n class=\"mc-toggle__input\"\n (click)=\"toggle()\"\n/>\n<label class=\"mc-toggle__label\" [for]=\"toggleId\">\n <span class=\"mc-toggle__content\">\n <ng-content></ng-content>\n </span>\n</label>\n", styles: [".mc-toggle{display:block;position:relative}.mc-toggle__input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-toggle__input:focus+.mc-toggle__label:before{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #0b96cc}.mc-toggle__input:checked+.mc-toggle__label:before{background-color:#46a610}.mc-toggle__input:checked+.mc-toggle__label:after{border-color:#46a610;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%2346a610' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 01-1.38 0l-2.92-2.6a1 1 0 111.34-1.48l2.22 2 4.41-4.34a1 1 0 111.4 1.42z'/%3E%3C/svg%3E\");transform:translate(100%,-50%)}.mc-toggle__input:checked+.mc-toggle__label .mc-toggle__off{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-toggle__input:not(:checked)+.mc-toggle__label .mc-toggle__on{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}.mc-toggle__input:disabled+.mc-toggle__label{color:gray;cursor:not-allowed}.mc-toggle__input:disabled+.mc-toggle__label:before{background-color:#e6e6e6}.mc-toggle__input:disabled+.mc-toggle__label:after{border-color:#e6e6e6;background-color:#b3b3b3;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23e6e6e6' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\")}.mc-toggle__input:disabled:checked+.mc-toggle__label:before{background-color:#c5e39e}.mc-toggle__input:disabled:checked+.mc-toggle__label:after{border-color:#c5e39e;background-color:#fff;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23c5e39e' viewBox='0 0 16 16'%3E%3Cpath d='M7.63 11.21a1 1 0 01-1.38 0l-2.92-2.6a1 1 0 111.34-1.48l2.22 2 4.41-4.34a1 1 0 111.4 1.42z'/%3E%3C/svg%3E\");background-size:1rem}.mc-toggle__input:not(:disabled)+.mc-toggle__label:hover:after{background-color:#e6e6e6}.mc-toggle__content{display:inline-block;padding-left:.75rem}.mc-toggle__label{font-size:1rem;line-height:1.125;height:2rem;padding-left:4rem;box-sizing:border-box;cursor:pointer;color:#000;display:table-cell;position:relative;vertical-align:middle;-webkit-user-select:none;user-select:none}.mc-toggle__label:before,.mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle__label:before{width:4rem}.mc-toggle__label:after{width:2rem}.mc-toggle__label:after,.mc-toggle__label:before{box-sizing:border-box;content:\"\";display:block;left:0;position:absolute;top:50%;transform:translateY(-50%)}.mc-toggle__label:before{background-color:#666;will-change:background-color,border-color,box-shadow;transition:background-color .1s ease,border-color .1s ease,box-shadow .2s ease}.mc-toggle__label:after{background:#ffffff url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='1rem' width='1rem' fill='%23666666' viewBox='0 0 16 16'%3E%3Cpath d='M9.41 8l3.3-3.29a1 1 0 10-1.42-1.42L8 6.59l-3.29-3.3a1 1 0 00-1.42 1.42L6.59 8l-3.3 3.29a1 1 0 000 1.42 1 1 0 001.42 0L8 9.41l3.29 3.3a1 1 0 001.42 0 1 1 0 000-1.42z'/%3E%3C/svg%3E\") no-repeat center;background-size:1rem;border:solid 3px #666666;will-change:transform;transition:transform .1s ease,border-color .1s ease}.mc-toggle--s .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s .mc-toggle__label:before,.mc-toggle--s .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s .mc-toggle__label:before{width:3rem}.mc-toggle--s .mc-toggle__label:after{width:1.5rem}@media screen and (min-width: 680px){.mc-toggle--s\\@from-m .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-m .mc-toggle__label:before,.mc-toggle--s\\@from-m .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-m .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-m .mc-toggle__label:after{width:1.5rem}}@media screen and (min-width: 1024px){.mc-toggle--s\\@from-l .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-l .mc-toggle__label:before,.mc-toggle--s\\@from-l .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-l .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-l .mc-toggle__label:after{width:1.5rem}}@media screen and (min-width: 1280px){.mc-toggle--s\\@from-xl .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-xl .mc-toggle__label:before,.mc-toggle--s\\@from-xl .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-xl .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-xl .mc-toggle__label:after{width:1.5rem}}@media screen and (min-width: 1920px){.mc-toggle--s\\@from-xxl .mc-toggle__label{height:1.5rem;padding-left:3rem}.mc-toggle--s\\@from-xxl .mc-toggle__label:before,.mc-toggle--s\\@from-xxl .mc-toggle__label:after{border-radius:1.5rem;height:1.5rem}.mc-toggle--s\\@from-xxl .mc-toggle__label:before{width:3rem}.mc-toggle--s\\@from-xxl .mc-toggle__label:after{width:1.5rem}}.mc-toggle--m .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m .mc-toggle__label:before,.mc-toggle--m .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m .mc-toggle__label:before{width:4rem}.mc-toggle--m .mc-toggle__label:after{width:2rem}@media screen and (min-width: 680px){.mc-toggle--m\\@from-m .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-m .mc-toggle__label:before,.mc-toggle--m\\@from-m .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-m .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-m .mc-toggle__label:after{width:2rem}}@media screen and (min-width: 1024px){.mc-toggle--m\\@from-l .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-l .mc-toggle__label:before,.mc-toggle--m\\@from-l .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-l .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-l .mc-toggle__label:after{width:2rem}}@media screen and (min-width: 1280px){.mc-toggle--m\\@from-xl .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-xl .mc-toggle__label:before,.mc-toggle--m\\@from-xl .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-xl .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-xl .mc-toggle__label:after{width:2rem}}@media screen and (min-width: 1920px){.mc-toggle--m\\@from-xxl .mc-toggle__label{height:2rem;padding-left:4rem}.mc-toggle--m\\@from-xxl .mc-toggle__label:before,.mc-toggle--m\\@from-xxl .mc-toggle__label:after{border-radius:2rem;height:2rem}.mc-toggle--m\\@from-xxl .mc-toggle__label:before{width:4rem}.mc-toggle--m\\@from-xxl .mc-toggle__label:after{width:2rem}}.mc-toggle--hide-label .mc-toggle__content{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;visibility:visible;white-space:nowrap}:checked+.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-checked.svg)}:disabled:checked+.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-checked-disabled.svg)}.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-cross.svg)}:disabled+.mc-toggle__label:after{background-image:url(assets/special-icons/toggle-cross-disabled.svg)}\n"] }]
|
|
1953
|
+
}], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
|
|
1954
|
+
type: Input
|
|
1955
|
+
}], size: [{
|
|
1956
|
+
type: Input
|
|
1957
|
+
}], checked: [{
|
|
1958
|
+
type: Input
|
|
1959
|
+
}], hostCssClasses: [{
|
|
1960
|
+
type: HostBinding,
|
|
1961
|
+
args: ['class']
|
|
1962
|
+
}] } });
|
|
1963
|
+
|
|
1964
|
+
class ToggleModule {
|
|
1965
|
+
}
|
|
1966
|
+
ToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1967
|
+
ToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, declarations: [ToggleComponent], imports: [CommonModule], exports: [ToggleComponent] });
|
|
1968
|
+
ToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, imports: [CommonModule] });
|
|
1969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, decorators: [{
|
|
1970
|
+
type: NgModule,
|
|
1971
|
+
args: [{
|
|
1972
|
+
imports: [CommonModule],
|
|
1973
|
+
declarations: [ToggleComponent],
|
|
1974
|
+
exports: [ToggleComponent],
|
|
1975
|
+
}]
|
|
1976
|
+
}] });
|
|
1977
|
+
|
|
1978
|
+
class TooltipComponent {
|
|
1979
|
+
constructor() {
|
|
1980
|
+
this.text = '';
|
|
1981
|
+
this.position = 'bottom';
|
|
1982
|
+
this.disabled = false;
|
|
1983
|
+
}
|
|
1984
|
+
get viewContent() {
|
|
1985
|
+
return !this.disabled;
|
|
1986
|
+
}
|
|
1987
|
+
get hostCssClasses() {
|
|
1988
|
+
return `mc-tooltip mc-tooltip--${this.position}`;
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1992
|
+
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TooltipComponent, selector: "moz-tooltip", inputs: { text: "text", position: "position", disabled: "disabled" }, host: { properties: { "class": "this.hostCssClasses" } }, ngImport: i0, template: "<ng-content></ng-content>\n<span *ngIf=\"viewContent\" class=\"mc-tooltip__content\" role=\"tooltip\">{{ text }}</span>\n", styles: [".mc-tooltip{font-family:LeroyMerlin,sans-serif;font-weight:400;display:inline-flex;position:relative}.mc-tooltip:focus,.mc-tooltip:hover{cursor:help}.mc-tooltip:focus .mc-tooltip__content,.mc-tooltip:hover .mc-tooltip__content{visibility:visible}.mc-tooltip__content{font-size:.875rem;line-height:1.2857142857;background-color:#4d4d4d;border-radius:4px;box-sizing:border-box;color:#fff;padding:.4375rem 1rem;position:absolute;text-align:center;visibility:hidden;white-space:normal;z-index:1000;border:1px solid #ffffff}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip__content{width:13.75rem}}@supports (width: max-content){.mc-tooltip__content{min-width:6.625rem;max-width:13.75rem;width:max-content}}.mc-tooltip__content:before{background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E\") no-repeat;background-size:.625rem;content:\"\";height:.625rem;position:absolute;width:.625rem}.mc-tooltip__content:after{background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath fill='%234d4d4d' d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E\") no-repeat;background-size:.5rem;content:\"\";height:.5rem;position:absolute;width:.5rem}.mc-tooltip--top .mc-tooltip__content{top:0;left:50%;transform:translate(-50%,calc(-100% - .75rem))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--top .mc-tooltip__content{transform:translate(-50%,-100%);margin-top:-.75rem}}.mc-tooltip--top .mc-tooltip__content:after,.mc-tooltip--top .mc-tooltip__content:before{bottom:0;left:50%;transform:translate(-50%,100%) rotate(-90deg)}.mc-tooltip--top .mc-tooltip__content:before{bottom:-1px}.mc-tooltip--right .mc-tooltip__content{top:50%;right:0;transform:translate(calc(100% + .75rem),-50%)}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--right .mc-tooltip__content{transform:translate(100%,-50%);margin-right:-.75rem}}.mc-tooltip--right .mc-tooltip__content:after,.mc-tooltip--right .mc-tooltip__content:before{top:50%;left:0;transform:translate(-99%,-50%)}.mc-tooltip--right .mc-tooltip__content:before{left:-1px}.mc-tooltip--left .mc-tooltip__content{left:0;top:50%;transform:translate(calc(-100% - .75rem),-50%)}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--left .mc-tooltip__content{transform:translate(-100%,-50%);margin-left:-.75rem}}.mc-tooltip--left .mc-tooltip__content:after,.mc-tooltip--left .mc-tooltip__content:before{top:50%;right:0;transform:translate(99%,-50%) rotate(180deg)}.mc-tooltip--left .mc-tooltip__content:before{right:-1px}.mc-tooltip--bottom .mc-tooltip__content{bottom:0;left:50%;transform:translate(-50%,calc(100% + .75rem))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--bottom .mc-tooltip__content{transform:translate(-50%,100%);margin-bottom:-.75rem}}.mc-tooltip--bottom .mc-tooltip__content:after,.mc-tooltip--bottom .mc-tooltip__content:before{top:0;left:50%;transform:translate(-50%,-100%) rotate(90deg)}.mc-tooltip--bottom .mc-tooltip__content:before{top:-1px}.mc-tooltip--no-pointer .mc-tooltip__content:after,.mc-tooltip--no-pointer .mc-tooltip__content:before{background:none}.mc-tooltip__content:after{background:transparent url(assets/special-icons/tooltip-triangle.svg) no-repeat;background-size:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
1994
|
+
type: Component,
|
|
1995
|
+
args: [{ selector: 'moz-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n<span *ngIf=\"viewContent\" class=\"mc-tooltip__content\" role=\"tooltip\">{{ text }}</span>\n", styles: [".mc-tooltip{font-family:LeroyMerlin,sans-serif;font-weight:400;display:inline-flex;position:relative}.mc-tooltip:focus,.mc-tooltip:hover{cursor:help}.mc-tooltip:focus .mc-tooltip__content,.mc-tooltip:hover .mc-tooltip__content{visibility:visible}.mc-tooltip__content{font-size:.875rem;line-height:1.2857142857;background-color:#4d4d4d;border-radius:4px;box-sizing:border-box;color:#fff;padding:.4375rem 1rem;position:absolute;text-align:center;visibility:hidden;white-space:normal;z-index:1000;border:1px solid #ffffff}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip__content{width:13.75rem}}@supports (width: max-content){.mc-tooltip__content{min-width:6.625rem;max-width:13.75rem;width:max-content}}.mc-tooltip__content:before{background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E\") no-repeat;background-size:.625rem;content:\"\";height:.625rem;position:absolute;width:.625rem}.mc-tooltip__content:after{background:transparent url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='0.5rem' width='0.5rem' viewBox='0 0 8 8'%3E%3Cpath fill='%234d4d4d' d='M1.79 3.11l6.21-3.11v8l-6.21-3.11a1 1 0 0 1-.45-1.34 1 1 0 0 1 .45-.44z'/%3E%3C/svg%3E\") no-repeat;background-size:.5rem;content:\"\";height:.5rem;position:absolute;width:.5rem}.mc-tooltip--top .mc-tooltip__content{top:0;left:50%;transform:translate(-50%,calc(-100% - .75rem))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--top .mc-tooltip__content{transform:translate(-50%,-100%);margin-top:-.75rem}}.mc-tooltip--top .mc-tooltip__content:after,.mc-tooltip--top .mc-tooltip__content:before{bottom:0;left:50%;transform:translate(-50%,100%) rotate(-90deg)}.mc-tooltip--top .mc-tooltip__content:before{bottom:-1px}.mc-tooltip--right .mc-tooltip__content{top:50%;right:0;transform:translate(calc(100% + .75rem),-50%)}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--right .mc-tooltip__content{transform:translate(100%,-50%);margin-right:-.75rem}}.mc-tooltip--right .mc-tooltip__content:after,.mc-tooltip--right .mc-tooltip__content:before{top:50%;left:0;transform:translate(-99%,-50%)}.mc-tooltip--right .mc-tooltip__content:before{left:-1px}.mc-tooltip--left .mc-tooltip__content{left:0;top:50%;transform:translate(calc(-100% - .75rem),-50%)}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--left .mc-tooltip__content{transform:translate(-100%,-50%);margin-left:-.75rem}}.mc-tooltip--left .mc-tooltip__content:after,.mc-tooltip--left .mc-tooltip__content:before{top:50%;right:0;transform:translate(99%,-50%) rotate(180deg)}.mc-tooltip--left .mc-tooltip__content:before{right:-1px}.mc-tooltip--bottom .mc-tooltip__content{bottom:0;left:50%;transform:translate(-50%,calc(100% + .75rem))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.mc-tooltip--bottom .mc-tooltip__content{transform:translate(-50%,100%);margin-bottom:-.75rem}}.mc-tooltip--bottom .mc-tooltip__content:after,.mc-tooltip--bottom .mc-tooltip__content:before{top:0;left:50%;transform:translate(-50%,-100%) rotate(90deg)}.mc-tooltip--bottom .mc-tooltip__content:before{top:-1px}.mc-tooltip--no-pointer .mc-tooltip__content:after,.mc-tooltip--no-pointer .mc-tooltip__content:before{background:none}.mc-tooltip__content:after{background:transparent url(assets/special-icons/tooltip-triangle.svg) no-repeat;background-size:.5rem}\n"] }]
|
|
1996
|
+
}], propDecorators: { text: [{
|
|
1997
|
+
type: Input
|
|
1998
|
+
}], position: [{
|
|
1999
|
+
type: Input
|
|
2000
|
+
}], disabled: [{
|
|
2001
|
+
type: Input
|
|
2002
|
+
}], hostCssClasses: [{
|
|
2003
|
+
type: HostBinding,
|
|
2004
|
+
args: ['class']
|
|
2005
|
+
}] } });
|
|
2006
|
+
|
|
2007
|
+
class TooltipModule {
|
|
2008
|
+
}
|
|
2009
|
+
TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2010
|
+
TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, declarations: [TooltipComponent], imports: [CommonModule], exports: [TooltipComponent] });
|
|
2011
|
+
TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, imports: [CommonModule] });
|
|
2012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, decorators: [{
|
|
2013
|
+
type: NgModule,
|
|
2014
|
+
args: [{
|
|
2015
|
+
imports: [CommonModule],
|
|
2016
|
+
declarations: [TooltipComponent],
|
|
2017
|
+
exports: [TooltipComponent],
|
|
2018
|
+
}]
|
|
2019
|
+
}] });
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* Generated bundle index. Do not edit.
|
|
2023
|
+
*/
|
|
2024
|
+
|
|
2025
|
+
export { BadgeComponent, BadgeModule, ButtonComponent, ButtonModule, CHECKBOX_CONTROL_VALUE_ACCESSOR, CheckboxComponent, CheckboxModule, DIALOG_CONFIG, DIALOG_DATA, DIALOG_REF, DialogComponent, DialogModule, DialogService, FieldComponent, FieldErrorComponent, FieldModule, IconComponent, IconModule, IconService, InputIconDirective, LAYER_CONFIG, LAYER_DATA, LAYER_REF, LayerComponent, LayerModule, LayerService, LoaderComponent, LoaderModule, LoaderService, MOZ_INPUT_ICON, NOTIFICATION_CONFIG, NotificationComponent, NotificationConfigFactory, NotificationContainerComponent, NotificationFooterComponent, NotificationMessageComponent, NotificationModule, NotificationService, NotificationTitleComponent, PAGINATION_CONTROL_VALUE_ACCESSOR, PaginationComponent, PaginationModule, ProgressBarComponent, ProgressBarModule, SelectComponent, SelectModule, StepComponent, StepperComponent, StepperModule, TOGGLE_CONTROL_VALUE_ACCESSOR, TabComponent, TabsComponent, TabsModule, TagComponent, TagModule, TextAreaComponent, TextAreaModule, TextInputComponent, TextInputModule, ToggleComponent, ToggleModule, TooltipComponent, TooltipModule, castBooleanProperty, generateId, getRandomNumber, overwriteStyle };
|
|
2026
|
+
//# sourceMappingURL=mozaic-ds-angular.mjs.map
|