@threadlabs/looma 0.50.2 → 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 +14225 -6225
- package/docs/documentation.css +1 -1
- package/docs/framework-examples.mjs +13 -2
- 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,477 @@
|
|
|
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, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, RangedPositionalList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
|
+
import * as controller from "../components/ui-calendar/ui-calendar.js";
|
|
4
|
+
import "../styles/ui-calendar.css";
|
|
5
|
+
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-stack",["gap","s"],["ui-cluster",["justify","between","gap","xs","padding","s","wrap","nowrap"],["ui-icon-button",["data-calendar-previous","","size","sm","variant","ghost"],["ui-icon",["name","chevron-left","directional",""]]],"\n ",["ui-cluster",["fixed","","gap","xs","wrap","nowrap","aria-live","polite","aria-atomic","true"],["ui-button",["data-calendar-month-toggle","","size","sm","variant","ghost"],["ui-text",["as","span"],0],["ui-icon",["name","chevron-down"]]],"\n ",["ui-button",["data-calendar-year-toggle","","size","sm","variant","ghost"],0,["ui-icon",["name","chevron-down"]]]],"\n ",["ui-icon-button",["data-calendar-next","","size","sm","variant","ghost"],["ui-icon",["name","chevron-right","directional",""]]]],"\n ",["ui-stack",["data-calendar-viewport","","gap","none"],["ui-stack",["data-calendar-days","","gap","none","role","grid"],["ui-grid",["fixed","","columns","7","gap","none","role","row","shaded-columns","[1,2,3,4,5,6,7]","shade-tone","accent"],2],"\n ",2],"\n ",["ui-text",["variant","caption","align","center"],0],"\n ",["ui-stack",["data-calendar-months","","fill","","justify","center","gap","m","role","grid"],2],"\n ",["ui-stack",["data-calendar-years","","fill","","justify","center","gap","s"],["ui-input",["data-calendar-year-input","","size","sm","inputmode","numeric"]],"\n ",["ui-text",["variant","caption","tone","danger","role","alert"],0],"\n ",["ui-stack",["gap","m","role","grid"],2]]]],"\n "];
|
|
7
|
+
const T1 = ["",[],["ui-cluster",["justify","center","padding","s","wrap","nowrap","role","columnheader"],["ui-text",["variant","caption","weight","semibold","tone","secondary"],0]]];
|
|
8
|
+
const T2 = ["",[],"\n ",["ui-grid",["fixed","","columns","7","gap","none","role","row"],2],"\n "];
|
|
9
|
+
const T3 = ["",[],"\n ",["ui-cluster",["justify","center","padding","xs","wrap","nowrap","role","gridcell"],["ui-button",["size","sm","square","","shape","pill","variant","ghost"],["ui-text",["as","span","variant","label"],0]]],"\n "];
|
|
10
|
+
const T4 = ["",[],["ui-grid",["fixed","","columns","3","gap","xs","role","row"],2]];
|
|
11
|
+
const T5 = ["",[],["span",["role","gridcell"],["ui-button",["size","sm","stretch","","variant","ghost","shape","pill"],["ui-text",["as","span","wrap","anywhere","align","center"],0]]]];
|
|
12
|
+
const T6 = ["",[],["ui-grid",["fixed","","columns","3","gap","xs","role","row"],2]];
|
|
13
|
+
const T7 = ["",[],["span",["role","gridcell"],["ui-button",["size","sm","stretch","","variant","ghost","shape","pill"],0]]];
|
|
14
|
+
let P0, P1, P2, P3, P4, P5, P6, P7;
|
|
15
|
+
const E = new Map();
|
|
16
|
+
const S = { n: ["current","visibleMonth","focusedDate","yearPageStart","mode","viewHeight","yearError"], t: ["s","s","s","i","s","n","s"], f: import.meta.url, g: "ui-calendar", 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], "select": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "month-change": [detailCheck(checkObject([["month", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [null, null, "", 0, "days", null, ""] };
|
|
17
|
+
const D = { g: "ui-calendar", props: { "allowedDates": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "allowedRanges": { "required":false, c: checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), j: 1, m: ["l",["o",["start","s","end","s"]]] }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabledDates": { "required":false,"default":[], c: checkList(checkString), j: 1, m: ["l","s"] }, "disabledRanges": { "required":false,"default":[], c: checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), j: 1, m: ["l",["o",["start","s","end","s"]]] }, "disabledWeekdays": { "required":false,"default":[], c: checkList(checkInteger), j: 1, m: ["l","i"] }, "emptyLabel": { "required":false,"default":"No available dates this month.", c: checkString, t: "string", j: 0, m: "s" }, "end": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Calendar", 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" }, "model": { "required":false, c: checkObject([["rangeBands", checkList(checkObject([["start", checkInteger, false], ["end", checkInteger, false]], false)), false], ["month", checkString, false], ["title", checkString, false], ["monthLabel", checkString, false], ["yearLabel", checkString, false], ["weekStartsOn", checkInteger, false], ["weekendColumns", checkList(checkInteger), false], ["weekdays", checkList(checkObject([["day", checkInteger, false], ["label", checkString, false], ["fullLabel", checkString, false]], false)), false], ["rows", checkList(checkList(checkObject([["value", checkString, false], ["day", checkInteger, false], ["outside", checkBoolean, false], ["label", checkString, false], ["disabled", checkBoolean, false], ["selected", checkBoolean, false], ["today", checkBoolean, false], ["rangeStart", checkBoolean, false], ["rangeEnd", checkBoolean, false], ["inRange", checkBoolean, false], ["tabIndex", checkInteger, false]], false))), false], ["focusDate", checkString, false], ["empty", checkBoolean, false], ["previousMonth", checkString, false], ["nextMonth", checkString, false], ["months", checkList(checkObject([["value", checkString, false], ["label", checkString, false], ["fullLabel", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false)), false], ["years", checkList(checkObject([["value", checkInteger, false], ["label", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false)), false], ["yearPageStart", checkInteger, false], ["yearPageLabel", checkString, false], ["monthRows", checkList(checkList(checkObject([["value", checkString, false], ["label", checkString, false], ["fullLabel", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false))), false], ["yearRows", checkList(checkList(checkObject([["value", checkInteger, false], ["label", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false))), false]], false), j: 1, m: ["o",["rangeBands",["l",["o",["start","i","end","i"]]],"month","s","title","s","monthLabel","s","yearLabel","s","weekStartsOn","i","weekendColumns",["l","i"],"weekdays",["l",["o",["day","i","label","s","fullLabel","s"]]],"rows",["l",["l",["o",["value","s","day","i","outside","b","label","s","disabled","b","selected","b","today","b","rangeStart","b","rangeEnd","b","inRange","b","tabIndex","i"]]]],"focusDate","s","empty","b","previousMonth","s","nextMonth","s","months",["l",["o",["value","s","label","s","fullLabel","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]],"years",["l",["o",["value","i","label","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]],"yearPageStart","i","yearPageLabel","s","monthRows",["l",["l",["o",["value","s","label","s","fullLabel","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]],"yearRows",["l",["l",["o",["value","i","label","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]]]] }, "month": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "monthLabel": { "required":false,"default":"Choose month", c: checkString, t: "string", j: 0, m: "s" }, "nextLabel": { "required":false,"default":"Next", c: checkString, t: "string", j: 0, m: "s" }, "previousLabel": { "required":false,"default":"Previous", c: checkString, t: "string", j: 0, m: "s" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "start": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "today": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "weekStartsOn": { "required":false,"min":1,"max":7, c: checkInteger, t: "integer", j: 0, m: "i", k: boundFailures }, "yearErrorLabel": { "required":false,"default":"Enter a year from 1 to 9999.", c: checkString, t: "string", j: 0, m: "s" }, "yearLabel": { "required":false,"default":"Choose year", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
18
|
+
const C = (host) => activateModule(controller, host);
|
|
19
|
+
|
|
20
|
+
export function createUiCalendar(options = {}, html) {
|
|
21
|
+
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
22
|
+
const element = document.createElement("section");
|
|
23
|
+
for (const [name, value] of Object.entries(attributes)) {
|
|
24
|
+
if (value === null || value === undefined || value === false) continue;
|
|
25
|
+
element.setAttribute(name, value === true ? "" : String(value));
|
|
26
|
+
}
|
|
27
|
+
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
28
|
+
element.setAttribute("data-component", "ui-calendar");
|
|
29
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
30
|
+
const v = [null, null, "", 0, "days", 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];
|
|
31
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
32
|
+
const CS = [];
|
|
33
|
+
const inputStatus = (j) => { if (j === 0) return E.status(j); if (j === 1) return E.status(j); if (j === 7) return awaitInput(B, "allowedDates", true); if (j === 8) return awaitInput(B, "allowedRanges", true); if (j === 9) return awaitInput(B, "disabled", true); if (j === 10) return awaitInput(B, "disabledDates", true); if (j === 11) return awaitInput(B, "disabledRanges", true); if (j === 12) return awaitInput(B, "disabledWeekdays", true); if (j === 13) return awaitInput(B, "emptyLabel", true); if (j === 14) return awaitInput(B, "end", true); if (j === 15) return awaitInput(B, "label", true); if (j === 16) return awaitInput(B, "locale", true); if (j === 17) return awaitInput(B, "max", true); if (j === 18) return awaitInput(B, "min", true); if (j === 19) return awaitInput(B, "model", true); if (j === 20) return awaitInput(B, "month", true); if (j === 21) return awaitInput(B, "monthLabel", true); if (j === 22) return awaitInput(B, "nextLabel", true); if (j === 23) return awaitInput(B, "previousLabel", true); if (j === 24) return awaitInput(B, "readonly", true); if (j === 25) return awaitInput(B, "start", true); if (j === 26) return awaitInput(B, "today", true); if (j === 27) return awaitInput(B, "value", true); if (j === 28) return awaitInput(B, "weekStartsOn", true); if (j === 29) return awaitInput(B, "yearErrorLabel", true); if (j === 30) return awaitInput(B, "yearLabel", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
|
|
34
|
+
const X = { e: 0, g: (j) => v[j], w: new Set(), a: CS, i: inputStatus };
|
|
35
|
+
const E = stateInitializers(S, v, X, { 0: () => inputRead(v[27], inputStatus(27)), 1: () => inputRead(v[20], inputStatus(20)) });
|
|
36
|
+
const m1 = (o, j, l) => {
|
|
37
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
38
|
+
const t0 = n.firstChild;
|
|
39
|
+
const t1 = t0.firstChild.firstChild;
|
|
40
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
41
|
+
n.prepend(s);
|
|
42
|
+
n.append(t);
|
|
43
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "" };
|
|
44
|
+
p1(r, -1, E);
|
|
45
|
+
return r;
|
|
46
|
+
};
|
|
47
|
+
const p1 = (r, c, d) => {
|
|
48
|
+
const o = r.i;
|
|
49
|
+
if (c & 1073741824) {
|
|
50
|
+
r.w = 0;
|
|
51
|
+
const x0 = trackContainer(r, readMember(o, "fullLabel"));
|
|
52
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
53
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-label", r.v0 = s0);
|
|
54
|
+
const x1 = trackContainer(r, readMember(o, "label"));
|
|
55
|
+
const s1 = toText(x1);
|
|
56
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const m2 = (o, j, l) => {
|
|
60
|
+
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
61
|
+
const t0 = n.firstChild.nextSibling;
|
|
62
|
+
const t1 = t0.firstChild;
|
|
63
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
64
|
+
n.prepend(s);
|
|
65
|
+
n.append(t);
|
|
66
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, j, l, a0: t0, w: 0, v0: null, v1: null, v2: null, L0: new RangedKeyedList(t1, t1.nextSibling, m3, p3, (o) => readMember(o, "value"), "day") };
|
|
67
|
+
p2(r, -1, E);
|
|
68
|
+
return r;
|
|
69
|
+
};
|
|
70
|
+
const p2 = (r, c, d) => {
|
|
71
|
+
const o = r.i;
|
|
72
|
+
if (c & 1073741824) r.w = 0;
|
|
73
|
+
if (c & 1074266112) {
|
|
74
|
+
const x0 = (checkReference(S, readDeclared(v[19], ["weekendColumns"]), ["l","i"], "expression:$model.weekendColumns:model.weekendColumns", "Reference `model.weekendColumns` must satisfy list(integer).") ? readMember(v[19], "weekendColumns") : NONCONFORMING);
|
|
75
|
+
if (x0 !== NONCONFORMING) {
|
|
76
|
+
const s0 = toAttribute(x0, "shaded-columns");
|
|
77
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "shaded-columns", r.v0 = s0);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (c & -1073217536) {
|
|
81
|
+
const x1 = trackContainer(r, (checkReference(S, readDeclared(v[19], ["rangeBands"]), ["l",["o",["start","i","end","i"]]], "expression:$model.rangeBands[$index].start:model.rangeBands", "Reference `model.rangeBands` must satisfy list(object({ start: integer, end: integer })).") ? readMember(readIndex(readMember(v[19], "rangeBands"), r.j), "start") : NONCONFORMING));
|
|
82
|
+
if (x1 !== NONCONFORMING) {
|
|
83
|
+
const s1 = toAttribute(x1, "selection-start");
|
|
84
|
+
if (s1 !== r.v1) writeAttribute(r.a0, "selection-start", r.v1 = s1);
|
|
85
|
+
}
|
|
86
|
+
const x2 = trackContainer(r, (checkReference(S, readDeclared(v[19], ["rangeBands"]), ["l",["o",["start","i","end","i"]]], "expression:$model.rangeBands[$index].end:model.rangeBands", "Reference `model.rangeBands` must satisfy list(object({ start: integer, end: integer })).") ? readMember(readIndex(readMember(v[19], "rangeBands"), r.j), "end") : NONCONFORMING));
|
|
87
|
+
if (x2 !== NONCONFORMING) {
|
|
88
|
+
const s2 = toAttribute(x2, "selection-end");
|
|
89
|
+
if (s2 !== r.v2) writeAttribute(r.a0, "selection-end", r.v2 = s2);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
if (c & 1073741824) r.L0.update(o, d, c);
|
|
93
|
+
if (c !== -1 && c & 1107378688) r.L0.each(c, d);
|
|
94
|
+
};
|
|
95
|
+
const m3 = (o, j, l) => {
|
|
96
|
+
const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
|
|
97
|
+
const t0 = n.firstChild.nextSibling;
|
|
98
|
+
const t1 = t0.firstChild;
|
|
99
|
+
const t2 = t1.firstChild;
|
|
100
|
+
const t3 = t2.firstChild;
|
|
101
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
102
|
+
n.prepend(s);
|
|
103
|
+
n.append(t);
|
|
104
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, a3: t3, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: null, v10: "" };
|
|
105
|
+
p3(r, -1, E);
|
|
106
|
+
return r;
|
|
107
|
+
};
|
|
108
|
+
const p3 = (r, c, d) => {
|
|
109
|
+
const o = r.i;
|
|
110
|
+
if (c & 1073741824) {
|
|
111
|
+
r.w = 0;
|
|
112
|
+
const x0 = (((truthy(trackContainer(r, readMember(o, "selected"))) || truthy(trackContainer(r, readMember(o, "inRange")))) || truthy(trackContainer(r, readMember(o, "rangeStart")))) || truthy(trackContainer(r, readMember(o, "rangeEnd"))));
|
|
113
|
+
const s0 = toAttribute(x0, "aria-selected");
|
|
114
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
|
|
115
|
+
const x1 = trackContainer(r, readMember(o, "value"));
|
|
116
|
+
const s2 = toAttribute(x1, "data-calendar-day");
|
|
117
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "data-calendar-day", r.v2 = s2);
|
|
118
|
+
}
|
|
119
|
+
if (c & 1073742336) {
|
|
120
|
+
const x2 = (truthy(trackContainer(r, readMember(o, "disabled"))) || (v[9] === true));
|
|
121
|
+
const s1 = toAttribute(x2, "aria-disabled");
|
|
122
|
+
if (s1 !== r.v1) writeAttribute(r.a0, "aria-disabled", r.v1 = s1);
|
|
123
|
+
}
|
|
124
|
+
if (c & 1107312640) {
|
|
125
|
+
const x3 = ((((truthy(trackContainer(r, readMember(o, "selected"))) && (v[25] === "")) && (v[14] === "")) || truthy(trackContainer(r, readMember(o, "rangeStart")))) || truthy(trackContainer(r, readMember(o, "rangeEnd"))));
|
|
126
|
+
const s3 = toAttribute(x3, "selected");
|
|
127
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "selected", r.v3 = s3);
|
|
128
|
+
}
|
|
129
|
+
if (c & 1073742336) {
|
|
130
|
+
const x4 = (truthy(v[9]) || truthy(trackContainer(r, readMember(o, "disabled"))));
|
|
131
|
+
const s4 = toAttribute(x4, "disabled");
|
|
132
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "disabled", r.v4 = s4);
|
|
133
|
+
}
|
|
134
|
+
if (c & 1073741824) {
|
|
135
|
+
const x5 = trackContainer(r, readMember(o, "tabIndex"));
|
|
136
|
+
const s5 = toAttribute(x5, "tabindex");
|
|
137
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "tabindex", r.v5 = s5);
|
|
138
|
+
const x6 = trackContainer(r, readMember(o, "label"));
|
|
139
|
+
const s6 = toAttribute(x6, "aria-label");
|
|
140
|
+
if (s6 !== r.v6) writeAttribute(r.a1, "aria-label", r.v6 = s6);
|
|
141
|
+
const x7 = trackContainer(r, readIndex({ "true": "date", "false": null }, textCall("concat", [trackContainer(r, readMember(o, "today"))])));
|
|
142
|
+
if (x7 !== NONCONFORMING) {
|
|
143
|
+
const s7 = toAttribute(x7, "aria-current");
|
|
144
|
+
if (s7 !== r.v7) writeAttribute(r.a1, "aria-current", r.v7 = s7);
|
|
145
|
+
}
|
|
146
|
+
const x8 = trackContainer(r, readIndex(recordValue(["true","false"], ["semibold", readIndex({ "true": "normal", "false": "inherit" }, textCall("concat", [trackContainer(r, readMember(o, "outside"))]))]), textCall("concat", [trackContainer(r, readMember(o, "today"))])));
|
|
147
|
+
if (x8 !== NONCONFORMING) {
|
|
148
|
+
const s8 = toAttribute(x8, "weight");
|
|
149
|
+
if (s8 !== r.v8) writeAttribute(r.a2, "weight", r.v8 = s8);
|
|
150
|
+
}
|
|
151
|
+
const x9 = trackContainer(r, readIndex({ "true": "muted", "false": "default" }, textCall("concat", [((truthy(trackContainer(r, readMember(o, "outside"))) && !truthy(trackContainer(r, readMember(o, "inRange")))) && !truthy(trackContainer(r, readMember(o, "selected"))))])));
|
|
152
|
+
if (x9 !== NONCONFORMING) {
|
|
153
|
+
const s9 = toAttribute(x9, "tone");
|
|
154
|
+
if (s9 !== r.v9) writeAttribute(r.a2, "tone", r.v9 = s9);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
if (c & 1073807360) {
|
|
158
|
+
const x10 = formatCall("format", [trackContainer(r, readMember(o, "day")), "number", { }, v[16]], "integer");
|
|
159
|
+
if (x10 !== NONCONFORMING) {
|
|
160
|
+
const s10 = toText(x10);
|
|
161
|
+
if (s10 !== r.v10) r.a3.data = r.v10 = s10;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
const m4 = (o, j, l) => {
|
|
166
|
+
const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
|
|
167
|
+
const t0 = n.firstChild.firstChild;
|
|
168
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
169
|
+
n.prepend(s);
|
|
170
|
+
n.append(t);
|
|
171
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, L0: new RangedKeyedList(t0, t0.nextSibling, m5, p5, (o) => readMember(o, "value"), "choice") };
|
|
172
|
+
p4(r, -1, E);
|
|
173
|
+
return r;
|
|
174
|
+
};
|
|
175
|
+
const p4 = (r, c, d) => {
|
|
176
|
+
const o = r.i;
|
|
177
|
+
if (c & 1073741824) r.L0.update(o, d, c);
|
|
178
|
+
if (c !== -1 && c & 512) r.L0.each(c, d);
|
|
179
|
+
};
|
|
180
|
+
const m5 = (o, j, l) => {
|
|
181
|
+
const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
|
|
182
|
+
const t0 = n.firstChild;
|
|
183
|
+
const t1 = t0.firstChild;
|
|
184
|
+
const t2 = t1.firstChild.firstChild;
|
|
185
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
186
|
+
n.prepend(s);
|
|
187
|
+
n.append(t);
|
|
188
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "" };
|
|
189
|
+
p5(r, -1, E);
|
|
190
|
+
return r;
|
|
191
|
+
};
|
|
192
|
+
const p5 = (r, c, d) => {
|
|
193
|
+
const o = r.i;
|
|
194
|
+
if (c & 1073741824) {
|
|
195
|
+
r.w = 0;
|
|
196
|
+
const x0 = trackContainer(r, readMember(o, "current"));
|
|
197
|
+
const s0 = toAttribute(x0, "aria-selected");
|
|
198
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
|
|
199
|
+
const x1 = trackContainer(r, readMember(o, "value"));
|
|
200
|
+
const s1 = toAttribute(x1, "data-calendar-month");
|
|
201
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "data-calendar-month", r.v1 = s1);
|
|
202
|
+
const x2 = trackContainer(r, readMember(o, "fullLabel"));
|
|
203
|
+
const s2 = toAttribute(x2, "aria-label");
|
|
204
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "aria-label", r.v2 = s2);
|
|
205
|
+
const s3 = toAttribute(x2, "title");
|
|
206
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "title", r.v3 = s3);
|
|
207
|
+
const s4 = toAttribute(x0, "selected");
|
|
208
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "selected", r.v4 = s4);
|
|
209
|
+
}
|
|
210
|
+
if (c & 1073742336) {
|
|
211
|
+
const x3 = (truthy(v[9]) || truthy(trackContainer(r, readMember(o, "disabled"))));
|
|
212
|
+
const s5 = toAttribute(x3, "disabled");
|
|
213
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "disabled", r.v5 = s5);
|
|
214
|
+
}
|
|
215
|
+
if (c & 1073741824) {
|
|
216
|
+
const x4 = trackContainer(r, readMember(o, "tabIndex"));
|
|
217
|
+
const s6 = toAttribute(x4, "tabindex");
|
|
218
|
+
if (s6 !== r.v6) writeAttribute(r.a1, "tabindex", r.v6 = s6);
|
|
219
|
+
const x5 = trackContainer(r, readMember(o, "label"));
|
|
220
|
+
const s7 = toText(x5);
|
|
221
|
+
if (s7 !== r.v7) r.a2.data = r.v7 = s7;
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
const m6 = (o, j, l) => {
|
|
225
|
+
const n = (P6 ??= buildTemplate(T6)).cloneNode(true);
|
|
226
|
+
const t0 = n.firstChild.firstChild;
|
|
227
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
228
|
+
n.prepend(s);
|
|
229
|
+
n.append(t);
|
|
230
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, L0: new RangedKeyedList(t0, t0.nextSibling, m7, p7, (o) => readMember(o, "value"), "year") };
|
|
231
|
+
p6(r, -1, E);
|
|
232
|
+
return r;
|
|
233
|
+
};
|
|
234
|
+
const p6 = (r, c, d) => {
|
|
235
|
+
const o = r.i;
|
|
236
|
+
if (c & 1073741824) r.L0.update(o, d, c);
|
|
237
|
+
if (c !== -1 && c & 512) r.L0.each(c, d);
|
|
238
|
+
};
|
|
239
|
+
const m7 = (o, j, l) => {
|
|
240
|
+
const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
|
|
241
|
+
const t0 = n.firstChild;
|
|
242
|
+
const t1 = t0.firstChild;
|
|
243
|
+
const t2 = t1.firstChild;
|
|
244
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
245
|
+
n.prepend(s);
|
|
246
|
+
n.append(t);
|
|
247
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: "" };
|
|
248
|
+
p7(r, -1, E);
|
|
249
|
+
return r;
|
|
250
|
+
};
|
|
251
|
+
const p7 = (r, c, d) => {
|
|
252
|
+
const o = r.i;
|
|
253
|
+
if (c & 1073741824) {
|
|
254
|
+
r.w = 0;
|
|
255
|
+
const x0 = trackContainer(r, readMember(o, "current"));
|
|
256
|
+
const s0 = toAttribute(x0, "aria-selected");
|
|
257
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
|
|
258
|
+
const x1 = trackContainer(r, readMember(o, "value"));
|
|
259
|
+
const s1 = toAttribute(x1, "data-calendar-year");
|
|
260
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "data-calendar-year", r.v1 = s1);
|
|
261
|
+
const s2 = toAttribute(x0, "selected");
|
|
262
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "selected", r.v2 = s2);
|
|
263
|
+
}
|
|
264
|
+
if (c & 1073742336) {
|
|
265
|
+
const x2 = (truthy(v[9]) || truthy(trackContainer(r, readMember(o, "disabled"))));
|
|
266
|
+
const s3 = toAttribute(x2, "disabled");
|
|
267
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "disabled", r.v3 = s3);
|
|
268
|
+
}
|
|
269
|
+
if (c & 1073741824) {
|
|
270
|
+
const x3 = trackContainer(r, readMember(o, "tabIndex"));
|
|
271
|
+
const s4 = toAttribute(x3, "tabindex");
|
|
272
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "tabindex", r.v4 = s4);
|
|
273
|
+
const x4 = trackContainer(r, readMember(o, "label"));
|
|
274
|
+
const s5 = toText(x4);
|
|
275
|
+
if (s5 !== r.v5) r.a2.data = r.v5 = s5;
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
const p0 = (r, c, d) => {
|
|
279
|
+
if (c & 32768) {
|
|
280
|
+
const x0 = v[15];
|
|
281
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
282
|
+
if (s0 !== r.v0) writeAttribute(r.n, "aria-label", r.v0 = s0);
|
|
283
|
+
}
|
|
284
|
+
if (c & 8388608) {
|
|
285
|
+
const x1 = v[23];
|
|
286
|
+
const s1 = toAttribute(x1, "label");
|
|
287
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "label", r.v1 = s1);
|
|
288
|
+
}
|
|
289
|
+
if (c & 1074266640) {
|
|
290
|
+
const x2 = (checkReference(S, readDeclared(v[19], ["month"]), "s", "expression:$disabled or ($mode = 'days' and $model.previousMonth = '') or ($mode = 'months' and $model.month < '0002-01') or ($mode = 'years' and $model.yearPageStart = 1):model.month", "Reference `model.month` must satisfy string.") && checkReference(S, readDeclared(v[19], ["previousMonth"]), "s", "expression:$disabled or ($mode = 'days' and $model.previousMonth = '') or ($mode = 'months' and $model.month < '0002-01') or ($mode = 'years' and $model.yearPageStart = 1):model.previousMonth", "Reference `model.previousMonth` must satisfy string.") && checkReference(S, readDeclared(v[19], ["yearPageStart"]), "i", "expression:$disabled or ($mode = 'days' and $model.previousMonth = '') or ($mode = 'months' and $model.month < '0002-01') or ($mode = 'years' and $model.yearPageStart = 1):model.yearPageStart", "Reference `model.yearPageStart` must satisfy integer.") ? (((truthy(v[9]) || ((v[4] === "days") && (readMember(v[19], "previousMonth") === ""))) || ((v[4] === "months") && truthy(binaryValue("<", readMember(v[19], "month"), "0002-01")))) || ((v[4] === "years") && (readMember(v[19], "yearPageStart") === 1))) : NONCONFORMING);
|
|
291
|
+
if (x2 !== NONCONFORMING) {
|
|
292
|
+
const s2 = toAttribute(x2, "disabled");
|
|
293
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "disabled", r.v2 = s2);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
if (c & 1076363264) {
|
|
297
|
+
const x3 = (checkReference(S, readDeclared(v[19], ["monthLabel"]), "s", "expression:concat($monthLabel, ': ', $model.monthLabel):model.monthLabel", "Reference `model.monthLabel` must satisfy string.") ? textCall("concat", [v[21], ": ", readMember(v[19], "monthLabel")]) : NONCONFORMING);
|
|
298
|
+
if (x3 !== NONCONFORMING) {
|
|
299
|
+
const s3 = toAttribute(x3, "aria-label");
|
|
300
|
+
if (s3 !== r.v3) writeAttribute(r.a2, "aria-label", r.v3 = s3);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
if (c & 16) {
|
|
304
|
+
const x4 = (v[4] === "months");
|
|
305
|
+
const s4 = toAttribute(x4, "aria-expanded");
|
|
306
|
+
if (s4 !== r.v4) writeAttribute(r.a2, "aria-expanded", r.v4 = s4);
|
|
307
|
+
const s5 = toAttribute(x4, "selected");
|
|
308
|
+
if (s5 !== r.v5) writeAttribute(r.a2, "selected", r.v5 = s5);
|
|
309
|
+
}
|
|
310
|
+
if (c & 512) {
|
|
311
|
+
const x5 = v[9];
|
|
312
|
+
const s6 = toAttribute(x5, "disabled");
|
|
313
|
+
if (s6 !== r.v6) writeAttribute(r.a2, "disabled", r.v6 = s6);
|
|
314
|
+
}
|
|
315
|
+
if (c & 1074266112) {
|
|
316
|
+
const x6 = (checkReference(S, readDeclared(v[19], ["monthLabel"]), "s", "expression:$model.monthLabel:model.monthLabel", "Reference `model.monthLabel` must satisfy string.") ? readMember(v[19], "monthLabel") : NONCONFORMING);
|
|
317
|
+
if (x6 !== NONCONFORMING) {
|
|
318
|
+
const s7 = toText(x6);
|
|
319
|
+
if (s7 !== r.v7) r.a3.data = r.v7 = s7;
|
|
320
|
+
}
|
|
321
|
+
const x7 = (checkReference(S, readDeclared(v[19], ["yearLabel"]), "s", "expression:$model.yearLabel:model.yearLabel", "Reference `model.yearLabel` must satisfy string.") ? readMember(v[19], "yearLabel") : NONCONFORMING);
|
|
322
|
+
if (x7 !== NONCONFORMING) {
|
|
323
|
+
const s12 = toText(x7);
|
|
324
|
+
if (s12 !== r.v12) r.a5.data = r.v12 = s12;
|
|
325
|
+
}
|
|
326
|
+
const x8 = (checkReference(S, readDeclared(v[19], ["empty"]), "b", "expression:{ true: 0, false: null }[concat($model.empty)]:model.empty", "Reference `model.empty` must satisfy boolean.") ? readIndex({ "true": 0, "false": null }, textCall("concat", [readMember(v[19], "empty")])) : NONCONFORMING);
|
|
327
|
+
if (x8 !== NONCONFORMING) {
|
|
328
|
+
const s16 = toAttribute(x8, "tabindex");
|
|
329
|
+
if (s16 !== r.v16) writeAttribute(r.a8, "tabindex", r.v16 = s16);
|
|
330
|
+
}
|
|
331
|
+
const x9 = (checkReference(S, readDeclared(v[19], ["title"]), "s", "expression:$model.title:model.title", "Reference `model.title` must satisfy string.") ? readMember(v[19], "title") : NONCONFORMING);
|
|
332
|
+
if (x9 !== NONCONFORMING) {
|
|
333
|
+
const s17 = toAttribute(x9, "aria-label");
|
|
334
|
+
if (s17 !== r.v17) writeAttribute(r.a8, "aria-label", r.v17 = s17);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
if (c & 1611137024) {
|
|
338
|
+
const x10 = (checkReference(S, readDeclared(v[19], ["yearLabel"]), "s", "expression:concat($yearLabel, ': ', $model.yearLabel):model.yearLabel", "Reference `model.yearLabel` must satisfy string.") ? textCall("concat", [v[30], ": ", readMember(v[19], "yearLabel")]) : NONCONFORMING);
|
|
339
|
+
if (x10 !== NONCONFORMING) {
|
|
340
|
+
const s8 = toAttribute(x10, "aria-label");
|
|
341
|
+
if (s8 !== r.v8) writeAttribute(r.a4, "aria-label", r.v8 = s8);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
if (c & 16) {
|
|
345
|
+
const x11 = (v[4] === "years");
|
|
346
|
+
const s9 = toAttribute(x11, "aria-expanded");
|
|
347
|
+
if (s9 !== r.v9) writeAttribute(r.a4, "aria-expanded", r.v9 = s9);
|
|
348
|
+
const s10 = toAttribute(x11, "selected");
|
|
349
|
+
if (s10 !== r.v10) writeAttribute(r.a4, "selected", r.v10 = s10);
|
|
350
|
+
}
|
|
351
|
+
if (c & 512) {
|
|
352
|
+
const x12 = v[9];
|
|
353
|
+
const s11 = toAttribute(x12, "disabled");
|
|
354
|
+
if (s11 !== r.v11) writeAttribute(r.a4, "disabled", r.v11 = s11);
|
|
355
|
+
}
|
|
356
|
+
if (c & 4194304) {
|
|
357
|
+
const x13 = v[22];
|
|
358
|
+
const s13 = toAttribute(x13, "label");
|
|
359
|
+
if (s13 !== r.v13) writeAttribute(r.a6, "label", r.v13 = s13);
|
|
360
|
+
}
|
|
361
|
+
if (c & 1074266640) {
|
|
362
|
+
const x14 = (checkReference(S, readDeclared(v[19], ["month"]), "s", "expression:$disabled or ($mode = 'days' and $model.nextMonth = '') or ($mode = 'months' and $model.month > '9998-12') or ($mode = 'years' and $model.yearPageStart >= 9997):model.month", "Reference `model.month` must satisfy string.") && checkReference(S, readDeclared(v[19], ["nextMonth"]), "s", "expression:$disabled or ($mode = 'days' and $model.nextMonth = '') or ($mode = 'months' and $model.month > '9998-12') or ($mode = 'years' and $model.yearPageStart >= 9997):model.nextMonth", "Reference `model.nextMonth` must satisfy string.") && checkReference(S, readDeclared(v[19], ["yearPageStart"]), "i", "expression:$disabled or ($mode = 'days' and $model.nextMonth = '') or ($mode = 'months' and $model.month > '9998-12') or ($mode = 'years' and $model.yearPageStart >= 9997):model.yearPageStart", "Reference `model.yearPageStart` must satisfy integer.") ? (((truthy(v[9]) || ((v[4] === "days") && (readMember(v[19], "nextMonth") === ""))) || ((v[4] === "months") && truthy(binaryValue(">", readMember(v[19], "month"), "9998-12")))) || ((v[4] === "years") && truthy(binaryValue(">=", readMember(v[19], "yearPageStart"), 9997)))) : NONCONFORMING);
|
|
363
|
+
if (x14 !== NONCONFORMING) {
|
|
364
|
+
const s14 = toAttribute(x14, "disabled");
|
|
365
|
+
if (s14 !== r.v14) writeAttribute(r.a6, "disabled", r.v14 = s14);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
if (c & 1073741872) {
|
|
369
|
+
const x15 = readIndex({ "true": null, "false": v[5] }, textCall("concat", [(v[4] === "days")]));
|
|
370
|
+
if (x15 !== NONCONFORMING) {
|
|
371
|
+
const s15 = toAttribute(x15, "height");
|
|
372
|
+
if (s15 !== r.v15) writeAttribute(r.a7, "height", r.v15 = s15);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
if (c & 16777216) {
|
|
376
|
+
const x16 = v[24];
|
|
377
|
+
const s18 = toAttribute(x16, "aria-readonly");
|
|
378
|
+
if (s18 !== r.v18) writeAttribute(r.a8, "aria-readonly", r.v18 = s18);
|
|
379
|
+
}
|
|
380
|
+
if (c & 33570816) {
|
|
381
|
+
const x17 = ((v[25] !== "") || (v[14] !== ""));
|
|
382
|
+
const s19 = toAttribute(x17, "aria-multiselectable");
|
|
383
|
+
if (s19 !== r.v19) writeAttribute(r.a8, "aria-multiselectable", r.v19 = s19);
|
|
384
|
+
}
|
|
385
|
+
if (c & 16) {
|
|
386
|
+
const x18 = (v[4] !== "days");
|
|
387
|
+
const s20 = toAttribute(x18, "hidden");
|
|
388
|
+
if (s20 !== r.v20) writeAttribute(r.a8, "hidden", r.v20 = s20);
|
|
389
|
+
}
|
|
390
|
+
if (c & 1074266128) {
|
|
391
|
+
const x19 = (checkReference(S, readDeclared(v[19], ["empty"]), "b", "expression:not $model.empty or $mode != 'days':model.empty", "Reference `model.empty` must satisfy boolean.") ? (!truthy(readMember(v[19], "empty")) || (v[4] !== "days")) : NONCONFORMING);
|
|
392
|
+
if (x19 !== NONCONFORMING) {
|
|
393
|
+
const s21 = toAttribute(x19, "hidden");
|
|
394
|
+
if (s21 !== r.v21) writeAttribute(r.a11, "hidden", r.v21 = s21);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (c & 8192) {
|
|
398
|
+
const x20 = v[13];
|
|
399
|
+
const s22 = toText(x20);
|
|
400
|
+
if (s22 !== r.v22) r.a12.data = r.v22 = s22;
|
|
401
|
+
}
|
|
402
|
+
if (c & 2097152) {
|
|
403
|
+
const x21 = v[21];
|
|
404
|
+
const s23 = toAttribute(x21, "aria-label");
|
|
405
|
+
if (s23 !== r.v23) writeAttribute(r.a13, "aria-label", r.v23 = s23);
|
|
406
|
+
}
|
|
407
|
+
if (c & 16) {
|
|
408
|
+
const x22 = (v[4] !== "months");
|
|
409
|
+
const s24 = toAttribute(x22, "hidden");
|
|
410
|
+
if (s24 !== r.v24) writeAttribute(r.a13, "hidden", r.v24 = s24);
|
|
411
|
+
const x23 = (v[4] !== "years");
|
|
412
|
+
const s25 = toAttribute(x23, "hidden");
|
|
413
|
+
if (s25 !== r.v25) writeAttribute(r.a15, "hidden", r.v25 = s25);
|
|
414
|
+
}
|
|
415
|
+
if (c & 536870912) {
|
|
416
|
+
const x24 = v[30];
|
|
417
|
+
const s26 = toAttribute(x24, "aria-label");
|
|
418
|
+
if (s26 !== r.v26) writeAttribute(r.a16, "aria-label", r.v26 = s26);
|
|
419
|
+
const s31 = toAttribute(x24, "aria-label");
|
|
420
|
+
if (s31 !== r.v31) writeAttribute(r.a19, "aria-label", r.v31 = s31);
|
|
421
|
+
}
|
|
422
|
+
if (c & 512) {
|
|
423
|
+
const x25 = v[9];
|
|
424
|
+
const s27 = toAttribute(x25, "disabled");
|
|
425
|
+
if (s27 !== r.v27) writeAttribute(r.a16, "disabled", r.v27 = s27);
|
|
426
|
+
}
|
|
427
|
+
if (c & 64) {
|
|
428
|
+
const x26 = (v[6] !== "");
|
|
429
|
+
const s28 = toAttribute(x26, "invalid");
|
|
430
|
+
if (s28 !== r.v28) writeAttribute(r.a16, "invalid", r.v28 = s28);
|
|
431
|
+
const x27 = (v[6] === "");
|
|
432
|
+
const s29 = toAttribute(x27, "hidden");
|
|
433
|
+
if (s29 !== r.v29) writeAttribute(r.a17, "hidden", r.v29 = s29);
|
|
434
|
+
const x28 = v[6];
|
|
435
|
+
const s30 = toText(x28);
|
|
436
|
+
if (s30 !== r.v30) r.a18.data = r.v30 = s30;
|
|
437
|
+
}
|
|
438
|
+
if (c & 1074266112) { const l = (checkReference(S, readDeclared(v[19], ["weekdays"]), ["l",["o",["day","i","label","s","fullLabel","s"]]], "expression:$model.weekdays:model.weekdays", "Reference `model.weekdays` must satisfy list(object({ day: integer, label: string, fullLabel: string })).") ? readMember(v[19], "weekdays") : NONCONFORMING); if (l !== NONCONFORMING) { r.L0.update(l, d, c); } }
|
|
439
|
+
if (c & 1074266112) { const l = (checkReference(S, readDeclared(v[19], ["rows"]), ["l",["l",["o",["value","s","day","i","outside","b","label","s","disabled","b","selected","b","today","b","rangeStart","b","rangeEnd","b","inRange","b","tabIndex","i"]]]], "expression:$model.rows:model.rows", "Reference `model.rows` must satisfy list(list(object({ value: string, day: integer, outside: boolean, label: string, disabled: boolean, selected: boolean, today: boolean, rangeStart: boolean, rangeEnd: boolean, inRange: boolean, tabIndex: integer }))).") ? readMember(v[19], "rows") : NONCONFORMING); if (l !== NONCONFORMING) { r.L1.update(l, d, c); } }
|
|
440
|
+
if (c !== -1 && c & 1107902976) r.L1.each(c, d);
|
|
441
|
+
if (c & 1074266112) { const l = (checkReference(S, readDeclared(v[19], ["monthRows"]), ["l",["l",["o",["value","s","label","s","fullLabel","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]], "expression:$model.monthRows:model.monthRows", "Reference `model.monthRows` must satisfy list(list(object({ value: string, label: string, fullLabel: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer }))).") ? readMember(v[19], "monthRows") : NONCONFORMING); if (l !== NONCONFORMING) { r.L2.update(l, d, c); } }
|
|
442
|
+
if (c !== -1 && c & 512) r.L2.each(c, d);
|
|
443
|
+
if (c & 1074266112) { const l = (checkReference(S, readDeclared(v[19], ["yearRows"]), ["l",["l",["o",["value","i","label","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]], "expression:$model.yearRows:model.yearRows", "Reference `model.yearRows` must satisfy list(list(object({ value: integer, label: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer }))).") ? readMember(v[19], "yearRows") : NONCONFORMING); if (l !== NONCONFORMING) { r.L3.update(l, d, c); } }
|
|
444
|
+
if (c !== -1 && c & 512) r.L3.each(c, d);
|
|
445
|
+
};
|
|
446
|
+
const t0 = element.firstChild.nextSibling;
|
|
447
|
+
const t1 = t0.firstChild;
|
|
448
|
+
const t2 = t1.firstChild;
|
|
449
|
+
const t3 = t2.nextSibling.nextSibling;
|
|
450
|
+
const t4 = t3.firstChild;
|
|
451
|
+
const t5 = t4.firstChild.firstChild;
|
|
452
|
+
const t6 = t4.nextSibling.nextSibling;
|
|
453
|
+
const t7 = t6.firstChild;
|
|
454
|
+
const t8 = t3.nextSibling.nextSibling;
|
|
455
|
+
const t9 = t1.nextSibling.nextSibling;
|
|
456
|
+
const t10 = t9.firstChild;
|
|
457
|
+
const t11 = t10.firstChild;
|
|
458
|
+
const t12 = t11.firstChild;
|
|
459
|
+
const t13 = t11.nextSibling.nextSibling;
|
|
460
|
+
const t14 = t10.nextSibling.nextSibling;
|
|
461
|
+
const t15 = t14.firstChild;
|
|
462
|
+
const t16 = t14.nextSibling.nextSibling;
|
|
463
|
+
const t17 = t16.firstChild;
|
|
464
|
+
const t18 = t16.nextSibling.nextSibling;
|
|
465
|
+
const t19 = t18.firstChild;
|
|
466
|
+
const t20 = t19.nextSibling.nextSibling;
|
|
467
|
+
const t21 = t20.firstChild;
|
|
468
|
+
const t22 = t20.nextSibling.nextSibling;
|
|
469
|
+
const t23 = t22.firstChild;
|
|
470
|
+
const R = { n: element, a1: t2, a2: t4, a3: t5, a4: t6, a5: t7, a6: t8, a7: t9, a8: t10, a11: t14, a12: t15, a13: t16, a15: t18, a16: t19, a17: t20, a18: t21, a19: t22, v0: undefined, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "", v8: null, v9: null, v10: null, v11: null, v12: "", v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: null, v22: "", v23: null, v24: null, v25: null, v26: null, v27: null, v28: null, v29: null, v30: "", v31: null, L0: new RangedKeyedList(t12, t12.nextSibling, m1, p1, (o) => readMember(o, "day"), "weekday"), L1: new RangedPositionalList(t13, t13.nextSibling, m2, p2, (o) => readMember(readIndex(o, 0), "value"), "row"), L2: new RangedKeyedList(t17, t17.nextSibling, m4, p4, (o) => readMember(readIndex(o, 0), "value"), "row"), L3: new RangedKeyedList(t23, t23.nextSibling, m6, p6, (o) => readMember(readIndex(o, 0), "value"), "row") };
|
|
471
|
+
const I = { B, U: E };
|
|
472
|
+
I.R = new Set();
|
|
473
|
+
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);
|
|
474
|
+
manageProps(I);
|
|
475
|
+
return element;
|
|
476
|
+
}
|
|
477
|
+
defineComponent("ui-calendar", createUiCalendar, ["allowedDates","allowedRanges","disabled","disabledDates","disabledRanges","disabledWeekdays","emptyLabel","end","label","locale","max","min","model","month","monthLabel","nextLabel","previousLabel","readonly","start","today","value","weekStartsOn","yearErrorLabel","yearLabel"]);
|
package/vanilla/UiCallout.d.ts
CHANGED
package/vanilla/UiCallout.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, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-callout.css";
|
|
4
4
|
|
package/vanilla/UiCard.d.ts
CHANGED
package/vanilla/UiCard.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, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-card.css";
|
|
4
4
|
|
package/vanilla/UiCardGroup.d.ts
CHANGED
package/vanilla/UiCardGroup.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, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-card-group.css";
|
|
4
4
|
|
package/vanilla/UiCheckbox.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 UiCheckboxEventMap {
|
|
3
3
|
change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiCheckbox.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, readsChanged, rec, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-checkbox/ui-checkbox.js";
|
|
4
4
|
import "../styles/ui-checkbox.css";
|
package/vanilla/UiCluster.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 UiClusterEventMap {
|
|
3
3
|
"overflow-change": CustomEvent<{ readonly count: number }>;
|
|
4
4
|
}
|
|
@@ -16,7 +16,7 @@ export interface UiClusterProps {
|
|
|
16
16
|
gap?: "xs" | "s" | "m" | "l" | "xl" | null;
|
|
17
17
|
justify?: "start" | "center" | "end" | "between" | null;
|
|
18
18
|
maxRows?: number | null;
|
|
19
|
-
padding?: "none" | "s" | "m" | "l" | null;
|
|
19
|
+
padding?: "none" | "xs" | "s" | "m" | "l" | null;
|
|
20
20
|
paddingEnd?: "none" | "s" | "m" | "l" | "xl" | null;
|
|
21
21
|
wrap?: "wrap" | "nowrap" | null;
|
|
22
22
|
attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
|
package/vanilla/UiCluster.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, checkFormat, checkInteger, checkObject, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-cluster/ui-cluster.js";
|
|
4
4
|
import "../styles/ui-cluster.css";
|
|
@@ -9,7 +9,7 @@ const T2 = ["",[]];
|
|
|
9
9
|
const T3 = ["",[]];
|
|
10
10
|
let P0, P1, P2, P3;
|
|
11
11
|
const S = { n: ["overflowCount"], t: ["i"], f: import.meta.url, g: "ui-cluster", d: { "overflow-change": [detailCheck(checkObject([["count", checkInteger, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [0] };
|
|
12
|
-
const D = { g: "ui-cluster", props: { "align": { "required":false,"values":["start","center","end","stretch","baseline"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "fixed": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "gap": { "required":false,"values":["xs","s","m","l","xl"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "justify": { "required":false,"values":["start","center","end","between"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "maxRows": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" }, "padding": { "required":false,"values":["none","s","m","l"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "paddingEnd": { "required":false,"values":["none","s","m","l","xl"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "wrap": { "required":false,"values":["wrap","nowrap"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
12
|
+
const D = { g: "ui-cluster", props: { "align": { "required":false,"values":["start","center","end","stretch","baseline"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "fixed": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "gap": { "required":false,"values":["xs","s","m","l","xl"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "justify": { "required":false,"values":["start","center","end","between"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "maxRows": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" }, "padding": { "required":false,"values":["none","xs","s","m","l"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "paddingEnd": { "required":false,"values":["none","s","m","l","xl"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "wrap": { "required":false,"values":["wrap","nowrap"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
13
13
|
const C = (host) => activateModule(controller, host);
|
|
14
14
|
|
|
15
15
|
export function createUiCluster(options = {}, html) {
|
|
@@ -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 UiColorPickerEventMap {
|
|
3
3
|
input: CustomEvent<{ readonly value: string }>;
|
|
4
4
|
change: CustomEvent<{ readonly value: string }>;
|
package/vanilla/UiColorPicker.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, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-color-picker/ui-color-picker.js";
|
|
4
4
|
import "../styles/ui-color-picker.css";
|