@bikdotai/bik-component-library 0.0.639--beta1.0 → 0.0.639--beta1.1
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/dist/cjs/assets/icons/send_template.svg.js +1 -0
- package/dist/cjs/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/cjs/components/template-context-mapper/utils/TemplateConstants.js +1 -1
- package/dist/esm/assets/icons/send_template.svg.js +1 -0
- package/dist/esm/components/bik-layout/MockMenus.d.ts +1 -0
- package/dist/esm/components/template-context-mapper/utils/TemplateConstants.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/assets/icons/send.svg.js +0 -1
- package/dist/esm/assets/icons/send.svg.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t,r=e(require("react"));function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var l=e=>r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},e),t||(t=r.createElement("path",{fill:"#731DCF",fillRule:"evenodd",d:"M18.94 1.097a.83.83 0 0 0-.899-.209L1.39 6.717a.833.833 0 0 0-.063 1.548l7.208 3.203 3.203 7.207a.833.833 0 0 0 1.548-.063l5.827-16.65a.833.833 0 0 0-.174-.864Zm-3.778 2.565L3.926 7.595l5.056 2.247 6.18-6.18Zm-5.001 7.359 6.18-6.18-3.933 11.236-2.247-5.057Z",clipRule:"evenodd"})));exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../assets/icons/tick.svg.js"),t=require("../../../assets/icons/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../assets/icons/tick.svg.js"),t=require("../../../assets/icons/send_template.svg.js"),a=require("../../../assets/icons/tick_double.svg.js");require("../../template-preview/TemplatePreview.js"),require("../../template-preview/WhatsApp/WhatsAppLikePreview.js"),require("../../template-preview/WhatsApp/WhatsAppLikePreviewV2.js"),require("../../../constants/Theme.js"),require("../../curtain/CurtainHelper.js"),require("../../variable-picker-v3/model.js"),require("../../template-preview/models/TemplateMeta.js");var r=require("../../template-preview/models/WhatsAppTemplate.js");require("../../template-preview/models/Channels.js");var i=require("../../../assets/icons/alert_triangle.svg.js");const s={[r.TEMPLATE_QUALITY.YELLOW]:{icon:i.default,title:"Medium quality template",subline:"Meta has downgraded this template to a medium-quality rating due to negative feedback from multiple customers or low read rates. We recommend improving its content or choosing a different template to enhance delivery and engagement in your next campaign"},[r.TEMPLATE_QUALITY.RED]:{icon:i.default,title:"Low quality template",subline:"Meta has downgraded this template to a low-quality rating due to negative feedback from multiple customers or low read rates. We recommend improving its content or choosing a different template to enhance delivery and engagement in your next campaign"},[r.TEMPLATE_QUALITY.GREEN]:{icon:"",title:"",subline:"Here is your template's delivery and engagement stats from the last 30 days. Higher engagement today can lead to better delivery rates in the future."}},l=[{title:"Sent",icon:t.default,valName:"totalSent"},{title:"Delivered",icon:e.default,valName:"totalDelivered",percentValName:"deliveredPercentage"},{title:"Read",icon:a.default,valName:"totalReads",percentValName:"readPercentage"}];exports.ANALYTICS_ENGAGEMENT_MAP=l,exports.TEMPLATE_QUALITY_MAP=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";var t;function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},a.apply(this,arguments)}var r=r=>e.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},r),t||(t=e.createElement("path",{fill:"#731DCF",fillRule:"evenodd",d:"M18.94 1.097a.83.83 0 0 0-.899-.209L1.39 6.717a.833.833 0 0 0-.063 1.548l7.208 3.203 3.203 7.207a.833.833 0 0 0 1.548-.063l5.827-16.65a.833.833 0 0 0-.174-.864Zm-3.778 2.565L3.926 7.595l5.056 2.247 6.18-6.18Zm-5.001 7.359 6.18-6.18-3.933 11.236-2.247-5.057Z",clipRule:"evenodd"})));export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"../../../assets/icons/tick.svg.js";import t from"../../../assets/icons/
|
|
1
|
+
import e from"../../../assets/icons/tick.svg.js";import t from"../../../assets/icons/send_template.svg.js";import a from"../../../assets/icons/tick_double.svg.js";import"../../template-preview/TemplatePreview.js";import"../../template-preview/WhatsApp/WhatsAppLikePreview.js";import"../../template-preview/WhatsApp/WhatsAppLikePreviewV2.js";import"../../../constants/Theme.js";import"../../curtain/CurtainHelper.js";import"../../variable-picker-v3/model.js";import"../../template-preview/models/TemplateMeta.js";import{TEMPLATE_QUALITY as i}from"../../template-preview/models/WhatsAppTemplate.js";import"../../template-preview/models/Channels.js";import r from"../../../assets/icons/alert_triangle.svg.js";const o={[i.YELLOW]:{icon:r,title:"Medium quality template",subline:"Meta has downgraded this template to a medium-quality rating due to negative feedback from multiple customers or low read rates. We recommend improving its content or choosing a different template to enhance delivery and engagement in your next campaign"},[i.RED]:{icon:r,title:"Low quality template",subline:"Meta has downgraded this template to a low-quality rating due to negative feedback from multiple customers or low read rates. We recommend improving its content or choosing a different template to enhance delivery and engagement in your next campaign"},[i.GREEN]:{icon:"",title:"",subline:"Here is your template's delivery and engagement stats from the last 30 days. Higher engagement today can lead to better delivery rates in the future."}},s=[{title:"Sent",icon:t,valName:"totalSent"},{title:"Delivered",icon:e,valName:"totalDelivered",percentValName:"deliveredPercentage"},{title:"Read",icon:a,valName:"totalReads",percentValName:"readPercentage"}];export{s as ANALYTICS_ENGAGEMENT_MAP,o as TEMPLATE_QUALITY_MAP};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t,r,a,l=e(require("react"));function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},n.apply(this,arguments)}var c=e=>l.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40"},e),t||(t=l.createElement("circle",{cx:20,cy:20,r:20,fill:"currentColor"})),r||(r=l.createElement("path",{fill:"#731DCF",d:"M11.191 11.984a.8.8 0 0 0 .566-1.358l-2.4-2.401a.8.8 0 0 0-1.132 1.131l2.4 2.401c.152.148.355.23.566.227ZM8.848 15.993h1.543a.8.8 0 1 0 0-1.6H8.848a.8.8 0 1 0 0 1.6ZM15.193 11.193a.8.8 0 0 0 .8-.8V8.848a.8.8 0 0 0-1.6 0v1.543a.8.8 0 0 0 .8.8ZM8.79 22.39a.796.796 0 0 0 .566-.228l2.401-2.401a.8.8 0 0 0-1.131-1.132l-2.401 2.4a.804.804 0 0 0 .565 1.361ZM19.194 11.987a.796.796 0 0 0 .566-.23l2.401-2.4a.8.8 0 0 0-1.132-1.132l-2.4 2.4a.804.804 0 0 0 .565 1.362Z"})),a||(a=l.createElement("path",{stroke:"#731DCF",strokeWidth:1.714,d:"m14.71 14.702-.01.009a.847.847 0 0 0-.194.912l.002.006 5.696 14.952v.002a.876.876 0 0 0 .847.56h.005a.846.846 0 0 0 .79-.611l.002-.007 1.85-6.168a.981.981 0 0 1 .661-.658l6.165-1.85a.868.868 0 0 0 .06-1.643L15.63 14.509l-.006-.002a.85.85 0 0 0-.914.195Z"})));exports.default=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as a from"react";var e,t,r;function l(){return l=Object.assign?Object.assign.bind():function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(a[r]=t[r])}return a},l.apply(this,arguments)}var n=n=>a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 40 40"},n),e||(e=a.createElement("circle",{cx:20,cy:20,r:20,fill:"currentColor"})),t||(t=a.createElement("path",{fill:"#731DCF",d:"M11.191 11.984a.8.8 0 0 0 .566-1.358l-2.4-2.401a.8.8 0 0 0-1.132 1.131l2.4 2.401c.152.148.355.23.566.227ZM8.848 15.993h1.543a.8.8 0 1 0 0-1.6H8.848a.8.8 0 1 0 0 1.6ZM15.193 11.193a.8.8 0 0 0 .8-.8V8.848a.8.8 0 0 0-1.6 0v1.543a.8.8 0 0 0 .8.8ZM8.79 22.39a.796.796 0 0 0 .566-.228l2.401-2.401a.8.8 0 0 0-1.131-1.132l-2.401 2.4a.804.804 0 0 0 .565 1.361ZM19.194 11.987a.796.796 0 0 0 .566-.23l2.401-2.4a.8.8 0 0 0-1.132-1.132l-2.4 2.4a.804.804 0 0 0 .565 1.362Z"})),r||(r=a.createElement("path",{stroke:"#731DCF",strokeWidth:1.714,d:"m14.71 14.702-.01.009a.847.847 0 0 0-.194.912l.002.006 5.696 14.952v.002a.876.876 0 0 0 .847.56h.005a.846.846 0 0 0 .79-.611l.002-.007 1.85-6.168a.981.981 0 0 1 .661-.658l6.165-1.85a.868.868 0 0 0 .06-1.643L15.63 14.509l-.006-.002a.85.85 0 0 0-.914.195Z"})));export{n as default};
|