@threadlabs/looma 0.47.1 → 0.47.3

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.
Files changed (129) hide show
  1. package/components/ui-card/ui-card.html +39 -5
  2. package/components/ui-card-group/ui-card-group.html +29 -0
  3. package/components/ui-combobox/ui-combobox.html +24 -4
  4. package/components/ui-combobox/ui-combobox.js +6 -0
  5. package/components/ui-site-header/ui-site-header.html +7 -5
  6. package/components/ui-top-bar/ui-top-bar.html +32 -2
  7. package/components/ui-top-bar/ui-top-bar.js +60 -0
  8. package/dist/index.js +4 -3
  9. package/docs/catalog.json +190 -4
  10. package/package.json +1 -1
  11. package/styles/ui-card-group.css +41 -0
  12. package/styles/ui-card.css +19 -1
  13. package/styles/ui-combobox.css +42 -6
  14. package/styles/ui-site-header.css +14 -10
  15. package/styles/ui-top-bar.css +24 -1
  16. package/vanilla/UiCard.js +148 -36
  17. package/vanilla/UiCardGroup.d.ts +25 -0
  18. package/vanilla/UiCardGroup.js +59 -0
  19. package/vanilla/UiCombobox.d.ts +1 -0
  20. package/vanilla/UiCombobox.js +88 -82
  21. package/vanilla/UiTopBar.d.ts +1 -0
  22. package/vanilla/UiTopBar.js +50 -13
  23. package/vanilla/index.js +1 -0
  24. package/vue/UiCard.d.ts +20 -4
  25. package/vue/UiCard.vue +31 -5
  26. package/vue/UiCardGroup.d.ts +41 -0
  27. package/vue/UiCardGroup.js +2 -0
  28. package/vue/UiCardGroup.vue +168 -0
  29. package/vue/UiCombobox.d.ts +6 -0
  30. package/vue/UiCombobox.vue +78 -9
  31. package/vue/UiSiteHeader.vue +12 -8
  32. package/vue/UiTopBar.d.ts +17 -1
  33. package/vue/UiTopBar.vue +171 -3
  34. package/vue/chunks/UiAffordanceScope.js +1 -1
  35. package/vue/chunks/UiAvatar.js +1 -1
  36. package/vue/chunks/UiAvatarGroup.js +1 -1
  37. package/vue/chunks/UiBadge.js +1 -1
  38. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  39. package/vue/chunks/UiBreadcrumbs.js +1 -1
  40. package/vue/chunks/UiButton.js +1 -1
  41. package/vue/chunks/UiCallout.js +1 -1
  42. package/vue/chunks/UiCard.js +74 -10
  43. package/vue/chunks/UiCardGroup.js +153 -0
  44. package/vue/chunks/UiCheckbox.js +1 -1
  45. package/vue/chunks/UiCluster.js +1 -1
  46. package/vue/chunks/UiColorPicker.js +1 -1
  47. package/vue/chunks/UiCombobox.js +74 -53
  48. package/vue/chunks/UiContainer.js +1 -1
  49. package/vue/chunks/UiContextMenu.js +1 -1
  50. package/vue/chunks/UiCover.js +1 -1
  51. package/vue/chunks/UiCurveEditor.js +1 -1
  52. package/vue/chunks/UiCycleButton.js +1 -1
  53. package/vue/chunks/UiDescriptionItem.js +1 -1
  54. package/vue/chunks/UiDescriptionList.js +1 -1
  55. package/vue/chunks/UiDialog.js +1 -1
  56. package/vue/chunks/UiDisclosure.js +1 -1
  57. package/vue/chunks/UiEditable.js +1 -1
  58. package/vue/chunks/UiEditorBlockActions.js +1 -1
  59. package/vue/chunks/UiEditorChipEditor.js +1 -1
  60. package/vue/chunks/UiEditorCodeLanguage.js +1 -1
  61. package/vue/chunks/UiEditorFootnoteEditor.js +1 -1
  62. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  63. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  64. package/vue/chunks/UiEditorLinkCard.js +1 -1
  65. package/vue/chunks/UiEditorLinkForm.js +1 -1
  66. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  67. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  68. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  69. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  70. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  71. package/vue/chunks/UiEditorSurface.js +1 -1
  72. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  73. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  74. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  75. package/vue/chunks/UiEditorToolbar.js +1 -1
  76. package/vue/chunks/UiFloatingActionButton.js +1 -1
  77. package/vue/chunks/UiFormField.js +1 -1
  78. package/vue/chunks/UiGrid.js +1 -1
  79. package/vue/chunks/UiIcon.js +1 -1
  80. package/vue/chunks/UiIconButton.js +1 -1
  81. package/vue/chunks/UiImage.js +1 -1
  82. package/vue/chunks/UiInput.js +1 -1
  83. package/vue/chunks/UiInputGroup.js +1 -1
  84. package/vue/chunks/UiLightEditor.js +1 -1
  85. package/vue/chunks/UiList.js +1 -1
  86. package/vue/chunks/UiListItem.js +1 -1
  87. package/vue/chunks/UiListbox.js +1 -1
  88. package/vue/chunks/UiMenu.js +1 -1
  89. package/vue/chunks/UiMenuGroup.js +1 -1
  90. package/vue/chunks/UiMenuItem.js +1 -1
  91. package/vue/chunks/UiMeter.js +1 -1
  92. package/vue/chunks/UiNavItem.js +1 -1
  93. package/vue/chunks/UiNumberInput.js +1 -1
  94. package/vue/chunks/UiPageHeader.js +1 -1
  95. package/vue/chunks/UiPagination.js +1 -1
  96. package/vue/chunks/UiPopover.js +1 -1
  97. package/vue/chunks/UiRadio.js +1 -1
  98. package/vue/chunks/UiRadioGroup.js +1 -1
  99. package/vue/chunks/UiReel.js +1 -1
  100. package/vue/chunks/UiScrollArea.js +1 -1
  101. package/vue/chunks/UiSearchResultRow.js +1 -1
  102. package/vue/chunks/UiSearchShell.js +1 -1
  103. package/vue/chunks/UiSection.js +1 -1
  104. package/vue/chunks/UiSelect.js +1 -1
  105. package/vue/chunks/UiSeparator.js +1 -1
  106. package/vue/chunks/UiSidebar.js +1 -1
  107. package/vue/chunks/UiSiteHeader.js +2 -2
  108. package/vue/chunks/UiSkeleton.js +1 -1
  109. package/vue/chunks/UiSlider.js +1 -1
  110. package/vue/chunks/UiSpinner.js +1 -1
  111. package/vue/chunks/UiStack.js +1 -1
  112. package/vue/chunks/UiStatusMessage.js +1 -1
  113. package/vue/chunks/UiSwatch.js +1 -1
  114. package/vue/chunks/UiSwitch.js +1 -1
  115. package/vue/chunks/UiSwitcher.js +1 -1
  116. package/vue/chunks/UiTable.js +1 -1
  117. package/vue/chunks/UiTabs.js +1 -1
  118. package/vue/chunks/UiText.js +1 -1
  119. package/vue/chunks/UiTextarea.js +1 -1
  120. package/vue/chunks/UiToast.js +1 -1
  121. package/vue/chunks/UiToastRegion.js +1 -1
  122. package/vue/chunks/UiTooltip.js +1 -1
  123. package/vue/chunks/UiTopBar.js +105 -17
  124. package/vue/chunks/UiTree.js +1 -1
  125. package/vue/chunks/UiTreeItem.js +1 -1
  126. package/vue/chunks/props.js +1 -1
  127. package/vue/components.css +185 -77
  128. package/vue/index.d.ts +1 -0
  129. package/vue/index.js +3 -2
