@creaditor/newsletter-starterkit 1.0.45 → 1.0.46

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 (243) hide show
  1. package/dist/112.creaditor.bundle.js +3 -3
  2. package/dist/112.creaditor.bundle.js.gz +0 -0
  3. package/dist/1260.creaditor.bundle.js +11 -11
  4. package/dist/1260.creaditor.bundle.js.gz +0 -0
  5. package/dist/1271.creaditor.bundle.js +6 -6
  6. package/dist/1271.creaditor.bundle.js.gz +0 -0
  7. package/dist/1334.creaditor.bundle.js +3 -3
  8. package/dist/1334.creaditor.bundle.js.gz +0 -0
  9. package/dist/1452.creaditor.bundle.js +3 -3
  10. package/dist/1452.creaditor.bundle.js.gz +0 -0
  11. package/dist/1456.creaditor.bundle.js +3 -3
  12. package/dist/1456.creaditor.bundle.js.gz +0 -0
  13. package/dist/1529.creaditor.bundle.js +2 -2
  14. package/dist/1529.creaditor.bundle.js.gz +0 -0
  15. package/dist/1565.creaditor.bundle.js +100 -100
  16. package/dist/1565.creaditor.bundle.js.gz +0 -0
  17. package/dist/170.creaditor.bundle.js +8 -8
  18. package/dist/170.creaditor.bundle.js.gz +0 -0
  19. package/dist/175.creaditor.bundle.js +5 -5
  20. package/dist/175.creaditor.bundle.js.gz +0 -0
  21. package/dist/1972.creaditor.bundle.js +2 -2
  22. package/dist/1972.creaditor.bundle.js.gz +0 -0
  23. package/dist/211.creaditor.bundle.js +1 -1
  24. package/dist/211.creaditor.bundle.js.gz +0 -0
  25. package/dist/2112.creaditor.bundle.js +3 -3
  26. package/dist/2112.creaditor.bundle.js.gz +0 -0
  27. package/dist/2350.creaditor.bundle.js +3 -3
  28. package/dist/2350.creaditor.bundle.js.gz +0 -0
  29. package/dist/2377.creaditor.bundle.js +7 -7
  30. package/dist/2377.creaditor.bundle.js.gz +0 -0
  31. package/dist/2384.creaditor.bundle.js +6 -6
  32. package/dist/2384.creaditor.bundle.js.gz +0 -0
  33. package/dist/2397.creaditor.bundle.js +4 -4
  34. package/dist/2397.creaditor.bundle.js.gz +0 -0
  35. package/dist/2409.creaditor.bundle.js +4 -4
  36. package/dist/2409.creaditor.bundle.js.gz +0 -0
  37. package/dist/2438.creaditor.bundle.js +5 -5
  38. package/dist/2438.creaditor.bundle.js.gz +0 -0
  39. package/dist/2547.creaditor.bundle.js +2 -2
  40. package/dist/2547.creaditor.bundle.js.gz +0 -0
  41. package/dist/2590.creaditor.bundle.js +2 -2
  42. package/dist/2590.creaditor.bundle.js.gz +0 -0
  43. package/dist/271.creaditor.bundle.js +7 -7
  44. package/dist/271.creaditor.bundle.js.gz +0 -0
  45. package/dist/2773.creaditor.bundle.js +3 -3
  46. package/dist/2773.creaditor.bundle.js.gz +0 -0
  47. package/dist/2833.creaditor.bundle.js +3 -3
  48. package/dist/2833.creaditor.bundle.js.gz +0 -0
  49. package/dist/2834.creaditor.bundle.js +2 -2
  50. package/dist/2834.creaditor.bundle.js.gz +0 -0
  51. package/dist/2956.creaditor.bundle.js +3 -3
  52. package/dist/2956.creaditor.bundle.js.gz +0 -0
  53. package/dist/2963.creaditor.bundle.js +3 -3
  54. package/dist/2963.creaditor.bundle.js.gz +0 -0
  55. package/dist/307.creaditor.bundle.js +3 -3
  56. package/dist/307.creaditor.bundle.js.gz +0 -0
  57. package/dist/3095.creaditor.bundle.js +13 -13
  58. package/dist/3095.creaditor.bundle.js.gz +0 -0
  59. package/dist/3233.creaditor.bundle.js +2 -2
  60. package/dist/3233.creaditor.bundle.js.gz +0 -0
  61. package/dist/3521.creaditor.bundle.js +3 -3
  62. package/dist/3521.creaditor.bundle.js.gz +0 -0
  63. package/dist/353.creaditor.bundle.js +3 -3
  64. package/dist/353.creaditor.bundle.js.gz +0 -0
  65. package/dist/3553.creaditor.bundle.js +5 -5
  66. package/dist/3553.creaditor.bundle.js.gz +0 -0
  67. package/dist/3606.creaditor.bundle.js +5 -5
  68. package/dist/3606.creaditor.bundle.js.gz +0 -0
  69. package/dist/365.creaditor.bundle.js +3 -3
  70. package/dist/365.creaditor.bundle.js.gz +0 -0
  71. package/dist/3827.creaditor.bundle.js +3 -3
  72. package/dist/3827.creaditor.bundle.js.gz +0 -0
  73. package/dist/3875.creaditor.bundle.js +3 -3
  74. package/dist/3875.creaditor.bundle.js.gz +0 -0
  75. package/dist/3932.creaditor.bundle.js +3 -3
  76. package/dist/3932.creaditor.bundle.js.gz +0 -0
  77. package/dist/3971.creaditor.bundle.js +3 -3
  78. package/dist/3971.creaditor.bundle.js.gz +0 -0
  79. package/dist/407.creaditor.bundle.js +3 -3
  80. package/dist/407.creaditor.bundle.js.gz +0 -0
  81. package/dist/4074.creaditor.bundle.js +3 -3
  82. package/dist/4074.creaditor.bundle.js.gz +0 -0
  83. package/dist/4100.creaditor.bundle.js +2 -2
  84. package/dist/4100.creaditor.bundle.js.gz +0 -0
  85. package/dist/4114.creaditor.bundle.js +3 -3
  86. package/dist/4114.creaditor.bundle.js.gz +0 -0
  87. package/dist/4161.creaditor.bundle.js +3 -3
  88. package/dist/4161.creaditor.bundle.js.gz +0 -0
  89. package/dist/4217.creaditor.bundle.js +7 -7
  90. package/dist/4217.creaditor.bundle.js.gz +0 -0
  91. package/dist/4288.creaditor.bundle.js +4 -4
  92. package/dist/4288.creaditor.bundle.js.gz +0 -0
  93. package/dist/4413.creaditor.bundle.js +3 -3
  94. package/dist/4413.creaditor.bundle.js.gz +0 -0
  95. package/dist/4475.creaditor.bundle.js +3 -3
  96. package/dist/4475.creaditor.bundle.js.gz +0 -0
  97. package/dist/453.creaditor.bundle.js +12 -12
  98. package/dist/453.creaditor.bundle.js.gz +0 -0
  99. package/dist/4569.creaditor.bundle.js +72 -72
  100. package/dist/4569.creaditor.bundle.js.gz +0 -0
  101. package/dist/4615.creaditor.bundle.js +2 -2
  102. package/dist/4615.creaditor.bundle.js.gz +0 -0
  103. package/dist/467.creaditor.bundle.js +3 -3
  104. package/dist/467.creaditor.bundle.js.gz +0 -0
  105. package/dist/4762.creaditor.bundle.js +3 -3
  106. package/dist/4762.creaditor.bundle.js.gz +0 -0
  107. package/dist/4770.creaditor.bundle.js +3 -3
  108. package/dist/4770.creaditor.bundle.js.gz +0 -0
  109. package/dist/4947.creaditor.bundle.js +3 -3
  110. package/dist/4947.creaditor.bundle.js.gz +0 -0
  111. package/dist/4988.creaditor.bundle.js +2 -2
  112. package/dist/4988.creaditor.bundle.js.gz +0 -0
  113. package/dist/5133.creaditor.bundle.js +5 -5
  114. package/dist/5133.creaditor.bundle.js.gz +0 -0
  115. package/dist/5156.creaditor.bundle.js +7 -7
  116. package/dist/5156.creaditor.bundle.js.gz +0 -0
  117. package/dist/5340.creaditor.bundle.js +5 -5
  118. package/dist/5340.creaditor.bundle.js.gz +0 -0
  119. package/dist/5391.creaditor.bundle.js +3 -3
  120. package/dist/5391.creaditor.bundle.js.gz +0 -0
  121. package/dist/5411.creaditor.bundle.js +3 -3
  122. package/dist/5411.creaditor.bundle.js.gz +0 -0
  123. package/dist/5428.creaditor.bundle.js +3 -3
  124. package/dist/5428.creaditor.bundle.js.gz +0 -0
  125. package/dist/5501.creaditor.bundle.js +13 -13
  126. package/dist/5501.creaditor.bundle.js.gz +0 -0
  127. package/dist/5530.creaditor.bundle.js +4 -4
  128. package/dist/5530.creaditor.bundle.js.gz +0 -0
  129. package/dist/5666.creaditor.bundle.js +3 -3
  130. package/dist/5666.creaditor.bundle.js.gz +0 -0
  131. package/dist/567.creaditor.bundle.js +6 -6
  132. package/dist/567.creaditor.bundle.js.gz +0 -0
  133. package/dist/578.creaditor.bundle.js +4 -4
  134. package/dist/578.creaditor.bundle.js.gz +0 -0
  135. package/dist/5839.creaditor.bundle.js +2 -2
  136. package/dist/5839.creaditor.bundle.js.gz +0 -0
  137. package/dist/5849.creaditor.bundle.js +3 -3
  138. package/dist/5849.creaditor.bundle.js.gz +0 -0
  139. package/dist/5850.creaditor.bundle.js +3 -3
  140. package/dist/5850.creaditor.bundle.js.gz +0 -0
  141. package/dist/589.creaditor.bundle.js +5 -5
  142. package/dist/589.creaditor.bundle.js.gz +0 -0
  143. package/dist/5926.creaditor.bundle.js +6 -6
  144. package/dist/5926.creaditor.bundle.js.gz +0 -0
  145. package/dist/6036.creaditor.bundle.js +2 -2
  146. package/dist/6036.creaditor.bundle.js.gz +0 -0
  147. package/dist/638.creaditor.bundle.js +3 -3
  148. package/dist/638.creaditor.bundle.js.gz +0 -0
  149. package/dist/6442.creaditor.bundle.js +3 -3
  150. package/dist/6442.creaditor.bundle.js.gz +0 -0
  151. package/dist/6459.creaditor.bundle.js +3 -3
  152. package/dist/6459.creaditor.bundle.js.gz +0 -0
  153. package/dist/6496.creaditor.bundle.js +3 -3
  154. package/dist/6496.creaditor.bundle.js.gz +0 -0
  155. package/dist/653.creaditor.bundle.js +3 -3
  156. package/dist/653.creaditor.bundle.js.gz +0 -0
  157. package/dist/7155.creaditor.bundle.js +3 -3
  158. package/dist/7155.creaditor.bundle.js.gz +0 -0
  159. package/dist/7209.creaditor.bundle.js +26 -26
  160. package/dist/7209.creaditor.bundle.js.gz +0 -0
  161. package/dist/7238.creaditor.bundle.js +6 -6
  162. package/dist/7238.creaditor.bundle.js.gz +0 -0
  163. package/dist/7255.creaditor.bundle.js +2 -2
  164. package/dist/7255.creaditor.bundle.js.gz +0 -0
  165. package/dist/7307.creaditor.bundle.js +11 -11
  166. package/dist/7307.creaditor.bundle.js.gz +0 -0
  167. package/dist/738.creaditor.bundle.js +2 -2
  168. package/dist/738.creaditor.bundle.js.gz +0 -0
  169. package/dist/7380.creaditor.bundle.js +2 -2
  170. package/dist/7380.creaditor.bundle.js.gz +0 -0
  171. package/dist/752.creaditor.bundle.js +3 -3
  172. package/dist/752.creaditor.bundle.js.gz +0 -0
  173. package/dist/7523.creaditor.bundle.js +3 -3
  174. package/dist/7523.creaditor.bundle.js.gz +0 -0
  175. package/dist/767.creaditor.bundle.js +7 -7
  176. package/dist/767.creaditor.bundle.js.gz +0 -0
  177. package/dist/7759.creaditor.bundle.js +3 -3
  178. package/dist/7759.creaditor.bundle.js.gz +0 -0
  179. package/dist/7838.creaditor.bundle.js +3 -3
  180. package/dist/7838.creaditor.bundle.js.gz +0 -0
  181. package/dist/7937.creaditor.bundle.js +12 -12
  182. package/dist/7937.creaditor.bundle.js.gz +0 -0
  183. package/dist/7997.creaditor.bundle.js +3 -3
  184. package/dist/7997.creaditor.bundle.js.gz +0 -0
  185. package/dist/8042.creaditor.bundle.js +5 -5
  186. package/dist/8042.creaditor.bundle.js.gz +0 -0
  187. package/dist/8064.creaditor.bundle.js +3 -3
  188. package/dist/8064.creaditor.bundle.js.gz +0 -0
  189. package/dist/8141.creaditor.bundle.js +2 -2
  190. package/dist/8141.creaditor.bundle.js.gz +0 -0
  191. package/dist/8251.creaditor.bundle.js +3 -3
  192. package/dist/8251.creaditor.bundle.js.gz +0 -0
  193. package/dist/8305.creaditor.bundle.js +3 -3
  194. package/dist/8305.creaditor.bundle.js.gz +0 -0
  195. package/dist/8315.creaditor.bundle.js +2 -2
  196. package/dist/8315.creaditor.bundle.js.gz +0 -0
  197. package/dist/8443.creaditor.bundle.js +3 -3
  198. package/dist/8443.creaditor.bundle.js.gz +0 -0
  199. package/dist/8516.creaditor.bundle.js +2 -2
  200. package/dist/8516.creaditor.bundle.js.gz +0 -0
  201. package/dist/8570.creaditor.bundle.js +3 -3
  202. package/dist/8570.creaditor.bundle.js.gz +0 -0
  203. package/dist/8646.creaditor.bundle.js +5 -5
  204. package/dist/8646.creaditor.bundle.js.gz +0 -0
  205. package/dist/8654.creaditor.bundle.js +5 -5
  206. package/dist/8654.creaditor.bundle.js.gz +0 -0
  207. package/dist/8676.creaditor.bundle.js +3 -3
  208. package/dist/8676.creaditor.bundle.js.gz +0 -0
  209. package/dist/8854.creaditor.bundle.js +3 -3
  210. package/dist/8854.creaditor.bundle.js.gz +0 -0
  211. package/dist/8916.creaditor.bundle.js +2 -2
  212. package/dist/8916.creaditor.bundle.js.gz +0 -0
  213. package/dist/8921.creaditor.bundle.js +3 -3
  214. package/dist/8921.creaditor.bundle.js.gz +0 -0
  215. package/dist/9041.creaditor.bundle.js +8 -8
  216. package/dist/9041.creaditor.bundle.js.gz +0 -0
  217. package/dist/9089.creaditor.bundle.js +3 -3
  218. package/dist/9089.creaditor.bundle.js.gz +0 -0
  219. package/dist/9162.creaditor.bundle.js +3 -3
  220. package/dist/9162.creaditor.bundle.js.gz +0 -0
  221. package/dist/9184.creaditor.bundle.js +3 -3
  222. package/dist/9184.creaditor.bundle.js.gz +0 -0
  223. package/dist/9250.creaditor.bundle.js +3 -3
  224. package/dist/9250.creaditor.bundle.js.gz +0 -0
  225. package/dist/9386.creaditor.bundle.js +3 -3
  226. package/dist/9386.creaditor.bundle.js.gz +0 -0
  227. package/dist/9453.creaditor.bundle.js +3 -3
  228. package/dist/9453.creaditor.bundle.js.gz +0 -0
  229. package/dist/9570.creaditor.bundle.js +3 -3
  230. package/dist/9570.creaditor.bundle.js.gz +0 -0
  231. package/dist/975.creaditor.bundle.js +3 -3
  232. package/dist/975.creaditor.bundle.js.gz +0 -0
  233. package/dist/976.creaditor.bundle.js +3 -3
  234. package/dist/976.creaditor.bundle.js.gz +0 -0
  235. package/dist/9986.creaditor.bundle.js +3 -3
  236. package/dist/9986.creaditor.bundle.js.gz +0 -0
  237. package/dist/9990.creaditor.bundle.js +3 -3
  238. package/dist/9990.creaditor.bundle.js.gz +0 -0
  239. package/dist/creaditor.bundle.js +269 -268
  240. package/dist/creaditor.bundle.js.gz +0 -0
  241. package/dist/service-worker.js +1 -1
  242. package/dist/service-worker.js.gz +0 -0
  243. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8921],{38921(t,e,i){i.r(e),i.d(e,{CheckedIcon:()=>r});var h=i(24586),s=i(59929);class r extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy` <svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8921],{38921(t,e,i){i.r(e),i.d(e,{CheckedIcon:()=>s});var h=i(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy` <svg
2
2
  style="${this.iconStyle}"
3
3
  width="${this.width}"
4
4
  height="${this.height}"
@@ -11,7 +11,7 @@
11
11
  <path
12
12
  d="M4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h14V5H5zm6.003 11L6.76 11.757l1.414-1.414 2.829 2.829 5.656-5.657 1.415 1.414L11.003 16z"
13
13
  />
14
- </svg>`}}(0,h.A)(r,"styles",s.AH`
14
+ </svg>`}}s.styles=h.AH`
15
15
  :host {
16
16
  display: inherit;
17
17
  --cdtr-icon-width: 20px;
@@ -22,4 +22,4 @@
22
22
  height: var(--cdtr-icon-height);
23
23
  color: var(--cdtr-icon-color);
24
24
  }
25
- `),(0,h.A)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-checked-icon",r)}}]);
25
+ `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-checked-icon",s)}}]);
Binary file
@@ -1,5 +1,5 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9041],{19041(t,e,n){n.r(e),n.d(e,{ElementHandleBar:()=>h});var o=n(24586),i=n(59929),a=n(86319),s=n(21421),r=n(9507),l=n(89531),c=n(83965),d=n(67549);const p=r.Ay;l.A,c.i,d.s;class h extends i.WF{constructor(){super(),(0,o.A)(this,"animations",[]),(0,o.A)(this,"elementRef",(0,s._)()),this.canDisplayBar=!0;const t=a.M.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=p.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&&p.cloneComponent({componentId:e.id,index:n,parentId:t.id})}}onRemove(){a.M.get("components",this.for).commands.remove()}connectWith(){if(this.selected=!1,this.for){const t=p.components.find(t=>t.id===this.for);if(t){const e=t,n=e.closest("col");n&&(n.element.getBoundingClientRect(),e.element.getBoundingClientRect());const o=e.closest("card");if(o&&this.elementRef.value){const t=o.element.getBoundingClientRect(),n=e.element.getBoundingClientRect();if(parseInt(String(t.top))>=parseInt(String(n.top))-40){let e=0;t.right>n.right?e=t.right-n.right-100+"px":t.left<n.left&&(e=t.left-n.left+20+"px"),n.left+parseInt(String(e))<t.left&&(e=0),this.elementRef.value.style.transform=`translate(${e},${n.height+10}px)`}else this.elementRef.value.style.transform=""}else this.elementRef.value&&(this.elementRef.value.style.transform="");this.selected=!!e.element?.closest("[draggable-element]");const i=e.props;this.animations=i.interactions?.filter(t=>"animation"===t.type)??[],this.hasAnimations=this.animations.length>0,this.name=i.name||a.M.get("lang",e.type)}}}justifyContent(t){p.store().execCommand("justify",t,{find:"col"})}connectedCallback(){super.connectedCallback(),p.on("select",this.connectWith),p.on("update",this.connectWith),this.classList.add("ignore-cdtr-blur")}disconnectedCallback(){super.disconnectedCallback(),p.off("select",this.connectWith),p.off("update",this.connectWith)}render(){return this.style.display=this.selected?"":"none",i.qy`<cdtr-row
2
- ${(0,s.K)(this.elementRef)}
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9041],{19041(t,e,n){n.r(e),n.d(e,{ElementHandleBar:()=>p});var o=n(59929),i=n(86319),a=n(21421),s=n(9507),r=n(89531),l=n(83965),c=n(67549);const d=s.Ay;r.A,l.i,c.s;class p extends o.WF{constructor(){super(),this.animations=[],this.elementRef=(0,a._)(),this.canDisplayBar=!0;const t=i.M.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=d.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&&d.cloneComponent({componentId:e.id,index:n,parentId:t.id})}}onRemove(){i.M.get("components",this.for).commands.remove()}connectWith(){if(this.selected=!1,this.for){const t=d.components.find(t=>t.id===this.for);if(t){const e=t,n=e.closest("col");n&&(n.element.getBoundingClientRect(),e.element.getBoundingClientRect());const o=e.closest("card");if(o&&this.elementRef.value){const t=o.element.getBoundingClientRect(),n=e.element.getBoundingClientRect();if(parseInt(String(t.top))>=parseInt(String(n.top))-40){let e=0;t.right>n.right?e=t.right-n.right-100+"px":t.left<n.left&&(e=t.left-n.left+20+"px"),n.left+parseInt(String(e))<t.left&&(e=0),this.elementRef.value.style.transform=`translate(${e},${n.height+10}px)`}else this.elementRef.value.style.transform=""}else this.elementRef.value&&(this.elementRef.value.style.transform="");this.selected=!!e.element?.closest("[draggable-element]");const a=e.props;this.animations=a.interactions?.filter(t=>"animation"===t.type)??[],this.hasAnimations=this.animations.length>0,this.name=a.name||i.M.get("lang",e.type)}}}justifyContent(t){d.store().execCommand("justify",t,{find:"col"})}connectedCallback(){super.connectedCallback(),d.on("select",this.connectWith),d.on("update",this.connectWith),this.classList.add("ignore-cdtr-blur")}disconnectedCallback(){super.disconnectedCallback(),d.off("select",this.connectWith),d.off("update",this.connectWith)}render(){return this.style.display=this.selected?"":"none",o.qy`<cdtr-row
2
+ ${(0,a.K)(this.elementRef)}
3
3
  class="bar"
4
4
  alignItems="center"
5
5
  justify="space-evenly"
@@ -8,7 +8,7 @@
8
8
  >
9
9
  <cdtr-tooltip content="drag_element">
10
10
  <paper-button
11
- @mousedown=${t=>{const e=document.createElement("div");e.setAttribute("data-id",this.for);const n=a.M.get("components",this.for);e.style.width=n.element.clientWidth+"px",e.style.height=n.element.clientHeight+"px",e.setAttribute("data-type",n.type);let o=n.type;"block"!==o&&"col"!==o&&"section"!==o&&(o="element"),e.setAttribute("draggable-direction","top,bottom,left,right"),e.setAttribute("draggable-element",o),e.classList.add("draggable-element-handle"),window.__dragoned_selected_element=e}}
11
+ @mousedown=${t=>{const e=document.createElement("div");e.setAttribute("data-id",this.for);const n=i.M.get("components",this.for);e.style.width=n.element.clientWidth+"px",e.style.height=n.element.clientHeight+"px",e.setAttribute("data-type",n.type);let o=n.type;"block"!==o&&"col"!==o&&"section"!==o&&(o="element"),e.setAttribute("draggable-direction","top,bottom,left,right"),e.setAttribute("draggable-element",o),e.classList.add("draggable-element-handle"),window.__dragoned_selected_element=e}}
12
12
  data-draggable-for=${this.for}
13
13
  class="draggable-element-handle"
14
14
  >
@@ -36,7 +36,7 @@
36
36
  <!-- <span class="name"> ${this.name} </span> -->
37
37
  <div class="transparent-gap"></div>
38
38
  </cdtr-row>
39
- <!-- ${this.hasAnimations?i.qy`<cdtr-row
39
+ <!-- ${this.hasAnimations?o.qy`<cdtr-row
40
40
  alignItems="center"
41
41
  justify="space-between"
42
42
  class="bottom-bar bar"
@@ -57,10 +57,10 @@
57
57
  </paper-button>
58
58
  </cdtr-tooltip>
59
59
  </cdtr-row>`:null} -->
60
- ${this.hasAnimations?i.qy`<div class="animation-bar">
60
+ ${this.hasAnimations?o.qy`<div class="animation-bar">
61
61
  <cdtr-tooltip content="animation">
62
62
  <paper-button
63
- @mousedown=${()=>p.app.dispatch("editor-tabs",{tab:"animations"})}
63
+ @mousedown=${()=>d.app.dispatch("editor-tabs",{tab:"animations"})}
64
64
  >
65
65
  <svg
66
66
  width="10"
@@ -76,7 +76,7 @@
76
76
  </svg>
77
77
  </paper-button>
78
78
  </cdtr-tooltip>
79
- </div> `:null}`}}(0,o.A)(h,"properties",{for:{type:String},name:{type:String},selected:{type:Boolean},hasAnimations:{},canDisplayBar:{type:Boolean}}),(0,o.A)(h,"styles",i.AH`
79
+ </div> `:null}`}}p.properties={for:{type:String},name:{type:String},selected:{type:Boolean},hasAnimations:{},canDisplayBar:{type:Boolean}},p.styles=o.AH`
80
80
  .draggable-element-handle:after {
81
81
  content: "";
82
82
  position: absolute;
@@ -168,4 +168,4 @@
168
168
  .drag_block:active {
169
169
  cursor: grabbing !important;
170
170
  }
171
- `),customElements.define("cdtr-move-handle-bar",h)}}]);
171
+ `,customElements.define("cdtr-move-handle-bar",p)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9089],{59089(t,e,i){i.r(e),i.d(e,{TextIcon:()=>s});var h=i(24586),r=i(59929);class s extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy`<svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9089],{59089(t,e,i){i.r(e),i.d(e,{TextIcon:()=>r});var h=i(59929);class r extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -7,7 +7,7 @@
7
7
  >
8
8
  <path fill="none" d="M0 0h24v24H0z" />
9
9
  <path d="M13 6v15h-2V6H5V4h14v2z" />
10
- </svg>`}}(0,h.A)(s,"styles",r.AH`
10
+ </svg>`}}r.styles=h.AH`
11
11
  :host {
12
12
  display: inherit;
13
13
  --cdtr-icon-width: 20px;
@@ -18,4 +18,4 @@
18
18
  height: var(--cdtr-icon-height);
19
19
  color: var(--cdtr-icon-color);
20
20
  }
21
- `),(0,h.A)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-text-icon",s)}}]);
21
+ `,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-text-icon",r)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9162],{59162(t,e,h){h.r(e),h.d(e,{DesignIcon:()=>r});var i=h(24586),s=h(59929);class r extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`<svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9162],{59162(t,e,h){h.r(e),h.d(e,{DesignIcon:()=>s});var i=h(59929);class s extends i.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return i.qy`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -9,7 +9,7 @@
9
9
  <path
10
10
  d="M5 8v12h4V8H5zM3 7l4-5 4 5v15H3V7zm16 9v-2h-3v-2h3v-2h-2V8h2V6h-4v14h4v-2h-2v-2h2zM14 4h6a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z"
11
11
  />
12
- </svg>`}}(0,i.A)(r,"styles",s.AH`
12
+ </svg>`}}s.styles=i.AH`
13
13
  :host {
14
14
  display: inherit;
15
15
  --cdtr-icon-width: 20px;
@@ -20,4 +20,4 @@
20
20
  height: var(--cdtr-icon-height);
21
21
  color: var(--cdtr-icon-color);
22
22
  }
23
- `),(0,i.A)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-design-icon",r)}}]);
23
+ `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-design-icon",s)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9184],{29184(t,i,e){e.r(i),e.d(i,{AnimationIcon:()=>n});var h=e(24586),s=e(59929);class n extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`<svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9184],{29184(t,i,e){e.r(i),e.d(i,{AnimationIcon:()=>s});var h=e(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`<svg
2
2
  style="${this.iconStyle}"
3
3
  width="${this.width}"
4
4
  height="${this.height}"
@@ -9,7 +9,7 @@
9
9
  <path
10
10
  d="M3.929 4.929l1.414 1.414C3.895 7.791 3 9.791 3 12c0 2.21.895 4.21 2.343 5.657L3.93 19.07C2.119 17.261 1 14.761 1 12s1.12-5.261 2.929-7.071zm16.142 0C21.881 6.739 23 9.239 23 12s-1.12 5.262-2.929 7.071l-1.414-1.414C20.105 16.209 21 14.209 21 12s-.895-4.208-2.342-5.656L20.07 4.93zM13 5v6h3l-5 8v-6H8l5-8zM6.757 7.757l1.415 1.415C7.448 9.895 7 10.895 7 12c0 1.105.448 2.105 1.172 2.828l-1.415 1.415C5.672 15.157 5 13.657 5 12c0-1.657.672-3.157 1.757-4.243zm10.487.001C18.329 8.844 19 10.344 19 12c0 1.657-.672 3.157-1.757 4.243l-1.415-1.415C16.552 14.105 17 13.105 17 12c0-1.104-.447-2.104-1.17-2.827l1.414-1.415z"
11
11
  />
12
- </svg>`}}(0,h.A)(n,"styles",s.AH`
12
+ </svg>`}}s.styles=h.AH`
13
13
  :host {
14
14
  display: inherit;
15
15
  --cdtr-icon-width: 24px;
@@ -20,4 +20,4 @@
20
20
  height: var(--cdtr-icon-height);
21
21
  color: var(--cdtr-icon-color);
22
22
  }
23
- `),(0,h.A)(n,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-animation-icon",n)}}]);
23
+ `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-animation-icon",s)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9250],{9250(t,l,r){r.r(l),r.d(l,{Page401:()=>i});var e=r(24586),a=r(59929);class i extends a.WF{constructor(){super()}render(){return a.qy`<div class="root">
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9250],{9250(t,l,r){r.r(l),r.d(l,{Page401:()=>a});var e=r(59929);class a extends e.WF{constructor(){super()}render(){return e.qy`<div class="root">
2
2
  <h1><lang-text text="unauthorized"></lang-text> <span>401</span></h1>
3
3
  <svg
4
4
  xmlns="http://www.w3.org/2000/svg"
@@ -256,7 +256,7 @@
256
256
  fill="#3f3d56"
257
257
  ></circle>
258
258
  </svg>
259
- </div>`}}(0,e.A)(i,"properties",{}),(0,e.A)(i,"styles",a.AH`
259
+ </div>`}}a.properties={},a.styles=e.AH`
260
260
  :host {
261
261
  position: fixed;
262
262
  left: 50%;
@@ -271,4 +271,4 @@
271
271
  font-family: Arial;
272
272
  color: var(--primary);
273
273
  }
274
- `),customElements.define("cdtr-401",i)}}]);
274
+ `,customElements.define("cdtr-401",a)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9386],{89386(t,e,i){i.r(e),i.d(e,{WhatsappIcon:()=>c});var s=i(24586),h=i(59929);class c extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy` <svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9386],{89386(t,e,i){i.r(e),i.d(e,{WhatsappIcon:()=>h});var s=i(59929);class h extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy` <svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -9,7 +9,7 @@
9
9
  <path
10
10
  d="M2.004 22l1.352-4.968A9.954 9.954 0 0 1 2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10a9.954 9.954 0 0 1-5.03-1.355L2.004 22zM8.391 7.308a.961.961 0 0 0-.371.1 1.293 1.293 0 0 0-.294.228c-.12.113-.188.211-.261.306A2.729 2.729 0 0 0 6.9 9.62c.002.49.13.967.33 1.413.409.902 1.082 1.857 1.971 2.742.214.213.423.427.648.626a9.448 9.448 0 0 0 3.84 2.046l.569.087c.185.01.37-.004.556-.013a1.99 1.99 0 0 0 .833-.231c.166-.088.244-.132.383-.22 0 0 .043-.028.125-.09.135-.1.218-.171.33-.288.083-.086.155-.187.21-.302.078-.163.156-.474.188-.733.024-.198.017-.306.014-.373-.004-.107-.093-.218-.19-.265l-.582-.261s-.87-.379-1.401-.621a.498.498 0 0 0-.177-.041.482.482 0 0 0-.378.127v-.002c-.005 0-.072.057-.795.933a.35.35 0 0 1-.368.13 1.416 1.416 0 0 1-.191-.066c-.124-.052-.167-.072-.252-.109l-.005-.002a6.01 6.01 0 0 1-1.57-1c-.126-.11-.243-.23-.363-.346a6.296 6.296 0 0 1-1.02-1.268l-.059-.095a.923.923 0 0 1-.102-.205c-.038-.147.061-.265.061-.265s.243-.266.356-.41a4.38 4.38 0 0 0 .263-.373c.118-.19.155-.385.093-.536-.28-.684-.57-1.365-.868-2.041-.059-.134-.234-.23-.393-.249-.054-.006-.108-.012-.162-.016a3.385 3.385 0 0 0-.403.004z"
11
11
  />
12
- </svg>`}}(0,s.A)(c,"styles",h.AH`
12
+ </svg>`}}h.styles=s.AH`
13
13
  :host {
14
14
  display: inherit;
15
15
  --cdtr-icon-width: 20px;
@@ -20,4 +20,4 @@
20
20
  height: var(--cdtr-icon-height);
21
21
  color: var(--cdtr-icon-color);
22
22
  }
23
- `),(0,s.A)(c,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-whatsapp-icon",c)}}]);
23
+ `,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-whatsapp-icon",h)}}]);
Binary file
@@ -1,6 +1,6 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9453],{89453(e,t,r){r.r(t),r.d(t,{fabButton:()=>o});var n=r(24586),s=r(59929);class o extends s.WF{constructor(){super()}render(){return s.qy` <paper-button>
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9453],{89453(e,t,r){r.r(t),r.d(t,{fabButton:()=>s});var n=r(59929);class s extends n.WF{constructor(){super()}render(){return n.qy` <paper-button>
2
2
  <slot></slot>
3
- </paper-button>`}}(0,n.A)(o,"properties",{}),(0,n.A)(o,"styles",s.AH`
3
+ </paper-button>`}}s.properties={},s.styles=n.AH`
4
4
  paper-button {
5
5
  background: var(--primary);
6
6
  border-radius: 100px;
@@ -12,4 +12,4 @@
12
12
  paper-button:hover {
13
13
  transform: rotate(-90deg);
14
14
  }
15
- `),customElements.define("cdtr-fab-button",o)}}]);
15
+ `,customElements.define("cdtr-fab-button",s)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9570],{59570(t,e,i){i.r(e),i.d(e,{InstagramIcon:()=>s});var r=i(24586),h=i(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy` <svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9570],{59570(t,e,i){i.r(e),i.d(e,{InstagramIcon:()=>h});var r=i(59929);class h extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy` <svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -9,7 +9,7 @@
9
9
  <path
10
10
  d="M12 2c2.717 0 3.056.01 4.122.06 1.065.05 1.79.217 2.428.465.66.254 1.216.598 1.772 1.153a4.908 4.908 0 0 1 1.153 1.772c.247.637.415 1.363.465 2.428.047 1.066.06 1.405.06 4.122 0 2.717-.01 3.056-.06 4.122-.05 1.065-.218 1.79-.465 2.428a4.883 4.883 0 0 1-1.153 1.772 4.915 4.915 0 0 1-1.772 1.153c-.637.247-1.363.415-2.428.465-1.066.047-1.405.06-4.122.06-2.717 0-3.056-.01-4.122-.06-1.065-.05-1.79-.218-2.428-.465a4.89 4.89 0 0 1-1.772-1.153 4.904 4.904 0 0 1-1.153-1.772c-.248-.637-.415-1.363-.465-2.428C2.013 15.056 2 14.717 2 12c0-2.717.01-3.056.06-4.122.05-1.066.217-1.79.465-2.428a4.88 4.88 0 0 1 1.153-1.772A4.897 4.897 0 0 1 5.45 2.525c.638-.248 1.362-.415 2.428-.465C8.944 2.013 9.283 2 12 2zm0 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6.5-.25a1.25 1.25 0 0 0-2.5 0 1.25 1.25 0 0 0 2.5 0zM12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"
11
11
  />
12
- </svg>`}}(0,r.A)(s,"styles",h.AH`
12
+ </svg>`}}h.styles=r.AH`
13
13
  :host {
14
14
  display: inherit;
15
15
  --cdtr-icon-width: 20px;
@@ -20,4 +20,4 @@
20
20
  height: var(--cdtr-icon-height);
21
21
  color: var(--cdtr-icon-color);
22
22
  }
23
- `),(0,r.A)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-instagram-icon",s)}}]);
23
+ `,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-instagram-icon",h)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[975],{30975(t,e,i){i.r(e),i.d(e,{TelegramIcon:()=>s});var r=i(24586),h=i(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`<svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[975],{30975(t,e,i){i.r(e),i.d(e,{TelegramIcon:()=>h});var r=i(59929);class h extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -9,7 +9,7 @@
9
9
  <path
10
10
  d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-3.11-8.83l.013-.007.87 2.87c.112.311.266.367.453.341.188-.025.287-.126.41-.244l1.188-1.148 2.55 1.888c.466.257.801.124.917-.432l1.657-7.822c.183-.728-.137-1.02-.702-.788l-9.733 3.76c-.664.266-.66.638-.12.803l2.497.78z"
11
11
  />
12
- </svg>`}}(0,r.A)(s,"styles",h.AH`
12
+ </svg>`}}h.styles=r.AH`
13
13
  :host {
14
14
  display: inherit;
15
15
  --cdtr-icon-width: 20px;
@@ -20,4 +20,4 @@
20
20
  height: var(--cdtr-icon-height);
21
21
  color: var(--cdtr-icon-color);
22
22
  }
23
- `),(0,r.A)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-telegram-icon",s)}}]);
23
+ `,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-telegram-icon",h)}}]);
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[976],{976(t,e,i){i.r(e),i.d(e,{FacebookIcon:()=>s});var h=i(24586),r=i(59929);class s extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy` <svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[976],{976(t,e,i){i.r(e),i.d(e,{FacebookIcon:()=>r});var h=i(59929);class r extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy` <svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -9,7 +9,7 @@
9
9
  <path
10
10
  d="M15.402 21v-6.966h2.333l.349-2.708h-2.682V9.598c0-.784.218-1.319 1.342-1.319h1.434V5.857a19.19 19.19 0 0 0-2.09-.107c-2.067 0-3.482 1.262-3.482 3.58v1.996h-2.338v2.708h2.338V21H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-4.598z"
11
11
  />
12
- </svg>`}}(0,h.A)(s,"styles",r.AH`
12
+ </svg>`}}r.styles=h.AH`
13
13
  :host {
14
14
  display: inherit;
15
15
  --cdtr-icon-width: 20px;
@@ -20,4 +20,4 @@
20
20
  height: var(--cdtr-icon-height);
21
21
  color: var(--cdtr-icon-color);
22
22
  }
23
- `),(0,h.A)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-facebook-icon",s)}}]);
23
+ `,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-facebook-icon",r)}}]);
Binary file
@@ -1,11 +1,11 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9986],{39986(t,e,i){i.r(e),i.d(e,{JusitifyLeftIcon:()=>r});var s=i(24586),h=i(59929);class r extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`<svg style="${this.iconStyle}" width="${this.width}" height="${this.height}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 28" fill="none">
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9986],{39986(t,e,i){i.r(e),i.d(e,{JusitifyLeftIcon:()=>h});var s=i(59929);class h extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`<svg style="${this.iconStyle}" width="${this.width}" height="${this.height}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19 28" fill="none">
2
2
  <rect x="4" y="12" width="15" height="4" rx="1" fill="var(--primary)"/>
3
3
  <rect x="0.5" y="27.5" width="27" height="2" rx="1" transform="rotate(-90 0.5 27.5)" fill="#C4C4C4"/>
4
4
  </svg>
5
5
 
6
- `}}(0,s.A)(r,"styles",h.AH`
6
+ `}}h.styles=s.AH`
7
7
  :host {
8
8
  display: inherit;
9
9
 
10
10
  }
11
- `),(0,s.A)(r,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-justify-left-icon",r)}}]);
11
+ `,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-justify-left-icon",h)}}]);
Binary file
@@ -1,6 +1,6 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9990],{99990(e,t,i){i.r(t),i.d(t,{Draggable:()=>g});var s,n,o,r,l,u,h,a,c=i(59088),d=i(24586),p=i(36936),f=i(59929),m=i(49410),v=i(21421);let g=(s=(0,m.MZ)({type:Number,reflect:!0}),n=(0,m.MZ)({type:Number,reflect:!0}),o=(0,m.MZ)({type:Boolean,reflect:!0}),a=class extends f.WF{constructor(){super(),(0,c.A)(this,"left",l,this),(0,c.A)(this,"top",u,this),(0,c.A)(this,"isDraging",h,this),(0,d.A)(this,"cloneTarget",null),(0,d.A)(this,"initX",0),(0,d.A)(this,"initY",0),(0,d.A)(this,"firstX",0),(0,d.A)(this,"firstY",0),(0,d.A)(this,"startEvent",void 0),(0,d.A)(this,"mirrorRef",(0,v._)()),this.onMouseMove=this.onMouseMove.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.left=0,this.top=0,this.isDraging=!1,this.startEvent=new UIEvent("start",{view:window,bubbles:!0,cancelable:!0})}onMouseMove(e){if(1!==e.which)return;e.preventDefault();const t=this.cloneTarget;if(t){t.style.zIndex="-1",document.elementFromPoint(e.clientX,e.clientY),t.style.zIndex="9999999999";const i=this.initX+e.pageX-this.firstX,s=this.initY+e.pageY-this.firstY;t.style.left=i+"px",t.style.top=s+"px"}}onMouseUp(e){e.preventDefault(),this.isDraging=!1,this.cloneTarget&&this.cloneTarget.remove(),document.removeEventListener("mousemove",this.onMouseMove,!1),document.removeEventListener("mouseup",this.onMouseUp,!1)}onMouseDown(e){e.preventDefault(),this.isDraging=!0,setTimeout(()=>{const t=this.mirrorRef.value;t&&(this.cloneTarget=t.cloneNode(!0),document.body.appendChild(this.cloneTarget),this.initX=t.offsetLeft,this.initY=t.offsetTop,this.firstX=e.pageX,this.firstY=e.pageY,document.addEventListener("mousemove",this.onMouseMove,!1),document.addEventListener("mouseup",this.onMouseUp,!1),this.dispatchEvent(this.startEvent))},100)}disconnectedCallback(){this.removeEventListener("mousedown",this.onMouseDown)}connectedCallback(){super.connectedCallback(),setTimeout(()=>{this.addEventListener("mousedown",this.onMouseDown)},200)}render(){return f.qy`${this.isDraging?f.qy`<div class="mirror" ${(0,v.K)(this.mirrorRef)}>
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9990],{99990(e,t,i){i.r(t),i.d(t,{Draggable:()=>v});var s,n,o,r,l,u,h,a,c=i(59088),d=i(36936),p=i(59929),f=i(49410),m=i(21421);let v=(s=(0,f.MZ)({type:Number,reflect:!0}),n=(0,f.MZ)({type:Number,reflect:!0}),o=(0,f.MZ)({type:Boolean,reflect:!0}),(a=class extends p.WF{constructor(){super(),(0,c.A)(this,"left",l,this),(0,c.A)(this,"top",u,this),(0,c.A)(this,"isDraging",h,this),this.cloneTarget=null,this.initX=0,this.initY=0,this.firstX=0,this.firstY=0,this.startEvent=void 0,this.mirrorRef=(0,m._)(),this.onMouseMove=this.onMouseMove.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.left=0,this.top=0,this.isDraging=!1,this.startEvent=new UIEvent("start",{view:window,bubbles:!0,cancelable:!0})}onMouseMove(e){if(1!==e.which)return;e.preventDefault();const t=this.cloneTarget;if(t){t.style.zIndex="-1",document.elementFromPoint(e.clientX,e.clientY),t.style.zIndex="9999999999";const i=this.initX+e.pageX-this.firstX,s=this.initY+e.pageY-this.firstY;t.style.left=i+"px",t.style.top=s+"px"}}onMouseUp(e){e.preventDefault(),this.isDraging=!1,this.cloneTarget&&this.cloneTarget.remove(),document.removeEventListener("mousemove",this.onMouseMove,!1),document.removeEventListener("mouseup",this.onMouseUp,!1)}onMouseDown(e){e.preventDefault(),this.isDraging=!0,setTimeout(()=>{const t=this.mirrorRef.value;t&&(this.cloneTarget=t.cloneNode(!0),document.body.appendChild(this.cloneTarget),this.initX=t.offsetLeft,this.initY=t.offsetTop,this.firstX=e.pageX,this.firstY=e.pageY,document.addEventListener("mousemove",this.onMouseMove,!1),document.addEventListener("mouseup",this.onMouseUp,!1),this.dispatchEvent(this.startEvent))},100)}disconnectedCallback(){this.removeEventListener("mousedown",this.onMouseDown)}connectedCallback(){super.connectedCallback(),setTimeout(()=>{this.addEventListener("mousedown",this.onMouseDown)},200)}render(){return p.qy`${this.isDraging?p.qy`<div class="mirror" ${(0,m.K)(this.mirrorRef)}>
2
2
  <slot name="mirror"></slot>
3
- </div>`:null} <slot></slot>`}},(0,d.A)(a,"styles",f.AH`
3
+ </div>`:null} <slot></slot>`}}).styles=p.AH`
4
4
  :host {
5
5
  display: inline-block;
6
6
  width: 100%;
@@ -13,4 +13,4 @@
13
13
  .mirror {
14
14
  position: fixed;
15
15
  }
16
- `),r=a,l=(0,p.A)(r.prototype,"left",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(r.prototype,"top",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,p.A)(r.prototype,"isDraging",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r);customElements.define("cdtr-draggale-mirror",g)}}]);
16
+ `,r=a,l=(0,d.A)(r.prototype,"left",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,d.A)(r.prototype,"top",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,d.A)(r.prototype,"isDraging",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r);customElements.define("cdtr-draggale-mirror",v)}}]);
Binary file