@threadlabs/looma 0.52.12 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/shared/overlay.js +7 -0
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +2 -2
- package/components/ui-meter/ui-meter.html +1 -1
- package/dist/index.js +1 -1
- package/docs/catalog.json +1 -1
- package/editor/components.css +19 -19
- package/editor/index.js +1125 -853
- package/package.json +3 -3
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-calendar.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card-group.css +1 -1
- package/styles/ui-card.css +1 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-color-picker.css +1 -1
- package/styles/ui-column.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-compact-content.css +1 -1
- package/styles/ui-compact-editor.css +1 -1
- package/styles/ui-compact-mark.css +1 -1
- package/styles/ui-compact-node.css +1 -1
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-curve-editor.css +1 -1
- package/styles/ui-cycle-button.css +1 -1
- package/styles/ui-data-table.css +1 -1
- 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 +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +1 -1
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-editor.css +1 -1
- package/styles/ui-file-input.css +1 -1
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-light-editor.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +1 -1
- package/styles/ui-meter.css +1 -1
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-notice-stripe.css +1 -1
- package/styles/ui-number-input.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +1 -1
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-segmented-control.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-site-header.css +1 -1
- package/styles/ui-skeleton.css +1 -1
- package/styles/ui-slider.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-time-field.css +1 -1
- package/styles/ui-time-picker.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/styles/ui-wizard.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +14 -12
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +13 -11
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +27 -25
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +26 -23
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +14 -12
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +14 -13
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +10 -10
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +187 -244
- package/vanilla/UiCalendar.d.ts +1 -1
- package/vanilla/UiCalendar.js +272 -193
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +32 -27
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +72 -69
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +17 -15
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +32 -30
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +20 -18
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +22 -20
- package/vanilla/UiColumn.d.ts +2 -2
- package/vanilla/UiColumn.js +18 -15
- package/vanilla/UiCombobox.d.ts +3 -3
- package/vanilla/UiCombobox.js +237 -174
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +13 -8
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +17 -12
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +47 -45
- package/vanilla/UiCompactNode.d.ts +2 -2
- package/vanilla/UiCompactNode.js +37 -33
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +13 -11
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +11 -9
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +13 -11
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +40 -38
- package/vanilla/UiCycleButton.d.ts +2 -2
- package/vanilla/UiCycleButton.js +31 -26
- package/vanilla/UiDataTable.d.ts +1 -1
- package/vanilla/UiDataTable.js +26 -20
- package/vanilla/UiDateField.d.ts +1 -1
- package/vanilla/UiDateField.js +78 -75
- package/vanilla/UiDatePicker.d.ts +1 -1
- package/vanilla/UiDatePicker.js +155 -149
- package/vanilla/UiDateRangePicker.d.ts +1 -1
- package/vanilla/UiDateRangePicker.js +136 -128
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +13 -11
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +13 -11
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +14 -14
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +28 -26
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +29 -27
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +62 -58
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +14 -12
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +22 -14
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +23 -16
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +17 -9
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +108 -71
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +68 -66
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +50 -35
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +27 -25
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +79 -57
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +63 -44
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +22 -16
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +52 -33
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +19 -14
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +27 -25
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +13 -11
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +81 -52
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +107 -68
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +121 -70
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +20 -12
- package/vanilla/UiFileInput.d.ts +1 -1
- package/vanilla/UiFileInput.js +94 -80
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +21 -20
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +21 -19
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +26 -23
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +20 -15
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +35 -43
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +16 -14
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +29 -35
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +16 -14
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +29 -27
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +33 -27
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +12 -12
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +90 -80
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +20 -12
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +14 -11
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +74 -75
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +67 -62
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +63 -65
- package/vanilla/UiNoticeStripe.d.ts +1 -1
- package/vanilla/UiNoticeStripe.js +16 -16
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +41 -38
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +17 -15
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +53 -44
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +13 -11
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +25 -23
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +33 -36
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +20 -12
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +13 -11
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +21 -20
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +16 -14
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +48 -45
- package/vanilla/UiSegmentedControl.d.ts +2 -2
- package/vanilla/UiSegmentedControl.js +52 -47
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +17 -21
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +12 -12
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +17 -15
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +25 -23
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +21 -20
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +50 -47
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +34 -27
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +12 -12
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +22 -21
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +20 -17
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +25 -23
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +13 -11
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +13 -11
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +39 -28
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +128 -125
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +27 -39
- package/vanilla/UiTimeField.d.ts +1 -1
- package/vanilla/UiTimeField.js +42 -40
- package/vanilla/UiTimePicker.d.ts +1 -1
- package/vanilla/UiTimePicker.js +105 -102
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +14 -14
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +61 -31
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +17 -14
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +24 -22
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +17 -12
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +73 -79
- package/vanilla/UiWizard.d.ts +1 -1
- package/vanilla/UiWizard.js +61 -40
package/vanilla/UiWizard.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, binaryValue, buildTemplate, clearRegion,
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.92 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, checkedReferenceValue, equalValue, binaryValue, buildTemplate, clearRegion, formatCall, NONCONFORMING, notValue, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, truthyValue, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, PositionalList, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, ABSENT, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, forwardAttributes, resetForwardedAttributes, defineComponent, activateModule, add } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-wizard/ui-wizard.js";
|
|
4
4
|
import "../styles/ui-wizard.css";
|
|
5
5
|
|
|
@@ -9,6 +9,9 @@ const T2 = ["ui-icon",["name","check"]];
|
|
|
9
9
|
const T3 = ["span",[],0];
|
|
10
10
|
const T4 = ["span",["class","status"],"Completed: "];
|
|
11
11
|
const T5 = ["",[]];
|
|
12
|
+
const RC0 = ["b", "boolean"];
|
|
13
|
+
const RC1 = ["s", "string"];
|
|
14
|
+
const RC2 = ["n", "number"];
|
|
12
15
|
let P0, P1, P2, P3, P4, P5;
|
|
13
16
|
const emptyDirty = new Map();
|
|
14
17
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-wizard", d: { "navigate": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs };
|
|
@@ -16,12 +19,9 @@ const D = { g: "ui-wizard", props: { "disabled": { "required":false,"default":fa
|
|
|
16
19
|
const C = (host) => activateModule(controller, host);
|
|
17
20
|
|
|
18
21
|
export function createUiWizard(options = {}, html) {
|
|
19
|
-
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
22
|
+
const { attributes: authoredAttributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
23
|
+
const attributes = Object.fromEntries([...[], ...Object.entries(authoredAttributes)].filter(([name]) => !["disabled","label","steps","value"].includes(name)));
|
|
20
24
|
const element = document.createElement("div");
|
|
21
|
-
for (const [name, value] of Object.entries(attributes)) {
|
|
22
|
-
if (value === null || value === undefined || value === false) continue;
|
|
23
|
-
element.setAttribute(name, value === true ? "" : String(value));
|
|
24
|
-
}
|
|
25
25
|
element.setAttribute("component", "ui-wizard");
|
|
26
26
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
27
27
|
const v = [null, null, null, null];
|
|
@@ -43,61 +43,77 @@ export function createUiWizard(options = {}, html) {
|
|
|
43
43
|
const o = r.i;
|
|
44
44
|
if (c & 1073741824) r.w = 0;
|
|
45
45
|
if (c & 1073741832) {
|
|
46
|
-
const x0 = trackContainer(r, readIndex(recordValue(["true","false"], ["current", readIndex({ "true": "complete", "false": "upcoming" }, textCall("concat", [trackContainer(r,
|
|
46
|
+
const x0 = trackContainer(r, readIndex(recordValue(["true","false"], ["current", readIndex({ "true": "complete", "false": "upcoming" }, textCall("concat", [trackContainer(r, ((q) => q === ABSENT || q == null ? false : q)(checkedReferenceValue(S, readMember(o, "complete"), RC0, "expression:{ true: 'current', false: { true: 'complete', false: 'upcoming' }[concat(default($step.complete, false))] }[concat($step.value = $value)]:step.complete", "step.complete")))]))]), textCall("concat", [equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:{ true: 'current', false: { true: 'complete', false: 'upcoming' }[concat(default($step.complete, false))] }[concat($step.value = $value)]:step.value", "step.value"), v[3])])));
|
|
47
47
|
if (x0 !== NONCONFORMING) {
|
|
48
48
|
const s0 = toAttribute(x0, "data-state");
|
|
49
49
|
if (s0 !== r.v0) writeAttribute(r.n, "data-state", r.v0 = s0);
|
|
50
50
|
}
|
|
51
|
-
const x1 = (readMember(o, "value")
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
const x1 = equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:$step.value = $value:step.value", "step.value"), v[3]);
|
|
52
|
+
if (x1 !== NONCONFORMING) {
|
|
53
|
+
const s1 = toAttribute(x1, "selected");
|
|
54
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "selected", r.v1 = s1);
|
|
55
|
+
}
|
|
54
56
|
}
|
|
55
57
|
if (c & 1073741825) {
|
|
56
|
-
const x2 = (
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
const x2 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, ((q) => q === ABSENT || q == null ? false : q)(checkedReferenceValue(S, readMember(o, "disabled"), RC0, "expression:$disabled or default($step.disabled, false):step.disabled", "step.disabled")))))(truthy(v[0]));
|
|
59
|
+
if (x2 !== NONCONFORMING) {
|
|
60
|
+
const s2 = toAttribute(x2, "disabled");
|
|
61
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "disabled", r.v2 = s2);
|
|
62
|
+
}
|
|
59
63
|
}
|
|
60
64
|
if (c & 1073741824) {
|
|
61
|
-
const x3 = trackContainer(r, readMember(o, "href"));
|
|
62
|
-
|
|
63
|
-
|
|
65
|
+
const x3 = trackContainer(r, checkedReferenceValue(S, readMember(o, "href"), RC1, "expression:$step.href:step.href", "step.href"));
|
|
66
|
+
if (x3 !== NONCONFORMING) {
|
|
67
|
+
const s3 = toAttribute(x3, "href");
|
|
68
|
+
if (s3 !== r.v3) writeUrlAttribute(r.a1, "href", r.v3 = s3);
|
|
69
|
+
}
|
|
64
70
|
}
|
|
65
71
|
if (c & 1073741832) {
|
|
66
|
-
const x4 = trackContainer(r, readIndex({ "true": "step", "false": null }, textCall("concat", [(readMember(o, "value")
|
|
72
|
+
const x4 = trackContainer(r, readIndex({ "true": "step", "false": null }, textCall("concat", [equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:{ true: 'step', false: null }[concat($step.value = $value)]:step.value", "step.value"), v[3])])));
|
|
67
73
|
if (x4 !== NONCONFORMING) {
|
|
68
74
|
const s4 = toAttribute(x4, "aria-current");
|
|
69
75
|
if (s4 !== r.v4) writeAttribute(r.a1, "aria-current", r.v4 = s4);
|
|
70
76
|
}
|
|
71
|
-
const x5 = textCall("concat", [(readMember(o, "value")
|
|
77
|
+
const x5 = textCall("concat", [equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:concat($step.value = $value):step.value", "step.value"), v[3])]);
|
|
72
78
|
if (x5 !== NONCONFORMING) {
|
|
73
79
|
const s6 = toAttribute(x5, "data-current");
|
|
74
80
|
if (s6 !== r.v6) writeAttribute(r.a2, "data-current", r.v6 = s6);
|
|
75
81
|
}
|
|
76
|
-
const x6 = textCall("concat", [(
|
|
82
|
+
const x6 = textCall("concat", [((q) => q === NONCONFORMING ? q : q ? truthyValue(equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:concat(default($step.complete, false) and $step.value != $value):step.value", "step.value"), v[3], true)) : false)(truthyValue(trackContainer(r, ((q) => q === ABSENT || q == null ? false : q)(checkedReferenceValue(S, readMember(o, "complete"), RC0, "expression:concat(default($step.complete, false) and $step.value != $value):step.complete", "step.complete")))))]);
|
|
77
83
|
if (x6 !== NONCONFORMING) {
|
|
78
84
|
const s7 = toAttribute(x6, "data-complete");
|
|
79
85
|
if (s7 !== r.v7) writeAttribute(r.a2, "data-complete", r.v7 = s7);
|
|
80
86
|
}
|
|
81
87
|
}
|
|
82
88
|
if (c & 1073741824) {
|
|
83
|
-
const x7 = trackContainer(r, readMember(o, "value"));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
const x7 = trackContainer(r, checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:$step.value:step.value", "step.value"));
|
|
90
|
+
if (x7 !== NONCONFORMING) {
|
|
91
|
+
const s5 = toAttribute(x7, "data-wizard-value");
|
|
92
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "data-wizard-value", r.v5 = s5);
|
|
93
|
+
}
|
|
94
|
+
const x8 = trackContainer(r, checkedReferenceValue(S, readMember(o, "label"), RC1, "expression:$step.label:step.label", "step.label"));
|
|
95
|
+
if (x8 !== NONCONFORMING) {
|
|
96
|
+
const s8 = toText(x8);
|
|
97
|
+
if (s8 !== r.v8) r.a6.data = r.v8 = s8;
|
|
98
|
+
}
|
|
89
99
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
100
|
+
let t0;
|
|
101
|
+
if (c & 1073741832 && (t0 = truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:$step.complete and $step.value != $value:step.value", "step.value"), v[3], true)) : false)(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "complete"), RC0, "expression:$step.complete and $step.value != $value:step.complete", "step.complete")))))) !== NONCONFORMING && !t0 !== !r.b0) {
|
|
102
|
+
r.b0 = undefined;
|
|
103
|
+
clearRegion(r.a3, r.e0);
|
|
104
|
+
if (t0) { r.b0 = m2(d); r.e0.before(r.b0.n); }
|
|
93
105
|
} else if (r.b0 !== undefined) p2(r.b0, c, d);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
106
|
+
let t1;
|
|
107
|
+
if (c & 1073741832 && (t1 = truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:not $step.complete or $step.value = $value:step.value", "step.value"), v[3])))(truthyValue(notValue(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "complete"), RC0, "expression:not $step.complete or $step.value = $value:step.complete", "step.complete")))))))) !== NONCONFORMING && !t1 !== !r.b1) {
|
|
108
|
+
r.b1 = undefined;
|
|
109
|
+
clearRegion(r.a4, r.e1);
|
|
110
|
+
if (t1) { r.b1 = m3(d, undefined, r); r.e1.before(r.b1.n); }
|
|
97
111
|
} else if (r.b1 !== undefined) p3(r.b1, c, d);
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
112
|
+
let t2;
|
|
113
|
+
if (c & 1073741832 && (t2 = truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(equalValue(checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:$step.complete and $step.value != $value:step.value", "step.value"), v[3], true)) : false)(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "complete"), RC0, "expression:$step.complete and $step.value != $value:step.complete", "step.complete")))))) !== NONCONFORMING && !t2 !== !r.b2) {
|
|
114
|
+
r.b2 = undefined;
|
|
115
|
+
clearRegion(r.a5, r.e2);
|
|
116
|
+
if (t2) { r.b2 = m4(d); r.e2.before(r.b2.n); }
|
|
101
117
|
} else if (r.b2 !== undefined) p4(r.b2, c, d);
|
|
102
118
|
};
|
|
103
119
|
const m2 = (d) => {
|
|
@@ -117,7 +133,7 @@ export function createUiWizard(options = {}, html) {
|
|
|
117
133
|
};
|
|
118
134
|
const p3 = (r, c, d) => {
|
|
119
135
|
if (c & -1073741824) {
|
|
120
|
-
const x0 = formatCall("format", [binaryValue("+", r.u.j, 1, undefined, undefined, add), "number"], "number");
|
|
136
|
+
const x0 = formatCall("format", [binaryValue("+", checkedReferenceValue(S, r.u.j, RC2, "expression:format($index + 1, 'number'):index", "index"), 1, undefined, undefined, add), "number"], "number");
|
|
121
137
|
if (x0 !== NONCONFORMING) {
|
|
122
138
|
const s0 = toText(x0);
|
|
123
139
|
if (s0 !== r.v0) r.a0.data = r.v0 = s0;
|
|
@@ -141,23 +157,28 @@ export function createUiWizard(options = {}, html) {
|
|
|
141
157
|
const p5 = (r, c, d) => {
|
|
142
158
|
};
|
|
143
159
|
const p0 = (r, c, d) => {
|
|
160
|
+
if (c === -1) {
|
|
161
|
+
resetForwardedAttributes(r.n, attributes, r.v0);
|
|
162
|
+
r.v0 = forwardAttributes(r.n, attributes);
|
|
163
|
+
}
|
|
144
164
|
if (c & 2) {
|
|
145
165
|
const x0 = v[1];
|
|
146
|
-
const
|
|
147
|
-
if (
|
|
166
|
+
const s1 = toAttribute(x0, "aria-label");
|
|
167
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "aria-label", r.v1 = s1);
|
|
148
168
|
}
|
|
149
169
|
if (c & 1073741828) r.L0.update(v[2], d, c);
|
|
150
170
|
if (c !== -1 && c & 9) r.L0.each(c, d);
|
|
151
|
-
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.
|
|
171
|
+
if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a3, r.e1, "", J, false, undefined, d);
|
|
152
172
|
if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m5(d); at.before(r.b1.n); } }
|
|
153
173
|
else if (r.b1 !== undefined) p5(r.b1, c, d);
|
|
154
174
|
};
|
|
155
175
|
const t0 = element.firstChild.nextSibling;
|
|
156
176
|
const t1 = t0.firstChild.nextSibling.firstChild.nextSibling;
|
|
157
177
|
const t2 = t0.nextSibling.nextSibling.firstChild;
|
|
158
|
-
const R = {
|
|
178
|
+
const R = { n: element, a1: t0, v0: undefined, v1: null, L0: new PositionalList(t1, t1.nextSibling, m1, p1, (o) => readMember(o, "value"), "step"), a3: t2, e1: t2.nextSibling, b1: undefined, f1: undefined };
|
|
159
179
|
const I = { B };
|
|
160
180
|
const J = project(I, children, slots);
|
|
181
|
+
I.F = { values: attributes, draw: () => ((c, d) => p0(R, c, d))(-1) };
|
|
161
182
|
attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
|
|
162
183
|
manageProps(I);
|
|
163
184
|
return element;
|