@sunrise-upc/sales-static-components 4.4.1 → 4.4.3
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/README.md +8 -8
- package/dist/cjs/components/ButtonGroup/ButtonGroup.css +95 -95
- package/dist/cjs/components/FalconButton/falconButton.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartOverlay.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartOverlay.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/FalconHeader/BusinessCustomerLinkOut/BusinessCustomerLinkOut.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/FalconMainNavigation.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/FalconMainNavigation.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/MobileNavigation/MobileMenuItem/MobileMenuItem.js.map +1 -1
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.js.map +1 -1
- package/dist/cjs/components/RibbonComponent/RibbonComponent.css +389 -389
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +68 -68
- package/dist/cjs/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.css +937 -937
- package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.js.map +1 -1
- package/dist/cjs/components/StageTeaserV3/DoubleGrid/DoubleGridComponent.css +87 -87
- package/dist/cjs/components/StageTeaserV3/SingleGrid/SingleGridComponent.css +87 -87
- package/dist/cjs/components/linecheck/AutoComplete.css +514 -514
- package/dist/cjs/components/linecheck/FiberUpgradeInfo.css +514 -514
- package/dist/cjs/components/linecheck/LineCheckV2.css +514 -514
- package/dist/cjs/components/linecheck/Success.css +514 -514
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/AnalyticUtils.js +1 -1
- package/dist/cjs/utils/AnalyticUtils.js.map +1 -1
- package/dist/cjs/utils/AnalyticsConstants.js +1 -1
- package/dist/cjs/utils/AnalyticsConstants.js.map +1 -1
- package/dist/esm/components/ButtonGroup/ButtonGroup.css +95 -95
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.js +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartClearConfirm/CartClearConfirm.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.js +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartFooter/CartFooter.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.js +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartHeader/CartHeader.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartOverlay.js +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartOverlay.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.js +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/EmptyCart/EmptyCart.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/FalconMainNavigation.js +1 -1
- package/dist/esm/components/FalconMainNavigation/FalconMainNavigation.js.map +1 -1
- package/dist/esm/components/RibbonComponent/RibbonComponent.css +389 -389
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +68 -68
- package/dist/esm/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.css +937 -937
- package/dist/esm/components/StageTeaserV3/DoubleGrid/DoubleGridComponent.css +87 -87
- package/dist/esm/components/StageTeaserV3/SingleGrid/SingleGridComponent.css +87 -87
- package/dist/esm/components/linecheck/AutoComplete.css +514 -514
- package/dist/esm/components/linecheck/FiberUpgradeInfo.css +514 -514
- package/dist/esm/components/linecheck/LineCheckV2.css +514 -514
- package/dist/esm/components/linecheck/Success.css +514 -514
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils/AnalyticUtils.js +1 -1
- package/dist/esm/utils/AnalyticUtils.js.map +1 -1
- package/dist/esm/utils/AnalyticsConstants.js +1 -1
- package/dist/esm/utils/AnalyticsConstants.js.map +1 -1
- package/dist/index.d.ts +78 -2
- package/dist/navigation.css +20 -20
- package/package.json +115 -115
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as RibbonComponent}from"./components/RibbonComponent/RibbonComponent.js";export{default as RibbonRenderer}from"./components/RibbonRenderer/RibbonRenderer.js";export{default as GlobalPromoRibbon}from"./components/GlobalPromoRibbon/GlobalPromoRibbon.js";export{default as FalconButtonV3}from"./components/FalconButtonV3/FalconButtonV3.js";export{default as StageTeaserComponent}from"./components/StageTeaserComponent/StageTeaserComponent.js";export{default as ImageComponent}from"./components/ImageComponent/ImageComponent.js";export{default as TextComponent}from"./components/TextComponent/TextComponent.js";export{default as ButtonGroup}from"./components/ButtonGroup/ButtonGroup.js";export{default as ImageWithText}from"./components/ImageWithText/ImageWithText.js";export{default as ImageWithTextWrapper}from"./components/ImageWithTextWrapper/ImageWithTextWrapper.js";export{default as InternetAndTvCardsBenefits}from"./components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js";export{default as QuickLinks}from"./components/QuickLinks/QuickLinks.js";export{default as DeviceGalleryList}from"./components/DeviceGallery/DeviceGalleryList.js";export{default as InternetAndTvCards}from"./components/InternetAndTvCards/InternetAndTvCards.js";export{default as InternetAndTvCardItem}from"./components/InternetAndTvCards/InternetAndTvCardItem/InternetAndTvCardItem.js";export{default as PromotionTeaser}from"./components/PromotionTeaser/PromotionTeaser.js";export{default as LineCheckV2}from"./components/linecheck/LineCheckV2.js";export{default as StageTeaserV3}from"./components/StageTeaserV3/StageTeaserV3.js";export{default as PromoBubble}from"./components/StageTeaserV3/PromoBubble/PromoBubble.js";export{default as FalconMainNavigation}from"./components/FalconMainNavigation/FalconMainNavigation.js";export{default as SearchWrapper}from"./components/SearchWrapper/SearchWrapper.js";export{default as MinimizedHeader}from"./components/MinimizedHeader/MinimizedHeader.js";export{default as BadgeContainer}from"./components/BadgeContainer/BadgeContainer.js";export{LinecheckBasicPropConfig}from"./services/LinecheckBasicPropConfig.js";export{CustomerPropConfig}from"./services/CustomerPropConfig.js";export{createCustomerGroupFetcher,createCustomerSegmentSync,dispatchCustomerSegmentRefreshEvent,extractCustomerGroupFromProfile,getCurrentCustomerSegment,hasCachedCustomerSegment,resolveCustomerGroup,setCustomerSegment,subscribeToCustomerSegmentRefresh,syncCustomerSegment}from"./services/customerSegmentSync.js";export{customerGroup}from"./services/CustomerService.js";export{CartPropConfig}from"./services/CartPropConfig.js";export{getDeviceGalleryAnalyticsItem,getDeviceGallerySelectAnalyticsItem,trackComponent,trackDeviceGalleryEligibility,trackErrorEvent,trackEvent,trackGADatalayerEvent,trackLineEvent,trackMessageEvent,trackNewDatalayerEvent}from"./utils/AnalyticUtils.js";
|
|
1
|
+
export{default as RibbonComponent}from"./components/RibbonComponent/RibbonComponent.js";export{default as RibbonRenderer}from"./components/RibbonRenderer/RibbonRenderer.js";export{default as GlobalPromoRibbon}from"./components/GlobalPromoRibbon/GlobalPromoRibbon.js";export{default as FalconButtonV3}from"./components/FalconButtonV3/FalconButtonV3.js";export{default as StageTeaserComponent}from"./components/StageTeaserComponent/StageTeaserComponent.js";export{default as ImageComponent}from"./components/ImageComponent/ImageComponent.js";export{default as TextComponent}from"./components/TextComponent/TextComponent.js";export{default as ButtonGroup}from"./components/ButtonGroup/ButtonGroup.js";export{default as ImageWithText}from"./components/ImageWithText/ImageWithText.js";export{default as ImageWithTextWrapper}from"./components/ImageWithTextWrapper/ImageWithTextWrapper.js";export{default as InternetAndTvCardsBenefits}from"./components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js";export{default as QuickLinks}from"./components/QuickLinks/QuickLinks.js";export{default as DeviceGalleryList}from"./components/DeviceGallery/DeviceGalleryList.js";export{default as InternetAndTvCards}from"./components/InternetAndTvCards/InternetAndTvCards.js";export{default as InternetAndTvCardItem}from"./components/InternetAndTvCards/InternetAndTvCardItem/InternetAndTvCardItem.js";export{default as PromotionTeaser}from"./components/PromotionTeaser/PromotionTeaser.js";export{default as LineCheckV2}from"./components/linecheck/LineCheckV2.js";export{default as StageTeaserV3}from"./components/StageTeaserV3/StageTeaserV3.js";export{default as PromoBubble}from"./components/StageTeaserV3/PromoBubble/PromoBubble.js";export{default as FalconMainNavigation}from"./components/FalconMainNavigation/FalconMainNavigation.js";export{default as SearchWrapper}from"./components/SearchWrapper/SearchWrapper.js";export{default as MinimizedHeader}from"./components/MinimizedHeader/MinimizedHeader.js";export{default as BadgeContainer}from"./components/BadgeContainer/BadgeContainer.js";export{LinecheckBasicPropConfig}from"./services/LinecheckBasicPropConfig.js";export{CustomerPropConfig}from"./services/CustomerPropConfig.js";export{createCustomerGroupFetcher,createCustomerSegmentSync,dispatchCustomerSegmentRefreshEvent,extractCustomerGroupFromProfile,getCurrentCustomerSegment,hasCachedCustomerSegment,resolveCustomerGroup,setCustomerSegment,subscribeToCustomerSegmentRefresh,syncCustomerSegment}from"./services/customerSegmentSync.js";export{customerGroup}from"./services/CustomerService.js";export{CartPropConfig}from"./services/CartPropConfig.js";export{buildCartAnalyticsData,buildCartAnalyticsItems,getDeviceGalleryAnalyticsItem,getDeviceGallerySelectAnalyticsItem,trackComponent,trackDeviceGalleryEligibility,trackErrorEvent,trackEvent,trackGADatalayerEvent,trackLineEvent,trackMessageEvent,trackNewDatalayerEvent}from"./utils/AnalyticUtils.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e}from"../node_modules/tslib/tslib.es6.js";import{TYPE as
|
|
1
|
+
import{__rest as e}from"../node_modules/tslib/tslib.es6.js";import t from"js-cookie";import{PERSISTENT_CART as i,TYPE as n}from"./AnalyticsConstants.js";import{CART_COOKIE as o,FULL_PAYMENT as a,DEVICE as l,ACCESSORY as r,WATCH as d,TABLET as s}from"../components/Constants.js";let u;const c=(e,t,i,n)=>{const o={componentInfo:{type:i,subType:n},attributes:{title:e,targetLink:t}};Array.isArray(u)||(u=[]),u.push(o)},m=(e,t,i)=>{window.dataLayer.push(Object.assign({event:e,event_name:t},i))},v=(e,t,i)=>{window.dataLayer.push(Object.assign({event:e,event_name:t},i))},p=e=>({item_id:e.title||"",item_name:e.title||"",item_brand:"Sunrise",item_category:"Hardware",item_category2:"Device",item_category3:"",item_category4:"No subscription",item_category5:"",item_list_id:"device-gallery",item_list_name:"device-gallery",item_variant:"",price:0,quantity:1}),_=(e,t,i)=>{if("undefined"==typeof window||!Array.isArray(window.dataLayer))return;window.dataLayer.push({ecommerce:null});const n="view"===e?"view_item_list":"select_item";window.dataLayer.push({event:n,event_name:n,ecommerce:{item_list_id:"select"===e?"Home":"device-gallery",item_list_name:"select"===e?"Home":"device-gallery",items:"select"===e&&i?[i]:t}})},y=(e,t)=>{var i;return Object.assign(Object.assign({},p(e)),{affiliation:"",coupon:"",discount:(null===(i=e.promoText)||void 0===i?void 0:i.slice(0,9))||"",index:t,item_list_id:"Home",item_list_name:"Home",location_id:""})},g=(e,t,i,n,o)=>{const a={address:e,eventAction:t,eventValue:i,id:n,timeStamp:Math.round(Date.now()/1e3),type:o};try{window.appEventData.push({event:o,eventInfo:a})}catch(e){}},w=(e,t,i)=>{const o={eventAction:e,eventValue:t,timeStamp:Math.round(Date.now()/1e3),type:i};"dropDownClick/enter/leftClick"==i&&(i=n);try{"view"==i?(u=[],window.appEventData.push({event:i,eventInfo:o,component:u})):window.appEventData.push({event:i,eventInfo:o})}catch(e){}},f=(t,i,o,a,l,r)=>{const d={description:t,source:i,title:o,type:a,guid:l,errorID:r};"dropDownClick/enter/leftClick"==a&&(a=n);try{const{guid:t,errorID:i}=d,n=e(d,["guid","errorID"]);"error"==a&&null==t&&null==i||"success"==a||"general"==a?window.appEventData.push({event:"message",message:n}):void 0!==t&&void 0!==i&&window.appEventData.push({event:"message",message:d})}catch(e){}},h=(e,t,i,n)=>{const o={message_type:e,message_title:t,message_source:i,message_reason:n};try{window.dataLayer.push(Object.assign({event:"gaEvent",event_name:"error_event"},o))}catch(e){}},b=e=>{const t=Number.parseFloat(null!=e?e:"");return Number.isNaN(t)?0:t},D=e=>Math.round(100*e)/100,j=e=>{var i,n,a,l,r,d,s,u;const c=null==e?void 0:e.totals,m=D(b(null!==(n=null===(i=null==c?void 0:c.recurring)||void 0===i?void 0:i.final)&&void 0!==n?n:null===(a=null==c?void 0:c.recurring)||void 0===a?void 0:a.original)),v=D(b(null!==(r=null===(l=null==c?void 0:c.oneTime)||void 0===l?void 0:l.final)&&void 0!==r?r:null===(d=null==c?void 0:c.oneTime)||void 0===d?void 0:d.original)),p=D([null==c?void 0:c.recurring,null==c?void 0:c.oneTime].reduce((e,t)=>{if(void 0!==(null==t?void 0:t.final)&&void 0!==(null==t?void 0:t.original)){const i=b(t.original)-b(t.final);return e+Math.max(i,0)}return e},0));let _="";if("undefined"!=typeof document)try{_=null!==(s=t.get(o))&&void 0!==s?s:""}catch(e){_=""}return{cartID:`cart-${_}`,idcheck:"false",totalContractDuration:"",totalOnetimePrice:v,totalRecurringPrice:m,totalQuantity:null!==(u=null==e?void 0:e.itemCount)&&void 0!==u?u:0,promotion:"",totalAppliedPromotions:p,cartDate:"",productCategory:"",subscriptionSubType:"",subscriptionType:"",crossSell:"",productSubCategory:[],startTime:null,coupon:""}},C=e=>(null!=e?e:[]).map((e,t)=>{var n,o,u,c,m,v,p;const _=(null==e?void 0:e.paymentTerm)===a?null===(n=null==e?void 0:e.price)||void 0===n?void 0:n.oneTime:null===(o=null==e?void 0:e.price)||void 0===o?void 0:o.recurring,y=b(null==_?void 0:_.original),g=void 0!==(null==_?void 0:_.final)?b(_.final):y,w=D(Math.max(y-g,0));return{item_id:null!==(u=null==e?void 0:e.id)&&void 0!==u?u:"",item_name:null!==(c=null==e?void 0:e.name)&&void 0!==c?c:"",affiliation:"",coupon:"",discount:w,index:t,item_brand:[l,r,d,s].includes(null!==(m=null==e?void 0:e.category)&&void 0!==m?m:"")?"":"Sunrise",item_category:null!==(v=null==e?void 0:e.category)&&void 0!==v?v:"",item_category2:"",item_category3:"",item_category4:"",item_category5:"",item_list_id:i,item_list_name:i,item_variant:(null==e?void 0:e.variant)?e.variant.split(",").map(e=>e.trim()).join("|"):"",location_id:"",price:D(g),quantity:null!==(p=null==e?void 0:e.quantity)&&void 0!==p?p:1,promotion_id:""}});export{j as buildCartAnalyticsData,C as buildCartAnalyticsItems,p as getDeviceGalleryAnalyticsItem,y as getDeviceGallerySelectAnalyticsItem,c as trackComponent,_ as trackDeviceGalleryEligibility,h as trackErrorEvent,w as trackEvent,v as trackGADatalayerEvent,g as trackLineEvent,f as trackMessageEvent,m as trackNewDatalayerEvent};
|
|
2
2
|
//# sourceMappingURL=AnalyticUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticUtils.js","sources":["../../../../src/utils/AnalyticUtils.ts"],"sourcesContent":[null],"names":["ComponentArray","trackComponent","title","targetLink","type","subType","component","componentInfo","attributes","Array","isArray","push","trackNewDatalayerEvent","event","eventName","eventInfo","window","dataLayer","event_name","trackGADatalayerEvent","getDeviceGalleryAnalyticsItem","content","item_id","item_name","item_brand","item_category","item_category2","item_category3","item_category4","item_category5","item_list_id","item_list_name","item_variant","price","quantity","trackDeviceGalleryEligibility","eventType","items","selectedItem","ecommerce","getDeviceGallerySelectAnalyticsItem","index","Object","assign","affiliation","coupon","discount","_a","promoText","slice","location_id","trackLineEvent","address","eventAction","eventValue","id","timeStamp","Math","round","Date","now","appEventData","trackEvent","TYPE","trackMessageEvent","description","source","guid","errorID","validationmessage","__rest","undefined","message","trackErrorEvent","message_type","message_title","message_source","message_reason"],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnalyticUtils.js","sources":["../../../../src/utils/AnalyticUtils.ts"],"sourcesContent":[null],"names":["ComponentArray","trackComponent","title","targetLink","type","subType","component","componentInfo","attributes","Array","isArray","push","trackNewDatalayerEvent","event","eventName","eventInfo","window","dataLayer","event_name","trackGADatalayerEvent","getDeviceGalleryAnalyticsItem","content","item_id","item_name","item_brand","item_category","item_category2","item_category3","item_category4","item_category5","item_list_id","item_list_name","item_variant","price","quantity","trackDeviceGalleryEligibility","eventType","items","selectedItem","ecommerce","getDeviceGallerySelectAnalyticsItem","index","Object","assign","affiliation","coupon","discount","_a","promoText","slice","location_id","trackLineEvent","address","eventAction","eventValue","id","timeStamp","Math","round","Date","now","appEventData","trackEvent","TYPE","trackMessageEvent","description","source","guid","errorID","validationmessage","__rest","undefined","message","trackErrorEvent","message_type","message_title","message_source","message_reason","parsePrice","value","parsed","Number","parseFloat","isNaN","roundPrice","buildCartAnalyticsData","cart","totals","totalRecurringPrice","_b","recurring","final","_c","original","totalOnetimePrice","_e","_d","oneTime","_f","totalAppliedPromotions","reduce","sum","bucket","max","cartID","document","_g","Cookies","get","CART_COOKIE","_j","idcheck","totalContractDuration","totalQuantity","_h","itemCount","promotion","cartDate","productCategory","subscriptionSubType","subscriptionType","crossSell","productSubCategory","startTime","buildCartAnalyticsItems","map","item","activePrice","paymentTerm","FULL_PAYMENT","name","DEVICE","ACCESSORY","WATCH","TABLET","includes","category","PERSISTENT_CART","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C,eAAgB,GAChBC,eAAgB,GAChBC,eAAgB,GAChBC,aAAc2G,EACd1G,eAAgB0G,EAChBzG,cAAc8F,aAAI,EAAJA,EAAMY,SAAUZ,EAAKY,QAAQC,MAAM,KAAKd,IAAKe,GAASA,EAAKC,QAAQC,KAAK,KAAO,GAC7F5F,YAAa,GACbjB,MAAOmD,EAAWO,GAClBzD,SAAwB,QAAdwE,EAAAoB,eAAAA,EAAM5F,gBAAQ,IAAAwE,EAAAA,EAAI,EAC5BqC,aAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const i="gaEvent",e="Text_Image_Component",c="article_view_promotion",n="article_select_promotion",t="article_pagination_right_click",l="article_pagination_left_click",_="article_pagination_icon_click",
|
|
1
|
+
const i="gaEvent",e="Text_Image_Component",c="article_view_promotion",n="article_select_promotion",t="article_pagination_right_click",l="article_pagination_left_click",_="article_pagination_icon_click",o="lang",a="click",r="view",s="QuickLinks",k="quicklink_click",g="Mainnavigation",p="SubMainnavigation",u="content",v="links",h="PromotionTeaser",m="FlaconTitle",d="InternetTVCard",T="deviceGalleryList",b="fixnet",f="view_promotion",C="select_promotion",w="mainnavigation_click",x="subnavigation_click",S="Search",M="cta_button_click",I="internet_tv_card_click",L="contact_helpcenter_click",R="Text_link",y="line_check_start",A="line_check_results",E="cta_text_click",V="sales_hotline_click",q="sunrise_profile_click",F="sunrise_login_click",G="profile_logout",P="profile_mysunrise_click",Q="CMS",j="Teaser",z="Sub Teaser",B="All",D="Ribbon",H="carousel_icon_click",J="Left",K="Right",N="link",O="lineCheckResult",U="lineCheckStart",W="Check address",X="lineTableView Address",Y="Change",Z="Missing or Invalid Error",$="error",ii="cart_icon_click",ei="persistent_cart",ci="close_icon_click",ni="view_cart",ti="remove_from_cart";export{B as ALL,_ as ARTICLEICONSELECT,l as ARTICLELEFTSELECT,t as ARTICLERIGHTSELECT,n as ARTICLESELECT,c as ARTICLEVIEW,H as CAROUSELICONCLICK,ii as CARTICONCLICK,Y as CHANGE,W as CHECKADDRESS,ci as CLOSEICONCLICK,Q as CMS,N as COMPONENTLINK,L as CONTACTHELPCENTERCLICK,u as CONTENT,M as CTABUTTONCLICK,E as CTATEXTCLICK,T as DEVICEGALLERY,Z as ERRORMESSAGE,$ as ERRORTYPE,m as FALCONTITLE,b as FIXNET,i as GAEVENT,J as ICONPOSITIONLEFT,K as ICONPOSITIONRIGHT,I as INTERNETCARD,d as INTERNETTVCARD,o as LANG,X as LINEADDRESS,U as LINECHECKSTART,O as LINETABLERESULT,v as LINK,F as LOGINCLICK,w as MAINNAVCLICK,g as MAINNAVIGATION,P as MYPROFILECLICK,ei as PERSISTENT_CART,q as PROFILECLICK,G as PROFILELOGOUT,h as PROMOTIONTEASER,s as QUICKLINK,k as QUICKLINKCLICK,ti as REMOVE_FROM_CART,D as RIBBON,V as SALESHOTLINECLICK,A as SBLINECHECKRESULT,y as SBLINECHECKSTART,S as SEARCH,C as SELECTPROMOTION,p as SUBMAINNAVIGATION,x as SUBNAVCLICK,z as SUBTEASER,j as TEASER,e as TEXTIMAGECOMPONENT,R as TEXTLINK,a as TYPE,r as VIEW,f as VIEWPROMOTION,ni as VIEW_CART};
|
|
2
2
|
//# sourceMappingURL=AnalyticsConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticsConstants.js","sources":["../../../../src/utils/AnalyticsConstants.ts"],"sourcesContent":[null],"names":["GAEVENT","TEXTIMAGECOMPONENT","ARTICLEVIEW","ARTICLESELECT","ARTICLERIGHTSELECT","ARTICLELEFTSELECT","ARTICLEICONSELECT","LANG","TYPE","VIEW","QUICKLINK","QUICKLINKCLICK","MAINNAVIGATION","SUBMAINNAVIGATION","CONTENT","LINK","PROMOTIONTEASER","FALCONTITLE","INTERNETTVCARD","DEVICEGALLERY","FIXNET","VIEWPROMOTION","SELECTPROMOTION","MAINNAVCLICK","SUBNAVCLICK","SEARCH","CTABUTTONCLICK","INTERNETCARD","CONTACTHELPCENTERCLICK","TEXTLINK","SBLINECHECKSTART","SBLINECHECKRESULT","CTATEXTCLICK","SALESHOTLINECLICK","PROFILECLICK","LOGINCLICK","PROFILELOGOUT","MYPROFILECLICK","CMS","TEASER","SUBTEASER","ALL","RIBBON","CAROUSELICONCLICK","ICONPOSITIONLEFT","ICONPOSITIONRIGHT","COMPONENTLINK","LINETABLERESULT","LINECHECKSTART","CHECKADDRESS","LINEADDRESS","CHANGE","ERRORMESSAGE","ERRORTYPE"],"mappings":"AACO,MAAMA,EAAU,UAGVC,EAAqB,uBACrBC,EAAc,yBACdC,EAAgB,2BAChBC,EAAqB,iCACrBC,EAAoB,gCACpBC,EAAoB,gCAEpBC,EAAO,OACPC,EAAO,QACPC,EAAO,OAQPC,EAAY,aACZC,EAAiB,kBAOjBC,EAAiB,iBACjBC,EAAoB,oBA0BpBC,EAAU,UACVC,EAAO,QA+CPC,EAAkB,kBAOlBC,EAAc,cAoBdC,EAAiB,iBAKjBC,EAAgB,oBAqDhBC,EAAS,SAeTC,EAAgB,iBAShBC,EAAkB,mBAIlBC,EAAe,uBACfC,EAAc,sBAEdC,EAAS,SAGTC,EAAiB,mBAOjBC,EAAe,yBAKfC,EAAyB,2BACzBC,EAAW,YACXC,EAAmB,mBACnBC,EAAoB,qBAapBC,EAAe,iBAOfC,EAAoB,sBAGpBC,EAAe,wBACfC,EAAa,sBACbC,EAAgB,iBAChBC,EAAiB,0BACjBC,EAAM,MACNC,EAAS,SACTC,EAAY,aACZC,EAAM,MACNC,EAAS,SACTC,EAAoB,sBACpBC,EAAmB,OACnBC,EAAoB,QACpBC,EAAgB,OAQhBC,EAAkB,kBAClBC,EAAiB,iBACjBC,EAAe,gBACfC,EAAc,wBACdC,EAAS,SACTC,EAAe,2BACfC,EAAY"}
|
|
1
|
+
{"version":3,"file":"AnalyticsConstants.js","sources":["../../../../src/utils/AnalyticsConstants.ts"],"sourcesContent":[null],"names":["GAEVENT","TEXTIMAGECOMPONENT","ARTICLEVIEW","ARTICLESELECT","ARTICLERIGHTSELECT","ARTICLELEFTSELECT","ARTICLEICONSELECT","LANG","TYPE","VIEW","QUICKLINK","QUICKLINKCLICK","MAINNAVIGATION","SUBMAINNAVIGATION","CONTENT","LINK","PROMOTIONTEASER","FALCONTITLE","INTERNETTVCARD","DEVICEGALLERY","FIXNET","VIEWPROMOTION","SELECTPROMOTION","MAINNAVCLICK","SUBNAVCLICK","SEARCH","CTABUTTONCLICK","INTERNETCARD","CONTACTHELPCENTERCLICK","TEXTLINK","SBLINECHECKSTART","SBLINECHECKRESULT","CTATEXTCLICK","SALESHOTLINECLICK","PROFILECLICK","LOGINCLICK","PROFILELOGOUT","MYPROFILECLICK","CMS","TEASER","SUBTEASER","ALL","RIBBON","CAROUSELICONCLICK","ICONPOSITIONLEFT","ICONPOSITIONRIGHT","COMPONENTLINK","LINETABLERESULT","LINECHECKSTART","CHECKADDRESS","LINEADDRESS","CHANGE","ERRORMESSAGE","ERRORTYPE","CARTICONCLICK","PERSISTENT_CART","CLOSEICONCLICK","VIEW_CART","REMOVE_FROM_CART"],"mappings":"AACO,MAAMA,EAAU,UAGVC,EAAqB,uBACrBC,EAAc,yBACdC,EAAgB,2BAChBC,EAAqB,iCACrBC,EAAoB,gCACpBC,EAAoB,gCAEpBC,EAAO,OACPC,EAAO,QACPC,EAAO,OAQPC,EAAY,aACZC,EAAiB,kBAOjBC,EAAiB,iBACjBC,EAAoB,oBA0BpBC,EAAU,UACVC,EAAO,QA+CPC,EAAkB,kBAOlBC,EAAc,cAoBdC,EAAiB,iBAKjBC,EAAgB,oBAqDhBC,EAAS,SAeTC,EAAgB,iBAShBC,EAAkB,mBAIlBC,EAAe,uBACfC,EAAc,sBAEdC,EAAS,SAGTC,EAAiB,mBAOjBC,EAAe,yBAKfC,EAAyB,2BACzBC,EAAW,YACXC,EAAmB,mBACnBC,EAAoB,qBAapBC,EAAe,iBAOfC,EAAoB,sBAGpBC,EAAe,wBACfC,EAAa,sBACbC,EAAgB,iBAChBC,EAAiB,0BACjBC,EAAM,MACNC,EAAS,SACTC,EAAY,aACZC,EAAM,MACNC,EAAS,SACTC,EAAoB,sBACpBC,EAAmB,OACnBC,EAAoB,QACpBC,EAAgB,OAQhBC,EAAkB,kBAClBC,EAAiB,iBACjBC,EAAe,gBACfC,EAAc,wBACdC,EAAS,SACTC,EAAe,2BACfC,EAAY,QAGZC,GAAgB,kBAChBC,GAAkB,kBAClBC,GAAiB,mBACjBC,GAAY,YACZC,GAAmB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -901,6 +901,82 @@ interface ErrorEventInfoInterface {
|
|
|
901
901
|
message_reason: string;
|
|
902
902
|
}
|
|
903
903
|
declare const trackErrorEvent: (message_type: string, message_title: string, message_source: string, message_reason: string) => void;
|
|
904
|
+
interface CartAnalyticsPriceBucket {
|
|
905
|
+
final?: string;
|
|
906
|
+
original?: string;
|
|
907
|
+
}
|
|
908
|
+
interface CartAnalyticsItem {
|
|
909
|
+
id?: string;
|
|
910
|
+
name?: string;
|
|
911
|
+
category?: string;
|
|
912
|
+
quantity?: number;
|
|
913
|
+
variant?: string;
|
|
914
|
+
paymentTerm?: string;
|
|
915
|
+
price?: {
|
|
916
|
+
recurring?: CartAnalyticsPriceBucket;
|
|
917
|
+
oneTime?: CartAnalyticsPriceBucket;
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
interface CartAnalyticsSource {
|
|
921
|
+
itemCount?: number;
|
|
922
|
+
checkout?: string;
|
|
923
|
+
items?: CartAnalyticsItem[];
|
|
924
|
+
totals?: {
|
|
925
|
+
recurring?: CartAnalyticsPriceBucket;
|
|
926
|
+
oneTime?: CartAnalyticsPriceBucket;
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
interface CartAnalyticsData {
|
|
930
|
+
cartID: string;
|
|
931
|
+
idcheck: string;
|
|
932
|
+
totalContractDuration: string;
|
|
933
|
+
totalOnetimePrice: number;
|
|
934
|
+
totalRecurringPrice: number;
|
|
935
|
+
totalQuantity: number;
|
|
936
|
+
promotion: string;
|
|
937
|
+
totalAppliedPromotions: number;
|
|
938
|
+
cartDate: string;
|
|
939
|
+
productCategory: string;
|
|
940
|
+
subscriptionSubType: string;
|
|
941
|
+
subscriptionType: string;
|
|
942
|
+
crossSell: string;
|
|
943
|
+
productSubCategory: string[];
|
|
944
|
+
startTime: string | null;
|
|
945
|
+
coupon: string;
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* Builds the cart analytics data object from a cart mini-summary response.
|
|
949
|
+
* Numeric and cart-level values are derived dynamically from the source cart;
|
|
950
|
+
* fields that cannot be inferred from the cart fall back to safe defaults.
|
|
951
|
+
*/
|
|
952
|
+
declare const buildCartAnalyticsData: (cart?: CartAnalyticsSource) => CartAnalyticsData;
|
|
953
|
+
interface CartAnalyticsGAItem {
|
|
954
|
+
item_id: string;
|
|
955
|
+
item_name: string;
|
|
956
|
+
affiliation: string;
|
|
957
|
+
coupon: string;
|
|
958
|
+
discount: number;
|
|
959
|
+
index: number;
|
|
960
|
+
item_brand: string;
|
|
961
|
+
item_category: string;
|
|
962
|
+
item_category2: string;
|
|
963
|
+
item_category3: string;
|
|
964
|
+
item_category4: string;
|
|
965
|
+
item_category5: string;
|
|
966
|
+
item_list_id: string;
|
|
967
|
+
item_list_name: string;
|
|
968
|
+
item_variant: string;
|
|
969
|
+
location_id: string;
|
|
970
|
+
price: number;
|
|
971
|
+
quantity: number;
|
|
972
|
+
promotion_id: string;
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* Maps cart items to the GA ecommerce "items" array shape.
|
|
976
|
+
* Values are derived dynamically from each item; fields that cannot be
|
|
977
|
+
* inferred from the cart item fall back to safe defaults ("" or 0).
|
|
978
|
+
*/
|
|
979
|
+
declare const buildCartAnalyticsItems: (items?: CartAnalyticsItem[]) => CartAnalyticsGAItem[];
|
|
904
980
|
|
|
905
|
-
export { BadgeContainer, ButtonGroup, CartPropConfig, CustomerPropConfig, DeviceGalleryList, FalconButtonV3, FalconMainNavigation, GlobalPromoRibbon, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardItem, InternetAndTvCards, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, MinimizedHeader, PromoBubble, PromotionTeaser, QuickLinks, RibbonComponent, RibbonRenderer, SearchWrapper, StageTeaserComponent, StageTeaserV3, TextComponent, createCustomerGroupFetcher, createCustomerSegmentSync, customerGroup, dispatchCustomerSegmentRefreshEvent, extractCustomerGroupFromProfile, getCurrentCustomerSegment, getDeviceGalleryAnalyticsItem, getDeviceGallerySelectAnalyticsItem, hasCachedCustomerSegment, resolveCustomerGroup, setCustomerSegment, subscribeToCustomerSegmentRefresh, syncCustomerSegment, trackComponent, trackDeviceGalleryEligibility, trackErrorEvent, trackEvent, trackGADatalayerEvent, trackLineEvent, trackMessageEvent, trackNewDatalayerEvent };
|
|
906
|
-
export type { CartPropConfigSchema, CreateCustomerGroupFetcherOptions, CustomerProfileResponse, CustomerPropConfigSchema, CustomerSegmentRefreshDetail, CustomerSegmentSyncApi, CustomerSegmentSyncOptions, DeviceGalleryAnalyticsItem, DeviceGalleryItemSchema, DeviceGalleryListContent, DeviceGalleryListProps, ErrorEventInfoInterface, InternetAndTvCardItemSchema, InternetAndTvCardsContent, InternetAndTvCardsProps, LinecheckBasicPropConfigSchema, PromotionTeaserProps, PromotionTeaserSchema, QuickLinkItemSchema, QuickLinksContent, QuickLinksProps, ResolveCustomerGroupOptions, RibbonComponentSchema, RibbonRendererProps, StageTeaserSlideContent, StageTeaserSwiperContent, StageTeaserSwiperProps, StageTeaserV3Content, StageTeaserV3Props };
|
|
981
|
+
export { BadgeContainer, ButtonGroup, CartPropConfig, CustomerPropConfig, DeviceGalleryList, FalconButtonV3, FalconMainNavigation, GlobalPromoRibbon, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardItem, InternetAndTvCards, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, MinimizedHeader, PromoBubble, PromotionTeaser, QuickLinks, RibbonComponent, RibbonRenderer, SearchWrapper, StageTeaserComponent, StageTeaserV3, TextComponent, buildCartAnalyticsData, buildCartAnalyticsItems, createCustomerGroupFetcher, createCustomerSegmentSync, customerGroup, dispatchCustomerSegmentRefreshEvent, extractCustomerGroupFromProfile, getCurrentCustomerSegment, getDeviceGalleryAnalyticsItem, getDeviceGallerySelectAnalyticsItem, hasCachedCustomerSegment, resolveCustomerGroup, setCustomerSegment, subscribeToCustomerSegmentRefresh, syncCustomerSegment, trackComponent, trackDeviceGalleryEligibility, trackErrorEvent, trackEvent, trackGADatalayerEvent, trackLineEvent, trackMessageEvent, trackNewDatalayerEvent };
|
|
982
|
+
export type { CartAnalyticsData, CartAnalyticsGAItem, CartPropConfigSchema, CreateCustomerGroupFetcherOptions, CustomerProfileResponse, CustomerPropConfigSchema, CustomerSegmentRefreshDetail, CustomerSegmentSyncApi, CustomerSegmentSyncOptions, DeviceGalleryAnalyticsItem, DeviceGalleryItemSchema, DeviceGalleryListContent, DeviceGalleryListProps, ErrorEventInfoInterface, InternetAndTvCardItemSchema, InternetAndTvCardsContent, InternetAndTvCardsProps, LinecheckBasicPropConfigSchema, PromotionTeaserProps, PromotionTeaserSchema, QuickLinkItemSchema, QuickLinksContent, QuickLinksProps, ResolveCustomerGroupOptions, RibbonComponentSchema, RibbonRendererProps, StageTeaserSlideContent, StageTeaserSwiperContent, StageTeaserSwiperProps, StageTeaserV3Content, StageTeaserV3Props };
|
package/dist/navigation.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconMainNavigation.module.scss */
|
|
2
2
|
/* center a block element */
|
|
3
3
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
4
4
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
/*
|
|
321
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\ResponsiveRow\row.module.scss */
|
|
322
322
|
/* center a block element */
|
|
323
323
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
324
324
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
/*
|
|
356
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\InteractiveHamburger\InteractiveHamburger.module.scss */
|
|
357
357
|
/* center a block element */
|
|
358
358
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
359
359
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
width: 24px;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
/*
|
|
398
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\NavigationMenuItem\NavigationMenuItem.module.scss */
|
|
399
399
|
/* center a block element */
|
|
400
400
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
401
401
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
position: relative;
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
/*
|
|
480
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconHeader\FalconHeader.module.scss */
|
|
481
481
|
/* center a block element */
|
|
482
482
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
483
483
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
color: #ffffff;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
/*
|
|
570
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\MobileNavigation\MobileNavigation.module.scss */
|
|
571
571
|
/* center a block element */
|
|
572
572
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
573
573
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
visibility: visible;
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
/*
|
|
678
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartOverlay.module.scss */
|
|
679
679
|
/* center a block element */
|
|
680
680
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
681
681
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
text-align: center;
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
/*
|
|
795
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\MinimizedHeader\MinimizedHeader.module.scss */
|
|
796
796
|
/* center a block element */
|
|
797
797
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
798
798
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -926,7 +926,7 @@
|
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
928
|
|
|
929
|
-
/*
|
|
929
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconHeader\LocaleSelector\LocaleSelector.module.scss */
|
|
930
930
|
/* center a block element */
|
|
931
931
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
932
932
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
|
-
/*
|
|
1076
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\ProfileLinkOut\ProfileLinkOut.module.scss */
|
|
1077
1077
|
/* center a block element */
|
|
1078
1078
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1079
1079
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1314,7 +1314,7 @@
|
|
|
1314
1314
|
}
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
|
-
/*
|
|
1317
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartDotLoader\CartDotLoader.module.scss */
|
|
1318
1318
|
/* center a block element */
|
|
1319
1319
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1320
1320
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1376,7 +1376,7 @@
|
|
|
1376
1376
|
text-align: center;
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
|
-
/*
|
|
1379
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartHeader\CartHeader.module.scss */
|
|
1380
1380
|
/* center a block element */
|
|
1381
1381
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1382
1382
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1424,7 +1424,7 @@
|
|
|
1424
1424
|
border-radius: 2px;
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
-
/*
|
|
1427
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\MobileNavigation\MobileMenuItem\MobileMenuItem.module.scss */
|
|
1428
1428
|
/* center a block element */
|
|
1429
1429
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1430
1430
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1482,7 +1482,7 @@
|
|
|
1482
1482
|
filter: brightness(0) invert(0.9);
|
|
1483
1483
|
}
|
|
1484
1484
|
|
|
1485
|
-
/*
|
|
1485
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartFooter\CartFooter.module.scss */
|
|
1486
1486
|
/* center a block element */
|
|
1487
1487
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1488
1488
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1553,7 +1553,7 @@
|
|
|
1553
1553
|
text-decoration: none;
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
|
-
/*
|
|
1556
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\EmptyCart\EmptyCart.module.scss */
|
|
1557
1557
|
/* center a block element */
|
|
1558
1558
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1559
1559
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1635,7 +1635,7 @@
|
|
|
1635
1635
|
line-height: 1.3;
|
|
1636
1636
|
}
|
|
1637
1637
|
|
|
1638
|
-
/*
|
|
1638
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\FalconHeader\BusinessCustomerLinkOut\BusinessCustomerLinkOut.module.scss */
|
|
1639
1639
|
/* center a block element */
|
|
1640
1640
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1641
1641
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
background-color: #1f1f1f;
|
|
1723
1723
|
}
|
|
1724
1724
|
|
|
1725
|
-
/*
|
|
1725
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartClearConfirm\CartClearConfirm.module.scss */
|
|
1726
1726
|
/* center a block element */
|
|
1727
1727
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1728
1728
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1808,7 +1808,7 @@
|
|
|
1808
1808
|
outline-offset: 2px;
|
|
1809
1809
|
}
|
|
1810
1810
|
|
|
1811
|
-
/*
|
|
1811
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\SubNavigation\SubNavigation.module.scss */
|
|
1812
1812
|
/* center a block element */
|
|
1813
1813
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1814
1814
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -1918,7 +1918,7 @@
|
|
|
1918
1918
|
border: none;
|
|
1919
1919
|
}
|
|
1920
1920
|
|
|
1921
|
-
/*
|
|
1921
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\CartOverlay\CartItems\CartItems.module.scss */
|
|
1922
1922
|
/* center a block element */
|
|
1923
1923
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
1924
1924
|
/* setting styles in separate formats for cross browser support */
|
|
@@ -2077,7 +2077,7 @@
|
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
2079
|
|
|
2080
|
-
/*
|
|
2080
|
+
/* C:\Users\paneendranath\OneDrive - Sunrise GmbH\Repos\Fixnet\performance\sunrise-ch-b2c-sales-static-components\src\components\FalconMainNavigation\MobileNavigation\MobileSubNavigation\MobileSubNavigation.module.scss */
|
|
2081
2081
|
/* center a block element */
|
|
2082
2082
|
/* use this to any of the pseudo elements as these are the mandatory properties */
|
|
2083
2083
|
/* setting styles in separate formats for cross browser support */
|
package/package.json
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@sunrise-upc/sales-static-components",
|
|
3
|
-
"version": "4.4.
|
|
4
|
-
"description": "Static Reusable Components Library",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/cjs/index.js",
|
|
7
|
-
"module": "dist/esm/index.js",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/esm/index.js",
|
|
11
|
-
"require": "./dist/cjs/index.js",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./GlobalPromoRibbon": {
|
|
15
|
-
"import": "./dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
|
|
16
|
-
"require": "./dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
|
|
17
|
-
"types": "./dist/index.d.ts"
|
|
18
|
-
},
|
|
19
|
-
"./RibbonRenderer": {
|
|
20
|
-
"import": "./dist/esm/components/RibbonRenderer/RibbonRenderer.js",
|
|
21
|
-
"require": "./dist/cjs/components/RibbonRenderer/RibbonRenderer.js",
|
|
22
|
-
"types": "./dist/index.d.ts"
|
|
23
|
-
},
|
|
24
|
-
"./InternetAndTvCardsBenefits": {
|
|
25
|
-
"import": "./dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
|
|
26
|
-
"require": "./dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
|
|
27
|
-
"types": "./dist/index.d.ts"
|
|
28
|
-
},
|
|
29
|
-
"./navigation.css": "./dist/navigation.css"
|
|
30
|
-
},
|
|
31
|
-
"sideEffects": [
|
|
32
|
-
"**/*.css",
|
|
33
|
-
"**/*.scss"
|
|
34
|
-
],
|
|
35
|
-
"files": [
|
|
36
|
-
"dist",
|
|
37
|
-
"package.json"
|
|
38
|
-
],
|
|
39
|
-
"typings": "dist/index.d.ts",
|
|
40
|
-
"typesVersions": {
|
|
41
|
-
"*": {
|
|
42
|
-
"RibbonRenderer": [
|
|
43
|
-
"dist/index.d.ts"
|
|
44
|
-
],
|
|
45
|
-
"GlobalPromoRibbon": [
|
|
46
|
-
"dist/index.d.ts"
|
|
47
|
-
],
|
|
48
|
-
"InternetAndTvCardsBenefits": [
|
|
49
|
-
"dist/index.d.ts"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
55
|
-
"clean": "rimraf dist",
|
|
56
|
-
"build": "npm run clean && rollup -c",
|
|
57
|
-
"prepare": "npm run build",
|
|
58
|
-
"dev": "npm run clean && rollup -c -w",
|
|
59
|
-
"prepatch": "npm --no-git-tag-version version prepatch",
|
|
60
|
-
"release:major": "npm version major && npm publish --access public --tag latest",
|
|
61
|
-
"release:minor": "npm version minor && npm publish --access public --tag latest",
|
|
62
|
-
"release:patch": "npm version patch && npm publish --access public --tag latest",
|
|
63
|
-
"release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
|
|
64
|
-
"release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest",
|
|
65
|
-
"release:beta:minor": "npm version preminor --preid=beta && npm publish --access public --tag beta"
|
|
66
|
-
},
|
|
67
|
-
"repository": {
|
|
68
|
-
"type": "git",
|
|
69
|
-
"url": "git+https://Angles_Kathirvel@bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components.git"
|
|
70
|
-
},
|
|
71
|
-
"author": "Angles Kathirvel",
|
|
72
|
-
"license": "ISC",
|
|
73
|
-
"bugs": {
|
|
74
|
-
"url": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components/issues"
|
|
75
|
-
},
|
|
76
|
-
"homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
|
|
77
|
-
"devDependencies": {
|
|
78
|
-
"@rollup/plugin-commonjs": "^29.0.0",
|
|
79
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
80
|
-
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
81
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
82
|
-
"@rollup/plugin-typescript": "^12.3.0",
|
|
83
|
-
"@types/js-cookie": "^3.0.6",
|
|
84
|
-
"@types/node": "^24.6.0",
|
|
85
|
-
"@types/react": "^19.1.13",
|
|
86
|
-
"@types/react-dom": "^19.1.9",
|
|
87
|
-
"rimraf": "^6.0.1",
|
|
88
|
-
"rollup": "^4.56.0",
|
|
89
|
-
"rollup-plugin-dts": "^6.3.0",
|
|
90
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
91
|
-
"postcss": "^8.5.3",
|
|
92
|
-
"postcss-modules": "^6.0.0",
|
|
93
|
-
"sass": "^1.93.0",
|
|
94
|
-
"tslib": "^2.8.1",
|
|
95
|
-
"typescript": "^5.9.2"
|
|
96
|
-
},
|
|
97
|
-
"peerDependencies": {
|
|
98
|
-
"react": "^19.1.0",
|
|
99
|
-
"react-dom": "^19.1.0",
|
|
100
|
-
"react-bootstrap": "^2.10.10",
|
|
101
|
-
"storyblok-rich-text-react-renderer": "^3.0.1"
|
|
102
|
-
},
|
|
103
|
-
"dependencies": {
|
|
104
|
-
"@sunrise-upc/ajax-lib": "^3.0.0",
|
|
105
|
-
"@sunrise-upc/sun-b2c-search-lib": "^2.0.0",
|
|
106
|
-
"axios": "^1.12.2",
|
|
107
|
-
"cookies-next": "^6.1.0",
|
|
108
|
-
"fitty": "^2.4.2",
|
|
109
|
-
"js-cookie": "^3.0.5",
|
|
110
|
-
"react-loading-skeleton": "^3.5.0",
|
|
111
|
-
"react-multi-carousel": "^2.8.5",
|
|
112
|
-
"uuid": "^13.0.0",
|
|
113
|
-
"swiper": "^14.3.0"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@sunrise-upc/sales-static-components",
|
|
3
|
+
"version": "4.4.3",
|
|
4
|
+
"description": "Static Reusable Components Library",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/cjs/index.js",
|
|
7
|
+
"module": "dist/esm/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/esm/index.js",
|
|
11
|
+
"require": "./dist/cjs/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./GlobalPromoRibbon": {
|
|
15
|
+
"import": "./dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
|
|
16
|
+
"require": "./dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js",
|
|
17
|
+
"types": "./dist/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./RibbonRenderer": {
|
|
20
|
+
"import": "./dist/esm/components/RibbonRenderer/RibbonRenderer.js",
|
|
21
|
+
"require": "./dist/cjs/components/RibbonRenderer/RibbonRenderer.js",
|
|
22
|
+
"types": "./dist/index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./InternetAndTvCardsBenefits": {
|
|
25
|
+
"import": "./dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
|
|
26
|
+
"require": "./dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js",
|
|
27
|
+
"types": "./dist/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./navigation.css": "./dist/navigation.css"
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"**/*.css",
|
|
33
|
+
"**/*.scss"
|
|
34
|
+
],
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"package.json"
|
|
38
|
+
],
|
|
39
|
+
"typings": "dist/index.d.ts",
|
|
40
|
+
"typesVersions": {
|
|
41
|
+
"*": {
|
|
42
|
+
"RibbonRenderer": [
|
|
43
|
+
"dist/index.d.ts"
|
|
44
|
+
],
|
|
45
|
+
"GlobalPromoRibbon": [
|
|
46
|
+
"dist/index.d.ts"
|
|
47
|
+
],
|
|
48
|
+
"InternetAndTvCardsBenefits": [
|
|
49
|
+
"dist/index.d.ts"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
55
|
+
"clean": "rimraf dist",
|
|
56
|
+
"build": "npm run clean && rollup -c",
|
|
57
|
+
"prepare": "npm run build",
|
|
58
|
+
"dev": "npm run clean && rollup -c -w",
|
|
59
|
+
"prepatch": "npm --no-git-tag-version version prepatch",
|
|
60
|
+
"release:major": "npm version major && npm publish --access public --tag latest",
|
|
61
|
+
"release:minor": "npm version minor && npm publish --access public --tag latest",
|
|
62
|
+
"release:patch": "npm version patch && npm publish --access public --tag latest",
|
|
63
|
+
"release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
|
|
64
|
+
"release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest",
|
|
65
|
+
"release:beta:minor": "npm version preminor --preid=beta && npm publish --access public --tag beta"
|
|
66
|
+
},
|
|
67
|
+
"repository": {
|
|
68
|
+
"type": "git",
|
|
69
|
+
"url": "git+https://Angles_Kathirvel@bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components.git"
|
|
70
|
+
},
|
|
71
|
+
"author": "Angles Kathirvel",
|
|
72
|
+
"license": "ISC",
|
|
73
|
+
"bugs": {
|
|
74
|
+
"url": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components/issues"
|
|
75
|
+
},
|
|
76
|
+
"homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
79
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
80
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
81
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
82
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
83
|
+
"@types/js-cookie": "^3.0.6",
|
|
84
|
+
"@types/node": "^24.6.0",
|
|
85
|
+
"@types/react": "^19.1.13",
|
|
86
|
+
"@types/react-dom": "^19.1.9",
|
|
87
|
+
"rimraf": "^6.0.1",
|
|
88
|
+
"rollup": "^4.56.0",
|
|
89
|
+
"rollup-plugin-dts": "^6.3.0",
|
|
90
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
91
|
+
"postcss": "^8.5.3",
|
|
92
|
+
"postcss-modules": "^6.0.0",
|
|
93
|
+
"sass": "^1.93.0",
|
|
94
|
+
"tslib": "^2.8.1",
|
|
95
|
+
"typescript": "^5.9.2"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"react": "^19.1.0",
|
|
99
|
+
"react-dom": "^19.1.0",
|
|
100
|
+
"react-bootstrap": "^2.10.10",
|
|
101
|
+
"storyblok-rich-text-react-renderer": "^3.0.1"
|
|
102
|
+
},
|
|
103
|
+
"dependencies": {
|
|
104
|
+
"@sunrise-upc/ajax-lib": "^3.0.0",
|
|
105
|
+
"@sunrise-upc/sun-b2c-search-lib": "^2.0.0",
|
|
106
|
+
"axios": "^1.12.2",
|
|
107
|
+
"cookies-next": "^6.1.0",
|
|
108
|
+
"fitty": "^2.4.2",
|
|
109
|
+
"js-cookie": "^3.0.5",
|
|
110
|
+
"react-loading-skeleton": "^3.5.0",
|
|
111
|
+
"react-multi-carousel": "^2.8.5",
|
|
112
|
+
"uuid": "^13.0.0",
|
|
113
|
+
"swiper": "^14.3.0"
|
|
114
|
+
}
|
|
115
|
+
}
|