@creaditor/newsletter-starterkit 1.0.15 → 1.0.16
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/1290.creaditor.bundle.js +1 -0
- package/dist/1290.creaditor.bundle.js.gz +0 -0
- package/dist/1867.creaditor.bundle.js +1 -1
- package/dist/1867.creaditor.bundle.js.gz +0 -0
- package/dist/5936.creaditor.bundle.js +986 -0
- package/dist/5936.creaditor.bundle.js.gz +0 -0
- package/dist/6085.creaditor.bundle.js +1 -0
- package/dist/6085.creaditor.bundle.js.gz +0 -0
- package/dist/6652.creaditor.bundle.js +1 -1
- package/dist/6652.creaditor.bundle.js.gz +0 -0
- package/dist/6737.creaditor.bundle.js +18 -7
- package/dist/6737.creaditor.bundle.js.gz +0 -0
- package/dist/7911.creaditor.bundle.js +2 -2
- package/dist/7911.creaditor.bundle.js.gz +0 -0
- package/dist/7946.creaditor.bundle.js +1 -1
- package/dist/7946.creaditor.bundle.js.gz +0 -0
- package/dist/7988.creaditor.bundle.js +1 -1
- package/dist/7988.creaditor.bundle.js.gz +0 -0
- package/dist/901.creaditor.bundle.js +1 -1
- package/dist/901.creaditor.bundle.js.gz +0 -0
- package/dist/9530.creaditor.bundle.js +33 -36
- package/dist/9530.creaditor.bundle.js.gz +0 -0
- package/dist/9766.creaditor.bundle.js +8 -4
- package/dist/9766.creaditor.bundle.js.gz +0 -0
- package/dist/9800.creaditor.bundle.js +1 -1
- package/dist/9800.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor.bundle.js +395 -261
- package/dist/creaditor.bundle.js.gz +0 -0
- package/dist/service-worker.js +1 -1
- package/dist/service-worker.js.gz +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1290],{51290:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});const s=e=>{{const{component:t,commands:n}=e;return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"design"}];return t.forEach((t=>t.selected=t.selected=t.text===e)),t},layout:e=>{let{tab:s,changeTab:o,tabs:r}=e;return[{type:"slider",title:"height",unit:"px",value:parseFloat(t.props.size),min:10,max:900,onInput:e=>{const t=e.target.value;n.execCommand("size",t+"px")}}]}}}},o=()=>({set:(e,t,n)=>"size"===t&&(e[t]=n,!0)});var r=n(46062),a=n.n(r),c=n(32877),l=n.n(c),d=n(96793),i=n.n(d),p=n(17892),u=n.n(p),A=n(11173),h=n.n(A),m=n(12460),g={};g.setAttributes=u(),g.insert=i().bind(null,"head"),g.domAPI=l(),g.insertStyleElement=h();a()(m.Z,g);const b=m.Z&&m.Z.locals?m.Z.locals:void 0,C=()=>{const e="spacer";return{name:e,create:t=>{let{createElement:n,compose:r,helpers:a}=t;const c=document.createElement("div");c.classList.add(b.root);return n({name:e,id:r.id,template:c,defaultProps:{size:"200px"},draggable:{group:"element"},droppable:{group:"element"},handleBar:!0,render:e=>{c.style.height=r.props.size||"200px"},validator:o(),getRenderedHTML:()=>`<div style="height:${r.props.size}px"></div>`,schema:r.schema,onSelect:e=>{c.classList.add(e)},onDeselect:e=>{c.classList.remove(e)},elementProps:r,remove:()=>{c.remove()},createEditor:s})}}}},12460:(e,t,n)=>{n.d(t,{Z:()=>c});var s=n(40272),o=n.n(s),r=n(82609),a=n.n(r)()(o());a.push([e.id,'._uw9KRVH9LQgeEfRbCMc{\n width: 100%;\n}\n._uw9KRVH9LQgeEfRbCMc::after{\n content: "";\n outline: 2px dashed rgb(57, 170, 193);\n display: block;\n width: 100%;\n height: 100%;\n background-color: rgba(63, 115, 125, 0.071);\n}',"",{version:3,sources:["webpack://./../spacer-editor-component/lib/style.module.css"],names:[],mappings:"AAAA;IACI,WAAW;AACf;AACA;IACI,WAAW;IACX,qCAAqC;IACrC,cAAc;IACd,WAAW;IACX,YAAY;IACZ,2CAA2C;AAC/C",sourcesContent:['.root{\n width: 100%;\n}\n.root::after{\n content: "";\n outline: 2px dashed rgb(57, 170, 193);\n display: block;\n width: 100%;\n height: 100%;\n background-color: rgba(63, 115, 125, 0.071);\n}'],sourceRoot:""}]),a.locals={root:"_uw9KRVH9LQgeEfRbCMc"};const c=a}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1867],{51867:(t,e,n)=>{n.r(e),n.d(e,{ElementHandleBar:()=>l});var o=n(56666),i=n(21293),a=(n(67237),n(70235)),r=n(27338),s=n(45607);n(65329);class l extends i.oi{constructor(){super(),(0,o.Z)(this,"elementRef",(0,r.V)()),this.canDisplayBar=!0;a.h.get("config");const t=a.h.get("config","editor","configure","editorProps");this.canDisplayBar=!t||!1!==t?.actionBar,this.selected=!1,this.connectWith=this.connectWith.bind(this),this.onRemove=this.onRemove.bind(this)}cloneElement(){let t,e=s.Z.getComponent(this.for);const n=e.closest("col");if(
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[1867],{51867:(t,e,n)=>{n.r(e),n.d(e,{ElementHandleBar:()=>l});var o=n(56666),i=n(21293),a=(n(67237),n(70235)),r=n(27338),s=n(45607);n(65329);class l extends i.oi{constructor(){super(),(0,o.Z)(this,"elementRef",(0,r.V)()),this.canDisplayBar=!0;a.h.get("config");const t=a.h.get("config","editor","configure","editorProps");this.canDisplayBar=!t||!1!==t?.actionBar,this.selected=!1,this.connectWith=this.connectWith.bind(this),this.onRemove=this.onRemove.bind(this)}cloneElement(){let t,e=s.Z.getComponent(this.for);const n=e?.closest("col");let o=0;n&&(o=n.children.length);const i="card"===e?.type||o<2?e.closest("col"):null;if(i&&(e=i),e&&(t=e.parent(),t)){let n=t.children.findIndex((t=>t===e.id));"col"===e.type&&(n+=1),"number"==typeof n&&s.Z.cloneComponent({componentId:e.id,index:n,parentId:t.id})}}onRemove(){a.h.get("components",this.for).commands.remove()}connectWith(){if(this.selected=!1,this.for){const t=s.Z.components.find((t=>t.id===this.for));if(t){const e=t.closest("col");if(e){e.element.getBoundingClientRect(),t.element.getBoundingClientRect()}const n=t.closest("card");if(n&&this.elementRef.value){const e=n.element.getBoundingClientRect(),o=t.element.getBoundingClientRect();if(parseInt(e.top)>=parseInt(o.top)-40){let t=0;e.right>o.right?t=e.right-o.right-100+"px":e.left<o.left&&(t=e.left-o.left+20+"px"),o.left+parseInt(t)<e.left&&(t=0),this.elementRef.value.style.transform=`translate(${t},${o.height+10}px)`}else this.elementRef.value.style.transform=null}else this.elementRef.value.style.transform=null;this.selected=!!t.element.closest("[draggable-element]"),this.animations=t.props.interactions.filter((t=>"animation"===t.type)),this.hasAnimations=this.animations.length>0,this.name=t.props.name||a.h.get("lang",t.type)}}}justifyContent(t){s.Z.store().execCommand("justify",t,{find:"col"})}connectedCallback(){super.connectedCallback(),s.Z.on("select",this.connectWith),s.Z.on("update",this.connectWith),this.classList.add("ignore-cdtr-blur")}disconnectedCallback(){super.disconnectedCallback(),s.Z.off("select",this.connectWith),s.Z.off("update",this.connectWith)}render(){return this.style.display=this.selected?null:"none",i.dy`<cdtr-row
|
|
2
2
|
${(0,r.i)(this.elementRef)}
|
|
3
3
|
class="bar"
|
|
4
4
|
alignItems="center"
|
|
Binary file
|