@threadlabs/looma 0.25.6 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-avatar/ui-avatar.html +4 -4
- package/components/ui-avatar-group/ui-avatar-group.html +2 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +1 -1
- package/components/ui-button/ui-button.html +27 -27
- package/components/ui-callout/ui-callout.html +5 -5
- package/components/ui-card/ui-card.html +3 -3
- package/components/ui-checkbox/ui-checkbox.html +8 -8
- package/components/ui-combobox/ui-combobox.html +59 -59
- package/components/ui-dialog/ui-dialog.html +2 -2
- package/components/ui-disclosure/ui-disclosure.html +3 -3
- package/components/ui-editable/ui-editable.html +8 -8
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +11 -11
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +10 -10
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +7 -7
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +3 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +16 -16
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +31 -31
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +33 -33
- package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
- package/components/ui-grid/ui-grid.html +1 -1
- package/components/ui-icon/ui-icon.html +12 -12
- package/components/ui-icon-button/ui-icon-button.html +6 -6
- package/components/ui-image/ui-image.html +2 -2
- package/components/ui-input/ui-input.html +1 -1
- package/components/ui-list/ui-list.html +1 -1
- package/components/ui-list-item/ui-list-item.html +1 -1
- package/components/ui-listbox/ui-listbox.html +24 -24
- package/components/ui-menu-group/ui-menu-group.html +2 -2
- package/components/ui-menu-item/ui-menu-item.html +9 -9
- package/components/ui-meter/ui-meter.html +8 -8
- package/components/ui-nav-item/ui-nav-item.html +6 -6
- package/components/ui-radio/ui-radio.html +1 -1
- package/components/ui-radio-group/ui-radio-group.html +1 -1
- package/components/ui-search-result-row/ui-search-result-row.html +1 -1
- package/components/ui-search-shell/ui-search-shell.html +1 -1
- package/components/ui-section/ui-section.html +1 -1
- package/components/ui-select/ui-select.html +1 -1
- package/components/ui-separator/ui-separator.html +1 -1
- package/components/ui-sidebar/ui-sidebar.html +2 -2
- package/components/ui-spinner/ui-spinner.html +4 -4
- package/components/ui-stack/ui-stack.html +1 -1
- package/components/ui-status-message/ui-status-message.html +3 -3
- package/components/ui-switch/ui-switch.html +5 -5
- package/components/ui-tabs/ui-tabs.html +8 -8
- package/components/ui-text/ui-text.html +10 -10
- package/components/ui-textarea/ui-textarea.html +8 -8
- package/components/ui-toast/ui-toast.html +1 -1
- package/components/ui-toast-region/ui-toast-region.html +8 -8
- package/components/ui-tooltip/ui-tooltip.html +1 -1
- package/components/ui-tree-item/ui-tree-item.html +32 -18
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +14 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +70 -52
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +36 -17
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +72 -37
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +57 -26
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +49 -39
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +41 -26
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +35 -24
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +444 -156
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +135 -111
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +147 -47
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +100 -58
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +35 -29
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +879 -283
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +35 -19
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +34 -23
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +35 -15
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +37 -24
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +35 -21
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +83 -42
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +113 -72
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +125 -58
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +85 -30
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +193 -75
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +81 -44
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +123 -78
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +40 -34
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +98 -45
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +35 -15
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +143 -60
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +212 -109
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +330 -113
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +37 -20
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +44 -22
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +89 -65
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +39 -19
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +186 -27
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +82 -32
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +76 -69
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +51 -27
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +77 -56
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +91 -27
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +81 -74
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +204 -81
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +36 -20
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +60 -24
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +177 -77
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +77 -14
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +199 -123
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +91 -69
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +36 -20
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +82 -50
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +58 -30
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +35 -21
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +37 -20
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +98 -74
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +81 -64
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +71 -53
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +50 -26
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +23 -22
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +49 -37
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +43 -26
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +39 -19
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +70 -41
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +82 -51
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +36 -17
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +35 -17
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +97 -42
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +343 -117
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +56 -33
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +61 -40
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +85 -35
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +54 -31
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +70 -52
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +35 -17
- package/vanilla/UiTreeItem.d.ts +2 -1
- package/vanilla/UiTreeItem.js +219 -181
- package/vue/UiActionBar.vue +1 -1
- package/vue/UiAffordanceScope.vue +1 -1
- package/vue/UiAvatar.vue +7 -7
- package/vue/UiAvatarGroup.vue +3 -3
- package/vue/UiBadge.vue +1 -1
- package/vue/UiBreadcrumbItem.vue +1 -1
- package/vue/UiBreadcrumbs.vue +1 -1
- package/vue/UiButton.vue +1 -1
- package/vue/UiCallout.vue +1 -1
- package/vue/UiCard.vue +1 -1
- package/vue/UiCheckbox.vue +2 -2
- package/vue/UiCluster.vue +1 -1
- package/vue/UiCombobox.vue +25 -25
- package/vue/UiContainer.vue +1 -1
- package/vue/UiContextMenu.vue +1 -1
- package/vue/UiCover.vue +1 -1
- package/vue/UiDescriptionItem.vue +1 -1
- package/vue/UiDescriptionList.vue +1 -1
- package/vue/UiDialog.vue +2 -2
- package/vue/UiDisclosure.vue +6 -6
- package/vue/UiEditable.vue +3 -3
- package/vue/UiEditorInsertTableGrid.vue +4 -4
- package/vue/UiEditorMentionMenu.vue +2 -2
- package/vue/UiEditorMentionMenuItem.vue +1 -1
- package/vue/UiEditorSlashMenu.vue +2 -2
- package/vue/UiEditorSlashMenuGroup.vue +1 -1
- package/vue/UiEditorSlashMenuItem.vue +1 -1
- package/vue/UiEditorSurface.vue +1 -1
- package/vue/UiEditorTableContextMenu.vue +1 -1
- package/vue/UiEditorTableOverlay.vue +11 -11
- package/vue/UiEditorTableToolbar.vue +2 -2
- package/vue/UiEditorToolbar.vue +1 -1
- package/vue/UiFloatingActionButton.vue +1 -1
- package/vue/UiFormField.vue +1 -1
- package/vue/UiGrid.vue +1 -1
- package/vue/UiIcon.vue +1 -1
- package/vue/UiIconButton.vue +1 -1
- package/vue/UiImage.vue +1 -1
- package/vue/UiInput.vue +1 -1
- package/vue/UiInputGroup.vue +1 -1
- package/vue/UiList.vue +1 -1
- package/vue/UiListItem.vue +1 -1
- package/vue/UiListbox.vue +4 -4
- package/vue/UiMenu.vue +1 -1
- package/vue/UiMenuGroup.vue +1 -1
- package/vue/UiMenuItem.vue +2 -2
- package/vue/UiMeter.vue +1 -1
- package/vue/UiNavItem.vue +1 -1
- package/vue/UiPageHeader.vue +1 -1
- package/vue/UiPopover.vue +1 -1
- package/vue/UiRadio.vue +2 -2
- package/vue/UiRadioGroup.vue +1 -1
- package/vue/UiReel.vue +1 -1
- package/vue/UiScrollArea.vue +1 -1
- package/vue/UiSearchResultRow.vue +1 -1
- package/vue/UiSearchShell.vue +1 -1
- package/vue/UiSection.vue +1 -1
- package/vue/UiSelect.vue +1 -1
- package/vue/UiSeparator.vue +1 -1
- package/vue/UiSidebar.vue +3 -3
- package/vue/UiSpinner.vue +1 -1
- package/vue/UiStack.vue +1 -1
- package/vue/UiStatusMessage.vue +1 -1
- package/vue/UiSwitch.vue +2 -2
- package/vue/UiSwitcher.vue +1 -1
- package/vue/UiTable.vue +1 -1
- package/vue/UiTabs.vue +1 -1
- package/vue/UiText.vue +1 -1
- package/vue/UiTextarea.vue +1 -1
- package/vue/UiToast.vue +1 -1
- package/vue/UiToastRegion.vue +1 -1
- package/vue/UiTooltip.vue +2 -2
- package/vue/UiTopBar.vue +1 -1
- package/vue/UiTree.vue +1 -1
- package/vue/UiTreeItem.d.ts +9 -0
- package/vue/UiTreeItem.vue +41 -6
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +6 -6
- package/vue/chunks/UiAvatarGroup.js +3 -3
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +2 -2
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiCombobox.js +22 -22
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +2 -2
- package/vue/chunks/UiDisclosure.js +6 -6
- package/vue/chunks/UiEditable.js +3 -3
- package/vue/chunks/UiEditorInsertTableGrid.js +4 -4
- package/vue/chunks/UiEditorMentionMenu.js +2 -2
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +2 -2
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +11 -11
- package/vue/chunks/UiEditorTableToolbar.js +2 -2
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +4 -4
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +2 -2
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +2 -2
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +2 -2
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwitch.js +2 -2
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +2 -2
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +28 -5
- package/vue/chunks/control.js +41 -13
- package/vue/chunks/host.js +19 -18
- package/vue/components.css +1398 -1383
- package/vue/host.ts +22 -20
package/vanilla/UiCombobox.js
CHANGED
|
@@ -1,296 +1,892 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import {
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.35 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, recLength, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkNull, checkObject, checkString, checkUnion, checkUnknown } 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
|
|
|
6
|
-
const definition = {...{"contract":{"tag":"ui-combobox","props":{"allowCreate":{"type":"boolean","required":false,"target":{"attribute":"allowcreate"},"default":false},"allowFreeText":{"type":"boolean","required":false,"target":{"attribute":"allowfreetext"},"default":false},"autoHighlight":{"type":{"kind":"terminal","name":"keyword"},"values":["none","single"],"required":false,"target":{"attribute":"autohighlight"},"default":"none"},"clearable":{"type":"boolean","required":false,"target":{"attribute":"clearable"},"default":false},"disabled":{"type":"boolean","required":false,"target":{"attribute":"disabled"},"default":false},"disclosure":{"type":"boolean","required":false,"target":{"attribute":"disclosure"},"default":false},"filter":{"type":{"kind":"terminal","name":"keyword"},"values":["label","none"],"required":false,"target":{"attribute":"filter"},"default":"label"},"help":{"type":"string","required":false,"target":{"attribute":"help"},"default":""},"invalid":{"type":"boolean","required":false,"target":{"attribute":"invalid"},"default":false},"items":{"type":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"required":false,"target":{"attribute":"items"}},"label":{"type":"string","required":false,"target":{"attribute":"label"},"default":""},"labelVisibility":{"type":{"kind":"terminal","name":"keyword"},"values":["visible","sr-only"],"required":false,"target":{"attribute":"labelvisibility"},"default":"visible"},"loading":{"type":"boolean","required":false,"target":{"attribute":"aria-busy"},"default":false},"multiple":{"type":"boolean","required":false,"target":{"attribute":"data-multiple"},"default":false},"name":{"type":"string","required":false,"target":{"attribute":"name"},"default":""},"openOnFocus":{"type":"boolean","required":false,"target":{"attribute":"openonfocus"},"default":false},"placeholder":{"type":"string","required":false,"target":{"attribute":"placeholder"},"default":""},"query":{"type":"string","required":false,"target":{"attribute":"query"}},"readonly":{"type":"boolean","required":false,"target":{"attribute":"readonly"},"default":false},"required":{"type":"boolean","required":false,"target":{"attribute":"required"},"default":false},"selectOnTab":{"type":"boolean","required":false,"target":{"attribute":"selectontab"},"default":false},"selectedValues":{"type":{"kind":"list","item":{"kind":"terminal","name":"string"}},"required":false,"target":{"attribute":"selectedvalues"}},"size":{"type":{"kind":"terminal","name":"keyword"},"values":["sm","md","lg"],"required":false,"target":{"attribute":"size"},"default":"md"},"tokenSeparators":{"type":{"kind":"list","item":{"kind":"terminal","name":"string"}},"required":false,"target":{"attribute":"tokenseparators"}},"value":{"type":"string","required":false,"target":{"attribute":"value"}}}},"template":{"kind":"element","name":"div","attributes":[],"children":[{"kind":"element","name":"label","attributes":[{"kind":"attribute","name":"for","expression":"concat(uid, '-input')","expressionPlan":{"source":"concat(uid, '-input')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-input"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"sr-only","expression":"labelVisibility = 'sr-only'","expressionPlan":{"source":"labelVisibility = 'sr-only'","ast":{"kind":"binary","op":"=","left":{"kind":"id","name":"labelVisibility"},"right":{"kind":"literal","value":"sr-only"}},"dependencies":["labelVisibility"]},"target":"class"}],"children":[{"kind":"text","value":"$label","expressionPlan":{"source":"$label","ast":{"kind":"id","name":"label"},"dependencies":["label"]}},{"kind":"element","name":"template","attributes":[],"children":[{"kind":"text","value":"\n *"}],"flow":{"kind":"if","test":"required","testPlan":{"source":"required","ast":{"kind":"id","name":"required"},"dependencies":["required"]}}}]},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"control"}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"field"}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"entry"}],"children":[{"kind":"slot","fallback":[],"name":"start"},{"kind":"element","name":"template","attributes":[],"children":[{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"class","value":"item"},{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"tabindex","value":"-1"},{"kind":"attribute","name":"data-index","expression":"index","expressionPlan":{"source":"index","ast":{"kind":"id","name":"index"},"dependencies":["index"]}},{"kind":"attribute","name":"disabled","expression":"disabled or readonly or item.disabled","expressionPlan":{"source":"disabled or readonly or item.disabled","ast":{"kind":"binary","op":"or","left":{"kind":"binary","op":"or","left":{"kind":"id","name":"disabled"},"right":{"kind":"id","name":"readonly"}},"right":{"kind":"member","object":{"kind":"id","name":"item"},"key":"disabled"}},"dependencies":["disabled","item.disabled","readonly"]}},{"kind":"attribute","name":"aria-label","expression":"concat(item.label, ', press Delete or Backspace to remove')","expressionPlan":{"source":"concat(item.label, ', press Delete or Backspace to remove')","ast":{"kind":"call","fn":"concat","args":[{"kind":"member","object":{"kind":"id","name":"item"},"key":"label"},{"kind":"literal","value":", press Delete or Backspace to remove"}]},"dependencies":["item.label"]}}],"children":[{"kind":"slot","fallback":[{"kind":"element","name":"ui-badge","attributes":[],"children":[{"kind":"text","value":"$item.label","expressionPlan":{"source":"$item.label","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"label"},"dependencies":["item.label"]}}]}],"nameExpression":{"source":"concat('item-', item.id)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"item-"},{"kind":"member","object":{"kind":"id","name":"item"},"key":"id"}]},"dependencies":["item.id"]}}],"flow":{"kind":"each","item":"item","list":"internalItems","listPlan":{"source":"internalItems","ast":{"kind":"id","name":"internalItems"},"dependencies":["internalItems"]},"index":"index","key":"item.id","keyPlan":{"source":"item.id","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"id"},"dependencies":["item.id"]}}}],"flow":{"kind":"if","test":"multiple","testPlan":{"source":"multiple","ast":{"kind":"id","name":"multiple"},"dependencies":["multiple"]}}},{"kind":"element","name":"input","attributes":[{"kind":"attribute","name":"id","expression":"concat(uid, '-input')","expressionPlan":{"source":"concat(uid, '-input')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-input"}]},"dependencies":["uid"]}},{"kind":"literal","name":"role","value":"combobox"},{"kind":"literal","name":"aria-autocomplete","value":"list"},{"kind":"literal","name":"autocomplete","value":"off"},{"kind":"attribute","name":"aria-controls","expression":"concat(uid, '-listbox')","expressionPlan":{"source":"concat(uid, '-listbox')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-listbox"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"aria-expanded","expression":"expanded","expressionPlan":{"source":"expanded","ast":{"kind":"id","name":"expanded"},"dependencies":["expanded"]}},{"kind":"attribute","name":"aria-invalid","expression":"invalid or validationStatus = 'error'","expressionPlan":{"source":"invalid or validationStatus = 'error'","ast":{"kind":"binary","op":"or","left":{"kind":"id","name":"invalid"},"right":{"kind":"binary","op":"=","left":{"kind":"id","name":"validationStatus"},"right":{"kind":"literal","value":"error"}}},"dependencies":["invalid","validationStatus"]}},{"kind":"attribute","name":"aria-busy","expression":"loading or validationStatus = 'pending'","expressionPlan":{"source":"loading or validationStatus = 'pending'","ast":{"kind":"binary","op":"or","left":{"kind":"id","name":"loading"},"right":{"kind":"binary","op":"=","left":{"kind":"id","name":"validationStatus"},"right":{"kind":"literal","value":"pending"}}},"dependencies":["loading","validationStatus"]}},{"kind":"property","key":"value","name":"value","expression":"display","expressionPlan":{"source":"display","ast":{"kind":"id","name":"display"},"dependencies":["display"]}},{"kind":"attribute","name":"placeholder","expression":"placeholder","expressionPlan":{"source":"placeholder","ast":{"kind":"id","name":"placeholder"},"dependencies":["placeholder"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}},{"kind":"attribute","name":"readonly","expression":"readonly","expressionPlan":{"source":"readonly","ast":{"kind":"id","name":"readonly"},"dependencies":["readonly"]}},{"kind":"attribute","name":"required","expression":"required and not (multiple and internalItems.0)","expressionPlan":{"source":"required and not (multiple and internalItems.0)","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"required"},"right":{"kind":"unary","op":"not","operand":{"kind":"binary","op":"and","left":{"kind":"id","name":"multiple"},"right":{"kind":"index","object":{"kind":"id","name":"internalItems"},"index":{"kind":"literal","value":0}}}}},"dependencies":["internalItems.0","multiple","required"]}}],"children":[],"ref":"input"}]},{"kind":"element","name":"input","attributes":[{"kind":"literal","name":"type","value":"hidden"},{"kind":"attribute","name":"name","expression":"name","expressionPlan":{"source":"name","ast":{"kind":"id","name":"name"},"dependencies":["name"]}},{"kind":"attribute","name":"value","expression":"submitted","expressionPlan":{"source":"submitted","ast":{"kind":"id","name":"submitted"},"dependencies":["submitted"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}}],"children":[],"flow":{"kind":"if","test":"name and not multiple","testPlan":{"source":"name and not multiple","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"name"},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"multiple"}}},"dependencies":["multiple","name"]}}},{"kind":"element","name":"template","attributes":[],"children":[{"kind":"element","name":"input","attributes":[{"kind":"literal","name":"type","value":"hidden"},{"kind":"attribute","name":"name","expression":"name","expressionPlan":{"source":"name","ast":{"kind":"id","name":"name"},"dependencies":["name"]}},{"kind":"attribute","name":"value","expression":"item.value","expressionPlan":{"source":"item.value","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"value"},"dependencies":["item.value"]}},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}}],"children":[],"flow":{"kind":"each","item":"item","list":"internalItems","listPlan":{"source":"internalItems","ast":{"kind":"id","name":"internalItems"},"dependencies":["internalItems"]},"key":"item.id","keyPlan":{"source":"item.id","ast":{"kind":"member","object":{"kind":"id","name":"item"},"key":"id"},"dependencies":["item.id"]}}}],"flow":{"kind":"if","test":"name and multiple","testPlan":{"source":"name and multiple","ast":{"kind":"binary","op":"and","left":{"kind":"id","name":"name"},"right":{"kind":"id","name":"multiple"}},"dependencies":["multiple","name"]}}},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"data-combobox-action","value":"clear"},{"kind":"literal","name":"aria-label","value":"Clear"},{"kind":"attribute","name":"disabled","expression":"disabled or readonly or (not raw and (multiple or selected = null))","expressionPlan":{"source":"disabled or readonly or (not raw and (multiple or selected = null))","ast":{"kind":"binary","op":"or","left":{"kind":"binary","op":"or","left":{"kind":"id","name":"disabled"},"right":{"kind":"id","name":"readonly"}},"right":{"kind":"binary","op":"and","left":{"kind":"unary","op":"not","operand":{"kind":"id","name":"raw"}},"right":{"kind":"binary","op":"or","left":{"kind":"id","name":"multiple"},"right":{"kind":"binary","op":"=","left":{"kind":"id","name":"selected"},"right":{"kind":"literal","value":null}}}}},"dependencies":["disabled","multiple","raw","readonly","selected"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"class","value":"affordance-icon"},{"kind":"literal","name":"aria-hidden","value":"true"},{"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"}],"children":[{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"M7 7l10 10M17 7 7 17"}],"children":[]}]}],"flow":{"kind":"if","test":"clearable","testPlan":{"source":"clearable","ast":{"kind":"id","name":"clearable"},"dependencies":["clearable"]}}},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"data-combobox-action","value":"disclosure"},{"kind":"literal","name":"tabindex","value":"-1"},{"kind":"literal","name":"aria-label","value":"Show suggestions"},{"kind":"attribute","name":"aria-controls","expression":"concat(uid, '-listbox')","expressionPlan":{"source":"concat(uid, '-listbox')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-listbox"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"disabled","expression":"disabled or readonly","expressionPlan":{"source":"disabled or readonly","ast":{"kind":"binary","op":"or","left":{"kind":"id","name":"disabled"},"right":{"kind":"id","name":"readonly"}},"dependencies":["disabled","readonly"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"class","value":"affordance-icon"},{"kind":"literal","name":"aria-hidden","value":"true"},{"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.25"},{"kind":"literal","name":"stroke-linecap","value":"round"},{"kind":"literal","name":"stroke-linejoin","value":"round"}],"children":[{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"m6 9 6 6 6-6"}],"children":[]}]}],"flow":{"kind":"if","test":"disclosure","testPlan":{"source":"disclosure","ast":{"kind":"id","name":"disclosure"},"dependencies":["disclosure"]}}}],"ref":"field"},{"kind":"element","name":"button","attributes":[{"kind":"literal","name":"class","value":"help"},{"kind":"attribute","name":"id","expression":"concat(uid, '-help')","expressionPlan":{"source":"concat(uid, '-help')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-help"}]},"dependencies":["uid"]}},{"kind":"literal","name":"type","value":"button"},{"kind":"literal","name":"aria-label","value":"Help"},{"kind":"attribute","name":"disabled","expression":"disabled","expressionPlan":{"source":"disabled","ast":{"kind":"id","name":"disabled"},"dependencies":["disabled"]}}],"children":[{"kind":"element","name":"svg","attributes":[{"kind":"literal","name":"class","value":"help-icon"},{"kind":"literal","name":"aria-hidden","value":"true"},{"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":"12"},{"kind":"literal","name":"cy","value":"12"},{"kind":"literal","name":"r","value":"10"}],"children":[]},{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"}],"children":[]},{"kind":"element","name":"path","attributes":[{"kind":"literal","name":"d","value":"M12 17h.01"}],"children":[]}]}],"flow":{"kind":"if","test":"help","testPlan":{"source":"help","ast":{"kind":"id","name":"help"},"dependencies":["help"]}}}]},{"kind":"element","name":"ui-tooltip","attributes":[{"kind":"literal","name":"trigger","value":"click"},{"kind":"attribute","name":"id","expression":"concat(uid, '-help-text')","expressionPlan":{"source":"concat(uid, '-help-text')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-help-text"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"for","expression":"concat(uid, '-help')","expressionPlan":{"source":"concat(uid, '-help')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-help"}]},"dependencies":["uid"]}}],"children":[{"kind":"text","value":"$help","expressionPlan":{"source":"$help","ast":{"kind":"id","name":"help"},"dependencies":["help"]}}],"flow":{"kind":"if","test":"help","testPlan":{"source":"help","ast":{"kind":"id","name":"help"},"dependencies":["help"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"popup"},{"kind":"attribute","name":"hidden","expression":"not expanded","expressionPlan":{"source":"not expanded","ast":{"kind":"unary","op":"not","operand":{"kind":"id","name":"expanded"}},"dependencies":["expanded"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"role","value":"listbox"},{"kind":"attribute","name":"id","expression":"concat(uid, '-listbox')","expressionPlan":{"source":"concat(uid, '-listbox')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-listbox"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"aria-label","expression":"concat(label, ' suggestions')","expressionPlan":{"source":"concat(label, ' suggestions')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"label"},{"kind":"literal","value":" suggestions"}]},"dependencies":["label"]}},{"kind":"attribute","name":"aria-busy","expression":"loading","expressionPlan":{"source":"loading","ast":{"kind":"id","name":"loading"},"dependencies":["loading"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"attribute","name":"role","expression":"group.role","expressionPlan":{"source":"group.role","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"role"},"dependencies":["group.role"]}},{"kind":"attribute","name":"aria-label","expression":"group.label","expressionPlan":{"source":"group.label","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"label"},"dependencies":["group.label"]}}],"children":[{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"group"}],"children":[{"kind":"text","value":"$group.name","expressionPlan":{"source":"$group.name","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"name"},"dependencies":["group.name"]}}],"flow":{"kind":"if","test":"group.name","testPlan":{"source":"group.name","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"name"},"dependencies":["group.name"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"option"},{"kind":"attribute","name":"active","expression":"row.index = active","expressionPlan":{"source":"row.index = active","ast":{"kind":"binary","op":"=","left":{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},"right":{"kind":"id","name":"active"}},"dependencies":["active","row.index"]},"target":"class"},{"kind":"literal","name":"role","value":"option"},{"kind":"literal","name":"data-ui-choice-option","value":""},{"kind":"attribute","name":"data-multiple","expression":"multiple","expressionPlan":{"source":"multiple","ast":{"kind":"id","name":"multiple"},"dependencies":["multiple"]}},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index)","expressionPlan":{"source":"concat(uid, '-option-', row.index)","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"}]},"dependencies":["row.index","uid"]}},{"kind":"attribute","name":"aria-selected","expression":"row.selected","expressionPlan":{"source":"row.selected","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"selected"},"dependencies":["row.selected"]}},{"kind":"attribute","name":"aria-disabled","expression":"row.disabled","expressionPlan":{"source":"row.disabled","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"disabled"},"dependencies":["row.disabled"]}},{"kind":"attribute","name":"data-index","expression":"row.index","expressionPlan":{"source":"row.index","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},"dependencies":["row.index"]}},{"kind":"attribute","name":"aria-labelledby","expression":"row.labelledBy","expressionPlan":{"source":"row.labelledBy","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"labelledBy"},"dependencies":["row.labelledBy"]}},{"kind":"attribute","name":"aria-describedby","expression":"row.detail","expressionPlan":{"source":"row.detail","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"detail"},"dependencies":["row.detail"]}}],"children":[{"kind":"slot","fallback":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"detail"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"line"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"primary"},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index, '-label')","expressionPlan":{"source":"concat(uid, '-option-', row.index, '-label')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},{"kind":"literal","value":"-label"}]},"dependencies":["row.index","uid"]}}],"children":[{"kind":"text","value":"$row.label","expressionPlan":{"source":"$row.label","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"label"},"dependencies":["row.label"]}}]},{"kind":"element","name":"ui-badge","attributes":[{"kind":"attribute","name":"tone","expression":"row.tag.tone","expressionPlan":{"source":"row.tag.tone","ast":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"key":"tone"},"dependencies":["row.tag.tone"]}},{"kind":"attribute","name":"--ui-badge-color","expression":"row.tag.color","expressionPlan":{"source":"row.tag.color","ast":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"key":"color"},"dependencies":["row.tag.color"]},"target":"style"}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index, '-tag')","expressionPlan":{"source":"concat(uid, '-option-', row.index, '-tag')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},{"kind":"literal","value":"-tag"}]},"dependencies":["row.index","uid"]}}],"children":[{"kind":"text","value":"$row.tag.label","expressionPlan":{"source":"$row.tag.label","ast":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"key":"label"},"dependencies":["row.tag.label"]}}]}],"flow":{"kind":"if","test":"row.tag","testPlan":{"source":"row.tag","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"tag"},"dependencies":["row.tag"]}}}]},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"description"},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', row.index, '-description')","expressionPlan":{"source":"concat(uid, '-option-', row.index, '-description')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"index"},{"kind":"literal","value":"-description"}]},"dependencies":["row.index","uid"]}}],"children":[{"kind":"text","value":"$row.description","expressionPlan":{"source":"$row.description","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"description"},"dependencies":["row.description"]}}],"flow":{"kind":"if","test":"row.description","testPlan":{"source":"row.description","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"description"},"dependencies":["row.description"]}}}],"flow":{"kind":"if","test":"row.detail","testPlan":{"source":"row.detail","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"detail"},"dependencies":["row.detail"]}}},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"primary"}],"children":[{"kind":"text","value":"$row.label","expressionPlan":{"source":"$row.label","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"label"},"dependencies":["row.label"]}}],"flow":{"kind":"if","test":"not row.detail","testPlan":{"source":"not row.detail","ast":{"kind":"unary","op":"not","operand":{"kind":"member","object":{"kind":"id","name":"row"},"key":"detail"}},"dependencies":["row.detail"]}}}],"nameExpression":{"source":"concat('option-', row.id)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"option-"},{"kind":"member","object":{"kind":"id","name":"row"},"key":"id"}]},"dependencies":["row.id"]}}],"flow":{"kind":"each","item":"row","list":"group.rows","listPlan":{"source":"group.rows","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"rows"},"dependencies":["group.rows"]},"key":"row.id","keyPlan":{"source":"row.id","ast":{"kind":"member","object":{"kind":"id","name":"row"},"key":"id"},"dependencies":["row.id"]}}}],"flow":{"kind":"each","item":"group","list":"groups","listPlan":{"source":"groups","ast":{"kind":"id","name":"groups"},"dependencies":["groups"]},"key":"group.name","keyPlan":{"source":"group.name","ast":{"kind":"member","object":{"kind":"id","name":"group"},"key":"name"},"dependencies":["group.name"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"option"},{"kind":"attribute","name":"active","expression":"createIndex = active","expressionPlan":{"source":"createIndex = active","ast":{"kind":"binary","op":"=","left":{"kind":"id","name":"createIndex"},"right":{"kind":"id","name":"active"}},"dependencies":["active","createIndex"]},"target":"class"},{"kind":"literal","name":"role","value":"option"},{"kind":"literal","name":"data-ui-choice-option","value":""},{"kind":"attribute","name":"data-multiple","expression":"multiple","expressionPlan":{"source":"multiple","ast":{"kind":"id","name":"multiple"},"dependencies":["multiple"]}},{"kind":"literal","name":"aria-selected","value":"false"},{"kind":"attribute","name":"id","expression":"concat(uid, '-option-', createIndex)","expressionPlan":{"source":"concat(uid, '-option-', createIndex)","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-option-"},{"kind":"id","name":"createIndex"}]},"dependencies":["createIndex","uid"]}},{"kind":"attribute","name":"data-index","expression":"createIndex","expressionPlan":{"source":"createIndex","ast":{"kind":"id","name":"createIndex"},"dependencies":["createIndex"]}},{"kind":"directive","name":"value","expression":"concat('Create “', raw, '”')","expressionPlan":{"source":"concat('Create “', raw, '”')","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Create “"},{"kind":"id","name":"raw"},{"kind":"literal","value":"”"}]},"dependencies":["raw"]}}],"children":[],"flow":{"kind":"if","test":"creatable","testPlan":{"source":"creatable","ast":{"kind":"id","name":"creatable"},"dependencies":["creatable"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"message"}],"children":[{"kind":"text","value":"$message","expressionPlan":{"source":"$message","ast":{"kind":"id","name":"message"},"dependencies":["message"]}}],"flow":{"kind":"if","test":"message","testPlan":{"source":"message","ast":{"kind":"id","name":"message"},"dependencies":["message"]}}},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"message"}],"children":[{"kind":"slot","fallback":[{"kind":"text","value":"No suggestions."}],"name":"empty"}],"flow":{"kind":"if","test":"not loading and not rows.0 and not creatable and not lookupError","testPlan":{"source":"not loading and not rows.0 and not creatable and not lookupError","ast":{"kind":"binary","op":"and","left":{"kind":"binary","op":"and","left":{"kind":"binary","op":"and","left":{"kind":"unary","op":"not","operand":{"kind":"id","name":"loading"}},"right":{"kind":"unary","op":"not","operand":{"kind":"index","object":{"kind":"id","name":"rows"},"index":{"kind":"literal","value":0}}}},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"creatable"}}},"right":{"kind":"unary","op":"not","operand":{"kind":"id","name":"lookupError"}}},"dependencies":["creatable","loading","lookupError","rows.0"]}}}],"ref":"listbox"},{"kind":"slot","fallback":[],"name":"footer"}],"ref":"popup"},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"message"},{"kind":"attribute","name":"id","expression":"concat(uid, '-validation')","expressionPlan":{"source":"concat(uid, '-validation')","ast":{"kind":"call","fn":"concat","args":[{"kind":"id","name":"uid"},{"kind":"literal","value":"-validation"}]},"dependencies":["uid"]}},{"kind":"attribute","name":"hidden","expression":"not validation.issues.length","expressionPlan":{"source":"not validation.issues.length","ast":{"kind":"unary","op":"not","operand":{"kind":"member","object":{"kind":"member","object":{"kind":"id","name":"validation"},"key":"issues"},"key":"length"}},"dependencies":["validation.issues.length"]}}],"children":[{"kind":"element","name":"div","attributes":[],"children":[{"kind":"text","value":"$issue.message","expressionPlan":{"source":"$issue.message","ast":{"kind":"member","object":{"kind":"id","name":"issue"},"key":"message"},"dependencies":["issue.message"]}}],"flow":{"kind":"each","item":"issue","list":"validation.issues","listPlan":{"source":"validation.issues","ast":{"kind":"member","object":{"kind":"id","name":"validation"},"key":"issues"},"dependencies":["validation.issues"]}}}]},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"sr-only"},{"kind":"literal","name":"role","value":"status"},{"kind":"literal","name":"aria-live","value":"polite"},{"kind":"literal","name":"aria-atomic","value":"true"}],"children":[{"kind":"text","value":"$statusText","expressionPlan":{"source":"$statusText","ast":{"kind":"id","name":"statusText"},"dependencies":["statusText"]}}]},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"authored-options"},{"kind":"literal","name":"hidden","value":""},{"kind":"literal","name":"aria-hidden","value":"true"}],"children":[{"kind":"slot"}],"ref":"options"}]},"declarations":[{"kind":"state","name":"internalItems","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"state","name":"raw","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"display","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"selected","shape":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"type":"string"},{"kind":"state","name":"expanded","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"rows","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"selected","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"state","name":"active","type":"integer","value":"-1","expression":{"source":"-1","ast":{"kind":"unary","op":"-","operand":{"kind":"literal","value":1}},"dependencies":[]}},{"kind":"state","name":"helpOpen","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"lookupError","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"validation","shape":{"kind":"object","fields":[{"name":"status","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["pristine","pending","valid","warning","error"]},"optional":false},{"name":"touched","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"dirty","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"issues","type":{"kind":"list","item":{"kind":"object","fields":[{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false}],"open":false}},"optional":false}],"open":true},"type":"object","value":"{ status: 'pristine', touched: false, dirty: false, issues: [] }","expression":{"source":"{\"status\":\"pristine\",\"touched\":false,\"dirty\":false,\"issues\":[]}","ast":{"kind":"object","pairs":[{"key":"status","value":{"kind":"literal","value":"pristine"}},{"key":"touched","value":{"kind":"literal","value":false}},{"key":"dirty","value":{"kind":"literal","value":false}},{"key":"issues","value":{"kind":"array","items":[]}}]},"dependencies":[]}},{"kind":"state","name":"uid","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"submitted","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"groups","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"name","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"role","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["group","presentation"]},"optional":false},{"name":"label","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"rows","type":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"selected","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true},{"name":"index","type":{"kind":"terminal","name":"integer"},"optional":false},{"name":"labelledBy","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"detail","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false}],"open":false}},"optional":false}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"state","name":"creatable","type":"boolean","value":"false","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}},{"kind":"state","name":"createIndex","type":"integer","value":"0","expression":{"source":"0","ast":{"kind":"literal","value":0},"dependencies":[]}},{"kind":"state","name":"message","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"statusText","type":"string","value":"","expression":{"source":"\"\"","ast":{"kind":"literal","value":""},"dependencies":[]}},{"kind":"state","name":"validationStatus","type":"string","value":"pristine","expression":{"source":"\"pristine\"","ast":{"kind":"literal","value":"pristine"},"dependencies":[]}},{"kind":"event","name":"query-change","type":"object","shape":{"kind":"object","fields":[{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"display","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"value-change","type":"object","shape":{"kind":"object","fields":[{"name":"value","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"option","type":{"kind":"union","members":[{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"kind","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["selection","clear","free-entry","create"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"items-change","type":"list","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"free-entry","type":"object","shape":{"kind":"object","fields":[{"name":"value","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"option","type":{"kind":"union","members":[{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"kind","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["selection","clear","free-entry","create"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"create-entry","type":"object","shape":{"kind":"object","fields":[{"name":"value","type":{"kind":"union","members":[{"kind":"terminal","name":"string"},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"option","type":{"kind":"union","members":[{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},{"kind":"terminal","name":"null"}]},"optional":false},{"name":"kind","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["selection","clear","free-entry","create"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"validation-change","type":"object","shape":{"kind":"object","fields":[{"name":"status","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["pristine","pending","valid","warning","error"]},"optional":false},{"name":"touched","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"dirty","type":{"kind":"terminal","name":"boolean"},"optional":false},{"name":"issues","type":{"kind":"list","item":{"kind":"object","fields":[{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"path","type":{"kind":"list","item":{"kind":"terminal","name":"unknown"}},"optional":true},{"name":"severity","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["error","warning"]},"optional":true}],"open":false}},"optional":false},{"name":"output","type":{"kind":"terminal","name":"unknown"},"optional":true}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"options-change","type":"list","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false}},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"add-item","type":"object","shape":{"kind":"object","fields":[{"name":"item","type":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},"optional":false},{"name":"index","type":{"kind":"terminal","name":"integer"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"remove-item","type":"object","shape":{"kind":"object","fields":[{"name":"item","type":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"value","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"group","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"disabled","type":{"kind":"terminal","name":"boolean"},"optional":true},{"name":"description","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tag","type":{"kind":"object","fields":[{"name":"label","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","accent","info","success","warning","danger"]},"optional":true},{"name":"color","type":{"kind":"terminal","name":"string"},"optional":true}],"open":false},"optional":true}],"open":false},"optional":false},{"name":"index","type":{"kind":"terminal","name":"integer"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"create-item","type":"object","shape":{"kind":"object","fields":[{"name":"query","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"selected-values-change","type":"object","shape":{"kind":"object","fields":[{"name":"selectedValues","type":{"kind":"list","item":{"kind":"terminal","name":"string"}},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false}],"root":{"kind":"native","element":"div","choices":["div"]}},source:{file:import.meta.url},css:""};
|
|
6
|
+
const T0 = ["",[],["label",[],0,1],["div",["class","control"],["div",["class","field"],["div",["class","entry"],4,1,["input",["role","combobox","aria-autocomplete","list","autocomplete","off"]]],1,1,1,1],1],1,["div",["class","popup"],["div",["role","listbox"],2,1,1,1],4],["div",["class","message"],2],["div",["class","sr-only","role","status","aria-live","polite","aria-atomic","true"],0],["div",["class","authored-options","hidden","","aria-hidden","true"],4]];
|
|
7
|
+
const T1 = ["",[],"\n *"];
|
|
8
|
+
const T2 = ["",[]];
|
|
9
|
+
const T3 = ["",[],2];
|
|
10
|
+
const T4 = ["button",["class","item","type","button","tabindex","-1"],4];
|
|
11
|
+
const T5 = ["",[],["ui-badge",[],0]];
|
|
12
|
+
const T6 = ["input",["type","hidden"]];
|
|
13
|
+
const T7 = ["",[],2];
|
|
14
|
+
const T8 = ["input",["type","hidden"]];
|
|
15
|
+
const T9 = ["button",["type","button","data-combobox-action","clear","aria-label","Clear"],["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["path",["d","M7 7l10 10M17 7 7 17"]]]];
|
|
16
|
+
const T10 = ["button",["type","button","data-combobox-action","disclosure","tabindex","-1","aria-label","Show suggestions"],["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.25","stroke-linecap","round","stroke-linejoin","round"],["path",["d","m6 9 6 6 6-6"]]]];
|
|
17
|
+
const T11 = ["button",["class","help","type","button","aria-label","Help"],["svg",["class","help-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["circle",["cx","12","cy","12","r","10"]],["path",["d","M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"]],["path",["d","M12 17h.01"]]]];
|
|
18
|
+
const T12 = ["ui-tooltip",["trigger","click"],0];
|
|
19
|
+
const T13 = ["div",[],1,2];
|
|
20
|
+
const T14 = ["div",["class","group"],0];
|
|
21
|
+
const T15 = ["div",["class","option","role","option","data-ui-choice-option",""],4];
|
|
22
|
+
const T16 = ["",[],1,1];
|
|
23
|
+
const T17 = ["span",["class","detail"],["span",["class","line"],["span",["class","primary"],0],1],1];
|
|
24
|
+
const T18 = ["ui-badge",[],["span",[],0]];
|
|
25
|
+
const T19 = ["span",["class","description"],0];
|
|
26
|
+
const T20 = ["span",["class","primary"],0];
|
|
27
|
+
const T21 = ["div",["class","option","role","option","data-ui-choice-option","","aria-selected","false"],0];
|
|
28
|
+
const T22 = ["div",["class","message"],0];
|
|
29
|
+
const T23 = ["div",["class","message"],4];
|
|
30
|
+
const T24 = ["",[],"No suggestions."];
|
|
31
|
+
const T25 = ["",[]];
|
|
32
|
+
const T26 = ["div",[],0];
|
|
33
|
+
const T27 = ["",[]];
|
|
34
|
+
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;
|
|
35
|
+
const E = new Map();
|
|
36
|
+
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),false],"color","s"]]]]],"s","s",["u","s","z"],"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),false],"color","s"]]]]],"i","b","s",["o",["status",["p",formatOf(keywordFormat),false],"touched","b","dirty","b","issues",["l",["o",["message","s"]]]],1],"s","s",["l",["o",["name","s","role",["p",formatOf(keywordFormat),false],"label",["u","s","z"],"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),false],"color","s"]],"index","i","labelledBy",["u","s","z"],"detail",["u","s","z"]]]]]]],"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", checkUnion([checkString, checkNull], "string | null"), false], ["query", checkString, false], ["option", checkUnion([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), checkNull], "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 }) }) | null"), false], ["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", checkUnion([checkString, checkNull], "string | null"), false], ["query", checkString, false], ["option", checkUnion([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), checkNull], "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 }) }) | null"), false], ["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", checkUnion([checkString, checkNull], "string | null"), false], ["query", checkString, false], ["option", checkUnion([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), checkNull], "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 }) }) | null"), false], ["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 };
|
|
37
|
+
const D = { 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),false] }, "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),false] }, "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),false],"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),false] }, "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" }, "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),false] }, "tokenSeparators": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
|
|
38
|
+
const C = (host) => controller.default(host);
|
|
7
39
|
|
|
8
|
-
export function createUiCombobox(options = {}) {
|
|
40
|
+
export function createUiCombobox(options = {}, html) {
|
|
9
41
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
10
|
-
const projected = [];
|
|
11
42
|
const element = document.createElement("div");
|
|
12
43
|
for (const [name, value] of Object.entries(attributes)) {
|
|
13
44
|
if (value === null || value === undefined || value === false) continue;
|
|
14
45
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
15
46
|
}
|
|
16
47
|
element.setAttribute("data-component", "ui-combobox");
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
const
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
const
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
48
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
49
|
+
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];
|
|
50
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
51
|
+
v[6] = negate(1, undefined);
|
|
52
|
+
const m1 = (d) => {
|
|
53
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
54
|
+
const r = { n };
|
|
55
|
+
p1(r, -1, d);
|
|
56
|
+
return r;
|
|
57
|
+
};
|
|
58
|
+
const p1 = (r, c, d) => {
|
|
59
|
+
};
|
|
60
|
+
const m2 = (d) => {
|
|
61
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
62
|
+
const r = { n };
|
|
63
|
+
p2(r, -1, d);
|
|
64
|
+
return r;
|
|
65
|
+
};
|
|
66
|
+
const p2 = (r, c, d) => {
|
|
67
|
+
};
|
|
68
|
+
const m3 = (d) => {
|
|
69
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
70
|
+
const t0 = n.firstChild;
|
|
71
|
+
const r = { n, L0: new PositionalList(t0, t0.nextSibling, m4, p4, (o) => readMember(o, "id"), "item") };
|
|
72
|
+
r.z = [() => { for (const row of r.L0.r) dispose(row); }];
|
|
73
|
+
p3(r, -1, d);
|
|
74
|
+
return r;
|
|
75
|
+
};
|
|
76
|
+
const p3 = (r, c, d) => {
|
|
77
|
+
if (c & 1073741825) r.L0.update(v[0], d, c);
|
|
78
|
+
if (c !== -1 && c & 541065216) r.L0.each(c, d);
|
|
79
|
+
};
|
|
80
|
+
const m4 = (o, j, l) => {
|
|
81
|
+
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
82
|
+
const t0 = n.firstChild;
|
|
83
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, w: 0, v0: null, v1: null, v2: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
84
|
+
p4(r, -1, E);
|
|
85
|
+
return r;
|
|
86
|
+
};
|
|
87
|
+
const p4 = (r, c, d) => {
|
|
88
|
+
const o = r.i;
|
|
89
|
+
if (c & 1073741824) {
|
|
90
|
+
r.w = 0;
|
|
91
|
+
const x0 = r.j;
|
|
92
|
+
const s0 = toAttribute(x0, "data-index");
|
|
93
|
+
if (s0 !== r.v0) writeAttribute(r.n, "data-index", r.v0 = s0);
|
|
94
|
+
}
|
|
95
|
+
if (c & 1614807040) {
|
|
96
|
+
const x1 = ((truthy(v[22]) || truthy(v[36])) || truthy(trackContainer(r, readMember(o, "disabled"))));
|
|
97
|
+
const s1 = toAttribute(x1, "disabled");
|
|
98
|
+
if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
|
|
99
|
+
}
|
|
100
|
+
if (c & 1073741824) {
|
|
101
|
+
const x2 = textCall("concat", [trackContainer(r, readMember(o, "label")), ", press Delete or Backspace to remove"]);
|
|
102
|
+
if (x2 !== NONCONFORMING) {
|
|
103
|
+
const s2 = toAttribute(x2, "aria-label");
|
|
104
|
+
if (s2 !== r.v2) writeAttribute(r.n, "aria-label", r.v2 = s2);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, toText(textCall("concat", ["item-", trackContainer(r, readMember(o, "id"))])), J, true, undefined, d);
|
|
108
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m5(d, undefined, r); at.before(r.b0.n); } }
|
|
109
|
+
else if (r.b0 !== undefined) p5(r.b0, c, d);
|
|
110
|
+
};
|
|
111
|
+
const m5 = (d, o, u) => {
|
|
112
|
+
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
113
|
+
const t0 = n.firstChild.firstChild;
|
|
114
|
+
const r = { n, u, a0: t0, w: 0, v0: "" };
|
|
115
|
+
p5(r, -1, d);
|
|
116
|
+
return r;
|
|
117
|
+
};
|
|
118
|
+
const p5 = (r, c, d) => {
|
|
119
|
+
if (c & 1073741824) {
|
|
120
|
+
r.w = 0;
|
|
121
|
+
const x0 = trackContainer(r, readMember(r.u.i, "label"));
|
|
122
|
+
const s0 = toText(x0);
|
|
123
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
const m6 = (d) => {
|
|
127
|
+
const n = (P6 ??= buildTemplate(T6)).cloneNode(true);
|
|
128
|
+
const r = { n, v0: null, v1: null, v2: null };
|
|
129
|
+
p6(r, -1, d);
|
|
130
|
+
return r;
|
|
131
|
+
};
|
|
132
|
+
const p6 = (r, c, d) => {
|
|
133
|
+
if (c & 536870912) {
|
|
134
|
+
const x0 = v[32];
|
|
135
|
+
const s0 = toAttribute(x0, "name");
|
|
136
|
+
if (s0 !== r.v0) writeAttribute(r.n, "name", r.v0 = s0);
|
|
137
|
+
}
|
|
138
|
+
if (c & 2048) {
|
|
139
|
+
const x1 = v[11];
|
|
140
|
+
const s1 = toAttribute(x1, "value");
|
|
141
|
+
if (s1 !== r.v1) writeAttribute(r.n, "value", r.v1 = s1);
|
|
142
|
+
}
|
|
143
|
+
if (c & 4194304) {
|
|
144
|
+
const x2 = v[22];
|
|
145
|
+
const s2 = toAttribute(x2, "disabled");
|
|
146
|
+
if (s2 !== r.v2) writeAttribute(r.n, "disabled", r.v2 = s2);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
const m7 = (d) => {
|
|
150
|
+
const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
|
|
151
|
+
const t0 = n.firstChild;
|
|
152
|
+
const r = { n, L0: new KeyedList(t0, t0.nextSibling, m8, p8, (o) => readMember(o, "id"), "item") };
|
|
153
|
+
p7(r, -1, d);
|
|
154
|
+
return r;
|
|
155
|
+
};
|
|
156
|
+
const p7 = (r, c, d) => {
|
|
157
|
+
if (c & 1073741825) r.L0.update(v[0], d, c);
|
|
158
|
+
if (c !== -1 && c & 541065216) r.L0.each(c, d);
|
|
159
|
+
};
|
|
160
|
+
const m8 = (o, j, l) => {
|
|
161
|
+
const n = (P8 ??= buildTemplate(T8)).cloneNode(true);
|
|
162
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, v2: null };
|
|
163
|
+
p8(r, -1, E);
|
|
164
|
+
return r;
|
|
165
|
+
};
|
|
166
|
+
const p8 = (r, c, d) => {
|
|
167
|
+
const o = r.i;
|
|
168
|
+
if (c & 1073741824) r.w = 0;
|
|
169
|
+
if (c & 536870912) {
|
|
170
|
+
const x0 = v[32];
|
|
171
|
+
const s0 = toAttribute(x0, "name");
|
|
172
|
+
if (s0 !== r.v0) writeAttribute(r.n, "name", r.v0 = s0);
|
|
173
|
+
}
|
|
174
|
+
if (c & 1073741824) {
|
|
175
|
+
const x1 = trackContainer(r, readMember(o, "value"));
|
|
176
|
+
const s1 = toAttribute(x1, "value");
|
|
177
|
+
if (s1 !== r.v1) writeAttribute(r.n, "value", r.v1 = s1);
|
|
178
|
+
}
|
|
179
|
+
if (c & 4194304) {
|
|
180
|
+
const x2 = v[22];
|
|
181
|
+
const s2 = toAttribute(x2, "disabled");
|
|
182
|
+
if (s2 !== r.v2) writeAttribute(r.n, "disabled", r.v2 = s2);
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
const m9 = (d) => {
|
|
186
|
+
const n = (P9 ??= buildTemplate(T9)).cloneNode(true);
|
|
187
|
+
const r = { n, v0: null };
|
|
188
|
+
p9(r, -1, d);
|
|
189
|
+
return r;
|
|
190
|
+
};
|
|
191
|
+
const p9 = (r, c, d) => {
|
|
192
|
+
if (c & 541065226) {
|
|
193
|
+
const x0 = ((truthy(v[22]) || truthy(v[36])) || (!truthy(v[1]) && (truthy(v[31]) || (v[3] === null))));
|
|
194
|
+
const s0 = toAttribute(x0, "disabled");
|
|
195
|
+
if (s0 !== r.v0) writeAttribute(r.n, "disabled", r.v0 = s0);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
const m10 = (d) => {
|
|
199
|
+
const n = (P10 ??= buildTemplate(T10)).cloneNode(true);
|
|
200
|
+
const r = { n, v0: null, v1: null };
|
|
201
|
+
p10(r, -1, d);
|
|
202
|
+
return r;
|
|
203
|
+
};
|
|
204
|
+
const p10 = (r, c, d) => {
|
|
205
|
+
if (c & 1024) {
|
|
206
|
+
const x0 = textCall("concat", [v[10], "-listbox"]);
|
|
207
|
+
if (x0 !== NONCONFORMING) {
|
|
208
|
+
const s0 = toAttribute(x0, "aria-controls");
|
|
209
|
+
if (s0 !== r.v0) writeAttribute(r.n, "aria-controls", r.v0 = s0);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
if (c & 541065216) {
|
|
213
|
+
const x1 = (truthy(v[22]) || truthy(v[36]));
|
|
214
|
+
const s1 = toAttribute(x1, "disabled");
|
|
215
|
+
if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
const m11 = (d) => {
|
|
219
|
+
const n = (P11 ??= buildTemplate(T11)).cloneNode(true);
|
|
220
|
+
const r = { n, v0: null, v1: null };
|
|
221
|
+
p11(r, -1, d);
|
|
222
|
+
return r;
|
|
223
|
+
};
|
|
224
|
+
const p11 = (r, c, d) => {
|
|
225
|
+
if (c & 1024) {
|
|
226
|
+
const x0 = textCall("concat", [v[10], "-help"]);
|
|
227
|
+
if (x0 !== NONCONFORMING) {
|
|
228
|
+
const s0 = toAttribute(x0, "id");
|
|
229
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
if (c & 4194304) {
|
|
233
|
+
const x1 = v[22];
|
|
234
|
+
const s1 = toAttribute(x1, "disabled");
|
|
235
|
+
if (s1 !== r.v1) writeAttribute(r.n, "disabled", r.v1 = s1);
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
const m12 = (d) => {
|
|
239
|
+
const n = (P12 ??= buildTemplate(T12)).cloneNode(true);
|
|
240
|
+
const t0 = n.firstChild;
|
|
241
|
+
const r = { n, a1: t0, v0: null, v1: null, v2: "" };
|
|
242
|
+
p12(r, -1, d);
|
|
243
|
+
return r;
|
|
244
|
+
};
|
|
245
|
+
const p12 = (r, c, d) => {
|
|
246
|
+
if (c & 1024) {
|
|
247
|
+
const x0 = textCall("concat", [v[10], "-help-text"]);
|
|
248
|
+
if (x0 !== NONCONFORMING) {
|
|
249
|
+
const s0 = toAttribute(x0, "id");
|
|
250
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
251
|
+
}
|
|
252
|
+
const x1 = textCall("concat", [v[10], "-help"]);
|
|
253
|
+
if (x1 !== NONCONFORMING) {
|
|
254
|
+
const s1 = toAttribute(x1, "for");
|
|
255
|
+
if (s1 !== r.v1) writeAttribute(r.n, "for", r.v1 = s1);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
if (c & 33554432) {
|
|
259
|
+
const x2 = v[25];
|
|
260
|
+
const s2 = toText(x2);
|
|
261
|
+
if (s2 !== r.v2) r.a1.data = r.v2 = s2;
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
const m13 = (o, j, l) => {
|
|
265
|
+
const n = (P13 ??= buildTemplate(T13)).cloneNode(true);
|
|
266
|
+
const t0 = n.firstChild;
|
|
267
|
+
const t1 = t0.nextSibling.nextSibling;
|
|
268
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, a1: t0, e0: t0.nextSibling, b0: undefined, q0: undefined, L1: new KeyedList(t1, t1.nextSibling, m15, p15, (o) => readMember(o, "id"), "row") };
|
|
269
|
+
r.z = [() => { for (const row of r.L1.r) dispose(row); }];
|
|
270
|
+
p13(r, -1, E);
|
|
271
|
+
return r;
|
|
272
|
+
};
|
|
273
|
+
const p13 = (r, c, d) => {
|
|
274
|
+
const o = r.i;
|
|
275
|
+
if (c & 1073741824) {
|
|
276
|
+
r.w = 0;
|
|
277
|
+
const x0 = trackContainer(r, readMember(o, "role"));
|
|
278
|
+
const s0 = toAttribute(x0, "role");
|
|
279
|
+
if (s0 !== r.v0) writeAttribute(r.n, "role", r.v0 = s0);
|
|
280
|
+
const x1 = trackContainer(r, readMember(o, "label"));
|
|
281
|
+
const s1 = toAttribute(x1, "aria-label");
|
|
282
|
+
if (s1 !== r.v1) writeAttribute(r.n, "aria-label", r.v1 = s1);
|
|
283
|
+
}
|
|
284
|
+
if (c & 1073741824) {
|
|
285
|
+
const f1 = [];
|
|
286
|
+
const t0 = truthy(recLength(f1, trackContainer(r, rec(f1, readMember(rec(f1, o), "name")))));
|
|
287
|
+
if (c === -1 || readsChanged(r.q0, f1)) {
|
|
288
|
+
r.q0 = f1;
|
|
289
|
+
{
|
|
290
|
+
r.b0 = undefined;
|
|
291
|
+
clearRegion(r.a1, r.e0);
|
|
292
|
+
if (t0) { r.b0 = m14(d, undefined, r); r.e0.before(r.b0.n); }
|
|
293
|
+
}
|
|
294
|
+
} else if (r.b0 !== undefined) p14(r.b0, c, d);
|
|
295
|
+
} else if (r.b0 !== undefined) p14(r.b0, c, d);
|
|
296
|
+
if (c & 1073741824) r.L1.update(readMember(o, "rows"), d, c);
|
|
297
|
+
if (c !== -1 && c & 536872000) r.L1.each(c, d);
|
|
298
|
+
};
|
|
299
|
+
const m14 = (d, o, u) => {
|
|
300
|
+
const n = (P14 ??= buildTemplate(T14)).cloneNode(true);
|
|
301
|
+
const t0 = n.firstChild;
|
|
302
|
+
const r = { n, u, a0: t0, w: 0, v0: "" };
|
|
303
|
+
p14(r, -1, d);
|
|
304
|
+
return r;
|
|
305
|
+
};
|
|
306
|
+
const p14 = (r, c, d) => {
|
|
307
|
+
if (c & 1073741824) {
|
|
308
|
+
r.w = 0;
|
|
309
|
+
const x0 = trackContainer(r, readMember(r.u.i, "name"));
|
|
310
|
+
const s0 = toText(x0);
|
|
311
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
const m15 = (o, j, l) => {
|
|
315
|
+
const n = (P15 ??= buildTemplate(T15)).cloneNode(true);
|
|
316
|
+
const t0 = n.firstChild;
|
|
317
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
318
|
+
p15(r, -1, E);
|
|
319
|
+
return r;
|
|
320
|
+
};
|
|
321
|
+
const p15 = (r, c, d) => {
|
|
322
|
+
const o = r.i;
|
|
323
|
+
if (c & 1073741824) r.w = 0;
|
|
324
|
+
if (c & 1073741888) {
|
|
325
|
+
const x0 = (checkReference(S, v[6], "i", "expression:$row.index = $active:active", "Reference `active` must satisfy integer.") ? (readMember(o, "index") === v[6]) : NONCONFORMING);
|
|
326
|
+
if (x0 !== NONCONFORMING) {
|
|
327
|
+
const s0 = x0;
|
|
328
|
+
if (s0 !== r.v0) r.n.classList.toggle("active", r.v0 = s0);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
if (c & 536870912) {
|
|
332
|
+
const x1 = v[31];
|
|
333
|
+
const s1 = toAttribute(x1, "data-multiple");
|
|
334
|
+
if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
|
|
335
|
+
}
|
|
336
|
+
if (c & 1073742848) {
|
|
337
|
+
const x2 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(o, "index"))]);
|
|
338
|
+
if (x2 !== NONCONFORMING) {
|
|
339
|
+
const s2 = toAttribute(x2, "id");
|
|
340
|
+
if (s2 !== r.v2) writeAttribute(r.n, "id", r.v2 = s2);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
if (c & 1073741824) {
|
|
344
|
+
const x3 = trackContainer(r, readMember(o, "selected"));
|
|
345
|
+
const s3 = toAttribute(x3, "aria-selected");
|
|
346
|
+
if (s3 !== r.v3) writeAttribute(r.n, "aria-selected", r.v3 = s3);
|
|
347
|
+
const x4 = trackContainer(r, readMember(o, "disabled"));
|
|
348
|
+
const s4 = toAttribute(x4, "aria-disabled");
|
|
349
|
+
if (s4 !== r.v4) writeAttribute(r.n, "aria-disabled", r.v4 = s4);
|
|
350
|
+
const x5 = trackContainer(r, readMember(o, "index"));
|
|
351
|
+
const s5 = toAttribute(x5, "data-index");
|
|
352
|
+
if (s5 !== r.v5) writeAttribute(r.n, "data-index", r.v5 = s5);
|
|
353
|
+
const x6 = trackContainer(r, readMember(o, "labelledBy"));
|
|
354
|
+
const s6 = toAttribute(x6, "aria-labelledby");
|
|
355
|
+
if (s6 !== r.v6) writeAttribute(r.n, "aria-labelledby", r.v6 = s6);
|
|
356
|
+
const x7 = trackContainer(r, readMember(o, "detail"));
|
|
357
|
+
const s7 = toAttribute(x7, "aria-describedby");
|
|
358
|
+
if (s7 !== r.v7) writeAttribute(r.n, "aria-describedby", r.v7 = s7);
|
|
359
|
+
}
|
|
360
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, toText(textCall("concat", ["option-", trackContainer(r, readMember(o, "id"))])), J, true, undefined, d);
|
|
361
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m16(d, undefined, r); at.before(r.b0.n); } }
|
|
362
|
+
else if (r.b0 !== undefined) p16(r.b0, c, d);
|
|
363
|
+
};
|
|
364
|
+
const m16 = (d, o, u) => {
|
|
365
|
+
const n = (P16 ??= buildTemplate(T16)).cloneNode(true);
|
|
366
|
+
const t0 = n.firstChild;
|
|
367
|
+
const t1 = t0.nextSibling.nextSibling;
|
|
368
|
+
const r = { n, u, a0: t0, e0: t0.nextSibling, b0: undefined, q0: undefined, a1: t1, e1: t1.nextSibling, b1: undefined, q1: undefined };
|
|
369
|
+
p16(r, -1, d);
|
|
370
|
+
return r;
|
|
371
|
+
};
|
|
372
|
+
const p16 = (r, c, d) => {
|
|
373
|
+
if (c & 1073741824) {
|
|
374
|
+
const f2 = [];
|
|
375
|
+
const t0 = truthy(recLength(f2, trackContainer(r, rec(f2, readMember(rec(f2, r.u.i), "detail")))));
|
|
376
|
+
if (c === -1 || readsChanged(r.q0, f2)) {
|
|
377
|
+
r.q0 = f2;
|
|
378
|
+
{
|
|
379
|
+
r.b0 = undefined;
|
|
380
|
+
clearRegion(r.a0, r.e0);
|
|
381
|
+
if (t0) { r.b0 = m17(d, undefined, r); r.e0.before(r.b0.n); }
|
|
382
|
+
}
|
|
383
|
+
} else if (r.b0 !== undefined) p17(r.b0, c, d);
|
|
384
|
+
} else if (r.b0 !== undefined) p17(r.b0, c, d);
|
|
385
|
+
if (c & 1073741824) {
|
|
386
|
+
const f5 = [];
|
|
387
|
+
const t1 = !truthy(recLength(f5, trackContainer(r, rec(f5, readMember(rec(f5, r.u.i), "detail")))));
|
|
388
|
+
if (c === -1 || readsChanged(r.q1, f5)) {
|
|
389
|
+
r.q1 = f5;
|
|
390
|
+
{
|
|
391
|
+
r.b1 = undefined;
|
|
392
|
+
clearRegion(r.a1, r.e1);
|
|
393
|
+
if (t1) { r.b1 = m20(d, undefined, r); r.e1.before(r.b1.n); }
|
|
394
|
+
}
|
|
395
|
+
} else if (r.b1 !== undefined) p20(r.b1, c, d);
|
|
396
|
+
} else if (r.b1 !== undefined) p20(r.b1, c, d);
|
|
397
|
+
};
|
|
398
|
+
const m17 = (d, o, u) => {
|
|
399
|
+
const n = (P17 ??= buildTemplate(T17)).cloneNode(true);
|
|
400
|
+
const t0 = n.firstChild;
|
|
401
|
+
const t1 = t0.firstChild;
|
|
402
|
+
const t2 = t1.firstChild;
|
|
403
|
+
const t3 = t1.nextSibling;
|
|
404
|
+
const t4 = t0.nextSibling;
|
|
405
|
+
const r = { n, u, a0: t1, a1: t2, w: 0, v0: null, v1: "", a2: t3, e0: t3.nextSibling, b0: undefined, q0: undefined, a3: t4, e1: t4.nextSibling, b1: undefined, q1: undefined };
|
|
406
|
+
p17(r, -1, d);
|
|
407
|
+
return r;
|
|
408
|
+
};
|
|
409
|
+
const p17 = (r, c, d) => {
|
|
410
|
+
if (c & 1073741824) r.w = 0;
|
|
411
|
+
if (c & 1073742848) {
|
|
412
|
+
const x0 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(r.u.u.i, "index")), "-label"]);
|
|
413
|
+
if (x0 !== NONCONFORMING) {
|
|
414
|
+
const s0 = toAttribute(x0, "id");
|
|
415
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "id", r.v0 = s0);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
if (c & 1073741824) {
|
|
419
|
+
const x1 = trackContainer(r, readMember(r.u.u.i, "label"));
|
|
420
|
+
const s1 = toText(x1);
|
|
421
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
422
|
+
}
|
|
423
|
+
if (c & 1073741824) {
|
|
424
|
+
const f3 = [];
|
|
425
|
+
const t0 = truthy(recLength(f3, trackContainer(r, rec(f3, readMember(rec(f3, r.u.u.i), "tag")))));
|
|
426
|
+
if (c === -1 || readsChanged(r.q0, f3)) {
|
|
427
|
+
r.q0 = f3;
|
|
428
|
+
{
|
|
429
|
+
r.b0 = undefined;
|
|
430
|
+
clearRegion(r.a2, r.e0);
|
|
431
|
+
if (t0) { r.b0 = m18(d, undefined, r); r.e0.before(r.b0.n); }
|
|
432
|
+
}
|
|
433
|
+
} else if (r.b0 !== undefined) p18(r.b0, c, d);
|
|
434
|
+
} else if (r.b0 !== undefined) p18(r.b0, c, d);
|
|
435
|
+
if (c & 1073741824) {
|
|
436
|
+
const f4 = [];
|
|
437
|
+
const t1 = truthy(recLength(f4, trackContainer(r, rec(f4, readMember(rec(f4, r.u.u.i), "description")))));
|
|
438
|
+
if (c === -1 || readsChanged(r.q1, f4)) {
|
|
439
|
+
r.q1 = f4;
|
|
440
|
+
{
|
|
441
|
+
r.b1 = undefined;
|
|
442
|
+
clearRegion(r.a3, r.e1);
|
|
443
|
+
if (t1) { r.b1 = m19(d, undefined, r); r.e1.before(r.b1.n); }
|
|
444
|
+
}
|
|
445
|
+
} else if (r.b1 !== undefined) p19(r.b1, c, d);
|
|
446
|
+
} else if (r.b1 !== undefined) p19(r.b1, c, d);
|
|
447
|
+
};
|
|
448
|
+
const m18 = (d, o, u) => {
|
|
449
|
+
const n = (P18 ??= buildTemplate(T18)).cloneNode(true);
|
|
450
|
+
const t0 = n.firstChild;
|
|
451
|
+
const t1 = t0.firstChild;
|
|
452
|
+
const r = { n, u, a1: t0, a2: t1, w: 0, v0: null, v1: undefined, v2: null, v3: "" };
|
|
453
|
+
p18(r, -1, d);
|
|
454
|
+
return r;
|
|
455
|
+
};
|
|
456
|
+
const p18 = (r, c, d) => {
|
|
457
|
+
if (c & 1073741824) {
|
|
458
|
+
r.w = 0;
|
|
459
|
+
const x0 = trackContainer(r, readMember(readMember(r.u.u.u.i, "tag"), "tone"));
|
|
460
|
+
const s0 = toAttribute(x0, "tone");
|
|
461
|
+
if (s0 !== r.v0) writeAttribute(r.n, "tone", r.v0 = s0);
|
|
462
|
+
const x1 = trackContainer(r, readMember(readMember(r.u.u.u.i, "tag"), "color"));
|
|
463
|
+
const s1 = toText(x1);
|
|
464
|
+
if (s1 !== r.v1) r.n.style.setProperty("--ui-badge-color", r.v1 = s1);
|
|
465
|
+
const x2 = trackContainer(r, readMember(readMember(r.u.u.u.i, "tag"), "label"));
|
|
466
|
+
const s3 = toText(x2);
|
|
467
|
+
if (s3 !== r.v3) r.a2.data = r.v3 = s3;
|
|
468
|
+
}
|
|
469
|
+
if (c & 1073742848) {
|
|
470
|
+
const x3 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(r.u.u.u.i, "index")), "-tag"]);
|
|
471
|
+
if (x3 !== NONCONFORMING) {
|
|
472
|
+
const s2 = toAttribute(x3, "id");
|
|
473
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "id", r.v2 = s2);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
const m19 = (d, o, u) => {
|
|
478
|
+
const n = (P19 ??= buildTemplate(T19)).cloneNode(true);
|
|
479
|
+
const t0 = n.firstChild;
|
|
480
|
+
const r = { n, u, a1: t0, w: 0, v0: null, v1: "" };
|
|
481
|
+
p19(r, -1, d);
|
|
482
|
+
return r;
|
|
483
|
+
};
|
|
484
|
+
const p19 = (r, c, d) => {
|
|
485
|
+
if (c & 1073741824) r.w = 0;
|
|
486
|
+
if (c & 1073742848) {
|
|
487
|
+
const x0 = textCall("concat", [v[10], "-option-", trackContainer(r, readMember(r.u.u.u.i, "index")), "-description"]);
|
|
488
|
+
if (x0 !== NONCONFORMING) {
|
|
489
|
+
const s0 = toAttribute(x0, "id");
|
|
490
|
+
if (s0 !== r.v0) writeAttribute(r.n, "id", r.v0 = s0);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
if (c & 1073741824) {
|
|
494
|
+
const x1 = trackContainer(r, readMember(r.u.u.u.i, "description"));
|
|
495
|
+
const s1 = toText(x1);
|
|
496
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
const m20 = (d, o, u) => {
|
|
500
|
+
const n = (P20 ??= buildTemplate(T20)).cloneNode(true);
|
|
501
|
+
const t0 = n.firstChild;
|
|
502
|
+
const r = { n, u, a0: t0, w: 0, v0: "" };
|
|
503
|
+
p20(r, -1, d);
|
|
504
|
+
return r;
|
|
505
|
+
};
|
|
506
|
+
const p20 = (r, c, d) => {
|
|
507
|
+
if (c & 1073741824) {
|
|
508
|
+
r.w = 0;
|
|
509
|
+
const x0 = trackContainer(r, readMember(r.u.u.i, "label"));
|
|
510
|
+
const s0 = toText(x0);
|
|
511
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
const m21 = (d) => {
|
|
515
|
+
const n = (P21 ??= buildTemplate(T21)).cloneNode(true);
|
|
516
|
+
const r = { n, v0: false, v1: null, v2: null, v3: null, v4: undefined };
|
|
517
|
+
p21(r, -1, d);
|
|
518
|
+
return r;
|
|
519
|
+
};
|
|
520
|
+
const p21 = (r, c, d) => {
|
|
521
|
+
if (c & 16448) {
|
|
522
|
+
const x0 = (checkReference(S, v[6], "i", "expression:$createIndex = $active:active", "Reference `active` must satisfy integer.") ? (v[14] === v[6]) : NONCONFORMING);
|
|
523
|
+
if (x0 !== NONCONFORMING) {
|
|
524
|
+
const s0 = x0;
|
|
525
|
+
if (s0 !== r.v0) r.n.classList.toggle("active", r.v0 = s0);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
if (c & 536870912) {
|
|
529
|
+
const x1 = v[31];
|
|
530
|
+
const s1 = toAttribute(x1, "data-multiple");
|
|
531
|
+
if (s1 !== r.v1) writeAttribute(r.n, "data-multiple", r.v1 = s1);
|
|
532
|
+
}
|
|
533
|
+
if (c & 17408) {
|
|
534
|
+
const x2 = textCall("concat", [v[10], "-option-", v[14]]);
|
|
535
|
+
if (x2 !== NONCONFORMING) {
|
|
536
|
+
const s2 = toAttribute(x2, "id");
|
|
537
|
+
if (s2 !== r.v2) writeAttribute(r.n, "id", r.v2 = s2);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
if (c & 16384) {
|
|
541
|
+
const x3 = v[14];
|
|
542
|
+
const s3 = toAttribute(x3, "data-index");
|
|
543
|
+
if (s3 !== r.v3) writeAttribute(r.n, "data-index", r.v3 = s3);
|
|
544
|
+
}
|
|
545
|
+
if (c & 2) {
|
|
546
|
+
const x4 = textCall("concat", ["Create “", v[1], "”"]);
|
|
547
|
+
if (x4 !== NONCONFORMING) {
|
|
548
|
+
const s4 = toText(x4);
|
|
549
|
+
if (s4 !== r.v4) writeText(r.n, r.v4 = s4);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
const m22 = (d) => {
|
|
554
|
+
const n = (P22 ??= buildTemplate(T22)).cloneNode(true);
|
|
555
|
+
const t0 = n.firstChild;
|
|
556
|
+
const r = { n, a0: t0, v0: "" };
|
|
557
|
+
p22(r, -1, d);
|
|
558
|
+
return r;
|
|
559
|
+
};
|
|
560
|
+
const p22 = (r, c, d) => {
|
|
561
|
+
if (c & 32768) {
|
|
562
|
+
const x0 = v[15];
|
|
563
|
+
const s0 = toText(x0);
|
|
564
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
const m23 = (d) => {
|
|
568
|
+
const n = (P23 ??= buildTemplate(T23)).cloneNode(true);
|
|
569
|
+
const t0 = n.firstChild;
|
|
570
|
+
const r = { n, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
|
|
571
|
+
p23(r, -1, d);
|
|
572
|
+
return r;
|
|
573
|
+
};
|
|
574
|
+
const p23 = (r, c, d) => {
|
|
575
|
+
if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "empty", J, true, undefined, d);
|
|
576
|
+
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m24(d); at.before(r.b0.n); } }
|
|
577
|
+
else if (r.b0 !== undefined) p24(r.b0, c, d);
|
|
578
|
+
};
|
|
579
|
+
const m24 = (d) => {
|
|
580
|
+
const n = (P24 ??= buildTemplate(T24)).cloneNode(true);
|
|
581
|
+
const r = { n };
|
|
582
|
+
p24(r, -1, d);
|
|
583
|
+
return r;
|
|
584
|
+
};
|
|
585
|
+
const p24 = (r, c, d) => {
|
|
586
|
+
};
|
|
587
|
+
const m25 = (d) => {
|
|
588
|
+
const n = (P25 ??= buildTemplate(T25)).cloneNode(true);
|
|
589
|
+
const r = { n };
|
|
590
|
+
p25(r, -1, d);
|
|
591
|
+
return r;
|
|
592
|
+
};
|
|
593
|
+
const p25 = (r, c, d) => {
|
|
594
|
+
};
|
|
595
|
+
const m26 = (o, j, l) => {
|
|
596
|
+
const n = (P26 ??= buildTemplate(T26)).cloneNode(true);
|
|
597
|
+
const t0 = n.firstChild;
|
|
598
|
+
const r = { k: undefined, i: o, n, x: 0, y: 0, a0: t0, w: 0, v0: "" };
|
|
599
|
+
p26(r, -1, E);
|
|
600
|
+
return r;
|
|
601
|
+
};
|
|
602
|
+
const p26 = (r, c, d) => {
|
|
603
|
+
const o = r.i;
|
|
604
|
+
if (c & 1073741824) {
|
|
605
|
+
r.w = 0;
|
|
606
|
+
const x0 = trackContainer(r, readMember(o, "message"));
|
|
607
|
+
const s0 = toText(x0);
|
|
608
|
+
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
609
|
+
}
|
|
610
|
+
};
|
|
611
|
+
const m27 = (d) => {
|
|
612
|
+
const n = (P27 ??= buildTemplate(T27)).cloneNode(true);
|
|
613
|
+
const r = { n };
|
|
614
|
+
p27(r, -1, d);
|
|
615
|
+
return r;
|
|
616
|
+
};
|
|
617
|
+
const p27 = (r, c, d) => {
|
|
618
|
+
};
|
|
619
|
+
const p0 = (r, c, d) => {
|
|
620
|
+
if (c & 1024) {
|
|
621
|
+
const x0 = textCall("concat", [v[10], "-input"]);
|
|
622
|
+
if (x0 !== NONCONFORMING) {
|
|
623
|
+
const s0 = toAttribute(x0, "for");
|
|
624
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "for", r.v0 = s0);
|
|
625
|
+
}
|
|
626
|
+
if (x0 !== NONCONFORMING) {
|
|
627
|
+
const s3 = toAttribute(x0, "id");
|
|
628
|
+
if (s3 !== r.v3) writeAttribute(r.a6, "id", r.v3 = s3);
|
|
629
|
+
}
|
|
630
|
+
const x1 = textCall("concat", [v[10], "-listbox"]);
|
|
631
|
+
if (x1 !== NONCONFORMING) {
|
|
632
|
+
const s4 = toAttribute(x1, "aria-controls");
|
|
633
|
+
if (s4 !== r.v4) writeAttribute(r.a6, "aria-controls", r.v4 = s4);
|
|
634
|
+
}
|
|
635
|
+
if (x1 !== NONCONFORMING) {
|
|
636
|
+
const s14 = toAttribute(x1, "id");
|
|
637
|
+
if (s14 !== r.v14) writeAttribute(r.a14, "id", r.v14 = s14);
|
|
638
|
+
}
|
|
639
|
+
const x2 = textCall("concat", [v[10], "-validation"]);
|
|
640
|
+
if (x2 !== NONCONFORMING) {
|
|
641
|
+
const s17 = toAttribute(x2, "id");
|
|
642
|
+
if (s17 !== r.v17) writeAttribute(r.a20, "id", r.v17 = s17);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
if (c & 536870912) {
|
|
646
|
+
const x3 = (v[29] === "sr-only");
|
|
647
|
+
const s1 = x3;
|
|
648
|
+
if (s1 !== r.v1) r.a0.classList.toggle("sr-only", r.v1 = s1);
|
|
649
|
+
}
|
|
650
|
+
if (c & 268435456) {
|
|
651
|
+
const x4 = v[28];
|
|
652
|
+
const s2 = toText(x4);
|
|
653
|
+
if (s2 !== r.v2) r.a1.data = r.v2 = s2;
|
|
654
|
+
const x5 = textCall("concat", [v[28], " suggestions"]);
|
|
655
|
+
if (x5 !== NONCONFORMING) {
|
|
656
|
+
const s15 = toAttribute(x5, "aria-label");
|
|
657
|
+
if (s15 !== r.v15) writeAttribute(r.a14, "aria-label", r.v15 = s15);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
if (c & 16) {
|
|
661
|
+
const x6 = v[4];
|
|
662
|
+
const s5 = toAttribute(x6, "aria-expanded");
|
|
663
|
+
if (s5 !== r.v5) writeAttribute(r.a6, "aria-expanded", r.v5 = s5);
|
|
664
|
+
const x7 = !v[4];
|
|
665
|
+
const s13 = toAttribute(x7, "hidden");
|
|
666
|
+
if (s13 !== r.v13) writeAttribute(r.a13, "hidden", r.v13 = s13);
|
|
667
|
+
}
|
|
668
|
+
if (c & 67239936) {
|
|
669
|
+
const x8 = (truthy(v[26]) || (v[17] === "error"));
|
|
670
|
+
const s6 = toAttribute(x8, "aria-invalid");
|
|
671
|
+
if (s6 !== r.v6) writeAttribute(r.a6, "aria-invalid", r.v6 = s6);
|
|
672
|
+
}
|
|
673
|
+
if (c & 537001984) {
|
|
674
|
+
const x9 = (truthy(v[30]) || (v[17] === "pending"));
|
|
675
|
+
const s7 = toAttribute(x9, "aria-busy");
|
|
676
|
+
if (s7 !== r.v7) writeAttribute(r.a6, "aria-busy", r.v7 = s7);
|
|
677
|
+
}
|
|
678
|
+
if (c & 4) {
|
|
679
|
+
const f0 = [];
|
|
680
|
+
const x10 = rec(f0, v[2]);
|
|
681
|
+
if (c === -1 || c & 4 || readsChanged(r.v8, f0)) {
|
|
682
|
+
r.v8 = f0;
|
|
683
|
+
r.a6["value"] = x10;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
if (c & 536870912) {
|
|
687
|
+
const x11 = v[34];
|
|
688
|
+
const s9 = toAttribute(x11, "placeholder");
|
|
689
|
+
if (s9 !== r.v9) writeAttribute(r.a6, "placeholder", r.v9 = s9);
|
|
690
|
+
}
|
|
691
|
+
if (c & 4194304) {
|
|
692
|
+
const x12 = v[22];
|
|
693
|
+
const s10 = toAttribute(x12, "disabled");
|
|
694
|
+
if (s10 !== r.v10) writeAttribute(r.a6, "disabled", r.v10 = s10);
|
|
695
|
+
}
|
|
696
|
+
if (c & 536870912) {
|
|
697
|
+
const x13 = v[36];
|
|
698
|
+
const s11 = toAttribute(x13, "readonly");
|
|
699
|
+
if (s11 !== r.v11) writeAttribute(r.a6, "readonly", r.v11 = s11);
|
|
700
|
+
const x14 = v[30];
|
|
701
|
+
const s16 = toAttribute(x14, "aria-busy");
|
|
702
|
+
if (s16 !== r.v16) writeAttribute(r.a14, "aria-busy", r.v16 = s16);
|
|
703
|
+
}
|
|
704
|
+
if (c & 1610612737) {
|
|
705
|
+
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),false],"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[37]) && !(truthy(v[31]) && truthy(readIndex(v[0], 0)))) : NONCONFORMING);
|
|
706
|
+
if (x15 !== NONCONFORMING) {
|
|
707
|
+
const s12 = toAttribute(x15, "required");
|
|
708
|
+
if (s12 !== r.v12) writeAttribute(r.a6, "required", r.v12 = s12);
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
if (c & 1073742336) {
|
|
712
|
+
const x16 = !truthy(readMember(readMember(v[9], "issues"), "length"));
|
|
713
|
+
const s18 = toAttribute(x16, "hidden");
|
|
714
|
+
if (s18 !== r.v18) writeAttribute(r.a20, "hidden", r.v18 = s18);
|
|
715
|
+
}
|
|
716
|
+
if (c & 65536) {
|
|
717
|
+
const x17 = v[16];
|
|
718
|
+
const s19 = toText(x17);
|
|
719
|
+
if (s19 !== r.v19) r.a22.data = r.v19 = s19;
|
|
720
|
+
}
|
|
721
|
+
if (c & 604110848) {
|
|
722
|
+
const x18 = hostState(["size","validationStatus","invalid","multiple"], [v[40], v[17], v[26], v[31]]);
|
|
723
|
+
const s20 = x18;
|
|
724
|
+
if (s20 !== r.v20) writeAttribute(r.n, "data-ui-combobox-state", (r.v20 = s20) === "" ? null : s20);
|
|
725
|
+
}
|
|
726
|
+
if (c & 536870912) {
|
|
727
|
+
const t0 = truthy(v[37]);
|
|
728
|
+
if (c === -1 || d.has(37)) {
|
|
729
|
+
{
|
|
730
|
+
r.b0 = undefined;
|
|
731
|
+
clearRegion(r.a2, r.e0);
|
|
732
|
+
if (t0) { r.b0 = m1(d); r.e0.before(r.b0.n); }
|
|
733
|
+
}
|
|
734
|
+
} else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
735
|
+
} else if (r.b0 !== undefined) p1(r.b0, c, d);
|
|
736
|
+
if (c & 536870912) {
|
|
737
|
+
const t2 = truthy(v[31]);
|
|
738
|
+
if (c === -1 || d.has(31)) {
|
|
739
|
+
{
|
|
740
|
+
dispose(r.b2);
|
|
741
|
+
r.b2 = undefined;
|
|
742
|
+
clearRegion(r.a5, r.e2);
|
|
743
|
+
if (t2) { r.b2 = m3(d); r.e2.before(r.b2.n); }
|
|
744
|
+
}
|
|
745
|
+
} else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
746
|
+
} else if (r.b2 !== undefined) p3(r.b2, c, d);
|
|
747
|
+
if (c & 536870912) {
|
|
748
|
+
const t3 = (truthy(v[32]) && !truthy(v[31]));
|
|
749
|
+
if (c === -1 || d.has(32) || d.has(31)) {
|
|
750
|
+
{
|
|
751
|
+
r.b3 = undefined;
|
|
752
|
+
clearRegion(r.a7, r.e3);
|
|
753
|
+
if (t3) { r.b3 = m6(d); r.e3.before(r.b3.n); }
|
|
754
|
+
}
|
|
755
|
+
} else if (r.b3 !== undefined) p6(r.b3, c, d);
|
|
756
|
+
} else if (r.b3 !== undefined) p6(r.b3, c, d);
|
|
757
|
+
if (c & 536870912) {
|
|
758
|
+
const t4 = (truthy(v[32]) && truthy(v[31]));
|
|
759
|
+
if (c === -1 || d.has(32) || d.has(31)) {
|
|
760
|
+
{
|
|
761
|
+
r.b4 = undefined;
|
|
762
|
+
clearRegion(r.a8, r.e4);
|
|
763
|
+
if (t4) { r.b4 = m7(d); r.e4.before(r.b4.n); }
|
|
764
|
+
}
|
|
765
|
+
} else if (r.b4 !== undefined) p7(r.b4, c, d);
|
|
766
|
+
} else if (r.b4 !== undefined) p7(r.b4, c, d);
|
|
767
|
+
if (c & 2097152) {
|
|
768
|
+
const t5 = truthy(v[21]);
|
|
769
|
+
if (true) {
|
|
770
|
+
{
|
|
771
|
+
r.b5 = undefined;
|
|
772
|
+
clearRegion(r.a9, r.e5);
|
|
773
|
+
if (t5) { r.b5 = m9(d); r.e5.before(r.b5.n); }
|
|
774
|
+
}
|
|
775
|
+
} else if (r.b5 !== undefined) p9(r.b5, c, d);
|
|
776
|
+
} else if (r.b5 !== undefined) p9(r.b5, c, d);
|
|
777
|
+
if (c & 8388608) {
|
|
778
|
+
const t6 = truthy(v[23]);
|
|
779
|
+
if (true) {
|
|
780
|
+
{
|
|
781
|
+
r.b6 = undefined;
|
|
782
|
+
clearRegion(r.a10, r.e6);
|
|
783
|
+
if (t6) { r.b6 = m10(d); r.e6.before(r.b6.n); }
|
|
784
|
+
}
|
|
785
|
+
} else if (r.b6 !== undefined) p10(r.b6, c, d);
|
|
786
|
+
} else if (r.b6 !== undefined) p10(r.b6, c, d);
|
|
787
|
+
if (c & 33554432) {
|
|
788
|
+
const t7 = truthy(v[25]);
|
|
789
|
+
if (true) {
|
|
790
|
+
{
|
|
791
|
+
r.b7 = undefined;
|
|
792
|
+
clearRegion(r.a11, r.e7);
|
|
793
|
+
if (t7) { r.b7 = m11(d); r.e7.before(r.b7.n); }
|
|
794
|
+
}
|
|
795
|
+
} else if (r.b7 !== undefined) p11(r.b7, c, d);
|
|
796
|
+
} else if (r.b7 !== undefined) p11(r.b7, c, d);
|
|
797
|
+
if (c & 33554432) {
|
|
798
|
+
const t8 = truthy(v[25]);
|
|
799
|
+
if (true) {
|
|
800
|
+
{
|
|
801
|
+
r.b8 = undefined;
|
|
802
|
+
clearRegion(r.a12, r.e8);
|
|
803
|
+
if (t8) { r.b8 = m12(d); r.e8.before(r.b8.n); }
|
|
804
|
+
}
|
|
805
|
+
} else if (r.b8 !== undefined) p12(r.b8, c, d);
|
|
806
|
+
} else if (r.b8 !== undefined) p12(r.b8, c, d);
|
|
807
|
+
if (c & 1073745920) r.L9.update(v[12], d, c);
|
|
808
|
+
if (c & 8192) {
|
|
809
|
+
const t10 = v[13];
|
|
810
|
+
if (true) {
|
|
811
|
+
{
|
|
812
|
+
r.b10 = undefined;
|
|
813
|
+
clearRegion(r.a16, r.e10);
|
|
814
|
+
if (t10) { r.b10 = m21(d); r.e10.before(r.b10.n); }
|
|
815
|
+
}
|
|
816
|
+
} else if (r.b10 !== undefined) p21(r.b10, c, d);
|
|
817
|
+
} else if (r.b10 !== undefined) p21(r.b10, c, d);
|
|
818
|
+
if (c & 32768) {
|
|
819
|
+
const t11 = truthy(v[15]);
|
|
820
|
+
if (true) {
|
|
821
|
+
{
|
|
822
|
+
r.b11 = undefined;
|
|
823
|
+
clearRegion(r.a17, r.e11);
|
|
824
|
+
if (t11) { r.b11 = m22(d); r.e11.before(r.b11.n); }
|
|
825
|
+
}
|
|
826
|
+
} else if (r.b11 !== undefined) p22(r.b11, c, d);
|
|
827
|
+
} else if (r.b11 !== undefined) p22(r.b11, c, d);
|
|
828
|
+
if (c & 1610621216) {
|
|
829
|
+
const f6 = [];
|
|
830
|
+
const t12 = (checkReference(S, rec(f6, readDeclared(v[5], ["0"], f6)), ["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat),false],"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(rec(f6, v[30])) && !truthy(recLength(f6, rec(f6, readIndex(rec(f6, v[5]), 0))))) && !rec(f6, v[13])) && !truthy(rec(f6, v[8]))) : NONCONFORMING);
|
|
831
|
+
if (c === -1 || c & 8480 || d.has(30) || readsChanged(r.q12, f6)) {
|
|
832
|
+
r.q12 = f6;
|
|
833
|
+
if (t12 === NONCONFORMING) { if (r.b12 !== undefined) p23(r.b12, c, d); } else {
|
|
834
|
+
dispose(r.b12);
|
|
835
|
+
r.b12 = undefined;
|
|
836
|
+
clearRegion(r.a18, r.e12);
|
|
837
|
+
if (t12) { r.b12 = m23(d); r.e12.before(r.b12.n); }
|
|
838
|
+
}
|
|
839
|
+
} else if (r.b12 !== undefined) p23(r.b12, c, d);
|
|
840
|
+
} else if (r.b12 !== undefined) p23(r.b12, c, d);
|
|
841
|
+
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); } }
|
|
842
|
+
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a4, r.e1, "start", J, false, undefined, d);
|
|
843
|
+
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); } }
|
|
844
|
+
else if (r.b1 !== undefined) p2(r.b1, c, d);
|
|
845
|
+
if (r.f13 === undefined) { r.f13 = 1; const at = fillSlot(r.a19, r.e13, "footer", J, false, undefined, d);
|
|
846
|
+
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); } }
|
|
847
|
+
else if (r.b13 !== undefined) p25(r.b13, c, d);
|
|
848
|
+
if (r.f15 === undefined) { r.f15 = 1; const at = fillSlot(r.a24, r.e15, "", J, false, undefined, d);
|
|
849
|
+
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); } }
|
|
850
|
+
else if (r.b15 !== undefined) p27(r.b15, c, d);
|
|
851
|
+
};
|
|
852
|
+
const t0 = element.firstChild;
|
|
853
|
+
const t1 = t0.firstChild;
|
|
854
|
+
const t2 = t1.nextSibling;
|
|
855
|
+
const t3 = t0.nextSibling;
|
|
856
|
+
const t4 = t3.firstChild;
|
|
857
|
+
const t5 = t4.firstChild;
|
|
858
|
+
const t6 = t5.firstChild;
|
|
859
|
+
const t7 = t6.nextSibling.nextSibling;
|
|
860
|
+
const t8 = t7.nextSibling.nextSibling;
|
|
861
|
+
const t9 = t5.nextSibling;
|
|
862
|
+
const t10 = t9.nextSibling.nextSibling;
|
|
863
|
+
const t11 = t10.nextSibling.nextSibling;
|
|
864
|
+
const t12 = t11.nextSibling.nextSibling;
|
|
865
|
+
const t13 = t4.nextSibling;
|
|
866
|
+
const t14 = t3.nextSibling;
|
|
867
|
+
const t15 = t14.nextSibling.nextSibling;
|
|
868
|
+
const t16 = t15.firstChild;
|
|
869
|
+
const t17 = t16.firstChild;
|
|
870
|
+
const t18 = t17.nextSibling.nextSibling;
|
|
871
|
+
const t19 = t18.nextSibling.nextSibling;
|
|
872
|
+
const t20 = t19.nextSibling.nextSibling;
|
|
873
|
+
const t21 = t16.nextSibling;
|
|
874
|
+
const t22 = t15.nextSibling;
|
|
875
|
+
const t23 = t22.firstChild;
|
|
876
|
+
const t24 = t22.nextSibling;
|
|
877
|
+
const t25 = t24.firstChild;
|
|
878
|
+
const t26 = t24.nextSibling;
|
|
879
|
+
const t27 = t26.firstChild;
|
|
880
|
+
const R = { n: element, a0: t0, a1: t1, a6: t8, a13: t15, a14: t16, a20: t22, a22: t25, 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: t6, e1: t6.nextSibling, b1: undefined, f1: undefined, a5: t7, e2: t7.nextSibling, b2: undefined, a7: t9, e3: t9.nextSibling, b3: undefined, a8: t10, e4: t10.nextSibling, b4: undefined, a9: t11, e5: t11.nextSibling, b5: undefined, a10: t12, e6: t12.nextSibling, b6: undefined, a11: t13, e7: t13.nextSibling, b7: undefined, a12: t14, e8: t14.nextSibling, b8: undefined, L9: new KeyedList(t17, t17.nextSibling, m13, p13, (o) => readMember(o, "name"), "group"), a16: t18, e10: t18.nextSibling, b10: undefined, a17: t19, e11: t19.nextSibling, b11: undefined, a18: t20, e12: t20.nextSibling, b12: undefined, q12: undefined, a19: t21, e13: t21.nextSibling, b13: undefined, f13: undefined, L14: new IndexedList(t23, t23.nextSibling, m26, p26, undefined, "issue"), a24: t27, e15: t27.nextSibling, b15: undefined, f15: undefined };
|
|
881
|
+
const I = { B };
|
|
882
|
+
const J = project(I, children, slots);
|
|
883
|
+
I.R = new Set();
|
|
884
|
+
attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, C, undefined, I);
|
|
885
|
+
manageProps(I);
|
|
886
|
+
I.r["field"] = t4;
|
|
887
|
+
I.r["input"] = t8;
|
|
888
|
+
I.r["popup"] = t15;
|
|
889
|
+
I.r["listbox"] = t16;
|
|
890
|
+
I.r["options"] = t26;
|
|
294
891
|
return element;
|
|
295
892
|
}
|
|
296
|
-
|