@emailmaker/emailmaker 1.1.85-dev.7 → 1.1.85-dev.8

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 (79) hide show
  1. package/README.md +6 -4
  2. package/{emailmaker-core.8402bf20.js → emailmaker-core.2047dd1a.js} +16 -16
  3. package/emailmaker-esm.js +10 -10
  4. package/{emailmaker-po.8402bf20.js → emailmaker-po.2047dd1a.js} +1 -1
  5. package/emailmaker.d.ts +9 -2
  6. package/emailmaker.js +12 -12
  7. package/iframe/.vite/manifest.json +4 -4
  8. package/iframe/js/{discussHandlers.DO8E9IM3.js → discussHandlers.DEF7Kx48.js} +5 -5
  9. package/iframe/js/iframe-eblock.body.js +1 -1
  10. package/iframe/js/iframe-eblock.js +1 -1
  11. package/iframe/js/iframe.body.js +2 -2
  12. package/iframe/js/iframe.js +1 -1
  13. package/node_modules/@emailmaker/ui-kit/es/components/Custom/FormPanel/FormSection/index.js +1 -1
  14. package/node_modules/@emailmaker/ui-kit/es/components/Custom/Inputs/ColorPickerInput/index.js +1 -1
  15. package/node_modules/@emailmaker/ui-kit/es/components/Custom/Inputs/ControlFontFamily/index.js +1 -1
  16. package/node_modules/@emailmaker/ui-kit/es/components/Custom/Inputs/InputSelect/index.js +34 -31
  17. package/node_modules/@emailmaker/ui-kit/es/components/Custom/PanelForm/index.js +1 -1
  18. package/node_modules/@emailmaker/ui-kit/es/components/DataDisplay/Card/index.js +1 -1
  19. package/node_modules/@emailmaker/ui-kit/es/components/DataDisplay/Skeleton/index.js +1 -1
  20. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Cascader/index.js +1 -1
  21. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Checkbox/index.js +1 -1
  22. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/ColorPicker/index.js +1 -1
  23. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/DatePicker/index.js +1 -1
  24. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Form/index.js +1 -1
  25. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Input/index.js +1 -1
  26. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/InputNumber/index.js +1 -1
  27. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/InputOTP/index.js +1 -1
  28. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Password/index.js +1 -1
  29. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Radio/index.js +1 -1
  30. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/SearchInput/index.js +1 -1
  31. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/Switch/index.js +2 -2
  32. package/node_modules/@emailmaker/ui-kit/es/components/DataEntry/TextArea/index.js +1 -1
  33. package/node_modules/@emailmaker/ui-kit/es/components/Feedback/Alert/index.js +1 -1
  34. package/node_modules/@emailmaker/ui-kit/es/components/Feedback/Popconfirm/index.js +1 -1
  35. package/node_modules/@emailmaker/ui-kit/es/components/Feedback/Spin/index.js +1 -1
  36. package/node_modules/@emailmaker/ui-kit/es/components/Feedback/Tooltip/index.js +1 -1
  37. package/node_modules/@emailmaker/ui-kit/es/components/General/Button/index.js +1 -1
  38. package/node_modules/@emailmaker/ui-kit/es/components/Layout/Divider/index.js +1 -1
  39. package/node_modules/@emailmaker/ui-kit/es/components/Layout/Row/index.js +1 -1
  40. package/node_modules/@emailmaker/ui-kit/es/components/Layout/Space/index.js +1 -1
  41. package/node_modules/@emailmaker/ui-kit/es/components/Navigation/FloatButton/index.js +1 -1
  42. package/node_modules/@emailmaker/ui-kit/es/components/Navigation/Segmented/index.js +1 -1
  43. package/node_modules/@emailmaker/ui-kit/es/components/Navigation/Tabs/index.js +1 -1
  44. package/node_modules/@emailmaker/ui-kit/package.json +1 -1
  45. package/package.json +2 -2
  46. package/runtime/react/index.js +1 -1
  47. package/static/core/{dc224a5b.js → 134673be.js} +1 -1
  48. package/static/core/{f0138633.js → 13cb7458.js} +1 -1
  49. package/static/core/{baf39a20.js → 20510a35.js} +1 -1
  50. package/static/core/{ceff9046.js → 3364944b.js} +1 -1
  51. package/static/core/{147d6029.js → 357b2101.js} +1 -1
  52. package/static/core/{922df02d.js → 3608ef89.js} +1 -1
  53. package/static/core/{1cb0ff80.js → 384f52ae.js} +1 -1
  54. package/static/core/{dd291b53.js → 38ea40d5.js} +1 -1
  55. package/static/core/{1c31ec91.js → 49417e0f.js} +1 -1
  56. package/static/core/{99c5ef1b.js → 4a69e61b.js} +2 -2
  57. package/static/core/{afb434bd.js → 4ce7d544.js} +1 -1
  58. package/static/core/{7b8ce310.js → 4ed7c44e.js} +1 -1
  59. package/static/core/{7916de44.js → 4eec44be.js} +1 -1
  60. package/static/core/{6996109c.js → 52727b3c.js} +3 -3
  61. package/static/core/{6a5804ca.js → 6dd8d273.js} +1 -1
  62. package/static/core/{72c8c438.js → a259d477.js} +1 -1
  63. package/static/core/{adf163ad.js → a6d4a170.js} +1 -1
  64. package/static/core/{422d6166.js → bb9b0659.js} +1 -1
  65. package/static/core/{9ce867fe.js → bfb41946.js} +1 -1
  66. package/static/core/{8130abb3.js → c463cfc9.js} +1 -1
  67. package/static/core/{dbb931dd.js → c70ac7ca.js} +1 -1
  68. package/static/core/{9bc03055.js → d1a1a5b2.js} +1 -1
  69. package/static/core/{7cc4b0e9.js → e7c35a6b.js} +1 -1
  70. package/static/core/{c54e9dcb.js → f220d2ff.js} +1 -1
  71. package/static/core/{48cd36c4.js → fc16423f.js} +8 -8
  72. package/static/esm/e1e55006.js +1 -0
  73. package/static/umd-runtime/runtime.js +1 -1
  74. package/static/umd-runtime/ui-kit.js +2 -2
  75. package/vite/index.cjs +38 -0
  76. package/vite/index.js +38 -0
  77. package/static/esm/6e6cc619.js +0 -1
  78. /package/iframe/{iframe-eblock.8402bf20.html → iframe-eblock.2047dd1a.html} +0 -0
  79. /package/iframe/{iframe.8402bf20.html → iframe.2047dd1a.html} +0 -0
