@pronto-tools-and-more/files 14.15.0 → 14.17.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/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
- package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +1 -1
- package/files/framework-latest/src/default/storefront/index.html +1 -1
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_product_product_module_ts"],{1803:(P,h,n)=>{n.d(h,{OE:()=>f,OK:()=>i,TS:()=>a,We:()=>o});var a=function(t){return t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t.GRID="grid",t.GROUP="group",t.TABS="tabs",t}(a||{}),o=function(t){return t.BLANK="_blank",t.SELF="_self",t}(o||{}),i=function(t){return t.div="div",t.a="a",t.
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_product_product_module_ts"],{1803:(P,h,n)=>{n.d(h,{OE:()=>f,OK:()=>i,TS:()=>a,We:()=>o});var a=function(t){return t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t.GRID="grid",t.GROUP="group",t.TABS="tabs",t}(a||{}),o=function(t){return t.BLANK="_blank",t.SELF="_self",t}(o||{}),i=function(t){return t.div="div",t.a="a",t.article="article",t.aside="aside",t.br="br",t.button="button",t.details="details",t.dialog="dialog",t.em="em",t.figcaption="figcaption",t.figure="figure",t.footer="footer",t.h1="h1",t.h2="h2",t.h3="h3",t.h4="h4",t.h5="h5",t.h6="h6",t.header="header",t.hr="hr",t.iframe="iframe",t.img="img",t.input="input",t.li="li",t.main="main",t.mark="mark",t.nav="nav",t.ol="ol",t.p="p",t.pre="pre",t.section="section",t.small="small",t.span="span",t.strong="strong",t.summary="summary",t.time="time",t.ul="ul",t}(i||{}),f=function(t){return t.div="div",t.a="a",t.button="button",t.dialog="dialog",t.h1="h1",t.h2="h2",t.h3="h3",t.h4="h4",t.h5="h5",t.h6="h6",t.li="li",t.ol="ol",t.p="p",t.span="span",t.ul="ul",t.article="article",t.aside="aside",t.details="details",t.figcaption="figcaption",t.figure="figure",t.footer="footer",t.header="header",t.main="main",t.mark="mark",t.nav="nav",t.section="section",t.summary="summary",t.time="time",t}(f||{})},8866:(P,h,n)=>{n.r(h),n.d(h,{ProductModule:()=>B,component:()=>S});var a=n(177),p=n(467),o=n(9379),i=n(3953),f=n(4404),t=n(1210);const A={fallback:{type:"html",tag:n(1803).OK.p,content:"ERROR_PRODUCT",variables:["$context.error"]}};var y=n(5102),R=n(1497),O=n(8179),m=n(8251),x=n(610),E=n(4648),I=n(2868);function D(c,u){}function N(c,u){if(1&c&&i.DNE(0,D,0,0,"ng-template",1),2&c){const r=i.XpG();i.Y8G("baseContext",r.childContext)("baseConfig",r.childConfig)}}let F=(()=>{var c;class u extends t.${constructor(){super(...arguments),this.store=(0,i.WQX)(m.B),this.purpleService=(0,i.WQX)(y.Wj),this.changeDetectorRef=(0,i.WQX)(i.gRc),this.defaultConfig=(0,o.A)({},A)}onConfigChanges(){var l=()=>super.onConfigChanges,e=this;return(0,p.A)(function*(){l().call(e);const C=e.config.productId||new URL(e.document.location.href).searchParams.get("productId");try{const s=yield e.purpleService.getProducts(C);if(e.config.localIssueFilter){const d=(0,O.n)(e.config.localIssueFilter);s.issues=s.issues.filter(v=>(0,E.tU)(d,v))}if(s.issues.length)e.issue=s.issues[0],e.childContext=(0,o.A)((0,o.A)({},e.context),{},{issue:e.issue}),e.childConfig=(0,o.A)({type:"issue"},e.config.issue);else if(s.subscriptions.length){const d=s.subscriptions[0],v=yield e.purpleService.getPrice(d.productId);e.subscription=R.r.toSubscriptionsWithPrice(d,v)[0],e.childContext=(0,o.A)((0,o.A)({},e.context),{},{subscription:e.subscription}),e.childConfig=(0,o.A)({type:"subscription"},e.config.subscription)}else{if(!s.publicationProducts.length)throw{code:f.ERROR_CODE.UNKNOWN_PRODUCT};e.publicationProduct=s.publicationProducts[0],e.childContext=(0,o.A)({},e.context),e.childConfig=(0,o.A)((0,o.A)({type:"publication-completion"},e.config.publicationCompletion),{},{productFilter:{productId:{value:C}}})}}catch(s){let d=s;null!=s&&s.code||(d=(0,o.A)((0,o.A)({},s),{},{code:f.ERROR_CODE.UNKNOWN})),e.store.dispatch((0,x.k4)({url:window.location.href,key:"".concat(e.getTrackingBaseKey(),"_LOAD_FAILED"),params:{error:d.code,productId:C}})),e.childConfig=(0,o.A)({},e.config.fallback),e.childContext=(0,o.A)((0,o.A)({},e.context),{},{error:d.code})}e.changeDetectorRef.markForCheck()})()}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"fallback"]}}return(c=u).type="product",c.\u0275fac=(()=>{let r;return function(e){return(r||(r=i.xGo(c)))(e||c)}})(),c.\u0275cmp=i.VBU({type:c,selectors:[["storefront-product"]],standalone:!1,features:[i.Jv_([m.B]),i.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[3,"pxpDynamicComponent","baseContext","baseConfig"]],template:function(l,e){1&l&&i.DNE(0,N,1,2,null,0),2&l&&i.Y8G("ngIf",e.childConfig)},dependencies:[a.bT,I.q],encapsulation:2}),u})(),B=(()=>{var c;class u{}return(c=u).\u0275fac=function(l){return new(l||c)},c.\u0275mod=i.$C({type:c}),c.\u0275inj=i.G2t({imports:[a.MD]}),u})();const S=F}}]);
|