@threadlabs/looma 0.53.3 → 0.53.4
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/EXPRESSIVE-MARKDOWN.md +14 -2
- package/components/ui-editor/ui-editor.html +1 -0
- package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +5 -0
- package/dist/index.js +1 -1
- package/docs/catalog.json +1 -1
- package/editor/chunks/expressmark.js +11017 -172
- package/editor/chunks/extensions.js +137 -28
- package/editor/document-session.d.ts +1 -0
- package/editor/extensions/image.d.ts +7 -0
- package/editor/extensions/index.d.ts +1 -1
- package/editor/extensions/index.js +3 -3
- package/editor/extensions/line-block.d.ts +3 -1
- package/editor/image-media.d.ts +10 -0
- package/editor/image-sources.d.ts +18 -0
- package/editor/index.js +15 -46
- package/package.json +5 -3
- package/vanilla/UiEditor.js +13 -10
- package/vanilla/UiEditorImageToolbar.d.ts +1 -0
- package/vanilla/UiEditorImageToolbar.js +177 -101
|
@@ -1,152 +1,228 @@
|
|
|
1
1
|
// Generated by HTML Next 1.0.0-alpha.92 for Vanilla DOM. Do not edit.
|
|
2
|
-
import { attachGeneratedController, equalValue, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, forwardAttributes, resetForwardedAttributes, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
2
|
+
import { attachGeneratedController, equalValue, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, forwardAttributes, resetForwardedAttributes, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-image-toolbar/ui-editor-image-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-image-toolbar.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],"\n ",["ui-text",["as","div","font","sans"],["ui-editor-toolbar",["floating","","aria-label","Image actions"],
|
|
7
|
-
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-text",["as","div","font","sans"],["ui-editor-toolbar",["floating","","aria-label","Image actions"],1,"\n ",1,"\n ",1,"\n ",1,"\n ",["ui-icon-button",["label","Image description","size","sm","variant","ghost"],["ui-icon",["name","file-text"]]],"\n ",["ui-icon-button",["label","Delete image","size","sm","variant","ghost","data-action","delete"],["ui-icon",["name","trash"]]]],"\n ",["ui-tooltip",[],"Image in line"],"\n ",["ui-tooltip",[],"Center image"],"\n ",["ui-tooltip",[],"Wrap text to the right"],"\n ",["ui-tooltip",[],"Wrap text to the left"],"\n ",["ui-tooltip",[],"Image description"],"\n ",["ui-tooltip",[],"Delete image"],"\n ",["ui-popover",["size","sm","aria-label","Image description"],["form",["aria-label","Image description"],"\n ",["ui-stack",["gap","s"],["ui-form-field",[],["label",["slot","label"],"Alt text"],["ui-input",["size","sm"]]],"\n ",["ui-text",["size","xs","tone","secondary"],"Describe the image for people using a screen reader."],"\n ",["ui-cluster",["justify","end","gap","xs"],["ui-button",["type","button","variant","ghost","tone","neutral","size","sm","data-action","cancel"],"Cancel"],"\n ",["ui-button",["type","submit","variant","solid","size","sm"],"Save"]]],"\n "]]],"\n "];
|
|
7
|
+
const T1 = ["ui-icon-button",["label","Image in line","size","sm","data-placement","block"],["ui-icon",["name","panel-top"]]];
|
|
8
|
+
const T2 = ["ui-icon-button",["label","Center image","size","sm","data-placement","center"],["ui-icon",["name","align-center"]]];
|
|
9
|
+
const T3 = ["ui-icon-button",["label","Wrap text to the right","size","sm","data-placement","wrap-left"],["ui-icon",["name","panel-left"]]];
|
|
10
|
+
const T4 = ["ui-icon-button",["label","Wrap text to the left","size","sm","data-placement","wrap-right"],["ui-icon",["name","panel-right"]]];
|
|
11
|
+
let P0, P1, P2, P3, P4;
|
|
8
12
|
const S = { n: ["base","describing","draft"], t: ["s","b","s"], f: import.meta.url, g: "ui-editor-image-toolbar", d: { "placement": [detailCheck(checkObject([["placement", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["block","center","wrap-left","wrap-right"]}), false]], false)), true, true, false], "describe": [detailCheck(checkObject([["alt", checkString, false]], false)), true, true, false], "delete": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: ["ui-editor-image-toolbar", false, ""] };
|
|
9
|
-
const D = { g: "ui-editor-image-toolbar", props: { "alt": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["block","center","wrap-left","wrap-right"],"default":"block", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "target": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
13
|
+
const D = { g: "ui-editor-image-toolbar", props: { "alt": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "inline": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placement": { "required":false,"values":["block","center","wrap-left","wrap-right"],"default":"block", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "target": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
10
14
|
const C = (host) => activateModule(controller, host);
|
|
11
15
|
|
|
12
16
|
export function createUiEditorImageToolbar(options = {}, html) {
|
|
13
17
|
const { attributes: authoredAttributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
14
|
-
const attributes = Object.fromEntries([...[], ...Object.entries(authoredAttributes)].filter(([name]) => !["alt","placement","target"].includes(name)));
|
|
18
|
+
const attributes = Object.fromEntries([...[], ...Object.entries(authoredAttributes)].filter(([name]) => !["alt","inline","placement","target"].includes(name)));
|
|
15
19
|
const element = document.createElement("div");
|
|
16
20
|
element.setAttribute("component", "ui-editor-image-toolbar");
|
|
17
21
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
18
|
-
const v = ["ui-editor-image-toolbar", false, "", null, null, null];
|
|
22
|
+
const v = ["ui-editor-image-toolbar", false, "", null, null, null, null];
|
|
19
23
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
const m1 = (d) => {
|
|
25
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
26
|
+
const r = { n, v0: null, v1: null, v2: null };
|
|
27
|
+
p1(r, -1, d);
|
|
28
|
+
return r;
|
|
29
|
+
};
|
|
30
|
+
const p1 = (r, c, d) => {
|
|
25
31
|
if (c & 1) {
|
|
26
32
|
const x0 = textCall("concat", [v[0], "-block"]);
|
|
27
33
|
if (x0 !== NONCONFORMING) {
|
|
28
|
-
const
|
|
29
|
-
if (
|
|
34
|
+
const s0 = toAttribute(x0, "id");
|
|
35
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
30
36
|
}
|
|
31
|
-
|
|
37
|
+
}
|
|
38
|
+
if (c & 1073741856) {
|
|
39
|
+
const x1 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [equalValue(v[5], "block")]));
|
|
32
40
|
if (x1 !== NONCONFORMING) {
|
|
33
|
-
const
|
|
34
|
-
if (
|
|
41
|
+
const s1 = toAttribute(x1, "variant");
|
|
42
|
+
if (s1 !== r.v1) writeAttribute(r.n, "variant", r.v1 = s1);
|
|
35
43
|
}
|
|
36
|
-
|
|
44
|
+
}
|
|
45
|
+
if (c & 32) {
|
|
46
|
+
const x2 = textCall("concat", [equalValue(v[5], "block")]);
|
|
37
47
|
if (x2 !== NONCONFORMING) {
|
|
38
|
-
const
|
|
39
|
-
if (
|
|
48
|
+
const s2 = toAttribute(x2, "aria-pressed");
|
|
49
|
+
if (s2 !== r.v2) writeAttribute(r.n, "aria-pressed", r.v2 = s2);
|
|
40
50
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
const m2 = (d) => {
|
|
54
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
55
|
+
const r = { n, v0: null, v1: null, v2: null };
|
|
56
|
+
p2(r, -1, d);
|
|
57
|
+
return r;
|
|
58
|
+
};
|
|
59
|
+
const p2 = (r, c, d) => {
|
|
60
|
+
if (c & 1) {
|
|
61
|
+
const x0 = textCall("concat", [v[0], "-center"]);
|
|
62
|
+
if (x0 !== NONCONFORMING) {
|
|
63
|
+
const s0 = toAttribute(x0, "id");
|
|
64
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
45
65
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
if (s14 !== r.v14) writeAttribute(r.a6, "id", r.v14 = s14);
|
|
66
|
+
}
|
|
67
|
+
if (c & 1073741856) {
|
|
68
|
+
const x1 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [equalValue(v[5], "center")]));
|
|
69
|
+
if (x1 !== NONCONFORMING) {
|
|
70
|
+
const s1 = toAttribute(x1, "variant");
|
|
71
|
+
if (s1 !== r.v1) writeAttribute(r.n, "variant", r.v1 = s1);
|
|
53
72
|
}
|
|
73
|
+
}
|
|
74
|
+
if (c & 32) {
|
|
75
|
+
const x2 = textCall("concat", [equalValue(v[5], "center")]);
|
|
76
|
+
if (x2 !== NONCONFORMING) {
|
|
77
|
+
const s2 = toAttribute(x2, "aria-pressed");
|
|
78
|
+
if (s2 !== r.v2) writeAttribute(r.n, "aria-pressed", r.v2 = s2);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const m3 = (d) => {
|
|
83
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
84
|
+
const r = { n, v0: null, v1: null, v2: null };
|
|
85
|
+
p3(r, -1, d);
|
|
86
|
+
return r;
|
|
87
|
+
};
|
|
88
|
+
const p3 = (r, c, d) => {
|
|
89
|
+
if (c & 1) {
|
|
90
|
+
const x0 = textCall("concat", [v[0], "-wrap-left"]);
|
|
54
91
|
if (x0 !== NONCONFORMING) {
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
92
|
+
const s0 = toAttribute(x0, "id");
|
|
93
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
57
94
|
}
|
|
95
|
+
}
|
|
96
|
+
if (c & 1073741856) {
|
|
97
|
+
const x1 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [equalValue(v[5], "wrap-left")]));
|
|
58
98
|
if (x1 !== NONCONFORMING) {
|
|
59
|
-
const
|
|
60
|
-
if (
|
|
99
|
+
const s1 = toAttribute(x1, "variant");
|
|
100
|
+
if (s1 !== r.v1) writeAttribute(r.n, "variant", r.v1 = s1);
|
|
61
101
|
}
|
|
102
|
+
}
|
|
103
|
+
if (c & 32) {
|
|
104
|
+
const x2 = textCall("concat", [equalValue(v[5], "wrap-left")]);
|
|
62
105
|
if (x2 !== NONCONFORMING) {
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
106
|
+
const s2 = toAttribute(x2, "aria-pressed");
|
|
107
|
+
if (s2 !== r.v2) writeAttribute(r.n, "aria-pressed", r.v2 = s2);
|
|
65
108
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
const m4 = (d) => {
|
|
112
|
+
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
113
|
+
const r = { n, v0: null, v1: null, v2: null };
|
|
114
|
+
p4(r, -1, d);
|
|
115
|
+
return r;
|
|
116
|
+
};
|
|
117
|
+
const p4 = (r, c, d) => {
|
|
118
|
+
if (c & 1) {
|
|
119
|
+
const x0 = textCall("concat", [v[0], "-wrap-right"]);
|
|
120
|
+
if (x0 !== NONCONFORMING) {
|
|
121
|
+
const s0 = toAttribute(x0, "id");
|
|
122
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
75
123
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const
|
|
79
|
-
if (
|
|
80
|
-
const
|
|
81
|
-
if (
|
|
124
|
+
}
|
|
125
|
+
if (c & 1073741856) {
|
|
126
|
+
const x1 = readIndex({ "true": "outline", "false": "ghost" }, textCall("concat", [equalValue(v[5], "wrap-right")]));
|
|
127
|
+
if (x1 !== NONCONFORMING) {
|
|
128
|
+
const s1 = toAttribute(x1, "variant");
|
|
129
|
+
if (s1 !== r.v1) writeAttribute(r.n, "variant", r.v1 = s1);
|
|
82
130
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
131
|
+
}
|
|
132
|
+
if (c & 32) {
|
|
133
|
+
const x2 = textCall("concat", [equalValue(v[5], "wrap-right")]);
|
|
134
|
+
if (x2 !== NONCONFORMING) {
|
|
135
|
+
const s2 = toAttribute(x2, "aria-pressed");
|
|
136
|
+
if (s2 !== r.v2) writeAttribute(r.n, "aria-pressed", r.v2 = s2);
|
|
86
137
|
}
|
|
87
138
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
139
|
+
};
|
|
140
|
+
const p0 = (r, c, d) => {
|
|
141
|
+
if (c === -1) {
|
|
142
|
+
resetForwardedAttributes(r.n, attributes, r.v0);
|
|
143
|
+
r.v0 = forwardAttributes(r.n, attributes);
|
|
144
|
+
}
|
|
145
|
+
if (c & 1) {
|
|
146
|
+
const x0 = v[0];
|
|
147
|
+
const s1 = toAttribute(x0, "id");
|
|
148
|
+
if (s1 !== r.v1) writeAttribute(r.a5, "id", r.v1 = s1);
|
|
149
|
+
const x1 = textCall("concat", [v[0], "-delete"]);
|
|
150
|
+
if (x1 !== NONCONFORMING) {
|
|
151
|
+
const s2 = toAttribute(x1, "id");
|
|
152
|
+
if (s2 !== r.v2) writeAttribute(r.a6, "id", r.v2 = s2);
|
|
93
153
|
}
|
|
94
|
-
const
|
|
95
|
-
if (
|
|
96
|
-
const
|
|
97
|
-
if (
|
|
154
|
+
const x2 = textCall("concat", [v[0], "-block"]);
|
|
155
|
+
if (x2 !== NONCONFORMING) {
|
|
156
|
+
const s3 = toAttribute(x2, "for");
|
|
157
|
+
if (s3 !== r.v3) writeAttribute(r.a7, "for", r.v3 = s3);
|
|
98
158
|
}
|
|
99
|
-
const
|
|
100
|
-
if (
|
|
101
|
-
const
|
|
102
|
-
if (
|
|
159
|
+
const x3 = textCall("concat", [v[0], "-center"]);
|
|
160
|
+
if (x3 !== NONCONFORMING) {
|
|
161
|
+
const s4 = toAttribute(x3, "for");
|
|
162
|
+
if (s4 !== r.v4) writeAttribute(r.a8, "for", r.v4 = s4);
|
|
103
163
|
}
|
|
104
|
-
const
|
|
105
|
-
if (
|
|
106
|
-
const
|
|
107
|
-
if (
|
|
164
|
+
const x4 = textCall("concat", [v[0], "-wrap-left"]);
|
|
165
|
+
if (x4 !== NONCONFORMING) {
|
|
166
|
+
const s5 = toAttribute(x4, "for");
|
|
167
|
+
if (s5 !== r.v5) writeAttribute(r.a9, "for", r.v5 = s5);
|
|
108
168
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
const s3 = toAttribute(x11, "aria-pressed");
|
|
114
|
-
if (s3 !== r.v3) writeAttribute(r.a1, "aria-pressed", r.v3 = s3);
|
|
169
|
+
const x5 = textCall("concat", [v[0], "-wrap-right"]);
|
|
170
|
+
if (x5 !== NONCONFORMING) {
|
|
171
|
+
const s6 = toAttribute(x5, "for");
|
|
172
|
+
if (s6 !== r.v6) writeAttribute(r.a10, "for", r.v6 = s6);
|
|
115
173
|
}
|
|
116
|
-
const
|
|
117
|
-
if (
|
|
118
|
-
|
|
119
|
-
|
|
174
|
+
const s7 = toAttribute(x0, "for");
|
|
175
|
+
if (s7 !== r.v7) writeAttribute(r.a11, "for", r.v7 = s7);
|
|
176
|
+
if (x1 !== NONCONFORMING) {
|
|
177
|
+
const s8 = toAttribute(x1, "for");
|
|
178
|
+
if (s8 !== r.v8) writeAttribute(r.a12, "for", r.v8 = s8);
|
|
120
179
|
}
|
|
121
|
-
const
|
|
122
|
-
if (
|
|
123
|
-
|
|
124
|
-
|
|
180
|
+
const s9 = toAttribute(x0, "for");
|
|
181
|
+
if (s9 !== r.v9) writeAttribute(r.a13, "for", r.v9 = s9);
|
|
182
|
+
const x6 = textCall("concat", [v[0], "-alt"]);
|
|
183
|
+
if (x6 !== NONCONFORMING) {
|
|
184
|
+
const s11 = toAttribute(x6, "for");
|
|
185
|
+
if (s11 !== r.v11) writeAttribute(r.a14, "for", r.v11 = s11);
|
|
125
186
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
if (s12 !== r.v12) writeAttribute(r.a4, "aria-pressed", r.v12 = s12);
|
|
187
|
+
if (x6 !== NONCONFORMING) {
|
|
188
|
+
const s12 = toAttribute(x6, "id");
|
|
189
|
+
if (s12 !== r.v12) writeAttribute(r.a15, "id", r.v12 = s12);
|
|
130
190
|
}
|
|
131
191
|
}
|
|
132
192
|
if (c & 2) {
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
if (
|
|
193
|
+
const x7 = v[1];
|
|
194
|
+
const s10 = toAttribute(x7, "open");
|
|
195
|
+
if (s10 !== r.v10) writeAttribute(r.a13, "open", r.v10 = s10);
|
|
136
196
|
}
|
|
137
197
|
if (c & 4) {
|
|
138
|
-
const
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
198
|
+
const x8 = v[2];
|
|
199
|
+
const s13 = toAttribute(x8, "value");
|
|
200
|
+
if (s13 !== r.v13) writeAttribute(r.a15, "value", r.v13 = s13);
|
|
141
201
|
}
|
|
202
|
+
if (c & 16 && !(!truthy(v[4])) !== !r.b0) {
|
|
203
|
+
if (r.b0) { r.b0 = undefined; clearRegion(r.a1, r.e0); }
|
|
204
|
+
else { r.b0 = m1(d); r.e0.before(r.b0.n); }
|
|
205
|
+
} else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
206
|
+
if (c & 16 && !(!truthy(v[4])) !== !r.b1) {
|
|
207
|
+
if (r.b1) { r.b1 = undefined; clearRegion(r.a2, r.e1); }
|
|
208
|
+
else { r.b1 = m2(d); r.e1.before(r.b1.n); }
|
|
209
|
+
} else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
210
|
+
if (c & 16 && !(!truthy(v[4])) !== !r.b2) {
|
|
211
|
+
if (r.b2) { r.b2 = undefined; clearRegion(r.a3, r.e2); }
|
|
212
|
+
else { r.b2 = m3(d); r.e2.before(r.b2.n); }
|
|
213
|
+
} else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
214
|
+
if (c & 16 && !(!truthy(v[4])) !== !r.b3) {
|
|
215
|
+
if (r.b3) { r.b3 = undefined; clearRegion(r.a4, r.e3); }
|
|
216
|
+
else { r.b3 = m4(d); r.e3.before(r.b3.n); }
|
|
217
|
+
} else if (r.b3 !== undefined) p4(r.b3, c, d);
|
|
142
218
|
};
|
|
143
219
|
const t0 = element.firstChild.nextSibling;
|
|
144
220
|
const t1 = t0.firstChild;
|
|
145
221
|
const t2 = t1.firstChild;
|
|
146
|
-
const t3 = t2.nextSibling.nextSibling;
|
|
147
|
-
const t4 = t3.nextSibling.nextSibling;
|
|
148
|
-
const t5 = t4.nextSibling.nextSibling;
|
|
149
|
-
const t6 = t5.nextSibling.nextSibling;
|
|
222
|
+
const t3 = t2.nextSibling.nextSibling.nextSibling;
|
|
223
|
+
const t4 = t3.nextSibling.nextSibling.nextSibling;
|
|
224
|
+
const t5 = t4.nextSibling.nextSibling.nextSibling;
|
|
225
|
+
const t6 = t5.nextSibling.nextSibling.nextSibling;
|
|
150
226
|
const t7 = t6.nextSibling.nextSibling;
|
|
151
227
|
const t8 = t1.nextSibling.nextSibling;
|
|
152
228
|
const t9 = t8.nextSibling.nextSibling;
|
|
@@ -158,7 +234,7 @@ export function createUiEditorImageToolbar(options = {}, html) {
|
|
|
158
234
|
const t15 = t14.firstChild.firstChild.nextSibling.firstChild;
|
|
159
235
|
const t16 = t15.firstChild;
|
|
160
236
|
const t17 = t16.nextSibling;
|
|
161
|
-
const R = { n: element,
|
|
237
|
+
const R = { n: element, a5: t6, a6: t7, a7: t8, a8: t9, a9: t10, a10: t11, a11: t12, a12: t13, a13: t14, a14: t16, a15: t17, v0: undefined, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: null, v10: null, v11: null, v12: null, v13: null, a1: t2, e0: t2.nextSibling, b0: undefined, a2: t3, e1: t3.nextSibling, b1: undefined, a3: t4, e2: t4.nextSibling, b2: undefined, a4: t5, e3: t5.nextSibling, b3: undefined };
|
|
162
238
|
const I = { B };
|
|
163
239
|
I.R = new Set();
|
|
164
240
|
I.F = { values: attributes, draw: () => ((c, d) => p0(R, c, d))(-1) };
|
|
@@ -168,4 +244,4 @@ export function createUiEditorImageToolbar(options = {}, html) {
|
|
|
168
244
|
I.r["alt"] = t17;
|
|
169
245
|
return element;
|
|
170
246
|
}
|
|
171
|
-
defineComponent("ui-editor-image-toolbar", createUiEditorImageToolbar, ["alt","placement","target"]);
|
|
247
|
+
defineComponent("ui-editor-image-toolbar", createUiEditorImageToolbar, ["alt","inline","placement","target"]);
|