@creaditor/web-starterkit 1.0.6 → 1.0.7
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/1260.creaditor.bundle.js +260 -128
- package/dist/1260.creaditor.bundle.js.gz +0 -0
- package/dist/1271.creaditor.bundle.js +1 -1
- package/dist/1271.creaditor.bundle.js.gz +0 -0
- package/dist/1529.creaditor.bundle.js +1 -1
- package/dist/1529.creaditor.bundle.js.gz +0 -0
- package/dist/1565.creaditor.bundle.js +237 -73
- package/dist/1565.creaditor.bundle.js.gz +0 -0
- package/dist/170.creaditor.bundle.js +11 -5
- package/dist/170.creaditor.bundle.js.gz +0 -0
- package/dist/2384.creaditor.bundle.js +33 -17
- package/dist/2384.creaditor.bundle.js.gz +0 -0
- package/dist/2590.creaditor.bundle.js +1 -2
- package/dist/2590.creaditor.bundle.js.gz +0 -0
- package/dist/3095.creaditor.bundle.js +91 -58
- package/dist/3095.creaditor.bundle.js.gz +0 -0
- package/dist/3521.creaditor.bundle.js +11 -9
- package/dist/3521.creaditor.bundle.js.gz +0 -0
- package/dist/3553.creaditor.bundle.js +1 -1
- package/dist/3553.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/4114.creaditor.bundle.js +1 -0
- package/dist/4114.creaditor.bundle.js.gz +0 -0
- package/dist/453.creaditor.bundle.js +1 -1
- package/dist/453.creaditor.bundle.js.gz +0 -0
- package/dist/4569.creaditor.bundle.js +141 -108
- package/dist/4569.creaditor.bundle.js.gz +0 -0
- package/dist/4819.creaditor.bundle.js +198 -235
- package/dist/4819.creaditor.bundle.js.gz +0 -0
- package/dist/5119.creaditor.bundle.js +1 -1
- package/dist/5119.creaditor.bundle.js.gz +0 -0
- package/dist/5340.creaditor.bundle.js +125 -36
- package/dist/5340.creaditor.bundle.js.gz +0 -0
- package/dist/5926.creaditor.bundle.js +24 -31
- package/dist/5926.creaditor.bundle.js.gz +0 -0
- package/dist/6937.creaditor.bundle.js +1 -0
- package/dist/6937.creaditor.bundle.js.gz +0 -0
- package/dist/7209.creaditor.bundle.js +2 -3
- package/dist/7209.creaditor.bundle.js.gz +0 -0
- package/dist/7238.creaditor.bundle.js +3 -3
- package/dist/7238.creaditor.bundle.js.gz +0 -0
- package/dist/752.creaditor.bundle.js +3 -7
- package/dist/752.creaditor.bundle.js.gz +0 -0
- package/dist/7937.creaditor.bundle.js +63 -115
- package/dist/7937.creaditor.bundle.js.gz +0 -0
- package/dist/8196.creaditor.bundle.js +51 -0
- package/dist/8196.creaditor.bundle.js.gz +0 -0
- package/dist/8305.creaditor.bundle.js +6 -6
- package/dist/8305.creaditor.bundle.js.gz +0 -0
- package/dist/8478.creaditor.bundle.js +1 -0
- package/dist/8478.creaditor.bundle.js.gz +0 -0
- package/dist/8516.creaditor.bundle.js +1 -1
- package/dist/8516.creaditor.bundle.js.gz +0 -0
- package/dist/8676.creaditor.bundle.js +1 -0
- package/dist/8676.creaditor.bundle.js.gz +0 -0
- package/dist/8916.creaditor.bundle.js +4 -4
- package/dist/8916.creaditor.bundle.js.gz +0 -0
- package/dist/9041.creaditor.bundle.js +1 -1
- package/dist/9041.creaditor.bundle.js.gz +0 -0
- package/dist/9162.creaditor.bundle.js +4 -3
- package/dist/9162.creaditor.bundle.js.gz +0 -0
- package/dist/9694.creaditor.bundle.js +1 -1
- package/dist/9694.creaditor.bundle.js.gz +0 -0
- package/dist/creaditor.bundle.js +1683 -558
- 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,130 +1,78 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7937],{67937(t,e,
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
></cdtr-setting-icon>`;case"qr":return n.qy`<img style="width: 20px; height: 20px;" alt="qr" width="20" height="20" src="https://img.creaditor.ai/images/qr?link=https%3A%2F%2Fexample.com&size=20" />`;case"link":return i.e(5428).then(i.bind(i,85428)),n.qy`<cdtr-link-icon iconStyle=${t}></cdtr-link-icon>`;case"spacing":return i.e(365).then(i.bind(i,50365)),n.qy`<cdtr-spacing-icon
|
|
8
|
-
iconStyle=${t}
|
|
9
|
-
></cdtr-spacing-icon>`;case"background":case"image":case"giphy":return i.e(1452).then(i.bind(i,61452)),n.qy`<cdtr-background-icon
|
|
10
|
-
iconStyle=${t}
|
|
11
|
-
></cdtr-background-icon>`;case"video":return i.e(7759).then(i.bind(i,97759)),n.qy`<cdtr-video-icon iconStyle=${t}></cdtr-video-icon>`;case"list-check":return i.e(6459).then(i.bind(i,16459)),n.qy`<cdtr-list-check-icon
|
|
12
|
-
iconStyle=${t}
|
|
13
|
-
></cdtr-list-check-icon>`;case"time":return i.e(307).then(i.bind(i,307)),n.qy`<cdtr-time-icon iconStyle=${t}></cdtr-time-icon>`;case"icons":return n.qy`<cdtr-icon icon="emoji"></cdtr-icon>`;case"list-settings":return i.e(8676).then(i.bind(i,48676)),n.qy`<cdtr-list-settings-icon
|
|
14
|
-
iconStyle=${t}
|
|
15
|
-
></cdtr-list-settings-icon>`;case"automations":return i.e(8305).then(i.bind(i,58305)),n.qy`<cdtr-automation-icon
|
|
16
|
-
iconStyle=${t}
|
|
17
|
-
></cdtr-automation-icon>`;case"ai":return n.qy`<svg
|
|
18
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
-
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
20
|
-
width="20"
|
|
21
|
-
zoomAndPan="magnify"
|
|
22
|
-
viewBox="0 0 20.25 20.999999"
|
|
23
|
-
height="28"
|
|
24
|
-
preserveAspectRatio="xMidYMid meet"
|
|
25
|
-
version="1.0"
|
|
26
|
-
>
|
|
27
|
-
<defs>
|
|
28
|
-
<clippath id="84a0f9f97b">
|
|
29
|
-
<path
|
|
30
|
-
d="M 0 0.375 L 19.527344 0.375 L 19.527344 19.902344 L 0 19.902344 Z M 0 0.375 "
|
|
31
|
-
clip-rule="nonzero"
|
|
32
|
-
></path>
|
|
33
|
-
</clippath>
|
|
34
|
-
</defs>
|
|
35
|
-
<g clip-path="url(#84a0f9f97b)">
|
|
36
|
-
<path
|
|
37
|
-
fill="#9747ff"
|
|
38
|
-
d="M 12.316406 0.679688 C 12.160156 0.382812 11.734375 0.382812 11.574219 0.679688 L 11.132812 1.507812 C 11.09375 1.582031 11.035156 1.640625 10.960938 1.679688 L 10.128906 2.117188 C 9.828125 2.277344 9.828125 2.699219 10.128906 2.855469 L 10.960938 3.296875 C 11.035156 3.335938 11.09375 3.394531 11.132812 3.46875 L 11.574219 4.296875 C 11.734375 4.59375 12.160156 4.59375 12.316406 4.296875 L 12.757812 3.46875 C 12.800781 3.394531 12.859375 3.335938 12.933594 3.296875 L 13.765625 2.855469 C 14.0625 2.699219 14.0625 2.277344 13.765625 2.117188 L 12.933594 1.679688 C 12.859375 1.640625 12.800781 1.582031 12.757812 1.507812 Z M 15.167969 16.96875 L 16.875 17.617188 L 16.226562 15.917969 Z M 16.882812 13.496094 L 5.136719 1.816406 C 4.15625 0.839844 2.558594 0.839844 1.574219 1.816406 L 0.984375 2.40625 C 0 3.382812 0 4.96875 0.984375 5.949219 L 12.730469 17.625 C 12.929688 17.824219 13.273438 18.039062 13.542969 18.140625 L 17.152344 19.507812 C 18.167969 19.890625 19.164062 18.902344 18.777344 17.890625 L 17.402344 14.300781 C 17.300781 14.035156 17.085938 13.695312 16.882812 13.496094 Z M 15.316406 14.296875 L 5.730469 4.769531 L 3.953125 6.535156 L 13.535156 16.066406 Z M 3.949219 3 L 4.542969 3.585938 L 2.765625 5.355469 L 2.171875 4.765625 C 1.84375 4.441406 1.84375 3.910156 2.171875 3.585938 L 2.761719 3 C 3.089844 2.671875 3.621094 2.671875 3.949219 3 Z M 4.550781 12.996094 C 4.390625 12.699219 3.964844 12.699219 3.808594 12.996094 L 3 14.503906 C 2.960938 14.578125 2.902344 14.640625 2.828125 14.679688 L 1.308594 15.480469 C 1.011719 15.636719 1.011719 16.058594 1.308594 16.214844 L 2.828125 17.015625 C 2.902344 17.054688 2.960938 17.117188 3 17.191406 L 3.808594 18.699219 C 3.964844 18.996094 4.390625 18.996094 4.550781 18.699219 L 5.355469 17.191406 C 5.394531 17.117188 5.453125 17.054688 5.527344 17.015625 L 7.046875 16.214844 C 7.34375 16.058594 7.34375 15.636719 7.046875 15.480469 L 5.527344 14.679688 C 5.453125 14.640625 5.394531 14.578125 5.355469 14.503906 Z M 17.355469 5.480469 C 17.199219 5.183594 16.773438 5.183594 16.613281 5.480469 L 16.027344 6.582031 C 15.988281 6.65625 15.929688 6.714844 15.855469 6.753906 L 14.746094 7.335938 C 14.449219 7.496094 14.449219 7.917969 14.746094 8.074219 L 15.855469 8.660156 C 15.929688 8.699219 15.988281 8.757812 16.027344 8.832031 L 16.613281 9.933594 C 16.773438 10.230469 17.199219 10.230469 17.355469 9.933594 L 17.945312 8.832031 C 17.984375 8.757812 18.042969 8.699219 18.117188 8.660156 L 19.226562 8.074219 C 19.523438 7.917969 19.523438 7.496094 19.226562 7.335938 L 18.117188 6.753906 C 18.042969 6.714844 17.984375 6.65625 17.945312 6.582031 Z M 17.355469 5.480469 "
|
|
39
|
-
fill-opacity="1"
|
|
40
|
-
fill-rule="evenodd"
|
|
41
|
-
></path>
|
|
42
|
-
</g>
|
|
43
|
-
</svg>`;default:return null}}render(){return n.qy`
|
|
44
|
-
<paper-button
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[7937],{67937(t,e,n){n.r(e),n.d(e,{EditorTabItem:()=>c});var i=n(59929);class c extends i.WF{constructor(){super()}focus(){const t=this.shadowRoot.querySelector(".tab-btn");t?t.focus():super.focus()}onClickItem(t){this.value=t,this.dispatchEvent(new UIEvent("change",{view:window,bubbles:!0,cancelable:!0}))}handleKeyDown(t){if("Enter"===t.key||" "===t.key)return t.preventDefault(),t.stopPropagation(),void this.onClickItem(this.icon);["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.dispatchEvent(new CustomEvent("arrow-navigation",{detail:{key:t.key,currentIcon:this.icon},bubbles:!0,cancelable:!0})))}factory(){let t="fill:currentColor;color:inherit;width:18px;height:18px;";switch(this.icon){case"box-shadow":return n.e(1456).then(n.bind(n,11456)),i.qy`<cdtr-box-shadow-icon iconStyle=${t}></cdtr-box-shadow-icon>`;case"design":return n.e(9162).then(n.bind(n,59162)),i.qy`<cdtr-design-icon iconStyle=${t}></cdtr-design-icon>`;case"text":case"typography":return n.e(9089).then(n.bind(n,59089)),i.qy`<cdtr-text-icon iconStyle=${t}></cdtr-text-icon>`;case"animations":return n.e(9184).then(n.bind(n,29184)),i.qy`<cdtr-animation-icon iconStyle=${t}></cdtr-animation-icon>`;case"settings":return n.e(4114).then(n.bind(n,84114)),i.qy`<cdtr-setting-icon iconStyle=${t}></cdtr-setting-icon>`;case"qr":return i.qy`<img style="width:16px;height:16px;" alt="qr" width="16" height="16" src="https://img.creaditor.ai/images/qr?link=https%3A%2F%2Fexample.com&size=20" />`;case"link":return n.e(5428).then(n.bind(n,85428)),i.qy`<cdtr-link-icon iconStyle=${t}></cdtr-link-icon>`;case"spacing":return n.e(365).then(n.bind(n,50365)),i.qy`<cdtr-spacing-icon iconStyle=${t}></cdtr-spacing-icon>`;case"background":case"image":case"giphy":return n.e(1452).then(n.bind(n,61452)),i.qy`<cdtr-background-icon iconStyle=${t}></cdtr-background-icon>`;case"video":return n.e(7759).then(n.bind(n,97759)),i.qy`<cdtr-video-icon iconStyle=${t}></cdtr-video-icon>`;case"list-check":return n.e(6459).then(n.bind(n,16459)),i.qy`<cdtr-list-check-icon iconStyle=${t}></cdtr-list-check-icon>`;case"time":return n.e(307).then(n.bind(n,307)),i.qy`<cdtr-time-icon iconStyle=${t}></cdtr-time-icon>`;case"icons":return i.qy`<cdtr-icon icon="emoji" .width=${18} .height=${18} color="currentColor"></cdtr-icon>`;case"list-settings":return n.e(8676).then(n.bind(n,48676)),i.qy`<cdtr-list-settings-icon iconStyle=${t}></cdtr-list-settings-icon>`;case"automations":return n.e(8305).then(n.bind(n,58305)),i.qy`<cdtr-automation-icon iconStyle=${t}></cdtr-automation-icon>`;case"ai":return i.qy`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 20.25 21" preserveAspectRatio="xMidYMid meet">
|
|
2
|
+
<defs><clippath id="ai-clip"><path d="M 0 0.375 L 19.527344 0.375 L 19.527344 19.902344 L 0 19.902344 Z" clip-rule="nonzero"></path></clippath></defs>
|
|
3
|
+
<g clip-path="url(#ai-clip)"><path fill="#9747ff" d="M 12.316406 0.679688 C 12.160156 0.382812 11.734375 0.382812 11.574219 0.679688 L 11.132812 1.507812 C 11.09375 1.582031 11.035156 1.640625 10.960938 1.679688 L 10.128906 2.117188 C 9.828125 2.277344 9.828125 2.699219 10.128906 2.855469 L 10.960938 3.296875 C 11.035156 3.335938 11.09375 3.394531 11.132812 3.46875 L 11.574219 4.296875 C 11.734375 4.59375 12.160156 4.59375 12.316406 4.296875 L 12.757812 3.46875 C 12.800781 3.394531 12.859375 3.335938 12.933594 3.296875 L 13.765625 2.855469 C 14.0625 2.699219 14.0625 2.277344 13.765625 2.117188 L 12.933594 1.679688 C 12.859375 1.640625 12.800781 1.582031 12.757812 1.507812 Z M 15.167969 16.96875 L 16.875 17.617188 L 16.226562 15.917969 Z M 16.882812 13.496094 L 5.136719 1.816406 C 4.15625 0.839844 2.558594 0.839844 1.574219 1.816406 L 0.984375 2.40625 C 0 3.382812 0 4.96875 0.984375 5.949219 L 12.730469 17.625 C 12.929688 17.824219 13.273438 18.039062 13.542969 18.140625 L 17.152344 19.507812 C 18.167969 19.890625 19.164062 18.902344 18.777344 17.890625 L 17.402344 14.300781 C 17.300781 14.035156 17.085938 13.695312 16.882812 13.496094 Z M 15.316406 14.296875 L 5.730469 4.769531 L 3.953125 6.535156 L 13.535156 16.066406 Z M 3.949219 3 L 4.542969 3.585938 L 2.765625 5.355469 L 2.171875 4.765625 C 1.84375 4.441406 1.84375 3.910156 2.171875 3.585938 L 2.761719 3 C 3.089844 2.671875 3.621094 2.671875 3.949219 3 Z M 4.550781 12.996094 C 4.390625 12.699219 3.964844 12.699219 3.808594 12.996094 L 3 14.503906 C 2.960938 14.578125 2.902344 14.640625 2.828125 14.679688 L 1.308594 15.480469 C 1.011719 15.636719 1.011719 16.058594 1.308594 16.214844 L 2.828125 17.015625 C 2.902344 17.054688 2.960938 17.117188 3 17.191406 L 3.808594 18.699219 C 3.964844 18.996094 4.390625 18.996094 4.550781 18.699219 L 5.355469 17.191406 C 5.394531 17.117188 5.453125 17.054688 5.527344 17.015625 L 7.046875 16.214844 C 7.34375 16.058594 7.34375 15.636719 7.046875 15.480469 L 5.527344 14.679688 C 5.453125 14.640625 5.394531 14.578125 5.355469 14.503906 Z M 17.355469 5.480469 C 17.199219 5.183594 16.773438 5.183594 16.613281 5.480469 L 16.027344 6.582031 C 15.988281 6.65625 15.929688 6.714844 15.855469 6.753906 L 14.746094 7.335938 C 14.449219 7.496094 14.449219 7.917969 14.746094 8.074219 L 15.855469 8.660156 C 15.929688 8.699219 15.988281 8.757812 16.027344 8.832031 L 16.613281 9.933594 C 16.773438 10.230469 17.199219 10.230469 17.355469 9.933594 L 17.945312 8.832031 C 17.984375 8.757812 18.042969 8.699219 18.117188 8.660156 L 19.226562 8.074219 C 19.523438 7.917969 19.523438 7.496094 19.226562 7.335938 L 18.117188 6.753906 C 18.042969 6.714844 17.984375 6.65625 17.945312 6.582031 Z" fill-opacity="1" fill-rule="evenodd"></path></g>
|
|
4
|
+
</svg>`;default:return null}}render(){return i.qy`
|
|
5
|
+
<button
|
|
6
|
+
class="tab-btn ${this.selected?"selected":""}"
|
|
45
7
|
data-icon="${this.icon}"
|
|
46
8
|
tabindex="0"
|
|
47
9
|
@keydown=${t=>this.handleKeyDown(t)}
|
|
48
10
|
@click=${()=>this.onClickItem(this.icon)}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
></div>
|
|
55
|
-
<cdtr-row justify="center"
|
|
56
|
-
><span style="transform:translateY(50%)" class="factory-item"
|
|
57
|
-
>${this.factory()}</span
|
|
58
|
-
>
|
|
59
|
-
</cdtr-row>
|
|
60
|
-
</cdtr-col>
|
|
61
|
-
<cdtr-col style="margin-top: 7px;" sm="12">
|
|
62
|
-
<cdtr-title
|
|
63
|
-
style="${this.selected?"color:var(--primary)":""}"
|
|
64
|
-
><lang-text
|
|
65
|
-
style="font-size:10px;"
|
|
66
|
-
class="label-item"
|
|
67
|
-
text="${this.icon}"
|
|
68
|
-
></lang-text
|
|
69
|
-
></cdtr-title>
|
|
70
|
-
</cdtr-col> </cdtr-row
|
|
71
|
-
></paper-button>
|
|
72
|
-
`}}o.styles=n.AH`
|
|
11
|
+
>
|
|
12
|
+
<span class="icon">${this.factory()}</span>
|
|
13
|
+
<span class="label"><lang-text text="${this.icon}"></lang-text></span>
|
|
14
|
+
</button>
|
|
15
|
+
`}}c.styles=i.AH`
|
|
73
16
|
:host {
|
|
74
|
-
display:
|
|
75
|
-
|
|
17
|
+
display: block;
|
|
18
|
+
direction: ltr;
|
|
76
19
|
}
|
|
77
|
-
|
|
78
|
-
min-width: 0;
|
|
79
|
-
margin: 0;
|
|
20
|
+
.tab-btn {
|
|
80
21
|
width: 100%;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
gap: 3px;
|
|
27
|
+
padding: 6px 2px;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
border: none;
|
|
30
|
+
background: transparent;
|
|
31
|
+
outline: none;
|
|
32
|
+
position: relative;
|
|
33
|
+
transition: background 0.15s ease;
|
|
86
34
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
padding: 5px 0;
|
|
90
|
-
position: absolute;
|
|
91
|
-
top: 50%;
|
|
92
|
-
left: 50%;
|
|
93
|
-
opacity: 0.1;
|
|
94
|
-
width: 100%;
|
|
95
|
-
height: 40px;
|
|
96
|
-
transform: translate(-50%, -50%);
|
|
35
|
+
.tab-btn:hover:not(.selected) {
|
|
36
|
+
background: #eeeef0;
|
|
97
37
|
}
|
|
98
|
-
.tab-selected
|
|
99
|
-
|
|
100
|
-
position: absolute;
|
|
101
|
-
top: 0;
|
|
102
|
-
left: 0;
|
|
103
|
-
width: 1px;
|
|
104
|
-
transform: translateX(-1px);
|
|
105
|
-
height: 100%;
|
|
106
|
-
background: #fff;
|
|
107
|
-
opacity: 1;
|
|
108
|
-
z-index: 1;
|
|
38
|
+
.tab-btn.selected {
|
|
39
|
+
background: color-mix(in srgb, var(--accent, #5B5FC7) 12%, transparent);
|
|
109
40
|
}
|
|
110
|
-
.
|
|
111
|
-
|
|
41
|
+
.icon {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
--cdtr-icon-width: 18px;
|
|
46
|
+
--cdtr-icon-height: 18px;
|
|
47
|
+
opacity: 0.55;
|
|
48
|
+
transition: opacity 0.15s ease, color 0.15s ease;
|
|
49
|
+
color: #666;
|
|
112
50
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
51
|
+
.tab-btn:hover:not(.selected) .icon {
|
|
52
|
+
opacity: 0.8;
|
|
53
|
+
color: #444;
|
|
116
54
|
}
|
|
117
|
-
.selected {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
border-bottom: 1px solid black;
|
|
55
|
+
.tab-btn.selected .icon {
|
|
56
|
+
opacity: 1;
|
|
57
|
+
color: var(--accent, #5B5FC7);
|
|
121
58
|
}
|
|
122
|
-
|
|
123
|
-
|
|
59
|
+
.label {
|
|
60
|
+
font-size: 9px;
|
|
61
|
+
color: #888;
|
|
62
|
+
font-weight: 500;
|
|
124
63
|
text-align: center;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
64
|
+
line-height: 1;
|
|
65
|
+
max-width: 100%;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
text-overflow: ellipsis;
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
transition: color 0.15s ease;
|
|
70
|
+
}
|
|
71
|
+
.tab-btn.selected .label {
|
|
72
|
+
color: var(--accent, #5B5FC7);
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
}
|
|
75
|
+
.tab-btn:hover:not(.selected) .label {
|
|
76
|
+
color: #444;
|
|
128
77
|
}
|
|
129
|
-
|
|
130
|
-
`,o.properties={icon:{},labelMode:{},selected:{}},customElements.define("cdtr-editor-tab-item",o)}}]);
|
|
78
|
+
`,c.properties={icon:{},labelMode:{},selected:{}},customElements.define("cdtr-editor-tab-item",c)}}]);
|
|
Binary file
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8196],{48196(e,t,n){"use strict";n.d(t,{default:()=>d});n(5441);var r=n(59929);let a=!1;const l=e=>{{const{component:t,commands:n,helpers:l}=e;return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"design"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:l,changeTab:i,tabs:o}=e;a=!1;return[{type:"heading",level:3,text:"items"},{type:"lit",node:()=>{const e=JSON.parse(JSON.stringify(t.props.data));return r.qy` <cdtr-editor-container>
|
|
2
|
+
<cdtr-row>
|
|
3
|
+
${e.map((t,l)=>r.qy` <cdtr-col sm="12">
|
|
4
|
+
<cdtr-row
|
|
5
|
+
style="box-sizing: border-box;padding:10px;box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;"
|
|
6
|
+
alignItems="center"
|
|
7
|
+
spacing="5px"
|
|
8
|
+
mb="1"
|
|
9
|
+
>
|
|
10
|
+
<cdtr-button @click=${()=>(t=>{a||(a=!0,e.splice(t,1),n.execCommand("data",e))})(l)}>
|
|
11
|
+
<cdtr-icon icon="x"></cdtr-icon>
|
|
12
|
+
</cdtr-button>
|
|
13
|
+
<cdtr-col sm="10">
|
|
14
|
+
<label for="title-input">
|
|
15
|
+
<lang-text text="title"></lang-text>
|
|
16
|
+
</label>
|
|
17
|
+
<cdtr-input
|
|
18
|
+
fullWidth
|
|
19
|
+
id="title-input"
|
|
20
|
+
@change=${t=>((t,r)=>{e[r]||(e[r]={title:""}),e[r].title=t,n.execCommand("data",e)})(t.target.value,l)}
|
|
21
|
+
.value=${t.title}
|
|
22
|
+
></cdtr-input>
|
|
23
|
+
</cdtr-col>
|
|
24
|
+
<cdtr-col sm="10">
|
|
25
|
+
<label for="value-input">
|
|
26
|
+
<lang-text text="value"></lang-text>
|
|
27
|
+
</label>
|
|
28
|
+
<cdtr-input
|
|
29
|
+
fullWidth
|
|
30
|
+
id="value-input"
|
|
31
|
+
type="number"
|
|
32
|
+
@change=${t=>((t,r)=>{e[r]||(e[r]={value:""}),e[r].value=parseInt(t),n.execCommand("data",e)})(t.target.value,l)}
|
|
33
|
+
.value=${parseInt(t.value)}
|
|
34
|
+
></cdtr-input>
|
|
35
|
+
</cdtr-col>
|
|
36
|
+
<cdtr-col sm="1">
|
|
37
|
+
<cdtr-row alignItems="center">
|
|
38
|
+
<color-playground
|
|
39
|
+
style="margin-top:20px"
|
|
40
|
+
@change=${t=>((t,r)=>{e[r]||(e[r]={color:""}),e[r].color=t,n.execCommand("data",e)})(t.target.value,l)}
|
|
41
|
+
.value=${t.color}
|
|
42
|
+
></color-playground>
|
|
43
|
+
</cdtr-row>
|
|
44
|
+
</cdtr-col>
|
|
45
|
+
</cdtr-row>
|
|
46
|
+
</cdtr-col>`)}
|
|
47
|
+
</cdtr-row>
|
|
48
|
+
<cdtr-button @click=${()=>{a||(a=!0,e.push({title:"",value:5,color:"#000"}),n.execCommand("data",e))}} variant="text" color="blue">
|
|
49
|
+
<lang-text text="add_new_item"></lang-text>
|
|
50
|
+
</cdtr-button>
|
|
51
|
+
</cdtr-editor-container>`}},{type:"divider"},{type:"heading",level:3,text:"design"},{type:"fontFamily",value:t.props.style.fontFamily,weight:!0,weightValue:t.props.style.fontWeight,onChange:e=>{const t=e.target.value;n.execCommand("style",{fontFamily:t})},onWeightChange:e=>{n.execCommand("style",{fontWeight:e.detail.value})}},{type:"slider",title:"size",min:80,max:500,value:parseInt(t.props.size)||200,onInput:e=>{const t=e.target.value;n.execCommand("size",t+"px")}}]}}}},i=e=>{let{helpers:t,template:n,reRender:r}=e;return{set:(e,n,a)=>{switch(n){case"style":return e[n]=t.deepMerge(e[n],a),r(),!0;case"size":return e[n]=a,r(),!0;case"data":Array.isArray(a)&&(e[n]=a,r())}return!0}}};var o=n(14041),s=n(19062);const c=e=>{const t=e.lineWidth?e.lineWidth:60,n={fill:"#fff",opacity:.75,pointerEvents:"none",fontSize:".6rem",fontFamily:"arial",...e.style};return o.createElement(s.PieChart,{style:{height:e.size||"200px"},data:e.data,startAngle:e.startAngle,lengthAngle:e.lengthAngle,lineWidth:t,viewBoxSize:e.viewBoxSize,label:e=>{let{dataEntry:t}=e;return Math.round(t.percentage)+"%"},labelPosition:100-t/2,animate:!0,segmentsStyle:{transition:"stroke .3s",cursor:"pointer"},labelStyle:n})};var u=n(25873);const d=()=>{const e="pie-chart";return{name:e,menu:t=>{let{Compose:n}=t;return new n(()=>({type:e,props:{style:{},data:[{title:"One",value:20,color:"#E38627"},{title:"Two",value:20,color:"#C13C37"},{title:"Three",value:60,color:"#6A2135"}]}}),{group:"elements",name:e,puzzle:['<svg width="60" height="60" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="12" cy="12" r="12" fill="#A9A9E8"/>\n <path d="M24 12C24 14.9046 22.9465 17.7106 21.0349 19.8975C19.1233 22.0844 16.4834 23.5037 13.6049 23.8922C10.7264 24.2807 7.80467 23.6119 5.38177 22.0099C2.95886 20.408 1.19922 17.9816 0.429275 15.1809C-0.340669 12.3802 -0.0686551 9.39534 1.19486 6.77995C2.45837 4.16457 4.62761 2.09623 7.30017 0.958641C9.97273 -0.178953 12.9672 -0.308584 15.7281 0.593795C18.4889 1.49617 20.8288 3.36931 22.3136 5.86572L12 12H24Z" fill="#A9A9E8"/>\n <path d="M24 12C24 14.5934 23.1598 17.1171 21.6053 19.193C20.0507 21.2689 17.8655 22.7853 15.3769 23.5151C12.8882 24.2449 10.2301 24.1488 7.80068 23.2413C5.37123 22.3337 3.30117 20.6635 1.90054 18.4808C0.499908 16.2981 -0.155909 13.7204 0.0313082 11.1337C0.218525 8.54706 1.2387 6.09066 2.93904 4.13241C4.63938 2.17415 6.92838 0.819456 9.4632 0.271204C11.998 -0.277048 14.6423 0.0106536 16.9999 1.09122L12 12H24Z" fill="#5C5CE0"/>\n </svg>'],tags:[e,"text"],index:null})},create:t=>{let{createElement:n,compose:r,helpers:a}=t;const s=document.createElement("div"),d=document.createElement("div"),g=document.createElement("cdtr-move-handle-bar");g.for=r.id,s.append(d,g);const p=u.H(d);return p.render(o.createElement(c,r.props)),n({name:e,id:r.id,template:s,defaultProps:{},validator:i({template:s,helpers:a,reRender:()=>{p.render(o.createElement(c,r.props))}}),schema:r.schema,onSelect:e=>{s.classList.add(e)},onDeselect:e=>{s.classList.remove(e)},elementProps:r,remove:()=>{s.remove()},createEditor:l})}}}},19062(e,t,n){!function(e,t){"use strict";function n(e){return e*Math.PI/180}function r(e,t,n){return e>n?n:e<t?t:e}function a(e,t){return t/100*e}function l(e,t){return e+t/2}function i(e,t){var r=n(e);return{dx:t*Math.cos(r),dy:t*Math.sin(r)}}function o(e){return"number"==typeof e}function s(e,t){return"function"==typeof e?e(t):e}function c(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].value;return t}function u(e){for(var t=e.data,n=e.lengthAngle,l=e.totalValue,i=e.paddingAngle,o=e.startAngle,s=l||c(t),u=r(n,-360,360),d=360===Math.abs(u)?t.length:t.length-1,g=Math.abs(i)*Math.sign(n),p=u-g*d,h=0,m=[],f=0;f<t.length;f++){var v=t[f],y=0===s?0:v.value/s*100,x=a(p,y),b=h+o;h=h+x+g,m.push(Object.assign({percentage:y,startAngle:b,degrees:x},v))}return m}function d(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var g,p,h=["dataEntry","dataIndex"];function m(e){var n=e.renderLabel,r=e.labelProps,a=n(r);if("string"==typeof a||"number"==typeof a){r.dataEntry,r.dataIndex;var l=d(r,h);return t.createElement("text",Object.assign({dominantBaseline:"central"},l),a)}return t.isValidElement(a)?a:null}function f(e){var t=1e14;return Math.round((e+Number.EPSILON)*t)/t}function v(e){var t=e.labelPosition,n=e.lineWidth,r=f(e.labelHorizontalShift);return 0===r?"middle":t>100?r>0?"start":"end":t<100-n?r>0?"end":"start":"middle"}function y(e,t){return e.map(function(e,n){var r,o=null!=(r=s(t.segmentsShift,n))?r:0,c=a(t.radius,t.labelPosition)+o,u=i(l(e.startAngle,e.degrees),c),d=u.dx,g=u.dy;return{x:t.center[0],y:t.center[1],dx:d,dy:g,textAnchor:v({labelPosition:t.labelPosition,lineWidth:t.lineWidth,labelHorizontalShift:d}),dataEntry:e,dataIndex:n,style:s(t.labelStyle,n)}})}function x(e,n){var r=n.label;if(r)return y(e,n).map(function(e,n){return t.createElement(m,{key:"label-"+(e.dataEntry.key||n),renderLabel:r,labelProps:e})})}function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C(){return p?g:(p=1,g=function(e,t,n,r,a){var l=a-r;if(0===l)return[];var i=n*Math.cos(r)+e,o=n*Math.sin(r)+t,s=n*Math.cos(a)+e,c=n*Math.sin(a)+t;return[["M",i,o],["A",n,n,0,Math.abs(l)<=Math.PI?"0":"1",l<0?"0":"1",s,c]]})}var w=b(C()),A=["cx","cy","lengthAngle","lineWidth","radius","shift","reveal","rounded","startAngle","title"];function E(e,t,a,l,i){var o=r(l,-359.999,359.999);return w(e,t,i,n(a),n(a+o)).map(function(e){return e.join(" ")}).join(" ")}function M(e){var r,s,c=e.cx,u=e.cy,g=e.lengthAngle,p=e.lineWidth,h=e.radius,m=e.shift,f=void 0===m?0:m,v=e.reveal,y=e.rounded,x=e.startAngle,b=e.title,C=d(e,A),w=h-p/2,M=i(l(x,g),f),k=E(c+M.dx,u+M.dy,x,g,w);if(o(v)){var S=n(w)*g;s=(r=Math.abs(S))-a(r,v)}return t.createElement("path",Object.assign({d:k,fill:"none",strokeWidth:p,strokeDasharray:r,strokeDashoffset:s,strokeLinecap:y?"round":void 0},C),b&&t.createElement("title",null,b))}function k(e,t,n){var r="stroke-dashoffset "+e+"ms "+t;return n&&n.transition&&(r=r+","+n.transition),{transition:r}}function S(e){var t=e.reveal;return e.animate&&!o(t)?100:t}function P(e,t){return e&&function(n){e(n,t)}}function W(e,n,r){var l=null!=r?r:S(n),i=n.radius,o=n.center,c=o[0],u=o[1],d=a(i,n.lineWidth),g=e.map(function(e,r){var a=s(n.segmentsStyle,r);return t.createElement(M,{cx:c,cy:u,key:e.key||r,lengthAngle:e.degrees,lineWidth:d,radius:i,rounded:n.rounded,reveal:l,shift:s(n.segmentsShift,r),startAngle:e.startAngle,title:e.title,style:Object.assign({},a,n.animate&&k(n.animationDuration,n.animationEasing,a)),stroke:e.color,tabIndex:n.segmentsTabIndex,onBlur:P(n.onBlur,r),onClick:P(n.onClick,r),onFocus:P(n.onFocus,r),onKeyDown:P(n.onKeyDown,r),onMouseOver:P(n.onMouseOver,r),onMouseOut:P(n.onMouseOut,r)})});return n.background&&g.unshift(t.createElement(M,{cx:c,cy:u,key:"bg",lengthAngle:n.lengthAngle,lineWidth:d,radius:i,rounded:n.rounded,startAngle:n.startAngle,stroke:n.background})),g}var z={animationDuration:500,animationEasing:"ease-out",center:[50,50],data:[],labelPosition:50,lengthAngle:360,lineWidth:100,paddingAngle:0,radius:50,startAngle:0,viewBoxSize:[100,100]};function O(e){var t,n=Object.assign({},z,e);for(t in z)void 0===e[t]&&(n[t]=z[t]);return n}function I(e){var n=O(e),r=t.useState(n.animate?0:null),a=r[0],l=r[1];t.useEffect(function(){n.animate&&l(null)},[]);var i=u(n);return t.createElement("svg",{viewBox:"0 0 "+n.viewBoxSize[0]+" "+n.viewBoxSize[1],width:"100%",height:"100%",className:n.className,style:n.style},W(i,n,a),x(i,n),n.children)}e.PieChart=I,e.pieChartDefaultProps=z}(t,n(14041))}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8305],{58305(t,C,i){i.r(C),i.d(C,{AutomationIcon:()=>
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8305],{58305(t,C,i){i.r(C),i.d(C,{AutomationIcon:()=>r});var e=i(59929);class r extends e.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return e.qy`<svg
|
|
2
2
|
style="${this.iconStyle}"
|
|
3
3
|
width="${this.width}"
|
|
4
4
|
height="${this.height}"
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
>
|
|
9
9
|
<path
|
|
10
10
|
d="M6 4H21C21.2652 4 21.5196 4.10536 21.7071 4.29289C21.8946 4.48043 22 4.73478 22 5V12H20V6H6V9L1 5L6 1V4ZM18 20H3C2.73478 20 2.48043 19.8946 2.29289 19.7071C2.10536 19.5196 2 19.2652 2 19V12H4V18H18V15L23 19L18 23V20Z"
|
|
11
|
-
fill="
|
|
11
|
+
fill="currentColor"
|
|
12
12
|
/>
|
|
13
13
|
<path
|
|
14
14
|
d="M7.10782 13.0297C6.96406 12.3508 6.96406 11.6492 7.10782 10.9703C7.66267 11.0353 8.14754 10.8518 8.30549 10.4699C8.46395 10.0875 8.25151 9.61514 7.81263 9.26874C8.19105 8.68705 8.68705 8.19105 9.26874 7.81263C9.61464 8.25101 10.0875 8.46395 10.4699 8.30549C10.8523 8.14704 11.0358 7.66267 10.9703 7.10782C11.6492 6.96406 12.3508 6.96406 13.0297 7.10782C12.9647 7.66267 13.1482 8.14754 13.5301 8.30549C13.9125 8.46395 14.3849 8.25151 14.7313 7.81263C15.3129 8.19105 15.809 8.68705 16.1874 9.26874C15.749 9.61464 15.536 10.0875 15.6945 10.4699C15.853 10.8523 16.3373 11.0358 16.8922 10.9703C17.0359 11.6492 17.0359 12.3508 16.8922 13.0297C16.3373 12.9647 15.8525 13.1482 15.6945 13.5301C15.536 13.9125 15.7485 14.3849 16.1874 14.7313C15.809 15.3129 15.3129 15.809 14.7313 16.1874C14.3854 15.749 13.9125 15.536 13.5301 15.6945C13.1477 15.853 12.9642 16.3373 13.0297 16.8922C12.3508 17.0359 11.6492 17.0359 10.9703 16.8922C11.0353 16.3373 10.8518 15.8525 10.4699 15.6945C10.0875 15.536 9.61514 15.7485 9.26874 16.1874C8.68705 15.809 8.19105 15.3129 7.81263 14.7313C8.25101 14.3854 8.46395 13.9125 8.30549 13.5301C8.14704 13.1477 7.66267 12.9642 7.10782 13.0297ZM8.00108 12.105C8.55093 12.2574 9.00431 12.6058 9.22925 13.1477C9.45369 13.69 9.37921 14.2574 9.09828 14.7533C9.14627 14.8042 9.19575 14.8537 9.24674 14.9017C9.74311 14.6208 10.31 14.5468 10.8523 14.7708C11.3942 14.9957 11.7426 15.4491 11.895 15.9989C11.965 16.0009 12.035 16.0009 12.105 15.9989C12.2574 15.4491 12.6058 14.9957 13.1477 14.7708C13.69 14.5463 14.2574 14.6208 14.7533 14.9017C14.8042 14.8537 14.8537 14.8042 14.9017 14.7533C14.6208 14.2569 14.5468 13.69 14.7708 13.1477C14.9957 12.6058 15.4491 12.2574 15.9989 12.105C16.0009 12.035 16.0009 11.965 15.9989 11.895C15.4491 11.7426 14.9957 11.3942 14.7708 10.8523C14.5463 10.31 14.6208 9.74261 14.9017 9.24674C14.8536 9.19595 14.804 9.14645 14.7533 9.09828C14.2569 9.37921 13.69 9.45319 13.1477 9.22925C12.6058 9.00431 12.2574 8.55093 12.105 8.00108C12.035 7.99922 11.965 7.99922 11.895 8.00108C11.7426 8.55093 11.3942 9.00431 10.8523 9.22925C10.31 9.45369 9.74261 9.37921 9.24674 9.09828C9.19575 9.14627 9.14627 9.19575 9.09828 9.24674C9.37921 9.74311 9.45319 10.31 9.22925 10.8523C9.00431 11.3942 8.55093 11.7426 8.00108 11.895C7.99908 11.965 7.99908 12.035 8.00108 12.105Z"
|
|
15
|
-
fill="
|
|
15
|
+
fill="currentColor"
|
|
16
16
|
/>
|
|
17
17
|
<path
|
|
18
18
|
d="M13.55 11.7402C13.75 11.8557 13.75 12.1443 13.55 12.2598L11.45 13.4722C11.25 13.5877 11 13.4434 11 13.2124V10.7876C11 10.5566 11.25 10.4123 11.45 10.5278L13.55 11.7402Z"
|
|
19
|
-
fill="
|
|
19
|
+
fill="currentColor"
|
|
20
20
|
/>
|
|
21
|
-
</svg> `}}
|
|
21
|
+
</svg> `}}r.styles=e.AH`
|
|
22
22
|
:host {
|
|
23
23
|
display: inherit;
|
|
24
24
|
--cdtr-icon-width: 20px;
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
height: var(--cdtr-icon-height);
|
|
30
30
|
color: var(--cdtr-icon-color);
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-automation-icon",r)}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8478],{98478(e,t,n){n.d(t,{default:()=>I});let s=!1;const o=e=>{{const{component:t,commands:n,helpers:o}=e;return{select:e=>{let{changeTab:t,tab:n}=e;"design"!==n.text&&t("design")},tabs:e=>{const t=[{text:"design"},{text:"list-settings"},{text:"settings"}];return t.forEach(t=>t.selected=t.selected=t.text===e),t},layout:e=>{let{tab:a,changeTab:i,tabs:r}=e;s=!1;return[{type:"heading",active:()=>"list-settings"===a.text,level:5,text:"autotype_info"},{type:"heading",level:3,text:"design",active:()=>"design"===a.text},{type:"typography",active:()=>"design"===a.text,bold:700===t.props.style.fontWeight,italic:"italic"===t.props.style.fontStyle,underline:"underline"===t.props.style.textDecoration,onChange:e=>{switch(e){case"bold":const e=700===t.props.style.fontWeight?400:700;n.execCommand("style",{fontWeight:e});break;case"italic":const s="italic"===t.props.style.fontStyle?"normal":"italic";n.execCommand("style",{fontStyle:s});break;case"underline":const o="underline"===t.props.style.textDecoration?"none":"underline";n.execCommand("style",{textDecoration:o})}}},{type:"fontFamily",active:()=>"design"===a.text,value:t.props.style.fontFamily,weight:!0,weightValue:t.props.style.fontWeight,onChange:e=>{const t=e.target.value;n.execCommand("style",{fontFamily:t})},onWeightChange:e=>{n.execCommand("style",{fontWeight:e.detail.value})}},{type:"divider",active:()=>"design"===a.text},{type:"colorpicker",active:()=>"design"===a.text,title:"color",value:t.props.style.color,onChange:e=>{const t=e.target.value;n.execCommand("style",{color:t})}},{type:"fontSize",active:()=>"design"===a.text,title:"size",max:150,min:8,device:e=>{const n=e.target.device;e.target.value="phone"===n?parseInt(t.props?.breakpoints?.sm?.style?.fontSize)||14:parseInt(t.props.style.fontSize)||14},value:parseInt(t.props.style.fontSize)||14,onInput:e=>{const t=e.target.value;"phone"===e.target.device?n.execCommand("breakpoints",e=>{const n=e.props.breakpoints?.sm||{};return{sm:o.deepMerge(n,{style:{fontSize:t+"px"}})}}):n.execCommand("style",{fontSize:t+"px"})}},{type:"slider",max:5e3,min:0,title:"sleepBetween",value:parseInt(t.props.sleepBetween)||1e3,active:()=>"list-settings"===a.text,onInput:e=>{const t=e.target.value;n.execCommand("sleepBetween",parseInt(t))}},{type:"heading",active:()=>"list-settings"===a.text,level:6,text:"how_much_should_wait_between_each_item"},{type:"slider",active:()=>"list-settings"===a.text,max:5e3,min:0,title:"speed",value:parseInt(t.props.speed)||50,active:()=>"list-settings"===a.text,onInput:e=>{const t=e.target.value;n.execCommand("speed",parseInt(t))}}]}}}},a=e=>{let{helpers:t,template:n,reRender:s}=e;return{set:(e,n,o)=>{switch(n){case"style":const a={...e[n]};return e[n]=t.deepMerge(a,o),s(),!0;case"size":case"text":return e[n]=o,s(),!0;case"data":Array.isArray(o)&&(e[n]=o,s())}return!0}}};var i=n(25873),r=n(81318),l=n(1366),c=n(67291),p=n(28396);let d;var u=n(72591),m=n.n(u),y=n(88639),g=n.n(y),h=n(88128),A=n.n(h),C=n(30855),x=n.n(C),v=n(93051),f=n.n(v),b=n(48135),k={};k.setAttributes=x(),k.insert=A().bind(null,"head"),k.domAPI=g(),k.insertStyleElement=f();m()(b.A,k);const w=b.A&&b.A.locals?b.A.locals:void 0;var E=n(78119),H={};H.setAttributes=x(),H.insert=A().bind(null,"head"),H.domAPI=g(),H.insertStyleElement=f();m()(E.A,H);const S=E.A&&E.A.locals?E.A.locals:void 0,I=()=>{const e="autotype";return{name:e,menu:t=>{let{Compose:n}=t;return new n(()=>({type:e,props:{style:{},speed:50,sleepBetween:1e3,text:{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:"Hello World"}]}]}}}),{group:"elements",name:e,puzzle:['<svg width="46" height="32" viewBox="0 0 46 32" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M17.44 31L14.688 23.928H5.632L2.912 31H0L8.928 8.056H11.52L20.416 31H17.44ZM11.264 14.456C11.2 14.2853 11.0933 13.976 10.944 13.528C10.7947 13.08 10.6453 12.6213 10.496 12.152C10.368 11.6613 10.2613 11.288 10.176 11.032C10.0693 11.4587 9.952 11.896 9.824 12.344C9.71733 12.7707 9.6 13.1653 9.472 13.528C9.36533 13.8907 9.26933 14.2 9.184 14.456L6.592 21.368H13.824L11.264 14.456ZM30.0695 8.152C31.9682 8.152 33.5575 8.33333 34.8375 8.696C36.1388 9.05867 37.1095 9.656 37.7495 10.488C38.4108 11.32 38.7415 12.4293 38.7415 13.816C38.7415 14.712 38.5708 15.512 38.2295 16.216C37.9095 16.8987 37.4188 17.4747 36.7575 17.944C36.1175 18.392 35.3282 18.7013 34.3895 18.872V19.032C35.3495 19.1813 36.2135 19.4587 36.9815 19.864C37.7708 20.2693 38.3895 20.8453 38.8375 21.592C39.2855 22.3387 39.5095 23.3093 39.5095 24.504C39.5095 25.8907 39.1895 27.0747 38.5495 28.056C37.9095 29.016 36.9922 29.752 35.7975 30.264C34.6242 30.7547 33.2162 31 31.5735 31H23.5415V8.152H30.0695ZM30.6455 17.88C32.6082 17.88 33.9522 17.5707 34.6775 16.952C35.4028 16.312 35.7655 15.3733 35.7655 14.136C35.7655 12.8773 35.3175 11.9813 34.4215 11.448C33.5468 10.8933 32.1388 10.616 30.1975 10.616H26.4215V17.88H30.6455ZM26.4215 20.28V28.568H31.0295C33.0562 28.568 34.4642 28.1733 35.2535 27.384C36.0428 26.5947 36.4375 25.56 36.4375 24.28C36.4375 23.4693 36.2562 22.7653 35.8935 22.168C35.5522 21.5707 34.9655 21.112 34.1335 20.792C33.3228 20.4507 32.2135 20.28 30.8055 20.28H26.4215Z" fill="black"/>\n<rect x="42" y="1" width="1" height="30" fill="black"/>\n<rect x="39" width="7" height="1" fill="black"/>\n<rect x="39" y="31" width="7" height="1" fill="black"/>\n</svg>\n'],tags:[e,"text"],index:null})},create:t=>{const{createElement:n,compose:s,helpers:u}=t,m=(s.editor,e=>{for(const t in e.style)if(Object.hasOwnProperty.call(e.style,t)){const n=e.style[t];y.style[t]=n}y.classList.contains("autotype-selected")||A.chain().focus().setContent(e.text).run()}),y=document.createElement("div");y.classList.add(S.autoTypeEditing);const g=document.createElement("div"),h=document.createElement("div");h.classList.add(w.caret);const A=(e=>{let{content:t,element:n}=e;return d=new r.KE({element:n,extensions:[l.A,c.A,p.A],editorProps:{},injectCSS:!1,content:t}),d})({element:h,content:s.props.text});A.on("focus",()=>{y.classList.add("autotype-selected")}),A.on("blur",()=>{y.classList.remove("autotype-selected")}),A.on("update",e=>{let{editor:t,transaction:n}=e;if(0===n.steps.length)return;(e=>{s.editor.store().execCommands([{key:"text",value:JSON.parse(JSON.stringify(e))}])})(A.getJSON())}),y.append(g,h);i.H(g);return m(s.props),n({name:e,id:s.id,template:y,resizeable:!0,handleBar:!0,draggable:{group:"element"},defaultProps:{},validator:a({template:y,helpers:u,reRender:()=>{m(s.props)}}),schema:s.schema,onSelect:e=>{y.classList.add(e)},onDeselect:e=>{y.classList.remove(e)},elementProps:s,remove:()=>{y.remove()},createEditor:o})}}}},78119(e,t,n){n.d(t,{A:()=>r});var s=n(82001),o=n.n(s),a=n(40935),i=n.n(a)()(o());i.push([e.id,".autoTypeEditing {\n background-color: black;\n}","",{version:3,sources:["webpack://./../web-editors/autotype-editor-component/src/index.css"],names:[],mappings:"AAAA;EACE,uBAAuB;AACzB",sourcesContent:[".autoTypeEditing {\n background-color: black;\n}"],sourceRoot:""}]);const r=i},48135(e,t,n){n.d(t,{A:()=>r});var s=n(82001),o=n.n(s),a=n(40935),i=n.n(a)()(o());i.push([e.id,'\n.yOO_P1NnvBQ705I1zyUA::after {\n content: "";\n width: 5px;\n height: 20px;\n background: #ec7fff;\n display: inline-block;\n animation: p0oX1Sqo4sKJHs_I1qOK 1.5s steps(2) infinite;\n}\n\n@keyframes p0oX1Sqo4sKJHs_I1qOK {\n 0% {\n opacity: 0;\n }\n}\n',"",{version:3,sources:["webpack://./../web-editors/autotype-editor-component/src/styles.module.css"],names:[],mappings:";AACA;EACE,WAAW;EACX,UAAU;EACV,YAAY;EACZ,mBAAmB;EACnB,qBAAqB;EACrB,sDAA8C;AAChD;;AAEA;EACE;IACE,UAAU;EACZ;AACF",sourcesContent:['\n.caret::after {\n content: "";\n width: 5px;\n height: 20px;\n background: #ec7fff;\n display: inline-block;\n animation: cursor-blink 1.5s steps(2) infinite;\n}\n\n@keyframes cursor-blink {\n 0% {\n opacity: 0;\n }\n}\n'],sourceRoot:""}]),i.locals={caret:"yOO_P1NnvBQ705I1zyUA","cursor-blink":"p0oX1Sqo4sKJHs_I1qOK"};const r=i},67291(e,t,n){n.d(t,{A:()=>o});var s=n(81318);const o=s.bP.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",(0,s.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}})}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8516],{8516(t,e,n){n.r(e),n.d(e,{RadiusEditorPlugin:()=>d});var r=n(59929),s=n(
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8516],{8516(t,e,n){n.r(e),n.d(e,{RadiusEditorPlugin:()=>d});var r=n(59929),s=n(36565);class d extends r.WF{constructor(){super(),this.onConnect=this.onConnect.bind(this)}onConnect(){const t=s.Ay.getSelectedComponent();if(t.length>0){const e=t[0],n=e.props?.style?.borderRadius;this.radius=parseInt(n)||0}}onChangeRadius(t){const e=t.target.value;s.Ay.execCommand("style",{borderRadius:e+"px"})}connectedCallback(){super.connectedCallback(),s.Ay.on("update",this.onConnect),this.onConnect()}disconnectedCallback(){super.disconnectedCallback(),s.Ay.off("update",this.onConnect)}render(){return r.qy`
|
|
2
2
|
<cdtr-row mt="1">
|
|
3
3
|
<cdtr-title><lang-text text="radius"></lang-text></cdtr-title>
|
|
4
4
|
</cdtr-row>
|
|
Binary file
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
>
|
|
8
8
|
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
9
|
<path
|
|
10
|
+
fill="currentColor"
|
|
10
11
|
d="M2 18h7v2H2v-2zm0-7h9v2H2v-2zm0-7h20v2H2V4zm18.674 9.025l1.156-.391 1 1.732-.916.805a4.017 4.017 0 0 1 0 1.658l.916.805-1 1.732-1.156-.391c-.41.37-.898.655-1.435.83L19 21h-2l-.24-1.196a3.996 3.996 0 0 1-1.434-.83l-1.156.392-1-1.732.916-.805a4.017 4.017 0 0 1 0-1.658l-.916-.805 1-1.732 1.156.391c.41-.37.898-.655 1.435-.83L17 11h2l.24 1.196c.536.174 1.024.46 1.434.83zM18 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"
|
|
11
12
|
/>
|
|
12
13
|
</svg>`}}s.styles=h.AH`
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8916],{48916(e,t
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[8916],{48916(e,r,t){t.r(r);var n=t(59929);class s extends n.WF{constructor(){super()}render(){return n.qy`<hr />`}}s.styles=n.AH`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
width: 100%;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
hr {
|
|
7
7
|
outline: none;
|
|
8
8
|
border: none;
|
|
9
|
+
margin: 4px 16px;
|
|
9
10
|
}
|
|
10
11
|
hr:after {
|
|
11
12
|
content: "";
|
|
12
13
|
height: 1px;
|
|
13
|
-
background:
|
|
14
|
+
background: #e8e8eb;
|
|
14
15
|
display: block;
|
|
15
16
|
width: 100%;
|
|
16
|
-
opacity: 0.8;
|
|
17
17
|
}
|
|
18
|
-
`,customElements.define("cdtr-divider",
|
|
18
|
+
`,customElements.define("cdtr-divider",s)}}]);
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
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(
|
|
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(36565),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(){const t=i.M.get("components",this.for),e=t?.commands?.remove??t?.remove;"function"==typeof e&&e()}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
2
|
${(0,a.K)(this.elementRef)}
|
|
3
3
|
class="bar"
|
|
4
4
|
alignItems="center"
|
|
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,
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9162],{59162(t,e,i){i.r(e),i.d(e,{DesignIcon:()=>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,9 +7,10 @@
|
|
|
7
7
|
>
|
|
8
8
|
<path fill="none" d="M0 0h24v24H0z" />
|
|
9
9
|
<path
|
|
10
|
+
fill="currentColor"
|
|
10
11
|
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
12
|
/>
|
|
12
|
-
</svg>`}}
|
|
13
|
+
</svg>`}}r.styles=h.AH`
|
|
13
14
|
:host {
|
|
14
15
|
display: inherit;
|
|
15
16
|
--cdtr-icon-width: 20px;
|
|
@@ -20,4 +21,4 @@
|
|
|
20
21
|
height: var(--cdtr-icon-height);
|
|
21
22
|
color: var(--cdtr-icon-color);
|
|
22
23
|
}
|
|
23
|
-
`,
|
|
24
|
+
`,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-design-icon",r)}}]);
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9694],{69694(e,n,t){t.d(n,{default:()=>b});const o=e=>{{const{component:n,commands:t}=e;return{select:e=>{let{changeTab:n,tab:t}=e;"design"!==t.text&&n("design")},tabs:e=>{const n=[{text:"design"}];return n.forEach(n=>n.selected=n.selected=n.text===e),n},layout:e=>{let{tab:o,changeTab:r,tabs:s}=e;return[{type:"slider",title:"height",unit:"px",value:parseFloat(n.props.size),min:10,max:900,onInput:e=>{const n=e.target.value;t.execCommand("size",n+"px")}}]}}}},r=()=>({set:(e,n,t)=>"size"===n&&(e[n]=t,!0)});var s=t(72591),a=t.n(s),i=t(88639),d=t.n(i),A=t(88128),c=t.n(A),l=t(30855),u=t.n(l),g=t(93051),C=t.n(g),p=t(30772),m={};m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=d(),m.insertStyleElement=C();a()(p.A,m);const h=p.A&&p.A.locals?p.A.locals:void 0,b=()=>{const e="spacer";return{name:e,create:n=>{let{createElement:t,compose:s,helpers:a}=n;const i=document.createElement("div");i.classList.add(h.root);const d=t({name:e,id:s.id,template:i,defaultProps:{size:"200px"},draggable:{group:"element"},droppable:{group:"element"},handleBar:!0,render:e=>{i.style.height=s.props.size||"200px"},validator:r(),getRenderedHTML:()=>`<div style="height:${s.props.size}"></div>`,schema:s.schema,onSelect:e=>{i.classList.add(e)},onDeselect:e=>{i.classList.remove(e)},elementProps:s,remove:()=>{i.remove()},createEditor:o});return((e,n)=>{const t=document.createElement("div");t.classList.add(h.resizeBar),t.setAttribute("draggable","false"),e.appendChild(t);let o=!1,r=0,s=0;const a=t=>{if(!o)return;const a=t.clientY-r,i=Math.max(10,s+a)+"px";e.style.height=i,n.commands.execCommand("size",i)},i=()=>{o&&(o=!1,t.classList.remove(h.dragging),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i))};t.addEventListener("mousedown",n=>{n.preventDefault(),n.stopPropagation(),o=!0,r=n.clientY,s=e.getBoundingClientRect().height,document.addEventListener("mousemove",a),document.addEventListener("mouseup",i),t.classList.add(h.dragging)})})(i,d),d}}}},30772(e,n,t){t.d(n,{A:()=>i});var o=t(82001),r=t.n(o),s=t(40935),a=t.n(s)()(r());a.push([e.id,'.aLJn5aW2t4h6fq41PEdv{\n width: 100%;\n position: relative;\n}\n.aLJn5aW2t4h6fq41PEdv::after{\n content: "";\n outline: 1px dashed rgba(57, 170, 193, 0.459);\n display: block;\n width: 100%;\n height: 100%;\n background-color: rgba(63, 115, 125, 0.005);\n}\n.pxoFCz5GGvHmLd86XtRD{\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 8px;\n cursor: ns-resize;\n z-index: 10;\n background-color: rgba(57, 170, 193, 0.
|
|
1
|
+
"use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9694],{69694(e,n,t){t.d(n,{default:()=>b});const o=e=>{{const{component:n,commands:t}=e;return{select:e=>{let{changeTab:n,tab:t}=e;"design"!==t.text&&n("design")},tabs:e=>{const n=[{text:"design"}];return n.forEach(n=>n.selected=n.selected=n.text===e),n},layout:e=>{let{tab:o,changeTab:r,tabs:s}=e;return[{type:"slider",title:"height",unit:"px",value:parseFloat(n.props.size),min:10,max:900,onInput:e=>{const n=e.target.value;t.execCommand("size",n+"px")}}]}}}},r=()=>({set:(e,n,t)=>"size"===n&&(e[n]=t,!0)});var s=t(72591),a=t.n(s),i=t(88639),d=t.n(i),A=t(88128),c=t.n(A),l=t(30855),u=t.n(l),g=t(93051),C=t.n(g),p=t(30772),m={};m.setAttributes=u(),m.insert=c().bind(null,"head"),m.domAPI=d(),m.insertStyleElement=C();a()(p.A,m);const h=p.A&&p.A.locals?p.A.locals:void 0,b=()=>{const e="spacer";return{name:e,create:n=>{let{createElement:t,compose:s,helpers:a}=n;const i=document.createElement("div");i.classList.add(h.root);const d=t({name:e,id:s.id,template:i,defaultProps:{size:"200px"},draggable:{group:"element"},droppable:{group:"element"},handleBar:!0,render:e=>{i.style.height=s.props.size||"200px"},validator:r(),getRenderedHTML:()=>`<div style="height:${s.props.size}"></div>`,schema:s.schema,onSelect:e=>{i.classList.add(e)},onDeselect:e=>{i.classList.remove(e)},elementProps:s,remove:()=>{i.remove()},createEditor:o});return((e,n)=>{const t=document.createElement("div");t.classList.add(h.resizeBar),t.setAttribute("draggable","false"),e.appendChild(t);let o=!1,r=0,s=0;const a=t=>{if(!o)return;const a=t.clientY-r,i=Math.max(10,s+a)+"px";e.style.height=i,n.commands.execCommand("size",i)},i=()=>{o&&(o=!1,t.classList.remove(h.dragging),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i))};t.addEventListener("mousedown",n=>{n.preventDefault(),n.stopPropagation(),o=!0,r=n.clientY,s=e.getBoundingClientRect().height,document.addEventListener("mousemove",a),document.addEventListener("mouseup",i),t.classList.add(h.dragging)})})(i,d),d}}}},30772(e,n,t){t.d(n,{A:()=>i});var o=t(82001),r=t.n(o),s=t(40935),a=t.n(s)()(r());a.push([e.id,'.aLJn5aW2t4h6fq41PEdv{\n width: 100%;\n position: relative;\n}\n.aLJn5aW2t4h6fq41PEdv::after{\n content: "";\n outline: 1px dashed rgba(57, 170, 193, 0.459);\n display: block;\n width: 100%;\n height: 100%;\n background-color: rgba(63, 115, 125, 0.005);\n}\n.pxoFCz5GGvHmLd86XtRD{\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 8px;\n cursor: ns-resize;\n z-index: 10;\n background-color: rgba(57, 170, 193, 0.1);\n transition: background-color 0.2s;\n}\n\n.pxoFCz5GGvHmLd86XtRD:hover{\n background-color: rgba(57, 170, 193, 0.6);\n}\n.pxoFCz5GGvHmLd86XtRD._0A7M5j1AiL_VBIzQGDK{\n background-color: rgba(57, 170, 193, 0.8);\n}',"",{version:3,sources:["webpack://./../web-editors/spacer-editor-component/lib/style.module.css"],names:[],mappings:"AAAA;IACI,WAAW;IACX,kBAAkB;AACtB;AACA;IACI,WAAW;IACX,6CAA6C;IAC7C,cAAc;IACd,WAAW;IACX,YAAY;IACZ,2CAA2C;AAC/C;AACA;IACI,kBAAkB;IAClB,SAAS;IACT,OAAO;IACP,WAAW;IACX,WAAW;IACX,iBAAiB;IACjB,WAAW;IACX,yCAAyC;IACzC,iCAAiC;AACrC;;AAEA;IACI,yCAAyC;AAC7C;AACA;IACI,yCAAyC;AAC7C",sourcesContent:['.root{\n width: 100%;\n position: relative;\n}\n.root::after{\n content: "";\n outline: 1px dashed rgba(57, 170, 193, 0.459);\n display: block;\n width: 100%;\n height: 100%;\n background-color: rgba(63, 115, 125, 0.005);\n}\n.resizeBar{\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 8px;\n cursor: ns-resize;\n z-index: 10;\n background-color: rgba(57, 170, 193, 0.1);\n transition: background-color 0.2s;\n}\n\n.resizeBar:hover{\n background-color: rgba(57, 170, 193, 0.6);\n}\n.resizeBar.dragging{\n background-color: rgba(57, 170, 193, 0.8);\n}'],sourceRoot:""}]),a.locals={root:"aLJn5aW2t4h6fq41PEdv",resizeBar:"pxoFCz5GGvHmLd86XtRD",dragging:"_0A7M5j1AiL_VBIzQGDK"};const i=a}}]);
|
|
Binary file
|