@ikas/loyalty-widget-renderer 1.0.0-alpha.32 → 1.0.0-alpha.33

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.
@@ -1 +1 @@
1
- import e from"react";import{observer as t}from"mobx-react";import{WidgetMode as o}from"../../../models/types/index.js";import{Container as r,Logo as i,Emoji as l}from"./style.js";var m=t(function(t){var m=t.viewModel,a=m.loyaltyWidget.miniModeLogo;return e.createElement(r,{onClick:function(){m.setWidgetMode(o.WIDGET_MODE)}},a&&a.src?e.createElement(i,{src:a.src,alt:"Loyalty Widget"}):e.createElement(l,null,"🚀"))});export{m as default};
1
+ import e from"react";import{observer as t}from"mobx-react";import{WidgetMode as o}from"../../../models/types/index.js";import{Container as r,Logo as i,Emoji as a}from"./style.js";var l=t(function(t){var l=t.viewModel,m=l.loyaltyWidget.miniModeLogo;return e.createElement(r,{onClick:function(e){e.stopPropagation(),l.setWidgetMode(o.WIDGET_MODE)}},m&&m.src?e.createElement(i,{src:m.src,alt:"Loyalty Widget"}):e.createElement(a,null,"🚀"))});export{l as default};
@@ -1 +1 @@
1
- import e from"react";import{observer as o}from"mobx-react";import{WidgetMode as t}from"../../../models/types/index.js";import{XClose as i}from"../../../assets/icons/x-close.js";import{Container as r,CloseButton as n,Text as a}from"./style.js";var l=o(function(o){var l=o.viewModel;return l.isMiniModeDescriptionClosed?null:e.createElement(r,{onClick:function(){l.setWidgetMode(t.WIDGET_MODE)}},e.createElement(n,{onClick:function(e){e.stopPropagation(),l.closeMiniModeDescription()}},e.createElement(i,null)),e.createElement(a,null,"Merhaba! 👋 Sadakat programın ve destek ekibimiz burada. Puanlarına göz at veya ekibimizle konuş."))});export{l as default};
1
+ import e from"react";import{observer as o}from"mobx-react";import{WidgetMode as t}from"../../../models/types/index.js";import{XClose as i}from"../../../assets/icons/x-close.js";import{Container as r,CloseButton as a,Text as n}from"./style.js";var l=o(function(o){var l=o.viewModel;return l.isMiniModeDescriptionClosed?null:e.createElement(r,{onClick:function(e){e.stopPropagation(),l.setWidgetMode(t.WIDGET_MODE)}},e.createElement(a,{onClick:function(e){e.stopPropagation(),l.closeMiniModeDescription()}},e.createElement(i,null)),e.createElement(n,null,"Merhaba! 👋 Sadakat programın ve destek ekibimiz burada. Puanlarına göz at veya ekibimizle konuş."))});export{l as default};