@threadlabs/looma 0.50.1 → 0.51.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/shared/binding-inputs.js +5 -0
- package/components/shared/calendar-model.js +84 -0
- package/components/shared/date-input-segments.js +25 -0
- package/components/shared/date-navigation.js +35 -0
- package/components/shared/date-picker.js +38 -0
- package/components/shared/date-range.js +61 -0
- package/components/shared/date-time.js +273 -0
- package/components/shared/external-value.js +12 -0
- package/components/shared/form-reset.js +1 -1
- package/components/shared/icons.js +2 -0
- package/components/shared/initial-field-value.js +14 -0
- package/components/shared/input-segments.js +190 -0
- package/components/shared/prepared-module.js +19 -0
- package/components/ui-button/ui-button.html +31 -10
- package/components/ui-calendar/calendar-source.js +34 -0
- package/components/ui-calendar/ui-calendar.html +221 -0
- package/components/ui-calendar/ui-calendar.js +185 -0
- package/components/ui-cluster/ui-cluster.html +5 -2
- package/components/ui-date-field/ui-date-field.html +143 -0
- package/components/ui-date-field/ui-date-field.js +258 -0
- package/components/ui-date-picker/ui-date-picker.html +213 -0
- package/components/ui-date-picker/ui-date-picker.js +153 -0
- package/components/ui-date-range-picker/ui-date-range-picker.html +202 -0
- package/components/ui-date-range-picker/ui-date-range-picker.js +224 -0
- package/components/ui-file-input/files.js +15 -0
- package/components/ui-file-input/ui-file-input.html +79 -0
- package/components/ui-file-input/ui-file-input.js +108 -0
- package/components/ui-form-field/ui-form-field.js +2 -2
- package/components/ui-grid/ui-grid.html +68 -5
- package/components/ui-icon/ui-icon.html +8 -0
- package/components/ui-icon-button/ui-icon-button.html +22 -7
- package/components/ui-input/ui-input.html +10 -1
- package/components/ui-input/ui-input.js +11 -5
- package/components/ui-input-group/ui-input-group.html +2 -2
- package/components/ui-input-group/ui-input-group.js +6 -5
- package/components/ui-popover/ui-popover.html +2 -0
- package/components/ui-popover/ui-popover.js +5 -1
- package/components/ui-select/ui-select.html +8 -3
- package/components/ui-time-field/ui-time-field.html +62 -0
- package/components/ui-time-field/ui-time-field.js +21 -0
- package/components/ui-time-picker/time-options.js +25 -0
- package/components/ui-time-picker/ui-time-picker.html +160 -0
- package/components/ui-time-picker/ui-time-picker.js +132 -0
- package/dist/index.js +68 -61
- package/docs/README.md +2 -2
- package/docs/catalog.json +14227 -6227
- package/docs/documentation.css +1 -1
- package/docs/framework-examples.mjs +30 -9
- package/docs/site.mjs +1 -1
- package/editor/components.css +62 -29
- package/editor/icons.d.ts +2 -0
- package/editor/index.js +602 -141
- package/package.json +6 -4
- 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 +19 -7
- package/styles/ui-calendar.css +1 -0
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card-group.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +4 -1
- package/styles/ui-color-picker.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-compact-content.css +1 -1
- package/styles/ui-compact-editor.css +1 -1
- package/styles/ui-compact-mark.css +1 -1
- package/styles/ui-compact-node.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-curve-editor.css +1 -1
- package/styles/ui-cycle-button.css +1 -1
- package/styles/ui-date-field.css +1 -0
- package/styles/ui-date-picker.css +1 -0
- package/styles/ui-date-range-picker.css +1 -0
- 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-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.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-editor.css +1 -1
- package/styles/ui-file-input.css +1 -0
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +38 -1
- package/styles/ui-icon-button.css +19 -5
- package/styles/ui-icon.css +5 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +3 -3
- package/styles/ui-input.css +1 -1
- package/styles/ui-light-editor.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-number-input.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-pagination.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 +9 -4
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-site-header.css +19 -19
- package/styles/ui-skeleton.css +1 -1
- package/styles/ui-slider.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-swatch.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-time-field.css +1 -0
- package/styles/ui-time-picker.css +1 -0
- 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 +1 -1
- package/styles/ui-tree.css +1 -1
- package/tokens.css +4 -0
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +2 -1
- package/vanilla/UiButton.js +128 -108
- package/vanilla/UiCalendar.d.ts +50 -0
- package/vanilla/UiCalendar.js +477 -0
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +2 -2
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +1 -1
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +1 -1
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +1 -1
- package/vanilla/UiCompactNode.d.ts +1 -1
- package/vanilla/UiCompactNode.js +1 -1
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +1 -1
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +1 -1
- package/vanilla/UiDateField.d.ts +52 -0
- package/vanilla/UiDateField.js +208 -0
- package/vanilla/UiDatePicker.d.ts +63 -0
- package/vanilla/UiDatePicker.js +360 -0
- package/vanilla/UiDateRangePicker.d.ts +60 -0
- package/vanilla/UiDateRangePicker.js +418 -0
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +1 -1
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +1 -1
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +1 -1
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +1 -1
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +1 -1
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +1 -1
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +1 -1
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +1 -1
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +1 -1
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFileInput.d.ts +36 -0
- package/vanilla/UiFileInput.js +209 -0
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +7 -2
- package/vanilla/UiGrid.js +85 -19
- package/vanilla/UiIcon.d.ts +2 -1
- package/vanilla/UiIcon.js +10 -10
- package/vanilla/UiIconButton.d.ts +2 -2
- package/vanilla/UiIconButton.js +2 -2
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +1 -1
- package/vanilla/UiInput.d.ts +2 -1
- package/vanilla/UiInput.js +11 -11
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +1 -1
- package/vanilla/UiPopover.d.ts +2 -1
- package/vanilla/UiPopover.js +4 -4
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +1 -1
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +1 -1
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +1 -1
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiTimeField.d.ts +42 -0
- package/vanilla/UiTimeField.js +112 -0
- package/vanilla/UiTimePicker.d.ts +48 -0
- package/vanilla/UiTimePicker.js +372 -0
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vanilla/index.js +7 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
|
+
import * as controller from "../components/ui-time-field/ui-time-field.js";
|
|
4
|
+
import "../styles/ui-time-field.css";
|
|
5
|
+
|
|
6
|
+
const T0 = ["",[],["ui-date-field",["data-time-field","","type","time"]]];
|
|
7
|
+
let P0;
|
|
8
|
+
const S = { n: [], t: [], f: import.meta.url, g: "ui-time-field", d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "query-change": [detailCheck(checkObject([["query", checkString, false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["invalid", checkBoolean, false], ["message", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs };
|
|
9
|
+
const D = { g: "ui-time-field", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "form": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "granularity": { "required":false,"values":["minute","second"],"default":"minute", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "hourCycle": { "required":false,"values":["h11","h12","h23","h24"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "inputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "locale": { "required":false,"default":"en-US", c: checkString, t: "string", j: 0, m: "s" }, "max": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "min": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placeholder": { "required":false,"default":"", 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" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
10
|
+
const C = (host) => activateModule(controller, host);
|
|
11
|
+
|
|
12
|
+
export function createUiTimeField(options = {}, html) {
|
|
13
|
+
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
14
|
+
const element = document.createElement("span");
|
|
15
|
+
for (const [name, value] of Object.entries(attributes)) {
|
|
16
|
+
if (value === null || value === undefined || value === false) continue;
|
|
17
|
+
element.setAttribute(name, value === true ? "" : String(value));
|
|
18
|
+
}
|
|
19
|
+
element.setAttribute("data-component", "ui-time-field");
|
|
20
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
21
|
+
const v = [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
22
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
23
|
+
const p0 = (r, c, d) => {
|
|
24
|
+
if (c & 32768) {
|
|
25
|
+
const x0 = v[15];
|
|
26
|
+
const s0 = toAttribute(x0, "value");
|
|
27
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "value", r.v0 = s0);
|
|
28
|
+
}
|
|
29
|
+
if (c & 128) {
|
|
30
|
+
const x1 = v[7];
|
|
31
|
+
const s1 = toAttribute(x1, "locale");
|
|
32
|
+
if (s1 !== r.v1) writeAttribute(r.a0, "locale", r.v1 = s1);
|
|
33
|
+
}
|
|
34
|
+
if (c & 1073741832) {
|
|
35
|
+
const x2 = v[3];
|
|
36
|
+
const s2 = toAttribute(x2, "hour-cycle");
|
|
37
|
+
if (s2 !== r.v2) writeAttribute(r.a0, "hour-cycle", r.v2 = s2);
|
|
38
|
+
}
|
|
39
|
+
if (c & 1073741828) {
|
|
40
|
+
const x3 = v[2];
|
|
41
|
+
const s3 = toAttribute(x3, "granularity");
|
|
42
|
+
if (s3 !== r.v3) writeAttribute(r.a0, "granularity", r.v3 = s3);
|
|
43
|
+
}
|
|
44
|
+
if (c & 512) {
|
|
45
|
+
const x4 = v[9];
|
|
46
|
+
const s4 = toAttribute(x4, "min");
|
|
47
|
+
if (s4 !== r.v4) writeAttribute(r.a0, "min", r.v4 = s4);
|
|
48
|
+
}
|
|
49
|
+
if (c & 256) {
|
|
50
|
+
const x5 = v[8];
|
|
51
|
+
const s5 = toAttribute(x5, "max");
|
|
52
|
+
if (s5 !== r.v5) writeAttribute(r.a0, "max", r.v5 = s5);
|
|
53
|
+
}
|
|
54
|
+
if (c & 1024) {
|
|
55
|
+
const x6 = v[10];
|
|
56
|
+
const s6 = toAttribute(x6, "name");
|
|
57
|
+
if (s6 !== r.v6) writeAttribute(r.a0, "name", r.v6 = s6);
|
|
58
|
+
}
|
|
59
|
+
if (c & 2) {
|
|
60
|
+
const x7 = v[1];
|
|
61
|
+
const s7 = toAttribute(x7, "form");
|
|
62
|
+
if (s7 !== r.v7) writeAttribute(r.a0, "form", r.v7 = s7);
|
|
63
|
+
}
|
|
64
|
+
if (c & 16) {
|
|
65
|
+
const x8 = v[4];
|
|
66
|
+
const s8 = toAttribute(x8, "input-id");
|
|
67
|
+
if (s8 !== r.v8) writeAttribute(r.a0, "input-id", r.v8 = s8);
|
|
68
|
+
}
|
|
69
|
+
if (c & 64) {
|
|
70
|
+
const x9 = v[6];
|
|
71
|
+
const s9 = toAttribute(x9, "label");
|
|
72
|
+
if (s9 !== r.v9) writeAttribute(r.a0, "label", r.v9 = s9);
|
|
73
|
+
}
|
|
74
|
+
if (c & 1073758208) {
|
|
75
|
+
const x10 = v[14];
|
|
76
|
+
const s10 = toAttribute(x10, "size");
|
|
77
|
+
if (s10 !== r.v10) writeAttribute(r.a0, "size", r.v10 = s10);
|
|
78
|
+
}
|
|
79
|
+
if (c & 2048) {
|
|
80
|
+
const x11 = v[11];
|
|
81
|
+
const s11 = toAttribute(x11, "placeholder");
|
|
82
|
+
if (s11 !== r.v11) writeAttribute(r.a0, "placeholder", r.v11 = s11);
|
|
83
|
+
}
|
|
84
|
+
if (c & 1) {
|
|
85
|
+
const x12 = v[0];
|
|
86
|
+
const s12 = toAttribute(x12, "disabled");
|
|
87
|
+
if (s12 !== r.v12) writeAttribute(r.a0, "disabled", r.v12 = s12);
|
|
88
|
+
}
|
|
89
|
+
if (c & 4096) {
|
|
90
|
+
const x13 = v[12];
|
|
91
|
+
const s13 = toAttribute(x13, "readonly");
|
|
92
|
+
if (s13 !== r.v13) writeAttribute(r.a0, "readonly", r.v13 = s13);
|
|
93
|
+
}
|
|
94
|
+
if (c & 8192) {
|
|
95
|
+
const x14 = v[13];
|
|
96
|
+
const s14 = toAttribute(x14, "required");
|
|
97
|
+
if (s14 !== r.v14) writeAttribute(r.a0, "required", r.v14 = s14);
|
|
98
|
+
}
|
|
99
|
+
if (c & 32) {
|
|
100
|
+
const x15 = v[5];
|
|
101
|
+
const s15 = toAttribute(x15, "invalid");
|
|
102
|
+
if (s15 !== r.v15) writeAttribute(r.a0, "invalid", r.v15 = s15);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const t0 = element.firstChild;
|
|
106
|
+
const R = { a0: t0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null };
|
|
107
|
+
const I = { B };
|
|
108
|
+
attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
|
|
109
|
+
manageProps(I);
|
|
110
|
+
return element;
|
|
111
|
+
}
|
|
112
|
+
defineComponent("ui-time-field", createUiTimeField, ["disabled","form","granularity","hourCycle","inputId","invalid","label","locale","max","min","name","placeholder","readonly","required","size","value"]);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
|
+
export interface UiTimePickerEventMap {
|
|
3
|
+
input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
|
+
change: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
5
|
+
"query-change": CustomEvent<{ readonly query: string }>;
|
|
6
|
+
"validation-change": CustomEvent<{ readonly invalid: boolean; readonly message: string }>;
|
|
7
|
+
open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
8
|
+
close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
9
|
+
}
|
|
10
|
+
export interface UiTimePickerElement extends HTMLSpanElement {
|
|
11
|
+
addEventListener<K extends keyof UiTimePickerEventMap>(type: K, listener: (this: UiTimePickerElement, event: UiTimePickerEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
|
|
12
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiTimePickerElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
|
|
13
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
14
|
+
removeEventListener<K extends keyof UiTimePickerEventMap>(type: K, listener: (this: UiTimePickerElement, event: UiTimePickerEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
|
|
15
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiTimePickerElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
|
|
16
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
17
|
+
}
|
|
18
|
+
export interface UiTimePickerProps {
|
|
19
|
+
disabled?: boolean | null;
|
|
20
|
+
form?: string | null;
|
|
21
|
+
granularity?: "minute" | "second" | null;
|
|
22
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | null;
|
|
23
|
+
hourLabel?: string | null;
|
|
24
|
+
inputId?: string | null;
|
|
25
|
+
invalid?: boolean | null;
|
|
26
|
+
label?: string | null;
|
|
27
|
+
locale?: string | null;
|
|
28
|
+
max?: string | null;
|
|
29
|
+
min?: string | null;
|
|
30
|
+
minuteLabel?: string | null;
|
|
31
|
+
name?: string | null;
|
|
32
|
+
pickerLabel?: string | null;
|
|
33
|
+
placeholder?: string | null;
|
|
34
|
+
readonly?: boolean | null;
|
|
35
|
+
required?: boolean | null;
|
|
36
|
+
secondLabel?: string | null;
|
|
37
|
+
size?: "sm" | "md" | "lg" | null;
|
|
38
|
+
value?: string | null;
|
|
39
|
+
attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
|
|
40
|
+
children?: readonly (string | Node)[];
|
|
41
|
+
slots?: Readonly<Record<string, readonly (string | Node)[]>>;
|
|
42
|
+
}
|
|
43
|
+
export declare function createUiTimePicker(props?: UiTimePickerProps): UiTimePickerElement;
|
|
44
|
+
declare global {
|
|
45
|
+
interface ComponentTagMap {
|
|
46
|
+
"ui-time-picker": { element: UiTimePickerElement; props: Omit<UiTimePickerProps, "attributes" | "children" | "slots"> };
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, formatCall, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, RangedIndexedList, readonlyView, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule, multiply } from "@nextwebwg/html-next/generated-runtime";
|
|
3
|
+
import * as controller from "../components/ui-time-picker/ui-time-picker.js";
|
|
4
|
+
import "../styles/ui-time-picker.css";
|
|
5
|
+
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-input-group",[],["ui-time-field",["data-time-field",""]],["ui-icon-button",["data-time-trigger","","slot","action","variant","ghost","aria-haspopup","dialog"],["ui-icon",["name","clock"]]]],"\n ",["ui-popover",["data-time-popover","","role","dialog"],["ui-stack",["gap","s"],["ui-cluster",["gap","xs","align","start"],["ui-stack",["gap","xs"],["ui-text",["as","label","variant","label","tone","secondary"],0],["ui-select",["data-time-hour","","size","sm"],2]],"\n ",["ui-stack",["gap","xs"],["ui-text",["as","label","variant","label","tone","secondary"],0],["ui-select",["data-time-minute","","size","sm"],2]],"\n ",["ui-stack",["gap","xs"],["ui-text",["as","label","variant","label","tone","secondary"],0],["ui-select",["data-time-second","","size","sm"],2]]],"\n ",["ui-text",["tone","danger","role","alert"],0]]],"\n "];
|
|
7
|
+
const T1 = ["",[],["option",[],0]];
|
|
8
|
+
const T2 = ["",[],["option",[],0]];
|
|
9
|
+
const T3 = ["",[],["option",[],0]];
|
|
10
|
+
let P0, P1, P2, P3;
|
|
11
|
+
const E = new Map();
|
|
12
|
+
const S = { n: ["current","enhanced","anchorId","opened","fieldBlocked","hourFormat","showSeconds","error","hourValues","ticks"], t: ["s","b","s","b","b",["o",["hour","s","timeZone","s","hourCycle","s"]],"b","s","?","?"], f: import.meta.url, g: "ui-time-picker", k: 8, d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "query-change": [detailCheck(checkObject([["query", checkString, false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["invalid", checkBoolean, false], ["message", checkString, false]], false)), true, true, false], "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs, i: [null, false, "", false, false, { "hour": "numeric", "timeZone": "UTC" }, false, ""] };
|
|
13
|
+
const D = { g: "ui-time-picker", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "form": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "granularity": { "required":false,"values":["minute","second"],"default":"minute", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "hourCycle": { "required":false,"values":["h11","h12","h23","h24"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "hourLabel": { "required":false,"default":"Hour", c: checkString, t: "string", j: 0, m: "s" }, "inputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "locale": { "required":false,"default":"en-US", c: checkString, t: "string", j: 0, m: "s" }, "max": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "min": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "minuteLabel": { "required":false,"default":"Minute", c: checkString, t: "string", j: 0, m: "s" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "pickerLabel": { "required":false,"default":"Choose time", c: checkString, t: "string", j: 0, m: "s" }, "placeholder": { "required":false,"default":"", 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" }, "secondLabel": { "required":false,"default":"Second", c: checkString, t: "string", j: 0, m: "s" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
14
|
+
const C = (host) => activateModule(controller, host);
|
|
15
|
+
|
|
16
|
+
export function createUiTimePicker(options = {}, html) {
|
|
17
|
+
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
18
|
+
const element = document.createElement("span");
|
|
19
|
+
for (const [name, value] of Object.entries(attributes)) {
|
|
20
|
+
if (value === null || value === undefined || value === false) continue;
|
|
21
|
+
element.setAttribute(name, value === true ? "" : String(value));
|
|
22
|
+
}
|
|
23
|
+
element.setAttribute("data-component", "ui-time-picker");
|
|
24
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
25
|
+
const v = [null, false, "", false, false, { "hour": "numeric", "timeZone": "UTC" }, false, "", undefined, undefined, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
26
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
27
|
+
const CS = [];
|
|
28
|
+
const inputStatus = (j) => { if (j === 0) return E.status(j); if (j >= 8 && j < 10) { g(j); return CS[j] ?? UNRESOLVED_INPUT; } if (j === 10) return awaitInput(B, "disabled", true); if (j === 11) return awaitInput(B, "form", true); if (j === 12) return awaitInput(B, "granularity", true); if (j === 13) return awaitInput(B, "hourCycle", true); if (j === 14) return awaitInput(B, "hourLabel", true); if (j === 15) return awaitInput(B, "inputId", true); if (j === 16) return awaitInput(B, "invalid", true); if (j === 17) return awaitInput(B, "label", true); if (j === 18) return awaitInput(B, "locale", true); if (j === 19) return awaitInput(B, "max", true); if (j === 20) return awaitInput(B, "min", true); if (j === 21) return awaitInput(B, "minuteLabel", true); if (j === 22) return awaitInput(B, "name", true); if (j === 23) return awaitInput(B, "pickerLabel", true); if (j === 24) return awaitInput(B, "placeholder", true); if (j === 25) return awaitInput(B, "readonly", true); if (j === 26) return awaitInput(B, "required", true); if (j === 27) return awaitInput(B, "secondLabel", true); if (j === 28) return awaitInput(B, "size", true); if (j === 29) return awaitInput(B, "value", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
|
|
29
|
+
const X = { e: 0, g: (j) => g(j), w: new Set(), a: CS, i: inputStatus };
|
|
30
|
+
const ke = [];
|
|
31
|
+
const K = [() => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], () => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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]];
|
|
32
|
+
const g = (j) => {
|
|
33
|
+
const i = j - 8;
|
|
34
|
+
if (ke[i] === X.e) return v[j];
|
|
35
|
+
if (ke[i] === -1) computedCycle();
|
|
36
|
+
ke[i] = -1;
|
|
37
|
+
let next;
|
|
38
|
+
try { const result = evaluateInput(K[i], CS[j], NONCONFORMING), previousStatus = CS[j]; CS[j] = result.status; notifyPropertySet(CS, j, previousStatus, result.status, undefined); next = !result.status.ready ? null : result.value === NONCONFORMING ? v[j] : result.value; } catch (error) { ke[i] = undefined; throw error; }
|
|
39
|
+
ke[i] = X.e;
|
|
40
|
+
const previous = v[j];
|
|
41
|
+
if (!Object.is(previous, next)) { v[j] = next; X.n?.(j, previous, next); }
|
|
42
|
+
return next;
|
|
43
|
+
};
|
|
44
|
+
const E = stateInitializers(S, v, X, { 0: () => inputRead(v[29], inputStatus(29)) });
|
|
45
|
+
const m1 = (o, j, l) => {
|
|
46
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
47
|
+
const t0 = n.firstChild;
|
|
48
|
+
const t1 = t0.firstChild;
|
|
49
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
50
|
+
n.prepend(s);
|
|
51
|
+
n.append(t);
|
|
52
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "", m1_1: "" };
|
|
53
|
+
p1(r, -1, E);
|
|
54
|
+
return r;
|
|
55
|
+
};
|
|
56
|
+
const p1 = (r, c, d) => {
|
|
57
|
+
const o = r.i;
|
|
58
|
+
if (c & 1073741824) {
|
|
59
|
+
r.w = 0;
|
|
60
|
+
const x0 = textCall("concat", [trackContainer(r, o)]);
|
|
61
|
+
if (x0 !== NONCONFORMING) {
|
|
62
|
+
const s0 = toAttribute(x0, "value");
|
|
63
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "value", r.v0 = s0);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
if (c & 1074004000) {
|
|
67
|
+
const x1 = formatCall("format", [binaryValue("*", o, 3600000, undefined, undefined, multiply), "time", v[5], v[18]], "number");
|
|
68
|
+
if (x1 !== NONCONFORMING) r.m1_1 = toText(x1);
|
|
69
|
+
const s1 = "\n " + r.m1_1 + "\n ";
|
|
70
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const m2 = (o, j, l) => {
|
|
74
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
75
|
+
const t0 = n.firstChild;
|
|
76
|
+
const t1 = t0.firstChild;
|
|
77
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
78
|
+
n.prepend(s);
|
|
79
|
+
n.append(t);
|
|
80
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "", m1_1: "" };
|
|
81
|
+
p2(r, -1, E);
|
|
82
|
+
return r;
|
|
83
|
+
};
|
|
84
|
+
const p2 = (r, c, d) => {
|
|
85
|
+
const o = r.i;
|
|
86
|
+
if (c & 1073741824) {
|
|
87
|
+
r.w = 0;
|
|
88
|
+
const x0 = textCall("concat", [trackContainer(r, o)]);
|
|
89
|
+
if (x0 !== NONCONFORMING) {
|
|
90
|
+
const s0 = toAttribute(x0, "value");
|
|
91
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "value", r.v0 = s0);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
if (c & 1074003968) {
|
|
95
|
+
const x1 = formatCall("format", [trackContainer(r, o), "number", { "minimumIntegerDigits": 2 }, v[18]], undefined);
|
|
96
|
+
if (x1 !== NONCONFORMING) r.m1_1 = toText(x1);
|
|
97
|
+
const s1 = "\n " + r.m1_1 + "\n ";
|
|
98
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const m3 = (o, j, l) => {
|
|
102
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
103
|
+
const t0 = n.firstChild;
|
|
104
|
+
const t1 = t0.firstChild;
|
|
105
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
106
|
+
n.prepend(s);
|
|
107
|
+
n.append(t);
|
|
108
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "", m1_1: "" };
|
|
109
|
+
p3(r, -1, E);
|
|
110
|
+
return r;
|
|
111
|
+
};
|
|
112
|
+
const p3 = (r, c, d) => {
|
|
113
|
+
const o = r.i;
|
|
114
|
+
if (c & 1073741824) {
|
|
115
|
+
r.w = 0;
|
|
116
|
+
const x0 = textCall("concat", [trackContainer(r, o)]);
|
|
117
|
+
if (x0 !== NONCONFORMING) {
|
|
118
|
+
const s0 = toAttribute(x0, "value");
|
|
119
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "value", r.v0 = s0);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
if (c & 1074003968) {
|
|
123
|
+
const x1 = formatCall("format", [trackContainer(r, o), "number", { "minimumIntegerDigits": 2 }, v[18]], undefined);
|
|
124
|
+
if (x1 !== NONCONFORMING) r.m1_1 = toText(x1);
|
|
125
|
+
const s1 = "\n " + r.m1_1 + "\n ";
|
|
126
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
const p0 = (r, c, d) => {
|
|
130
|
+
if (c & 1024) {
|
|
131
|
+
const x0 = v[10];
|
|
132
|
+
const s0 = toAttribute(x0, "disabled");
|
|
133
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "disabled", r.v0 = s0);
|
|
134
|
+
}
|
|
135
|
+
if (c & 1) {
|
|
136
|
+
const x1 = (checkReference(S, v[0], "s", "expression:$current:current", "Reference `current` must satisfy string.") ? E.read(0) : NONCONFORMING);
|
|
137
|
+
if (x1 !== NONCONFORMING) {
|
|
138
|
+
const s1 = toAttribute(x1, "value");
|
|
139
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "value", r.v1 = s1);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
if (c & 262144) {
|
|
143
|
+
const x2 = v[18];
|
|
144
|
+
const s2 = toAttribute(x2, "locale");
|
|
145
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "locale", r.v2 = s2);
|
|
146
|
+
}
|
|
147
|
+
if (c & 1073750016) {
|
|
148
|
+
const x3 = v[13];
|
|
149
|
+
const s3 = toAttribute(x3, "hour-cycle");
|
|
150
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "hour-cycle", r.v3 = s3);
|
|
151
|
+
}
|
|
152
|
+
if (c & 1073745920) {
|
|
153
|
+
const x4 = v[12];
|
|
154
|
+
const s4 = toAttribute(x4, "granularity");
|
|
155
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "granularity", r.v4 = s4);
|
|
156
|
+
}
|
|
157
|
+
if (c & 1048576) {
|
|
158
|
+
const x5 = v[20];
|
|
159
|
+
const s5 = toAttribute(x5, "min");
|
|
160
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "min", r.v5 = s5);
|
|
161
|
+
}
|
|
162
|
+
if (c & 524288) {
|
|
163
|
+
const x6 = v[19];
|
|
164
|
+
const s6 = toAttribute(x6, "max");
|
|
165
|
+
if (s6 !== r.v6) writeAttribute(r.a1, "max", r.v6 = s6);
|
|
166
|
+
}
|
|
167
|
+
if (c & 4194304) {
|
|
168
|
+
const x7 = v[22];
|
|
169
|
+
const s7 = toAttribute(x7, "name");
|
|
170
|
+
if (s7 !== r.v7) writeAttribute(r.a1, "name", r.v7 = s7);
|
|
171
|
+
}
|
|
172
|
+
if (c & 2048) {
|
|
173
|
+
const x8 = v[11];
|
|
174
|
+
const s8 = toAttribute(x8, "form");
|
|
175
|
+
if (s8 !== r.v8) writeAttribute(r.a1, "form", r.v8 = s8);
|
|
176
|
+
}
|
|
177
|
+
if (c & 32768) {
|
|
178
|
+
const x9 = v[15];
|
|
179
|
+
const s9 = toAttribute(x9, "input-id");
|
|
180
|
+
if (s9 !== r.v9) writeAttribute(r.a1, "input-id", r.v9 = s9);
|
|
181
|
+
}
|
|
182
|
+
if (c & 131072) {
|
|
183
|
+
const x10 = v[17];
|
|
184
|
+
const s10 = toAttribute(x10, "label");
|
|
185
|
+
if (s10 !== r.v10) writeAttribute(r.a1, "label", r.v10 = s10);
|
|
186
|
+
}
|
|
187
|
+
if (c & 1342177280) {
|
|
188
|
+
const x11 = v[28];
|
|
189
|
+
const s11 = toAttribute(x11, "size");
|
|
190
|
+
if (s11 !== r.v11) writeAttribute(r.a1, "size", r.v11 = s11);
|
|
191
|
+
}
|
|
192
|
+
if (c & 16777216) {
|
|
193
|
+
const x12 = v[24];
|
|
194
|
+
const s12 = toAttribute(x12, "placeholder");
|
|
195
|
+
if (s12 !== r.v12) writeAttribute(r.a1, "placeholder", r.v12 = s12);
|
|
196
|
+
}
|
|
197
|
+
if (c & 1024) {
|
|
198
|
+
const x13 = v[10];
|
|
199
|
+
const s13 = toAttribute(x13, "disabled");
|
|
200
|
+
if (s13 !== r.v13) writeAttribute(r.a1, "disabled", r.v13 = s13);
|
|
201
|
+
}
|
|
202
|
+
if (c & 33554432) {
|
|
203
|
+
const x14 = v[25];
|
|
204
|
+
const s14 = toAttribute(x14, "readonly");
|
|
205
|
+
if (s14 !== r.v14) writeAttribute(r.a1, "readonly", r.v14 = s14);
|
|
206
|
+
}
|
|
207
|
+
if (c & 67108864) {
|
|
208
|
+
const x15 = v[26];
|
|
209
|
+
const s15 = toAttribute(x15, "required");
|
|
210
|
+
if (s15 !== r.v15) writeAttribute(r.a1, "required", r.v15 = s15);
|
|
211
|
+
}
|
|
212
|
+
if (c & 65536) {
|
|
213
|
+
const x16 = v[16];
|
|
214
|
+
const s16 = toAttribute(x16, "invalid");
|
|
215
|
+
if (s16 !== r.v16) writeAttribute(r.a1, "invalid", r.v16 = s16);
|
|
216
|
+
}
|
|
217
|
+
if (c & 4) {
|
|
218
|
+
const x17 = v[2];
|
|
219
|
+
const s17 = toAttribute(x17, "id");
|
|
220
|
+
if (s17 !== r.v17) writeAttribute(r.a2, "id", r.v17 = s17);
|
|
221
|
+
const s22 = toAttribute(x17, "for");
|
|
222
|
+
if (s22 !== r.v22) writeAttribute(r.a3, "for", r.v22 = s22);
|
|
223
|
+
}
|
|
224
|
+
if (c & 2) {
|
|
225
|
+
const x18 = !v[1];
|
|
226
|
+
const s18 = toAttribute(x18, "hidden");
|
|
227
|
+
if (s18 !== r.v18) writeAttribute(r.a2, "hidden", r.v18 = s18);
|
|
228
|
+
const x19 = hostState(["enhanced"], [v[1]]);
|
|
229
|
+
const s43 = x19;
|
|
230
|
+
if (s43 !== r.v43) writeAttribute(r.n, "data-ui-time-picker-state", (r.v43 = s43) === "" ? null : s43);
|
|
231
|
+
}
|
|
232
|
+
if (c & 1342177280) {
|
|
233
|
+
const x20 = v[28];
|
|
234
|
+
const s19 = toAttribute(x20, "size");
|
|
235
|
+
if (s19 !== r.v19) writeAttribute(r.a2, "size", r.v19 = s19);
|
|
236
|
+
}
|
|
237
|
+
if (c & 8388608) {
|
|
238
|
+
const x21 = v[23];
|
|
239
|
+
const s20 = toAttribute(x21, "label");
|
|
240
|
+
if (s20 !== r.v20) writeAttribute(r.a2, "label", r.v20 = s20);
|
|
241
|
+
}
|
|
242
|
+
if (c & 33555472) {
|
|
243
|
+
const x22 = ((truthy(v[10]) || truthy(v[25])) || v[4]);
|
|
244
|
+
const s21 = toAttribute(x22, "disabled");
|
|
245
|
+
if (s21 !== r.v21) writeAttribute(r.a2, "disabled", r.v21 = s21);
|
|
246
|
+
}
|
|
247
|
+
if (c & 8) {
|
|
248
|
+
const x23 = v[3];
|
|
249
|
+
const s23 = toAttribute(x23, "open");
|
|
250
|
+
if (s23 !== r.v23) writeAttribute(r.a3, "open", r.v23 = s23);
|
|
251
|
+
}
|
|
252
|
+
if (c & 8388608) {
|
|
253
|
+
const x24 = v[23];
|
|
254
|
+
const s24 = toAttribute(x24, "aria-label");
|
|
255
|
+
if (s24 !== r.v24) writeAttribute(r.a3, "aria-label", r.v24 = s24);
|
|
256
|
+
}
|
|
257
|
+
if (c & 1073741828) {
|
|
258
|
+
const x25 = readIndex(recordValue(["true","false"], [textCall("concat", [v[2], "-hour"]), null]), textCall("concat", [(v[2] !== "")]));
|
|
259
|
+
if (x25 !== NONCONFORMING) {
|
|
260
|
+
const s25 = toAttribute(x25, "for");
|
|
261
|
+
if (s25 !== r.v25) writeAttribute(r.a4, "for", r.v25 = s25);
|
|
262
|
+
}
|
|
263
|
+
if (x25 !== NONCONFORMING) {
|
|
264
|
+
const s27 = toAttribute(x25, "id");
|
|
265
|
+
if (s27 !== r.v27) writeAttribute(r.a6, "id", r.v27 = s27);
|
|
266
|
+
}
|
|
267
|
+
const x26 = readIndex(recordValue(["true","false"], [textCall("concat", [v[2], "-minute"]), null]), textCall("concat", [(v[2] !== "")]));
|
|
268
|
+
if (x26 !== NONCONFORMING) {
|
|
269
|
+
const s30 = toAttribute(x26, "for");
|
|
270
|
+
if (s30 !== r.v30) writeAttribute(r.a8, "for", r.v30 = s30);
|
|
271
|
+
}
|
|
272
|
+
if (x26 !== NONCONFORMING) {
|
|
273
|
+
const s32 = toAttribute(x26, "id");
|
|
274
|
+
if (s32 !== r.v32) writeAttribute(r.a10, "id", r.v32 = s32);
|
|
275
|
+
}
|
|
276
|
+
const x27 = readIndex(recordValue(["true","false"], [textCall("concat", [v[2], "-second"]), null]), textCall("concat", [(v[2] !== "")]));
|
|
277
|
+
if (x27 !== NONCONFORMING) {
|
|
278
|
+
const s36 = toAttribute(x27, "for");
|
|
279
|
+
if (s36 !== r.v36) writeAttribute(r.a13, "for", r.v36 = s36);
|
|
280
|
+
}
|
|
281
|
+
if (x27 !== NONCONFORMING) {
|
|
282
|
+
const s38 = toAttribute(x27, "id");
|
|
283
|
+
if (s38 !== r.v38) writeAttribute(r.a15, "id", r.v38 = s38);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
if (c & 16384) {
|
|
287
|
+
const x28 = v[14];
|
|
288
|
+
const s26 = toText(x28);
|
|
289
|
+
if (s26 !== r.v26) r.a5.data = r.v26 = s26;
|
|
290
|
+
const s28 = toAttribute(x28, "aria-label");
|
|
291
|
+
if (s28 !== r.v28) writeAttribute(r.a6, "aria-label", r.v28 = s28);
|
|
292
|
+
}
|
|
293
|
+
if (c & 8) {
|
|
294
|
+
const x29 = !v[3];
|
|
295
|
+
const s29 = toAttribute(x29, "disabled");
|
|
296
|
+
if (s29 !== r.v29) writeAttribute(r.a6, "disabled", r.v29 = s29);
|
|
297
|
+
}
|
|
298
|
+
if (c & 2097152) {
|
|
299
|
+
const x30 = v[21];
|
|
300
|
+
const s31 = toText(x30);
|
|
301
|
+
if (s31 !== r.v31) r.a9.data = r.v31 = s31;
|
|
302
|
+
const s33 = toAttribute(x30, "aria-label");
|
|
303
|
+
if (s33 !== r.v33) writeAttribute(r.a10, "aria-label", r.v33 = s33);
|
|
304
|
+
}
|
|
305
|
+
if (c & 8) {
|
|
306
|
+
const x31 = !v[3];
|
|
307
|
+
const s34 = toAttribute(x31, "disabled");
|
|
308
|
+
if (s34 !== r.v34) writeAttribute(r.a10, "disabled", r.v34 = s34);
|
|
309
|
+
}
|
|
310
|
+
if (c & 64) {
|
|
311
|
+
const x32 = !v[6];
|
|
312
|
+
const s35 = toAttribute(x32, "hidden");
|
|
313
|
+
if (s35 !== r.v35) writeAttribute(r.a12, "hidden", r.v35 = s35);
|
|
314
|
+
}
|
|
315
|
+
if (c & 134217728) {
|
|
316
|
+
const x33 = v[27];
|
|
317
|
+
const s37 = toText(x33);
|
|
318
|
+
if (s37 !== r.v37) r.a14.data = r.v37 = s37;
|
|
319
|
+
const s39 = toAttribute(x33, "aria-label");
|
|
320
|
+
if (s39 !== r.v39) writeAttribute(r.a15, "aria-label", r.v39 = s39);
|
|
321
|
+
}
|
|
322
|
+
if (c & 72) {
|
|
323
|
+
const x34 = (!v[3] || !v[6]);
|
|
324
|
+
const s40 = toAttribute(x34, "disabled");
|
|
325
|
+
if (s40 !== r.v40) writeAttribute(r.a15, "disabled", r.v40 = s40);
|
|
326
|
+
}
|
|
327
|
+
if (c & 128) {
|
|
328
|
+
const x35 = (v[7] === "");
|
|
329
|
+
const s41 = toAttribute(x35, "hidden");
|
|
330
|
+
if (s41 !== r.v41) writeAttribute(r.a17, "hidden", r.v41 = s41);
|
|
331
|
+
const x36 = v[7];
|
|
332
|
+
const s42 = toText(x36);
|
|
333
|
+
if (s42 !== r.v42) r.a18.data = r.v42 = s42;
|
|
334
|
+
}
|
|
335
|
+
if (c & 1073741824) r.L0.update(g(8), d, c);
|
|
336
|
+
if (c !== -1 && c & 1074004000) r.L0.each(c, d);
|
|
337
|
+
if (c & 1073741824) r.L1.update(g(9), d, c);
|
|
338
|
+
if (c !== -1 && c & 1074003968) r.L1.each(c, d);
|
|
339
|
+
if (c & 1073741824) r.L2.update(g(9), d, c);
|
|
340
|
+
if (c !== -1 && c & 1074003968) r.L2.each(c, d);
|
|
341
|
+
};
|
|
342
|
+
const t0 = element.firstChild.nextSibling;
|
|
343
|
+
const t1 = t0.firstChild;
|
|
344
|
+
const t2 = t1.nextSibling;
|
|
345
|
+
const t3 = t0.nextSibling.nextSibling;
|
|
346
|
+
const t4 = t3.firstChild;
|
|
347
|
+
const t5 = t4.firstChild;
|
|
348
|
+
const t6 = t5.firstChild;
|
|
349
|
+
const t7 = t6.firstChild;
|
|
350
|
+
const t8 = t7.firstChild;
|
|
351
|
+
const t9 = t7.nextSibling;
|
|
352
|
+
const t10 = t9.firstChild;
|
|
353
|
+
const t11 = t6.nextSibling.nextSibling;
|
|
354
|
+
const t12 = t11.firstChild;
|
|
355
|
+
const t13 = t12.firstChild;
|
|
356
|
+
const t14 = t12.nextSibling;
|
|
357
|
+
const t15 = t14.firstChild;
|
|
358
|
+
const t16 = t11.nextSibling.nextSibling;
|
|
359
|
+
const t17 = t16.firstChild;
|
|
360
|
+
const t18 = t17.firstChild;
|
|
361
|
+
const t19 = t17.nextSibling;
|
|
362
|
+
const t20 = t19.firstChild;
|
|
363
|
+
const t21 = t5.nextSibling.nextSibling;
|
|
364
|
+
const t22 = t21.firstChild;
|
|
365
|
+
const R = { n: element, a0: t0, a1: t1, a2: t2, a3: t3, a4: t7, a5: t8, a6: t9, a8: t12, a9: t13, a10: t14, a12: t16, a13: t17, a14: t18, a15: t19, a17: t21, a18: t22, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: null, v22: null, v23: null, v24: null, v25: null, v26: "", v27: null, v28: null, v29: null, v30: null, v31: "", v32: null, v33: null, v34: null, v35: null, v36: null, v37: "", v38: null, v39: null, v40: null, v41: null, v42: "", v43: undefined, L0: new RangedIndexedList(t10, t10.nextSibling, m1, p1, undefined, "hour"), L1: new RangedIndexedList(t15, t15.nextSibling, m2, p2, undefined, "tick"), L2: new RangedIndexedList(t20, t20.nextSibling, m3, p3, undefined, "tick") };
|
|
366
|
+
const I = { B, U: E };
|
|
367
|
+
I.R = new Set();
|
|
368
|
+
attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, X, I);
|
|
369
|
+
manageProps(I);
|
|
370
|
+
return element;
|
|
371
|
+
}
|
|
372
|
+
defineComponent("ui-time-picker", createUiTimePicker, ["disabled","form","granularity","hourCycle","hourLabel","inputId","invalid","label","locale","max","min","minuteLabel","name","pickerLabel","placeholder","readonly","required","secondLabel","size","value"]);
|
package/vanilla/UiToast.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiToastEventMap {
|
|
3
3
|
dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiToast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, readIndex, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-toast/ui-toast.js";
|
|
4
4
|
import "../styles/ui-toast.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiToastRegionEventMap {
|
|
3
3
|
dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
"show-toast": CustomEvent<{ readonly message: string; readonly id?: string | null; readonly tone?: "neutral" | "info" | "success" | "warning" | "danger" | null; readonly duration?: number | null }>;
|
package/vanilla/UiToastRegion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-toast-region/ui-toast-region.js";
|
|
4
4
|
import "../styles/ui-toast-region.css";
|
package/vanilla/UiTooltip.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTooltipEventMap {
|
|
3
3
|
open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiTooltip.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tooltip/ui-tooltip.js";
|
|
4
4
|
import "../styles/ui-tooltip.css";
|
package/vanilla/UiTopBar.d.ts
CHANGED
package/vanilla/UiTopBar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, NONCONFORMING, toAttribute, writeAttribute, computedCycle, dispose, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, project, fillSlot, readonlyView, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-top-bar/ui-top-bar.js";
|
|
4
4
|
import "../styles/ui-top-bar.css";
|
package/vanilla/UiTree.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTreeEventMap {
|
|
3
3
|
reorder: CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly sourceType: string; readonly targetType: string; readonly sourceScope: string; readonly targetScope: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
"reorder-rejected": CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly reason: "max-depth"; readonly maxDepth: number; readonly resultingDepth: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiTree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree/ui-tree.js";
|
|
4
4
|
import "../styles/ui-tree.css";
|
package/vanilla/UiTreeItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiTreeItemEventMap {
|
|
3
3
|
expand: CustomEvent<{ readonly id: string; readonly expanded: boolean; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiTreeItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-tree-item/ui-tree-item.js";
|
|
4
4
|
import "../styles/ui-tree-item.css";
|