@nizza/core 0.5.0-beta.13 → 0.5.0-beta.15
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/index.cjs +33 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +9939 -4
- package/dist/index.mjs.map +1 -1
- package/dist/lib/add-to-cart/hooks.d.ts +13 -0
- package/dist/lib/add-to-cart/index.d.ts +1 -0
- package/dist/lib/constants/eventBus.d.ts +3 -0
- package/dist/lib/constants/products.d.ts +2 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/nizza-store/NizzaStore.d.ts +26 -10
- package/dist/lib/nizza-store/NizzaStore.v2.d.ts +3 -1
- package/dist/lib/nizza-store/NizzaStore.v3.d.ts +7 -0
- package/dist/lib/nizza-store/index.d.ts +1 -0
- package/dist/lib/nizza-store/useNizza.d.ts +11 -0
- package/dist/lib/types/add-to-cart-hooks.d.ts +122 -0
- package/dist/lib/types/api-graphql-types.d.ts +26 -26
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib/types/nizza/globalStore.d.ts +7 -15
- package/dist/lib/utils/logger.d.ts +2 -4
- package/dist/locales/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/__federation_expose_EnvsEnvironment-yHiDdOw7.js +0 -1
- package/dist/__federation_expose_EnvsEnvironment-yHiDdOw7.js.map +0 -1
- package/dist/__federation_fn_import-_OlAogWs.js +0 -1
- package/dist/__federation_fn_import-_OlAogWs.js.map +0 -1
- package/dist/__federation_shared_react-OrlvfACW.js +0 -9
- package/dist/__federation_shared_react-OrlvfACW.js.map +0 -1
- package/dist/__federation_shared_react-dom-kUWMaezR.js +0 -24
- package/dist/__federation_shared_react-dom-kUWMaezR.js.map +0 -1
- package/dist/assets/remoteEntry.js +0 -1
- package/dist/assets/remoteEntry.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const b={};let i,f,u,m=(async()=>{const c=new Set(["Module","__esModule","default","_export_sfc"]);let d={"./envs/environment":()=>(i([],!1,"./envs/environment"),h("./../__federation_expose_EnvsEnvironment-yHiDdOw7.js").then(e=>Object.keys(e).every(t=>c.has(t))?()=>e.default:()=>e)),"./":()=>(i([],!1,"./"),h("${__federation_expose_./}").then(e=>Object.keys(e).every(t=>c.has(t))?()=>e.default:()=>e))},l;l={},i=(e,t,_)=>{const o=b.url;if(typeof o>"u"){console.warn('The remote style takes effect only when the build.target option in the vite.config.ts file is higher than that of "es2020".');return}const a=o.substring(0,o.lastIndexOf("remoteEntry.js"));e.forEach(r=>{const n=a+r;if(!(n in l))if(l[n]=!0,t){const s="css__@nizza/core__"+_;window[s]==null&&(window[s]=[]),window[s].push(n)}else{const s=document.head.appendChild(document.createElement("link"));s.href=n,s.rel="stylesheet"}})};async function h(e){return import(e).then(async t=>(await t.__tla,t))}f=e=>{if(!d[e])throw new Error("Can not find remote module "+e);return d[e]()},u=e=>{globalThis.__federation_shared__=globalThis.__federation_shared__||{},Object.entries(e).forEach(([t,_])=>{const o=Object.keys(_)[0],a=Object.values(_)[0],r=a.scope||"default";globalThis.__federation_shared__[r]=globalThis.__federation_shared__[r]||{};const n=globalThis.__federation_shared__[r];(n[t]=n[t]||{})[o]=a})}})();export{m as __tla,i as dynamicLoadingCss,f as get,u as init};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteEntry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|