@wix/cli-app 1.1.60 → 1.1.61

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.
Files changed (92) hide show
  1. package/build/{CreateVersionCommand-Z6F5IKH5.js → CreateVersionCommand-27X5XRUT.js} +14 -14
  2. package/build/{DevCommand-YFEZ4QV5.js → DevCommand-6HTMGZ2M.js} +12 -12
  3. package/build/{GenerateCommand-KCV4YDNN.js → GenerateCommand-7IAUS6BH.js} +105 -41
  4. package/build/{GenerateCommand-KCV4YDNN.js.map → GenerateCommand-7IAUS6BH.js.map} +1 -1
  5. package/build/{LogsCommand-VBMGVYNU.js → LogsCommand-WPUUN3JU.js} +4 -4
  6. package/build/PreviewCommand-CU46IAJE.js +23 -0
  7. package/build/{ReleaseCommand-5F3FPBXT.js → ReleaseCommand-KTVVW67B.js} +14 -14
  8. package/build/{ServeCommand-G4FF4PT3.js → ServeCommand-LXJK73IU.js} +13 -13
  9. package/build/{build-XZI3USNB.js → build-KOJIDD4M.js} +38 -9
  10. package/build/build-KOJIDD4M.js.map +1 -0
  11. package/build/{chunk-HUWYF2ET.js → chunk-2GCKBITG.js} +8 -8
  12. package/build/{chunk-O42QDBJU.js → chunk-63EMUDZG.js} +3 -3
  13. package/build/{chunk-5QZS3HT7.js → chunk-A3UPTTKJ.js} +3 -3
  14. package/build/{chunk-WRWNJYKZ.js → chunk-EL6CIFIN.js} +3 -3
  15. package/build/{chunk-QVGYU6D4.js → chunk-ELYFHAX6.js} +5 -2
  16. package/build/chunk-ELYFHAX6.js.map +1 -0
  17. package/build/{chunk-4VTDNX5T.js → chunk-IL6O6OIL.js} +2 -2
  18. package/build/{chunk-VXE3IWKR.js → chunk-KJF6LWGQ.js} +2 -2
  19. package/build/{chunk-WRPV7SLY.js → chunk-KJRYBTZB.js} +192 -19
  20. package/build/chunk-KJRYBTZB.js.map +1 -0
  21. package/build/{chunk-PKSGXFYA.js → chunk-LOLULZLU.js} +3 -3
  22. package/build/{chunk-IG6IV6VM.js → chunk-MEDHLZDL.js} +3 -3
  23. package/build/{chunk-DGTJGIY2.js → chunk-MKPZBVQD.js} +213 -27
  24. package/build/{chunk-DGTJGIY2.js.map → chunk-MKPZBVQD.js.map} +1 -1
  25. package/build/{chunk-2PTCXTKF.js → chunk-OHF42SKC.js} +5 -5
  26. package/build/{chunk-CNZ3Q5PF.js → chunk-PBUNWOQL.js} +7 -7
  27. package/build/chunk-PBUNWOQL.js.map +1 -0
  28. package/build/{chunk-7CGRTCDC.js → chunk-S7UPYDTK.js} +3 -3
  29. package/build/chunk-SJY44CC7.js +19161 -0
  30. package/build/chunk-SJY44CC7.js.map +1 -0
  31. package/build/{chunk-VZJZSWRE.js → chunk-XBBIROHO.js} +3 -3
  32. package/build/{chunk-36W5H7IG.js → chunk-XCKLCHGL.js} +188 -174
  33. package/build/chunk-XCKLCHGL.js.map +1 -0
  34. package/build/{chunk-USAOCISL.js → chunk-Z7MEHVBF.js} +3 -3
  35. package/build/cloudflare-runtime/entry.js +7158 -53
  36. package/build/cloudflare-runtime/getRegisteredExtensions.js +7096 -16
  37. package/build/index.js +20 -20
  38. package/build/platform-sdk/chunk-BGTZ3RNN.js +2 -0
  39. package/build/platform-sdk/chunk-BGTZ3RNN.js.map +1 -0
  40. package/build/platform-sdk/{chunk-QV4VBCJB.js → chunk-FWUYJ3UR.js} +2 -2
  41. package/build/platform-sdk/chunk-NAPHVUFM.js +2 -0
  42. package/build/platform-sdk/{chunk-42XIZ4MH.js.map → chunk-NAPHVUFM.js.map} +1 -1
  43. package/build/platform-sdk/{chunk-EERHWVVD.js → chunk-XYIDODIB.js} +2 -2
  44. package/build/platform-sdk/dashboard.js +1 -1
  45. package/build/platform-sdk/dashboard.js.map +1 -1
  46. package/build/platform-sdk/editor.js +2 -2
  47. package/build/platform-sdk/editor.js.map +1 -1
  48. package/build/platform-sdk/sdk-context.js +1 -1
  49. package/build/platform-sdk/sdk-context.js.map +1 -1
  50. package/build/platform-sdk/site.js +1 -1
  51. package/build/platform-sdk/site.js.map +1 -1
  52. package/build/platform-sdk/web-methods.js +1 -1
  53. package/build/platform-sdk/web-methods.js.map +1 -1
  54. package/build/{preview-VAHHFTRZ.js → preview-YEREVN42.js} +12 -12
  55. package/build/{render-command-3AYSQXHN.js → render-command-H5DHMFOD.js} +6 -6
  56. package/package.json +7 -5
  57. package/schemas/custom-element.json +1 -1
  58. package/templates/custom-element/files/element.module.css.ejs +18 -5
  59. package/templates/custom-element/files/element.tsx.ejs +8 -5
  60. package/templates/custom-element/files/panel.tsx.ejs +25 -12
  61. package/templates/web-method/files/placeholder.ts.ejs +1 -1
  62. package/build/PreviewCommand-3OMHWDW6.js +0 -23
  63. package/build/build-XZI3USNB.js.map +0 -1
  64. package/build/chunk-36W5H7IG.js.map +0 -1
  65. package/build/chunk-CNZ3Q5PF.js.map +0 -1
  66. package/build/chunk-FTC5AK3Y.js +0 -1367
  67. package/build/chunk-FTC5AK3Y.js.map +0 -1
  68. package/build/chunk-QVGYU6D4.js.map +0 -1
  69. package/build/chunk-WRPV7SLY.js.map +0 -1
  70. package/build/platform-sdk/chunk-42XIZ4MH.js +0 -2
  71. /package/build/{CreateVersionCommand-Z6F5IKH5.js.map → CreateVersionCommand-27X5XRUT.js.map} +0 -0
  72. /package/build/{DevCommand-YFEZ4QV5.js.map → DevCommand-6HTMGZ2M.js.map} +0 -0
  73. /package/build/{LogsCommand-VBMGVYNU.js.map → LogsCommand-WPUUN3JU.js.map} +0 -0
  74. /package/build/{PreviewCommand-3OMHWDW6.js.map → PreviewCommand-CU46IAJE.js.map} +0 -0
  75. /package/build/{ReleaseCommand-5F3FPBXT.js.map → ReleaseCommand-KTVVW67B.js.map} +0 -0
  76. /package/build/{ServeCommand-G4FF4PT3.js.map → ServeCommand-LXJK73IU.js.map} +0 -0
  77. /package/build/{chunk-HUWYF2ET.js.map → chunk-2GCKBITG.js.map} +0 -0
  78. /package/build/{chunk-O42QDBJU.js.map → chunk-63EMUDZG.js.map} +0 -0
  79. /package/build/{chunk-5QZS3HT7.js.map → chunk-A3UPTTKJ.js.map} +0 -0
  80. /package/build/{chunk-WRWNJYKZ.js.map → chunk-EL6CIFIN.js.map} +0 -0
  81. /package/build/{chunk-4VTDNX5T.js.map → chunk-IL6O6OIL.js.map} +0 -0
  82. /package/build/{chunk-VXE3IWKR.js.map → chunk-KJF6LWGQ.js.map} +0 -0
  83. /package/build/{chunk-PKSGXFYA.js.map → chunk-LOLULZLU.js.map} +0 -0
  84. /package/build/{chunk-IG6IV6VM.js.map → chunk-MEDHLZDL.js.map} +0 -0
  85. /package/build/{chunk-2PTCXTKF.js.map → chunk-OHF42SKC.js.map} +0 -0
  86. /package/build/{chunk-7CGRTCDC.js.map → chunk-S7UPYDTK.js.map} +0 -0
  87. /package/build/{chunk-VZJZSWRE.js.map → chunk-XBBIROHO.js.map} +0 -0
  88. /package/build/{chunk-USAOCISL.js.map → chunk-Z7MEHVBF.js.map} +0 -0
  89. /package/build/platform-sdk/{chunk-QV4VBCJB.js.map → chunk-FWUYJ3UR.js.map} +0 -0
  90. /package/build/platform-sdk/{chunk-EERHWVVD.js.map → chunk-XYIDODIB.js.map} +0 -0
  91. /package/build/{preview-VAHHFTRZ.js.map → preview-YEREVN42.js.map} +0 -0
  92. /package/build/{render-command-3AYSQXHN.js.map → render-command-H5DHMFOD.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{wixContext as l}from"@wix/sdk-context";function d(i,t){return{...i,...Object.fromEntries(t.map(n=>[n,(...e)=>{let o=r();if(!o)throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");return o.initWixModules(i)[n].apply(void 0,e)}]))}}function c(i,t){return(...n)=>{let e=r();return e?e.initWixModules(i,t).apply(void 0,n):i.apply(void 0,n)}}function r(){let i=typeof $wixContext<"u"&&$wixContext.initWixModules?$wixContext.initWixModules:typeof globalThis.__wix_context__<"u"&&globalThis.__wix_context__.initWixModules?globalThis.__wix_context__.initWixModules:void 0;if(i)return{initWixModules(e,o){return x(()=>i(e,o))},fetchWithAuth(){throw new Error("fetchWithAuth is not available in this context")},graphql(){throw new Error("graphql is not available in this context")}};let t=typeof $wixContext<"u"?$wixContext.client:typeof l.client<"u"?l.client:typeof globalThis.__wix_context__<"u"?globalThis.__wix_context__.client:void 0,n=typeof $wixContext<"u"?$wixContext.elevatedClient:typeof l.elevatedClient<"u"?l.elevatedClient:typeof globalThis.__wix_context__<"u"?globalThis.__wix_context__.elevatedClient:void 0;if(!(!t&&!n))return{initWixModules(e,o){if(o){if(!n)throw new Error("An elevated client is required to use elevated modules. Make sure to initialize the Wix context with an elevated client before using elevated SDK modules");return x(()=>n.use(e))}if(!t)throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");return x(()=>t.use(e))},fetchWithAuth:(e,o)=>{if(!t)throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");return t.fetchWithAuth(e,o)},async graphql(e,o,u){if(!t)throw new Error("Wix context is not available. Make sure to initialize the Wix context before using SDK modules");return t.graphql(e,o,u)}}}function x(i){let t=globalThis.__wix_context__,n={client:l.client,elevatedClient:l.elevatedClient},e;globalThis.__wix_context__=void 0,l.client=void 0,l.elevatedClient=void 0,typeof $wixContext<"u"&&(e={client:$wixContext?.client,elevatedClient:$wixContext?.elevatedClient},delete $wixContext.client,delete $wixContext.elevatedClient);try{return i()}finally{globalThis.__wix_context__=t,l.client=n.client,l.elevatedClient=n.elevatedClient,typeof $wixContext<"u"&&($wixContext.client=e.client,$wixContext.elevatedClient=e.elevatedClient)}}export{d as a,c as b,x as c};
2
- //# sourceMappingURL=chunk-42XIZ4MH.js.map