@@ -1,5 +1,5 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.69 for Vanilla DOM. Do not edit.
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";
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";
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" }, "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)] }, "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" } } };
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];
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];
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[38])) || truthy(trackContainer(r, readMember(o, "disabled"))));
98
+ const x1 = ((truthy(v[23]) || truthy(v[39])) || 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[34];
147
+ const x0 = v[35];
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[34];
183
+ const x0 = v[35];
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[38])) || (!truthy(v[1]) && (truthy(v[32]) || (v[3] === null))));
206
+ const x0 = ((truthy(v[23]) || truthy(v[39])) || (!truthy(v[1]) && (truthy(v[33]) || (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[38]));
226
+ const x1 = (truthy(v[23]) || truthy(v[39]));
227
227
  const s1 = toAttribute(x1, "disabled");
228
228
  if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
229
229
  }
@@ -334,7 +334,7 @@ export function createUiCombobox(options = {}, html) {
334
334
  }
335
335
  }
336
336
  if (c & 536870912) {
337
- const x1 = v[32];
337
+ const x1 = v[33];
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[32];
513
+ const x1 = v[33];
514
514
  const s1 = toAttribute(x1, "data-multiple");
515
515
  if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
516
516
  }
@@ -608,22 +608,22 @@ export function createUiCombobox(options = {}, html) {
608
608
  if (s0 !== r.v0) writeAttribute(r.a0, "for", r.v0 = s0);
609
609
  }
610
610
  if (x0 !== NONCONFORMING) {
611
- const s3 = toAttribute(x0, "id");
612
- if (s3 !== r.v3) writeAttribute(r.a6, "id", r.v3 = s3);
611
+ const s5 = toAttribute(x0, "id");
612
+ if (s5 !== r.v5) writeAttribute(r.a7, "id", r.v5 = s5);
613
613
  }
