@pronto-tools-and-more/files 12.51.0 → 12.52.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/index.html +1 -1
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +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_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:(
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_product_product_module_ts"],{1803:(b,v,n)=>{n.d(v,{OE:()=>C,OK:()=>p,TS:()=>a,We:()=>i});var a=function(t){return t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t.GRID="grid",t.GROUP="group",t.TABS="tabs",t}(a||{}),i=function(t){return t.BLANK="_blank",t.SELF="_self",t}(i||{}),p=function(t){return t.a="a",t.br="br",t.button="button",t.div="div",t.em="em",t.h1="h1",t.h2="h2",t.h3="h3",t.h4="h4",t.h5="h5",t.h6="h6",t.hr="hr",t.iframe="iframe",t.img="img",t.input="input",t.li="li",t.ol="ol",t.p="p",t.pre="pre",t.small="small",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}(p||{}),C=function(t){return t.div="div",t.li="li",t.ol="ol",t.p="p",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}(C||{})},8866:(b,v,n)=>{n.r(v),n.d(v,{ProductModule:()=>B,component:()=>K});var a=n(177),m=n(467),i=n(9379),p=n(4404),C=n(1210);const y={fallback:{type:"html",tag:n(1803).OK.p,content:"ERROR_PRODUCT",variables:["$context.error"]}};var O=n(1497),x=n(8179),P=n(8251),R=n(610),E=n(4648),e=n(4438),U=n(9516),I=n(5102),D=n(1652),N=n(2868);function F(c,u){}function S(c,u){if(1&c&&e.DNE(0,F,0,0,"ng-template",1),2&c){const l=e.XpG();e.Y8G("baseContext",l.childContext)("baseConfig",l.childConfig)}}let X=(()=>{var c;class u extends C.${constructor(s,o,f,r,d,h,A){super(o,s,f,d,A),this.elementRef=s,this.injector=o,this.contextService=f,this.store=r,this.document=d,this.purpleService=h,this.globalService=A,this.defaultConfig=(0,i.A)({},y)}onConfigChanges(){var s=()=>super.onConfigChanges,o=this;return(0,m.A)(function*(){s().call(o);const f=o.config.productId||new URL(o.document.location.href).searchParams.get("productId");try{const r=yield o.purpleService.getProducts(f);if(o.config.localIssueFilter){const d=(0,x.n)(o.config.localIssueFilter);r.issues=r.issues.filter(h=>(0,E.tU)(d,h))}if(r.issues.length)o.issue=r.issues[0],o.childContext=(0,i.A)((0,i.A)({},o.context),{},{issue:o.issue}),o.childConfig=(0,i.A)({type:"issue"},o.config.issue);else if(r.subscriptions.length){const d=r.subscriptions[0],h=yield o.purpleService.getPrice(d.productId);o.subscription=O.r.toSubscriptionsWithPrice(d,h)[0],o.childContext=(0,i.A)((0,i.A)({},o.context),{},{subscription:o.subscription}),o.childConfig=(0,i.A)({type:"subscription"},o.config.subscription)}else{if(!r.publicationProducts.length)throw{code:p.ERROR_CODE.UNKNOWN_PRODUCT};o.publicationProduct=r.publicationProducts[0],o.childContext=(0,i.A)({},o.context),o.childConfig=(0,i.A)((0,i.A)({type:"publication-completion"},o.config.publicationCompletion),{},{productFilter:{productId:{value:f}}})}}catch(r){let d=r;null!=r&&r.code||(d=(0,i.A)((0,i.A)({},r),{},{code:p.ERROR_CODE.UNKNOWN})),o.store.dispatch((0,R.k4)({url:window.location.href,key:"".concat(o.getTrackingBaseKey(),"_LOAD_FAILED"),params:{error:d.code,productId:f}})),o.childConfig=(0,i.A)({},o.config.fallback),o.childContext=(0,i.A)((0,i.A)({},o.context),{},{error:d.code})}o.changeDetectorRef.markForCheck()})()}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"fallback"]}}return(c=u).type="product",c.\u0275fac=function(s){return new(s||c)(e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(U.V),e.rXU(P.B),e.rXU(a.qQ),e.rXU(I.Wj),e.rXU(D.d))},c.\u0275cmp=e.VBU({type:c,selectors:[["storefront-product"]],standalone:!1,features:[e.Jv_([P.B]),e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[3,"pxpDynamicComponent","baseContext","baseConfig"]],template:function(s,o){1&s&&e.DNE(0,S,1,2,null,0),2&s&&e.Y8G("ngIf",o.childConfig)},dependencies:[a.bT,N.q],encapsulation:2}),u})(),B=(()=>{var c;class u{}return(c=u).\u0275fac=function(s){return new(s||c)},c.\u0275mod=e.$C({type:c}),c.\u0275inj=e.G2t({imports:[a.MD]}),u})();const K=X}}]);
|