marketplacepos 3.6.3 → 3.7.0
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/Marketplace/3rdpartylicenses.txt +62 -62
- package/Marketplace/{chunk-HUTPG746.js → chunk-3CJHQAXO.js} +1 -1
- package/Marketplace/chunk-3UHMSDZV.js +1 -0
- package/Marketplace/{chunk-IYRCZVA4.js → chunk-3UNDP7GV.js} +1 -1
- package/Marketplace/{chunk-NXCMFVSB.js → chunk-4ALKGSNS.js} +1 -1
- package/Marketplace/{chunk-WOXH3LCZ.js → chunk-4ARMBRYZ.js} +1 -1
- package/Marketplace/chunk-5X5XYEG7.js +1 -0
- package/Marketplace/chunk-6JTRVIZI.js +1 -0
- package/Marketplace/{chunk-O3ASI5PY.js → chunk-6JUG64XK.js} +1 -1
- package/Marketplace/{chunk-NTY552OQ.js → chunk-6P6N5MPR.js} +5 -5
- package/Marketplace/{chunk-LYFRN35D.js → chunk-6UISEE6K.js} +1 -1
- package/Marketplace/chunk-7EHMM2RQ.js +1 -0
- package/Marketplace/chunk-7H5NOLAT.js +4 -0
- package/Marketplace/chunk-7Q467LQU.js +2 -0
- package/Marketplace/{chunk-UREGZMHY.js → chunk-ABFPL6TA.js} +1 -1
- package/Marketplace/{chunk-ZQL3IYZ4.js → chunk-AIE4RSCM.js} +1 -1
- package/Marketplace/chunk-B56SMRKB.js +2 -0
- package/Marketplace/chunk-BBHP36L3.js +1 -0
- package/Marketplace/chunk-BWB3YEE3.js +39 -0
- package/Marketplace/{chunk-PSWRS2QZ.js → chunk-C4WLCPS5.js} +1 -1
- package/Marketplace/{chunk-VUAKZHTF.js → chunk-C675HTF2.js} +1 -1
- package/Marketplace/{chunk-PTRHHOMT.js → chunk-D6U7F3FE.js} +1 -1
- package/Marketplace/{chunk-MAVB5XKB.js → chunk-DWRODF4P.js} +1 -1
- package/Marketplace/{chunk-TIWU4GET.js → chunk-FAA5MCE6.js} +1 -1
- package/Marketplace/chunk-FCRIZ226.js +1 -0
- package/Marketplace/{chunk-GQBV5OAK.js → chunk-FJ6DK2PY.js} +1 -1
- package/Marketplace/{chunk-NG6JQWVZ.js → chunk-GMQAKOAO.js} +1 -1
- package/Marketplace/{chunk-2CW5UYLD.js → chunk-IMCK7CZA.js} +1 -1
- package/Marketplace/{chunk-PP4ELWXY.js → chunk-LW37VJAD.js} +1 -1
- package/Marketplace/{chunk-KJXEV3CR.js → chunk-M6EV5O6B.js} +1 -1
- package/Marketplace/{chunk-AU4SOVII.js → chunk-MNORCZ5U.js} +1 -1
- package/Marketplace/chunk-N3MNWSYS.js +5 -0
- package/Marketplace/{chunk-FSLQ5TRN.js → chunk-NLLDIBGQ.js} +1 -1
- package/Marketplace/{chunk-HHAAJG6G.js → chunk-NUN457A7.js} +1 -1
- package/Marketplace/{chunk-7KE42BE5.js → chunk-O5TGJGPX.js} +1 -1
- package/Marketplace/chunk-OCQGU4XF.js +1 -0
- package/Marketplace/{chunk-FCTD55SB.js → chunk-OHJBV2SP.js} +1 -1
- package/Marketplace/{chunk-2PUWLP55.js → chunk-PC3GKHB7.js} +1 -1
- package/Marketplace/chunk-PEDSV4QH.js +1 -0
- package/Marketplace/{chunk-QP3S52F6.js → chunk-PGQNQRSE.js} +2 -2
- package/Marketplace/{chunk-KRHP6DRW.js → chunk-PKV2MX2V.js} +1 -1
- package/Marketplace/{chunk-JDFOZTNQ.js → chunk-PT4HB4BE.js} +1 -1
- package/Marketplace/{chunk-A3QB35Z5.js → chunk-QIPOMN5U.js} +1 -1
- package/Marketplace/chunk-RHSQYTCN.js +1 -0
- package/Marketplace/chunk-RJGQ3L4V.js +1 -0
- package/Marketplace/{chunk-WKRAISAM.js → chunk-SNCK2FWA.js} +1 -1
- package/Marketplace/chunk-SRFXQR3O.js +1 -0
- package/Marketplace/{chunk-E22FOFQL.js → chunk-SW4RH2OZ.js} +1 -1
- package/Marketplace/{chunk-5PZ6BLED.js → chunk-T3S6OSUW.js} +1 -1
- package/Marketplace/{chunk-WUPPCYDC.js → chunk-TCVITRSB.js} +1 -1
- package/Marketplace/{chunk-W6QK3KI2.js → chunk-UF6UXQ4F.js} +1 -1
- package/Marketplace/{chunk-LX6C545M.js → chunk-UUWXBTMC.js} +1 -1
- package/Marketplace/{chunk-VPP6ZKI2.js → chunk-V6WGN4CJ.js} +1 -1
- package/Marketplace/chunk-VW7ZPKO3.js +3 -0
- package/Marketplace/chunk-WHDLWSC7.js +1 -0
- package/Marketplace/{chunk-6G6GKWWY.js → chunk-WJX6E5SF.js} +1 -1
- package/Marketplace/chunk-WO5J2KLB.js +1 -0
- package/Marketplace/{chunk-YMMBFSTV.js → chunk-XYLU3LCF.js} +1 -1
- package/Marketplace/{chunk-7KBKCIN6.js → chunk-YCOV6QF3.js} +1 -1
- package/Marketplace/chunk-YMDCJACA.js +1 -0
- package/Marketplace/{chunk-23JYSN6Q.js → chunk-ZKEOQVK3.js} +1 -1
- package/Marketplace/chunk-ZXG2LRR7.js +2 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/main-X7AMGDRI.js +1 -0
- package/Marketplace/{styles-DE7M2S4O.css → styles-QFHBM646.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-4OJVE2Q5.js +0 -1
- package/Marketplace/chunk-5TEZF6KQ.js +0 -1
- package/Marketplace/chunk-7KXBD73I.js +0 -1
- package/Marketplace/chunk-7NGXKP3O.js +0 -1
- package/Marketplace/chunk-7U5UAWCO.js +0 -1
- package/Marketplace/chunk-C7F32KU3.js +0 -1
- package/Marketplace/chunk-EHWPM4BE.js +0 -1
- package/Marketplace/chunk-G7267XOM.js +0 -1
- package/Marketplace/chunk-J6AJBBZ3.js +0 -1
- package/Marketplace/chunk-JKVEO7GJ.js +0 -1
- package/Marketplace/chunk-JTTK3RAC.js +0 -2
- package/Marketplace/chunk-JW6NHBN5.js +0 -5
- package/Marketplace/chunk-L5RZ2NWC.js +0 -1
- package/Marketplace/chunk-NJI6OAOU.js +0 -1
- package/Marketplace/chunk-P7QKTYYT.js +0 -1
- package/Marketplace/chunk-QEO6A33I.js +0 -39
- package/Marketplace/chunk-QNIEXALL.js +0 -4
- package/Marketplace/chunk-QO6GWCX7.js +0 -3
- package/Marketplace/chunk-QUZBZ5K4.js +0 -1
- package/Marketplace/chunk-RHYO2A6O.js +0 -1
- package/Marketplace/chunk-TQSDPBUE.js +0 -1
- package/Marketplace/chunk-UU26ASVF.js +0 -1
- package/Marketplace/chunk-WRAMXNGJ.js +0 -2
- package/Marketplace/chunk-WZRJRVH6.js +0 -2
- package/Marketplace/chunk-XXLBTCRU.js +0 -1
- package/Marketplace/chunk-ZVHCE4K4.js +0 -1
- package/Marketplace/main-3ZACSMQZ.js +0 -1
- /package/Marketplace/{chunk-KTBPHH7N.js → chunk-DZ4C4BLL.js} +0 -0
- /package/Marketplace/{chunk-4EVRTQJX.js → chunk-HET33HC6.js} +0 -0
- /package/Marketplace/{chunk-SINQ7SXI.js → chunk-WAAT6CHK.js} +0 -0
- /package/Marketplace/{polyfills-AGGI3U6M.js → polyfills-34NMXNBT.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=function(o){return o.SHOOPE="//res.cloudinary.com/pos/image/upload/v1598262220/icons/marketplace_icons/shopee.png",o.WOOCOMMERCE="//res.cloudinary.com/pos/image/upload/w_50/v1632447439/icons/WooCommerce/woocommerce-icon.webp",o.TOKOPEDIA="//res.cloudinary.com/pos/image/upload/v1598262221/icons/marketplace_icons/tokopedia.png",o.TIKTOK="//res.cloudinary.com/pos/image/upload/w_30/v1645761611/icons/Marketplace%20logo/tiktok.png",o.LAZADA="//res.cloudinary.com/pos/image/upload/v1680681836/icons/marketplace_icons/Lazadanew.png",o.KALCARE="//res.cloudinary.com/pos/image/upload/v1654230268/icons/marketplace_icons/kalcare.png",o.SHOPIFY="https://res.cloudinary.com/pos/image/upload/v1707987435/icons/marketplace_icons/shopify.png",o}(i||{});var t=function(o){return o[o.Shopee=0]="Shopee",o[o.Tokopedia=1]="Tokopedia",o[o.WooCommerce=2]="WooCommerce",o[o.None=3]="None",o[o.KalCare=4]="KalCare",o[o.ShopeeV2=5]="ShopeeV2",o[o.Tiktok=6]="Tiktok",o[o.Lazada=7]="Lazada",o[o.Shopify=8]="Shopify",o}(t||{});var l=(()=>{let s=class s{static IsNotEmpty(a){return a!=""&&a!=s.GuidEMpty&&a!=null&&a!=null}static IsEmpty(a){return a==""||a==null||a==null||a==s.GuidEMpty}static getChannelLogoByTypeId(a){let e;switch(a){case t.Tokopedia:e=i.TOKOPEDIA;break;case t.ShopeeV2:e=i.SHOOPE;break;case t.WooCommerce:e=i.WOOCOMMERCE;break;case t.Lazada:e=i.LAZADA;break;case t.Tiktok:e=i.TIKTOK;break;case t.KalCare:e=i.KALCARE;break;case t.Shopify:e=i.SHOPIFY;break}return e}static getChannelLogoByName(a=""){a=a.toLowerCase();let e;switch(a){case"tokopedia":e=i.TOKOPEDIA;break;case"shoppe":e=i.SHOOPE;break;case"woocommerce":e=i.WOOCOMMERCE;break;case"tiktok":e=i.TIKTOK;break;case"lazada":e=i.LAZADA;break;case"kalCare":e=i.KALCARE;break}return e}static getChannelName(a){let e;switch(a){case t.ShopeeV2:e="Shopee";break;case t.Tokopedia:e="Tokopedia";break;case t.Lazada:e="Lazada";break;case t.Tiktok:e="Tiktok";break;case t.WooCommerce:e="WooCommerce";break;case t.KalCare:e="WooCommerce";break}return e}static assignChannelLogo(a){return a=a.map(e=>(e.logo=this.getChannelLogoByTypeId(e.TypeID),e)),a}static getCssChannelColor(a){let e;switch(a){case t.ShopeeV2:e="#ee4d2d";break;case t.Tokopedia:e="var(--G500,#03AC0E)";break;case t.Lazada:e="#FF00B2";break;case t.Tiktok:e="black";break;case t.WooCommerce:e="#674399";break;case t.KalCare:e="rgb(128, 188, 0)";break}return e}static getDaysDiff(a,e){var r=e.getTime()-a.getTime(),c=r/(1e3*60*60*24);return c}static addDays(a,e){let r=new Date(Number(a));return r.setDate(a.getDate()-e),r}static isValidDate(a){return a instanceof Date&&!isNaN(a)}static getImageInfo(a){return new Promise((e,r)=>{let c=new Image;c.src=a,c.decode().then(()=>{e({img:a,height:c.height,width:c.width})}).catch(()=>{r(new Error(`Image load error for ${a}`))})})}static formatTitleFromDate(a,e){let r=null,c=new Date(a),m=new Date(e);return c.getDate()!=m.getDate()&&(r="dd"),c.getMonth()!=m.getMonth()&&(r="dd MMM"),c.getFullYear()!=m.getFullYear()&&(r="dd MMM yyyy"),r}static openDownloadFile(a,e){var r=window.URL.createObjectURL(a),c=document.createElement("a");c.href=r,c.download=e,c.click()}static compare(a,e,r){return(a<e?-1:1)*(r?1:-1)}};s.GuidEMpty="00000000-0000-0000-0000-000000000000",s.MinDate="0001-01-01T00:00:00";let o=s;return o})();export{i as a,t as b,l as c};
|