/** * WordPress dependencies */ import { useBlockProps, RichText } from "@wordpress/block-editor"; import { omit } from "lodash"; const { EBDisplayIcon, sanitizeURL } = window.EBControls; import attributes from "./attributes"; const deprecated = [ { attributes: { ...attributes }, supports: { anchor: true, }, save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontImageAlt, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backImageAlt, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, contentPosition, linkOpenNewTab, flipMode, isMouseLeaveOn, classHook, } = attributes; const alignmentClass = contentPosition === "center" ? " eb-flipbox-align-center" : contentPosition === "right" ? " eb-flipbox-align-right" : ""; const flipModeClass = flipMode === "hover" ? " eb-hover-mode" : " eb-click-mode"; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
{frontImageAlt}
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showFrontContent && (
)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
{backImageAlt}
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showBackContent && (
)} {linkType === "button" && ( )}
); }, }, { attributes: { ...attributes }, supports: { anchor: true, }, save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontImageAlt, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backImageAlt, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, contentPosition, linkOpenNewTab, flipMode, isMouseLeaveOn, classHook, } = attributes; const alignmentClass = contentPosition === "center" ? " eb-flipbox-align-center" : contentPosition === "right" ? " eb-flipbox-align-right" : ""; const flipModeClass = flipMode === "hover" ? " eb-hover-mode" : " eb-click-mode"; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
{frontImageAlt}
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showFrontContent && (
)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
{backImageAlt}
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showBackContent && (
)} {linkType === "button" && ( )}
); }, }, { attributes: omit({ ...attributes }, ["flipMode", "isMouseLeaveOn"]), supports: { anchor: true, }, save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontImageAlt, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backImageAlt, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, contentPosition, linkOpenNewTab, classHook, } = attributes; const alignmentClass = contentPosition === "center" ? " eb-flipbox-align-center" : contentPosition === "right" ? " eb-flipbox-align-right" : ""; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
{
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showFrontContent && (
)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
{
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showBackContent && (
)} {linkType === "button" && ( )}
); }, }, { attributes: omit({ ...attributes }, ["frontImageAlt", "backImageAlt"]), supports: { anchor: true, }, save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, contentPosition, linkOpenNewTab, classHook, } = attributes; const alignmentClass = contentPosition === "center" ? " eb-flipbox-align-center" : contentPosition === "right" ? " eb-flipbox-align-right" : ""; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showFrontContent && (
)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? ( ) : ( )}
)} {showBackContent && (
)} {linkType === "button" && ( )}
); }, }, { attributes: { ...attributes }, supports: { anchor: true, }, save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, contentPosition, linkOpenNewTab, classHook, } = attributes; const alignmentClass = contentPosition === "center" ? " eb-flipbox-align-center" : contentPosition === "right" ? " eb-flipbox-align-right" : ""; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? (

{frontTitle}

) : (

{frontTitle}

)}
)} {showFrontContent && (

{frontContent}

)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? (

{backTitle}

) : (

{backTitle}

)}
)} {showBackContent && (

{backContent}

)} {linkType === "button" && ( )}
); }, }, { attributes: { ...attributes }, supports: { anchor: true, }, save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, contentPosition, } = attributes; const alignmentClass = contentPosition === "center" ? " eb-flipbox-align-center" : contentPosition === "right" ? " eb-flipbox-align-right" : ""; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? (

{frontTitle}

) : (

{frontTitle}

)}
)} {showFrontContent && (

{frontContent}

)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? (

{backTitle}

) : (

{backTitle}

)}
)} {showBackContent && (

{backContent}

)} {linkType === "button" && ( )}
); }, }, { attributes: omit( { ...attributes, }, ["contentPosition"] ), save: ({ attributes }) => { const { blockId, flipType, frontIconOrImage, frontImageUrl, frontIcon, showFrontTitle, frontTitle, showFrontContent, frontContent, backIconOrImage, backImageUrl, backIcon, showBackTitle, backTitle, showBackContent, backContent, link, linkType, buttonText, buttonIcon, buttonClasses, } = attributes; return (
{frontIconOrImage !== "none" && (
{frontIconOrImage === "image" && frontImageUrl && (
)} {frontIconOrImage === "icon" && frontIcon && (
)}
)} {showFrontTitle && (
{linkType === "title" && link ? (

{frontTitle}

) : (

{frontTitle}

)}
)} {showFrontContent && (

{frontContent}

)}
{backIconOrImage !== "none" && (
{backIconOrImage === "image" && backImageUrl && (
)} {backIconOrImage === "icon" && backIcon && (
)}
)} {showBackTitle && (
{linkType === "title" && link ? (

{backTitle}

) : (

{backTitle}

)}
)} {showBackContent && (

{backContent}

)} {linkType === "button" && ( )}
); }, }, ]; export default deprecated; adlen, Author at SIPSA FILAHA
Search
Close this search box.
Salon international de l'agriculture,
de l'élevage et de l'agro-industrie
Du 20 AU 23 mai 2024
Palais des expositions
SAFEX - Alger - Algérie
Palais des expositions SAFEX - Alger - Algérie

adlen

Lauréats SIPSA INNOV’ AWARDS 2022

Programme des forums du SIPSA Filaha 2022

L’Edito du Président – Édition 2022

SIPSA-FILAHA & AGROFOOD Nous sommes de retour… !!

SIPSA-FILAHA & AGROFOOD annonce le programme de sa 20e édition !

Mesures sanitaires Covid-19

Date, horaires, lieu

Plan du salon 2023

SIAFIL-EXPORT – Forum fruits et légumes maraîchage et arboriculture à l’export

FIFAVIC – Le Forum Europe Maghreb de la Filière Avicole

FIPLAIT – Forum Interprofessionnel du Lait & Produits Laitiers

DJAZAQUA – 5ème forum international de l’aquaculture et des ressources halieutiques

AGRO – ECO Forum International de l’Agro écologie et du Développement Durable

NOUVELLES DATES – SIPSA-FILAHA & AGROFOOD 2022

Labellisation de l’incubateur FILAHA INNOV’

Chargement...