@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,418 @@
|
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, logicValue, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, truthyValue, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
|
+
import * as controller from "../components/ui-date-range-picker/ui-date-range-picker.js";
|
|
4
|
+
import "../styles/ui-date-range-picker.css";
|
|
5
|
+
|
|
6
|
+
const T0 = ["",[],"\n ",["ui-stack",["gap","s"],["ui-grid",["columns","2","gap","s"],2],"\n ",["ui-text",["data-range-error","","tone","danger","role","alert"],0]],"\n ",["input",["data-range-value","start","type","hidden"]],"\n ",["input",["data-range-value","end","type","hidden"]],"\n ",["ui-popover",["data-range-popover","","trigger","manual","size","sm","role","dialog"],["ui-stack",["gap","s"],["ui-calendar",["data-range-calendar",""]],"\n ",["ui-text",["data-range-popup-error","","tone","danger","role","alert"],0]]],"\n "];
|
|
7
|
+
const T1 = ["",[],"\n ",["ui-form-field",[],["ui-text",["slot","label","as","label","variant","label"],0],["ui-input-group",[],["ui-date-field",[]],["ui-icon-button",["slot","action","variant","ghost","aria-haspopup","dialog"],["ui-icon",["name","calendar"]]]]],"\n "];
|
|
8
|
+
let P0, P1;
|
|
9
|
+
const E = new Map();
|
|
10
|
+
const S = { n: ["current","draft","selection","preview","anchor","mode","popupValue","enhanced","opened","idPrefix","activeAnchor","blocked","error"], t: [["o",["start","s","end","s"]],["o",["start","s","end","s"]],["o",["start","s","end","s"]],["o",["start","s","end","s"]],"s","s","s","b","b","s","s","b","s"], f: import.meta.url, g: "ui-date-range-picker", d: { "input": [detailCheck(checkObject([["value", checkObject([["start", checkString, false], ["end", checkString, false]], false), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkObject([["start", checkString, false], ["end", checkString, false]], false), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "query-change": [detailCheck(checkObject([["endpoint", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["start","end"]}), false], ["query", checkString, false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["invalid", checkBoolean, false], ["message", checkString, false], ["endpoint", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["start","end"]}), true]], 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, a: (host, I) => C(host, I), b: generatedInputs, i: [null, null, { "start": "", "end": "" }, { "start": "", "end": "" }, "", "range", "", false, false, "", "", false, ""] };
|
|
11
|
+
const D = { g: "ui-date-range-picker", props: { "allowUnavailableWithinRange": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "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"] }, "displayOptions": { "required":false, c: checkObject([["dateStyle", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["full","long","medium","short"]}), true], ["weekday", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["long","short","narrow"]}), true], ["year", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["numeric","2-digit"]}), true], ["month", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["numeric","2-digit","long","short","narrow"]}), true], ["day", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["numeric","2-digit"]}), true], ["era", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["long","short","narrow"]}), true], ["numberingSystem", checkString, true], ["localeMatcher", checkConstrained(checkString, "string", {"values":["lookup","best fit"]}), true], ["formatMatcher", checkConstrained(checkString, "string", {"values":["basic","best fit"]}), true]], false), j: 1, m: ["o",["dateStyle",["p",formatOf(keywordFormat)],"weekday",["p",formatOf(keywordFormat)],"year",["p",formatOf(keywordFormat)],"month",["p",formatOf(keywordFormat)],"day",["p",formatOf(keywordFormat)],"era",["p",formatOf(keywordFormat)],"numberingSystem","s","localeMatcher","s","formatMatcher","s"]] }, "endInputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "endLabel": { "required":false,"default":"End date", c: checkString, t: "string", j: 0, m: "s" }, "endName": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "form": { "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":"Date range", 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([["startRanges", checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), false], ["endRanges", checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), false], ["calendarRanges", checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), false], ["weekStartsOn", checkInteger, false]], false), j: 1, m: ["o",["startRanges",["l",["o",["start","s","end","s"]]],"endRanges",["l",["o",["start","s","end","s"]]],"calendarRanges",["l",["o",["start","s","end","s"]]],"weekStartsOn","i"]] }, "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" }, "pickerLabel": { "required":false,"default":"Choose date range", 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" }, "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)] }, "startInputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "startLabel": { "required":false,"default":"Start date", c: checkString, t: "string", j: 0, m: "s" }, "startName": { "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":{"start":"","end":""}, c: checkObject([["start", checkString, false], ["end", checkString, false]], false), j: 1, m: ["o",["start","s","end","s"]] }, "weekStartsOn": { "required":false,"min":1,"max":7, c: checkInteger, t: "integer", j: 0, m: "i", k: boundFailures }, "yearLabel": { "required":false,"default":"Choose year", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
12
|
+
const C = (host) => activateModule(controller, host);
|
|
13
|
+
|
|
14
|
+
export function createUiDateRangePicker(options = {}, html) {
|
|
15
|
+
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
16
|
+
const element = document.createElement("span");
|
|
17
|
+
for (const [name, value] of Object.entries(attributes)) {
|
|
18
|
+
if (value === null || value === undefined || value === false) continue;
|
|
19
|
+
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
|
+
}
|
|
21
|
+
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
22
|
+
element.setAttribute("data-component", "ui-date-range-picker");
|
|
23
|
+
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
|
+
const v = [null, null, { "start": "", "end": "" }, { "start": "", "end": "" }, "", "range", "", false, false, "", "", false, "", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
25
|
+
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
26
|
+
const CS = [];
|
|
27
|
+
const inputStatus = (j) => { if (j === 0) return E.status(j); if (j === 1) return E.status(j); if (j === 13) return awaitInput(B, "allowUnavailableWithinRange", true); if (j === 14) return awaitInput(B, "allowedDates", true); if (j === 15) return awaitInput(B, "allowedRanges", true); if (j === 16) return awaitInput(B, "disabled", true); if (j === 17) return awaitInput(B, "disabledDates", true); if (j === 18) return awaitInput(B, "disabledRanges", true); if (j === 19) return awaitInput(B, "disabledWeekdays", true); if (j === 20) return awaitInput(B, "displayOptions", true); if (j === 21) return awaitInput(B, "endInputId", true); if (j === 22) return awaitInput(B, "endLabel", true); if (j === 23) return awaitInput(B, "endName", true); if (j === 24) return awaitInput(B, "form", true); if (j === 25) return awaitInput(B, "invalid", true); if (j === 26) return awaitInput(B, "label", true); if (j === 27) return awaitInput(B, "locale", true); if (j === 28) return awaitInput(B, "max", true); if (j === 29) return awaitInput(B, "min", true); if (j === 30) return awaitInput(B, "model", true); if (j === 31) return awaitInput(B, "monthLabel", true); if (j === 32) return awaitInput(B, "nextLabel", true); if (j === 33) return awaitInput(B, "pickerLabel", true); if (j === 34) return awaitInput(B, "previousLabel", true); if (j === 35) return awaitInput(B, "readonly", true); if (j === 36) return awaitInput(B, "required", true); if (j === 37) return awaitInput(B, "size", true); if (j === 38) return awaitInput(B, "startInputId", true); if (j === 39) return awaitInput(B, "startLabel", true); if (j === 40) return awaitInput(B, "startName", true); if (j === 41) return awaitInput(B, "today", true); if (j === 42) return awaitInput(B, "value", true); if (j === 43) return awaitInput(B, "weekStartsOn", true); if (j === 44) return awaitInput(B, "yearLabel", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
|
|
28
|
+
const X = { e: 0, g: (j) => v[j], w: new Set(), a: CS, i: inputStatus };
|
|
29
|
+
const E = stateInitializers(S, v, X, { 0: () => inputRead(v[42], inputStatus(42)), 1: () => inputRead(v[42], inputStatus(42)) });
|
|
30
|
+
const m1 = (o, j, l) => {
|
|
31
|
+
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
32
|
+
const t0 = n.firstChild.nextSibling;
|
|
33
|
+
const t1 = t0.firstChild;
|
|
34
|
+
const t2 = t1.firstChild;
|
|
35
|
+
const t3 = t1.nextSibling;
|
|
36
|
+
const t4 = t3.firstChild;
|
|
37
|
+
const t5 = t4.nextSibling;
|
|
38
|
+
const s = document.createComment("html-next:item-start"), t = document.createComment("html-next:item-end");
|
|
39
|
+
n.prepend(s);
|
|
40
|
+
n.append(t);
|
|
41
|
+
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, a3: t3, a4: t4, a5: t5, w: 0, v0: null, v1: null, v2: null, v3: null, v4: "", 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: null, v27: null, v28: null, v29: null, v30: null, v31: null };
|
|
42
|
+
p1(r, -1, E);
|
|
43
|
+
return r;
|
|
44
|
+
};
|
|
45
|
+
const p1 = (r, c, d) => {
|
|
46
|
+
const o = r.i;
|
|
47
|
+
if (c & 1073741824) r.w = 0;
|
|
48
|
+
if (c & 65536) {
|
|
49
|
+
const x0 = v[16];
|
|
50
|
+
const s0 = toAttribute(x0, "disabled");
|
|
51
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "disabled", r.v0 = s0);
|
|
52
|
+
const s5 = toAttribute(x0, "disabled");
|
|
53
|
+
if (s5 !== r.v5) writeAttribute(r.a3, "disabled", r.v5 = s5);
|
|
54
|
+
}
|
|
55
|
+
if (c & 1610612738) {
|
|
56
|
+
const x1 = (checkReference(S, readDeclared(v[1], ["end"]), "s", "expression:$required or $draft.start != '' or $draft.end != '':draft.end", "Reference `draft.end` must satisfy string.") && checkReference(S, readDeclared(v[1], ["start"]), "s", "expression:$required or $draft.start != '' or $draft.end != '':draft.start", "Reference `draft.start` must satisfy string.") ? ((truthy(v[36]) || (readMember(E.read(1), "start") !== "")) || (readMember(E.read(1), "end") !== "")) : NONCONFORMING);
|
|
57
|
+
if (x1 !== NONCONFORMING) {
|
|
58
|
+
const s1 = toAttribute(x1, "required");
|
|
59
|
+
if (s1 !== r.v1) writeAttribute(r.a0, "required", r.v1 = s1);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
if (c & 33554432) {
|
|
63
|
+
const x2 = v[25];
|
|
64
|
+
const s2 = toAttribute(x2, "invalid");
|
|
65
|
+
if (s2 !== r.v2) writeAttribute(r.a0, "invalid", r.v2 = s2);
|
|
66
|
+
}
|
|
67
|
+
if (c & 1612709888) {
|
|
68
|
+
const x3 = trackContainer(r, readIndex({ "start": v[38], "end": v[21] }, o));
|
|
69
|
+
const s3 = toAttribute(x3, "for");
|
|
70
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "for", r.v3 = s3);
|
|
71
|
+
}
|
|
72
|
+
if (c & 1614807040) {
|
|
73
|
+
const x4 = trackContainer(r, readIndex({ "start": v[39], "end": v[22] }, o));
|
|
74
|
+
const s4 = toText(x4);
|
|
75
|
+
if (s4 !== r.v4) r.a2.data = r.v4 = s4;
|
|
76
|
+
}
|
|
77
|
+
if (c & 1073741824) {
|
|
78
|
+
const x5 = trackContainer(r, o);
|
|
79
|
+
const s6 = toAttribute(x5, "data-range-field");
|
|
80
|
+
if (s6 !== r.v6) writeAttribute(r.a4, "data-range-field", r.v6 = s6);
|
|
81
|
+
const s25 = toAttribute(x5, "data-range-trigger");
|
|
82
|
+
if (s25 !== r.v25) writeAttribute(r.a5, "data-range-trigger", r.v25 = s25);
|
|
83
|
+
}
|
|
84
|
+
if (c & 1073741826) {
|
|
85
|
+
const x6 = trackContainer(r, (checkReference(S, v[1], ["o",["start","s","end","s"]], "expression:$draft[$endpoint]:draft", "Reference `draft` must satisfy object({ start: string, end: string }).") ? readIndex(E.read(1), o) : NONCONFORMING));
|
|
86
|
+
if (x6 !== NONCONFORMING) {
|
|
87
|
+
const s7 = toAttribute(x6, "value");
|
|
88
|
+
if (s7 !== r.v7) writeAttribute(r.a4, "value", r.v7 = s7);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
if (c & 1614807040) {
|
|
92
|
+
const x7 = trackContainer(r, readIndex({ "start": v[39], "end": v[22] }, o));
|
|
93
|
+
const s8 = toAttribute(x7, "label");
|
|
94
|
+
if (s8 !== r.v8) writeAttribute(r.a4, "label", r.v8 = s8);
|
|
95
|
+
}
|
|
96
|
+
if (c & 1612709888) {
|
|
97
|
+
const x8 = trackContainer(r, readIndex({ "start": v[38], "end": v[21] }, o));
|
|
98
|
+
const s9 = toAttribute(x8, "input-id");
|
|
99
|
+
if (s9 !== r.v9) writeAttribute(r.a4, "input-id", r.v9 = s9);
|
|
100
|
+
}
|
|
101
|
+
if (c & 1619001472) {
|
|
102
|
+
const x9 = trackContainer(r, readIndex({ "true": "", "false": readIndex({ "start": v[40], "end": v[23] }, o) }, textCall("concat", [v[7]])));
|
|
103
|
+
if (x9 !== NONCONFORMING) {
|
|
104
|
+
const s10 = toAttribute(x9, "name");
|
|
105
|
+
if (s10 !== r.v10) writeAttribute(r.a4, "name", r.v10 = s10);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (c & 16777216) {
|
|
109
|
+
const x10 = v[24];
|
|
110
|
+
const s11 = toAttribute(x10, "form");
|
|
111
|
+
if (s11 !== r.v11) writeAttribute(r.a4, "form", r.v11 = s11);
|
|
112
|
+
}
|
|
113
|
+
if (c & 134217728) {
|
|
114
|
+
const x11 = v[27];
|
|
115
|
+
const s12 = toAttribute(x11, "locale");
|
|
116
|
+
if (s12 !== r.v12) writeAttribute(r.a4, "locale", r.v12 = s12);
|
|
117
|
+
}
|
|
118
|
+
if (c & 1074790400) {
|
|
119
|
+
const x12 = v[20];
|
|
120
|
+
const s13 = toAttribute(x12, "display-options");
|
|
121
|
+
if (s13 !== r.v13) writeAttribute(r.a4, "display-options", r.v13 = s13);
|
|
122
|
+
}
|
|
123
|
+
if (c & 1610612736) {
|
|
124
|
+
const x13 = v[37];
|
|
125
|
+
const s14 = toAttribute(x13, "size");
|
|
126
|
+
if (s14 !== r.v14) writeAttribute(r.a4, "size", r.v14 = s14);
|
|
127
|
+
}
|
|
128
|
+
if (c & 536870912) {
|
|
129
|
+
const x14 = v[29];
|
|
130
|
+
const s15 = toAttribute(x14, "min");
|
|
131
|
+
if (s15 !== r.v15) writeAttribute(r.a4, "min", r.v15 = s15);
|
|
132
|
+
}
|
|
133
|
+
if (c & 268435456) {
|
|
134
|
+
const x15 = v[28];
|
|
135
|
+
const s16 = toAttribute(x15, "max");
|
|
136
|
+
if (s16 !== r.v16) writeAttribute(r.a4, "max", r.v16 = s16);
|
|
137
|
+
}
|
|
138
|
+
if (c & 1610612736) {
|
|
139
|
+
const x16 = trackContainer(r, (checkReference(S, readDeclared(v[30], ["endRanges"]), ["l",["o",["start","s","end","s"]]], "expression:{ start: $model.startRanges, end: $model.endRanges }[$endpoint]:model.endRanges", "Reference `model.endRanges` must satisfy list(object({ start: string, end: string })).") && checkReference(S, readDeclared(v[30], ["startRanges"]), ["l",["o",["start","s","end","s"]]], "expression:{ start: $model.startRanges, end: $model.endRanges }[$endpoint]:model.startRanges", "Reference `model.startRanges` must satisfy list(object({ start: string, end: string })).") ? readIndex({ "start": readMember(v[30], "startRanges"), "end": readMember(v[30], "endRanges") }, o) : NONCONFORMING));
|
|
140
|
+
if (x16 !== NONCONFORMING) {
|
|
141
|
+
const s17 = toAttribute(x16, "allowed-ranges");
|
|
142
|
+
if (s17 !== r.v17) writeAttribute(r.a4, "allowed-ranges", r.v17 = s17);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
if (c & 1073872896) {
|
|
146
|
+
const x17 = v[17];
|
|
147
|
+
const s18 = toAttribute(x17, "disabled-dates");
|
|
148
|
+
if (s18 !== r.v18) writeAttribute(r.a4, "disabled-dates", r.v18 = s18);
|
|
149
|
+
}
|
|
150
|
+
if (c & 1074003968) {
|
|
151
|
+
const x18 = v[18];
|
|
152
|
+
const s19 = toAttribute(x18, "disabled-ranges");
|
|
153
|
+
if (s19 !== r.v19) writeAttribute(r.a4, "disabled-ranges", r.v19 = s19);
|
|
154
|
+
}
|
|
155
|
+
if (c & 1074266112) {
|
|
156
|
+
const x19 = v[19];
|
|
157
|
+
const s20 = toAttribute(x19, "disabled-weekdays");
|
|
158
|
+
if (s20 !== r.v20) writeAttribute(r.a4, "disabled-weekdays", r.v20 = s20);
|
|
159
|
+
}
|
|
160
|
+
if (c & 65536) {
|
|
161
|
+
const x20 = v[16];
|
|
162
|
+
const s21 = toAttribute(x20, "disabled");
|
|
163
|
+
if (s21 !== r.v21) writeAttribute(r.a4, "disabled", r.v21 = s21);
|
|
164
|
+
}
|
|
165
|
+
if (c & 536870912) {
|
|
166
|
+
const x21 = v[35];
|
|
167
|
+
const s22 = toAttribute(x21, "readonly");
|
|
168
|
+
if (s22 !== r.v22) writeAttribute(r.a4, "readonly", r.v22 = s22);
|
|
169
|
+
}
|
|
170
|
+
if (c & 1610612738) {
|
|
171
|
+
const x22 = (checkReference(S, readDeclared(v[1], ["end"]), "s", "expression:$required or $draft.start != '' or $draft.end != '':draft.end", "Reference `draft.end` must satisfy string.") && checkReference(S, readDeclared(v[1], ["start"]), "s", "expression:$required or $draft.start != '' or $draft.end != '':draft.start", "Reference `draft.start` must satisfy string.") ? ((truthy(v[36]) || (readMember(E.read(1), "start") !== "")) || (readMember(E.read(1), "end") !== "")) : NONCONFORMING);
|
|
172
|
+
if (x22 !== NONCONFORMING) {
|
|
173
|
+
const s23 = toAttribute(x22, "required");
|
|
174
|
+
if (s23 !== r.v23) writeAttribute(r.a4, "required", r.v23 = s23);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (c & 33554432) {
|
|
178
|
+
const x23 = v[25];
|
|
179
|
+
const s24 = toAttribute(x23, "invalid");
|
|
180
|
+
if (s24 !== r.v24) writeAttribute(r.a4, "invalid", r.v24 = s24);
|
|
181
|
+
}
|
|
182
|
+
if (c & 1073742336) {
|
|
183
|
+
const x24 = trackContainer(r, readIndex(recordValue(["true","false"], [textCall("concat", [v[9], "-", trackContainer(r, o)]), null]), textCall("concat", [(v[9] !== "")])));
|
|
184
|
+
if (x24 !== NONCONFORMING) {
|
|
185
|
+
const s26 = toAttribute(x24, "id");
|
|
186
|
+
if (s26 !== r.v26) writeAttribute(r.a5, "id", r.v26 = s26);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
if (c & 1614807040) {
|
|
190
|
+
const x25 = textCall("concat", [v[33], ": ", trackContainer(r, readIndex({ "start": v[39], "end": v[22] }, o))]);
|
|
191
|
+
if (x25 !== NONCONFORMING) {
|
|
192
|
+
const s27 = toAttribute(x25, "label");
|
|
193
|
+
if (s27 !== r.v27) writeAttribute(r.a5, "label", r.v27 = s27);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
if (c & 128) {
|
|
197
|
+
const x26 = !v[7];
|
|
198
|
+
const s28 = toAttribute(x26, "hidden");
|
|
199
|
+
if (s28 !== r.v28) writeAttribute(r.a5, "hidden", r.v28 = s28);
|
|
200
|
+
}
|
|
201
|
+
if (c & 1610612736) {
|
|
202
|
+
const x27 = v[37];
|
|
203
|
+
const s29 = toAttribute(x27, "size");
|
|
204
|
+
if (s29 !== r.v29) writeAttribute(r.a5, "size", r.v29 = s29);
|
|
205
|
+
}
|
|
206
|
+
if (c & 536938496) {
|
|
207
|
+
const x28 = ((truthy(v[16]) || truthy(v[35])) || v[11]);
|
|
208
|
+
const s30 = toAttribute(x28, "disabled");
|
|
209
|
+
if (s30 !== r.v30) writeAttribute(r.a5, "disabled", r.v30 = s30);
|
|
210
|
+
}
|
|
211
|
+
if (c & 1073743616) {
|
|
212
|
+
const x29 = logicValue(true, v[8], truthyValue(binaryValue("=", v[10], textCall("concat", [v[9], "-", trackContainer(r, o)]))));
|
|
213
|
+
if (x29 !== NONCONFORMING) {
|
|
214
|
+
const s31 = toAttribute(x29, "aria-expanded");
|
|
215
|
+
if (s31 !== r.v31) writeAttribute(r.a5, "aria-expanded", r.v31 = s31);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
const p0 = (r, c, d) => {
|
|
220
|
+
if (c & 67108864) {
|
|
221
|
+
const x0 = v[26];
|
|
222
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
223
|
+
if (s0 !== r.v0) writeAttribute(r.n, "aria-label", r.v0 = s0);
|
|
224
|
+
}
|
|
225
|
+
if (c & 4352) {
|
|
226
|
+
const x1 = ((v[12] === "") || v[8]);
|
|
227
|
+
const s1 = toAttribute(x1, "hidden");
|
|
228
|
+
if (s1 !== r.v1) writeAttribute(r.a2, "hidden", r.v1 = s1);
|
|
229
|
+
}
|
|
230
|
+
if (c & 4096) {
|
|
231
|
+
const x2 = v[12];
|
|
232
|
+
const s2 = toText(x2);
|
|
233
|
+
if (s2 !== r.v2) r.a3.data = r.v2 = s2;
|
|
234
|
+
const x3 = (v[12] === "");
|
|
235
|
+
const s32 = toAttribute(x3, "hidden");
|
|
236
|
+
if (s32 !== r.v32) writeAttribute(r.a8, "hidden", r.v32 = s32);
|
|
237
|
+
const s33 = toText(x2);
|
|
238
|
+
if (s33 !== r.v33) r.a9.data = r.v33 = s33;
|
|
239
|
+
}
|
|
240
|
+
if (c & 536870912) {
|
|
241
|
+
const x4 = v[40];
|
|
242
|
+
const s3 = toAttribute(x4, "name");
|
|
243
|
+
if (s3 !== r.v3) writeAttribute(r.a4, "name", r.v3 = s3);
|
|
244
|
+
}
|
|
245
|
+
if (c & 1090519040) {
|
|
246
|
+
const x5 = readIndex({ "true": v[24], "false": null }, textCall("concat", [(v[24] !== "")]));
|
|
247
|
+
if (x5 !== NONCONFORMING) {
|
|
248
|
+
const s4 = toAttribute(x5, "form");
|
|
249
|
+
if (s4 !== r.v4) writeAttribute(r.a4, "form", r.v4 = s4);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
if (c & 1073741825) {
|
|
253
|
+
const x6 = (checkReference(S, readDeclared(v[0], ["start"]), "s", "expression:$current.start:current.start", "Reference `current.start` must satisfy string.") ? readMember(E.read(0), "start") : NONCONFORMING);
|
|
254
|
+
if (x6 !== NONCONFORMING) {
|
|
255
|
+
const s5 = toAttribute(x6, "value");
|
|
256
|
+
if (s5 !== r.v5) writeAttribute(r.a4, "value", r.v5 = s5);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
if (c & 65664) {
|
|
260
|
+
const x7 = (!v[7] || truthy(v[16]));
|
|
261
|
+
const s6 = toAttribute(x7, "disabled");
|
|
262
|
+
if (s6 !== r.v6) writeAttribute(r.a4, "disabled", r.v6 = s6);
|
|
263
|
+
}
|
|
264
|
+
if (c & 8388608) {
|
|
265
|
+
const x8 = v[23];
|
|
266
|
+
const s7 = toAttribute(x8, "name");
|
|
267
|
+
if (s7 !== r.v7) writeAttribute(r.a5, "name", r.v7 = s7);
|
|
268
|
+
}
|
|
269
|
+
if (c & 1090519040) {
|
|
270
|
+
const x9 = readIndex({ "true": v[24], "false": null }, textCall("concat", [(v[24] !== "")]));
|
|
271
|
+
if (x9 !== NONCONFORMING) {
|
|
272
|
+
const s8 = toAttribute(x9, "form");
|
|
273
|
+
if (s8 !== r.v8) writeAttribute(r.a5, "form", r.v8 = s8);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
if (c & 1073741825) {
|
|
277
|
+
const x10 = (checkReference(S, readDeclared(v[0], ["end"]), "s", "expression:$current.end:current.end", "Reference `current.end` must satisfy string.") ? readMember(E.read(0), "end") : NONCONFORMING);
|
|
278
|
+
if (x10 !== NONCONFORMING) {
|
|
279
|
+
const s9 = toAttribute(x10, "value");
|
|
280
|
+
if (s9 !== r.v9) writeAttribute(r.a5, "value", r.v9 = s9);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
if (c & 65664) {
|
|
284
|
+
const x11 = (!v[7] || truthy(v[16]));
|
|
285
|
+
const s10 = toAttribute(x11, "disabled");
|
|
286
|
+
if (s10 !== r.v10) writeAttribute(r.a5, "disabled", r.v10 = s10);
|
|
287
|
+
}
|
|
288
|
+
if (c & 1024) {
|
|
289
|
+
const x12 = v[10];
|
|
290
|
+
const s11 = toAttribute(x12, "for");
|
|
291
|
+
if (s11 !== r.v11) writeAttribute(r.a6, "for", r.v11 = s11);
|
|
292
|
+
}
|
|
293
|
+
if (c & 256) {
|
|
294
|
+
const x13 = v[8];
|
|
295
|
+
const s12 = toAttribute(x13, "open");
|
|
296
|
+
if (s12 !== r.v12) writeAttribute(r.a6, "open", r.v12 = s12);
|
|
297
|
+
}
|
|
298
|
+
if (c & 536870912) {
|
|
299
|
+
const x14 = v[33];
|
|
300
|
+
const s13 = toAttribute(x14, "aria-label");
|
|
301
|
+
if (s13 !== r.v13) writeAttribute(r.a6, "aria-label", r.v13 = s13);
|
|
302
|
+
}
|
|
303
|
+
if (c & 1073742145) {
|
|
304
|
+
const x15 = (checkReference(S, readDeclared(v[0], ["start"]), "s", "expression:{ true: $popupValue, false: $current.start }[concat($opened)]:current.start", "Reference `current.start` must satisfy string.") ? readIndex({ "true": v[6], "false": readMember(E.read(0), "start") }, textCall("concat", [v[8]])) : NONCONFORMING);
|
|
305
|
+
if (x15 !== NONCONFORMING) {
|
|
306
|
+
const s14 = toAttribute(x15, "value");
|
|
307
|
+
if (s14 !== r.v14) writeAttribute(r.a7, "value", r.v14 = s14);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
if (c & 1073742089) {
|
|
311
|
+
const x16 = (checkReference(S, readDeclared(v[0], ["start"]), "s", "expression:{ true: $preview.start, false: $current.start }[concat($opened)]:current.start", "Reference `current.start` must satisfy string.") && checkReference(S, readDeclared(v[3], ["start"]), "s", "expression:{ true: $preview.start, false: $current.start }[concat($opened)]:preview.start", "Reference `preview.start` must satisfy string.") ? readIndex({ "true": readMember(v[3], "start"), "false": readMember(E.read(0), "start") }, textCall("concat", [v[8]])) : NONCONFORMING);
|
|
312
|
+
if (x16 !== NONCONFORMING) {
|
|
313
|
+
const s15 = toAttribute(x16, "start");
|
|
314
|
+
if (s15 !== r.v15) writeAttribute(r.a7, "start", r.v15 = s15);
|
|
315
|
+
}
|
|
316
|
+
const x17 = (checkReference(S, readDeclared(v[0], ["end"]), "s", "expression:{ true: $preview.end, false: $current.end }[concat($opened)]:current.end", "Reference `current.end` must satisfy string.") && checkReference(S, readDeclared(v[3], ["end"]), "s", "expression:{ true: $preview.end, false: $current.end }[concat($opened)]:preview.end", "Reference `preview.end` must satisfy string.") ? readIndex({ "true": readMember(v[3], "end"), "false": readMember(E.read(0), "end") }, textCall("concat", [v[8]])) : NONCONFORMING);
|
|
317
|
+
if (x17 !== NONCONFORMING) {
|
|
318
|
+
const s16 = toAttribute(x17, "end");
|
|
319
|
+
if (s16 !== r.v16) writeAttribute(r.a7, "end", r.v16 = s16);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
if (c & 1610612736) {
|
|
323
|
+
const x18 = (checkReference(S, readDeclared(v[30], ["calendarRanges"]), ["l",["o",["start","s","end","s"]]], "expression:$model.calendarRanges:model.calendarRanges", "Reference `model.calendarRanges` must satisfy list(object({ start: string, end: string })).") ? readMember(v[30], "calendarRanges") : NONCONFORMING);
|
|
324
|
+
if (x18 !== NONCONFORMING) {
|
|
325
|
+
const s17 = toAttribute(x18, "allowed-ranges");
|
|
326
|
+
if (s17 !== r.v17) writeAttribute(r.a7, "allowed-ranges", r.v17 = s17);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
if (c & 536870912) {
|
|
330
|
+
const x19 = v[29];
|
|
331
|
+
const s18 = toAttribute(x19, "min");
|
|
332
|
+
if (s18 !== r.v18) writeAttribute(r.a7, "min", r.v18 = s18);
|
|
333
|
+
}
|
|
334
|
+
if (c & 268435456) {
|
|
335
|
+
const x20 = v[28];
|
|
336
|
+
const s19 = toAttribute(x20, "max");
|
|
337
|
+
if (s19 !== r.v19) writeAttribute(r.a7, "max", r.v19 = s19);
|
|
338
|
+
}
|
|
339
|
+
if (c & 1073872896) {
|
|
340
|
+
const x21 = v[17];
|
|
341
|
+
const s20 = toAttribute(x21, "disabled-dates");
|
|
342
|
+
if (s20 !== r.v20) writeAttribute(r.a7, "disabled-dates", r.v20 = s20);
|
|
343
|
+
}
|
|
344
|
+
if (c & 1074003968) {
|
|
345
|
+
const x22 = v[18];
|
|
346
|
+
const s21 = toAttribute(x22, "disabled-ranges");
|
|
347
|
+
if (s21 !== r.v21) writeAttribute(r.a7, "disabled-ranges", r.v21 = s21);
|
|
348
|
+
}
|
|
349
|
+
if (c & 1074266112) {
|
|
350
|
+
const x23 = v[19];
|
|
351
|
+
const s22 = toAttribute(x23, "disabled-weekdays");
|
|
352
|
+
if (s22 !== r.v22) writeAttribute(r.a7, "disabled-weekdays", r.v22 = s22);
|
|
353
|
+
}
|
|
354
|
+
if (c & 1610612736) {
|
|
355
|
+
const x24 = (checkReference(S, readDeclared(v[30], ["weekStartsOn"]), "i", "expression:$model.weekStartsOn:model.weekStartsOn", "Reference `model.weekStartsOn` must satisfy integer.") ? readMember(v[30], "weekStartsOn") : NONCONFORMING);
|
|
356
|
+
if (x24 !== NONCONFORMING) {
|
|
357
|
+
const s23 = toAttribute(x24, "week-starts-on");
|
|
358
|
+
if (s23 !== r.v23) writeAttribute(r.a7, "week-starts-on", r.v23 = s23);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
if (c & 134217728) {
|
|
362
|
+
const x25 = v[27];
|
|
363
|
+
const s24 = toAttribute(x25, "locale");
|
|
364
|
+
if (s24 !== r.v24) writeAttribute(r.a7, "locale", r.v24 = s24);
|
|
365
|
+
}
|
|
366
|
+
if (c & 536870912) {
|
|
367
|
+
const x26 = v[41];
|
|
368
|
+
const s25 = toAttribute(x26, "today");
|
|
369
|
+
if (s25 !== r.v25) writeAttribute(r.a7, "today", r.v25 = s25);
|
|
370
|
+
const x27 = v[33];
|
|
371
|
+
const s26 = toAttribute(x27, "label");
|
|
372
|
+
if (s26 !== r.v26) writeAttribute(r.a7, "label", r.v26 = s26);
|
|
373
|
+
const x28 = v[31];
|
|
374
|
+
const s27 = toAttribute(x28, "month-label");
|
|
375
|
+
if (s27 !== r.v27) writeAttribute(r.a7, "month-label", r.v27 = s27);
|
|
376
|
+
const x29 = v[44];
|
|
377
|
+
const s28 = toAttribute(x29, "year-label");
|
|
378
|
+
if (s28 !== r.v28) writeAttribute(r.a7, "year-label", r.v28 = s28);
|
|
379
|
+
const x30 = v[34];
|
|
380
|
+
const s29 = toAttribute(x30, "previous-label");
|
|
381
|
+
if (s29 !== r.v29) writeAttribute(r.a7, "previous-label", r.v29 = s29);
|
|
382
|
+
const x31 = v[32];
|
|
383
|
+
const s30 = toAttribute(x31, "next-label");
|
|
384
|
+
if (s30 !== r.v30) writeAttribute(r.a7, "next-label", r.v30 = s30);
|
|
385
|
+
}
|
|
386
|
+
if (c & 536936704) {
|
|
387
|
+
const x32 = ((!v[8] || truthy(v[16])) || truthy(v[35]));
|
|
388
|
+
const s31 = toAttribute(x32, "disabled");
|
|
389
|
+
if (s31 !== r.v31) writeAttribute(r.a7, "disabled", r.v31 = s31);
|
|
390
|
+
}
|
|
391
|
+
if (c & 128) {
|
|
392
|
+
const x33 = hostState(["enhanced"], [v[7]]);
|
|
393
|
+
const s34 = x33;
|
|
394
|
+
if (s34 !== r.v34) writeAttribute(r.n, "data-ui-date-range-picker-state", (r.v34 = s34) === "" ? null : s34);
|
|
395
|
+
}
|
|
396
|
+
if (c & 1073741824) r.L0.update(["start", "end"], d, c);
|
|
397
|
+
if (c !== -1 && c & 2080313218) r.L0.each(c, d);
|
|
398
|
+
};
|
|
399
|
+
const t0 = element.firstChild.nextSibling;
|
|
400
|
+
const t1 = t0.firstChild;
|
|
401
|
+
const t2 = t1.firstChild;
|
|
402
|
+
const t3 = t1.nextSibling.nextSibling;
|
|
403
|
+
const t4 = t3.firstChild;
|
|
404
|
+
const t5 = t0.nextSibling.nextSibling;
|
|
405
|
+
const t6 = t5.nextSibling.nextSibling;
|
|
406
|
+
const t7 = t6.nextSibling.nextSibling;
|
|
407
|
+
const t8 = t7.firstChild;
|
|
408
|
+
const t9 = t8.firstChild;
|
|
409
|
+
const t10 = t9.nextSibling.nextSibling;
|
|
410
|
+
const t11 = t10.firstChild;
|
|
411
|
+
const R = { n: element, a2: t3, a3: t4, a4: t5, a5: t6, a6: t7, a7: t9, a8: t10, a9: t11, v0: undefined, v1: null, v2: "", 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: null, v27: null, v28: null, v29: null, v30: null, v31: null, v32: null, v33: "", v34: undefined, L0: new RangedKeyedList(t2, t2.nextSibling, m1, p1, (o) => o, "endpoint") };
|
|
412
|
+
const I = { B, U: E };
|
|
413
|
+
I.R = new Set();
|
|
414
|
+
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);
|
|
415
|
+
manageProps(I);
|
|
416
|
+
return element;
|
|
417
|
+
}
|
|
418
|
+
defineComponent("ui-date-range-picker", createUiDateRangePicker, ["allowUnavailableWithinRange","allowedDates","allowedRanges","disabled","disabledDates","disabledRanges","disabledWeekdays","displayOptions","endInputId","endLabel","endName","form","invalid","label","locale","max","min","model","monthLabel","nextLabel","pickerLabel","previousLabel","readonly","required","size","startInputId","startLabel","startName","today","value","weekStartsOn","yearLabel"]);
|
|
@@ -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, toText, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-description-item.css";
|
|
4
4
|
|
|
@@ -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, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-description-list.css";
|
|
4
4
|
|
package/vanilla/UiDialog.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 UiDialogEventMap {
|
|
3
3
|
open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic"; 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/UiDialog.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, toAttribute, toText, truthy, 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-dialog/ui-dialog.js";
|
|
4
4
|
import "../styles/ui-dialog.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 UiDisclosureEventMap {
|
|
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/UiDisclosure.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, toText, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-disclosure/ui-disclosure.js";
|
|
4
4
|
import "../styles/ui-disclosure.css";
|
package/vanilla/UiEditable.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 UiEditableEventMap {
|
|
3
3
|
input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
change: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiEditable.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, readsChanged, rec, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editable/ui-editable.js";
|
|
4
4
|
import "../styles/ui-editable.css";
|
package/vanilla/UiEditor.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
|
import type { RequestEvent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
export interface UiEditorEventMap {
|
|
4
4
|
change: CustomEvent<{ readonly content: { readonly type: string; readonly [name: string]: unknown } }>;
|
package/vanilla/UiEditor.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, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, plainObject, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, RangedIndexedList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, requestHost, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor/ui-editor.js";
|
|
4
4
|
import "../styles/ui-editor.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 UiEditorBlockActionsEventMap {
|
|
3
3
|
action: CustomEvent<{ readonly action: "insert-below" | "duplicate" | "delete" }>;
|
|
4
4
|
}
|
|
@@ -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, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-block-actions/ui-editor-block-actions.js";
|
|
4
4
|
import "../styles/ui-editor-block-actions.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 UiEditorChipEditorEventMap {
|
|
3
3
|
label: CustomEvent<{ readonly label: string }>;
|
|
4
4
|
color: CustomEvent<{ readonly color: "neutral" | "blue" | "green" | "yellow" | "red" | "purple" }>;
|
|
@@ -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, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-chip-editor/ui-editor-chip-editor.js";
|
|
4
4
|
import "../styles/ui-editor-chip-editor.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
|
import { attachGeneratedController, buildTemplate, KeyedList, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-code-language/ui-editor-code-language.js";
|
|
4
4
|
import "../styles/ui-editor-code-language.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 UiEditorFootnoteEditorEventMap {
|
|
3
3
|
text: CustomEvent<{ readonly text: string }>;
|
|
4
4
|
done: CustomEvent<Readonly<Record<string, unknown>>>;
|
|
@@ -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, acceptProps, manageProps, generatedInputs, project, fillSlot, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-footnote-editor/ui-editor-footnote-editor.js";
|
|
4
4
|
import "../styles/ui-editor-footnote-editor.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 UiEditorFormattingToolsEventMap {
|
|
3
3
|
"tool-action": CustomEvent<{ readonly id: string }>;
|
|
4
4
|
"tool-focus": CustomEvent<{ readonly id: string }>;
|
|
@@ -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, checkReference, clearRegion, NONCONFORMING, readDeclared, readMember, toAttribute, toText, trackContainer, truthy, truthyValue, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, RangedKeyedList, checkBoolean, checkFormat, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-formatting-tools/ui-editor-formatting-tools.js";
|
|
4
4
|
import "../styles/ui-editor-formatting-tools.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 UiEditorImageToolbarEventMap {
|
|
3
3
|
placement: CustomEvent<{ readonly placement: "block" | "center" | "wrap-left" | "wrap-right" }>;
|
|
4
4
|
describe: CustomEvent<{ readonly alt: string }>;
|
|
@@ -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, readIndex, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-image-toolbar/ui-editor-image-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-image-toolbar.css";
|