614
614
  const x1 = textCall("concat", [v[10], "-listbox"]);
615
615
  if (x1 !== NONCONFORMING) {
616
- const s4 = toAttribute(x1, "aria-controls");
617
- if (s4 !== r.v4) writeAttribute(r.a6, "aria-controls", r.v4 = s4);
616
+ const s6 = toAttribute(x1, "aria-controls");
617
+ if (s6 !== r.v6) writeAttribute(r.a7, "aria-controls", r.v6 = s6);
618
618
  }
619
619
  if (x1 !== NONCONFORMING) {
620
- const s14 = toAttribute(x1, "id");
621
- if (s14 !== r.v14) writeAttribute(r.a14, "id", r.v14 = s14);
620
+ const s16 = toAttribute(x1, "id");
621
+ if (s16 !== r.v16) writeAttribute(r.a15, "id", r.v16 = s16);
622
622
  }
623
623
  const x2 = textCall("concat", [v[10], "-validation"]);
624
624
  if (x2 !== NONCONFORMING) {
625
- const s17 = toAttribute(x2, "id");
626
- if (s17 !== r.v17) writeAttribute(r.a20, "id", r.v17 = s17);
625
+ const s19 = toAttribute(x2, "id");
626
+ if (s19 !== r.v19) writeAttribute(r.a21, "id", r.v19 = s19);
627
627
  }
628
628
  }
629
629
  if (c & 536870912) {
@@ -633,135 +633,141 @@ export function createUiCombobox(options = {}, html) {
633
633
  const x4 = v[29];
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)));
637
+ const s3 = x5;
638
+ if (s3 !== r.v3) r.a4.classList.toggle("multiline", r.v3 = s3);
639
+ const x6 = v[32];
640
+ const s4 = toText(x6);
641
+ if (s4 !== r.v4) r.a4.style.setProperty("--_max-rows", r.v4 = s4);
636
642
  }
637
643
  if (c & 16) {
638
- const x5 = v[4];
639
- const s5 = toAttribute(x5, "aria-expanded");
640
- if (s5 !== r.v5) writeAttribute(r.a6, "aria-expanded", r.v5 = s5);
641
- const x6 = !v[4];
642
- const s13 = toAttribute(x6, "hidden");
643
- if (s13 !== r.v13) writeAttribute(r.a13, "hidden", r.v13 = s13);
644
+ const x7 = v[4];
645
+ const s7 = toAttribute(x7, "aria-expanded");
646
+ if (s7 !== r.v7) writeAttribute(r.a7, "aria-expanded", r.v7 = s7);
647
+ const x8 = !v[4];
648
+ const s15 = toAttribute(x8, "hidden");
649
+ if (s15 !== r.v15) writeAttribute(r.a14, "hidden", r.v15 = s15);
644
650
  }
645
651
  if (c & 134348800) {
646
- const x7 = (truthy(v[27]) || (v[17] === "error"));
647
- const s6 = toAttribute(x7, "aria-invalid");
648
- if (s6 !== r.v6) writeAttribute(r.a6, "aria-invalid", r.v6 = s6);
652
+ const x9 = (truthy(v[27]) || (v[17] === "error"));
653
+ const s8 = toAttribute(x9, "aria-invalid");
654
+ if (s8 !== r.v8) writeAttribute(r.a7, "aria-invalid", r.v8 = s8);
649
655
  }
650
656
  if (c & 537001984) {
651
- const x8 = (truthy(v[31]) || (v[17] === "pending"));
652
- const s7 = toAttribute(x8, "aria-busy");
653
- if (s7 !== r.v7) writeAttribute(r.a6, "aria-busy", r.v7 = s7);
657
+ const x10 = (truthy(v[31]) || (v[17] === "pending"));
658
+ const s9 = toAttribute(x10, "aria-busy");
659
+ if (s9 !== r.v9) writeAttribute(r.a7, "aria-busy", r.v9 = s9);
654
660
  }
