@abtasty/interstitiel
Advanced tools
Comparing version 2.1.7-4 to 2.1.7-5
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.widgetForm=t()}(this,function(){"use strict";var e={hasText:{field:"layout",value:function(e){return["mediaAndText","textOnly"].indexOf(e)>=0}}},t=[{field:"ctaEnabled"},e.hasText],o="rgba(255, 125, 0, 1)",a="rgba(255, 255, 255, 1)",l="https://widgets-images.abtasty.com/intertitiel/",r=[{propName:"mediaType",category:"content",label:{en:"Select media type",fr:"Type de média",es:"Selecciona el tipo de contenido",de:"Wählen Sie den Medientyp"},type:"radio",value:"image",options:[{label:{en:"Image",fr:"Image",es:"Image",de:"Image"},value:"image"},{label:{en:"Video",fr:"Vidéo",es:"Vídeo",de:"Vidéo"},value:"video"}],conditions:[{field:"layout",value:function(e){return["mediaAndText","fullscreenMedia","centeredMedia"].indexOf(e)>=0}}]},{category:"content",type:"mediaupload",propName:"image",label:"widget_common_imgUpldr_tab_imageUpload",value:"https://widgets-images.abtasty.com/widgets-default-image.png",conditions:[{field:"mediaType",value:"image"},{field:"layout",value:function(e){return"textOnly"!==e}}]},{propName:"video",type:"text",category:"content",label:"widget_common_content_label_videoUrl",value:"https://www.youtube.com/watch?v=C71YkqN0pEA",placeholder:"",conditions:[{field:"mediaType",value:"video"},{field:"layout",value:function(e){return"textOnly"!==e}}]},{category:"content",type:"separator",propName:"textSeparator",conditions:[e.hasText]},{type:"text",category:"content",label:"widget_common_content_label_title",propName:"title",value:"widget_common_content_title_default",conditions:[e.hasText]},{type:"text",category:"content",label:"widget_common_content_catchline_label",propName:"text",value:"widget_common_content_catchline_default",conditions:[e.hasText]},{category:"content",type:"separator",propName:"ctaSeparator"},{propName:"ctaEnabled",category:"content",type:"switch",value:!0,label:"widget_common_content_toggler_label_displayButton",conditions:[e.hasText]},{propName:"ctaLabel",type:"text",category:"content",label:"widget_common_content_label_buttonText",value:"widget_common_content_buttonText_default",conditions:t},{propName:"redirectionUrl",category:"content",type:"url",label:"widget_common_content_label_buttonUrl",placeholder:"",value:"widget_common_content_buttonUrl_default",condition:function(e){var t=e.layout;return e.ctaEnabled&&["textOnly","mediaAndText"].includes(t)}}],n=[{propName:"mediaGroup",category:"style",type:"group",label:{en:"Media",fr:"Média"},collapsible:!0,conditions:[{field:"layout",value:function(e){return["mediaAndText","centeredMedia"].indexOf(e)>=0}}],children:[{propName:"mediaBorderColor",category:"style",type:"colorpicker",label:{en:"Media border color",fr:"Couleur de bordure du média"},value:"rgba(0, 0, 0, 1)"},{category:"style",type:"short-separator"},{propName:"mediaBorderRadius",category:"style",type:"slider",value:0,unit:"px",min:0,max:20,label:{en:"Media border radius (pixels)",fr:"Arrondi de la bordure du média (pixels)"}},{category:"style",type:"short-separator"},{propName:"mediaBorderThickness",category:"style",type:"slider",value:0,unit:"px",min:0,max:10,label:{en:"Media border width (pixels)",fr:"Largeur de la bordure du média (pixels)"}}]},{type:"separator",category:"style",conditions:[{field:"layout",value:function(e){return["mediaAndText","centeredMedia"].indexOf(e)>=0}}]},{propName:"copyGroup",category:"style",type:"group",label:"widget_common_style_blockTitle_text",collapsible:!0,conditions:[e.hasText],children:[{propName:"titleTextColor",category:"style",type:"colorpicker",label:"widget_common_style_text_label_titleColor",value:o},{category:"style",type:"short-separator"},{propName:"textTextColor",category:"style",type:"colorpicker",label:"widget_common_style_text_label_catchlineColor",value:a}]},{type:"separator",category:"style",conditions:[e.hasText]},{propName:"ctaGroup",category:"style",type:"group",label:"widget_common_style_blockTitle_buttons",collapsible:!0,conditions:t,children:[{propName:"ctaBackgroundColor",category:"style",type:"colorpicker",label:"widget_common_style_buttons_label_buttonBackgroundColor",value:o},{category:"style",type:"short-separator"},{propName:"ctaTextColor",category:"style",type:"colorpicker",label:"widget_common_style_buttons_label_buttonTextColor",value:a},{category:"style",type:"short-separator"},{propName:"ctaBorderRadius",category:"style",type:"slider",value:10,unit:"px",min:0,max:20,label:"widget_common_style_buttons_label_buttonBorderRadius"}]},{type:"separator",category:"style",conditions:t},{propName:"closeButtonGroup",category:"style",type:"group",label:{en:"Close button",fr:"Bouton de fermeture"},collapsible:!0,children:[{propName:"backgroundCloseButtonColor",category:"style",type:"colorpicker",label:{en:"Background close button color",fr:"Couleur de fond du bouton de fermeture"},value:"rgba(255, 255, 255, 1)"},{category:"style",type:"short-separator"},{propName:"closeButtonColor",category:"style",type:"colorpicker",label:{en:"Close button color",fr:"Couleur du bouton de fermeture"},value:"rgba(0, 0, 0, 1)"}]}];function i(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}return[].concat(i([{category:"layout",label:"widget_common_layout_label_selectALayout",value:"mediaAndText",type:"radioImage",propName:"layout",options:[{label:{en:"Media and Text",fr:"Média et texte",es:"Imagen o vídeo y texto",de:"Medium und Text"},value:"mediaAndText",src:l+"texte-image@2x.png"},{label:{en:"Fullscreen media",fr:"Média plein-écran",es:"Imagen o vídeo a pantalla completa",de:"Fullscreen Medium"},value:"fullscreenMedia",src:l+"image-grand@2x.png"},{label:{en:"Text",fr:"Texte",es:"Texto",de:"Text"},value:"textOnly",src:l+"texte@2x.png"},{label:{en:"Centered Media",fr:"Média centré",es:"Imagen o vídeo centrados",de:"Zentriertes Medium"},value:"centeredMedia",src:l+"image-petite@2x.png"}]}]),i(r),i(n),i([{propName:"recurrence",type:"select",category:"conditions",label:"widget_common_conditions_recurrence_blockTitle",value:"-1",options:[{label:"widget_common_conditions_recurrence_option_everyTime",value:"-1"},{label:"widget_common_conditions_recurrence_option_everySession",value:"0"},{label:{en:"Everyday",fr:"Chaque jour"},value:"1"},{label:{en:"Every week",fr:"Chaque semaine"},value:"7"},{label:{en:"Every month",fr:"Chaque mois"},value:"30"},{label:"widget_common_conditions_recurrence_option_once",value:"365"}]},{category:"conditions",type:"separator",propName:"triggerEvent-separator"},{propName:"triggerEvent",type:"select",category:"conditions",label:"widget_common_conditions_triggering_blockTitle",value:"pageLoad",options:[{label:"widget_common_conditions_triggering_option_pageload",value:"pageLoad"},{label:"widget_common_conditions_triggering_option_exitIntent",value:"exitIntent"}]},{propName:"timer",type:"number",category:"conditions",label:{en:"Hide after N seconds (0 to disable this option)",fr:"Cacher après N secondes (0 permet de désactiver l'option)"},value:0},{propName:"autoPlay",category:"conditions",type:"switch",value:!1,label:{en:"Auto play video",fr:"Lecture automatique de la vidéo"},conditions:[{field:"mediaType",value:"video"}]}]))}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.widgetForm=t()}(this,function(){"use strict";var e={hasText:{field:"layout",value:function(e){return["mediaAndText","textOnly"].indexOf(e)>=0}}},t=[{field:"ctaEnabled"},e.hasText],o="rgba(255, 255, 255, 1)",a="https://widgets-images.abtasty.com/intertitiel/",l=[{propName:"mediaType",category:"content",label:{en:"Select media type",fr:"Type de média",es:"Selecciona el tipo de contenido",de:"Wählen Sie den Medientyp"},type:"radio",value:"image",options:[{label:{en:"Image",fr:"Image",es:"Image",de:"Image"},value:"image"},{label:{en:"Video",fr:"Vidéo",es:"Vídeo",de:"Vidéo"},value:"video"}],conditions:[{field:"layout",value:function(e){return["mediaAndText","fullscreenMedia","centeredMedia"].indexOf(e)>=0}}]},{category:"content",type:"mediaupload",propName:"image",label:"widget_common_imgUpldr_tab_imageUpload",value:"https://widgets-images.abtasty.com/widgets-default-image.png",conditions:[{field:"mediaType",value:"image"},{field:"layout",value:function(e){return"textOnly"!==e}}]},{propName:"video",type:"text",category:"content",label:"widget_common_content_label_videoUrl",value:"https://www.youtube.com/watch?v=C71YkqN0pEA",placeholder:"",conditions:[{field:"mediaType",value:"video"},{field:"layout",value:function(e){return"textOnly"!==e}}]},{category:"content",type:"separator",propName:"textSeparator",conditions:[e.hasText]},{type:"text",category:"content",label:"widget_common_content_label_title",propName:"title",value:"widget_common_content_title_default",conditions:[e.hasText]},{type:"text",category:"content",label:"widget_common_content_catchline_label",propName:"text",value:"widget_common_content_catchline_default",conditions:[e.hasText]},{category:"content",type:"separator",propName:"ctaSeparator"},{propName:"ctaEnabled",category:"content",type:"switch",value:!0,label:"widget_common_content_toggler_label_displayButton",conditions:[e.hasText]},{propName:"ctaLabel",type:"text",category:"content",label:"widget_common_content_label_buttonText",value:"widget_common_content_buttonText_default",conditions:t},{propName:"redirectionUrl",category:"content",type:"url",label:"widget_common_content_label_buttonUrl",placeholder:"",value:"widget_common_content_buttonUrl_default",condition:function(e){var t=e.layout;return e.ctaEnabled&&["textOnly","mediaAndText"].includes(t)}}],r=[{propName:"mediaGroup",category:"style",type:"group",label:{en:"Media",fr:"Média"},collapsible:!0,conditions:[{field:"layout",value:function(e){return["mediaAndText","centeredMedia"].indexOf(e)>=0}}],children:[{propName:"mediaBorderColor",category:"style",type:"colorpicker",label:{en:"Media border color",fr:"Couleur de bordure du média"},value:"rgba(0, 0, 0, 1)"},{category:"style",type:"short-separator"},{propName:"mediaBorderRadius",category:"style",type:"slider",value:0,unit:"px",min:0,max:20,label:{en:"Media border radius (pixels)",fr:"Arrondi de la bordure du média (pixels)"}},{category:"style",type:"short-separator"},{propName:"mediaBorderThickness",category:"style",type:"slider",value:0,unit:"px",min:0,max:10,label:{en:"Media border width (pixels)",fr:"Largeur de la bordure du média (pixels)"}}]},{type:"separator",category:"style",conditions:[{field:"layout",value:function(e){return["mediaAndText","centeredMedia"].indexOf(e)>=0}}]},{propName:"copyGroup",category:"style",type:"group",label:"widget_common_style_blockTitle_text",collapsible:!0,conditions:[e.hasText],children:[{propName:"titleTextColor",category:"style",type:"colorpicker",label:"widget_common_style_text_label_titleColor",value:o},{category:"style",type:"short-separator"},{propName:"textTextColor",category:"style",type:"colorpicker",label:"widget_common_style_text_label_catchlineColor",value:o}]},{type:"separator",category:"style",conditions:[e.hasText]},{propName:"ctaGroup",category:"style",type:"group",label:"widget_common_style_blockTitle_buttons",collapsible:!0,conditions:t,children:[{propName:"ctaBackgroundColor",category:"style",type:"colorpicker",label:"widget_common_style_buttons_label_buttonBackgroundColor",value:"rgba(0, 127, 145, 1)"},{category:"style",type:"short-separator"},{propName:"ctaTextColor",category:"style",type:"colorpicker",label:"widget_common_style_buttons_label_buttonTextColor",value:o},{category:"style",type:"short-separator"},{propName:"ctaBorderRadius",category:"style",type:"slider",value:20,unit:"px",min:0,max:30,label:"widget_common_style_buttons_label_buttonBorderRadius"}]},{type:"separator",category:"style",conditions:t},{propName:"closeButtonGroup",category:"style",type:"group",label:{en:"Close button",fr:"Bouton de fermeture"},collapsible:!0,children:[{propName:"backgroundCloseButtonColor",category:"style",type:"colorpicker",label:{en:"Background close button color",fr:"Couleur de fond du bouton de fermeture"},value:"rgba(136, 136, 136, 1)"},{category:"style",type:"short-separator"},{propName:"closeButtonColor",category:"style",type:"colorpicker",label:{en:"Close button color",fr:"Couleur du bouton de fermeture"},value:"rgba(0, 0, 0, 1)"}]}];function n(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}return[].concat(n([{category:"layout",label:"widget_common_layout_label_selectALayout",value:"mediaAndText",type:"radioImage",propName:"layout",options:[{label:{en:"Media and Text",fr:"Média et texte",es:"Imagen o vídeo y texto",de:"Medium und Text"},value:"mediaAndText",src:a+"texte-image@2x.png"},{label:{en:"Fullscreen media",fr:"Média plein-écran",es:"Imagen o vídeo a pantalla completa",de:"Fullscreen Medium"},value:"fullscreenMedia",src:a+"image-grand@2x.png"},{label:{en:"Text",fr:"Texte",es:"Texto",de:"Text"},value:"textOnly",src:a+"texte@2x.png"},{label:{en:"Centered Media",fr:"Média centré",es:"Imagen o vídeo centrados",de:"Zentriertes Medium"},value:"centeredMedia",src:a+"image-petite@2x.png"}]}]),n(l),n(r),n([{propName:"recurrence",type:"select",category:"conditions",label:"widget_common_conditions_recurrence_blockTitle",value:"-1",options:[{label:"widget_common_conditions_recurrence_option_everyTime",value:"-1"},{label:"widget_common_conditions_recurrence_option_everySession",value:"0"},{label:{en:"Everyday",fr:"Chaque jour"},value:"1"},{label:{en:"Every week",fr:"Chaque semaine"},value:"7"},{label:{en:"Every month",fr:"Chaque mois"},value:"30"},{label:"widget_common_conditions_recurrence_option_once",value:"365"}]},{category:"conditions",type:"separator",propName:"triggerEvent-separator"},{propName:"triggerEvent",type:"select",category:"conditions",label:"widget_common_conditions_triggering_blockTitle",value:"pageLoad",options:[{label:"widget_common_conditions_triggering_option_pageload",value:"pageLoad"},{label:"widget_common_conditions_triggering_option_exitIntent",value:"exitIntent"}]},{propName:"timer",type:"number",category:"conditions",label:{en:"Hide after N seconds (0 to disable this option)",fr:"Cacher après N secondes (0 permet de désactiver l'option)"},value:0},{propName:"autoPlay",category:"conditions",type:"switch",value:!1,label:{en:"Auto play video",fr:"Lecture automatique de la vidéo"},conditions:[{field:"mediaType",value:"video"}]}]))}); |
{ | ||
"name": "@abtasty/interstitiel", | ||
"description": "A simple widget", | ||
"version": "2.1.7-4", | ||
"version": "2.1.7-5", | ||
"main": "dist/main.js", | ||
@@ -6,0 +6,0 @@ "form": "dist/form.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25144