@threadlabs/looma 0.51.6 → 0.52.1
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/README.md +4 -4
- package/components/shared/overlay.js +7 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
- package/components/ui-calendar/ui-calendar.js +11 -7
- package/components/ui-date-field/ui-date-field.js +0 -5
- package/components/ui-disclosure/ui-disclosure.js +19 -4
- package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
- package/components/ui-file-input/ui-file-input.js +0 -2
- package/components/ui-status-message/ui-status-message.html +1 -0
- package/components/ui-tabs/ui-tabs.html +1 -0
- package/components/ui-tooltip/ui-tooltip.html +11 -32
- package/components/ui-wizard/ui-wizard.html +137 -0
- package/components/ui-wizard/ui-wizard.js +19 -0
- package/dist/index.js +15 -8
- package/docs/catalog.json +876 -131
- package/editor/components.css +530 -551
- package/editor/index.js +72 -47
- package/package.json +30 -35
- package/styles/ui-action-bar.css +8 -8
- package/styles/ui-affordance-scope.css +10 -10
- package/styles/ui-avatar-group.css +11 -11
- package/styles/ui-avatar.css +14 -14
- package/styles/ui-badge.css +67 -67
- package/styles/ui-breadcrumb-item.css +10 -10
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +99 -99
- package/styles/ui-calendar.css +1 -1
- package/styles/ui-callout.css +14 -14
- package/styles/ui-card-group.css +11 -11
- package/styles/ui-card.css +36 -36
- package/styles/ui-checkbox.css +28 -28
- package/styles/ui-cluster.css +30 -30
- package/styles/ui-color-picker.css +16 -16
- package/styles/ui-combobox.css +50 -50
- 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 +14 -14
- package/styles/ui-context-menu.css +8 -8
- package/styles/ui-cover.css +9 -9
- package/styles/ui-curve-editor.css +9 -9
- package/styles/ui-cycle-button.css +10 -10
- package/styles/ui-date-field.css +1 -1
- package/styles/ui-date-picker.css +1 -1
- package/styles/ui-date-range-picker.css +1 -1
- package/styles/ui-description-item.css +8 -8
- package/styles/ui-description-list.css +18 -18
- package/styles/ui-dialog.css +37 -37
- package/styles/ui-disclosure.css +26 -26
- package/styles/ui-editable.css +13 -13
- 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 +9 -9
- 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 +13 -15
- package/styles/ui-editor-mention-menu.css +12 -12
- package/styles/ui-editor-slash-menu-group.css +7 -7
- package/styles/ui-editor-slash-menu-item.css +12 -12
- package/styles/ui-editor-slash-menu.css +13 -13
- package/styles/ui-editor-surface.css +8 -8
- package/styles/ui-editor-table-context-menu.css +19 -15
- package/styles/ui-editor-table-overlay.css +15 -15
- package/styles/ui-editor-table-toolbar.css +19 -19
- package/styles/ui-editor-toolbar.css +16 -16
- package/styles/ui-editor.css +1 -1
- package/styles/ui-file-input.css +1 -1
- package/styles/ui-floating-action-button.css +14 -14
- package/styles/ui-form-field.css +9 -9
- package/styles/ui-grid.css +19 -19
- package/styles/ui-icon-button.css +73 -73
- package/styles/ui-icon.css +11 -11
- package/styles/ui-image.css +23 -23
- package/styles/ui-input-group.css +26 -26
- package/styles/ui-input.css +23 -23
- package/styles/ui-light-editor.css +15 -15
- package/styles/ui-list-item.css +25 -25
- package/styles/ui-list.css +16 -16
- package/styles/ui-listbox.css +22 -22
- package/styles/ui-menu-group.css +7 -7
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +20 -20
- package/styles/ui-meter.css +32 -32
- package/styles/ui-nav-item.css +18 -18
- package/styles/ui-number-input.css +12 -12
- package/styles/ui-page-header.css +10 -10
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +17 -17
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +25 -25
- package/styles/ui-reel.css +21 -21
- package/styles/ui-scroll-area.css +20 -20
- package/styles/ui-search-result-row.css +16 -16
- package/styles/ui-search-shell.css +10 -10
- package/styles/ui-section.css +18 -18
- package/styles/ui-select.css +22 -22
- package/styles/ui-separator.css +12 -12
- package/styles/ui-sidebar.css +26 -26
- package/styles/ui-site-header.css +65 -65
- package/styles/ui-skeleton.css +18 -18
- package/styles/ui-slider.css +11 -11
- package/styles/ui-spinner.css +9 -9
- package/styles/ui-stack.css +22 -22
- package/styles/ui-status-message.css +12 -12
- package/styles/ui-swatch.css +14 -14
- package/styles/ui-switch.css +23 -23
- package/styles/ui-switcher.css +20 -20
- package/styles/ui-table.css +12 -12
- package/styles/ui-tabs.css +18 -17
- package/styles/ui-text.css +40 -40
- package/styles/ui-textarea.css +21 -21
- package/styles/ui-time-field.css +1 -1
- package/styles/ui-time-picker.css +1 -1
- package/styles/ui-toast-region.css +29 -29
- package/styles/ui-toast.css +19 -19
- package/styles/ui-tooltip.css +37 -58
- package/styles/ui-top-bar.css +8 -8
- package/styles/ui-tree-item.css +112 -112
- package/styles/ui-tree.css +11 -11
- package/styles/ui-wizard.css +162 -0
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +2 -2
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +5 -5
- package/vanilla/UiCalendar.d.ts +1 -1
- package/vanilla/UiCalendar.js +10 -10
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +5 -5
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +2 -2
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +8 -8
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +4 -4
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +2 -2
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +5 -5
- package/vanilla/UiCompactNode.d.ts +1 -1
- package/vanilla/UiCompactNode.js +8 -8
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +2 -2
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +2 -2
- package/vanilla/UiDateField.d.ts +1 -1
- package/vanilla/UiDateField.js +2 -2
- package/vanilla/UiDatePicker.d.ts +1 -1
- package/vanilla/UiDatePicker.js +2 -2
- package/vanilla/UiDateRangePicker.d.ts +1 -1
- package/vanilla/UiDateRangePicker.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +6 -6
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +4 -4
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +2 -2
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +4 -4
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +4 -4
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +4 -4
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +4 -4
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +2 -2
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +4 -4
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +2 -2
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +7 -6
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +5 -5
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +8 -8
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFileInput.d.ts +1 -1
- package/vanilla/UiFileInput.js +4 -4
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +2 -2
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +5 -5
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +3 -3
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +4 -4
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +2 -2
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +3 -3
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +2 -2
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +2 -2
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +13 -13
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiTimeField.d.ts +1 -1
- package/vanilla/UiTimeField.js +2 -2
- package/vanilla/UiTimePicker.d.ts +1 -1
- package/vanilla/UiTimePicker.js +6 -6
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +2 -2
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +2 -2
- package/vanilla/UiWizard.d.ts +27 -0
- package/vanilla/UiWizard.js +165 -0
- package/vanilla/index.js +1 -0
- package/bin/looma-docs.mjs +0 -3
- package/docs/README.md +0 -323
- package/docs/card.html +0 -79
- package/docs/card.js +0 -18
- package/docs/catalog-view.js +0 -24
- package/docs/catalog-view.mjs +0 -13
- package/docs/catalog.mjs +0 -131
- package/docs/cli.mjs +0 -26
- package/docs/commands.mjs +0 -94
- package/docs/customizer-render.mjs +0 -157
- package/docs/customizer.js +0 -494
- package/docs/documentation.css +0 -14
- package/docs/example-invocations.mjs +0 -63
- package/docs/fonts.mjs +0 -73
- package/docs/framework-examples.d.mts +0 -9
- package/docs/framework-examples.mjs +0 -195
- package/docs/index.d.ts +0 -59
- package/docs/index.mjs +0 -4
- package/docs/local-server.mjs +0 -65
- package/docs/navigation.mjs +0 -26
- package/docs/palette.mjs +0 -68
- package/docs/pastoral.svg +0 -54
- package/docs/portrait.svg +0 -15
- package/docs/reference.html +0 -1
- package/docs/reference.js +0 -36
- package/docs/render.mjs +0 -97
- package/docs/site.mjs +0 -237
- package/docs/store.mjs +0 -92
- package/docs/theme-session.mjs +0 -72
- package/docs/theme.mjs +0 -669
- package/docs/value-editors.mjs +0 -37
- package/docs/workspace.mjs +0 -32
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
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
3
|
import * as controller from "../components/ui-date-range-picker/ui-date-range-picker.js";
|
|
4
4
|
import "../styles/ui-date-range-picker.css";
|
|
@@ -6,7 +6,7 @@ import "../styles/ui-date-range-picker.css";
|
|
|
6
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
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
8
|
let P0, P1;
|
|
9
|
-
const
|
|
9
|
+
const emptyDirty = new Map();
|
|
10
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
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
12
|
const C = (host) => activateModule(controller, host);
|
|
@@ -19,7 +19,7 @@ export function createUiDateRangePicker(options = {}, html) {
|
|
|
19
19
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
20
|
}
|
|
21
21
|
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-date-range-picker");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
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
25
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -39,7 +39,7 @@ export function createUiDateRangePicker(options = {}, html) {
|
|
|
39
39
|
n.prepend(s);
|
|
40
40
|
n.append(t);
|
|
41
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,
|
|
42
|
+
p1(r, -1, emptyDirty);
|
|
43
43
|
return r;
|
|
44
44
|
};
|
|
45
45
|
const p1 = (r, c, d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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
|
|
|
@@ -15,7 +15,7 @@ export function createUiDescriptionItem(options = {}, html) {
|
|
|
15
15
|
if (value === null || value === undefined || value === false) continue;
|
|
16
16
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
17
17
|
}
|
|
18
|
-
element.setAttribute("
|
|
18
|
+
element.setAttribute("component", "ui-description-item");
|
|
19
19
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
20
20
|
const v = [null];
|
|
21
21
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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
|
|
|
@@ -15,7 +15,7 @@ export function createUiDescriptionList(options = {}, html) {
|
|
|
15
15
|
if (value === null || value === undefined || value === false) continue;
|
|
16
16
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
17
17
|
}
|
|
18
|
-
element.setAttribute("
|
|
18
|
+
element.setAttribute("component", "ui-description-list");
|
|
19
19
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
20
20
|
const v = [null, null, null];
|
|
21
21
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
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.84 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.84 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";
|
|
@@ -19,7 +19,7 @@ export function createUiDialog(options = {}, html) {
|
|
|
19
19
|
if (value === null || value === undefined || value === false) continue;
|
|
20
20
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
21
21
|
}
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-dialog");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
24
|
const v = [false, "Dialog", null, null, null, null, null, null, null, null];
|
|
25
25
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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.84 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";
|
|
@@ -20,7 +20,7 @@ export function createUiDisclosure(options = {}, html) {
|
|
|
20
20
|
if (value === null || value === undefined || value === false) continue;
|
|
21
21
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
22
22
|
}
|
|
23
|
-
element.setAttribute("
|
|
23
|
+
element.setAttribute("component", "ui-disclosure");
|
|
24
24
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
25
25
|
const v = [false, "", null, null, null, null, null, null, null, null, null, null, null];
|
|
26
26
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
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.84 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.84 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";
|
|
@@ -18,7 +18,7 @@ export function createUiEditable(options = {}, html) {
|
|
|
18
18
|
if (value === null || value === undefined || value === false) continue;
|
|
19
19
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
20
|
}
|
|
21
|
-
element.setAttribute("
|
|
21
|
+
element.setAttribute("component", "ui-editable");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [false, "", "", null, null, null, null, null, null, null, null, null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
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.84 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.84 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";
|
|
@@ -42,7 +42,7 @@ const T35 = ["div",["class","looma-editor__table-overlay-shell"],"\n ",1,"\
|
|
|
42
42
|
const T36 = ["ui-editor-table-overlay",["open",""]];
|
|
43
43
|
const T37 = ["div",["class","looma-editor__table-menu-shell"],"\n ",["ui-editor-table-context-menu",["open",""]],"\n "];
|
|
44
44
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27, P28, P29, P30, P31, P32, P33, P34, P35, P36, P37;
|
|
45
|
-
const
|
|
45
|
+
const emptyDirty = new Map();
|
|
46
46
|
const S = { n: ["view"], t: [["o",[],1]], f: import.meta.url, g: "ui-editor", d: { "change": [detailCheck(checkObject([["content", checkObject([["type", checkString, false]], true), false]], false)), true, true, false], "toolbar-open": [detailCheck(checkObject([], true)), true, true, false], "toolbar-close": [detailCheck(checkObject([], true)), true, true, false], "selection-action": [detailCheck(checkObject([["id", checkString, false], ["from", checkInteger, false], ["to", checkInteger, false], ["text", checkString, false], ["before", checkString, false], ["after", checkString, false]], false)), true, true, false], "range-action": [detailCheck(checkObject([["id", checkString, false], ["ranges", checkList(checkObject([["from", checkInteger, false], ["to", checkInteger, false]], false)), false]], false)), true, true, false], "upload-error": [detailCheck(checkObject([["error", checkUnknown, false], ["file", checkUnknown, false]], false)), true, true, false], "image-activate": [detailCheck(checkObject([["src", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pointer","keyboard"]}), false]], true)), true, true, false], "image-rendition-error": [detailCheck(checkObject([["src", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["programmatic"]}), false]], true)), true, true, false] }, x: dispatchDeclared, q: { "extensions": [(v0) => v0 === null, (v0) => (Array.isArray(v0) && v0.every((v1) => true))], "slash-commands": [(v0) => (plainObject(v0) && "defaults" in v0 && (Array.isArray(v0["defaults"]) && v0["defaults"].every((v1) => true)) && Object.keys(v0).every((v1) => ["defaults"].includes(v1))), (v0) => (Array.isArray(v0) && v0.every((v1) => true))], "mention-query": [(v0) => (plainObject(v0) && "query" in v0 && typeof v0["query"] == "string" && "limit" in v0 && Number.isInteger(v0["limit"]) && Object.keys(v0).every((v1) => ["query","limit"].includes(v1))), (v0) => (Array.isArray(v0) && v0.every((v1) => (plainObject(v1) && "id" in v1 && typeof v1["id"] == "string" && "label" in v1 && typeof v1["label"] == "string" && (v1["detail"] == null || typeof v1["detail"] == "string") && (v1["initials"] == null || typeof v1["initials"] == "string") && Object.keys(v1).every((v2) => ["id","label","detail","initials"].includes(v2)))))], "link-search": [(v0) => (plainObject(v0) && "query" in v0 && typeof v0["query"] == "string" && Object.keys(v0).every((v1) => ["query"].includes(v1))), (v0) => (Array.isArray(v0) && v0.every((v1) => (plainObject(v1) && "id" in v1 && typeof v1["id"] == "string" && "label" in v1 && typeof v1["label"] == "string" && "href" in v1 && typeof v1["href"] == "string" && (v1["detail"] == null || typeof v1["detail"] == "string") && Object.keys(v1).every((v2) => ["id","label","href","detail"].includes(v2)))))], "link-resolve": [(v0) => (plainObject(v0) && "href" in v0 && typeof v0["href"] == "string" && Object.keys(v0).every((v1) => ["href"].includes(v1))), (v0) => (plainObject(v0) && "id" in v0 && typeof v0["id"] == "string" && "label" in v0 && typeof v0["label"] == "string" && "href" in v0 && typeof v0["href"] == "string" && (v0["detail"] == null || typeof v0["detail"] == "string") && Object.keys(v0).every((v1) => ["id","label","href","detail"].includes(v1)))], "image-upload": [(v0) => (plainObject(v0) && "file" in v0 && true && Object.keys(v0).every((v1) => ["file"].includes(v1))), (v0) => (plainObject(v0) && "src" in v0 && typeof v0["src"] == "string")], "file-upload": [(v0) => (plainObject(v0) && "file" in v0 && true && Object.keys(v0).every((v1) => ["file"].includes(v1))), (v0) => (plainObject(v0) && "href" in v0 && typeof v0["href"] == "string" && "name" in v0 && typeof v0["name"] == "string" && "size" in v0 && Number.isFinite(v0["size"]) && "contentType" in v0 && typeof v0["contentType"] == "string")], "code-languages": [(v0) => v0 === null, (v0) => (plainObject(v0))], "image-delivery": [(v0) => v0 === null, (v0) => true] }, a: (host, I) => C(host, I), b: generatedInputs, i: [{ }] };
|
|
47
47
|
const D = { g: "ui-editor", props: { "compactToolbar": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "content": { "required":false,"default":{"type":"doc","content":[{"type":"paragraph"}]}, c: checkObject([["type", checkString, false]], true), j: 1, m: ["o",["type","s"],1] }, "contentDensity": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "disableHighlight": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "editable": { "required":false,"default":true, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"Document", c: checkString, t: "string", j: 0, m: "s" }, "linkBaseUrl": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "linkTargetLabel": { "required":false,"default":"Item", c: checkString, t: "string", j: 0, m: "s" }, "mentionItems": { "required":false,"default":[], c: checkList(checkObject([["id", checkString, false], ["label", checkString, false], ["detail", checkString, true], ["initials", checkString, true]], false)), j: 1, m: ["l",["o",["id","s","label","s","detail","s","initials","s"]]] }, "mentionLimit": { "required":false,"default":8, c: checkInteger, t: "integer", j: 0, m: "i" }, "placeholder": { "required":false,"default":"Type “/” for commands, or start writing…", c: checkString, t: "string", j: 0, m: "s" }, "rangeActions": { "required":false,"default":[], c: checkList(checkObject([["id", checkString, false], ["label", checkString, false], ["from", checkInteger, false], ["to", checkInteger, false]], false)), j: 1, m: ["l",["o",["id","s","label","s","from","i","to","i"]]] }, "references": { "required":false, c: checkObject([], true), j: 1, m: ["o",[],1] }, "selectionActions": { "required":false,"default":[], c: checkList(checkObject([["id", checkString, false], ["label", checkString, false]], false)), j: 1, m: ["l",["o",["id","s","label","s"]]] }, "toolbarMode": { "required":false,"values":["bubble","sticky","popover","contextual"],"default":"bubble", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "toolbarOpen": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "toolbarTriggerId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
48
48
|
const C = (host, I) => activateModule(controller, requestHost(host, I));
|
|
@@ -55,7 +55,7 @@ export function createUiEditor(options = {}, html) {
|
|
|
55
55
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
56
56
|
}
|
|
57
57
|
if (!element.hasAttribute("tabindex")) element.setAttribute("tabindex", "-1");
|
|
58
|
-
element.setAttribute("
|
|
58
|
+
element.setAttribute("component", "ui-editor");
|
|
59
59
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
60
60
|
const v = [{ }, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
61
61
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -655,7 +655,7 @@ export function createUiEditor(options = {}, html) {
|
|
|
655
655
|
n.prepend(s);
|
|
656
656
|
n.append(t);
|
|
657
657
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, e0: t0.nextSibling, b0: undefined, a1: t1, e1: t1.nextSibling, b1: undefined };
|
|
658
|
-
p28(r, -1,
|
|
658
|
+
p28(r, -1, emptyDirty);
|
|
659
659
|
return r;
|
|
660
660
|
};
|
|
661
661
|
const p28 = (r, c, d) => {
|
|
@@ -689,7 +689,7 @@ export function createUiEditor(options = {}, html) {
|
|
|
689
689
|
const n = (P30 ??= buildTemplate(T30)).cloneNode(true);
|
|
690
690
|
const t0 = n.firstChild;
|
|
691
691
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, w: 0, v0: null, v1: null, v2: null, v3: null, v4: "" };
|
|
692
|
-
p30(r, -1,
|
|
692
|
+
p30(r, -1, emptyDirty);
|
|
693
693
|
return r;
|
|
694
694
|
};
|
|
695
695
|
const p30 = (r, c, d) => {
|
|
@@ -727,7 +727,7 @@ export function createUiEditor(options = {}, html) {
|
|
|
727
727
|
const n = (P32 ??= buildTemplate(T32)).cloneNode(true);
|
|
728
728
|
const t0 = n.firstChild;
|
|
729
729
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, w: 0, v0: null, v1: null, v2: null, v3: null, v4: "" };
|
|
730
|
-
p32(r, -1,
|
|
730
|
+
p32(r, -1, emptyDirty);
|
|
731
731
|
return r;
|
|
732
732
|
};
|
|
733
733
|
const p32 = (r, c, d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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.84 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";
|
|
@@ -16,7 +16,7 @@ export function createUiEditorBlockActions(options = {}, html) {
|
|
|
16
16
|
if (value === null || value === undefined || value === false) continue;
|
|
17
17
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
18
18
|
}
|
|
19
|
-
element.setAttribute("
|
|
19
|
+
element.setAttribute("component", "ui-editor-block-actions");
|
|
20
20
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
21
21
|
const v = [null, null];
|
|
22
22
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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.84 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";
|
|
@@ -18,7 +18,7 @@ export function createUiEditorChipEditor(options = {}, html) {
|
|
|
18
18
|
}
|
|
19
19
|
if (!element.hasAttribute("role")) element.setAttribute("role", "dialog");
|
|
20
20
|
if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Edit chip");
|
|
21
|
-
element.setAttribute("
|
|
21
|
+
element.setAttribute("component", "ui-editor-chip-editor");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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";
|
|
@@ -6,7 +6,7 @@ import "../styles/ui-editor-code-language.css";
|
|
|
6
6
|
const T0 = ["",[],"\n ",["ui-combobox",["label","Code language","label-visibility","sr-only","size","sm","disclosure","","filter","label"],2],"\n "];
|
|
7
7
|
const T1 = ["option",[],0];
|
|
8
8
|
let P0, P1;
|
|
9
|
-
const
|
|
9
|
+
const emptyDirty = new Map();
|
|
10
10
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-code-language", d: { "language": [detailCheck(checkObject([["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs };
|
|
11
11
|
const D = { g: "ui-editor-code-language", props: { "languages": { "required":false, c: checkList(checkObject([["value", checkString, false], ["label", checkString, false]], false)), j: 1, m: ["l",["o",["value","s","label","s"]]] }, "value": { "required":false,"default":"auto", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
12
12
|
const C = (host) => activateModule(controller, host);
|
|
@@ -18,7 +18,7 @@ export function createUiEditorCodeLanguage(options = {}, html) {
|
|
|
18
18
|
if (value === null || value === undefined || value === false) continue;
|
|
19
19
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
20
|
}
|
|
21
|
-
element.setAttribute("
|
|
21
|
+
element.setAttribute("component", "ui-editor-code-language");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -26,7 +26,7 @@ export function createUiEditorCodeLanguage(options = {}, html) {
|
|
|
26
26
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
27
27
|
const t0 = n.firstChild;
|
|
28
28
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, w: 0, v0: null, v1: "" };
|
|
29
|
-
p1(r, -1,
|
|
29
|
+
p1(r, -1, emptyDirty);
|
|
30
30
|
return r;
|
|
31
31
|
};
|
|
32
32
|
const p1 = (r, c, d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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.84 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";
|
|
@@ -19,7 +19,7 @@ export function createUiEditorFootnoteEditor(options = {}, html) {
|
|
|
19
19
|
}
|
|
20
20
|
if (!element.hasAttribute("role")) element.setAttribute("role", "dialog");
|
|
21
21
|
if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Edit footnote");
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-editor-footnote-editor");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
24
|
const v = [null];
|
|
25
25
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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.84 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";
|
|
@@ -10,7 +10,7 @@ const T3 = ["ui-icon-button",["class","looma-editor__toolbar-button","size","sm"
|
|
|
10
10
|
const T4 = ["ui-button",["size","sm","variant","ghost","tone","neutral","type","button"],0];
|
|
11
11
|
const T5 = ["kbd",["slot","shortcut"],0];
|
|
12
12
|
let P0, P1, P2, P3, P4, P5;
|
|
13
|
-
const
|
|
13
|
+
const emptyDirty = new Map();
|
|
14
14
|
const S = { n: ["hint"], t: [["o",["for","s","open","b","label","s","shortcut","s"]]], f: import.meta.url, g: "ui-editor-formatting-tools", d: { "tool-action": [detailCheck(checkObject([["id", checkString, false]], false)), true, true, false], "tool-focus": [detailCheck(checkObject([["id", checkString, false]], false)), true, true, false], "tool-press": [detailCheck(checkObject([["id", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [{ "for": "", "open": false, "label": "", "shortcut": "" }] };
|
|
15
15
|
const D = { g: "ui-editor-formatting-tools", props: { "floating": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "items": { "required":false,"default":[], c: checkList(checkObject([["id", checkString, false], ["kind", checkFormat("keyword", keywordFormat), false], ["label", checkString, false], ["icon", checkString, false], ["active", checkBoolean, false], ["disabled", checkBoolean, false], ["expanded", checkBoolean, false], ["shortcut", checkString, false]], false)), j: 1, m: ["l",["o",["id","s","kind",["p",formatOf(keywordFormat)],"label","s","icon","s","active","b","disabled","b","expanded","b","shortcut","s"]]] } } };
|
|
16
16
|
const C = (host) => activateModule(controller, host);
|
|
@@ -22,7 +22,7 @@ export function createUiEditorFormattingTools(options = {}, html) {
|
|
|
22
22
|
if (value === null || value === undefined || value === false) continue;
|
|
23
23
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
24
24
|
}
|
|
25
|
-
element.setAttribute("
|
|
25
|
+
element.setAttribute("component", "ui-editor-formatting-tools");
|
|
26
26
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
27
27
|
const v = [{ "for": "", "open": false, "label": "", "shortcut": "" }, null, null];
|
|
28
28
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -35,7 +35,7 @@ export function createUiEditorFormattingTools(options = {}, html) {
|
|
|
35
35
|
n.prepend(s);
|
|
36
36
|
n.append(t);
|
|
37
37
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, e0: t0.nextSibling, b0: undefined, a1: t1, e1: t1.nextSibling, b1: undefined, a2: t2, e2: t2.nextSibling, b2: undefined };
|
|
38
|
-
p1(r, -1,
|
|
38
|
+
p1(r, -1, emptyDirty);
|
|
39
39
|
return r;
|
|
40
40
|
};
|
|
41
41
|
const p1 = (r, c, d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 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.84 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";
|
|
@@ -16,7 +16,7 @@ export function createUiEditorImageToolbar(options = {}, html) {
|
|
|
16
16
|
if (value === null || value === undefined || value === false) continue;
|
|
17
17
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
18
18
|
}
|
|
19
|
-
element.setAttribute("
|
|
19
|
+
element.setAttribute("component", "ui-editor-image-toolbar");
|
|
20
20
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
21
21
|
const v = ["ui-editor-image-toolbar", false, "", null, null, null];
|
|
22
22
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorInsertTableGridEventMap {
|
|
3
3
|
insert: CustomEvent<{ readonly rows: number; readonly cols: number; readonly withHeaderRow: boolean }>;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, KeyedList, readMember, readsChanged, rec, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, checkBoolean, checkInteger, checkObject, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js";
|
|
4
4
|
import "../styles/ui-editor-insert-table-grid.css";
|
|
@@ -6,7 +6,7 @@ import "../styles/ui-editor-insert-table-grid.css";
|
|
|
6
6
|
const T0 = ["",[],"\n ",["p",["class","hint"],0],"\n ",["div",["class","grid","role","group","aria-label","Table dimensions"],"\n ",2,"\n "],"\n ",["label",["class","header"],["input",["type","checkbox"]]," Header row"],"\n "];
|
|
7
7
|
const T1 = ["button",["type","button","class","cell"],"\n "];
|
|
8
8
|
let P0, P1;
|
|
9
|
-
const
|
|
9
|
+
const emptyDirty = new Map();
|
|
10
10
|
const S = { n: ["cells","rows","cols","hint","withHeaderRow"], t: [["l",["o",["key","s","row","i","col","i","label","s","selected","b","tabIndex","i"]]],"i","i","s","b"], f: import.meta.url, g: "ui-editor-insert-table-grid", d: { "insert": [detailCheck(checkObject([["rows", checkInteger, false], ["cols", checkInteger, false], ["withHeaderRow", checkBoolean, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], 8, 8, "", false] };
|
|
11
11
|
const D = { g: "ui-editor-insert-table-grid", props: { "headerRow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxCols": { "required":false,"default":8, c: checkInteger, t: "integer", j: 0, m: "i" }, "maxRows": { "required":false,"default":8, c: checkInteger, t: "integer", j: 0, m: "i" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
12
12
|
const C = (host) => activateModule(controller, host);
|
|
@@ -18,14 +18,14 @@ export function createUiEditorInsertTableGrid(options = {}, html) {
|
|
|
18
18
|
if (value === null || value === undefined || value === false) continue;
|
|
19
19
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
20
|
}
|
|
21
|
-
element.setAttribute("
|
|
21
|
+
element.setAttribute("component", "ui-editor-insert-table-grid");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [[], 8, 8, "", false, null, null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
25
25
|
const m1 = (o, j, l) => {
|
|
26
26
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
27
27
|
const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null };
|
|
28
|
-
p1(r, -1,
|
|
28
|
+
p1(r, -1, emptyDirty);
|
|
29
29
|
return r;
|
|
30
30
|
};
|
|
31
31
|
const p1 = (r, c, d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorLinkCardEventMap {
|
|
3
3
|
edit: CustomEvent<Readonly<Record<string, unknown>>>;
|
|
4
4
|
remove: 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.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, toText, writeAttribute, writeUrlAttribute, computedCycle, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-link-card/ui-editor-link-card.js";
|
|
4
4
|
import "../styles/ui-editor-link-card.css";
|
|
@@ -18,7 +18,7 @@ export function createUiEditorLinkCard(options = {}, html) {
|
|
|
18
18
|
if (value === null || value === undefined || value === false) continue;
|
|
19
19
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
20
|
}
|
|
21
|
-
element.setAttribute("
|
|
21
|
+
element.setAttribute("component", "ui-editor-link-card");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = ["ui-editor-link-card", undefined, undefined, null, null, null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorLinkFormEventMap {
|
|
3
3
|
destination: CustomEvent<{ readonly value: string }>;
|
|
4
4
|
text: CustomEvent<{ readonly text: string }>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkBoolean, checkFormat, checkList, checkObject, checkRecord, checkString, checkUnknown, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-link-form/ui-editor-link-form.js";
|
|
4
4
|
import "../styles/ui-editor-link-form.css";
|
|
@@ -16,7 +16,7 @@ const T9 = ["",[],"\n ",["ui-checkbox",["size","sm","data-link-new-tab"
|
|
|
16
16
|
const T10 = ["",[],"\n ",["ui-form-field",[],["label",["slot","label"],"Text"],["ui-input",["data-link-text","","size","sm"]]],"\n "];
|
|
17
17
|
const T11 = ["ui-text",["size","sm","tone","danger","role","alert"],0];
|
|
18
18
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11;
|
|
19
|
-
const
|
|
19
|
+
const emptyDirty = new Map();
|
|
20
20
|
const S = { n: ["base","heading","fieldLabel"], t: ["s","?","?"], f: import.meta.url, g: "ui-editor-link-form", k: 1, d: { "destination": [detailCheck(checkObject([["value", checkString, false]], false)), true, true, false], "text": [detailCheck(checkObject([["text", checkString, false]], false)), true, true, false], "new-tab": [detailCheck(checkObject([["newTab", checkBoolean, false]], false)), true, true, false], "choose": [detailCheck(checkObject([["id", checkString, false]], false)), true, true, false], "clear": [detailCheck(checkRecord(checkUnknown)), true, true, false], "save": [detailCheck(checkRecord(checkUnknown)), true, true, false], "dismiss": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs, i: ["ui-editor-link-form"] };
|
|
21
21
|
const D = { g: "ui-editor-link-form", props: { "autofocus": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "error": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "existing": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "mode": { "required":false,"values":["url","target"],"default":"url", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "newTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"https://example.com", c: checkString, t: "string", j: 0, m: "s" }, "results": { "required":false, c: checkList(checkObject([["id", checkString, false], ["label", checkString, false], ["detail", checkString, true]], false)), j: 1, m: ["l",["o",["id","s","label","s","detail","s"]]] }, "searchable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selected": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "status": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "text": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "textEditable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
22
22
|
const C = (host) => activateModule(controller, host);
|
|
@@ -29,7 +29,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
29
29
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
30
30
|
}
|
|
31
31
|
if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Edit link");
|
|
32
|
-
element.setAttribute("
|
|
32
|
+
element.setAttribute("component", "ui-editor-link-form");
|
|
33
33
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
34
34
|
const v = ["ui-editor-link-form", undefined, undefined, null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
35
35
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -160,7 +160,7 @@ export function createUiEditorLinkForm(options = {}, html) {
|
|
|
160
160
|
const t2 = t0.nextSibling;
|
|
161
161
|
const t3 = t2.nextSibling.nextSibling;
|
|
162
162
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: null, v3: "", a3: t2, e0: t2.nextSibling, b0: undefined, a4: t3, e1: t3.nextSibling, b1: undefined };
|
|
163
|
-
p6(r, -1,
|
|
163
|
+
p6(r, -1, emptyDirty);
|
|
164
164
|
return r;
|
|
165
165
|
};
|
|
166
166
|
const p6 = (r, c, d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorMentionMenuEventMap {
|
|
3
3
|
highlight: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
4
4
|
select: CustomEvent<{ readonly index: number; readonly value: string }>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-mention-menu/ui-editor-mention-menu.js";
|
|
4
4
|
import "../styles/ui-editor-mention-menu.css";
|
|
@@ -12,7 +12,7 @@ const T5 = ["span",["class","detail"],0];
|
|
|
12
12
|
const T6 = ["",[]];
|
|
13
13
|
const T7 = ["",[]];
|
|
14
14
|
let P0, P1, P2, P3, P4, P5, P6, P7;
|
|
15
|
-
const
|
|
15
|
+
const emptyDirty = new Map();
|
|
16
16
|
const S = { n: ["visible","rows","searching","active","prefix"], t: ["b",["l",["o",["id","s","label","s","detail","s","initials","s"]]],"b","i","s"], f: import.meta.url, g: "ui-editor-mention-menu", d: { "highlight": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false], "select": [detailCheck(checkObject([["index", checkInteger, false], ["value", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false, [], false, 0, "ui-editor-mention-menu"] };
|
|
17
17
|
const D = { g: "ui-editor-mention-menu", props: { "anchorRect": { "required":false, c: checkObject([["left", checkNumber, true], ["top", checkNumber, true], ["right", checkNumber, true], ["bottom", checkNumber, true], ["x", checkNumber, true], ["y", checkNumber, true], ["width", checkNumber, true], ["height", checkNumber, true]], false), j: 1, m: ["o",["left","n","top","n","right","n","bottom","n","x","n","y","n","width","n","height","n"]] }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["label", checkString, false], ["detail", checkString, true], ["initials", checkString, true]], false)), j: 1, m: ["l",["o",["id","s","label","s","detail","s","initials","s"]]] }, "label": { "required":false,"default":"Mentions", c: checkString, t: "string", j: 0, m: "s" }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "loadingLabel": { "required":false,"default":"Searching…", c: checkString, t: "string", j: 0, m: "s" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "query": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "selectedIndex": { "required":false,"default":0, c: checkInteger, t: "integer", j: 0, m: "i" } } };
|
|
18
18
|
const C = (host) => activateModule(controller, host);
|
|
@@ -25,7 +25,7 @@ export function createUiEditorMentionMenu(options = {}, html) {
|
|
|
25
25
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
26
26
|
}
|
|
27
27
|
if (!element.hasAttribute("role")) element.setAttribute("role", "listbox");
|
|
28
|
-
element.setAttribute("
|
|
28
|
+
element.setAttribute("component", "ui-editor-mention-menu");
|
|
29
29
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
30
30
|
const v = [false, [], false, 0, "ui-editor-mention-menu", null, null, null, null, null, null, null, null];
|
|
31
31
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -75,7 +75,7 @@ export function createUiEditorMentionMenu(options = {}, html) {
|
|
|
75
75
|
const t4 = t3.firstChild;
|
|
76
76
|
const t5 = t3.nextSibling;
|
|
77
77
|
const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, a1: t1, a2: t4, w: 0, v0: null, v1: false, v2: null, v3: null, v4: null, v5: "", v6: "", a3: t5, e0: t5.nextSibling, b0: undefined };
|
|
78
|
-
p4(r, -1,
|
|
78
|
+
p4(r, -1, emptyDirty);
|
|
79
79
|
return r;
|
|
80
80
|
};
|
|
81
81
|
const p4 = (r, c, d) => {
|