@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/UiCalendar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate,
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.92 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, checkedReferenceValue, referenceSchemaAt, equalValue, stateInitializers, binaryValue, buildTemplate, formatCall, NONCONFORMING, notValue, readFailing, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, truthyValue, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, RangedPositionalList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, forwardAttributes, resetForwardedAttributes, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-calendar/ui-calendar.js";
|
|
4
4
|
import "../styles/ui-calendar.css";
|
|
5
5
|
|
|
@@ -11,6 +11,37 @@ const T4 = ["",[],["ui-grid",["fixed","","columns","3","gap","xs","role","row"],
|
|
|
11
11
|
const T5 = ["",[],["span",["role","gridcell"],["ui-button",["size","sm","stretch","","variant","ghost","shape","pill"],["ui-text",["as","span","wrap","anywhere","align","center"],0]]]];
|
|
12
12
|
const T6 = ["",[],["ui-grid",["fixed","","columns","3","gap","xs","role","row"],2]];
|
|
13
13
|
const T7 = ["",[],["span",["role","gridcell"],["ui-button",["size","sm","stretch","","variant","ghost","shape","pill"],0]]];
|
|
14
|
+
const RC0 = ["s", "string"];
|
|
15
|
+
const RC1 = ["i", "integer"];
|
|
16
|
+
const RC2 = ["b", "boolean"];
|
|
17
|
+
const RC3 = [["l"], "list(object({ day: integer, label: string, fullLabel: string }))"];
|
|
18
|
+
const RC4 = [["l"], "list(list(object({ value: string, day: integer, outside: boolean, label: string, disabled: boolean, selected: boolean, today: boolean, rangeStart: boolean, rangeEnd: boolean, inRange: boolean, tabIndex: integer })))"];
|
|
19
|
+
const RC5 = [["l"], "list(integer)"];
|
|
20
|
+
const RC6 = ["a", "absent"];
|
|
21
|
+
const RC7 = [0, "", { ["start"]: RC1, ["end"]: RC1 }, RC6, RC6];
|
|
22
|
+
const RC8 = [0, "", { }, RC7, 0];
|
|
23
|
+
const RC9 = [0, "", { ["day"]: RC1, ["label"]: RC0, ["fullLabel"]: RC0 }, RC6, RC6];
|
|
24
|
+
const RC10 = [0, "", { }, RC9, 0];
|
|
25
|
+
const RC11 = [["o"], "object({ value: string, day: integer, outside: boolean, label: string, disabled: boolean, selected: boolean, today: boolean, rangeStart: boolean, rangeEnd: boolean, inRange: boolean, tabIndex: integer })"];
|
|
26
|
+
const RC12 = [0, "", { }, RC11, 0];
|
|
27
|
+
const RC13 = [0, "", { }, RC12, 0];
|
|
28
|
+
const RC14 = [0, "", { ["value"]: RC0, ["label"]: RC0, ["fullLabel"]: RC0, ["current"]: RC2, ["outsideBounds"]: RC2, ["disabled"]: RC2, ["tabIndex"]: RC1 }, RC6, RC6];
|
|
29
|
+
const RC15 = [0, "", { }, RC14, 0];
|
|
30
|
+
const RC16 = [0, "", { ["value"]: RC1, ["label"]: RC0, ["current"]: RC2, ["outsideBounds"]: RC2, ["disabled"]: RC2, ["tabIndex"]: RC1 }, RC6, RC6];
|
|
31
|
+
const RC17 = [0, "", { }, RC16, 0];
|
|
32
|
+
const RC18 = [["o"], "object({ value: string, label: string, fullLabel: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer })"];
|
|
33
|
+
const RC19 = [0, "", { }, RC18, 0];
|
|
34
|
+
const RC20 = [0, "", { }, RC19, 0];
|
|
35
|
+
const RC21 = [["o"], "object({ value: integer, label: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer })"];
|
|
36
|
+
const RC22 = [0, "", { }, RC21, 0];
|
|
37
|
+
const RC23 = [0, "", { }, RC22, 0];
|
|
38
|
+
const RC24 = [0, "", { ["rangeBands"]: RC8, ["month"]: 0, ["title"]: 0, ["monthLabel"]: 0, ["yearLabel"]: 0, ["weekStartsOn"]: 0, ["weekendColumns"]: 0, ["weekdays"]: RC10, ["rows"]: RC13, ["focusDate"]: 0, ["empty"]: 0, ["previousMonth"]: 0, ["nextMonth"]: 0, ["months"]: RC15, ["years"]: RC17, ["yearPageStart"]: 0, ["yearPageLabel"]: 0, ["monthRows"]: RC20, ["yearRows"]: RC23 }, 0, 0];
|
|
39
|
+
const RC25 = ["n", "number"];
|
|
40
|
+
const RC26 = [["l"], "list(object({ value: string, day: integer, outside: boolean, label: string, disabled: boolean, selected: boolean, today: boolean, rangeStart: boolean, rangeEnd: boolean, inRange: boolean, tabIndex: integer }))"];
|
|
41
|
+
const RC27 = [["l"], "list(list(object({ value: string, label: string, fullLabel: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer })))"];
|
|
42
|
+
const RC28 = [["l"], "list(object({ value: string, label: string, fullLabel: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer }))"];
|
|
43
|
+
const RC29 = [["l"], "list(list(object({ value: integer, label: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer })))"];
|
|
44
|
+
const RC30 = [["l"], "list(object({ value: integer, label: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer }))"];
|
|
14
45
|
let P0, P1, P2, P3, P4, P5, P6, P7;
|
|
15
46
|
const emptyDirty = new Map();
|
|
16
47
|
const S = { n: ["current","visibleMonth","focusedDate","yearPageStart","mode","viewHeight","yearError"], t: ["s","s","s","i","s","n","s"], f: import.meta.url, g: "ui-calendar", d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "month-change": [detailCheck(checkObject([["month", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [null, null, "", 0, "days", null, ""] };
|
|
@@ -18,12 +49,9 @@ const D = { g: "ui-calendar", props: { "allowedDates": { "required":false, c: ch
|
|
|
18
49
|
const C = (host) => activateModule(controller, host);
|
|
19
50
|
|
|
20
51
|
export function createUiCalendar(options = {}, html) {
|
|
21
|
-
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
52
|
+
const { attributes: authoredAttributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
53
|
+
const attributes = Object.fromEntries([...[], ...Object.entries(authoredAttributes)].filter(([name]) => !["allowed-dates","allowed-ranges","disabled","disabled-dates","disabled-ranges","disabled-weekdays","empty-label","end","label","locale","max","min","model","month","month-label","next-label","previous-label","readonly","start","today","value","week-starts-on","year-error-label","year-label"].includes(name)));
|
|
22
54
|
const element = document.createElement("section");
|
|
23
|
-
for (const [name, value] of Object.entries(attributes)) {
|
|
24
|
-
if (value === null || value === undefined || value === false) continue;
|
|
25
|
-
element.setAttribute(name, value === true ? "" : String(value));
|
|
26
|
-
}
|
|
27
55
|
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
28
56
|
element.setAttribute("component", "ui-calendar");
|
|
29
57
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
@@ -32,7 +60,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
32
60
|
const CS = [];
|
|
33
61
|
const inputStatus = (j) => { if (j === 0) return E.status(j); if (j === 1) return E.status(j); if (j === 7) return awaitInput(B, "allowedDates", true); if (j === 8) return awaitInput(B, "allowedRanges", true); if (j === 9) return awaitInput(B, "disabled", true); if (j === 10) return awaitInput(B, "disabledDates", true); if (j === 11) return awaitInput(B, "disabledRanges", true); if (j === 12) return awaitInput(B, "disabledWeekdays", true); if (j === 13) return awaitInput(B, "emptyLabel", true); if (j === 14) return awaitInput(B, "end", true); if (j === 15) return awaitInput(B, "label", true); if (j === 16) return awaitInput(B, "locale", true); if (j === 17) return awaitInput(B, "max", true); if (j === 18) return awaitInput(B, "min", true); if (j === 19) return awaitInput(B, "model", true); if (j === 20) return awaitInput(B, "month", true); if (j === 21) return awaitInput(B, "monthLabel", true); if (j === 22) return awaitInput(B, "nextLabel", true); if (j === 23) return awaitInput(B, "previousLabel", true); if (j === 24) return awaitInput(B, "readonly", true); if (j === 25) return awaitInput(B, "start", true); if (j === 26) return awaitInput(B, "today", true); if (j === 27) return awaitInput(B, "value", true); if (j === 28) return awaitInput(B, "weekStartsOn", true); if (j === 29) return awaitInput(B, "yearErrorLabel", true); if (j === 30) return awaitInput(B, "yearLabel", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
|
|
34
62
|
const X = { e: 0, g: (j) => v[j], w: new Set(), a: CS, i: inputStatus };
|
|
35
|
-
const E = stateInitializers(S, v, X, { 0: () => inputRead(v[27], inputStatus(27)), 1: () => inputRead(v[20], inputStatus(20)) });
|
|
63
|
+
const E = stateInitializers(S, v, X, { 0: () => (inputRead(v[27], inputStatus(27))), 1: () => (inputRead(v[20], inputStatus(20))) });
|
|
36
64
|
const m1 = (o, j, l) => {
|
|
37
65
|
const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
|
|
38
66
|
const t0 = n.firstChild;
|
|
@@ -48,12 +76,16 @@ export function createUiCalendar(options = {}, html) {
|
|
|
48
76
|
const o = r.i;
|
|
49
77
|
if (c & 1073741824) {
|
|
50
78
|
r.w = 0;
|
|
51
|
-
const x0 = trackContainer(r, readMember(o, "fullLabel"));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
79
|
+
const x0 = trackContainer(r, checkedReferenceValue(S, readMember(o, "fullLabel"), RC0, "expression:$weekday.fullLabel:weekday.fullLabel", "weekday.fullLabel"));
|
|
80
|
+
if (x0 !== NONCONFORMING) {
|
|
81
|
+
const s0 = toAttribute(x0, "aria-label");
|
|
82
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-label", r.v0 = s0);
|
|
83
|
+
}
|
|
84
|
+
const x1 = trackContainer(r, checkedReferenceValue(S, readMember(o, "label"), RC0, "expression:$weekday.label:weekday.label", "weekday.label"));
|
|
85
|
+
if (x1 !== NONCONFORMING) {
|
|
86
|
+
const s1 = toText(x1);
|
|
87
|
+
if (s1 !== r.v1) r.a1.data = r.v1 = s1;
|
|
88
|
+
}
|
|
57
89
|
}
|
|
58
90
|
};
|
|
59
91
|
const m2 = (o, j, l) => {
|
|
@@ -71,25 +103,24 @@ export function createUiCalendar(options = {}, html) {
|
|
|
71
103
|
const o = r.i;
|
|
72
104
|
if (c & 1073741824) r.w = 0;
|
|
73
105
|
if (c & 1074266112) {
|
|
74
|
-
const x0 = (
|
|
106
|
+
const x0 = checkedReferenceValue(S, readMember(v[19], "weekendColumns"), RC5, "expression:$model.weekendColumns:model.weekendColumns", "model.weekendColumns");
|
|
75
107
|
if (x0 !== NONCONFORMING) {
|
|
76
108
|
const s0 = toAttribute(x0, "shaded-columns");
|
|
77
109
|
if (s0 !== r.v0) writeAttribute(r.a0, "shaded-columns", r.v0 = s0);
|
|
78
110
|
}
|
|
79
111
|
}
|
|
80
112
|
if (c & -1073217536) {
|
|
81
|
-
const x1 = trackContainer(r, (
|
|
113
|
+
const x1 = trackContainer(r, (() => { let x = v[19], t = RC24, k; k = "rangeBands"; x = readFailing(x, k); t = referenceSchemaAt(t, k); k = checkedReferenceValue(S, r.j, RC25, "expression:$model.rangeBands[$index].start:index", "index"); x = readIndex(x, k); t = referenceSchemaAt(t, k); k = "start"; x = readFailing(x, k); t = referenceSchemaAt(t, k); return checkedReferenceValue(S, x, t, "expression:$model.rangeBands[$index].start:model.rangeBands[computed].start", "model.rangeBands[computed].start"); })());
|
|
82
114
|
if (x1 !== NONCONFORMING) {
|
|
83
115
|
const s1 = toAttribute(x1, "selection-start");
|
|
84
116
|
if (s1 !== r.v1) writeAttribute(r.a0, "selection-start", r.v1 = s1);
|
|
85
117
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
const s2 = toAttribute(x2, "selection-end");
|
|
118
|
+
if (x1 !== NONCONFORMING) {
|
|
119
|
+
const s2 = toAttribute(x1, "selection-end");
|
|
89
120
|
if (s2 !== r.v2) writeAttribute(r.a0, "selection-end", r.v2 = s2);
|
|
90
121
|
}
|
|
91
122
|
}
|
|
92
|
-
if (c & 1073741824) r.L0.update(
|
|
123
|
+
if (c & 1073741824) { const l = checkedReferenceValue(S, o, RC26, "expression:$row:row", "row"); if (l !== NONCONFORMING) { r.L0.update(l, d, c); } }
|
|
93
124
|
if (c !== -1 && c & 1107378688) r.L0.each(c, d);
|
|
94
125
|
};
|
|
95
126
|
const m3 = (o, j, l) => {
|
|
@@ -109,53 +140,67 @@ export function createUiCalendar(options = {}, html) {
|
|
|
109
140
|
const o = r.i;
|
|
110
141
|
if (c & 1073741824) {
|
|
111
142
|
r.w = 0;
|
|
112
|
-
const x0 = (((
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
143
|
+
const x0 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "rangeEnd"), RC2, "expression:$day.selected or $day.inRange or $day.rangeStart or $day.rangeEnd:day.rangeEnd", "day.rangeEnd"))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "rangeStart"), RC2, "expression:$day.selected or $day.inRange or $day.rangeStart or $day.rangeEnd:day.rangeStart", "day.rangeStart"))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "inRange"), RC2, "expression:$day.selected or $day.inRange or $day.rangeStart or $day.rangeEnd:day.inRange", "day.inRange"))))(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "selected"), RC2, "expression:$day.selected or $day.inRange or $day.rangeStart or $day.rangeEnd:day.selected", "day.selected"))))))));
|
|
144
|
+
if (x0 !== NONCONFORMING) {
|
|
145
|
+
const s0 = toAttribute(x0, "aria-selected");
|
|
146
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
|
|
147
|
+
}
|
|
148
|
+
const x1 = trackContainer(r, checkedReferenceValue(S, readMember(o, "value"), RC0, "expression:$day.value:day.value", "day.value"));
|
|
149
|
+
if (x1 !== NONCONFORMING) {
|
|
150
|
+
const s2 = toAttribute(x1, "data-calendar-day");
|
|
151
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "data-calendar-day", r.v2 = s2);
|
|
152
|
+
}
|
|
118
153
|
}
|
|
119
154
|
if (c & 1073742336) {
|
|
120
|
-
const x2 = (truthy(trackContainer(r, readMember(o, "disabled")
|
|
121
|
-
|
|
122
|
-
|
|
155
|
+
const x2 = ((q) => q === NONCONFORMING ? q : q ? true : truthy(equalValue(v[9], true)))(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "disabled"), RC2, "expression:$day.disabled or $disabled = true:day.disabled", "day.disabled"))));
|
|
156
|
+
if (x2 !== NONCONFORMING) {
|
|
157
|
+
const s1 = toAttribute(x2, "aria-disabled");
|
|
158
|
+
if (s1 !== r.v1) writeAttribute(r.a0, "aria-disabled", r.v1 = s1);
|
|
159
|
+
}
|
|
123
160
|
}
|
|
124
161
|
if (c & 1107312640) {
|
|
125
|
-
const x3 = (((
|
|
126
|
-
|
|
127
|
-
|
|
162
|
+
const x3 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "rangeEnd"), RC2, "expression:($day.selected and $start = '' and $end = '') or $day.rangeStart or $day.rangeEnd:day.rangeEnd", "day.rangeEnd"))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "rangeStart"), RC2, "expression:($day.selected and $start = '' and $end = '') or $day.rangeStart or $day.rangeEnd:day.rangeStart", "day.rangeStart"))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? truthy(equalValue(v[14], "")) : false)(truthyValue(((q) => q === NONCONFORMING ? q : q ? truthy(equalValue(v[25], "")) : false)(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "selected"), RC2, "expression:($day.selected and $start = '' and $end = '') or $day.rangeStart or $day.rangeEnd:day.selected", "day.selected"))))))))));
|
|
163
|
+
if (x3 !== NONCONFORMING) {
|
|
164
|
+
const s3 = toAttribute(x3, "selected");
|
|
165
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "selected", r.v3 = s3);
|
|
166
|
+
}
|
|
128
167
|
}
|
|
129
168
|
if (c & 1073742336) {
|
|
130
|
-
const x4 = (
|
|
131
|
-
|
|
132
|
-
|
|
169
|
+
const x4 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "disabled"), RC2, "expression:$disabled or $day.disabled:day.disabled", "day.disabled"))))(truthy(v[9]));
|
|
170
|
+
if (x4 !== NONCONFORMING) {
|
|
171
|
+
const s4 = toAttribute(x4, "disabled");
|
|
172
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "disabled", r.v4 = s4);
|
|
173
|
+
}
|
|
133
174
|
}
|
|
134
175
|
if (c & 1073741824) {
|
|
135
|
-
const x5 = trackContainer(r, readMember(o, "tabIndex"));
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
176
|
+
const x5 = trackContainer(r, checkedReferenceValue(S, readMember(o, "tabIndex"), RC1, "expression:$day.tabIndex:day.tabIndex", "day.tabIndex"));
|
|
177
|
+
if (x5 !== NONCONFORMING) {
|
|
178
|
+
const s5 = toAttribute(x5, "tabindex");
|
|
179
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "tabindex", r.v5 = s5);
|
|
180
|
+
}
|
|
181
|
+
const x6 = trackContainer(r, checkedReferenceValue(S, readMember(o, "label"), RC0, "expression:$day.label:day.label", "day.label"));
|
|
182
|
+
if (x6 !== NONCONFORMING) {
|
|
183
|
+
const s6 = toAttribute(x6, "aria-label");
|
|
184
|
+
if (s6 !== r.v6) writeAttribute(r.a1, "aria-label", r.v6 = s6);
|
|
185
|
+
}
|
|
186
|
+
const x7 = trackContainer(r, readIndex({ "true": "date", "false": null }, textCall("concat", [trackContainer(r, checkedReferenceValue(S, readMember(o, "today"), RC2, "expression:{ true: 'date', false: null }[concat($day.today)]:day.today", "day.today"))])));
|
|
142
187
|
if (x7 !== NONCONFORMING) {
|
|
143
188
|
const s7 = toAttribute(x7, "aria-current");
|
|
144
189
|
if (s7 !== r.v7) writeAttribute(r.a1, "aria-current", r.v7 = s7);
|
|
145
190
|
}
|
|
146
|
-
const x8 = trackContainer(r, readIndex(recordValue(["true","false"], ["semibold", readIndex({ "true": "normal", "false": "inherit" }, textCall("concat", [trackContainer(r, readMember(o, "outside"))]))]), textCall("concat", [trackContainer(r, readMember(o, "today"))])));
|
|
191
|
+
const x8 = trackContainer(r, readIndex(recordValue(["true","false"], ["semibold", readIndex({ "true": "normal", "false": "inherit" }, textCall("concat", [trackContainer(r, checkedReferenceValue(S, readMember(o, "outside"), RC2, "expression:{ true: 'semibold', false: { true: 'normal', false: 'inherit' }[concat($day.outside)] }[concat($day.today)]:day.outside", "day.outside"))]))]), textCall("concat", [trackContainer(r, checkedReferenceValue(S, readMember(o, "today"), RC2, "expression:{ true: 'semibold', false: { true: 'normal', false: 'inherit' }[concat($day.outside)] }[concat($day.today)]:day.today", "day.today"))])));
|
|
147
192
|
if (x8 !== NONCONFORMING) {
|
|
148
193
|
const s8 = toAttribute(x8, "weight");
|
|
149
194
|
if (s8 !== r.v8) writeAttribute(r.a2, "weight", r.v8 = s8);
|
|
150
195
|
}
|
|
151
|
-
const x9 = trackContainer(r, readIndex({ "true": "muted", "false": "default" }, textCall("concat", [((
|
|
196
|
+
const x9 = trackContainer(r, readIndex({ "true": "muted", "false": "default" }, textCall("concat", [((q) => q === NONCONFORMING ? q : q ? truthyValue(notValue(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "selected"), RC2, "expression:{ true: 'muted', false: 'default' }[concat($day.outside and not $day.inRange and not $day.selected)]:day.selected", "day.selected"))))) : false)(truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(notValue(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "inRange"), RC2, "expression:{ true: 'muted', false: 'default' }[concat($day.outside and not $day.inRange and not $day.selected)]:day.inRange", "day.inRange"))))) : false)(truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "outside"), RC2, "expression:{ true: 'muted', false: 'default' }[concat($day.outside and not $day.inRange and not $day.selected)]:day.outside", "day.outside"))))))])));
|
|
152
197
|
if (x9 !== NONCONFORMING) {
|
|
153
198
|
const s9 = toAttribute(x9, "tone");
|
|
154
199
|
if (s9 !== r.v9) writeAttribute(r.a2, "tone", r.v9 = s9);
|
|
155
200
|
}
|
|
156
201
|
}
|
|
157
202
|
if (c & 1073807360) {
|
|
158
|
-
const x10 = formatCall("format", [trackContainer(r, readMember(o, "day")), "number", { }, v[16]], "integer");
|
|
203
|
+
const x10 = formatCall("format", [trackContainer(r, checkedReferenceValue(S, readMember(o, "day"), RC1, "expression:format($day.day, 'number', {}, $locale):day.day", "day.day")), "number", { }, v[16]], "integer");
|
|
159
204
|
if (x10 !== NONCONFORMING) {
|
|
160
205
|
const s10 = toText(x10);
|
|
161
206
|
if (s10 !== r.v10) r.a3.data = r.v10 = s10;
|
|
@@ -174,7 +219,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
174
219
|
};
|
|
175
220
|
const p4 = (r, c, d) => {
|
|
176
221
|
const o = r.i;
|
|
177
|
-
if (c & 1073741824) r.L0.update(
|
|
222
|
+
if (c & 1073741824) { const l = checkedReferenceValue(S, o, RC28, "expression:$row:row", "row"); if (l !== NONCONFORMING) { r.L0.update(l, d, c); } }
|
|
178
223
|
if (c !== -1 && c & 512) r.L0.each(c, d);
|
|
179
224
|
};
|
|
180
225
|
const m5 = (o, j, l) => {
|
|
@@ -193,32 +238,48 @@ export function createUiCalendar(options = {}, html) {
|
|
|
193
238
|
const o = r.i;
|
|
194
239
|
if (c & 1073741824) {
|
|
195
240
|
r.w = 0;
|
|
196
|
-
const x0 = trackContainer(r, readMember(o, "current"));
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
241
|
+
const x0 = trackContainer(r, checkedReferenceValue(S, readMember(o, "current"), RC2, "expression:$choice.current:choice.current", "choice.current"));
|
|
242
|
+
if (x0 !== NONCONFORMING) {
|
|
243
|
+
const s0 = toAttribute(x0, "aria-selected");
|
|
244
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
|
|
245
|
+
}
|
|
246
|
+
const x1 = trackContainer(r, checkedReferenceValue(S, readMember(o, "value"), RC0, "expression:$choice.value:choice.value", "choice.value"));
|
|
247
|
+
if (x1 !== NONCONFORMING) {
|
|
248
|
+
const s1 = toAttribute(x1, "data-calendar-month");
|
|
249
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "data-calendar-month", r.v1 = s1);
|
|
250
|
+
}
|
|
251
|
+
const x2 = trackContainer(r, checkedReferenceValue(S, readMember(o, "fullLabel"), RC0, "expression:$choice.fullLabel:choice.fullLabel", "choice.fullLabel"));
|
|
252
|
+
if (x2 !== NONCONFORMING) {
|
|
253
|
+
const s2 = toAttribute(x2, "aria-label");
|
|
254
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "aria-label", r.v2 = s2);
|
|
255
|
+
}
|
|
256
|
+
if (x2 !== NONCONFORMING) {
|
|
257
|
+
const s3 = toAttribute(x2, "title");
|
|
258
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "title", r.v3 = s3);
|
|
259
|
+
}
|
|
260
|
+
if (x0 !== NONCONFORMING) {
|
|
261
|
+
const s4 = toAttribute(x0, "selected");
|
|
262
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "selected", r.v4 = s4);
|
|
263
|
+
}
|
|
209
264
|
}
|
|
210
265
|
if (c & 1073742336) {
|
|
211
|
-
const x3 = (
|
|
212
|
-
|
|
213
|
-
|
|
266
|
+
const x3 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "disabled"), RC2, "expression:$disabled or $choice.disabled:choice.disabled", "choice.disabled"))))(truthy(v[9]));
|
|
267
|
+
if (x3 !== NONCONFORMING) {
|
|
268
|
+
const s5 = toAttribute(x3, "disabled");
|
|
269
|
+
if (s5 !== r.v5) writeAttribute(r.a1, "disabled", r.v5 = s5);
|
|
270
|
+
}
|
|
214
271
|
}
|
|
215
272
|
if (c & 1073741824) {
|
|
216
|
-
const x4 = trackContainer(r, readMember(o, "tabIndex"));
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
273
|
+
const x4 = trackContainer(r, checkedReferenceValue(S, readMember(o, "tabIndex"), RC1, "expression:$choice.tabIndex:choice.tabIndex", "choice.tabIndex"));
|
|
274
|
+
if (x4 !== NONCONFORMING) {
|
|
275
|
+
const s6 = toAttribute(x4, "tabindex");
|
|
276
|
+
if (s6 !== r.v6) writeAttribute(r.a1, "tabindex", r.v6 = s6);
|
|
277
|
+
}
|
|
278
|
+
const x5 = trackContainer(r, checkedReferenceValue(S, readMember(o, "label"), RC0, "expression:$choice.label:choice.label", "choice.label"));
|
|
279
|
+
if (x5 !== NONCONFORMING) {
|
|
280
|
+
const s7 = toText(x5);
|
|
281
|
+
if (s7 !== r.v7) r.a2.data = r.v7 = s7;
|
|
282
|
+
}
|
|
222
283
|
}
|
|
223
284
|
};
|
|
224
285
|
const m6 = (o, j, l) => {
|
|
@@ -233,7 +294,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
233
294
|
};
|
|
234
295
|
const p6 = (r, c, d) => {
|
|
235
296
|
const o = r.i;
|
|
236
|
-
if (c & 1073741824) r.L0.update(
|
|
297
|
+
if (c & 1073741824) { const l = checkedReferenceValue(S, o, RC30, "expression:$row:row", "row"); if (l !== NONCONFORMING) { r.L0.update(l, d, c); } }
|
|
237
298
|
if (c !== -1 && c & 512) r.L0.each(c, d);
|
|
238
299
|
};
|
|
239
300
|
const m7 = (o, j, l) => {
|
|
@@ -252,195 +313,212 @@ export function createUiCalendar(options = {}, html) {
|
|
|
252
313
|
const o = r.i;
|
|
253
314
|
if (c & 1073741824) {
|
|
254
315
|
r.w = 0;
|
|
255
|
-
const x0 = trackContainer(r, readMember(o, "current"));
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
316
|
+
const x0 = trackContainer(r, checkedReferenceValue(S, readMember(o, "current"), RC2, "expression:$year.current:year.current", "year.current"));
|
|
317
|
+
if (x0 !== NONCONFORMING) {
|
|
318
|
+
const s0 = toAttribute(x0, "aria-selected");
|
|
319
|
+
if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
|
|
320
|
+
}
|
|
321
|
+
const x1 = trackContainer(r, checkedReferenceValue(S, readMember(o, "value"), RC1, "expression:$year.value:year.value", "year.value"));
|
|
322
|
+
if (x1 !== NONCONFORMING) {
|
|
323
|
+
const s1 = toAttribute(x1, "data-calendar-year");
|
|
324
|
+
if (s1 !== r.v1) writeAttribute(r.a1, "data-calendar-year", r.v1 = s1);
|
|
325
|
+
}
|
|
326
|
+
if (x0 !== NONCONFORMING) {
|
|
327
|
+
const s2 = toAttribute(x0, "selected");
|
|
328
|
+
if (s2 !== r.v2) writeAttribute(r.a1, "selected", r.v2 = s2);
|
|
329
|
+
}
|
|
263
330
|
}
|
|
264
331
|
if (c & 1073742336) {
|
|
265
|
-
const x2 = (
|
|
266
|
-
|
|
267
|
-
|
|
332
|
+
const x2 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(trackContainer(r, checkedReferenceValue(S, readMember(o, "disabled"), RC2, "expression:$disabled or $year.disabled:year.disabled", "year.disabled"))))(truthy(v[9]));
|
|
333
|
+
if (x2 !== NONCONFORMING) {
|
|
334
|
+
const s3 = toAttribute(x2, "disabled");
|
|
335
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "disabled", r.v3 = s3);
|
|
336
|
+
}
|
|
268
337
|
}
|
|
269
338
|
if (c & 1073741824) {
|
|
270
|
-
const x3 = trackContainer(r, readMember(o, "tabIndex"));
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
339
|
+
const x3 = trackContainer(r, checkedReferenceValue(S, readMember(o, "tabIndex"), RC1, "expression:$year.tabIndex:year.tabIndex", "year.tabIndex"));
|
|
340
|
+
if (x3 !== NONCONFORMING) {
|
|
341
|
+
const s4 = toAttribute(x3, "tabindex");
|
|
342
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "tabindex", r.v4 = s4);
|
|
343
|
+
}
|
|
344
|
+
const x4 = trackContainer(r, checkedReferenceValue(S, readMember(o, "label"), RC0, "expression:$year.label:year.label", "year.label"));
|
|
345
|
+
if (x4 !== NONCONFORMING) {
|
|
346
|
+
const s5 = toText(x4);
|
|
347
|
+
if (s5 !== r.v5) r.a2.data = r.v5 = s5;
|
|
348
|
+
}
|
|
276
349
|
}
|
|
277
350
|
};
|
|
278
351
|
const p0 = (r, c, d) => {
|
|
279
352
|
if (c & 32768) {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
353
|
+
resetForwardedAttributes(r.n, attributes, r.v0);
|
|
354
|
+
r.v0 = forwardAttributes(r.n, attributes);
|
|
355
|
+
const x0 = "group";
|
|
356
|
+
const s1 = toAttribute(x0, "role");
|
|
357
|
+
writeAttribute(r.n, "role", r.v1 = s1);
|
|
358
|
+
const x1 = v[15];
|
|
359
|
+
const s2 = toAttribute(x1, "aria-label");
|
|
360
|
+
writeAttribute(r.n, "aria-label", r.v2 = s2);
|
|
283
361
|
}
|
|
284
362
|
if (c & 8388608) {
|
|
285
|
-
const
|
|
286
|
-
const
|
|
287
|
-
if (
|
|
363
|
+
const x2 = v[23];
|
|
364
|
+
const s3 = toAttribute(x2, "label");
|
|
365
|
+
if (s3 !== r.v3) writeAttribute(r.a1, "label", r.v3 = s3);
|
|
288
366
|
}
|
|
289
367
|
if (c & 1074266640) {
|
|
290
|
-
const
|
|
291
|
-
if (
|
|
292
|
-
const
|
|
293
|
-
if (
|
|
368
|
+
const x3 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(equalValue(checkedReferenceValue(S, readMember(v[19], "yearPageStart"), RC1, "expression:$disabled or ($mode = 'days' and $model.previousMonth = '') or ($mode = 'months' and $model.month < '0002-01') or ($mode = 'years' and $model.yearPageStart = 1):model.yearPageStart", "model.yearPageStart"), 1)) : false)(truthy(equalValue(v[4], "years")))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(binaryValue("<", checkedReferenceValue(S, readMember(v[19], "month"), RC0, "expression:$disabled or ($mode = 'days' and $model.previousMonth = '') or ($mode = 'months' and $model.month < '0002-01') or ($mode = 'years' and $model.yearPageStart = 1):model.month", "model.month"), "0002-01")) : false)(truthy(equalValue(v[4], "months")))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(equalValue(checkedReferenceValue(S, readMember(v[19], "previousMonth"), RC0, "expression:$disabled or ($mode = 'days' and $model.previousMonth = '') or ($mode = 'months' and $model.month < '0002-01') or ($mode = 'years' and $model.yearPageStart = 1):model.previousMonth", "model.previousMonth"), "")) : false)(truthy(equalValue(v[4], "days")))))(truthy(v[9]))))));
|
|
369
|
+
if (x3 !== NONCONFORMING) {
|
|
370
|
+
const s4 = toAttribute(x3, "disabled");
|
|
371
|
+
if (s4 !== r.v4) writeAttribute(r.a1, "disabled", r.v4 = s4);
|
|
294
372
|
}
|
|
295
373
|
}
|
|
296
374
|
if (c & 1076363264) {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
299
|
-
const
|
|
300
|
-
if (
|
|
375
|
+
const x4 = textCall("concat", [v[21], ": ", checkedReferenceValue(S, readMember(v[19], "monthLabel"), RC0, "expression:concat($monthLabel, ': ', $model.monthLabel):model.monthLabel", "model.monthLabel")]);
|
|
376
|
+
if (x4 !== NONCONFORMING) {
|
|
377
|
+
const s5 = toAttribute(x4, "aria-label");
|
|
378
|
+
if (s5 !== r.v5) writeAttribute(r.a2, "aria-label", r.v5 = s5);
|
|
301
379
|
}
|
|
302
380
|
}
|
|
303
381
|
if (c & 16) {
|
|
304
|
-
const
|
|
305
|
-
const
|
|
306
|
-
if (
|
|
307
|
-
const
|
|
308
|
-
if (
|
|
382
|
+
const x5 = equalValue(v[4], "months");
|
|
383
|
+
const s6 = toAttribute(x5, "aria-expanded");
|
|
384
|
+
if (s6 !== r.v6) writeAttribute(r.a2, "aria-expanded", r.v6 = s6);
|
|
385
|
+
const s7 = toAttribute(x5, "selected");
|
|
386
|
+
if (s7 !== r.v7) writeAttribute(r.a2, "selected", r.v7 = s7);
|
|
309
387
|
}
|
|
310
388
|
if (c & 512) {
|
|
311
|
-
const
|
|
312
|
-
const
|
|
313
|
-
if (
|
|
389
|
+
const x6 = v[9];
|
|
390
|
+
const s8 = toAttribute(x6, "disabled");
|
|
391
|
+
if (s8 !== r.v8) writeAttribute(r.a2, "disabled", r.v8 = s8);
|
|
314
392
|
}
|
|
315
393
|
if (c & 1074266112) {
|
|
316
|
-
const
|
|
317
|
-
if (x6 !== NONCONFORMING) {
|
|
318
|
-
const s7 = toText(x6);
|
|
319
|
-
if (s7 !== r.v7) r.a3.data = r.v7 = s7;
|
|
320
|
-
}
|
|
321
|
-
const x7 = (checkReference(S, readDeclared(v[19], ["yearLabel"]), "s", "expression:$model.yearLabel:model.yearLabel", "Reference `model.yearLabel` must satisfy string.") ? readMember(v[19], "yearLabel") : NONCONFORMING);
|
|
394
|
+
const x7 = checkedReferenceValue(S, readMember(v[19], "monthLabel"), RC0, "expression:$model.monthLabel:model.monthLabel", "model.monthLabel");
|
|
322
395
|
if (x7 !== NONCONFORMING) {
|
|
323
|
-
const
|
|
324
|
-
if (
|
|
396
|
+
const s9 = toText(x7);
|
|
397
|
+
if (s9 !== r.v9) r.a3.data = r.v9 = s9;
|
|
325
398
|
}
|
|
326
|
-
const x8 = (
|
|
399
|
+
const x8 = checkedReferenceValue(S, readMember(v[19], "yearLabel"), RC0, "expression:$model.yearLabel:model.yearLabel", "model.yearLabel");
|
|
327
400
|
if (x8 !== NONCONFORMING) {
|
|
328
|
-
const
|
|
329
|
-
if (
|
|
401
|
+
const s14 = toText(x8);
|
|
402
|
+
if (s14 !== r.v14) r.a5.data = r.v14 = s14;
|
|
330
403
|
}
|
|
331
|
-
const x9 = (
|
|
404
|
+
const x9 = readIndex({ "true": 0, "false": null }, textCall("concat", [checkedReferenceValue(S, readMember(v[19], "empty"), RC2, "expression:{ true: 0, false: null }[concat($model.empty)]:model.empty", "model.empty")]));
|
|
332
405
|
if (x9 !== NONCONFORMING) {
|
|
333
|
-
const
|
|
334
|
-
if (
|
|
406
|
+
const s18 = toAttribute(x9, "tabindex");
|
|
407
|
+
if (s18 !== r.v18) writeAttribute(r.a8, "tabindex", r.v18 = s18);
|
|
408
|
+
}
|
|
409
|
+
const x10 = checkedReferenceValue(S, readMember(v[19], "title"), RC0, "expression:$model.title:model.title", "model.title");
|
|
410
|
+
if (x10 !== NONCONFORMING) {
|
|
411
|
+
const s19 = toAttribute(x10, "aria-label");
|
|
412
|
+
if (s19 !== r.v19) writeAttribute(r.a8, "aria-label", r.v19 = s19);
|
|
335
413
|
}
|
|
336
414
|
}
|
|
337
415
|
if (c & 1611137024) {
|
|
338
|
-
const
|
|
339
|
-
if (
|
|
340
|
-
const
|
|
341
|
-
if (
|
|
416
|
+
const x11 = textCall("concat", [v[30], ": ", checkedReferenceValue(S, readMember(v[19], "yearLabel"), RC0, "expression:concat($yearLabel, ': ', $model.yearLabel):model.yearLabel", "model.yearLabel")]);
|
|
417
|
+
if (x11 !== NONCONFORMING) {
|
|
418
|
+
const s10 = toAttribute(x11, "aria-label");
|
|
419
|
+
if (s10 !== r.v10) writeAttribute(r.a4, "aria-label", r.v10 = s10);
|
|
342
420
|
}
|
|
343
421
|
}
|
|
344
422
|
if (c & 16) {
|
|
345
|
-
const
|
|
346
|
-
const
|
|
347
|
-
if (
|
|
348
|
-
const
|
|
349
|
-
if (
|
|
423
|
+
const x12 = equalValue(v[4], "years");
|
|
424
|
+
const s11 = toAttribute(x12, "aria-expanded");
|
|
425
|
+
if (s11 !== r.v11) writeAttribute(r.a4, "aria-expanded", r.v11 = s11);
|
|
426
|
+
const s12 = toAttribute(x12, "selected");
|
|
427
|
+
if (s12 !== r.v12) writeAttribute(r.a4, "selected", r.v12 = s12);
|
|
350
428
|
}
|
|
351
429
|
if (c & 512) {
|
|
352
|
-
const
|
|
353
|
-
const
|
|
354
|
-
if (
|
|
430
|
+
const x13 = v[9];
|
|
431
|
+
const s13 = toAttribute(x13, "disabled");
|
|
432
|
+
if (s13 !== r.v13) writeAttribute(r.a4, "disabled", r.v13 = s13);
|
|
355
433
|
}
|
|
356
434
|
if (c & 4194304) {
|
|
357
|
-
const
|
|
358
|
-
const
|
|
359
|
-
if (
|
|
435
|
+
const x14 = v[22];
|
|
436
|
+
const s15 = toAttribute(x14, "label");
|
|
437
|
+
if (s15 !== r.v15) writeAttribute(r.a6, "label", r.v15 = s15);
|
|
360
438
|
}
|
|
361
439
|
if (c & 1074266640) {
|
|
362
|
-
const
|
|
363
|
-
if (
|
|
364
|
-
const
|
|
365
|
-
if (
|
|
440
|
+
const x15 = ((q) => q === NONCONFORMING ? q : q ? true : truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(binaryValue(">=", checkedReferenceValue(S, readMember(v[19], "yearPageStart"), RC1, "expression:$disabled or ($mode = 'days' and $model.nextMonth = '') or ($mode = 'months' and $model.month > '9998-12') or ($mode = 'years' and $model.yearPageStart >= 9997):model.yearPageStart", "model.yearPageStart"), 9997)) : false)(truthy(equalValue(v[4], "years")))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(binaryValue(">", checkedReferenceValue(S, readMember(v[19], "month"), RC0, "expression:$disabled or ($mode = 'days' and $model.nextMonth = '') or ($mode = 'months' and $model.month > '9998-12') or ($mode = 'years' and $model.yearPageStart >= 9997):model.month", "model.month"), "9998-12")) : false)(truthy(equalValue(v[4], "months")))))(truthyValue(((q) => q === NONCONFORMING ? q : q ? true : truthyValue(((q) => q === NONCONFORMING ? q : q ? truthyValue(equalValue(checkedReferenceValue(S, readMember(v[19], "nextMonth"), RC0, "expression:$disabled or ($mode = 'days' and $model.nextMonth = '') or ($mode = 'months' and $model.month > '9998-12') or ($mode = 'years' and $model.yearPageStart >= 9997):model.nextMonth", "model.nextMonth"), "")) : false)(truthy(equalValue(v[4], "days")))))(truthy(v[9]))))));
|
|
441
|
+
if (x15 !== NONCONFORMING) {
|
|
442
|
+
const s16 = toAttribute(x15, "disabled");
|
|
443
|
+
if (s16 !== r.v16) writeAttribute(r.a6, "disabled", r.v16 = s16);
|
|
366
444
|
}
|
|
367
445
|
}
|
|
368
446
|
if (c & 1073741872) {
|
|
369
|
-
const
|
|
370
|
-
if (
|
|
371
|
-
const
|
|
372
|
-
if (
|
|
447
|
+
const x16 = readIndex({ "true": null, "false": v[5] }, textCall("concat", [equalValue(v[4], "days")]));
|
|
448
|
+
if (x16 !== NONCONFORMING) {
|
|
449
|
+
const s17 = toAttribute(x16, "height");
|
|
450
|
+
if (s17 !== r.v17) writeAttribute(r.a7, "height", r.v17 = s17);
|
|
373
451
|
}
|
|
374
452
|
}
|
|
375
453
|
if (c & 16777216) {
|
|
376
|
-
const
|
|
377
|
-
const
|
|
378
|
-
if (
|
|
454
|
+
const x17 = v[24];
|
|
455
|
+
const s20 = toAttribute(x17, "aria-readonly");
|
|
456
|
+
if (s20 !== r.v20) writeAttribute(r.a8, "aria-readonly", r.v20 = s20);
|
|
379
457
|
}
|
|
380
458
|
if (c & 33570816) {
|
|
381
|
-
const
|
|
382
|
-
const
|
|
383
|
-
if (
|
|
459
|
+
const x18 = (truthy(equalValue(v[25], "", true)) || truthy(equalValue(v[14], "", true)));
|
|
460
|
+
const s21 = toAttribute(x18, "aria-multiselectable");
|
|
461
|
+
if (s21 !== r.v21) writeAttribute(r.a8, "aria-multiselectable", r.v21 = s21);
|
|
384
462
|
}
|
|
385
463
|
if (c & 16) {
|
|
386
|
-
const
|
|
387
|
-
const
|
|
388
|
-
if (
|
|
464
|
+
const x19 = equalValue(v[4], "days", true);
|
|
465
|
+
const s22 = toAttribute(x19, "hidden");
|
|
466
|
+
if (s22 !== r.v22) writeAttribute(r.a8, "hidden", r.v22 = s22);
|
|
389
467
|
}
|
|
390
468
|
if (c & 1074266128) {
|
|
391
|
-
const
|
|
392
|
-
if (
|
|
393
|
-
const
|
|
394
|
-
if (
|
|
469
|
+
const x20 = ((q) => q === NONCONFORMING ? q : q ? true : truthy(equalValue(v[4], "days", true)))(truthyValue(notValue(truthyValue(checkedReferenceValue(S, readMember(v[19], "empty"), RC2, "expression:not $model.empty or $mode != 'days':model.empty", "model.empty")))));
|
|
470
|
+
if (x20 !== NONCONFORMING) {
|
|
471
|
+
const s23 = toAttribute(x20, "hidden");
|
|
472
|
+
if (s23 !== r.v23) writeAttribute(r.a11, "hidden", r.v23 = s23);
|
|
395
473
|
}
|
|
396
474
|
}
|
|
397
475
|
if (c & 8192) {
|
|
398
|
-
const
|
|
399
|
-
const
|
|
400
|
-
if (
|
|
476
|
+
const x21 = v[13];
|
|
477
|
+
const s24 = toText(x21);
|
|
478
|
+
if (s24 !== r.v24) r.a12.data = r.v24 = s24;
|
|
401
479
|
}
|
|
402
480
|
if (c & 2097152) {
|
|
403
|
-
const
|
|
404
|
-
const
|
|
405
|
-
if (
|
|
481
|
+
const x22 = v[21];
|
|
482
|
+
const s25 = toAttribute(x22, "aria-label");
|
|
483
|
+
if (s25 !== r.v25) writeAttribute(r.a13, "aria-label", r.v25 = s25);
|
|
406
484
|
}
|
|
407
485
|
if (c & 16) {
|
|
408
|
-
const
|
|
409
|
-
const
|
|
410
|
-
if (
|
|
411
|
-
const
|
|
412
|
-
const
|
|
413
|
-
if (
|
|
486
|
+
const x23 = equalValue(v[4], "months", true);
|
|
487
|
+
const s26 = toAttribute(x23, "hidden");
|
|
488
|
+
if (s26 !== r.v26) writeAttribute(r.a13, "hidden", r.v26 = s26);
|
|
489
|
+
const x24 = equalValue(v[4], "years", true);
|
|
490
|
+
const s27 = toAttribute(x24, "hidden");
|
|
491
|
+
if (s27 !== r.v27) writeAttribute(r.a15, "hidden", r.v27 = s27);
|
|
414
492
|
}
|
|
415
493
|
if (c & 536870912) {
|
|
416
|
-
const
|
|
417
|
-
const
|
|
418
|
-
if (
|
|
419
|
-
const
|
|
420
|
-
if (
|
|
494
|
+
const x25 = v[30];
|
|
495
|
+
const s28 = toAttribute(x25, "aria-label");
|
|
496
|
+
if (s28 !== r.v28) writeAttribute(r.a16, "aria-label", r.v28 = s28);
|
|
497
|
+
const s33 = toAttribute(x25, "aria-label");
|
|
498
|
+
if (s33 !== r.v33) writeAttribute(r.a19, "aria-label", r.v33 = s33);
|
|
421
499
|
}
|
|
422
500
|
if (c & 512) {
|
|
423
|
-
const
|
|
424
|
-
const
|
|
425
|
-
if (
|
|
501
|
+
const x26 = v[9];
|
|
502
|
+
const s29 = toAttribute(x26, "disabled");
|
|
503
|
+
if (s29 !== r.v29) writeAttribute(r.a16, "disabled", r.v29 = s29);
|
|
426
504
|
}
|
|
427
505
|
if (c & 64) {
|
|
428
|
-
const
|
|
429
|
-
const
|
|
430
|
-
if (
|
|
431
|
-
const
|
|
432
|
-
const
|
|
433
|
-
if (
|
|
434
|
-
const
|
|
435
|
-
const
|
|
436
|
-
if (
|
|
437
|
-
}
|
|
438
|
-
if (c & 1074266112) { const l = (
|
|
439
|
-
if (c & 1074266112) { const l = (
|
|
506
|
+
const x27 = equalValue(v[6], "", true);
|
|
507
|
+
const s30 = toAttribute(x27, "invalid");
|
|
508
|
+
if (s30 !== r.v30) writeAttribute(r.a16, "invalid", r.v30 = s30);
|
|
509
|
+
const x28 = equalValue(v[6], "");
|
|
510
|
+
const s31 = toAttribute(x28, "hidden");
|
|
511
|
+
if (s31 !== r.v31) writeAttribute(r.a17, "hidden", r.v31 = s31);
|
|
512
|
+
const x29 = v[6];
|
|
513
|
+
const s32 = toText(x29);
|
|
514
|
+
if (s32 !== r.v32) r.a18.data = r.v32 = s32;
|
|
515
|
+
}
|
|
516
|
+
if (c & 1074266112) { const l = checkedReferenceValue(S, readMember(v[19], "weekdays"), RC3, "expression:$model.weekdays:model.weekdays", "model.weekdays"); if (l !== NONCONFORMING) { r.L0.update(l, d, c); } }
|
|
517
|
+
if (c & 1074266112) { const l = checkedReferenceValue(S, readMember(v[19], "rows"), RC4, "expression:$model.rows:model.rows", "model.rows"); if (l !== NONCONFORMING) { r.L1.update(l, d, c); } }
|
|
440
518
|
if (c !== -1 && c & 1107902976) r.L1.each(c, d);
|
|
441
|
-
if (c & 1074266112) { const l = (
|
|
519
|
+
if (c & 1074266112) { const l = checkedReferenceValue(S, readMember(v[19], "monthRows"), RC27, "expression:$model.monthRows:model.monthRows", "model.monthRows"); if (l !== NONCONFORMING) { r.L2.update(l, d, c); } }
|
|
442
520
|
if (c !== -1 && c & 512) r.L2.each(c, d);
|
|
443
|
-
if (c & 1074266112) { const l = (
|
|
521
|
+
if (c & 1074266112) { const l = checkedReferenceValue(S, readMember(v[19], "yearRows"), RC29, "expression:$model.yearRows:model.yearRows", "model.yearRows"); if (l !== NONCONFORMING) { r.L3.update(l, d, c); } }
|
|
444
522
|
if (c !== -1 && c & 512) r.L3.each(c, d);
|
|
445
523
|
};
|
|
446
524
|
const t0 = element.firstChild.nextSibling;
|
|
@@ -467,9 +545,10 @@ export function createUiCalendar(options = {}, html) {
|
|
|
467
545
|
const t21 = t20.firstChild;
|
|
468
546
|
const t22 = t20.nextSibling.nextSibling;
|
|
469
547
|
const t23 = t22.firstChild;
|
|
470
|
-
const R = { n: element, a1: t2, a2: t4, a3: t5, a4: t6, a5: t7, a6: t8, a7: t9, a8: t10, a11: t14, a12: t15, a13: t16, a15: t18, a16: t19, a17: t20, a18: t21, a19: t22, v0: undefined, v1:
|
|
548
|
+
const R = { n: element, a1: t2, a2: t4, a3: t5, a4: t6, a5: t7, a6: t8, a7: t9, a8: t10, a11: t14, a12: t15, a13: t16, a15: t18, a16: t19, a17: t20, a18: t21, a19: t22, v0: undefined, v1: undefined, v2: undefined, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: "", v10: null, v11: null, v12: null, v13: null, v14: "", v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: null, v22: null, v23: null, v24: "", v25: null, v26: null, v27: null, v28: null, v29: null, v30: null, v31: null, v32: "", v33: null, L0: new RangedKeyedList(t12, t12.nextSibling, m1, p1, (o) => readMember(o, "day"), "weekday"), L1: new RangedPositionalList(t13, t13.nextSibling, m2, p2, (o) => readMember(readIndex(o, 0), "value"), "row"), L2: new RangedKeyedList(t17, t17.nextSibling, m4, p4, (o) => readMember(readIndex(o, 0), "value"), "row"), L3: new RangedKeyedList(t23, t23.nextSibling, m6, p6, (o) => readMember(readIndex(o, 0), "value"), "row") };
|
|
471
549
|
const I = { B, U: E };
|
|
472
550
|
I.R = new Set();
|
|
551
|
+
I.F = { values: attributes, draw: () => ((c, d) => p0(R, c, d))(-1) };
|
|
473
552
|
attachGeneratedController(element, S, v, (c, d) => { ((c, d) => p0(R, c, d))(c, d); for (const f of I.R) f(c, d); }, undefined, X, I);
|
|
474
553
|
manageProps(I);
|
|
475
554
|
return element;
|