@uninterface/backend-element-plus 0.0.0-stage → 2.14.0-alpha1

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 (371) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -2
  3. package/THIRD-PARTY-NOTICES.md +37 -0
  4. package/capabilities.json +168 -0
  5. package/docs/README.md +47 -0
  6. package/docs/collections.md +211 -0
  7. package/docs/contract-adaptations.md +111 -0
  8. package/docs/customization.md +131 -0
  9. package/docs/examples/NativeReference.vue +147 -0
  10. package/docs/exports.md +32 -0
  11. package/docs/floating-panels.md +53 -0
  12. package/docs/font-licenses/inter.txt +93 -0
  13. package/docs/font-licenses/noto-sans-sc.txt +93 -0
  14. package/docs/font-licenses/noto-sans-tc.txt +93 -0
  15. package/docs/icon-licenses/Element-Plus.txt +21 -0
  16. package/docs/icon-licenses/SOURCES.md +47 -0
  17. package/docs/modals.md +29 -0
  18. package/docs/native-html.md +21 -0
  19. package/docs/navigation.md +31 -0
  20. package/docs/package-build.md +20 -0
  21. package/docs/presentation.md +291 -0
  22. package/docs/progress.md +9 -0
  23. package/docs/reviewed-components.md +76 -0
  24. package/docs/segmented-selection.md +22 -0
  25. package/docs/selection-feedback-panels.md +79 -0
  26. package/docs/setup.md +157 -0
  27. package/docs/strategies.md +89 -0
  28. package/docs/table-columns.md +37 -0
  29. package/docs/testing.md +29 -0
  30. package/docs/typography.md +93 -0
  31. package/document.css +102 -0
  32. package/esm/_virtual/_plugin-vue_export-helper.js +10 -0
  33. package/esm/capabilities.json.js +14 -0
  34. package/esm/package.json.js +14 -0
  35. package/esm/src/ChoiceGroup.css +23 -0
  36. package/esm/src/ChoiceGroup.vue.js +8 -0
  37. package/esm/src/ChoiceGroup2.vue.js +221 -0
  38. package/esm/src/CollectionCard.vue.js +4 -0
  39. package/esm/src/CollectionCard2.vue.js +199 -0
  40. package/esm/src/CollectionFilterEditor.vue.js +4 -0
  41. package/esm/src/CollectionFilterEditor2.vue.js +31 -0
  42. package/esm/src/CollectionHeaderFlow.vue.js +4 -0
  43. package/esm/src/CollectionHeaderFlow2.vue.js +33 -0
  44. package/esm/src/CollectionHeaderPart.vue.js +4 -0
  45. package/esm/src/CollectionHeaderPart2.vue.js +40 -0
  46. package/esm/src/CollectionQueryBadge.vue.js +4 -0
  47. package/esm/src/CollectionQueryBadge2.vue.js +86 -0
  48. package/esm/src/CollectionSortLayout.vue.js +4 -0
  49. package/esm/src/CollectionSortLayout2.vue.js +23 -0
  50. package/esm/src/CollectionStatus.vue.js +4 -0
  51. package/esm/src/CollectionStatus2.vue.js +135 -0
  52. package/esm/src/CollectionSummary.vue.js +4 -0
  53. package/esm/src/CollectionSummary2.vue.js +70 -0
  54. package/esm/src/CollectionTableActions.vue.js +13 -0
  55. package/esm/src/DrawerDepth.vue.js +4 -0
  56. package/esm/src/DrawerDepth2.vue.js +28 -0
  57. package/esm/src/DrawerDock.vue.js +4 -0
  58. package/esm/src/DrawerDock2.vue.js +26 -0
  59. package/esm/src/EntryBranch.vue.js +4 -0
  60. package/esm/src/EntryBranch2.vue.js +357 -0
  61. package/esm/src/EntryContent.css +10 -0
  62. package/esm/src/EntryContent.vue.js +8 -0
  63. package/esm/src/EntryContent2.vue.js +79 -0
  64. package/esm/src/EntryPopup.vue.js +4 -0
  65. package/esm/src/EntryPopup2.vue.js +164 -0
  66. package/esm/src/FeedbackItem.vue.js +4 -0
  67. package/esm/src/FeedbackItem2.vue.js +145 -0
  68. package/esm/src/FeedbackViewport.vue.js +4 -0
  69. package/esm/src/FeedbackViewport2.vue.js +42 -0
  70. package/esm/src/FieldError.vue.js +4 -0
  71. package/esm/src/FieldError2.vue.js +30 -0
  72. package/esm/src/FieldFailureTooltip.vue.js +4 -0
  73. package/esm/src/FieldFailureTooltip2.vue.js +96 -0
  74. package/esm/src/FileTypeIcon.vue.js +4 -0
  75. package/esm/src/FileTypeIcon2.vue.js +32 -0
  76. package/esm/src/FooterActions.vue.js +16 -0
  77. package/esm/src/MenuBridge.vue.js +4 -0
  78. package/esm/src/MenuBridge2.vue.js +68 -0
  79. package/esm/src/NativeMenu.vue.js +4 -0
  80. package/esm/src/NativeMenu2.vue.js +90 -0
  81. package/esm/src/OverlaySurface.vue.js +4 -0
  82. package/esm/src/OverlaySurface2.vue.js +195 -0
  83. package/esm/src/TableAddRow.vue.js +4 -0
  84. package/esm/src/TableAddRow2.vue.js +66 -0
  85. package/esm/src/TableFilterButton.vue.js +4 -0
  86. package/esm/src/TableFilterButton2.vue.js +35 -0
  87. package/esm/src/TemporalAction.vue.js +4 -0
  88. package/esm/src/TemporalAction2.vue.js +46 -0
  89. package/esm/src/TemporalEditor.vue.js +4 -0
  90. package/esm/src/TemporalEditor2.vue.js +113 -0
  91. package/esm/src/TemporalInput.vue.js +4 -0
  92. package/esm/src/TemporalInput2.vue.js +269 -0
  93. package/esm/src/TemporalMode.vue.js +4 -0
  94. package/esm/src/TemporalMode2.vue.js +149 -0
  95. package/esm/src/TemporalPicker.vue.js +4 -0
  96. package/esm/src/TemporalPicker2.vue.js +155 -0
  97. package/esm/src/TemporalRangeIcon.vue.js +4 -0
  98. package/esm/src/TemporalRangeIcon2.vue.js +67 -0
  99. package/esm/src/TemporalRangePicker.vue.js +4 -0
  100. package/esm/src/TemporalRangePicker2.vue.js +199 -0
  101. package/esm/src/TemporalTimePanel.vue.js +4 -0
  102. package/esm/src/TemporalTimePanel2.vue.js +53 -0
  103. package/esm/src/UiApp.vue.js +4 -0
  104. package/esm/src/UiApp2.vue.js +57 -0
  105. package/esm/src/UiBadge.vue.js +4 -0
  106. package/esm/src/UiBadge2.vue.js +44 -0
  107. package/esm/src/UiBreadcrumbs.css +7 -0
  108. package/esm/src/UiBreadcrumbs.vue.js +8 -0
  109. package/esm/src/UiBreadcrumbs2.vue.js +110 -0
  110. package/esm/src/UiButton.vue.js +4 -0
  111. package/esm/src/UiButton2.vue.js +167 -0
  112. package/esm/src/UiCard.vue.js +4 -0
  113. package/esm/src/UiCard2.vue.js +102 -0
  114. package/esm/src/UiCheckbox.vue.js +4 -0
  115. package/esm/src/UiCheckbox2.vue.js +105 -0
  116. package/esm/src/UiCheckboxGroup.vue.js +4 -0
  117. package/esm/src/UiCheckboxGroup2.vue.js +43 -0
  118. package/esm/src/UiCollapsible.css +7 -0
  119. package/esm/src/UiCollapsible.vue.js +8 -0
  120. package/esm/src/UiCollapsible2.vue.js +59 -0
  121. package/esm/src/UiCollectionFooter.vue.js +4 -0
  122. package/esm/src/UiCollectionFooter2.vue.js +64 -0
  123. package/esm/src/UiCollectionHeader.vue.js +4 -0
  124. package/esm/src/UiCollectionHeader2.vue.js +24 -0
  125. package/esm/src/UiCollectionView.vue.js +4 -0
  126. package/esm/src/UiCollectionView2.vue.js +239 -0
  127. package/esm/src/UiContent.vue.js +4 -0
  128. package/esm/src/UiContent2.vue.js +35 -0
  129. package/esm/src/UiDateInput.vue.js +4 -0
  130. package/esm/src/UiDateInput2.vue.js +46 -0
  131. package/esm/src/UiDateTimeInput.vue.js +4 -0
  132. package/esm/src/UiDateTimeInput2.vue.js +46 -0
  133. package/esm/src/UiDrawer.vue.js +4 -0
  134. package/esm/src/UiDrawer2.vue.js +98 -0
  135. package/esm/src/UiDrawerLayout.vue.js +4 -0
  136. package/esm/src/UiDrawerLayout2.vue.js +63 -0
  137. package/esm/src/UiEmpty.vue.js +4 -0
  138. package/esm/src/UiEmpty2.vue.js +51 -0
  139. package/esm/src/UiField.vue.js +4 -0
  140. package/esm/src/UiField2.vue.js +167 -0
  141. package/esm/src/UiFileCollection.vue.js +4 -0
  142. package/esm/src/UiFileCollection2.vue.js +54 -0
  143. package/esm/src/UiFileInput.vue.js +4 -0
  144. package/esm/src/UiFileInput2.vue.js +138 -0
  145. package/esm/src/UiFilePreview.vue.js +4 -0
  146. package/esm/src/UiFilePreview2.vue.js +104 -0
  147. package/esm/src/UiFloating.vue.js +4 -0
  148. package/esm/src/UiFloating2.vue.js +108 -0
  149. package/esm/src/UiForm.vue.js +4 -0
  150. package/esm/src/UiForm2.vue.js +47 -0
  151. package/esm/src/UiIcon.css +7 -0
  152. package/esm/src/UiIcon.vue.js +8 -0
  153. package/esm/src/UiIcon2.vue.js +27 -0
  154. package/esm/src/UiImagePreview.vue.js +4 -0
  155. package/esm/src/UiImagePreview2.vue.js +92 -0
  156. package/esm/src/UiInputFrame.vue.js +4 -0
  157. package/esm/src/UiInputFrame2.vue.js +62 -0
  158. package/esm/src/UiInputFrameSpacer.vue.js +4 -0
  159. package/esm/src/UiInputFrameSpacer2.vue.js +20 -0
  160. package/esm/src/UiKeyValueItem.vue.js +4 -0
  161. package/esm/src/UiKeyValueItem2.vue.js +29 -0
  162. package/esm/src/UiKeyValueList.vue.js +4 -0
  163. package/esm/src/UiKeyValueList2.vue.js +17 -0
  164. package/esm/src/UiLayout.vue.js +4 -0
  165. package/esm/src/UiLayout2.vue.js +156 -0
  166. package/esm/src/UiLink.vue.js +4 -0
  167. package/esm/src/UiLink2.vue.js +43 -0
  168. package/esm/src/UiList.vue.js +4 -0
  169. package/esm/src/UiList2.vue.js +247 -0
  170. package/esm/src/UiLoadingIndicator.vue.js +4 -0
  171. package/esm/src/UiLoadingIndicator2.vue.js +53 -0
  172. package/esm/src/UiLoadingRegion.vue.js +4 -0
  173. package/esm/src/UiLoadingRegion2.vue.js +100 -0
  174. package/esm/src/UiMenu.vue.js +4 -0
  175. package/esm/src/UiMenu2.vue.js +70 -0
  176. package/esm/src/UiModal.vue.js +4 -0
  177. package/esm/src/UiModal2.vue.js +145 -0
  178. package/esm/src/UiMultiSelect.vue.js +4 -0
  179. package/esm/src/UiMultiSelect2.vue.js +224 -0
  180. package/esm/src/UiNavMenu.vue.js +4 -0
  181. package/esm/src/UiNavMenu2.vue.js +86 -0
  182. package/esm/src/UiNavbar.vue.js +4 -0
  183. package/esm/src/UiNavbar2.vue.js +37 -0
  184. package/esm/src/UiNotice.vue.js +4 -0
  185. package/esm/src/UiNotice2.vue.js +186 -0
  186. package/esm/src/UiPaginator.vue.js +4 -0
  187. package/esm/src/UiPaginator2.vue.js +260 -0
  188. package/esm/src/UiPaginatorJumper.vue.js +4 -0
  189. package/esm/src/UiPaginatorJumper2.vue.js +90 -0
  190. package/esm/src/UiPaginatorSizeSelect.vue.js +4 -0
  191. package/esm/src/UiPaginatorSizeSelect2.vue.js +60 -0
  192. package/esm/src/UiPopover.vue.js +4 -0
  193. package/esm/src/UiPopover2.vue.js +93 -0
  194. package/esm/src/UiPreviewRegion.vue.js +4 -0
  195. package/esm/src/UiPreviewRegion2.vue.js +62 -0
  196. package/esm/src/UiProgressBar.vue.js +4 -0
  197. package/esm/src/UiProgressBar2.vue.js +44 -0
  198. package/esm/src/UiRadioGroup.vue.js +4 -0
  199. package/esm/src/UiRadioGroup2.vue.js +43 -0
  200. package/esm/src/UiRegionLayout.vue.js +4 -0
  201. package/esm/src/UiRegionLayout2.vue.js +106 -0
  202. package/esm/src/UiSegmentedSelect.css +72 -0
  203. package/esm/src/UiSegmentedSelect.vue.js +8 -0
  204. package/esm/src/UiSegmentedSelect2.vue.js +190 -0
  205. package/esm/src/UiSelect.vue.js +4 -0
  206. package/esm/src/UiSelect2.vue.js +209 -0
  207. package/esm/src/UiSuggestions.vue.js +4 -0
  208. package/esm/src/UiSuggestions2.vue.js +151 -0
  209. package/esm/src/UiSwitch.vue.js +4 -0
  210. package/esm/src/UiSwitch2.vue.js +108 -0
  211. package/esm/src/UiTabPanel.vue.js +4 -0
  212. package/esm/src/UiTabPanel2.vue.js +40 -0
  213. package/esm/src/UiTable.vue.js +4 -0
  214. package/esm/src/UiTable2.vue.js +740 -0
  215. package/esm/src/UiTabs.vue.js +4 -0
  216. package/esm/src/UiTabs2.vue.js +85 -0
  217. package/esm/src/UiTextInput.vue.js +4 -0
  218. package/esm/src/UiTextInput2.vue.js +108 -0
  219. package/esm/src/UiTimeInput.vue.js +4 -0
  220. package/esm/src/UiTimeInput2.vue.js +46 -0
  221. package/esm/src/UiTooltip.vue.js +4 -0
  222. package/esm/src/UiTooltip2.vue.js +72 -0
  223. package/esm/src/UiUploadProgress.vue.js +4 -0
  224. package/esm/src/UiUploadProgress2.vue.js +134 -0
  225. package/esm/src/UiUploadRegion.vue.js +4 -0
  226. package/esm/src/UiUploadRegion2.vue.js +230 -0
  227. package/esm/src/checkableDescription.js +104 -0
  228. package/esm/src/controlSize.js +29 -0
  229. package/esm/src/fieldPresentation.js +50 -0
  230. package/esm/src/focus.js +6 -0
  231. package/esm/src/formPresentation.js +6 -0
  232. package/esm/src/icons/external-link.vue.js +32 -0
  233. package/esm/src/icons/globe.vue.js +59 -0
  234. package/esm/src/icons/index.js +67 -0
  235. package/esm/src/icons/more-vertical.vue.js +13 -0
  236. package/esm/src/icons/more-vertical2.vue.js +4 -0
  237. package/esm/src/index.js +18 -0
  238. package/esm/src/integration.js +45 -0
  239. package/esm/src/layout.js +13 -0
  240. package/esm/src/menuPresentation.js +229 -0
  241. package/esm/src/navigationDropdownHeight.js +43 -0
  242. package/esm/src/selectEscape.js +11 -0
  243. package/esm/src/zOrder.js +17 -0
  244. package/esm/testing/browser-control-parts.js +25 -0
  245. package/esm/testing/dom.js +48 -0
  246. package/esm/testing/index.js +120 -0
  247. package/esm/testing/presentation-mapping.js +45 -0
  248. package/esm/testing/presentation-parts.js +49 -0
  249. package/font-bundled.css +6 -0
  250. package/font-family.css +23 -0
  251. package/font.css +6 -0
  252. package/hooks/vite.d.mts +3 -0
  253. package/hooks/vite.mjs +178 -0
  254. package/native-content.css +52 -0
  255. package/package.json +79 -4
  256. package/style.css +3546 -0
  257. package/types/src/ChoiceGroup.vue.d.ts +15 -0
  258. package/types/src/CollectionCard.vue.d.ts +42 -0
  259. package/types/src/CollectionFilterEditor.vue.d.ts +16 -0
  260. package/types/src/CollectionHeaderFlow.vue.d.ts +17 -0
  261. package/types/src/CollectionHeaderPart.vue.d.ts +24 -0
  262. package/types/src/CollectionQueryBadge.vue.d.ts +26 -0
  263. package/types/src/CollectionSortLayout.vue.d.ts +17 -0
  264. package/types/src/CollectionStatus.vue.d.ts +28 -0
  265. package/types/src/CollectionSummary.vue.d.ts +22 -0
  266. package/types/src/CollectionTableActions.vue.d.ts +13 -0
  267. package/types/src/DrawerDepth.vue.d.ts +7 -0
  268. package/types/src/DrawerDock.vue.d.ts +17 -0
  269. package/types/src/EntryBranch.vue.d.ts +31 -0
  270. package/types/src/EntryContent.vue.d.ts +35 -0
  271. package/types/src/EntryPopup.vue.d.ts +24 -0
  272. package/types/src/FeedbackItem.vue.d.ts +16 -0
  273. package/types/src/FeedbackViewport.vue.d.ts +19 -0
  274. package/types/src/FieldError.vue.d.ts +8 -0
  275. package/types/src/FieldFailureTooltip.vue.d.ts +17 -0
  276. package/types/src/FileTypeIcon.vue.d.ts +6 -0
  277. package/types/src/FooterActions.vue.d.ts +13 -0
  278. package/types/src/MenuBridge.vue.d.ts +13 -0
  279. package/types/src/NativeMenu.vue.d.ts +44 -0
  280. package/types/src/OverlaySurface.vue.d.ts +38 -0
  281. package/types/src/TableAddRow.vue.d.ts +18 -0
  282. package/types/src/TableFilterButton.vue.d.ts +7 -0
  283. package/types/src/TemporalAction.vue.d.ts +13 -0
  284. package/types/src/TemporalEditor.vue.d.ts +12 -0
  285. package/types/src/TemporalInput.vue.d.ts +9 -0
  286. package/types/src/TemporalMode.vue.d.ts +20 -0
  287. package/types/src/TemporalPicker.vue.d.ts +10 -0
  288. package/types/src/TemporalRangeIcon.vue.d.ts +7 -0
  289. package/types/src/TemporalRangePicker.vue.d.ts +17 -0
  290. package/types/src/TemporalTimePanel.vue.d.ts +14 -0
  291. package/types/src/UiApp.vue.d.ts +18 -0
  292. package/types/src/UiBadge.vue.d.ts +14 -0
  293. package/types/src/UiBreadcrumbs.vue.d.ts +24 -0
  294. package/types/src/UiButton.vue.d.ts +22 -0
  295. package/types/src/UiCard.vue.d.ts +24 -0
  296. package/types/src/UiCheckbox.vue.d.ts +10 -0
  297. package/types/src/UiCheckboxGroup.vue.d.ts +12 -0
  298. package/types/src/UiCollapsible.vue.d.ts +20 -0
  299. package/types/src/UiCollectionFooter.vue.d.ts +15 -0
  300. package/types/src/UiCollectionHeader.vue.d.ts +14 -0
  301. package/types/src/UiCollectionView.vue.d.ts +56 -0
  302. package/types/src/UiContent.vue.d.ts +14 -0
  303. package/types/src/UiDateInput.vue.d.ts +6 -0
  304. package/types/src/UiDateTimeInput.vue.d.ts +6 -0
  305. package/types/src/UiDrawer.vue.d.ts +40 -0
  306. package/types/src/UiDrawerLayout.vue.d.ts +16 -0
  307. package/types/src/UiEmpty.vue.d.ts +18 -0
  308. package/types/src/UiField.vue.d.ts +17 -0
  309. package/types/src/UiFileCollection.vue.d.ts +16 -0
  310. package/types/src/UiFileInput.vue.d.ts +6 -0
  311. package/types/src/UiFilePreview.vue.d.ts +6 -0
  312. package/types/src/UiFloating.vue.d.ts +14 -0
  313. package/types/src/UiForm.vue.d.ts +25 -0
  314. package/types/src/UiIcon.vue.d.ts +14 -0
  315. package/types/src/UiImagePreview.vue.d.ts +4 -0
  316. package/types/src/UiInputFrame.vue.d.ts +26 -0
  317. package/types/src/UiInputFrameSpacer.vue.d.ts +3 -0
  318. package/types/src/UiKeyValueItem.vue.d.ts +14 -0
  319. package/types/src/UiKeyValueList.vue.d.ts +13 -0
  320. package/types/src/UiLayout.vue.d.ts +17 -0
  321. package/types/src/UiLink.vue.d.ts +16 -0
  322. package/types/src/UiList.vue.d.ts +49 -0
  323. package/types/src/UiLoadingIndicator.vue.d.ts +14 -0
  324. package/types/src/UiLoadingRegion.vue.d.ts +17 -0
  325. package/types/src/UiMenu.vue.d.ts +59 -0
  326. package/types/src/UiModal.vue.d.ts +27 -0
  327. package/types/src/UiMultiSelect.vue.d.ts +16 -0
  328. package/types/src/UiNavMenu.vue.d.ts +36 -0
  329. package/types/src/UiNavbar.vue.d.ts +17 -0
  330. package/types/src/UiNotice.vue.d.ts +18 -0
  331. package/types/src/UiPaginator.vue.d.ts +4 -0
  332. package/types/src/UiPaginatorJumper.vue.d.ts +4 -0
  333. package/types/src/UiPaginatorSizeSelect.vue.d.ts +4 -0
  334. package/types/src/UiPopover.vue.d.ts +40 -0
  335. package/types/src/UiPreviewRegion.vue.d.ts +14 -0
  336. package/types/src/UiProgressBar.vue.d.ts +4 -0
  337. package/types/src/UiRadioGroup.vue.d.ts +12 -0
  338. package/types/src/UiRegionLayout.vue.d.ts +21 -0
  339. package/types/src/UiSegmentedSelect.vue.d.ts +12 -0
  340. package/types/src/UiSelect.vue.d.ts +14 -0
  341. package/types/src/UiSuggestions.vue.d.ts +37 -0
  342. package/types/src/UiSwitch.vue.d.ts +10 -0
  343. package/types/src/UiTabPanel.vue.d.ts +14 -0
  344. package/types/src/UiTable.vue.d.ts +90 -0
  345. package/types/src/UiTabs.vue.d.ts +20 -0
  346. package/types/src/UiTextInput.vue.d.ts +24 -0
  347. package/types/src/UiTimeInput.vue.d.ts +6 -0
  348. package/types/src/UiTooltip.vue.d.ts +25 -0
  349. package/types/src/UiUploadProgress.vue.d.ts +4 -0
  350. package/types/src/UiUploadRegion.vue.d.ts +6 -0
  351. package/types/src/checkableDescription.d.ts +7 -0
  352. package/types/src/controlSize.d.ts +2 -0
  353. package/types/src/fieldPresentation.d.ts +49 -0
  354. package/types/src/focus.d.ts +3 -0
  355. package/types/src/formPresentation.d.ts +3 -0
  356. package/types/src/icons/external-link.vue.d.ts +3 -0
  357. package/types/src/icons/globe.vue.d.ts +3 -0
  358. package/types/src/icons/index.d.ts +181 -0
  359. package/types/src/icons/more-vertical.vue.d.ts +3 -0
  360. package/types/src/index.d.ts +2 -0
  361. package/types/src/integration.d.ts +1426 -0
  362. package/types/src/layout.d.ts +2 -0
  363. package/types/src/menuPresentation.d.ts +30 -0
  364. package/types/src/navigationDropdownHeight.d.ts +3 -0
  365. package/types/src/selectEscape.d.ts +1 -0
  366. package/types/src/zOrder.d.ts +3 -0
  367. package/types/testing/browser-control-parts.d.ts +2 -0
  368. package/types/testing/dom.d.mts +3 -0
  369. package/types/testing/index.d.ts +3 -0
  370. package/types/testing/presentation-mapping.d.ts +33 -0
  371. package/types/testing/presentation-parts.d.mts +20 -0