655
661
  if (c & 4) {
656
662
  const f0 = [];
657
- const x9 = rec(f0, v[2]);
658
- if (c === -1 || c & 4 || readsChanged(r.v8, f0)) {
659
- r.v8 = f0;
660
- r.a6["value"] = x9;
663
+ const x11 = rec(f0, v[2]);
664
+ if (c === -1 || c & 4 || readsChanged(r.v10, f0)) {
665
+ r.v10 = f0;
666
+ r.a7["value"] = x11;
661
667
  }
662
668
  }
663
669
  if (c & 536870912) {
664
- const x10 = v[36];
665
- const s9 = toAttribute(x10, "placeholder");
666
- if (s9 !== r.v9) writeAttribute(r.a6, "placeholder", r.v9 = s9);
670
+ const x12 = v[37];
671
+ const s11 = toAttribute(x12, "placeholder");
672
+ if (s11 !== r.v11) writeAttribute(r.a7, "placeholder", r.v11 = s11);
667
673
  }
668
674
  if (c & 8388608) {
669
- const x11 = v[23];
670
- const s10 = toAttribute(x11, "disabled");
671
- if (s10 !== r.v10) writeAttribute(r.a6, "disabled", r.v10 = s10);
675
+ const x13 = v[23];
676
+ const s12 = toAttribute(x13, "disabled");
677
+ if (s12 !== r.v12) writeAttribute(r.a7, "disabled", r.v12 = s12);
672
678
  }
673
679
  if (c & 536870912) {
674
- const x12 = v[38];
675
- const s11 = toAttribute(x12, "readonly");
676
- if (s11 !== r.v11) writeAttribute(r.a6, "readonly", r.v11 = s11);
677
- const x13 = textCall("concat", [v[29], " suggestions"]);
678
- if (x13 !== NONCONFORMING) {
679
- const s15 = toAttribute(x13, "aria-label");
680
- if (s15 !== r.v15) writeAttribute(r.a14, "aria-label", r.v15 = s15);
680
+ const x14 = v[39];
681
+ const s13 = toAttribute(x14, "readonly");
682
+ if (s13 !== r.v13) writeAttribute(r.a7, "readonly", r.v13 = s13);
683
+ const x15 = textCall("concat", [v[29], " suggestions"]);
684
+ if (x15 !== NONCONFORMING) {
685
+ const s17 = toAttribute(x15, "aria-label");
686
+ if (s17 !== r.v17) writeAttribute(r.a15, "aria-label", r.v17 = s17);
681
687
  }
682
- const x14 = v[31];
683
- const s16 = toAttribute(x14, "aria-busy");
684
- if (s16 !== r.v16) writeAttribute(r.a14, "aria-busy", r.v16 = s16);
688
+ const x16 = v[31];
689
+ const s18 = toAttribute(x16, "aria-busy");
690
+ if (s18 !== r.v18) writeAttribute(r.a15, "aria-busy", r.v18 = s18);
685
691
  }
686
692
  if (c & 1610612737) {
687
- const x15 = (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[39]) && !(truthy(v[32]) && truthy(readIndex(v[0], 0)))) : NONCONFORMING);
688
- if (x15 !== NONCONFORMING) {
689
- const s12 = toAttribute(x15, "required");
690
- if (s12 !== r.v12) writeAttribute(r.a6, "required", r.v12 = s12);
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);
694
+ if (x17 !== NONCONFORMING) {
695
+ const s14 = toAttribute(x17, "required");
696
+ if (s14 !== r.v14) writeAttribute(r.a7, "required", r.v14 = s14);
691
697
  }
692
698
  }
693
699
  if (c & 1073742336) {
694
- const x16 = !truthy(readMember(readMember(v[9], "issues"), "length"));
695
- const s18 = toAttribute(x16, "hidden");
696
- if (s18 !== r.v18) writeAttribute(r.a20, "hidden", r.v18 = s18);
700
+ const x18 = !truthy(readMember(readMember(v[9], "issues"), "length"));
701
+ const s20 = toAttribute(x18, "hidden");
702
+ if (s20 !== r.v20) writeAttribute(r.a21, "hidden", r.v20 = s20);
697
703
  }
698
704
  if (c & 65536) {
699
- const x17 = v[16];
700
- const s19 = toText(x17);
701
- if (s19 !== r.v19) r.a22.data = r.v19 = s19;
705
+ const x19 = v[16];
706
+ const s21 = toText(x19);
707
+ if (s21 !== r.v21) r.a23.data = r.v21 = s21;
702
708
  }
703
709
  if (c & 671219712) {
704
- const x18 = hostState(["size","muted","validationStatus","invalid","multiple"], [v[42], v[33], v[17], v[27], v[32]]);
705
- const s20 = x18;
706
- if (s20 !== r.v20) writeAttribute(r.n, "data-ui-combobox-state", (r.v20 = s20) === "" ? null : s20);
710
+ const x20 = hostState(["size","muted","validationStatus","invalid","multiple"], [v[43], v[34], v[17], v[27], v[33]]);
711
+ const s22 = x20;
712
+ if (s22 !== r.v22) writeAttribute(r.n, "data-ui-combobox-state", (r.v22 = s22) === "" ? null : s22);
707
713
  }
