@emailmaker/emailmaker 1.1.36 → 1.1.37
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/{emailmaker-core.4a2946bd.js → emailmaker-core.0ff481a9.js} +1 -1
- package/emailmaker-esm.js +4 -4
- package/emailmaker.d.ts +4 -2
- package/emailmaker.js +4 -4
- package/iframe/js/amp.DieSnBUu.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.CNqvmp_P.js +1 -1
- package/package.json +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{61af40b8.js → 27685bbb.js} +1 -1
- package/static/core/{548145dc.js → 320461fe.js} +1 -1
- package/static/core/{539179022.js → 4093d2d32.js} +1 -1
- package/static/core/{77441b5e.js → 477647c7.js} +2 -2
- package/static/core/{d856ee32.js → 68686884.js} +1 -1
- package/static/core/{f47646dc.js → 792e7855.js} +1 -1
- package/static/core/{369b60a1.js → 8136054a.js} +1 -1
- package/static/core/9cca346f.js +1 -0
- package/static/core/{b6d3de9a.js → b8e0a832.js} +41 -41
- package/static/core/{af40ecaa.js → ba180803.js} +1 -1
- package/static/core/{e5d13a1c.js → c9e0bc5a.js} +1 -1
- package/static/core/{6d27d0a8.js → d94a3331.js} +1 -1
- package/static/core/{bc0b6b3f.js → e8011287.js} +1 -1
- package/two_step_headless_plugin.html +1 -1
- package/static/core/8f709c0d.js +0 -1
- /package/iframe/{iframe-eblock.4a2946bd.html → iframe-eblock.0ff481a9.html} +0 -0
- /package/iframe/{iframe.4a2946bd.html → iframe.0ff481a9.html} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__emailmaker__.define(`static/core/
|
|
1
|
+
__emailmaker__.define(`static/core/8136054a.js`,[`require`,`exports`,`module`,`static/core/477647c7.js`],function(e,t,n){let r=e("./477647c7.js");var i=r.li({invalidateBlockId:null,isCodeMode:!1,codeModeDirection:`right`,editorThemeColor:`light`,isSettingsDisabled:!1,settings:{width:``},elementSettings:{},searchFilters:{},block:{id:void 0,isNew:!1,subject:``,description:``,html:``,project:void 0,project_title:``,project_author:void 0,tags:[],type:`Other`,title:null,isAmp:!1},monacoDidMount:!1}),a=`blockSlice`,o=r.Ii({name:a,initialState:i,reducers:{switchCodeMode:e=>{e.isCodeMode=!e.isCodeMode},setEditorThemeColor:(e,t)=>{e.editorThemeColor=t.payload},setBlockSettings:(e,t)=>{Object.assign(e,{...e,settings:t.payload,isSettingsDisabled:!1})},setBlockSettingsDisable:(e,t)=>{e.isSettingsDisabled=t.payload},setElementSettings:(e,t)=>{e.elementSettings=t.payload},setSearchFilters:(e,t)=>{e.searchFilters=t.payload},setBlockHtml:(e,t)=>{e.block.html=t.payload},resetBlockSlice:()=>i,setBlockIsAmp:(e,t)=>{e.block.isAmp=t.payload}},extraReducers:e=>{e.addMatcher(e=>e.type===`blocksApi/queries/queryResultPatched`,(e,t)=>{let n=t.payload.queryCacheKey.match(/\(([0-9]+)\)/),r=t.payload?.patches[0];if(r?.path?.[0]&&(e.block[r?.path[0]]=r.value),n?.[1]&&(e.invalidateBlockId=n[1]),t.payload.queryCacheKey.startsWith(`getBlock`)){let n=t.payload?.patches[0];n?.path?.[0]&&(e.block[n?.path[0]]=n.value)}}),e.addMatcher(e=>e.type===`blocksApi/invalidateTags`,(e,t)=>{if(t.payload[0].id===+e.invalidateBlockId)return{...i,isCodeMode:e?.isCodeMode,codeModeDirection:e.codeModeDirection}}),e.addMatcher(r.Gn.endpoints.editBlock.matchFulfilled,(e,{payload:t})=>{e.invalidateBlockId=null,e.block={...e.block,...t,renderGuid:e.block.renderGuid}}),e.addMatcher(r.Gn.endpoints.autoSaveBlock.matchFulfilled,(e,t)=>{e?.block.id?.toString()===t.payload.id?.toString()&&(e.block.html=t.payload.html)}),e.addMatcher(r.Gn.endpoints.getBlock.matchFulfilled,(e,{payload:t})=>{e.block={...i.block,...t}})}}),{switchCodeMode:s,setEditorThemeColor:c,setBlockSettings:l,setElementSettings:u,setBlockSettingsDisable:d,setSearchFilters:f,setBlockHtml:p,resetBlockSlice:m,setBlockIsAmp:h}=o.actions,g=e=>e[a].block,_=e=>e[a].isCodeMode,v=e=>e[a].settings,y=e=>e[a].searchFilters,b=e=>e[a].elementSettings,x=e=>e[a].editorThemeColor,S=e=>e[a].isSettingsDisabled,C=r.li({isCollapsed:!0,isMonacoFocusing:!1}),w=`defaultModePanesSlice`,T=r.Ii({name:w,initialState:C,reducers:{setMonacoFocusing:(e,t)=>{e.isMonacoFocusing=t.payload},resetPanes:()=>C}}),{resetPanes:E,setMonacoFocusing:D}=T.actions,O=e=>e[w].isMonacoFocusing;Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u}}),Object.defineProperty(t,"a",{enumerable:!0,get:function(){return o}}),Object.defineProperty(t,"c",{enumerable:!0,get:function(){return y}}),Object.defineProperty(t,"d",{enumerable:!0,get:function(){return b}}),Object.defineProperty(t,"f",{enumerable:!0,get:function(){return _}}),Object.defineProperty(t,"g",{enumerable:!0,get:function(){return c}}),Object.defineProperty(t,"h",{enumerable:!0,get:function(){return d}}),Object.defineProperty(t,"i",{enumerable:!0,get:function(){return D}}),Object.defineProperty(t,"l",{enumerable:!0,get:function(){return v}}),Object.defineProperty(t,"m",{enumerable:!0,get:function(){return l}}),Object.defineProperty(t,"n",{enumerable:!0,get:function(){return E}}),Object.defineProperty(t,"o",{enumerable:!0,get:function(){return m}}),Object.defineProperty(t,"p",{enumerable:!0,get:function(){return S}}),Object.defineProperty(t,"r",{enumerable:!0,get:function(){return O}}),Object.defineProperty(t,"s",{enumerable:!0,get:function(){return g}}),Object.defineProperty(t,"t",{enumerable:!0,get:function(){return T}}),Object.defineProperty(t,"u",{enumerable:!0,get:function(){return x}}),Object.defineProperty(t,"v",{enumerable:!0,get:function(){return f}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__emailmaker__.define(`static/core/9cca346f.js`,[`require`,`exports`,`module`,`static/core/354bf8a9.js`,`static/core/b8e0a832.js`],function(e,t,n){e("./354bf8a9.js"),t.default=e("./b8e0a832.js").t});
|