@creaditor/newsletter-starterkit 1.0.43 → 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.
- package/dist/112.creaditor.bundle.js +3 -3
- package/dist/112.creaditor.bundle.js.gz +0 -0
- package/dist/1260.creaditor.bundle.js +11 -11
- package/dist/1260.creaditor.bundle.js.gz +0 -0
- package/dist/1271.creaditor.bundle.js +6 -6
- package/dist/1271.creaditor.bundle.js.gz +0 -0
- package/dist/1334.creaditor.bundle.js +3 -3
- package/dist/1334.creaditor.bundle.js.gz +0 -0
- package/dist/1452.creaditor.bundle.js +3 -3
- package/dist/1452.creaditor.bundle.js.gz +0 -0
- package/dist/1456.creaditor.bundle.js +3 -3
- package/dist/1456.creaditor.bundle.js.gz +0 -0
- package/dist/1529.creaditor.bundle.js +2 -2
- package/dist/1529.creaditor.bundle.js.gz +0 -0
- package/dist/1565.creaditor.bundle.js +100 -100
- package/dist/1565.creaditor.bundle.js.gz +0 -0
- package/dist/170.creaditor.bundle.js +8 -8
- package/dist/170.creaditor.bundle.js.gz +0 -0
- package/dist/175.creaditor.bundle.js +5 -5
- package/dist/175.creaditor.bundle.js.gz +0 -0
- package/dist/1972.creaditor.bundle.js +2 -2
- package/dist/1972.creaditor.bundle.js.gz +0 -0
- package/dist/211.creaditor.bundle.js +1 -1
- package/dist/211.creaditor.bundle.js.gz +0 -0
- package/dist/2112.creaditor.bundle.js +3 -3
- package/dist/2112.creaditor.bundle.js.gz +0 -0
- package/dist/2350.creaditor.bundle.js +3 -3
- package/dist/2350.creaditor.bundle.js.gz +0 -0
- package/dist/2377.creaditor.bundle.js +7 -7
- package/dist/2377.creaditor.bundle.js.gz +0 -0
- package/dist/2384.creaditor.bundle.js +6 -6
- package/dist/2384.creaditor.bundle.js.gz +0 -0
- package/dist/2397.creaditor.bundle.js +4 -4
- package/dist/2397.creaditor.bundle.js.gz +0 -0
- package/dist/2409.creaditor.bundle.js +4 -4
- package/dist/2409.creaditor.bundle.js.gz +0 -0
- package/dist/2438.creaditor.bundle.js +5 -5
- package/dist/2438.creaditor.bundle.js.gz +0 -0
- package/dist/2547.creaditor.bundle.js +2 -2
- package/dist/2547.creaditor.bundle.js.gz +0 -0
- package/dist/2590.creaditor.bundle.js +2 -2
- package/dist/2590.creaditor.bundle.js.gz +0 -0
- package/dist/271.creaditor.bundle.js +7 -7
- package/dist/271.creaditor.bundle.js.gz +0 -0
- package/dist/2773.creaditor.bundle.js +3 -3
- package/dist/2773.creaditor.bundle.js.gz +0 -0
- package/dist/2833.creaditor.bundle.js +3 -3
- package/dist/2833.creaditor.bundle.js.gz +0 -0
- package/dist/2834.creaditor.bundle.js +2 -2
- package/dist/2834.creaditor.bundle.js.gz +0 -0
- package/dist/2956.creaditor.bundle.js +3 -3
- package/dist/2956.creaditor.bundle.js.gz +0 -0
- package/dist/2963.creaditor.bundle.js +3 -3
- package/dist/2963.creaditor.bundle.js.gz +0 -0
- package/dist/307.creaditor.bundle.js +3 -3
- package/dist/307.creaditor.bundle.js.gz +0 -0
- package/dist/3095.creaditor.bundle.js +13 -13
- package/dist/3095.creaditor.bundle.js.gz +0 -0
- package/dist/3233.creaditor.bundle.js +2 -2
- package/dist/3233.creaditor.bundle.js.gz +0 -0
- package/dist/3521.creaditor.bundle.js +3 -3
- package/dist/3521.creaditor.bundle.js.gz +0 -0
- package/dist/353.creaditor.bundle.js +3 -3
- package/dist/353.creaditor.bundle.js.gz +0 -0
- package/dist/3553.creaditor.bundle.js +5 -5
- package/dist/3553.creaditor.bundle.js.gz +0 -0
- package/dist/3606.creaditor.bundle.js +5 -5
- package/dist/3606.creaditor.bundle.js.gz +0 -0
- package/dist/365.creaditor.bundle.js +3 -3
- package/dist/365.creaditor.bundle.js.gz +0 -0
- package/dist/3827.creaditor.bundle.js +3 -3
- package/dist/3827.creaditor.bundle.js.gz +0 -0
- package/dist/3875.creaditor.bundle.js +3 -3
- package/dist/3875.creaditor.bundle.js.gz +0 -0
- package/dist/3932.creaditor.bundle.js +3 -3
- package/dist/3932.creaditor.bundle.js.gz +0 -0
- package/dist/3971.creaditor.bundle.js +3 -3
- package/dist/3971.creaditor.bundle.js.gz +0 -0
- package/dist/407.creaditor.bundle.js +3 -3
- package/dist/407.creaditor.bundle.js.gz +0 -0
- package/dist/4074.creaditor.bundle.js +3 -3
- package/dist/4074.creaditor.bundle.js.gz +0 -0
- package/dist/4100.creaditor.bundle.js +2 -2
- package/dist/4100.creaditor.bundle.js.gz +0 -0
- package/dist/4114.creaditor.bundle.js +3 -3
- package/dist/4114.creaditor.bundle.js.gz +0 -0
- package/dist/4161.creaditor.bundle.js +3 -3
- package/dist/4161.creaditor.bundle.js.gz +0 -0
- package/dist/4217.creaditor.bundle.js +7 -7
- package/dist/4217.creaditor.bundle.js.gz +0 -0
- package/dist/4288.creaditor.bundle.js +4 -4
- package/dist/4288.creaditor.bundle.js.gz +0 -0
- package/dist/4413.creaditor.bundle.js +3 -3
- package/dist/4413.creaditor.bundle.js.gz +0 -0
- package/dist/4475.creaditor.bundle.js +3 -3
- package/dist/4475.creaditor.bundle.js.gz +0 -0
- package/dist/453.creaditor.bundle.js +12 -12
- package/dist/453.creaditor.bundle.js.gz +0 -0
- package/dist/4569.creaditor.bundle.js +72 -72
- package/dist/4569.creaditor.bundle.js.gz +0 -0
- package/dist/4615.creaditor.bundle.js +2 -2
- package/dist/4615.creaditor.bundle.js.gz +0 -0
- package/dist/467.creaditor.bundle.js +3 -3
- package/dist/467.creaditor.bundle.js.gz +0 -0
- package/dist/4762.creaditor.bundle.js +3 -3
- package/dist/4762.creaditor.bundle.js.gz +0 -0
- package/dist/4770.creaditor.bundle.js +3 -3
- package/dist/4770.creaditor.bundle.js.gz +0 -0
- package/dist/4947.creaditor.bundle.js +3 -3
- package/dist/4947.creaditor.bundle.js.gz +0 -0
- package/dist/4988.creaditor.bundle.js +2 -2
- package/dist/4988.creaditor.bundle.js.gz +0 -0
- package/dist/5133.creaditor.bundle.js +5 -5
- package/dist/5133.creaditor.bundle.js.gz +0 -0
- package/dist/5156.creaditor.bundle.js +7 -7
- package/dist/5156.creaditor.bundle.js.gz +0 -0
- package/dist/5340.creaditor.bundle.js +5 -5
- package/dist/5340.creaditor.bundle.js.gz +0 -0
- package/dist/5391.creaditor.bundle.js +3 -3
- package/dist/5391.creaditor.bundle.js.gz +0 -0
- package/dist/5411.creaditor.bundle.js +3 -3
- package/dist/5411.creaditor.bundle.js.gz +0 -0
- package/dist/5428.creaditor.bundle.js +3 -3
- package/dist/5428.creaditor.bundle.js.gz +0 -0
- package/dist/5501.creaditor.bundle.js +13 -13
- package/dist/5501.creaditor.bundle.js.gz +0 -0
- package/dist/5530.creaditor.bundle.js +4 -4
- package/dist/5530.creaditor.bundle.js.gz +0 -0
- package/dist/5666.creaditor.bundle.js +3 -3
- package/dist/5666.creaditor.bundle.js.gz +0 -0
- package/dist/567.creaditor.bundle.js +6 -6
- package/dist/567.creaditor.bundle.js.gz +0 -0
- package/dist/578.creaditor.bundle.js +4 -4
- package/dist/578.creaditor.bundle.js.gz +0 -0
- package/dist/5839.creaditor.bundle.js +2 -2
- package/dist/5839.creaditor.bundle.js.gz +0 -0
- package/dist/5849.creaditor.bundle.js +3 -3
- package/dist/5849.creaditor.bundle.js.gz +0 -0
- package/dist/5850.creaditor.bundle.js +3 -3
- package/dist/5850.creaditor.bundle.js.gz +0 -0
- package/dist/589.creaditor.bundle.js +11 -11
- package/dist/589.creaditor.bundle.js.gz +0 -0
- package/dist/5926.creaditor.bundle.js +6 -6
- package/dist/5926.creaditor.bundle.js.gz +0 -0
- package/dist/6036.creaditor.bundle.js +2 -2
- package/dist/6036.creaditor.bundle.js.gz +0 -0
- package/dist/638.creaditor.bundle.js +3 -3
- package/dist/638.creaditor.bundle.js.gz +0 -0
- package/dist/6442.creaditor.bundle.js +3 -3
- package/dist/6442.creaditor.bundle.js.gz +0 -0
- package/dist/6459.creaditor.bundle.js +3 -3
- package/dist/6459.creaditor.bundle.js.gz +0 -0
- package/dist/6496.creaditor.bundle.js +3 -3
- package/dist/6496.creaditor.bundle.js.gz +0 -0
- package/dist/653.creaditor.bundle.js +3 -3
- package/dist/653.creaditor.bundle.js.gz +0 -0
- package/dist/7155.creaditor.bundle.js +3 -3
- package/dist/7155.creaditor.bundle.js.gz +0 -0
- package/dist/7209.creaditor.bundle.js +26 -26
- package/dist/7209.creaditor.bundle.js.gz +0 -0
- package/dist/7238.creaditor.bundle.js +6 -6
- package/dist/7238.creaditor.bundle.js.gz +0 -0
- package/dist/7255.creaditor.bundle.js +2 -2
- package/dist/7255.creaditor.bundle.js.gz +0 -0
- package/dist/7307.creaditor.bundle.js +11 -11
- package/dist/7307.creaditor.bundle.js.gz +0 -0
- package/dist/738.creaditor.bundle.js +2 -2
- package/dist/738.creaditor.bundle.js.gz +0 -0
- package/dist/7380.creaditor.bundle.js +2 -2
- package/dist/7380.creaditor.bundle.js.gz +0 -0
- package/dist/752.creaditor.bundle.js +3 -3
- package/dist/752.creaditor.bundle.js.gz +0 -0
- package/dist/7523.creaditor.bundle.js +3 -3
- package/dist/7523.creaditor.bundle.js.gz +0 -0
- package/dist/767.creaditor.bundle.js +7 -7
- package/dist/767.creaditor.bundle.js.gz +0 -0
- package/dist/7759.creaditor.bundle.js +3 -3
- package/dist/7759.creaditor.bundle.js.gz +0 -0
- package/dist/7838.creaditor.bundle.js +3 -3
- package/dist/7838.creaditor.bundle.js.gz +0 -0
- package/dist/7937.creaditor.bundle.js +12 -12
- package/dist/7937.creaditor.bundle.js.gz +0 -0
- package/dist/7997.creaditor.bundle.js +3 -3
- package/dist/7997.creaditor.bundle.js.gz +0 -0
- package/dist/8042.creaditor.bundle.js +5 -5
- package/dist/8042.creaditor.bundle.js.gz +0 -0
- package/dist/8064.creaditor.bundle.js +3 -3
- package/dist/8064.creaditor.bundle.js.gz +0 -0
- package/dist/8141.creaditor.bundle.js +2 -2
- package/dist/8141.creaditor.bundle.js.gz +0 -0
- package/dist/8251.creaditor.bundle.js +3 -3
- package/dist/8251.creaditor.bundle.js.gz +0 -0
- package/dist/8305.creaditor.bundle.js +3 -3
- package/dist/8305.creaditor.bundle.js.gz +0 -0
- package/dist/8315.creaditor.bundle.js +2 -2
- package/dist/8315.creaditor.bundle.js.gz +0 -0
- package/dist/8443.creaditor.bundle.js +3 -3
- package/dist/8443.creaditor.bundle.js.gz +0 -0
- package/dist/8516.creaditor.bundle.js +2 -2
- package/dist/8516.creaditor.bundle.js.gz +0 -0
- package/dist/8570.creaditor.bundle.js +3 -3
- package/dist/8570.creaditor.bundle.js.gz +0 -0
- package/dist/8646.creaditor.bundle.js +5 -5
- package/dist/8646.creaditor.bundle.js.gz +0 -0
- package/dist/8654.creaditor.bundle.js +5 -5
- package/dist/8654.creaditor.bundle.js.gz +0 -0
- package/dist/8676.creaditor.bundle.js +3 -3
- package/dist/8676.creaditor.bundle.js.gz +0 -0
- package/dist/8854.creaditor.bundle.js +3 -3
- package/dist/8854.creaditor.bundle.js.gz +0 -0
- package/dist/8916.creaditor.bundle.js +2 -2
- package/dist/8916.creaditor.bundle.js.gz +0 -0
- package/dist/8921.creaditor.bundle.js +3 -3
- package/dist/8921.creaditor.bundle.js.gz +0 -0
- package/dist/9041.creaditor.bundle.js +8 -8
- package/dist/9041.creaditor.bundle.js.gz +0 -0
- package/dist/9089.creaditor.bundle.js +3 -3
- package/dist/9089.creaditor.bundle.js.gz +0 -0
- package/dist/9162.creaditor.bundle.js +3 -3
- package/dist/9162.creaditor.bundle.js.gz +0 -0
- package/dist/9184.creaditor.bundle.js +3 -3
- package/dist/9184.creaditor.bundle.js.gz +0 -0
- package/dist/9250.creaditor.bundle.js +3 -3
- package/dist/9250.creaditor.bundle.js.gz +0 -0
- package/dist/9386.creaditor.bundle.js +3 -3
- package/dist/9386.creaditor.bundle.js.gz +0 -0
- package/dist/9453.creaditor.bundle.js +3 -3
- package/dist/9453.creaditor.bundle.js.gz +0 -0
- package/dist/9570.creaditor.bundle.js +3 -3
- package/dist/9570.creaditor.bundle.js.gz +0 -0
- package/dist/975.creaditor.bundle.js +3 -3
- package/dist/975.creaditor.bundle.js.gz +0 -0
- package/dist/976.creaditor.bundle.js +3 -3
- package/dist/976.creaditor.bundle.js.gz +0 -0
- package/dist/9986.creaditor.bundle.js +3 -3
- package/dist/9986.creaditor.bundle.js.gz +0 -0
- package/dist/9990.creaditor.bundle.js +3 -3
- package/dist/9990.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor.bundle.js +269 -268
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2963],{32963(t,i,e){e.r(i),e.d(i,{AnchorIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2963],{32963(t,i,e){e.r(i),e.d(i,{AnchorIcon:()=>r});var h=e(59929);class r 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="M2.05 11H7v2H4.062A8.004 8.004 0 0 0 11 19.938V9.874A4.002 4.002 0 0 1 12 2a4 4 0 0 1 1 7.874v10.064A8.004 8.004 0 0 0 19.938 13H17v-2h4.95c.033.329.05.663.05 1 0 5.523-4.477 10-10 10S2 17.523 2 12c0-.337.017-.671.05-1zM12 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"
|
|
13
13
|
/>
|
|
14
|
-
</svg>`}}
|
|
14
|
+
</svg>`}}r.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
|
-
|
|
25
|
+
`,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-anchor-icon",r)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[307],{307(t,i,e){e.r(i),e.d(i,{TimeIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[307],{307(t,i,e){e.r(i),e.d(i,{TimeIcon:()=>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
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
viewBox="0 0 24 24"
|
|
4
4
|
style="${this.iconStyle}"
|
|
@@ -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 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm1-8h4v2h-6V7h2v5z"
|
|
11
11
|
/>
|
|
12
|
-
</svg>`}}
|
|
12
|
+
</svg>`}}s.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
|
-
|
|
23
|
+
`,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-time-icon",s)}}]);
|
|
Binary file
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3095],{73095(e,t,o){o.r(t),o.d(t,{default:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3095],{73095(e,t,o){o.r(t),o.d(t,{default:()=>d});var i=o(59929),s=o(21421),n=o(69600);class d extends i.WF{constructor(){super(),this.contentRef=(0,s._)(),this.toggle=this.toggle.bind(this),this.onEnter=this.onEnter.bind(this),this.onKeydown=this.onKeydown.bind(this),this.overflow=!0,this.maxHeight=300,this.left=0,this.top=0,this.custom=!1,this.opened=!1}close(){this.toggle()}onBouncing(e){this.searchText=e.target.value;const t=new UIEvent("search",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t)}render(){return i.qy`
|
|
2
2
|
<slot @click=${()=>this.toggle()} tabindex="0" name="trigger"></slot>
|
|
3
|
-
${this.opened?
|
|
3
|
+
${this.opened?i.qy` <div
|
|
4
4
|
@mouseup=${this.onClickOutside}
|
|
5
5
|
class="backdrop"
|
|
6
|
-
style="z-index:${(0,
|
|
6
|
+
style="z-index:${(0,n.A)()};"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
|
-
${(0,
|
|
9
|
+
${(0,s.K)(this.contentRef)}
|
|
10
10
|
@mouseup=${this.preventClosing}
|
|
11
|
-
style="z-index:${(0,
|
|
11
|
+
style="z-index:${(0,n.A)()};left:${this.left}px;top:${this.top}px;"
|
|
12
12
|
class="dropdown-content fade-in ${this.custom?"":"dropdown-background"}"
|
|
13
13
|
>
|
|
14
|
-
${this.search?
|
|
14
|
+
${this.search?i.qy`<cdtr-input
|
|
15
15
|
@input=${this.onBouncing}
|
|
16
16
|
type="search"
|
|
17
17
|
value=${this.searchText}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<slot name="content"></slot>
|
|
20
20
|
</div>
|
|
21
21
|
</div>`:null}
|
|
22
|
-
`}preventClosing(e){return e.stopPropagation(),setTimeout(()=>{this.calcRects()},0),!1}onClickOutside(){this.toggle(!1)}updated(){this.opened&&(setTimeout(()=>{this.calcRects()},0),this.contentRef.value?.classList.add("fade-in"),this.contentRef.value.style.maxHeight=`${this.maxHeight}px`)}calcRects(){let e=0,t=0;const o=this.getBoundingClientRect(),i=this.contentRef?.value?.getBoundingClientRect();i&&(e=o.left,t=o.top,e<0&&(e=0),t<0&&(t=0),e+i.width>window.innerWidth&&(e=window.innerWidth-i.width),t+i.height>window.innerHeight&&(t=window.innerHeight-i.height),this.left=e,this.top=t,this.contentRef.value.style.left=`${o.left}px`,this.contentRef.value.style.top=`${t+o.height}px`,this.contentRef.value.style.overflow=this.overflow?"hidden auto":"hidden")}toggle(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=e||!this.opened;t?(window.removeEventListener("keydown",this.onKeydown),window.addEventListener("keydown",this.onKeydown),this.opened=t,setTimeout(()=>{const e=this.focusedItem=this.querySelector("cdtr-dropdown-item[focused]")||this.querySelector("cdtr-dropdown-item");e&&e.focus()},20)):(window.removeEventListener("keydown",this.onKeydown),this.contentRef.value?.classList.add("fade-out"),setTimeout(()=>{this.opened=t},150)),this.setAttribute("aria-expanded",t)}onEnter(e){e.target===this&&13===e.keyCode&&this.toggle()}onKeydown(e){this.focusedItem&&40===e.keyCode&&this.focusedItem.nextElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.nextElementSibling.nodeName?(this.focusedItem=this.focusedItem.nextElementSibling,this.focusedItem&&this.focusedItem.focus()):this.focusedItem&&38===e.keyCode&&this.focusedItem.previousElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.previousElementSibling.nodeName?(this.focusedItem=this.focusedItem.previousElementSibling,this.focusedItem&&this.focusedItem.focus()):27===e.keyCode&&this.toggle();const t=new UIEvent("keypress",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("tabindex","0"),this.setAttribute("aria-disabled","false"),this.setAttribute("aria-haspopup","true"),this.setAttribute("aria-expanded",this.opened),this.addEventListener("keydown",this.onEnter),setTimeout(()=>{this.opened&&this.toggle(!0)},50)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("keydown",this.onKeydown)}patch(e){this.value=e,this.toggle(!1);const t=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t),setTimeout(()=>{this.focus()},0)}}
|
|
22
|
+
`}preventClosing(e){return e.stopPropagation(),setTimeout(()=>{this.calcRects()},0),!1}onClickOutside(){this.toggle(!1)}updated(){this.opened&&(setTimeout(()=>{this.calcRects()},0),this.contentRef.value?.classList.add("fade-in"),this.contentRef.value.style.maxHeight=`${this.maxHeight}px`)}calcRects(){let e=0,t=0;const o=this.getBoundingClientRect(),i=this.contentRef?.value?.getBoundingClientRect();i&&(e=o.left,t=o.top,e<0&&(e=0),t<0&&(t=0),e+i.width>window.innerWidth&&(e=window.innerWidth-i.width),t+i.height>window.innerHeight&&(t=window.innerHeight-i.height),this.left=e,this.top=t,this.contentRef.value.style.left=`${o.left}px`,this.contentRef.value.style.top=`${t+o.height}px`,this.contentRef.value.style.overflow=this.overflow?"hidden auto":"hidden")}toggle(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=e||!this.opened;t?(window.removeEventListener("keydown",this.onKeydown),window.addEventListener("keydown",this.onKeydown),this.opened=t,setTimeout(()=>{const e=this.focusedItem=this.querySelector("cdtr-dropdown-item[focused]")||this.querySelector("cdtr-dropdown-item");e&&e.focus()},20)):(window.removeEventListener("keydown",this.onKeydown),this.contentRef.value?.classList.add("fade-out"),setTimeout(()=>{this.opened=t},150)),this.setAttribute("aria-expanded",t)}onEnter(e){e.target===this&&13===e.keyCode&&this.toggle()}onKeydown(e){this.focusedItem&&40===e.keyCode&&this.focusedItem.nextElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.nextElementSibling.nodeName?(this.focusedItem=this.focusedItem.nextElementSibling,this.focusedItem&&this.focusedItem.focus()):this.focusedItem&&38===e.keyCode&&this.focusedItem.previousElementSibling&&"CDTR-DROPDOWN-ITEM"===this.focusedItem.previousElementSibling.nodeName?(this.focusedItem=this.focusedItem.previousElementSibling,this.focusedItem&&this.focusedItem.focus()):27===e.keyCode&&this.toggle();const t=new UIEvent("keypress",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setAttribute("tabindex","0"),this.setAttribute("aria-disabled","false"),this.setAttribute("aria-haspopup","true"),this.setAttribute("aria-expanded",this.opened),this.addEventListener("keydown",this.onEnter),setTimeout(()=>{this.opened&&this.toggle(!0)},50)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("keydown",this.onKeydown)}patch(e){this.value=e,this.toggle(!1);const t=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t),setTimeout(()=>{this.focus()},0)}}d.styles=i.AH`
|
|
23
23
|
:host {
|
|
24
24
|
display: inline-block;
|
|
25
25
|
overflow: hidden;
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
opacity: 0;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
`,d.properties={search:{type:Boolean},searchText:{type:String},left:{type:Number},top:{type:Number},opened:{type:Boolean},maxHeight:{type:Number},overflow:{type:Boolean},value:{type:String},custom:{type:String}};class r extends i.WF{constructor(){super(),this.minWidth=50}render(){return i.qy`<paper-button style="min-width:${this.minWidth}px"
|
|
77
77
|
><slot></slot> <cdtr-dd-arrow-icon></cdtr-dd-arrow-icon
|
|
78
|
-
></paper-button>`}}
|
|
78
|
+
></paper-button>`}}r.properties={minWidth:{type:Number}},r.styles=i.AH`
|
|
79
79
|
paper-button {
|
|
80
80
|
display: flex;
|
|
81
81
|
justify-content: space-between;
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
paper-button:hover {
|
|
105
105
|
border-color: black;
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
`;class c extends i.WF{constructor(){super(),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}focus(){this.shadowRoot.querySelector(".dropdown-item").focus()}onFocus(){this.focused=!0}onBlur(){this.focused=!1}onClick(e){if(this.notClickable)return;const t=this.closest("cdtr-dropdown");t&&t.patch(this.value,e,this)}onPress(e){if(13===e.keyCode){const t=new UIEvent("click",{view:window,bubbles:!0,cancelable:!0});this.dispatchEvent(t);const o=this.closest("cdtr-dropdown");o&&o.patch(this.value,e,this)}}connectedCallback(){super.connectedCallback(),this.selected&&this.scrollIntoView({behavior:"smooth",block:"start"})}render(){return i.qy`<div role="button"
|
|
108
108
|
@click=${this.onClick}
|
|
109
109
|
@keydown=${this.onPress}
|
|
110
110
|
@blur=${this.onBlur}
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
class="dropdown-item"
|
|
113
113
|
tabindex="0"
|
|
114
114
|
>
|
|
115
|
-
${this.selected?
|
|
115
|
+
${this.selected?i.qy` <svg
|
|
116
116
|
class="selected-svg"
|
|
117
117
|
fill="var(--primary)"
|
|
118
118
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
/>
|
|
127
127
|
</svg>`:null}
|
|
128
128
|
<slot></slot>
|
|
129
|
-
</div>`}}
|
|
129
|
+
</div>`}}c.properties={focused:{type:Boolean,reflect:!0},selected:{type:Boolean,reflect:!0},value:{type:String,reflect:!0},notClickable:{type:Boolean}},c.styles=i.AH`
|
|
130
130
|
.dropdown-item {
|
|
131
131
|
position: relative;
|
|
132
132
|
box-sizing: border-box;
|
|
@@ -158,4 +158,4 @@
|
|
|
158
158
|
transform: translate(-70%, -50%);
|
|
159
159
|
top: 50%;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
`,customElements.get("cdtr-dropdown-item")||customElements.define("cdtr-dropdown-item",c),customElements.get("cdtr-dropdown-button")||customElements.define("cdtr-dropdown-button",r),customElements.get("cdtr-dropdown")||customElements.define("cdtr-dropdown",d)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3233],{73233(t,e,i){i.r(e),i.d(e,{DuplicateIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3233],{73233(t,e,i){i.r(e),i.d(e,{DuplicateIcon:()=>r});var h=i(59929);class r extends h.WF{constructor(){super(),this.iconStyle=""}render(){return h.qy`<svg style="${this.iconStyle}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z" /><path d="M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.007-1H7zM5.003 8L5 20h10V8H5.003zM9 6h8v10h2V4H9v2z" /></svg>`}}r.styles=h.AH`
|
|
2
2
|
:host {
|
|
3
3
|
display: inherit;
|
|
4
4
|
--cdtr-icon-width: 20px;
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
height: var(--cdtr-icon-height);
|
|
10
10
|
color: var(--cdtr-icon-color);
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
`,r.properties={iconStyle:{type:String}},customElements.define("cdtr-dupicate-icon",r)}}]);
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3521],{83521(t,e,i){i.r(e),i.d(e,{DesignFactory:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3521],{83521(t,e,i){i.r(e),i.d(e,{DesignFactory:()=>c});var o=i(5441),r=i(59929),n=i(9507),s=i(18057),d=i(86319);i.e(8315).then(i.bind(i,68315));class c extends r.WF{constructor(){super(),this.lastEditor=null,d.M.set({injectEditor:t=>{this.injected=!0,this.lastEditor=this.editor,this.backToEditor=this.editor,this.editor=t}}),this.editor=r.qy`<cdtr-ilustration-preference
|
|
2
2
|
width="200px"
|
|
3
3
|
height="200px"
|
|
4
|
-
></cdtr-ilustration-preference>`,this.delayer=new
|
|
4
|
+
></cdtr-ilustration-preference>`,this.delayer=new s.A,this.connect=this.connect.bind(this),this.editors={block:{selector:"block-editor",load:()=>i.e(1260).then(i.bind(i,91260)),component:null},no_editor:{selector:"cdtr-no-component",load:()=>i.e(8854).then(i.bind(i,68854)),component:null,attrs:{style:"margin:auto;display:block;max-width:150px;margin-top:30px;"}}},this.type=null,n.Ay.on("select",this.connect)}connect(t){let{editor:e}=t;if(!e)return;let i=e.type;if("string"!=typeof i)return;if(this.editor?.type===i)return;if(!this.editors[i]){const t=d.M.get("config","editor","configure","plugins");if(Array.isArray(t)){const e=t.find(t=>t.name===i);if(e&&"function"==typeof e.createEditor){this.editor=document.createElement("cdtr-editor-builder"),this.editor.type=i;const t=e.createEditor();return void(t&&(this.editor.editors=t.layout,t!==this.backToEditor&&this.lastEditor&&(this.lastEditor=null)))}}i="no_editor"}this.type=i;const r=(0,o.A)("div",null,(0,o.A)("cdtr-block-loader",null),(0,o.A)("cdtr-title",{style:"text-align:center;"},(0,o.A)("lang-text",{text:"please_wait_downloading_new_version"})));this.editors[i]&&!this.editors[i].component&&(this.editors[i].load().then(()=>{if(r.remove(),this.editors[i].attrs)for(const t in this.editors[i].attrs)if(Object.hasOwnProperty.call(this.editors[i].attrs,t)){const e=this.editors[i].attrs[t];this.editors[i].component[t]=e}}),this.editors[i].component=document.createElement(this.editors[i].selector),this.editors[i].component.appendChild(r)),this.editors[i].component&&(this.editor=this.editors[i].component)}goBack(){this.lastEditor&&(this.editor=this.lastEditor,this.lastEditor=null)}createRenderRoot(){return this}render(){return r.qy` ${this.lastEditor?r.qy` <cdtr-row justify="end">
|
|
5
5
|
<paper-button
|
|
6
6
|
@click=${this.goBack}
|
|
7
7
|
style="margin:.5rem 0;padding:0;min-width:0;direction:var(--direction-locale);"
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
><lang-text style="font-weight:700;" text="go_back"></lang-text
|
|
10
10
|
></paper-button>
|
|
11
11
|
</cdtr-row>`:""}
|
|
12
|
-
${this.editor}`}}
|
|
12
|
+
${this.editor}`}}c.properties={type:{type:String},editor:{type:Object},injected:{type:Boolean}},customElements.define("design-factory",c)}}]);
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[353],{40353(e,t,s){var n=s(
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[353],{40353(e,t,s){var n=s(59929),i=s(40156),r=s(21421),o=s(12106);class a extends n.WF{constructor(){super(),this.containerRef=(0,r._)(),this.renderStyles=()=>`#${this.containerId} canvas {height:100% !important;width:100% !important;}`,this.containerId="halo-"+(0,o.A)(),this.config={mouseControls:!0,touchControls:!0,gyroControls:!1,minHeight:200,minWidth:200,size:1}}createRenderRoot(){return this}render(){return n.qy`<div
|
|
2
2
|
style="height:100%;width:100%;"
|
|
3
3
|
id=${this.containerId}
|
|
4
|
-
${(0,
|
|
4
|
+
${(0,r.K)(this.containerRef)}
|
|
5
5
|
>
|
|
6
6
|
<style>
|
|
7
7
|
${this.renderStyles()}
|
|
8
8
|
</style>
|
|
9
|
-
</div>`}connectedCallback(){super.connectedCallback(),(0,
|
|
9
|
+
</div>`}connectedCallback(){super.connectedCallback(),(0,i.A)("https://cdnjs.cloudflare.com/ajax/libs/three.js/r121/three.min.js",()=>{(0,i.A)("https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.halo.min.js",()=>{setTimeout(()=>{window.VANTA&&(this.config.el=this.containerRef.value,this.effect=window.VANTA.HALO(this.config))},100)})})}disconnectedCallback(){super.disconnectedCallback()}}a.properties={name:{}},a.styles=n.AH``,customElements.define("cdtr-halo-preset",a)}}]);
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3553],{3553(e,t,n){n.r(t),n.d(t,{AnimationEditor:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3553],{3553(e,t,n){n.r(t),n.d(t,{AnimationEditor:()=>r});var s=n(59929),o=n(9507),i=n(49937),a=n(86319),c=n(49549);const d=[{id:1,name:"fade_in",class_code:"fadeIn",src:"",props:{},puzzle:[{type:"fade-in"}]},{id:1,name:"fade_in_down",class_code:"fadeInDown",puzzle:[{type:"fade-in-down"}],props:{}},{id:1,name:"back_in_down",class_code:"backInDown",puzzle:[{type:"back-in-down"}],props:{}},{id:1,name:"back_in_right",class_code:"backInRight",puzzle:[{type:"back-in-right"}],props:{}},{id:1,name:"bounce",class_code:"bounce",puzzle:[{type:"bounce"}],props:{}},{id:1,name:"tada",class_code:"tada",puzzle:[{type:"tada"}],props:{}}];class r extends s.WF{constructor(){super(),this.animationsOptions=[{type:"scroll",props:{},title:"on_scroll"}],this.stack=[],this.selectedAnimations=null,this.animations=d,this.onInspect=this.onInspect.bind(this)}onMouseClick(e,t){switch(e){case"scroll":o.Ay.store().execCommand("interactions",e=>{const n=e.props.interactions,s=n.findIndex(e=>"scroll"===e.on&&"animation"===e.type);let o;return-1!==s&&(o=n[s],n.splice(s,1)),o&&o.value===t.class_code&&"className"===o.as&&"scroll"===o.on?(i.A.dispatch("snackbar",{text:a.M.get("lang","animation_deleted")}),n):(n.push({on:"scroll",type:"animation",as:"className",value:t.class_code}),i.A.dispatch("snackbar",{text:a.M.get("lang","animation_added")}),n)});break;case"hover":o.Ay.store().execCommand("interactions",e=>{const n=e.props.interactions,s=n.findIndex(e=>"hover"===e.on&&"animation"===e.type);let o;return-1!==s&&(o=n[s],n.splice(s,1)),o&&o.value===t.class_code&&"className"===o.as&&"hover"===o.on?(i.A.dispatch("snackbar",{text:a.M.get("lang","animation_deleted")}),n):(n.push({on:"hover",type:"animation",as:"className",value:t.class_code}),i.A.dispatch("snackbar",{text:a.M.get("lang","animation_added")}),n)})}}onMouseEnter(e){setTimeout(()=>{e.overed=!0,o.Ay.components.forEach(t=>{this.stack.push({animation:e,component:t}),t.element.classList.add(`cdtr__animate__${e.class_code}`),t.element.classList.add("cdtr__animated")}),this.animations=JSON.parse(JSON.stringify(this.animations))},20)}onMouseLeave(e){e.overed=!1,this.stack.forEach(e=>{let{component:t,animation:n}=e;t.element.classList.remove(`cdtr__animate__${n.class_code}`),t.element.classList.remove("cdtr__animated")}),this.stack=[],this.animations=JSON.parse(JSON.stringify(this.animations))}onInspect(){const e=o.Ay.components[0];if(e){const t=e.props.interactions.filter(e=>e.type="animation");this.selectedAnimations=t}}connectedCallback(){super.connectedCallback(),this.style.zIndex=99,this.onInspect(),o.Ay.on("select",this.onInspect),o.Ay.on("update",this.onInspect)}disconnectedCallback(){super.disconnectedCallback(),o.Ay.off("select",this.onInspect),o.Ay.off("update",this.onInspect)}render(){return s.qy`
|
|
2
2
|
<cdtr-accordion-item isOpen=${!0} label="on_scroll">
|
|
3
3
|
<cdtr-row>
|
|
4
|
-
${(0,
|
|
4
|
+
${(0,c.u)(this.animations,e=>e.id,e=>s.qy`<cdtr-col
|
|
5
5
|
@mouseenter=${t=>this.onMouseEnter(e)}
|
|
6
6
|
@mouseleave=${()=>this.onMouseLeave(e)}
|
|
7
7
|
sm="6"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<cdtr-more-icon></cdtr-more-icon>
|
|
28
28
|
</paper-button>
|
|
29
29
|
<div slot="content">
|
|
30
|
-
${this.animationsOptions.map(t=>
|
|
30
|
+
${this.animationsOptions.map(t=>s.qy`<cdtr-dropdown-item
|
|
31
31
|
@click=${n=>{n.preventDefault(),this.onMouseClick(t.type,e)}}
|
|
32
32
|
.focused=${this.isActiveAnimation(e,t)}
|
|
33
33
|
.selected=${this.isActiveAnimation(e,t)}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</cdtr-col>`)}
|
|
44
44
|
</cdtr-row>
|
|
45
45
|
</cdtr-accordion-item>
|
|
46
|
-
`}getActiveAnimationName(e){this.selectedAnimations.find(t=>t.value===e.class_code);const t=this.selectedAnimations.find(t=>"scroll"===t.on&&t.value===e.class_code),n=this.selectedAnimations.find(t=>"hover"===t.on&&t.value===e.class_code),s=[];return t&&s.push(
|
|
46
|
+
`}getActiveAnimationName(e){this.selectedAnimations.find(t=>t.value===e.class_code);const t=this.selectedAnimations.find(t=>"scroll"===t.on&&t.value===e.class_code),n=this.selectedAnimations.find(t=>"hover"===t.on&&t.value===e.class_code),s=[];return t&&s.push(a.M.get("lang","active_on-scroll")),s.length>0&&s.push("\n"),n&&s.push(a.M.get("lang","active_on-hover")),s.join("")}isActiveAnimation(e,t){return this.selectedAnimations.find(n=>n.value===e.class_code&&t.type===n.on)}}r.properties={name:{},animations:{type:Array},selected:{type:String}},r.styles=s.AH`
|
|
47
47
|
.gallery {
|
|
48
48
|
background-color: var(--primary);
|
|
49
49
|
color: var(--primaryText);
|
|
@@ -57,4 +57,4 @@
|
|
|
57
57
|
padding: 0;
|
|
58
58
|
min-width: 40px;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
`,customElements.define("cdtr-animations-editor",r)}}]);
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3606],{13606(e,t,i){i.r(t),i.d(t,{Checkbox:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3606],{13606(e,t,i){i.r(t),i.d(t,{Checkbox:()=>s});var n=i(59929),r=i(12106);class s extends n.WF{constructor(){super(),this.inputId=void 0,this.event=void 0,this.value=void 0,this.checked=!0,this.controlled=!0,this.inputId=(0,r.A)(),this.event=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0})}onToggle(){this.controlled||(this.checked=!this.checked),this.dispatchEvent(this.event)}toggle(){this.checked=!this.checked,this.dispatchEvent(this.event)}render(){return n.qy`<span
|
|
2
2
|
@click=${this.onToggle}
|
|
3
3
|
tabindex="0"
|
|
4
4
|
class="root ${this.checked?"checked":""}"
|
|
5
5
|
>
|
|
6
|
-
${this.checked?
|
|
6
|
+
${this.checked?n.qy` <div class="svg-wrapper">
|
|
7
7
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
|
8
8
|
<path
|
|
9
9
|
d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
10
10
|
></path>
|
|
11
11
|
</svg>
|
|
12
|
-
</div>`:
|
|
12
|
+
</div>`:n.qy`<div class="svg-wrapper">
|
|
13
13
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
|
14
14
|
<path
|
|
15
15
|
d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
type="checkbox"
|
|
24
24
|
aria-label="Checkbox"
|
|
25
25
|
/>
|
|
26
|
-
</span>`}setValue(e){this.value=e.target.value}patch(e){this.value=e}}
|
|
26
|
+
</span>`}setValue(e){this.value=e.target.value}patch(e){this.value=e}}s.properties={checked:{type:Boolean,reflect:!0},controlled:{type:Boolean,reflect:!0}},s.styles=n.AH`
|
|
27
27
|
:host {
|
|
28
28
|
direction: var(--direction-locale);
|
|
29
29
|
}
|
|
@@ -110,4 +110,4 @@
|
|
|
110
110
|
margin-right: 7px;
|
|
111
111
|
margin-left: 7px;
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
`,customElements.define("cdtr-checkbox",s)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[365],{50365(t,e,i){i.r(e),i.d(e,{SpacingIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[365],{50365(t,e,i){i.r(e),i.d(e,{SpacingIcon:()=>V});var H=i(59929);class V 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}"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
d="M11 3H13V4V5H11V4V3ZM17 4V3H20C20.2652 3 20.5196 3.10536 20.7071 3.29289C20.8946 3.48043 21 3.73478 21 4V7H20H19V5H17V4ZM16 4V5H14V4H16ZM7 3H4C3.73478 3 3.48043 3.10536 3.29289 3.29289C3.10536 3.48043 3 3.73478 3 4V7H4H5V5H7V4V3ZM10 5H8V4H10V5ZM20 11H21V13H20H19V11H20ZM5 13V11H4H3V13H4H5ZM3 17V20C3 20.2652 3.10536 20.5196 3.29289 20.7071C3.48043 20.8946 3.73478 21 4 21H7V20V19H5V17H4H3ZM5 16H4V14H5V16ZM19 16V14H20V16H19ZM19 17V19H17V20V21H20C20.2652 21 20.5196 20.8946 20.7071 20.7071C20.8946 20.5196 21 20.2652 21 20V17H20H19ZM14 19H16V20H14V19ZM13 19H11V20V21H13V20V19ZM10 19H8V20H10V19ZM20 10H19V8H20V10ZM5 10V8H4V10H5Z"
|
|
13
13
|
fill="black"
|
|
14
14
|
/>
|
|
15
|
-
</svg> `}}
|
|
15
|
+
</svg> `}}V.styles=H.AH`
|
|
16
16
|
:host {
|
|
17
17
|
display: inherit;
|
|
18
18
|
--cdtr-icon-width: 20px;
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
height: var(--cdtr-icon-height);
|
|
24
24
|
color: var(--cdtr-icon-color);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
`,V.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-spacing-icon",V)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3827],{93827(t,e,i){i.r(e),i.d(e,{DropOffIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3827],{93827(t,e,i){i.r(e),i.d(e,{DropOffIcon:()=>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
|
style="${this.iconStyle}"
|
|
3
3
|
xmlns="http://www.w3.org/2000/svg"
|
|
4
4
|
viewBox="0 0 24 24"
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
<path
|
|
10
10
|
d="M18.154 19.568A9 9 0 0 1 5.432 6.846L1.393 2.808l1.415-1.415 19.799 19.8-1.415 1.414-3.038-3.04zM6.847 8.262a7 7 0 0 0 9.891 9.89l-9.89-9.89zM20.414 16.2l-1.599-1.599a6.995 6.995 0 0 0-1.865-6.55L12 3.1 9.657 5.443 8.243 4.03 12 .272l6.364 6.364a9.002 9.002 0 0 1 2.05 9.564z"
|
|
11
11
|
/>
|
|
12
|
-
</svg>`}}
|
|
13
|
-
|
|
12
|
+
</svg>`}}h.styles=s.AH`
|
|
13
|
+
`,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-drop-off-icon",h)}}]);
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3875],{33875(t,e,i){i.r(e),i.d(e,{JusitifyRightIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3875],{33875(t,e,i){i.r(e),i.d(e,{JusitifyRightIcon:()=>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 style="${this.iconStyle}" width="${this.width}" height="${this.height}" xmlns="http://www.w3.org/2000/svg" width="19" height="27" viewBox="0 0 19 27" fill="none">
|
|
2
2
|
<rect x="15" y="15.5" width="15" height="4" rx="2" transform="rotate(-180 15 15.5)" fill="var(--primary)"/>
|
|
3
3
|
<rect x="18.5" width="27" height="2" rx="1" transform="rotate(90 18.5 0)" fill="#C4C4C4"/>
|
|
4
|
-
</svg> `}}
|
|
4
|
+
</svg> `}}r.styles=h.AH`
|
|
5
5
|
:host {
|
|
6
6
|
display: inherit;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
`,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-justify-right-icon",r)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3932],{33932(e,t,r){r.r(t),r.d(t,{EyeDroppper:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3932],{33932(e,t,r){r.r(t),r.d(t,{EyeDroppper:()=>o});var i=r(59929);const s=r(45888);class o extends i.WF{constructor(){super(),this.isValid=void 0,this.event=void 0,this.openEyeDropper=async()=>{const e=new AbortController;try{const e=new EyeDropper,{sRGBHex:t}=await e.open(),r=s(t).setAlpha(1).toRgbString();this.value=this.color=r,this.dispatchEvent(this.event)}catch(e){console.error(e)}e.abort()},this.isValid=!!window.EyeDropper,this.event=new UIEvent("change",{view:window,bubbles:!0,cancelable:!0})}render(){return this.isValid?i.qy`
|
|
2
2
|
<svg
|
|
3
3
|
tabIndex="0"
|
|
4
4
|
@click=${this.openEyeDropper}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
d="m20.71 5.63-2.34-2.34a.9959.9959 0 0 0-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42zM6.92 19 5 17.08l8.06-8.06 1.92 1.92L6.92 19z"
|
|
12
12
|
></path>
|
|
13
13
|
</svg>
|
|
14
|
-
`:null}}
|
|
14
|
+
`:null}}o.styles=i.AH`
|
|
15
15
|
:host {
|
|
16
16
|
position: relative;
|
|
17
17
|
display: inline-block;
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
transform: scale(1.1);
|
|
28
28
|
fill: var(--dark);
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
`,o.properties={value:{type:String,reflect:!0},color:{type:String,reflect:!0}},customElements.define("cdtr-eye-dropper",o)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3971],{13971(t,e,i){i.r(e),i.d(e,{HandIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[3971],{13971(t,e,i){i.r(e),i.d(e,{HandIcon:()=>o});var r=i(59929);class o extends r.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.qy`<svg
|
|
2
2
|
style="${this.iconStyle}"
|
|
3
3
|
width="${this.width}"
|
|
4
4
|
viewBox="0 0 20 22"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
stroke-width="1.7"
|
|
38
38
|
stroke-linecap="round"
|
|
39
39
|
/>
|
|
40
|
-
</svg> `}}
|
|
40
|
+
</svg> `}}o.styles=r.AH`
|
|
41
41
|
:host {
|
|
42
42
|
display: inherit;
|
|
43
43
|
--cdtr-icon-width: 20px;
|
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
height: var(--cdtr-icon-height);
|
|
49
49
|
color: var(--cdtr-icon-color);
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
`,o.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-hand-icon",o)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[407],{40407(t,i,e){e.r(i),e.d(i,{AddIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[407],{40407(t,i,e){e.r(i),e.d(i,{AddIcon:()=>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}"
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
>
|
|
8
8
|
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
9
|
<path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z" />
|
|
10
|
-
</svg>`}}
|
|
10
|
+
</svg>`}}s.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
|
-
|
|
21
|
+
`,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-add-icon",s)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4074],{94074(t,e,i){i.r(e),i.d(e,{JusitifyCenterIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4074],{94074(t,e,i){i.r(e),i.d(e,{JusitifyCenterIcon:()=>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
|
style="${this.iconStyle}"
|
|
3
3
|
width="${this.width}"
|
|
4
4
|
height="${this.height}"
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
fill="#C4C4C4"
|
|
27
27
|
/>
|
|
28
28
|
<rect x="3" y="12" width="15" height="4" rx="2" fill="var(--primary)" />
|
|
29
|
-
</svg> `}}
|
|
29
|
+
</svg> `}}h.styles=r.AH`
|
|
30
30
|
:host {
|
|
31
31
|
display: inherit;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
`,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-justify-center-icon",h)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4100],{54100(t,e,i){i.r(e),i.d(e,{InfoIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4100],{54100(t,e,i){i.r(e),i.d(e,{InfoIcon:()=>s});var h=i(59929);class s extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24",this.color="var(--icon-color)"}render(){return h.qy` <svg
|
|
2
2
|
style="${this.iconStyle}"
|
|
3
3
|
width="${this.width}"
|
|
4
4
|
height="${this.height}"
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
<path
|
|
11
11
|
d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"
|
|
12
12
|
/>
|
|
13
|
-
</svg>`}}
|
|
13
|
+
</svg>`}}s.properties={iconStyle:{type:String},width:{type:String},height:{type:String},color:{type:String}},customElements.define("cdtr-info-icon",s)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4114],{84114(t,e,i){i.r(e),i.d(e,{SettingIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4114],{84114(t,e,i){i.r(e),i.d(e,{SettingIcon:()=>h});var s=i(59929);class h extends s.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return s.qy`
|
|
2
2
|
<svg
|
|
3
3
|
style="${this.iconStyle}"
|
|
4
4
|
width="${this.width}"
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
d="M2.213 14.06a9.945 9.945 0 0 1 0-4.12c1.11.13 2.08-.237 2.396-1.001.317-.765-.108-1.71-.986-2.403a9.945 9.945 0 0 1 2.913-2.913c.692.877 1.638 1.303 2.403.986.765-.317 1.132-1.286 1.001-2.396a9.945 9.945 0 0 1 4.12 0c-.13 1.11.237 2.08 1.001 2.396.765.317 1.71-.108 2.403-.986a9.945 9.945 0 0 1 2.913 2.913c-.877.692-1.303 1.638-.986 2.403.317.765 1.286 1.132 2.396 1.001a9.945 9.945 0 0 1 0 4.12c-1.11-.13-2.08.237-2.396 1.001-.317.765.108 1.71.986 2.403a9.945 9.945 0 0 1-2.913 2.913c-.692-.877-1.638-1.303-2.403-.986-.765.317-1.132 1.286-1.001 2.396a9.945 9.945 0 0 1-4.12 0c.13-1.11-.237-2.08-1.001-2.396-.765-.317-1.71.108-2.403.986a9.945 9.945 0 0 1-2.913-2.913c.877-.692 1.303-1.638.986-2.403-.317-.765-1.286-1.132-2.396-1.001zM4 12.21c1.1.305 2.007 1.002 2.457 2.086.449 1.085.3 2.22-.262 3.212.096.102.195.201.297.297.993-.562 2.127-.71 3.212-.262 1.084.45 1.781 1.357 2.086 2.457.14.004.28.004.42 0 .305-1.1 1.002-2.007 2.086-2.457 1.085-.449 2.22-.3 3.212.262.102-.096.201-.195.297-.297-.562-.993-.71-2.127-.262-3.212.45-1.084 1.357-1.781 2.457-2.086.004-.14.004-.28 0-.42-1.1-.305-2.007-1.002-2.457-2.086-.449-1.085-.3-2.22.262-3.212a7.935 7.935 0 0 0-.297-.297c-.993.562-2.127.71-3.212.262C13.212 6.007 12.515 5.1 12.21 4a7.935 7.935 0 0 0-.42 0c-.305 1.1-1.002 2.007-2.086 2.457-1.085.449-2.22.3-3.212-.262-.102.096-.201.195-.297.297.562.993.71 2.127.262 3.212C6.007 10.788 5.1 11.485 4 11.79c-.004.14-.004.28 0 .42zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"
|
|
14
14
|
/>
|
|
15
15
|
</svg>
|
|
16
|
-
`}}
|
|
16
|
+
`}}h.styles=s.AH`
|
|
17
17
|
:host {
|
|
18
18
|
display: inherit;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
`,h.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-setting-icon",h)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4161],{54161(t,e,i){i.r(e),i.d(e,{MenuIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4161],{54161(t,e,i){i.r(e),i.d(e,{MenuIcon:()=>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
|
xmlns="http://www.w3.org/2000/svg"
|
|
4
4
|
viewBox="0 0 24 24"
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
>
|
|
8
8
|
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
9
|
<path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" />
|
|
10
|
-
</svg>`}}
|
|
10
|
+
</svg>`}}s.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
|
-
|
|
21
|
+
`,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-menu-icon",s)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4217],{94217(t,e,o){o.r(e),o.d(e,{BackgroundEditorPlugin:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[4217],{94217(t,e,o){o.r(e),o.d(e,{BackgroundEditorPlugin:()=>d});var n=o(59929);class d extends n.WF{constructor(){super(),this.backgroundAttachment="local",this.backgroundPosition="center",this.attachmentList=[{value:"local",label:"Local"},{value:"fixed",label:"Fixed"},{value:"scroll",label:"Scroll"}];this.positionList=[{value:"center",label:"Center"},{value:"top",label:"Top"},{value:"bottom",label:"Bottom"},{value:"left",label:"left"}],this.repeatList=[{value:"repeat",label:"Repeat"},{value:"repeat-x",label:"Repeat-X"},{value:"repeat-y",label:"Repeat-Y"},{value:"no-repeat",label:"No-Repeat"}],this.sizeList=[{value:"auto",label:"Auto"},{value:"cover",label:"Cover"},{value:"contain",label:"Contain"}]}onChangePosition(t){const e=t.target.value;this.backgroundPosition=e;const o={detail:{key:"backgroundPosition",value:e},bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("change",o))}onChangeSize(t){const e=t.target.value;this.backgroundSize=e;const o={detail:{key:"backgroundSize",value:e},bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("change",o))}onChangeType(t){const e=t.target.value;this.backgroundAttachment=e;const o={detail:{key:"backgroundAttachment",value:e},bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("change",o))}onChangerReapet(t){const e=t.target.value;this.backgroundRepeat=e;const o={detail:{key:"backgroundRepeat",value:e},bubbles:!1,composed:!1};this.dispatchEvent(new CustomEvent("change",o))}render(){return n.qy` <cdtr-divider></cdtr-divider>
|
|
2
2
|
<cdtr-row mt="1" alignItems="center">
|
|
3
3
|
<cdtr-col>
|
|
4
4
|
<cdtr-title><lang-text text="type"></lang-text></cdtr-title>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
><lang-text text="${this.backgroundAttachment}"></lang-text>
|
|
14
14
|
</cdtr-dropdown-button>
|
|
15
15
|
<div slot="content">
|
|
16
|
-
${this.attachmentList.map(t=>
|
|
16
|
+
${this.attachmentList.map(t=>n.qy`<cdtr-dropdown-item
|
|
17
17
|
.focused=${t.value===this.backgroundAttachment}
|
|
18
18
|
.selected=${t.value===this.backgroundAttachment}
|
|
19
19
|
value="${t.value}"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
><lang-text text="${this.backgroundPosition}"></lang-text>
|
|
39
39
|
</cdtr-dropdown-button>
|
|
40
40
|
<div slot="content">
|
|
41
|
-
${this.positionList.map(t=>
|
|
41
|
+
${this.positionList.map(t=>n.qy`<cdtr-dropdown-item
|
|
42
42
|
.focused=${t.value===this.backgroundPosition}
|
|
43
43
|
.selected=${t.value===this.backgroundPosition}
|
|
44
44
|
value="${t.value}"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
><lang-text text="${this.backgroundRepeat}"></lang-text>
|
|
64
64
|
</cdtr-dropdown-button>
|
|
65
65
|
<div slot="content">
|
|
66
|
-
${this.repeatList.map(t=>
|
|
66
|
+
${this.repeatList.map(t=>n.qy`<cdtr-dropdown-item
|
|
67
67
|
.focused=${t.value===this.backgroundRepeat}
|
|
68
68
|
.selected=${t.value===this.backgroundRepeat}
|
|
69
69
|
value="${t.value}"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
><lang-text text="${this.backgroundSize}"></lang-text>
|
|
89
89
|
</cdtr-dropdown-button>
|
|
90
90
|
<div slot="content">
|
|
91
|
-
${this.sizeList.map(t=>
|
|
91
|
+
${this.sizeList.map(t=>n.qy`<cdtr-dropdown-item
|
|
92
92
|
.focused=${t.value===this.backgroundSize}
|
|
93
93
|
.selected=${t.value===this.backgroundSize}
|
|
94
94
|
value="${t.value}"
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
</cdtr-dropdown>
|
|
99
99
|
</cdtr-row>
|
|
100
100
|
</cdtr-col>
|
|
101
|
-
</cdtr-row>`}}
|
|
101
|
+
</cdtr-row>`}}d.properties={backgroundAttachment:{type:String},backgroundPosition:{type:String},backgroundRepeat:{type:String},backgroundSize:{type:String}},d.styles=n.AH`
|
|
102
102
|
.dropdown-button {
|
|
103
103
|
min-width: 100px;
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
`,customElements.get("background-editor-plugin")||customElements.define("background-editor-plugin",d)}}]);
|
|
Binary file
|