708
- if (c & 536870912 && !(truthy(v[39])) !== !r.b0) {
714
+ if (c & 536870912 && !(truthy(v[40])) !== !r.b0) {
709
715
  if (r.b0) { r.b0 = undefined; clearRegion(r.a2, r.e0); }
710
716
  else { r.b0 = m1(d); r.e0.before(r.b0.n); }
711
717
  } else if (r.b0 !== undefined) p1(r.b0, c, d);
712
- if (c & 536870912 && !(truthy(v[32])) !== !r.b2) {
713
- if (r.b2) { dispose(r.b2); r.b2 = undefined; clearRegion(r.a5, r.e2); }
718
+ if (c & 536870912 && !(truthy(v[33])) !== !r.b2) {
719
+ if (r.b2) { dispose(r.b2); r.b2 = undefined; clearRegion(r.a6, r.e2); }
714
720
  else { r.b2 = m3(d); r.e2.before(r.b2.n); }
715
721
  } else if (r.b2 !== undefined) p3(r.b2, c, d);
716
- if (c & 536870912 && !((truthy(v[34]) && !truthy(v[32]))) !== !r.b3) {
717
- if (r.b3) { r.b3 = undefined; clearRegion(r.a7, r.e3); }
722
+ if (c & 536870912 && !((truthy(v[35]) && !truthy(v[33]))) !== !r.b3) {
723
+ if (r.b3) { r.b3 = undefined; clearRegion(r.a8, r.e3); }
718
724
  else { r.b3 = m6(d); r.e3.before(r.b3.n); }
719
725
  } else if (r.b3 !== undefined) p6(r.b3, c, d);
720
- if (c & 536870912 && !((truthy(v[34]) && truthy(v[32]))) !== !r.b4) {
721
- if (r.b4) { r.b4 = undefined; clearRegion(r.a8, r.e4); }
726
+ if (c & 536870912 && !((truthy(v[35]) && truthy(v[33]))) !== !r.b4) {
727
+ if (r.b4) { r.b4 = undefined; clearRegion(r.a9, r.e4); }
722
728
  else { r.b4 = m7(d); r.e4.before(r.b4.n); }
723
729
  } else if (r.b4 !== undefined) p7(r.b4, c, d);
724
730
  if (c & 4194304 && !(truthy(v[22])) !== !r.b5) {
725
- if (r.b5) { r.b5 = undefined; clearRegion(r.a9, r.e5); }
731
+ if (r.b5) { r.b5 = undefined; clearRegion(r.a10, r.e5); }
726
732
  else { r.b5 = m9(d); r.e5.before(r.b5.n); }
727
733
  } else if (r.b5 !== undefined) p9(r.b5, c, d);
728
734
  if (c & 16777216 && !(truthy(v[24])) !== !r.b6) {
729
- if (r.b6) { r.b6 = undefined; clearRegion(r.a10, r.e6); }
735
+ if (r.b6) { r.b6 = undefined; clearRegion(r.a11, r.e6); }
730
736
  else { r.b6 = m10(d); r.e6.before(r.b6.n); }
731
737
  } else if (r.b6 !== undefined) p10(r.b6, c, d);
732
738
  if (c & 67108864 && !(truthy(v[26])) !== !r.b7) {
733
- if (r.b7) { r.b7 = undefined; clearRegion(r.a11, r.e7); }
739
+ if (r.b7) { r.b7 = undefined; clearRegion(r.a12, r.e7); }
734
740
  else { r.b7 = m11(d); r.e7.before(r.b7.n); }
735
741
  } else if (r.b7 !== undefined) p11(r.b7, c, d);
736
742
  if (c & 67108864 && !(truthy(v[26])) !== !r.b8) {
737
- if (r.b8) { r.b8 = undefined; clearRegion(r.a12, r.e8); }
743
+ if (r.b8) { r.b8 = undefined; clearRegion(r.a13, r.e8); }
738
744
  else { r.b8 = m12(d); r.e8.before(r.b8.n); }
739
745
  } else if (r.b8 !== undefined) p12(r.b8, c, d);
740
746
  if (c & 1073745920) r.L9.update(v[12], d, c);
741
747
  if (c !== -1 && c & 536872000) r.L9.each(c, d);
742
748
  if (c & 8192 && !(v[13]) !== !r.b10) {
743
- if (r.b10) { r.b10 = undefined; clearRegion(r.a16, r.e10); }
749
+ if (r.b10) { r.b10 = undefined; clearRegion(r.a17, r.e10); }
744
750
  else { r.b10 = m21(d); r.e10.before(r.b10.n); }
745
751
  } else if (r.b10 !== undefined) p21(r.b10, c, d);
746
752
  if (c & 32768 && !(truthy(v[15])) !== !r.b11) {
747
- if (r.b11) { r.b11 = undefined; clearRegion(r.a17, r.e11); }
753
+ if (r.b11) { r.b11 = undefined; clearRegion(r.a18, r.e11); }
748
754
  else { r.b11 = m22(d); r.e11.before(r.b11.n); }
749
755
  } else if (r.b11 !== undefined) p22(r.b11, c, d);
750
756
  let t12;
751
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) {
752
758
  dispose(r.b12);
753
759
  r.b12 = undefined;
754
- clearRegion(r.a18, r.e12);
760
+ clearRegion(r.a19, r.e12);
755
761
  if (t12) { r.b12 = m23(d); r.e12.before(r.b12.n); }
756
762
  } else if (r.b12 !== undefined) p23(r.b12, c, d);
757
763
  if (c & 1073742336) { const l = (checkReference(S, readDeclared(v[9], ["issues"]), ["l",["o",["message","s"]]], "expression:$validation.issues:validation.issues", "Reference `validation.issues` must satisfy list(object({ message: string })).") ? readMember(v[9], "issues") : NONCONFORMING); if (l !== NONCONFORMING) { r.L14.update(l, d, c); } }
758
- if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a4, r.e1, "start", J, false, undefined, d);
764
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a5, r.e1, "start", J, false, undefined, d);
759
765
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
760
766
  else if (r.b1 !== undefined) p2(r.b1, c, d);
761
- if (r.f13 === undefined) { r.f13 = 1; const at = fillSlot(r.a19, r.e13, "footer", J, false, undefined, d);
767
+ if (r.f13 === undefined) { r.f13 = 1; const at = fillSlot(r.a20, r.e13, "footer", J, false, undefined, d);
762
768
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b13 = m25(d); at.before(r.b13.n); } }
763
769
  else if (r.b13 !== undefined) p25(r.b13, c, d);
764
- if (r.f15 === undefined) { r.f15 = 1; const at = fillSlot(r.a24, r.e15, "", J, false, undefined, d);
770
+ if (r.f15 === undefined) { r.f15 = 1; const at = fillSlot(r.a25, r.e15, "", J, false, undefined, d);
765
771
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b15 = m27(d); at.before(r.b15.n); } }
766
772
  else if (r.b15 !== undefined) p27(r.b15, c, d);
767
773
  };
