@mozaic-ds/angular 0.23.0 → 0.23.2-beta.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/LICENSE +22 -0
- package/README.md +94 -0
- package/dist/mozaic-angular/README.md +0 -0
- package/dist/mozaic-angular/assets/tokens/adeo/android/colors.xml +482 -0
- package/dist/mozaic-angular/assets/tokens/adeo/android/font_dimens.xml +18 -0
- package/dist/mozaic-angular/assets/tokens/adeo/css/_variables.scss +626 -0
- package/dist/mozaic-angular/assets/tokens/adeo/css/root.scss +478 -0
- package/dist/mozaic-angular/assets/tokens/adeo/ios/StyleDictionaryColor.h +490 -0
- package/dist/mozaic-angular/assets/tokens/adeo/ios/StyleDictionaryColor.m +502 -0
- package/dist/mozaic-angular/assets/tokens/adeo/ios/StyleDictionaryColor.swift +485 -0
- package/dist/mozaic-angular/assets/tokens/adeo/ios/StyleDictionarySize.h +69 -0
- package/dist/mozaic-angular/assets/tokens/adeo/ios/StyleDictionarySize.m +70 -0
- package/dist/mozaic-angular/assets/tokens/adeo/ios/StyleDictionarySize.swift +71 -0
- package/dist/mozaic-angular/assets/tokens/adeo/js/tokens.js +574 -0
- package/dist/mozaic-angular/assets/tokens/adeo/js/tokensObject.js +9637 -0
- package/dist/mozaic-angular/assets/tokens/adeo/scss/_tokens.scss +1617 -0
- package/dist/mozaic-angular/components/autocomplete/autocomplete.component.d.ts +59 -0
- package/dist/mozaic-angular/components/autocomplete/autocomplete.module.d.ts +15 -0
- package/dist/mozaic-angular/components/autocomplete/index.d.ts +2 -0
- package/dist/mozaic-angular/components/autocomplete/public-api.d.ts +1 -0
- package/dist/mozaic-angular/components/datatable/components/caption/moz-datatable-caption.component.d.ts +11 -0
- package/dist/mozaic-angular/components/datatable/components/content/moz-datatable-content-cell.component.d.ts +8 -0
- package/dist/mozaic-angular/components/datatable/components/footer/moz-datatable-footer.component.d.ts +18 -0
- package/dist/mozaic-angular/components/datatable/components/header/moz-datatable-header-cell.component.d.ts +8 -0
- package/dist/mozaic-angular/components/datatable/components/row/moz-datatable-row-expansion-content.component.d.ts +7 -0
- package/dist/mozaic-angular/components/datatable/components/selection/moz-datatable-selection.component.d.ts +26 -0
- package/dist/mozaic-angular/components/datatable/directives/moz-datatable-sort.directive.d.ts +15 -0
- package/dist/mozaic-angular/components/datatable/model/column-def.d.ts +11 -0
- package/dist/mozaic-angular/components/datatable/model/datatable-settings.d.ts +29 -0
- package/dist/mozaic-angular/components/datatable/model/footer-settings.d.ts +17 -0
- package/dist/mozaic-angular/components/datatable/model/row-data.d.ts +5 -0
- package/dist/mozaic-angular/components/datatable/model/selection-settings.d.ts +16 -0
- package/dist/mozaic-angular/components/datatable/moz-datatable.component.d.ts +53 -0
- package/dist/mozaic-angular/components/datatable/moz-datatable.module.d.ts +22 -0
- package/dist/mozaic-angular/components/datatable/public-api.d.ts +13 -0
- package/dist/mozaic-angular/components/datatable-management/components/moz-datatable-management-content/moz-datatable-management-content.component.d.ts +29 -0
- package/dist/mozaic-angular/components/datatable-management/moz-datatable-management.component.d.ts +16 -0
- package/dist/mozaic-angular/components/datatable-management/moz-datatable-management.module.d.ts +15 -0
- package/dist/mozaic-angular/components/datatable-management/public-api.d.ts +3 -0
- package/dist/mozaic-angular/components/dropdown/dropdown.component.d.ts +54 -0
- package/dist/mozaic-angular/components/dropdown/dropdown.module.d.ts +14 -0
- package/dist/mozaic-angular/components/dropdown/index.d.ts +2 -0
- package/dist/mozaic-angular/components/dropdown/public-api.d.ts +1 -0
- package/dist/mozaic-angular/components/layer/interfaces/layer-config.d.ts +5 -0
- package/dist/mozaic-angular/components/layer/layer.component.d.ts +20 -0
- package/dist/mozaic-angular/components/listbox/index.d.ts +3 -0
- package/dist/mozaic-angular/components/listbox/listbox.component.d.ts +18 -0
- package/dist/mozaic-angular/components/listbox/listbox.module.d.ts +10 -0
- package/dist/mozaic-angular/components/listbox/model/listbox-item.d.ts +6 -0
- package/dist/mozaic-angular/components/listbox/public-api.d.ts +1 -0
- package/dist/mozaic-angular/components/pagination/pagination.component.d.ts +48 -0
- package/dist/mozaic-angular/components/public-api.d.ts +25 -0
- package/dist/mozaic-angular/components/tag/tag-type.d.ts +5 -0
- package/dist/mozaic-angular/components/taglist/components/taglist-layer-content/taglist-layer-content.component.d.ts +14 -0
- package/dist/mozaic-angular/components/taglist/index.d.ts +3 -0
- package/dist/mozaic-angular/components/taglist/public-api.d.ts +1 -0
- package/dist/mozaic-angular/components/taglist/taglist.component.d.ts +26 -0
- package/dist/mozaic-angular/components/taglist/taglist.module.d.ts +11 -0
- package/dist/mozaic-angular/components/tooltip/directive/tooltip.directive.d.ts +18 -0
- package/dist/mozaic-angular/components/tooltip/index.d.ts +3 -0
- package/dist/mozaic-angular/components/tooltip/public-api.d.ts +1 -0
- package/dist/mozaic-angular/components/tooltip/tooltip.component.d.ts +8 -0
- package/dist/mozaic-angular/components/tooltip/tooltip.module.d.ts +9 -0
- package/dist/mozaic-angular/esm2020/components/autocomplete/autocomplete.component.mjs +252 -0
- package/dist/mozaic-angular/esm2020/components/autocomplete/autocomplete.module.mjs +48 -0
- package/dist/mozaic-angular/esm2020/components/autocomplete/index.mjs +3 -0
- package/dist/mozaic-angular/esm2020/components/autocomplete/public-api.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/checkbox/checkbox.component.mjs +58 -0
- package/dist/mozaic-angular/esm2020/components/datatable/components/caption/moz-datatable-caption.component.mjs +26 -0
- package/dist/mozaic-angular/esm2020/components/datatable/components/content/moz-datatable-content-cell.component.mjs +16 -0
- package/dist/mozaic-angular/esm2020/components/datatable/components/footer/moz-datatable-footer.component.mjs +56 -0
- package/dist/mozaic-angular/esm2020/components/datatable/components/header/moz-datatable-header-cell.component.mjs +16 -0
- package/dist/mozaic-angular/esm2020/components/datatable/components/row/moz-datatable-row-expansion-content.component.mjs +14 -0
- package/dist/mozaic-angular/esm2020/components/datatable/components/selection/moz-datatable-selection.component.mjs +289 -0
- package/dist/mozaic-angular/esm2020/components/datatable/directives/moz-datatable-sort.directive.mjs +65 -0
- package/dist/mozaic-angular/esm2020/components/datatable/model/column-def.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/datatable/model/datatable-settings.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/datatable/model/footer-settings.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/datatable/model/row-data.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/datatable/model/selection-settings.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/datatable/moz-datatable.component.mjs +161 -0
- package/dist/mozaic-angular/esm2020/components/datatable/moz-datatable.module.mjs +87 -0
- package/dist/mozaic-angular/esm2020/components/datatable/public-api.mjs +14 -0
- package/dist/mozaic-angular/esm2020/components/datatable-management/components/moz-datatable-management-content/moz-datatable-management-content.component.mjs +80 -0
- package/dist/mozaic-angular/esm2020/components/datatable-management/moz-datatable-management.component.mjs +45 -0
- package/dist/mozaic-angular/esm2020/components/datatable-management/moz-datatable-management.module.mjs +45 -0
- package/dist/mozaic-angular/esm2020/components/datatable-management/public-api.mjs +4 -0
- package/dist/mozaic-angular/esm2020/components/dialog/dialog.component.mjs +57 -0
- package/dist/mozaic-angular/esm2020/components/dropdown/dropdown.component.mjs +217 -0
- package/dist/mozaic-angular/esm2020/components/dropdown/dropdown.module.mjs +44 -0
- package/dist/mozaic-angular/esm2020/components/dropdown/index.mjs +3 -0
- package/dist/mozaic-angular/esm2020/components/dropdown/public-api.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/field/field-error.component.mjs +13 -0
- package/dist/mozaic-angular/esm2020/components/field/field.component.mjs +40 -0
- package/dist/mozaic-angular/esm2020/components/layer/interfaces/layer-config.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/layer/layer.component.mjs +45 -0
- package/dist/mozaic-angular/esm2020/components/listbox/index.mjs +4 -0
- package/dist/mozaic-angular/esm2020/components/listbox/listbox.component.mjs +68 -0
- package/dist/mozaic-angular/esm2020/components/listbox/listbox.module.mjs +20 -0
- package/dist/mozaic-angular/esm2020/components/listbox/model/listbox-item.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/listbox/public-api.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/notification/notification-footer.mjs +11 -0
- package/dist/mozaic-angular/esm2020/components/notification/notification-message.mjs +11 -0
- package/dist/mozaic-angular/esm2020/components/notification/notification-title.mjs +11 -0
- package/dist/mozaic-angular/esm2020/components/notification/notification.component.mjs +29 -0
- package/dist/mozaic-angular/esm2020/components/pagination/pagination.component.mjs +140 -0
- package/dist/mozaic-angular/esm2020/components/public-api.mjs +26 -0
- package/dist/mozaic-angular/esm2020/components/select/select.component.mjs +25 -0
- package/dist/mozaic-angular/esm2020/components/tabs/tab.component.mjs +53 -0
- package/dist/mozaic-angular/esm2020/components/tabs/tabs.component.mjs +128 -0
- package/dist/mozaic-angular/esm2020/components/tag/tag-type.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/tag/tag.component.mjs +61 -0
- package/dist/mozaic-angular/esm2020/components/taglist/components/taglist-layer-content/taglist-layer-content.component.mjs +35 -0
- package/dist/mozaic-angular/esm2020/components/taglist/index.mjs +4 -0
- package/dist/mozaic-angular/esm2020/components/taglist/public-api.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/taglist/taglist.component.mjs +76 -0
- package/dist/mozaic-angular/esm2020/components/taglist/taglist.module.mjs +21 -0
- package/dist/mozaic-angular/esm2020/components/text-input/text-input.component.mjs +64 -0
- package/dist/mozaic-angular/esm2020/components/toggle/toggle.component.mjs +59 -0
- package/dist/mozaic-angular/esm2020/components/tooltip/directive/tooltip.directive.mjs +85 -0
- package/dist/mozaic-angular/esm2020/components/tooltip/index.mjs +4 -0
- package/dist/mozaic-angular/esm2020/components/tooltip/public-api.mjs +2 -0
- package/dist/mozaic-angular/esm2020/components/tooltip/tooltip.component.mjs +20 -0
- package/dist/mozaic-angular/esm2020/components/tooltip/tooltip.module.mjs +19 -0
- package/dist/mozaic-angular/fesm2015/mozaic-ds-angular.mjs +3679 -0
- package/dist/mozaic-angular/fesm2015/mozaic-ds-angular.mjs.map +1 -0
- package/dist/mozaic-angular/fesm2020/mozaic-ds-angular.mjs +3638 -0
- package/dist/mozaic-angular/fesm2020/mozaic-ds-angular.mjs.map +1 -0
- package/dist/mozaic-angular/package.json +40 -0
- package/package.json +116 -25
- package/components/layer/interfaces/layer-config.d.ts +0 -4
- package/components/layer/layer.component.d.ts +0 -19
- package/components/pagination/pagination.component.d.ts +0 -46
- package/components/public-api.d.ts +0 -19
- package/components/tag/tag-type.d.ts +0 -1
- package/components/tooltip/public-api.d.ts +0 -2
- package/components/tooltip/tooltip.component.d.ts +0 -11
- package/components/tooltip/tooltip.module.d.ts +0 -8
- package/esm2020/components/checkbox/checkbox.component.mjs +0 -58
- package/esm2020/components/dialog/dialog.component.mjs +0 -57
- package/esm2020/components/field/field-error.component.mjs +0 -13
- package/esm2020/components/field/field.component.mjs +0 -40
- package/esm2020/components/layer/interfaces/layer-config.mjs +0 -2
- package/esm2020/components/layer/layer.component.mjs +0 -40
- package/esm2020/components/notification/notification-footer.mjs +0 -11
- package/esm2020/components/notification/notification-message.mjs +0 -11
- package/esm2020/components/notification/notification-title.mjs +0 -11
- package/esm2020/components/notification/notification.component.mjs +0 -29
- package/esm2020/components/pagination/pagination.component.mjs +0 -134
- package/esm2020/components/public-api.mjs +0 -20
- package/esm2020/components/select/select.component.mjs +0 -25
- package/esm2020/components/tabs/tab.component.mjs +0 -53
- package/esm2020/components/tabs/tabs.component.mjs +0 -126
- package/esm2020/components/tag/tag-type.mjs +0 -2
- package/esm2020/components/tag/tag.component.mjs +0 -61
- package/esm2020/components/text-input/text-input.component.mjs +0 -64
- package/esm2020/components/toggle/toggle.component.mjs +0 -59
- package/esm2020/components/tooltip/public-api.mjs +0 -3
- package/esm2020/components/tooltip/tooltip.component.mjs +0 -32
- package/esm2020/components/tooltip/tooltip.module.mjs +0 -18
- package/fesm2015/mozaic-ds-angular.mjs +0 -2053
- package/fesm2015/mozaic-ds-angular.mjs.map +0 -1
- package/fesm2020/mozaic-ds-angular.mjs +0 -2026
- package/fesm2020/mozaic-ds-angular.mjs.map +0 -1
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Desktop_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Desktop_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Desktop_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Desktop_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Laptop_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Laptop_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Laptop_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Laptop_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Mobile_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Mobile_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Mobile_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Mobile_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Tablet_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Tablet_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Tablet_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Device_Tablet_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Cleaned_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Cleaned_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Cleaned_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Cleaned_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Danger_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Danger_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Danger_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Danger_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Distance_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Distance_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Distance_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Distance_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Gel_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Gel_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Gel_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Gel_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Mask_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Mask_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Mask_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Mask_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_NoContact_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_NoContact_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_NoContact_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_NoContact_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Plexiglas_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Plexiglas_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Plexiglas_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Hygiene_Plexiglas_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_Checkout_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_Checkout_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_Checkout_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_Checkout_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_NoContact_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_NoContact_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_NoContact_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Payment_NoContact_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--OpenBoot_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StandInLine_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Car--StayInside_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Loading_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Loading_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Loading_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Loading_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_NoCarRent_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Request_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Request_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Request_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Request_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Truck_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Truck_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Truck_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Service_PurchaseHelp_Truck_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Universe_EssentialProduct_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Universe_EssentialProduct_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Universe_EssentialProduct_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Instruction_Universe_EssentialProduct_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Brand_LM_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Brand_LM_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Brand_LM_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Brand_LM_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Bizum_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Bizum_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Bizum_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Bizum_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_BonificoBancario_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_BonificoBancario_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_BonificoBancario_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_BonificoBancario_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Fintecture_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Fintecture_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Fintecture_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Fintecture_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Multibanco_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Multibanco_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Multibanco_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Multibanco_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Way_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Way_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Way_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_MB--Way_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Bizum_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Bizum_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Bizum_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Bizum_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_BonificoBancario_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Fintecture_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Fintecture_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Fintecture_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Fintecture_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Multibanco_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Way_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Way_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Way_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_MB--Way_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x4x_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--3x_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney--4x_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_Oney_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_PayPal_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_PayPal_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_PayPal_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Monochrome_PayPal_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x4x_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x4x_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x4x_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x4x_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--3x_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--4x_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--4x_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--4x_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney--4x_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_Oney_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_PayPal_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_PayPal_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_PayPal_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Logotypes_Payment_PayPal_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_API_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_API_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_API_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_API_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_BookStore_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_BookStore_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_BookStore_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_BookStore_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Camera_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Camera_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Camera_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Camera_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Code_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Code_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Code_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Code_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Document_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Document_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Document_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Document_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_App_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_App_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_App_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_App_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_Web_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_Web_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_Web_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Download_Web_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_FullScreen_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_FullScreen_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_FullScreen_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_FullScreen_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_FullScreen_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Gauge_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Gauge_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Gauge_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Gauge_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Group_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Group_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Group_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Group_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Image-alt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Image-alt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Image-alt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Image-alt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_NoPicture_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_NoPicture_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_NoPicture_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_NoPicture_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Pdf_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Pdf_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Pdf_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Pdf_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Picker_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Picker_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Picker_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Picker_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Play_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Play_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Play_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Play_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Player_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Player_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Player_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Player_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Player_96px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Policies_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Policies_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Policies_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Policies_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Print_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Print_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Print_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Print_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Project_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Project_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Project_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Project_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin-off_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin-off_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin-off_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin-off_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Push-pin_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Read_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Read_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Read_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Read_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_ReduceScreen_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_ReduceScreen_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_ReduceScreen_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_ReduceScreen_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_ReduceScreen_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Release_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Release_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Release_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Release_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Server_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Server_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Server_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Server_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Slideshow_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Slideshow_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Slideshow_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Slideshow_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Sound_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Sound_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Sound_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Sound_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Stop_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Stop_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Stop_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Stop_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_TimeRead_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_TimeRead_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_TimeRead_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_TimeRead_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Upload_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Upload_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Upload_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_Upload_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_View360_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_View360_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_View360_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_View360_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Media_View360_96px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Bottom_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Bottom_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Bottom_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Bottom_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Bottom_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Left_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Left_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Left_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Left_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Left_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Right_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Right_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Right_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Right_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Right_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Top_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Top_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Top_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Top_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Arrow--Top_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomLeft_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomLeft_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomLeft_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomLeft_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomLeft_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomRight_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomRight_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomRight_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomRight_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowBottomRight_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopLeft_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopLeft_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopLeft_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopLeft_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopLeft_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopRight_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopRight_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopRight_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopRight_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_ArrowTopRight_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Back_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Back_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Back_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Back_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Back_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Left_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Left_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Left_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Left_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Left_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Right_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Right_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Right_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Right_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_DoubleArrow--Right_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Down_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Down_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Down_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Down_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Down_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Next_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Next_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Next_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Next_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Next_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Up_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Up_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Up_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Up_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Arrow_Up_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Cross_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Cross_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Cross_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Cross_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Less_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Less_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Less_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--Less_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--More_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--More_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--More_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Circle--More_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Cross_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Cross_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Cross_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Cross_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Cross_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Less_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Less_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Less_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Less_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Less_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_More_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_More_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_More_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_More_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_More_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Tag--Cross_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Tag--Cross_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Tag--Cross_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Tag--Cross_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Control_Tag--Cross_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Blink_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Blink_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Blink_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Blink_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Calendar_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Calendar_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Calendar_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Calendar_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Connect_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Connect_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Connect_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Connect_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Filled_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Filled_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Filled_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Filled_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Outline_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Outline_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Outline_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayFull_Outline_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Filled_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Filled_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Filled_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Filled_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Outline_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Outline_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Outline_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayList_Outline_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Horizontal_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Horizontal_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Horizontal_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Horizontal_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Vertical_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Vertical_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Vertical_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayMobile--Vertical_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Filled_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Filled_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Filled_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Filled_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Outline_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Outline_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Outline_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX4_Outline_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX9_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX9_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX9_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_DisplayProductX9_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ExternalLink_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ExternalLink_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ExternalLink_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ExternalLink_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ExternalLink_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Filter_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Filter_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Filter_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Filter_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Home_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Home_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Home_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Home_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_LogOut_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_LogOut_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_LogOut_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_LogOut_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Menu_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Menu_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Menu_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Menu_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_MovingBlock_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_MovingBlock_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_MovingBlock_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_MovingBlock_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Options_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Options_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Options_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Options_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Other_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Other_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Other_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Other_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ProductNumb_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ProductNumb_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ProductNumb_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ProductNumb_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Refresh_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Refresh_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Refresh_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Refresh_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ScreenRotation_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ScreenRotation_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ScreenRotation_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_ScreenRotation_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchList_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchList_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchList_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchList_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchProduct_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchProduct_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchProduct_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_SearchProduct_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Search_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Search_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Search_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Search_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Setting_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Setting_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Setting_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_Setting_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_View_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_View_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_View_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_View_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_VocalSearch_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_VocalSearch_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_VocalSearch_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Display_VocalSearch_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Available_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Available_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Available_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Available_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Available_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Bell_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Bell_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Bell_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Bell_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Circle--Available_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Circle--Available_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Circle--Available_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Circle--Available_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Information_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Information_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Information_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Information_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Question_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Question_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Question_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Question_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Warning_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Warning_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Warning_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Notification_Warning_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Copy_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Copy_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Copy_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Copy_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Edit_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Edit_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Edit_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Edit_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_FavoriteFull_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_FavoriteFull_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_FavoriteFull_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_FavoriteFull_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_FavoriteFull_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Favorite_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Favorite_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Favorite_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Favorite_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Favorite_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Lock_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Lock_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Lock_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Lock_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Lock_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Send_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Send_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Send_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Send_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Trashbin_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Trashbin_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Trashbin_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Publish_Trashbin_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Split_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Split_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Split_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Navigation_Split_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Bill_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Bill_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Bill_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Bill_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_AmericanExpress_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_AmericanExpress_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_AmericanExpress_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_AmericanExpress_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_CB_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_CB_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_CB_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_CB_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Cheque_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Cheque_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Cheque_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Cheque_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Gift_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Gift_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Gift_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Gift_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Illicado_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Illicado_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Illicado_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Illicado_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Loyalty_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Loyalty_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Loyalty_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Loyalty_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Maestro_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Maestro_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Maestro_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Maestro_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Mastercard_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Mastercard_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Mastercard_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Mastercard_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX3_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX3_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX3_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX3_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX4_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX4_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX4_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_OneyX4_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Oney_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Oney_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Oney_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Oney_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paylib_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paylib_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paylib_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paylib_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paypal_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paypal_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paypal_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Paypal_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Visa_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Visa_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Visa_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Colors_Visa_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_AmericanExpress_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_AmericanExpress_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_AmericanExpress_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_AmericanExpress_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_CB_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_CB_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_CB_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_CB_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Cheque_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Cheque_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Cheque_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Cheque_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Gift_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Gift_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Gift_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Gift_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Illicado_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Illicado_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Illicado_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Illicado_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Loyalty_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Loyalty_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Loyalty_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Loyalty_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Maestro_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Maestro_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Maestro_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Maestro_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Mastercard_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Mastercard_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Mastercard_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Mastercard_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX3_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX3_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX3_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX3_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX4_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX4_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX4_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_OneyX4_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Oney_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Oney_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Oney_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Oney_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paylib_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paylib_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paylib_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paylib_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paypal_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paypal_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paypal_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Paypal_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Visa_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Visa_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Visa_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Cards_Monochrome_Visa_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_DetailsOrder_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_DetailsOrder_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_DetailsOrder_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_DetailsOrder_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Euro_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Euro_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Euro_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Euro_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Euro_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Receipt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Receipt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Receipt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_Receipt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment1_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment1_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment1_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment1_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment2_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment2_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment2_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Payment_SafePayment2_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Quantity_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Quantity_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Quantity_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Quantity_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Size_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Size_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Size_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Size_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Weight_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Weight_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Weight_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Aspect_Weight_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Add_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Add_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Add_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Add_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Handbag_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Handbag_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Handbag_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Handbag_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Multi_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Multi_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Multi_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Multi_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Save_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Save_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Save_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Save_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Standard_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Standard_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Standard_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Basket_Standard_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Add_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Add_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Add_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Add_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Standard_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Standard_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Standard_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_List_Standard_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Certification_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Certification_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Certification_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Certification_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_CircularEconomy_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_CircularEconomy_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_CircularEconomy_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_CircularEconomy_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Destocking_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Destocking_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Destocking_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Destocking_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_EcoProduct_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_EcoProduct_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_EcoProduct_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_EcoProduct_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_FashionChoice_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_FashionChoice_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_FashionChoice_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_FashionChoice_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Funding_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Funding_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Funding_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Funding_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInEurope_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInEurope_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInEurope_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInEurope_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInFrance_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInFrance_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInFrance_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_MadeInFrance_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Modular_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Modular_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Modular_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Modular_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductOnPicture_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductOnPicture_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductOnPicture_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductOnPicture_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductSheet_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductSheet_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductSheet_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_ProductSheet_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Scan_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Scan_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Scan_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Scan_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Warranty_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Warranty_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Warranty_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Product_Promise_Warranty_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_DescribeProject_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_DescribeProject_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_DescribeProject_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_DescribeProject_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_Inspiration_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_Inspiration_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_Inspiration_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_Inspiration_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_MakeProject_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_MakeProject_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_MakeProject_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Project_MakeProject_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_AfterSalesService_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_AfterSalesService_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_AfterSalesService_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_AfterSalesService_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Helpline_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Helpline_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Helpline_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Helpline_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Payback_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Payback_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Payback_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Payback_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Satisfaction_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Satisfaction_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Satisfaction_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_AfterSales_Satisfaction_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CopyKey_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CopyKey_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CopyKey_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CopyKey_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Course_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Course_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Course_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Course_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CutWoodGlass_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CutWoodGlass_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CutWoodGlass_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_CutWoodGlass_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sample_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sample_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sample_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sample_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sharpening_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sharpening_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sharpening_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Custom_Sharpening_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Home_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Home_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Home_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Home_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Locker_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Locker_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Locker_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery--Locker_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--RelayPoint_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--Store_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--Store_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--Store_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Delivery_Delivery_Pickup--Store_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Pallet_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Pallet_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Pallet_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Pallet_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_CarRent_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_CarRent_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_CarRent_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_CarRent_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeDIY_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeDIY_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeDIY_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeDIY_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeInstall_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeInstall_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeInstall_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_HomeInstall_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_ToolRent_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_ToolRent_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_ToolRent_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_PurchaseHelp_ToolRent_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--2h_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--2h_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--2h_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--2h_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--3h_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--3h_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--3h_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--3h_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--48h_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--48h_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--48h_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_Delivery--48h_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_TimeDecline_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_TimeDecline_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_TimeDecline_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Time_TimeDecline_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_3d_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_3d_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_3d_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_3d_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Calculator_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Calculator_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Calculator_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Calculator_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Comparator_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Comparator_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Comparator_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Service_Tools_Comparator_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Comment_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Comment_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Comment_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Comment_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Community_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Community_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Community_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Community_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Question--Article_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Question--Article_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Question--Article_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Question--Article_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Report_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Report_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Report_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Comment_Report_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareAndroid_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareAndroid_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareAndroid_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareAndroid_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareIOS_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareIOS_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareIOS_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_Share_ShareIOS_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Facebook_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Facebook_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Facebook_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Facebook_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Instagram_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Instagram_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Instagram_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Instagram_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Linkedin_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Linkedin_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Linkedin_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Linkedin_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Pinterest_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Pinterest_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Pinterest_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Pinterest_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Twitter_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Twitter_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Twitter_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Twitter_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Youtube_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Youtube_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Youtube_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_SocialNetwork_Youtube_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Negative_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Negative_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Negative_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Negative_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Negative_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Positive_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Positive_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Positive_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Positive_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Like--Positive_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Empty_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Empty_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Empty_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Empty_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Empty_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Full_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Full_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Full_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Full_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Full_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Half_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Half_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Half_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Half_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_Star--Half_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_TesterView_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_TesterView_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_TesterView_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Social_View_TesterView_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_RelayLocation_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_RelayLocation_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_RelayLocation_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_RelayLocation_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_StoreLocation_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_StoreLocation_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_StoreLocation_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Colors_StoreLocation_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Itinerary_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Itinerary_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Itinerary_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Itinerary_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Locator_16px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Locator_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Locator_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Locator_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Locator_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Logo_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Logo_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Logo_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Logo_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Map_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Map_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Map_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Map_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_RelayLocation_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_RelayLocation_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_RelayLocation_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_RelayLocation_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_StoreLocation_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_StoreLocation_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_StoreLocation_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_Monochrome_StoreLocation_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreBM_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreBM_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreBM_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreBM_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreLM_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreLM_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreLM_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Store_StoreLM_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Attic_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Attic_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Attic_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Attic_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bathroom_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bathroom_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bathroom_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bathroom_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bedroom_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bedroom_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bedroom_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Bedroom_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Carpentry_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Carpentry_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Carpentry_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Carpentry_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ChristmasTree_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ChristmasTree_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ChristmasTree_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ChristmasTree_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ConnectedHome_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ConnectedHome_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ConnectedHome_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_ConnectedHome_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Curtains_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Curtains_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Curtains_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Curtains_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Dressing_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Dressing_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Dressing_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Dressing_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Drill-alt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Drill-alt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Drill-alt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Drill-alt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Electricity_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Electricity_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Electricity_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Electricity_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Enki_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Enki_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Enki_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Enki_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Floor_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Floor_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Floor_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Floor_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garage_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garage_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garage_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garage_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden1_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden1_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden1_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden1_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden2_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden2_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden2_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden2_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Garden_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Glass_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Glass_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Glass_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Glass_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Hard-hat-alt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Hard-hat-alt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Hard-hat-alt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Hard-hat-alt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_HardwareStore_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_HardwareStore_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_HardwareStore_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_HardwareStore_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Heater_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Heater_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Heater_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Heater_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Insulation-alt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Insulation-alt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Insulation-alt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Insulation-alt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kids_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kids_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kids_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kids_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen-alt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen-alt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen-alt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen-alt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen2_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen2_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen2_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen2_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Kitchen_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Leak_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Leak_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Leak_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Leak_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Lighting_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Lighting_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Lighting_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Lighting_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Living_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Living_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Living_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Living_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_MakeIt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_MakeIt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_MakeIt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_MakeIt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Masonry-alt_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Masonry-alt_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Masonry-alt_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Masonry-alt_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Paint_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Paint_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Paint_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Paint_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Pool_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Pool_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Pool_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Pool_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Security_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Security_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Security_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Security_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Stairs_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Stairs_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Stairs_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Stairs_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Terrace_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Terrace_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Terrace_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Terrace_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Tool_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Tool_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Tool_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Tool_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Wallpaper_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Wallpaper_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Wallpaper_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_Wallpaper_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_WoodSaw_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_WoodSaw_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_WoodSaw_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Universe_WoodSaw_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Collaborator_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Collaborator_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Collaborator_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Collaborator_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Passion_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Passion_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Passion_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Passion_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Pro_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Pro_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Pro_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Customer--Pro_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Man_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Man_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Man_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Man_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--View_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--View_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--View_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--View_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Woman_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Woman_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Woman_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Account_Profile--Woman_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Funding_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Funding_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Funding_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Funding_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Gift_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Gift_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Gift_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_Gift_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_IDCard_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_IDCard_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_IDCard_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_IDCard_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_LoyaltyCard_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_LoyaltyCard_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_LoyaltyCard_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Card_LoyaltyCard_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Mail_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Mail_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Mail_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Mail_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Phone_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Phone_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Phone_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Phone_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Website_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Website_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Website_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Contact_Website_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Owner_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Owner_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Owner_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Owner_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Tenant_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Tenant_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Tenant_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/User_Situation_Tenant_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_A11y_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_A11y_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_A11y_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_A11y_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Administration_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Administration_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Administration_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Administration_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Apartment_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Apartment_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Apartment_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Apartment_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Balcony_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Balcony_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Balcony_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Balcony_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Blower_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Blower_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Blower_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Blower_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Company_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Company_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Company_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Company_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Door_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Door_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Door_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Door_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_EcoSaving_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_EcoSaving_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_EcoSaving_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_EcoSaving_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Heat_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Heat_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Heat_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Heat_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_House_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_House_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_House_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_House_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_IncreaseValue_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_IncreaseValue_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_IncreaseValue_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_IncreaseValue_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Insulation_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Insulation_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Insulation_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Insulation_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_LessonDIY_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_LessonDIY_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_LessonDIY_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_LessonDIY_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Level_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Level_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Level_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Level_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PaintCan_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PaintCan_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PaintCan_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PaintCan_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerCompany_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerCompany_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerCompany_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerCompany_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerWorker_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerWorker_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerWorker_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_PartnerWorker_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Pipe_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Pipe_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Pipe_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Pipe_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Premium_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Premium_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Premium_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Premium_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Shutter_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Shutter_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Shutter_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Shutter_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Survey_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Survey_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Survey_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Survey_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Temperature_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Temperature_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Temperature_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_Temperature_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ThermalControl_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ThermalControl_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ThermalControl_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ThermalControl_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ToolBox_24px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ToolBox_32px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ToolBox_48px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/moz-icons/Various_ToolBox_64px.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/checkbox-checked-disabled.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/checkbox-checked.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/checkbox-indeterminate-disabled.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/checkbox-indeterminate.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/invalid-cross.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/layer-cross.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-danger-m.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-danger-s.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-information-m.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-information-s.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-success-m.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-success-s.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-warning-m.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/notification-warning-s.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/remove-tag.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/toggle-checked-disabled.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/toggle-checked.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/toggle-cross-disabled.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/toggle-cross.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/tooltip-triangle.svg +0 -0
- /package/{assets → dist/mozaic-angular/assets}/special-icons/valid-check-mark.svg +0 -0
- /package/{common → dist/mozaic-angular/common}/global-events/global-events.module.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/global-events/global-events.service.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/global-events/public-api.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/index.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/utils/boolean-property.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/utils/generate-id.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/utils/get-random-number.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/utils/index.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/utils/overwrite-style.d.ts +0 -0
- /package/{common → dist/mozaic-angular/common}/utils/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/badge/badge.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/badge/badge.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/badge/badge.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/badge/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/button/button.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/button/button.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/button/button.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/button/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/checkbox/checkbox.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/checkbox/checkbox.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/checkbox/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/classes/dialog-config.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/classes/dialog-injector.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/classes/dialog-ref.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/classes/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/dialog-animation.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/dialog.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/dialog.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/dialog.service.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/interfaces/dialog-config.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/interfaces/dialog-di-params.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/interfaces/dialog-ref.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/interfaces/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/tokens/dialog-config.token.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/tokens/dialog-data.token.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/tokens/dialog-ref.token.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/dialog/tokens/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/field/directives/input-icon.directive.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/field/field-error.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/field/field.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/field/field.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/field/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/icon/icon-size.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/icon/icon.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/icon/icon.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/icon/icon.service.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/icon/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/classes/layer-injector.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/classes/layer-ref.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/interfaces/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/interfaces/layer-di-params.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/interfaces/layer-ref.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/layer-animation.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/layer.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/layer.service.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/tokens/index.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/tokens/layer-config.token.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/tokens/layer-data.token.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/layer/tokens/layer-ref.token.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/loader/loader.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/loader/loader.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/loader/loader.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/loader/loader.service.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/loader/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification-animation.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification-container.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification-footer.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification-message.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification-title.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/notification.service.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/notification/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/pagination/pagination.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/pagination/pagination.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/pagination/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/progress-bar/progress-bar-size.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/progress-bar/progress-bar-theme.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/progress-bar/progress-bar.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/progress-bar/progress-bar.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/progress-bar/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/select/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/select/select-size.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/select/select.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/select/select.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/stepper/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/stepper/step-state.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/stepper/step.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/stepper/stepper.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/stepper/stepper.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tabs/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tabs/tab-selectors.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tabs/tab.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tabs/tabs.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tabs/tabs.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tag/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tag/tag.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tag/tag.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-area/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-area/text-area.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-area/text-area.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-input/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-input/text-input.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-input/text-input.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/text-input/text-input.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/toggle/public-api.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/toggle/toggle-size.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/toggle/toggle.component.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/toggle/toggle.module.d.ts +0 -0
- /package/{components → dist/mozaic-angular/components}/tooltip/tooltip-position.d.ts +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/global-events/global-events.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/global-events/global-events.service.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/global-events/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/utils/boolean-property.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/utils/generate-id.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/utils/get-random-number.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/utils/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/utils/overwrite-style.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/common/utils/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/badge/badge.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/badge/badge.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/badge/badge.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/badge/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/button/button.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/button/button.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/button/button.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/button/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/checkbox/checkbox.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/classes/dialog-config.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/classes/dialog-injector.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/classes/dialog-ref.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/classes/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/dialog-animation.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/dialog.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/dialog.service.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/interfaces/dialog-config.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/interfaces/dialog-di-params.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/interfaces/dialog-ref.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/interfaces/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/tokens/dialog-config.token.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/tokens/dialog-data.token.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/tokens/dialog-ref.token.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/dialog/tokens/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/field/directives/input-icon.directive.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/field/field.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/field/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/icon/icon-size.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/icon/icon.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/icon/icon.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/icon/icon.service.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/icon/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/classes/layer-injector.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/classes/layer-ref.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/interfaces/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/interfaces/layer-di-params.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/interfaces/layer-ref.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/layer-animation.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/layer.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/layer.service.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/tokens/index.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/tokens/layer-config.token.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/tokens/layer-data.token.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/layer/tokens/layer-ref.token.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/loader/loader.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/loader/loader.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/loader/loader.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/loader/loader.service.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/loader/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/notification/notification-animation.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/notification/notification-container.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/notification/notification.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/notification/notification.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/notification/notification.service.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/notification/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/pagination/pagination.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/pagination/pagination.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/pagination/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/progress-bar/progress-bar-size.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/progress-bar/progress-bar-theme.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/progress-bar/progress-bar.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/progress-bar/progress-bar.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/progress-bar/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/select/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/select/select-size.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/select/select.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/stepper/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/stepper/step-state.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/stepper/step.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/stepper/stepper.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/stepper/stepper.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/tabs/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/tabs/tab-selectors.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/tabs/tabs.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/tag/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/tag/tag.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/text-area/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/text-area/text-area.component.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/text-area/text-area.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/text-input/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/text-input/text-input.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/text-input/text-input.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/toggle/public-api.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/toggle/toggle-size.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/toggle/toggle.module.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/components/tooltip/tooltip-position.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/mozaic-ds-angular.mjs +0 -0
- /package/{esm2020 → dist/mozaic-angular/esm2020}/public-api.mjs +0 -0
- /package/{index.d.ts → dist/mozaic-angular/index.d.ts} +0 -0
- /package/{public-api.d.ts → dist/mozaic-angular/public-api.d.ts} +0 -0
|
@@ -0,0 +1,3679 @@
|
|
|
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, HostListener, TemplateRef, ContentChild } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
5
|
+
import * as i2 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}\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}\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}\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}\n"] }]
|
|
315
|
+
}], ctorParameters: function () {
|
|
316
|
+
return [{ type: undefined, decorators: [{
|
|
317
|
+
type: Inject,
|
|
318
|
+
args: [DIALOG_CONFIG]
|
|
319
|
+
}] }, { type: i0.ChangeDetectorRef }];
|
|
320
|
+
}, propDecorators: { dialogRef: [{
|
|
321
|
+
type: Input
|
|
322
|
+
}], childComponentType: [{
|
|
323
|
+
type: Input
|
|
324
|
+
}], contentViewRef: [{
|
|
325
|
+
type: ViewChild,
|
|
326
|
+
args: ['content', { read: ViewContainerRef, static: true }]
|
|
327
|
+
}] } });
|
|
328
|
+
|
|
329
|
+
class DialogConfigModel {
|
|
330
|
+
constructor(config) {
|
|
331
|
+
this.title = '';
|
|
332
|
+
this.hasCross = true;
|
|
333
|
+
this.minHeight = 65;
|
|
334
|
+
Object.assign(this, config);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
class DialogInjector {
|
|
339
|
+
constructor({ injector, dialogRef }) {
|
|
340
|
+
this.parentInjector = injector;
|
|
341
|
+
this.dialogRef = dialogRef;
|
|
342
|
+
this.initAdditionalTokens();
|
|
343
|
+
}
|
|
344
|
+
get(token, notFoundValue) {
|
|
345
|
+
const value = this.additionalTokens.get(token);
|
|
346
|
+
if (value) {
|
|
347
|
+
return value;
|
|
348
|
+
}
|
|
349
|
+
return this.parentInjector.get(token, notFoundValue);
|
|
350
|
+
}
|
|
351
|
+
initAdditionalTokens() {
|
|
352
|
+
this.additionalTokens = new WeakMap();
|
|
353
|
+
this.additionalTokens.set(DIALOG_REF, this.dialogRef);
|
|
354
|
+
this.additionalTokens.set(DIALOG_CONFIG, this.dialogRef.config);
|
|
355
|
+
this.additionalTokens.set(DIALOG_DATA, this.dialogRef.config.data);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
class DialogRefModel {
|
|
360
|
+
constructor(dialogConfig) {
|
|
361
|
+
this.dialogConfig = dialogConfig;
|
|
362
|
+
this._config$ = new BehaviorSubject({});
|
|
363
|
+
this._afterClosed$ = new Subject();
|
|
364
|
+
this._id = String(getRandomNumber(1, 100000));
|
|
365
|
+
this.init(dialogConfig);
|
|
366
|
+
}
|
|
367
|
+
get afterClosed$() {
|
|
368
|
+
return this._afterClosed$.asObservable();
|
|
369
|
+
}
|
|
370
|
+
get config$() {
|
|
371
|
+
return this._config$.asObservable();
|
|
372
|
+
}
|
|
373
|
+
get config() {
|
|
374
|
+
return this._config$.getValue();
|
|
375
|
+
}
|
|
376
|
+
get id() {
|
|
377
|
+
return this._id;
|
|
378
|
+
}
|
|
379
|
+
get dialogElement() {
|
|
380
|
+
return this._dialogElement;
|
|
381
|
+
}
|
|
382
|
+
get componentRef() {
|
|
383
|
+
return this._componentRef;
|
|
384
|
+
}
|
|
385
|
+
init(config) {
|
|
386
|
+
this.updateConfig(config);
|
|
387
|
+
}
|
|
388
|
+
updateConfig(config) {
|
|
389
|
+
this._config$.next(Object.assign(Object.assign({}, this.config), config));
|
|
390
|
+
}
|
|
391
|
+
close(result) {
|
|
392
|
+
this._afterClosed$.next(result);
|
|
393
|
+
}
|
|
394
|
+
setDialogElement(element) {
|
|
395
|
+
this._dialogElement = element;
|
|
396
|
+
}
|
|
397
|
+
setComponentRef(componentRef) {
|
|
398
|
+
this._componentRef = componentRef;
|
|
399
|
+
}
|
|
400
|
+
destroy() {
|
|
401
|
+
this._config$.complete();
|
|
402
|
+
this._afterClosed$.complete();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
class DialogService {
|
|
407
|
+
constructor(componentFactoryResolver, injector, applicationRef, document) {
|
|
408
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
409
|
+
this.injector = injector;
|
|
410
|
+
this.applicationRef = applicationRef;
|
|
411
|
+
this.document = document;
|
|
412
|
+
this._layer = 100;
|
|
413
|
+
}
|
|
414
|
+
open(component, config = {}) {
|
|
415
|
+
this.addLayer();
|
|
416
|
+
const dialogRef = this.createDialog(Object.assign(Object.assign({}, config), { layerIndex: this._layer }));
|
|
417
|
+
this.applyDataForCreatedDialogInstance({ component, dialogRef });
|
|
418
|
+
return dialogRef;
|
|
419
|
+
}
|
|
420
|
+
createDialog(config) {
|
|
421
|
+
const dialogRef = new DialogRefModel(new DialogConfigModel(config));
|
|
422
|
+
const dialogInjector = new DialogInjector({ injector: this.injector, dialogRef });
|
|
423
|
+
const componentRef = this.createComponentRef(dialogInjector);
|
|
424
|
+
dialogRef.setComponentRef(componentRef);
|
|
425
|
+
this.initDialogRefAfterClosedObserver(dialogRef, componentRef);
|
|
426
|
+
this.appendDialogComponentToBody(componentRef);
|
|
427
|
+
return dialogRef;
|
|
428
|
+
}
|
|
429
|
+
createComponentRef(dialogInjector) {
|
|
430
|
+
return this.componentFactoryResolver
|
|
431
|
+
.resolveComponentFactory(DialogComponent)
|
|
432
|
+
.create(dialogInjector);
|
|
433
|
+
}
|
|
434
|
+
initDialogRefAfterClosedObserver(dialogRef, componentRef) {
|
|
435
|
+
const destroyDelayInMs = 50;
|
|
436
|
+
dialogRef.afterClosed$.pipe(delay(destroyDelayInMs)).subscribe(() => componentRef.destroy());
|
|
437
|
+
}
|
|
438
|
+
appendDialogComponentToBody(componentRef) {
|
|
439
|
+
const componentHostView = componentRef.hostView;
|
|
440
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
441
|
+
this.applicationRef.attachView(componentHostView);
|
|
442
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
443
|
+
}
|
|
444
|
+
applyDataForCreatedDialogInstance({ dialogRef, component, }) {
|
|
445
|
+
const { instance: dialogInstance } = dialogRef.componentRef;
|
|
446
|
+
dialogInstance.childComponentType = component;
|
|
447
|
+
dialogInstance.dialogRef = dialogRef;
|
|
448
|
+
}
|
|
449
|
+
addLayer() {
|
|
450
|
+
this._layer += 1;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
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 });
|
|
454
|
+
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogService, decorators: [{
|
|
456
|
+
type: Injectable,
|
|
457
|
+
args: [{
|
|
458
|
+
providedIn: 'root',
|
|
459
|
+
}]
|
|
460
|
+
}], ctorParameters: function () {
|
|
461
|
+
return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: Document, decorators: [{
|
|
462
|
+
type: Inject,
|
|
463
|
+
args: [DOCUMENT]
|
|
464
|
+
}] }];
|
|
465
|
+
} });
|
|
466
|
+
|
|
467
|
+
class DialogModule {
|
|
468
|
+
}
|
|
469
|
+
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
470
|
+
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, declarations: [DialogComponent], imports: [CommonModule] });
|
|
471
|
+
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, providers: [DialogService], imports: [CommonModule] });
|
|
472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DialogModule, decorators: [{
|
|
473
|
+
type: NgModule,
|
|
474
|
+
args: [{
|
|
475
|
+
declarations: [DialogComponent],
|
|
476
|
+
imports: [CommonModule],
|
|
477
|
+
providers: [DialogService],
|
|
478
|
+
exports: [],
|
|
479
|
+
}]
|
|
480
|
+
}] });
|
|
481
|
+
|
|
482
|
+
const MOZ_INPUT_ICON = new InjectionToken('MozInputIcon');
|
|
483
|
+
class InputIconDirective {
|
|
484
|
+
}
|
|
485
|
+
InputIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InputIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
486
|
+
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 });
|
|
487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: InputIconDirective, decorators: [{
|
|
488
|
+
type: Directive,
|
|
489
|
+
args: [{
|
|
490
|
+
selector: '[mozInputIcon]',
|
|
491
|
+
providers: [{ provide: MOZ_INPUT_ICON, useExisting: InputIconDirective }],
|
|
492
|
+
}]
|
|
493
|
+
}] });
|
|
494
|
+
|
|
495
|
+
class FieldErrorComponent {
|
|
496
|
+
}
|
|
497
|
+
FieldErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
498
|
+
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,.mc-field__element--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child),.mc-field__element--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),.mc-field__element--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 });
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldErrorComponent, decorators: [{
|
|
500
|
+
type: Component,
|
|
501
|
+
args: [{ selector: 'moz-field-error', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
502
|
+
'[class.mc-field__error-message]': 'true',
|
|
503
|
+
}, 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,.mc-field__element--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child),.mc-field__element--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),.mc-field__element--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"] }]
|
|
504
|
+
}] });
|
|
505
|
+
|
|
506
|
+
class FieldComponent {
|
|
507
|
+
get viewLabel() {
|
|
508
|
+
return !!(this.label || this.requirementText || this.helpText);
|
|
509
|
+
}
|
|
510
|
+
get hasInputIcon() {
|
|
511
|
+
var _a, _b;
|
|
512
|
+
return (_a = this.InputIconDirective) === null || _a === void 0 ? void 0 : _a.changes.pipe(startWith(!!((_b = this.InputIconDirective) === null || _b === void 0 ? void 0 : _b.length)), map(() => { var _a; return !!((_a = this.InputIconDirective) === null || _a === void 0 ? void 0 : _a.length); }));
|
|
513
|
+
}
|
|
514
|
+
constructor(cd) {
|
|
515
|
+
this.cd = cd;
|
|
516
|
+
this.label = '';
|
|
517
|
+
this.requirementText = '';
|
|
518
|
+
this.helpText = '';
|
|
519
|
+
}
|
|
520
|
+
ngAfterViewInit() {
|
|
521
|
+
this.cd.detectChanges();
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
FieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
525
|
+
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,.mc-field__element--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child),.mc-field__element--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),.mc-field__element--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 });
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldComponent, decorators: [{
|
|
527
|
+
type: Component,
|
|
528
|
+
args: [{ selector: 'moz-field', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
529
|
+
'[class.mc-field]': 'true',
|
|
530
|
+
}, 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,.mc-field__element--inline{display:flex}}@media screen and (min-width: 769px){.mc-field__container--inline .mc-field__item:not(:last-child),.mc-field__element--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),.mc-field__element--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"] }]
|
|
531
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { label: [{
|
|
532
|
+
type: Input
|
|
533
|
+
}], requirementText: [{
|
|
534
|
+
type: Input
|
|
535
|
+
}], helpText: [{
|
|
536
|
+
type: Input
|
|
537
|
+
}], InputIconDirective: [{
|
|
538
|
+
type: ContentChildren,
|
|
539
|
+
args: [MOZ_INPUT_ICON, { descendants: true }]
|
|
540
|
+
}] } });
|
|
541
|
+
|
|
542
|
+
class FieldModule {
|
|
543
|
+
}
|
|
544
|
+
FieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
545
|
+
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] });
|
|
546
|
+
FieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, imports: [CommonModule] });
|
|
547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldModule, decorators: [{
|
|
548
|
+
type: NgModule,
|
|
549
|
+
args: [{
|
|
550
|
+
imports: [CommonModule],
|
|
551
|
+
declarations: [FieldComponent, FieldErrorComponent, InputIconDirective],
|
|
552
|
+
exports: [FieldComponent, FieldErrorComponent, InputIconDirective],
|
|
553
|
+
}]
|
|
554
|
+
}] });
|
|
555
|
+
|
|
556
|
+
var IconSize;
|
|
557
|
+
(function (IconSize) {
|
|
558
|
+
IconSize["S"] = "16px";
|
|
559
|
+
IconSize["M"] = "24px";
|
|
560
|
+
IconSize["L"] = "32px";
|
|
561
|
+
IconSize["XL"] = "48px";
|
|
562
|
+
})(IconSize || (IconSize = {}));
|
|
563
|
+
|
|
564
|
+
class IconService {
|
|
565
|
+
constructor(http) {
|
|
566
|
+
this.http = http;
|
|
567
|
+
this.cachedIcons = new Map();
|
|
568
|
+
this.cachedRequests = new Map();
|
|
569
|
+
}
|
|
570
|
+
getIcon(name) {
|
|
571
|
+
const cacheIcon = this.cachedIcons.get(name);
|
|
572
|
+
const cachedRequest = this.cachedRequests.get(name);
|
|
573
|
+
if (cacheIcon) {
|
|
574
|
+
return of(cacheIcon);
|
|
575
|
+
}
|
|
576
|
+
if (cachedRequest) {
|
|
577
|
+
return cachedRequest;
|
|
578
|
+
}
|
|
579
|
+
const url = `/assets/moz-icons/${name}.svg`;
|
|
580
|
+
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 }));
|
|
581
|
+
this.cachedRequests.set(name, request);
|
|
582
|
+
return request;
|
|
583
|
+
}
|
|
584
|
+
getNotFoundError(name) {
|
|
585
|
+
return Error(`
|
|
586
|
+
The icon (${name}) you are trying to display does not exist.
|
|
587
|
+
Maybe the name is incorrect.
|
|
588
|
+
=> (See all available icons: http://mozaic.adeo.cloud/Foundations/Icons/catalog/)`);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
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 });
|
|
592
|
+
IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconService, providedIn: 'root' });
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconService, decorators: [{
|
|
594
|
+
type: Injectable,
|
|
595
|
+
args: [{
|
|
596
|
+
providedIn: 'root',
|
|
597
|
+
}]
|
|
598
|
+
}], ctorParameters: function () {
|
|
599
|
+
return [{ type: i1$1.HttpClient, decorators: [{
|
|
600
|
+
type: Host
|
|
601
|
+
}] }];
|
|
602
|
+
} });
|
|
603
|
+
|
|
604
|
+
class IconComponent {
|
|
605
|
+
constructor(iconService, elementRef) {
|
|
606
|
+
this.iconService = iconService;
|
|
607
|
+
this.elementRef = elementRef;
|
|
608
|
+
this.iconName = '';
|
|
609
|
+
}
|
|
610
|
+
ngOnChanges({ iconName }) {
|
|
611
|
+
this.needRenderIcon(iconName === null || iconName === void 0 ? void 0 : iconName.currentValue, iconName === null || iconName === void 0 ? void 0 : iconName.previousValue) &&
|
|
612
|
+
this.drawIcon(iconName === null || iconName === void 0 ? void 0 : iconName.currentValue, iconName === null || iconName === void 0 ? void 0 : iconName.previousValue);
|
|
613
|
+
}
|
|
614
|
+
needRenderIcon(currentIconName, previousIconName) {
|
|
615
|
+
return !!currentIconName && currentIconName !== previousIconName;
|
|
616
|
+
}
|
|
617
|
+
getSizeClass(name) {
|
|
618
|
+
const [size] = name.match(/\d\dpx/) || [];
|
|
619
|
+
const strategy = {
|
|
620
|
+
[IconSize.S]: 'icons-size-s',
|
|
621
|
+
[IconSize.M]: 'icons-size-m',
|
|
622
|
+
[IconSize.L]: 'icons-size-l',
|
|
623
|
+
[IconSize.XL]: 'icons-size-xl',
|
|
624
|
+
};
|
|
625
|
+
return strategy[size || null] || strategy[IconSize.S];
|
|
626
|
+
}
|
|
627
|
+
drawIcon(iconName, previousIconName) {
|
|
628
|
+
this.iconService
|
|
629
|
+
.getIcon(iconName)
|
|
630
|
+
.pipe(first())
|
|
631
|
+
.subscribe((svg) => {
|
|
632
|
+
this.elementRef.nativeElement.innerHTML = svg;
|
|
633
|
+
previousIconName &&
|
|
634
|
+
this.elementRef.nativeElement.classList.remove(this.getSizeClass(previousIconName));
|
|
635
|
+
this.elementRef.nativeElement.classList.add(this.getSizeClass(iconName));
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
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 });
|
|
640
|
+
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 });
|
|
641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconComponent, decorators: [{
|
|
642
|
+
type: Component,
|
|
643
|
+
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"] }]
|
|
644
|
+
}], ctorParameters: function () { return [{ type: IconService }, { type: i0.ElementRef }]; }, propDecorators: { iconName: [{
|
|
645
|
+
type: Input
|
|
646
|
+
}] } });
|
|
647
|
+
|
|
648
|
+
class IconModule {
|
|
649
|
+
}
|
|
650
|
+
IconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
651
|
+
IconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: IconModule, declarations: [IconComponent], imports: [CommonModule], exports: [IconComponent] });
|
|
652
|
+
IconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconModule, imports: [CommonModule] });
|
|
653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IconModule, decorators: [{
|
|
654
|
+
type: NgModule,
|
|
655
|
+
args: [{
|
|
656
|
+
declarations: [IconComponent],
|
|
657
|
+
imports: [CommonModule],
|
|
658
|
+
exports: [IconComponent],
|
|
659
|
+
}]
|
|
660
|
+
}] });
|
|
661
|
+
|
|
662
|
+
const layerAnimation = trigger('layerAnimation', [
|
|
663
|
+
transition(':enter', group([
|
|
664
|
+
query(':self', [style({ opacity: 0 }), animate(200, style({ opacity: 1 }))]),
|
|
665
|
+
query('.mc-layer', [
|
|
666
|
+
style({ transform: 'translateX(250px)' }),
|
|
667
|
+
animate(200, style({ transform: 'translateX(0)' })),
|
|
668
|
+
]),
|
|
669
|
+
])),
|
|
670
|
+
transition(':leave', group([
|
|
671
|
+
query(':self', [animate(200, style({ opacity: 0 }))]),
|
|
672
|
+
query('.mc-layer', [
|
|
673
|
+
style({ transform: 'translateX(0)' }),
|
|
674
|
+
animate(200, style({ transform: 'translateX(250px)' })),
|
|
675
|
+
]),
|
|
676
|
+
])),
|
|
677
|
+
]);
|
|
678
|
+
|
|
679
|
+
const LAYER_CONFIG = new InjectionToken('LAYER_CONFIG_TOKEN');
|
|
680
|
+
|
|
681
|
+
const LAYER_DATA = new InjectionToken('LAYER_DATA_TOKEN');
|
|
682
|
+
|
|
683
|
+
const LAYER_REF = new InjectionToken('LAYER_DATA_TOKEN');
|
|
684
|
+
|
|
685
|
+
class LayerComponent {
|
|
686
|
+
get title() {
|
|
687
|
+
return this.config.title || 'Layer title';
|
|
688
|
+
}
|
|
689
|
+
get icon() {
|
|
690
|
+
return this.config.icon;
|
|
691
|
+
}
|
|
692
|
+
constructor(layerRef, config, cd) {
|
|
693
|
+
this.layerRef = layerRef;
|
|
694
|
+
this.config = config;
|
|
695
|
+
this.cd = cd;
|
|
696
|
+
}
|
|
697
|
+
ngAfterViewInit() {
|
|
698
|
+
this.initChildComponent(this.childComponentType);
|
|
699
|
+
}
|
|
700
|
+
initChildComponent(componentType) {
|
|
701
|
+
this.childComponentRef = this.contentViewRef.createComponent(componentType);
|
|
702
|
+
this.cd.detectChanges();
|
|
703
|
+
}
|
|
704
|
+
close() {
|
|
705
|
+
this.layerRef.close();
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
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 });
|
|
709
|
+
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 <span class=\"mc-layer__icon\" *ngIf=\"icon\">\n <moz-icon iconName=\"{{ icon }}\"></moz-icon>\n </span>\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 mc-layer__body--overflowing\">\n <ng-template class=\"mc-layer__content\" #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}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }], animations: [layerAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerComponent, decorators: [{
|
|
711
|
+
type: Component,
|
|
712
|
+
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 <span class=\"mc-layer__icon\" *ngIf=\"icon\">\n <moz-icon iconName=\"{{ icon }}\"></moz-icon>\n </span>\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 mc-layer__body--overflowing\">\n <ng-template class=\"mc-layer__content\" #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}\n"] }]
|
|
713
|
+
}], ctorParameters: function () {
|
|
714
|
+
return [{ type: undefined, decorators: [{
|
|
715
|
+
type: Inject,
|
|
716
|
+
args: [LAYER_REF]
|
|
717
|
+
}] }, { type: undefined, decorators: [{
|
|
718
|
+
type: Inject,
|
|
719
|
+
args: [LAYER_CONFIG]
|
|
720
|
+
}] }, { type: i0.ChangeDetectorRef }];
|
|
721
|
+
}, propDecorators: { contentViewRef: [{
|
|
722
|
+
type: ViewChild,
|
|
723
|
+
args: ['content', { read: ViewContainerRef, static: true }]
|
|
724
|
+
}] } });
|
|
725
|
+
|
|
726
|
+
class LayerInjector {
|
|
727
|
+
constructor({ injector, layerRef }) {
|
|
728
|
+
this.parentInjector = injector;
|
|
729
|
+
this.layerRef = layerRef;
|
|
730
|
+
this.initAdditionalTokens();
|
|
731
|
+
}
|
|
732
|
+
get(token, notFoundValue) {
|
|
733
|
+
const value = this.additionalTokens.get(token);
|
|
734
|
+
if (value) {
|
|
735
|
+
return value;
|
|
736
|
+
}
|
|
737
|
+
return this.parentInjector.get(token, notFoundValue);
|
|
738
|
+
}
|
|
739
|
+
initAdditionalTokens() {
|
|
740
|
+
this.additionalTokens = new WeakMap();
|
|
741
|
+
this.additionalTokens.set(LAYER_REF, this.layerRef);
|
|
742
|
+
this.additionalTokens.set(LAYER_CONFIG, this.layerRef.config);
|
|
743
|
+
this.additionalTokens.set(LAYER_DATA, this.layerRef.config.data);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
class LayerRefModel {
|
|
748
|
+
get afterClosed$() {
|
|
749
|
+
return this._afterClosed$.pipe(first());
|
|
750
|
+
}
|
|
751
|
+
get config$() {
|
|
752
|
+
return this._config$.asObservable();
|
|
753
|
+
}
|
|
754
|
+
get config() {
|
|
755
|
+
return this._config$.getValue();
|
|
756
|
+
}
|
|
757
|
+
get componentRef() {
|
|
758
|
+
return this._componentRef;
|
|
759
|
+
}
|
|
760
|
+
constructor(layerConfig) {
|
|
761
|
+
this.layerConfig = layerConfig;
|
|
762
|
+
this._config$ = new BehaviorSubject({});
|
|
763
|
+
this._afterClosed$ = new Subject();
|
|
764
|
+
this.init(layerConfig);
|
|
765
|
+
}
|
|
766
|
+
init(config) {
|
|
767
|
+
this.updateConfig(config);
|
|
768
|
+
}
|
|
769
|
+
updateConfig(config) {
|
|
770
|
+
this._config$.next(Object.assign(Object.assign({}, this.config), config));
|
|
771
|
+
}
|
|
772
|
+
close(result) {
|
|
773
|
+
this._afterClosed$.next(result);
|
|
774
|
+
}
|
|
775
|
+
setComponentRef(componentRef) {
|
|
776
|
+
this._componentRef = componentRef;
|
|
777
|
+
}
|
|
778
|
+
destroy() {
|
|
779
|
+
this._config$.complete();
|
|
780
|
+
this._afterClosed$.complete();
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
class LayerService {
|
|
785
|
+
constructor(componentFactoryResolver, injector, applicationRef, document) {
|
|
786
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
787
|
+
this.injector = injector;
|
|
788
|
+
this.applicationRef = applicationRef;
|
|
789
|
+
this.document = document;
|
|
790
|
+
}
|
|
791
|
+
open(component, config = {}) {
|
|
792
|
+
const layerRef = this.createLayer(config);
|
|
793
|
+
this.applyChildComponent({ component, layerRef });
|
|
794
|
+
return layerRef;
|
|
795
|
+
}
|
|
796
|
+
createLayer(config) {
|
|
797
|
+
const layerRef = new LayerRefModel(config);
|
|
798
|
+
const layerInjector = new LayerInjector({ injector: this.injector, layerRef });
|
|
799
|
+
const componentRef = this.createComponentRef(layerInjector);
|
|
800
|
+
layerRef.setComponentRef(componentRef);
|
|
801
|
+
this.appendLayerComponentToBody(componentRef);
|
|
802
|
+
this.initDialogRefAfterClosedObserver(layerRef, componentRef);
|
|
803
|
+
return layerRef;
|
|
804
|
+
}
|
|
805
|
+
initDialogRefAfterClosedObserver(layerRef, componentRef) {
|
|
806
|
+
layerRef.afterClosed$.subscribe(() => componentRef.destroy());
|
|
807
|
+
}
|
|
808
|
+
createComponentRef(injector) {
|
|
809
|
+
return this.componentFactoryResolver.resolveComponentFactory(LayerComponent).create(injector);
|
|
810
|
+
}
|
|
811
|
+
appendLayerComponentToBody(componentRef) {
|
|
812
|
+
const componentHostView = componentRef.hostView;
|
|
813
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
814
|
+
this.applicationRef.attachView(componentHostView);
|
|
815
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
816
|
+
}
|
|
817
|
+
applyChildComponent({ layerRef, component, }) {
|
|
818
|
+
const { instance } = layerRef.componentRef;
|
|
819
|
+
instance.childComponentType = component;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
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 });
|
|
823
|
+
LayerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerService, providedIn: 'root' });
|
|
824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerService, decorators: [{
|
|
825
|
+
type: Injectable,
|
|
826
|
+
args: [{
|
|
827
|
+
providedIn: 'root',
|
|
828
|
+
}]
|
|
829
|
+
}], ctorParameters: function () {
|
|
830
|
+
return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: Document, decorators: [{
|
|
831
|
+
type: Inject,
|
|
832
|
+
args: [DOCUMENT]
|
|
833
|
+
}] }];
|
|
834
|
+
} });
|
|
835
|
+
|
|
836
|
+
class LayerModule {
|
|
837
|
+
}
|
|
838
|
+
LayerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
839
|
+
LayerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, declarations: [LayerComponent], imports: [CommonModule, IconModule], exports: [LayerComponent] });
|
|
840
|
+
LayerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, providers: [LayerService], imports: [CommonModule, IconModule] });
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LayerModule, decorators: [{
|
|
842
|
+
type: NgModule,
|
|
843
|
+
args: [{
|
|
844
|
+
imports: [CommonModule, IconModule],
|
|
845
|
+
providers: [LayerService],
|
|
846
|
+
declarations: [LayerComponent],
|
|
847
|
+
exports: [LayerComponent],
|
|
848
|
+
}]
|
|
849
|
+
}] });
|
|
850
|
+
|
|
851
|
+
const CIRCLE_VIEW_BOX_SIZES = {
|
|
852
|
+
s: '0 0 24 24',
|
|
853
|
+
m: '0 0 32 32',
|
|
854
|
+
l: '0 0 64 64',
|
|
855
|
+
};
|
|
856
|
+
const CIRCLE_RADIUSES = {
|
|
857
|
+
s: 6,
|
|
858
|
+
m: 9,
|
|
859
|
+
l: 19,
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
class LoaderComponent {
|
|
863
|
+
get viewText() {
|
|
864
|
+
return this.isOverlay && !!this.text;
|
|
865
|
+
}
|
|
866
|
+
get overlayCssClasses() {
|
|
867
|
+
return {
|
|
868
|
+
'mc-overlay-loader': true,
|
|
869
|
+
'is-visible': !this.hideOverlay,
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
get loaderCssClasses() {
|
|
873
|
+
return {
|
|
874
|
+
'mc-loader': true,
|
|
875
|
+
[`mc-loader--${this.size}`]: true,
|
|
876
|
+
[`mc-loader--${this.theme}`]: this.theme !== 'primary',
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
get viewBoxSize() {
|
|
880
|
+
return CIRCLE_VIEW_BOX_SIZES[this.size];
|
|
881
|
+
}
|
|
882
|
+
get radius() {
|
|
883
|
+
return CIRCLE_RADIUSES[this.size];
|
|
884
|
+
}
|
|
885
|
+
constructor(cd) {
|
|
886
|
+
this.cd = cd;
|
|
887
|
+
this.size = 'm';
|
|
888
|
+
this.theme = 'primary';
|
|
889
|
+
this.isOverlay = false;
|
|
890
|
+
this.hideOverlay = true;
|
|
891
|
+
this.text = '';
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
895
|
+
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 });
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
897
|
+
type: Component,
|
|
898
|
+
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"] }]
|
|
899
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { size: [{
|
|
900
|
+
type: Input
|
|
901
|
+
}], theme: [{
|
|
902
|
+
type: Input
|
|
903
|
+
}] } });
|
|
904
|
+
|
|
905
|
+
class LoaderService {
|
|
906
|
+
get _loaderComponent() {
|
|
907
|
+
return this._loaderRef.instance;
|
|
908
|
+
}
|
|
909
|
+
constructor(applicationRef, componentFactoryResolver, injector, document) {
|
|
910
|
+
this.applicationRef = applicationRef;
|
|
911
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
912
|
+
this.injector = injector;
|
|
913
|
+
this.document = document;
|
|
914
|
+
this._loaderRef = this.createComponentRef();
|
|
915
|
+
this._loaderComponent.isOverlay = true;
|
|
916
|
+
this._loaderComponent.theme = 'light';
|
|
917
|
+
this.appendLoaderToBody(this._loaderRef);
|
|
918
|
+
}
|
|
919
|
+
startLoad(config) {
|
|
920
|
+
const { size = 'l', text = '' } = config || {};
|
|
921
|
+
this._loaderComponent.size = size;
|
|
922
|
+
this._loaderComponent.text = text;
|
|
923
|
+
this._loaderComponent.hideOverlay = false;
|
|
924
|
+
this._loaderComponent.cd.markForCheck();
|
|
925
|
+
}
|
|
926
|
+
stopLoad() {
|
|
927
|
+
this._loaderComponent.hideOverlay = true;
|
|
928
|
+
this._loaderComponent.cd.markForCheck();
|
|
929
|
+
}
|
|
930
|
+
createComponentRef() {
|
|
931
|
+
return this.componentFactoryResolver
|
|
932
|
+
.resolveComponentFactory(LoaderComponent)
|
|
933
|
+
.create(this.injector);
|
|
934
|
+
}
|
|
935
|
+
appendLoaderToBody(componentRef) {
|
|
936
|
+
const componentHostView = componentRef.hostView;
|
|
937
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
938
|
+
this.applicationRef.attachView(componentHostView);
|
|
939
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
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 });
|
|
943
|
+
LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderService, providedIn: 'root' });
|
|
944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderService, decorators: [{
|
|
945
|
+
type: Injectable,
|
|
946
|
+
args: [{
|
|
947
|
+
providedIn: 'root',
|
|
948
|
+
}]
|
|
949
|
+
}], ctorParameters: function () {
|
|
950
|
+
return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: Document, decorators: [{
|
|
951
|
+
type: Inject,
|
|
952
|
+
args: [DOCUMENT]
|
|
953
|
+
}] }];
|
|
954
|
+
} });
|
|
955
|
+
|
|
956
|
+
class LoaderModule {
|
|
957
|
+
}
|
|
958
|
+
LoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
959
|
+
LoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, declarations: [LoaderComponent], imports: [CommonModule], exports: [LoaderComponent] });
|
|
960
|
+
LoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, providers: [LoaderService], imports: [CommonModule] });
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: LoaderModule, decorators: [{
|
|
962
|
+
type: NgModule,
|
|
963
|
+
args: [{
|
|
964
|
+
imports: [CommonModule],
|
|
965
|
+
declarations: [LoaderComponent],
|
|
966
|
+
providers: [LoaderService],
|
|
967
|
+
exports: [LoaderComponent],
|
|
968
|
+
}]
|
|
969
|
+
}] });
|
|
970
|
+
|
|
971
|
+
const NOTIFICATION_CONFIG = new InjectionToken('NOTIFICATION_CONFIG');
|
|
972
|
+
class NotificationConfigFactory {
|
|
973
|
+
static create(config = {}) {
|
|
974
|
+
return Object.assign({ duration: 3000 }, config);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
const NotificationAnimation = trigger('fadeIn', [
|
|
979
|
+
transition(':enter', [
|
|
980
|
+
style({ opacity: 1, transform: 'translateY(50%)' }),
|
|
981
|
+
animate('300ms ease-out', style({ transform: 'translateY(0)' })),
|
|
982
|
+
]),
|
|
983
|
+
transition(':leave', [
|
|
984
|
+
group([
|
|
985
|
+
query('.mc-notification__title', [animate('200ms', style({ opacity: 0, height: 0 }))], {
|
|
986
|
+
optional: true,
|
|
987
|
+
}),
|
|
988
|
+
query('.mc-notification__message', [animate('200ms', style({ opacity: 0, height: 0 }))], {
|
|
989
|
+
optional: true,
|
|
990
|
+
}),
|
|
991
|
+
query(':self', [
|
|
992
|
+
animate('300ms', style({ opacity: 0, height: 0, padding: 0, transform: 'translateY(-200%)' })),
|
|
993
|
+
]),
|
|
994
|
+
]),
|
|
995
|
+
]),
|
|
996
|
+
]);
|
|
997
|
+
|
|
998
|
+
class NotificationComponent {
|
|
999
|
+
constructor() {
|
|
1000
|
+
this.type = 'information';
|
|
1001
|
+
this.size = 'm';
|
|
1002
|
+
}
|
|
1003
|
+
get hostCssClasses() {
|
|
1004
|
+
const staticClasses = 'mc-notification';
|
|
1005
|
+
const sizeCssClass = `mc-notification--${this.size}`;
|
|
1006
|
+
const typeCssClass = `mc-notification--${this.type}`;
|
|
1007
|
+
const dynamicClasses = `${sizeCssClass} ${typeCssClass}`;
|
|
1008
|
+
return `${staticClasses} ${dynamicClasses}`;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1012
|
+
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}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
1014
|
+
type: Component,
|
|
1015
|
+
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}\n"] }]
|
|
1016
|
+
}], propDecorators: { type: [{
|
|
1017
|
+
type: Input
|
|
1018
|
+
}], size: [{
|
|
1019
|
+
type: Input
|
|
1020
|
+
}], hostCssClasses: [{
|
|
1021
|
+
type: HostBinding,
|
|
1022
|
+
args: ['class']
|
|
1023
|
+
}] } });
|
|
1024
|
+
|
|
1025
|
+
class NotificationTitleComponent {
|
|
1026
|
+
}
|
|
1027
|
+
NotificationTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1028
|
+
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}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationTitleComponent, decorators: [{
|
|
1030
|
+
type: Component,
|
|
1031
|
+
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}\n"] }]
|
|
1032
|
+
}] });
|
|
1033
|
+
|
|
1034
|
+
class NotificationMessageComponent {
|
|
1035
|
+
}
|
|
1036
|
+
NotificationMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1037
|
+
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}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationMessageComponent, decorators: [{
|
|
1039
|
+
type: Component,
|
|
1040
|
+
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}\n"] }]
|
|
1041
|
+
}] });
|
|
1042
|
+
|
|
1043
|
+
class NotificationContainerComponent {
|
|
1044
|
+
constructor(notificationConfig) {
|
|
1045
|
+
this.notificationConfig = notificationConfig;
|
|
1046
|
+
this._notifications = new BehaviorSubject([]);
|
|
1047
|
+
}
|
|
1048
|
+
get notifications() {
|
|
1049
|
+
return this._notifications.asObservable();
|
|
1050
|
+
}
|
|
1051
|
+
add(notification) {
|
|
1052
|
+
this._notifications.next([...this._notifications.value, notification]);
|
|
1053
|
+
this.autoremove(notification);
|
|
1054
|
+
}
|
|
1055
|
+
autoremove(notification) {
|
|
1056
|
+
setTimeout(() => {
|
|
1057
|
+
const newState = this._notifications.value.filter((n) => n !== notification);
|
|
1058
|
+
this._notifications.next(newState);
|
|
1059
|
+
}, this.notificationConfig.duration);
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
NotificationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationContainerComponent, deps: [{ token: NOTIFICATION_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
1063
|
+
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 });
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationContainerComponent, decorators: [{
|
|
1065
|
+
type: Component,
|
|
1066
|
+
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"] }]
|
|
1067
|
+
}], ctorParameters: function () {
|
|
1068
|
+
return [{ type: undefined, decorators: [{
|
|
1069
|
+
type: Inject,
|
|
1070
|
+
args: [NOTIFICATION_CONFIG]
|
|
1071
|
+
}] }];
|
|
1072
|
+
} });
|
|
1073
|
+
|
|
1074
|
+
class NotificationFooterComponent {
|
|
1075
|
+
}
|
|
1076
|
+
NotificationFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1077
|
+
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}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationFooterComponent, decorators: [{
|
|
1079
|
+
type: Component,
|
|
1080
|
+
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}\n"] }]
|
|
1081
|
+
}] });
|
|
1082
|
+
|
|
1083
|
+
class NotificationService {
|
|
1084
|
+
constructor(applicationRef, componentFactoryResolver, injector, document) {
|
|
1085
|
+
this.applicationRef = applicationRef;
|
|
1086
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
1087
|
+
this.injector = injector;
|
|
1088
|
+
this.document = document;
|
|
1089
|
+
this.container = this.createContainer();
|
|
1090
|
+
this.appendNotificationContainerToBody(this.container);
|
|
1091
|
+
}
|
|
1092
|
+
add(notification) {
|
|
1093
|
+
this.container.instance.add(notification);
|
|
1094
|
+
}
|
|
1095
|
+
createContainer() {
|
|
1096
|
+
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(NotificationContainerComponent);
|
|
1097
|
+
const componentRef = componentFactory.create(this.injector);
|
|
1098
|
+
return componentRef;
|
|
1099
|
+
}
|
|
1100
|
+
appendNotificationContainerToBody(componentRef) {
|
|
1101
|
+
const componentHostView = componentRef.hostView;
|
|
1102
|
+
const componentHtmlElement = componentHostView.rootNodes[0];
|
|
1103
|
+
this.applicationRef.attachView(componentHostView);
|
|
1104
|
+
this.document.body.appendChild(componentHtmlElement);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
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 });
|
|
1108
|
+
NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationService, providedIn: 'root' });
|
|
1109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationService, decorators: [{
|
|
1110
|
+
type: Injectable,
|
|
1111
|
+
args: [{
|
|
1112
|
+
providedIn: 'root',
|
|
1113
|
+
}]
|
|
1114
|
+
}], ctorParameters: function () {
|
|
1115
|
+
return [{ type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: Document, decorators: [{
|
|
1116
|
+
type: Inject,
|
|
1117
|
+
args: [DOCUMENT]
|
|
1118
|
+
}] }];
|
|
1119
|
+
} });
|
|
1120
|
+
|
|
1121
|
+
class NotificationModule {
|
|
1122
|
+
static forRoot(config = {}) {
|
|
1123
|
+
return {
|
|
1124
|
+
ngModule: NotificationModule,
|
|
1125
|
+
providers: [
|
|
1126
|
+
{
|
|
1127
|
+
provide: NOTIFICATION_CONFIG,
|
|
1128
|
+
useValue: NotificationConfigFactory.create(config),
|
|
1129
|
+
},
|
|
1130
|
+
],
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
NotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1135
|
+
NotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, declarations: [NotificationComponent,
|
|
1136
|
+
NotificationTitleComponent,
|
|
1137
|
+
NotificationMessageComponent,
|
|
1138
|
+
NotificationFooterComponent,
|
|
1139
|
+
NotificationContainerComponent], imports: [CommonModule], exports: [NotificationComponent,
|
|
1140
|
+
NotificationTitleComponent,
|
|
1141
|
+
NotificationMessageComponent,
|
|
1142
|
+
NotificationFooterComponent] });
|
|
1143
|
+
NotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, providers: [
|
|
1144
|
+
NotificationService,
|
|
1145
|
+
{
|
|
1146
|
+
provide: NOTIFICATION_CONFIG,
|
|
1147
|
+
useValue: NotificationConfigFactory.create(),
|
|
1148
|
+
},
|
|
1149
|
+
], imports: [CommonModule] });
|
|
1150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NotificationModule, decorators: [{
|
|
1151
|
+
type: NgModule,
|
|
1152
|
+
args: [{
|
|
1153
|
+
imports: [CommonModule],
|
|
1154
|
+
declarations: [
|
|
1155
|
+
NotificationComponent,
|
|
1156
|
+
NotificationTitleComponent,
|
|
1157
|
+
NotificationMessageComponent,
|
|
1158
|
+
NotificationFooterComponent,
|
|
1159
|
+
NotificationContainerComponent,
|
|
1160
|
+
],
|
|
1161
|
+
providers: [
|
|
1162
|
+
NotificationService,
|
|
1163
|
+
{
|
|
1164
|
+
provide: NOTIFICATION_CONFIG,
|
|
1165
|
+
useValue: NotificationConfigFactory.create(),
|
|
1166
|
+
},
|
|
1167
|
+
],
|
|
1168
|
+
exports: [
|
|
1169
|
+
NotificationComponent,
|
|
1170
|
+
NotificationTitleComponent,
|
|
1171
|
+
NotificationMessageComponent,
|
|
1172
|
+
NotificationFooterComponent,
|
|
1173
|
+
],
|
|
1174
|
+
}]
|
|
1175
|
+
}] });
|
|
1176
|
+
|
|
1177
|
+
var SELECT_SIZE;
|
|
1178
|
+
(function (SELECT_SIZE) {
|
|
1179
|
+
SELECT_SIZE["S"] = "s";
|
|
1180
|
+
SELECT_SIZE["M"] = "m";
|
|
1181
|
+
})(SELECT_SIZE || (SELECT_SIZE = {}));
|
|
1182
|
+
|
|
1183
|
+
const PAGINATION_FIRST_PAGE = 1;
|
|
1184
|
+
const PAGINATION_MIN_NUMBER_OF_PAGES = 1;
|
|
1185
|
+
const PAGINATION_PAGE_STEP = 1;
|
|
1186
|
+
|
|
1187
|
+
class SelectComponent {
|
|
1188
|
+
constructor() {
|
|
1189
|
+
this.size = 's';
|
|
1190
|
+
}
|
|
1191
|
+
get hostCssClasses() {
|
|
1192
|
+
const staticClasses = 'mc-select';
|
|
1193
|
+
const sizeCssClass = `mc-select--${this.size}`;
|
|
1194
|
+
const dynamicClasses = `${sizeCssClass}`;
|
|
1195
|
+
return `${staticClasses} ${dynamicClasses}`;
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
SelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1199
|
+
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)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectComponent, decorators: [{
|
|
1201
|
+
type: Component,
|
|
1202
|
+
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)}}\n"] }]
|
|
1203
|
+
}], propDecorators: { size: [{
|
|
1204
|
+
type: Input
|
|
1205
|
+
}], hostCssClasses: [{
|
|
1206
|
+
type: HostBinding,
|
|
1207
|
+
args: ['class']
|
|
1208
|
+
}] } });
|
|
1209
|
+
|
|
1210
|
+
const PAGINATION_CONTROL_VALUE_ACCESSOR = {
|
|
1211
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1212
|
+
useExisting: forwardRef(() => PaginationComponent),
|
|
1213
|
+
multi: true,
|
|
1214
|
+
};
|
|
1215
|
+
class PaginationComponent {
|
|
1216
|
+
constructor(globalEventService, cd) {
|
|
1217
|
+
this.globalEventService = globalEventService;
|
|
1218
|
+
this.cd = cd;
|
|
1219
|
+
this.numberOfPages = PAGINATION_MIN_NUMBER_OF_PAGES;
|
|
1220
|
+
this.light = false;
|
|
1221
|
+
this.pageLabel = 'Page';
|
|
1222
|
+
this.pageOfLabel = 'of';
|
|
1223
|
+
this.pageTitleMask = (page, numberOfPages) => `${this.pageLabel} ${page} ${this.pageOfLabel} ${numberOfPages}`;
|
|
1224
|
+
this.onChange = () => { };
|
|
1225
|
+
this.onTouch = () => { };
|
|
1226
|
+
this.currentPage = PAGINATION_FIRST_PAGE;
|
|
1227
|
+
this.pages = [];
|
|
1228
|
+
this.smallResolution = 1024;
|
|
1229
|
+
const isSmall = this.displayIsSmall().pipe(shareReplay({ refCount: true, bufferSize: 1 }));
|
|
1230
|
+
this.initializeIcons(isSmall);
|
|
1231
|
+
this.selectSize = isSmall.pipe(map((isSmall) => this.chooseSelectSize(isSmall)));
|
|
1232
|
+
}
|
|
1233
|
+
ngAfterViewInit() {
|
|
1234
|
+
this.reinitializeNumberOfPagesAtInvalidValue();
|
|
1235
|
+
if (this.viewSelect) {
|
|
1236
|
+
this.pages = this.initializePages(this.numberOfPages);
|
|
1237
|
+
}
|
|
1238
|
+
this.reinitializeCurrentPageAtOverflow();
|
|
1239
|
+
this.cd.detectChanges();
|
|
1240
|
+
}
|
|
1241
|
+
ngOnChanges({ numberOfPages, pageTitleMask }) {
|
|
1242
|
+
if (this.needRenderPages(this.viewSelect, numberOfPages === null || numberOfPages === void 0 ? void 0 : numberOfPages.currentValue, numberOfPages === null || numberOfPages === void 0 ? void 0 : numberOfPages.previousValue, pageTitleMask === null || pageTitleMask === void 0 ? void 0 : pageTitleMask.currentValue, pageTitleMask === null || pageTitleMask === void 0 ? void 0 : pageTitleMask.previousValue)) {
|
|
1243
|
+
this.reinitializeNumberOfPagesAtInvalidValue();
|
|
1244
|
+
this.pages = this.initializePages(this.numberOfPages);
|
|
1245
|
+
}
|
|
1246
|
+
this.reinitializeCurrentPageAtOverflow();
|
|
1247
|
+
}
|
|
1248
|
+
get viewSelect() {
|
|
1249
|
+
return !this.light;
|
|
1250
|
+
}
|
|
1251
|
+
get isFirstPage() {
|
|
1252
|
+
return this.currentPage <= PAGINATION_FIRST_PAGE;
|
|
1253
|
+
}
|
|
1254
|
+
get isLastPage() {
|
|
1255
|
+
return this.currentPage >= this.numberOfPages;
|
|
1256
|
+
}
|
|
1257
|
+
get disabledSelect() {
|
|
1258
|
+
return this.numberOfPages <= PAGINATION_MIN_NUMBER_OF_PAGES;
|
|
1259
|
+
}
|
|
1260
|
+
writeValue(value) {
|
|
1261
|
+
if (!value || value === this.currentPage || value > this.numberOfPages)
|
|
1262
|
+
return;
|
|
1263
|
+
this.currentPage = value;
|
|
1264
|
+
this.cd.markForCheck();
|
|
1265
|
+
this.onChange(value);
|
|
1266
|
+
}
|
|
1267
|
+
registerOnChange(fn) {
|
|
1268
|
+
this.onChange = fn;
|
|
1269
|
+
}
|
|
1270
|
+
registerOnTouched(fn) {
|
|
1271
|
+
this.onTouch = fn;
|
|
1272
|
+
}
|
|
1273
|
+
nextPage() {
|
|
1274
|
+
this.writeValue(this.currentPage + PAGINATION_PAGE_STEP);
|
|
1275
|
+
}
|
|
1276
|
+
previousPage() {
|
|
1277
|
+
this.writeValue(this.currentPage - PAGINATION_PAGE_STEP);
|
|
1278
|
+
}
|
|
1279
|
+
compareWithPages(page, currentPage) {
|
|
1280
|
+
return page === currentPage;
|
|
1281
|
+
}
|
|
1282
|
+
initializePages(numberOfPages) {
|
|
1283
|
+
return new Array(numberOfPages).fill(null).map((_, index) => ({
|
|
1284
|
+
title: this.pageTitleMask(index + 1, numberOfPages),
|
|
1285
|
+
value: index + 1,
|
|
1286
|
+
}));
|
|
1287
|
+
}
|
|
1288
|
+
initializeIcons(isSmall) {
|
|
1289
|
+
const iconSize = isSmall.pipe(map((isSmall) => this.chooseIconSize(isSmall)), shareReplay({ refCount: true, bufferSize: 1 }));
|
|
1290
|
+
this.leftIconName = iconSize.pipe(map((iconSize) => `Navigation_Arrow_Arrow--Left_${iconSize}`));
|
|
1291
|
+
this.rightIconName = iconSize.pipe(map((iconSize) => `Navigation_Arrow_Arrow--Right_${iconSize}`));
|
|
1292
|
+
}
|
|
1293
|
+
displayIsSmall() {
|
|
1294
|
+
const resizeEvent = this.globalEventService.getWindowEvent('resize').pipe(debounceTime(100));
|
|
1295
|
+
const displayWidth = resizeEvent.pipe(map((event) => { var _a; return (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.innerWidth; }), startWith(this.globalEventService.window.innerWidth));
|
|
1296
|
+
return displayWidth.pipe(map((width) => width < this.smallResolution));
|
|
1297
|
+
}
|
|
1298
|
+
reinitializeCurrentPageAtOverflow() {
|
|
1299
|
+
if (this.numberOfPages < this.currentPage) {
|
|
1300
|
+
this.writeValue(PAGINATION_FIRST_PAGE);
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
reinitializeNumberOfPagesAtInvalidValue() {
|
|
1304
|
+
if (!this.numberOfPages || this.numberOfPages < PAGINATION_MIN_NUMBER_OF_PAGES) {
|
|
1305
|
+
this.numberOfPages = PAGINATION_MIN_NUMBER_OF_PAGES;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
chooseIconSize(isSmall) {
|
|
1309
|
+
return isSmall ? IconSize.L : IconSize.M;
|
|
1310
|
+
}
|
|
1311
|
+
chooseSelectSize(isSmall) {
|
|
1312
|
+
return isSmall ? SELECT_SIZE.M : SELECT_SIZE.S;
|
|
1313
|
+
}
|
|
1314
|
+
needRenderPages(viewSelect, numberOfPagesPrevious, numberOfPagesCurrent, pageTitleMaskPrevious, pageTitleMaskCurrent) {
|
|
1315
|
+
const numberOfPageHasChanges = numberOfPagesPrevious !== numberOfPagesCurrent;
|
|
1316
|
+
const maskHasChanges = pageTitleMaskPrevious !== pageTitleMaskCurrent;
|
|
1317
|
+
return viewSelect && (numberOfPageHasChanges || maskHasChanges);
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
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 });
|
|
1321
|
+
PaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PaginationComponent, selector: "moz-pagination", inputs: { numberOfPages: "numberOfPages", light: "light", pageLabel: "pageLabel", pageOfLabel: "pageOfLabel", 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 [size]=\"(selectSize | async)!\"\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 [size]=\"(selectSize | async)!\"\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: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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 });
|
|
1322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
1323
|
+
type: Component,
|
|
1324
|
+
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 [size]=\"(selectSize | async)!\"\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 [size]=\"(selectSize | async)!\"\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"] }]
|
|
1325
|
+
}], ctorParameters: function () { return [{ type: GlobalEventsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numberOfPages: [{
|
|
1326
|
+
type: Input
|
|
1327
|
+
}], light: [{
|
|
1328
|
+
type: Input
|
|
1329
|
+
}], pageLabel: [{
|
|
1330
|
+
type: Input
|
|
1331
|
+
}], pageOfLabel: [{
|
|
1332
|
+
type: Input
|
|
1333
|
+
}], pageTitleMask: [{
|
|
1334
|
+
type: Input
|
|
1335
|
+
}] } });
|
|
1336
|
+
|
|
1337
|
+
class SelectModule {
|
|
1338
|
+
}
|
|
1339
|
+
SelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1340
|
+
SelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, declarations: [SelectComponent], imports: [CommonModule], exports: [SelectComponent] });
|
|
1341
|
+
SelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, imports: [CommonModule] });
|
|
1342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SelectModule, decorators: [{
|
|
1343
|
+
type: NgModule,
|
|
1344
|
+
args: [{
|
|
1345
|
+
imports: [CommonModule],
|
|
1346
|
+
declarations: [SelectComponent],
|
|
1347
|
+
exports: [SelectComponent],
|
|
1348
|
+
}]
|
|
1349
|
+
}] });
|
|
1350
|
+
|
|
1351
|
+
class PaginationModule {
|
|
1352
|
+
}
|
|
1353
|
+
PaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1354
|
+
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] });
|
|
1355
|
+
PaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, imports: [CommonModule, FormsModule, ButtonModule, SelectModule, IconModule, GlobalEventsModule] });
|
|
1356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationModule, decorators: [{
|
|
1357
|
+
type: NgModule,
|
|
1358
|
+
args: [{
|
|
1359
|
+
imports: [CommonModule, FormsModule, ButtonModule, SelectModule, IconModule, GlobalEventsModule],
|
|
1360
|
+
declarations: [PaginationComponent],
|
|
1361
|
+
exports: [PaginationComponent],
|
|
1362
|
+
}]
|
|
1363
|
+
}] });
|
|
1364
|
+
|
|
1365
|
+
class ProgressBarComponent {
|
|
1366
|
+
constructor() {
|
|
1367
|
+
this.size = 'm';
|
|
1368
|
+
this.theme = 'default';
|
|
1369
|
+
this.percent = 0;
|
|
1370
|
+
this.text = '';
|
|
1371
|
+
}
|
|
1372
|
+
get indicatorWidth() {
|
|
1373
|
+
return { width: `${this.percent}%` };
|
|
1374
|
+
}
|
|
1375
|
+
get hostCssClasses() {
|
|
1376
|
+
const sizeClass = `mc-progressbar--${this.size}`;
|
|
1377
|
+
const themeClass = `mc-progressbar--${this.theme}`;
|
|
1378
|
+
const textClass = !!this.text ? `mc-progressbar--percent` : '';
|
|
1379
|
+
return `mc-progressbar ${sizeClass} ${themeClass} ${textClass}`;
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
ProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1383
|
+
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 });
|
|
1384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
1385
|
+
type: Component,
|
|
1386
|
+
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"] }]
|
|
1387
|
+
}], propDecorators: { size: [{
|
|
1388
|
+
type: Input
|
|
1389
|
+
}], theme: [{
|
|
1390
|
+
type: Input
|
|
1391
|
+
}], percent: [{
|
|
1392
|
+
type: Input
|
|
1393
|
+
}], text: [{
|
|
1394
|
+
type: Input
|
|
1395
|
+
}], hostCssClasses: [{
|
|
1396
|
+
type: HostBinding,
|
|
1397
|
+
args: ['class']
|
|
1398
|
+
}] } });
|
|
1399
|
+
|
|
1400
|
+
class ProgressBarModule {
|
|
1401
|
+
}
|
|
1402
|
+
ProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1403
|
+
ProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, declarations: [ProgressBarComponent], imports: [CommonModule], exports: [ProgressBarComponent] });
|
|
1404
|
+
ProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, imports: [CommonModule] });
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ProgressBarModule, decorators: [{
|
|
1406
|
+
type: NgModule,
|
|
1407
|
+
args: [{
|
|
1408
|
+
imports: [CommonModule],
|
|
1409
|
+
declarations: [ProgressBarComponent],
|
|
1410
|
+
exports: [ProgressBarComponent],
|
|
1411
|
+
}]
|
|
1412
|
+
}] });
|
|
1413
|
+
|
|
1414
|
+
class StepComponent {
|
|
1415
|
+
get validated() {
|
|
1416
|
+
return this.state === 'validated';
|
|
1417
|
+
}
|
|
1418
|
+
get isCurrent() {
|
|
1419
|
+
return this.state === 'current';
|
|
1420
|
+
}
|
|
1421
|
+
get indicator() {
|
|
1422
|
+
return this.index + 1;
|
|
1423
|
+
}
|
|
1424
|
+
get index() {
|
|
1425
|
+
return this._index;
|
|
1426
|
+
}
|
|
1427
|
+
set index(newIndex) {
|
|
1428
|
+
this._index = newIndex;
|
|
1429
|
+
this.cd.markForCheck();
|
|
1430
|
+
}
|
|
1431
|
+
get state() {
|
|
1432
|
+
return this._state;
|
|
1433
|
+
}
|
|
1434
|
+
set state(newState) {
|
|
1435
|
+
this._state = newState;
|
|
1436
|
+
this.cd.markForCheck();
|
|
1437
|
+
}
|
|
1438
|
+
constructor(cd) {
|
|
1439
|
+
this.cd = cd;
|
|
1440
|
+
this.title = '';
|
|
1441
|
+
this._state = '';
|
|
1442
|
+
this._index = 0;
|
|
1443
|
+
}
|
|
1444
|
+
get hostCssClasses() {
|
|
1445
|
+
const stateClass = this.state ? `mc-stepper__item--${this.state}` : '';
|
|
1446
|
+
return `mc-stepper__item ${stateClass}`;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
StepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1450
|
+
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 });
|
|
1451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepComponent, decorators: [{
|
|
1452
|
+
type: Component,
|
|
1453
|
+
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"] }]
|
|
1454
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { title: [{
|
|
1455
|
+
type: Input
|
|
1456
|
+
}], hostCssClasses: [{
|
|
1457
|
+
type: HostBinding,
|
|
1458
|
+
args: ['class']
|
|
1459
|
+
}] } });
|
|
1460
|
+
|
|
1461
|
+
class StepperComponent {
|
|
1462
|
+
constructor() {
|
|
1463
|
+
this.selectStepIndex = 0;
|
|
1464
|
+
this.viewCompact = false;
|
|
1465
|
+
}
|
|
1466
|
+
ngAfterViewInit() {
|
|
1467
|
+
if (!this.steps)
|
|
1468
|
+
return;
|
|
1469
|
+
this.initStepIndex(this.steps);
|
|
1470
|
+
this.selectStep(this.steps, this.selectStepIndex);
|
|
1471
|
+
this.initCssVariablesForSteps(this.stepElements);
|
|
1472
|
+
}
|
|
1473
|
+
ngOnChanges(changes) {
|
|
1474
|
+
this.updateSelectStepAtChanges(changes);
|
|
1475
|
+
}
|
|
1476
|
+
get hostCssClasses() {
|
|
1477
|
+
const viewCompactClass = this.viewCompact ? `mc-stepper--compact` : '';
|
|
1478
|
+
return `mc-stepper ${viewCompactClass}`;
|
|
1479
|
+
}
|
|
1480
|
+
initStepIndex(steps) {
|
|
1481
|
+
steps.forEach((step, index) => (step.index = index));
|
|
1482
|
+
}
|
|
1483
|
+
initCssVariablesForSteps(stepElements) {
|
|
1484
|
+
stepElements.forEach(this.initCssVariablesForStep);
|
|
1485
|
+
}
|
|
1486
|
+
initCssVariablesForStep(elementRef, currentIndex, elementRefs) {
|
|
1487
|
+
elementRef.nativeElement.style = `--steps: ${elementRefs.length}; --current: ${currentIndex + 1}`;
|
|
1488
|
+
}
|
|
1489
|
+
selectStep(steps, selectStepIndex) {
|
|
1490
|
+
steps.forEach((step) => this.updateStateStep(step, selectStepIndex));
|
|
1491
|
+
}
|
|
1492
|
+
updateStateStep(step, selectStepIndex) {
|
|
1493
|
+
const oldState = step.state;
|
|
1494
|
+
const newState = this.stateDefinitionForStep(step.index, selectStepIndex);
|
|
1495
|
+
const hasChanges = oldState !== newState;
|
|
1496
|
+
if (!hasChanges)
|
|
1497
|
+
return;
|
|
1498
|
+
step.state = newState;
|
|
1499
|
+
}
|
|
1500
|
+
stateDefinitionForStep(stepIndex, selectStepIndex) {
|
|
1501
|
+
const isCurrentStep = stepIndex === selectStepIndex;
|
|
1502
|
+
const isValidatedStep = stepIndex < selectStepIndex;
|
|
1503
|
+
if (isCurrentStep)
|
|
1504
|
+
return 'current';
|
|
1505
|
+
if (isValidatedStep)
|
|
1506
|
+
return 'validated';
|
|
1507
|
+
return '';
|
|
1508
|
+
}
|
|
1509
|
+
updateSelectStepAtChanges({ selectStepIndex }) {
|
|
1510
|
+
if (!this.steps ||
|
|
1511
|
+
!selectStepIndex ||
|
|
1512
|
+
selectStepIndex.currentValue === selectStepIndex.previousValue)
|
|
1513
|
+
return;
|
|
1514
|
+
this.selectStep(this.steps, selectStepIndex.currentValue);
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1518
|
+
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 });
|
|
1519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperComponent, decorators: [{
|
|
1520
|
+
type: Component,
|
|
1521
|
+
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"] }]
|
|
1522
|
+
}], propDecorators: { selectStepIndex: [{
|
|
1523
|
+
type: Input
|
|
1524
|
+
}], viewCompact: [{
|
|
1525
|
+
type: Input
|
|
1526
|
+
}], steps: [{
|
|
1527
|
+
type: ContentChildren,
|
|
1528
|
+
args: [StepComponent]
|
|
1529
|
+
}], stepElements: [{
|
|
1530
|
+
type: ContentChildren,
|
|
1531
|
+
args: [StepComponent, { read: ElementRef }]
|
|
1532
|
+
}], hostCssClasses: [{
|
|
1533
|
+
type: HostBinding,
|
|
1534
|
+
args: ['class']
|
|
1535
|
+
}] } });
|
|
1536
|
+
|
|
1537
|
+
class StepperModule {
|
|
1538
|
+
}
|
|
1539
|
+
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1540
|
+
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] });
|
|
1541
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, imports: [CommonModule, IconModule] });
|
|
1542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StepperModule, decorators: [{
|
|
1543
|
+
type: NgModule,
|
|
1544
|
+
args: [{
|
|
1545
|
+
imports: [CommonModule, IconModule],
|
|
1546
|
+
declarations: [StepperComponent, StepComponent],
|
|
1547
|
+
exports: [StepperComponent, StepComponent],
|
|
1548
|
+
}]
|
|
1549
|
+
}] });
|
|
1550
|
+
|
|
1551
|
+
class TabComponent {
|
|
1552
|
+
constructor(routerLinkActive, routerLink) {
|
|
1553
|
+
this.routerLinkActive = routerLinkActive;
|
|
1554
|
+
this.routerLink = routerLink;
|
|
1555
|
+
this.index = 0;
|
|
1556
|
+
this.disabled = false;
|
|
1557
|
+
this.data = null;
|
|
1558
|
+
this.selected = false;
|
|
1559
|
+
}
|
|
1560
|
+
get isAvailableTabForSelection() {
|
|
1561
|
+
return !this.selected && !this.disabled;
|
|
1562
|
+
}
|
|
1563
|
+
get isActiveTab() {
|
|
1564
|
+
var _a;
|
|
1565
|
+
return !!((_a = this.routerLinkActive) === null || _a === void 0 ? void 0 : _a.isActive);
|
|
1566
|
+
}
|
|
1567
|
+
get link() {
|
|
1568
|
+
var _a;
|
|
1569
|
+
return ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.href) || null;
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
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 });
|
|
1573
|
+
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:#4d4d4d}.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--selected:hover,.mc-tabs__element--selected:hover,.mc-tabs__link--selected:active,.mc-tabs__element--selected:active{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 });
|
|
1574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabComponent, decorators: [{
|
|
1575
|
+
type: Component,
|
|
1576
|
+
args: [{ selector: `a[moz-tab],span[moz-tab],div[moz-tab]`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1577
|
+
'[class.mc-tabs__item]': 'true',
|
|
1578
|
+
'[class.mc-tabs__link]': 'true',
|
|
1579
|
+
'[class.mc-tabs__link--outline]': 'true',
|
|
1580
|
+
'[class.mc-tabs__link--selected]': 'selected',
|
|
1581
|
+
'[class.mc-tabs__link--disabled]': 'disabled',
|
|
1582
|
+
}, 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:#4d4d4d}.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--selected:hover,.mc-tabs__element--selected:hover,.mc-tabs__link--selected:active,.mc-tabs__element--selected:active{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"] }]
|
|
1583
|
+
}], ctorParameters: function () {
|
|
1584
|
+
return [{ type: i1$2.RouterLinkActive, decorators: [{
|
|
1585
|
+
type: Optional
|
|
1586
|
+
}, {
|
|
1587
|
+
type: Inject,
|
|
1588
|
+
args: [RouterLinkActive]
|
|
1589
|
+
}] }, { type: i1$2.RouterLinkWithHref, decorators: [{
|
|
1590
|
+
type: Optional
|
|
1591
|
+
}, {
|
|
1592
|
+
type: Inject,
|
|
1593
|
+
args: [RouterLinkWithHref]
|
|
1594
|
+
}] }];
|
|
1595
|
+
}, propDecorators: { index: [{
|
|
1596
|
+
type: HostBinding,
|
|
1597
|
+
args: ['attr.tab-index']
|
|
1598
|
+
}], disabled: [{
|
|
1599
|
+
type: Input
|
|
1600
|
+
}], data: [{
|
|
1601
|
+
type: Input
|
|
1602
|
+
}] } });
|
|
1603
|
+
|
|
1604
|
+
const TAB_SELECTORS = 'a,div,span';
|
|
1605
|
+
const TABS_SELECTOR = 'moz-tabs';
|
|
1606
|
+
|
|
1607
|
+
class TabsComponent {
|
|
1608
|
+
constructor(elementRef, cd, router) {
|
|
1609
|
+
this.elementRef = elementRef;
|
|
1610
|
+
this.cd = cd;
|
|
1611
|
+
this.router = router;
|
|
1612
|
+
this.fullWidth = false;
|
|
1613
|
+
this.fullWidthCenter = false;
|
|
1614
|
+
this.hideShadow = false;
|
|
1615
|
+
this.selectTabIndex = null;
|
|
1616
|
+
this.selectedTabChange = new EventEmitter();
|
|
1617
|
+
this.afterViewInit = new Subject();
|
|
1618
|
+
this.viewDestroyed = new Subject();
|
|
1619
|
+
this.initBehaviorSelectForTab();
|
|
1620
|
+
}
|
|
1621
|
+
get viewFullWidth() {
|
|
1622
|
+
return this.fullWidth && !this.fullWidthCenter;
|
|
1623
|
+
}
|
|
1624
|
+
ngAfterViewInit() {
|
|
1625
|
+
this.afterViewInit.next(true);
|
|
1626
|
+
}
|
|
1627
|
+
ngOnChanges({ selectTabIndex }) {
|
|
1628
|
+
if (selectTabIndex && typeof selectTabIndex.currentValue === 'number') {
|
|
1629
|
+
this.selectTabAtChanges(selectTabIndex.currentValue);
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
ngOnDestroy() {
|
|
1633
|
+
this.viewDestroyed.next(true);
|
|
1634
|
+
this.viewDestroyed.complete();
|
|
1635
|
+
}
|
|
1636
|
+
initBehaviorSelectForTab() {
|
|
1637
|
+
const afterFullNavigateAndRender = this.getAfterFullNavigateAndRenderEvent();
|
|
1638
|
+
const tabsAfterNavigate = afterFullNavigateAndRender.pipe(map(() => this.tabs), filter(Boolean));
|
|
1639
|
+
tabsAfterNavigate
|
|
1640
|
+
.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))
|
|
1641
|
+
.subscribe();
|
|
1642
|
+
}
|
|
1643
|
+
initTabIndex(tabs) {
|
|
1644
|
+
tabs.forEach((tab, index) => (tab.index = index));
|
|
1645
|
+
this.cd.markForCheck();
|
|
1646
|
+
}
|
|
1647
|
+
initFirstSelectionTab(tabs) {
|
|
1648
|
+
const activeTab = tabs.find((tab) => tab.isActiveTab);
|
|
1649
|
+
const selectTabByIndex = typeof this.selectTabIndex === 'number' && tabs.get(this.selectTabIndex);
|
|
1650
|
+
const firstSelectedTab = selectTabByIndex || activeTab || tabs.first;
|
|
1651
|
+
if (firstSelectedTab) {
|
|
1652
|
+
firstSelectedTab.selected = true;
|
|
1653
|
+
this.tryNavigateToTab(firstSelectedTab);
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
tryNavigateToTab(tab) {
|
|
1657
|
+
var _a;
|
|
1658
|
+
if (!tab.link || tab.isActiveTab)
|
|
1659
|
+
return;
|
|
1660
|
+
(_a = this.router) === null || _a === void 0 ? void 0 : _a.navigate([tab.link]);
|
|
1661
|
+
}
|
|
1662
|
+
selectTabAtChanges(selectTabIndex) {
|
|
1663
|
+
var _a;
|
|
1664
|
+
const newSelectTab = (_a = this.tabs) === null || _a === void 0 ? void 0 : _a.get(selectTabIndex);
|
|
1665
|
+
if (!newSelectTab || !this.tabs)
|
|
1666
|
+
return;
|
|
1667
|
+
this.selectTab(this.tabs, newSelectTab);
|
|
1668
|
+
this.tryNavigateToTab(newSelectTab);
|
|
1669
|
+
}
|
|
1670
|
+
getTabSelectionEvents(tabs) {
|
|
1671
|
+
const indexClickedTab = this.getIndexClickedTab();
|
|
1672
|
+
const clickedTab = indexClickedTab.pipe(map((tabIndex) => tabs.get(+tabIndex)));
|
|
1673
|
+
return clickedTab.pipe(filter(Boolean), filter((tab) => tab.isAvailableTabForSelection));
|
|
1674
|
+
}
|
|
1675
|
+
getTabActiveEvents(tabs) {
|
|
1676
|
+
const tabWithLink = tabs.filter(({ routerLinkActive }) => !!routerLinkActive);
|
|
1677
|
+
const tabsActiveEvent = tabWithLink.map((tab) => {
|
|
1678
|
+
return tab.routerLinkActive.isActiveChange.pipe(filter(Boolean), map(() => tab));
|
|
1679
|
+
});
|
|
1680
|
+
return merge(...tabsActiveEvent);
|
|
1681
|
+
}
|
|
1682
|
+
getAfterFullNavigateAndRenderEvent() {
|
|
1683
|
+
var _a;
|
|
1684
|
+
const eventNavigationEnd = ((_a = this.router) === null || _a === void 0 ? void 0 : _a.events.pipe(filter((event) => event instanceof NavigationEnd), first())) || of(true);
|
|
1685
|
+
return combineLatest([eventNavigationEnd, this.afterViewInit]).pipe(delay$1(0));
|
|
1686
|
+
}
|
|
1687
|
+
getIndexClickedTab() {
|
|
1688
|
+
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')));
|
|
1689
|
+
}
|
|
1690
|
+
getAllTabEvents(tabs) {
|
|
1691
|
+
return merge(this.getTabSelectionEvents(tabs), this.getTabActiveEvents(tabs));
|
|
1692
|
+
}
|
|
1693
|
+
filterTabsElement({ nodeName }) {
|
|
1694
|
+
return nodeName.toLowerCase() !== TABS_SELECTOR;
|
|
1695
|
+
}
|
|
1696
|
+
selectTab(tabs, clickedTab) {
|
|
1697
|
+
tabs.forEach((tab) => (tab.selected = tab === clickedTab));
|
|
1698
|
+
this.selectedTabChange.emit(clickedTab);
|
|
1699
|
+
this.cd.markForCheck();
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
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 });
|
|
1703
|
+
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:#4d4d4d}.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--selected:hover,.mc-tabs__element--selected:hover,.mc-tabs__link--selected:active,.mc-tabs__element--selected:active{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 });
|
|
1704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsComponent, decorators: [{
|
|
1705
|
+
type: Component,
|
|
1706
|
+
args: [{ selector: TABS_SELECTOR, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
1707
|
+
'[class.mc-tabs]': 'true',
|
|
1708
|
+
'[class.mc-tabs--full]': 'viewFullWidth',
|
|
1709
|
+
'[class.mc-tabs--full-centered]': 'fullWidthCenter',
|
|
1710
|
+
'[class.mc-tab--hide-shadow]': 'hideShadow',
|
|
1711
|
+
}, 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:#4d4d4d}.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--selected:hover,.mc-tabs__element--selected:hover,.mc-tabs__link--selected:active,.mc-tabs__element--selected:active{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"] }]
|
|
1712
|
+
}], ctorParameters: function () {
|
|
1713
|
+
return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$2.Router, decorators: [{
|
|
1714
|
+
type: Host
|
|
1715
|
+
}, {
|
|
1716
|
+
type: Optional
|
|
1717
|
+
}] }];
|
|
1718
|
+
}, propDecorators: { fullWidth: [{
|
|
1719
|
+
type: Input
|
|
1720
|
+
}], fullWidthCenter: [{
|
|
1721
|
+
type: Input
|
|
1722
|
+
}], hideShadow: [{
|
|
1723
|
+
type: Input
|
|
1724
|
+
}], selectTabIndex: [{
|
|
1725
|
+
type: Input
|
|
1726
|
+
}], selectedTabChange: [{
|
|
1727
|
+
type: Output
|
|
1728
|
+
}], tabs: [{
|
|
1729
|
+
type: ContentChildren,
|
|
1730
|
+
args: [TabComponent]
|
|
1731
|
+
}] } });
|
|
1732
|
+
|
|
1733
|
+
class TabsModule {
|
|
1734
|
+
}
|
|
1735
|
+
TabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1736
|
+
TabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, declarations: [TabsComponent, TabComponent], imports: [CommonModule], exports: [TabsComponent, TabComponent] });
|
|
1737
|
+
TabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, imports: [CommonModule] });
|
|
1738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TabsModule, decorators: [{
|
|
1739
|
+
type: NgModule,
|
|
1740
|
+
args: [{
|
|
1741
|
+
declarations: [TabsComponent, TabComponent],
|
|
1742
|
+
imports: [CommonModule],
|
|
1743
|
+
exports: [TabsComponent, TabComponent],
|
|
1744
|
+
}]
|
|
1745
|
+
}] });
|
|
1746
|
+
|
|
1747
|
+
class TagComponent {
|
|
1748
|
+
constructor(elementRef) {
|
|
1749
|
+
this.elementRef = elementRef;
|
|
1750
|
+
this.size = 'm';
|
|
1751
|
+
this.select = false;
|
|
1752
|
+
this.selectChange = new EventEmitter();
|
|
1753
|
+
this.clickOnRemove = new EventEmitter();
|
|
1754
|
+
this.type = this.getDefaultType();
|
|
1755
|
+
}
|
|
1756
|
+
get hostCssClasses() {
|
|
1757
|
+
return `${this.tagCssClass} ${this.sizeCssClass}`;
|
|
1758
|
+
}
|
|
1759
|
+
get labelCssClass() {
|
|
1760
|
+
return `${this.tagCssClass}__label`;
|
|
1761
|
+
}
|
|
1762
|
+
get tagName() {
|
|
1763
|
+
var _a;
|
|
1764
|
+
return (_a = this.elementRef) === null || _a === void 0 ? void 0 : _a.nativeElement.tagName.toLowerCase();
|
|
1765
|
+
}
|
|
1766
|
+
get hostIsLink() {
|
|
1767
|
+
return this.tagName === 'a';
|
|
1768
|
+
}
|
|
1769
|
+
get tagCssClass() {
|
|
1770
|
+
return `mc-tag-${this.type}`;
|
|
1771
|
+
}
|
|
1772
|
+
get sizeCssClass() {
|
|
1773
|
+
return `${this.tagCssClass}--${this.size}`;
|
|
1774
|
+
}
|
|
1775
|
+
getDefaultType() {
|
|
1776
|
+
return this.hostIsLink ? 'link' : 'text';
|
|
1777
|
+
}
|
|
1778
|
+
emitRemove() {
|
|
1779
|
+
this.clickOnRemove.emit();
|
|
1780
|
+
}
|
|
1781
|
+
emitSelectChanges($event) {
|
|
1782
|
+
this.selectChange.emit($event);
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1786
|
+
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}\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: i2.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagComponent, decorators: [{
|
|
1788
|
+
type: Component,
|
|
1789
|
+
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}\n"] }]
|
|
1790
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { type: [{
|
|
1791
|
+
type: Input
|
|
1792
|
+
}], size: [{
|
|
1793
|
+
type: Input
|
|
1794
|
+
}], select: [{
|
|
1795
|
+
type: Input
|
|
1796
|
+
}], selectChange: [{
|
|
1797
|
+
type: Output
|
|
1798
|
+
}], clickOnRemove: [{
|
|
1799
|
+
type: Output
|
|
1800
|
+
}], hostCssClasses: [{
|
|
1801
|
+
type: HostBinding,
|
|
1802
|
+
args: ['class']
|
|
1803
|
+
}] } });
|
|
1804
|
+
|
|
1805
|
+
class TagModule {
|
|
1806
|
+
}
|
|
1807
|
+
TagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1808
|
+
TagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TagModule, declarations: [TagComponent], imports: [CommonModule, FormsModule], exports: [TagComponent] });
|
|
1809
|
+
TagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagModule, imports: [CommonModule, FormsModule] });
|
|
1810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagModule, decorators: [{
|
|
1811
|
+
type: NgModule,
|
|
1812
|
+
args: [{
|
|
1813
|
+
imports: [CommonModule, FormsModule],
|
|
1814
|
+
declarations: [TagComponent],
|
|
1815
|
+
exports: [TagComponent],
|
|
1816
|
+
}]
|
|
1817
|
+
}] });
|
|
1818
|
+
|
|
1819
|
+
class TextAreaComponent {
|
|
1820
|
+
constructor() {
|
|
1821
|
+
this._invalid = false;
|
|
1822
|
+
this._valid = false;
|
|
1823
|
+
}
|
|
1824
|
+
get invalid() {
|
|
1825
|
+
return this._invalid || false;
|
|
1826
|
+
}
|
|
1827
|
+
get valid() {
|
|
1828
|
+
const valid = this._valid || false;
|
|
1829
|
+
return !this.invalid && valid;
|
|
1830
|
+
}
|
|
1831
|
+
get hostCssClasses() {
|
|
1832
|
+
const staticClasses = 'mc-textarea';
|
|
1833
|
+
const validClass = this.valid ? 'is-valid' : '';
|
|
1834
|
+
const invalidClass = this.invalid ? 'is-invalid' : '';
|
|
1835
|
+
const dynamicClasses = `${validClass} ${invalidClass}`;
|
|
1836
|
+
return `${staticClasses} ${dynamicClasses}`;
|
|
1837
|
+
}
|
|
1838
|
+
set invalid(val) {
|
|
1839
|
+
this._invalid = castBooleanProperty(val);
|
|
1840
|
+
}
|
|
1841
|
+
set valid(val) {
|
|
1842
|
+
this._valid = castBooleanProperty(val);
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1846
|
+
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 });
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaComponent, decorators: [{
|
|
1848
|
+
type: Component,
|
|
1849
|
+
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"] }]
|
|
1850
|
+
}], propDecorators: { hostCssClasses: [{
|
|
1851
|
+
type: HostBinding,
|
|
1852
|
+
args: ['class']
|
|
1853
|
+
}], invalid: [{
|
|
1854
|
+
type: Input
|
|
1855
|
+
}], valid: [{
|
|
1856
|
+
type: Input
|
|
1857
|
+
}] } });
|
|
1858
|
+
|
|
1859
|
+
class TextAreaModule {
|
|
1860
|
+
}
|
|
1861
|
+
TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1862
|
+
TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule, declarations: [TextAreaComponent], exports: [TextAreaComponent] });
|
|
1863
|
+
TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule });
|
|
1864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextAreaModule, decorators: [{
|
|
1865
|
+
type: NgModule,
|
|
1866
|
+
args: [{
|
|
1867
|
+
declarations: [TextAreaComponent],
|
|
1868
|
+
exports: [TextAreaComponent],
|
|
1869
|
+
}]
|
|
1870
|
+
}] });
|
|
1871
|
+
|
|
1872
|
+
class TextInputComponent {
|
|
1873
|
+
constructor(elementRef) {
|
|
1874
|
+
this.elementRef = elementRef;
|
|
1875
|
+
this.size = 'm';
|
|
1876
|
+
this._invalid = false;
|
|
1877
|
+
this._valid = false;
|
|
1878
|
+
}
|
|
1879
|
+
get hostCssClasses() {
|
|
1880
|
+
const validClass = this.valid ? 'is-valid' : '';
|
|
1881
|
+
const invalidClass = this.invalid ? 'is-invalid' : '';
|
|
1882
|
+
const sizeCssClass = this.isRadioButton || this.isCheckbox ? '' : `mc-text-input--${this.size}`;
|
|
1883
|
+
return `${this.inputClass} ${sizeCssClass} ${validClass} ${invalidClass}`;
|
|
1884
|
+
}
|
|
1885
|
+
get invalid() {
|
|
1886
|
+
return this._invalid || false;
|
|
1887
|
+
}
|
|
1888
|
+
get valid() {
|
|
1889
|
+
const valid = this._valid || false;
|
|
1890
|
+
return !this.invalid && valid;
|
|
1891
|
+
}
|
|
1892
|
+
get typeElement() {
|
|
1893
|
+
return this.elementRef.nativeElement.type || 'text';
|
|
1894
|
+
}
|
|
1895
|
+
get isRadioButton() {
|
|
1896
|
+
return this.typeElement === 'radio';
|
|
1897
|
+
}
|
|
1898
|
+
get isCheckbox() {
|
|
1899
|
+
return this.typeElement === 'checkbox';
|
|
1900
|
+
}
|
|
1901
|
+
get inputClass() {
|
|
1902
|
+
if (this.isCheckbox) {
|
|
1903
|
+
return 'mc-checkbox__input';
|
|
1904
|
+
}
|
|
1905
|
+
if (this.isRadioButton) {
|
|
1906
|
+
return 'mc-radio__input';
|
|
1907
|
+
}
|
|
1908
|
+
return 'mc-text-input';
|
|
1909
|
+
}
|
|
1910
|
+
set invalid(val) {
|
|
1911
|
+
this._invalid = castBooleanProperty(val);
|
|
1912
|
+
}
|
|
1913
|
+
set valid(val) {
|
|
1914
|
+
this._valid = castBooleanProperty(val);
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
TextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1918
|
+
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;position:unset}.mc-text-input--s{height:2rem;position:unset}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
1920
|
+
type: Component,
|
|
1921
|
+
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;position:unset}.mc-text-input--s{height:2rem;position:unset}\n"] }]
|
|
1922
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
|
1923
|
+
type: Input
|
|
1924
|
+
}], hostCssClasses: [{
|
|
1925
|
+
type: HostBinding,
|
|
1926
|
+
args: ['class']
|
|
1927
|
+
}], invalid: [{
|
|
1928
|
+
type: Input
|
|
1929
|
+
}], valid: [{
|
|
1930
|
+
type: Input
|
|
1931
|
+
}] } });
|
|
1932
|
+
|
|
1933
|
+
class TextInputModule {
|
|
1934
|
+
}
|
|
1935
|
+
TextInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1936
|
+
TextInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, declarations: [TextInputComponent], imports: [CommonModule, FormsModule, IconModule], exports: [TextInputComponent] });
|
|
1937
|
+
TextInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, imports: [CommonModule, FormsModule, IconModule] });
|
|
1938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TextInputModule, decorators: [{
|
|
1939
|
+
type: NgModule,
|
|
1940
|
+
args: [{
|
|
1941
|
+
declarations: [TextInputComponent],
|
|
1942
|
+
imports: [CommonModule, FormsModule, IconModule],
|
|
1943
|
+
exports: [TextInputComponent],
|
|
1944
|
+
}]
|
|
1945
|
+
}] });
|
|
1946
|
+
|
|
1947
|
+
const TOGGLE_CONTROL_VALUE_ACCESSOR = {
|
|
1948
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1949
|
+
useExisting: forwardRef(() => ToggleComponent),
|
|
1950
|
+
multi: true,
|
|
1951
|
+
};
|
|
1952
|
+
class ToggleComponent {
|
|
1953
|
+
get checked() {
|
|
1954
|
+
return this._checked;
|
|
1955
|
+
}
|
|
1956
|
+
constructor() {
|
|
1957
|
+
this.disabled = false;
|
|
1958
|
+
this.size = 'm';
|
|
1959
|
+
this._checked = false;
|
|
1960
|
+
this.onChange = () => { };
|
|
1961
|
+
this.onTouch = () => { };
|
|
1962
|
+
this.toggleId = generateId();
|
|
1963
|
+
}
|
|
1964
|
+
set checked(v) {
|
|
1965
|
+
this._checked = v;
|
|
1966
|
+
this.onChange(this._checked);
|
|
1967
|
+
this.onTouch();
|
|
1968
|
+
}
|
|
1969
|
+
writeValue(value) {
|
|
1970
|
+
this.checked = !!value;
|
|
1971
|
+
}
|
|
1972
|
+
registerOnChange(fn) {
|
|
1973
|
+
this.onChange = fn;
|
|
1974
|
+
}
|
|
1975
|
+
registerOnTouched(fn) {
|
|
1976
|
+
this.onTouch = fn;
|
|
1977
|
+
}
|
|
1978
|
+
toggle() {
|
|
1979
|
+
this.writeValue(!this.checked);
|
|
1980
|
+
}
|
|
1981
|
+
get hostCssClasses() {
|
|
1982
|
+
const sizeClass = `mc-toggle--${this.size}`;
|
|
1983
|
+
return `mc-toggle ${sizeClass}`;
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
ToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1987
|
+
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}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleComponent, decorators: [{
|
|
1989
|
+
type: Component,
|
|
1990
|
+
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}\n"] }]
|
|
1991
|
+
}], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
|
|
1992
|
+
type: Input
|
|
1993
|
+
}], size: [{
|
|
1994
|
+
type: Input
|
|
1995
|
+
}], checked: [{
|
|
1996
|
+
type: Input
|
|
1997
|
+
}], hostCssClasses: [{
|
|
1998
|
+
type: HostBinding,
|
|
1999
|
+
args: ['class']
|
|
2000
|
+
}] } });
|
|
2001
|
+
|
|
2002
|
+
class ToggleModule {
|
|
2003
|
+
}
|
|
2004
|
+
ToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2005
|
+
ToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, declarations: [ToggleComponent], imports: [CommonModule], exports: [ToggleComponent] });
|
|
2006
|
+
ToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, imports: [CommonModule] });
|
|
2007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleModule, decorators: [{
|
|
2008
|
+
type: NgModule,
|
|
2009
|
+
args: [{
|
|
2010
|
+
imports: [CommonModule],
|
|
2011
|
+
declarations: [ToggleComponent],
|
|
2012
|
+
exports: [ToggleComponent],
|
|
2013
|
+
}]
|
|
2014
|
+
}] });
|
|
2015
|
+
|
|
2016
|
+
class TooltipDirective {
|
|
2017
|
+
constructor(el, renderer) {
|
|
2018
|
+
this.el = el;
|
|
2019
|
+
this.renderer = renderer;
|
|
2020
|
+
this.tooltipContent = '';
|
|
2021
|
+
this.tooltipPosition = 'top';
|
|
2022
|
+
this.tooltip = null;
|
|
2023
|
+
this.offset = 16;
|
|
2024
|
+
}
|
|
2025
|
+
onMouseIn() {
|
|
2026
|
+
if (!this.tooltip)
|
|
2027
|
+
this.showTooltip();
|
|
2028
|
+
}
|
|
2029
|
+
onMouseOut() {
|
|
2030
|
+
if (this.tooltip)
|
|
2031
|
+
this.hideTooltip();
|
|
2032
|
+
}
|
|
2033
|
+
showTooltip() {
|
|
2034
|
+
this.tooltip = this.renderer.createElement('span');
|
|
2035
|
+
this.renderer.appendChild(this.tooltip, this.renderer.createText(this.tooltipContent));
|
|
2036
|
+
this.renderer.appendChild(document.body, this.tooltip);
|
|
2037
|
+
this.renderer.addClass(this.tooltip, 'mc-tooltip__content');
|
|
2038
|
+
this.renderer.addClass(this.tooltip, `mc-tooltip__content-${this.tooltipPosition}`);
|
|
2039
|
+
this.renderer.setStyle(this.tooltip, '-webkit-transition', `opacity 500ms`);
|
|
2040
|
+
this.renderer.setStyle(this.tooltip, '-moz-transition', `opacity 500ms`);
|
|
2041
|
+
this.renderer.setStyle(this.tooltip, '-o-transition', `opacity 500ms`);
|
|
2042
|
+
this.renderer.setStyle(this.tooltip, 'transition', `opacity 500ms`);
|
|
2043
|
+
this.setPosition();
|
|
2044
|
+
this.renderer.addClass(this.tooltip, 'mc-tooltip__content-show');
|
|
2045
|
+
}
|
|
2046
|
+
hideTooltip() {
|
|
2047
|
+
this.renderer.removeChild(document.body, this.tooltip);
|
|
2048
|
+
this.tooltip = null;
|
|
2049
|
+
}
|
|
2050
|
+
setPosition() {
|
|
2051
|
+
if (this.tooltip) {
|
|
2052
|
+
const hostPos = this.el.nativeElement.getBoundingClientRect();
|
|
2053
|
+
const tooltipPos = this.tooltip.getBoundingClientRect();
|
|
2054
|
+
const scrollPos = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
|
2055
|
+
let top, left;
|
|
2056
|
+
if (this.tooltipPosition === 'top') {
|
|
2057
|
+
top = hostPos.top - tooltipPos.height - this.offset;
|
|
2058
|
+
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
2059
|
+
}
|
|
2060
|
+
if (this.tooltipPosition === 'bottom') {
|
|
2061
|
+
top = hostPos.bottom + this.offset;
|
|
2062
|
+
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
|
|
2063
|
+
}
|
|
2064
|
+
if (this.tooltipPosition === 'left') {
|
|
2065
|
+
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
2066
|
+
left = hostPos.left - tooltipPos.width - this.offset;
|
|
2067
|
+
}
|
|
2068
|
+
if (this.tooltipPosition === 'right') {
|
|
2069
|
+
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
|
|
2070
|
+
left = hostPos.right + this.offset;
|
|
2071
|
+
}
|
|
2072
|
+
if (top) {
|
|
2073
|
+
this.renderer.setStyle(this.tooltip, 'top', `${top + scrollPos}px`);
|
|
2074
|
+
this.renderer.setStyle(this.tooltip, 'left', `${left}px`);
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2080
|
+
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TooltipDirective, selector: "[mozTooltipDirective]", inputs: { tooltipContent: ["mozTooltipDirective", "tooltipContent"], tooltipPosition: "tooltipPosition" }, host: { listeners: { "mouseover": "onMouseIn()", "mouseleave": "onMouseOut()" } }, ngImport: i0 });
|
|
2081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
2082
|
+
type: Directive,
|
|
2083
|
+
args: [{
|
|
2084
|
+
selector: '[mozTooltipDirective]',
|
|
2085
|
+
}]
|
|
2086
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { tooltipContent: [{
|
|
2087
|
+
type: Input,
|
|
2088
|
+
args: ['mozTooltipDirective']
|
|
2089
|
+
}], tooltipPosition: [{
|
|
2090
|
+
type: Input
|
|
2091
|
+
}], onMouseIn: [{
|
|
2092
|
+
type: HostListener,
|
|
2093
|
+
args: ['mouseover']
|
|
2094
|
+
}], onMouseOut: [{
|
|
2095
|
+
type: HostListener,
|
|
2096
|
+
args: ['mouseleave']
|
|
2097
|
+
}] } });
|
|
2098
|
+
|
|
2099
|
+
class TooltipComponent {
|
|
2100
|
+
constructor() {
|
|
2101
|
+
this.tooltipContent = '';
|
|
2102
|
+
this.tooltipPosition = 'top';
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2106
|
+
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TooltipComponent, selector: "moz-tooltip", inputs: { tooltipContent: "tooltipContent", tooltipPosition: "tooltipPosition" }, ngImport: i0, template: "<div\n class=\"mc-tooltip__main\"\n mozTooltipDirective=\"{{ tooltipContent }}\"\n tooltipPosition=\"{{ tooltipPosition }}\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".mc-tooltip__main{display:inline-flex}.mc-tooltip__main:hover{cursor:help}.mc-tooltip__content{position:absolute;max-width:150px;font-size:14px;text-align:center;color:#f8f8f2;padding:10px;background:#4d4d4d;border-radius:3px;z-index:1000;opacity:0}.mc-tooltip__content:after{content:\"\";position:absolute;border-style:solid}.mc-tooltip__content-top:after{top:100%;left:50%;margin-left:-5px;border-width:5px;border-color:#4d4d4d transparent transparent transparent}.mc-tooltip__content-bottom:after{bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-color:transparent transparent #4d4d4d transparent}.mc-tooltip__content-left:after{top:50%;left:100%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #4d4d4d}.mc-tooltip__content-right:after{top:50%;right:100%;margin-top:-5px;border-width:5px;border-color:transparent #4d4d4d transparent transparent}.mc-tooltip__content-show{opacity:1}\n"], dependencies: [{ kind: "directive", type: TooltipDirective, selector: "[mozTooltipDirective]", inputs: ["mozTooltipDirective", "tooltipPosition"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
2108
|
+
type: Component,
|
|
2109
|
+
args: [{ selector: 'moz-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div\n class=\"mc-tooltip__main\"\n mozTooltipDirective=\"{{ tooltipContent }}\"\n tooltipPosition=\"{{ tooltipPosition }}\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".mc-tooltip__main{display:inline-flex}.mc-tooltip__main:hover{cursor:help}.mc-tooltip__content{position:absolute;max-width:150px;font-size:14px;text-align:center;color:#f8f8f2;padding:10px;background:#4d4d4d;border-radius:3px;z-index:1000;opacity:0}.mc-tooltip__content:after{content:\"\";position:absolute;border-style:solid}.mc-tooltip__content-top:after{top:100%;left:50%;margin-left:-5px;border-width:5px;border-color:#4d4d4d transparent transparent transparent}.mc-tooltip__content-bottom:after{bottom:100%;left:50%;margin-left:-5px;border-width:5px;border-color:transparent transparent #4d4d4d transparent}.mc-tooltip__content-left:after{top:50%;left:100%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #4d4d4d}.mc-tooltip__content-right:after{top:50%;right:100%;margin-top:-5px;border-width:5px;border-color:transparent #4d4d4d transparent transparent}.mc-tooltip__content-show{opacity:1}\n"] }]
|
|
2110
|
+
}], propDecorators: { tooltipContent: [{
|
|
2111
|
+
type: Input
|
|
2112
|
+
}], tooltipPosition: [{
|
|
2113
|
+
type: Input
|
|
2114
|
+
}] } });
|
|
2115
|
+
|
|
2116
|
+
class TooltipModule {
|
|
2117
|
+
}
|
|
2118
|
+
TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2119
|
+
TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, declarations: [TooltipComponent, TooltipDirective], imports: [CommonModule], exports: [TooltipComponent] });
|
|
2120
|
+
TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, imports: [CommonModule] });
|
|
2121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TooltipModule, decorators: [{
|
|
2122
|
+
type: NgModule,
|
|
2123
|
+
args: [{
|
|
2124
|
+
imports: [CommonModule],
|
|
2125
|
+
declarations: [TooltipComponent, TooltipDirective],
|
|
2126
|
+
exports: [TooltipComponent],
|
|
2127
|
+
}]
|
|
2128
|
+
}] });
|
|
2129
|
+
|
|
2130
|
+
class MozDatatableSelectionComponent {
|
|
2131
|
+
constructor(ref) {
|
|
2132
|
+
this.ref = ref;
|
|
2133
|
+
this.updateSelectionAllEmitter = new EventEmitter();
|
|
2134
|
+
this.isIndeterminate = false;
|
|
2135
|
+
}
|
|
2136
|
+
ngOnChanges(changes) {
|
|
2137
|
+
if (changes['rowData']) {
|
|
2138
|
+
this.updateSelection();
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
updateSelection() {
|
|
2142
|
+
var _a, _b;
|
|
2143
|
+
if (this.selectionSettings && this.rowData) {
|
|
2144
|
+
(_a = this.rowData) === null || _a === void 0 ? void 0 : _a.filter((row) => {
|
|
2145
|
+
var _a;
|
|
2146
|
+
return !row.disableSelection &&
|
|
2147
|
+
row.selected &&
|
|
2148
|
+
((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.selectedIds.filter((selectedRow) => {
|
|
2149
|
+
var _a;
|
|
2150
|
+
return (!((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.allSelected) &&
|
|
2151
|
+
this.selectionSettings &&
|
|
2152
|
+
selectedRow === row[this.selectionSettings.selectionIdentifierFieldKey]);
|
|
2153
|
+
}).length) === 0;
|
|
2154
|
+
}).forEach((row) => {
|
|
2155
|
+
var _a;
|
|
2156
|
+
(_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.selectedIds.push(row[this.selectionSettings.selectionIdentifierFieldKey]);
|
|
2157
|
+
});
|
|
2158
|
+
if ((((_b = this.selectionSettings) === null || _b === void 0 ? void 0 : _b.selectedIds) || []).length ===
|
|
2159
|
+
this.selectionSettings.totalSelectableItems) {
|
|
2160
|
+
this.selectionSettings.allSelected = true;
|
|
2161
|
+
this.selectionSettings.selectedIds = [];
|
|
2162
|
+
this.selectionSettings.excludedIds = [];
|
|
2163
|
+
}
|
|
2164
|
+
this.isIndeterminate = this.isSelectionIndeterminate();
|
|
2165
|
+
this.selectionSettings.allSelected = this.isAllPageRowAreSelected();
|
|
2166
|
+
this.ref.markForCheck();
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
selectAll() {
|
|
2170
|
+
if (this.selectionSettings) {
|
|
2171
|
+
this.selectionSettings.excludedIds = [];
|
|
2172
|
+
this.selectionSettings.selectedIds = [];
|
|
2173
|
+
this.selectionSettings.allSelected = true;
|
|
2174
|
+
this.updateSelectedValueOnRowData(true);
|
|
2175
|
+
this.isIndeterminate = this.isSelectionIndeterminate();
|
|
2176
|
+
this.selectionSettings.allSelected = this.isAllPageRowAreSelected();
|
|
2177
|
+
this.updateSelectionAllEmitter.emit(this.selectionSettings);
|
|
2178
|
+
this.ref.markForCheck();
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
clearAll() {
|
|
2182
|
+
if (this.selectionSettings) {
|
|
2183
|
+
this.selectionSettings.excludedIds = [];
|
|
2184
|
+
this.selectionSettings.selectedIds = [];
|
|
2185
|
+
this.selectionSettings.allSelected = false;
|
|
2186
|
+
this.updateSelectedValueOnRowData(false);
|
|
2187
|
+
this.isIndeterminate = this.isSelectionIndeterminate();
|
|
2188
|
+
this.selectionSettings.allSelected = this.isAllPageRowAreSelected();
|
|
2189
|
+
this.updateSelectionAllEmitter.emit(this.selectionSettings);
|
|
2190
|
+
this.ref.markForCheck();
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
isAllPageRowAreSelected() {
|
|
2194
|
+
if (this.rowData) {
|
|
2195
|
+
const selectedRows = this.rowData.filter((row) => !row.disableSelection && row.selected === true);
|
|
2196
|
+
return (selectedRows.length === this.rowData.filter((row) => !row.disableSelection).length &&
|
|
2197
|
+
this.rowData.filter((row) => !row.disableSelection).length > 0);
|
|
2198
|
+
}
|
|
2199
|
+
return false;
|
|
2200
|
+
}
|
|
2201
|
+
onUdpateSelectionRow(row) {
|
|
2202
|
+
this.handleCountItemSelection(row);
|
|
2203
|
+
}
|
|
2204
|
+
onUdpateSelectionAllPageRows($event) {
|
|
2205
|
+
this.updateSelectedValueOnRowData($event.target.checked);
|
|
2206
|
+
this.handleCountAllSelection(this.isAllPageRowAreSelected());
|
|
2207
|
+
}
|
|
2208
|
+
handleCountItemSelection(row) {
|
|
2209
|
+
if (this.selectionSettings != null) {
|
|
2210
|
+
const selectionIdentifierFieldKey = this.selectionSettings.selectionIdentifierFieldKey;
|
|
2211
|
+
if (this.selectionSettings.allSelected) {
|
|
2212
|
+
if (row.selected) {
|
|
2213
|
+
this.selectionSettings.excludedIds = [
|
|
2214
|
+
...this.selectionSettings.excludedIds.filter((deselectedId) => {
|
|
2215
|
+
return deselectedId !== row[selectionIdentifierFieldKey];
|
|
2216
|
+
}),
|
|
2217
|
+
];
|
|
2218
|
+
}
|
|
2219
|
+
else {
|
|
2220
|
+
if (this.paginationEnabled) {
|
|
2221
|
+
this.selectionSettings.excludedIds = [
|
|
2222
|
+
...this.selectionSettings.excludedIds,
|
|
2223
|
+
row[selectionIdentifierFieldKey],
|
|
2224
|
+
];
|
|
2225
|
+
}
|
|
2226
|
+
else {
|
|
2227
|
+
this.selectionSettings.selectedIds = [
|
|
2228
|
+
...this.selectionSettings.selectedIds.filter((selectedId) => selectedId !== row[selectionIdentifierFieldKey]),
|
|
2229
|
+
];
|
|
2230
|
+
this.selectionSettings.allSelected = false;
|
|
2231
|
+
}
|
|
2232
|
+
if (this.selectionSettings.excludedIds.length ===
|
|
2233
|
+
this.selectionSettings.totalSelectableItems) {
|
|
2234
|
+
this.selectionSettings.excludedIds = [];
|
|
2235
|
+
this.selectionSettings.allSelected = false;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
else {
|
|
2240
|
+
if (row.selected) {
|
|
2241
|
+
this.selectionSettings.selectedIds = [
|
|
2242
|
+
...this.selectionSettings.selectedIds,
|
|
2243
|
+
row[selectionIdentifierFieldKey],
|
|
2244
|
+
];
|
|
2245
|
+
if (this.selectionSettings.selectedIds.length ===
|
|
2246
|
+
this.selectionSettings.totalSelectableItems) {
|
|
2247
|
+
if (this.paginationEnabled) {
|
|
2248
|
+
this.selectionSettings.selectedIds = [];
|
|
2249
|
+
}
|
|
2250
|
+
this.selectionSettings.allSelected = true;
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
else {
|
|
2254
|
+
this.selectionSettings.selectedIds = [
|
|
2255
|
+
...this.selectionSettings.selectedIds.filter((selectedId) => {
|
|
2256
|
+
return selectedId !== row[selectionIdentifierFieldKey];
|
|
2257
|
+
}),
|
|
2258
|
+
];
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
this.isIndeterminate = this.isSelectionIndeterminate();
|
|
2262
|
+
this.ref.markForCheck();
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
handleCountAllSelection(allPageRowsSelected) {
|
|
2266
|
+
var _a, _b, _c;
|
|
2267
|
+
if (this.selectionSettings) {
|
|
2268
|
+
const selectionIdentifierFieldKey = this.selectionSettings.selectionIdentifierFieldKey;
|
|
2269
|
+
if ((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.allSelected) {
|
|
2270
|
+
if (this.isIndeterminate && this.rowData) {
|
|
2271
|
+
this.rowData
|
|
2272
|
+
.filter((row) => !row.disableSelection)
|
|
2273
|
+
.filter((row) => { var _a; return !(((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.selectedIds) || []).includes(row[selectionIdentifierFieldKey]); })
|
|
2274
|
+
.forEach((row) => {
|
|
2275
|
+
if (this.selectionSettings) {
|
|
2276
|
+
this.selectionSettings.selectedIds = [
|
|
2277
|
+
...this.selectionSettings.selectedIds,
|
|
2278
|
+
row[selectionIdentifierFieldKey],
|
|
2279
|
+
];
|
|
2280
|
+
}
|
|
2281
|
+
});
|
|
2282
|
+
this.rowData
|
|
2283
|
+
.filter((row) => !row.disableSelection)
|
|
2284
|
+
.forEach((row) => {
|
|
2285
|
+
if (this.selectionSettings) {
|
|
2286
|
+
const index = this.selectionSettings.excludedIds.indexOf(row[selectionIdentifierFieldKey], 0);
|
|
2287
|
+
if (index > -1) {
|
|
2288
|
+
this.selectionSettings.excludedIds.splice(index, 1);
|
|
2289
|
+
this.selectionSettings.excludedIds = [...this.selectionSettings.excludedIds];
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
});
|
|
2293
|
+
if (this.selectionSettings.selectedIds.length ===
|
|
2294
|
+
this.selectionSettings.totalSelectableItems) {
|
|
2295
|
+
this.selectionSettings.allSelected = true;
|
|
2296
|
+
this.selectionSettings.selectedIds = [];
|
|
2297
|
+
this.rowData = (_b = this.rowData) === null || _b === void 0 ? void 0 : _b.filter((row) => !row.disableSelection).map((row) => {
|
|
2298
|
+
row.selected = true;
|
|
2299
|
+
return row;
|
|
2300
|
+
});
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
else {
|
|
2304
|
+
if (this.rowData) {
|
|
2305
|
+
this.selectionSettings.excludedIds = [
|
|
2306
|
+
...this.selectionSettings.excludedIds,
|
|
2307
|
+
...this.rowData
|
|
2308
|
+
.filter((row) => !row.disableSelection)
|
|
2309
|
+
.map((row) => row[selectionIdentifierFieldKey]),
|
|
2310
|
+
];
|
|
2311
|
+
if (this.selectionSettings.excludedIds.length ===
|
|
2312
|
+
this.selectionSettings.totalSelectableItems) {
|
|
2313
|
+
this.selectionSettings.allSelected = false;
|
|
2314
|
+
this.selectionSettings.selectedIds = [];
|
|
2315
|
+
this.selectionSettings.excludedIds = [];
|
|
2316
|
+
this.rowData = (_c = this.rowData) === null || _c === void 0 ? void 0 : _c.filter((row) => !row.disableSelection).map((row) => {
|
|
2317
|
+
row.selected = false;
|
|
2318
|
+
return row;
|
|
2319
|
+
});
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
else {
|
|
2325
|
+
if (allPageRowsSelected && this.rowData) {
|
|
2326
|
+
this.rowData
|
|
2327
|
+
.filter((row) => !row.disableSelection)
|
|
2328
|
+
.filter((row) => { var _a; return !(((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.selectedIds) || []).includes(row[selectionIdentifierFieldKey]); })
|
|
2329
|
+
.forEach((row) => {
|
|
2330
|
+
if (this.selectionSettings) {
|
|
2331
|
+
this.selectionSettings.selectedIds = [
|
|
2332
|
+
...this.selectionSettings.selectedIds,
|
|
2333
|
+
row[selectionIdentifierFieldKey],
|
|
2334
|
+
];
|
|
2335
|
+
}
|
|
2336
|
+
});
|
|
2337
|
+
if (this.selectionSettings.selectedIds.length ===
|
|
2338
|
+
this.selectionSettings.totalSelectableItems) {
|
|
2339
|
+
if (this.paginationEnabled) {
|
|
2340
|
+
this.selectionSettings.selectedIds = [];
|
|
2341
|
+
}
|
|
2342
|
+
this.selectionSettings.allSelected = true;
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
else {
|
|
2346
|
+
if (this.rowData) {
|
|
2347
|
+
this.rowData
|
|
2348
|
+
.filter((row) => !row.disableSelection)
|
|
2349
|
+
.forEach((row) => {
|
|
2350
|
+
if (this.selectionSettings) {
|
|
2351
|
+
this.selectionSettings.selectedIds = [
|
|
2352
|
+
...this.selectionSettings.selectedIds.filter((selectedId) => {
|
|
2353
|
+
return selectedId !== row[selectionIdentifierFieldKey];
|
|
2354
|
+
}),
|
|
2355
|
+
];
|
|
2356
|
+
}
|
|
2357
|
+
});
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
this.isIndeterminate = this.isSelectionIndeterminate();
|
|
2363
|
+
this.ref.markForCheck();
|
|
2364
|
+
}
|
|
2365
|
+
updateSelectedValueOnRowData(selected) {
|
|
2366
|
+
var _a;
|
|
2367
|
+
this.rowData = (_a = this.rowData) === null || _a === void 0 ? void 0 : _a.filter((row) => !row.disableSelection).map((row) => {
|
|
2368
|
+
row.selected = selected;
|
|
2369
|
+
return row;
|
|
2370
|
+
});
|
|
2371
|
+
}
|
|
2372
|
+
isSelectionIndeterminate() {
|
|
2373
|
+
var _a;
|
|
2374
|
+
if (this.selectionSettings) {
|
|
2375
|
+
if ((!this.selectionSettings.allSelected &&
|
|
2376
|
+
((_a = this.rowData) === null || _a === void 0 ? void 0 : _a.filter((row) => !row.disableSelection).map((row) => {
|
|
2377
|
+
if (this.selectionSettings) {
|
|
2378
|
+
return row[this.selectionSettings.selectionIdentifierFieldKey];
|
|
2379
|
+
}
|
|
2380
|
+
}).every((item) => { var _a; return (((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.selectedIds) || []).includes(item); }))) ||
|
|
2381
|
+
(!this.selectionSettings.allSelected && this.selectionSettings.selectedIds.length === 0) ||
|
|
2382
|
+
(this.selectionSettings.allSelected &&
|
|
2383
|
+
this.rowData &&
|
|
2384
|
+
!this.rowData
|
|
2385
|
+
.map((row) => {
|
|
2386
|
+
if (this.selectionSettings) {
|
|
2387
|
+
return row[this.selectionSettings.selectionIdentifierFieldKey];
|
|
2388
|
+
}
|
|
2389
|
+
})
|
|
2390
|
+
.some((id) => { var _a; return (((_a = this.selectionSettings) === null || _a === void 0 ? void 0 : _a.excludedIds) || []).includes(id); })) ||
|
|
2391
|
+
(this.selectionSettings.allSelected && this.selectionSettings.excludedIds.length === 0)) {
|
|
2392
|
+
return false;
|
|
2393
|
+
}
|
|
2394
|
+
return true;
|
|
2395
|
+
}
|
|
2396
|
+
return false;
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
MozDatatableSelectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableSelectionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2400
|
+
MozDatatableSelectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableSelectionComponent, selector: "moz-datatable-selection", inputs: { selectionSettings: "selectionSettings", paginationEnabled: "paginationEnabled", rowData: "rowData" }, outputs: { updateSelectionAllEmitter: "updateSelectionAllEmitter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"mc-datatable__selection\">\n <ng-container *ngIf=\"selectionSettings && selectionSettings.labels && paginationEnabled\">\n <div class=\"mc-datatable__topbar-selection\">\n <ng-container *ngIf=\"selectionSettings.selectedIds.length || selectionSettings.allSelected\">\n <div class=\"center-selection-label\">\n <div *ngIf=\"selectionSettings.allSelected; else notAllSelected\">\n <ng-container *ngIf=\"selectionSettings.excludedIds.length > 0; else exludedIdsEmpty\">\n <span>\n <b\n >{{\n selectionSettings.totalSelectableItems - selectionSettings.excludedIds.length\n }}\n {{ selectionSettings.labels.selectedLabel || 'selected' }}</b\n >\n <ng-container\n *ngIf=\"\n selectionSettings.totalSelectableItems -\n selectionSettings.excludedIds.length ===\n 1;\n else plurialAllSelected\n \"\n >\n {{ selectionSettings.labels.rowOnPageLabel || 'row on the page. ' }}-\n </ng-container>\n <ng-template #plurialAllSelected>\n {{ selectionSettings.labels.rowsOnPageLabel || 'rows on the page. ' }}-\n </ng-template>\n\n {{ selectionSettings.labels.rowsOnPageLabel || 'rows on the page. ' }}-\n <a href=\"/\" (click)=\"selectAll(); $event.preventDefault()\">\n {{ selectionSettings.labels.selectAllLabel || 'Select all' }}\n {{ selectionSettings.totalSelectableItems }}\n {{ selectionSettings.labels.rowsOfTableLabel || 'rows of the table' }}\n </a>\n </span>\n </ng-container>\n <ng-template #exludedIdsEmpty>\n <span>\n {{\n selectionSettings.labels.rowsSelectedLabel ||\n 'All rows are selected in the table.'\n }}\n -\n <a href=\"/\" (click)=\"clearAll(); $event.preventDefault()\">\n {{ selectionSettings.labels.clearSelectionLabel || 'Clear selection' }}\n </a>\n </span>\n </ng-template>\n </div>\n <ng-template #notAllSelected>\n <span>\n <b\n >{{ selectionSettings.selectedIds.length }}\n {{ selectionSettings.labels.selectedLabel || 'selected' }}</b\n >\n <ng-container\n *ngIf=\"selectionSettings.selectedIds && selectionSettings.selectedIds.length > 0\"\n >\n <ng-container\n *ngIf=\"\n selectionSettings.selectedIds && selectionSettings.selectedIds.length === 1;\n else plurialNotAllSelected\n \"\n >\n {{ selectionSettings.labels.rowOnPageLabel || 'row on the page. ' }}-\n </ng-container>\n <ng-template #plurialNotAllSelected>\n {{ selectionSettings.labels.rowsOnPageLabel || 'rows on the page. ' }}-\n </ng-template>\n <a href=\"/\" (click)=\"selectAll(); $event.preventDefault()\">\n {{ selectionSettings.labels.selectAllLabel || 'Select all' }}\n {{ selectionSettings.totalSelectableItems }}\n {{ selectionSettings.labels.rowsOfTableLabel || 'rows of the table' }}\n </a>\n </ng-container>\n </span>\n </ng-template>\n </div>\n </ng-container>\n </div>\n </ng-container>\n</div>\n", styles: [".center-selection-label{text-align:center;margin-bottom:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableSelectionComponent, decorators: [{
|
|
2402
|
+
type: Component,
|
|
2403
|
+
args: [{ selector: 'moz-datatable-selection', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mc-datatable__selection\">\n <ng-container *ngIf=\"selectionSettings && selectionSettings.labels && paginationEnabled\">\n <div class=\"mc-datatable__topbar-selection\">\n <ng-container *ngIf=\"selectionSettings.selectedIds.length || selectionSettings.allSelected\">\n <div class=\"center-selection-label\">\n <div *ngIf=\"selectionSettings.allSelected; else notAllSelected\">\n <ng-container *ngIf=\"selectionSettings.excludedIds.length > 0; else exludedIdsEmpty\">\n <span>\n <b\n >{{\n selectionSettings.totalSelectableItems - selectionSettings.excludedIds.length\n }}\n {{ selectionSettings.labels.selectedLabel || 'selected' }}</b\n >\n <ng-container\n *ngIf=\"\n selectionSettings.totalSelectableItems -\n selectionSettings.excludedIds.length ===\n 1;\n else plurialAllSelected\n \"\n >\n {{ selectionSettings.labels.rowOnPageLabel || 'row on the page. ' }}-\n </ng-container>\n <ng-template #plurialAllSelected>\n {{ selectionSettings.labels.rowsOnPageLabel || 'rows on the page. ' }}-\n </ng-template>\n\n {{ selectionSettings.labels.rowsOnPageLabel || 'rows on the page. ' }}-\n <a href=\"/\" (click)=\"selectAll(); $event.preventDefault()\">\n {{ selectionSettings.labels.selectAllLabel || 'Select all' }}\n {{ selectionSettings.totalSelectableItems }}\n {{ selectionSettings.labels.rowsOfTableLabel || 'rows of the table' }}\n </a>\n </span>\n </ng-container>\n <ng-template #exludedIdsEmpty>\n <span>\n {{\n selectionSettings.labels.rowsSelectedLabel ||\n 'All rows are selected in the table.'\n }}\n -\n <a href=\"/\" (click)=\"clearAll(); $event.preventDefault()\">\n {{ selectionSettings.labels.clearSelectionLabel || 'Clear selection' }}\n </a>\n </span>\n </ng-template>\n </div>\n <ng-template #notAllSelected>\n <span>\n <b\n >{{ selectionSettings.selectedIds.length }}\n {{ selectionSettings.labels.selectedLabel || 'selected' }}</b\n >\n <ng-container\n *ngIf=\"selectionSettings.selectedIds && selectionSettings.selectedIds.length > 0\"\n >\n <ng-container\n *ngIf=\"\n selectionSettings.selectedIds && selectionSettings.selectedIds.length === 1;\n else plurialNotAllSelected\n \"\n >\n {{ selectionSettings.labels.rowOnPageLabel || 'row on the page. ' }}-\n </ng-container>\n <ng-template #plurialNotAllSelected>\n {{ selectionSettings.labels.rowsOnPageLabel || 'rows on the page. ' }}-\n </ng-template>\n <a href=\"/\" (click)=\"selectAll(); $event.preventDefault()\">\n {{ selectionSettings.labels.selectAllLabel || 'Select all' }}\n {{ selectionSettings.totalSelectableItems }}\n {{ selectionSettings.labels.rowsOfTableLabel || 'rows of the table' }}\n </a>\n </ng-container>\n </span>\n </ng-template>\n </div>\n </ng-container>\n </div>\n </ng-container>\n</div>\n", styles: [".center-selection-label{text-align:center;margin-bottom:.5rem}\n"] }]
|
|
2404
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionSettings: [{
|
|
2405
|
+
type: Input
|
|
2406
|
+
}], paginationEnabled: [{
|
|
2407
|
+
type: Input
|
|
2408
|
+
}], rowData: [{
|
|
2409
|
+
type: Input
|
|
2410
|
+
}], updateSelectionAllEmitter: [{
|
|
2411
|
+
type: Output
|
|
2412
|
+
}] } });
|
|
2413
|
+
|
|
2414
|
+
class MozDatatableHeaderCellComponent {
|
|
2415
|
+
}
|
|
2416
|
+
MozDatatableHeaderCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableHeaderCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2417
|
+
MozDatatableHeaderCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableHeaderCellComponent, selector: "moz-datatable-header-cell", inputs: { field: "field" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableHeaderCellComponent, decorators: [{
|
|
2419
|
+
type: Component,
|
|
2420
|
+
args: [{ selector: 'moz-datatable-header-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
2421
|
+
}], propDecorators: { field: [{
|
|
2422
|
+
type: Input
|
|
2423
|
+
}], templateRef: [{
|
|
2424
|
+
type: ContentChild,
|
|
2425
|
+
args: [TemplateRef]
|
|
2426
|
+
}] } });
|
|
2427
|
+
|
|
2428
|
+
class MozDatatableContentCellComponent {
|
|
2429
|
+
}
|
|
2430
|
+
MozDatatableContentCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableContentCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2431
|
+
MozDatatableContentCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableContentCellComponent, selector: "moz-datatable-content-cell", inputs: { field: "field" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableContentCellComponent, decorators: [{
|
|
2433
|
+
type: Component,
|
|
2434
|
+
args: [{ selector: 'moz-datatable-content-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
2435
|
+
}], propDecorators: { field: [{
|
|
2436
|
+
type: Input
|
|
2437
|
+
}], templateRef: [{
|
|
2438
|
+
type: ContentChild,
|
|
2439
|
+
args: [TemplateRef]
|
|
2440
|
+
}] } });
|
|
2441
|
+
|
|
2442
|
+
class MozDatatableRowExpansionContentComponent {
|
|
2443
|
+
}
|
|
2444
|
+
MozDatatableRowExpansionContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableRowExpansionContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2445
|
+
MozDatatableRowExpansionContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableRowExpansionContentComponent, selector: "moz-datatable-row-expansion-content", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableRowExpansionContentComponent, decorators: [{
|
|
2447
|
+
type: Component,
|
|
2448
|
+
args: [{ selector: 'moz-datatable-row-expansion-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
2449
|
+
}], propDecorators: { templateRef: [{
|
|
2450
|
+
type: ContentChild,
|
|
2451
|
+
args: [TemplateRef]
|
|
2452
|
+
}] } });
|
|
2453
|
+
|
|
2454
|
+
class MozDatatableFooterComponent {
|
|
2455
|
+
constructor() {
|
|
2456
|
+
this.rowPerPageChangeEmitter = new EventEmitter();
|
|
2457
|
+
this.pageChangeEmitter = new EventEmitter();
|
|
2458
|
+
}
|
|
2459
|
+
ngOnInit() {
|
|
2460
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
2461
|
+
this.selectedRowPerPage = ((_c = (_b = (_a = this.footerSettings) === null || _a === void 0 ? void 0 : _a.pagination) === null || _b === void 0 ? void 0 : _b.rowPerPage) === null || _c === void 0 ? void 0 : _c.selected) || 0;
|
|
2462
|
+
this.currentPage = ((_e = (_d = this.footerSettings) === null || _d === void 0 ? void 0 : _d.pagination) === null || _e === void 0 ? void 0 : _e.currentPage) || 0;
|
|
2463
|
+
this.totalItems = ((_g = (_f = this.footerSettings) === null || _f === void 0 ? void 0 : _f.pagination) === null || _g === void 0 ? void 0 : _g.totalItems) || 0;
|
|
2464
|
+
}
|
|
2465
|
+
calculateNumberOfPage() {
|
|
2466
|
+
// case NAN
|
|
2467
|
+
if (this.totalItems === 0 && this.selectedRowPerPage === 0) {
|
|
2468
|
+
return 0;
|
|
2469
|
+
}
|
|
2470
|
+
// case INFINITY
|
|
2471
|
+
if (this.totalItems === 1 && this.selectedRowPerPage === 0) {
|
|
2472
|
+
return 0;
|
|
2473
|
+
}
|
|
2474
|
+
return Math.ceil(this.totalItems / this.selectedRowPerPage);
|
|
2475
|
+
}
|
|
2476
|
+
calculateCountEnd() {
|
|
2477
|
+
const count = this.selectedRowPerPage * this.currentPage;
|
|
2478
|
+
if (count > this.totalItems) {
|
|
2479
|
+
return this.totalItems;
|
|
2480
|
+
}
|
|
2481
|
+
return count;
|
|
2482
|
+
}
|
|
2483
|
+
calculateCountStart() {
|
|
2484
|
+
if (this.selectedRowPerPage === 0 || this.currentPage === 0 || this.totalItems === 0) {
|
|
2485
|
+
return 0;
|
|
2486
|
+
}
|
|
2487
|
+
return this.selectedRowPerPage * (this.currentPage - 1) + 1;
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
MozDatatableFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2491
|
+
MozDatatableFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableFooterComponent, selector: "moz-datatable-footer", inputs: { footerSettings: "footerSettings", isLoading: "isLoading" }, outputs: { rowPerPageChangeEmitter: "rowPerPageChangeEmitter", pageChangeEmitter: "pageChangeEmitter" }, ngImport: i0, template: "<div class=\"mc-datatable__footer\">\n <div class=\"mc-datatable__select\">\n <label for=\"selectRows\" class=\"mc-datatable__select-label\">{{\n footerSettings?.labels?.rowPerPage || 'Rows per page'\n }}</label>\n <select\n moz-select\n [disabled]=\"isLoading || false\"\n id=\"selectRows\"\n [(ngModel)]=\"selectedRowPerPage\"\n (change)=\"rowPerPageChangeEmitter.emit(selectedRowPerPage)\"\n [disabled]=\"calculateNumberOfPage() === 0\"\n >\n <option\n *ngFor=\"let value of footerSettings?.pagination?.rowPerPage?.options\"\n [ngValue]=\"value\"\n >\n {{ value }}\n </option>\n </select>\n </div>\n <div class=\"mc-datatable__count\" *ngIf=\"!isLoading\">\n <strong>{{ calculateCountStart() }}-{{ calculateCountEnd() }}</strong> /\n <strong\n >{{ footerSettings?.pagination?.totalItems }}\n {{ footerSettings?.labels?.items || 'Items' }}</strong\n >\n </div>\n <div class=\"mc-datatable__pagination\">\n <moz-pagination\n [numberOfPages]=\"isLoading ? 0 : calculateNumberOfPage()\"\n [(ngModel)]=\"currentPage\"\n (ngModelChange)=\"pageChangeEmitter.emit(currentPage)\"\n [pageLabel]=\"footerSettings?.labels?.page || 'Page'\"\n [pageOfLabel]=\"footerSettings?.labels?.of || 'of'\"\n >\n </moz-pagination>\n </div>\n</div>\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: PaginationComponent, selector: "moz-pagination", inputs: ["numberOfPages", "light", "pageLabel", "pageOfLabel", "pageTitleMask"] }, { kind: "component", type: SelectComponent, selector: "select[moz-`select`]", inputs: ["size"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableFooterComponent, decorators: [{
|
|
2493
|
+
type: Component,
|
|
2494
|
+
args: [{ selector: 'moz-datatable-footer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mc-datatable__footer\">\n <div class=\"mc-datatable__select\">\n <label for=\"selectRows\" class=\"mc-datatable__select-label\">{{\n footerSettings?.labels?.rowPerPage || 'Rows per page'\n }}</label>\n <select\n moz-select\n [disabled]=\"isLoading || false\"\n id=\"selectRows\"\n [(ngModel)]=\"selectedRowPerPage\"\n (change)=\"rowPerPageChangeEmitter.emit(selectedRowPerPage)\"\n [disabled]=\"calculateNumberOfPage() === 0\"\n >\n <option\n *ngFor=\"let value of footerSettings?.pagination?.rowPerPage?.options\"\n [ngValue]=\"value\"\n >\n {{ value }}\n </option>\n </select>\n </div>\n <div class=\"mc-datatable__count\" *ngIf=\"!isLoading\">\n <strong>{{ calculateCountStart() }}-{{ calculateCountEnd() }}</strong> /\n <strong\n >{{ footerSettings?.pagination?.totalItems }}\n {{ footerSettings?.labels?.items || 'Items' }}</strong\n >\n </div>\n <div class=\"mc-datatable__pagination\">\n <moz-pagination\n [numberOfPages]=\"isLoading ? 0 : calculateNumberOfPage()\"\n [(ngModel)]=\"currentPage\"\n (ngModelChange)=\"pageChangeEmitter.emit(currentPage)\"\n [pageLabel]=\"footerSettings?.labels?.page || 'Page'\"\n [pageOfLabel]=\"footerSettings?.labels?.of || 'of'\"\n >\n </moz-pagination>\n </div>\n</div>\n" }]
|
|
2495
|
+
}], propDecorators: { footerSettings: [{
|
|
2496
|
+
type: Input
|
|
2497
|
+
}], isLoading: [{
|
|
2498
|
+
type: Input
|
|
2499
|
+
}], rowPerPageChangeEmitter: [{
|
|
2500
|
+
type: Output
|
|
2501
|
+
}], pageChangeEmitter: [{
|
|
2502
|
+
type: Output
|
|
2503
|
+
}] } });
|
|
2504
|
+
|
|
2505
|
+
class MozDatatableSortDirective {
|
|
2506
|
+
constructor(elementRef, renderer) {
|
|
2507
|
+
this.elementRef = elementRef;
|
|
2508
|
+
this.renderer = renderer;
|
|
2509
|
+
this.sortEmitter = new EventEmitter();
|
|
2510
|
+
}
|
|
2511
|
+
ngOnInit() {
|
|
2512
|
+
var _a;
|
|
2513
|
+
if ((_a = this.columnDef) === null || _a === void 0 ? void 0 : _a.sort) {
|
|
2514
|
+
const sortIcon = this.renderer.createElement('span');
|
|
2515
|
+
this.renderer.addClass(sortIcon, 'mc-datatable__sort-arrow');
|
|
2516
|
+
this.updateSortDirection(sortIcon);
|
|
2517
|
+
this.renderer.appendChild(this.elementRef.nativeElement, sortIcon);
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
onSortClick($event) {
|
|
2521
|
+
this.updateSortDirection($event.target);
|
|
2522
|
+
}
|
|
2523
|
+
updateSortDirection(htmlSpanElement) {
|
|
2524
|
+
var _a;
|
|
2525
|
+
if ((_a = this.columnDef) === null || _a === void 0 ? void 0 : _a.sort) {
|
|
2526
|
+
if (htmlSpanElement.classList.contains('mc-datatable__sort-arrow')) {
|
|
2527
|
+
this.columnDef.sort.direction =
|
|
2528
|
+
this.columnDef.sort.direction == undefined
|
|
2529
|
+
? 'ASC'
|
|
2530
|
+
: this.columnDef.sort.direction === 'ASC'
|
|
2531
|
+
? 'DESC'
|
|
2532
|
+
: undefined;
|
|
2533
|
+
if (this.columnDef.sort.direction === 'ASC') {
|
|
2534
|
+
this.renderer.addClass(htmlSpanElement, 'is-sorted-asc');
|
|
2535
|
+
this.renderer.removeClass(htmlSpanElement, 'is-sorted-desc');
|
|
2536
|
+
}
|
|
2537
|
+
else if (this.columnDef.sort.direction === 'DESC') {
|
|
2538
|
+
this.renderer.addClass(htmlSpanElement, 'is-sorted-desc');
|
|
2539
|
+
this.renderer.removeClass(htmlSpanElement, 'is-sorted-asc');
|
|
2540
|
+
}
|
|
2541
|
+
else {
|
|
2542
|
+
this.renderer.removeClass(htmlSpanElement, 'is-sorted-desc');
|
|
2543
|
+
this.renderer.removeClass(htmlSpanElement, 'is-sorted-asc');
|
|
2544
|
+
}
|
|
2545
|
+
this.sortEmitter.emit({
|
|
2546
|
+
direction: this.columnDef.sort.direction,
|
|
2547
|
+
field: this.columnDef.field,
|
|
2548
|
+
});
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
MozDatatableSortDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableSortDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2554
|
+
MozDatatableSortDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableSortDirective, selector: "[mozDatatableSort]", inputs: { columnDef: ["mozDatatableSort", "columnDef"] }, outputs: { sortEmitter: "sortEmitter" }, host: { listeners: { "click": "onSortClick($event)" } }, ngImport: i0 });
|
|
2555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableSortDirective, decorators: [{
|
|
2556
|
+
type: Directive,
|
|
2557
|
+
args: [{
|
|
2558
|
+
selector: '[mozDatatableSort]',
|
|
2559
|
+
}]
|
|
2560
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { columnDef: [{
|
|
2561
|
+
type: Input,
|
|
2562
|
+
args: ['mozDatatableSort']
|
|
2563
|
+
}], sortEmitter: [{
|
|
2564
|
+
type: Output
|
|
2565
|
+
}], onSortClick: [{
|
|
2566
|
+
type: HostListener,
|
|
2567
|
+
args: ['click', ['$event']]
|
|
2568
|
+
}] } });
|
|
2569
|
+
|
|
2570
|
+
class MozDatatableComponent {
|
|
2571
|
+
constructor() {
|
|
2572
|
+
// FROM BODY DATATABLE
|
|
2573
|
+
this.rowClick = new EventEmitter();
|
|
2574
|
+
this.sortColumn = new EventEmitter();
|
|
2575
|
+
this.rowSelected = new EventEmitter();
|
|
2576
|
+
this.rowAllSelected = new EventEmitter();
|
|
2577
|
+
this.emptyBodyButtonClicked = new EventEmitter();
|
|
2578
|
+
// FROM PAGINATION FOOTER
|
|
2579
|
+
this.pageChange = new EventEmitter();
|
|
2580
|
+
this.rowPerPageChange = new EventEmitter();
|
|
2581
|
+
this.customHeaderCellsMap = new Map();
|
|
2582
|
+
this.customContentCellsMap = new Map();
|
|
2583
|
+
this.expandedRows = [];
|
|
2584
|
+
}
|
|
2585
|
+
ngAfterContentInit() {
|
|
2586
|
+
this.buildCustomHeaderMap();
|
|
2587
|
+
this.buildCustomContentMap();
|
|
2588
|
+
}
|
|
2589
|
+
buildCustomHeaderMap() {
|
|
2590
|
+
if (this.headerCellComponents) {
|
|
2591
|
+
this.headerCellComponents.forEach((header) => {
|
|
2592
|
+
if (header.field && header.templateRef) {
|
|
2593
|
+
this.customHeaderCellsMap.set(header.field, header.templateRef);
|
|
2594
|
+
}
|
|
2595
|
+
});
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
buildCustomContentMap() {
|
|
2599
|
+
if (this.contentCellComponents) {
|
|
2600
|
+
this.contentCellComponents.forEach((cell) => {
|
|
2601
|
+
if (cell.field && cell.templateRef) {
|
|
2602
|
+
this.customContentCellsMap.set(cell.field, cell.templateRef);
|
|
2603
|
+
}
|
|
2604
|
+
});
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
getCustomExpansionRowContent() {
|
|
2608
|
+
var _a;
|
|
2609
|
+
return (_a = this.expansionContentComponent) === null || _a === void 0 ? void 0 : _a.templateRef;
|
|
2610
|
+
}
|
|
2611
|
+
toggleRowExpansion(index) {
|
|
2612
|
+
this.expandedRows[index] = !this.expandedRows[index];
|
|
2613
|
+
}
|
|
2614
|
+
hasSubRow() {
|
|
2615
|
+
var _a;
|
|
2616
|
+
return (((_a = this.datatableSettings) === null || _a === void 0 ? void 0 : _a.rowData.filter((row) => row['subRow']).length) || 0) > 0;
|
|
2617
|
+
}
|
|
2618
|
+
getCustomHeader(columnId) {
|
|
2619
|
+
return this.customHeaderCellsMap.get(columnId);
|
|
2620
|
+
}
|
|
2621
|
+
getCustomContent(columnId) {
|
|
2622
|
+
return this.customContentCellsMap.get(columnId);
|
|
2623
|
+
}
|
|
2624
|
+
getColspanForExpansionRow() {
|
|
2625
|
+
var _a, _b, _c, _d, _e;
|
|
2626
|
+
return ((_a = this.datatableSettings) === null || _a === void 0 ? void 0 : _a.activateSelection)
|
|
2627
|
+
? (((_c = (_b = this.datatableSettings) === null || _b === void 0 ? void 0 : _b.columnDefs) === null || _c === void 0 ? void 0 : _c.length) || 0) + 2
|
|
2628
|
+
: (((_e = (_d = this.datatableSettings) === null || _d === void 0 ? void 0 : _d.columnDefs) === null || _e === void 0 ? void 0 : _e.length) || 0) + 1;
|
|
2629
|
+
}
|
|
2630
|
+
emptyButtonClickEvent() {
|
|
2631
|
+
this.emptyBodyButtonClicked.emit(true);
|
|
2632
|
+
}
|
|
2633
|
+
rowClickEvent(event, rowClick) {
|
|
2634
|
+
if (event.target instanceof HTMLInputElement) {
|
|
2635
|
+
event.stopPropagation();
|
|
2636
|
+
return;
|
|
2637
|
+
}
|
|
2638
|
+
this.rowClick.emit(rowClick);
|
|
2639
|
+
}
|
|
2640
|
+
selectionAllRowEvent($event) {
|
|
2641
|
+
this.rowAllSelected.emit($event);
|
|
2642
|
+
}
|
|
2643
|
+
selectionRowEvent($event) {
|
|
2644
|
+
this.rowSelected.emit(this.selectionSettings);
|
|
2645
|
+
$event.stopPropagation();
|
|
2646
|
+
}
|
|
2647
|
+
rowPerPageChangeEvent($event) {
|
|
2648
|
+
this.rowPerPageChange.emit($event);
|
|
2649
|
+
}
|
|
2650
|
+
pageChangeEvent($event) {
|
|
2651
|
+
this.pageChange.emit($event);
|
|
2652
|
+
}
|
|
2653
|
+
sortEvent($event) {
|
|
2654
|
+
this.sortColumn.emit($event);
|
|
2655
|
+
}
|
|
2656
|
+
getStyleLeftForColumnFixed() {
|
|
2657
|
+
var _a;
|
|
2658
|
+
return ((_a = this.datatableSettings) === null || _a === void 0 ? void 0 : _a.activateSelection) && this.thSelectionRef
|
|
2659
|
+
? this.thSelectionRef.nativeElement.clientWidth
|
|
2660
|
+
: 0;
|
|
2661
|
+
}
|
|
2662
|
+
getLeftValueFixFirstColumn() {
|
|
2663
|
+
var _a;
|
|
2664
|
+
let value = 0;
|
|
2665
|
+
if (((_a = this.datatableSettings) === null || _a === void 0 ? void 0 : _a.activateSelection) && this.thSelectionRef) {
|
|
2666
|
+
value += this.thSelectionRef.nativeElement.clientWidth;
|
|
2667
|
+
}
|
|
2668
|
+
if (this.hasSubRow() && this.thSubRowRef) {
|
|
2669
|
+
value += this.thSubRowRef.nativeElement.clientWidth;
|
|
2670
|
+
}
|
|
2671
|
+
return value;
|
|
2672
|
+
}
|
|
2673
|
+
getUnhiddenColumns() {
|
|
2674
|
+
var _a;
|
|
2675
|
+
return ((_a = this.datatableSettings) === null || _a === void 0 ? void 0 : _a.columnDefs.filter((headTitle) => !headTitle.hide)) || [];
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
MozDatatableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2679
|
+
MozDatatableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableComponent, selector: "moz-datatable", inputs: { footerSettings: "footerSettings", selectionSettings: "selectionSettings", datatableSettings: "datatableSettings" }, outputs: { rowClick: "rowClick", sortColumn: "sortColumn", rowSelected: "rowSelected", rowAllSelected: "rowAllSelected", emptyBodyButtonClicked: "emptyBodyButtonClicked", pageChange: "pageChange", rowPerPageChange: "rowPerPageChange" }, queries: [{ propertyName: "expansionContentComponent", first: true, predicate: MozDatatableRowExpansionContentComponent, descendants: true }, { propertyName: "headerCellComponents", predicate: MozDatatableHeaderCellComponent }, { propertyName: "contentCellComponents", predicate: MozDatatableContentCellComponent }], viewQueries: [{ propertyName: "selectionComponent", first: true, predicate: MozDatatableSelectionComponent, descendants: true }, { propertyName: "thSelectionRef", first: true, predicate: ["thSelection"], descendants: true }, { propertyName: "thSubRowRef", first: true, predicate: ["thSubRow"], descendants: true }], ngImport: i0, template: "<div class=\"mc-datatable mc-datatable-height\">\n <div class=\"mc-datatable__header\">\n <ng-content select=\"moz-datatable-caption\"></ng-content>\n <div>\n <moz-datatable-selection\n [selectionSettings]=\"selectionSettings\"\n [paginationEnabled]=\"datatableSettings?.activatePagination\"\n [rowData]=\"datatableSettings?.rowData\"\n (updateSelectionAllEmitter)=\"selectionAllRowEvent($event)\"\n ></moz-datatable-selection>\n </div>\n </div>\n <div class=\"mc-datatable__container mc-datatable-height\">\n <div class=\"mc-datatable__main mc-datatable-height\">\n <table class=\"mc-datatable__table\">\n <thead [ngClass]=\"{ 'fix-header-row': datatableSettings?.fixHeaderRow }\">\n <tr>\n <th\n class=\"mc-datatable__cell-checkbox moz-datatable__th mc-datatable__fix-first-column\"\n *ngIf=\"\n datatableSettings?.activateSelection && selectionComponent && selectionSettings\n \"\n #thSelection\n >\n <moz-checkbox\n (change)=\"\n selectionComponent.onUdpateSelectionAllPageRows($event); selectionRowEvent($event)\n \"\n [indeterminate]=\"selectionComponent.isIndeterminate\"\n [checked]=\"selectionSettings.allSelected && !selectionComponent.isIndeterminate\"\n [disabled]=\"datatableSettings?.isLoading || false\"\n >\n </moz-checkbox>\n </th>\n <th\n *ngIf=\"hasSubRow() && !datatableSettings?.isLoading\"\n class=\"mc-datatable__fix-first-column\"\n [style.left.px]=\"getStyleLeftForColumnFixed()\"\n #thSubRow\n ></th>\n <ng-container *ngFor=\"let columnDef of datatableSettings?.columnDefs\">\n <th\n class=\"moz-datatable__th\"\n *ngIf=\"!columnDef.hide\"\n [ngClass]=\"{\n 'mc-datatable__fix-first-column':\n datatableSettings?.fixFirstColumn &&\n getUnhiddenColumns()[0].field === columnDef.field\n }\"\n [style.left.px]=\"getLeftValueFixFirstColumn()\"\n >\n <div\n [mozDatatableSort]=\"columnDef\"\n [ngClass]=\"{ header: columnDef.sort }\"\n (sortEmitter)=\"sortEvent($event)\"\n >\n <ng-container\n *ngIf=\"getCustomHeader(columnDef.field) as customHeader; else defaultHeaderCell\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n customHeader;\n context: {\n $implicit: {\n content: columnDef\n }\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-template #defaultHeaderCell>\n {{ columnDef.headerName | uppercase }}\n </ng-template>\n </div>\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngIf=\"(datatableSettings?.rowData?.length || 0) > 0; else emptyBody\">\n <ng-container *ngFor=\"let row of datatableSettings?.rowData; index as i\">\n <tr class=\"mc-datatable__row-parent\" (click)=\"rowClickEvent($event, row)\">\n <td\n class=\"mc-datatable__fix-first-column\"\n *ngIf=\"datatableSettings?.activateSelection && selectionComponent\"\n >\n <ng-container *ngIf=\"datatableSettings?.isLoading; else notLoadingCheckbox\">\n <div class=\"skeleton-box mu-mb-100 checkbox-loading\"></div>\n </ng-container>\n <ng-template #notLoadingCheckbox>\n <moz-checkbox\n (change)=\"\n selectionComponent.onUdpateSelectionRow(row); selectionRowEvent($event)\n \"\n [(ngModel)]=\"row.selected\"\n [checked]=\"row.selected || false\"\n [disabled]=\"row.disableSelection || false\"\n >\n </moz-checkbox>\n </ng-template>\n </td>\n <ng-container *ngIf=\"hasSubRow() && !datatableSettings?.isLoading\">\n <td\n *ngIf=\"row['subRow']; else noSubRow\"\n class=\"mc-datatable__cell-button mc-datatable__fix-first-column\"\n [style.left.px]=\"getStyleLeftForColumnFixed()\"\n >\n <button\n class=\"mc-datatable__expand mc-datatable__btn\"\n (click)=\"toggleRowExpansion(i); $event.stopPropagation()\"\n >\n <span class=\"mc-datatable__btn-icon\">\n <ng-container *ngIf=\"!expandedRows[i]; else subrowClosed\">\n <moz-icon [iconName]=\"'Navigation_Control_Circle--More_24px'\"></moz-icon>\n </ng-container>\n <ng-template #subrowClosed>\n <moz-icon [iconName]=\"'Navigation_Control_Circle--Less_24px'\"></moz-icon>\n </ng-template>\n </span>\n </button>\n </td>\n <ng-template #noSubRow\n ><td\n class=\"mc-datatable__cell-button mc-datatable__fix-first-column\"\n [style.left.px]=\"getStyleLeftForColumnFixed()\"\n ></td\n ></ng-template>\n </ng-container>\n <ng-container *ngFor=\"let columnDef of datatableSettings?.columnDefs\">\n <td\n *ngIf=\"!columnDef.hide\"\n [ngClass]=\"{\n 'mc-datatable__fix-first-column':\n datatableSettings?.fixFirstColumn &&\n getUnhiddenColumns()[0].field === columnDef.field\n }\"\n [style.left.px]=\"getLeftValueFixFirstColumn()\"\n >\n <ng-container *ngIf=\"datatableSettings?.isLoading; else notLoadingCells\">\n <div class=\"skeleton-box mu-mb-100 cells-loading\"></div>\n </ng-container>\n <ng-template #notLoadingCells>\n <ng-container\n *ngIf=\"\n getCustomContent(columnDef.field) as customContent;\n else defaultContentCell\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n customContent;\n context: {\n $implicit: {\n row: row,\n index: i,\n columnDefs: datatableSettings?.columnDefs,\n content: row[columnDef.field]\n }\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-template #defaultContentCell>\n {{ row[columnDef.field] }}\n </ng-template>\n </ng-template>\n </td>\n </ng-container>\n </tr>\n <ng-container>\n <tr *ngIf=\"expandedRows[i]\">\n <td [attr.colspan]=\"getColspanForExpansionRow()\">\n <ng-container\n *ngIf=\"getCustomExpansionRowContent() as expansionRowContentComponent\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n expansionRowContentComponent;\n context: {\n $implicit: {\n subRowContent: row['subRow'],\n index: i,\n }\n }\n \"\n ></ng-container>\n </ng-container>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #emptyBody>\n <tr class=\"mc-datatable__empty\">\n <td colspan=\"5\" class=\"mc-datatable__empty-cell\">\n <div class=\"mc-datatable__empty-content\">\n <div>\n <div>\n <p>\n <strong>\n {{\n datatableSettings?.labels?.emptyBodyTitle || 'There is no result.'\n }}</strong\n ><br />\n {{\n datatableSettings?.labels?.emptyBodyDescription ||\n 'Please try changing your filters.'\n }}\n </p>\n </div>\n <div *ngIf=\"datatableSettings?.activateEmptyBodyButton\">\n <button\n moz-button\n [theme]=\"'neutral'\"\n [size]=\"'s'\"\n [variation]=\"'bordered'\"\n (click)=\"emptyButtonClickEvent()\"\n >\n <moz-icon\n iconName=\"{{\n datatableSettings?.icons?.emptyBodyButtonIcon ||\n 'Navigation_Display_Filter_24px'\n }}\"\n ></moz-icon>\n {{ datatableSettings?.labels?.emptyBodyButtonTitle || 'Change filters' }}\n </button>\n </div>\n </div>\n </div>\n </td>\n </tr></ng-template\n >\n </tbody>\n </table>\n </div>\n <moz-datatable-footer\n *ngIf=\"datatableSettings?.activatePagination\"\n [footerSettings]=\"footerSettings\"\n [isLoading]=\"datatableSettings?.isLoading\"\n (rowPerPageChangeEmitter)=\"rowPerPageChangeEvent($event)\"\n (pageChangeEmitter)=\"pageChangeEvent($event)\"\n ></moz-datatable-footer>\n </div>\n</div>\n", styles: [".mc-datatable{font-family:LeroyMerlin,sans-serif;box-sizing:border-box}.mc-datatable *,.mc-datatable :after,.mc-datatable :before{box-sizing:inherit}.mc-datatable__container{border-radius:4px;box-shadow:0 1px 5px #19191933;background-color:#e6e6e6;overflow:hidden}.mc-datatable__main{scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin;overflow:auto}.mc-datatable__main::-webkit-scrollbar{background-color:#e6e6e6;height:.5rem;width:.5rem}.mc-datatable__main::-webkit-scrollbar-track{background:#e6e6e6}.mc-datatable__main::-webkit-scrollbar-thumb{background:#666666}.mc-datatable__table tr,.mc-datatable thead th,.mc-datatable thead td{height:2.9375rem}.mc-datatable__table{border-collapse:collapse;border-spacing:0;caption-side:bottom;width:100%}.mc-datatable__table>thead,.mc-datatable__table>tbody{background-color:#fff}.mc-datatable__table th,.mc-datatable__table td{border-bottom:1px solid #b3b3b3;text-align:left;vertical-align:middle;padding-right:1rem;padding-left:1rem}.mc-datatable thead th,.mc-datatable thead td{font-weight:600;font-size:.75rem;line-height:1.3333333333;color:#191919;text-transform:uppercase}.mc-datatable__head{align-items:center;display:flex;justify-content:space-between}.mc-datatable tbody tr:hover:not(.mc-datatable__empty){background-color:#e6e6e6}.mc-datatable tbody tr.selected{background-color:#ebf5de}.mc-datatable tbody th,.mc-datatable tbody td{font-size:.875rem;line-height:1.2857142857;color:#191919}.mc-datatable__row-parent:not(.mc-datatable__row-parent--expanded)+.mc-datatable__row-expandable{height:0}.mc-datatable__row-parent:not(.mc-datatable__row-parent--expanded)+.mc-datatable__row-expandable .mc-datatable__row-inner{overflow:hidden;max-height:0}.mc-datatable__row-parent.mc-datatable__row-parent--expanded+.mc-datatable__row-expandable .mc-datatable__row-inner{max-height:100%}.mc-datatable__row-expandable>td{padding:0;border-bottom:0}.mc-datatable__row-expandable--offset-1 table th:first-child,.mc-datatable__row-expandable--offset-1 table td:first-child{padding-left:4.25rem}.mc-datatable__row-expandable--offset-2 table th:first-child,.mc-datatable__row-expandable--offset-2 table td:first-child{padding-left:7.75rem}.mc-datatable__cell-checkbox{width:3.25rem}.mc-datatable__cell-button{width:3.5rem}.mc-datatable__cell-field{min-width:9.375rem}td.mc-datatable__cell-number{text-align:right}.mc-datatable__empty,.mc-datatable__empty:hover{background-color:#e6e6e6}.mc-datatable__empty-cell{color:#666}.mc-datatable__empty-content{font-size:1rem;line-height:1.375;align-items:center;color:#666;display:flex;gap:1.5rem;min-height:19.375rem;justify-content:center;text-align:center}.mc-datatable__empty-content strong{font-size:1.125rem;line-height:1.3333333333}.mc-datatable--s .mc-datatable__table tr,.mc-datatable--s .mc-datatable thead th,.mc-datatable--s .mc-datatable thead td{height:2.4375rem}.mc-datatable--l .mc-datatable__table tr,.mc-datatable--l .mc-datatable thead th,.mc-datatable--l .mc-datatable thead td{height:3.4375rem}.mc-datatable--sticky .mc-datatable__table>thead,.mc-datatable--sticky-header .mc-datatable__table>thead{box-shadow:0 4px 20px #19191933;top:0;z-index:2}.mc-datatable--sticky .mc-datatable__table>tbody tr:last-child th,.mc-datatable--sticky .mc-datatable__table>tbody tr:last-child td,.mc-datatable--sticky-header .mc-datatable__table>tbody tr:last-child th,.mc-datatable--sticky-header .mc-datatable__table>tbody tr:last-child td{border-bottom:transparent}.mc-datatable--sticky .mc-datatable__footer,.mc-datatable--sticky-header .mc-datatable__footer{border-top:1px solid #b3b3b3;position:relative;z-index:2}.mc-datatable--sticky .mc-datatable__main{padding-top:2.9375rem;transform:translateZ(0)}.mc-datatable--sticky .mc-datatable__table{scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin;display:block;overflow-y:auto}.mc-datatable--sticky .mc-datatable__table::-webkit-scrollbar{background-color:#e6e6e6;height:.5rem;width:.5rem}.mc-datatable--sticky .mc-datatable__table::-webkit-scrollbar-track{background:#e6e6e6}.mc-datatable--sticky .mc-datatable__table::-webkit-scrollbar-thumb{background:#666666}.mc-datatable--sticky .mc-datatable__table>thead{position:fixed;width:100%}.mc-datatable--sticky .mc-datatable__table>thead,.mc-datatable--sticky .mc-datatable__table>tbody,.mc-datatable--sticky .mc-datatable__table>thead tr,.mc-datatable--sticky .mc-datatable__table>tbody tr,.mc-datatable--sticky .mc-datatable__table>thead th,.mc-datatable--sticky .mc-datatable__table>thead td,.mc-datatable--sticky .mc-datatable__table>tbody th,.mc-datatable--sticky .mc-datatable__table>tbody td{display:flex}.mc-datatable--sticky .mc-datatable__table>thead,.mc-datatable--sticky .mc-datatable__table>tbody,.mc-datatable--sticky .mc-datatable__table>thead tr,.mc-datatable--sticky .mc-datatable__table>tbody tr{width:100%}.mc-datatable--sticky .mc-datatable__table>tbody{flex-direction:column}.mc-datatable--sticky .mc-datatable__table>thead th,.mc-datatable--sticky .mc-datatable__table>thead td,.mc-datatable--sticky .mc-datatable__table>tbody th,.mc-datatable--sticky .mc-datatable__table>tbody td{align-items:center}.mc-datatable--sticky .mc-datatable__table>thead th:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button),.mc-datatable--sticky .mc-datatable__table>thead td:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button),.mc-datatable--sticky .mc-datatable__table>tbody th:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button),.mc-datatable--sticky .mc-datatable__table>tbody td:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button){flex:1}.mc-datatable--sticky .mc-datatable__cell-checkbox,.mc-datatable--sticky .mc-datatable__cell-button,.mc-datatable--sticky .mc-datatable__cell-field,.mc-datatable--sticky .mc-datatable__cell-number{flex-shrink:0}.mc-datatable--sticky .mc-datatable__cell-number{justify-content:flex-end}.mc-datatable--sticky-header .mc-datatable__main{overflow-y:auto}.mc-datatable--sticky-header .mc-datatable__table>thead{position:sticky}.mc-datatable--overflow-visible .mc-datatable__container,.mc-datatable--overflow-visible .mc-datatable__main{overflow:visible}.mc-datatable__btn{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;align-items:center;background-color:transparent;display:flex}.mc-datatable__btn-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-datatable__btn-icon,.mc-datatable__btn svg{width:1.5rem;height:1.5rem}.mc-datatable__sort{font-weight:600;font-size:.75rem;line-height:1.3333333333;color:#191919;text-transform:uppercase;align-items:center;display:flex;height:100%;font-family:inherit;justify-content:space-between;width:100%}.mc-datatable__sort-arrow{align-items:center;display:flex;flex-direction:column;height:1.5rem;justify-content:space-around;margin-left:.5rem;width:1.5rem}.mc-datatable__sort-arrow:after,.mc-datatable__sort-arrow:before{background-color:#ccc;content:\"\";flex-shrink:0;height:.5rem;width:.75rem}.mc-datatable__sort-arrow:before{clip-path:polygon(50% 0%,0% 100%,100% 100%)}.asc .mc-datatable__sort-arrow:before{background-color:#333}.desc .mc-datatable__sort-arrow:before{display:none}.mc-datatable__sort-arrow:after{clip-path:polygon(0 0,100% 0,50% 100%)}.asc .mc-datatable__sort-arrow:after{display:none}.desc .mc-datatable__sort-arrow:after{background-color:#333}.mc-datatable__options{width:1.5rem;height:1.5rem}.mc-datatable__expand .mc-datatable__btn-icon{fill:#46a610}.mc-datatable .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-datatable__topbar{justify-content:space-between;padding-top:1rem;padding-bottom:1rem}.mc-datatable__topbar,.mc-datatable__topbar-edition,.mc-datatable__topbar-actions{display:flex;gap:1rem}.mc-datatable__topbar-edition,.mc-datatable__topbar-actions{flex-wrap:wrap}.mc-datatable__topbar-edition{flex-shrink:0}.mc-datatable__topbar-actions{align-items:center;justify-content:flex-end;margin-left:auto}.mc-datatable__filters{align-items:center;border-top:1px solid #b3b3b3;display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-end;padding-top:1rem;padding-bottom:1rem}.mc-datatable__footer{align-items:center;background-color:#fff;display:flex;padding:.75rem 1rem;gap:1rem}@media screen and (max-width: 679px){.mc-datatable__footer{flex-direction:column}}.mc-datatable__select{display:flex;align-items:center;gap:.5rem}.mc-datatable__select-label{font-size:.875rem;line-height:1.2857142857;color:#333;flex-shrink:0}.mc-datatable__count{font-size:.75rem;line-height:1.3333333333;color:#666}.mc-datatable__pagination{margin-left:auto}.mc-datatable__subtable{border-collapse:collapse;border-spacing:0;caption-side:bottom;width:100%;background-color:#e6e6e6}.mc-datatable__subtable th,.mc-datatable__subtable td{border-bottom-color:#b3b3b3}.mc-datatable__subtable thead th,.mc-datatable__subtable thead td{font-size:.75rem;line-height:1.3333333333;color:#000}.mc-datatable__subtable tbody th,.mc-datatable__subtable tbody td{color:#000}.fix-header-row{position:sticky;top:0;box-shadow:0 1px 5px #22202033}.header{align-items:center;display:flex;height:100%;font-family:inherit;justify-content:space-between;width:100%}.is-sorted-asc:before{background-color:var(--color-datatable-sort-arrow-active, #333333)}.is-sorted-desc:after{background-color:var(--color-datatable-sort-arrow-active, #333333)}.mc-datatable-height{height:100%}.mc-datatable__sort-arrow{cursor:pointer}.mc-datatable__fix-first-column{position:sticky;background-color:#fff;left:0}.skeleton-box{display:inline-block;position:relative;overflow:hidden;background-color:#ccc}.skeleton-box:after{position:absolute;inset:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));animation:shimmer 2s infinite;content:\"\"}@keyframes shimmer{to{transform:translate(100%)}}.checkbox-loading{width:25px;height:25px}.cells-loading{width:250px;height:25px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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: CheckboxComponent, selector: "moz-checkbox", inputs: ["disabled", "indeterminate", "invalid", "checked"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }, { kind: "component", type: MozDatatableFooterComponent, selector: "moz-datatable-footer", inputs: ["footerSettings", "isLoading"], outputs: ["rowPerPageChangeEmitter", "pageChangeEmitter"] }, { kind: "component", type: MozDatatableSelectionComponent, selector: "moz-datatable-selection", inputs: ["selectionSettings", "paginationEnabled", "rowData"], outputs: ["updateSelectionAllEmitter"] }, { kind: "directive", type: MozDatatableSortDirective, selector: "[mozDatatableSort]", inputs: ["mozDatatableSort"], outputs: ["sortEmitter"] }, { kind: "pipe", type: i1.UpperCasePipe, name: "uppercase" }], encapsulation: i0.ViewEncapsulation.None });
|
|
2680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableComponent, decorators: [{
|
|
2681
|
+
type: Component,
|
|
2682
|
+
args: [{ selector: 'moz-datatable', encapsulation: ViewEncapsulation.None, template: "<div class=\"mc-datatable mc-datatable-height\">\n <div class=\"mc-datatable__header\">\n <ng-content select=\"moz-datatable-caption\"></ng-content>\n <div>\n <moz-datatable-selection\n [selectionSettings]=\"selectionSettings\"\n [paginationEnabled]=\"datatableSettings?.activatePagination\"\n [rowData]=\"datatableSettings?.rowData\"\n (updateSelectionAllEmitter)=\"selectionAllRowEvent($event)\"\n ></moz-datatable-selection>\n </div>\n </div>\n <div class=\"mc-datatable__container mc-datatable-height\">\n <div class=\"mc-datatable__main mc-datatable-height\">\n <table class=\"mc-datatable__table\">\n <thead [ngClass]=\"{ 'fix-header-row': datatableSettings?.fixHeaderRow }\">\n <tr>\n <th\n class=\"mc-datatable__cell-checkbox moz-datatable__th mc-datatable__fix-first-column\"\n *ngIf=\"\n datatableSettings?.activateSelection && selectionComponent && selectionSettings\n \"\n #thSelection\n >\n <moz-checkbox\n (change)=\"\n selectionComponent.onUdpateSelectionAllPageRows($event); selectionRowEvent($event)\n \"\n [indeterminate]=\"selectionComponent.isIndeterminate\"\n [checked]=\"selectionSettings.allSelected && !selectionComponent.isIndeterminate\"\n [disabled]=\"datatableSettings?.isLoading || false\"\n >\n </moz-checkbox>\n </th>\n <th\n *ngIf=\"hasSubRow() && !datatableSettings?.isLoading\"\n class=\"mc-datatable__fix-first-column\"\n [style.left.px]=\"getStyleLeftForColumnFixed()\"\n #thSubRow\n ></th>\n <ng-container *ngFor=\"let columnDef of datatableSettings?.columnDefs\">\n <th\n class=\"moz-datatable__th\"\n *ngIf=\"!columnDef.hide\"\n [ngClass]=\"{\n 'mc-datatable__fix-first-column':\n datatableSettings?.fixFirstColumn &&\n getUnhiddenColumns()[0].field === columnDef.field\n }\"\n [style.left.px]=\"getLeftValueFixFirstColumn()\"\n >\n <div\n [mozDatatableSort]=\"columnDef\"\n [ngClass]=\"{ header: columnDef.sort }\"\n (sortEmitter)=\"sortEvent($event)\"\n >\n <ng-container\n *ngIf=\"getCustomHeader(columnDef.field) as customHeader; else defaultHeaderCell\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n customHeader;\n context: {\n $implicit: {\n content: columnDef\n }\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-template #defaultHeaderCell>\n {{ columnDef.headerName | uppercase }}\n </ng-template>\n </div>\n </th>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngIf=\"(datatableSettings?.rowData?.length || 0) > 0; else emptyBody\">\n <ng-container *ngFor=\"let row of datatableSettings?.rowData; index as i\">\n <tr class=\"mc-datatable__row-parent\" (click)=\"rowClickEvent($event, row)\">\n <td\n class=\"mc-datatable__fix-first-column\"\n *ngIf=\"datatableSettings?.activateSelection && selectionComponent\"\n >\n <ng-container *ngIf=\"datatableSettings?.isLoading; else notLoadingCheckbox\">\n <div class=\"skeleton-box mu-mb-100 checkbox-loading\"></div>\n </ng-container>\n <ng-template #notLoadingCheckbox>\n <moz-checkbox\n (change)=\"\n selectionComponent.onUdpateSelectionRow(row); selectionRowEvent($event)\n \"\n [(ngModel)]=\"row.selected\"\n [checked]=\"row.selected || false\"\n [disabled]=\"row.disableSelection || false\"\n >\n </moz-checkbox>\n </ng-template>\n </td>\n <ng-container *ngIf=\"hasSubRow() && !datatableSettings?.isLoading\">\n <td\n *ngIf=\"row['subRow']; else noSubRow\"\n class=\"mc-datatable__cell-button mc-datatable__fix-first-column\"\n [style.left.px]=\"getStyleLeftForColumnFixed()\"\n >\n <button\n class=\"mc-datatable__expand mc-datatable__btn\"\n (click)=\"toggleRowExpansion(i); $event.stopPropagation()\"\n >\n <span class=\"mc-datatable__btn-icon\">\n <ng-container *ngIf=\"!expandedRows[i]; else subrowClosed\">\n <moz-icon [iconName]=\"'Navigation_Control_Circle--More_24px'\"></moz-icon>\n </ng-container>\n <ng-template #subrowClosed>\n <moz-icon [iconName]=\"'Navigation_Control_Circle--Less_24px'\"></moz-icon>\n </ng-template>\n </span>\n </button>\n </td>\n <ng-template #noSubRow\n ><td\n class=\"mc-datatable__cell-button mc-datatable__fix-first-column\"\n [style.left.px]=\"getStyleLeftForColumnFixed()\"\n ></td\n ></ng-template>\n </ng-container>\n <ng-container *ngFor=\"let columnDef of datatableSettings?.columnDefs\">\n <td\n *ngIf=\"!columnDef.hide\"\n [ngClass]=\"{\n 'mc-datatable__fix-first-column':\n datatableSettings?.fixFirstColumn &&\n getUnhiddenColumns()[0].field === columnDef.field\n }\"\n [style.left.px]=\"getLeftValueFixFirstColumn()\"\n >\n <ng-container *ngIf=\"datatableSettings?.isLoading; else notLoadingCells\">\n <div class=\"skeleton-box mu-mb-100 cells-loading\"></div>\n </ng-container>\n <ng-template #notLoadingCells>\n <ng-container\n *ngIf=\"\n getCustomContent(columnDef.field) as customContent;\n else defaultContentCell\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n customContent;\n context: {\n $implicit: {\n row: row,\n index: i,\n columnDefs: datatableSettings?.columnDefs,\n content: row[columnDef.field]\n }\n }\n \"\n ></ng-container>\n </ng-container>\n <ng-template #defaultContentCell>\n {{ row[columnDef.field] }}\n </ng-template>\n </ng-template>\n </td>\n </ng-container>\n </tr>\n <ng-container>\n <tr *ngIf=\"expandedRows[i]\">\n <td [attr.colspan]=\"getColspanForExpansionRow()\">\n <ng-container\n *ngIf=\"getCustomExpansionRowContent() as expansionRowContentComponent\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n expansionRowContentComponent;\n context: {\n $implicit: {\n subRowContent: row['subRow'],\n index: i,\n }\n }\n \"\n ></ng-container>\n </ng-container>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #emptyBody>\n <tr class=\"mc-datatable__empty\">\n <td colspan=\"5\" class=\"mc-datatable__empty-cell\">\n <div class=\"mc-datatable__empty-content\">\n <div>\n <div>\n <p>\n <strong>\n {{\n datatableSettings?.labels?.emptyBodyTitle || 'There is no result.'\n }}</strong\n ><br />\n {{\n datatableSettings?.labels?.emptyBodyDescription ||\n 'Please try changing your filters.'\n }}\n </p>\n </div>\n <div *ngIf=\"datatableSettings?.activateEmptyBodyButton\">\n <button\n moz-button\n [theme]=\"'neutral'\"\n [size]=\"'s'\"\n [variation]=\"'bordered'\"\n (click)=\"emptyButtonClickEvent()\"\n >\n <moz-icon\n iconName=\"{{\n datatableSettings?.icons?.emptyBodyButtonIcon ||\n 'Navigation_Display_Filter_24px'\n }}\"\n ></moz-icon>\n {{ datatableSettings?.labels?.emptyBodyButtonTitle || 'Change filters' }}\n </button>\n </div>\n </div>\n </div>\n </td>\n </tr></ng-template\n >\n </tbody>\n </table>\n </div>\n <moz-datatable-footer\n *ngIf=\"datatableSettings?.activatePagination\"\n [footerSettings]=\"footerSettings\"\n [isLoading]=\"datatableSettings?.isLoading\"\n (rowPerPageChangeEmitter)=\"rowPerPageChangeEvent($event)\"\n (pageChangeEmitter)=\"pageChangeEvent($event)\"\n ></moz-datatable-footer>\n </div>\n</div>\n", styles: [".mc-datatable{font-family:LeroyMerlin,sans-serif;box-sizing:border-box}.mc-datatable *,.mc-datatable :after,.mc-datatable :before{box-sizing:inherit}.mc-datatable__container{border-radius:4px;box-shadow:0 1px 5px #19191933;background-color:#e6e6e6;overflow:hidden}.mc-datatable__main{scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin;overflow:auto}.mc-datatable__main::-webkit-scrollbar{background-color:#e6e6e6;height:.5rem;width:.5rem}.mc-datatable__main::-webkit-scrollbar-track{background:#e6e6e6}.mc-datatable__main::-webkit-scrollbar-thumb{background:#666666}.mc-datatable__table tr,.mc-datatable thead th,.mc-datatable thead td{height:2.9375rem}.mc-datatable__table{border-collapse:collapse;border-spacing:0;caption-side:bottom;width:100%}.mc-datatable__table>thead,.mc-datatable__table>tbody{background-color:#fff}.mc-datatable__table th,.mc-datatable__table td{border-bottom:1px solid #b3b3b3;text-align:left;vertical-align:middle;padding-right:1rem;padding-left:1rem}.mc-datatable thead th,.mc-datatable thead td{font-weight:600;font-size:.75rem;line-height:1.3333333333;color:#191919;text-transform:uppercase}.mc-datatable__head{align-items:center;display:flex;justify-content:space-between}.mc-datatable tbody tr:hover:not(.mc-datatable__empty){background-color:#e6e6e6}.mc-datatable tbody tr.selected{background-color:#ebf5de}.mc-datatable tbody th,.mc-datatable tbody td{font-size:.875rem;line-height:1.2857142857;color:#191919}.mc-datatable__row-parent:not(.mc-datatable__row-parent--expanded)+.mc-datatable__row-expandable{height:0}.mc-datatable__row-parent:not(.mc-datatable__row-parent--expanded)+.mc-datatable__row-expandable .mc-datatable__row-inner{overflow:hidden;max-height:0}.mc-datatable__row-parent.mc-datatable__row-parent--expanded+.mc-datatable__row-expandable .mc-datatable__row-inner{max-height:100%}.mc-datatable__row-expandable>td{padding:0;border-bottom:0}.mc-datatable__row-expandable--offset-1 table th:first-child,.mc-datatable__row-expandable--offset-1 table td:first-child{padding-left:4.25rem}.mc-datatable__row-expandable--offset-2 table th:first-child,.mc-datatable__row-expandable--offset-2 table td:first-child{padding-left:7.75rem}.mc-datatable__cell-checkbox{width:3.25rem}.mc-datatable__cell-button{width:3.5rem}.mc-datatable__cell-field{min-width:9.375rem}td.mc-datatable__cell-number{text-align:right}.mc-datatable__empty,.mc-datatable__empty:hover{background-color:#e6e6e6}.mc-datatable__empty-cell{color:#666}.mc-datatable__empty-content{font-size:1rem;line-height:1.375;align-items:center;color:#666;display:flex;gap:1.5rem;min-height:19.375rem;justify-content:center;text-align:center}.mc-datatable__empty-content strong{font-size:1.125rem;line-height:1.3333333333}.mc-datatable--s .mc-datatable__table tr,.mc-datatable--s .mc-datatable thead th,.mc-datatable--s .mc-datatable thead td{height:2.4375rem}.mc-datatable--l .mc-datatable__table tr,.mc-datatable--l .mc-datatable thead th,.mc-datatable--l .mc-datatable thead td{height:3.4375rem}.mc-datatable--sticky .mc-datatable__table>thead,.mc-datatable--sticky-header .mc-datatable__table>thead{box-shadow:0 4px 20px #19191933;top:0;z-index:2}.mc-datatable--sticky .mc-datatable__table>tbody tr:last-child th,.mc-datatable--sticky .mc-datatable__table>tbody tr:last-child td,.mc-datatable--sticky-header .mc-datatable__table>tbody tr:last-child th,.mc-datatable--sticky-header .mc-datatable__table>tbody tr:last-child td{border-bottom:transparent}.mc-datatable--sticky .mc-datatable__footer,.mc-datatable--sticky-header .mc-datatable__footer{border-top:1px solid #b3b3b3;position:relative;z-index:2}.mc-datatable--sticky .mc-datatable__main{padding-top:2.9375rem;transform:translateZ(0)}.mc-datatable--sticky .mc-datatable__table{scrollbar-color:#666666 #e6e6e6;scrollbar-width:thin;display:block;overflow-y:auto}.mc-datatable--sticky .mc-datatable__table::-webkit-scrollbar{background-color:#e6e6e6;height:.5rem;width:.5rem}.mc-datatable--sticky .mc-datatable__table::-webkit-scrollbar-track{background:#e6e6e6}.mc-datatable--sticky .mc-datatable__table::-webkit-scrollbar-thumb{background:#666666}.mc-datatable--sticky .mc-datatable__table>thead{position:fixed;width:100%}.mc-datatable--sticky .mc-datatable__table>thead,.mc-datatable--sticky .mc-datatable__table>tbody,.mc-datatable--sticky .mc-datatable__table>thead tr,.mc-datatable--sticky .mc-datatable__table>tbody tr,.mc-datatable--sticky .mc-datatable__table>thead th,.mc-datatable--sticky .mc-datatable__table>thead td,.mc-datatable--sticky .mc-datatable__table>tbody th,.mc-datatable--sticky .mc-datatable__table>tbody td{display:flex}.mc-datatable--sticky .mc-datatable__table>thead,.mc-datatable--sticky .mc-datatable__table>tbody,.mc-datatable--sticky .mc-datatable__table>thead tr,.mc-datatable--sticky .mc-datatable__table>tbody tr{width:100%}.mc-datatable--sticky .mc-datatable__table>tbody{flex-direction:column}.mc-datatable--sticky .mc-datatable__table>thead th,.mc-datatable--sticky .mc-datatable__table>thead td,.mc-datatable--sticky .mc-datatable__table>tbody th,.mc-datatable--sticky .mc-datatable__table>tbody td{align-items:center}.mc-datatable--sticky .mc-datatable__table>thead th:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button),.mc-datatable--sticky .mc-datatable__table>thead td:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button),.mc-datatable--sticky .mc-datatable__table>tbody th:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button),.mc-datatable--sticky .mc-datatable__table>tbody td:not(.mc-datatable__cell-checkbox):not(.mc-datatable__cell-button){flex:1}.mc-datatable--sticky .mc-datatable__cell-checkbox,.mc-datatable--sticky .mc-datatable__cell-button,.mc-datatable--sticky .mc-datatable__cell-field,.mc-datatable--sticky .mc-datatable__cell-number{flex-shrink:0}.mc-datatable--sticky .mc-datatable__cell-number{justify-content:flex-end}.mc-datatable--sticky-header .mc-datatable__main{overflow-y:auto}.mc-datatable--sticky-header .mc-datatable__table>thead{position:sticky}.mc-datatable--overflow-visible .mc-datatable__container,.mc-datatable--overflow-visible .mc-datatable__main{overflow:visible}.mc-datatable__btn{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;align-items:center;background-color:transparent;display:flex}.mc-datatable__btn-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-datatable__btn-icon,.mc-datatable__btn svg{width:1.5rem;height:1.5rem}.mc-datatable__sort{font-weight:600;font-size:.75rem;line-height:1.3333333333;color:#191919;text-transform:uppercase;align-items:center;display:flex;height:100%;font-family:inherit;justify-content:space-between;width:100%}.mc-datatable__sort-arrow{align-items:center;display:flex;flex-direction:column;height:1.5rem;justify-content:space-around;margin-left:.5rem;width:1.5rem}.mc-datatable__sort-arrow:after,.mc-datatable__sort-arrow:before{background-color:#ccc;content:\"\";flex-shrink:0;height:.5rem;width:.75rem}.mc-datatable__sort-arrow:before{clip-path:polygon(50% 0%,0% 100%,100% 100%)}.asc .mc-datatable__sort-arrow:before{background-color:#333}.desc .mc-datatable__sort-arrow:before{display:none}.mc-datatable__sort-arrow:after{clip-path:polygon(0 0,100% 0,50% 100%)}.asc .mc-datatable__sort-arrow:after{display:none}.desc .mc-datatable__sort-arrow:after{background-color:#333}.mc-datatable__options{width:1.5rem;height:1.5rem}.mc-datatable__expand .mc-datatable__btn-icon{fill:#46a610}.mc-datatable .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-datatable__topbar{justify-content:space-between;padding-top:1rem;padding-bottom:1rem}.mc-datatable__topbar,.mc-datatable__topbar-edition,.mc-datatable__topbar-actions{display:flex;gap:1rem}.mc-datatable__topbar-edition,.mc-datatable__topbar-actions{flex-wrap:wrap}.mc-datatable__topbar-edition{flex-shrink:0}.mc-datatable__topbar-actions{align-items:center;justify-content:flex-end;margin-left:auto}.mc-datatable__filters{align-items:center;border-top:1px solid #b3b3b3;display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-end;padding-top:1rem;padding-bottom:1rem}.mc-datatable__footer{align-items:center;background-color:#fff;display:flex;padding:.75rem 1rem;gap:1rem}@media screen and (max-width: 679px){.mc-datatable__footer{flex-direction:column}}.mc-datatable__select{display:flex;align-items:center;gap:.5rem}.mc-datatable__select-label{font-size:.875rem;line-height:1.2857142857;color:#333;flex-shrink:0}.mc-datatable__count{font-size:.75rem;line-height:1.3333333333;color:#666}.mc-datatable__pagination{margin-left:auto}.mc-datatable__subtable{border-collapse:collapse;border-spacing:0;caption-side:bottom;width:100%;background-color:#e6e6e6}.mc-datatable__subtable th,.mc-datatable__subtable td{border-bottom-color:#b3b3b3}.mc-datatable__subtable thead th,.mc-datatable__subtable thead td{font-size:.75rem;line-height:1.3333333333;color:#000}.mc-datatable__subtable tbody th,.mc-datatable__subtable tbody td{color:#000}.fix-header-row{position:sticky;top:0;box-shadow:0 1px 5px #22202033}.header{align-items:center;display:flex;height:100%;font-family:inherit;justify-content:space-between;width:100%}.is-sorted-asc:before{background-color:var(--color-datatable-sort-arrow-active, #333333)}.is-sorted-desc:after{background-color:var(--color-datatable-sort-arrow-active, #333333)}.mc-datatable-height{height:100%}.mc-datatable__sort-arrow{cursor:pointer}.mc-datatable__fix-first-column{position:sticky;background-color:#fff;left:0}.skeleton-box{display:inline-block;position:relative;overflow:hidden;background-color:#ccc}.skeleton-box:after{position:absolute;inset:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0));animation:shimmer 2s infinite;content:\"\"}@keyframes shimmer{to{transform:translate(100%)}}.checkbox-loading{width:25px;height:25px}.cells-loading{width:250px;height:25px}\n"] }]
|
|
2683
|
+
}], propDecorators: { footerSettings: [{
|
|
2684
|
+
type: Input
|
|
2685
|
+
}], selectionSettings: [{
|
|
2686
|
+
type: Input
|
|
2687
|
+
}], datatableSettings: [{
|
|
2688
|
+
type: Input
|
|
2689
|
+
}], rowClick: [{
|
|
2690
|
+
type: Output
|
|
2691
|
+
}], sortColumn: [{
|
|
2692
|
+
type: Output
|
|
2693
|
+
}], rowSelected: [{
|
|
2694
|
+
type: Output
|
|
2695
|
+
}], rowAllSelected: [{
|
|
2696
|
+
type: Output
|
|
2697
|
+
}], emptyBodyButtonClicked: [{
|
|
2698
|
+
type: Output
|
|
2699
|
+
}], selectionComponent: [{
|
|
2700
|
+
type: ViewChild,
|
|
2701
|
+
args: [MozDatatableSelectionComponent]
|
|
2702
|
+
}], pageChange: [{
|
|
2703
|
+
type: Output
|
|
2704
|
+
}], rowPerPageChange: [{
|
|
2705
|
+
type: Output
|
|
2706
|
+
}], thSelectionRef: [{
|
|
2707
|
+
type: ViewChild,
|
|
2708
|
+
args: ['thSelection', { static: false }]
|
|
2709
|
+
}], thSubRowRef: [{
|
|
2710
|
+
type: ViewChild,
|
|
2711
|
+
args: ['thSubRow', { static: false }]
|
|
2712
|
+
}], headerCellComponents: [{
|
|
2713
|
+
type: ContentChildren,
|
|
2714
|
+
args: [MozDatatableHeaderCellComponent]
|
|
2715
|
+
}], contentCellComponents: [{
|
|
2716
|
+
type: ContentChildren,
|
|
2717
|
+
args: [MozDatatableContentCellComponent]
|
|
2718
|
+
}], expansionContentComponent: [{
|
|
2719
|
+
type: ContentChild,
|
|
2720
|
+
args: [MozDatatableRowExpansionContentComponent]
|
|
2721
|
+
}] } });
|
|
2722
|
+
|
|
2723
|
+
class MozDatatableCaptionComponent {
|
|
2724
|
+
constructor(cdRef) {
|
|
2725
|
+
this.cdRef = cdRef;
|
|
2726
|
+
this.showParent = true;
|
|
2727
|
+
}
|
|
2728
|
+
ngAfterViewInit() {
|
|
2729
|
+
var _a, _b;
|
|
2730
|
+
if (((_a = this.parentRef) === null || _a === void 0 ? void 0 : _a.nativeElement.children) &&
|
|
2731
|
+
((_b = this.parentRef) === null || _b === void 0 ? void 0 : _b.nativeElement.children.length) === 0) {
|
|
2732
|
+
this.showParent = false;
|
|
2733
|
+
}
|
|
2734
|
+
this.cdRef.detectChanges();
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
MozDatatableCaptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableCaptionComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2738
|
+
MozDatatableCaptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableCaptionComponent, selector: "moz-datatable-caption", viewQueries: [{ propertyName: "parentRef", first: true, predicate: ["parentRef"], descendants: true }], ngImport: i0, template: "<div class=\"mc-datatable__topbar\">\n <div class=\"mc-datatable__topbar-edition\">\n <ng-content select=\"[edition]\"></ng-content>\n </div>\n <div class=\"mc-datatable__topbar-actions\">\n <ng-content select=\"[actions]\"></ng-content>\n </div>\n</div>\n<div class=\"mc-datatable__filters\" #parentRef *ngIf=\"showParent\">\n <ng-content select=\"[filters]\"></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableCaptionComponent, decorators: [{
|
|
2740
|
+
type: Component,
|
|
2741
|
+
args: [{ selector: 'moz-datatable-caption', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"mc-datatable__topbar\">\n <div class=\"mc-datatable__topbar-edition\">\n <ng-content select=\"[edition]\"></ng-content>\n </div>\n <div class=\"mc-datatable__topbar-actions\">\n <ng-content select=\"[actions]\"></ng-content>\n </div>\n</div>\n<div class=\"mc-datatable__filters\" #parentRef *ngIf=\"showParent\">\n <ng-content select=\"[filters]\"></ng-content>\n</div>\n" }]
|
|
2742
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { parentRef: [{
|
|
2743
|
+
type: ViewChild,
|
|
2744
|
+
args: ['parentRef']
|
|
2745
|
+
}] } });
|
|
2746
|
+
|
|
2747
|
+
class MozDatatableModule {
|
|
2748
|
+
}
|
|
2749
|
+
MozDatatableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2750
|
+
MozDatatableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableModule, declarations: [MozDatatableComponent,
|
|
2751
|
+
MozDatatableContentCellComponent,
|
|
2752
|
+
MozDatatableHeaderCellComponent,
|
|
2753
|
+
MozDatatableFooterComponent,
|
|
2754
|
+
MozDatatableCaptionComponent,
|
|
2755
|
+
MozDatatableRowExpansionContentComponent,
|
|
2756
|
+
MozDatatableSelectionComponent,
|
|
2757
|
+
MozDatatableSortDirective], imports: [CommonModule,
|
|
2758
|
+
PaginationModule,
|
|
2759
|
+
SelectModule,
|
|
2760
|
+
FormsModule,
|
|
2761
|
+
ButtonModule,
|
|
2762
|
+
CheckboxModule,
|
|
2763
|
+
IconModule,
|
|
2764
|
+
ToggleModule], exports: [MozDatatableComponent,
|
|
2765
|
+
MozDatatableContentCellComponent,
|
|
2766
|
+
MozDatatableHeaderCellComponent,
|
|
2767
|
+
MozDatatableFooterComponent,
|
|
2768
|
+
MozDatatableCaptionComponent,
|
|
2769
|
+
MozDatatableRowExpansionContentComponent,
|
|
2770
|
+
MozDatatableSelectionComponent,
|
|
2771
|
+
MozDatatableSortDirective] });
|
|
2772
|
+
MozDatatableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableModule, imports: [CommonModule,
|
|
2773
|
+
PaginationModule,
|
|
2774
|
+
SelectModule,
|
|
2775
|
+
FormsModule,
|
|
2776
|
+
ButtonModule,
|
|
2777
|
+
CheckboxModule,
|
|
2778
|
+
IconModule,
|
|
2779
|
+
ToggleModule] });
|
|
2780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableModule, decorators: [{
|
|
2781
|
+
type: NgModule,
|
|
2782
|
+
args: [{
|
|
2783
|
+
declarations: [
|
|
2784
|
+
MozDatatableComponent,
|
|
2785
|
+
MozDatatableContentCellComponent,
|
|
2786
|
+
MozDatatableHeaderCellComponent,
|
|
2787
|
+
MozDatatableFooterComponent,
|
|
2788
|
+
MozDatatableCaptionComponent,
|
|
2789
|
+
MozDatatableRowExpansionContentComponent,
|
|
2790
|
+
MozDatatableSelectionComponent,
|
|
2791
|
+
MozDatatableSortDirective,
|
|
2792
|
+
],
|
|
2793
|
+
imports: [
|
|
2794
|
+
CommonModule,
|
|
2795
|
+
PaginationModule,
|
|
2796
|
+
SelectModule,
|
|
2797
|
+
FormsModule,
|
|
2798
|
+
ButtonModule,
|
|
2799
|
+
CheckboxModule,
|
|
2800
|
+
IconModule,
|
|
2801
|
+
ToggleModule,
|
|
2802
|
+
],
|
|
2803
|
+
exports: [
|
|
2804
|
+
MozDatatableComponent,
|
|
2805
|
+
MozDatatableContentCellComponent,
|
|
2806
|
+
MozDatatableHeaderCellComponent,
|
|
2807
|
+
MozDatatableFooterComponent,
|
|
2808
|
+
MozDatatableCaptionComponent,
|
|
2809
|
+
MozDatatableRowExpansionContentComponent,
|
|
2810
|
+
MozDatatableSelectionComponent,
|
|
2811
|
+
MozDatatableSortDirective,
|
|
2812
|
+
],
|
|
2813
|
+
}]
|
|
2814
|
+
}] });
|
|
2815
|
+
|
|
2816
|
+
class TaglistLayerContentComponent {
|
|
2817
|
+
constructor(data, layerRef) {
|
|
2818
|
+
this.data = data;
|
|
2819
|
+
this.layerRef = layerRef;
|
|
2820
|
+
this.tagItems = [];
|
|
2821
|
+
this.tagSize = 's';
|
|
2822
|
+
this.tagItems = data.tags;
|
|
2823
|
+
this.tagSize = data.size;
|
|
2824
|
+
this._removedTagFromLayer$ = data.subject;
|
|
2825
|
+
this.layerRef.config$.subscribe((config) => {
|
|
2826
|
+
this.tagItems = config.data.tags;
|
|
2827
|
+
});
|
|
2828
|
+
}
|
|
2829
|
+
removeTagEvent(tagItem) {
|
|
2830
|
+
this._removedTagFromLayer$.next(tagItem);
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
TaglistLayerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistLayerContentComponent, deps: [{ token: LAYER_DATA }, { token: LAYER_REF }], target: i0.ɵɵFactoryTarget.Component });
|
|
2834
|
+
TaglistLayerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TaglistLayerContentComponent, selector: "moz-taglist-layer-content", host: { properties: { "class.mc-taglist__manage": "true" } }, ngImport: i0, template: "<div class=\"mc-taglist__body\">\n <div class=\"mc-taglist\">\n <moz-tag\n type=\"removable\"\n *ngFor=\"let tagItem of tagItems\"\n [size]=\"tagSize\"\n (clickOnRemove)=\"removeTagEvent(tagItem)\"\n >\n {{ tagItem.label }}\n </moz-tag>\n </div>\n</div>\n", styles: [".mc-taglist__footer{display:flex;justify-content:space-evenly;align-items:center}.mc-taglist__manage{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 0}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: TagComponent, selector: "moz-tag, a[moz-tag]", inputs: ["type", "size", "select"], outputs: ["selectChange", "clickOnRemove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistLayerContentComponent, decorators: [{
|
|
2836
|
+
type: Component,
|
|
2837
|
+
args: [{ selector: 'moz-taglist-layer-content', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.mc-taglist__manage]': 'true' }, template: "<div class=\"mc-taglist__body\">\n <div class=\"mc-taglist\">\n <moz-tag\n type=\"removable\"\n *ngFor=\"let tagItem of tagItems\"\n [size]=\"tagSize\"\n (clickOnRemove)=\"removeTagEvent(tagItem)\"\n >\n {{ tagItem.label }}\n </moz-tag>\n </div>\n</div>\n", styles: [".mc-taglist__footer{display:flex;justify-content:space-evenly;align-items:center}.mc-taglist__manage{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 0}\n"] }]
|
|
2838
|
+
}], ctorParameters: function () {
|
|
2839
|
+
return [{ type: undefined, decorators: [{
|
|
2840
|
+
type: Inject,
|
|
2841
|
+
args: [LAYER_DATA]
|
|
2842
|
+
}] }, { type: undefined, decorators: [{
|
|
2843
|
+
type: Inject,
|
|
2844
|
+
args: [LAYER_REF]
|
|
2845
|
+
}] }];
|
|
2846
|
+
} });
|
|
2847
|
+
|
|
2848
|
+
class TaglistComponent {
|
|
2849
|
+
constructor(layerService) {
|
|
2850
|
+
this.layerService = layerService;
|
|
2851
|
+
this.tagItems = [];
|
|
2852
|
+
this.tagSize = 's';
|
|
2853
|
+
this.showAllTitle = 'Show all';
|
|
2854
|
+
this.showAll = false;
|
|
2855
|
+
this.layerTagsTitle = 'Tags';
|
|
2856
|
+
this.layerTagsIcon = 'Navigation_Display_Setting_24px';
|
|
2857
|
+
this.max = 5;
|
|
2858
|
+
this.removeTag = new EventEmitter();
|
|
2859
|
+
this._removedTagFromLayer$ = new Subject();
|
|
2860
|
+
this.destroyed = new Subject();
|
|
2861
|
+
}
|
|
2862
|
+
showAllEvent() {
|
|
2863
|
+
this.taglistLayerRef = this.layerService.open(TaglistLayerContentComponent, {
|
|
2864
|
+
title: this.layerTagsTitle || 'Settings',
|
|
2865
|
+
icon: this.layerTagsIcon || 'Navigation_Display_Setting_24px',
|
|
2866
|
+
data: {
|
|
2867
|
+
tags: this.tagItems,
|
|
2868
|
+
size: this.tagSize,
|
|
2869
|
+
subject: this._removedTagFromLayer$,
|
|
2870
|
+
},
|
|
2871
|
+
});
|
|
2872
|
+
this._removedTagFromLayer$
|
|
2873
|
+
.pipe(takeUntil(this.destroyed))
|
|
2874
|
+
.subscribe((tagItem) => this.removeTagEvent(tagItem));
|
|
2875
|
+
}
|
|
2876
|
+
removeTagEvent(tagItem) {
|
|
2877
|
+
this.removeTag.emit(tagItem);
|
|
2878
|
+
}
|
|
2879
|
+
updateTaglistLayerConfig(tagItems) {
|
|
2880
|
+
this.taglistLayerRef.updateConfig({
|
|
2881
|
+
data: {
|
|
2882
|
+
tags: tagItems,
|
|
2883
|
+
},
|
|
2884
|
+
});
|
|
2885
|
+
}
|
|
2886
|
+
closeTaglistLayer() {
|
|
2887
|
+
this.taglistLayerRef.close();
|
|
2888
|
+
}
|
|
2889
|
+
ngOnDestroy() {
|
|
2890
|
+
this.destroyed.next(null);
|
|
2891
|
+
this.destroyed.complete();
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
TaglistComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistComponent, deps: [{ token: LayerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2895
|
+
TaglistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TaglistComponent, selector: "moz-taglist", inputs: { tagItems: "tagItems", tagSize: "tagSize", showAllTitle: "showAllTitle", showAll: "showAll", layerTagsTitle: "layerTagsTitle", layerTagsIcon: "layerTagsIcon", max: "max" }, outputs: { removeTag: "removeTag" }, ngImport: i0, template: "<div class=\"mc-taglist\">\n <ng-container *ngFor=\"let tagItem of tagItems; let i = index\">\n <moz-tag\n class=\"tag-selected\"\n *ngIf=\"i < max || showAll\"\n type=\"removable\"\n [size]=\"tagSize\"\n (clickOnRemove)=\"removeTagEvent(tagItem)\"\n >\n {{ tagItem.label }}\n </moz-tag>\n </ng-container>\n <ng-container *ngIf=\"!showAll && tagItems.length > max\">\n <a\n moz-tag\n [size]=\"tagSize\"\n class=\"tag-selected mc-taglist__showhide\"\n (click)=\"showAllEvent()\"\n >{{ showAllTitle }}</a\n >\n </ng-container>\n</div>\n", styles: [".mc-taglist{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.mc-taglist__showhide{cursor:pointer}\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: TagComponent, selector: "moz-tag, a[moz-tag]", inputs: ["type", "size", "select"], outputs: ["selectChange", "clickOnRemove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistComponent, decorators: [{
|
|
2897
|
+
type: Component,
|
|
2898
|
+
args: [{ selector: 'moz-taglist', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"mc-taglist\">\n <ng-container *ngFor=\"let tagItem of tagItems; let i = index\">\n <moz-tag\n class=\"tag-selected\"\n *ngIf=\"i < max || showAll\"\n type=\"removable\"\n [size]=\"tagSize\"\n (clickOnRemove)=\"removeTagEvent(tagItem)\"\n >\n {{ tagItem.label }}\n </moz-tag>\n </ng-container>\n <ng-container *ngIf=\"!showAll && tagItems.length > max\">\n <a\n moz-tag\n [size]=\"tagSize\"\n class=\"tag-selected mc-taglist__showhide\"\n (click)=\"showAllEvent()\"\n >{{ showAllTitle }}</a\n >\n </ng-container>\n</div>\n", styles: [".mc-taglist{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.mc-taglist__showhide{cursor:pointer}\n"] }]
|
|
2899
|
+
}], ctorParameters: function () { return [{ type: LayerService }]; }, propDecorators: { tagItems: [{
|
|
2900
|
+
type: Input
|
|
2901
|
+
}], tagSize: [{
|
|
2902
|
+
type: Input
|
|
2903
|
+
}], showAllTitle: [{
|
|
2904
|
+
type: Input
|
|
2905
|
+
}], showAll: [{
|
|
2906
|
+
type: Input
|
|
2907
|
+
}], layerTagsTitle: [{
|
|
2908
|
+
type: Input
|
|
2909
|
+
}], layerTagsIcon: [{
|
|
2910
|
+
type: Input
|
|
2911
|
+
}], max: [{
|
|
2912
|
+
type: Input
|
|
2913
|
+
}], removeTag: [{
|
|
2914
|
+
type: Output
|
|
2915
|
+
}] } });
|
|
2916
|
+
|
|
2917
|
+
class TaglistModule {
|
|
2918
|
+
}
|
|
2919
|
+
TaglistModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2920
|
+
TaglistModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TaglistModule, declarations: [TaglistComponent, TaglistLayerContentComponent], imports: [CommonModule, TagModule, ButtonModule], exports: [TaglistComponent, TaglistLayerContentComponent] });
|
|
2921
|
+
TaglistModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistModule, imports: [CommonModule, TagModule, ButtonModule] });
|
|
2922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TaglistModule, decorators: [{
|
|
2923
|
+
type: NgModule,
|
|
2924
|
+
args: [{
|
|
2925
|
+
declarations: [TaglistComponent, TaglistLayerContentComponent],
|
|
2926
|
+
imports: [CommonModule, TagModule, ButtonModule],
|
|
2927
|
+
exports: [TaglistComponent, TaglistLayerContentComponent],
|
|
2928
|
+
}]
|
|
2929
|
+
}] });
|
|
2930
|
+
|
|
2931
|
+
class ListboxComponent {
|
|
2932
|
+
constructor() {
|
|
2933
|
+
this.listboxItems = [];
|
|
2934
|
+
this.multiple = false;
|
|
2935
|
+
this.isOpen = false;
|
|
2936
|
+
this.itemsSelected = new EventEmitter();
|
|
2937
|
+
this.uuid = Math.random();
|
|
2938
|
+
}
|
|
2939
|
+
ngOnInit() {
|
|
2940
|
+
if (!this.multiple && this.selectedItems) {
|
|
2941
|
+
this.selectedItem = this.selectedItems.value;
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
selectedItemEvent(listboxItem) {
|
|
2945
|
+
if (this.multiple) {
|
|
2946
|
+
if (!this.selectedItems) {
|
|
2947
|
+
this.selectedItems = [];
|
|
2948
|
+
}
|
|
2949
|
+
const index = this.selectedItems.findIndex((selectedItem) => selectedItem.value === listboxItem.value);
|
|
2950
|
+
if (index !== -1) {
|
|
2951
|
+
this.selectedItems.splice(index, 1);
|
|
2952
|
+
}
|
|
2953
|
+
else {
|
|
2954
|
+
this.selectedItems.push(listboxItem);
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
else {
|
|
2958
|
+
this.selectedItems = listboxItem;
|
|
2959
|
+
}
|
|
2960
|
+
this.itemsSelected.emit(this.selectedItems);
|
|
2961
|
+
}
|
|
2962
|
+
isChecked(listboxItem) {
|
|
2963
|
+
let listBoxItemFounded;
|
|
2964
|
+
if (this.multiple) {
|
|
2965
|
+
listBoxItemFounded =
|
|
2966
|
+
this.selectedItems &&
|
|
2967
|
+
this.selectedItems.find((selectedItem) => selectedItem.value === listboxItem.value);
|
|
2968
|
+
}
|
|
2969
|
+
else {
|
|
2970
|
+
listBoxItemFounded = this.selectedItems;
|
|
2971
|
+
}
|
|
2972
|
+
return listBoxItemFounded != null;
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
ListboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ListboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2976
|
+
ListboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ListboxComponent, selector: "moz-listbox", inputs: { listboxItems: "listboxItems", multiple: "multiple", isOpen: "isOpen", selectedItems: "selectedItems", customMaxWidth: "customMaxWidth" }, outputs: { itemsSelected: "itemsSelected" }, ngImport: i0, template: "<ul\n [ngClass]=\"{ 'mc-listbox--multi': multiple, 'is-open': isOpen }\"\n class=\"mc-listbox\"\n [ngStyle]=\"{ 'max-width': customMaxWidth }\"\n role=\"listbox\"\n tabindex=\"0\"\n>\n <li\n class=\"mc-listbox__tile\"\n [ngClass]=\"{ 'is-disabled': listboxItem.disabled }\"\n role=\"option\"\n *ngFor=\"let listboxItem of listboxItems; let i = index\"\n >\n <moz-icon\n *ngIf=\"listboxItem.icon\"\n class=\"mc-listbox__icon\"\n [iconName]=\"listboxItem.icon\"\n ></moz-icon>\n <ng-container *ngIf=\"multiple; else monoSelection\">\n <input\n id=\"multiItem-{{ listboxItem.value + '-' + i + '-' + uuid }}\"\n (click)=\"selectedItemEvent(listboxItem)\"\n type=\"checkbox\"\n class=\"mc-listbox__input mc-checkbox__input\"\n disabled=\"{{ listboxItem.disabled }}\"\n [checked]=\"isChecked(listboxItem)\"\n value=\"{{ listboxItem.value }}\"\n />\n </ng-container>\n <ng-template #monoSelection>\n <input\n id=\"monoItem-{{ listboxItem.value + '-' + i + '-' + uuid }}\"\n (change)=\"selectedItemEvent(listboxItem)\"\n type=\"radio\"\n name=\"monoSelection\"\n class=\"mc-listbox__input\"\n [(ngModel)]=\"selectedItem\"\n [value]=\"listboxItem.value\"\n />\n </ng-template>\n\n <label\n for=\"{{\n multiple\n ? 'multiItem-' + listboxItem.value + '-' + i + '-' + uuid\n : 'monoItem-' + listboxItem.value + '-' + i + '-' + uuid\n }}\"\n class=\"mc-listbox__label\"\n >{{ listboxItem.label }}</label\n >\n </li>\n</ul>\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-listbox{list-style:none;margin-left:0;padding-left:0;background-color:#fff;border:1px solid #666666;border-radius:3px;position:absolute;overflow-y:auto;margin-top:.25rem;margin-bottom:0;max-height:13.8125rem;min-width:auto;opacity:0;visibility:hidden;max-width:var(--listbox-width, auto);width:100%}.mc-listbox.is-open{opacity:1;visibility:visible;z-index:10}.mc-listbox::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-listbox::-webkit-scrollbar-thumb{background:#666666}.mc-listbox__item,.mc-listbox__tile{align-items:center;display:flex;gap:.5rem;min-height:3rem;padding-left:.75rem;padding-right:.75rem;position:relative;justify-content:space-between}.mc-listbox__item:not(:last-child),.mc-listbox__tile:not(:last-child){border-bottom:1px solid #b3b3b3}.mc-listbox__item:hover,.mc-listbox__tile:hover{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox__flag,.mc-listbox__icon{width:2rem;height:2rem}.mc-listbox__flag{font-size:1.4375rem;line-height:1.3913043478;text-align:center}.mc-listbox__empty{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-listbox__label{cursor:pointer;margin-right:auto}.mc-listbox__label:after{content:\"\";position:absolute;inset:0;z-index:2}.mc-listbox__input{order:1}.mc-listbox .is-checked,.mc-listbox .is-selected{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.5rem}.mc-listbox .is-focus{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox:not(.mc-listbox--multi) .mc-listbox__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-listbox:not(.mc-listbox--multi) .mc-listbox__input:checked+.mc-listbox__label:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;content:\"\";height:1.5rem;position:absolute;right:.75rem;top:0;transform:translateY(50%);width:1.5rem}.mc-listbox--left{right:0}@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-listbox{font-family:LeroyMerlin,sans-serif}.mc-listbox .is-disabled{cursor:not-allowed;box-shadow:none;background-color:#ccc;color:#666;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ListboxComponent, decorators: [{
|
|
2978
|
+
type: Component,
|
|
2979
|
+
args: [{ selector: 'moz-listbox', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul\n [ngClass]=\"{ 'mc-listbox--multi': multiple, 'is-open': isOpen }\"\n class=\"mc-listbox\"\n [ngStyle]=\"{ 'max-width': customMaxWidth }\"\n role=\"listbox\"\n tabindex=\"0\"\n>\n <li\n class=\"mc-listbox__tile\"\n [ngClass]=\"{ 'is-disabled': listboxItem.disabled }\"\n role=\"option\"\n *ngFor=\"let listboxItem of listboxItems; let i = index\"\n >\n <moz-icon\n *ngIf=\"listboxItem.icon\"\n class=\"mc-listbox__icon\"\n [iconName]=\"listboxItem.icon\"\n ></moz-icon>\n <ng-container *ngIf=\"multiple; else monoSelection\">\n <input\n id=\"multiItem-{{ listboxItem.value + '-' + i + '-' + uuid }}\"\n (click)=\"selectedItemEvent(listboxItem)\"\n type=\"checkbox\"\n class=\"mc-listbox__input mc-checkbox__input\"\n disabled=\"{{ listboxItem.disabled }}\"\n [checked]=\"isChecked(listboxItem)\"\n value=\"{{ listboxItem.value }}\"\n />\n </ng-container>\n <ng-template #monoSelection>\n <input\n id=\"monoItem-{{ listboxItem.value + '-' + i + '-' + uuid }}\"\n (change)=\"selectedItemEvent(listboxItem)\"\n type=\"radio\"\n name=\"monoSelection\"\n class=\"mc-listbox__input\"\n [(ngModel)]=\"selectedItem\"\n [value]=\"listboxItem.value\"\n />\n </ng-template>\n\n <label\n for=\"{{\n multiple\n ? 'multiItem-' + listboxItem.value + '-' + i + '-' + uuid\n : 'monoItem-' + listboxItem.value + '-' + i + '-' + uuid\n }}\"\n class=\"mc-listbox__label\"\n >{{ listboxItem.label }}</label\n >\n </li>\n</ul>\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-listbox{list-style:none;margin-left:0;padding-left:0;background-color:#fff;border:1px solid #666666;border-radius:3px;position:absolute;overflow-y:auto;margin-top:.25rem;margin-bottom:0;max-height:13.8125rem;min-width:auto;opacity:0;visibility:hidden;max-width:var(--listbox-width, auto);width:100%}.mc-listbox.is-open{opacity:1;visibility:visible;z-index:10}.mc-listbox::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-listbox::-webkit-scrollbar-thumb{background:#666666}.mc-listbox__item,.mc-listbox__tile{align-items:center;display:flex;gap:.5rem;min-height:3rem;padding-left:.75rem;padding-right:.75rem;position:relative;justify-content:space-between}.mc-listbox__item:not(:last-child),.mc-listbox__tile:not(:last-child){border-bottom:1px solid #b3b3b3}.mc-listbox__item:hover,.mc-listbox__tile:hover{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox__flag,.mc-listbox__icon{width:2rem;height:2rem}.mc-listbox__flag{font-size:1.4375rem;line-height:1.3913043478;text-align:center}.mc-listbox__empty{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-listbox__label{cursor:pointer;margin-right:auto}.mc-listbox__label:after{content:\"\";position:absolute;inset:0;z-index:2}.mc-listbox__input{order:1}.mc-listbox .is-checked,.mc-listbox .is-selected{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.5rem}.mc-listbox .is-focus{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox:not(.mc-listbox--multi) .mc-listbox__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-listbox:not(.mc-listbox--multi) .mc-listbox__input:checked+.mc-listbox__label:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;content:\"\";height:1.5rem;position:absolute;right:.75rem;top:0;transform:translateY(50%);width:1.5rem}.mc-listbox--left{right:0}@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-listbox{font-family:LeroyMerlin,sans-serif}.mc-listbox .is-disabled{cursor:not-allowed;box-shadow:none;background-color:#ccc;color:#666;pointer-events:none}\n"] }]
|
|
2980
|
+
}], propDecorators: { listboxItems: [{
|
|
2981
|
+
type: Input
|
|
2982
|
+
}], multiple: [{
|
|
2983
|
+
type: Input
|
|
2984
|
+
}], isOpen: [{
|
|
2985
|
+
type: Input
|
|
2986
|
+
}], selectedItems: [{
|
|
2987
|
+
type: Input
|
|
2988
|
+
}], customMaxWidth: [{
|
|
2989
|
+
type: Input
|
|
2990
|
+
}], itemsSelected: [{
|
|
2991
|
+
type: Output
|
|
2992
|
+
}] } });
|
|
2993
|
+
|
|
2994
|
+
class ListboxModule {
|
|
2995
|
+
}
|
|
2996
|
+
ListboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2997
|
+
ListboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ListboxModule, declarations: [ListboxComponent], imports: [CommonModule, FormsModule, IconModule], exports: [ListboxComponent] });
|
|
2998
|
+
ListboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ListboxModule, imports: [CommonModule, FormsModule, IconModule] });
|
|
2999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ListboxModule, decorators: [{
|
|
3000
|
+
type: NgModule,
|
|
3001
|
+
args: [{
|
|
3002
|
+
declarations: [ListboxComponent],
|
|
3003
|
+
imports: [CommonModule, FormsModule, IconModule],
|
|
3004
|
+
exports: [ListboxComponent],
|
|
3005
|
+
}]
|
|
3006
|
+
}] });
|
|
3007
|
+
|
|
3008
|
+
class DropdownComponent {
|
|
3009
|
+
constructor(eRef, cd) {
|
|
3010
|
+
this.eRef = eRef;
|
|
3011
|
+
this.cd = cd;
|
|
3012
|
+
this.listboxItems = [];
|
|
3013
|
+
this.multiple = false;
|
|
3014
|
+
this.placeholder = 'Placeholder';
|
|
3015
|
+
this.disabled = false;
|
|
3016
|
+
this.loading = false;
|
|
3017
|
+
this.clearfield = false;
|
|
3018
|
+
this.valid = false;
|
|
3019
|
+
this.invalid = false;
|
|
3020
|
+
this.showSelectedTags = false;
|
|
3021
|
+
this.maxShowingSelectedTags = 5;
|
|
3022
|
+
this.size = 'm';
|
|
3023
|
+
this.layerTagsTitle = 'Dropdown tags';
|
|
3024
|
+
this.layerTagsIcon = 'Navigation_Display_Setting_24px';
|
|
3025
|
+
this.openState = false;
|
|
3026
|
+
this.destroyed = new Subject();
|
|
3027
|
+
this.onChange = () => { };
|
|
3028
|
+
this.onTouch = () => { };
|
|
3029
|
+
}
|
|
3030
|
+
writeValue(value) {
|
|
3031
|
+
this.selectedItems = value;
|
|
3032
|
+
this.onChange(value);
|
|
3033
|
+
}
|
|
3034
|
+
registerOnChange(fn) {
|
|
3035
|
+
this.onChange = fn;
|
|
3036
|
+
}
|
|
3037
|
+
registerOnTouched(fn) {
|
|
3038
|
+
this.onTouch = fn;
|
|
3039
|
+
}
|
|
3040
|
+
ngOnDestroy() {
|
|
3041
|
+
if (this.listboxElementRef) {
|
|
3042
|
+
const mozListbox = this.listboxElementRef.nativeElement;
|
|
3043
|
+
if (mozListbox && mozListbox.parentNode) {
|
|
3044
|
+
mozListbox.parentNode.removeChild(mozListbox);
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
this.destroyed.next(null);
|
|
3048
|
+
this.destroyed.complete();
|
|
3049
|
+
}
|
|
3050
|
+
ngAfterViewInit() {
|
|
3051
|
+
fromEvent(window, 'resize')
|
|
3052
|
+
.pipe(takeUntil(this.destroyed))
|
|
3053
|
+
.subscribe(() => {
|
|
3054
|
+
this.closeListbox();
|
|
3055
|
+
this.cd.detectChanges();
|
|
3056
|
+
});
|
|
3057
|
+
fromEvent(window, 'scroll')
|
|
3058
|
+
.pipe(takeUntil(this.destroyed))
|
|
3059
|
+
.subscribe(() => {
|
|
3060
|
+
this.closeListbox();
|
|
3061
|
+
this.cd.detectChanges();
|
|
3062
|
+
});
|
|
3063
|
+
}
|
|
3064
|
+
clickout(event) {
|
|
3065
|
+
const listboxHtmlElementContainsClickTarget = this.listboxElementRef && this.listboxElementRef.nativeElement.contains(event.target);
|
|
3066
|
+
const dropdownInputContainsClickTarget = this.eRef.nativeElement.contains(event.target);
|
|
3067
|
+
if (!listboxHtmlElementContainsClickTarget && !dropdownInputContainsClickTarget) {
|
|
3068
|
+
this.closeListbox();
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
openListbox() {
|
|
3072
|
+
if (this.openState) {
|
|
3073
|
+
this.closeListbox();
|
|
3074
|
+
}
|
|
3075
|
+
else {
|
|
3076
|
+
this.openState = true;
|
|
3077
|
+
setTimeout(() => {
|
|
3078
|
+
const mozListbox = this.listboxElementRef.nativeElement;
|
|
3079
|
+
const inputElement = this.eRef.nativeElement.firstChild;
|
|
3080
|
+
const inputRect = inputElement.getBoundingClientRect();
|
|
3081
|
+
mozListbox.style.position = 'absolute';
|
|
3082
|
+
mozListbox.style.top = inputRect.bottom + window.scrollY + 'px';
|
|
3083
|
+
mozListbox.style.left = inputRect.left + window.scrollX + 'px';
|
|
3084
|
+
mozListbox.style.width = inputRect.width + 'px';
|
|
3085
|
+
this.originalListboxParent = mozListbox.parentElement;
|
|
3086
|
+
document.body.appendChild(mozListbox);
|
|
3087
|
+
}, 10);
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
closeListbox() {
|
|
3091
|
+
this.openState = false;
|
|
3092
|
+
if (this.originalListboxParent && this.listboxElementRef) {
|
|
3093
|
+
this.originalListboxParent.appendChild(this.listboxElementRef.nativeElement);
|
|
3094
|
+
this.originalListboxParent = null;
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
itemsSelectedListboxEvent(listboxItemSelected) {
|
|
3098
|
+
this.writeValue(listboxItemSelected);
|
|
3099
|
+
if (!this.multiple) {
|
|
3100
|
+
this.closeListbox();
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
clearFieldEvent() {
|
|
3104
|
+
if (!this.disabled) {
|
|
3105
|
+
this.selectedItems = undefined;
|
|
3106
|
+
this.openState = false;
|
|
3107
|
+
this.writeValue(this.selectedItems);
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
getMultiSelectedLabel() {
|
|
3111
|
+
if (this.multiple) {
|
|
3112
|
+
return this.selectedItems
|
|
3113
|
+
.map((selectedItem) => selectedItem.label)
|
|
3114
|
+
.join(', ');
|
|
3115
|
+
}
|
|
3116
|
+
return '';
|
|
3117
|
+
}
|
|
3118
|
+
getSelectedListboxItems() {
|
|
3119
|
+
if (this.multiple && this.selectedItems) {
|
|
3120
|
+
return this.selectedItems;
|
|
3121
|
+
}
|
|
3122
|
+
return [];
|
|
3123
|
+
}
|
|
3124
|
+
getSelectedListboxItem() {
|
|
3125
|
+
if (!this.multiple && this.selectedItems) {
|
|
3126
|
+
return this.selectedItems;
|
|
3127
|
+
}
|
|
3128
|
+
return undefined;
|
|
3129
|
+
}
|
|
3130
|
+
getLabelFromMultipleSelection() {
|
|
3131
|
+
return this.getSelectedListboxItems().length > 0
|
|
3132
|
+
? this.getMultiSelectedLabel()
|
|
3133
|
+
: this.placeholder;
|
|
3134
|
+
}
|
|
3135
|
+
getLabelFromMonoSelection() {
|
|
3136
|
+
var _a;
|
|
3137
|
+
return ((_a = this.getSelectedListboxItem()) === null || _a === void 0 ? void 0 : _a.label) || this.placeholder;
|
|
3138
|
+
}
|
|
3139
|
+
canClearField() {
|
|
3140
|
+
if (this.multiple) {
|
|
3141
|
+
return !this.disabled && this.clearfield && this.getSelectedListboxItems().length > 0;
|
|
3142
|
+
}
|
|
3143
|
+
else {
|
|
3144
|
+
return !this.disabled && this.clearfield && this.getSelectedListboxItem() != null;
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
getTagItemsFromSelectedItems() {
|
|
3148
|
+
if (!this.selectedItems) {
|
|
3149
|
+
return [];
|
|
3150
|
+
}
|
|
3151
|
+
return this.selectedItems.map((selectedItem) => ({ id: selectedItem.value, label: selectedItem.label }));
|
|
3152
|
+
}
|
|
3153
|
+
removeTagEvent($event) {
|
|
3154
|
+
this.writeValue(this.selectedItems.filter((selectedItem) => selectedItem.value !== $event.id));
|
|
3155
|
+
this.taglistComponent.updateTaglistLayerConfig(this.getTagItemsFromSelectedItems());
|
|
3156
|
+
if (this.getTagItemsFromSelectedItems().length === 0) {
|
|
3157
|
+
this.taglistComponent.closeTaglistLayer();
|
|
3158
|
+
}
|
|
3159
|
+
this.cd.detectChanges();
|
|
3160
|
+
}
|
|
3161
|
+
}
|
|
3162
|
+
DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DropdownComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3163
|
+
DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: DropdownComponent, selector: "moz-dropdown", inputs: { listboxItems: "listboxItems", multiple: "multiple", placeholder: "placeholder", disabled: "disabled", loading: "loading", clearfield: "clearfield", valid: "valid", invalid: "invalid", showSelectedTags: "showSelectedTags", maxShowingSelectedTags: "maxShowingSelectedTags", size: "size", layerTagsTitle: "layerTagsTitle", layerTagsIcon: "layerTagsIcon" }, host: { listeners: { "document:click": "clickout($event)" } }, providers: [
|
|
3164
|
+
{
|
|
3165
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3166
|
+
useExisting: forwardRef(() => DropdownComponent),
|
|
3167
|
+
multi: true,
|
|
3168
|
+
},
|
|
3169
|
+
], viewQueries: [{ propertyName: "taglistComponent", first: true, predicate: ["taglist"], descendants: true }, { propertyName: "listboxElementRef", first: true, predicate: ["listbox"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div\n class=\"mc-dropdown mc-dropdown--clearable\"\n [ngClass]=\"{ 'mc-dropdown--multi': multiple }\"\n [ngStyle]=\"{\n '--dropdown-tag-width':\n !showSelectedTags && multiple && getSelectedListboxItems().length > 0 ? '3.5rem' : '',\n '--dropdown-width': '100%'\n }\"\n>\n <div class=\"mc-dropdown__main\">\n <moz-tag\n *ngIf=\"!showSelectedTags && multiple && getSelectedListboxItems().length > 0\"\n class=\"mc-dropdown__tag mc-tag-removable mc-tag-removable--s mc-autocomplete__tag\"\n type=\"removable\"\n [size]=\"'s'\"\n (clickOnRemove)=\"clearFieldEvent()\"\n >\n {{ getSelectedListboxItems().length }}</moz-tag\n >\n\n <button\n type=\"button\"\n id=\"trigger\"\n class=\"mc-select mc-dropdown__trigger mc-button--{{ size }}\"\n [ngClass]=\"{ 'is-open': openState, 'is-valid': valid, 'is-invalid': invalid }\"\n aria-haspopup=\"listbox\"\n title=\"Dropdown menu options\"\n [disabled]=\"disabled\"\n aria-expanded=\"false\"\n (click)=\"openListbox()\"\n >\n <ng-container *ngIf=\"multiple; else monoSelection\">{{\n getLabelFromMultipleSelection()\n }}</ng-container>\n <ng-template #monoSelection>{{ getLabelFromMonoSelection() }}</ng-template>\n </button>\n\n <div class=\"mc-dropdown__tools\">\n <div class=\"mc-dropdown__loader mc-loader mc-loader--s\" *ngIf=\"loading\">\n <span class=\"mc-loader__spinner\">\n <moz-loader class=\"mc-loader__icon\" [size]=\"size\"></moz-loader>\n </span>\n </div>\n <button\n class=\"mc-dropdown__clear\"\n type=\"button\"\n *ngIf=\"canClearField()\"\n (click)=\"clearFieldEvent()\"\n >\n <moz-icon\n class=\"mc-dropdown__clear-icon\"\n [iconName]=\"'Navigation_Control_Tag--Cross_24px'\"\n ></moz-icon>\n <span class=\"mc-autocomplete__clear-text\">Clear</span>\n </button>\n </div>\n </div>\n <moz-listbox\n *ngIf=\"openState\"\n #listbox\n [listboxItems]=\"listboxItems\"\n [isOpen]=\"openState\"\n [multiple]=\"multiple\"\n [selectedItems]=\"selectedItems\"\n (itemsSelected)=\"itemsSelectedListboxEvent($event)\"\n ></moz-listbox>\n</div>\n<div class=\"mc-dropdow__taglist\">\n <moz-taglist\n #taglist\n *ngIf=\"showSelectedTags && multiple\"\n (removeTag)=\"removeTagEvent($event)\"\n [tagItems]=\"getTagItemsFromSelectedItems()\"\n [max]=\"maxShowingSelectedTags\"\n [layerTagsTitle]=\"layerTagsTitle\"\n [layerTagsIcon]=\"layerTagsIcon\"\n ></moz-taglist>\n</div>\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-listbox{list-style:none;margin-left:0;padding-left:0;background-color:#fff;border:1px solid #666666;border-radius:3px;position:absolute;overflow-y:auto;margin-top:.25rem;margin-bottom:0;max-height:13.8125rem;min-width:auto;opacity:0;visibility:hidden;max-width:var(--listbox-width, auto);width:100%}.mc-listbox.is-open{opacity:1;visibility:visible;z-index:10}.mc-listbox::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-listbox::-webkit-scrollbar-thumb{background:#666666}.mc-listbox__item,.mc-listbox__tile{align-items:center;display:flex;gap:.5rem;min-height:3rem;padding-left:.75rem;padding-right:.75rem;position:relative;justify-content:space-between}.mc-listbox__item:not(:last-child),.mc-listbox__tile:not(:last-child){border-bottom:1px solid #b3b3b3}.mc-listbox__item:hover,.mc-listbox__tile:hover{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox__flag,.mc-listbox__icon{width:2rem;height:2rem}.mc-listbox__flag{font-size:1.4375rem;line-height:1.3913043478;text-align:center}.mc-listbox__empty{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-listbox__label{cursor:pointer;margin-right:auto}.mc-listbox__label:after{content:\"\";position:absolute;inset:0;z-index:2}.mc-listbox__input{order:1}.mc-listbox .is-checked,.mc-listbox .is-selected{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.5rem}.mc-listbox .is-focus{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox .is-disabled{cursor:not-allowed;box-shadow:none;background-color:#ccc;color:#666;pointer-events:none}.mc-listbox:not(.mc-listbox--multi) .mc-listbox__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-listbox:not(.mc-listbox--multi) .mc-listbox__input:checked+.mc-listbox__label:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;content:\"\";height:1.5rem;position:absolute;right:.75rem;top:0;transform:translateY(50%);width:1.5rem}.mc-listbox--left{right:0}.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}}.mc-dropdown{align-self:start;position:relative;min-width:18rem;max-width:var(--dropdown-width, auto);width:100%}.mc-dropdown__tag,.mc-dropdown__tools{position:absolute;top:50%;transform:translateY(-50%);z-index:2}.mc-dropdown__tag{left:.75rem}.mc-dropdown__trigger{display:block;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.mc-dropdown__trigger.is-open{background-image: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='M2 10.5a1 1 0 01.29-.71l5-5a1 1 0 011.42 0l5 5a1 1 0 01-1.42 1.42L8 6.91l-4.29 4.3a1 1 0 01-1.42 0A1 1 0 012 10.5z'/%3E%3C/svg%3E\")}.mc-dropdown__tools{align-items:center;background-color:#fff;display:flex;gap:.5rem;justify-content:flex-end;right:2.5rem}.is-valid+.mc-dropdown__tools,.is-invalid+.mc-dropdown__tools{right:4.5rem}.mc-dropdown__clear{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;box-shadow:0 0 0 0 transparent;transition:box-shadow .15s ease;background:none;border-radius:50%}.mc-dropdown__clear:focus{box-shadow:0 0 0 2px #0b96cc}.mc-dropdown__clear,.mc-dropdown__clear-icon{height:1.5rem;width:1.5rem}.mc-dropdown__clear-icon{fill:#666}.mc-dropdown__clear-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-dropdown--multi .mc-dropdown__trigger{padding-left:calc(.75rem + var(--dropdown-tag-width, 0px))}.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-dropdow__taglist{margin-top:1rem}\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.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ListboxComponent, selector: "moz-listbox", inputs: ["listboxItems", "multiple", "isOpen", "selectedItems", "customMaxWidth"], outputs: ["itemsSelected"] }, { kind: "component", type: LoaderComponent, selector: "moz-loader", inputs: ["size", "theme"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }, { kind: "component", type: TagComponent, selector: "moz-tag, a[moz-tag]", inputs: ["type", "size", "select"], outputs: ["selectChange", "clickOnRemove"] }, { kind: "component", type: TaglistComponent, selector: "moz-taglist", inputs: ["tagItems", "tagSize", "showAllTitle", "showAll", "layerTagsTitle", "layerTagsIcon", "max"], outputs: ["removeTag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DropdownComponent, decorators: [{
|
|
3171
|
+
type: Component,
|
|
3172
|
+
args: [{ selector: 'moz-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
3173
|
+
{
|
|
3174
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3175
|
+
useExisting: forwardRef(() => DropdownComponent),
|
|
3176
|
+
multi: true,
|
|
3177
|
+
},
|
|
3178
|
+
], template: "<div\n class=\"mc-dropdown mc-dropdown--clearable\"\n [ngClass]=\"{ 'mc-dropdown--multi': multiple }\"\n [ngStyle]=\"{\n '--dropdown-tag-width':\n !showSelectedTags && multiple && getSelectedListboxItems().length > 0 ? '3.5rem' : '',\n '--dropdown-width': '100%'\n }\"\n>\n <div class=\"mc-dropdown__main\">\n <moz-tag\n *ngIf=\"!showSelectedTags && multiple && getSelectedListboxItems().length > 0\"\n class=\"mc-dropdown__tag mc-tag-removable mc-tag-removable--s mc-autocomplete__tag\"\n type=\"removable\"\n [size]=\"'s'\"\n (clickOnRemove)=\"clearFieldEvent()\"\n >\n {{ getSelectedListboxItems().length }}</moz-tag\n >\n\n <button\n type=\"button\"\n id=\"trigger\"\n class=\"mc-select mc-dropdown__trigger mc-button--{{ size }}\"\n [ngClass]=\"{ 'is-open': openState, 'is-valid': valid, 'is-invalid': invalid }\"\n aria-haspopup=\"listbox\"\n title=\"Dropdown menu options\"\n [disabled]=\"disabled\"\n aria-expanded=\"false\"\n (click)=\"openListbox()\"\n >\n <ng-container *ngIf=\"multiple; else monoSelection\">{{\n getLabelFromMultipleSelection()\n }}</ng-container>\n <ng-template #monoSelection>{{ getLabelFromMonoSelection() }}</ng-template>\n </button>\n\n <div class=\"mc-dropdown__tools\">\n <div class=\"mc-dropdown__loader mc-loader mc-loader--s\" *ngIf=\"loading\">\n <span class=\"mc-loader__spinner\">\n <moz-loader class=\"mc-loader__icon\" [size]=\"size\"></moz-loader>\n </span>\n </div>\n <button\n class=\"mc-dropdown__clear\"\n type=\"button\"\n *ngIf=\"canClearField()\"\n (click)=\"clearFieldEvent()\"\n >\n <moz-icon\n class=\"mc-dropdown__clear-icon\"\n [iconName]=\"'Navigation_Control_Tag--Cross_24px'\"\n ></moz-icon>\n <span class=\"mc-autocomplete__clear-text\">Clear</span>\n </button>\n </div>\n </div>\n <moz-listbox\n *ngIf=\"openState\"\n #listbox\n [listboxItems]=\"listboxItems\"\n [isOpen]=\"openState\"\n [multiple]=\"multiple\"\n [selectedItems]=\"selectedItems\"\n (itemsSelected)=\"itemsSelectedListboxEvent($event)\"\n ></moz-listbox>\n</div>\n<div class=\"mc-dropdow__taglist\">\n <moz-taglist\n #taglist\n *ngIf=\"showSelectedTags && multiple\"\n (removeTag)=\"removeTagEvent($event)\"\n [tagItems]=\"getTagItemsFromSelectedItems()\"\n [max]=\"maxShowingSelectedTags\"\n [layerTagsTitle]=\"layerTagsTitle\"\n [layerTagsIcon]=\"layerTagsIcon\"\n ></moz-taglist>\n</div>\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-listbox{list-style:none;margin-left:0;padding-left:0;background-color:#fff;border:1px solid #666666;border-radius:3px;position:absolute;overflow-y:auto;margin-top:.25rem;margin-bottom:0;max-height:13.8125rem;min-width:auto;opacity:0;visibility:hidden;max-width:var(--listbox-width, auto);width:100%}.mc-listbox.is-open{opacity:1;visibility:visible;z-index:10}.mc-listbox::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-listbox::-webkit-scrollbar-thumb{background:#666666}.mc-listbox__item,.mc-listbox__tile{align-items:center;display:flex;gap:.5rem;min-height:3rem;padding-left:.75rem;padding-right:.75rem;position:relative;justify-content:space-between}.mc-listbox__item:not(:last-child),.mc-listbox__tile:not(:last-child){border-bottom:1px solid #b3b3b3}.mc-listbox__item:hover,.mc-listbox__tile:hover{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox__flag,.mc-listbox__icon{width:2rem;height:2rem}.mc-listbox__flag{font-size:1.4375rem;line-height:1.3913043478;text-align:center}.mc-listbox__empty{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-listbox__label{cursor:pointer;margin-right:auto}.mc-listbox__label:after{content:\"\";position:absolute;inset:0;z-index:2}.mc-listbox__input{order:1}.mc-listbox .is-checked,.mc-listbox .is-selected{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.5rem}.mc-listbox .is-focus{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox .is-disabled{cursor:not-allowed;box-shadow:none;background-color:#ccc;color:#666;pointer-events:none}.mc-listbox:not(.mc-listbox--multi) .mc-listbox__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-listbox:not(.mc-listbox--multi) .mc-listbox__input:checked+.mc-listbox__label:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;content:\"\";height:1.5rem;position:absolute;right:.75rem;top:0;transform:translateY(50%);width:1.5rem}.mc-listbox--left{right:0}.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}}.mc-dropdown{align-self:start;position:relative;min-width:18rem;max-width:var(--dropdown-width, auto);width:100%}.mc-dropdown__tag,.mc-dropdown__tools{position:absolute;top:50%;transform:translateY(-50%);z-index:2}.mc-dropdown__tag{left:.75rem}.mc-dropdown__trigger{display:block;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.mc-dropdown__trigger.is-open{background-image: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='M2 10.5a1 1 0 01.29-.71l5-5a1 1 0 011.42 0l5 5a1 1 0 01-1.42 1.42L8 6.91l-4.29 4.3a1 1 0 01-1.42 0A1 1 0 012 10.5z'/%3E%3C/svg%3E\")}.mc-dropdown__tools{align-items:center;background-color:#fff;display:flex;gap:.5rem;justify-content:flex-end;right:2.5rem}.is-valid+.mc-dropdown__tools,.is-invalid+.mc-dropdown__tools{right:4.5rem}.mc-dropdown__clear{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;box-shadow:0 0 0 0 transparent;transition:box-shadow .15s ease;background:none;border-radius:50%}.mc-dropdown__clear:focus{box-shadow:0 0 0 2px #0b96cc}.mc-dropdown__clear,.mc-dropdown__clear-icon{height:1.5rem;width:1.5rem}.mc-dropdown__clear-icon{fill:#666}.mc-dropdown__clear-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-dropdown--multi .mc-dropdown__trigger{padding-left:calc(.75rem + var(--dropdown-tag-width, 0px))}.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-dropdow__taglist{margin-top:1rem}\n"] }]
|
|
3179
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { listboxItems: [{
|
|
3180
|
+
type: Input
|
|
3181
|
+
}], multiple: [{
|
|
3182
|
+
type: Input
|
|
3183
|
+
}], placeholder: [{
|
|
3184
|
+
type: Input
|
|
3185
|
+
}], disabled: [{
|
|
3186
|
+
type: Input
|
|
3187
|
+
}], loading: [{
|
|
3188
|
+
type: Input
|
|
3189
|
+
}], clearfield: [{
|
|
3190
|
+
type: Input
|
|
3191
|
+
}], valid: [{
|
|
3192
|
+
type: Input
|
|
3193
|
+
}], invalid: [{
|
|
3194
|
+
type: Input
|
|
3195
|
+
}], showSelectedTags: [{
|
|
3196
|
+
type: Input
|
|
3197
|
+
}], maxShowingSelectedTags: [{
|
|
3198
|
+
type: Input
|
|
3199
|
+
}], size: [{
|
|
3200
|
+
type: Input
|
|
3201
|
+
}], layerTagsTitle: [{
|
|
3202
|
+
type: Input
|
|
3203
|
+
}], layerTagsIcon: [{
|
|
3204
|
+
type: Input
|
|
3205
|
+
}], taglistComponent: [{
|
|
3206
|
+
type: ViewChild,
|
|
3207
|
+
args: ['taglist', { static: false }]
|
|
3208
|
+
}], listboxElementRef: [{
|
|
3209
|
+
type: ViewChild,
|
|
3210
|
+
args: ['listbox', { read: ElementRef }]
|
|
3211
|
+
}], clickout: [{
|
|
3212
|
+
type: HostListener,
|
|
3213
|
+
args: ['document:click', ['$event']]
|
|
3214
|
+
}] } });
|
|
3215
|
+
|
|
3216
|
+
class DropdownModule {
|
|
3217
|
+
}
|
|
3218
|
+
DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3219
|
+
DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DropdownModule, declarations: [DropdownComponent], imports: [CommonModule,
|
|
3220
|
+
FormsModule,
|
|
3221
|
+
ListboxModule,
|
|
3222
|
+
LoaderModule,
|
|
3223
|
+
IconModule,
|
|
3224
|
+
TagModule,
|
|
3225
|
+
TaglistModule], exports: [DropdownComponent] });
|
|
3226
|
+
DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DropdownModule, imports: [CommonModule,
|
|
3227
|
+
FormsModule,
|
|
3228
|
+
ListboxModule,
|
|
3229
|
+
LoaderModule,
|
|
3230
|
+
IconModule,
|
|
3231
|
+
TagModule,
|
|
3232
|
+
TaglistModule] });
|
|
3233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DropdownModule, decorators: [{
|
|
3234
|
+
type: NgModule,
|
|
3235
|
+
args: [{
|
|
3236
|
+
declarations: [DropdownComponent],
|
|
3237
|
+
imports: [
|
|
3238
|
+
CommonModule,
|
|
3239
|
+
FormsModule,
|
|
3240
|
+
ListboxModule,
|
|
3241
|
+
LoaderModule,
|
|
3242
|
+
IconModule,
|
|
3243
|
+
TagModule,
|
|
3244
|
+
TaglistModule,
|
|
3245
|
+
],
|
|
3246
|
+
exports: [DropdownComponent],
|
|
3247
|
+
}]
|
|
3248
|
+
}] });
|
|
3249
|
+
|
|
3250
|
+
class MozDatatableManagementContentComponent {
|
|
3251
|
+
constructor(data, layerRef) {
|
|
3252
|
+
this.data = data;
|
|
3253
|
+
this.layerRef = layerRef;
|
|
3254
|
+
this.mouseYCoordinate = null;
|
|
3255
|
+
this.distanceTopGrabbedVsPointer = null;
|
|
3256
|
+
this.draggingColumn = null;
|
|
3257
|
+
this.draggingColumnField = null;
|
|
3258
|
+
this.draggingColumnIndex = null;
|
|
3259
|
+
this.hoveredColumnIndex = null;
|
|
3260
|
+
this.columnDefs = [];
|
|
3261
|
+
this.datatableSettings = data;
|
|
3262
|
+
this.firstColumnFixed = this.datatableSettings.fixFirstColumn;
|
|
3263
|
+
this.columnDefs = data.columnDefs.map((x) => (Object.assign({}, x)));
|
|
3264
|
+
}
|
|
3265
|
+
close(data) {
|
|
3266
|
+
this.layerRef.close(data);
|
|
3267
|
+
}
|
|
3268
|
+
dragStartEvent($event, columnDef, index) {
|
|
3269
|
+
this.mouseYCoordinate = $event.clientY;
|
|
3270
|
+
this.draggingColumn = columnDef;
|
|
3271
|
+
this.draggingColumnIndex = index;
|
|
3272
|
+
this.draggingColumnField = columnDef.field;
|
|
3273
|
+
}
|
|
3274
|
+
dragEvent($event) {
|
|
3275
|
+
this.mouseYCoordinate = $event.clientY;
|
|
3276
|
+
}
|
|
3277
|
+
dragOverEvent(index) {
|
|
3278
|
+
this.hoveredColumnIndex = index;
|
|
3279
|
+
this.updateColumnDefsList();
|
|
3280
|
+
}
|
|
3281
|
+
dragEndEvent() {
|
|
3282
|
+
this.draggingColumnField = null;
|
|
3283
|
+
this.hoveredColumnIndex = null;
|
|
3284
|
+
}
|
|
3285
|
+
hideColumnChangeEvent(item) {
|
|
3286
|
+
item.hide = item.hide ? false : true;
|
|
3287
|
+
}
|
|
3288
|
+
updateColumnDefsList() {
|
|
3289
|
+
if (this.draggingColumnIndex != null &&
|
|
3290
|
+
this.hoveredColumnIndex != null &&
|
|
3291
|
+
this.draggingColumnIndex != this.hoveredColumnIndex) {
|
|
3292
|
+
// Allows to swap the position of 2 elements when there is a drag over
|
|
3293
|
+
[this.columnDefs[this.draggingColumnIndex], this.columnDefs[this.hoveredColumnIndex]] = [
|
|
3294
|
+
this.columnDefs[this.hoveredColumnIndex],
|
|
3295
|
+
this.columnDefs[this.draggingColumnIndex],
|
|
3296
|
+
];
|
|
3297
|
+
this.draggingColumnIndex = this.hoveredColumnIndex;
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
applyEvent() {
|
|
3301
|
+
this.close({ columnDefs: this.columnDefs, firstColumnFixed: this.firstColumnFixed });
|
|
3302
|
+
}
|
|
3303
|
+
resetEvent() {
|
|
3304
|
+
this.columnDefs = this.datatableSettings.columnDefs.map((x) => Object.assign({}, x));
|
|
3305
|
+
this.firstColumnFixed = this.datatableSettings.fixFirstColumn;
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
MozDatatableManagementContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementContentComponent, deps: [{ token: LAYER_DATA }, { token: LAYER_REF }], target: i0.ɵɵFactoryTarget.Component });
|
|
3309
|
+
MozDatatableManagementContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableManagementContentComponent, selector: "moz-datatable-management-content", host: { properties: { "class.manage-settings": "true" } }, ngImport: i0, template: "<div class=\"settings__body\">\n <span class=\"settings__title\">{{\n datatableSettings.labels?.settings?.columnsLockTitle || 'Columns lock'\n }}</span>\n <div class=\"settings__toggle-column-lock\">\n <moz-toggle [size]=\"'s'\" [(ngModel)]=\"firstColumnFixed\">{{\n datatableSettings.labels?.settings?.fixFirstColumnTitle || 'Fix the first column'\n }}</moz-toggle>\n </div>\n <span class=\"settings__title\">{{\n datatableSettings.labels?.settings?.columnsDisplayTitle || 'Columns display'\n }}</span>\n <div class=\"settings__columns-container\">\n <div\n *ngIf=\"mouseYCoordinate\"\n class=\"settings__columns-container-item settings__columns-container-item-ghost\"\n [style.top.px]=\"mouseYCoordinate + (distanceTopGrabbedVsPointer || 0)\"\n >\n <div class=\"settings__column-icon-value\">\n <moz-icon iconName=\"Navigation_Display_MovingBlock_24px\"></moz-icon>\n <moz-checkbox [checked]=\"!draggingColumn?.hide\"> </moz-checkbox>\n <span class=\"settings__column-value\">{{ draggingColumn?.headerName }}</span>\n </div>\n </div>\n\n <div\n *ngFor=\"let columnDef of columnDefs; let index = index\"\n class=\"settings__columns-container-item\"\n [class.settings__columns-container-item-invisible]=\"draggingColumnField === columnDef.field\"\n [draggable]=\"true\"\n (dragstart)=\"dragStartEvent($event, columnDef, index)\"\n (drag)=\"dragEvent($event)\"\n (dragover)=\"dragOverEvent(index)\"\n (dragend)=\"dragEndEvent()\"\n >\n <div class=\"settings__column-icon-value\">\n <moz-icon iconName=\"Navigation_Display_MovingBlock_24px\"></moz-icon>\n <moz-checkbox [checked]=\"!columnDef.hide\" (change)=\"hideColumnChangeEvent(columnDef)\">\n </moz-checkbox>\n <span class=\"settings__column-value\">{{ columnDef.headerName }}</span>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"settings__footer\">\n <button aria-label=\"apply settings\" moz-button [size]=\"'m'\" (click)=\"applyEvent()\">\n {{ datatableSettings.labels?.settings?.applyButtonTitle || 'Apply' }}\n </button>\n <button\n aria-label=\"reset settings\"\n moz-button\n [size]=\"'m'\"\n [variation]=\"'bordered'\"\n (click)=\"resetEvent()\"\n >\n {{ datatableSettings.labels?.settings?.resetButtonTitle || 'Reset' }}\n </button>\n</div>\n", styles: [".manage-settings{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 0}.settings__footer{display:flex;justify-content:space-evenly;align-items:center}.settings__body{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.settings__title{font-weight:700}.settings__reset-button{margin-left:25px}.settings__column-icon-value{display:flex;text-align:center;align-items:center}.settings__checkbox-hide-column{margin-left:25px}.settings__column-value{margin-left:8px}.settings__columns-container{margin-top:25px}.settings__columns-container-item{width:300px;background:white;margin-bottom:18px;cursor:grab}.settings__columns-container-item-ghost{margin-bottom:10px;pointer-events:none;z-index:99;position:absolute;top:0;left:10}.settings__columns-container-item-invisible{opacity:0}.settings__toggle-column-lock{margin-top:17px;margin-bottom:17px}\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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.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: CheckboxComponent, selector: "moz-checkbox", inputs: ["disabled", "indeterminate", "invalid", "checked"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }, { kind: "component", type: ToggleComponent, selector: "moz-toggle", inputs: ["disabled", "size", "checked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementContentComponent, decorators: [{
|
|
3311
|
+
type: Component,
|
|
3312
|
+
args: [{ selector: 'moz-datatable-management-content', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { '[class.manage-settings]': 'true' }, template: "<div class=\"settings__body\">\n <span class=\"settings__title\">{{\n datatableSettings.labels?.settings?.columnsLockTitle || 'Columns lock'\n }}</span>\n <div class=\"settings__toggle-column-lock\">\n <moz-toggle [size]=\"'s'\" [(ngModel)]=\"firstColumnFixed\">{{\n datatableSettings.labels?.settings?.fixFirstColumnTitle || 'Fix the first column'\n }}</moz-toggle>\n </div>\n <span class=\"settings__title\">{{\n datatableSettings.labels?.settings?.columnsDisplayTitle || 'Columns display'\n }}</span>\n <div class=\"settings__columns-container\">\n <div\n *ngIf=\"mouseYCoordinate\"\n class=\"settings__columns-container-item settings__columns-container-item-ghost\"\n [style.top.px]=\"mouseYCoordinate + (distanceTopGrabbedVsPointer || 0)\"\n >\n <div class=\"settings__column-icon-value\">\n <moz-icon iconName=\"Navigation_Display_MovingBlock_24px\"></moz-icon>\n <moz-checkbox [checked]=\"!draggingColumn?.hide\"> </moz-checkbox>\n <span class=\"settings__column-value\">{{ draggingColumn?.headerName }}</span>\n </div>\n </div>\n\n <div\n *ngFor=\"let columnDef of columnDefs; let index = index\"\n class=\"settings__columns-container-item\"\n [class.settings__columns-container-item-invisible]=\"draggingColumnField === columnDef.field\"\n [draggable]=\"true\"\n (dragstart)=\"dragStartEvent($event, columnDef, index)\"\n (drag)=\"dragEvent($event)\"\n (dragover)=\"dragOverEvent(index)\"\n (dragend)=\"dragEndEvent()\"\n >\n <div class=\"settings__column-icon-value\">\n <moz-icon iconName=\"Navigation_Display_MovingBlock_24px\"></moz-icon>\n <moz-checkbox [checked]=\"!columnDef.hide\" (change)=\"hideColumnChangeEvent(columnDef)\">\n </moz-checkbox>\n <span class=\"settings__column-value\">{{ columnDef.headerName }}</span>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"settings__footer\">\n <button aria-label=\"apply settings\" moz-button [size]=\"'m'\" (click)=\"applyEvent()\">\n {{ datatableSettings.labels?.settings?.applyButtonTitle || 'Apply' }}\n </button>\n <button\n aria-label=\"reset settings\"\n moz-button\n [size]=\"'m'\"\n [variation]=\"'bordered'\"\n (click)=\"resetEvent()\"\n >\n {{ datatableSettings.labels?.settings?.resetButtonTitle || 'Reset' }}\n </button>\n</div>\n", styles: [".manage-settings{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem 0}.settings__footer{display:flex;justify-content:space-evenly;align-items:center}.settings__body{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.5rem}.settings__title{font-weight:700}.settings__reset-button{margin-left:25px}.settings__column-icon-value{display:flex;text-align:center;align-items:center}.settings__checkbox-hide-column{margin-left:25px}.settings__column-value{margin-left:8px}.settings__columns-container{margin-top:25px}.settings__columns-container-item{width:300px;background:white;margin-bottom:18px;cursor:grab}.settings__columns-container-item-ghost{margin-bottom:10px;pointer-events:none;z-index:99;position:absolute;top:0;left:10}.settings__columns-container-item-invisible{opacity:0}.settings__toggle-column-lock{margin-top:17px;margin-bottom:17px}\n"] }]
|
|
3313
|
+
}], ctorParameters: function () {
|
|
3314
|
+
return [{ type: undefined, decorators: [{
|
|
3315
|
+
type: Inject,
|
|
3316
|
+
args: [LAYER_DATA]
|
|
3317
|
+
}] }, { type: undefined, decorators: [{
|
|
3318
|
+
type: Inject,
|
|
3319
|
+
args: [LAYER_REF]
|
|
3320
|
+
}] }];
|
|
3321
|
+
} });
|
|
3322
|
+
|
|
3323
|
+
class MozDatatableManagementComponent {
|
|
3324
|
+
constructor(layerService) {
|
|
3325
|
+
this.layerService = layerService;
|
|
3326
|
+
this.columnsOrderUpdate = new EventEmitter();
|
|
3327
|
+
}
|
|
3328
|
+
ngOnDestroy() {
|
|
3329
|
+
if (this.subscription) {
|
|
3330
|
+
this.subscription.unsubscribe();
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
clickSettingsEvent() {
|
|
3334
|
+
var _a, _b, _c;
|
|
3335
|
+
const layerRef = this.layerService.open(MozDatatableManagementContentComponent, {
|
|
3336
|
+
title: ((_c = (_b = (_a = this.datatableSettings) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b.settings) === null || _c === void 0 ? void 0 : _c.layerTitle) || 'Settings',
|
|
3337
|
+
icon: 'Navigation_Display_Setting_24px',
|
|
3338
|
+
data: this.datatableSettings,
|
|
3339
|
+
});
|
|
3340
|
+
this.subscription = layerRef.afterClosed$.subscribe((result) => {
|
|
3341
|
+
if (this.datatableSettings && result) {
|
|
3342
|
+
this.datatableSettings.columnDefs = result.columnDefs;
|
|
3343
|
+
this.datatableSettings.fixFirstColumn = result.firstColumnFixed;
|
|
3344
|
+
this.columnsOrderUpdateEvent(result);
|
|
3345
|
+
}
|
|
3346
|
+
});
|
|
3347
|
+
}
|
|
3348
|
+
columnsOrderUpdateEvent(result) {
|
|
3349
|
+
this.columnsOrderUpdate.emit(result);
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
MozDatatableManagementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementComponent, deps: [{ token: LayerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3353
|
+
MozDatatableManagementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MozDatatableManagementComponent, selector: "moz-datatable-management", inputs: { datatableSettings: "datatableSettings" }, outputs: { columnsOrderUpdate: "columnsOrderUpdate" }, ngImport: i0, template: "<button\n moz-button\n size=\"s\"\n variation=\"bordered\"\n widthBehavior=\"fit\"\n theme=\"neutral\"\n [onlyIcon]=\"true\"\n (click)=\"clickSettingsEvent()\"\n>\n <moz-icon iconName=\"Navigation_Display_Setting_24px\"></moz-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[moz-button]", inputs: ["iconPosition", "onlyIcon", "theme", "variation", "widthBehavior", "size"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementComponent, decorators: [{
|
|
3355
|
+
type: Component,
|
|
3356
|
+
args: [{ selector: 'moz-datatable-management', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n moz-button\n size=\"s\"\n variation=\"bordered\"\n widthBehavior=\"fit\"\n theme=\"neutral\"\n [onlyIcon]=\"true\"\n (click)=\"clickSettingsEvent()\"\n>\n <moz-icon iconName=\"Navigation_Display_Setting_24px\"></moz-icon>\n</button>\n" }]
|
|
3357
|
+
}], ctorParameters: function () { return [{ type: LayerService }]; }, propDecorators: { datatableSettings: [{
|
|
3358
|
+
type: Input
|
|
3359
|
+
}], columnsOrderUpdate: [{
|
|
3360
|
+
type: Output
|
|
3361
|
+
}] } });
|
|
3362
|
+
|
|
3363
|
+
class MozDatatableManagementModule {
|
|
3364
|
+
}
|
|
3365
|
+
MozDatatableManagementModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3366
|
+
MozDatatableManagementModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementModule, declarations: [MozDatatableManagementComponent, MozDatatableManagementContentComponent], imports: [CommonModule,
|
|
3367
|
+
FormsModule,
|
|
3368
|
+
PaginationModule,
|
|
3369
|
+
ButtonModule,
|
|
3370
|
+
CheckboxModule,
|
|
3371
|
+
IconModule,
|
|
3372
|
+
ToggleModule], exports: [MozDatatableManagementComponent, MozDatatableManagementContentComponent] });
|
|
3373
|
+
MozDatatableManagementModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementModule, imports: [CommonModule,
|
|
3374
|
+
FormsModule,
|
|
3375
|
+
PaginationModule,
|
|
3376
|
+
ButtonModule,
|
|
3377
|
+
CheckboxModule,
|
|
3378
|
+
IconModule,
|
|
3379
|
+
ToggleModule] });
|
|
3380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MozDatatableManagementModule, decorators: [{
|
|
3381
|
+
type: NgModule,
|
|
3382
|
+
args: [{
|
|
3383
|
+
declarations: [MozDatatableManagementComponent, MozDatatableManagementContentComponent],
|
|
3384
|
+
imports: [
|
|
3385
|
+
CommonModule,
|
|
3386
|
+
FormsModule,
|
|
3387
|
+
PaginationModule,
|
|
3388
|
+
ButtonModule,
|
|
3389
|
+
CheckboxModule,
|
|
3390
|
+
IconModule,
|
|
3391
|
+
ToggleModule,
|
|
3392
|
+
],
|
|
3393
|
+
exports: [MozDatatableManagementComponent, MozDatatableManagementContentComponent],
|
|
3394
|
+
}]
|
|
3395
|
+
}] });
|
|
3396
|
+
|
|
3397
|
+
class AutocompleteComponent {
|
|
3398
|
+
constructor(eRef, cd) {
|
|
3399
|
+
this.eRef = eRef;
|
|
3400
|
+
this.cd = cd;
|
|
3401
|
+
this.listboxItems = [];
|
|
3402
|
+
this.multiple = false;
|
|
3403
|
+
this.placeholder = 'Placeholder';
|
|
3404
|
+
this.disabled = false;
|
|
3405
|
+
this.loading = false;
|
|
3406
|
+
this.clearfield = false;
|
|
3407
|
+
this.valid = false;
|
|
3408
|
+
this.invalid = false;
|
|
3409
|
+
this.size = 's';
|
|
3410
|
+
this.showSelectedTags = false;
|
|
3411
|
+
this.maxShowingSelectedTags = 5;
|
|
3412
|
+
this.layerTagsTitle = 'Autocomplete tags';
|
|
3413
|
+
this.layerTagsIcon = 'Navigation_Display_Setting_24px';
|
|
3414
|
+
this.noResultsFoundLabel = 'No results found';
|
|
3415
|
+
this.searchUpdated = new EventEmitter();
|
|
3416
|
+
this.openState = false;
|
|
3417
|
+
this.destroyed = new Subject();
|
|
3418
|
+
this.search = '';
|
|
3419
|
+
this.initialListboxItems = [];
|
|
3420
|
+
this.onChange = () => { };
|
|
3421
|
+
this.onTouch = () => { };
|
|
3422
|
+
this.noResults = false;
|
|
3423
|
+
}
|
|
3424
|
+
ngOnInit() {
|
|
3425
|
+
this.initialListboxItems = this.listboxItems.map((x) => (Object.assign({}, x)));
|
|
3426
|
+
}
|
|
3427
|
+
writeValue(value) {
|
|
3428
|
+
if (!this.multiple && value) {
|
|
3429
|
+
this.search = value.label || '';
|
|
3430
|
+
}
|
|
3431
|
+
this.noResults = false;
|
|
3432
|
+
this.selectedItems = value;
|
|
3433
|
+
this.onChange(value);
|
|
3434
|
+
}
|
|
3435
|
+
registerOnChange(fn) {
|
|
3436
|
+
this.onChange = fn;
|
|
3437
|
+
}
|
|
3438
|
+
registerOnTouched(fn) {
|
|
3439
|
+
this.onTouch = fn;
|
|
3440
|
+
}
|
|
3441
|
+
ngOnDestroy() {
|
|
3442
|
+
if (this.listboxElementRef) {
|
|
3443
|
+
const mozListbox = this.listboxElementRef.nativeElement;
|
|
3444
|
+
if (mozListbox && mozListbox.parentNode) {
|
|
3445
|
+
mozListbox.parentNode.removeChild(mozListbox);
|
|
3446
|
+
}
|
|
3447
|
+
}
|
|
3448
|
+
this.destroyed.next(null);
|
|
3449
|
+
this.destroyed.complete();
|
|
3450
|
+
}
|
|
3451
|
+
ngAfterViewInit() {
|
|
3452
|
+
fromEvent(window, 'resize')
|
|
3453
|
+
.pipe(takeUntil(this.destroyed))
|
|
3454
|
+
.subscribe(() => {
|
|
3455
|
+
this.closeListbox();
|
|
3456
|
+
this.cd.detectChanges();
|
|
3457
|
+
});
|
|
3458
|
+
fromEvent(window, 'scroll')
|
|
3459
|
+
.pipe(takeUntil(this.destroyed))
|
|
3460
|
+
.subscribe(() => {
|
|
3461
|
+
this.closeListbox();
|
|
3462
|
+
this.cd.detectChanges();
|
|
3463
|
+
});
|
|
3464
|
+
}
|
|
3465
|
+
clickout(event) {
|
|
3466
|
+
const listboxHtmlElementContainsClickTarget = this.listboxElementRef && this.listboxElementRef.nativeElement.contains(event.target);
|
|
3467
|
+
const autocompleteInputContainsClickTarget = this.eRef.nativeElement.contains(event.target);
|
|
3468
|
+
if ((!listboxHtmlElementContainsClickTarget && !autocompleteInputContainsClickTarget) ||
|
|
3469
|
+
this.disabled) {
|
|
3470
|
+
this.closeListbox();
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
openListbox() {
|
|
3474
|
+
this.openState = true;
|
|
3475
|
+
setTimeout(() => {
|
|
3476
|
+
const mozListbox = this.listboxElementRef.nativeElement;
|
|
3477
|
+
const inputElement = this.eRef.nativeElement.firstChild;
|
|
3478
|
+
const inputRect = inputElement.getBoundingClientRect();
|
|
3479
|
+
mozListbox.style.position = 'absolute';
|
|
3480
|
+
mozListbox.style.top = inputRect.bottom + window.scrollY + 'px';
|
|
3481
|
+
mozListbox.style.left = inputRect.left + window.scrollX + 'px';
|
|
3482
|
+
mozListbox.style.width = inputRect.width + 'px';
|
|
3483
|
+
this.originalListboxParent = mozListbox.parentElement;
|
|
3484
|
+
document.body.appendChild(mozListbox);
|
|
3485
|
+
}, 10);
|
|
3486
|
+
}
|
|
3487
|
+
closeListbox() {
|
|
3488
|
+
this.openState = false;
|
|
3489
|
+
if (this.originalListboxParent && this.listboxElementRef) {
|
|
3490
|
+
this.originalListboxParent.appendChild(this.listboxElementRef.nativeElement);
|
|
3491
|
+
this.originalListboxParent = null;
|
|
3492
|
+
}
|
|
3493
|
+
this.listboxItems = this.initialListboxItems;
|
|
3494
|
+
}
|
|
3495
|
+
itemsSelectedListboxEvent(listboxItemSelected) {
|
|
3496
|
+
if (!this.multiple) {
|
|
3497
|
+
this.search = listboxItemSelected.label;
|
|
3498
|
+
this.closeListbox();
|
|
3499
|
+
}
|
|
3500
|
+
this.invalid = false;
|
|
3501
|
+
this.writeValue(listboxItemSelected);
|
|
3502
|
+
}
|
|
3503
|
+
clearFieldEvent() {
|
|
3504
|
+
if (!this.disabled) {
|
|
3505
|
+
this.selectedItems = undefined;
|
|
3506
|
+
this.openState = false;
|
|
3507
|
+
if (!this.multiple) {
|
|
3508
|
+
this.search = '';
|
|
3509
|
+
}
|
|
3510
|
+
this.writeValue(this.selectedItems);
|
|
3511
|
+
}
|
|
3512
|
+
}
|
|
3513
|
+
getMultiSelectedLabel() {
|
|
3514
|
+
if (this.multiple) {
|
|
3515
|
+
return this.selectedItems
|
|
3516
|
+
.map((selectedItem) => selectedItem.label)
|
|
3517
|
+
.join(', ');
|
|
3518
|
+
}
|
|
3519
|
+
return '';
|
|
3520
|
+
}
|
|
3521
|
+
getSelectedListboxItems() {
|
|
3522
|
+
if (this.multiple && this.selectedItems) {
|
|
3523
|
+
return this.selectedItems;
|
|
3524
|
+
}
|
|
3525
|
+
return [];
|
|
3526
|
+
}
|
|
3527
|
+
getSelectedListboxItem() {
|
|
3528
|
+
if (!this.multiple && this.selectedItems) {
|
|
3529
|
+
return this.selectedItems;
|
|
3530
|
+
}
|
|
3531
|
+
return undefined;
|
|
3532
|
+
}
|
|
3533
|
+
canClearField() {
|
|
3534
|
+
if (this.multiple) {
|
|
3535
|
+
return !this.disabled && this.clearfield && this.getSelectedListboxItems().length > 0;
|
|
3536
|
+
}
|
|
3537
|
+
else {
|
|
3538
|
+
return !this.disabled && this.clearfield && this.getSelectedListboxItem() != null;
|
|
3539
|
+
}
|
|
3540
|
+
}
|
|
3541
|
+
getTagItemsFromSelectedItems() {
|
|
3542
|
+
if (!this.selectedItems) {
|
|
3543
|
+
return [];
|
|
3544
|
+
}
|
|
3545
|
+
return this.selectedItems.map((selectedItem) => ({ id: selectedItem.value, label: selectedItem.label }));
|
|
3546
|
+
}
|
|
3547
|
+
removeTagEvent($event) {
|
|
3548
|
+
this.writeValue(this.selectedItems.filter((selectedItem) => selectedItem.value !== $event.id));
|
|
3549
|
+
this.taglistComponent.updateTaglistLayerConfig(this.getTagItemsFromSelectedItems());
|
|
3550
|
+
if (this.getTagItemsFromSelectedItems().length === 0) {
|
|
3551
|
+
this.taglistComponent.closeTaglistLayer();
|
|
3552
|
+
}
|
|
3553
|
+
this.cd.detectChanges();
|
|
3554
|
+
}
|
|
3555
|
+
searchEvent() {
|
|
3556
|
+
this.noResults = false;
|
|
3557
|
+
this.invalid = false;
|
|
3558
|
+
if (this.search.length > 0) {
|
|
3559
|
+
this.listboxItems = [
|
|
3560
|
+
...this.initialListboxItems.filter((listboxItem) => listboxItem.label.includes(this.search)),
|
|
3561
|
+
];
|
|
3562
|
+
if (this.listboxItems.length === 0) {
|
|
3563
|
+
this.openState = false;
|
|
3564
|
+
this.noResults = true;
|
|
3565
|
+
this.invalid = true;
|
|
3566
|
+
}
|
|
3567
|
+
else {
|
|
3568
|
+
this.openState = true;
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
else {
|
|
3572
|
+
this.listboxItems = this.initialListboxItems;
|
|
3573
|
+
this.openState = true;
|
|
3574
|
+
}
|
|
3575
|
+
this.searchUpdated.emit(this.search);
|
|
3576
|
+
this.cd.detectChanges();
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
AutocompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutocompleteComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3580
|
+
AutocompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AutocompleteComponent, selector: "moz-autocomplete", inputs: { listboxItems: "listboxItems", multiple: "multiple", placeholder: "placeholder", disabled: "disabled", loading: "loading", clearfield: "clearfield", valid: "valid", invalid: "invalid", size: "size", showSelectedTags: "showSelectedTags", maxShowingSelectedTags: "maxShowingSelectedTags", layerTagsTitle: "layerTagsTitle", layerTagsIcon: "layerTagsIcon", noResultsFoundLabel: "noResultsFoundLabel" }, outputs: { searchUpdated: "searchUpdated" }, host: { listeners: { "document:click": "clickout($event)" } }, providers: [
|
|
3581
|
+
{
|
|
3582
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3583
|
+
useExisting: forwardRef(() => AutocompleteComponent),
|
|
3584
|
+
multi: true,
|
|
3585
|
+
},
|
|
3586
|
+
], viewQueries: [{ propertyName: "taglistComponent", first: true, predicate: ["taglist"], descendants: true }, { propertyName: "listboxElementRef", first: true, predicate: ["listbox"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div\n id=\"js-autocomplete\"\n class=\"mc-autocomplete mc-autocomplete--clearable\"\n [ngClass]=\"{ 'mc-autocomplete--multi': multiple }\"\n [ngStyle]=\"{\n '--autocomplete-tag-width':\n !showSelectedTags && multiple && getSelectedListboxItems().length > 0 ? '3.5rem' : '',\n '--autocomplete-width': '100%'\n }\"\n>\n <div class=\"mc-autocomplete__main\">\n <moz-tag\n *ngIf=\"!showSelectedTags && multiple && getSelectedListboxItems().length > 0\"\n type=\"removable\"\n class=\"mc-autocomplete__tag mc-tag-removable mc-tag-removable--s\"\n [size]=\"'s'\"\n (clickOnRemove)=\"clearFieldEvent()\"\n >\n {{ getSelectedListboxItems().length }}</moz-tag\n >\n\n <div class=\"mc-left-icon-input\" [ngClass]=\"{ 'is-valid': valid, 'is-invalid': invalid }\" F>\n <moz-icon\n class=\"mc-left-icon-input__icon\"\n [iconName]=\"'Navigation_Display_Search_24px'\"\n ></moz-icon>\n <input\n moz-input\n [type]=\"'text'\"\n [invalid]=\"invalid\"\n class=\"mc-left-icon-input__input mc-text-input mc-autocomplete__trigger\"\n [valid]=\"valid\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [size]=\"size\"\n [(ngModel)]=\"search\"\n (ngModelChange)=\"searchEvent()\"\n (click)=\"openListbox()\"\n />\n </div>\n\n <div class=\"mc-autocomplete__tools\">\n <div class=\"mc-autocomplete__loader mc-loader mc-loader--s\" *ngIf=\"loading\">\n <span class=\"mc-loader__spinner\">\n <moz-loader class=\"mc-loader__icon\" [size]=\"size\"></moz-loader>\n </span>\n </div>\n <button\n class=\"mc-autocomplete__clear\"\n type=\"button\"\n *ngIf=\"canClearField()\"\n (click)=\"clearFieldEvent()\"\n >\n <moz-icon\n class=\"mc-autocomplete__clear-icon\"\n [iconName]=\"'Navigation_Control_Tag--Cross_24px'\"\n ></moz-icon\n ><span class=\"mc-autocomplete__clear-text\">Clear</span>\n </button>\n </div>\n </div>\n <moz-listbox\n *ngIf=\"openState\"\n #listbox\n [listboxItems]=\"listboxItems\"\n [isOpen]=\"openState\"\n [multiple]=\"multiple\"\n [selectedItems]=\"selectedItems\"\n (itemsSelected)=\"itemsSelectedListboxEvent($event)\"\n ></moz-listbox>\n</div>\n<div class=\"mc-autocomplete__taglist\">\n <moz-taglist\n #taglist\n *ngIf=\"showSelectedTags && multiple\"\n (removeTag)=\"removeTagEvent($event)\"\n [tagItems]=\"getTagItemsFromSelectedItems()\"\n [max]=\"maxShowingSelectedTags\"\n [layerTagsTitle]=\"layerTagsTitle\"\n [layerTagsIcon]=\"layerTagsIcon\"\n ></moz-taglist>\n</div>\n", styles: [".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-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-listbox{list-style:none;margin-left:0;padding-left:0;background-color:#fff;border:1px solid #666666;border-radius:3px;position:absolute;overflow-y:auto;margin-top:.25rem;margin-bottom:0;max-height:13.8125rem;min-width:auto;opacity:0;visibility:hidden;max-width:var(--listbox-width, auto);width:100%}.mc-listbox.is-open{opacity:1;visibility:visible;z-index:10}.mc-listbox::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-listbox::-webkit-scrollbar-thumb{background:#666666}.mc-listbox__item,.mc-listbox__tile{align-items:center;display:flex;gap:.5rem;min-height:3rem;padding-left:.75rem;padding-right:.75rem;position:relative;justify-content:space-between}.mc-listbox__item:not(:last-child),.mc-listbox__tile:not(:last-child){border-bottom:1px solid #b3b3b3}.mc-listbox__item:hover,.mc-listbox__tile:hover{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox__flag,.mc-listbox__icon{width:2rem;height:2rem}.mc-listbox__flag{font-size:1.4375rem;line-height:1.3913043478;text-align:center}.mc-listbox__empty{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-listbox__label{cursor:pointer;margin-right:auto}.mc-listbox__label:after{content:\"\";position:absolute;inset:0;z-index:2}.mc-listbox__input{order:1}.mc-listbox .is-checked,.mc-listbox .is-selected{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.5rem}.mc-listbox .is-focus{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox .is-disabled{cursor:not-allowed;box-shadow:none;background-color:#ccc;color:#666;pointer-events:none}.mc-listbox:not(.mc-listbox--multi) .mc-listbox__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-listbox:not(.mc-listbox--multi) .mc-listbox__input:checked+.mc-listbox__label:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;content:\"\";height:1.5rem;position:absolute;right:.75rem;top:0;transform:translateY(50%);width:1.5rem}.mc-listbox--left{right:0}.mc-autocomplete{align-self:start;position:relative;min-width:18rem;max-width:var(--autocomplete-width, auto);width:100%}.mc-autocomplete__main{position:relative}.mc-autocomplete__tag,.mc-autocomplete__tools{position:absolute;top:50%;transform:translateY(-50%);z-index:2}.mc-autocomplete__tag{left:2.75rem}.mc-autocomplete__trigger{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-autocomplete__tools{align-items:center;background-color:#fff;display:flex;gap:.5rem;justify-content:flex-end;right:.75rem}.is-valid+.mc-autocomplete__tools,.is-invalid+.mc-autocomplete__tools{right:2.5rem}.mc-autocomplete__clear{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;box-shadow:0 0 0 0 transparent;transition:box-shadow .15s ease;background:none;border-radius:50%}.mc-autocomplete__clear:focus{box-shadow:0 0 0 2px #0b96cc}.mc-autocomplete__clear,.mc-autocomplete__clear-icon{height:1.5rem;width:1.5rem}.mc-autocomplete__clear-icon{fill:#666}.mc-autocomplete__clear-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-autocomplete__error{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-autocomplete--multi .mc-autocomplete__trigger{padding-left:calc(2.9375rem + var(--autocomplete-tag-width, 0px))}.mc-autocomplete__taglist{margin-top:1rem}\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.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: TagComponent, selector: "moz-tag, a[moz-tag]", inputs: ["type", "size", "select"], outputs: ["selectChange", "clickOnRemove"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TaglistComponent, selector: "moz-taglist", inputs: ["tagItems", "tagSize", "showAllTitle", "showAll", "layerTagsTitle", "layerTagsIcon", "max"], outputs: ["removeTag"] }, { kind: "component", type: ListboxComponent, selector: "moz-listbox", inputs: ["listboxItems", "multiple", "isOpen", "selectedItems", "customMaxWidth"], outputs: ["itemsSelected"] }, { kind: "component", type: IconComponent, selector: "moz-icon", inputs: ["iconName"] }, { kind: "component", type: LoaderComponent, selector: "moz-loader", inputs: ["size", "theme"] }, { kind: "component", type: TextInputComponent, selector: "input[moz-input]", inputs: ["size", "invalid", "valid"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutocompleteComponent, decorators: [{
|
|
3588
|
+
type: Component,
|
|
3589
|
+
args: [{ selector: 'moz-autocomplete', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
3590
|
+
{
|
|
3591
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3592
|
+
useExisting: forwardRef(() => AutocompleteComponent),
|
|
3593
|
+
multi: true,
|
|
3594
|
+
},
|
|
3595
|
+
], template: "<div\n id=\"js-autocomplete\"\n class=\"mc-autocomplete mc-autocomplete--clearable\"\n [ngClass]=\"{ 'mc-autocomplete--multi': multiple }\"\n [ngStyle]=\"{\n '--autocomplete-tag-width':\n !showSelectedTags && multiple && getSelectedListboxItems().length > 0 ? '3.5rem' : '',\n '--autocomplete-width': '100%'\n }\"\n>\n <div class=\"mc-autocomplete__main\">\n <moz-tag\n *ngIf=\"!showSelectedTags && multiple && getSelectedListboxItems().length > 0\"\n type=\"removable\"\n class=\"mc-autocomplete__tag mc-tag-removable mc-tag-removable--s\"\n [size]=\"'s'\"\n (clickOnRemove)=\"clearFieldEvent()\"\n >\n {{ getSelectedListboxItems().length }}</moz-tag\n >\n\n <div class=\"mc-left-icon-input\" [ngClass]=\"{ 'is-valid': valid, 'is-invalid': invalid }\" F>\n <moz-icon\n class=\"mc-left-icon-input__icon\"\n [iconName]=\"'Navigation_Display_Search_24px'\"\n ></moz-icon>\n <input\n moz-input\n [type]=\"'text'\"\n [invalid]=\"invalid\"\n class=\"mc-left-icon-input__input mc-text-input mc-autocomplete__trigger\"\n [valid]=\"valid\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [size]=\"size\"\n [(ngModel)]=\"search\"\n (ngModelChange)=\"searchEvent()\"\n (click)=\"openListbox()\"\n />\n </div>\n\n <div class=\"mc-autocomplete__tools\">\n <div class=\"mc-autocomplete__loader mc-loader mc-loader--s\" *ngIf=\"loading\">\n <span class=\"mc-loader__spinner\">\n <moz-loader class=\"mc-loader__icon\" [size]=\"size\"></moz-loader>\n </span>\n </div>\n <button\n class=\"mc-autocomplete__clear\"\n type=\"button\"\n *ngIf=\"canClearField()\"\n (click)=\"clearFieldEvent()\"\n >\n <moz-icon\n class=\"mc-autocomplete__clear-icon\"\n [iconName]=\"'Navigation_Control_Tag--Cross_24px'\"\n ></moz-icon\n ><span class=\"mc-autocomplete__clear-text\">Clear</span>\n </button>\n </div>\n </div>\n <moz-listbox\n *ngIf=\"openState\"\n #listbox\n [listboxItems]=\"listboxItems\"\n [isOpen]=\"openState\"\n [multiple]=\"multiple\"\n [selectedItems]=\"selectedItems\"\n (itemsSelected)=\"itemsSelectedListboxEvent($event)\"\n ></moz-listbox>\n</div>\n<div class=\"mc-autocomplete__taglist\">\n <moz-taglist\n #taglist\n *ngIf=\"showSelectedTags && multiple\"\n (removeTag)=\"removeTagEvent($event)\"\n [tagItems]=\"getTagItemsFromSelectedItems()\"\n [max]=\"maxShowingSelectedTags\"\n [layerTagsTitle]=\"layerTagsTitle\"\n [layerTagsIcon]=\"layerTagsIcon\"\n ></moz-taglist>\n</div>\n", styles: [".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-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-listbox{list-style:none;margin-left:0;padding-left:0;background-color:#fff;border:1px solid #666666;border-radius:3px;position:absolute;overflow-y:auto;margin-top:.25rem;margin-bottom:0;max-height:13.8125rem;min-width:auto;opacity:0;visibility:hidden;max-width:var(--listbox-width, auto);width:100%}.mc-listbox.is-open{opacity:1;visibility:visible;z-index:10}.mc-listbox::-webkit-scrollbar{background-color:#e6e6e6;width:.25rem}.mc-listbox::-webkit-scrollbar-thumb{background:#666666}.mc-listbox__item,.mc-listbox__tile{align-items:center;display:flex;gap:.5rem;min-height:3rem;padding-left:.75rem;padding-right:.75rem;position:relative;justify-content:space-between}.mc-listbox__item:not(:last-child),.mc-listbox__tile:not(:last-child){border-bottom:1px solid #b3b3b3}.mc-listbox__item:hover,.mc-listbox__tile:hover{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox__flag,.mc-listbox__icon{width:2rem;height:2rem}.mc-listbox__flag{font-size:1.4375rem;line-height:1.3913043478;text-align:center}.mc-listbox__empty{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-listbox__label{cursor:pointer;margin-right:auto}.mc-listbox__label:after{content:\"\";position:absolute;inset:0;z-index:2}.mc-listbox__input{order:1}.mc-listbox .is-checked,.mc-listbox .is-selected{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right .75rem center;background-size:1.5rem}.mc-listbox .is-focus{background-color:#e6e6e6;box-shadow:inset 9px 0 0 -7px #191919}.mc-listbox .is-disabled{cursor:not-allowed;box-shadow:none;background-color:#ccc;color:#666;pointer-events:none}.mc-listbox:not(.mc-listbox--multi) .mc-listbox__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-listbox:not(.mc-listbox--multi) .mc-listbox__input:checked+.mc-listbox__label:before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 18.68a1 1 0 01-.7-.29l-5-5A1 1 0 015.73 12L10 16.27 18.31 8a1 1 0 011.42 1.42l-9 9a1 1 0 01-.73.26z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center;content:\"\";height:1.5rem;position:absolute;right:.75rem;top:0;transform:translateY(50%);width:1.5rem}.mc-listbox--left{right:0}.mc-autocomplete{align-self:start;position:relative;min-width:18rem;max-width:var(--autocomplete-width, auto);width:100%}.mc-autocomplete__main{position:relative}.mc-autocomplete__tag,.mc-autocomplete__tools{position:absolute;top:50%;transform:translateY(-50%);z-index:2}.mc-autocomplete__tag{left:2.75rem}.mc-autocomplete__trigger{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-autocomplete__tools{align-items:center;background-color:#fff;display:flex;gap:.5rem;justify-content:flex-end;right:.75rem}.is-valid+.mc-autocomplete__tools,.is-invalid+.mc-autocomplete__tools{right:2.5rem}.mc-autocomplete__clear{margin:0;box-shadow:none;text-decoration:none;outline:none;border:none;cursor:pointer;padding:0;box-shadow:0 0 0 0 transparent;transition:box-shadow .15s ease;background:none;border-radius:50%}.mc-autocomplete__clear:focus{box-shadow:0 0 0 2px #0b96cc}.mc-autocomplete__clear,.mc-autocomplete__clear-icon{height:1.5rem;width:1.5rem}.mc-autocomplete__clear-icon{fill:#666}.mc-autocomplete__clear-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mc-autocomplete__error{font-size:.875rem;line-height:1.2857142857;color:#c61112;display:inline-block;margin-top:.25rem}.mc-autocomplete--multi .mc-autocomplete__trigger{padding-left:calc(2.9375rem + var(--autocomplete-tag-width, 0px))}.mc-autocomplete__taglist{margin-top:1rem}\n"] }]
|
|
3596
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { listboxItems: [{
|
|
3597
|
+
type: Input
|
|
3598
|
+
}], multiple: [{
|
|
3599
|
+
type: Input
|
|
3600
|
+
}], placeholder: [{
|
|
3601
|
+
type: Input
|
|
3602
|
+
}], disabled: [{
|
|
3603
|
+
type: Input
|
|
3604
|
+
}], loading: [{
|
|
3605
|
+
type: Input
|
|
3606
|
+
}], clearfield: [{
|
|
3607
|
+
type: Input
|
|
3608
|
+
}], valid: [{
|
|
3609
|
+
type: Input
|
|
3610
|
+
}], invalid: [{
|
|
3611
|
+
type: Input
|
|
3612
|
+
}], size: [{
|
|
3613
|
+
type: Input
|
|
3614
|
+
}], showSelectedTags: [{
|
|
3615
|
+
type: Input
|
|
3616
|
+
}], maxShowingSelectedTags: [{
|
|
3617
|
+
type: Input
|
|
3618
|
+
}], layerTagsTitle: [{
|
|
3619
|
+
type: Input
|
|
3620
|
+
}], layerTagsIcon: [{
|
|
3621
|
+
type: Input
|
|
3622
|
+
}], noResultsFoundLabel: [{
|
|
3623
|
+
type: Input
|
|
3624
|
+
}], searchUpdated: [{
|
|
3625
|
+
type: Output
|
|
3626
|
+
}], taglistComponent: [{
|
|
3627
|
+
type: ViewChild,
|
|
3628
|
+
args: ['taglist', { static: false }]
|
|
3629
|
+
}], listboxElementRef: [{
|
|
3630
|
+
type: ViewChild,
|
|
3631
|
+
args: ['listbox', { read: ElementRef }]
|
|
3632
|
+
}], clickout: [{
|
|
3633
|
+
type: HostListener,
|
|
3634
|
+
args: ['document:click', ['$event']]
|
|
3635
|
+
}] } });
|
|
3636
|
+
|
|
3637
|
+
class AutocompleteModule {
|
|
3638
|
+
}
|
|
3639
|
+
AutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3640
|
+
AutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: AutocompleteModule, declarations: [AutocompleteComponent], imports: [CommonModule,
|
|
3641
|
+
TagModule,
|
|
3642
|
+
FormsModule,
|
|
3643
|
+
TaglistModule,
|
|
3644
|
+
ListboxModule,
|
|
3645
|
+
IconModule,
|
|
3646
|
+
LoaderModule,
|
|
3647
|
+
TextInputModule], exports: [AutocompleteComponent] });
|
|
3648
|
+
AutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutocompleteModule, imports: [CommonModule,
|
|
3649
|
+
TagModule,
|
|
3650
|
+
FormsModule,
|
|
3651
|
+
TaglistModule,
|
|
3652
|
+
ListboxModule,
|
|
3653
|
+
IconModule,
|
|
3654
|
+
LoaderModule,
|
|
3655
|
+
TextInputModule] });
|
|
3656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutocompleteModule, decorators: [{
|
|
3657
|
+
type: NgModule,
|
|
3658
|
+
args: [{
|
|
3659
|
+
declarations: [AutocompleteComponent],
|
|
3660
|
+
imports: [
|
|
3661
|
+
CommonModule,
|
|
3662
|
+
TagModule,
|
|
3663
|
+
FormsModule,
|
|
3664
|
+
TaglistModule,
|
|
3665
|
+
ListboxModule,
|
|
3666
|
+
IconModule,
|
|
3667
|
+
LoaderModule,
|
|
3668
|
+
TextInputModule,
|
|
3669
|
+
],
|
|
3670
|
+
exports: [AutocompleteComponent],
|
|
3671
|
+
}]
|
|
3672
|
+
}] });
|
|
3673
|
+
|
|
3674
|
+
/**
|
|
3675
|
+
* Generated bundle index. Do not edit.
|
|
3676
|
+
*/
|
|
3677
|
+
|
|
3678
|
+
export { AutocompleteComponent, AutocompleteModule, BadgeComponent, BadgeModule, ButtonComponent, ButtonModule, CHECKBOX_CONTROL_VALUE_ACCESSOR, CheckboxComponent, CheckboxModule, DIALOG_CONFIG, DIALOG_DATA, DIALOG_REF, DialogComponent, DialogModule, DialogService, DropdownComponent, DropdownModule, FieldComponent, FieldErrorComponent, FieldModule, IconComponent, IconModule, IconService, InputIconDirective, LAYER_CONFIG, LAYER_DATA, LAYER_REF, LayerComponent, LayerModule, LayerService, ListboxComponent, ListboxModule, LoaderComponent, LoaderModule, LoaderService, MOZ_INPUT_ICON, MozDatatableCaptionComponent, MozDatatableComponent, MozDatatableContentCellComponent, MozDatatableFooterComponent, MozDatatableHeaderCellComponent, MozDatatableManagementComponent, MozDatatableManagementContentComponent, MozDatatableManagementModule, MozDatatableModule, MozDatatableRowExpansionContentComponent, MozDatatableSelectionComponent, MozDatatableSortDirective, 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, TaglistComponent, TaglistLayerContentComponent, TaglistModule, TextAreaComponent, TextAreaModule, TextInputComponent, TextInputModule, ToggleComponent, ToggleModule, TooltipComponent, TooltipDirective, TooltipModule, castBooleanProperty, generateId, getRandomNumber, overwriteStyle };
|
|
3679
|
+
//# sourceMappingURL=mozaic-ds-angular.mjs.map
|