@threadlabs/looma 0.52.12 → 0.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (342) hide show
  1. package/components/shared/overlay.js +7 -0
  2. package/components/ui-editor-toolbar/ui-editor-toolbar.html +2 -2
  3. package/components/ui-meter/ui-meter.html +1 -1
  4. package/dist/index.js +1 -1
  5. package/docs/catalog.json +1 -1
  6. package/editor/chunks/extensions.js +2 -2
  7. package/editor/components.css +19 -19
  8. package/editor/index.js +1125 -853
  9. package/package.json +3 -3
  10. package/styles/ui-action-bar.css +1 -1
  11. package/styles/ui-affordance-scope.css +1 -1
  12. package/styles/ui-avatar-group.css +1 -1
  13. package/styles/ui-avatar.css +1 -1
  14. package/styles/ui-badge.css +1 -1
  15. package/styles/ui-breadcrumb-item.css +1 -1
  16. package/styles/ui-breadcrumbs.css +1 -1
  17. package/styles/ui-button.css +1 -1
  18. package/styles/ui-calendar.css +1 -1
  19. package/styles/ui-callout.css +1 -1
  20. package/styles/ui-card-group.css +1 -1
  21. package/styles/ui-card.css +1 -1
  22. package/styles/ui-checkbox.css +1 -1
  23. package/styles/ui-cluster.css +1 -1
  24. package/styles/ui-color-picker.css +1 -1
  25. package/styles/ui-column.css +1 -1
  26. package/styles/ui-combobox.css +1 -1
  27. package/styles/ui-compact-content.css +1 -1
  28. package/styles/ui-compact-editor.css +1 -1
  29. package/styles/ui-compact-mark.css +1 -1
  30. package/styles/ui-compact-node.css +1 -1
  31. package/styles/ui-container.css +1 -1
  32. package/styles/ui-context-menu.css +1 -1
  33. package/styles/ui-cover.css +1 -1
  34. package/styles/ui-curve-editor.css +1 -1
  35. package/styles/ui-cycle-button.css +1 -1
  36. package/styles/ui-data-table.css +1 -1
  37. package/styles/ui-date-field.css +1 -1
  38. package/styles/ui-date-picker.css +1 -1
  39. package/styles/ui-date-range-picker.css +1 -1
  40. package/styles/ui-description-item.css +1 -1
  41. package/styles/ui-description-list.css +1 -1
  42. package/styles/ui-dialog.css +1 -1
  43. package/styles/ui-disclosure.css +1 -1
  44. package/styles/ui-editable.css +1 -1
  45. package/styles/ui-editor-block-actions.css +1 -1
  46. package/styles/ui-editor-chip-editor.css +1 -1
  47. package/styles/ui-editor-code-language.css +1 -1
  48. package/styles/ui-editor-footnote-editor.css +1 -1
  49. package/styles/ui-editor-formatting-tools.css +1 -1
  50. package/styles/ui-editor-image-toolbar.css +1 -1
  51. package/styles/ui-editor-insert-table-grid.css +1 -1
  52. package/styles/ui-editor-link-card.css +1 -1
  53. package/styles/ui-editor-link-form.css +1 -1
  54. package/styles/ui-editor-mention-menu-item.css +1 -1
  55. package/styles/ui-editor-mention-menu.css +1 -1
  56. package/styles/ui-editor-slash-menu-group.css +1 -1
  57. package/styles/ui-editor-slash-menu-item.css +1 -1
  58. package/styles/ui-editor-slash-menu.css +1 -1
  59. package/styles/ui-editor-surface.css +1 -1
  60. package/styles/ui-editor-table-context-menu.css +1 -1
  61. package/styles/ui-editor-table-overlay.css +1 -1
  62. package/styles/ui-editor-table-toolbar.css +1 -1
  63. package/styles/ui-editor-toolbar.css +1 -1
  64. package/styles/ui-editor.css +1 -1
  65. package/styles/ui-file-input.css +1 -1
  66. package/styles/ui-floating-action-button.css +1 -1
  67. package/styles/ui-form-field.css +1 -1
  68. package/styles/ui-grid.css +1 -1
  69. package/styles/ui-icon-button.css +1 -1
  70. package/styles/ui-icon.css +1 -1
  71. package/styles/ui-image.css +1 -1
  72. package/styles/ui-input-group.css +1 -1
  73. package/styles/ui-input.css +1 -1
  74. package/styles/ui-light-editor.css +1 -1
  75. package/styles/ui-list-item.css +1 -1
  76. package/styles/ui-list.css +1 -1
  77. package/styles/ui-listbox.css +1 -1
  78. package/styles/ui-menu-group.css +1 -1
  79. package/styles/ui-menu-item.css +1 -1
  80. package/styles/ui-menu.css +1 -1
  81. package/styles/ui-meter.css +1 -1
  82. package/styles/ui-nav-item.css +1 -1
  83. package/styles/ui-notice-stripe.css +1 -1
  84. package/styles/ui-number-input.css +1 -1
  85. package/styles/ui-page-header.css +1 -1
  86. package/styles/ui-pagination.css +1 -1
  87. package/styles/ui-popover.css +1 -1
  88. package/styles/ui-radio-group.css +1 -1
  89. package/styles/ui-radio.css +1 -1
  90. package/styles/ui-reel.css +1 -1
  91. package/styles/ui-scroll-area.css +1 -1
  92. package/styles/ui-search-result-row.css +1 -1
  93. package/styles/ui-search-shell.css +1 -1
  94. package/styles/ui-section.css +1 -1
  95. package/styles/ui-segmented-control.css +1 -1
  96. package/styles/ui-select.css +1 -1
  97. package/styles/ui-separator.css +1 -1
  98. package/styles/ui-sidebar.css +1 -1
  99. package/styles/ui-site-header.css +1 -1
  100. package/styles/ui-skeleton.css +1 -1
  101. package/styles/ui-slider.css +1 -1
  102. package/styles/ui-spinner.css +1 -1
  103. package/styles/ui-stack.css +1 -1
  104. package/styles/ui-status-message.css +1 -1
  105. package/styles/ui-swatch.css +1 -1
  106. package/styles/ui-switch.css +1 -1
  107. package/styles/ui-switcher.css +1 -1
  108. package/styles/ui-table.css +1 -1
  109. package/styles/ui-tabs.css +1 -1
  110. package/styles/ui-text.css +1 -1
  111. package/styles/ui-textarea.css +1 -1
  112. package/styles/ui-time-field.css +1 -1
  113. package/styles/ui-time-picker.css +1 -1
  114. package/styles/ui-toast-region.css +1 -1
  115. package/styles/ui-toast.css +1 -1
  116. package/styles/ui-tooltip.css +1 -1
  117. package/styles/ui-top-bar.css +1 -1
  118. package/styles/ui-tree-item.css +1 -1
  119. package/styles/ui-tree.css +1 -1
  120. package/styles/ui-wizard.css +1 -1
  121. package/vanilla/UiActionBar.d.ts +1 -1
  122. package/vanilla/UiActionBar.js +14 -12
  123. package/vanilla/UiAffordanceScope.d.ts +1 -1
  124. package/vanilla/UiAffordanceScope.js +13 -11
  125. package/vanilla/UiAvatar.d.ts +1 -1
  126. package/vanilla/UiAvatar.js +27 -25
  127. package/vanilla/UiAvatarGroup.d.ts +1 -1
  128. package/vanilla/UiAvatarGroup.js +26 -23
  129. package/vanilla/UiBadge.d.ts +1 -1
  130. package/vanilla/UiBadge.js +14 -12
  131. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  132. package/vanilla/UiBreadcrumbItem.js +14 -13
  133. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  134. package/vanilla/UiBreadcrumbs.js +10 -10
  135. package/vanilla/UiButton.d.ts +1 -1
  136. package/vanilla/UiButton.js +187 -244
  137. package/vanilla/UiCalendar.d.ts +1 -1
  138. package/vanilla/UiCalendar.js +272 -193
  139. package/vanilla/UiCallout.d.ts +1 -1
  140. package/vanilla/UiCallout.js +32 -27
  141. package/vanilla/UiCard.d.ts +1 -1
  142. package/vanilla/UiCard.js +72 -69
  143. package/vanilla/UiCardGroup.d.ts +1 -1
  144. package/vanilla/UiCardGroup.js +17 -15
  145. package/vanilla/UiCheckbox.d.ts +1 -1
  146. package/vanilla/UiCheckbox.js +32 -30
  147. package/vanilla/UiCluster.d.ts +1 -1
  148. package/vanilla/UiCluster.js +20 -18
  149. package/vanilla/UiColorPicker.d.ts +1 -1
  150. package/vanilla/UiColorPicker.js +22 -20
  151. package/vanilla/UiColumn.d.ts +2 -2
  152. package/vanilla/UiColumn.js +18 -15
  153. package/vanilla/UiCombobox.d.ts +3 -3
  154. package/vanilla/UiCombobox.js +237 -174
  155. package/vanilla/UiCompactContent.d.ts +1 -1
  156. package/vanilla/UiCompactContent.js +13 -8
  157. package/vanilla/UiCompactEditor.d.ts +1 -1
  158. package/vanilla/UiCompactEditor.js +17 -12
  159. package/vanilla/UiCompactMark.d.ts +1 -1
  160. package/vanilla/UiCompactMark.js +47 -45
  161. package/vanilla/UiCompactNode.d.ts +2 -2
  162. package/vanilla/UiCompactNode.js +37 -33
  163. package/vanilla/UiContainer.d.ts +1 -1
  164. package/vanilla/UiContainer.js +13 -11
  165. package/vanilla/UiContextMenu.d.ts +1 -1
  166. package/vanilla/UiContextMenu.js +11 -9
  167. package/vanilla/UiCover.d.ts +1 -1
  168. package/vanilla/UiCover.js +13 -11
  169. package/vanilla/UiCurveEditor.d.ts +1 -1
  170. package/vanilla/UiCurveEditor.js +40 -38
  171. package/vanilla/UiCycleButton.d.ts +2 -2
  172. package/vanilla/UiCycleButton.js +31 -26
  173. package/vanilla/UiDataTable.d.ts +1 -1
  174. package/vanilla/UiDataTable.js +26 -20
  175. package/vanilla/UiDateField.d.ts +1 -1
  176. package/vanilla/UiDateField.js +78 -75
  177. package/vanilla/UiDatePicker.d.ts +1 -1
  178. package/vanilla/UiDatePicker.js +155 -149
  179. package/vanilla/UiDateRangePicker.d.ts +1 -1
  180. package/vanilla/UiDateRangePicker.js +136 -128
  181. package/vanilla/UiDescriptionItem.d.ts +1 -1
  182. package/vanilla/UiDescriptionItem.js +13 -11
  183. package/vanilla/UiDescriptionList.d.ts +1 -1
  184. package/vanilla/UiDescriptionList.js +13 -11
  185. package/vanilla/UiDialog.d.ts +1 -1
  186. package/vanilla/UiDialog.js +14 -14
  187. package/vanilla/UiDisclosure.d.ts +1 -1
  188. package/vanilla/UiDisclosure.js +28 -26
  189. package/vanilla/UiEditable.d.ts +1 -1
  190. package/vanilla/UiEditable.js +29 -27
  191. package/vanilla/UiEditor.d.ts +1 -1
  192. package/vanilla/UiEditor.js +62 -58
  193. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  194. package/vanilla/UiEditorBlockActions.js +14 -12
  195. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  196. package/vanilla/UiEditorChipEditor.js +22 -14
  197. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  198. package/vanilla/UiEditorCodeLanguage.js +23 -16
  199. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  200. package/vanilla/UiEditorFootnoteEditor.js +17 -9
  201. package/vanilla/UiEditorFormattingTools.d.ts +1 -1
  202. package/vanilla/UiEditorFormattingTools.js +108 -71
  203. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  204. package/vanilla/UiEditorImageToolbar.js +68 -66
  205. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  206. package/vanilla/UiEditorInsertTableGrid.js +50 -35
  207. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  208. package/vanilla/UiEditorLinkCard.js +27 -25
  209. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  210. package/vanilla/UiEditorLinkForm.js +79 -57
  211. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  212. package/vanilla/UiEditorMentionMenu.js +63 -44
  213. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  214. package/vanilla/UiEditorMentionMenuItem.js +22 -16
  215. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  216. package/vanilla/UiEditorSlashMenu.js +52 -33
  217. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  218. package/vanilla/UiEditorSlashMenuGroup.js +19 -14
  219. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  220. package/vanilla/UiEditorSlashMenuItem.js +27 -25
  221. package/vanilla/UiEditorSurface.d.ts +1 -1
  222. package/vanilla/UiEditorSurface.js +13 -11
  223. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  224. package/vanilla/UiEditorTableContextMenu.js +81 -52
  225. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  226. package/vanilla/UiEditorTableOverlay.js +107 -68
  227. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  228. package/vanilla/UiEditorTableToolbar.js +121 -70
  229. package/vanilla/UiEditorToolbar.d.ts +1 -1
  230. package/vanilla/UiEditorToolbar.js +20 -12
  231. package/vanilla/UiFileInput.d.ts +1 -1
  232. package/vanilla/UiFileInput.js +94 -80
  233. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  234. package/vanilla/UiFloatingActionButton.js +21 -20
  235. package/vanilla/UiFormField.d.ts +1 -1
  236. package/vanilla/UiFormField.js +21 -19
  237. package/vanilla/UiGrid.d.ts +1 -1
  238. package/vanilla/UiGrid.js +26 -23
  239. package/vanilla/UiIcon.d.ts +1 -1
  240. package/vanilla/UiIcon.js +20 -15
  241. package/vanilla/UiIconButton.d.ts +1 -1
  242. package/vanilla/UiIconButton.js +35 -43
  243. package/vanilla/UiImage.d.ts +1 -1
  244. package/vanilla/UiImage.js +16 -14
  245. package/vanilla/UiInput.d.ts +1 -1
  246. package/vanilla/UiInput.js +29 -35
  247. package/vanilla/UiInputGroup.d.ts +1 -1
  248. package/vanilla/UiInputGroup.js +16 -14
  249. package/vanilla/UiLightEditor.d.ts +1 -1
  250. package/vanilla/UiLightEditor.js +29 -27
  251. package/vanilla/UiList.d.ts +1 -1
  252. package/vanilla/UiList.js +33 -27
  253. package/vanilla/UiListItem.d.ts +1 -1
  254. package/vanilla/UiListItem.js +12 -12
  255. package/vanilla/UiListbox.d.ts +1 -1
  256. package/vanilla/UiListbox.js +90 -80
  257. package/vanilla/UiMenu.d.ts +1 -1
  258. package/vanilla/UiMenu.js +20 -12
  259. package/vanilla/UiMenuGroup.d.ts +1 -1
  260. package/vanilla/UiMenuGroup.js +14 -11
  261. package/vanilla/UiMenuItem.d.ts +1 -1
  262. package/vanilla/UiMenuItem.js +74 -75
  263. package/vanilla/UiMeter.d.ts +1 -1
  264. package/vanilla/UiMeter.js +67 -62
  265. package/vanilla/UiNavItem.d.ts +1 -1
  266. package/vanilla/UiNavItem.js +63 -65
  267. package/vanilla/UiNoticeStripe.d.ts +1 -1
  268. package/vanilla/UiNoticeStripe.js +16 -16
  269. package/vanilla/UiNumberInput.d.ts +1 -1
  270. package/vanilla/UiNumberInput.js +41 -38
  271. package/vanilla/UiPageHeader.d.ts +1 -1
  272. package/vanilla/UiPageHeader.js +17 -15
  273. package/vanilla/UiPagination.d.ts +1 -1
  274. package/vanilla/UiPagination.js +53 -44
  275. package/vanilla/UiPopover.d.ts +1 -1
  276. package/vanilla/UiPopover.js +13 -11
  277. package/vanilla/UiRadio.d.ts +1 -1
  278. package/vanilla/UiRadio.js +25 -23
  279. package/vanilla/UiRadioGroup.d.ts +1 -1
  280. package/vanilla/UiRadioGroup.js +33 -36
  281. package/vanilla/UiReel.d.ts +1 -1
  282. package/vanilla/UiReel.js +20 -12
  283. package/vanilla/UiScrollArea.d.ts +1 -1
  284. package/vanilla/UiScrollArea.js +13 -11
  285. package/vanilla/UiSearchResultRow.d.ts +1 -1
  286. package/vanilla/UiSearchResultRow.js +21 -20
  287. package/vanilla/UiSearchShell.d.ts +1 -1
  288. package/vanilla/UiSearchShell.js +16 -14
  289. package/vanilla/UiSection.d.ts +1 -1
  290. package/vanilla/UiSection.js +48 -45
  291. package/vanilla/UiSegmentedControl.d.ts +2 -2
  292. package/vanilla/UiSegmentedControl.js +52 -47
  293. package/vanilla/UiSelect.d.ts +1 -1
  294. package/vanilla/UiSelect.js +17 -21
  295. package/vanilla/UiSeparator.d.ts +1 -1
  296. package/vanilla/UiSeparator.js +12 -12
  297. package/vanilla/UiSidebar.d.ts +1 -1
  298. package/vanilla/UiSidebar.js +17 -15
  299. package/vanilla/UiSiteHeader.d.ts +1 -1
  300. package/vanilla/UiSiteHeader.js +25 -23
  301. package/vanilla/UiSkeleton.d.ts +1 -1
  302. package/vanilla/UiSkeleton.js +21 -20
  303. package/vanilla/UiSlider.d.ts +1 -1
  304. package/vanilla/UiSlider.js +50 -47
  305. package/vanilla/UiSpinner.d.ts +1 -1
  306. package/vanilla/UiSpinner.js +34 -27
  307. package/vanilla/UiStack.d.ts +1 -1
  308. package/vanilla/UiStack.js +12 -12
  309. package/vanilla/UiStatusMessage.d.ts +1 -1
  310. package/vanilla/UiStatusMessage.js +22 -21
  311. package/vanilla/UiSwatch.d.ts +1 -1
  312. package/vanilla/UiSwatch.js +20 -17
  313. package/vanilla/UiSwitch.d.ts +1 -1
  314. package/vanilla/UiSwitch.js +25 -23
  315. package/vanilla/UiSwitcher.d.ts +1 -1
  316. package/vanilla/UiSwitcher.js +13 -11
  317. package/vanilla/UiTable.d.ts +1 -1
  318. package/vanilla/UiTable.js +13 -11
  319. package/vanilla/UiTabs.d.ts +1 -1
  320. package/vanilla/UiTabs.js +39 -28
  321. package/vanilla/UiText.d.ts +1 -1
  322. package/vanilla/UiText.js +128 -125
  323. package/vanilla/UiTextarea.d.ts +1 -1
  324. package/vanilla/UiTextarea.js +27 -39
  325. package/vanilla/UiTimeField.d.ts +1 -1
  326. package/vanilla/UiTimeField.js +42 -40
  327. package/vanilla/UiTimePicker.d.ts +1 -1
  328. package/vanilla/UiTimePicker.js +105 -102
  329. package/vanilla/UiToast.d.ts +1 -1
  330. package/vanilla/UiToast.js +14 -14
  331. package/vanilla/UiToastRegion.d.ts +1 -1
  332. package/vanilla/UiToastRegion.js +61 -31
  333. package/vanilla/UiTooltip.d.ts +1 -1
  334. package/vanilla/UiTooltip.js +17 -14
  335. package/vanilla/UiTopBar.d.ts +1 -1
  336. package/vanilla/UiTopBar.js +24 -22
  337. package/vanilla/UiTree.d.ts +1 -1
  338. package/vanilla/UiTree.js +17 -12
  339. package/vanilla/UiTreeItem.d.ts +1 -1
  340. package/vanilla/UiTreeItem.js +73 -79
  341. package/vanilla/UiWizard.d.ts +1 -1
  342. package/vanilla/UiWizard.js +61 -40
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.91 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, formatCall, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, RangedPositionalList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
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
- const s0 = toAttribute(x0, "aria-label");
53
- if (s0 !== r.v0) writeAttribute(r.a0, "aria-label", r.v0 = s0);
54
- const x1 = trackContainer(r, readMember(o, "label"));
55
- const s1 = toText(x1);
56
- if (s1 !== r.v1) r.a1.data = r.v1 = s1;
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 = (checkReference(S, readDeclared(v[19], ["weekendColumns"]), ["l","i"], "expression:$model.weekendColumns:model.weekendColumns", "Reference `model.weekendColumns` must satisfy list(integer).") ? readMember(v[19], "weekendColumns") : NONCONFORMING);
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, (checkReference(S, readDeclared(v[19], ["rangeBands"]), ["l",["o",["start","i","end","i"]]], "expression:$model.rangeBands[$index].start:model.rangeBands", "Reference `model.rangeBands` must satisfy list(object({ start: integer, end: integer })).") ? readMember(readIndex(readMember(v[19], "rangeBands"), r.j), "start") : NONCONFORMING));
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
- const x2 = trackContainer(r, (checkReference(S, readDeclared(v[19], ["rangeBands"]), ["l",["o",["start","i","end","i"]]], "expression:$model.rangeBands[$index].end:model.rangeBands", "Reference `model.rangeBands` must satisfy list(object({ start: integer, end: integer })).") ? readMember(readIndex(readMember(v[19], "rangeBands"), r.j), "end") : NONCONFORMING));
87
- if (x2 !== NONCONFORMING) {
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(o, d, c);
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 = (((truthy(trackContainer(r, readMember(o, "selected"))) || truthy(trackContainer(r, readMember(o, "inRange")))) || truthy(trackContainer(r, readMember(o, "rangeStart")))) || truthy(trackContainer(r, readMember(o, "rangeEnd"))));
113
- const s0 = toAttribute(x0, "aria-selected");
114
- if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
115
- const x1 = trackContainer(r, readMember(o, "value"));
116
- const s2 = toAttribute(x1, "data-calendar-day");
117
- if (s2 !== r.v2) writeAttribute(r.a1, "data-calendar-day", r.v2 = s2);
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"))) || (v[9] === true));
121
- const s1 = toAttribute(x2, "aria-disabled");
122
- if (s1 !== r.v1) writeAttribute(r.a0, "aria-disabled", r.v1 = s1);
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 = ((((truthy(trackContainer(r, readMember(o, "selected"))) && (v[25] === "")) && (v[14] === "")) || truthy(trackContainer(r, readMember(o, "rangeStart")))) || truthy(trackContainer(r, readMember(o, "rangeEnd"))));
126
- const s3 = toAttribute(x3, "selected");
127
- if (s3 !== r.v3) writeAttribute(r.a1, "selected", r.v3 = s3);
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 = (truthy(v[9]) || truthy(trackContainer(r, readMember(o, "disabled"))));
131
- const s4 = toAttribute(x4, "disabled");
132
- if (s4 !== r.v4) writeAttribute(r.a1, "disabled", r.v4 = s4);
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
- const s5 = toAttribute(x5, "tabindex");
137
- if (s5 !== r.v5) writeAttribute(r.a1, "tabindex", r.v5 = s5);
138
- const x6 = trackContainer(r, readMember(o, "label"));
139
- const s6 = toAttribute(x6, "aria-label");
140
- if (s6 !== r.v6) writeAttribute(r.a1, "aria-label", r.v6 = s6);
141
- const x7 = trackContainer(r, readIndex({ "true": "date", "false": null }, textCall("concat", [trackContainer(r, readMember(o, "today"))])));
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", [((truthy(trackContainer(r, readMember(o, "outside"))) && !truthy(trackContainer(r, readMember(o, "inRange")))) && !truthy(trackContainer(r, readMember(o, "selected"))))])));
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(o, d, c);
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
- const s0 = toAttribute(x0, "aria-selected");
198
- if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
199
- const x1 = trackContainer(r, readMember(o, "value"));
200
- const s1 = toAttribute(x1, "data-calendar-month");
201
- if (s1 !== r.v1) writeAttribute(r.a1, "data-calendar-month", r.v1 = s1);
202
- const x2 = trackContainer(r, readMember(o, "fullLabel"));
203
- const s2 = toAttribute(x2, "aria-label");
204
- if (s2 !== r.v2) writeAttribute(r.a1, "aria-label", r.v2 = s2);
205
- const s3 = toAttribute(x2, "title");
206
- if (s3 !== r.v3) writeAttribute(r.a1, "title", r.v3 = s3);
207
- const s4 = toAttribute(x0, "selected");
208
- if (s4 !== r.v4) writeAttribute(r.a1, "selected", r.v4 = s4);
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 = (truthy(v[9]) || truthy(trackContainer(r, readMember(o, "disabled"))));
212
- const s5 = toAttribute(x3, "disabled");
213
- if (s5 !== r.v5) writeAttribute(r.a1, "disabled", r.v5 = s5);
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
- const s6 = toAttribute(x4, "tabindex");
218
- if (s6 !== r.v6) writeAttribute(r.a1, "tabindex", r.v6 = s6);
219
- const x5 = trackContainer(r, readMember(o, "label"));
220
- const s7 = toText(x5);
221
- if (s7 !== r.v7) r.a2.data = r.v7 = s7;
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(o, d, c);
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
- const s0 = toAttribute(x0, "aria-selected");
257
- if (s0 !== r.v0) writeAttribute(r.a0, "aria-selected", r.v0 = s0);
258
- const x1 = trackContainer(r, readMember(o, "value"));
259
- const s1 = toAttribute(x1, "data-calendar-year");
260
- if (s1 !== r.v1) writeAttribute(r.a1, "data-calendar-year", r.v1 = s1);
261
- const s2 = toAttribute(x0, "selected");
262
- if (s2 !== r.v2) writeAttribute(r.a1, "selected", r.v2 = s2);
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 = (truthy(v[9]) || truthy(trackContainer(r, readMember(o, "disabled"))));
266
- const s3 = toAttribute(x2, "disabled");
267
- if (s3 !== r.v3) writeAttribute(r.a1, "disabled", r.v3 = s3);
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
- const s4 = toAttribute(x3, "tabindex");
272
- if (s4 !== r.v4) writeAttribute(r.a1, "tabindex", r.v4 = s4);
273
- const x4 = trackContainer(r, readMember(o, "label"));
274
- const s5 = toText(x4);
275
- if (s5 !== r.v5) r.a2.data = r.v5 = s5;
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
- const x0 = v[15];
281
- const s0 = toAttribute(x0, "aria-label");
282
- if (s0 !== r.v0) writeAttribute(r.n, "aria-label", r.v0 = s0);
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 x1 = v[23];
286
- const s1 = toAttribute(x1, "label");
287
- if (s1 !== r.v1) writeAttribute(r.a1, "label", r.v1 = s1);
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 x2 = (checkReference(S, readDeclared(v[19], ["month"]), "s", "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", "Reference `model.month` must satisfy string.") && checkReference(S, readDeclared(v[19], ["previousMonth"]), "s", "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", "Reference `model.previousMonth` must satisfy string.") && checkReference(S, readDeclared(v[19], ["yearPageStart"]), "i", "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", "Reference `model.yearPageStart` must satisfy integer.") ? (((truthy(v[9]) || ((v[4] === "days") && (readMember(v[19], "previousMonth") === ""))) || ((v[4] === "months") && truthy(binaryValue("<", readMember(v[19], "month"), "0002-01")))) || ((v[4] === "years") && (readMember(v[19], "yearPageStart") === 1))) : NONCONFORMING);
291
- if (x2 !== NONCONFORMING) {
292
- const s2 = toAttribute(x2, "disabled");
293
- if (s2 !== r.v2) writeAttribute(r.a1, "disabled", r.v2 = s2);
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 x3 = (checkReference(S, readDeclared(v[19], ["monthLabel"]), "s", "expression:concat($monthLabel, ': ', $model.monthLabel):model.monthLabel", "Reference `model.monthLabel` must satisfy string.") ? textCall("concat", [v[21], ": ", readMember(v[19], "monthLabel")]) : NONCONFORMING);
298
- if (x3 !== NONCONFORMING) {
299
- const s3 = toAttribute(x3, "aria-label");
300
- if (s3 !== r.v3) writeAttribute(r.a2, "aria-label", r.v3 = s3);
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 x4 = (v[4] === "months");
305
- const s4 = toAttribute(x4, "aria-expanded");
306
- if (s4 !== r.v4) writeAttribute(r.a2, "aria-expanded", r.v4 = s4);
307
- const s5 = toAttribute(x4, "selected");
308
- if (s5 !== r.v5) writeAttribute(r.a2, "selected", r.v5 = s5);
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 x5 = v[9];
312
- const s6 = toAttribute(x5, "disabled");
313
- if (s6 !== r.v6) writeAttribute(r.a2, "disabled", r.v6 = s6);
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 x6 = (checkReference(S, readDeclared(v[19], ["monthLabel"]), "s", "expression:$model.monthLabel:model.monthLabel", "Reference `model.monthLabel` must satisfy string.") ? readMember(v[19], "monthLabel") : NONCONFORMING);
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 s12 = toText(x7);
324
- if (s12 !== r.v12) r.a5.data = r.v12 = s12;
396
+ const s9 = toText(x7);
397
+ if (s9 !== r.v9) r.a3.data = r.v9 = s9;
325
398
  }
326
- const x8 = (checkReference(S, readDeclared(v[19], ["empty"]), "b", "expression:{ true: 0, false: null }[concat($model.empty)]:model.empty", "Reference `model.empty` must satisfy boolean.") ? readIndex({ "true": 0, "false": null }, textCall("concat", [readMember(v[19], "empty")])) : NONCONFORMING);
399
+ const x8 = checkedReferenceValue(S, readMember(v[19], "yearLabel"), RC0, "expression:$model.yearLabel:model.yearLabel", "model.yearLabel");
327
400
  if (x8 !== NONCONFORMING) {
328
- const s16 = toAttribute(x8, "tabindex");
329
- if (s16 !== r.v16) writeAttribute(r.a8, "tabindex", r.v16 = s16);
401
+ const s14 = toText(x8);
402
+ if (s14 !== r.v14) r.a5.data = r.v14 = s14;
330
403
  }
331
- const x9 = (checkReference(S, readDeclared(v[19], ["title"]), "s", "expression:$model.title:model.title", "Reference `model.title` must satisfy string.") ? readMember(v[19], "title") : NONCONFORMING);
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 s17 = toAttribute(x9, "aria-label");
334
- if (s17 !== r.v17) writeAttribute(r.a8, "aria-label", r.v17 = s17);
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 x10 = (checkReference(S, readDeclared(v[19], ["yearLabel"]), "s", "expression:concat($yearLabel, ': ', $model.yearLabel):model.yearLabel", "Reference `model.yearLabel` must satisfy string.") ? textCall("concat", [v[30], ": ", readMember(v[19], "yearLabel")]) : NONCONFORMING);
339
- if (x10 !== NONCONFORMING) {
340
- const s8 = toAttribute(x10, "aria-label");
341
- if (s8 !== r.v8) writeAttribute(r.a4, "aria-label", r.v8 = s8);
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 x11 = (v[4] === "years");
346
- const s9 = toAttribute(x11, "aria-expanded");
347
- if (s9 !== r.v9) writeAttribute(r.a4, "aria-expanded", r.v9 = s9);
348
- const s10 = toAttribute(x11, "selected");
349
- if (s10 !== r.v10) writeAttribute(r.a4, "selected", r.v10 = s10);
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 x12 = v[9];
353
- const s11 = toAttribute(x12, "disabled");
354
- if (s11 !== r.v11) writeAttribute(r.a4, "disabled", r.v11 = s11);
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 x13 = v[22];
358
- const s13 = toAttribute(x13, "label");
359
- if (s13 !== r.v13) writeAttribute(r.a6, "label", r.v13 = s13);
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 x14 = (checkReference(S, readDeclared(v[19], ["month"]), "s", "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", "Reference `model.month` must satisfy string.") && checkReference(S, readDeclared(v[19], ["nextMonth"]), "s", "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", "Reference `model.nextMonth` must satisfy string.") && checkReference(S, readDeclared(v[19], ["yearPageStart"]), "i", "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", "Reference `model.yearPageStart` must satisfy integer.") ? (((truthy(v[9]) || ((v[4] === "days") && (readMember(v[19], "nextMonth") === ""))) || ((v[4] === "months") && truthy(binaryValue(">", readMember(v[19], "month"), "9998-12")))) || ((v[4] === "years") && truthy(binaryValue(">=", readMember(v[19], "yearPageStart"), 9997)))) : NONCONFORMING);
363
- if (x14 !== NONCONFORMING) {
364
- const s14 = toAttribute(x14, "disabled");
365
- if (s14 !== r.v14) writeAttribute(r.a6, "disabled", r.v14 = s14);
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 x15 = readIndex({ "true": null, "false": v[5] }, textCall("concat", [(v[4] === "days")]));
370
- if (x15 !== NONCONFORMING) {
371
- const s15 = toAttribute(x15, "height");
372
- if (s15 !== r.v15) writeAttribute(r.a7, "height", r.v15 = s15);
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 x16 = v[24];
377
- const s18 = toAttribute(x16, "aria-readonly");
378
- if (s18 !== r.v18) writeAttribute(r.a8, "aria-readonly", r.v18 = s18);
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 x17 = ((v[25] !== "") || (v[14] !== ""));
382
- const s19 = toAttribute(x17, "aria-multiselectable");
383
- if (s19 !== r.v19) writeAttribute(r.a8, "aria-multiselectable", r.v19 = s19);
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 x18 = (v[4] !== "days");
387
- const s20 = toAttribute(x18, "hidden");
388
- if (s20 !== r.v20) writeAttribute(r.a8, "hidden", r.v20 = s20);
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 x19 = (checkReference(S, readDeclared(v[19], ["empty"]), "b", "expression:not $model.empty or $mode != 'days':model.empty", "Reference `model.empty` must satisfy boolean.") ? (!truthy(readMember(v[19], "empty")) || (v[4] !== "days")) : NONCONFORMING);
392
- if (x19 !== NONCONFORMING) {
393
- const s21 = toAttribute(x19, "hidden");
394
- if (s21 !== r.v21) writeAttribute(r.a11, "hidden", r.v21 = s21);
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 x20 = v[13];
399
- const s22 = toText(x20);
400
- if (s22 !== r.v22) r.a12.data = r.v22 = s22;
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 x21 = v[21];
404
- const s23 = toAttribute(x21, "aria-label");
405
- if (s23 !== r.v23) writeAttribute(r.a13, "aria-label", r.v23 = s23);
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 x22 = (v[4] !== "months");
409
- const s24 = toAttribute(x22, "hidden");
410
- if (s24 !== r.v24) writeAttribute(r.a13, "hidden", r.v24 = s24);
411
- const x23 = (v[4] !== "years");
412
- const s25 = toAttribute(x23, "hidden");
413
- if (s25 !== r.v25) writeAttribute(r.a15, "hidden", r.v25 = s25);
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 x24 = v[30];
417
- const s26 = toAttribute(x24, "aria-label");
418
- if (s26 !== r.v26) writeAttribute(r.a16, "aria-label", r.v26 = s26);
419
- const s31 = toAttribute(x24, "aria-label");
420
- if (s31 !== r.v31) writeAttribute(r.a19, "aria-label", r.v31 = s31);
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 x25 = v[9];
424
- const s27 = toAttribute(x25, "disabled");
425
- if (s27 !== r.v27) writeAttribute(r.a16, "disabled", r.v27 = s27);
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 x26 = (v[6] !== "");
429
- const s28 = toAttribute(x26, "invalid");
430
- if (s28 !== r.v28) writeAttribute(r.a16, "invalid", r.v28 = s28);
431
- const x27 = (v[6] === "");
432
- const s29 = toAttribute(x27, "hidden");
433
- if (s29 !== r.v29) writeAttribute(r.a17, "hidden", r.v29 = s29);
434
- const x28 = v[6];
435
- const s30 = toText(x28);
436
- if (s30 !== r.v30) r.a18.data = r.v30 = s30;
437
- }
438
- if (c & 1074266112) { const l = (checkReference(S, readDeclared(v[19], ["weekdays"]), ["l",["o",["day","i","label","s","fullLabel","s"]]], "expression:$model.weekdays:model.weekdays", "Reference `model.weekdays` must satisfy list(object({ day: integer, label: string, fullLabel: string })).") ? readMember(v[19], "weekdays") : NONCONFORMING); if (l !== NONCONFORMING) { r.L0.update(l, d, c); } }
439
- if (c & 1074266112) { const l = (checkReference(S, readDeclared(v[19], ["rows"]), ["l",["l",["o",["value","s","day","i","outside","b","label","s","disabled","b","selected","b","today","b","rangeStart","b","rangeEnd","b","inRange","b","tabIndex","i"]]]], "expression:$model.rows:model.rows", "Reference `model.rows` must satisfy 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 }))).") ? readMember(v[19], "rows") : NONCONFORMING); if (l !== NONCONFORMING) { r.L1.update(l, d, c); } }
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 = (checkReference(S, readDeclared(v[19], ["monthRows"]), ["l",["l",["o",["value","s","label","s","fullLabel","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]], "expression:$model.monthRows:model.monthRows", "Reference `model.monthRows` must satisfy list(list(object({ value: string, label: string, fullLabel: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer }))).") ? readMember(v[19], "monthRows") : NONCONFORMING); if (l !== NONCONFORMING) { r.L2.update(l, d, c); } }
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 = (checkReference(S, readDeclared(v[19], ["yearRows"]), ["l",["l",["o",["value","i","label","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]], "expression:$model.yearRows:model.yearRows", "Reference `model.yearRows` must satisfy list(list(object({ value: integer, label: string, current: boolean, outsideBounds: boolean, disabled: boolean, tabIndex: integer }))).") ? readMember(v[19], "yearRows") : NONCONFORMING); if (l !== NONCONFORMING) { r.L3.update(l, d, c); } }
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: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "", v8: null, v9: null, v10: null, v11: null, v12: "", v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: null, v22: "", v23: null, v24: null, v25: null, v26: null, v27: null, v28: null, v29: null, v30: "", v31: 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") };
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;