@threadlabs/looma 0.53.6 → 0.53.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/components/ui-editor/ui-editor.html +2 -1
- package/dist/index.js +1 -1
- package/docs/catalog.json +1 -1
- package/package.json +1 -1
- package/vanilla/UiEditor.js +49 -46
package/docs/catalog.json
CHANGED
package/package.json
CHANGED
package/vanilla/UiEditor.js
CHANGED
|
@@ -876,56 +876,59 @@ export function createUiEditor(options = {}, html) {
|
|
|
876
876
|
const x0 = "-1";
|
|
877
877
|
const s1 = toAttribute(x0, "tabindex");
|
|
878
878
|
writeAttribute(r.n, "tabindex", r.v1 = s1);
|
|
879
|
-
const x1 =
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
879
|
+
const x1 = true;
|
|
880
|
+
const s2 = x1;
|
|
881
|
+
r.n.classList.toggle("looma-editor", r.v2 = s2);
|
|
882
|
+
const x2 = !truthy(v[5]);
|
|
883
|
+
const s3 = x2;
|
|
884
|
+
r.n.classList.toggle("looma-editor--readonly", r.v3 = s3);
|
|
885
|
+
const x3 = readMember(v[0], "dragOver");
|
|
886
|
+
const s4 = truthy(x3);
|
|
887
|
+
r.n.classList.toggle("looma-editor--drag-over", r.v4 = s4);
|
|
885
888
|
}
|
|
886
889
|
if (c & 1073741825) {
|
|
887
|
-
const
|
|
888
|
-
const
|
|
889
|
-
if (
|
|
890
|
-
const
|
|
891
|
-
const
|
|
892
|
-
if (
|
|
893
|
-
const
|
|
894
|
-
const
|
|
895
|
-
if (
|
|
896
|
-
const
|
|
897
|
-
const
|
|
898
|
-
if (
|
|
899
|
-
const
|
|
900
|
-
const
|
|
901
|
-
if (
|
|
902
|
-
const
|
|
903
|
-
const
|
|
904
|
-
if (
|
|
905
|
-
const
|
|
906
|
-
const s10 = toAttribute(x8, "for");
|
|
907
|
-
if (s10 !== r.v10) writeAttribute(r.a23, "for", r.v10 = s10);
|
|
908
|
-
const x9 = readMember(v[0], "placement");
|
|
909
|
-
const s11 = toAttribute(x9, "placement");
|
|
910
|
-
if (s11 !== r.v11) writeAttribute(r.a23, "placement", r.v11 = s11);
|
|
911
|
-
const x10 = readMember(v[0], "blockActionAnchorId");
|
|
890
|
+
const x4 = readMember(v[0], "density");
|
|
891
|
+
const s5 = toAttribute(x4, "density");
|
|
892
|
+
if (s5 !== r.v5) writeAttribute(r.a7, "density", r.v5 = s5);
|
|
893
|
+
const x5 = readMember(readMember(v[0], "chip"), "open");
|
|
894
|
+
const s7 = toAttribute(x5, "open");
|
|
895
|
+
if (s7 !== r.v7) writeAttribute(r.a19, "open", r.v7 = s7);
|
|
896
|
+
const x6 = readMember(v[0], "chipAnchorId");
|
|
897
|
+
const s8 = toAttribute(x6, "for");
|
|
898
|
+
if (s8 !== r.v8) writeAttribute(r.a19, "for", r.v8 = s8);
|
|
899
|
+
const x7 = readMember(readMember(v[0], "chip"), "label");
|
|
900
|
+
const s9 = toAttribute(x7, "label");
|
|
901
|
+
if (s9 !== r.v9) writeAttribute(r.a20, "label", r.v9 = s9);
|
|
902
|
+
const x8 = readMember(readMember(v[0], "chip"), "color");
|
|
903
|
+
const s10 = toAttribute(x8, "color");
|
|
904
|
+
if (s10 !== r.v10) writeAttribute(r.a20, "color", r.v10 = s10);
|
|
905
|
+
const x9 = readMember(v[0], "linkOpen");
|
|
906
|
+
const s11 = toAttribute(x9, "open");
|
|
907
|
+
if (s11 !== r.v11) writeAttribute(r.a23, "open", r.v11 = s11);
|
|
908
|
+
const x10 = readMember(v[0], "linkAnchorId");
|
|
912
909
|
const s12 = toAttribute(x10, "for");
|
|
913
|
-
if (s12 !== r.v12) writeAttribute(r.
|
|
914
|
-
const
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
const
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
const s15 = toAttribute(
|
|
921
|
-
if (s15 !== r.v15) writeAttribute(r.
|
|
922
|
-
const
|
|
923
|
-
|
|
910
|
+
if (s12 !== r.v12) writeAttribute(r.a23, "for", r.v12 = s12);
|
|
911
|
+
const x11 = readMember(v[0], "placement");
|
|
912
|
+
const s13 = toAttribute(x11, "placement");
|
|
913
|
+
if (s13 !== r.v13) writeAttribute(r.a23, "placement", r.v13 = s13);
|
|
914
|
+
const x12 = readMember(v[0], "blockActionAnchorId");
|
|
915
|
+
const s14 = toAttribute(x12, "for");
|
|
916
|
+
if (s14 !== r.v14) writeAttribute(r.a26, "for", r.v14 = s14);
|
|
917
|
+
const s15 = toAttribute(x11, "placement");
|
|
918
|
+
if (s15 !== r.v15) writeAttribute(r.a26, "placement", r.v15 = s15);
|
|
919
|
+
const x13 = readMember(v[0], "tablePickerOpen");
|
|
920
|
+
const s16 = toAttribute(x13, "open");
|
|
921
|
+
if (s16 !== r.v16) writeAttribute(r.a27, "open", r.v16 = s16);
|
|
922
|
+
const x14 = readMember(v[0], "tablePickerAnchorId");
|
|
923
|
+
const s17 = toAttribute(x14, "for");
|
|
924
|
+
if (s17 !== r.v17) writeAttribute(r.a27, "for", r.v17 = s17);
|
|
925
|
+
const s18 = toAttribute(x11, "placement");
|
|
926
|
+
if (s18 !== r.v18) writeAttribute(r.a27, "placement", r.v18 = s18);
|
|
924
927
|
}
|
|
925
928
|
if (c === -1) {
|
|
926
|
-
const
|
|
927
|
-
const
|
|
928
|
-
if (
|
|
929
|
+
const x15 = true;
|
|
930
|
+
const s6 = toAttribute(x15, "multiple");
|
|
931
|
+
if (s6 !== r.v6) writeAttribute(r.a12, "multiple", r.v6 = s6);
|
|
929
932
|
}
|
|
930
933
|
if (c & 1073741825 && !(truthy(readMember(v[0], "resizeHintFor"))) !== !r.b0) {
|
|
931
934
|
if (r.b0) { r.b0 = undefined; clearRegion(r.a1, r.e0); }
|
|
@@ -1053,7 +1056,7 @@ export function createUiEditor(options = {}, html) {
|
|
|
1053
1056
|
const t30 = t29.nextSibling.nextSibling.nextSibling;
|
|
1054
1057
|
const t31 = t30.nextSibling.nextSibling.nextSibling;
|
|
1055
1058
|
const t32 = t31.nextSibling.nextSibling.nextSibling;
|
|
1056
|
-
const R = { n: element, a7: t6, a12: t11, a19: t18, a20: t19, a23: t22, a26: t25, a27: t26, v0: undefined, v1: undefined, v2: undefined,
|
|
1059
|
+
const R = { n: element, a7: t6, a12: t11, a19: t18, a20: t19, a23: t22, a26: t25, a27: t26, v0: undefined, v1: undefined, v2: undefined, v3: undefined, v4: undefined, v5: null, v6: null, v7: null, v8: null, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, a1: t0, e0: t0.nextSibling, b0: undefined, a2: t1, e1: t1.nextSibling, b1: undefined, a3: t2, e2: t2.nextSibling, b2: undefined, a4: t3, e3: t3.nextSibling, b3: undefined, a5: t4, e4: t4.nextSibling, b4: undefined, a6: t5, e5: t5.nextSibling, b5: undefined, a8: t7, e6: t7.nextSibling, b6: undefined, a10: t9, e7: t9.nextSibling, b7: undefined, a11: t10, e8: t10.nextSibling, b8: undefined, a14: t13, e9: t13.nextSibling, b9: undefined, a15: t14, e10: t14.nextSibling, b10: undefined, a16: t15, e11: t15.nextSibling, b11: undefined, a17: t16, e12: t16.nextSibling, b12: undefined, a18: t17, e13: t17.nextSibling, b13: undefined, a21: t20, e14: t20.nextSibling, b14: undefined, a22: t21, e15: t21.nextSibling, b15: undefined, a24: t23, e16: t23.nextSibling, b16: undefined, a25: t24, e17: t24.nextSibling, b17: undefined, a29: t28, e18: t28.nextSibling, b18: undefined, a30: t29, e19: t29.nextSibling, b19: undefined, a31: t30, e20: t30.nextSibling, b20: undefined, a32: t31, e21: t31.nextSibling, b21: undefined, a33: t32, e22: t32.nextSibling, b22: undefined };
|
|
1057
1060
|
const I = { B };
|
|
1058
1061
|
const J = project(I, children, slots);
|
|
1059
1062
|
I.R = new Set();
|