@wizishop/wizi-block 4.2.22-beta → 4.2.25-beta
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/assets/i18n/en.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/bundles/wizishop-wizi-block.umd.js +690 -408
- package/bundles/wizishop-wizi-block.umd.js.map +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js +1 -1
- package/bundles/wizishop-wizi-block.umd.min.js.map +1 -1
- package/esm2015/lib/components/blocks/blocks.component.js +1 -1
- package/esm2015/lib/components/components.module.js +1 -1
- package/esm2015/lib/components/configs/configs.component.js +2 -2
- package/esm2015/lib/components/container-block/container-block.component.js +1 -1
- package/esm2015/lib/components/previews/previews.component.js +1 -1
- package/esm2015/lib/dtos/apis/amplify/amplify-category.dto.js +1 -1
- package/esm2015/lib/dtos/apis/amplify/amplify-guide.dto.js +1 -1
- package/esm2015/lib/dtos/apis/amplify/amplify-media.dto.js +1 -1
- package/esm2015/lib/dtos/apis/amplify/amplify-paginated.dto.js +1 -1
- package/esm2015/lib/dtos/apis/amplify/amplify-product.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-badges.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-brand.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-category.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-facet-value.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-facet.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-image.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-list.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-price.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-variant-option.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog-variant.dto.js +1 -1
- package/esm2015/lib/dtos/apis/catalogs/catalog.dto.js +1 -1
- package/esm2015/lib/dtos/apis/comments/comment-list.dto.js +1 -1
- package/esm2015/lib/dtos/apis/comments/comment.dto.js +1 -1
- package/esm2015/lib/dtos/apis/forms/form-detail.dto.js +1 -1
- package/esm2015/lib/dtos/apis/forms/form-list.dto.js +1 -1
- package/esm2015/lib/dtos/apis/maps/open-map.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-product/amplify-product-zoom-more.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-product/amplify-product-zoom-selected.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-product/amplify-product-zoom-triple-column.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-product/amplify-product-zoom.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-products-list/amplify-products-list-classic.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-products-list/amplify-products-list-selected.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/amplify-products-list/amplify-products-list-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/code/code-html.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/code/code-javascript.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/code/code-stylesheet.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/faq/faq-accordion.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/faq/faq-frame.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/faq/faq-list-icon.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/faq/faq-simple-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/faq/faq-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/faq/faq.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/forms/forms-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/forms/forms-imageleft.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/forms/forms-imageright.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/forms/forms-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/four-images-title.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-banner.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-big-and-double.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-bigs-and-double-middle.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-double.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-quadruple-left-one-right.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-quadruple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/images-triple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images/two-images-title-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-big-left-text-right.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-big-right-text-left.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-left-text-right.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-one-text-one.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-right-text-left.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-small-left-text-right.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-small-right-text-left.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/images-texts/images-texts-text-one-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/launch-videos/launch-videos-button.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/launch-videos/launch-videos-buttontxt.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/map/map-background-form-left.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/map/map-background-form-right.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/map/map-fullpage.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/map/map-left-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/map/map-right-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/map/map-text-form.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/newsletter/newsletter-aligned-center-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/newsletter/newsletter-aligned-center-image.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/newsletter/newsletter-center-image.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/onboarding/forms-onboarding.do.js +1 -1
- package/esm2015/lib/dtos/blocks/parent-block.dto.js +3 -2
- package/esm2015/lib/dtos/blocks/product/product-zoom-complete-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom-complete-slider.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom-complete.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom-more.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom-selected.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom-triple-column.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/product/product-zoom.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/products-list/products-list-classic.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/products-list/products-list-selected.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/products-list/products-list-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/quotes/quotes-author.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/quotes/quotes-simple-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/quotes/quotes-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/rassurances/rassurances-quadruple-aligned.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/rassurances/rassurances-quadruple-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/rassurances/rassurances-triple-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/reviews/reviews-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/reviews/reviews-waterfall.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/separators/separator-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/sliders/sliders-double-imageright.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/sliders/sliders-fullpage.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/sliders/sliders-imageright.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/sliders/sliders-leftnav.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/sliders/sliders-with-banner.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/socials/socials-like.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/socials/socials-network.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/socials/socials-page-complex.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/socials/socials-page-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-four-rows-icon-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-link.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-rows-icon-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-three-rows-icon-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-two-rows-icon-text.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-with-banner.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/text-backgrounds/text-backgrounds-with-txt.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-double-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-double.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-one-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-one.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-quadruple-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-quadruple-numbers.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-quadruple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-triple-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/texts/texts-triple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/timer/timer-airport.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/timer/timer-background.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/timer/timer-clock.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/timer/timer-multiple-img.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/timer/timer-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/videos/videos-simple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/videos/videos-txt-content.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/videos/videos-txt.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/witness/about-block.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/witness/witness-background-double.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/witness/witness-background-one.dto.js +2 -2
- package/esm2015/lib/dtos/blocks/witness/witness-quadruple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/witness/witness-triple.dto.js +1 -1
- package/esm2015/lib/dtos/blocks/witness/witness-twice.dto.js +1 -1
- package/esm2015/lib/dtos/configs/apis/api.dto.js +1 -1
- package/esm2015/lib/dtos/configs/blocks/block-config.dto.js +1 -1
- package/esm2015/lib/dtos/configs/blocks/blocks-list.dto.js +1 -1
- package/esm2015/lib/dtos/configs/buttons/button.dto.js +1 -1
- package/esm2015/lib/dtos/configs/external/external-config.dto.js +1 -1
- package/esm2015/lib/dtos/configs/fonts/font-awesome.dto.js +1 -1
- package/esm2015/lib/dtos/configs/images/four-images-title-element.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/image/font-or-media.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/image/image-media-and-text.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/image/image-media.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/image/payment-or-media.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/media-width-height.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/media.dto.js +1 -1
- package/esm2015/lib/dtos/configs/medias/text/text-media.dto.js +1 -1
- package/esm2015/lib/dtos/configs/structures/structure-config.dto.js +1 -1
- package/esm2015/lib/dtos/configs/structures/structures-list.dto.js +1 -1
- package/esm2015/lib/dtos/configs/translations/translations.dto.js +1 -1
- package/esm2015/lib/dtos/configs/types/types.dto.js +1 -1
- package/esm2015/lib/dtos/configs/witness/about-element.dto.js +1 -1
- package/esm2015/lib/dtos/forms/forms.dto.js +2 -2
- package/esm2015/lib/dtos/utils/quill/crypted-link.dto.js +1 -1
- package/esm2015/lib/dtos/utils/quill/custom-link.dto.js +1 -1
- package/esm2015/lib/dtos/utils/quill/delta.dto.js +1 -1
- package/esm2015/lib/dtos/utils/quill/icon.dto.js +1 -1
- package/esm2015/lib/dtos/utils/quill/line-break.dto.js +1 -1
- package/esm2015/lib/dtos/utils/quill-html-editor/html-formatter.js +1 -1
- package/esm2015/lib/dtos/utils/quill-html-editor/logger.js +1 -1
- package/esm2015/lib/dtos/utils/quill-html-editor/options.js +1 -1
- package/esm2015/lib/dtos/utils/quill-html-editor/quill.htmlEditButton.js +1 -1
- package/esm2015/lib/services/blocks/amplify-product/amplify-product-zoom-more.service.js +1 -1
- package/esm2015/lib/services/blocks/amplify-product/amplify-product-zoom-selected.service.js +1 -1
- package/esm2015/lib/services/blocks/amplify-product/amplify-product-zoom-triple-column.service.js +1 -1
- package/esm2015/lib/services/blocks/amplify-product/amplify-product-zoom.service.js +1 -1
- package/esm2015/lib/services/blocks/amplify-products-list/amplify-products-list-classic.service.js +1 -1
- package/esm2015/lib/services/blocks/amplify-products-list/amplify-products-list-selected.service.js +1 -1
- package/esm2015/lib/services/blocks/amplify-products-list/amplify-products-list-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/code/code-html.service.js +1 -1
- package/esm2015/lib/services/blocks/code/code-javascript.service.js +1 -1
- package/esm2015/lib/services/blocks/code/code-stylesheet.service.js +1 -1
- package/esm2015/lib/services/blocks/faq/faq-accordion.service.js +1 -1
- package/esm2015/lib/services/blocks/faq/faq-frame.service.js +1 -1
- package/esm2015/lib/services/blocks/faq/faq-list-icon.service.js +1 -1
- package/esm2015/lib/services/blocks/faq/faq-simple-background.service.js +1 -1
- package/esm2015/lib/services/blocks/faq/faq-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/forms/forms-background.service.js +1 -1
- package/esm2015/lib/services/blocks/forms/forms-imageleft.service.js +1 -1
- package/esm2015/lib/services/blocks/forms/forms-imageright.service.js +1 -1
- package/esm2015/lib/services/blocks/forms/forms-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/images/four-images-title.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-banner.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-big-and-double.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-bigs-and-double-middle.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-double.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-quadruple-left-one-right.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-quadruple.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/images/images-triple.service.js +1 -1
- package/esm2015/lib/services/blocks/images/two-images-title-text.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-big-left-text-right.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-big-right-text-left.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-left-text-right.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-one-text-one.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-right-text-left.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-small-left-text-right.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-small-right-text-left.service.js +1 -1
- package/esm2015/lib/services/blocks/images-texts/images-texts-text-one-text.service.js +1 -1
- package/esm2015/lib/services/blocks/launch-videos/launch-videos-button.service.js +1 -1
- package/esm2015/lib/services/blocks/launch-videos/launch-videos-buttontxt.service.js +1 -1
- package/esm2015/lib/services/blocks/map/map-background-form-left.service.js +1 -1
- package/esm2015/lib/services/blocks/map/map-background-form-right.service.js +1 -1
- package/esm2015/lib/services/blocks/map/map-fullpage.service.js +1 -1
- package/esm2015/lib/services/blocks/map/map-left-text.service.js +1 -1
- package/esm2015/lib/services/blocks/map/map-right-text.service.js +1 -1
- package/esm2015/lib/services/blocks/map/map-text-form.service.js +1 -1
- package/esm2015/lib/services/blocks/newsletter/newsletter-aligned-center-background.service.js +1 -1
- package/esm2015/lib/services/blocks/newsletter/newsletter-aligned-center-image.service.js +1 -1
- package/esm2015/lib/services/blocks/newsletter/newsletter-center-image.service.js +1 -1
- package/esm2015/lib/services/blocks/onboarding/forms-onboarding.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-complete-background.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-complete-slider.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-complete.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-more.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-selected.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom-triple-column.service.js +1 -1
- package/esm2015/lib/services/blocks/product/product-zoom.service.js +1 -1
- package/esm2015/lib/services/blocks/products-list/products-list-classic.service.js +1 -1
- package/esm2015/lib/services/blocks/products-list/products-list-selected.service.js +1 -1
- package/esm2015/lib/services/blocks/products-list/products-list-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/quotes/quotes-author.service.js +1 -1
- package/esm2015/lib/services/blocks/quotes/quotes-simple-background.service.js +1 -1
- package/esm2015/lib/services/blocks/quotes/quotes-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/rassurances/rassurances-quadruple-aligned.service.js +1 -1
- package/esm2015/lib/services/blocks/rassurances/rassurances-quadruple-background.service.js +1 -1
- package/esm2015/lib/services/blocks/rassurances/rassurances-triple-background.service.js +1 -1
- package/esm2015/lib/services/blocks/reviews/reviews-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/reviews/reviews-waterfall.service.js +1 -1
- package/esm2015/lib/services/blocks/separator/separator-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/sliders/sliders-double-imageright.service.js +1 -1
- package/esm2015/lib/services/blocks/sliders/sliders-fullpage.service.js +1 -1
- package/esm2015/lib/services/blocks/sliders/sliders-imageright.service.js +1 -1
- package/esm2015/lib/services/blocks/sliders/sliders-leftnav.service.js +1 -1
- package/esm2015/lib/services/blocks/sliders/sliders-with-banner.service.js +1 -1
- package/esm2015/lib/services/blocks/socials/socials-like.service.js +1 -1
- package/esm2015/lib/services/blocks/socials/socials-network.service.js +1 -1
- package/esm2015/lib/services/blocks/socials/socials-page-complex.service.js +1 -1
- package/esm2015/lib/services/blocks/socials/socials-page-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-four-rows-icon-text.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-link.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-three-rows-icon-text.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-two-rows-icon-text.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-banner.service.js +1 -1
- package/esm2015/lib/services/blocks/text-backgrounds/text-backgrounds-with-txt.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-double-background.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-double.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-one-background.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-one.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-quadruple-background.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-quadruple-numbers.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-quadruple.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-triple-background.service.js +1 -1
- package/esm2015/lib/services/blocks/texts/texts-triple.service.js +1 -1
- package/esm2015/lib/services/blocks/timer/timer-airport.service.js +1 -1
- package/esm2015/lib/services/blocks/timer/timer-background.service.js +1 -1
- package/esm2015/lib/services/blocks/timer/timer-clock.service.js +1 -1
- package/esm2015/lib/services/blocks/timer/timer-multiple-img.service.js +1 -1
- package/esm2015/lib/services/blocks/timer/timer-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/videos/videos-simple.service.js +1 -1
- package/esm2015/lib/services/blocks/videos/videos-txt-content.service.js +1 -1
- package/esm2015/lib/services/blocks/videos/videos-txt-left.service.js +1 -1
- package/esm2015/lib/services/blocks/videos/videos-txt.service.js +1 -1
- package/esm2015/lib/services/blocks/witness/about-block.service.js +1 -1
- package/esm2015/lib/services/blocks/witness/witness-background-double.service.js +1 -1
- package/esm2015/lib/services/blocks/witness/witness-background-one.service.js +1 -1
- package/esm2015/lib/services/blocks/witness/witness-quadruple.service.js +1 -1
- package/esm2015/lib/services/blocks/witness/witness-triple.service.js +1 -1
- package/esm2015/lib/services/blocks/witness/witness-twice.service.js +1 -1
- package/esm2015/lib/services/structures/amplify-product/amplify-product.service.js +1 -1
- package/esm2015/lib/services/structures/amplify-products-list/amplify-products-list.service.js +1 -1
- package/esm2015/lib/services/structures/code/code.service.js +1 -1
- package/esm2015/lib/services/structures/faq/faq.service.js +1 -1
- package/esm2015/lib/services/structures/forms/forms.service.js +1 -1
- package/esm2015/lib/services/structures/images/images.service.js +1 -1
- package/esm2015/lib/services/structures/images-texts/images-texts.service.js +1 -1
- package/esm2015/lib/services/structures/launch-videos/launch-videos.service.js +1 -1
- package/esm2015/lib/services/structures/map/map.service.js +1 -1
- package/esm2015/lib/services/structures/newsletter/newsletter.service.js +1 -1
- package/esm2015/lib/services/structures/onboarding/onboarding.service.js +1 -1
- package/esm2015/lib/services/structures/parent-structures.service.js +1 -1
- package/esm2015/lib/services/structures/product/product.service.js +1 -1
- package/esm2015/lib/services/structures/products-list/products-list.service.js +1 -1
- package/esm2015/lib/services/structures/quotes/quotes.service.js +1 -1
- package/esm2015/lib/services/structures/rassurances/rassurances.service.js +1 -1
- package/esm2015/lib/services/structures/reviews/reviews.service.js +1 -1
- package/esm2015/lib/services/structures/separator/separator.service.js +1 -1
- package/esm2015/lib/services/structures/sliders/sliders.service.js +1 -1
- package/esm2015/lib/services/structures/socials/socials.service.js +1 -1
- package/esm2015/lib/services/structures/text-backgrounds/text-backgrounds.service.js +1 -1
- package/esm2015/lib/services/structures/texts/texts.service.js +1 -1
- package/esm2015/lib/services/structures/timer/timer.service.js +1 -1
- package/esm2015/lib/services/structures/videos/videos.service.js +1 -1
- package/esm2015/lib/services/structures/witness/witness.service.js +1 -1
- package/esm2015/lib/services/utils/api.service.js +1 -1
- package/esm2015/lib/services/utils/config.service.js +1 -1
- package/esm2015/lib/services/utils/content.service.js +1 -1
- package/esm2015/lib/services/utils/currency.service.js +1 -1
- package/esm2015/lib/services/utils/expected-images.service.js +1 -1
- package/esm2015/lib/services/utils/external-config.service.js +1 -1
- package/esm2015/lib/services/utils/font-awesome.service.js +1 -1
- package/esm2015/lib/services/utils/injector.service.js +1 -1
- package/esm2015/lib/services/utils/media-connector.service.js +1 -1
- package/esm2015/lib/services/utils/quill.service.js +1 -1
- package/esm2015/lib/services/utils/structure-config.service.js +1 -1
- package/esm2015/lib/services/utils/translate-block.service.js +1 -1
- package/esm2015/lib/services/utils/vimeo.service.js +1 -1
- package/esm2015/lib/services/utils/youtube.service.js +1 -1
- package/esm2015/lib/services/wizi-block.service.js +1 -1
- package/esm2015/lib/shared/animations/list/animate-list-from-left.animation.js +1 -1
- package/esm2015/lib/shared/animations/list/animate-list-from-right.animation.js +1 -1
- package/esm2015/lib/shared/components/editorjs/editorjs.component.js +27 -7
- package/esm2015/lib/shared/components/editorjs/tools/inline/bold-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/capitalize-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/italic-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/link-tool.component.js +121 -19
- package/esm2015/lib/shared/components/editorjs/tools/inline/strike-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/subscript-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/superscript-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/text-background-color-tool.component.js +6 -7
- package/esm2015/lib/shared/components/editorjs/tools/inline/text-color-tool.component.js +4 -2
- package/esm2015/lib/shared/components/editorjs/tools/inline/text-size-tool.component.js +4 -3
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/color-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.js +54 -20
- package/esm2015/lib/shared/components/editorjs/tools/inline/tool-type/text-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/inline/underline-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/code-edit-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/indent-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/ordered-list-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/outdent-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/quote-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/redo-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-align-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/text-type-tool.component.js +3 -2
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.js +51 -9
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-edition.component.js +17 -19
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/tool-type/text-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/undo-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/paragraph/unordered-list-tool.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/utils/colors.component.js +1 -1
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-conversion.service.js +13 -1
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.js +40 -2
- package/esm2015/lib/shared/components/editorjs/tools/utils/editorjs-translation.service.js +20 -0
- package/esm2015/lib/shared/components/editorjs/tools/utils/i18n/en-i18n.component.js +3 -3
- package/esm2015/lib/shared/components/editorjs/tools/utils/i18n/fr-i18n.component.js +3 -3
- package/esm2015/lib/shared/components/editorjs/tools/utils/texts.component.js +1 -1
- package/esm2015/lib/shared/components/faq/faq.component.js +1 -1
- package/esm2015/lib/shared/components/loader/loader.component.js +1 -1
- package/esm2015/lib/shared/components/quill/quill.component.js +1 -1
- package/esm2015/lib/shared/components/shared-components.module.js +1 -1
- package/esm2015/lib/shared/components/small-loader/small-loader.component.js +1 -1
- package/esm2015/lib/shared/components/star/star.component.js +1 -1
- package/esm2015/lib/shared/components/structure-amplify-search-category/structure-amplify-search-category.component.js +1 -1
- package/esm2015/lib/shared/components/structure-amplify-search-product/structure-amplify-search-product.component.js +1 -1
- package/esm2015/lib/shared/components/structure-config/structure-config.component.js +1 -1
- package/esm2015/lib/shared/components/structure-config-checkbox/structure-config-checkbox.component.js +1 -1
- package/esm2015/lib/shared/components/structure-config-extend-input/structure-config-extended-input.component.js +1 -1
- package/esm2015/lib/shared/components/structure-config-font/structure-config-font.component.js +1 -1
- package/esm2015/lib/shared/components/structure-config-input/structure-config-input.component.js +1 -1
- package/esm2015/lib/shared/components/structure-config-payment/structure-config-payment.component.js +1 -1
- package/esm2015/lib/shared/components/structure-search-product/structure-search-product.component.js +1 -1
- package/esm2015/lib/shared/components/structure-select/structure-select.component.js +1 -1
- package/esm2015/lib/shared/components/structure-tools/structure-tools.component.js +1 -1
- package/esm2015/lib/shared/directives/auto-focus/auto-focus.directive.js +1 -1
- package/esm2015/lib/shared/directives/auto-hide/auto-hide.directive.js +1 -1
- package/esm2015/lib/shared/directives/get-size-image/get-size-image.directive.js +1 -1
- package/esm2015/lib/shared/directives/holdable/holdable.directive.js +1 -1
- package/esm2015/lib/shared/directives/pictures-template/pictures-template.directive.js +1 -1
- package/esm2015/lib/shared/directives/shared-directives.module.js +1 -1
- package/esm2015/lib/shared/directives/show-delete-button/show-delete-button.directive.js +1 -1
- package/esm2015/lib/shared/pipes/add-zero-for-timer/add-zero-for-timer.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/answer-type/answer-type.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/array-number/array-number.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/check-payment-value/check-payment-value.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/even-odd/even-odd.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/img-path/img-path.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/safe-style/safe-style.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/safe-url/safe-url.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/shared-pipes.module.js +1 -1
- package/esm2015/lib/shared/pipes/strip-tags/strip-tags.pipe.js +1 -1
- package/esm2015/lib/shared/pipes/tiny-color/tiny-color.pipe.js +1 -1
- package/esm2015/lib/shared/shared.module.js +1 -1
- package/esm2015/lib/structures/amplify-product/zoom/amplify-product-zoom.component.js +1 -1
- package/esm2015/lib/structures/amplify-product/zoom-more/amplify-product-zoom-more.component.js +1 -1
- package/esm2015/lib/structures/amplify-product/zoom-selected/amplify-product-zoom-selected.component.js +1 -1
- package/esm2015/lib/structures/amplify-product/zoom-triple-column/amplify-product-zoom-triple-column.component.js +1 -1
- package/esm2015/lib/structures/amplify-products-list/classic/amplify-products-list-classic.component.js +1 -1
- package/esm2015/lib/structures/amplify-products-list/selected/amplify-products-list-selected.component.js +1 -1
- package/esm2015/lib/structures/amplify-products-list/simple/amplify-products-list-simple.component.js +1 -1
- package/esm2015/lib/structures/code/code-html/code-html.component.js +1 -1
- package/esm2015/lib/structures/code/code-javascript/code-javascript.component.js +1 -1
- package/esm2015/lib/structures/code/code-stylesheet/code-stylesheet.component.js +1 -1
- package/esm2015/lib/structures/faq/accordion/faq-accordion.component.js +1 -1
- package/esm2015/lib/structures/faq/frame/faq-frame.component.js +1 -1
- package/esm2015/lib/structures/faq/list-icon/faq-list-icon.component.js +1 -1
- package/esm2015/lib/structures/faq/simple/faq-simple.component.js +1 -1
- package/esm2015/lib/structures/faq/simple-background/faq-simple-background.component.js +1 -1
- package/esm2015/lib/structures/forms/background/forms-background.component.js +1 -1
- package/esm2015/lib/structures/forms/imageleft/forms-imageleft.component.js +1 -1
- package/esm2015/lib/structures/forms/imageright/forms-imageright.component.js +1 -1
- package/esm2015/lib/structures/forms/simple/forms-simple.component.js +1 -1
- package/esm2015/lib/structures/images/banner/images-banner.component.js +1 -1
- package/esm2015/lib/structures/images/big-and-double/images-big-and-double.component.js +1 -1
- package/esm2015/lib/structures/images/bigs-and-double-middle/images-bigs-and-double-middle.component.js +1 -1
- package/esm2015/lib/structures/images/double/images-double.component.js +1 -1
- package/esm2015/lib/structures/images/four-images-title/four-images-title.component.js +1 -1
- package/esm2015/lib/structures/images/quadruple/images-quadruple.component.js +1 -1
- package/esm2015/lib/structures/images/quadruple-left-one-right/images-quadruple-left-one-right.component.js +1 -1
- package/esm2015/lib/structures/images/simple/images-simple.component.js +1 -1
- package/esm2015/lib/structures/images/triple/images-triple.component.js +1 -1
- package/esm2015/lib/structures/images/two-images-title-text/two-images-title-text.component.js +1 -1
- package/esm2015/lib/structures/images-texts/big-left-text-right/images-texts-big-left-text-right.component.js +1 -1
- package/esm2015/lib/structures/images-texts/big-right-text-left/images-texts-big-right-text-left.component.js +1 -1
- package/esm2015/lib/structures/images-texts/left-text-right/images-texts-left-text-right.component.js +1 -1
- package/esm2015/lib/structures/images-texts/one-text-one/images-texts-one-text-one.component.js +1 -1
- package/esm2015/lib/structures/images-texts/right-text-left/images-texts-right-text-left.component.js +1 -1
- package/esm2015/lib/structures/images-texts/small-left-text-right/images-texts-small-left-text-right.component.js +1 -1
- package/esm2015/lib/structures/images-texts/small-right-text-left/images-texts-small-right-text-left.component.js +1 -1
- package/esm2015/lib/structures/images-texts/text-one-text/images-texts-text-one-text.component.js +1 -1
- package/esm2015/lib/structures/launch-videos/button/launch-videos-button.component.js +1 -1
- package/esm2015/lib/structures/launch-videos/buttontxt/launch-videos-buttontxt.component.js +1 -1
- package/esm2015/lib/structures/loader-component.module.js +1 -1
- package/esm2015/lib/structures/map/background-form-left/map-background-form-left.component.js +1 -1
- package/esm2015/lib/structures/map/background-form-right/map-background-form-right.component.js +1 -1
- package/esm2015/lib/structures/map/fullpage/map-fullpage.component.js +1 -1
- package/esm2015/lib/structures/map/left-text/map-left-text.component.js +1 -1
- package/esm2015/lib/structures/map/right-text/map-right-text.component.js +1 -1
- package/esm2015/lib/structures/map/text-form/map-text-form.component.js +1 -1
- package/esm2015/lib/structures/newsletter/aligned-center-background/newsletter-aligned-center-background.component.js +1 -1
- package/esm2015/lib/structures/newsletter/aligned-center-image/newsletter-aligned-center-image.component.js +1 -1
- package/esm2015/lib/structures/newsletter/center-image/newsletter-center-image.component.js +1 -1
- package/esm2015/lib/structures/onboarding/onboarding/forms-onboarding.component.js +1 -1
- package/esm2015/lib/structures/product/zoom/product-zoom.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-complete/product-zoom-complete.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-complete-background/product-zoom-complete-background.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-complete-slider/product-zoom-complete-slider.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-more/product-zoom-more.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-selected/product-zoom-selected.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-simple/product-zoom-simple.component.js +1 -1
- package/esm2015/lib/structures/product/zoom-triple-column/product-zoom-triple-column.component.js +1 -1
- package/esm2015/lib/structures/products-list/classic/products-list-classic.component.js +1 -1
- package/esm2015/lib/structures/products-list/selected/products-list-selected.component.js +1 -1
- package/esm2015/lib/structures/products-list/simple/products-list-simple.component.js +1 -1
- package/esm2015/lib/structures/quotes/author/quotes-author.component.js +1 -1
- package/esm2015/lib/structures/quotes/simple/quotes-simple.component.js +1 -1
- package/esm2015/lib/structures/quotes/simple-background/quotes-simple-background.component.js +1 -1
- package/esm2015/lib/structures/rassurances/quadruple-aligned/rassurances-quadruple-aligned.component.js +1 -1
- package/esm2015/lib/structures/rassurances/quadruple-background/rassurances-quadruple-background.component.js +1 -1
- package/esm2015/lib/structures/rassurances/triple-background/rassurances-triple-background.component.js +1 -1
- package/esm2015/lib/structures/reviews/simple/reviews-simple.component.js +1 -1
- package/esm2015/lib/structures/reviews/waterfall/reviews-waterfall.component.js +1 -1
- package/esm2015/lib/structures/separator/separator-simple/separator-simple.component.js +1 -1
- package/esm2015/lib/structures/sliders/double-imageright/slider-double-imageright.component.js +1 -1
- package/esm2015/lib/structures/sliders/fullpage/slider-fullpage.component.js +1 -1
- package/esm2015/lib/structures/sliders/imageright/slider-imageright.component.js +1 -1
- package/esm2015/lib/structures/sliders/leftnav/slider-leftnav.component.js +1 -1
- package/esm2015/lib/structures/sliders/with-banner/slider-with-banner.component.js +1 -1
- package/esm2015/lib/structures/socials/like/socials-like.component.js +1 -1
- package/esm2015/lib/structures/socials/network/socials-network.component.js +1 -1
- package/esm2015/lib/structures/socials/page-complex/socials-page-complex.component.js +1 -1
- package/esm2015/lib/structures/socials/page-simple/socials-page-simple.component.js +1 -1
- package/esm2015/lib/structures/structures.component.js +1 -1
- package/esm2015/lib/structures/structures.module.js +1 -1
- package/esm2015/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.js +7 -2
- package/esm2015/lib/structures/text-backgrounds/link/text-backgrounds-link.component.js +1 -1
- package/esm2015/lib/structures/text-backgrounds/simple/text-backgrounds-simple.component.js +1 -1
- package/esm2015/lib/structures/text-backgrounds/three-rows-icon-text/text-backgrounds-three-rows-icon-text.component.js +2 -2
- package/esm2015/lib/structures/text-backgrounds/two-rows-icon-text/text-backgrounds-two-rows-icon-text.component.js +2 -2
- package/esm2015/lib/structures/text-backgrounds/with-banner/text-backgrounds-with-banner.component.js +1 -1
- package/esm2015/lib/structures/text-backgrounds/with-txt/text-backgrounds-with-txt.component.js +1 -1
- package/esm2015/lib/structures/texts/double/texts-double.component.js +1 -1
- package/esm2015/lib/structures/texts/double-background/texts-double-background.component.js +1 -1
- package/esm2015/lib/structures/texts/one/texts-one.component.js +1 -1
- package/esm2015/lib/structures/texts/one-background/texts-one-background.component.js +1 -1
- package/esm2015/lib/structures/texts/quadruple/texts-quadruple.component.js +1 -1
- package/esm2015/lib/structures/texts/quadruple-background/texts-quadruple-background.component.js +1 -1
- package/esm2015/lib/structures/texts/quadruple-numbers/texts-quadruple-numbers.component.js +2 -2
- package/esm2015/lib/structures/texts/triple/texts-triple.component.js +1 -1
- package/esm2015/lib/structures/texts/triple-background/texts-triple-background.component.js +1 -1
- package/esm2015/lib/structures/timer/airport/timer-airport.component.js +2 -2
- package/esm2015/lib/structures/timer/background/timer-background.component.js +2 -2
- package/esm2015/lib/structures/timer/clock/timer-clock.component.js +2 -2
- package/esm2015/lib/structures/timer/multiple-img/timer-multiple-img.component.js +2 -2
- package/esm2015/lib/structures/timer/simple/timer-simple.component.js +2 -2
- package/esm2015/lib/structures/videos/simple/videos-simple.component.js +1 -1
- package/esm2015/lib/structures/videos/txt/videos-txt.component.js +1 -1
- package/esm2015/lib/structures/videos/txt-content/videos-txt-content.component.js +1 -1
- package/esm2015/lib/structures/videos/txt-left/videos-txt-left.component.js +1 -1
- package/esm2015/lib/structures/witness/about-block/about-block.component.js +1 -1
- package/esm2015/lib/structures/witness/background-double/witness-background-double.component.js +1 -1
- package/esm2015/lib/structures/witness/background-one/witness-background-one.component.js +1 -1
- package/esm2015/lib/structures/witness/quadruple/witness-quadruple.component.js +1 -1
- package/esm2015/lib/structures/witness/triple/witness-triple.component.js +1 -1
- package/esm2015/lib/structures/witness/twice/witness-twice.component.js +1 -1
- package/esm2015/lib/wizi-block.component.js +4 -4
- package/esm2015/lib/wizi-block.module.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/esm2015/wizishop-wizi-block.js +227 -226
- package/fesm2015/wizishop-wizi-block.js +362 -97
- package/fesm2015/wizishop-wizi-block.js.map +1 -1
- package/lib/shared/components/editorjs/editorjs.component.d.ts +5 -1
- package/lib/shared/components/editorjs/tools/inline/link-tool.component.d.ts +2 -0
- package/lib/shared/components/editorjs/tools/inline/tool-type/inline-style-tool.component.d.ts +3 -2
- package/lib/shared/components/editorjs/tools/paragraph/tool-type/paragraph-style-tool.component.d.ts +5 -0
- package/lib/shared/components/editorjs/tools/utils/editorjs-tool.component.d.ts +3 -0
- package/lib/shared/components/editorjs/tools/utils/editorjs-translation.service.d.ts +7 -0
- package/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.d.ts +1 -0
- package/package.json +4 -2
- package/wizi-block.scss +2727 -2435
- package/wizishop-wizi-block.d.ts +226 -225
- package/wizishop-wizi-block.metadata.json +1 -1
|
@@ -365,7 +365,7 @@ class FormsDto {
|
|
|
365
365
|
this.block = block;
|
|
366
366
|
translateBlockService.translateProperties(this.block);
|
|
367
367
|
if (hasMargin) {
|
|
368
|
-
this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.16',
|
|
368
|
+
this.forms.push(new FormsContentDto(FORM_NAME_HIDE_BLOCK, 'wb.forms.FormsContentDto.16', FORM_TYPE_TAG, block[FORM_NAME_HIDE_BLOCK], '#122231', '', ['wb.blocks.FormContentDto.123', 'wb.blocks.FormContentDto.122'], ['0', '1']));
|
|
369
369
|
}
|
|
370
370
|
this.forms.push(new FormsContentDto(FORM_NAME_MARGIN_TOP, 'wb.forms.FormsContentDto.13', FORM_TYPE_TAG, block[FORM_NAME_MARGIN_TOP], '#122231', '', [
|
|
371
371
|
'wb.blocks.FormContentDto.101',
|
|
@@ -399,6 +399,7 @@ class ParentBlockDto {
|
|
|
399
399
|
constructor(type) {
|
|
400
400
|
this.uuid = v4();
|
|
401
401
|
this.type = type;
|
|
402
|
+
this[FORM_NAME_HIDE_BLOCK] = '1';
|
|
402
403
|
this[FORM_NAME_MARGIN] = 'medium';
|
|
403
404
|
this[FORM_NAME_MARGIN_TOP] = 'small';
|
|
404
405
|
this[FORM_NAME_WIDTH_BLOCK] = 'medium';
|
|
@@ -1849,7 +1850,7 @@ class WitnessBackgroundOneDto extends ParentBlockDto {
|
|
|
1849
1850
|
this[_a$r] = 'wb.dto.TITLE.37';
|
|
1850
1851
|
this[_b$p] = 'wb.dto.CONTENT.36';
|
|
1851
1852
|
this[_c$m] = new ButtonDto();
|
|
1852
|
-
this[_d$l] = '#
|
|
1853
|
+
this[_d$l] = '#FFFFFF';
|
|
1853
1854
|
}
|
|
1854
1855
|
}
|
|
1855
1856
|
_a$r = FORM_NAME_TITLE, _b$p = FORM_NAME_CONTENT, _c$m = FORM_NAME_URL, _d$l = FORM_NAME_COLOR;
|
|
@@ -8132,7 +8133,7 @@ class WiziBlockComponent {
|
|
|
8132
8133
|
this.resizeWithWidth(window.innerWidth);
|
|
8133
8134
|
for (const item of this.contentService.contents) {
|
|
8134
8135
|
if (typeof item.block.hide_block !== typeof undefined) {
|
|
8135
|
-
if (item.block.hide_block) {
|
|
8136
|
+
if (item.block.hide_block === '0') {
|
|
8136
8137
|
this.isHiddenConfig.push(item.block.uuid);
|
|
8137
8138
|
}
|
|
8138
8139
|
}
|
|
@@ -8220,10 +8221,10 @@ class WiziBlockComponent {
|
|
|
8220
8221
|
this.selectedConfig = event.config;
|
|
8221
8222
|
if (typeof this.selectedConfig.forms !== typeof undefined) {
|
|
8222
8223
|
for (const item of this.selectedConfig.forms) {
|
|
8223
|
-
if (item.id === 'hide_block' && item.value && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
|
|
8224
|
+
if (item.id === 'hide_block' && item.value === '0' && !this.isHiddenConfig.includes(this.selectedConfig.block.uuid)) {
|
|
8224
8225
|
this.isHiddenConfig.push(this.selectedConfig.block.uuid);
|
|
8225
8226
|
}
|
|
8226
|
-
else if (item.id === 'hide_block' &&
|
|
8227
|
+
else if (item.id === 'hide_block' && item.value === '1') {
|
|
8227
8228
|
this.isHiddenConfig = this.isHiddenConfig.filter((e) => e !== this.selectedConfig.block.uuid);
|
|
8228
8229
|
}
|
|
8229
8230
|
}
|
|
@@ -18575,6 +18576,7 @@ class AttributeObject {
|
|
|
18575
18576
|
class EditorJSTool {
|
|
18576
18577
|
constructor() {
|
|
18577
18578
|
this.parentEditor = null;
|
|
18579
|
+
this.textContainers = 'h1,h2,h3,h4,h5,h6,p,li';
|
|
18578
18580
|
this.selectedAnchorNode = null;
|
|
18579
18581
|
this.selectedFocusNode = null;
|
|
18580
18582
|
this.anchorOffset = -1;
|
|
@@ -18613,8 +18615,34 @@ class EditorJSTool {
|
|
|
18613
18615
|
this.focusOffset = this.currentSelection.focusOffset;
|
|
18614
18616
|
}
|
|
18615
18617
|
resetUserSelection() {
|
|
18618
|
+
var _a;
|
|
18619
|
+
console.log('reset here');
|
|
18620
|
+
if (this.selectedAnchorNode.nodeType === Node.ELEMENT_NODE && this.selectedAnchorNode.children) {
|
|
18621
|
+
while (this.selectedAnchorNode.children &&
|
|
18622
|
+
this.selectedAnchorNode.innerText === ((_a = this.selectedAnchorNode.children[0]) === null || _a === void 0 ? void 0 : _a.innerText) &&
|
|
18623
|
+
this.selectedAnchorNode.children.length === 1) {
|
|
18624
|
+
this.selectedAnchorNode = this.selectedAnchorNode.children[0];
|
|
18625
|
+
this.selectedFocusNode = this.selectedAnchorNode;
|
|
18626
|
+
this.anchorOffset = 0;
|
|
18627
|
+
this.focusOffset = 1;
|
|
18628
|
+
}
|
|
18629
|
+
if (this.textContainers.split(',').indexOf(this.selectedAnchorNode.tagName.toLowerCase()) > -1) {
|
|
18630
|
+
let childTextNodes = this.getTextNodes(this.selectedAnchorNode);
|
|
18631
|
+
let focusNode = childTextNodes.length > 1
|
|
18632
|
+
? this.selectedAnchorNode.childNodes[childTextNodes.length - 1]
|
|
18633
|
+
: this.selectedAnchorNode.childNodes[0];
|
|
18634
|
+
let focusOffset = childTextNodes.length > 1 ? childTextNodes.length : childTextNodes[0].textContent.length;
|
|
18635
|
+
this.selectedAnchorNode = this.selectedAnchorNode.childNodes[0];
|
|
18636
|
+
this.anchorOffset = 0;
|
|
18637
|
+
this.selectedFocusNode = focusNode;
|
|
18638
|
+
this.focusOffset = focusOffset;
|
|
18639
|
+
}
|
|
18640
|
+
}
|
|
18616
18641
|
document.getSelection().setBaseAndExtent(this.selectedAnchorNode, this.anchorOffset, this.selectedFocusNode, this.focusOffset);
|
|
18617
|
-
|
|
18642
|
+
}
|
|
18643
|
+
collapseSelection() {
|
|
18644
|
+
let selection = this.getSelection();
|
|
18645
|
+
document.getSelection().setBaseAndExtent(selection.anchorNode, 0, selection.anchorNode, 0);
|
|
18618
18646
|
}
|
|
18619
18647
|
findParentEditor() {
|
|
18620
18648
|
const selection = this.currentSelection ? this.currentSelection : this.getSelection();
|
|
@@ -18623,6 +18651,17 @@ class EditorJSTool {
|
|
|
18623
18651
|
clear() {
|
|
18624
18652
|
resetBlockFocus(this.parentEditor);
|
|
18625
18653
|
}
|
|
18654
|
+
getTextNodes(container) {
|
|
18655
|
+
let childTextNodes = [];
|
|
18656
|
+
if (container.childNodes) {
|
|
18657
|
+
for (var i = 0; i < container.childNodes.length; ++i) {
|
|
18658
|
+
if (container.childNodes[i].nodeType === Node.TEXT_NODE) {
|
|
18659
|
+
childTextNodes.push(container.childNodes[i]);
|
|
18660
|
+
}
|
|
18661
|
+
}
|
|
18662
|
+
}
|
|
18663
|
+
return childTextNodes;
|
|
18664
|
+
}
|
|
18626
18665
|
}
|
|
18627
18666
|
var isTextEditionTool = false;
|
|
18628
18667
|
var isBlockFocused = false;
|
|
@@ -18656,7 +18695,6 @@ function resetBlockFocus(parentEditor) {
|
|
|
18656
18695
|
class InlineStyleTool extends EditorJSTool {
|
|
18657
18696
|
constructor() {
|
|
18658
18697
|
super(...arguments);
|
|
18659
|
-
this.containers = 'h1,h2,h3,h4,h5,h6,p,li';
|
|
18660
18698
|
this.modifiers = 'strong,em';
|
|
18661
18699
|
this.foundAnchorOffset = 0;
|
|
18662
18700
|
this.foundFocusOffset = 0;
|
|
@@ -18664,6 +18702,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18664
18702
|
this.foundFocusNode = false;
|
|
18665
18703
|
this.tmpOffset = 0;
|
|
18666
18704
|
this.modifiedContent = false;
|
|
18705
|
+
this.linkDeletion = false;
|
|
18667
18706
|
this.modifies = {
|
|
18668
18707
|
tag: false,
|
|
18669
18708
|
style: false,
|
|
@@ -18677,7 +18716,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18677
18716
|
if (!selection) {
|
|
18678
18717
|
return;
|
|
18679
18718
|
}
|
|
18680
|
-
|
|
18719
|
+
let anchorNode = selection.anchorNode;
|
|
18681
18720
|
if (!this.parentEditor) {
|
|
18682
18721
|
this.parentEditor = this.findParentEditor();
|
|
18683
18722
|
}
|
|
@@ -18689,16 +18728,20 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18689
18728
|
: anchorNode.parentElement;
|
|
18690
18729
|
const sameSelection = container && container.innerText === selection.toString();
|
|
18691
18730
|
yield this.saveInlineSelection(container, true);
|
|
18692
|
-
|
|
18693
|
-
|
|
18694
|
-
this.hasStyle(container)
|
|
18695
|
-
selection.toString() === this.hasStyle(container).innerText) {
|
|
18696
|
-
console.log('update');
|
|
18697
|
-
yield this.updateSelection(selection, this.hasStyle(container), action, this.containers);
|
|
18731
|
+
// Link delete exception
|
|
18732
|
+
if (this.linkDeletion) {
|
|
18733
|
+
yield this.replaceLink(selection, this.hasStyle(container));
|
|
18698
18734
|
}
|
|
18699
18735
|
else {
|
|
18700
|
-
|
|
18701
|
-
|
|
18736
|
+
if (sameSelection &&
|
|
18737
|
+
!this.isContainer(this.textContainers, container) &&
|
|
18738
|
+
this.hasStyle(container) &&
|
|
18739
|
+
selection.toString() === this.hasStyle(container).innerText) {
|
|
18740
|
+
yield this.updateSelection(selection, this.hasStyle(container), action, this.textContainers);
|
|
18741
|
+
}
|
|
18742
|
+
else {
|
|
18743
|
+
yield this.replaceSelection(container, action, selection, this.textContainers);
|
|
18744
|
+
}
|
|
18702
18745
|
}
|
|
18703
18746
|
yield this.cleanupContainer(selection, container, true);
|
|
18704
18747
|
if (this.modifiedContent) {
|
|
@@ -18738,6 +18781,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18738
18781
|
});
|
|
18739
18782
|
}
|
|
18740
18783
|
replaceSelection(container, action, selection, containers) {
|
|
18784
|
+
var _a;
|
|
18741
18785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18742
18786
|
let parentContainer = this.hasStyle(container);
|
|
18743
18787
|
const focusNode = selection.focusNode;
|
|
@@ -18790,8 +18834,20 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18790
18834
|
else {
|
|
18791
18835
|
const range = this.getRangeObject(selection);
|
|
18792
18836
|
const fragment = range.extractContents();
|
|
18837
|
+
let fragmentElement = document.createElement('div');
|
|
18793
18838
|
let newElement = yield this.createElement(container, action, containers);
|
|
18794
|
-
newElement
|
|
18839
|
+
let elementToAppend = newElement;
|
|
18840
|
+
fragmentElement.append(fragment);
|
|
18841
|
+
if (((_a = fragmentElement.children) === null || _a === void 0 ? void 0 : _a.length) === 1 &&
|
|
18842
|
+
this.textContainers.split(',').indexOf(fragmentElement.children[0].tagName.toLowerCase()) > -1) {
|
|
18843
|
+
elementToAppend = fragmentElement.children[0];
|
|
18844
|
+
newElement.innerHTML = fragmentElement.children[0].innerHTML;
|
|
18845
|
+
elementToAppend.innerHTML = '';
|
|
18846
|
+
elementToAppend.append(newElement);
|
|
18847
|
+
}
|
|
18848
|
+
else {
|
|
18849
|
+
newElement.innerHTML = fragmentElement.innerHTML;
|
|
18850
|
+
}
|
|
18795
18851
|
if (this.modifies.class) {
|
|
18796
18852
|
yield this.removeChildrenClasses(newElement);
|
|
18797
18853
|
if (this.classToApply !== '') {
|
|
@@ -18803,11 +18859,21 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18803
18859
|
newElement.setAttribute(attribute.name, attribute.value);
|
|
18804
18860
|
});
|
|
18805
18861
|
}
|
|
18806
|
-
range.insertNode(
|
|
18807
|
-
selection.selectAllChildren(
|
|
18862
|
+
range.insertNode(elementToAppend);
|
|
18863
|
+
selection.selectAllChildren(elementToAppend);
|
|
18808
18864
|
}
|
|
18809
18865
|
});
|
|
18810
18866
|
}
|
|
18867
|
+
replaceLink(selection, container) {
|
|
18868
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18869
|
+
console.log('container');
|
|
18870
|
+
console.log(container);
|
|
18871
|
+
let newElement = document.createElement('span');
|
|
18872
|
+
newElement.innerHTML = container.innerHTML;
|
|
18873
|
+
container.parentElement.replaceChild(newElement, container);
|
|
18874
|
+
selection.selectAllChildren(newElement);
|
|
18875
|
+
});
|
|
18876
|
+
}
|
|
18811
18877
|
isAnchorBeforeFocus(anchorNode, anchorOffset, focusNode, focusOffset) {
|
|
18812
18878
|
let anchorRange = document.createRange();
|
|
18813
18879
|
let focusRange = document.createRange();
|
|
@@ -18820,11 +18886,18 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18820
18886
|
}
|
|
18821
18887
|
return false;
|
|
18822
18888
|
}
|
|
18823
|
-
hasStyle(element) {
|
|
18824
|
-
var _a, _b;
|
|
18889
|
+
hasStyle(element, firstTimeCall = true) {
|
|
18890
|
+
var _a, _b, _c;
|
|
18891
|
+
if (firstTimeCall && element.children) {
|
|
18892
|
+
while (element.children &&
|
|
18893
|
+
element.innerText === ((_a = element.children[0]) === null || _a === void 0 ? void 0 : _a.innerText) &&
|
|
18894
|
+
element.children.length === 1) {
|
|
18895
|
+
element = element.children[0];
|
|
18896
|
+
}
|
|
18897
|
+
}
|
|
18825
18898
|
// foundElement was added because of a return issue when a class is applied
|
|
18826
18899
|
let foundElement = null;
|
|
18827
|
-
if (!element || ((
|
|
18900
|
+
if (!element || ((_b = element.classList) === null || _b === void 0 ? void 0 : _b.contains('ce-paragraph'))) {
|
|
18828
18901
|
return null;
|
|
18829
18902
|
}
|
|
18830
18903
|
if (this.modifies.style) {
|
|
@@ -18845,7 +18918,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18845
18918
|
});
|
|
18846
18919
|
}
|
|
18847
18920
|
else if (this.modifies.tag) {
|
|
18848
|
-
if (((
|
|
18921
|
+
if (((_c = element.tagName) === null || _c === void 0 ? void 0 : _c.toLowerCase()) === this.tag.toLowerCase()) {
|
|
18849
18922
|
return element;
|
|
18850
18923
|
}
|
|
18851
18924
|
}
|
|
@@ -18862,7 +18935,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18862
18935
|
return foundElement;
|
|
18863
18936
|
}
|
|
18864
18937
|
if (!foundElement && element.parentElement) {
|
|
18865
|
-
return this.hasStyle(element.parentElement);
|
|
18938
|
+
return this.hasStyle(element.parentElement, false);
|
|
18866
18939
|
}
|
|
18867
18940
|
return null;
|
|
18868
18941
|
}
|
|
@@ -18875,7 +18948,7 @@ class InlineStyleTool extends EditorJSTool {
|
|
|
18875
18948
|
return this.style.default;
|
|
18876
18949
|
}
|
|
18877
18950
|
const style = yield this.findStyleNode(container, action, containers);
|
|
18878
|
-
if (this.hasStyle(style) && this.style.value.indexOf('$1') === -1) {
|
|
18951
|
+
if (style && this.hasStyle(style) && this.style.value.indexOf('$1') === -1) {
|
|
18879
18952
|
return this.style.default;
|
|
18880
18953
|
}
|
|
18881
18954
|
return this.style.value.indexOf('$1') > -1 ? this.style.value.replace('$1', this.style.input) : this.style.value;
|
|
@@ -19612,6 +19685,24 @@ class CapitalizeTool extends InlineStyleTool {
|
|
|
19612
19685
|
}
|
|
19613
19686
|
CapitalizeTool.title = 'Capitalize';
|
|
19614
19687
|
|
|
19688
|
+
var editorJSI18nDictionnary;
|
|
19689
|
+
class EditorJSTranslationService {
|
|
19690
|
+
constructor() { }
|
|
19691
|
+
setDictionnary(dictionnary) {
|
|
19692
|
+
editorJSI18nDictionnary = dictionnary;
|
|
19693
|
+
}
|
|
19694
|
+
get(key) {
|
|
19695
|
+
return editorJSI18nDictionnary[key];
|
|
19696
|
+
}
|
|
19697
|
+
}
|
|
19698
|
+
EditorJSTranslationService.ɵprov = ɵɵdefineInjectable({ factory: function EditorJSTranslationService_Factory() { return new EditorJSTranslationService(); }, token: EditorJSTranslationService, providedIn: "root" });
|
|
19699
|
+
EditorJSTranslationService.decorators = [
|
|
19700
|
+
{ type: Injectable, args: [{
|
|
19701
|
+
providedIn: 'root',
|
|
19702
|
+
},] }
|
|
19703
|
+
];
|
|
19704
|
+
EditorJSTranslationService.ctorParameters = () => [];
|
|
19705
|
+
|
|
19615
19706
|
const DEFAULT_COLOR_ARRAY = [
|
|
19616
19707
|
[
|
|
19617
19708
|
'rgb(0, 0, 0)',
|
|
@@ -20174,6 +20265,7 @@ class TextColorTool extends ColorTool {
|
|
|
20174
20265
|
if (!isBlockFocused) {
|
|
20175
20266
|
setBlockFocus(this.parentEditor);
|
|
20176
20267
|
}
|
|
20268
|
+
this.checkDefaultColors();
|
|
20177
20269
|
const isActive = this.hasStyle(selection.anchorNode) ? true : false;
|
|
20178
20270
|
this.nodes.button.classList.toggle(this.CSS.buttonActive, isActive);
|
|
20179
20271
|
return isActive;
|
|
@@ -20198,7 +20290,7 @@ class TextColorTool extends ColorTool {
|
|
|
20198
20290
|
let customColor = document.createElement('div');
|
|
20199
20291
|
customColor.className = this.colorSelectionCss['container'];
|
|
20200
20292
|
let text = document.createElement('p');
|
|
20201
|
-
text.innerText =
|
|
20293
|
+
text.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['customColor'];
|
|
20202
20294
|
let button = document.createElement('div');
|
|
20203
20295
|
button.addEventListener('click', (event) => this.openCustomColorPicker(event));
|
|
20204
20296
|
let container = this.createCustomColorPicker();
|
|
@@ -20297,12 +20389,8 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20297
20389
|
}
|
|
20298
20390
|
applyColor(color, inputToFocus = null) {
|
|
20299
20391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20300
|
-
console.log('applyColor');
|
|
20301
20392
|
let colorIndicator = this.nodes.button.querySelectorAll('.' + this.CSS.colorIndicatorModifier)[0];
|
|
20302
20393
|
this.style.input = color;
|
|
20303
|
-
console.log('this.style.input');
|
|
20304
|
-
console.log(this.style.input);
|
|
20305
|
-
console.warn(color);
|
|
20306
20394
|
this.resetUserSelection();
|
|
20307
20395
|
yield this.surround(null, true);
|
|
20308
20396
|
this.checkDefaultColors();
|
|
@@ -20313,6 +20401,7 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20313
20401
|
inputToFocus.focus();
|
|
20314
20402
|
}
|
|
20315
20403
|
//this.hideActions();
|
|
20404
|
+
this.collapseSelection();
|
|
20316
20405
|
});
|
|
20317
20406
|
}
|
|
20318
20407
|
checkState(selection) {
|
|
@@ -20322,6 +20411,7 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20322
20411
|
if (!isBlockFocused) {
|
|
20323
20412
|
setBlockFocus(this.parentEditor);
|
|
20324
20413
|
}
|
|
20414
|
+
this.checkDefaultColors();
|
|
20325
20415
|
const isActive = this.hasStyle(selection.anchorNode) ? true : false;
|
|
20326
20416
|
this.nodes.button.classList.toggle(this.CSS.buttonActive, isActive);
|
|
20327
20417
|
return isActive;
|
|
@@ -20347,13 +20437,13 @@ class TextBackgroundColorTool extends ColorTool {
|
|
|
20347
20437
|
let removeColorContainerIcon = document.createElement('span');
|
|
20348
20438
|
removeColorContainer.classList.add(this.CSS.removeBackgroundColorClass);
|
|
20349
20439
|
removeColorContainer.addEventListener('click', () => this.applyColor('rgba(0,0,0,0)'));
|
|
20350
|
-
removeColorContainer.innerText =
|
|
20440
|
+
removeColorContainer.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['None'];
|
|
20351
20441
|
removeColorContainer.appendChild(removeColorContainerIcon);
|
|
20352
20442
|
this.colorSelection.appendChild(removeColorContainer);
|
|
20353
20443
|
let customColor = document.createElement('div');
|
|
20354
20444
|
customColor.className = this.colorSelectionCss['container'];
|
|
20355
20445
|
let text = document.createElement('p');
|
|
20356
|
-
text.innerText =
|
|
20446
|
+
text.innerText = editorJSI18nDictionnary.messages.tools.textBackgroundColor['customColor'];
|
|
20357
20447
|
let button = document.createElement('div');
|
|
20358
20448
|
button.addEventListener('click', (event) => this.openCustomColorPicker(event));
|
|
20359
20449
|
let container = this.createCustomColorPicker();
|
|
@@ -20393,6 +20483,7 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20393
20483
|
if (!selection) {
|
|
20394
20484
|
return;
|
|
20395
20485
|
}
|
|
20486
|
+
this.saveUserSelection();
|
|
20396
20487
|
const anchorNode = selection.anchorNode;
|
|
20397
20488
|
if (!this.parentEditor) {
|
|
20398
20489
|
this.parentEditor = this.findParentEditor();
|
|
@@ -20407,6 +20498,7 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20407
20498
|
if ((this.classToApply && this.classToApply.length > 0) || (this.classes && this.classes.length > 0)) {
|
|
20408
20499
|
this.changeCurrentClass(parentModifier);
|
|
20409
20500
|
}
|
|
20501
|
+
this.collapseSelection();
|
|
20410
20502
|
});
|
|
20411
20503
|
}
|
|
20412
20504
|
checkOrderedListValue() {
|
|
@@ -20441,8 +20533,18 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20441
20533
|
currentIndex++;
|
|
20442
20534
|
}
|
|
20443
20535
|
}
|
|
20536
|
+
getCurrentParagraph(anchorNode) {
|
|
20537
|
+
if (anchorNode.nodeType === Node.ELEMENT_NODE && anchorNode.classList.contains('ce-paragraph')) {
|
|
20538
|
+
return anchorNode;
|
|
20539
|
+
}
|
|
20540
|
+
if (anchorNode.parentElement.classList.contains('ce-paragraph')) {
|
|
20541
|
+
return anchorNode.parentElement;
|
|
20542
|
+
}
|
|
20543
|
+
return anchorNode.parentElement.closest('.ce-paragraph');
|
|
20544
|
+
}
|
|
20444
20545
|
changeContainerTag(container, selection) {
|
|
20445
20546
|
const range = this.getRangeObject(selection);
|
|
20547
|
+
let currentParagraph = this.getCurrentParagraph(selection.anchorNode);
|
|
20446
20548
|
let tagToCreate = this.tag;
|
|
20447
20549
|
if (container.tagName.toLowerCase() === this.tag.toLowerCase() && this.removableModifiers.indexOf(this.tag.toLowerCase()) > -1) {
|
|
20448
20550
|
tagToCreate = 'p';
|
|
@@ -20453,13 +20555,13 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20453
20555
|
}
|
|
20454
20556
|
let containerToCopy = container;
|
|
20455
20557
|
if (container.tagName.toLowerCase() === 'ul' || container.tagName.toLowerCase() === 'ol') {
|
|
20456
|
-
|
|
20558
|
+
currentParagraph.removeEventListener('keydown', onEditList, true);
|
|
20457
20559
|
containerToCopy = container.firstElementChild;
|
|
20458
20560
|
}
|
|
20459
20561
|
if (newContainer.tagName.toLowerCase() === 'ul' || newContainer.tagName.toLowerCase() === 'ol') {
|
|
20460
20562
|
listApi = this.api;
|
|
20461
20563
|
listEditor = this.parentEditor;
|
|
20462
|
-
|
|
20564
|
+
currentParagraph.addEventListener('keydown', onEditList, true);
|
|
20463
20565
|
}
|
|
20464
20566
|
if ((this.tag.toLowerCase() === 'ul' || this.tag.toLowerCase() === 'ol') &&
|
|
20465
20567
|
container.tagName.toLowerCase() !== this.tag.toLowerCase()) {
|
|
@@ -20523,9 +20625,9 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20523
20625
|
let currentElement = element;
|
|
20524
20626
|
if (currentElement.tagName.toLowerCase() === 'div') {
|
|
20525
20627
|
if (currentElement.classList.contains('ce-paragraph')) {
|
|
20526
|
-
return currentElement;
|
|
20628
|
+
return currentElement.children[0];
|
|
20527
20629
|
}
|
|
20528
|
-
return currentElement.
|
|
20630
|
+
return currentElement.closest('.codex-editor__redactor').querySelector('.ce-paragraph').children[0];
|
|
20529
20631
|
}
|
|
20530
20632
|
while (this.modifiers.split(',').indexOf(currentElement.tagName.toLowerCase()) === -1) {
|
|
20531
20633
|
if (currentElement.tagName.toLowerCase() === 'div') {
|
|
@@ -20538,6 +20640,10 @@ class ParagraphStyleTool extends EditorJSTool {
|
|
|
20538
20640
|
}
|
|
20539
20641
|
var listApi = null;
|
|
20540
20642
|
var listEditor = null;
|
|
20643
|
+
function setlistApiEditor(api, editor) {
|
|
20644
|
+
listApi = api;
|
|
20645
|
+
listEditor = editor;
|
|
20646
|
+
}
|
|
20541
20647
|
function onEditList(event) {
|
|
20542
20648
|
let focusedBlock = event.target;
|
|
20543
20649
|
if (LIST_EDIT_KEY_CODES.indexOf(event.code) > -1) {
|
|
@@ -20549,6 +20655,20 @@ function onEditList(event) {
|
|
|
20549
20655
|
currentParagraph.removeEventListener('keydown', onEditList, true);
|
|
20550
20656
|
document.getSelection().setBaseAndExtent(currentParagraph.querySelector('p'), 0, currentParagraph.querySelector('p'), 0);
|
|
20551
20657
|
}
|
|
20658
|
+
else {
|
|
20659
|
+
let selection = document.getSelection();
|
|
20660
|
+
if (selection.anchorOffset === 0) {
|
|
20661
|
+
let newParagraph = document.createElement('p');
|
|
20662
|
+
let currentParagraph = listEditor.querySelectorAll('.ce-paragraph')[listApi.blocks.getCurrentBlockIndex()];
|
|
20663
|
+
newParagraph.innerHTML = currentParagraph.querySelector('li').innerHTML;
|
|
20664
|
+
currentParagraph.innerHTML = '';
|
|
20665
|
+
currentParagraph.appendChild(newParagraph);
|
|
20666
|
+
currentParagraph.removeEventListener('keydown', onEditList, true);
|
|
20667
|
+
document
|
|
20668
|
+
.getSelection()
|
|
20669
|
+
.setBaseAndExtent(currentParagraph.querySelector('p'), 0, currentParagraph.querySelector('p'), 0);
|
|
20670
|
+
}
|
|
20671
|
+
}
|
|
20552
20672
|
}
|
|
20553
20673
|
else {
|
|
20554
20674
|
event.preventDefault();
|
|
@@ -20561,7 +20681,19 @@ function onEditList(event) {
|
|
|
20561
20681
|
let listElement = document.createElement(previousBlock.querySelector('.ce-paragraph').firstElementChild.tagName);
|
|
20562
20682
|
listElement.appendChild(document.createElement('li'));
|
|
20563
20683
|
if (listElement.tagName.toLowerCase() === 'ol') {
|
|
20564
|
-
|
|
20684
|
+
let value = parseInt(previousBlock.querySelector('li').getAttribute('value')) + 1;
|
|
20685
|
+
let nextListElement = true;
|
|
20686
|
+
listElement.firstElementChild.setAttribute('value', value.toString());
|
|
20687
|
+
for (var i = listApi.blocks.getCurrentBlockIndex() + 1; i < listEditor.querySelectorAll('.ce-block').length && nextListElement; ++i) {
|
|
20688
|
+
let followingOlBlock = listEditor.querySelectorAll('.ce-block')[i];
|
|
20689
|
+
if (followingOlBlock.querySelector('ol')) {
|
|
20690
|
+
++value;
|
|
20691
|
+
followingOlBlock.querySelector('li').setAttribute('value', value.toString());
|
|
20692
|
+
}
|
|
20693
|
+
else {
|
|
20694
|
+
nextListElement = false;
|
|
20695
|
+
}
|
|
20696
|
+
}
|
|
20565
20697
|
}
|
|
20566
20698
|
currentParagraph.appendChild(listElement);
|
|
20567
20699
|
currentParagraph.addEventListener('keydown', onEditList, true);
|
|
@@ -20817,7 +20949,7 @@ class TextTypeTool extends ParagraphTextTool {
|
|
|
20817
20949
|
this.textTypes.forEach((textType) => {
|
|
20818
20950
|
let row = document.createElement('div');
|
|
20819
20951
|
row.className = this.dropdownCss['row'];
|
|
20820
|
-
row.innerText =
|
|
20952
|
+
row.innerText = editorJSI18nDictionnary.messages.tools.textType[textType.name];
|
|
20821
20953
|
row.addEventListener('click', () => this.applyTextStyle(textType.tag));
|
|
20822
20954
|
textTypeDropdown.appendChild(row);
|
|
20823
20955
|
});
|
|
@@ -20884,7 +21016,7 @@ const frI18nDictionnary = {
|
|
|
20884
21016
|
placeholder: 'https://www.maboutique.fr or /monlien/',
|
|
20885
21017
|
external: 'Externe ?',
|
|
20886
21018
|
obfuscated: 'Lien Obfusqué ?',
|
|
20887
|
-
info: 'L\'obfuscation de liens est une technique SEO avancée qui consiste à cacher un lien aux robots des moteurs de recherche, tout en le laissant accessible pour les internautes. <a href="https://www.wizishop.fr/blog/obfuscation-lien">Découvrir l\'article complet.</a>',
|
|
21019
|
+
info: 'L\'obfuscation de liens est une technique SEO avancée qui consiste à cacher un lien aux robots des moteurs de recherche, tout en le laissant accessible pour les internautes. <a href="https://www.wizishop.fr/blog/obfuscation-lien" target="_blank">Découvrir l\'article complet.</a>',
|
|
20888
21020
|
},
|
|
20889
21021
|
textBackgroundColor: {
|
|
20890
21022
|
customColor: 'Sélectionner une couleur personnalisée :',
|
|
@@ -20903,7 +21035,7 @@ const frI18nDictionnary = {
|
|
|
20903
21035
|
Small: 'Petit',
|
|
20904
21036
|
Normal: 'Normal',
|
|
20905
21037
|
Large: 'Grand',
|
|
20906
|
-
Huge: '
|
|
21038
|
+
Huge: 'Très grand',
|
|
20907
21039
|
},
|
|
20908
21040
|
codeEdit: {
|
|
20909
21041
|
Cancel: 'Annuler',
|
|
@@ -20968,7 +21100,7 @@ const enI18nDictionnary = {
|
|
|
20968
21100
|
placeholder: 'https://www.myshop.fr or /mylink/',
|
|
20969
21101
|
external: 'External?',
|
|
20970
21102
|
obfuscated: 'Obfuscated link?',
|
|
20971
|
-
info: 'Link obfuscation is an advanced SEO technique that consists in hiding a link from search engine robots, while leaving it available for users. <a href="https://wizishop.com/blog/url-obfuscation">Read more</a>',
|
|
21103
|
+
info: 'Link obfuscation is an advanced SEO technique that consists in hiding a link from search engine robots, while leaving it available for users. <a href="https://wizishop.com/blog/url-obfuscation" target="_blank">Read more</a>',
|
|
20972
21104
|
},
|
|
20973
21105
|
textBackgroundColor: {
|
|
20974
21106
|
customColor: 'Select a custom color :',
|
|
@@ -20987,7 +21119,7 @@ const enI18nDictionnary = {
|
|
|
20987
21119
|
Small: 'Small',
|
|
20988
21120
|
Normal: 'Normal',
|
|
20989
21121
|
Large: 'Large',
|
|
20990
|
-
Huge: '
|
|
21122
|
+
Huge: 'Very large',
|
|
20991
21123
|
},
|
|
20992
21124
|
codeEdit: {
|
|
20993
21125
|
Cancel: 'Cancel',
|
|
@@ -21334,6 +21466,7 @@ class LinkTool extends InlineStyleTool {
|
|
|
21334
21466
|
};
|
|
21335
21467
|
this.tag = 'SPAN';
|
|
21336
21468
|
this.hasSeparatorBefore = true;
|
|
21469
|
+
this.linkDeletion = false;
|
|
21337
21470
|
this.modifies = {
|
|
21338
21471
|
tag: false,
|
|
21339
21472
|
style: false,
|
|
@@ -21348,8 +21481,10 @@ class LinkTool extends InlineStyleTool {
|
|
|
21348
21481
|
linkInputId: 'linkInput',
|
|
21349
21482
|
targetCheckboxId: 'targetCheckbox',
|
|
21350
21483
|
obfuscationCheckboxId: 'obfuscationCheckbox',
|
|
21484
|
+
addButtonClass: 'ce-inline-actions--link__add',
|
|
21485
|
+
deleteButtonClass: 'ce-inline-actions--link__delete',
|
|
21351
21486
|
};
|
|
21352
|
-
this.attributeName = 'data-htap,href';
|
|
21487
|
+
this.attributeName = 'data-htap,href,data-knalb';
|
|
21353
21488
|
this.attributesToApply = [];
|
|
21354
21489
|
this.isLinkDropdownOpen = false;
|
|
21355
21490
|
this.api = api;
|
|
@@ -21408,16 +21543,54 @@ class LinkTool extends InlineStyleTool {
|
|
|
21408
21543
|
if (!this.parentEditor) {
|
|
21409
21544
|
this.parentEditor = this.findParentEditor();
|
|
21410
21545
|
}
|
|
21546
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21411
21547
|
this.attributesToApply = [];
|
|
21412
|
-
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId']);
|
|
21413
|
-
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId']);
|
|
21414
|
-
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId']);
|
|
21415
|
-
if (
|
|
21548
|
+
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
|
|
21549
|
+
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21550
|
+
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
|
|
21551
|
+
if (obfuscationCheckbox.checked) {
|
|
21552
|
+
this.tag = 'SPAN';
|
|
21553
|
+
this.modifies.tag = false;
|
|
21416
21554
|
this.attributesToApply.push({
|
|
21417
|
-
name: '
|
|
21418
|
-
value:
|
|
21555
|
+
name: 'data-htap',
|
|
21556
|
+
value: btoa(linkInput.value),
|
|
21419
21557
|
});
|
|
21558
|
+
if (targetCheckbox.checked) {
|
|
21559
|
+
this.attributesToApply.push({
|
|
21560
|
+
name: 'data-knalb',
|
|
21561
|
+
value: 'true',
|
|
21562
|
+
});
|
|
21563
|
+
}
|
|
21564
|
+
}
|
|
21565
|
+
else {
|
|
21566
|
+
this.tag = 'A';
|
|
21567
|
+
this.modifies.tag = true;
|
|
21568
|
+
this.attributesToApply.push({
|
|
21569
|
+
name: 'href',
|
|
21570
|
+
value: linkInput.value,
|
|
21571
|
+
});
|
|
21572
|
+
if (targetCheckbox.checked) {
|
|
21573
|
+
this.attributesToApply.push({
|
|
21574
|
+
name: 'target',
|
|
21575
|
+
value: '_blank',
|
|
21576
|
+
});
|
|
21577
|
+
}
|
|
21578
|
+
}
|
|
21579
|
+
this.resetUserSelection();
|
|
21580
|
+
yield this.surround(null, true);
|
|
21581
|
+
this.checkState(this.currentSelection);
|
|
21582
|
+
this.openLinkDropdown();
|
|
21583
|
+
});
|
|
21584
|
+
}
|
|
21585
|
+
deleteLink() {
|
|
21586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21587
|
+
if (!this.parentEditor) {
|
|
21588
|
+
this.parentEditor = this.findParentEditor();
|
|
21420
21589
|
}
|
|
21590
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21591
|
+
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
|
|
21592
|
+
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21593
|
+
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
|
|
21421
21594
|
if (obfuscationCheckbox.checked) {
|
|
21422
21595
|
this.tag = 'SPAN';
|
|
21423
21596
|
this.modifies.tag = false;
|
|
@@ -21425,6 +21598,12 @@ class LinkTool extends InlineStyleTool {
|
|
|
21425
21598
|
name: 'data-htap',
|
|
21426
21599
|
value: btoa(linkInput.value),
|
|
21427
21600
|
});
|
|
21601
|
+
if (targetCheckbox.checked) {
|
|
21602
|
+
this.attributesToApply.push({
|
|
21603
|
+
name: 'data-knalb',
|
|
21604
|
+
value: 'true',
|
|
21605
|
+
});
|
|
21606
|
+
}
|
|
21428
21607
|
}
|
|
21429
21608
|
else {
|
|
21430
21609
|
this.tag = 'A';
|
|
@@ -21433,14 +21612,26 @@ class LinkTool extends InlineStyleTool {
|
|
|
21433
21612
|
name: 'href',
|
|
21434
21613
|
value: linkInput.value,
|
|
21435
21614
|
});
|
|
21615
|
+
if (targetCheckbox.checked) {
|
|
21616
|
+
this.attributesToApply.push({
|
|
21617
|
+
name: 'target',
|
|
21618
|
+
value: '_blank',
|
|
21619
|
+
});
|
|
21620
|
+
}
|
|
21436
21621
|
}
|
|
21622
|
+
this.linkDeletion = true;
|
|
21437
21623
|
this.resetUserSelection();
|
|
21438
21624
|
yield this.surround(null, true);
|
|
21439
21625
|
this.checkState(this.currentSelection);
|
|
21440
21626
|
this.openLinkDropdown();
|
|
21627
|
+
this.linkDeletion = false;
|
|
21441
21628
|
});
|
|
21442
21629
|
}
|
|
21443
21630
|
renderActions() {
|
|
21631
|
+
if (!this.parentEditor) {
|
|
21632
|
+
this.parentEditor = this.findParentEditor();
|
|
21633
|
+
}
|
|
21634
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21444
21635
|
let container = document.createElement('div');
|
|
21445
21636
|
container.className = this.linkCss['container'] + ' hidden';
|
|
21446
21637
|
let linkContainer = document.createElement('div');
|
|
@@ -21450,27 +21641,31 @@ class LinkTool extends InlineStyleTool {
|
|
|
21450
21641
|
let obfuscationContainer = document.createElement('div');
|
|
21451
21642
|
obfuscationContainer.className = this.linkCss['obfuscationContainer'];
|
|
21452
21643
|
let applyButton = document.createElement('button');
|
|
21453
|
-
applyButton.
|
|
21644
|
+
applyButton.className = this.linkCss['addButtonClass'];
|
|
21645
|
+
applyButton.innerText = editorJSI18nDictionnary.messages.tools.link['add'];
|
|
21454
21646
|
applyButton.addEventListener('click', () => this.applyLink());
|
|
21455
21647
|
let linkInput = document.createElement('input');
|
|
21456
|
-
linkInput.setAttribute('id', this.linkCss['linkInputId']);
|
|
21457
|
-
linkInput.setAttribute('placeholder',
|
|
21648
|
+
linkInput.setAttribute('id', this.linkCss['linkInputId'] + uuid);
|
|
21649
|
+
linkInput.setAttribute('placeholder', editorJSI18nDictionnary.messages.tools.link['placeholder']);
|
|
21458
21650
|
let targetCheckbox = document.createElement('input');
|
|
21459
|
-
targetCheckbox.setAttribute('id', this.linkCss['targetCheckboxId']);
|
|
21651
|
+
targetCheckbox.setAttribute('id', this.linkCss['targetCheckboxId'] + uuid);
|
|
21460
21652
|
targetCheckbox.setAttribute('type', 'checkbox');
|
|
21461
21653
|
let targetLabel = document.createElement('label');
|
|
21462
|
-
targetLabel.innerText =
|
|
21463
|
-
targetLabel.setAttribute('for', this.linkCss['targetCheckboxId']);
|
|
21654
|
+
targetLabel.innerText = editorJSI18nDictionnary.messages.tools.link['external'];
|
|
21655
|
+
targetLabel.setAttribute('for', this.linkCss['targetCheckboxId'] + uuid);
|
|
21464
21656
|
let obfuscationCheckbox = document.createElement('input');
|
|
21465
|
-
obfuscationCheckbox.setAttribute('id', this.linkCss['obfuscationCheckboxId']);
|
|
21657
|
+
obfuscationCheckbox.setAttribute('id', this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21466
21658
|
obfuscationCheckbox.setAttribute('type', 'checkbox');
|
|
21467
21659
|
let obfuscationLabel = document.createElement('label');
|
|
21468
|
-
obfuscationLabel.innerText =
|
|
21469
|
-
obfuscationLabel.setAttribute('for', this.linkCss['obfuscationCheckboxId']);
|
|
21660
|
+
obfuscationLabel.innerText = editorJSI18nDictionnary.messages.tools.link['obfuscated'];
|
|
21661
|
+
obfuscationLabel.setAttribute('for', this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21470
21662
|
let obfuscationTooltipContainer = document.createElement('div');
|
|
21471
21663
|
let obbfuscationTooltip = document.createElement('div');
|
|
21472
|
-
obbfuscationTooltip.innerHTML =
|
|
21664
|
+
obbfuscationTooltip.innerHTML = editorJSI18nDictionnary.messages.tools.link['info'];
|
|
21473
21665
|
obfuscationTooltipContainer.appendChild(obbfuscationTooltip);
|
|
21666
|
+
let deleteButton = document.createElement('button');
|
|
21667
|
+
deleteButton.className = this.linkCss['deleteButtonClass'] + ' hidden';
|
|
21668
|
+
deleteButton.addEventListener('click', () => this.deleteLink());
|
|
21474
21669
|
linkContainer.appendChild(linkInput);
|
|
21475
21670
|
targetContainer.appendChild(targetCheckbox);
|
|
21476
21671
|
targetContainer.appendChild(targetLabel);
|
|
@@ -21481,9 +21676,45 @@ class LinkTool extends InlineStyleTool {
|
|
|
21481
21676
|
container.appendChild(targetContainer);
|
|
21482
21677
|
container.appendChild(obfuscationContainer);
|
|
21483
21678
|
container.appendChild(applyButton);
|
|
21679
|
+
container.appendChild(deleteButton);
|
|
21484
21680
|
return container;
|
|
21485
21681
|
}
|
|
21486
|
-
showActions(mark) {
|
|
21682
|
+
showActions(mark) {
|
|
21683
|
+
if (!this.parentEditor) {
|
|
21684
|
+
this.parentEditor = this.findParentEditor();
|
|
21685
|
+
}
|
|
21686
|
+
let uuid = this.parentEditor.getAttribute('id').replace('editorJs-', '');
|
|
21687
|
+
let targetCheckbox = this.parentEditor.querySelector('#' + this.linkCss['targetCheckboxId'] + uuid);
|
|
21688
|
+
let obfuscationCheckbox = this.parentEditor.querySelector('#' + this.linkCss['obfuscationCheckboxId'] + uuid);
|
|
21689
|
+
let linkInput = this.parentEditor.querySelector('#' + this.linkCss['linkInputId'] + uuid);
|
|
21690
|
+
let deleteButton = this.parentEditor.querySelector('.' + this.linkCss['deleteButtonClass']);
|
|
21691
|
+
let addButton = this.parentEditor.querySelector('.' + this.linkCss['addButtonClass']);
|
|
21692
|
+
linkInput.value = '';
|
|
21693
|
+
if (this.checkState(this.getSelection())) {
|
|
21694
|
+
let selection = this.getSelection();
|
|
21695
|
+
let element = this.hasStyle(selection.anchorNode);
|
|
21696
|
+
linkInput.value = element.getAttribute(element.tagName.toLowerCase() === 'a' ? 'href' : 'data-htap');
|
|
21697
|
+
targetCheckbox.checked = element.getAttribute('target') === '_blank';
|
|
21698
|
+
obfuscationCheckbox.checked = element.tagName.toLowerCase() === 'span';
|
|
21699
|
+
if (deleteButton.classList.contains('hidden')) {
|
|
21700
|
+
deleteButton.classList.remove('hidden');
|
|
21701
|
+
}
|
|
21702
|
+
if (!addButton.classList.contains('hidden')) {
|
|
21703
|
+
addButton.classList.add('hidden');
|
|
21704
|
+
}
|
|
21705
|
+
}
|
|
21706
|
+
else {
|
|
21707
|
+
linkInput.value = '';
|
|
21708
|
+
targetCheckbox.checked = false;
|
|
21709
|
+
obfuscationCheckbox.checked = false;
|
|
21710
|
+
if (!deleteButton.classList.contains('hidden')) {
|
|
21711
|
+
deleteButton.classList.add('hidden');
|
|
21712
|
+
}
|
|
21713
|
+
if (addButton.classList.contains('hidden')) {
|
|
21714
|
+
addButton.classList.remove('hidden');
|
|
21715
|
+
}
|
|
21716
|
+
}
|
|
21717
|
+
}
|
|
21487
21718
|
hideActions() { }
|
|
21488
21719
|
openLinkDropdown() {
|
|
21489
21720
|
if (!this.parentEditor) {
|
|
@@ -21493,6 +21724,7 @@ class LinkTool extends InlineStyleTool {
|
|
|
21493
21724
|
this.saveUserSelection();
|
|
21494
21725
|
if (linkDropdown) {
|
|
21495
21726
|
if (linkDropdown.classList.contains('hidden')) {
|
|
21727
|
+
this.showActions(null);
|
|
21496
21728
|
let viewportOffset = linkDropdown.getBoundingClientRect();
|
|
21497
21729
|
if (viewportOffset.left + linkDropdown.offsetWidth > document.body.offsetWidth) {
|
|
21498
21730
|
let left = parseInt(window.getComputedStyle(linkDropdown, null).getPropertyValue('left')) -
|
|
@@ -21512,6 +21744,7 @@ class LinkTool extends InlineStyleTool {
|
|
|
21512
21744
|
}, 400);
|
|
21513
21745
|
}
|
|
21514
21746
|
else {
|
|
21747
|
+
this.resetUserSelection();
|
|
21515
21748
|
this.isLinkDropdownOpen = false;
|
|
21516
21749
|
linkDropdown.classList.add('hidden');
|
|
21517
21750
|
}
|
|
@@ -21814,7 +22047,7 @@ class textSizeTool extends InlineTextTool {
|
|
|
21814
22047
|
this.nodes.button.addEventListener('click', () => this.openDropdown());
|
|
21815
22048
|
this.textSizes.forEach((textSize) => {
|
|
21816
22049
|
let span = document.createElement('span');
|
|
21817
|
-
span.innerText =
|
|
22050
|
+
span.innerText = editorJSI18nDictionnary.messages.tools.textSize[textSize.name];
|
|
21818
22051
|
this.nodes.button.appendChild(span);
|
|
21819
22052
|
});
|
|
21820
22053
|
let dropdownArrow = document.createElement('span');
|
|
@@ -21859,7 +22092,7 @@ class textSizeTool extends InlineTextTool {
|
|
|
21859
22092
|
this.textSizes.forEach((textSize) => {
|
|
21860
22093
|
let row = document.createElement('div');
|
|
21861
22094
|
row.className = this.dropdownCss['row'];
|
|
21862
|
-
row.innerText =
|
|
22095
|
+
row.innerText = editorJSI18nDictionnary.messages.tools.textSize[textSize.name];
|
|
21863
22096
|
row.addEventListener('click', () => this.applyTextStyle(textSize.class));
|
|
21864
22097
|
textSizeDropdown.appendChild(row);
|
|
21865
22098
|
});
|
|
@@ -21936,8 +22169,7 @@ class TextEditionTool extends ParagraphStyleTool {
|
|
|
21936
22169
|
}
|
|
21937
22170
|
editHTML() {
|
|
21938
22171
|
let content = this.getEditorContent();
|
|
21939
|
-
|
|
21940
|
-
document.querySelector('body').appendChild(modal);
|
|
22172
|
+
this.createHTMLEditModal(content);
|
|
21941
22173
|
}
|
|
21942
22174
|
createHTMLEditModal(content) {
|
|
21943
22175
|
let container = document.createElement('div');
|
|
@@ -21946,30 +22178,30 @@ class TextEditionTool extends ParagraphStyleTool {
|
|
|
21946
22178
|
modal.classList.add(this.modalClass);
|
|
21947
22179
|
let editorContainer = document.createElement('div');
|
|
21948
22180
|
editorContainer.classList.add(this.editorClass);
|
|
21949
|
-
var monacoEditor = editor.create(editorContainer, {
|
|
21950
|
-
value: content,
|
|
21951
|
-
language: 'html',
|
|
21952
|
-
automaticLayout: true,
|
|
21953
|
-
});
|
|
21954
22181
|
codeEditEditor = this.findParentEditor();
|
|
21955
22182
|
codeEditApi = this.api;
|
|
21956
22183
|
let buttonContainer = document.createElement('div');
|
|
21957
22184
|
let cancelButton = document.createElement('button');
|
|
21958
22185
|
let saveButton = document.createElement('button');
|
|
21959
|
-
cancelButton.innerText =
|
|
21960
|
-
saveButton.innerText =
|
|
22186
|
+
cancelButton.innerText = editorJSI18nDictionnary.messages.tools.codeEdit['Cancel'];
|
|
22187
|
+
saveButton.innerText = editorJSI18nDictionnary.messages.tools.codeEdit['Save'];
|
|
21961
22188
|
cancelButton.addEventListener('click', closeCodeEditModal, true);
|
|
21962
|
-
saveButton.addEventListener('click', () => {
|
|
21963
|
-
let content = monacoEditor.getValue();
|
|
21964
|
-
saveCodeEditModal(content);
|
|
21965
|
-
}, true);
|
|
21966
22189
|
buttonContainer.appendChild(cancelButton);
|
|
21967
|
-
buttonContainer.appendChild(saveButton);
|
|
21968
22190
|
buttonContainer.classList.add(this.buttonClass);
|
|
21969
22191
|
modal.appendChild(editorContainer);
|
|
21970
22192
|
modal.appendChild(buttonContainer);
|
|
21971
22193
|
container.appendChild(modal);
|
|
21972
|
-
|
|
22194
|
+
document.querySelector('body').appendChild(container);
|
|
22195
|
+
var monacoEditor = editor.create(editorContainer, {
|
|
22196
|
+
value: content,
|
|
22197
|
+
language: 'html',
|
|
22198
|
+
});
|
|
22199
|
+
saveButton.addEventListener('click', () => {
|
|
22200
|
+
console.log("here");
|
|
22201
|
+
let content = monacoEditor.getValue();
|
|
22202
|
+
saveCodeEditModal(content);
|
|
22203
|
+
}, true);
|
|
22204
|
+
buttonContainer.appendChild(saveButton);
|
|
21973
22205
|
}
|
|
21974
22206
|
getSavedEditorContent(name) {
|
|
21975
22207
|
return localStorage.getItem(name);
|
|
@@ -22019,9 +22251,7 @@ class TextEditionTool extends ParagraphStyleTool {
|
|
|
22019
22251
|
const isTagNext = !isBrTag && !isOpeningTag && !isClosingTag && isTagEnd && code.substr(pos, code.substr(pos).indexOf('<')).trim() === '';
|
|
22020
22252
|
if (isBrTag) {
|
|
22021
22253
|
// If opening tag, add newline character and indention
|
|
22022
|
-
result += newlineChar;
|
|
22023
|
-
currentIndent--;
|
|
22024
|
-
pos += 4;
|
|
22254
|
+
result += newlineChar + whitespace.repeat(currentIndent);
|
|
22025
22255
|
}
|
|
22026
22256
|
if (isOpeningTag) {
|
|
22027
22257
|
// If opening tag, add newline character and indention
|
|
@@ -22356,11 +22586,13 @@ class EditorJSConversionService {
|
|
|
22356
22586
|
});
|
|
22357
22587
|
}
|
|
22358
22588
|
convertCurrentElement(element, firstCall = false) {
|
|
22589
|
+
var _a;
|
|
22359
22590
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22360
22591
|
if (!element) {
|
|
22361
22592
|
return;
|
|
22362
22593
|
}
|
|
22363
22594
|
const children = element.children;
|
|
22595
|
+
let isOrderedListChildren = element.tagName.toLowerCase() === 'ol';
|
|
22364
22596
|
for (var currentElement = children[0]; currentElement; currentElement = currentElement.nextElementSibling) {
|
|
22365
22597
|
for (const [quillClass, editorJSClass] of Object.entries(this.classesToReplace)) {
|
|
22366
22598
|
if (quillClass.indexOf('{input}') > -1) {
|
|
@@ -22389,6 +22621,9 @@ class EditorJSConversionService {
|
|
|
22389
22621
|
if (currentElement.tagName.toLowerCase() === 'u') {
|
|
22390
22622
|
let newElement = document.createElement('span');
|
|
22391
22623
|
newElement.innerHTML = currentElement.innerHTML;
|
|
22624
|
+
if (currentElement.classList && currentElement.classList.length > 0) {
|
|
22625
|
+
newElement.className = currentElement.className;
|
|
22626
|
+
}
|
|
22392
22627
|
newElement = this.setInlineStyle(currentElement, newElement);
|
|
22393
22628
|
if (currentElement.classList.length > 0) {
|
|
22394
22629
|
newElement.className = currentElement.className;
|
|
@@ -22400,6 +22635,9 @@ class EditorJSConversionService {
|
|
|
22400
22635
|
if (currentElement.tagName.toLowerCase() === 'a' && currentElement.hasAttribute('data-htap')) {
|
|
22401
22636
|
let newLink = document.createElement('span');
|
|
22402
22637
|
newLink.innerHTML = currentElement.innerHTML;
|
|
22638
|
+
if (currentElement.classList && currentElement.classList.length > 0) {
|
|
22639
|
+
newLink.className = currentElement.className;
|
|
22640
|
+
}
|
|
22403
22641
|
newLink = this.setInlineStyle(currentElement, newLink);
|
|
22404
22642
|
if (currentElement.classList.length > 0) {
|
|
22405
22643
|
newLink.className = currentElement.className;
|
|
@@ -22411,6 +22649,10 @@ class EditorJSConversionService {
|
|
|
22411
22649
|
currentElement.parentElement.replaceChild(newLink, currentElement);
|
|
22412
22650
|
currentElement = newLink;
|
|
22413
22651
|
}
|
|
22652
|
+
if (isOrderedListChildren && currentElement.tagName.toLowerCase() === 'li') {
|
|
22653
|
+
let value = (_a = currentElement.previousElementSibling) === null || _a === void 0 ? void 0 : _a.getAttribute('value');
|
|
22654
|
+
currentElement.setAttribute('value', value ? (parseInt(value) + 1).toString() : '1');
|
|
22655
|
+
}
|
|
22414
22656
|
if (currentElement.children.length > 0) {
|
|
22415
22657
|
yield this.convertCurrentElement(currentElement);
|
|
22416
22658
|
}
|
|
@@ -22437,14 +22679,17 @@ EditorJSConversionService.decorators = [
|
|
|
22437
22679
|
EditorJSConversionService.ctorParameters = () => [];
|
|
22438
22680
|
|
|
22439
22681
|
class EditorJsComponent {
|
|
22440
|
-
constructor(translateService, editorJSConversionService) {
|
|
22682
|
+
constructor(translateService, editorJSConversionService, editorJSTranslationService) {
|
|
22441
22683
|
this.translateService = translateService;
|
|
22442
22684
|
this.editorJSConversionService = editorJSConversionService;
|
|
22685
|
+
this.editorJSTranslationService = editorJSTranslationService;
|
|
22443
22686
|
this.contentChange = new EventEmitter();
|
|
22444
22687
|
this.content = '';
|
|
22688
|
+
this.position = 'bottom';
|
|
22445
22689
|
this.uuid = v4();
|
|
22446
22690
|
this.timeoutHandle = null;
|
|
22447
22691
|
this.timeoutTextEditionHandle = null;
|
|
22692
|
+
this.onChangeTimeoutHandle = null;
|
|
22448
22693
|
this.wrapperTags = 'h1,h2,h3,h4,h5,h6,p,ul,ol,blockquote';
|
|
22449
22694
|
}
|
|
22450
22695
|
ngOnInit() {
|
|
@@ -22503,16 +22748,26 @@ class EditorJsComponent {
|
|
|
22503
22748
|
placeholder: this.placeholder,
|
|
22504
22749
|
autofocus: false,
|
|
22505
22750
|
onChange: (api, event) => {
|
|
22506
|
-
this.
|
|
22751
|
+
clearTimeout(this.onChangeTimeoutHandle);
|
|
22752
|
+
this.onChangeTimeoutHandle = setTimeout(() => {
|
|
22753
|
+
this.contentChanged(api, event);
|
|
22754
|
+
}, 300);
|
|
22507
22755
|
},
|
|
22508
22756
|
i18n: this.getI18nDictionnary(),
|
|
22509
22757
|
});
|
|
22510
22758
|
try {
|
|
22511
22759
|
yield this.editor.isReady;
|
|
22760
|
+
this.editorJSTranslationService.setDictionnary(this.getI18nDictionnary());
|
|
22512
22761
|
this.editorJSConversionService.convert(this.content).then((content) => {
|
|
22513
22762
|
this.content = content;
|
|
22514
22763
|
this.applyContent();
|
|
22515
22764
|
this.checkSingleChild();
|
|
22765
|
+
setTimeout(() => {
|
|
22766
|
+
const editorElement = document.getElementById('editorJs-' + this.uuid);
|
|
22767
|
+
editorElement.addEventListener('focusin', () => {
|
|
22768
|
+
setlistApiEditor(this.editor, editorElement);
|
|
22769
|
+
});
|
|
22770
|
+
}, 0);
|
|
22516
22771
|
});
|
|
22517
22772
|
}
|
|
22518
22773
|
catch (reason) {
|
|
@@ -22565,7 +22820,7 @@ class EditorJsComponent {
|
|
|
22565
22820
|
}
|
|
22566
22821
|
}
|
|
22567
22822
|
checkWrapper() {
|
|
22568
|
-
let currentEditor = document.
|
|
22823
|
+
let currentEditor = document.querySelector('#editorJs-' + this.uuid);
|
|
22569
22824
|
let editorBlocks = currentEditor.querySelectorAll('.codex-editor__redactor .ce-paragraph');
|
|
22570
22825
|
if (editorBlocks.length === 1 && editorBlocks[0].innerText.length === 0) {
|
|
22571
22826
|
return;
|
|
@@ -22631,6 +22886,7 @@ class EditorJsComponent {
|
|
|
22631
22886
|
while (contentElement.firstElementChild) {
|
|
22632
22887
|
if (contentElement.firstElementChild.tagName.toLowerCase() === 'ul' ||
|
|
22633
22888
|
contentElement.firstElementChild.tagName.toLowerCase() === 'ol') {
|
|
22889
|
+
setlistApiEditor(this.editor.api, currentEditor);
|
|
22634
22890
|
while (contentElement.firstElementChild.firstElementChild) {
|
|
22635
22891
|
let container = document.createElement(contentElement.firstElementChild.tagName);
|
|
22636
22892
|
container.appendChild(contentElement.firstElementChild.firstElementChild.cloneNode(true));
|
|
@@ -22639,10 +22895,12 @@ class EditorJsComponent {
|
|
|
22639
22895
|
let tmpParagraph = currentEditor.querySelectorAll('.ce-paragraph');
|
|
22640
22896
|
tmpParagraph[tmpParagraph.length - 1].innerHTML = '';
|
|
22641
22897
|
tmpParagraph[tmpParagraph.length - 1].appendChild(container);
|
|
22898
|
+
tmpParagraph[tmpParagraph.length - 1].addEventListener('keydown', onEditList, true);
|
|
22642
22899
|
}
|
|
22643
22900
|
else {
|
|
22644
22901
|
paragraph[i].innerHTML = '';
|
|
22645
22902
|
paragraph[i].appendChild(container);
|
|
22903
|
+
paragraph[i].addEventListener('keydown', onEditList, true);
|
|
22646
22904
|
}
|
|
22647
22905
|
contentElement.firstElementChild.firstElementChild.remove();
|
|
22648
22906
|
++i;
|
|
@@ -22725,17 +22983,19 @@ class EditorJsComponent {
|
|
|
22725
22983
|
EditorJsComponent.decorators = [
|
|
22726
22984
|
{ type: Component, args: [{
|
|
22727
22985
|
selector: 'wb-editorjs',
|
|
22728
|
-
template: "<div class=\"editorJs\" [id]=\"'editorJs-' + uuid\" wbAutoHide></div>\n"
|
|
22986
|
+
template: "<div [class]=\"'editorJs editorJs--' + position\" [id]=\"'editorJs-' + uuid\" wbAutoHide></div>\n"
|
|
22729
22987
|
},] }
|
|
22730
22988
|
];
|
|
22731
22989
|
EditorJsComponent.ctorParameters = () => [
|
|
22732
22990
|
{ type: TranslateService },
|
|
22733
|
-
{ type: EditorJSConversionService }
|
|
22991
|
+
{ type: EditorJSConversionService },
|
|
22992
|
+
{ type: EditorJSTranslationService }
|
|
22734
22993
|
];
|
|
22735
22994
|
EditorJsComponent.propDecorators = {
|
|
22736
22995
|
contentChange: [{ type: Output }],
|
|
22737
22996
|
content: [{ type: Input }],
|
|
22738
|
-
placeholder: [{ type: Input }]
|
|
22997
|
+
placeholder: [{ type: Input }],
|
|
22998
|
+
position: [{ type: Input }]
|
|
22739
22999
|
};
|
|
22740
23000
|
|
|
22741
23001
|
const components$2 = [
|
|
@@ -26848,7 +27108,7 @@ class TimerSimpleComponent extends StructuresComponent {
|
|
|
26848
27108
|
TimerSimpleComponent.decorators = [
|
|
26849
27109
|
{ type: Component, args: [{
|
|
26850
27110
|
selector: TimerSimpleService.selector(),
|
|
26851
|
-
template: "<div class=\"wb-timer-simple\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-simple__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-simple__nodate\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar2-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-simple__wrapGlobal\">\n <div\n class=\"wb-timer-simple__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-simple__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.52' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.53' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.54' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.55' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-simple__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-simple__valid wb-timer-simple__valid--calendar\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-simple__valid\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27111
|
+
template: "<div class=\"wb-timer-simple\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-simple__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-simple__nodate wb-timer-simple__nodate--edit\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar2-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar2-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-simple__wrapGlobal\">\n <div\n class=\"wb-timer-simple__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-simple__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.52' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.53' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.54' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.55' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-simple__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-simple__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-simple__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-simple__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-simple__valid wb-timer-simple__valid--calendar\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-simple__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-simple__time__wrapper\">\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-simple__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-simple__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-simple__valid\">\n <button class=\"button btn wb-timer-simple__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
26852
27112
|
},] }
|
|
26853
27113
|
];
|
|
26854
27114
|
TimerSimpleComponent.ctorParameters = () => [
|
|
@@ -26980,7 +27240,7 @@ class TimerBackgroundComponent extends StructuresComponent {
|
|
|
26980
27240
|
TimerBackgroundComponent.decorators = [
|
|
26981
27241
|
{ type: Component, args: [{
|
|
26982
27242
|
selector: TimerBackgroundService.selector(),
|
|
26983
|
-
template: "<div class=\"wb-timer-background\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh ovh--decal\">\n <div class=\"wb-timer-background__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-background__nodate\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-background__wrapGlobal\">\n <div\n class=\"wb-timer-background__container\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-background__container__image\"\n ></div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div\n class=\"wb-timer-background__container__timer\"\n [style.border-color]=\"contentBlock[FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contentBlock[FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-background__noimages\" *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\" (click)=\"getMedia()\">\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n <div class=\"wb-timer-background__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-background__valid wb-timer-background__valid--calendar\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-background__valid\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27243
|
+
template: "<div class=\"wb-timer-background\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh ovh--decal\">\n <div class=\"wb-timer-background__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-background__nodate wb-timer-background__nodate--edit\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-background__wrapGlobal\">\n <div\n class=\"wb-timer-background__container\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"contentBlock[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n *ngIf=\"contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-background__container__image\"\n ></div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div\n class=\"wb-timer-background__container__timer\"\n [style.border-color]=\"contentBlock[FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contentBlock[FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-background__noimages\" *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\" (click)=\"getMedia()\">\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n <div class=\"wb-timer-background__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-background__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-background__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-background__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-background__valid wb-timer-background__valid--calendar\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-background__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-background__time__wrapper\">\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-background__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-background__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-background__valid\">\n <button class=\"button btn wb-timer-background__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
26984
27244
|
},] }
|
|
26985
27245
|
];
|
|
26986
27246
|
TimerBackgroundComponent.ctorParameters = () => [
|
|
@@ -27112,7 +27372,7 @@ class TimerClockComponent extends StructuresComponent {
|
|
|
27112
27372
|
TimerClockComponent.decorators = [
|
|
27113
27373
|
{ type: Component, args: [{
|
|
27114
27374
|
selector: TimerClockService.selector(),
|
|
27115
|
-
template: "<div class=\"wb-timer-clock\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-clock__config\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-clock__nodate\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar3-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-clock__wrapGlobal\">\n <div\n wbPicturesTemplateDirective\n [dimensions]=\"'1880x638'\"\n class=\"wb-timer-clock__noimages\"\n *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n <div\n class=\"wb-timer-clock__container\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [dimensions]=\"'1880x638'\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-clock__container__image\"\n ></div>\n <div\n class=\"wb-timer-clock__container__timer\"\n [style.border-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n <div class=\"clock\" [attr.data-second]=\"seconds\">\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span>\n </div>\n </div>\n <div class=\"wb-timer-clock__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-clock__valid wb-timer-clock__valid--calendar\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-clock__valid\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27375
|
+
template: "<div class=\"wb-timer-clock\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-clock__config\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-clock__nodate wb-timer-clock__nodate--edit\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar3-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar3-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-clock__wrapGlobal\">\n <div\n wbPicturesTemplateDirective\n [dimensions]=\"'1880x638'\"\n class=\"wb-timer-clock__noimages\"\n *ngIf=\"showTimer && !contentBlock[FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n <div\n class=\"wb-timer-clock__container\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE] && showTimer\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n >\n <div\n wbGetSizeImageDirective\n [dimensions]=\"'1880x638'\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE, $event)\"\n [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n class=\"wb-timer-clock__container__image\"\n ></div>\n <div\n class=\"wb-timer-clock__container__timer\"\n [style.border-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"\n [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\"\n >\n <ul>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n <div class=\"clock\" [attr.data-second]=\"seconds\">\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span> <span></span>\n <span></span> <span></span> <span></span> <span></span>\n </div>\n </div>\n <div class=\"wb-timer-clock__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-clock__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-clock__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-clock__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-clock__valid wb-timer-clock__valid--calendar\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-clock__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-clock__time__wrapper\">\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-clock__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-clock__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-clock__valid\">\n <button class=\"button btn wb-timer-clock__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27116
27376
|
},] }
|
|
27117
27377
|
];
|
|
27118
27378
|
TimerClockComponent.ctorParameters = () => [
|
|
@@ -27276,7 +27536,7 @@ class TimerAirportComponent extends StructuresComponent {
|
|
|
27276
27536
|
TimerAirportComponent.decorators = [
|
|
27277
27537
|
{ type: Component, args: [{
|
|
27278
27538
|
selector: TimerAirportService.selector(),
|
|
27279
|
-
template: "<div class=\"wb-timer-airport\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-airport__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-airport__nodate\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar5-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-airport__wrapGlobal\">\n <div\n class=\"wb-timer-airport__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-airport__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"days\">\n <span>{{ daysFirst }}</span\n ><span>{{ daysSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"hours\">\n <span>{{ hoursFirst }}</span\n ><span>{{ hoursSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"minutes\">\n <span>{{ minutesFirst }}</span\n ><span>{{ minutesSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"seconds\">\n <span>{{ secondsFirst }}</span\n ><span>{{ secondsSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-airport__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-airport__valid wb-timer-airport__valid--calendar\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-airport__valid\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27539
|
+
template: "<div class=\"wb-timer-airport\">\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"ovh\">\n <div class=\"wb-timer-airport__config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" *ngIf=\"showTimer\">\n <div class=\"wb-timer-airport__nodate wb-timer-airport__nodate--edit\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar5-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar5-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input\n style=\"display: none\"\n [value]=\"dateFor\"\n [nwbDatepickerStart]=\"datePicker1\"\n type=\"datetime-local\"\n />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <div class=\"wb-timer-airport__wrapGlobal\">\n <div\n class=\"wb-timer-airport__container\"\n *ngIf=\"showTimer\"\n [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_BACKGROUND_COLOR]\"\n >\n <div class=\"wb-timer-airport__container__timer\" [attr.data-timestamp]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DATE]\">\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contentBlock[FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <ul *ngIf=\"!timerEnd\">\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"days\">\n <span>{{ daysFirst }}</span\n ><span>{{ daysSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"hours\">\n <span>{{ hoursFirst }}</span\n ><span>{{ hoursSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"minutes\">\n <span>{{ minutesFirst }}</span\n ><span>{{ minutesSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.49' | translate }}</span\n ><span></span>\n </li>\n <li [style.color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <div class=\"seconds\">\n <span>{{ secondsFirst }}</span\n ><span>{{ secondsSecond }}</span>\n </div>\n <span class=\"text\">{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n </div>\n </div>\n <div class=\"wb-timer-airport__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-airport__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-airport__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-airport__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-airport__valid wb-timer-airport__valid--calendar\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.61' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-airport__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-airport__time__wrapper\">\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-airport__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-airport__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-airport__valid\">\n <button class=\"button btn wb-timer-airport__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
27280
27540
|
},] }
|
|
27281
27541
|
];
|
|
27282
27542
|
TimerAirportComponent.ctorParameters = () => [
|
|
@@ -28552,7 +28812,7 @@ class TimerMultipleImgComponent extends StructuresComponent {
|
|
|
28552
28812
|
TimerMultipleImgComponent.decorators = [
|
|
28553
28813
|
{ type: Component, args: [{
|
|
28554
28814
|
selector: TimerMultipleImgService.selector(),
|
|
28555
|
-
template: "<div class=\"wb-timer-multiple-img\" [ngClass]=\"{ 'is-active': hasTooltipFocusedLeftTop }\">\n <div class=\"ovh\">\n <div class=\"wb-timer-multiple-img__config\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n *ngIf=\"\n showTimer &&\n !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP] &&\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\n \"\n >\n <div class=\"wb-timer-multiple-img__nodate\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <div class=\"wb-timer-multiple-img__calendar__wrapper transform\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n class=\"wb-timer-multiple-img__middle-left wb-timer-multiple-img__middle-left-right\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n class=\"wb-timer-multiple-img__middle-right wb-timer-multiple-img__middle-right-middle\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div\n class=\"wb-timer-multiple-img__wrapGlobal\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__wrapGlobal--auto': showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\n }\"\n >\n <div class=\"columns no-margin no-padding\" *ngIf=\"showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"column is-two-thirds no-padding\">\n <div class=\"columns no-padding-except-bottom no-margin\">\n <div class=\"column wb-timer-multiple-img__small padding-left\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n\n <div class=\"columns no-margin no-padding\">\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-left\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <div>\n <div\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images__item__uploadImg\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' +\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL] +\n ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n ></div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer\">\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__background\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n ></div>\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__content\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>Minutes</span><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__text\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__button\">\n <span [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR_BUTTON]\">\n <span [style.color]=\"contentBlock[FORM_NAME_COLOR_BUTTON]\">{{\n contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\n }}</span>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column wb-timer-multiple-img__small padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div class=\"column wb-timer-multiple-img__single\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-timer-multiple-img__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\">\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes4[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_RIGHT, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages wb-timer-multiple-img__noimages--right\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes4[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-multiple-img__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-multiple-img__valid wb-timer-multiple-img__valid--calendar\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-multiple-img__valid\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28815
|
+
template: "<div class=\"wb-timer-multiple-img\" [ngClass]=\"{ 'is-active': hasTooltipFocusedLeftTop }\">\n <div class=\"ovh\">\n <div class=\"wb-timer-multiple-img__config\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n *ngIf=\"\n showTimer &&\n !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP] &&\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\n \"\n >\n <div class=\"wb-timer-multiple-img__nodate wb-timer-multiple-img__nodate--edit\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n id=\"checkboxSwitchCalendar4-{{ uuid }}\"\n type=\"checkbox\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n (change)=\"switchMethod()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar4-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <div class=\"wb-timer-multiple-img__calendar__wrapper transform\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChangeLive($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input\n type=\"number\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\"\n (change)=\"changeTimeForTimer()\"\n />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n </div>\n </div>\n </wb-structure-config>\n </div>\n </div>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n class=\"wb-timer-multiple-img__middle-left wb-timer-multiple-img__middle-left-right\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n class=\"wb-timer-multiple-img__middle-right wb-timer-multiple-img__middle-right-middle\"\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_BOTTOM\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_RIGHT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <div class=\"columns\">\n <div class=\"column\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n </div>\n <div class=\"column\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </div>\n </div>\n </wb-structure-config>\n <div\n class=\"wb-timer-multiple-img__wrapGlobal\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__wrapGlobal--auto': showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\n }\"\n >\n <div class=\"columns no-margin no-padding\" *ngIf=\"showTimer && !contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"column is-two-thirds no-padding\">\n <div class=\"columns no-padding-except-bottom no-margin\">\n <div class=\"column wb-timer-multiple-img__small padding-left\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_TOP, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleTop\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes1[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_TOP]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_TOP)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n\n <div class=\"columns no-margin no-padding\">\n <div class=\"column is-two-thirds wb-timer-multiple-img__big padding-left\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n >\n <div>\n <div\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--leftBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images__item__uploadImg\"\n wbGetSizeImageDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_LEFT_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' +\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM][FORM_NAME_IMAGE_URL] +\n ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n ></div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer\">\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__background\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n ></div>\n <div\n class=\"wb-timer-multiple-img__container__images__item__timer__content\"\n [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR]\"\n >\n <ul>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"days\">{{ days | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.47' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"hours\">{{ hours | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.48' | translate }}</span\n ><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"minutes\">{{ minutes | addZeroForTimer }}</span\n ><span>Minutes</span><span></span>\n <span class=\"tiret\" [style.background-color]=\"contentBlock[FORM_NAME_COLOR]\"></span>\n </li>\n <li [style.color]=\"contentBlock[FORM_NAME_COLOR]\">\n <span class=\"seconds\">{{ seconds | addZeroForTimer }}</span\n ><span>{{ 'wb.structures.template.50' | translate }}</span>\n </li>\n </ul>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__text\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n position=\"top\"\n >\n </wb-editorjs>\n </div>\n <div class=\"wb-timer-multiple-img__container__images__item__timer__content__button\">\n <span [style.background-color]=\"contentBlock[FORM_NAME_BACKGROUND_COLOR_BUTTON]\">\n <span [style.color]=\"contentBlock[FORM_NAME_COLOR_BUTTON]\">{{\n contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\n }}</span>\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes2[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_LEFT_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_LEFT_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n\n <div class=\"column wb-timer-multiple-img__small padding-right\">\n <div\n class=\"wb-timer-multiple-img__container\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-timer-multiple-img__container__images\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n >\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_MIDDLE_BOTTOM, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--middleBottom\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes3[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MIDDLE_BOTTOM]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_MIDDLE_BOTTOM)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div class=\"column wb-timer-multiple-img__single\">\n <div\n class=\"wb-timer-multiple-img__container wb-timer-multiple-img__container--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div class=\"wb-timer-multiple-img__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\">\n <div>\n <div\n wbGetSizeImageDirective\n [dimensions]=\"sizes4[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n [urlToParse]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(FORM_NAME_IMAGE_RIGHT, $event)\"\n [style.background-image]=\"\n 'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT][FORM_NAME_IMAGE_URL] + ')'\n \"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n class=\"wb-timer-multiple-img__container__images__item wb-timer-multiple-img__container__images__item--right\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__container__images__item--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__container__images__item--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__container__images__item--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-timer-multiple-img__noimages wb-timer-multiple-img__noimages--right\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes4[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_RIGHT]\"\n (click)=\"getMediaFor(FORM_NAME_IMAGE_RIGHT)\"\n [ngClass]=\"{\n 'wb-timer-multiple-img__noimages--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-timer-multiple-img__noimages--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-timer-multiple-img__noimages--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n ></div>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__nodate\" *ngIf=\"!showTimer && contents[BASE_BLOCK_CONTENT][FORM_NAME_FIRST_STEP]\">\n <div class=\"wb-timer-multiple-img__switch\">\n <span\n [ngClass]=\"{\n active: !isCalendar\n }\"\n >{{ 'wb.structures.template.44' | translate }}</span\n >\n <div class=\"control\">\n <input\n class=\"switch is-rounded is-info\"\n [attr.checked]=\"isCalendar ? 'checked' : null\"\n id=\"checkboxSwitchCalendar-{{ uuid }}\"\n type=\"checkbox\"\n (change)=\"switchMethodWithoutPersist()\"\n />\n <label class=\"ng-tns-c3-2\" for=\"checkboxSwitchCalendar-{{ uuid }}\"> </label>\n </div>\n <span\n [ngClass]=\"{\n active: isCalendar\n }\"\n >{{ 'wb.structures.template.45' | translate }}</span\n >\n </div>\n <div class=\"wb-timer-multiple-img__calendar\" *ngIf=\"!isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">{{ 'wb.structures.template.46' | translate }}</p>\n <div class=\"wb-timer-multiple-img__calendar__wrapper\">\n <nwb-date-picker\n #datePicker1\n [options]=\"{\n lang: translateService.currentLang,\n showHeader: false,\n displayMode: 'inline',\n showFooter: false,\n showButtons: false,\n showTodayButton: false,\n minDate: today,\n showClearButton: false,\n validateLabel: 'wb.structures.template.61' | translate,\n closeOnSelect: false\n }\"\n (change)=\"valueChange($event)\"\n >\n <input style=\"display: none\" [value]=\"dateFor\" [nwbDatepickerStart]=\"datePicker1\" type=\"datetime-local\" />\n </nwb-date-picker>\n </div>\n <div class=\"wb-timer-multiple-img__valid wb-timer-multiple-img__valid--calendar\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForDate()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time\" *ngIf=\"isCalendar\">\n <p class=\"wb-timer-simple__calendar__text\">\n {{ 'wb.structures.template.60' | translate }}\n </p>\n <div class=\"wb-timer-multiple-img__time__wrapper\">\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_DAYS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_HOURS]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_MINUTES]\" />\n </div>\n <div class=\"wb-timer-multiple-img__time__input\">\n <input type=\"number\" [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SECONDS]\" />\n </div>\n </div>\n <div class=\"wb-timer-multiple-img__time__text\">\n <p>{{ 'wb.structures.template.47' | translate }}</p>\n <p>{{ 'wb.structures.template.48' | translate }}</p>\n <p>{{ 'wb.structures.template.49' | translate }}</p>\n <p>{{ 'wb.structures.template.50' | translate }}</p>\n </div>\n <div class=\"wb-timer-multiple-img__valid\">\n <button class=\"button btn wb-timer-multiple-img__button\" (click)=\"validTimeForTimer()\">\n {{ 'wb.structures.template.51' | translate }}\n </button>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28556
28816
|
},] }
|
|
28557
28817
|
];
|
|
28558
28818
|
TimerMultipleImgComponent.ctorParameters = () => [
|
|
@@ -28725,7 +28985,7 @@ class TextsQuadrupleNumbersComponent extends StructuresComponent {
|
|
|
28725
28985
|
TextsQuadrupleNumbersComponent.decorators = [
|
|
28726
28986
|
{ type: Component, args: [{
|
|
28727
28987
|
selector: TextsQuadrupleNumbersService.selector(),
|
|
28728
|
-
template: "<div\n class=\"wb-texts-quadruple-numbers\"\n [ngClass]=\"{\n 'is-active':\n hasTooltipFocusedLeftTop || hasTooltipFocusedMiddleLeftTop || hasTooltipFocusedMiddleRightTop || hasTooltipFocusedRightTop\n }\"\n>\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_LEFT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_LEFT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_RIGHT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_RIGHT] }}\n </div>\n <div>\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28988
|
+
template: "<div\n class=\"wb-texts-quadruple-numbers\"\n [ngClass]=\"{\n 'is-active':\n hasTooltipFocusedLeftTop || hasTooltipFocusedMiddleLeftTop || hasTooltipFocusedMiddleRightTop || hasTooltipFocusedRightTop\n }\"\n>\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_LEFT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_LEFT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_LEFT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_MIDDLE_RIGHT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_MIDDLE_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-texts-quadruple-numbers__container\">\n <div class=\"wb-texts-quadruple-numbers__container__text\">\n <div>\n <div>\n {{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE_RIGHT] }}\n </div>\n <div class=\"transform-editor\">\n <wb-editorjs\n [(content)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT_RIGHT]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n"
|
|
28729
28989
|
},] }
|
|
28730
28990
|
];
|
|
28731
28991
|
TextsQuadrupleNumbersComponent.ctorParameters = () => [];
|
|
@@ -29241,7 +29501,7 @@ class TextBackgroundsThreeRowsIconTextComponent extends StructuresComponent {
|
|
|
29241
29501
|
TextBackgroundsThreeRowsIconTextComponent.decorators = [
|
|
29242
29502
|
{ type: Component, args: [{
|
|
29243
29503
|
selector: TextBackgroundsThreeRowsIconTextService.selector(),
|
|
29244
|
-
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--three\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-4-fullhd is-4-desktop\" *ngFor=\"let item of row; let j = index\">\n <
|
|
29504
|
+
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--three\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-4-fullhd is-4-desktop\" *ngFor=\"let item of row; let j = index\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-editorjs\n [(content)]=\"item[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
|
|
29245
29505
|
},] }
|
|
29246
29506
|
];
|
|
29247
29507
|
TextBackgroundsThreeRowsIconTextComponent.ctorParameters = () => [
|
|
@@ -29319,11 +29579,16 @@ class TextBackgroundsFourRowsIconTextComponent extends StructuresComponent {
|
|
|
29319
29579
|
stopPropagation($event) {
|
|
29320
29580
|
$event.stopPropagation();
|
|
29321
29581
|
}
|
|
29582
|
+
triggerConfig(uuid) {
|
|
29583
|
+
const element = document.querySelectorAll('#' + uuid + ' .wb-structure-config__tools')[0];
|
|
29584
|
+
console.log(element);
|
|
29585
|
+
element.click();
|
|
29586
|
+
}
|
|
29322
29587
|
}
|
|
29323
29588
|
TextBackgroundsFourRowsIconTextComponent.decorators = [
|
|
29324
29589
|
{ type: Component, args: [{
|
|
29325
29590
|
selector: TextBackgroundsFourRowsIconTextService.selector(),
|
|
29326
|
-
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--four\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-3-fullhd is-3-desktop\" *ngFor=\"let item of row; let j = index\">\n <
|
|
29591
|
+
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--four\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-3-fullhd is-3-desktop\" *ngFor=\"let item of row; let j = index\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n wbPicturesTemplateDirective\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-editorjs\n [(content)]=\"item[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
|
|
29327
29592
|
},] }
|
|
29328
29593
|
];
|
|
29329
29594
|
TextBackgroundsFourRowsIconTextComponent.ctorParameters = () => [
|
|
@@ -29405,7 +29670,7 @@ class TextBackgroundsTwoRowsIconTextComponent extends StructuresComponent {
|
|
|
29405
29670
|
TextBackgroundsTwoRowsIconTextComponent.decorators = [
|
|
29406
29671
|
{ type: Component, args: [{
|
|
29407
29672
|
selector: TextBackgroundsTwoRowsIconTextService.selector(),
|
|
29408
|
-
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--two\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-6-fullhd is-6-desktop\" *ngFor=\"let item of row; let j = index\">\n <
|
|
29673
|
+
template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--two\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-6-fullhd is-6-desktop\" *ngFor=\"let item of row; let j = index\">\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-editorjs\n [(content)]=\"item[FORM_NAME_TITLE]\"\n (contentChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wb-editorjs>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
|
|
29409
29674
|
},] }
|
|
29410
29675
|
];
|
|
29411
29676
|
TextBackgroundsTwoRowsIconTextComponent.ctorParameters = () => [
|
|
@@ -29740,7 +30005,7 @@ class ConfigsComponent {
|
|
|
29740
30005
|
ConfigsComponent.decorators = [
|
|
29741
30006
|
{ type: Component, args: [{
|
|
29742
30007
|
selector: 'wb-configs',
|
|
29743
|
-
template: "<div class=\"wb-configs\" [ngClass]=\"{ 'is-not-first': !isFirst }\" [@animateListFromLeft]=\"temporizeConfig\" *ngIf=\"temporizeConfig\">\n <div class=\"field\" *ngFor=\"let form of configs.forms; let i = index\">\n <label class=\"label\" *ngIf=\"form.type !== FORM_TYPE_CHECKBOX\" [ngClass]=\"{ 'icon-help': form.iconHelp }\"\n >{{ form.label | translate }}\n <i *ngIf=\"form.iconHelp\" class=\"fas fa-info-circle\"\n ><span>{{ form.help | translate }}</span></i\n ></label\n >\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_TEXT\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [placeholder]=\"form.placeholder | translate\"\n [ngModel]=\"form.value | translate\"\n (ngModelChange)=\"form.value = $event\"\n (keyup)=\"updateContent()\"\n />\n </div>\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_NUMBER\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [maxlength]=\"999999999\"\n [placeholder]=\"form.placeholder | translate\"\n [(ngModel)]=\"form.value\"\n (keyup)=\"updateNumber($event, i)\"\n />\n </div>\n <div class=\"control control--flex\" [ngClass]=\"{ 'dynamic-label': form.labelEnable }\" *ngIf=\"form.type === FORM_TYPE_CHECKBOX\">\n <input\n [id]=\"'switchRoundedDefault' + i\"\n [type]=\"form.type\"\n [name]=\"'switchRoundedDefault' + i\"\n class=\"switch is-rounded is-info\"\n [checked]=\"
|
|
30008
|
+
template: "<div class=\"wb-configs\" [ngClass]=\"{ 'is-not-first': !isFirst }\" [@animateListFromLeft]=\"temporizeConfig\" *ngIf=\"temporizeConfig\">\n <div class=\"field\" *ngFor=\"let form of configs.forms; let i = index\">\n <label class=\"label\" *ngIf=\"form.type !== FORM_TYPE_CHECKBOX\" [ngClass]=\"{ 'icon-help': form.iconHelp }\"\n >{{ form.label | translate }}\n <i *ngIf=\"form.iconHelp\" class=\"fas fa-info-circle\"\n ><span>{{ form.help | translate }}</span></i\n ></label\n >\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_TEXT\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [placeholder]=\"form.placeholder | translate\"\n [ngModel]=\"form.value | translate\"\n (ngModelChange)=\"form.value = $event\"\n (keyup)=\"updateContent()\"\n />\n </div>\n <div class=\"control control--input\" *ngIf=\"form.type === FORM_TYPE_NUMBER\">\n <input\n class=\"input\"\n [type]=\"form.type\"\n [maxlength]=\"999999999\"\n [placeholder]=\"form.placeholder | translate\"\n [(ngModel)]=\"form.value\"\n (keyup)=\"updateNumber($event, i)\"\n />\n </div>\n <div class=\"control control--flex\" [ngClass]=\"{ 'dynamic-label': form.labelEnable }\" *ngIf=\"form.type === FORM_TYPE_CHECKBOX\">\n <input\n [id]=\"'switchRoundedDefault' + i\"\n [type]=\"form.type\"\n [name]=\"'switchRoundedDefault' + i\"\n class=\"switch is-rounded is-info\"\n [checked]=\"form.value === (form.state[0] ? form.state[0] : true)\"\n (change)=\"updateChanges($event, i)\"\n />\n <label [for]=\"'switchRoundedDefault' + i\"></label>\n <p [innerHTML]=\"form.label | translate\"></p>\n <p [innerHTML]=\"form.labelEnable | translate\"></p>\n </div>\n <div class=\"control control--button\" [ngClass]=\"{ 'max-width': form.step.length < 4 }\" *ngIf=\"form.type === FORM_TYPE_TAG\">\n <a\n class=\"button is-info\"\n [ngClass]=\"{ 'is-outlined': step !== form.value && (!form.stepKey.length || form.stepKey[i] !== form.value) }\"\n *ngFor=\"let step of form.step; let i = index\"\n (click)=\"form.value = form.stepKey.length && form.stepKey[i] ? form.stepKey[i] : step; updateContent()\"\n >\n {{ step | translate }}\n </a>\n </div>\n <div class=\"control control--flexStart\" *ngIf=\"form.type === FORM_TYPE_COLOR\" #colors>\n <div class=\"color-wrapper\">\n <div\n [class]=\"'wb-configs__color wb-configs__colorjs' + i\"\n [style.background]=\"form.value\"\n (click)=\"colors.show = !colors.show\"\n ></div>\n <span [innerHTML]=\"form.value\"></span>\n </div>\n <div\n class=\"wb-configs__picker\"\n wbAutoHide\n [triggerElement]=\"'wb-configs__colorjs' + i\"\n (clickOutside)=\"colors.show = false\"\n [ngClass]=\"{ 'is-active': colors.show }\"\n >\n <div\n [(colorPicker)]=\"form.value\"\n [style.background]=\"form.value\"\n [cpPosition]=\"'top'\"\n [cpWidth]=\"'auto'\"\n [cpToggle]=\"true\"\n [cpDialogDisplay]=\"'inline'\"\n (colorPickerChange)=\"updateContent()\"\n ></div>\n </div>\n </div>\n <p *ngIf=\"!form.iconHelp && !checkHelp(i)\" class=\"help\" [innerHTML]=\"form.help | translate\"></p>\n <p *ngIf=\"!form.iconHelp && checkHelp(i)\" class=\"help\" [innerHTML]=\"getValueHelp(form.value, i) | translate\"></p>\n </div>\n</div>\n",
|
|
29744
30009
|
animations: [animateListFromLeft('200ms ease-in-out')]
|
|
29745
30010
|
},] }
|
|
29746
30011
|
];
|
|
@@ -29896,5 +30161,5 @@ WiziBlockModule.decorators = [
|
|
|
29896
30161
|
* Generated bundle index. Do not edit.
|
|
29897
30162
|
*/
|
|
29898
30163
|
|
|
29899
|
-
export { ApiDto, ExternalConfigDto, MediaConnectorService, MediaDto, TranslationBlockDto, TranslationStructureDto, TranslationsDto, TypesDto, WiziBlockComponent, WiziBlockModule, WiziBlockService, Types as ɵa, MyMissingTranslationHandler as ɵb, SharedDirectivesModule as ɵba, AutofocusDirective as ɵbb, AutoHideDirective as ɵbc, GetSizeImageDirective as ɵbd, ExpectedImagesService as ɵbe, PicturesTemplateDirective as ɵbf, HoldableDirective as ɵbg, ShowDeleteButtonDirective as ɵbh, StructureToolsComponent as ɵbi, StructureConfigComponent as ɵbj, StructureConfigService as ɵbk, StructureConfigInputComponent as ɵbl, StructureConfigCheckboxComponent as ɵbm, StructureConfigFontComponent as ɵbn, FontAwesomeService as ɵbo, StructureConfigPaymentComponent as ɵbp, StructureSelectComponent as ɵbq, StructureSearchProductComponent as ɵbr, StructureConfigExtendedInputComponent as ɵbs, StructureAmplifySearchProductComponent as ɵbt, StructureAmplifySearchCategoryComponent as ɵbu, LoaderComponent as ɵbv, SmallLoaderComponent as ɵbw, StarComponent as ɵbx, QuillComponent as ɵby, QuillService as ɵbz, animateListFromRight as ɵc, FaqComponent as ɵca, EditorJsComponent as ɵcb, EditorJSConversionService as ɵcc,
|
|
30164
|
+
export { ApiDto, ExternalConfigDto, MediaConnectorService, MediaDto, TranslationBlockDto, TranslationStructureDto, TranslationsDto, TypesDto, WiziBlockComponent, WiziBlockModule, WiziBlockService, Types as ɵa, MyMissingTranslationHandler as ɵb, SharedDirectivesModule as ɵba, AutofocusDirective as ɵbb, AutoHideDirective as ɵbc, GetSizeImageDirective as ɵbd, ExpectedImagesService as ɵbe, PicturesTemplateDirective as ɵbf, HoldableDirective as ɵbg, ShowDeleteButtonDirective as ɵbh, StructureToolsComponent as ɵbi, StructureConfigComponent as ɵbj, StructureConfigService as ɵbk, StructureConfigInputComponent as ɵbl, StructureConfigCheckboxComponent as ɵbm, StructureConfigFontComponent as ɵbn, FontAwesomeService as ɵbo, StructureConfigPaymentComponent as ɵbp, StructureSelectComponent as ɵbq, StructureSearchProductComponent as ɵbr, StructureConfigExtendedInputComponent as ɵbs, StructureAmplifySearchProductComponent as ɵbt, StructureAmplifySearchCategoryComponent as ɵbu, LoaderComponent as ɵbv, SmallLoaderComponent as ɵbw, StarComponent as ɵbx, QuillComponent as ɵby, QuillService as ɵbz, animateListFromRight as ɵc, FaqComponent as ɵca, EditorJsComponent as ɵcb, EditorJSConversionService as ɵcc, EditorJSTranslationService as ɵcd, BlockComponentList as ɵce, StructuresModule as ɵcf, SliderFullpageComponent as ɵcg, StructuresComponent as ɵch, SlidersFullpageService as ɵci, SliderLeftnavComponent as ɵcj, SlidersLeftnavService as ɵck, SliderImagerightComponent as ɵcl, SlidersImagerightService as ɵcm, SliderDoubleImagerightComponent as ɵcn, SlidersDoubleImagerightService as ɵco, SeparatorSimpleComponent as ɵcp, SeparatorSimpleService as ɵcq, CodeHtmlComponent as ɵcr, CodeHtmlService as ɵcs, CodeJavascriptComponent as ɵct, CodeJavascriptService as ɵcu, VideosSimpleComponent as ɵcv, VideosSimpleService as ɵcw, YoutubeService as ɵcx, VimeoService as ɵcy, VideosTxtComponent as ɵcz, animateListFromLeft as ɵd, VideosTxtService as ɵda, VideosTxtContentComponent as ɵdb, VideosTxtContentService as ɵdc, LaunchVideosButtonComponent as ɵdd, LaunchVideosButtonService as ɵde, LaunchVideosButtontxtComponent as ɵdf, LaunchVideosButtontxtService as ɵdg, ImagesBannerComponent as ɵdh, ImagesBannerService as ɵdi, ImagesSimpleComponent as ɵdj, ImagesSimpleService as ɵdk, ImagesDoubleComponent as ɵdl, ImagesDoubleService as ɵdm, ImagesTripleComponent as ɵdn, ImagesTripleService as ɵdo, ImagesQuadrupleComponent as ɵdp, ImagesQuadrupleService as ɵdq, ImagesQuadrupleLeftOneRightComponent as ɵdr, ImagesQuadrupleLeftOneRightService as ɵds, ImagesBigAndDoubleComponent as ɵdt, ImagesBigAndDoubleService as ɵdu, ImagesBigsAndDoubleMiddleComponent as ɵdv, ImagesBigsAndDoubleMiddleService as ɵdw, TextBackgroundsLinkComponent as ɵdx, TextBackgroundsLinkService as ɵdy, TextBackgroundsSimpleComponent as ɵdz, ConfigService as ɵe, TextBackgroundsSimpleService as ɵea, TextBackgroundsWithTxtComponent as ɵeb, TextBackgroundsWithTxtService as ɵec, ImagesTextsBigLeftTextRightComponent as ɵed, ImagesTextsBigLeftTextRightService as ɵee, ImagesTextsBigRightTextLeftComponent as ɵef, ImagesTextsBigRightTextLeftService as ɵeg, ImagesTextsLeftTextRightComponent as ɵeh, ImagesTextsLeftTextRightService as ɵei, ImagesTextsRightTextLeftComponent as ɵej, ImagesTextsRightTextLeftService as ɵek, ImagesTextsOneTextOneComponent as ɵel, ImagesTextsOneTextOneService as ɵem, ImagesTextsSmallLeftTextRightComponent as ɵen, ImagesTextsSmallLeftTextRightService as ɵeo, ImagesTextsSmallRightTextLeftComponent as ɵep, ImagesTextsSmallRightTextLeftService as ɵeq, ImagesTextsTextOneTextComponent as ɵer, ImagesTextsTextOneTextService as ɵes, TextsOneBackgroundComponent as ɵet, TextsOneBackgroundService as ɵeu, TextsDoubleBackgroundComponent as ɵev, TextsDoubleBackgroundService as ɵew, TextsTripleBackgroundComponent as ɵex, TextsTripleBackgroundService as ɵey, TextsQuadrupleComponent as ɵez, ContentService as ɵf, TextsQuadrupleService as ɵfa, TextsQuadrupleNumbersComponent as ɵfb, TextsQuadrupleNumbersService as ɵfc, FormsSimpleComponent as ɵfd, FormsSimpleService as ɵfe, TextsQuadrupleBackgroundComponent as ɵff, TextsQuadrupleBackgroundService as ɵfg, TextsTripleComponent as ɵfh, TextsTripleService as ɵfi, TextsOneComponent as ɵfj, TextsOneService as ɵfk, TextsDoubleComponent as ɵfl, TextsDoubleService as ɵfm, FormsBackgroundComponent as ɵfn, FormsBackgroundService as ɵfo, VideosTxtLeftComponent as ɵfp, VideosTxtLeftService as ɵfq, FormsImageleftComponent as ɵfr, FormsImageleftService as ɵfs, FormsImagerightComponent as ɵft, FormsImagerightService as ɵfu, FormsOnboardingComponent as ɵfv, FormsOnboardingService as ɵfw, SocialsLikeComponent as ɵfx, SocialsLikeService as ɵfy, SocialsPageSimpleComponent as ɵfz, ExternalConfigService as ɵg, SocialsPageSimpleService as ɵga, SocialsPageComplexComponent as ɵgb, SocialsPageComplexService as ɵgc, SocialsNetworkComponent as ɵgd, SocialsNetworkService as ɵge, ProductsListClassicComponent as ɵgf, ProductsListClassicService as ɵgg, CurrencyService as ɵgh, ProductsListSimpleComponent as ɵgi, ProductsListSimpleService as ɵgj, RassurancesTripleBackgroundComponent as ɵgk, RassurancesTripleBackgroundService as ɵgl, RassurancesQuadrupleAlignedComponent as ɵgm, RassurancesQuadrupleAlignedService as ɵgn, RassurancesQuadrupleBackgroundComponent as ɵgo, RassurancesQuadrupleBackgroundService as ɵgp, NewsletterAlignedCenterImageComponent as ɵgq, NewsletterAlignedCenterImageService as ɵgr, NewsletterAlignedCenterBackgroundComponent as ɵgs, NewsletterAlignedCenterBackgroundService as ɵgt, NewsletterCenterImageComponent as ɵgu, NewsletterCenterImageService as ɵgv, ProductsListSelectedComponent as ɵgw, ProductsListSelectedService as ɵgx, CodeStylesheetComponent as ɵgy, CodeStylesheetService as ɵgz, ApiService as ɵh, WitnessTwiceComponent as ɵha, WitnessTwiceService as ɵhb, WitnessTripleComponent as ɵhc, WitnessTripleService as ɵhd, WitnessQuadrupleComponent as ɵhe, WitnessQuadrupleService as ɵhf, WitnessBackgroundOneComponent as ɵhg, WitnessBackgroundOneService as ɵhh, WitnessBackgroundDoubleComponent as ɵhi, WitnessBackgroundDoubleService as ɵhj, ReviewsSimpleComponent as ɵhk, ReviewsSimpleService as ɵhl, QuotesSimpleComponent as ɵhm, QuotesSimpleService as ɵhn, QuotesAuthorComponent as ɵho, QuotesAuthorService as ɵhp, QuotesSimpleBackgroundComponent as ɵhq, QuotesSimpleBackgroundService as ɵhr, ReviewsWaterfallComponent as ɵhs, ReviewsWaterfallService as ɵht, MapFullpageComponent as ɵhu, MapFullpageService as ɵhv, MapLeftTextComponent as ɵhw, MapLeftTextService as ɵhx, MapRightTextComponent as ɵhy, MapRightTextService as ɵhz, ComponentsModule as ɵi, MapTextFormComponent as ɵia, MapTextFormService as ɵib, MapBackgroundFormLeftComponent as ɵic, MapBackgroundFormLeftService as ɵid, MapBackgroundFormRightComponent as ɵie, MapBackgroundFormRightService as ɵif, AmplifyProductsListSimpleComponent as ɵig, AmplifyProductsListSimpleService as ɵih, AmplifyProductsListSelectedComponent as ɵii, AmplifyProductsListSelectedService as ɵij, AmplifyProductsListClassicComponent as ɵik, AmplifyProductsListClassicService as ɵil, AmplifyProductZoomComponent as ɵim, AmplifyProductZoomService as ɵin, AmplifyProductZoomTripleColumnComponent as ɵio, AmplifyProductZoomTripleColumnService as ɵip, AmplifyProductZoomSelectedComponent as ɵiq, AmplifyProductZoomSelectedService as ɵir, AmplifyProductZoomMoreComponent as ɵis, AmplifyProductZoomMoreService as ɵit, ProductZoomComponent as ɵiu, ProductZoomService as ɵiv, ProductZoomTripleColumnComponent as ɵiw, ProductZoomTripleColumnService as ɵix, ProductZoomSelectedComponent as ɵiy, ProductZoomSelectedService as ɵiz, BlocksComponent as ɵj, ProductZoomMoreComponent as ɵja, ProductZoomMoreService as ɵjb, ProductZoomCompleteComponent as ɵjc, ProductZoomCompleteService as ɵjd, ProductZoomCompleteSliderComponent as ɵje, ProductZoomCompleteSliderService as ɵjf, ProductZoomSimpleComponent as ɵjg, ProductZoomSimpleService as ɵjh, ProductZoomCompleteBackgroundComponent as ɵji, ProductZoomCompleteBackgroundService as ɵjj, TimerSimpleComponent as ɵjk, TimerSimpleService as ɵjl, TimerBackgroundComponent as ɵjm, TimerBackgroundService as ɵjn, TimerClockComponent as ɵjo, TimerClockService as ɵjp, TimerAirportComponent as ɵjq, TimerAirportService as ɵjr, TimerMultipleImgComponent as ɵjs, TimerMultipleImgService as ɵjt, AboutBlockComponent as ɵju, AboutBlockService as ɵjv, FaqSimpleComponent as ɵjw, FaqSimpleService as ɵjx, FaqSimpleBackgroundComponent as ɵjy, FaqSimpleBackgroundService as ɵjz, ConfigsComponent as ɵk, FaqFrameComponent as ɵka, FaqFrameService as ɵkb, FaqAccordionComponent as ɵkc, FaqAccordionService as ɵkd, FaqListIconComponent as ɵke, FaqListIconService as ɵkf, FourImagesTitleComponent as ɵkg, FourImagesTitleService as ɵkh, TranslateBlockService as ɵki, TwoImagesTitleTextComponent as ɵkj, TwoImagesTitleTextService as ɵkk, TextBackgroundsWithBannerComponent as ɵkl, TextBackgroundsWithBannerService as ɵkm, TextBackgroundsTwoRowsIconTextComponent as ɵkn, TextBackgroundsTwoRowsIconTextService as ɵko, TextBackgroundsThreeRowsIconTextComponent as ɵkp, TextBackgroundsThreeRowsIconTextService as ɵkq, TextBackgroundsFourRowsIconTextComponent as ɵkr, TextBackgroundsFourRowsIconTextService as ɵks, SliderWithBannerComponent as ɵkt, SlidersWithBannerService as ɵku, LoaderComponentModule as ɵkv, PreviewsComponent as ɵl, ContainerBlockComponent as ɵm, SharedModule as ɵn, SharedComponentsModule as ɵo, SharedPipesModule as ɵp, SafeUrlPipe as ɵq, SafeStylePipe as ɵr, AddZeroForTimerPipe as ɵs, AnswerTypePipe as ɵt, TinyColorPipe as ɵu, ArrayNumberPipe as ɵv, CheckPaymentValuePipe as ɵw, EvenOddPipe as ɵx, StripTagsPipe as ɵy, ImgPathPipe as ɵz };
|
|
29900
30165
|
//# sourceMappingURL=wizishop-wizi-block.js.map
|