@qualityunit/liveagent-components-editor 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ckeditor.cjs +1 -1
- package/dist/ckeditor.js +1 -1
- package/dist/{ckeditor5-B6Cow0OQ.js → ckeditor5-BG_a5W1S.js} +5053 -5044
- package/dist/{ckeditor5-APgjEysr.cjs → ckeditor5-Bdpd3Lez.cjs} +563 -563
- package/dist/editor-lib.cjs +1 -1
- package/dist/editor-lib.js +108 -108
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/editor-lib.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./ckeditor5-
|
|
1
|
+
"use strict";const t=require("./ckeditor5-Bdpd3Lez.cjs");function v(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function k(n,e,s){const l=n.slice();return l[4]=e[s],l}function E(n){let e,s=n[4].text+"",l,u,c,o,_;return{c(){e=t.element("button"),l=t.text(s),t.attr(e,"class",u=n[4].style),t.attr(e,"title",c=n[4].text)},m(r,a){t.insert(r,e,a),t.append(e,l),o||(_=t.listen(e,"click",function(){t.is_function(n[4].handler)&&n[4].handler.apply(this,arguments)}),o=!0)},p(r,a){n=r,a&1&&s!==(s=n[4].text+"")&&t.set_data(l,s),a&1&&u!==(u=n[4].style)&&t.attr(e,"class",u),a&1&&c!==(c=n[4].text)&&t.attr(e,"title",c)},d(r){r&&t.detach(e),o=!1,_()}}}function C(n){let e,s,l,u,c,o,_,r=v(n[0]),a=[];for(let i=0;i<r.length;i+=1)a[i]=E(k(n,r,i));return{c(){e=t.element("div"),s=t.element("button"),s.textContent="HTML",l=t.space(),u=t.element("button"),u.textContent="Plain",c=t.space();for(let i=0;i<a.length;i+=1)a[i].c();t.attr(s,"class","HTMLEditor"),t.attr(u,"class","PlainEditor")},m(i,d){t.insert(i,e,d),t.append(e,s),t.append(e,l),t.append(e,u),t.append(e,c);for(let f=0;f<a.length;f+=1)a[f]&&a[f].m(e,null);o||(_=[t.listen(s,"click",n[1]),t.listen(u,"click",n[2])],o=!0)},p(i,[d]){if(d&1){r=v(i[0]);let f;for(f=0;f<r.length;f+=1){const b=k(i,r,f);a[f]?a[f].p(b,d):(a[f]=E(b),a[f].c(),a[f].m(e,null))}for(;f<a.length;f+=1)a[f].d(1);a.length=r.length}},i:t.noop,o:t.noop,d(i){i&&t.detach(e),t.destroy_each(a,i),o=!1,t.run_all(_)}}}function w(n,e,s){const l=t.createEventDispatcher();let{buttons:u=[]}=e;function c(){l("html",{})}function o(){l("plain",{})}return n.$$set=_=>{"buttons"in _&&s(0,u=_.buttons)},[u,c,o]}class $ extends t.SvelteComponent{constructor(e){super(),t.init(this,e,w,C,t.safe_not_equal,{buttons:0})}get buttons(){return this.$$.ctx[0]}set buttons(e){this.$$set({buttons:e}),t.flush()}}t.create_custom_element($,{buttons:{}},[],[],!0);function H(n){let e,s,l;return{c(){e=t.element("textarea")},m(u,c){t.insert(u,e,c),t.set_input_value(e,n[0]),s||(l=t.listen(e,"input",n[6]),s=!0)},p(u,c){c&1&&t.set_input_value(e,u[0])},i:t.noop,o:t.noop,d(u){u&&t.detach(e),s=!1,l()}}}function P(n){let e,s,l;function u(o){n[5](o)}let c={};return n[0]!==void 0&&(c.value=n[0]),e=new t.CKEditor5Classic_1({props:c}),t.binding_callbacks.push(()=>t.bind(e,"value",u)),{c(){t.create_component(e.$$.fragment)},m(o,_){t.mount_component(e,o,_),l=!0},p(o,_){const r={};!s&&_&1&&(s=!0,r.value=o[0],t.add_flush_callback(()=>s=!1)),e.$set(r)},i(o){l||(t.transition_in(e.$$.fragment,o),l=!0)},o(o){t.transition_out(e.$$.fragment,o),l=!1},d(o){t.destroy_component(e,o)}}}function q(n){let e,s,l,u,c,o,_,r;const a=[P,H],i=[];function d(h,m){return h[2]?0:1}l=d(n),u=i[l]=a[l](n);function f(h){n[7](h)}let b={};return n[1]!==void 0&&(b.buttons=n[1]),o=new $({props:b}),t.binding_callbacks.push(()=>t.bind(o,"buttons",f)),o.$on("html",n[3]),o.$on("plain",n[4]),{c(){e=t.element("main"),s=t.element("div"),u.c(),c=t.space(),t.create_component(o.$$.fragment),t.attr(s,"class","Editor")},m(h,m){t.insert(h,e,m),t.append(e,s),i[l].m(s,null),t.append(e,c),t.mount_component(o,e,null),r=!0},p(h,[m]){let p=l;l=d(h),l===p?i[l].p(h,m):(t.group_outros(),t.transition_out(i[p],1,1,()=>{i[p]=null}),t.check_outros(),u=i[l],u?u.p(h,m):(u=i[l]=a[l](h),u.c()),t.transition_in(u,1),u.m(s,null));const g={};!_&&m&2&&(_=!0,g.buttons=h[1],t.add_flush_callback(()=>_=!1)),o.$set(g)},i(h){r||(t.transition_in(u),t.transition_in(o.$$.fragment,h),r=!0)},o(h){t.transition_out(u),t.transition_out(o.$$.fragment,h),r=!1},d(h){h&&t.detach(e),i[l].d(),t.destroy_component(o)}}}function S(n,e,s){let{value:l=""}=e,{buttons:u=[]}=e,{html:c=!0}=e;function o(){c||s(2,c=!0)}function _(){c&&(s(0,l=l.replace(/<[^>]*>?/gm,"")),s(2,c=!1))}function r(d){l=d,s(0,l)}function a(){l=this.value,s(0,l)}function i(d){u=d,s(1,u)}return n.$$set=d=>{"value"in d&&s(0,l=d.value),"buttons"in d&&s(1,u=d.buttons),"html"in d&&s(2,c=d.html)},[l,u,c,o,_,r,a,i]}class B extends t.SvelteComponent{constructor(e){super(),t.init(this,e,S,q,t.safe_not_equal,{value:0,buttons:1,html:2})}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),t.flush()}get buttons(){return this.$$.ctx[1]}set buttons(e){this.$$set({buttons:e}),t.flush()}get html(){return this.$$.ctx[2]}set html(e){this.$$set({html:e}),t.flush()}}customElements.define("switchable-editor",t.create_custom_element(B,{value:{},buttons:{},html:{type:"Boolean"}},[],[],!1));
|
package/dist/editor-lib.js
CHANGED
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
function
|
|
3
|
-
return
|
|
1
|
+
import { c as M, S as T, i as j, f as v, s as y, e as d, a as B, b as h, d as w, g as m, l as C, n as $, h as H, j as O, r as Q, k as R, t as U, m as V, o as W, p as z, q as K, u as F, v as G, w as k, x as X, y as E, z as I, A as J, B as Y, C as q, D as Z } from "./ckeditor5-BG_a5W1S.js";
|
|
2
|
+
function A(e) {
|
|
3
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
const
|
|
7
|
-
return
|
|
5
|
+
function D(e, t, s) {
|
|
6
|
+
const n = e.slice();
|
|
7
|
+
return n[4] = t[s], n;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function L(e) {
|
|
10
10
|
let t, s = (
|
|
11
11
|
/*button*/
|
|
12
|
-
|
|
13
|
-
),
|
|
12
|
+
e[4].text + ""
|
|
13
|
+
), n, l, i, u, f;
|
|
14
14
|
return {
|
|
15
15
|
c() {
|
|
16
|
-
t = d("button"),
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
t = d("button"), n = U(s), h(t, "class", l = /*button*/
|
|
17
|
+
e[4].style), h(t, "title", i = /*button*/
|
|
18
|
+
e[4].text);
|
|
19
19
|
},
|
|
20
|
-
m(
|
|
21
|
-
w(
|
|
20
|
+
m(c, a) {
|
|
21
|
+
w(c, t, a), m(t, n), u || (f = C(t, "click", function() {
|
|
22
22
|
V(
|
|
23
23
|
/*button*/
|
|
24
|
-
|
|
25
|
-
) &&
|
|
24
|
+
e[4].handler
|
|
25
|
+
) && e[4].handler.apply(this, arguments);
|
|
26
26
|
}), u = !0);
|
|
27
27
|
},
|
|
28
|
-
p(
|
|
29
|
-
|
|
28
|
+
p(c, a) {
|
|
29
|
+
e = c, a & /*buttons*/
|
|
30
30
|
1 && s !== (s = /*button*/
|
|
31
|
-
|
|
31
|
+
e[4].text + "") && W(n, s), a & /*buttons*/
|
|
32
32
|
1 && l !== (l = /*button*/
|
|
33
|
-
|
|
33
|
+
e[4].style) && h(t, "class", l), a & /*buttons*/
|
|
34
34
|
1 && i !== (i = /*button*/
|
|
35
|
-
|
|
35
|
+
e[4].text) && h(t, "title", i);
|
|
36
36
|
},
|
|
37
|
-
d(
|
|
38
|
-
|
|
37
|
+
d(c) {
|
|
38
|
+
c && H(t), u = !1, f();
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function x(
|
|
43
|
-
let t, s,
|
|
42
|
+
function x(e) {
|
|
43
|
+
let t, s, n, l, i, u, f, c = A(
|
|
44
44
|
/*buttons*/
|
|
45
|
-
|
|
45
|
+
e[0]
|
|
46
46
|
), a = [];
|
|
47
|
-
for (let o = 0; o <
|
|
48
|
-
a[o] = D(
|
|
47
|
+
for (let o = 0; o < c.length; o += 1)
|
|
48
|
+
a[o] = L(D(e, c, o));
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
51
|
-
t = d("div"), s = d("button"), s.textContent = "HTML",
|
|
51
|
+
t = d("div"), s = d("button"), s.textContent = "HTML", n = B(), l = d("button"), l.textContent = "Plain", i = B();
|
|
52
52
|
for (let o = 0; o < a.length; o += 1)
|
|
53
53
|
a[o].c();
|
|
54
54
|
h(s, "class", "HTMLEditor"), h(l, "class", "PlainEditor");
|
|
55
55
|
},
|
|
56
56
|
m(o, _) {
|
|
57
|
-
w(o, t, _), m(t, s), m(t,
|
|
58
|
-
for (let
|
|
59
|
-
a[
|
|
57
|
+
w(o, t, _), m(t, s), m(t, n), m(t, l), m(t, i);
|
|
58
|
+
for (let r = 0; r < a.length; r += 1)
|
|
59
|
+
a[r] && a[r].m(t, null);
|
|
60
60
|
u || (f = [
|
|
61
61
|
C(
|
|
62
62
|
s,
|
|
63
63
|
"click",
|
|
64
64
|
/*onHtml*/
|
|
65
|
-
|
|
65
|
+
e[1]
|
|
66
66
|
),
|
|
67
67
|
C(
|
|
68
68
|
l,
|
|
69
69
|
"click",
|
|
70
70
|
/*onPlain*/
|
|
71
|
-
|
|
71
|
+
e[2]
|
|
72
72
|
)
|
|
73
73
|
], u = !0);
|
|
74
74
|
},
|
|
75
75
|
p(o, [_]) {
|
|
76
76
|
if (_ & /*buttons*/
|
|
77
77
|
1) {
|
|
78
|
-
|
|
78
|
+
c = A(
|
|
79
79
|
/*buttons*/
|
|
80
80
|
o[0]
|
|
81
81
|
);
|
|
82
|
-
let
|
|
83
|
-
for (
|
|
84
|
-
const g =
|
|
85
|
-
a[
|
|
82
|
+
let r;
|
|
83
|
+
for (r = 0; r < c.length; r += 1) {
|
|
84
|
+
const g = D(o, c, r);
|
|
85
|
+
a[r] ? a[r].p(g, _) : (a[r] = L(g), a[r].c(), a[r].m(t, null));
|
|
86
86
|
}
|
|
87
|
-
for (;
|
|
88
|
-
a[
|
|
89
|
-
a.length =
|
|
87
|
+
for (; r < a.length; r += 1)
|
|
88
|
+
a[r].d(1);
|
|
89
|
+
a.length = c.length;
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
i: $,
|
|
93
93
|
o: $,
|
|
94
94
|
d(o) {
|
|
95
|
-
o &&
|
|
95
|
+
o && H(t), O(a, o), u = !1, Q(f);
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
function tt(
|
|
100
|
-
const
|
|
99
|
+
function tt(e, t, s) {
|
|
100
|
+
const n = R();
|
|
101
101
|
let { buttons: l = [] } = t;
|
|
102
102
|
function i() {
|
|
103
|
-
|
|
103
|
+
n("html", {});
|
|
104
104
|
}
|
|
105
105
|
function u() {
|
|
106
|
-
|
|
106
|
+
n("plain", {});
|
|
107
107
|
}
|
|
108
|
-
return
|
|
108
|
+
return e.$$set = (f) => {
|
|
109
109
|
"buttons" in f && s(0, l = f.buttons);
|
|
110
110
|
}, [l, i, u];
|
|
111
111
|
}
|
|
112
|
-
class N extends
|
|
112
|
+
class N extends T {
|
|
113
113
|
constructor(t) {
|
|
114
|
-
super(),
|
|
114
|
+
super(), j(this, t, tt, x, y, { buttons: 0 });
|
|
115
115
|
}
|
|
116
116
|
get buttons() {
|
|
117
117
|
return this.$$.ctx[0];
|
|
118
118
|
}
|
|
119
119
|
set buttons(t) {
|
|
120
|
-
this.$$set({ buttons: t }),
|
|
120
|
+
this.$$set({ buttons: t }), v();
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
|
|
124
|
-
function et(
|
|
125
|
-
let t, s,
|
|
123
|
+
M(N, { buttons: {} }, [], [], !0);
|
|
124
|
+
function et(e) {
|
|
125
|
+
let t, s, n;
|
|
126
126
|
return {
|
|
127
127
|
c() {
|
|
128
128
|
t = d("textarea");
|
|
129
129
|
},
|
|
130
130
|
m(l, i) {
|
|
131
|
-
w(l, t, i),
|
|
131
|
+
w(l, t, i), q(
|
|
132
132
|
t,
|
|
133
133
|
/*value*/
|
|
134
|
-
|
|
135
|
-
), s || (
|
|
134
|
+
e[0]
|
|
135
|
+
), s || (n = C(
|
|
136
136
|
t,
|
|
137
137
|
"input",
|
|
138
138
|
/*textarea_input_handler*/
|
|
139
|
-
|
|
139
|
+
e[6]
|
|
140
140
|
), s = !0);
|
|
141
141
|
},
|
|
142
142
|
p(l, i) {
|
|
143
143
|
i & /*value*/
|
|
144
|
-
1 &&
|
|
144
|
+
1 && q(
|
|
145
145
|
t,
|
|
146
146
|
/*value*/
|
|
147
147
|
l[0]
|
|
@@ -150,37 +150,37 @@ function et(n) {
|
|
|
150
150
|
i: $,
|
|
151
151
|
o: $,
|
|
152
152
|
d(l) {
|
|
153
|
-
l &&
|
|
153
|
+
l && H(t), s = !1, n();
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
function nt(
|
|
158
|
-
let t, s,
|
|
157
|
+
function nt(e) {
|
|
158
|
+
let t, s, n;
|
|
159
159
|
function l(u) {
|
|
160
|
-
|
|
160
|
+
e[5](u);
|
|
161
161
|
}
|
|
162
162
|
let i = {};
|
|
163
163
|
return (
|
|
164
164
|
/*value*/
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
e[0] !== void 0 && (i.value = /*value*/
|
|
166
|
+
e[0]), t = new Z({ props: i }), z.push(() => K(t, "value", l)), {
|
|
167
167
|
c() {
|
|
168
168
|
F(t.$$.fragment);
|
|
169
169
|
},
|
|
170
170
|
m(u, f) {
|
|
171
|
-
G(t, u, f),
|
|
171
|
+
G(t, u, f), n = !0;
|
|
172
172
|
},
|
|
173
173
|
p(u, f) {
|
|
174
|
-
const
|
|
174
|
+
const c = {};
|
|
175
175
|
!s && f & /*value*/
|
|
176
|
-
1 && (s = !0,
|
|
177
|
-
u[0], I(() => s = !1)), t.$set(
|
|
176
|
+
1 && (s = !0, c.value = /*value*/
|
|
177
|
+
u[0], I(() => s = !1)), t.$set(c);
|
|
178
178
|
},
|
|
179
179
|
i(u) {
|
|
180
|
-
|
|
180
|
+
n || (E(t.$$.fragment, u), n = !0);
|
|
181
181
|
},
|
|
182
182
|
o(u) {
|
|
183
|
-
|
|
183
|
+
k(t.$$.fragment, u), n = !1;
|
|
184
184
|
},
|
|
185
185
|
d(u) {
|
|
186
186
|
J(t, u);
|
|
@@ -188,8 +188,8 @@ function nt(n) {
|
|
|
188
188
|
}
|
|
189
189
|
);
|
|
190
190
|
}
|
|
191
|
-
function st(
|
|
192
|
-
let t, s,
|
|
191
|
+
function st(e) {
|
|
192
|
+
let t, s, n, l, i, u, f, c;
|
|
193
193
|
const a = [nt, et], o = [];
|
|
194
194
|
function _(b, p) {
|
|
195
195
|
return (
|
|
@@ -197,102 +197,102 @@ function st(n) {
|
|
|
197
197
|
b[2] ? 0 : 1
|
|
198
198
|
);
|
|
199
199
|
}
|
|
200
|
-
|
|
201
|
-
function
|
|
202
|
-
|
|
200
|
+
n = _(e), l = o[n] = a[n](e);
|
|
201
|
+
function r(b) {
|
|
202
|
+
e[7](b);
|
|
203
203
|
}
|
|
204
204
|
let g = {};
|
|
205
205
|
return (
|
|
206
206
|
/*buttons*/
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
e[1] !== void 0 && (g.buttons = /*buttons*/
|
|
208
|
+
e[1]), u = new N({ props: g }), z.push(() => K(u, "buttons", r)), u.$on(
|
|
209
209
|
"html",
|
|
210
210
|
/*handleHtml*/
|
|
211
|
-
|
|
211
|
+
e[3]
|
|
212
212
|
), u.$on(
|
|
213
213
|
"plain",
|
|
214
214
|
/*handlePlain*/
|
|
215
|
-
|
|
215
|
+
e[4]
|
|
216
216
|
), {
|
|
217
217
|
c() {
|
|
218
|
-
t = d("main"), s = d("div"), l.c(), i =
|
|
218
|
+
t = d("main"), s = d("div"), l.c(), i = B(), F(u.$$.fragment), h(s, "class", "Editor");
|
|
219
219
|
},
|
|
220
220
|
m(b, p) {
|
|
221
|
-
w(b, t, p), m(t, s), o[
|
|
221
|
+
w(b, t, p), m(t, s), o[n].m(s, null), m(t, i), G(u, t, null), c = !0;
|
|
222
222
|
},
|
|
223
223
|
p(b, [p]) {
|
|
224
|
-
let
|
|
225
|
-
|
|
226
|
-
o[
|
|
227
|
-
}), X(), l = o[
|
|
228
|
-
const
|
|
224
|
+
let P = n;
|
|
225
|
+
n = _(b), n === P ? o[n].p(b, p) : (Y(), k(o[P], 1, 1, () => {
|
|
226
|
+
o[P] = null;
|
|
227
|
+
}), X(), l = o[n], l ? l.p(b, p) : (l = o[n] = a[n](b), l.c()), E(l, 1), l.m(s, null));
|
|
228
|
+
const S = {};
|
|
229
229
|
!f && p & /*buttons*/
|
|
230
|
-
2 && (f = !0,
|
|
231
|
-
b[1], I(() => f = !1)), u.$set(
|
|
230
|
+
2 && (f = !0, S.buttons = /*buttons*/
|
|
231
|
+
b[1], I(() => f = !1)), u.$set(S);
|
|
232
232
|
},
|
|
233
233
|
i(b) {
|
|
234
|
-
|
|
234
|
+
c || (E(l), E(u.$$.fragment, b), c = !0);
|
|
235
235
|
},
|
|
236
236
|
o(b) {
|
|
237
|
-
|
|
237
|
+
k(l), k(u.$$.fragment, b), c = !1;
|
|
238
238
|
},
|
|
239
239
|
d(b) {
|
|
240
|
-
b &&
|
|
240
|
+
b && H(t), o[n].d(), J(u);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
|
-
function lt(
|
|
246
|
-
let { value:
|
|
245
|
+
function lt(e, t, s) {
|
|
246
|
+
let { value: n = "" } = t, { buttons: l = [] } = t, { html: i = !0 } = t;
|
|
247
247
|
function u() {
|
|
248
248
|
i || s(2, i = !0);
|
|
249
249
|
}
|
|
250
250
|
function f() {
|
|
251
|
-
i && (s(0,
|
|
251
|
+
i && (s(0, n = n.replace(/<[^>]*>?/gm, "")), s(2, i = !1));
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
|
|
253
|
+
function c(_) {
|
|
254
|
+
n = _, s(0, n);
|
|
255
255
|
}
|
|
256
256
|
function a() {
|
|
257
|
-
|
|
257
|
+
n = this.value, s(0, n);
|
|
258
258
|
}
|
|
259
259
|
function o(_) {
|
|
260
260
|
l = _, s(1, l);
|
|
261
261
|
}
|
|
262
|
-
return
|
|
263
|
-
"value" in _ && s(0,
|
|
262
|
+
return e.$$set = (_) => {
|
|
263
|
+
"value" in _ && s(0, n = _.value), "buttons" in _ && s(1, l = _.buttons), "html" in _ && s(2, i = _.html);
|
|
264
264
|
}, [
|
|
265
|
-
|
|
265
|
+
n,
|
|
266
266
|
l,
|
|
267
267
|
i,
|
|
268
268
|
u,
|
|
269
269
|
f,
|
|
270
|
-
|
|
270
|
+
c,
|
|
271
271
|
a,
|
|
272
272
|
o
|
|
273
273
|
];
|
|
274
274
|
}
|
|
275
|
-
class ut extends
|
|
275
|
+
class ut extends T {
|
|
276
276
|
constructor(t) {
|
|
277
|
-
super(),
|
|
277
|
+
super(), j(this, t, lt, st, y, { value: 0, buttons: 1, html: 2 });
|
|
278
278
|
}
|
|
279
279
|
get value() {
|
|
280
280
|
return this.$$.ctx[0];
|
|
281
281
|
}
|
|
282
282
|
set value(t) {
|
|
283
|
-
this.$$set({ value: t }),
|
|
283
|
+
this.$$set({ value: t }), v();
|
|
284
284
|
}
|
|
285
285
|
get buttons() {
|
|
286
286
|
return this.$$.ctx[1];
|
|
287
287
|
}
|
|
288
288
|
set buttons(t) {
|
|
289
|
-
this.$$set({ buttons: t }),
|
|
289
|
+
this.$$set({ buttons: t }), v();
|
|
290
290
|
}
|
|
291
291
|
get html() {
|
|
292
292
|
return this.$$.ctx[2];
|
|
293
293
|
}
|
|
294
294
|
set html(t) {
|
|
295
|
-
this.$$set({ html: t }),
|
|
295
|
+
this.$$set({ html: t }), v();
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
customElements.define("switchable-editor",
|
|
298
|
+
customElements.define("switchable-editor", M(ut, { value: {}, buttons: {}, html: { type: "Boolean" } }, [], [], !1));
|