@@ -794,7 +800,7 @@ export function createUiCombobox(options = {}, html) {
794
800
  const t26 = t25.firstChild;
795
801
  const t27 = t25.nextSibling.nextSibling;
796
802
  const t28 = t27.firstChild;
797
- const R = { n: element, a0: t0, a1: t1, a6: t9, a13: t16, a14: t17, a20: t23, a22: t26, v0: null, v1: false, v2: "", v3: null, v4: null, v5: null, v6: null, v7: null, v8: undefined, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: "", v20: undefined, a2: t2, e0: t2.nextSibling, b0: undefined, a4: t7, e1: t7.nextSibling, b1: undefined, f1: undefined, a5: t8, e2: t8.nextSibling, b2: undefined, a7: t10, e3: t10.nextSibling, b3: undefined, a8: t11, e4: t11.nextSibling, b4: undefined, a9: t12, e5: t12.nextSibling, b5: undefined, a10: t13, e6: t13.nextSibling, b6: undefined, a11: t14, e7: t14.nextSibling, b7: undefined, a12: t15, e8: t15.nextSibling, b8: undefined, L9: new KeyedList(t18, t18.nextSibling, m13, p13, (o) => readMember(o, "name"), "group"), a16: t19, e10: t19.nextSibling, b10: undefined, a17: t20, e11: t20.nextSibling, b11: undefined, a18: t21, e12: t21.nextSibling, b12: undefined, a19: t22, e13: t22.nextSibling, b13: undefined, f13: undefined, L14: new IndexedList(t24, t24.nextSibling, m26, p26, undefined, "issue"), a24: t28, e15: t28.nextSibling, b15: undefined, f15: undefined };
803
+ const R = { n: element, a0: t0, a1: t1, a4: t5, a7: t9, a14: t16, a15: t17, a21: t23, a23: t26, v0: null, v1: false, v2: "", v3: false, v4: undefined, v5: null, v6: null, v7: null, v8: null, v9: null, v10: undefined, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: "", v22: undefined, a2: t2, e0: t2.nextSibling, b0: undefined, a5: t7, e1: t7.nextSibling, b1: undefined, f1: undefined, a6: t8, e2: t8.nextSibling, b2: undefined, a8: t10, e3: t10.nextSibling, b3: undefined, a9: t11, e4: t11.nextSibling, b4: undefined, a10: t12, e5: t12.nextSibling, b5: undefined, a11: t13, e6: t13.nextSibling, b6: undefined, a12: t14, e7: t14.nextSibling, b7: undefined, a13: t15, e8: t15.nextSibling, b8: undefined, L9: new KeyedList(t18, t18.nextSibling, m13, p13, (o) => readMember(o, "name"), "group"), a17: t19, e10: t19.nextSibling, b10: undefined, a18: t20, e11: t20.nextSibling, b11: undefined, a19: t21, e12: t21.nextSibling, b12: undefined, a20: t22, e13: t22.nextSibling, b13: undefined, f13: undefined, L14: new IndexedList(t24, t24.nextSibling, m26, p26, undefined, "issue"), a25: t28, e15: t28.nextSibling, b15: undefined, f15: undefined };
798
804
  const I = { B };
799
805
  const J = project(I, children, slots);
800
806
  I.R = new Set();
@@ -807,4 +813,4 @@ export function createUiCombobox(options = {}, html) {
807
813
  I.r["options"] = t27;
808
814
  return element;
809
815
  }
810
- defineComponent("ui-combobox", createUiCombobox, ["allowCreate","allowFreeText","autoHighlight","clearQueryOnBlur","clearable","disabled","disclosure","filter","help","invalid","items","label","labelVisibility","loading","multiple","muted","name","openOnFocus","placeholder","query","readonly","required","selectOnTab","selectedValues","size","tokenSeparators","value"]);
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"]);
@@ -10,6 +10,7 @@ export interface UiTopBarElement extends HTMLElement {
10
10
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
11
11
  }
12
12
  export interface UiTopBarProps {
13
+ titleFor?: string | null;
13
14
  attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
14
15
  children?: readonly (string | Node)[];
15
16
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
@@ -1,16 +1,19 @@
1
1
  // Generated by HTML Next 1.0.0-alpha.69 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, dispose, project, fillSlot, defineComponent } from "@nextwebwg/html-next/generated-runtime";
2
+ import { attachGeneratedController, buildTemplate, NONCONFORMING, toAttribute, writeAttribute, computedCycle, dispose, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, project, fillSlot, readonlyView, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
+ import * as controller from "../components/ui-top-bar/ui-top-bar.js";
3
4
  import "../styles/ui-top-bar.css";
4
5
 
5
- const T0 = ["",[],"\n ",["div",["class","leading"],4],"\n ",["div",["class","title"],4],"\n ",["div",["class","search"],4],"\n ",["div",["class","actions"],4],"\n "];
6
+ const T0 = ["",[],"\n ",["div",["class","leading"],4],"\n ",["div",["class","title"],"\n ",4,"\n "],"\n ",["div",["class","search"],4],"\n ",["div",["class","actions"],4],"\n "];
6
7
  const T1 = ["",[]];
7
8
  const T2 = ["",[]];
8
9
  const T3 = ["",[]];
9
10
  const T4 = ["",[]];
10
11
  let P0, P1, P2, P3, P4;
11
- const S = { n: [], t: [], f: import.meta.url, g: "ui-top-bar" };
12
+ const S = { n: ["titleOutOfView","titleHidden"], t: ["b","?"], f: import.meta.url, g: "ui-top-bar", k: 1, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs, i: [false] };
13
+ const D = { g: "ui-top-bar", props: { "titleFor": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
14
+ const C = (host) => activateModule(controller, host);
12
15
 
13
- export function createUiTopBar(options = {}) {
16
+ export function createUiTopBar(options = {}, html) {
14
17
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
15
18
  const element = document.createElement("header");
16
19
  for (const [name, value] of Object.entries(attributes)) {
@@ -19,7 +22,25 @@ export function createUiTopBar(options = {}) {
19
22
  }
20
23
  element.setAttribute("data-component", "ui-top-bar");
21
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
- const v = [];
25
+ const v = [false, undefined, null];
26
+ const B = acceptProps(element, D, S.n, v, componentProps, [], html);
27
+ const CS = [];
28
+ const inputStatus = (j) => { if (j >= 1 && j < 2) { g(j); return CS[j] ?? UNRESOLVED_INPUT; } if (j === 2) return awaitInput(B, "titleFor", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
29
+ const X = { e: 0, g: (j) => g(j), w: new Set(), a: CS, i: inputStatus };
30
+ const ke = [];
31
+ const K = [() => (!(inputRead(v[2], inputStatus(2)) === "") && !inputRead(v[0], inputStatus(0)))];
32
+ const g = (j) => {
33
+ const i = j - 1;
34
+ if (ke[i] === X.e) return v[j];
35
+ if (ke[i] === -1) computedCycle();
36
+ ke[i] = -1;
37
+ let next;
38
+ try { const result = evaluateInput(K[i], CS[j], NONCONFORMING), previousStatus = CS[j]; CS[j] = result.status; notifyPropertySet(CS, j, previousStatus, result.status, undefined); next = !result.status.ready ? null : result.value === NONCONFORMING ? v[j] : result.value; } catch (error) { ke[i] = undefined; throw error; }
39
+ ke[i] = X.e;
40
+ const previous = v[j];
41
+ if (!Object.is(previous, next)) { v[j] = next; X.n?.(j, previous, next); }
42
+ return next;
43
+ };
23
44
  const m1 = (d) => {
24
45
  const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
25
46
  const r = { n };
@@ -53,30 +74,46 @@ export function createUiTopBar(options = {}) {
53
74
  const p4 = (r, c, d) => {
54
75
  };
55
76
  const p0 = (r, c, d) => {
77
+ if (c & 4) {
78
+ const x0 = !(v[2] === "");
79
+ const s0 = x0;
80
+ if (s0 !== r.v0) r.a1.classList.toggle("scroll-title", r.v0 = s0);
81
+ }
82
+ if (c & 5) {
83
+ const x1 = g(1);
84
+ const s1 = x1;
85
+ if (s1 !== r.v1) r.a1.classList.toggle("concealed", r.v1 = s1);
86
+ const s2 = toAttribute(x1, "aria-hidden");
87
+ if (s2 !== r.v2) writeAttribute(r.a1, "aria-hidden", r.v2 = s2);
88
+ const s3 = toAttribute(x1, "inert");
89
+ if (s3 !== r.v3) writeAttribute(r.a1, "inert", r.v3 = s3);
90
+ }
56
91
  if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "leading", J, false, undefined, d);
57
92
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
58
93
  else if (r.b0 !== undefined) p1(r.b0, c, d);
59
- if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "", J, false, undefined, d);
94
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a2, r.e1, "", J, false, undefined, d);
60
95
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
61
96
  else if (r.b1 !== undefined) p2(r.b1, c, d);
62
- if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a2, r.e2, "search", J, false, undefined, d);
97
+ if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a3, r.e2, "search", J, false, undefined, d);
63
98
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
64
99
  else if (r.b2 !== undefined) p3(r.b2, c, d);
65
- if (r.f3 === undefined) { r.f3 = 1; const at = fillSlot(r.a3, r.e3, "actions", J, false, undefined, d);
100
+ if (r.f3 === undefined) { r.f3 = 1; const at = fillSlot(r.a4, r.e3, "actions", J, false, undefined, d);
66
101
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b3 = m4(d); at.before(r.b3.n); } }
67
102
  else if (r.b3 !== undefined) p4(r.b3, c, d);
68
103
  };
69
104
  const t0 = element.firstChild.nextSibling;
70
105
  const t1 = t0.firstChild;
71
106
  const t2 = t0.nextSibling.nextSibling;
72
- const t3 = t2.firstChild;
107
+ const t3 = t2.firstChild.nextSibling;
73
108
  const t4 = t2.nextSibling.nextSibling;
74
109
  const t5 = t4.firstChild;
75
110
  const t6 = t4.nextSibling.nextSibling.firstChild;
76
- const R = { a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a2: t5, e2: t5.nextSibling, b2: undefined, f2: undefined, a3: t6, e3: t6.nextSibling, b3: undefined, f3: undefined };
77
- const I = {};
111
+ const R = { a1: t2, v0: false, v1: false, v2: null, v3: null, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a2: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a3: t5, e2: t5.nextSibling, b2: undefined, f2: undefined, a4: t6, e3: t6.nextSibling, b3: undefined, f3: undefined };
112
+ const I = { B };
78
113
  const J = project(I, children, slots);
79
- attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
114
+ I.R = new Set();
115
+ attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, X, I);
116
+ manageProps(I);
80
117
  return element;
81
118
  }
82
- defineComponent("ui-top-bar", createUiTopBar, []);
119
+ defineComponent("ui-top-bar", createUiTopBar, ["titleFor"]);
package/vanilla/index.js CHANGED
@@ -8,6 +8,7 @@ export * from "./UiBreadcrumbs.js";
8
8
  export * from "./UiButton.js";
9
9
  export * from "./UiCallout.js";
10
10
  export * from "./UiCard.js";
11
+ export * from "./UiCardGroup.js";
11
12
  export * from "./UiCheckbox.js";
12
13
  export * from "./UiCluster.js";
13
14
  export * from "./UiColorPicker.js";
package/vue/UiCard.d.ts CHANGED
@@ -1,14 +1,30 @@
1
1
  import type { PropType } from 'vue';
2
2
  import { type InputBindings } from './props.js';
3
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
3
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_1) => any;
5
+ header?: (props: typeof __VLS_1) => any;
6
6
  } & {
7
7
  default?: (props: typeof __VLS_3) => any;
8
8
  } & {
9
- default?: (props: typeof __VLS_5) => any;
9
+ actions?: (props: typeof __VLS_5) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_7) => any;
11
+ header?: (props: typeof __VLS_7) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_9) => any;
14
+ } & {
15
+ actions?: (props: typeof __VLS_11) => any;
16
+ } & {
17
+ header?: (props: typeof __VLS_13) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_15) => any;
20
+ } & {
21
+ actions?: (props: typeof __VLS_17) => any;
22
+ } & {
23
+ header?: (props: typeof __VLS_19) => any;
24
+ } & {
25
+ default?: (props: typeof __VLS_21) => any;
26
+ } & {
27
+ actions?: (props: typeof __VLS_23) => any;
12
28
  };
13
29
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
30
  as: {