@@ -0,0 +1,68 @@
1
+ import { defineComponent, inject, provide, renderSlot } from "vue";
2
+ import { MENU_INJECTION_KEY } from "element-plus";
3
+ import { menuPresentationKey, entryIndex } from "./menuPresentation.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "MenuBridge",
6
+ setup(__props) {
7
+ const native = inject(MENU_INJECTION_KEY);
8
+ const presentation = inject(menuPresentationKey);
9
+ function nodes() {
10
+ const result = [];
11
+ function visit(entries) {
12
+ for (const node of entries) {
13
+ result.push(node);
14
+ if (node.children) visit(node.children);
15
+ }
16
+ }
17
+ visit(presentation.entries());
18
+ return result;
19
+ }
20
+ function expand(index, open) {
21
+ const node = nodes().find((node2) => entryIndex(node2.entry.key) === index);
22
+ if (node && Boolean(node.expanded) !== open)
23
+ presentation.expand(node.entry.key, open);
24
+ }
25
+ provide(
26
+ MENU_INJECTION_KEY,
27
+ new Proxy(native, {
28
+ get(target, key, receiver) {
29
+ if (key === "isMenuPopup") return !presentation.persistent();
30
+ if (key === "activeIndex") {
31
+ const current = nodes().find((node) => node.current);
32
+ return current ? entryIndex(current.entry.key) : void 0;
33
+ }
34
+ if (key === "openedMenus")
35
+ return nodes().filter((node) => node.expanded).map((node) => entryIndex(node.entry.key));
36
+ if (key === "openMenu") return (index) => expand(index, true);
37
+ if (key === "closeMenu") return (index) => expand(index, false);
38
+ if (key === "handleSubMenuClick")
39
+ return ({ index }) => {
40
+ const node = nodes().find(
41
+ (node2) => entryIndex(node2.entry.key) === index
42
+ );
43
+ if (node)
44
+ presentation.expand(
45
+ node.entry.key,
46
+ !node.expanded,
47
+ !presentation.navigation
48
+ );
49
+ };
50
+ if (key === "handleMenuItemClick")
51
+ return ({ index }) => {
52
+ const node = nodes().find(
53
+ (node2) => entryIndex(node2.entry.key) === index
54
+ );
55
+ if (node) presentation.activate(node.entry.key);
56
+ };
57
+ return Reflect.get(target, key, receiver);
58
+ }
59
+ })
60
+ );
61
+ return (_ctx, _cache) => {
62
+ return renderSlot(_ctx.$slots, "default");
63
+ };
64
+ }
65
+ });
66
+ export {
67
+ _sfc_main as default
68
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./NativeMenu2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,90 @@
1
+ import { defineComponent, useId, onBeforeUpdate, onUpdated, nextTick, openBlock, createBlock, unref, normalizeClass, withCtx, createVNode, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
+ import { ElMenu } from "element-plus";
3
+ import _sfc_main$2 from "./EntryBranch2.vue.js";
4
+ import _sfc_main$1 from "./MenuBridge2.vue.js";
5
+ import { useMenuPresentation } from "./menuPresentation.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "NativeMenu",
8
+ props: {
9
+ entries: {},
10
+ status: {},
11
+ label: {},
12
+ navigation: { type: Boolean },
13
+ presentation: {},
14
+ popup: { type: Boolean },
15
+ id: {}
16
+ },
17
+ emits: ["activate", "expand", "retry", "close"],
18
+ setup(__props, { emit: __emit }) {
19
+ const props = __props;
20
+ const emit = __emit;
21
+ const generatedId = useId();
22
+ const menu = useMenuPresentation(
23
+ () => props.entries,
24
+ props.navigation,
25
+ emit,
26
+ () => props.presentation ?? "horizontal"
27
+ );
28
+ let hadFocus = false;
29
+ onBeforeUpdate(() => {
30
+ hadFocus = menu.owns(document.activeElement);
31
+ });
32
+ onUpdated(async () => {
33
+ await nextTick();
34
+ if (hadFocus && document.activeElement === document.body) {
35
+ const branch = menu.nodes.value.filter((node) => node.expanded).at(-1);
36
+ menu.focus(branch?.entry.key);
37
+ }
38
+ });
39
+ return (_ctx, _cache) => {
40
+ return openBlock(), createBlock(unref(ElMenu), {
41
+ id: __props.id ?? unref(generatedId),
42
+ mode: __props.navigation && (!__props.presentation || __props.presentation === "horizontal") ? "horizontal" : "vertical",
43
+ collapse: __props.presentation === "icon-popup",
44
+ role: __props.navigation ? "menubar" : "menu",
45
+ class: normalizeClass({
46
+ "el-menu--popup": __props.popup,
47
+ "element-command-menu": __props.popup && !__props.navigation,
48
+ "element-navigation-menu": __props.navigation
49
+ }),
50
+ "data-presentation": __props.navigation ? __props.presentation ?? "horizontal" : void 0,
51
+ "aria-label": __props.label,
52
+ "aria-busy": __props.status.pending || void 0,
53
+ "aria-orientation": __props.navigation && (!__props.presentation || __props.presentation === "horizontal") ? "horizontal" : "vertical",
54
+ ellipsis: false,
55
+ persistent: false,
56
+ "collapse-transition": false,
57
+ "menu-trigger": "click",
58
+ tabindex: "0"
59
+ }, {
60
+ default: withCtx(() => [
61
+ createVNode(_sfc_main$1, null, {
62
+ default: withCtx(() => [
63
+ createVNode(_sfc_main$2, {
64
+ entries: __props.entries,
65
+ status: __props.status,
66
+ label: __props.label
67
+ }, {
68
+ entry: withCtx((scope) => [
69
+ renderSlot(_ctx.$slots, "entry", normalizeProps(guardReactiveProps(scope)))
70
+ ]),
71
+ icon: withCtx((scope) => [
72
+ renderSlot(_ctx.$slots, "icon", normalizeProps(guardReactiveProps(scope)))
73
+ ]),
74
+ _: 3
75
+ /* FORWARDED */
76
+ }, 8, ["entries", "status", "label"])
77
+ ]),
78
+ _: 3
79
+ /* FORWARDED */
80
+ })
81
+ ]),
82
+ _: 3
83
+ /* FORWARDED */
84
+ }, 8, ["id", "mode", "collapse", "role", "class", "data-presentation", "aria-label", "aria-busy", "aria-orientation"]);
85
+ };
86
+ }
87
+ });
88
+ export {
89
+ _sfc_main as default
90
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./OverlaySurface2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,195 @@
1
+ import { defineComponent, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, createVNode, renderSlot } from "vue";
2
+ import _sfc_main$1 from "./DrawerDepth2.vue.js";
3
+ import FooterActions from "./FooterActions.vue.js";
4
+ import { useUiOverlayView, createUiModalCssMotion, useUiDrawerResize } from "@uninterface/uninterface/backend";
5
+ import { uiFocusPresentation } from "./focus.js";
6
+ import { ElIcon } from "element-plus";
7
+ import { Close } from "@element-plus/icons-vue";
8
+ const _hoisted_1 = ["data-popper-placement"];
9
+ const _hoisted_2 = { class: "element-overlay-heading" };
10
+ const _hoisted_3 = ["id"];
11
+ const _hoisted_4 = ["aria-label", "disabled"];
12
+ const _hoisted_5 = ["aria-label"];
13
+ const _hoisted_6 = {
14
+ key: 1,
15
+ class: "el-drawer__footer"
16
+ };
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ ...{ inheritAttrs: false },
19
+ __name: "OverlaySurface",
20
+ props: {
21
+ docked: { type: Boolean },
22
+ drawerSizing: {},
23
+ id: {},
24
+ title: {},
25
+ name: {},
26
+ active: { type: Boolean },
27
+ mounted: { type: Boolean },
28
+ panel: { type: Boolean },
29
+ modal: { type: Boolean },
30
+ edge: {},
31
+ placement: {},
32
+ align: {},
33
+ closeOn: {},
34
+ closeLabel: {},
35
+ pendingClose: { type: Boolean },
36
+ disabled: { type: Boolean },
37
+ kind: {},
38
+ anchor: {},
39
+ trigger: {}
40
+ },
41
+ emits: ["cancel", "update:expanded", "failure"],
42
+ setup(__props, { expose: __expose, emit: __emit }) {
43
+ const props = __props;
44
+ const emit = __emit;
45
+ const {
46
+ surface,
47
+ visible,
48
+ cssPanel,
49
+ heading,
50
+ arrow,
51
+ placedSide,
52
+ open,
53
+ close,
54
+ widthStyle,
55
+ cancel,
56
+ pointerdown,
57
+ click
58
+ } = useUiOverlayView(
59
+ () => props,
60
+ props.kind,
61
+ () => props.anchor,
62
+ () => props.trigger,
63
+ emit,
64
+ props.kind === "drawer" ? createUiModalCssMotion("element-drawer") : {}
65
+ );
66
+ const resize = useUiDrawerResize(() => props, surface);
67
+ __expose({ open, close, element: surface });
68
+ return (_ctx, _cache) => {
69
+ return openBlock(), createBlock(resolveDynamicComponent(__props.modal ? "dialog" : "div"), mergeProps(_ctx.$attrs, {
70
+ role: __props.modal ? void 0 : "dialog",
71
+ id: `${__props.id}-surface`,
72
+ ref_key: "surface",
73
+ ref: surface,
74
+ popover: __props.modal || __props.docked || unref(cssPanel) ? void 0 : "manual",
75
+ inert: !__props.active || void 0,
76
+ class: ["element-modal", "element-overlay"],
77
+ style: [
78
+ unref(widthStyle),
79
+ __props.drawerSizing ? ["start", "end"].includes(__props.edge) ? { width: `${__props.drawerSizing.extent}px` } : { height: `${__props.drawerSizing.extent}px` } : void 0,
80
+ __props.kind === "drawer" ? unref(resize).style() : void 0
81
+ ],
82
+ "data-docked": __props.docked || void 0,
83
+ "data-css-panel": unref(cssPanel) || void 0,
84
+ hidden: (__props.docked || unref(cssPanel)) && !__props.active && !unref(visible) || void 0,
85
+ "data-ui-overlay": __props.kind,
86
+ "data-edge": __props.edge,
87
+ "data-panel": __props.panel || void 0,
88
+ "aria-modal": __props.modal ? true : void 0,
89
+ "aria-labelledby": __props.title ? `${__props.id}-title` : void 0,
90
+ "aria-label": __props.title ? void 0 : __props.name,
91
+ onCancel: unref(cancel),
92
+ onPointerdown: unref(pointerdown),
93
+ onClick: unref(click)
94
+ }), {
95
+ default: withCtx(() => [
96
+ createElementVNode("div", {
97
+ "data-popper-placement": __props.kind === "popover" ? unref(placedSide) : void 0,
98
+ class: normalizeClass([
99
+ "element-overlay-content",
100
+ __props.kind === "drawer" ? "el-drawer" : "el-popover el-popper is-light"
101
+ ])
102
+ }, [
103
+ __props.title || __props.closeOn.includes("close-button") || _ctx.$slots["header-extra"] ? (openBlock(), createElementBlock(
104
+ "header",
105
+ {
106
+ key: 0,
107
+ class: normalizeClass(__props.kind === "drawer" ? "el-drawer__header" : "el-popover__title")
108
+ },
109
+ [
110
+ createElementVNode("div", _hoisted_2, [
111
+ __props.title ? (openBlock(), createElementBlock("h2", mergeProps({
112
+ key: 0,
113
+ id: `${__props.id}-title`,
114
+ ref_key: "heading",
115
+ ref: heading,
116
+ tabindex: "-1"
117
+ }, unref(uiFocusPresentation)), toDisplayString(__props.title), 17, _hoisted_3)) : createCommentVNode("v-if", true),
118
+ __props.closeOn.includes("close-button") ? (openBlock(), createElementBlock("button", {
119
+ key: 1,
120
+ type: "button",
121
+ class: "el-drawer__close-btn",
122
+ "aria-label": __props.closeLabel,
123
+ disabled: __props.pendingClose || __props.disabled,
124
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("cancel", "close-button"))
125
+ }, [
126
+ createVNode(unref(ElIcon), null, {
127
+ default: withCtx(() => [
128
+ createVNode(unref(Close))
129
+ ]),
130
+ _: 1
131
+ /* STABLE */
132
+ })
133
+ ], 8, _hoisted_4)) : createCommentVNode("v-if", true)
134
+ ]),
135
+ renderSlot(_ctx.$slots, "header-extra")
136
+ ],
137
+ 2
138
+ /* CLASS */
139
+ )) : createCommentVNode("v-if", true),
140
+ createElementVNode("div", mergeProps({
141
+ class: __props.kind === "drawer" ? "el-drawer__body" : "element-overlay-body",
142
+ ref: !__props.title ? (el) => heading.value = el?.$el ?? el : void 0,
143
+ role: "region",
144
+ tabindex: "0",
145
+ "aria-label": __props.name
146
+ }, unref(uiFocusPresentation)), [
147
+ renderSlot(_ctx.$slots, "default")
148
+ ], 16, _hoisted_5),
149
+ _ctx.$slots.actions || _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_6, [
150
+ _ctx.$slots.actions ? (openBlock(), createBlock(FooterActions, { key: 0 }, {
151
+ default: withCtx(() => [
152
+ renderSlot(_ctx.$slots, "actions")
153
+ ]),
154
+ _: 3
155
+ /* FORWARDED */
156
+ })) : renderSlot(_ctx.$slots, "footer", {}, void 0, void 0, 1)
157
+ ])) : createCommentVNode("v-if", true),
158
+ __props.kind === "popover" ? (openBlock(), createElementBlock(
159
+ "span",
160
+ {
161
+ key: 2,
162
+ ref_key: "arrow",
163
+ ref: arrow,
164
+ class: "el-popper__arrow",
165
+ "aria-hidden": "true"
166
+ },
167
+ null,
168
+ 512
169
+ /* NEED_PATCH */
170
+ )) : createCommentVNode("v-if", true)
171
+ ], 10, _hoisted_1),
172
+ __props.kind === "drawer" && !__props.docked ? (openBlock(), createBlock(_sfc_main$1, {
173
+ key: 0,
174
+ edge: __props.edge
175
+ }, null, 8, ["edge"])) : createCommentVNode("v-if", true),
176
+ __props.drawerSizing?.enabled ? (openBlock(), createElementBlock(
177
+ "div",
178
+ mergeProps({
179
+ key: 1,
180
+ class: "element-plus-drawer-resize"
181
+ }, unref(resize).attributes()),
182
+ null,
183
+ 16
184
+ /* FULL_PROPS */
185
+ )) : createCommentVNode("v-if", true)
186
+ ]),
187
+ _: 3
188
+ /* FORWARDED */
189
+ }, 16, ["role", "id", "popover", "inert", "style", "data-docked", "data-css-panel", "hidden", "data-ui-overlay", "data-edge", "data-panel", "aria-modal", "aria-labelledby", "aria-label", "onCancel", "onPointerdown", "onClick"]);
190
+ };
191
+ }
192
+ });
193
+ export {
194
+ _sfc_main as default
195
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TableAddRow2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,66 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, createElementVNode, renderSlot } from "vue";
2
+ const _hoisted_1 = ["data-collection-add-preview"];
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "TableAddRow",
5
+ props: {
6
+ tracks: {},
7
+ keys: {},
8
+ viewport: {}
9
+ },
10
+ setup(__props) {
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createElementBlock(
13
+ "div",
14
+ {
15
+ class: "element-table-add-preview",
16
+ "data-collection-add-row": "",
17
+ style: normalizeStyle({
18
+ gridTemplateColumns: __props.tracks.map((width) => `${width}px`).join(" ")
19
+ })
20
+ },
21
+ [
22
+ (openBlock(true), createElementBlock(
23
+ Fragment,
24
+ null,
25
+ renderList(__props.keys, (key, index) => {
26
+ return openBlock(), createElementBlock("div", {
27
+ key: index,
28
+ class: "element-table-add-cell",
29
+ style: normalizeStyle({ gridColumn: index + 1 }),
30
+ "data-collection-add-preview": key,
31
+ "aria-hidden": "true"
32
+ }, [..._cache[0] || (_cache[0] = [
33
+ createElementVNode(
34
+ "span",
35
+ null,
36
+ null,
37
+ -1
38
+ /* CACHED */
39
+ )
40
+ ])], 12, _hoisted_1);
41
+ }),
42
+ 128
43
+ /* KEYED_FRAGMENT */
44
+ )),
45
+ createElementVNode(
46
+ "div",
47
+ {
48
+ class: "element-table-add-action",
49
+ style: normalizeStyle({ inlineSize: __props.viewport > 0 ? `${__props.viewport}px` : "100%" })
50
+ },
51
+ [
52
+ renderSlot(_ctx.$slots, "default")
53
+ ],
54
+ 4
55
+ /* STYLE */
56
+ )
57
+ ],
58
+ 4
59
+ /* STYLE */
60
+ );
61
+ };
62
+ }
63
+ });
64
+ export {
65
+ _sfc_main as default
66
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TableFilterButton2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, withCtx } from "vue";
2
+ import { ElIcon } from "element-plus";
3
+ import { Filter } from "@element-plus/icons-vue";
4
+ const _hoisted_1 = ["disabled", "data-filter-active"];
5
+ const _hoisted_2 = { "aria-hidden": "true" };
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "TableFilterButton",
8
+ props: {
9
+ active: { type: Boolean },
10
+ disabled: { type: Boolean }
11
+ },
12
+ setup(__props) {
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createElementBlock("button", {
15
+ type: "button",
16
+ class: "element-table-filter",
17
+ disabled: __props.disabled,
18
+ "data-filter-active": __props.active || void 0
19
+ }, [
20
+ createElementVNode("span", _hoisted_2, [
21
+ createVNode(unref(ElIcon), null, {
22
+ default: withCtx(() => [
23
+ createVNode(unref(Filter))
24
+ ]),
25
+ _: 1
26
+ /* STABLE */
27
+ })
28
+ ])
29
+ ], 8, _hoisted_1);
30
+ };
31
+ }
32
+ });
33
+ export {
34
+ _sfc_main as default
35
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TemporalAction2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,46 @@
1
+ import { defineComponent, openBlock, createBlock, unref, withModifiers, withCtx, createElementVNode, toDisplayString } from "vue";
2
+ import { ElButton } from "element-plus";
3
+ const _hoisted_1 = { "aria-hidden": "true" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "TemporalAction",
6
+ props: {
7
+ label: {},
8
+ disabled: { type: Boolean },
9
+ active: { type: Boolean },
10
+ clear: { type: Boolean }
11
+ },
12
+ emits: ["click"],
13
+ setup(__props) {
14
+ return (_ctx, _cache) => {
15
+ return openBlock(), createBlock(unref(ElButton), {
16
+ "native-type": "button",
17
+ text: "",
18
+ circle: "",
19
+ disabled: __props.disabled,
20
+ "aria-label": __props.label,
21
+ title: __props.label,
22
+ "aria-pressed": __props.clear ? void 0 : __props.active,
23
+ "data-temporal-unbounded": !__props.clear ? "" : void 0,
24
+ "data-temporal-clear": __props.clear ? "" : void 0,
25
+ onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
26
+ }, ["prevent"])),
27
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click"))
28
+ }, {
29
+ default: withCtx(() => [
30
+ createElementVNode(
31
+ "span",
32
+ _hoisted_1,
33
+ toDisplayString(__props.clear ? "×" : "∞"),
34
+ 1
35
+ /* TEXT */
36
+ )
37
+ ]),
38
+ _: 1
39
+ /* STABLE */
40
+ }, 8, ["disabled", "aria-label", "title", "aria-pressed", "data-temporal-unbounded", "data-temporal-clear"]);
41
+ };
42
+ }
43
+ });
44
+ export {
45
+ _sfc_main as default
46
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TemporalEditor2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,113 @@
1
+ import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode, mergeProps, withKeys, withModifiers, createSlots, withCtx } from "vue";
2
+ import { useUiTemporalEditor, useUiControlFrameParticipant } from "@uninterface/uninterface/backend";
3
+ import _sfc_main$1 from "./UiTextInput2.vue.js";
4
+ import _sfc_main$2 from "./TemporalPicker2.vue.js";
5
+ import _sfc_main$3 from "./TemporalAction2.vue.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "TemporalEditor",
8
+ props: {
9
+ frame: {},
10
+ binding: {},
11
+ kind: {},
12
+ value: {},
13
+ precision: {},
14
+ dateFormatWish: {},
15
+ presentation: {},
16
+ readonly: { type: Boolean },
17
+ label: {},
18
+ eligible: { type: Function },
19
+ update: { type: Function },
20
+ blur: { type: Function },
21
+ openRangePicker: { type: Function },
22
+ unbounded: { type: Boolean },
23
+ boundaryLabel: {},
24
+ toggleBoundary: { type: Function }
25
+ },
26
+ setup(__props, { expose: __expose }) {
27
+ const props = __props;
28
+ const { text, focused, update, blur } = useUiTemporalEditor(props);
29
+ const editor = ref();
30
+ const { frame, setEngaged } = useUiControlFrameParticipant({
31
+ focus: () => editor.value?.focus() ?? Promise.resolve(null),
32
+ invalid: () => props.binding.invalid
33
+ });
34
+ const picker = ref();
35
+ function pick(value) {
36
+ props.update(value);
37
+ }
38
+ __expose({ focus: () => editor.value?.focus() ?? Promise.resolve(null) });
39
+ return (_ctx, _cache) => {
40
+ return openBlock(), createElementBlock(
41
+ "div",
42
+ {
43
+ class: normalizeClass(["element-plus-temporal-editor", { "element-plus-temporal-part": unref(frame).owner === "parent" }]),
44
+ style: normalizeStyle({
45
+ "--element-temporal-text-width": `${Math.max(unref(text).length, __props.kind === "date" ? 10 : __props.kind === "time" ? 5 : 18)}ch`
46
+ })
47
+ },
48
+ [
49
+ createVNode(_sfc_main$1, mergeProps({
50
+ ref_key: "editor",
51
+ ref: editor
52
+ }, _ctx.$attrs, {
53
+ binding: __props.binding,
54
+ frame: unref(frame),
55
+ "aria-label": __props.label || _ctx.$attrs["aria-label"],
56
+ value: __props.unbounded ? "∞" : unref(text),
57
+ type: "text",
58
+ inputmode: "text",
59
+ autocomplete: "off",
60
+ readonly: __props.readonly || __props.unbounded,
61
+ onUpdate: unref(update),
62
+ onFocus: _cache[1] || (_cache[1] = ($event) => focused.value = true),
63
+ onBlur: unref(blur),
64
+ onKeydown: _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => __props.openRangePicker ? __props.openRangePicker() : picker.value?.show(), ["alt", "prevent"]), ["down"]))
65
+ }), createSlots({
66
+ _: 2
67
+ /* DYNAMIC */
68
+ }, [
69
+ !__props.unbounded && !__props.openRangePicker ? {
70
+ name: "leading",
71
+ fn: withCtx(() => [
72
+ createVNode(_sfc_main$2, {
73
+ onOpenChange: _cache[0] || (_cache[0] = ($event) => unref(setEngaged)($event)),
74
+ ref_key: "picker",
75
+ ref: picker,
76
+ binding: __props.binding,
77
+ kind: __props.kind,
78
+ value: __props.value,
79
+ precision: __props.precision,
80
+ readonly: __props.readonly,
81
+ label: __props.label,
82
+ presentation: __props.presentation,
83
+ "date-format-wish": __props.dateFormatWish,
84
+ eligible: __props.eligible,
85
+ update: pick,
86
+ blur: unref(blur)
87
+ }, null, 8, ["binding", "kind", "value", "precision", "readonly", "label", "presentation", "date-format-wish", "eligible", "blur"])
88
+ ]),
89
+ key: "0"
90
+ } : void 0,
91
+ __props.toggleBoundary ? {
92
+ name: "trailing",
93
+ fn: withCtx(() => [
94
+ createVNode(_sfc_main$3, {
95
+ label: __props.boundaryLabel ?? "",
96
+ active: __props.unbounded,
97
+ disabled: __props.binding.disabled || __props.readonly,
98
+ onClick: __props.toggleBoundary
99
+ }, null, 8, ["label", "active", "disabled", "onClick"])
100
+ ]),
101
+ key: "1"
102
+ } : void 0
103
+ ]), 1040, ["binding", "frame", "aria-label", "value", "readonly", "onUpdate", "onBlur"])
104
+ ],
105
+ 6
106
+ /* CLASS, STYLE */
107
+ );
108
+ };
109
+ }
110
+ });
111
+ export {
112
+ _sfc_main as default
113
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TemporalInput2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };