@threadlabs/looma 0.51.5 → 0.52.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/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-card/ui-card.html +7 -0
- 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/dist/index.js +14 -8
- package/docs/catalog.json +592 -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 +40 -35
- 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/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 +2 -1
- package/vanilla/UiCard.js +18 -18
- 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/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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-editor-slash-menu-item.css";
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ export function createUiEditorSlashMenuItem(options = {}, html) {
|
|
|
19
19
|
}
|
|
20
20
|
if (!element.hasAttribute("role")) element.setAttribute("role", "option");
|
|
21
21
|
if (!element.hasAttribute("tabindex")) element.setAttribute("tabindex", "-1");
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-editor-slash-menu-item");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
24
|
const v = [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.82 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-editor-surface.css";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ export function createUiEditorSurface(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-editor-surface");
|
|
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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorTableContextMenuEventMap {
|
|
3
3
|
action: CustomEvent<{ readonly action: "align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "toggle-header-row" | "toggle-header-column" | "move-row-up" | "move-row-down" | "move-column-left" | "move-column-right" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table" }>;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-table-context-menu/ui-editor-table-context-menu.js";
|
|
4
4
|
import "../styles/ui-editor-table-context-menu.css";
|
|
@@ -9,7 +9,7 @@ const T2 = ["button",["type","button","class","swatch-button","role","menuitemra
|
|
|
9
9
|
const T3 = ["",[],"\n ",["div",["class","sep"]],"\n ",["div",["class","section","role","none"],"\n ",["div",["class","heading","role","presentation"],0],"\n ",2,"\n "],"\n "];
|
|
10
10
|
const T4 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
|
|
11
11
|
let P0, P1, P2, P3, P4;
|
|
12
|
-
const
|
|
12
|
+
const emptyDirty = new Map();
|
|
13
13
|
const S = { n: ["swatches","sections"], t: [["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]]], f: import.meta.url, g: "ui-editor-table-context-menu", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], []] };
|
|
14
14
|
const D = { g: "ui-editor-table-context-menu", props: { "actions": { "required":false, c: checkList(checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]})), j: 1, m: ["l",["p",formatOf(keywordFormat)]] }, "cellBackground": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "headerColumn": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "headerRow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "scope": { "required":false,"values":["cell","row","column"],"default":"cell", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
15
15
|
const C = (host) => activateModule(controller, host);
|
|
@@ -22,7 +22,8 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
22
22
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
23
23
|
}
|
|
24
24
|
if (!element.hasAttribute("role")) element.setAttribute("role", "menu");
|
|
25
|
-
element.setAttribute("
|
|
25
|
+
if (!element.hasAttribute("popover")) element.setAttribute("popover", "manual");
|
|
26
|
+
element.setAttribute("component", "ui-editor-table-context-menu");
|
|
26
27
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
27
28
|
const v = [[], [], null, null, null, null, null, null];
|
|
28
29
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -41,7 +42,7 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
41
42
|
const t0 = n.firstChild.nextSibling;
|
|
42
43
|
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
43
44
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: null, v2: null, v3: false, v4: undefined, v5: "" };
|
|
44
|
-
p2(r, -1,
|
|
45
|
+
p2(r, -1, emptyDirty);
|
|
45
46
|
return r;
|
|
46
47
|
};
|
|
47
48
|
const p2 = (r, c, d) => {
|
|
@@ -77,7 +78,7 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
77
78
|
n.prepend(s);
|
|
78
79
|
n.append(t);
|
|
79
80
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t2, w: 0, v0: "", L0: new KeyedList(t3, t3.nextSibling, m4, p4, (o) => readMember(o, "action"), "item") };
|
|
80
|
-
p3(r, -1,
|
|
81
|
+
p3(r, -1, emptyDirty);
|
|
81
82
|
return r;
|
|
82
83
|
};
|
|
83
84
|
const p3 = (r, c, d) => {
|
|
@@ -95,7 +96,7 @@ export function createUiEditorTableContextMenu(options = {}, html) {
|
|
|
95
96
|
const t0 = n.firstChild.nextSibling;
|
|
96
97
|
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
97
98
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: false, v3: null, v4: null, v5: "" };
|
|
98
|
-
p4(r, -1,
|
|
99
|
+
p4(r, -1, emptyDirty);
|
|
99
100
|
return r;
|
|
100
101
|
};
|
|
101
102
|
const p4 = (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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorTableOverlayEventMap {
|
|
3
3
|
"add-row-before": CustomEvent<{ readonly boundaryIndex: number }>;
|
|
4
4
|
"add-row-after": CustomEvent<{ readonly boundaryIndex: number }>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, NONCONFORMING, readDeclared, readMember, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkInteger, checkList, checkNumber, checkObject, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-table-overlay/ui-editor-table-overlay.js";
|
|
4
4
|
import "../styles/ui-editor-table-overlay.css";
|
|
@@ -10,7 +10,7 @@ const T3 = ["div",["class","control col"],"\n ",["span",["class","line","
|
|
|
10
10
|
const T4 = ["",[],"\n ",["button",["type","button","class","selector row","data-action","select-row","title","Drag row to reorder; click for actions","aria-label","Row actions"],"\n ",["span",["class","glyph"],["ui-icon",["name","grip-vertical"]]],"\n "],"\n ",["button",["type","button","class","selector column","data-action","select-column","title","Drag column to reorder; click for actions","aria-label","Column actions"],"\n ",["span",["class","glyph"],["ui-icon",["name","grip-horizontal"]]],"\n "],"\n "];
|
|
11
11
|
const T5 = ["button",["type","button","class","cell-menu","data-action","open-cell-menu","title","Cell actions","aria-label","Cell actions"],"\n ",["ui-icon",["name","chevron-down"]],"\n "];
|
|
12
12
|
let P0, P1, P2, P3, P4, P5;
|
|
13
|
-
const
|
|
13
|
+
const emptyDirty = new Map();
|
|
14
14
|
const S = { n: ["rows","cols","hovered","active","activeKey"], t: [["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat)],"action",["p",formatOf(keywordFormat)],"label","s"]]],["l",["o",["key","s","index","i","offset","s","affordance",["p",formatOf(keywordFormat)],"action",["p",formatOf(keywordFormat)],"label","s"]]],["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","rowOffset","s","columnOffset","s"]],["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i","menuLeft","s","menuTop","s"]],"s"], f: import.meta.url, g: "ui-editor-table-overlay", d: { "add-row-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-row-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-before": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "add-column-after": [detailCheck(checkObject([["boundaryIndex", checkInteger, false]], false)), true, true, false], "select-row": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "select-column": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false)), true, true, false], "reorder-row": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "reorder-column": [detailCheck(checkObject([["fromIndex", checkInteger, false], ["toIndex", checkInteger, false]], false)), true, true, false], "open-cell-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-row-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false], "open-column-menu": [detailCheck(checkObject([["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false], ["anchor", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["right", checkNumber, false], ["bottom", checkNumber, false]], false), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], [], null, null, ""] };
|
|
15
15
|
const D = { g: "ui-editor-table-overlay", props: { "geometry": { "required":false, c: checkObject([["rowBoundaries", checkList(checkNumber), false], ["columnBoundaries", checkList(checkNumber), false], ["activeCell", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["width", checkNumber, false], ["height", checkNumber, false], ["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false), true], ["hoveredCell", checkObject([["left", checkNumber, false], ["top", checkNumber, false], ["width", checkNumber, false], ["height", checkNumber, false], ["rowIndex", checkInteger, false], ["columnIndex", checkInteger, false]], false), true]], false), j: 1, m: ["o",["rowBoundaries",["l","n"],"columnBoundaries",["l","n"],"activeCell",["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i"]],"hoveredCell",["o",["left","n","top","n","width","n","height","n","rowIndex","i","columnIndex","i"]]]] }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
16
16
|
const C = (host) => activateModule(controller, host);
|
|
@@ -23,7 +23,7 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
23
23
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
24
24
|
}
|
|
25
25
|
if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Table controls");
|
|
26
|
-
element.setAttribute("
|
|
26
|
+
element.setAttribute("component", "ui-editor-table-overlay");
|
|
27
27
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
28
28
|
const v = [[], [], null, null, "", null, null];
|
|
29
29
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -41,7 +41,7 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
41
41
|
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;
|
|
42
42
|
const t1 = t0.firstChild.nextSibling.nextSibling.nextSibling.firstChild;
|
|
43
43
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: undefined, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "" };
|
|
44
|
-
p2(r, -1,
|
|
44
|
+
p2(r, -1, emptyDirty);
|
|
45
45
|
return r;
|
|
46
46
|
};
|
|
47
47
|
const p2 = (r, c, d) => {
|
|
@@ -80,7 +80,7 @@ export function createUiEditorTableOverlay(options = {}, html) {
|
|
|
80
80
|
const t0 = n.firstChild.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling;
|
|
81
81
|
const t1 = t0.firstChild.nextSibling.nextSibling.nextSibling.firstChild;
|
|
82
82
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: undefined, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "" };
|
|
83
|
-
p3(r, -1,
|
|
83
|
+
p3(r, -1, emptyDirty);
|
|
84
84
|
return r;
|
|
85
85
|
};
|
|
86
86
|
const p3 = (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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiEditorTableToolbarEventMap {
|
|
3
3
|
action: CustomEvent<{ readonly action: "align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "toggle-header-row" | "toggle-header-column" | "move-row-up" | "move-row-down" | "move-column-left" | "move-column-right" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table" }>;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, KeyedList, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-table-toolbar/ui-editor-table-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-table-toolbar.css";
|
|
@@ -17,7 +17,7 @@ const T10 = ["button",["type","button","class","swatch-button","role","menuitemr
|
|
|
17
17
|
const T11 = ["div",["class","menu-section divided","role","none"],"\n ",["div",["class","menu-heading","role","presentation"],0],"\n ",2,"\n "];
|
|
18
18
|
const T12 = ["button",["type","button"],"\n ",["ui-icon",[]],"\n ",["span",[],0],"\n "];
|
|
19
19
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12;
|
|
20
|
-
const
|
|
20
|
+
const emptyDirty = new Map();
|
|
21
21
|
const S = { n: ["alignments","structure","swatches","sections","hasOverflow","overflowOpen"], t: [["l",["o",["action",["p",formatOf(keywordFormat)],"label","s","active","b"]]],["l",["o",["action",["p",formatOf(keywordFormat)],"label","s","icon","s"]]],["l",["o",["action","s","label","s","color","s","selected","b"]]],["l",["o",["heading","s","items",["l",["o",["action","s","label","s","icon","s","danger","b","checkable","b","checked","b"]]]]]],"b","b"], f: import.meta.url, g: "ui-editor-table-toolbar", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], [], [], [], false, false] };
|
|
22
22
|
const D = { g: "ui-editor-table-toolbar", props: { "actions": { "required":false, c: checkList(checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["align-left","align-center","align-right","background-none","background-gray","background-yellow","background-blue","background-green","background-red","add-row-before","add-row-after","add-column-before","add-column-after","toggle-header-row","toggle-header-column","move-row-up","move-row-down","move-column-left","move-column-right","clear-cells","merge-cells","split-cell","delete-row","delete-column","delete-table"]})), j: 1, m: ["l",["p",formatOf(keywordFormat)]] }, "cellAlignment": { "required":false,"values":["left","center","right"],"default":"left", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "cellBackground": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "headerColumn": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "headerRow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "open": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
23
23
|
const C = (host) => activateModule(controller, host);
|
|
@@ -31,7 +31,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
31
31
|
}
|
|
32
32
|
if (!element.hasAttribute("role")) element.setAttribute("role", "toolbar");
|
|
33
33
|
if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Table actions");
|
|
34
|
-
element.setAttribute("
|
|
34
|
+
element.setAttribute("component", "ui-editor-table-toolbar");
|
|
35
35
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
36
36
|
const v = [[], [], [], [], false, false, null, null, null, null, null, null];
|
|
37
37
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -49,7 +49,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
49
49
|
const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
|
|
50
50
|
const t0 = n.firstChild.nextSibling;
|
|
51
51
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null };
|
|
52
|
-
p2(r, -1,
|
|
52
|
+
p2(r, -1, emptyDirty);
|
|
53
53
|
return r;
|
|
54
54
|
};
|
|
55
55
|
const p2 = (r, c, d) => {
|
|
@@ -96,7 +96,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
96
96
|
const t0 = n.firstChild.nextSibling;
|
|
97
97
|
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
98
98
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: "" };
|
|
99
|
-
p5(r, -1,
|
|
99
|
+
p5(r, -1, emptyDirty);
|
|
100
100
|
return r;
|
|
101
101
|
};
|
|
102
102
|
const p5 = (r, c, d) => {
|
|
@@ -171,7 +171,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
171
171
|
const t0 = n.firstChild.nextSibling;
|
|
172
172
|
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
173
173
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: false, v1: null, v2: null, v3: false, v4: undefined, v5: "" };
|
|
174
|
-
p10(r, -1,
|
|
174
|
+
p10(r, -1, emptyDirty);
|
|
175
175
|
return r;
|
|
176
176
|
};
|
|
177
177
|
const p10 = (r, c, d) => {
|
|
@@ -203,7 +203,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
203
203
|
const t1 = t0.firstChild;
|
|
204
204
|
const t2 = t0.nextSibling.nextSibling;
|
|
205
205
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a0: t1, w: 0, v0: "", L0: new KeyedList(t2, t2.nextSibling, m12, p12, (o) => readMember(o, "action"), "item") };
|
|
206
|
-
p11(r, -1,
|
|
206
|
+
p11(r, -1, emptyDirty);
|
|
207
207
|
return r;
|
|
208
208
|
};
|
|
209
209
|
const p11 = (r, c, d) => {
|
|
@@ -221,7 +221,7 @@ export function createUiEditorTableToolbar(options = {}, html) {
|
|
|
221
221
|
const t0 = n.firstChild.nextSibling;
|
|
222
222
|
const t1 = t0.nextSibling.nextSibling.firstChild;
|
|
223
223
|
const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, a2: t1, w: 0, v0: null, v1: null, v2: false, v3: null, v4: null, v5: "" };
|
|
224
|
-
p12(r, -1,
|
|
224
|
+
p12(r, -1, emptyDirty);
|
|
225
225
|
return r;
|
|
226
226
|
};
|
|
227
227
|
const p12 = (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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-editor-toolbar/ui-editor-toolbar.js";
|
|
4
4
|
import "../styles/ui-editor-toolbar.css";
|
|
@@ -19,7 +19,7 @@ export function createUiEditorToolbar(options = {}, html) {
|
|
|
19
19
|
}
|
|
20
20
|
if (!element.hasAttribute("role")) element.setAttribute("role", "toolbar");
|
|
21
21
|
if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Editor toolbar");
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-editor-toolbar");
|
|
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);
|
package/vanilla/UiFileInput.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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiFileInputEventMap {
|
|
3
3
|
change: CustomEvent<{ readonly files: readonly (unknown)[]; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
reject: CustomEvent<{ readonly files: readonly (unknown)[]; readonly message: string }>;
|
package/vanilla/UiFileInput.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, checkReference, formatCall, NONCONFORMING, readDeclared, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkList, checkNumber, checkObject, checkString, checkUnknown, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-file-input/ui-file-input.js";
|
|
4
4
|
import "../styles/ui-file-input.css";
|
|
@@ -8,7 +8,7 @@ const T1 = ["",[],"Drop files here, or choose files below."];
|
|
|
8
8
|
const T2 = ["",[],"\n ",["ui-list-item",["wrap","","align","title"],0,["span",["slot","description"],0],["ui-icon-button",["slot","trailing","data-file-remove","","size","sm","variant","ghost","tone","neutral"],["ui-icon",["name","x"]]]],"\n "];
|
|
9
9
|
const T3 = ["",[]];
|
|
10
10
|
let P0, P1, P2, P3;
|
|
11
|
-
const
|
|
11
|
+
const emptyDirty = new Map();
|
|
12
12
|
const S = { n: ["enhanced","dragging","invalidSelection","error","files"], t: ["b","b","b","s",["l",["o",["id","s","name","s","size","n"]]]], f: import.meta.url, g: "ui-file-input", d: { "change": [detailCheck(checkObject([["files", checkList(checkUnknown), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "reject": [detailCheck(checkObject([["files", checkList(checkUnknown), false], ["message", checkString, false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [false, false, false, "", []] };
|
|
13
13
|
const D = { g: "ui-file-input", props: { "accept": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "form": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "inputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"Files", c: checkString, t: "string", j: 0, m: "s" }, "locale": { "required":false,"default":"en-US", c: checkString, t: "string", j: 0, m: "s" }, "maxFileSize": { "required":false,"min":0, c: checkNumber, t: "number", j: 0, m: "n", k: boundFailures }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "removeLabel": { "required":false,"default":"Remove", c: checkString, t: "string", j: 0, m: "s" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" } } };
|
|
14
14
|
const C = (host) => activateModule(controller, host);
|
|
@@ -22,7 +22,7 @@ export function createUiFileInput(options = {}, html) {
|
|
|
22
22
|
}
|
|
23
23
|
if (!element.hasAttribute("padding")) element.setAttribute("padding", "sm");
|
|
24
24
|
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
25
|
-
element.setAttribute("
|
|
25
|
+
element.setAttribute("component", "ui-file-input");
|
|
26
26
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
27
27
|
const v = [false, false, false, "", [], null, null, null, null, null, null, null, null, null, null, null, null];
|
|
28
28
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -45,7 +45,7 @@ export function createUiFileInput(options = {}, html) {
|
|
|
45
45
|
n.prepend(s);
|
|
46
46
|
n.append(t);
|
|
47
47
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t1, a1: t3, a2: t4, w: 0, v0: "", v1: "", v2: null, v3: null, v4: null };
|
|
48
|
-
p2(r, -1,
|
|
48
|
+
p2(r, -1, emptyDirty);
|
|
49
49
|
return r;
|
|
50
50
|
};
|
|
51
51
|
const p2 = (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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiFloatingActionButtonEventMap {
|
|
3
3
|
}
|
|
4
4
|
export interface UiFloatingActionButtonElement extends HTMLButtonElement {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-floating-action-button.css";
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ export function createUiFloatingActionButton(options = {}, html) {
|
|
|
16
16
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
17
17
|
}
|
|
18
18
|
if (!element.hasAttribute("type")) element.setAttribute("type", "button");
|
|
19
|
-
element.setAttribute("
|
|
19
|
+
element.setAttribute("component", "ui-floating-action-button");
|
|
20
20
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
21
21
|
const v = [null, null, null];
|
|
22
22
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiFormField.d.ts
CHANGED
package/vanilla/UiFormField.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-form-field/ui-form-field.js";
|
|
4
4
|
import "../styles/ui-form-field.css";
|
|
@@ -21,7 +21,7 @@ export function createUiFormField(options = {}, html) {
|
|
|
21
21
|
if (value === null || value === undefined || value === false) continue;
|
|
22
22
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
23
23
|
}
|
|
24
|
-
element.setAttribute("
|
|
24
|
+
element.setAttribute("component", "ui-form-field");
|
|
25
25
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
26
26
|
const v = [null, null, null];
|
|
27
27
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiGrid.d.ts
CHANGED
package/vanilla/UiGrid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, binaryValue, buildTemplate, clearRegion, readMember, toAttribute, toText, trackContainer, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, RangedIndexedList, checkBoolean, checkFormat, checkInteger, checkList, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-grid.css";
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ const T2 = ["span",["class","column-shade","aria-hidden","true"]];
|
|
|
8
8
|
const T3 = ["span",["class","selection-band","aria-hidden","true"]];
|
|
9
9
|
const T4 = ["",[]];
|
|
10
10
|
let P0, P1, P2, P3, P4;
|
|
11
|
-
const
|
|
11
|
+
const emptyDirty = new Map();
|
|
12
12
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-grid", b: generatedInputs };
|
|
13
13
|
const D = { g: "ui-grid", props: { "columns": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "fixed": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "gap": { "required":false,"values":["none","xs","s","m","l","xl"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "min": { "required":false,"values":["sm","md","lg"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "selectionEnd": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "selectionStart": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "shadeTone": { "required":false,"values":["neutral","accent"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "shadedColumns": { "required":false,"default":[], c: checkList(checkInteger), j: 1, m: ["l","i"] } } };
|
|
14
14
|
|
|
@@ -19,7 +19,7 @@ export function createUiGrid(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-grid");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
24
|
const v = [null, null, null, null, null, null, null, null];
|
|
25
25
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -30,7 +30,7 @@ export function createUiGrid(options = {}, html) {
|
|
|
30
30
|
n.prepend(s);
|
|
31
31
|
n.append(t);
|
|
32
32
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, e0: t0.nextSibling, b0: undefined };
|
|
33
|
-
p1(r, -1,
|
|
33
|
+
p1(r, -1, emptyDirty);
|
|
34
34
|
return r;
|
|
35
35
|
};
|
|
36
36
|
const p1 = (r, c, d) => {
|
package/vanilla/UiIcon.d.ts
CHANGED
package/vanilla/UiIcon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, readMember, toAttribute, trackContainer, writeAttribute, computedCycle, IndexedList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkBoolean, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-icon.css";
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ const T3 = ["circle",[]];
|
|
|
9
9
|
const T4 = ["rect",[],"\n "];
|
|
10
10
|
const T5 = ["line",[]];
|
|
11
11
|
let P0, P1, P2, P3, P4, P5;
|
|
12
|
-
const
|
|
12
|
+
const emptyDirty = new Map();
|
|
13
13
|
const S = { n: ["shapes"], t: ["?"], f: import.meta.url, g: "ui-icon", k: 0, r: readonlyView, b: generatedInputs };
|
|
14
14
|
const D = { g: "ui-icon", props: { "directional": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "tone": { "required":false,"values":["inherit","secondary","muted"],"default":"inherit", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ export function createUiIcon(options = {}, html) {
|
|
|
21
21
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
22
22
|
}
|
|
23
23
|
if (!element.hasAttribute("aria-hidden")) element.setAttribute("aria-hidden", "true");
|
|
24
|
-
element.setAttribute("
|
|
24
|
+
element.setAttribute("component", "ui-icon");
|
|
25
25
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
26
26
|
const v = [undefined, null, null, null];
|
|
27
27
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -49,7 +49,7 @@ export function createUiIcon(options = {}, html) {
|
|
|
49
49
|
const t2 = t1.nextSibling.nextSibling;
|
|
50
50
|
const t3 = t2.nextSibling.nextSibling;
|
|
51
51
|
const r = { k: undefined, i: o, n, 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, a3: t3, e3: t3.nextSibling, b3: undefined };
|
|
52
|
-
p1(r, -1,
|
|
52
|
+
p1(r, -1, emptyDirty);
|
|
53
53
|
return r;
|
|
54
54
|
};
|
|
55
55
|
const p1 = (r, c, d) => {
|
package/vanilla/UiIconButton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, computedCycle, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, project, fillSlot, readonlyView, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-icon-button/ui-icon-button.js";
|
|
4
4
|
import "../styles/ui-icon-button.css";
|
|
@@ -19,7 +19,7 @@ export function createUiIconButton(options = {}, html) {
|
|
|
19
19
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
20
20
|
}
|
|
21
21
|
if (!element.hasAttribute("type")) element.setAttribute("type", "button");
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-icon-button");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
24
|
const v = [undefined, undefined, 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);
|
package/vanilla/UiImage.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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiImageEventMap {
|
|
3
3
|
resize: CustomEvent<{ readonly width: number; readonly height: number; readonly phase: "preview" | "commit" | "cancel"; readonly trigger: "pointer" | "keyboard" }>;
|
|
4
4
|
}
|
package/vanilla/UiImage.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, writeUrlAttribute, 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-image/ui-image.js";
|
|
4
4
|
import "../styles/ui-image.css";
|
|
@@ -18,7 +18,7 @@ export function createUiImage(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-image");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [null, null, null, null, null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiInput.d.ts
CHANGED
package/vanilla/UiInput.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, NONCONFORMING, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkSelected, checkBoolean, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-input/ui-input.js";
|
|
4
4
|
import "../styles/ui-input.css";
|
|
@@ -14,7 +14,7 @@ export function createUiInput(options = {}, html) {
|
|
|
14
14
|
if (value === null || value === undefined || value === false) continue;
|
|
15
15
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
16
16
|
}
|
|
17
|
-
element.setAttribute("
|
|
17
|
+
element.setAttribute("component", "ui-input");
|
|
18
18
|
const v = [null, null, null, null, null, null, null, null];
|
|
19
19
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
20
20
|
const p0 = (r, c, d) => {
|
package/vanilla/UiInputGroup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-input-group/ui-input-group.js";
|
|
4
4
|
import "../styles/ui-input-group.css";
|
|
@@ -20,7 +20,7 @@ export function createUiInputGroup(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-input-group");
|
|
24
24
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
25
25
|
const v = [null, null, null, null, null];
|
|
26
26
|
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.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiLightEditorEventMap {
|
|
3
3
|
input: CustomEvent<{ readonly x: number; readonly y: number }>;
|
|
4
4
|
change: CustomEvent<{ readonly x: number; readonly y: number }>;
|
package/vanilla/UiLightEditor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, NONCONFORMING, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-light-editor/ui-light-editor.js";
|
|
4
4
|
import "../styles/ui-light-editor.css";
|
|
@@ -17,7 +17,7 @@ export function createUiLightEditor(options = {}, html) {
|
|
|
17
17
|
if (value === null || value === undefined || value === false) continue;
|
|
18
18
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
19
19
|
}
|
|
20
|
-
element.setAttribute("
|
|
20
|
+
element.setAttribute("component", "ui-light-editor");
|
|
21
21
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
22
22
|
const v = ["50", "0", null, null, null, null, null];
|
|
23
23
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiList.d.ts
CHANGED
package/vanilla/UiList.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-list.css";
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ export function createUiList(options = {}, html) {
|
|
|
24
24
|
if (value === null || value === undefined || value === false) continue;
|
|
25
25
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
26
26
|
}
|
|
27
|
-
element.setAttribute("
|
|
27
|
+
element.setAttribute("component", "ui-list");
|
|
28
28
|
} else {
|
|
29
29
|
element = document.createElement("ul");
|
|
30
30
|
for (const [name, value] of Object.entries(attributes)) {
|
|
@@ -32,7 +32,7 @@ export function createUiList(options = {}, html) {
|
|
|
32
32
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
33
33
|
}
|
|
34
34
|
if (!element.hasAttribute("role")) element.setAttribute("role", "list");
|
|
35
|
-
element.setAttribute("
|
|
35
|
+
element.setAttribute("component", "ui-list");
|
|
36
36
|
}
|
|
37
37
|
B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
|
|
38
38
|
const m1 = (d) => {
|