@@ -42,4 +42,4 @@ __emailmaker__.define("po",["require","exports","module"],function(na,ct,aa){Obj
42
42
 
43
43
  `),"utf-8"):u.convert(i.join(`
44
44
 
45
- `),this._charset)}})),Hn=R(((o,t)=>{var e=je(),u=st();t.exports=function(p,h){return new f(p,h).parse()};function f(p,h){this._fileContents=p,this._writeFunc="writeUInt32LE",this._readFunc="readUInt32LE",this._charset=h||"iso-8859-1",this._table={charset:this._charset,headers:void 0,translations:{}}}f.prototype.MAGIC=2500072158,f.prototype._checkMagick=function(){return this._fileContents.readUInt32LE(0)===this.MAGIC?(this._readFunc="readUInt32LE",this._writeFunc="writeUInt32LE",!0):this._fileContents.readUInt32BE(0)===this.MAGIC?(this._readFunc="readUInt32BE",this._writeFunc="writeUInt32BE",!0):!1},f.prototype._loadTranslationTable=function(){for(var p=this._offsetOriginals,h=this._offsetTranslations,i,r,s,n,l=0;l<this._total;l++)r=this._fileContents[this._readFunc](p),p+=4,i=this._fileContents[this._readFunc](p),p+=4,s=this._fileContents.slice(i,i+r),r=this._fileContents[this._readFunc](h),h+=4,i=this._fileContents[this._readFunc](h),h+=4,n=this._fileContents.slice(i,i+r),!l&&!s.toString()&&this._handleCharset(n),s=e.convert(s,"utf-8",this._charset).toString("utf-8"),n=e.convert(n,"utf-8",this._charset).toString("utf-8"),this._addString(s,n);this._fileContents=null},f.prototype._handleCharset=function(p){var h=p.toString(),i;(i=h.match(/[; ]charset\s*=\s*([\w-]+)/i))&&(this._charset=this._table.charset=u.formatCharset(i[1],this._charset)),p=e.convert(p,"utf-8",this._charset).toString("utf-8"),this._table.headers=u.parseHeader(p)},f.prototype._addString=function(p,h){var i={},r,s,n;p=p.split(""),p.length>1?(s=p.shift(),i.msgctxt=s):s="",p=p.join(""),r=p.split("\0"),p=r.shift(),i.msgid=p,(n=r.join("\0"))&&(i.msgid_plural=n),h=h.split("\0"),i.msgstr=[].concat(h||[]),this._table.translations[s]||(this._table.translations[s]={}),this._table.translations[s][p]=i},f.prototype.parse=function(){return this._checkMagick()?(this._revision=this._fileContents[this._readFunc](4),this._total=this._fileContents[this._readFunc](8),this._offsetOriginals=this._fileContents[this._readFunc](12),this._offsetTranslations=this._fileContents[this._readFunc](16),this._loadTranslationTable(),this._table):!1}})),Jn=R(((o,t)=>{var e=ot().Buffer,u=je(),f=st();t.exports=function(h){return new p(h).compile()};function p(h){this._table=h||{},this._table.headers=this._table.headers||{},this._table.translations=this._table.translations||{},this._translations=[],this._writeFunc="writeUInt32LE",this._handleCharset()}p.prototype.MAGIC=2500072158,p.prototype._handleCharset=function(){var h=(this._table.headers["content-type"]||"text/plain").split(";"),i=h.shift(),r=f.formatCharset(this._table.charset),s=[];s=h.map(function(n){var l=n.split("="),y=l.shift().trim(),g=l.join("=");return y.toLowerCase()==="charset"?(r||(r=f.formatCharset(g.trim()||"utf-8")),"charset="+r):n}),r||(r=this._table.charset||"utf-8",s.push("charset="+r)),this._table.charset=r,this._table.headers["content-type"]=i+"; "+s.join("; "),this._charset=r},p.prototype._generateList=function(){var h=[];return h.push({msgid:e.alloc(0),msgstr:u.convert(f.generateHeader(this._table.headers),this._charset)}),Object.keys(this._table.translations).forEach(function(i){typeof this._table.translations[i]=="object"&&Object.keys(this._table.translations[i]).forEach(function(r){if(typeof this._table.translations[i][r]=="object"&&!(i===""&&r==="")){var s=this._table.translations[i][r].msgid_plural,n=r,l;i&&(n=i+""+n),s&&(n+="\0"+s),l=[].concat(this._table.translations[i][r].msgstr||[]).join("\0"),h.push({msgid:u.convert(n,this._charset),msgstr:u.convert(l,this._charset)})}}.bind(this))}.bind(this)),h},p.prototype._calculateSize=function(h){var i=0,r=0,s=0;return h.forEach(function(n){i+=n.msgid.length+1,r+=n.msgstr.length+1}),s=28+8*h.length+8*h.length+i+r,{msgid:i,msgstr:r,total:s}},p.prototype._build=function(h,i){var r=e.alloc(i.total),s=0,n,l;for(r[this._writeFunc](this.MAGIC,0),r[this._writeFunc](0,4),r[this._writeFunc](h.length,8),r[this._writeFunc](28,12),r[this._writeFunc](28+8*h.length,16),r[this._writeFunc](0,20),r[this._writeFunc](28+8*h.length*2,24),s=28+16*h.length,n=0,l=h.length;n<l;n++)h[n].msgid.copy(r,s),r[this._writeFunc](h[n].msgid.length,28+n*8),r[this._writeFunc](s,28+n*8+4),r[s+h[n].msgid.length]=0,s+=h[n].msgid.length+1;for(n=0,l=h.length;n<l;n++)h[n].msgstr.copy(r,s),r[this._writeFunc](h[n].msgstr.length,28+8*h.length+n*8),r[this._writeFunc](s,28+8*h.length+n*8+4),r[s+h[n].msgstr.length]=0,s+=h[n].msgstr.length+1;return r},p.prototype.compile=function(){var h=this._generateList(),i=this._calculateSize(h);return h.sort(function(r,s){return r.msgid>s.msgid?1:r.msgid<s.msgid?-1:0}),this._build(h,i)}})),Xn=R(((o,t)=>{var e=Yn();t.exports={po:{parse:e.parse,createParseStream:e.stream,compile:Vn()},mo:{parse:Hn(),compile:Jn()}}})),Kn=R(((o,t)=>{var e=Wn();t.exports=function(u,f){f=f||{};const p={pretty:!1,fuzzy:!1,stringify:!1,format:"raw",domain:"messages",charset:"utf8",fullMF:!1,mfOptions:{}};for(const n in p)f[n]=typeof f[n]<"u"?f[n]:p[n];let h={},i={};if(f.format==="mf"){const n=u.toString().includes('"Plural-Forms:')?f.mfOptions:Object.assign({},{pluralFunction:()=>0},f.mfOptions);return i=Object.keys(n).length>0?e.parsePo(u,n):e.parsePo(u),f.fullMF?f.stringify?JSON.stringify(i,null,f.pretty?" ":null):i:(i&&(i.translations&&i.translations[""]?(h=i.translations[""],Object.keys(i.translations).forEach(function(l){l===""?Object.keys(i.translations[""]).forEach(function(y){h[y]=i.translations[""][y]}):h[l]=i.translations[l]})):h=i.translations||{}),f.stringify?JSON.stringify(h,null,f.pretty?" ":null):h)}const r=Xn().po.parse(u,p.charset),s=r.translations;if(Object.keys(s).forEach(function(n){const l=r.translations[n],y=r.headers?r.headers["plural-forms"]:"";Object.keys(l).forEach(function(g,b){const w=l[g],v=n.length?n+""+g:g,B=w.comments&&w.comments.flag&&w.comments.flag.match(/fuzzy/)!==null;(!B||f.fuzzy)&&(f.format==="jed"?i[v]=[w.msgid_plural?w.msgid_plural:null].concat(w.msgstr):y==="nplurals=1; plural=0;"?(msgstr=w.msgid_plural?[w.msgstr]:w.msgstr,i[v]=[w.msgid_plural?w.msgid_plural:null].concat(msgstr)):i[v]=[w.msgid_plural?w.msgid_plural:null].concat(w.msgstr)),f["fallback-to-msgid"]&&(B&&!f.fuzzy||w.msgstr[0]==="")&&(i[v]=[w.msgid_plural?w.msgid_plural:null].concat(w.msgid_plural?[g,w.msgid_plural]:[g]))})}),r.headers&&(i[""]=r.headers),f.format==="mf"&&delete i[""],f.format.indexOf("jed")===0){const n={domain:f.domain,locale_data:{}};if(f.format==="jed"){for(const l in i)if(i.hasOwnProperty(l)&&l!==""){for(let y=2;y<i[l].length;y++)i[l][y]===""&&(i[l][y]=i[l][0]);i[l].shift()}}n.locale_data[f.domain]=i,n.locale_data[f.domain][""]={domain:f.domain,plural_forms:i[""]["plural-forms"],lang:i[""].language},i=n}return f.stringify?JSON.stringify(i,null,f.pretty?" ":null):i}})),Zn=It(Kn());function Qn(o){if(typeof o=="function")return o;const t=o?.default;return typeof t=="function"?t:void 0}function ea(o){if(!(o==null||typeof o!="object"||Array.isArray(o)))return o}function ta(o){const t=Qn(Zn.default)?.(o,{format:"jed",fuzzy:!0,domain:"default"});return ea(t?.locale_data?.default)}var ra="1.1.85-dev.7";ct.parsePoCatalog=ta,ct.version=ra});
45
+ `),this._charset)}})),Hn=R(((o,t)=>{var e=je(),u=st();t.exports=function(p,h){return new f(p,h).parse()};function f(p,h){this._fileContents=p,this._writeFunc="writeUInt32LE",this._readFunc="readUInt32LE",this._charset=h||"iso-8859-1",this._table={charset:this._charset,headers:void 0,translations:{}}}f.prototype.MAGIC=2500072158,f.prototype._checkMagick=function(){return this._fileContents.readUInt32LE(0)===this.MAGIC?(this._readFunc="readUInt32LE",this._writeFunc="writeUInt32LE",!0):this._fileContents.readUInt32BE(0)===this.MAGIC?(this._readFunc="readUInt32BE",this._writeFunc="writeUInt32BE",!0):!1},f.prototype._loadTranslationTable=function(){for(var p=this._offsetOriginals,h=this._offsetTranslations,i,r,s,n,l=0;l<this._total;l++)r=this._fileContents[this._readFunc](p),p+=4,i=this._fileContents[this._readFunc](p),p+=4,s=this._fileContents.slice(i,i+r),r=this._fileContents[this._readFunc](h),h+=4,i=this._fileContents[this._readFunc](h),h+=4,n=this._fileContents.slice(i,i+r),!l&&!s.toString()&&this._handleCharset(n),s=e.convert(s,"utf-8",this._charset).toString("utf-8"),n=e.convert(n,"utf-8",this._charset).toString("utf-8"),this._addString(s,n);this._fileContents=null},f.prototype._handleCharset=function(p){var h=p.toString(),i;(i=h.match(/[; ]charset\s*=\s*([\w-]+)/i))&&(this._charset=this._table.charset=u.formatCharset(i[1],this._charset)),p=e.convert(p,"utf-8",this._charset).toString("utf-8"),this._table.headers=u.parseHeader(p)},f.prototype._addString=function(p,h){var i={},r,s,n;p=p.split(""),p.length>1?(s=p.shift(),i.msgctxt=s):s="",p=p.join(""),r=p.split("\0"),p=r.shift(),i.msgid=p,(n=r.join("\0"))&&(i.msgid_plural=n),h=h.split("\0"),i.msgstr=[].concat(h||[]),this._table.translations[s]||(this._table.translations[s]={}),this._table.translations[s][p]=i},f.prototype.parse=function(){return this._checkMagick()?(this._revision=this._fileContents[this._readFunc](4),this._total=this._fileContents[this._readFunc](8),this._offsetOriginals=this._fileContents[this._readFunc](12),this._offsetTranslations=this._fileContents[this._readFunc](16),this._loadTranslationTable(),this._table):!1}})),Jn=R(((o,t)=>{var e=ot().Buffer,u=je(),f=st();t.exports=function(h){return new p(h).compile()};function p(h){this._table=h||{},this._table.headers=this._table.headers||{},this._table.translations=this._table.translations||{},this._translations=[],this._writeFunc="writeUInt32LE",this._handleCharset()}p.prototype.MAGIC=2500072158,p.prototype._handleCharset=function(){var h=(this._table.headers["content-type"]||"text/plain").split(";"),i=h.shift(),r=f.formatCharset(this._table.charset),s=[];s=h.map(function(n){var l=n.split("="),y=l.shift().trim(),g=l.join("=");return y.toLowerCase()==="charset"?(r||(r=f.formatCharset(g.trim()||"utf-8")),"charset="+r):n}),r||(r=this._table.charset||"utf-8",s.push("charset="+r)),this._table.charset=r,this._table.headers["content-type"]=i+"; "+s.join("; "),this._charset=r},p.prototype._generateList=function(){var h=[];return h.push({msgid:e.alloc(0),msgstr:u.convert(f.generateHeader(this._table.headers),this._charset)}),Object.keys(this._table.translations).forEach(function(i){typeof this._table.translations[i]=="object"&&Object.keys(this._table.translations[i]).forEach(function(r){if(typeof this._table.translations[i][r]=="object"&&!(i===""&&r==="")){var s=this._table.translations[i][r].msgid_plural,n=r,l;i&&(n=i+""+n),s&&(n+="\0"+s),l=[].concat(this._table.translations[i][r].msgstr||[]).join("\0"),h.push({msgid:u.convert(n,this._charset),msgstr:u.convert(l,this._charset)})}}.bind(this))}.bind(this)),h},p.prototype._calculateSize=function(h){var i=0,r=0,s=0;return h.forEach(function(n){i+=n.msgid.length+1,r+=n.msgstr.length+1}),s=28+8*h.length+8*h.length+i+r,{msgid:i,msgstr:r,total:s}},p.prototype._build=function(h,i){var r=e.alloc(i.total),s=0,n,l;for(r[this._writeFunc](this.MAGIC,0),r[this._writeFunc](0,4),r[this._writeFunc](h.length,8),r[this._writeFunc](28,12),r[this._writeFunc](28+8*h.length,16),r[this._writeFunc](0,20),r[this._writeFunc](28+8*h.length*2,24),s=28+16*h.length,n=0,l=h.length;n<l;n++)h[n].msgid.copy(r,s),r[this._writeFunc](h[n].msgid.length,28+n*8),r[this._writeFunc](s,28+n*8+4),r[s+h[n].msgid.length]=0,s+=h[n].msgid.length+1;for(n=0,l=h.length;n<l;n++)h[n].msgstr.copy(r,s),r[this._writeFunc](h[n].msgstr.length,28+8*h.length+n*8),r[this._writeFunc](s,28+8*h.length+n*8+4),r[s+h[n].msgstr.length]=0,s+=h[n].msgstr.length+1;return r},p.prototype.compile=function(){var h=this._generateList(),i=this._calculateSize(h);return h.sort(function(r,s){return r.msgid>s.msgid?1:r.msgid<s.msgid?-1:0}),this._build(h,i)}})),Xn=R(((o,t)=>{var e=Yn();t.exports={po:{parse:e.parse,createParseStream:e.stream,compile:Vn()},mo:{parse:Hn(),compile:Jn()}}})),Kn=R(((o,t)=>{var e=Wn();t.exports=function(u,f){f=f||{};const p={pretty:!1,fuzzy:!1,stringify:!1,format:"raw",domain:"messages",charset:"utf8",fullMF:!1,mfOptions:{}};for(const n in p)f[n]=typeof f[n]<"u"?f[n]:p[n];let h={},i={};if(f.format==="mf"){const n=u.toString().includes('"Plural-Forms:')?f.mfOptions:Object.assign({},{pluralFunction:()=>0},f.mfOptions);return i=Object.keys(n).length>0?e.parsePo(u,n):e.parsePo(u),f.fullMF?f.stringify?JSON.stringify(i,null,f.pretty?" ":null):i:(i&&(i.translations&&i.translations[""]?(h=i.translations[""],Object.keys(i.translations).forEach(function(l){l===""?Object.keys(i.translations[""]).forEach(function(y){h[y]=i.translations[""][y]}):h[l]=i.translations[l]})):h=i.translations||{}),f.stringify?JSON.stringify(h,null,f.pretty?" ":null):h)}const r=Xn().po.parse(u,p.charset),s=r.translations;if(Object.keys(s).forEach(function(n){const l=r.translations[n],y=r.headers?r.headers["plural-forms"]:"";Object.keys(l).forEach(function(g,b){const w=l[g],v=n.length?n+""+g:g,B=w.comments&&w.comments.flag&&w.comments.flag.match(/fuzzy/)!==null;(!B||f.fuzzy)&&(f.format==="jed"?i[v]=[w.msgid_plural?w.msgid_plural:null].concat(w.msgstr):y==="nplurals=1; plural=0;"?(msgstr=w.msgid_plural?[w.msgstr]:w.msgstr,i[v]=[w.msgid_plural?w.msgid_plural:null].concat(msgstr)):i[v]=[w.msgid_plural?w.msgid_plural:null].concat(w.msgstr)),f["fallback-to-msgid"]&&(B&&!f.fuzzy||w.msgstr[0]==="")&&(i[v]=[w.msgid_plural?w.msgid_plural:null].concat(w.msgid_plural?[g,w.msgid_plural]:[g]))})}),r.headers&&(i[""]=r.headers),f.format==="mf"&&delete i[""],f.format.indexOf("jed")===0){const n={domain:f.domain,locale_data:{}};if(f.format==="jed"){for(const l in i)if(i.hasOwnProperty(l)&&l!==""){for(let y=2;y<i[l].length;y++)i[l][y]===""&&(i[l][y]=i[l][0]);i[l].shift()}}n.locale_data[f.domain]=i,n.locale_data[f.domain][""]={domain:f.domain,plural_forms:i[""]["plural-forms"],lang:i[""].language},i=n}return f.stringify?JSON.stringify(i,null,f.pretty?" ":null):i}})),Zn=It(Kn());function Qn(o){if(typeof o=="function")return o;const t=o?.default;return typeof t=="function"?t:void 0}function ea(o){if(!(o==null||typeof o!="object"||Array.isArray(o)))return o}function ta(o){const t=Qn(Zn.default)?.(o,{format:"jed",fuzzy:!0,domain:"default"});return ea(t?.locale_data?.default)}var ra="1.1.85-dev.8";ct.parsePoCatalog=ta,ct.version=ra});
package/emailmaker.d.ts CHANGED
@@ -1477,6 +1477,10 @@ export declare namespace ExportedApi {
1477
1477
  * fine — hiding the canvas itself is our job, not yours.
1478
1478
  */
1479
1479
  hidden?: boolean;
1480
+ /**
1481
+ * Fires once the editor's code is loaded. Called once per `init()`/`create()`/`reset()` options;
1482
+ * options applied after the code is already loaded (e.g. reusing a running editor) get it right away.
1483
+ */
1480
1484
  handleChunkLoaded?: () => void;
1481
1485
  }
1482
1486
  namespace CoreMixin {
@@ -3057,8 +3061,11 @@ interface Instance extends ExportedApi.Instance {}
3057
3061
  *
3058
3062
  * `destroy()` before `ready` cancels initialisation; after `destroy()` the handle is detached.
3059
3063
  *
3060
- * A second `create()`/`init()` into the same element while the first is still starting waits for it
3061
- * and reuses its editor with the new options; both succeed and the editor belongs to the latest call.
3064
+ * Another `create()`/`init()` into the same element reuses its editor with the new options (waiting for
3065
+ * a start still in progress); both succeed and the editor belongs to the latest call.
3066
+ * From then on the earlier handle is no longer the owner: it stops receiving events, and its `destroy()`
3067
+ * only detaches it and leaves the editor alone. `destroy()` of the latest handle destroys the editor, even
3068
+ * before its `ready`.
3062
3069
  */
3063
3070
  interface Handle extends Instance {
3064
3071
  /** Resolves with this handle once the editor is initialised (the email from `content` is shown). */