@threadlabs/looma 0.49.4 → 0.50.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.
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.76 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, binaryValue, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, plainObject, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, ABSENT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, warnOnce, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, plainObject, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, ABSENT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, warnOnce, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-combobox/ui-combobox.js";
4
4
  import "../styles/ui-combobox.css";
5
5
 
@@ -36,7 +36,7 @@ const K1 = (v0) => (plainObject(v0) && "id" in v0 && typeof v0["id"] == "string"
36
36
  let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27;
37
37
  const E = new Map();
38
38
  const S = { n: ["internalItems","raw","display","selected","expanded","rows","active","helpOpen","lookupError","validation","uid","submitted","groups","creatable","createIndex","message","statusText","validationStatus"], t: [["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]],"s","s","s","b",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]],"i","b","s",["o",["status",["p",formatOf(keywordFormat)],"touched","b","dirty","b","issues",["l",["o",["message","s"]]]],1],"s","s",["l",["o",["name","s","role",["p",formatOf(keywordFormat)],"label","s","rows",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]],"index","i","labelledBy","s","detail","s","option",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]],"selected","b"]]]]]]]],"b","i","s","s","s"], f: import.meta.url, g: "ui-combobox", d: { "query-change": [detailCheck(checkObject([["query", checkString, false], ["display", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "value-change": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "items-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "free-entry": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-entry": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["status", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pristine","pending","valid","warning","error"]}), false], ["touched", checkBoolean, false], ["dirty", checkBoolean, false], ["issues", checkList(checkObject([["message", checkString, false], ["path", checkList(checkUnknown), true], ["severity", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["error","warning"]}), true]], false)), false], ["output", checkUnknown, true]], false)), true, true, false], "options-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "add-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "remove-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-item": [detailCheck(checkObject([["query", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "selected-values-change": [detailCheck(checkObject([["selectedValues", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine"] };
39
- const D = { g: "ui-combobox", props: { "allowCreate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowFreeText": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "autoHighlight": { "required":false,"values":["none","single"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "clearQueryOnBlur": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "clearable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disclosure": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "filter": { "required":false,"values":["label","none"],"default":"label", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "help": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false)), j: 1, m: ["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "labelVisibility": { "required":false,"values":["visible","sr-only"],"default":"visible", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxRows": { "required":false,"default":1, c: checkInteger, t: "integer", j: 0, m: "i" }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "muted": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openOnFocus": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "query": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectOnTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectedValues": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tokenSeparators": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
39
+ const D = { g: "ui-combobox", props: { "allowCreate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowFreeText": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "autoHighlight": { "required":false,"values":["none","single"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "clearQueryOnBlur": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "clearable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disclosure": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "filter": { "required":false,"values":["label","none"],"default":"label", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "grow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "help": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false)), j: 1, m: ["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "labelVisibility": { "required":false,"values":["visible","sr-only"],"default":"visible", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxRows": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "muted": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openOnFocus": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "query": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectOnTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectedValues": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tokenSeparators": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
40
40
  const C = (host) => activateModule(controller, host);
41
41
 
42
42
  export function createUiCombobox(options = {}, html) {
@@ -48,7 +48,7 @@ export function createUiCombobox(options = {}, html) {
48
48
  }
49
49
  element.setAttribute("data-component", "ui-combobox");
50
50
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
51
- const v = [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
51
+ const v = [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
52
52
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
53
53
  v[6] = negate(1, undefined);
54
54
  const m1 = (d) => {
@@ -95,7 +95,7 @@ export function createUiCombobox(options = {}, html) {
95
95
  if (s0 !== r.v0) writeAttribute(r.n, "data-index", r.v0 = s0);
96
96
  }
97
97
  if (c & 1619001344) {
98
- const x1 = ((truthy(v[23]) || truthy(v[39])) || truthy(trackContainer(r, readMember(o, "disabled"))));
98
+ const x1 = ((truthy(v[23]) || truthy(v[40])) || truthy(trackContainer(r, readMember(o, "disabled"))));
99
99
  const s1 = toAttribute(x1, "disabled");
100
100
  if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
101
101
  }
@@ -144,7 +144,7 @@ export function createUiCombobox(options = {}, html) {
144
144
  };
145
145
  const p6 = (r, c, d) => {
146
146
  if (c & 536870912) {
147
- const x0 = v[35];
147
+ const x0 = v[36];
148
148
  const s0 = toAttribute(x0, "name");
149
149
  if (s0 !== r.v0) writeAttribute(r.n, "name", r.v0 = s0);
150
150
  }
@@ -180,7 +180,7 @@ export function createUiCombobox(options = {}, html) {
180
180
  const o = r.i;
181
181
  if (c & 1073741824) r.w = 0;
182
182
  if (c & 536870912) {
183
- const x0 = v[35];
183
+ const x0 = v[36];
184
184
  const s0 = toAttribute(x0, "name");
185
185
  if (s0 !== r.v0) writeAttribute(r.n, "name", r.v0 = s0);
186
186
  }
@@ -203,7 +203,7 @@ export function createUiCombobox(options = {}, html) {
203
203
  };
204
204
  const p9 = (r, c, d) => {
205
205
  if (c & 545259530) {
206
- const x0 = ((truthy(v[23]) || truthy(v[39])) || (!truthy(v[1]) && (truthy(v[33]) || (v[3] === null))));
206
+ const x0 = ((truthy(v[23]) || truthy(v[40])) || (!truthy(v[1]) && (truthy(v[34]) || (v[3] === null))));
207
207
  const s0 = toAttribute(x0, "disabled");
208
208
  if (s0 !== r.v0) writeAttribute(r.n, "disabled", r.v0 = s0);
209
209
  }
@@ -223,7 +223,7 @@ export function createUiCombobox(options = {}, html) {
223
223
  }
224
224
  }
225
225
  if (c & 545259520) {
226
- const x1 = (truthy(v[23]) || truthy(v[39]));
226
+ const x1 = (truthy(v[23]) || truthy(v[40]));
227
227
  const s1 = toAttribute(x1, "disabled");
228
228
  if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
229
229
  }
@@ -268,8 +268,8 @@ export function createUiCombobox(options = {}, html) {
268
268
  if (s1 !== r.v1) writeAttribute(r.n, "for", r.v1 = s1);
269
269
  }
270
270
  }
271
- if (c & 67108864) {
272
- const x2 = v[26];
271
+ if (c & 134217728) {
272
+ const x2 = v[27];
273
273
  const s2 = toText(x2);
274
274
  if (s2 !== r.v2) r.a1.data = r.v2 = s2;
275
275
  }
@@ -334,7 +334,7 @@ export function createUiCombobox(options = {}, html) {
334
334
  }
335
335
  }
336
336
  if (c & 536870912) {
337
- const x1 = v[33];
337
+ const x1 = v[34];
338
338
  const s1 = toAttribute(x1, "data-multiple");
339
339
  if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
340
340
  }
@@ -510,7 +510,7 @@ export function createUiCombobox(options = {}, html) {
510
510
  }
511
511
  }
512
512
  if (c & 536870912) {
513
- const x1 = v[33];
513
+ const x1 = v[34];
514
514
  const s1 = toAttribute(x1, "data-multiple");
515
515
  if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
516
516
  }
@@ -627,16 +627,20 @@ export function createUiCombobox(options = {}, html) {
627
627
  }
628
628
  }
629
629
  if (c & 536870912) {
630
- const x3 = (v[30] === "sr-only");
630
+ const x3 = (v[31] === "sr-only");
631
631
  const s1 = x3;
632
632
  if (s1 !== r.v1) r.a0.classList.toggle("sr-only", r.v1 = s1);
633
- const x4 = v[29];
633
+ const x4 = v[30];
634
634
  const s2 = toText(x4);
635
635
  if (s2 !== r.v2) r.a1.data = r.v2 = s2;
636
- const x5 = (truthy(v[33]) && truthy(binaryValue(">", v[32], 1)));
636
+ }
637
+ if (c & 603979776) {
638
+ const x5 = (truthy(v[34]) && truthy(v[26]));
637
639
  const s3 = x5;
638
640
  if (s3 !== r.v3) r.a4.classList.toggle("multiline", r.v3 = s3);
639
- const x6 = v[32];
641
+ }
642
+ if (c & 536870912) {
643
+ const x6 = v[33];
640
644
  const s4 = toText(x6);
641
645
  if (s4 !== r.v4) r.a4.style.setProperty("--_max-rows", r.v4 = s4);
642
646
  }
@@ -648,13 +652,13 @@ export function createUiCombobox(options = {}, html) {
648
652
  const s15 = toAttribute(x8, "hidden");
649
653
  if (s15 !== r.v15) writeAttribute(r.a14, "hidden", r.v15 = s15);
650
654
  }
651
- if (c & 134348800) {
652
- const x9 = (truthy(v[27]) || (v[17] === "error"));
655
+ if (c & 268566528) {
656
+ const x9 = (truthy(v[28]) || (v[17] === "error"));
653
657
  const s8 = toAttribute(x9, "aria-invalid");
654
658
  if (s8 !== r.v8) writeAttribute(r.a7, "aria-invalid", r.v8 = s8);
655
659
  }
656
660
  if (c & 537001984) {
657
- const x10 = (truthy(v[31]) || (v[17] === "pending"));
661
+ const x10 = (truthy(v[32]) || (v[17] === "pending"));
658
662
  const s9 = toAttribute(x10, "aria-busy");
659
663
  if (s9 !== r.v9) writeAttribute(r.a7, "aria-busy", r.v9 = s9);
660
664
  }
@@ -667,7 +671,7 @@ export function createUiCombobox(options = {}, html) {
667
671
  }
668
672
  }
669
673
  if (c & 536870912) {
670
- const x12 = v[37];
674
+ const x12 = v[38];
671
675
  const s11 = toAttribute(x12, "placeholder");
672
676
  if (s11 !== r.v11) writeAttribute(r.a7, "placeholder", r.v11 = s11);
673
677
  }
@@ -677,20 +681,20 @@ export function createUiCombobox(options = {}, html) {
677
681
  if (s12 !== r.v12) writeAttribute(r.a7, "disabled", r.v12 = s12);
678
682
  }
679
683
  if (c & 536870912) {
680
- const x14 = v[39];
684
+ const x14 = v[40];
681
685
  const s13 = toAttribute(x14, "readonly");
682
686
  if (s13 !== r.v13) writeAttribute(r.a7, "readonly", r.v13 = s13);
683
- const x15 = textCall("concat", [v[29], " suggestions"]);
687
+ const x15 = textCall("concat", [v[30], " suggestions"]);
684
688
  if (x15 !== NONCONFORMING) {
685
689
  const s17 = toAttribute(x15, "aria-label");
686
690
  if (s17 !== r.v17) writeAttribute(r.a15, "aria-label", r.v17 = s17);
687
691
  }
688
- const x16 = v[31];
692
+ const x16 = v[32];
689
693
  const s18 = toAttribute(x16, "aria-busy");
690
694
  if (s18 !== r.v18) writeAttribute(r.a15, "aria-busy", r.v18 = s18);
691
695
  }
692
696
  if (c & 1610612737) {
693
- const x17 = (checkReference(S, readDeclared(v[0], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]], "expression:$required and not ($multiple and $internalItems.0):internalItems.0", "Reference `internalItems.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (truthy(v[40]) && !(truthy(v[33]) && truthy(readIndex(v[0], 0)))) : NONCONFORMING);
697
+ const x17 = (checkReference(S, readDeclared(v[0], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]], "expression:$required and not ($multiple and $internalItems.0):internalItems.0", "Reference `internalItems.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled?: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (truthy(v[41]) && !(truthy(v[34]) && truthy(readIndex(v[0], 0)))) : NONCONFORMING);
694
698
  if (x17 !== NONCONFORMING) {
695
699
  const s14 = toAttribute(x17, "required");
696
700
  if (s14 !== r.v14) writeAttribute(r.a7, "required", r.v14 = s14);
@@ -706,24 +710,24 @@ export function createUiCombobox(options = {}, html) {
706
710
  const s21 = toText(x19);
707
711
  if (s21 !== r.v21) r.a23.data = r.v21 = s21;
708
712
  }
709
- if (c & 671219712) {
710
- const x20 = hostState(["size","muted","validationStatus","invalid","multiple"], [v[43], v[34], v[17], v[27], v[33]]);
713
+ if (c & 805437440) {
714
+ const x20 = hostState(["size","muted","validationStatus","invalid","multiple"], [v[44], v[35], v[17], v[28], v[34]]);
711
715
  const s22 = x20;
712
716
  if (s22 !== r.v22) writeAttribute(r.n, "data-ui-combobox-state", (r.v22 = s22) === "" ? null : s22);
713
717
  }
714
- if (c & 536870912 && !(truthy(v[40])) !== !r.b0) {
718
+ if (c & 536870912 && !(truthy(v[41])) !== !r.b0) {
715
719
  if (r.b0) { r.b0 = undefined; clearRegion(r.a2, r.e0); }
716
720
  else { r.b0 = m1(d); r.e0.before(r.b0.n); }
717
721
  } else if (r.b0 !== undefined) p1(r.b0, c, d);
718
- if (c & 536870912 && !(truthy(v[33])) !== !r.b2) {
722
+ if (c & 536870912 && !(truthy(v[34])) !== !r.b2) {
719
723
  if (r.b2) { dispose(r.b2); r.b2 = undefined; clearRegion(r.a6, r.e2); }
720
724
  else { r.b2 = m3(d); r.e2.before(r.b2.n); }
721
725
  } else if (r.b2 !== undefined) p3(r.b2, c, d);
722
- if (c & 536870912 && !((truthy(v[35]) && !truthy(v[33]))) !== !r.b3) {
726
+ if (c & 536870912 && !((truthy(v[36]) && !truthy(v[34]))) !== !r.b3) {
723
727
  if (r.b3) { r.b3 = undefined; clearRegion(r.a8, r.e3); }
724
728
  else { r.b3 = m6(d); r.e3.before(r.b3.n); }
725
729
  } else if (r.b3 !== undefined) p6(r.b3, c, d);
726
- if (c & 536870912 && !((truthy(v[35]) && truthy(v[33]))) !== !r.b4) {
730
+ if (c & 536870912 && !((truthy(v[36]) && truthy(v[34]))) !== !r.b4) {
727
731
  if (r.b4) { r.b4 = undefined; clearRegion(r.a9, r.e4); }
728
732
  else { r.b4 = m7(d); r.e4.before(r.b4.n); }
729
733
  } else if (r.b4 !== undefined) p7(r.b4, c, d);
@@ -735,11 +739,11 @@ export function createUiCombobox(options = {}, html) {
735
739
  if (r.b6) { r.b6 = undefined; clearRegion(r.a11, r.e6); }
736
740
  else { r.b6 = m10(d); r.e6.before(r.b6.n); }
737
741
  } else if (r.b6 !== undefined) p10(r.b6, c, d);
738
- if (c & 67108864 && !(truthy(v[26])) !== !r.b7) {
742
+ if (c & 134217728 && !(truthy(v[27])) !== !r.b7) {
739
743
  if (r.b7) { r.b7 = undefined; clearRegion(r.a12, r.e7); }
740
744
  else { r.b7 = m11(d); r.e7.before(r.b7.n); }
741
745
  } else if (r.b7 !== undefined) p11(r.b7, c, d);
742
- if (c & 67108864 && !(truthy(v[26])) !== !r.b8) {
746
+ if (c & 134217728 && !(truthy(v[27])) !== !r.b8) {
743
747
  if (r.b8) { r.b8 = undefined; clearRegion(r.a13, r.e8); }
744
748
  else { r.b8 = m12(d); r.e8.before(r.b8.n); }
745
749
  } else if (r.b8 !== undefined) p12(r.b8, c, d);
@@ -754,7 +758,7 @@ export function createUiCombobox(options = {}, html) {
754
758
  else { r.b11 = m22(d); r.e11.before(r.b11.n); }
755
759
  } else if (r.b11 !== undefined) p22(r.b11, c, d);
756
760
  let t12;
757
- if (c & 1610621216 && (t12 = (checkReference(S, readDeclared(v[5], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]], "expression:not $loading and not $rows.0 and not $creatable and not $lookupError:rows.0", "Reference `rows.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled: boolean, selected: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (((!truthy(v[31]) && !truthy(readIndex(v[5], 0))) && !v[13]) && !truthy(v[8])) : NONCONFORMING)) !== NONCONFORMING && !t12 !== !r.b12) {
761
+ if (c & 1610621216 && (t12 = (checkReference(S, readDeclared(v[5], ["0"]), ["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]], "expression:not $loading and not $rows.0 and not $creatable and not $lookupError:rows.0", "Reference `rows.0` must satisfy object({ id: string, value: string, label: string, group?: string, disabled: boolean, selected: boolean, description?: string, tag?: object({ label: string, tone?: keyword with values neutral, accent, info, success, warning, danger, color?: string }) }).") ? (((!truthy(v[32]) && !truthy(readIndex(v[5], 0))) && !v[13]) && !truthy(v[8])) : NONCONFORMING)) !== NONCONFORMING && !t12 !== !r.b12) {
758
762
  dispose(r.b12);
759
763
  r.b12 = undefined;
760
764
  clearRegion(r.a19, r.e12);
@@ -813,4 +817,4 @@ export function createUiCombobox(options = {}, html) {
813
817
  I.r["options"] = t27;
814
818
  return element;
815
819
  }
816
- defineComponent("ui-combobox", createUiCombobox, ["allowCreate","allowFreeText","autoHighlight","clearQueryOnBlur","clearable","disabled","disclosure","filter","help","invalid","items","label","labelVisibility","loading","maxRows","multiple","muted","name","openOnFocus","placeholder","query","readonly","required","selectOnTab","selectedValues","size","tokenSeparators","value"]);
820
+ defineComponent("ui-combobox", createUiCombobox, ["allowCreate","allowFreeText","autoHighlight","clearQueryOnBlur","clearable","disabled","disclosure","filter","grow","help","invalid","items","label","labelVisibility","loading","maxRows","multiple","muted","name","openOnFocus","placeholder","query","readonly","required","selectOnTab","selectedValues","size","tokenSeparators","value"]);