@threadlabs/looma 0.3.0 → 0.3.1

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.
@@ -37,9 +37,13 @@ function toHTMLElement(value) {
37
37
  if (componentRoot instanceof HTMLElement) return componentRoot;
38
38
  return null;
39
39
  }
40
- function createAdapterComponent(component, displayName, additionalEventBindings = [], defaultHydrationMismatch = "class", propertyBindings = []) {
40
+ function createAdapterComponent(component, displayName, additionalEventBindings = [], defaultHydrationMismatch = "class", propertyBindings = [], modelEvent) {
41
41
  const eventBindings = [...BASE_EVENT_BINDINGS, ...additionalEventBindings];
42
42
  const callbackAttrs = new Set(eventBindings.map(([, callbackAttr]) => callbackAttr));
43
+ if (modelEvent !== void 0) {
44
+ callbackAttrs.add("modelValue");
45
+ callbackAttrs.add("onUpdate:modelValue");
46
+ }
43
47
  const propertyAttrs = new Set(propertyBindings);
44
48
  return defineComponent({
45
49
  name: displayName,
@@ -51,20 +55,26 @@ function createAdapterComponent(component, displayName, additionalEventBindings
51
55
  if (!element) return;
52
56
  const adapterAttrs = attrs;
53
57
  const propertyTarget = element;
58
+ const modelled = modelEvent !== void 0 && "modelValue" in adapterAttrs;
54
59
  for (const propertyName of propertyBindings) {
55
- if (propertyTarget[propertyName] !== adapterAttrs[propertyName]) {
56
- propertyTarget[propertyName] = adapterAttrs[propertyName];
57
- }
60
+ const value = modelled && propertyName === "value" ? adapterAttrs.modelValue : adapterAttrs[propertyName];
61
+ if (propertyTarget[propertyName] !== value) propertyTarget[propertyName] = value;
58
62
  }
59
63
  const handlers = eventBindings.map(
60
64
  ([eventName, callbackAttr]) => {
61
65
  const callback = adapterAttrs[callbackAttr];
62
66
  return [
63
67
  eventName,
64
- typeof callback === "function" ? (event) => callback(event.detail) : void 0
68
+ typeof callback === "function" ? (event) => callback(event instanceof CustomEvent ? event.detail : event) : void 0
65
69
  ];
66
70
  }
67
71
  );
72
+ const updateModel = adapterAttrs["onUpdate:modelValue"];
73
+ if (modelEvent !== void 0 && typeof updateModel === "function") {
74
+ handlers.push([modelEvent, (event) => {
75
+ if (event.target === element) updateModel(element.value);
76
+ }]);
77
+ }
68
78
  for (const [eventName, handler] of handlers) {
69
79
  if (handler) element.addEventListener(eventName, handler);
70
80
  }
@@ -80,6 +90,7 @@ function createAdapterComponent(component, displayName, additionalEventBindings
80
90
  ([name]) => !callbackAttrs.has(name)
81
91
  )
82
92
  );
93
+ if (modelEvent !== void 0 && "modelValue" in attrs) forwardedAttrs.value = attrs.modelValue;
83
94
  const componentSlots = Object.fromEntries(
84
95
  Object.entries(slots).filter((entry) => Boolean(entry[1])).map(([slotName, slotFn]) => [
85
96
  slotName,
@@ -586,7 +597,7 @@ var UiCheckbox_default = /* @__PURE__ */ _defineComponent7({
586
597
 
587
598
  // src/generated/UiCombobox.ts
588
599
  import { defineComponent as _defineComponent9 } from "vue";
589
- import { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode6, renderSlot as _renderSlot9, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, mergeProps as _mergeProps9, openBlock as _openBlock9, createElementBlock as _createElementBlock9 } from "vue";
600
+ import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode6, renderSlot as _renderSlot9, createTextVNode as _createTextVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, mergeProps as _mergeProps9, openBlock as _openBlock9, createElementBlock as _createElementBlock9 } from "vue";
590
601
 
591
602
  // src/generated/UiTooltip.ts
592
603
  import { defineComponent as _defineComponent8 } from "vue";
@@ -672,33 +683,38 @@ import { getCurrentInstance as getCurrentInstance9, onMounted as onMounted9, onU
672
683
  import { attachLoomaComponent as attachLoomaComponent8, updateComponentProps as updateComponentProps8 } from "@threadlabs/looma/core/declarative";
673
684
  var _hoisted_18 = ["data-size"];
674
685
  var _hoisted_26 = {
686
+ for: "input",
687
+ part: "label",
688
+ "data-component": "ui-combobox"
689
+ };
690
+ var _hoisted_33 = {
675
691
  class: "field",
676
692
  part: "field",
677
693
  "data-component": "ui-combobox"
678
694
  };
679
- var _hoisted_33 = {
695
+ var _hoisted_42 = {
680
696
  slot: "start",
681
697
  style: { "display": "contents" }
682
698
  };
683
- var _hoisted_42 = ["placeholder", "name", "disabled", "readonly", "required"];
684
- var _hoisted_5 = ["disabled"];
685
- var _hoisted_6 = {
699
+ var _hoisted_5 = ["placeholder", "name", "disabled", "readonly", "required"];
700
+ var _hoisted_6 = ["disabled"];
701
+ var _hoisted_7 = {
686
702
  class: "popup",
687
703
  part: "popup",
688
704
  hidden: void 0,
689
705
  "data-component": "ui-combobox"
690
706
  };
691
- var _hoisted_7 = {
707
+ var _hoisted_8 = {
692
708
  slot: "footer",
693
709
  style: { "display": "contents" }
694
710
  };
695
- var _hoisted_8 = {
711
+ var _hoisted_9 = {
696
712
  class: "authored-options",
697
713
  hidden: "",
698
714
  "aria-hidden": "true",
699
715
  "data-component": "ui-combobox"
700
716
  };
701
- var _hoisted_9 = {
717
+ var _hoisted_10 = {
702
718
  slot: "",
703
719
  style: { "display": "contents" }
704
720
  };
@@ -809,23 +825,15 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
809
825
  ref_key: "root",
810
826
  ref: root
811
827
  }), [
812
- _cache[6] || (_cache[6] = _createElementVNode6(
828
+ _createElementVNode6(
813
829
  "label",
814
- {
815
- for: "input",
816
- part: "label",
817
- "data-component": "ui-combobox"
818
- },
819
- [
820
- _createElementVNode6("template", { "data-component": "ui-combobox" }, [
821
- _createTextVNode(_toDisplayString(void 0))
822
- ])
823
- ],
824
- -1
825
- /* CACHED */
826
- )),
827
- _createElementVNode6("div", _hoisted_26, [
828
- _createElementVNode6("span", _hoisted_33, [
830
+ _hoisted_26,
831
+ _toDisplayString(props.label),
832
+ 1
833
+ /* TEXT */
834
+ ),
835
+ _createElementVNode6("div", _hoisted_33, [
836
+ _createElementVNode6("span", _hoisted_42, [
829
837
  _renderSlot9(_ctx.$slots, "start")
830
838
  ]),
831
839
  _cache[1] || (_cache[1] = _createElementVNode6(
@@ -853,7 +861,7 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
853
861
  autocomplete: "off",
854
862
  part: "input",
855
863
  "data-component": "ui-combobox"
856
- }, null, 8, _hoisted_42),
864
+ }, null, 8, _hoisted_5),
857
865
  _cache[2] || (_cache[2] = _createElementVNode6(
858
866
  "button",
859
867
  {
@@ -898,7 +906,7 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
898
906
  -1
899
907
  /* CACHED */
900
908
  )
901
- ])], 8, _hoisted_5),
909
+ ])], 8, _hoisted_6),
902
910
  _cache[3] || (_cache[3] = _createElementVNode6(
903
911
  "button",
904
912
  {
@@ -934,22 +942,18 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
934
942
  for: "help",
935
943
  "data-component": "ui-combobox"
936
944
  }, {
937
- default: _withCtx(() => [..._cache[4] || (_cache[4] = [
938
- _createElementVNode6(
939
- "template",
940
- { "data-component": "ui-combobox" },
941
- [
942
- _createTextVNode(_toDisplayString(void 0))
943
- ],
944
- -1
945
- /* CACHED */
945
+ default: _withCtx(() => [
946
+ _createTextVNode(
947
+ _toDisplayString(props.help),
948
+ 1
949
+ /* TEXT */
946
950
  )
947
- ])]),
951
+ ]),
948
952
  _: 1
949
953
  /* STABLE */
950
954
  }),
951
- _createElementVNode6("div", _hoisted_6, [
952
- _cache[5] || (_cache[5] = _createElementVNode6(
955
+ _createElementVNode6("div", _hoisted_7, [
956
+ _cache[4] || (_cache[4] = _createElementVNode6(
953
957
  "div",
954
958
  {
955
959
  id: "listbox",
@@ -960,11 +964,11 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
960
964
  -1
961
965
  /* CACHED */
962
966
  )),
963
- _createElementVNode6("span", _hoisted_7, [
967
+ _createElementVNode6("span", _hoisted_8, [
964
968
  _renderSlot9(_ctx.$slots, "footer")
965
969
  ])
966
970
  ]),
967
- _cache[7] || (_cache[7] = _createElementVNode6(
971
+ _cache[5] || (_cache[5] = _createElementVNode6(
968
972
  "div",
969
973
  {
970
974
  id: "validation",
@@ -977,7 +981,7 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
977
981
  -1
978
982
  /* CACHED */
979
983
  )),
980
- _cache[8] || (_cache[8] = _createElementVNode6(
984
+ _cache[6] || (_cache[6] = _createElementVNode6(
981
985
  "div",
982
986
  {
983
987
  class: "sr-only",
@@ -990,8 +994,8 @@ var UiCombobox_default = /* @__PURE__ */ _defineComponent9({
990
994
  -1
991
995
  /* CACHED */
992
996
  )),
993
- _createElementVNode6("div", _hoisted_8, [
994
- _createElementVNode6("span", _hoisted_9, [
997
+ _createElementVNode6("div", _hoisted_9, [
998
+ _createElementVNode6("span", _hoisted_10, [
995
999
  _renderSlot9(_ctx.$slots, "default")
996
1000
  ])
997
1001
  ])
@@ -1167,22 +1171,30 @@ var UiContextMenu_default = /* @__PURE__ */ _defineComponent11({
1167
1171
 
1168
1172
  // src/generated/UiDialog.ts
1169
1173
  import { defineComponent as _defineComponent12 } from "vue";
1170
- import { toDisplayString as _toDisplayString2, createTextVNode as _createTextVNode2, createElementVNode as _createElementVNode9, renderSlot as _renderSlot12, mergeProps as _mergeProps12, openBlock as _openBlock12, createElementBlock as _createElementBlock12 } from "vue";
1174
+ import { toDisplayString as _toDisplayString2, createElementVNode as _createElementVNode9, renderSlot as _renderSlot12, mergeProps as _mergeProps12, openBlock as _openBlock12, createElementBlock as _createElementBlock12 } from "vue";
1171
1175
  import { getCurrentInstance as getCurrentInstance12, onMounted as onMounted12, onUnmounted as onUnmounted12, ref as ref12, watchEffect as watchEffect13 } from "vue";
1172
1176
  import { attachLoomaComponent as attachLoomaComponent11, updateComponentProps as updateComponentProps11 } from "@threadlabs/looma/core/declarative";
1173
1177
  var _hoisted_111 = {
1174
- class: "dialog__body",
1178
+ class: "dialog__header",
1175
1179
  "data-component": "ui-dialog"
1176
1180
  };
1177
1181
  var _hoisted_27 = {
1182
+ class: "dialog__title",
1183
+ "data-component": "ui-dialog"
1184
+ };
1185
+ var _hoisted_34 = {
1186
+ class: "dialog__body",
1187
+ "data-component": "ui-dialog"
1188
+ };
1189
+ var _hoisted_43 = {
1178
1190
  slot: "",
1179
1191
  style: { "display": "contents" }
1180
1192
  };
1181
- var _hoisted_34 = {
1193
+ var _hoisted_52 = {
1182
1194
  class: "dialog__footer",
1183
1195
  "data-component": "ui-dialog"
1184
1196
  };
1185
- var _hoisted_43 = {
1197
+ var _hoisted_62 = {
1186
1198
  slot: "actions",
1187
1199
  style: { "display": "contents" }
1188
1200
  };
@@ -1242,38 +1254,34 @@ var UiDialog_default = /* @__PURE__ */ _defineComponent12({
1242
1254
  ref: root
1243
1255
  }),
1244
1256
  [
1245
- _cache[0] || (_cache[0] = _createElementVNode9(
1246
- "header",
1247
- {
1248
- class: "dialog__header",
1249
- "data-component": "ui-dialog"
1250
- },
1251
- [
1252
- _createElementVNode9("h2", {
1253
- class: "dialog__title",
1254
- "data-component": "ui-dialog"
1255
- }, [
1256
- _createElementVNode9("template", { "data-component": "ui-dialog" }, [
1257
- _createTextVNode2(_toDisplayString2(void 0))
1258
- ])
1259
- ]),
1260
- _createElementVNode9("button", {
1257
+ _createElementVNode9("header", _hoisted_111, [
1258
+ _createElementVNode9(
1259
+ "h2",
1260
+ _hoisted_27,
1261
+ _toDisplayString2(props.label),
1262
+ 1
1263
+ /* TEXT */
1264
+ ),
1265
+ _cache[0] || (_cache[0] = _createElementVNode9(
1266
+ "button",
1267
+ {
1261
1268
  class: "dialog__close",
1262
1269
  type: "button",
1263
1270
  "aria-label": "Close",
1264
1271
  "data-component": "ui-dialog"
1265
- })
1266
- ],
1267
- -1
1268
- /* CACHED */
1269
- )),
1270
- _createElementVNode9("div", _hoisted_111, [
1271
- _createElementVNode9("span", _hoisted_27, [
1272
+ },
1273
+ null,
1274
+ -1
1275
+ /* CACHED */
1276
+ ))
1277
+ ]),
1278
+ _createElementVNode9("div", _hoisted_34, [
1279
+ _createElementVNode9("span", _hoisted_43, [
1272
1280
  _renderSlot12(_ctx.$slots, "default")
1273
1281
  ])
1274
1282
  ]),
1275
- _createElementVNode9("footer", _hoisted_34, [
1276
- _createElementVNode9("span", _hoisted_43, [
1283
+ _createElementVNode9("footer", _hoisted_52, [
1284
+ _createElementVNode9("span", _hoisted_62, [
1277
1285
  _renderSlot12(_ctx.$slots, "actions")
1278
1286
  ])
1279
1287
  ])
@@ -1287,15 +1295,16 @@ var UiDialog_default = /* @__PURE__ */ _defineComponent12({
1287
1295
 
1288
1296
  // src/generated/UiDisclosure.ts
1289
1297
  import { defineComponent as _defineComponent13 } from "vue";
1290
- import { toDisplayString as _toDisplayString3, createTextVNode as _createTextVNode3, createElementVNode as _createElementVNode10, renderSlot as _renderSlot13, mergeProps as _mergeProps13, openBlock as _openBlock13, createElementBlock as _createElementBlock13 } from "vue";
1298
+ import { toDisplayString as _toDisplayString3, createElementVNode as _createElementVNode10, renderSlot as _renderSlot13, mergeProps as _mergeProps13, openBlock as _openBlock13, createElementBlock as _createElementBlock13 } from "vue";
1291
1299
  import { getCurrentInstance as getCurrentInstance13, onMounted as onMounted13, onUnmounted as onUnmounted13, ref as ref13, watchEffect as watchEffect14 } from "vue";
1292
1300
  import { attachLoomaComponent as attachLoomaComponent12, updateComponentProps as updateComponentProps12 } from "@threadlabs/looma/core/declarative";
1293
1301
  var _hoisted_112 = ["disabled"];
1294
- var _hoisted_28 = {
1302
+ var _hoisted_28 = { "data-component": "ui-disclosure" };
1303
+ var _hoisted_35 = {
1295
1304
  class: "disclosure__panel",
1296
1305
  "data-component": "ui-disclosure"
1297
1306
  };
1298
- var _hoisted_35 = {
1307
+ var _hoisted_44 = {
1299
1308
  class: "disclosure__panel-inner",
1300
1309
  "data-component": "ui-disclosure"
1301
1310
  };
@@ -1359,19 +1368,15 @@ var UiDisclosure_default = /* @__PURE__ */ _defineComponent13({
1359
1368
  "aria-controls": void 0,
1360
1369
  disabled: props.disabled,
1361
1370
  "data-component": "ui-disclosure"
1362
- }, [..._cache[0] || (_cache[0] = [
1371
+ }, [
1363
1372
  _createElementVNode10(
1364
1373
  "span",
1365
- { "data-component": "ui-disclosure" },
1366
- [
1367
- _createElementVNode10("template", { "data-component": "ui-disclosure" }, [
1368
- _createTextVNode3(_toDisplayString3(void 0))
1369
- ])
1370
- ],
1371
- -1
1372
- /* CACHED */
1374
+ _hoisted_28,
1375
+ _toDisplayString3(props.summary),
1376
+ 1
1377
+ /* TEXT */
1373
1378
  ),
1374
- _createElementVNode10(
1379
+ _cache[0] || (_cache[0] = _createElementVNode10(
1375
1380
  "span",
1376
1381
  {
1377
1382
  class: "disclosure__chevron",
@@ -1381,10 +1386,10 @@ var UiDisclosure_default = /* @__PURE__ */ _defineComponent13({
1381
1386
  null,
1382
1387
  -1
1383
1388
  /* CACHED */
1384
- )
1385
- ])], 8, _hoisted_112),
1386
- _createElementVNode10("div", _hoisted_28, [
1387
- _createElementVNode10("div", _hoisted_35, [
1389
+ ))
1390
+ ], 8, _hoisted_112),
1391
+ _createElementVNode10("div", _hoisted_35, [
1392
+ _createElementVNode10("div", _hoisted_44, [
1388
1393
  _renderSlot13(_ctx.$slots, "default")
1389
1394
  ])
1390
1395
  ])
@@ -1398,10 +1403,24 @@ var UiDisclosure_default = /* @__PURE__ */ _defineComponent13({
1398
1403
 
1399
1404
  // src/generated/UiEditable.ts
1400
1405
  import { defineComponent as _defineComponent14 } from "vue";
1401
- import { toDisplayString as _toDisplayString4, createTextVNode as _createTextVNode4, createElementVNode as _createElementVNode11, mergeProps as _mergeProps14, openBlock as _openBlock14, createElementBlock as _createElementBlock14 } from "vue";
1406
+ import { toDisplayString as _toDisplayString4, createElementVNode as _createElementVNode11, mergeProps as _mergeProps14, openBlock as _openBlock14, createElementBlock as _createElementBlock14 } from "vue";
1402
1407
  import { getCurrentInstance as getCurrentInstance14, onMounted as onMounted14, onUnmounted as onUnmounted14, ref as ref14, watchEffect as watchEffect15 } from "vue";
1403
1408
  import { attachLoomaComponent as attachLoomaComponent13, updateComponentProps as updateComponentProps13 } from "@threadlabs/looma/core/declarative";
1404
1409
  var _hoisted_113 = ["data-disabled"];
1410
+ var _hoisted_29 = {
1411
+ class: "editable__field",
1412
+ "data-component": "ui-editable"
1413
+ };
1414
+ var _hoisted_36 = {
1415
+ class: "editable__preview",
1416
+ type: "button",
1417
+ "data-component": "ui-editable"
1418
+ };
1419
+ var _hoisted_45 = {
1420
+ class: "editable__hint",
1421
+ "aria-hidden": "true",
1422
+ "data-component": "ui-editable"
1423
+ };
1405
1424
  var UiEditable_default = /* @__PURE__ */ _defineComponent14({
1406
1425
  ...{ inheritAttrs: false },
1407
1426
  __name: "UiEditable",
@@ -1463,48 +1482,41 @@ var UiEditable_default = /* @__PURE__ */ _defineComponent14({
1463
1482
  "data-disabled": props.disabled ? "" : void 0,
1464
1483
  ref_key: "root",
1465
1484
  ref: root
1466
- }), [..._cache[0] || (_cache[0] = [
1467
- _createElementVNode11(
1468
- "div",
1469
- {
1470
- class: "editable__field",
1471
- "data-component": "ui-editable"
1472
- },
1473
- [
1474
- _createElementVNode11("button", {
1475
- class: "editable__preview",
1476
- type: "button",
1477
- "data-component": "ui-editable"
1478
- }, [
1479
- _createElementVNode11("span", {
1485
+ }), [
1486
+ _createElementVNode11("div", _hoisted_29, [
1487
+ _createElementVNode11("button", _hoisted_36, [
1488
+ _cache[0] || (_cache[0] = _createElementVNode11(
1489
+ "span",
1490
+ {
1480
1491
  class: "editable__text",
1481
1492
  "data-component": "ui-editable"
1482
- }, [
1483
- _createElementVNode11("template", { "data-component": "ui-editable" }, [
1484
- _createTextVNode4(_toDisplayString4(void 0))
1485
- ])
1486
- ]),
1487
- _createElementVNode11("span", {
1488
- class: "editable__hint",
1489
- "aria-hidden": "true",
1490
- "data-component": "ui-editable"
1491
- }, [
1492
- _createElementVNode11("template", { "data-component": "ui-editable" }, [
1493
- _createTextVNode4(_toDisplayString4(void 0))
1494
- ])
1495
- ])
1496
- ]),
1497
- _createElementVNode11("input", {
1493
+ },
1494
+ _toDisplayString4(void 0),
1495
+ -1
1496
+ /* CACHED */
1497
+ )),
1498
+ _createElementVNode11(
1499
+ "span",
1500
+ _hoisted_45,
1501
+ _toDisplayString4(props.hint),
1502
+ 1
1503
+ /* TEXT */
1504
+ )
1505
+ ]),
1506
+ _cache[1] || (_cache[1] = _createElementVNode11(
1507
+ "input",
1508
+ {
1498
1509
  class: "editable__input",
1499
1510
  type: "text",
1500
1511
  value: void 0,
1501
1512
  "data-component": "ui-editable"
1502
- })
1503
- ],
1504
- -1
1505
- /* CACHED */
1506
- ),
1507
- _createElementVNode11(
1513
+ },
1514
+ null,
1515
+ -1
1516
+ /* CACHED */
1517
+ ))
1518
+ ]),
1519
+ _cache[2] || (_cache[2] = _createElementVNode11(
1508
1520
  "div",
1509
1521
  {
1510
1522
  class: "editable__actions",
@@ -1524,8 +1536,8 @@ var UiEditable_default = /* @__PURE__ */ _defineComponent14({
1524
1536
  ],
1525
1537
  -1
1526
1538
  /* CACHED */
1527
- )
1528
- ])], -2, _hoisted_113);
1539
+ ))
1540
+ ], -2, _hoisted_113);
1529
1541
  };
1530
1542
  }
1531
1543
  });
@@ -1536,19 +1548,19 @@ import { renderSlot as _renderSlot14, createElementVNode as _createElementVNode1
1536
1548
  import { getCurrentInstance as getCurrentInstance15, onMounted as onMounted15, onUnmounted as onUnmounted15, ref as ref15, watchEffect as watchEffect16 } from "vue";
1537
1549
  import { attachLoomaComponent as attachLoomaComponent14, updateComponentProps as updateComponentProps14 } from "@threadlabs/looma/core/declarative";
1538
1550
  var _hoisted_114 = ["data-invalid", "data-disabled", "data-required"];
1539
- var _hoisted_29 = {
1551
+ var _hoisted_210 = {
1540
1552
  slot: "label",
1541
1553
  style: { "display": "contents" }
1542
1554
  };
1543
- var _hoisted_36 = {
1555
+ var _hoisted_37 = {
1544
1556
  slot: "",
1545
1557
  style: { "display": "contents" }
1546
1558
  };
1547
- var _hoisted_44 = {
1559
+ var _hoisted_46 = {
1548
1560
  slot: "help",
1549
1561
  style: { "display": "contents" }
1550
1562
  };
1551
- var _hoisted_52 = {
1563
+ var _hoisted_53 = {
1552
1564
  slot: "error",
1553
1565
  style: { "display": "contents" }
1554
1566
  };
@@ -1598,16 +1610,16 @@ var UiFormField_default = /* @__PURE__ */ _defineComponent15({
1598
1610
  ref_key: "root",
1599
1611
  ref: root
1600
1612
  }), [
1601
- _createElementVNode12("span", _hoisted_29, [
1613
+ _createElementVNode12("span", _hoisted_210, [
1602
1614
  _renderSlot14(_ctx.$slots, "label")
1603
1615
  ]),
1604
- _createElementVNode12("span", _hoisted_36, [
1616
+ _createElementVNode12("span", _hoisted_37, [
1605
1617
  _renderSlot14(_ctx.$slots, "default")
1606
1618
  ]),
1607
- _createElementVNode12("span", _hoisted_44, [
1619
+ _createElementVNode12("span", _hoisted_46, [
1608
1620
  _renderSlot14(_ctx.$slots, "help")
1609
1621
  ]),
1610
- _createElementVNode12("span", _hoisted_52, [
1622
+ _createElementVNode12("span", _hoisted_53, [
1611
1623
  _renderSlot14(_ctx.$slots, "error")
1612
1624
  ])
1613
1625
  ], 16, _hoisted_114);
@@ -1747,7 +1759,7 @@ import { renderSlot as _renderSlot16, createElementVNode as _createElementVNode1
1747
1759
  import { getCurrentInstance as getCurrentInstance18, onMounted as onMounted18, onUnmounted as onUnmounted18, ref as ref18, watchEffect as watchEffect19 } from "vue";
1748
1760
  import { manageGeneratedProps as manageGeneratedProps2, updateGeneratedProps as updateGeneratedProps2 } from "@threadlabs/looma/core/declarative-generated";
1749
1761
  var _hoisted_117 = ["data-value"];
1750
- var _hoisted_210 = {
1762
+ var _hoisted_211 = {
1751
1763
  class: "menu-item__surface",
1752
1764
  "data-component": "ui-menu-item"
1753
1765
  };
@@ -1797,7 +1809,7 @@ var UiMenuItem_default = /* @__PURE__ */ _defineComponent18({
1797
1809
  ref_key: "root",
1798
1810
  ref: root
1799
1811
  }), [
1800
- _createElementVNode13("span", _hoisted_210, [
1812
+ _createElementVNode13("span", _hoisted_211, [
1801
1813
  _renderSlot16(_ctx.$slots, "default")
1802
1814
  ])
1803
1815
  ], 16, _hoisted_117);
@@ -1882,10 +1894,11 @@ var UiPopover_default = /* @__PURE__ */ _defineComponent19({
1882
1894
 
1883
1895
  // src/generated/UiRadioGroup.ts
1884
1896
  import { defineComponent as _defineComponent20 } from "vue";
1885
- import { toDisplayString as _toDisplayString5, createTextVNode as _createTextVNode5, createElementVNode as _createElementVNode15, renderSlot as _renderSlot18, mergeProps as _mergeProps20, openBlock as _openBlock20, createElementBlock as _createElementBlock20 } from "vue";
1897
+ import { toDisplayString as _toDisplayString5, createElementVNode as _createElementVNode15, renderSlot as _renderSlot18, mergeProps as _mergeProps20, openBlock as _openBlock20, createElementBlock as _createElementBlock20 } from "vue";
1886
1898
  import { getCurrentInstance as getCurrentInstance20, onMounted as onMounted20, onUnmounted as onUnmounted20, ref as ref20, watchEffect as watchEffect21 } from "vue";
1887
1899
  import { attachLoomaComponent as attachLoomaComponent18, updateComponentProps as updateComponentProps18 } from "@threadlabs/looma/core/declarative";
1888
1900
  var _hoisted_119 = ["data-orientation", "data-disabled"];
1901
+ var _hoisted_212 = { "data-component": "ui-radio-group" };
1889
1902
  var UiRadioGroup_default = /* @__PURE__ */ _defineComponent20({
1890
1903
  ...{ inheritAttrs: false },
1891
1904
  __name: "UiRadioGroup",
@@ -1946,17 +1959,13 @@ var UiRadioGroup_default = /* @__PURE__ */ _defineComponent20({
1946
1959
  ref_key: "root",
1947
1960
  ref: root
1948
1961
  }), [
1949
- _cache[0] || (_cache[0] = _createElementVNode15(
1962
+ _createElementVNode15(
1950
1963
  "legend",
1951
- { "data-component": "ui-radio-group" },
1952
- [
1953
- _createElementVNode15("template", { "data-component": "ui-radio-group" }, [
1954
- _createTextVNode5(_toDisplayString5(void 0))
1955
- ])
1956
- ],
1957
- -1
1958
- /* CACHED */
1959
- )),
1964
+ _hoisted_212,
1965
+ _toDisplayString5(props.label),
1966
+ 1
1967
+ /* TEXT */
1968
+ ),
1960
1969
  _renderSlot18(_ctx.$slots, "default")
1961
1970
  ], 16, _hoisted_119);
1962
1971
  };
@@ -1969,12 +1978,12 @@ import { createElementVNode as _createElementVNode16, renderSlot as _renderSlot1
1969
1978
  import { getCurrentInstance as getCurrentInstance21, onMounted as onMounted21, onUnmounted as onUnmounted21, ref as ref21, watchEffect as watchEffect22 } from "vue";
1970
1979
  import { attachLoomaComponent as attachLoomaComponent19, updateComponentProps as updateComponentProps19 } from "@threadlabs/looma/core/declarative";
1971
1980
  var _hoisted_120 = ["data-disabled"];
1972
- var _hoisted_211 = {
1981
+ var _hoisted_213 = {
1973
1982
  class: "control",
1974
1983
  "data-component": "ui-radio"
1975
1984
  };
1976
- var _hoisted_37 = ["name", "required", "value"];
1977
- var _hoisted_45 = {
1985
+ var _hoisted_38 = ["name", "required", "value"];
1986
+ var _hoisted_47 = {
1978
1987
  class: "label",
1979
1988
  "data-component": "ui-radio"
1980
1989
  };
@@ -2031,7 +2040,7 @@ var UiRadio_default = /* @__PURE__ */ _defineComponent21({
2031
2040
  ref_key: "root",
2032
2041
  ref: root
2033
2042
  }), [
2034
- _createElementVNode16("label", _hoisted_211, [
2043
+ _createElementVNode16("label", _hoisted_213, [
2035
2044
  _createElementVNode16("input", {
2036
2045
  type: "radio",
2037
2046
  checked: void 0,
@@ -2039,8 +2048,8 @@ var UiRadio_default = /* @__PURE__ */ _defineComponent21({
2039
2048
  required: props.required,
2040
2049
  value: props.value,
2041
2050
  "data-component": "ui-radio"
2042
- }, null, 8, _hoisted_37),
2043
- _createElementVNode16("span", _hoisted_45, [
2051
+ }, null, 8, _hoisted_38),
2052
+ _createElementVNode16("span", _hoisted_47, [
2044
2053
  _renderSlot19(_ctx.$slots, "default")
2045
2054
  ])
2046
2055
  ])
@@ -2055,27 +2064,27 @@ import { renderSlot as _renderSlot20, createElementVNode as _createElementVNode1
2055
2064
  import { getCurrentInstance as getCurrentInstance22, onMounted as onMounted22, onUnmounted as onUnmounted22, ref as ref22, watchEffect as watchEffect23 } from "vue";
2056
2065
  import { attachLoomaComponent as attachLoomaComponent20, updateComponentProps as updateComponentProps20 } from "@threadlabs/looma/core/declarative";
2057
2066
  var _hoisted_121 = ["disabled", "data-selected"];
2058
- var _hoisted_212 = {
2067
+ var _hoisted_214 = {
2059
2068
  class: "search-result-row__leading",
2060
2069
  part: "leading",
2061
2070
  hidden: void 0,
2062
2071
  "data-component": "ui-search-result-row"
2063
2072
  };
2064
- var _hoisted_38 = {
2073
+ var _hoisted_39 = {
2065
2074
  slot: "leading",
2066
2075
  style: { "display": "contents" }
2067
2076
  };
2068
- var _hoisted_46 = {
2077
+ var _hoisted_48 = {
2069
2078
  class: "search-result-row__content",
2070
2079
  part: "content",
2071
2080
  "data-component": "ui-search-result-row"
2072
2081
  };
2073
- var _hoisted_53 = {
2082
+ var _hoisted_54 = {
2074
2083
  class: "search-result-row__title",
2075
2084
  part: "title",
2076
2085
  "data-component": "ui-search-result-row"
2077
2086
  };
2078
- var _hoisted_62 = {
2087
+ var _hoisted_63 = {
2079
2088
  slot: "title",
2080
2089
  style: { "display": "contents" }
2081
2090
  };
@@ -2095,7 +2104,7 @@ var _hoisted_92 = {
2095
2104
  hidden: void 0,
2096
2105
  "data-component": "ui-search-result-row"
2097
2106
  };
2098
- var _hoisted_10 = {
2107
+ var _hoisted_102 = {
2099
2108
  slot: "excerpt",
2100
2109
  style: { "display": "contents" }
2101
2110
  };
@@ -2155,14 +2164,14 @@ var UiSearchResultRow_default = /* @__PURE__ */ _defineComponent22({
2155
2164
  ref_key: "root",
2156
2165
  ref: root
2157
2166
  }), [
2158
- _createElementVNode17("span", _hoisted_212, [
2159
- _createElementVNode17("span", _hoisted_38, [
2167
+ _createElementVNode17("span", _hoisted_214, [
2168
+ _createElementVNode17("span", _hoisted_39, [
2160
2169
  _renderSlot20(_ctx.$slots, "leading")
2161
2170
  ])
2162
2171
  ]),
2163
- _createElementVNode17("span", _hoisted_46, [
2164
- _createElementVNode17("span", _hoisted_53, [
2165
- _createElementVNode17("span", _hoisted_62, [
2172
+ _createElementVNode17("span", _hoisted_48, [
2173
+ _createElementVNode17("span", _hoisted_54, [
2174
+ _createElementVNode17("span", _hoisted_63, [
2166
2175
  _renderSlot20(_ctx.$slots, "title")
2167
2176
  ])
2168
2177
  ]),
@@ -2172,7 +2181,7 @@ var UiSearchResultRow_default = /* @__PURE__ */ _defineComponent22({
2172
2181
  ])
2173
2182
  ]),
2174
2183
  _createElementVNode17("span", _hoisted_92, [
2175
- _createElementVNode17("span", _hoisted_10, [
2184
+ _createElementVNode17("span", _hoisted_102, [
2176
2185
  _renderSlot20(_ctx.$slots, "excerpt")
2177
2186
  ])
2178
2187
  ])
@@ -2197,26 +2206,26 @@ var _hoisted_123 = {
2197
2206
  part: "base",
2198
2207
  "data-component": "ui-search-shell"
2199
2208
  };
2200
- var _hoisted_213 = {
2209
+ var _hoisted_215 = {
2201
2210
  class: "search-shell__panel",
2202
2211
  part: "panel",
2203
2212
  "data-component": "ui-search-shell"
2204
2213
  };
2205
- var _hoisted_39 = {
2214
+ var _hoisted_310 = {
2206
2215
  class: "search-shell__search",
2207
2216
  part: "search",
2208
2217
  "data-component": "ui-search-shell"
2209
2218
  };
2210
- var _hoisted_47 = {
2219
+ var _hoisted_49 = {
2211
2220
  slot: "search",
2212
2221
  style: { "display": "contents" }
2213
2222
  };
2214
- var _hoisted_54 = {
2223
+ var _hoisted_55 = {
2215
2224
  class: "search-shell__status",
2216
2225
  part: "status",
2217
2226
  "data-component": "ui-search-shell"
2218
2227
  };
2219
- var _hoisted_63 = {
2228
+ var _hoisted_64 = {
2220
2229
  slot: "status",
2221
2230
  style: { "display": "contents" }
2222
2231
  };
@@ -2234,7 +2243,7 @@ var _hoisted_93 = {
2234
2243
  part: "footer",
2235
2244
  "data-component": "ui-search-shell"
2236
2245
  };
2237
- var _hoisted_102 = {
2246
+ var _hoisted_103 = {
2238
2247
  slot: "footer",
2239
2248
  style: { "display": "contents" }
2240
2249
  };
@@ -2292,14 +2301,14 @@ var UiSearchShell_default = /* @__PURE__ */ _defineComponent23({
2292
2301
  }),
2293
2302
  [
2294
2303
  _createElementVNode18("dialog", _hoisted_123, [
2295
- _createElementVNode18("div", _hoisted_213, [
2296
- _createElementVNode18("div", _hoisted_39, [
2297
- _createElementVNode18("span", _hoisted_47, [
2304
+ _createElementVNode18("div", _hoisted_215, [
2305
+ _createElementVNode18("div", _hoisted_310, [
2306
+ _createElementVNode18("span", _hoisted_49, [
2298
2307
  _renderSlot21(_ctx.$slots, "search")
2299
2308
  ])
2300
2309
  ]),
2301
- _createElementVNode18("div", _hoisted_54, [
2302
- _createElementVNode18("span", _hoisted_63, [
2310
+ _createElementVNode18("div", _hoisted_55, [
2311
+ _createElementVNode18("span", _hoisted_64, [
2303
2312
  _renderSlot21(_ctx.$slots, "status")
2304
2313
  ])
2305
2314
  ]),
@@ -2309,7 +2318,7 @@ var UiSearchShell_default = /* @__PURE__ */ _defineComponent23({
2309
2318
  ])
2310
2319
  ]),
2311
2320
  _createElementVNode18("div", _hoisted_93, [
2312
- _createElementVNode18("span", _hoisted_102, [
2321
+ _createElementVNode18("span", _hoisted_103, [
2313
2322
  _renderSlot21(_ctx.$slots, "footer")
2314
2323
  ])
2315
2324
  ])
@@ -2325,7 +2334,7 @@ var UiSearchShell_default = /* @__PURE__ */ _defineComponent23({
2325
2334
 
2326
2335
  // src/generated/UiSelect.ts
2327
2336
  import { defineComponent as _defineComponent24 } from "vue";
2328
- import { mergeProps as _mergeProps24, openBlock as _openBlock24, createElementBlock as _createElementBlock24 } from "vue";
2337
+ import { renderSlot as _renderSlot22, mergeProps as _mergeProps24, openBlock as _openBlock24, createElementBlock as _createElementBlock24 } from "vue";
2329
2338
  import { getCurrentInstance as getCurrentInstance24, onMounted as onMounted24, onUnmounted as onUnmounted24, ref as ref24, watchEffect as watchEffect25 } from "vue";
2330
2339
  import { attachLoomaComponent as attachLoomaComponent22, updateComponentProps as updateComponentProps22 } from "@threadlabs/looma/core/declarative";
2331
2340
  var _hoisted_124 = ["disabled", "required", "multiple"];
@@ -2354,7 +2363,7 @@ var UiSelect_default = /* @__PURE__ */ _defineComponent24({
2354
2363
  const valuevalue = props.value;
2355
2364
  return { "disabled": passed("disabled", "disabled") ? valuedisabled : void 0, "invalid": passed("invalid", "invalid") ? valueinvalid : void 0, "multiple": passed("multiple", "multiple") ? valuemultiple : void 0, "required": passed("required", "required") ? valuerequired : void 0, "value": passed("value", "value") ? valuevalue : void 0 };
2356
2365
  };
2357
- const definition = { ...{ "contract": { "tag": "ui-select", "props": { "disabled": { "type": "boolean", "required": false, "target": { "attribute": "disabled" }, "default": false }, "invalid": { "type": "boolean", "required": false, "target": { "attribute": "invalid" }, "default": false }, "multiple": { "type": "boolean", "required": false, "target": { "attribute": "multiple" }, "default": false }, "required": { "type": "boolean", "required": false, "target": { "attribute": "required" }, "default": false }, "value": { "type": "string", "required": false, "target": { "attribute": "value" } } } }, "template": { "kind": "element", "name": "select", "attributes": [{ "kind": "attribute", "name": "disabled", "expression": "disabled", "expressionPlan": { "source": "disabled", "ast": { "kind": "id", "name": "disabled" }, "dependencies": ["disabled"] } }, { "kind": "attribute", "name": "required", "expression": "required", "expressionPlan": { "source": "required", "ast": { "kind": "id", "name": "required" }, "dependencies": ["required"] } }, { "kind": "attribute", "name": "multiple", "expression": "multiple", "expressionPlan": { "source": "multiple", "ast": { "kind": "id", "name": "multiple" }, "dependencies": ["multiple"] } }], "children": [] }, "declarations": [], "root": { "kind": "native", "element": "select", "choices": ["select"] } }, source: { file: import.meta.url }, css: "" };
2366
+ const definition = { ...{ "contract": { "tag": "ui-select", "props": { "disabled": { "type": "boolean", "required": false, "target": { "attribute": "disabled" }, "default": false }, "invalid": { "type": "boolean", "required": false, "target": { "attribute": "invalid" }, "default": false }, "multiple": { "type": "boolean", "required": false, "target": { "attribute": "multiple" }, "default": false }, "required": { "type": "boolean", "required": false, "target": { "attribute": "required" }, "default": false }, "value": { "type": "string", "required": false, "target": { "attribute": "value" } } } }, "template": { "kind": "element", "name": "select", "attributes": [{ "kind": "attribute", "name": "disabled", "expression": "disabled", "expressionPlan": { "source": "disabled", "ast": { "kind": "id", "name": "disabled" }, "dependencies": ["disabled"] } }, { "kind": "attribute", "name": "required", "expression": "required", "expressionPlan": { "source": "required", "ast": { "kind": "id", "name": "required" }, "dependencies": ["required"] } }, { "kind": "attribute", "name": "multiple", "expression": "multiple", "expressionPlan": { "source": "multiple", "ast": { "kind": "id", "name": "multiple" }, "dependencies": ["multiple"] } }], "children": [{ "kind": "slot" }] }, "declarations": [], "root": { "kind": "native", "element": "select", "choices": ["select"] } }, source: { file: import.meta.url }, css: "" };
2358
2367
  const root = ref24();
2359
2368
  let detach;
2360
2369
  onMounted24(() => {
@@ -2378,23 +2387,25 @@ var UiSelect_default = /* @__PURE__ */ _defineComponent24({
2378
2387
  multiple: props.multiple,
2379
2388
  ref_key: "root",
2380
2389
  ref: root
2381
- }), null, 16, _hoisted_124);
2390
+ }), [
2391
+ _renderSlot22(_ctx.$slots, "default")
2392
+ ], 16, _hoisted_124);
2382
2393
  };
2383
2394
  }
2384
2395
  });
2385
2396
 
2386
2397
  // src/generated/UiSwitch.ts
2387
2398
  import { defineComponent as _defineComponent25 } from "vue";
2388
- import { createElementVNode as _createElementVNode19, renderSlot as _renderSlot22, mergeProps as _mergeProps25, openBlock as _openBlock25, createElementBlock as _createElementBlock25 } from "vue";
2399
+ import { createElementVNode as _createElementVNode19, renderSlot as _renderSlot23, mergeProps as _mergeProps25, openBlock as _openBlock25, createElementBlock as _createElementBlock25 } from "vue";
2389
2400
  import { getCurrentInstance as getCurrentInstance25, onMounted as onMounted25, onUnmounted as onUnmounted25, ref as ref25, watchEffect as watchEffect26 } from "vue";
2390
2401
  import { attachLoomaComponent as attachLoomaComponent23, updateComponentProps as updateComponentProps23 } from "@threadlabs/looma/core/declarative";
2391
2402
  var _hoisted_125 = ["data-disabled"];
2392
- var _hoisted_214 = {
2403
+ var _hoisted_216 = {
2393
2404
  class: "control",
2394
2405
  "data-component": "ui-switch"
2395
2406
  };
2396
- var _hoisted_310 = ["required", "value"];
2397
- var _hoisted_48 = {
2407
+ var _hoisted_311 = ["required", "value"];
2408
+ var _hoisted_410 = {
2398
2409
  class: "label",
2399
2410
  "data-component": "ui-switch"
2400
2411
  };
@@ -2449,7 +2460,7 @@ var UiSwitch_default = /* @__PURE__ */ _defineComponent25({
2449
2460
  ref_key: "root",
2450
2461
  ref: root
2451
2462
  }), [
2452
- _createElementVNode19("label", _hoisted_214, [
2463
+ _createElementVNode19("label", _hoisted_216, [
2453
2464
  _createElementVNode19("input", {
2454
2465
  type: "checkbox",
2455
2466
  role: "switch",
@@ -2457,9 +2468,9 @@ var UiSwitch_default = /* @__PURE__ */ _defineComponent25({
2457
2468
  required: props.required,
2458
2469
  value: props.value,
2459
2470
  "data-component": "ui-switch"
2460
- }, null, 8, _hoisted_310),
2461
- _createElementVNode19("span", _hoisted_48, [
2462
- _renderSlot22(_ctx.$slots, "default")
2471
+ }, null, 8, _hoisted_311),
2472
+ _createElementVNode19("span", _hoisted_410, [
2473
+ _renderSlot23(_ctx.$slots, "default")
2463
2474
  ])
2464
2475
  ])
2465
2476
  ], 16, _hoisted_125);
@@ -2469,12 +2480,12 @@ var UiSwitch_default = /* @__PURE__ */ _defineComponent25({
2469
2480
 
2470
2481
  // src/generated/UiTabs.ts
2471
2482
  import { defineComponent as _defineComponent26 } from "vue";
2472
- import { createElementVNode as _createElementVNode20, renderSlot as _renderSlot23, mergeProps as _mergeProps26, openBlock as _openBlock26, createElementBlock as _createElementBlock26 } from "vue";
2483
+ import { createElementVNode as _createElementVNode20, renderSlot as _renderSlot24, mergeProps as _mergeProps26, openBlock as _openBlock26, createElementBlock as _createElementBlock26 } from "vue";
2473
2484
  import { getCurrentInstance as getCurrentInstance26, onMounted as onMounted26, onUnmounted as onUnmounted26, ref as ref26, watchEffect as watchEffect27 } from "vue";
2474
2485
  import { attachLoomaComponent as attachLoomaComponent24, updateComponentProps as updateComponentProps24 } from "@threadlabs/looma/core/declarative";
2475
2486
  var _hoisted_126 = ["data-orientation", "data-stretch"];
2476
- var _hoisted_215 = ["aria-label"];
2477
- var _hoisted_311 = {
2487
+ var _hoisted_217 = ["aria-label"];
2488
+ var _hoisted_312 = {
2478
2489
  class: "tabs__panels",
2479
2490
  "data-component": "ui-tabs"
2480
2491
  };
@@ -2535,9 +2546,9 @@ var UiTabs_default = /* @__PURE__ */ _defineComponent26({
2535
2546
  role: "tablist",
2536
2547
  "aria-label": props.label,
2537
2548
  "data-component": "ui-tabs"
2538
- }, null, 8, _hoisted_215),
2539
- _createElementVNode20("div", _hoisted_311, [
2540
- _renderSlot23(_ctx.$slots, "default")
2549
+ }, null, 8, _hoisted_217),
2550
+ _createElementVNode20("div", _hoisted_312, [
2551
+ _renderSlot24(_ctx.$slots, "default")
2541
2552
  ])
2542
2553
  ], 16, _hoisted_126);
2543
2554
  };
@@ -2610,7 +2621,7 @@ var UiTextarea_default = /* @__PURE__ */ _defineComponent27({
2610
2621
 
2611
2622
  // src/generated/UiToastRegion.ts
2612
2623
  import { defineComponent as _defineComponent28 } from "vue";
2613
- import { renderSlot as _renderSlot24, mergeProps as _mergeProps28, openBlock as _openBlock28, createElementBlock as _createElementBlock28 } from "vue";
2624
+ import { renderSlot as _renderSlot25, mergeProps as _mergeProps28, openBlock as _openBlock28, createElementBlock as _createElementBlock28 } from "vue";
2614
2625
  import { getCurrentInstance as getCurrentInstance28, onMounted as onMounted28, onUnmounted as onUnmounted28, ref as ref28, watchEffect as watchEffect29 } from "vue";
2615
2626
  import { attachLoomaComponent as attachLoomaComponent26, updateComponentProps as updateComponentProps26 } from "@threadlabs/looma/core/declarative";
2616
2627
  var UiToastRegion_default = /* @__PURE__ */ _defineComponent28({
@@ -2676,7 +2687,7 @@ var UiToastRegion_default = /* @__PURE__ */ _defineComponent28({
2676
2687
  ref: root
2677
2688
  }),
2678
2689
  [
2679
- _renderSlot24(_ctx.$slots, "default")
2690
+ _renderSlot25(_ctx.$slots, "default")
2680
2691
  ],
2681
2692
  16
2682
2693
  /* FULL_PROPS */
@@ -2687,7 +2698,7 @@ var UiToastRegion_default = /* @__PURE__ */ _defineComponent28({
2687
2698
 
2688
2699
  // src/generated/UiTopBar.ts
2689
2700
  import { defineComponent as _defineComponent29 } from "vue";
2690
- import { renderSlot as _renderSlot25, createElementVNode as _createElementVNode21, mergeProps as _mergeProps29, openBlock as _openBlock29, createElementBlock as _createElementBlock29 } from "vue";
2701
+ import { renderSlot as _renderSlot26, createElementVNode as _createElementVNode21, mergeProps as _mergeProps29, openBlock as _openBlock29, createElementBlock as _createElementBlock29 } from "vue";
2691
2702
  import { getCurrentInstance as getCurrentInstance29, onMounted as onMounted29, onUnmounted as onUnmounted29, ref as ref29, watchEffect as watchEffect30 } from "vue";
2692
2703
  import { attachLoomaComponent as attachLoomaComponent27, updateComponentProps as updateComponentProps27 } from "@threadlabs/looma/core/declarative";
2693
2704
  var _hoisted_128 = {
@@ -2695,24 +2706,24 @@ var _hoisted_128 = {
2695
2706
  part: "base",
2696
2707
  "data-component": "ui-top-bar"
2697
2708
  };
2698
- var _hoisted_216 = {
2709
+ var _hoisted_218 = {
2699
2710
  class: "top-bar__leading",
2700
2711
  hidden: void 0,
2701
2712
  "data-component": "ui-top-bar"
2702
2713
  };
2703
- var _hoisted_312 = {
2714
+ var _hoisted_313 = {
2704
2715
  slot: "leading",
2705
2716
  style: { "display": "contents" }
2706
2717
  };
2707
- var _hoisted_49 = {
2718
+ var _hoisted_411 = {
2708
2719
  class: "top-bar__title",
2709
2720
  "data-component": "ui-top-bar"
2710
2721
  };
2711
- var _hoisted_55 = {
2722
+ var _hoisted_56 = {
2712
2723
  slot: "",
2713
2724
  style: { "display": "contents" }
2714
2725
  };
2715
- var _hoisted_64 = {
2726
+ var _hoisted_65 = {
2716
2727
  class: "top-bar__search",
2717
2728
  hidden: void 0,
2718
2729
  "data-component": "ui-top-bar"
@@ -2769,24 +2780,24 @@ var UiTopBar_default = /* @__PURE__ */ _defineComponent29({
2769
2780
  }),
2770
2781
  [
2771
2782
  _createElementVNode21("header", _hoisted_128, [
2772
- _createElementVNode21("div", _hoisted_216, [
2773
- _createElementVNode21("span", _hoisted_312, [
2774
- _renderSlot25(_ctx.$slots, "leading")
2783
+ _createElementVNode21("div", _hoisted_218, [
2784
+ _createElementVNode21("span", _hoisted_313, [
2785
+ _renderSlot26(_ctx.$slots, "leading")
2775
2786
  ])
2776
2787
  ]),
2777
- _createElementVNode21("div", _hoisted_49, [
2778
- _createElementVNode21("span", _hoisted_55, [
2779
- _renderSlot25(_ctx.$slots, "default")
2788
+ _createElementVNode21("div", _hoisted_411, [
2789
+ _createElementVNode21("span", _hoisted_56, [
2790
+ _renderSlot26(_ctx.$slots, "default")
2780
2791
  ])
2781
2792
  ]),
2782
- _createElementVNode21("div", _hoisted_64, [
2793
+ _createElementVNode21("div", _hoisted_65, [
2783
2794
  _createElementVNode21("span", _hoisted_74, [
2784
- _renderSlot25(_ctx.$slots, "search")
2795
+ _renderSlot26(_ctx.$slots, "search")
2785
2796
  ])
2786
2797
  ]),
2787
2798
  _createElementVNode21("div", _hoisted_84, [
2788
2799
  _createElementVNode21("span", _hoisted_94, [
2789
- _renderSlot25(_ctx.$slots, "actions")
2800
+ _renderSlot26(_ctx.$slots, "actions")
2790
2801
  ])
2791
2802
  ])
2792
2803
  ])
@@ -2800,41 +2811,46 @@ var UiTopBar_default = /* @__PURE__ */ _defineComponent29({
2800
2811
 
2801
2812
  // src/generated/UiTreeItem.ts
2802
2813
  import { defineComponent as _defineComponent30 } from "vue";
2803
- import { createElementVNode as _createElementVNode22, renderSlot as _renderSlot26, mergeProps as _mergeProps30, openBlock as _openBlock30, createElementBlock as _createElementBlock30 } from "vue";
2814
+ import { createElementVNode as _createElementVNode22, renderSlot as _renderSlot27, toDisplayString as _toDisplayString6, createTextVNode as _createTextVNode2, mergeProps as _mergeProps30, openBlock as _openBlock30, createElementBlock as _createElementBlock30 } from "vue";
2804
2815
  import { getCurrentInstance as getCurrentInstance30, onMounted as onMounted30, onUnmounted as onUnmounted30, ref as ref30, watchEffect as watchEffect31 } from "vue";
2805
2816
  import { attachLoomaComponent as attachLoomaComponent28, updateComponentProps as updateComponentProps28 } from "@threadlabs/looma/core/declarative";
2806
2817
  var _hoisted_129 = ["data-drop-scope", "data-accepts"];
2807
- var _hoisted_217 = {
2818
+ var _hoisted_219 = {
2808
2819
  class: "row",
2809
2820
  part: "row",
2810
2821
  "data-component": "ui-tree-item"
2811
2822
  };
2812
- var _hoisted_313 = ["disabled"];
2813
- var _hoisted_410 = {
2823
+ var _hoisted_314 = ["disabled"];
2824
+ var _hoisted_412 = {
2814
2825
  class: "leading",
2815
2826
  part: "leading",
2816
2827
  "data-component": "ui-tree-item"
2817
2828
  };
2818
- var _hoisted_56 = {
2829
+ var _hoisted_57 = {
2819
2830
  slot: "leading",
2820
2831
  style: { "display": "contents" }
2821
2832
  };
2822
- var _hoisted_65 = {
2833
+ var _hoisted_66 = {
2834
+ class: "label",
2835
+ part: "label",
2836
+ "data-component": "ui-tree-item"
2837
+ };
2838
+ var _hoisted_75 = {
2823
2839
  class: "actions",
2824
2840
  part: "actions",
2825
2841
  "data-component": "ui-tree-item"
2826
2842
  };
2827
- var _hoisted_75 = {
2843
+ var _hoisted_85 = {
2828
2844
  slot: "actions",
2829
2845
  style: { "display": "contents" }
2830
2846
  };
2831
- var _hoisted_85 = {
2847
+ var _hoisted_95 = {
2832
2848
  class: "children",
2833
2849
  part: "children",
2834
2850
  role: "group",
2835
2851
  "data-component": "ui-tree-item"
2836
2852
  };
2837
- var _hoisted_95 = {
2853
+ var _hoisted_104 = {
2838
2854
  slot: "",
2839
2855
  style: { "display": "contents" }
2840
2856
  };
@@ -2879,7 +2895,7 @@ var UiTreeItem_default = /* @__PURE__ */ _defineComponent30({
2879
2895
  const valuesubtreeDepth = props.subtreeDepth;
2880
2896
  return { "accepts": passed("accepts", "accepts") ? valueaccepts : void 0, "container": passed("container", "container") ? valuecontainer : void 0, "disabled": passed("disabled", "disabled") ? valuedisabled : void 0, "dragType": passed("dragType", "drag-type") ? valuedragType : void 0, "dropDepth": passed("dropDepth", "drop-depth") ? valuedropDepth : void 0, "dropScope": passed("dropScope", "drop-scope") ? valuedropScope : void 0, "expanded": passed("expanded", "expanded") ? valueexpanded : void 0, "itemId": passed("itemId", "item-id") ? valueitemId : void 0, "label": passed("label", "label") ? valuelabel : void 0, "selected": passed("selected", "selected") ? valueselected : void 0, "sortable": passed("sortable", "sortable") ? valuesortable : void 0, "subtreeDepth": passed("subtreeDepth", "subtree-depth") ? valuesubtreeDepth : void 0 };
2881
2897
  };
2882
- const definition = { ...{ "contract": { "tag": "ui-tree-item", "props": { "accepts": { "type": "string", "required": false, "target": { "attribute": "data-accepts" }, "default": "" }, "container": { "type": "boolean", "required": false, "target": { "attribute": "container" }, "default": false }, "disabled": { "type": "boolean", "required": false, "target": { "attribute": "disabled" }, "default": false }, "dragType": { "type": "string", "required": false, "target": { "attribute": "dragtype" }, "default": "item" }, "dropDepth": { "type": "number", "required": false, "target": { "attribute": "dropdepth" } }, "dropScope": { "type": "string", "required": false, "target": { "attribute": "data-drop-scope" }, "default": "" }, "expanded": { "type": "boolean", "required": false, "target": { "attribute": "expanded" }, "default": false }, "itemId": { "type": "string", "required": false, "target": { "attribute": "itemid" }, "default": "" }, "label": { "type": "string", "required": false, "target": { "attribute": "label" }, "default": "" }, "selected": { "type": "boolean", "required": false, "target": { "attribute": "selected" }, "default": false }, "sortable": { "type": "boolean", "required": false, "target": { "attribute": "sortable" }, "default": false }, "subtreeDepth": { "type": "number", "required": false, "target": { "attribute": "subtreedepth" } } } }, "template": { "kind": "element", "name": "div", "attributes": [{ "kind": "literal", "name": "role", "value": "treeitem" }, { "kind": "attribute", "name": "data-drop-scope", "expression": "dropScope", "expressionPlan": { "source": "dropScope", "ast": { "kind": "id", "name": "dropScope" }, "dependencies": ["dropScope"] } }, { "kind": "attribute", "name": "data-accepts", "expression": "accepts", "expressionPlan": { "source": "accepts", "ast": { "kind": "id", "name": "accepts" }, "dependencies": ["accepts"] } }], "children": [{ "kind": "element", "name": "div", "attributes": [{ "kind": "literal", "name": "class", "value": "row" }, { "kind": "literal", "name": "part", "value": "row" }], "children": [{ "kind": "element", "name": "button", "attributes": [{ "kind": "literal", "name": "class", "value": "drag-handle" }, { "kind": "literal", "name": "part", "value": "drag-handle" }, { "kind": "literal", "name": "type", "value": "button" }], "children": [{ "kind": "element", "name": "svg", "attributes": [{ "kind": "literal", "name": "aria-hidden", "value": "true" }, { "kind": "literal", "name": "focusable", "value": "false" }, { "kind": "literal", "name": "viewBox", "value": "0 0 24 24" }, { "kind": "literal", "name": "fill", "value": "none" }, { "kind": "literal", "name": "stroke", "value": "currentColor" }, { "kind": "literal", "name": "stroke-width", "value": "2" }, { "kind": "literal", "name": "stroke-linecap", "value": "round" }, { "kind": "literal", "name": "stroke-linejoin", "value": "round" }], "children": [{ "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "9" }, { "kind": "literal", "name": "cy", "value": "12" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "9" }, { "kind": "literal", "name": "cy", "value": "5" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "9" }, { "kind": "literal", "name": "cy", "value": "19" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "15" }, { "kind": "literal", "name": "cy", "value": "12" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "15" }, { "kind": "literal", "name": "cy", "value": "5" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "15" }, { "kind": "literal", "name": "cy", "value": "19" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }] }], "flow": { "kind": "if", "test": "sortable and not disabled", "testPlan": { "source": "sortable and not disabled", "ast": { "kind": "binary", "op": "and", "left": { "kind": "id", "name": "sortable" }, "right": { "kind": "unary", "op": "not", "operand": { "kind": "id", "name": "disabled" } } }, "dependencies": ["disabled", "sortable"] } } }, { "kind": "element", "name": "button", "attributes": [{ "kind": "literal", "name": "class", "value": "disclosure" }, { "kind": "literal", "name": "part", "value": "disclosure" }, { "kind": "literal", "name": "type", "value": "button" }, { "kind": "attribute", "name": "disabled", "expression": "disabled", "expressionPlan": { "source": "disabled", "ast": { "kind": "id", "name": "disabled" }, "dependencies": ["disabled"] } }], "children": [{ "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "disclosure-icon" }, { "kind": "literal", "name": "aria-hidden", "value": "true" }], "children": [] }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "leading" }, { "kind": "literal", "name": "part", "value": "leading" }], "children": [{ "kind": "slot", "fallback": [], "name": "leading" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "label" }, { "kind": "literal", "name": "part", "value": "label" }], "children": [] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "actions" }, { "kind": "literal", "name": "part", "value": "actions" }], "children": [{ "kind": "slot", "fallback": [], "name": "actions" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "drop-indicator row-drop-indicator" }, { "kind": "literal", "name": "part", "value": "drop-indicator" }, { "kind": "literal", "name": "aria-hidden", "value": "true" }], "children": [] }] }, { "kind": "element", "name": "div", "attributes": [{ "kind": "literal", "name": "class", "value": "children" }, { "kind": "literal", "name": "part", "value": "children" }, { "kind": "literal", "name": "role", "value": "group" }], "children": [{ "kind": "slot" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "drop-indicator subtree-drop-indicator" }, { "kind": "literal", "name": "part", "value": "drop-indicator" }, { "kind": "literal", "name": "aria-hidden", "value": "true" }], "children": [] }] }, "declarations": [{ "kind": "state", "name": "internalExpanded", "expression": { "source": "false", "ast": { "kind": "literal", "value": false }, "dependencies": [] } }, { "kind": "state", "name": "structuralLevel", "expression": { "source": "1", "ast": { "kind": "literal", "value": 1 }, "dependencies": [] } }, { "kind": "state", "name": "tabStop", "expression": { "source": "false", "ast": { "kind": "literal", "value": false }, "dependencies": [] } }, { "kind": "state", "name": "hasChildren", "expression": { "source": "false", "ast": { "kind": "literal", "value": false }, "dependencies": [] } }, { "kind": "event", "name": "expand", "type": "object({ id: string, expanded: boolean, trigger: keyboard | pointer | programmatic })", "bubbles": false, "composed": true, "cancelable": false }], "root": { "kind": "native", "element": "div", "choices": ["div"] } }, source: { file: import.meta.url }, css: "" };
2898
+ const definition = { ...{ "contract": { "tag": "ui-tree-item", "props": { "accepts": { "type": "string", "required": false, "target": { "attribute": "data-accepts" }, "default": "" }, "container": { "type": "boolean", "required": false, "target": { "attribute": "container" }, "default": false }, "disabled": { "type": "boolean", "required": false, "target": { "attribute": "disabled" }, "default": false }, "dragType": { "type": "string", "required": false, "target": { "attribute": "dragtype" }, "default": "item" }, "dropDepth": { "type": "number", "required": false, "target": { "attribute": "dropdepth" } }, "dropScope": { "type": "string", "required": false, "target": { "attribute": "data-drop-scope" }, "default": "" }, "expanded": { "type": "boolean", "required": false, "target": { "attribute": "expanded" }, "default": false }, "itemId": { "type": "string", "required": false, "target": { "attribute": "itemid" }, "default": "" }, "label": { "type": "string", "required": false, "target": { "attribute": "label" }, "default": "" }, "selected": { "type": "boolean", "required": false, "target": { "attribute": "selected" }, "default": false }, "sortable": { "type": "boolean", "required": false, "target": { "attribute": "sortable" }, "default": false }, "subtreeDepth": { "type": "number", "required": false, "target": { "attribute": "subtreedepth" } } } }, "template": { "kind": "element", "name": "div", "attributes": [{ "kind": "literal", "name": "role", "value": "treeitem" }, { "kind": "attribute", "name": "data-drop-scope", "expression": "dropScope", "expressionPlan": { "source": "dropScope", "ast": { "kind": "id", "name": "dropScope" }, "dependencies": ["dropScope"] } }, { "kind": "attribute", "name": "data-accepts", "expression": "accepts", "expressionPlan": { "source": "accepts", "ast": { "kind": "id", "name": "accepts" }, "dependencies": ["accepts"] } }], "children": [{ "kind": "element", "name": "div", "attributes": [{ "kind": "literal", "name": "class", "value": "row" }, { "kind": "literal", "name": "part", "value": "row" }], "children": [{ "kind": "element", "name": "button", "attributes": [{ "kind": "literal", "name": "class", "value": "drag-handle" }, { "kind": "literal", "name": "part", "value": "drag-handle" }, { "kind": "literal", "name": "type", "value": "button" }], "children": [{ "kind": "element", "name": "svg", "attributes": [{ "kind": "literal", "name": "aria-hidden", "value": "true" }, { "kind": "literal", "name": "focusable", "value": "false" }, { "kind": "literal", "name": "viewBox", "value": "0 0 24 24" }, { "kind": "literal", "name": "fill", "value": "none" }, { "kind": "literal", "name": "stroke", "value": "currentColor" }, { "kind": "literal", "name": "stroke-width", "value": "2" }, { "kind": "literal", "name": "stroke-linecap", "value": "round" }, { "kind": "literal", "name": "stroke-linejoin", "value": "round" }], "children": [{ "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "9" }, { "kind": "literal", "name": "cy", "value": "12" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "9" }, { "kind": "literal", "name": "cy", "value": "5" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "9" }, { "kind": "literal", "name": "cy", "value": "19" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "15" }, { "kind": "literal", "name": "cy", "value": "12" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "15" }, { "kind": "literal", "name": "cy", "value": "5" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }, { "kind": "element", "name": "circle", "attributes": [{ "kind": "literal", "name": "cx", "value": "15" }, { "kind": "literal", "name": "cy", "value": "19" }, { "kind": "literal", "name": "r", "value": "1" }], "children": [] }] }], "flow": { "kind": "if", "test": "sortable and not disabled", "testPlan": { "source": "sortable and not disabled", "ast": { "kind": "binary", "op": "and", "left": { "kind": "id", "name": "sortable" }, "right": { "kind": "unary", "op": "not", "operand": { "kind": "id", "name": "disabled" } } }, "dependencies": ["disabled", "sortable"] } } }, { "kind": "element", "name": "button", "attributes": [{ "kind": "literal", "name": "class", "value": "disclosure" }, { "kind": "literal", "name": "part", "value": "disclosure" }, { "kind": "literal", "name": "type", "value": "button" }, { "kind": "attribute", "name": "disabled", "expression": "disabled", "expressionPlan": { "source": "disabled", "ast": { "kind": "id", "name": "disabled" }, "dependencies": ["disabled"] } }], "children": [{ "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "disclosure-icon" }, { "kind": "literal", "name": "aria-hidden", "value": "true" }], "children": [] }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "leading" }, { "kind": "literal", "name": "part", "value": "leading" }], "children": [{ "kind": "slot", "fallback": [], "name": "leading" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "label" }, { "kind": "literal", "name": "part", "value": "label" }], "children": [{ "kind": "slot", "fallback": [{ "kind": "element", "name": "template", "attributes": [{ "kind": "directive", "name": "value", "expression": "label", "expressionPlan": { "source": "label", "ast": { "kind": "id", "name": "label" }, "dependencies": ["label"] } }], "children": [] }], "name": "label" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "actions" }, { "kind": "literal", "name": "part", "value": "actions" }], "children": [{ "kind": "slot", "fallback": [], "name": "actions" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "drop-indicator row-drop-indicator" }, { "kind": "literal", "name": "part", "value": "drop-indicator" }, { "kind": "literal", "name": "aria-hidden", "value": "true" }], "children": [] }] }, { "kind": "element", "name": "div", "attributes": [{ "kind": "literal", "name": "class", "value": "children" }, { "kind": "literal", "name": "part", "value": "children" }, { "kind": "literal", "name": "role", "value": "group" }], "children": [{ "kind": "slot" }] }, { "kind": "element", "name": "span", "attributes": [{ "kind": "literal", "name": "class", "value": "drop-indicator subtree-drop-indicator" }, { "kind": "literal", "name": "part", "value": "drop-indicator" }, { "kind": "literal", "name": "aria-hidden", "value": "true" }], "children": [] }] }, "declarations": [{ "kind": "state", "name": "internalExpanded", "expression": { "source": "false", "ast": { "kind": "literal", "value": false }, "dependencies": [] } }, { "kind": "state", "name": "structuralLevel", "expression": { "source": "1", "ast": { "kind": "literal", "value": 1 }, "dependencies": [] } }, { "kind": "state", "name": "tabStop", "expression": { "source": "false", "ast": { "kind": "literal", "value": false }, "dependencies": [] } }, { "kind": "state", "name": "hasChildren", "expression": { "source": "false", "ast": { "kind": "literal", "value": false }, "dependencies": [] } }, { "kind": "event", "name": "expand", "type": "object({ id: string, expanded: boolean, trigger: keyboard | pointer | programmatic })", "bubbles": false, "composed": true, "cancelable": false }], "root": { "kind": "native", "element": "div", "choices": ["div"] } }, source: { file: import.meta.url }, css: "" };
2883
2899
  const root = ref30();
2884
2900
  const eventListener0 = (event) => emit("expand", event.detail);
2885
2901
  let detach;
@@ -2907,7 +2923,7 @@ var UiTreeItem_default = /* @__PURE__ */ _defineComponent30({
2907
2923
  ref_key: "root",
2908
2924
  ref: root
2909
2925
  }), [
2910
- _createElementVNode22("div", _hoisted_217, [
2926
+ _createElementVNode22("div", _hoisted_219, [
2911
2927
  _cache[1] || (_cache[1] = _createElementVNode22(
2912
2928
  "button",
2913
2929
  {
@@ -2987,29 +3003,27 @@ var UiTreeItem_default = /* @__PURE__ */ _defineComponent30({
2987
3003
  -1
2988
3004
  /* CACHED */
2989
3005
  )
2990
- ])], 8, _hoisted_313),
2991
- _createElementVNode22("span", _hoisted_410, [
2992
- _createElementVNode22("span", _hoisted_56, [
2993
- _renderSlot26(_ctx.$slots, "leading")
3006
+ ])], 8, _hoisted_314),
3007
+ _createElementVNode22("span", _hoisted_412, [
3008
+ _createElementVNode22("span", _hoisted_57, [
3009
+ _renderSlot27(_ctx.$slots, "leading")
2994
3010
  ])
2995
3011
  ]),
2996
- _cache[2] || (_cache[2] = _createElementVNode22(
2997
- "span",
2998
- {
2999
- class: "label",
3000
- part: "label",
3001
- "data-component": "ui-tree-item"
3002
- },
3003
- null,
3004
- -1
3005
- /* CACHED */
3006
- )),
3007
- _createElementVNode22("span", _hoisted_65, [
3008
- _createElementVNode22("span", _hoisted_75, [
3009
- _renderSlot26(_ctx.$slots, "actions")
3012
+ _createElementVNode22("span", _hoisted_66, [
3013
+ _renderSlot27(_ctx.$slots, "label", {}, () => [
3014
+ _createTextVNode2(
3015
+ _toDisplayString6(props.label),
3016
+ 1
3017
+ /* TEXT */
3018
+ )
3019
+ ])
3020
+ ]),
3021
+ _createElementVNode22("span", _hoisted_75, [
3022
+ _createElementVNode22("span", _hoisted_85, [
3023
+ _renderSlot27(_ctx.$slots, "actions")
3010
3024
  ])
3011
3025
  ]),
3012
- _cache[3] || (_cache[3] = _createElementVNode22(
3026
+ _cache[2] || (_cache[2] = _createElementVNode22(
3013
3027
  "span",
3014
3028
  {
3015
3029
  class: "drop-indicator row-drop-indicator",
@@ -3022,12 +3036,12 @@ var UiTreeItem_default = /* @__PURE__ */ _defineComponent30({
3022
3036
  /* CACHED */
3023
3037
  ))
3024
3038
  ]),
3025
- _createElementVNode22("div", _hoisted_85, [
3026
- _createElementVNode22("span", _hoisted_95, [
3027
- _renderSlot26(_ctx.$slots, "default")
3039
+ _createElementVNode22("div", _hoisted_95, [
3040
+ _createElementVNode22("span", _hoisted_104, [
3041
+ _renderSlot27(_ctx.$slots, "default")
3028
3042
  ])
3029
3043
  ]),
3030
- _cache[4] || (_cache[4] = _createElementVNode22(
3044
+ _cache[3] || (_cache[3] = _createElementVNode22(
3031
3045
  "span",
3032
3046
  {
3033
3047
  class: "drop-indicator subtree-drop-indicator",
@@ -3046,7 +3060,7 @@ var UiTreeItem_default = /* @__PURE__ */ _defineComponent30({
3046
3060
 
3047
3061
  // src/generated/UiTree.ts
3048
3062
  import { defineComponent as _defineComponent31 } from "vue";
3049
- import { renderSlot as _renderSlot27, mergeProps as _mergeProps31, openBlock as _openBlock31, createElementBlock as _createElementBlock31 } from "vue";
3063
+ import { renderSlot as _renderSlot28, mergeProps as _mergeProps31, openBlock as _openBlock31, createElementBlock as _createElementBlock31 } from "vue";
3050
3064
  import { getCurrentInstance as getCurrentInstance31, onMounted as onMounted31, onUnmounted as onUnmounted31, ref as ref31, watchEffect as watchEffect32 } from "vue";
3051
3065
  import { attachLoomaComponent as attachLoomaComponent29, updateComponentProps as updateComponentProps29 } from "@threadlabs/looma/core/declarative";
3052
3066
  var UiTree_default = /* @__PURE__ */ _defineComponent31({
@@ -3104,7 +3118,7 @@ var UiTree_default = /* @__PURE__ */ _defineComponent31({
3104
3118
  ref: root
3105
3119
  }),
3106
3120
  [
3107
- _renderSlot27(_ctx.$slots, "default")
3121
+ _renderSlot28(_ctx.$slots, "default")
3108
3122
  ],
3109
3123
  16
3110
3124
  /* FULL_PROPS */
@@ -3115,7 +3129,7 @@ var UiTree_default = /* @__PURE__ */ _defineComponent31({
3115
3129
 
3116
3130
  // src/generated/UiCluster.ts
3117
3131
  import { defineComponent as _defineComponent32 } from "vue";
3118
- import { renderSlot as _renderSlot28, mergeProps as _mergeProps32, openBlock as _openBlock32, createElementBlock as _createElementBlock32 } from "vue";
3132
+ import { renderSlot as _renderSlot29, mergeProps as _mergeProps32, openBlock as _openBlock32, createElementBlock as _createElementBlock32 } from "vue";
3119
3133
  import { getCurrentInstance as getCurrentInstance32, onMounted as onMounted32, onUnmounted as onUnmounted32, ref as ref32, watchEffect as watchEffect33 } from "vue";
3120
3134
  import { manageGeneratedProps as manageGeneratedProps3, updateGeneratedProps as updateGeneratedProps3 } from "@threadlabs/looma/core/declarative-generated";
3121
3135
  var UiCluster_default = /* @__PURE__ */ _defineComponent32({
@@ -3165,7 +3179,7 @@ var UiCluster_default = /* @__PURE__ */ _defineComponent32({
3165
3179
  ref: root
3166
3180
  }),
3167
3181
  [
3168
- _renderSlot28(_ctx.$slots, "default")
3182
+ _renderSlot29(_ctx.$slots, "default")
3169
3183
  ],
3170
3184
  16
3171
3185
  /* FULL_PROPS */
@@ -3176,7 +3190,7 @@ var UiCluster_default = /* @__PURE__ */ _defineComponent32({
3176
3190
 
3177
3191
  // src/generated/UiContainer.ts
3178
3192
  import { defineComponent as _defineComponent33 } from "vue";
3179
- import { renderSlot as _renderSlot29, mergeProps as _mergeProps33, openBlock as _openBlock33, createElementBlock as _createElementBlock33 } from "vue";
3193
+ import { renderSlot as _renderSlot30, mergeProps as _mergeProps33, openBlock as _openBlock33, createElementBlock as _createElementBlock33 } from "vue";
3180
3194
  import { getCurrentInstance as getCurrentInstance33, onMounted as onMounted33, onUnmounted as onUnmounted33, ref as ref33, watchEffect as watchEffect34 } from "vue";
3181
3195
  import { manageGeneratedProps as manageGeneratedProps4, updateGeneratedProps as updateGeneratedProps4 } from "@threadlabs/looma/core/declarative-generated";
3182
3196
  var UiContainer_default = /* @__PURE__ */ _defineComponent33({
@@ -3226,7 +3240,7 @@ var UiContainer_default = /* @__PURE__ */ _defineComponent33({
3226
3240
  ref: root
3227
3241
  }),
3228
3242
  [
3229
- _renderSlot29(_ctx.$slots, "default")
3243
+ _renderSlot30(_ctx.$slots, "default")
3230
3244
  ],
3231
3245
  16
3232
3246
  /* FULL_PROPS */
@@ -3237,7 +3251,7 @@ var UiContainer_default = /* @__PURE__ */ _defineComponent33({
3237
3251
 
3238
3252
  // src/generated/UiGrid.ts
3239
3253
  import { defineComponent as _defineComponent34 } from "vue";
3240
- import { renderSlot as _renderSlot30, mergeProps as _mergeProps34, openBlock as _openBlock34, createElementBlock as _createElementBlock34 } from "vue";
3254
+ import { renderSlot as _renderSlot31, mergeProps as _mergeProps34, openBlock as _openBlock34, createElementBlock as _createElementBlock34 } from "vue";
3241
3255
  import { getCurrentInstance as getCurrentInstance34, onMounted as onMounted34, onUnmounted as onUnmounted34, ref as ref34, watchEffect as watchEffect35 } from "vue";
3242
3256
  import { manageGeneratedProps as manageGeneratedProps5, updateGeneratedProps as updateGeneratedProps5 } from "@threadlabs/looma/core/declarative-generated";
3243
3257
  var UiGrid_default = /* @__PURE__ */ _defineComponent34({
@@ -3287,7 +3301,7 @@ var UiGrid_default = /* @__PURE__ */ _defineComponent34({
3287
3301
  ref: root
3288
3302
  }),
3289
3303
  [
3290
- _renderSlot30(_ctx.$slots, "default")
3304
+ _renderSlot31(_ctx.$slots, "default")
3291
3305
  ],
3292
3306
  16
3293
3307
  /* FULL_PROPS */
@@ -3298,7 +3312,7 @@ var UiGrid_default = /* @__PURE__ */ _defineComponent34({
3298
3312
 
3299
3313
  // src/generated/UiReel.ts
3300
3314
  import { defineComponent as _defineComponent35 } from "vue";
3301
- import { renderSlot as _renderSlot31, mergeProps as _mergeProps35, openBlock as _openBlock35, createElementBlock as _createElementBlock35 } from "vue";
3315
+ import { renderSlot as _renderSlot32, mergeProps as _mergeProps35, openBlock as _openBlock35, createElementBlock as _createElementBlock35 } from "vue";
3302
3316
  import { getCurrentInstance as getCurrentInstance35, onMounted as onMounted35, onUnmounted as onUnmounted35, ref as ref35, watchEffect as watchEffect36 } from "vue";
3303
3317
  import { attachLoomaComponent as attachLoomaComponent30, updateComponentProps as updateComponentProps30 } from "@threadlabs/looma/core/declarative";
3304
3318
  var UiReel_default = /* @__PURE__ */ _defineComponent35({
@@ -3347,7 +3361,7 @@ var UiReel_default = /* @__PURE__ */ _defineComponent35({
3347
3361
  ref: root
3348
3362
  }),
3349
3363
  [
3350
- _renderSlot31(_ctx.$slots, "default")
3364
+ _renderSlot32(_ctx.$slots, "default")
3351
3365
  ],
3352
3366
  16
3353
3367
  /* FULL_PROPS */
@@ -3358,7 +3372,7 @@ var UiReel_default = /* @__PURE__ */ _defineComponent35({
3358
3372
 
3359
3373
  // src/generated/UiSeparator.ts
3360
3374
  import { defineComponent as _defineComponent36 } from "vue";
3361
- import { renderSlot as _renderSlot32, mergeProps as _mergeProps36, openBlock as _openBlock36, createElementBlock as _createElementBlock36 } from "vue";
3375
+ import { renderSlot as _renderSlot33, mergeProps as _mergeProps36, openBlock as _openBlock36, createElementBlock as _createElementBlock36 } from "vue";
3362
3376
  import { getCurrentInstance as getCurrentInstance36, onMounted as onMounted36, onUnmounted as onUnmounted36, ref as ref36, watchEffect as watchEffect37 } from "vue";
3363
3377
  import { attachLoomaComponent as attachLoomaComponent31, updateComponentProps as updateComponentProps31 } from "@threadlabs/looma/core/declarative";
3364
3378
  var UiSeparator_default = /* @__PURE__ */ _defineComponent36({
@@ -3403,7 +3417,7 @@ var UiSeparator_default = /* @__PURE__ */ _defineComponent36({
3403
3417
  ref: root
3404
3418
  }),
3405
3419
  [
3406
- _renderSlot32(_ctx.$slots, "default")
3420
+ _renderSlot33(_ctx.$slots, "default")
3407
3421
  ],
3408
3422
  16
3409
3423
  /* FULL_PROPS */
@@ -3414,7 +3428,7 @@ var UiSeparator_default = /* @__PURE__ */ _defineComponent36({
3414
3428
 
3415
3429
  // src/generated/UiSidebar.ts
3416
3430
  import { defineComponent as _defineComponent37 } from "vue";
3417
- import { renderSlot as _renderSlot33, createElementVNode as _createElementVNode23, mergeProps as _mergeProps37, openBlock as _openBlock37, createElementBlock as _createElementBlock37 } from "vue";
3431
+ import { renderSlot as _renderSlot34, createElementVNode as _createElementVNode23, mergeProps as _mergeProps37, openBlock as _openBlock37, createElementBlock as _createElementBlock37 } from "vue";
3418
3432
  import { getCurrentInstance as getCurrentInstance37, onMounted as onMounted37, onUnmounted as onUnmounted37, ref as ref37, watchEffect as watchEffect38 } from "vue";
3419
3433
  import { attachLoomaComponent as attachLoomaComponent32, updateComponentProps as updateComponentProps32 } from "@threadlabs/looma/core/declarative";
3420
3434
  var _hoisted_130 = {
@@ -3490,7 +3504,7 @@ var UiSidebar_default = /* @__PURE__ */ _defineComponent37({
3490
3504
  }),
3491
3505
  [
3492
3506
  _createElementVNode23("div", _hoisted_130, [
3493
- _renderSlot33(_ctx.$slots, "default")
3507
+ _renderSlot34(_ctx.$slots, "default")
3494
3508
  ])
3495
3509
  ],
3496
3510
  16
@@ -3502,7 +3516,7 @@ var UiSidebar_default = /* @__PURE__ */ _defineComponent37({
3502
3516
 
3503
3517
  // src/generated/UiStack.ts
3504
3518
  import { defineComponent as _defineComponent38 } from "vue";
3505
- import { renderSlot as _renderSlot34, mergeProps as _mergeProps38, openBlock as _openBlock38, createElementBlock as _createElementBlock38 } from "vue";
3519
+ import { renderSlot as _renderSlot35, mergeProps as _mergeProps38, openBlock as _openBlock38, createElementBlock as _createElementBlock38 } from "vue";
3506
3520
  import { getCurrentInstance as getCurrentInstance38, onMounted as onMounted38, onUnmounted as onUnmounted38, ref as ref38, watchEffect as watchEffect39 } from "vue";
3507
3521
  import { manageGeneratedProps as manageGeneratedProps6, updateGeneratedProps as updateGeneratedProps6 } from "@threadlabs/looma/core/declarative-generated";
3508
3522
  var UiStack_default = /* @__PURE__ */ _defineComponent38({
@@ -3555,7 +3569,7 @@ var UiStack_default = /* @__PURE__ */ _defineComponent38({
3555
3569
  ref: root
3556
3570
  }),
3557
3571
  [
3558
- _renderSlot34(_ctx.$slots, "default")
3572
+ _renderSlot35(_ctx.$slots, "default")
3559
3573
  ],
3560
3574
  16
3561
3575
  /* FULL_PROPS */
@@ -3566,7 +3580,7 @@ var UiStack_default = /* @__PURE__ */ _defineComponent38({
3566
3580
 
3567
3581
  // src/generated/UiSwitcher.ts
3568
3582
  import { defineComponent as _defineComponent39 } from "vue";
3569
- import { renderSlot as _renderSlot35, mergeProps as _mergeProps39, openBlock as _openBlock39, createElementBlock as _createElementBlock39 } from "vue";
3583
+ import { renderSlot as _renderSlot36, mergeProps as _mergeProps39, openBlock as _openBlock39, createElementBlock as _createElementBlock39 } from "vue";
3570
3584
  import { getCurrentInstance as getCurrentInstance39, onMounted as onMounted39, onUnmounted as onUnmounted39, ref as ref39, watchEffect as watchEffect40 } from "vue";
3571
3585
  import { manageGeneratedProps as manageGeneratedProps7, updateGeneratedProps as updateGeneratedProps7 } from "@threadlabs/looma/core/declarative-generated";
3572
3586
  var UiSwitcher_default = /* @__PURE__ */ _defineComponent39({
@@ -3619,7 +3633,7 @@ var UiSwitcher_default = /* @__PURE__ */ _defineComponent39({
3619
3633
  ref: root
3620
3634
  }),
3621
3635
  [
3622
- _renderSlot35(_ctx.$slots, "default")
3636
+ _renderSlot36(_ctx.$slots, "default")
3623
3637
  ],
3624
3638
  16
3625
3639
  /* FULL_PROPS */
@@ -4026,7 +4040,7 @@ var UiEditorTableToolbar_default = /* @__PURE__ */ _defineComponent45({
4026
4040
 
4027
4041
  // src/generated/UiEditorToolbar.ts
4028
4042
  import { defineComponent as _defineComponent46 } from "vue";
4029
- import { renderSlot as _renderSlot36, mergeProps as _mergeProps46, openBlock as _openBlock46, createElementBlock as _createElementBlock46 } from "vue";
4043
+ import { renderSlot as _renderSlot37, mergeProps as _mergeProps46, openBlock as _openBlock46, createElementBlock as _createElementBlock46 } from "vue";
4030
4044
  import { getCurrentInstance as getCurrentInstance46, onMounted as onMounted46, onUnmounted as onUnmounted46, ref as ref46, watchEffect as watchEffect47 } from "vue";
4031
4045
  import { attachLoomaComponent as attachLoomaComponent39, updateComponentProps as updateComponentProps39 } from "@threadlabs/looma/core/declarative";
4032
4046
  var UiEditorToolbar_default = /* @__PURE__ */ _defineComponent46({
@@ -4067,7 +4081,7 @@ var UiEditorToolbar_default = /* @__PURE__ */ _defineComponent46({
4067
4081
  ref: root
4068
4082
  }),
4069
4083
  [
4070
- _renderSlot36(_ctx.$slots, "default")
4084
+ _renderSlot37(_ctx.$slots, "default")
4071
4085
  ],
4072
4086
  16
4073
4087
  /* FULL_PROPS */
@@ -4230,9 +4244,9 @@ var ContextMenu = createAdapterComponent(UiContextMenu_default, "ContextMenu", [
4230
4244
  var AffordanceScope = createAdapterComponent(UiAffordanceScope_default, "AffordanceScope");
4231
4245
  var Button = createAdapterComponent(UiButton_default, "Button");
4232
4246
  var IconButton = createAdapterComponent(UiIconButton_default, "IconButton");
4233
- var Input = createAdapterComponent(UiInput_default, "Input", [], "class", ["value"]);
4234
- var Select = createAdapterComponent(UiSelect_default, "Select", [], "class", ["value"]);
4235
- var Textarea = createAdapterComponent(UiTextarea_default, "Textarea", [], "class", ["value"]);
4247
+ var Input = createAdapterComponent(UiInput_default, "Input", [], "class", ["value"], "input");
4248
+ var Select = createAdapterComponent(UiSelect_default, "Select", [], "class", ["value"], "change");
4249
+ var Textarea = createAdapterComponent(UiTextarea_default, "Textarea", [], "class", ["value"], "input");
4236
4250
  var FormField = createAdapterComponent(UiFormField_default, "FormField");
4237
4251
  var Tooltip = createAdapterComponent(UiTooltip_default, "Tooltip", [], "class", ["open"]);
4238
4252
  var ToastRegion = createAdapterComponent(UiToastRegion_default, "ToastRegion", [], "class", ["open"]);