@uninterface/backend-vuetify 0.0.0-stage → 4.2.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 (461) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +60 -2
  3. package/capabilities.json +169 -0
  4. package/docs/README.md +47 -0
  5. package/docs/collections.md +214 -0
  6. package/docs/contract-adaptations.md +99 -0
  7. package/docs/customization.md +112 -0
  8. package/docs/examples/NativeReference.vue +203 -0
  9. package/docs/exports.md +30 -0
  10. package/docs/floating-panels.md +53 -0
  11. package/docs/font-licenses/noto-sans-sc.txt +93 -0
  12. package/docs/font-licenses/noto-sans-tc.txt +93 -0
  13. package/docs/font-licenses/roboto.txt +93 -0
  14. package/docs/icon-licenses/Apache-2.0.txt +202 -0
  15. package/docs/icon-licenses/NOTICE.txt +3 -0
  16. package/docs/icon-licenses/SOURCES.md +49 -0
  17. package/docs/modals.md +31 -0
  18. package/docs/native-html.md +21 -0
  19. package/docs/navigation.md +25 -0
  20. package/docs/package-build.md +20 -0
  21. package/docs/presentation.md +227 -0
  22. package/docs/progress.md +9 -0
  23. package/docs/reviewed-components.md +104 -0
  24. package/docs/segmented-selection.md +22 -0
  25. package/docs/selection-feedback-panels.md +77 -0
  26. package/docs/setup.md +133 -0
  27. package/docs/strategies.md +92 -0
  28. package/docs/table-columns.md +33 -0
  29. package/docs/testing.md +29 -0
  30. package/docs/typography.md +93 -0
  31. package/esm/_virtual/_plugin-vue_export-helper.js +10 -0
  32. package/esm/capabilities.json.js +14 -0
  33. package/esm/package.json.js +14 -0
  34. package/esm/src/ChoiceGroup.vue.js +4 -0
  35. package/esm/src/ChoiceGroup2.vue.js +185 -0
  36. package/esm/src/CollectionCard.vue.js +4 -0
  37. package/esm/src/CollectionCard2.vue.js +199 -0
  38. package/esm/src/CollectionFilterEditor.vue.js +4 -0
  39. package/esm/src/CollectionFilterEditor2.vue.js +31 -0
  40. package/esm/src/CollectionHeaderFlow.vue.js +4 -0
  41. package/esm/src/CollectionHeaderFlow2.vue.js +33 -0
  42. package/esm/src/CollectionHeaderPart.vue.js +4 -0
  43. package/esm/src/CollectionHeaderPart2.vue.js +40 -0
  44. package/esm/src/CollectionQueryBadge.vue.js +4 -0
  45. package/esm/src/CollectionQueryBadge2.vue.js +85 -0
  46. package/esm/src/CollectionSortLayout.vue.js +4 -0
  47. package/esm/src/CollectionSortLayout2.vue.js +23 -0
  48. package/esm/src/CollectionStatus.vue.js +4 -0
  49. package/esm/src/CollectionStatus2.vue.js +135 -0
  50. package/esm/src/CollectionSummary.vue.js +4 -0
  51. package/esm/src/CollectionSummary2.vue.js +70 -0
  52. package/esm/src/CollectionTableActions.vue.js +13 -0
  53. package/esm/src/DrawerDepth.vue.js +4 -0
  54. package/esm/src/DrawerDepth2.vue.js +28 -0
  55. package/esm/src/DrawerDock.vue.js +4 -0
  56. package/esm/src/DrawerDock2.vue.js +26 -0
  57. package/esm/src/EntryBranch.css +9 -0
  58. package/esm/src/EntryBranch.vue.js +10 -0
  59. package/esm/src/EntryBranch2.css +4 -0
  60. package/esm/src/EntryBranch2.vue.js +383 -0
  61. package/esm/src/EntryIcon.vue.js +4 -0
  62. package/esm/src/EntryIcon2.vue.js +31 -0
  63. package/esm/src/EntryPopup.vue.js +4 -0
  64. package/esm/src/EntryPopup2.vue.js +101 -0
  65. package/esm/src/FeedbackItem.vue.js +4 -0
  66. package/esm/src/FeedbackItem2.vue.js +252 -0
  67. package/esm/src/FeedbackViewport.vue.js +4 -0
  68. package/esm/src/FeedbackViewport2.vue.js +42 -0
  69. package/esm/src/FieldFailureTooltip.vue.js +4 -0
  70. package/esm/src/FieldFailureTooltip2.vue.js +101 -0
  71. package/esm/src/FileTypeIcon.vue.js +4 -0
  72. package/esm/src/FileTypeIcon2.vue.js +73 -0
  73. package/esm/src/FooterActions.vue.js +16 -0
  74. package/esm/src/NavigationTree.vue.js +4 -0
  75. package/esm/src/NavigationTree2.vue.js +73 -0
  76. package/esm/src/NavigationTreeBranch.vue.js +4 -0
  77. package/esm/src/NavigationTreeBranch2.vue.js +297 -0
  78. package/esm/src/OverlaySurface.vue.js +4 -0
  79. package/esm/src/OverlaySurface2.vue.js +172 -0
  80. package/esm/src/TableAddRow.vue.js +4 -0
  81. package/esm/src/TableAddRow2.vue.js +66 -0
  82. package/esm/src/TableFilterButton.vue.js +4 -0
  83. package/esm/src/TableFilterButton2.vue.js +36 -0
  84. package/esm/src/TemporalAction.vue.js +4 -0
  85. package/esm/src/TemporalAction2.vue.js +47 -0
  86. package/esm/src/TemporalEditor.vue.js +4 -0
  87. package/esm/src/TemporalEditor2.vue.js +112 -0
  88. package/esm/src/TemporalIcon.vue.js +4 -0
  89. package/esm/src/TemporalIcon2.vue.js +81 -0
  90. package/esm/src/TemporalInput.vue.js +4 -0
  91. package/esm/src/TemporalInput2.vue.js +248 -0
  92. package/esm/src/TemporalMode.vue.js +4 -0
  93. package/esm/src/TemporalMode2.vue.js +127 -0
  94. package/esm/src/TemporalPicker.vue.js +4 -0
  95. package/esm/src/TemporalPicker2.vue.js +177 -0
  96. package/esm/src/TemporalRangeIcon.vue.js +4 -0
  97. package/esm/src/TemporalRangeIcon2.vue.js +72 -0
  98. package/esm/src/TemporalRangePicker.vue.js +4 -0
  99. package/esm/src/TemporalRangePicker2.vue.js +150 -0
  100. package/esm/src/UiApp.vue.js +4 -0
  101. package/esm/src/UiApp2.vue.js +62 -0
  102. package/esm/src/UiBadge.vue.js +4 -0
  103. package/esm/src/UiBadge2.vue.js +30 -0
  104. package/esm/src/UiBreadcrumbs.vue.js +4 -0
  105. package/esm/src/UiBreadcrumbs2.vue.js +105 -0
  106. package/esm/src/UiButton.vue.js +4 -0
  107. package/esm/src/UiButton2.vue.js +135 -0
  108. package/esm/src/UiCard.vue.js +4 -0
  109. package/esm/src/UiCard2.vue.js +117 -0
  110. package/esm/src/UiCheckbox.vue.js +4 -0
  111. package/esm/src/UiCheckbox2.vue.js +87 -0
  112. package/esm/src/UiCheckboxGroup.vue.js +4 -0
  113. package/esm/src/UiCheckboxGroup2.vue.js +43 -0
  114. package/esm/src/UiCollapsible.vue.js +4 -0
  115. package/esm/src/UiCollapsible2.vue.js +77 -0
  116. package/esm/src/UiCollectionFooter.vue.js +4 -0
  117. package/esm/src/UiCollectionFooter2.vue.js +64 -0
  118. package/esm/src/UiCollectionHeader.vue.js +4 -0
  119. package/esm/src/UiCollectionHeader2.vue.js +24 -0
  120. package/esm/src/UiCollectionView.vue.js +4 -0
  121. package/esm/src/UiCollectionView2.vue.js +239 -0
  122. package/esm/src/UiContent.vue.js +4 -0
  123. package/esm/src/UiContent2.vue.js +35 -0
  124. package/esm/src/UiDateInput.vue.js +4 -0
  125. package/esm/src/UiDateInput2.vue.js +46 -0
  126. package/esm/src/UiDateTimeInput.vue.js +4 -0
  127. package/esm/src/UiDateTimeInput2.vue.js +46 -0
  128. package/esm/src/UiDrawer.vue.js +4 -0
  129. package/esm/src/UiDrawer2.vue.js +98 -0
  130. package/esm/src/UiDrawerLayout.vue.js +4 -0
  131. package/esm/src/UiDrawerLayout2.vue.js +63 -0
  132. package/esm/src/UiEmpty.vue.js +4 -0
  133. package/esm/src/UiEmpty2.vue.js +51 -0
  134. package/esm/src/UiField.vue.js +4 -0
  135. package/esm/src/UiField2.vue.js +146 -0
  136. package/esm/src/UiFileCollection.vue.js +4 -0
  137. package/esm/src/UiFileCollection2.vue.js +54 -0
  138. package/esm/src/UiFileInput.vue.js +4 -0
  139. package/esm/src/UiFileInput2.vue.js +187 -0
  140. package/esm/src/UiFilePreview.vue.js +4 -0
  141. package/esm/src/UiFilePreview2.vue.js +107 -0
  142. package/esm/src/UiFloating.vue.js +4 -0
  143. package/esm/src/UiFloating2.vue.js +108 -0
  144. package/esm/src/UiForm.vue.js +4 -0
  145. package/esm/src/UiForm2.vue.js +37 -0
  146. package/esm/src/UiIcon.css +8 -0
  147. package/esm/src/UiIcon.vue.js +8 -0
  148. package/esm/src/UiIcon2.vue.js +27 -0
  149. package/esm/src/UiImagePreview.vue.js +4 -0
  150. package/esm/src/UiImagePreview2.vue.js +104 -0
  151. package/esm/src/UiInputFrame.vue.js +4 -0
  152. package/esm/src/UiInputFrame2.vue.js +87 -0
  153. package/esm/src/UiInputFrameSpacer.vue.js +4 -0
  154. package/esm/src/UiInputFrameSpacer2.vue.js +20 -0
  155. package/esm/src/UiKeyValueItem.vue.js +4 -0
  156. package/esm/src/UiKeyValueItem2.vue.js +29 -0
  157. package/esm/src/UiKeyValueList.vue.js +4 -0
  158. package/esm/src/UiKeyValueList2.vue.js +17 -0
  159. package/esm/src/UiLayout.vue.js +4 -0
  160. package/esm/src/UiLayout2.vue.js +156 -0
  161. package/esm/src/UiLink.vue.js +4 -0
  162. package/esm/src/UiLink2.vue.js +30 -0
  163. package/esm/src/UiList.vue.js +4 -0
  164. package/esm/src/UiList2.vue.js +247 -0
  165. package/esm/src/UiLoadingIndicator.vue.js +4 -0
  166. package/esm/src/UiLoadingIndicator2.vue.js +48 -0
  167. package/esm/src/UiLoadingRegion.vue.js +4 -0
  168. package/esm/src/UiLoadingRegion2.vue.js +90 -0
  169. package/esm/src/UiMenu.vue.js +4 -0
  170. package/esm/src/UiMenu2.vue.js +97 -0
  171. package/esm/src/UiModal.vue.js +4 -0
  172. package/esm/src/UiModal2.vue.js +166 -0
  173. package/esm/src/UiMultiSelect.css +21 -0
  174. package/esm/src/UiMultiSelect.vue.js +8 -0
  175. package/esm/src/UiMultiSelect2.vue.js +248 -0
  176. package/esm/src/UiNavMenu.vue.js +4 -0
  177. package/esm/src/UiNavMenu2.vue.js +92 -0
  178. package/esm/src/UiNavbar.vue.js +4 -0
  179. package/esm/src/UiNavbar2.vue.js +44 -0
  180. package/esm/src/UiNotice.vue.js +4 -0
  181. package/esm/src/UiNotice2.vue.js +93 -0
  182. package/esm/src/UiPaginator.vue.js +4 -0
  183. package/esm/src/UiPaginator2.vue.js +213 -0
  184. package/esm/src/UiPaginatorJumper.vue.js +4 -0
  185. package/esm/src/UiPaginatorJumper2.vue.js +90 -0
  186. package/esm/src/UiPaginatorSizeSelect.vue.js +4 -0
  187. package/esm/src/UiPaginatorSizeSelect2.vue.js +47 -0
  188. package/esm/src/UiPopover.vue.js +4 -0
  189. package/esm/src/UiPopover2.vue.js +93 -0
  190. package/esm/src/UiPreviewRegion.vue.js +4 -0
  191. package/esm/src/UiPreviewRegion2.vue.js +83 -0
  192. package/esm/src/UiProgressBar.vue.js +4 -0
  193. package/esm/src/UiProgressBar2.vue.js +34 -0
  194. package/esm/src/UiRadioGroup.vue.js +4 -0
  195. package/esm/src/UiRadioGroup2.vue.js +43 -0
  196. package/esm/src/UiRegionLayout.vue.js +4 -0
  197. package/esm/src/UiRegionLayout2.vue.js +106 -0
  198. package/esm/src/UiSegmentedSelect.css +129 -0
  199. package/esm/src/UiSegmentedSelect.vue.js +8 -0
  200. package/esm/src/UiSegmentedSelect2.vue.js +300 -0
  201. package/esm/src/UiSelect.vue.js +4 -0
  202. package/esm/src/UiSelect2.vue.js +238 -0
  203. package/esm/src/UiSuggestions.vue.js +4 -0
  204. package/esm/src/UiSuggestions2.vue.js +156 -0
  205. package/esm/src/UiSwitch.vue.js +4 -0
  206. package/esm/src/UiSwitch2.vue.js +84 -0
  207. package/esm/src/UiTabPanel.vue.js +4 -0
  208. package/esm/src/UiTabPanel2.vue.js +40 -0
  209. package/esm/src/UiTable.vue.js +4 -0
  210. package/esm/src/UiTable2.vue.js +704 -0
  211. package/esm/src/UiTabs.vue.js +4 -0
  212. package/esm/src/UiTabs2.vue.js +78 -0
  213. package/esm/src/UiTextInput.vue.js +4 -0
  214. package/esm/src/UiTextInput2.vue.js +154 -0
  215. package/esm/src/UiTimeInput.vue.js +4 -0
  216. package/esm/src/UiTimeInput2.vue.js +46 -0
  217. package/esm/src/UiTooltip.vue.js +4 -0
  218. package/esm/src/UiTooltip2.vue.js +75 -0
  219. package/esm/src/UiUploadProgress.vue.js +4 -0
  220. package/esm/src/UiUploadProgress2.vue.js +136 -0
  221. package/esm/src/UiUploadRegion.vue.js +4 -0
  222. package/esm/src/UiUploadRegion2.vue.js +262 -0
  223. package/esm/src/checkableDescription.js +104 -0
  224. package/esm/src/controlSize.js +22 -0
  225. package/esm/src/fieldLayout.js +52 -0
  226. package/esm/src/focus.js +6 -0
  227. package/esm/src/icons/add.vue.js +28 -0
  228. package/esm/src/icons/arrow-down.vue.js +28 -0
  229. package/esm/src/icons/arrow-left.vue.js +28 -0
  230. package/esm/src/icons/arrow-right.vue.js +28 -0
  231. package/esm/src/icons/arrow-up.vue.js +28 -0
  232. package/esm/src/icons/attachment.vue.js +28 -0
  233. package/esm/src/icons/bookmark.vue.js +28 -0
  234. package/esm/src/icons/calendar.vue.js +28 -0
  235. package/esm/src/icons/cancel.vue.js +28 -0
  236. package/esm/src/icons/clear.vue.js +28 -0
  237. package/esm/src/icons/close.vue.js +28 -0
  238. package/esm/src/icons/collapse.vue.js +28 -0
  239. package/esm/src/icons/confirm.vue.js +28 -0
  240. package/esm/src/icons/copy.vue.js +28 -0
  241. package/esm/src/icons/delete.vue.js +28 -0
  242. package/esm/src/icons/download.vue.js +28 -0
  243. package/esm/src/icons/edit.vue.js +28 -0
  244. package/esm/src/icons/email.vue.js +28 -0
  245. package/esm/src/icons/error.vue.js +28 -0
  246. package/esm/src/icons/expand.vue.js +28 -0
  247. package/esm/src/icons/external-link.vue.js +28 -0
  248. package/esm/src/icons/file.vue.js +28 -0
  249. package/esm/src/icons/filter.vue.js +28 -0
  250. package/esm/src/icons/first.vue.js +28 -0
  251. package/esm/src/icons/globe.vue.js +28 -0
  252. package/esm/src/icons/help.vue.js +28 -0
  253. package/esm/src/icons/hide.vue.js +28 -0
  254. package/esm/src/icons/home.vue.js +28 -0
  255. package/esm/src/icons/image.vue.js +28 -0
  256. package/esm/src/icons/index.js +116 -0
  257. package/esm/src/icons/info.vue.js +28 -0
  258. package/esm/src/icons/last.vue.js +28 -0
  259. package/esm/src/icons/link.vue.js +28 -0
  260. package/esm/src/icons/location.vue.js +28 -0
  261. package/esm/src/icons/menu.vue.js +28 -0
  262. package/esm/src/icons/more-vertical.vue.js +28 -0
  263. package/esm/src/icons/more.vue.js +28 -0
  264. package/esm/src/icons/next.vue.js +28 -0
  265. package/esm/src/icons/previous.vue.js +28 -0
  266. package/esm/src/icons/refresh.vue.js +28 -0
  267. package/esm/src/icons/remove.vue.js +28 -0
  268. package/esm/src/icons/reset.vue.js +28 -0
  269. package/esm/src/icons/retry.vue.js +28 -0
  270. package/esm/src/icons/save.vue.js +28 -0
  271. package/esm/src/icons/search.vue.js +28 -0
  272. package/esm/src/icons/settings.vue.js +28 -0
  273. package/esm/src/icons/show.vue.js +28 -0
  274. package/esm/src/icons/sort-ascending.vue.js +28 -0
  275. package/esm/src/icons/sort-descending.vue.js +28 -0
  276. package/esm/src/icons/sort.vue.js +28 -0
  277. package/esm/src/icons/success.vue.js +28 -0
  278. package/esm/src/icons/time.vue.js +28 -0
  279. package/esm/src/icons/upload.vue.js +28 -0
  280. package/esm/src/icons/warning.vue.js +28 -0
  281. package/esm/src/index.js +17 -0
  282. package/esm/src/integration.js +62 -0
  283. package/esm/src/layout.js +13 -0
  284. package/esm/src/nativeDirection.js +38 -0
  285. package/esm/src/selectEscape.js +14 -0
  286. package/esm/src/targetListeners.js +38 -0
  287. package/esm/src/zOrder.js +17 -0
  288. package/esm/testing/browser-control-parts.js +25 -0
  289. package/esm/testing/dom.js +43 -0
  290. package/esm/testing/index.js +125 -0
  291. package/esm/testing/presentation-mapping.js +50 -0
  292. package/esm/testing/presentation-parts.js +50 -0
  293. package/font-bundled.css +6 -0
  294. package/font-family.css +23 -0
  295. package/font.css +6 -0
  296. package/native-content.css +75 -0
  297. package/package.json +72 -4
  298. package/style.css +2850 -0
  299. package/types/src/ChoiceGroup.vue.d.ts +15 -0
  300. package/types/src/CollectionCard.vue.d.ts +42 -0
  301. package/types/src/CollectionFilterEditor.vue.d.ts +16 -0
  302. package/types/src/CollectionHeaderFlow.vue.d.ts +17 -0
  303. package/types/src/CollectionHeaderPart.vue.d.ts +24 -0
  304. package/types/src/CollectionQueryBadge.vue.d.ts +28 -0
  305. package/types/src/CollectionSortLayout.vue.d.ts +17 -0
  306. package/types/src/CollectionStatus.vue.d.ts +28 -0
  307. package/types/src/CollectionSummary.vue.d.ts +22 -0
  308. package/types/src/CollectionTableActions.vue.d.ts +13 -0
  309. package/types/src/DrawerDepth.vue.d.ts +7 -0
  310. package/types/src/DrawerDock.vue.d.ts +17 -0
  311. package/types/src/EntryBranch.vue.d.ts +41 -0
  312. package/types/src/EntryIcon.vue.d.ts +13 -0
  313. package/types/src/EntryPopup.vue.d.ts +26 -0
  314. package/types/src/FeedbackItem.vue.d.ts +20 -0
  315. package/types/src/FeedbackViewport.vue.d.ts +19 -0
  316. package/types/src/FieldFailureTooltip.vue.d.ts +17 -0
  317. package/types/src/FileTypeIcon.vue.d.ts +6 -0
  318. package/types/src/FooterActions.vue.d.ts +13 -0
  319. package/types/src/NavigationTree.vue.d.ts +38 -0
  320. package/types/src/NavigationTreeBranch.vue.d.ts +38 -0
  321. package/types/src/OverlaySurface.vue.d.ts +38 -0
  322. package/types/src/TableAddRow.vue.d.ts +18 -0
  323. package/types/src/TableFilterButton.vue.d.ts +7 -0
  324. package/types/src/TemporalAction.vue.d.ts +13 -0
  325. package/types/src/TemporalEditor.vue.d.ts +12 -0
  326. package/types/src/TemporalIcon.vue.d.ts +6 -0
  327. package/types/src/TemporalInput.vue.d.ts +9 -0
  328. package/types/src/TemporalMode.vue.d.ts +20 -0
  329. package/types/src/TemporalPicker.vue.d.ts +10 -0
  330. package/types/src/TemporalRangeIcon.vue.d.ts +7 -0
  331. package/types/src/TemporalRangePicker.vue.d.ts +16 -0
  332. package/types/src/UiApp.vue.d.ts +18 -0
  333. package/types/src/UiBadge.vue.d.ts +14 -0
  334. package/types/src/UiBreadcrumbs.vue.d.ts +24 -0
  335. package/types/src/UiButton.vue.d.ts +22 -0
  336. package/types/src/UiCard.vue.d.ts +24 -0
  337. package/types/src/UiCheckbox.vue.d.ts +10 -0
  338. package/types/src/UiCheckboxGroup.vue.d.ts +12 -0
  339. package/types/src/UiCollapsible.vue.d.ts +20 -0
  340. package/types/src/UiCollectionFooter.vue.d.ts +15 -0
  341. package/types/src/UiCollectionHeader.vue.d.ts +14 -0
  342. package/types/src/UiCollectionView.vue.d.ts +56 -0
  343. package/types/src/UiContent.vue.d.ts +14 -0
  344. package/types/src/UiDateInput.vue.d.ts +6 -0
  345. package/types/src/UiDateTimeInput.vue.d.ts +6 -0
  346. package/types/src/UiDrawer.vue.d.ts +40 -0
  347. package/types/src/UiDrawerLayout.vue.d.ts +16 -0
  348. package/types/src/UiEmpty.vue.d.ts +18 -0
  349. package/types/src/UiField.vue.d.ts +17 -0
  350. package/types/src/UiFileCollection.vue.d.ts +16 -0
  351. package/types/src/UiFileInput.vue.d.ts +6 -0
  352. package/types/src/UiFilePreview.vue.d.ts +6 -0
  353. package/types/src/UiFloating.vue.d.ts +14 -0
  354. package/types/src/UiForm.vue.d.ts +25 -0
  355. package/types/src/UiIcon.vue.d.ts +14 -0
  356. package/types/src/UiImagePreview.vue.d.ts +4 -0
  357. package/types/src/UiInputFrame.vue.d.ts +26 -0
  358. package/types/src/UiInputFrameSpacer.vue.d.ts +3 -0
  359. package/types/src/UiKeyValueItem.vue.d.ts +14 -0
  360. package/types/src/UiKeyValueList.vue.d.ts +13 -0
  361. package/types/src/UiLayout.vue.d.ts +17 -0
  362. package/types/src/UiLink.vue.d.ts +16 -0
  363. package/types/src/UiList.vue.d.ts +49 -0
  364. package/types/src/UiLoadingIndicator.vue.d.ts +14 -0
  365. package/types/src/UiLoadingRegion.vue.d.ts +17 -0
  366. package/types/src/UiMenu.vue.d.ts +59 -0
  367. package/types/src/UiModal.vue.d.ts +27 -0
  368. package/types/src/UiMultiSelect.vue.d.ts +16 -0
  369. package/types/src/UiNavMenu.vue.d.ts +45 -0
  370. package/types/src/UiNavbar.vue.d.ts +17 -0
  371. package/types/src/UiNotice.vue.d.ts +18 -0
  372. package/types/src/UiPaginator.vue.d.ts +4 -0
  373. package/types/src/UiPaginatorJumper.vue.d.ts +4 -0
  374. package/types/src/UiPaginatorSizeSelect.vue.d.ts +4 -0
  375. package/types/src/UiPopover.vue.d.ts +40 -0
  376. package/types/src/UiPreviewRegion.vue.d.ts +14 -0
  377. package/types/src/UiProgressBar.vue.d.ts +4 -0
  378. package/types/src/UiRadioGroup.vue.d.ts +12 -0
  379. package/types/src/UiRegionLayout.vue.d.ts +21 -0
  380. package/types/src/UiSegmentedSelect.vue.d.ts +12 -0
  381. package/types/src/UiSelect.vue.d.ts +14 -0
  382. package/types/src/UiSuggestions.vue.d.ts +37 -0
  383. package/types/src/UiSwitch.vue.d.ts +10 -0
  384. package/types/src/UiTabPanel.vue.d.ts +14 -0
  385. package/types/src/UiTable.vue.d.ts +94 -0
  386. package/types/src/UiTabs.vue.d.ts +20 -0
  387. package/types/src/UiTextInput.vue.d.ts +24 -0
  388. package/types/src/UiTimeInput.vue.d.ts +6 -0
  389. package/types/src/UiTooltip.vue.d.ts +25 -0
  390. package/types/src/UiUploadProgress.vue.d.ts +4 -0
  391. package/types/src/UiUploadRegion.vue.d.ts +6 -0
  392. package/types/src/checkableDescription.d.ts +7 -0
  393. package/types/src/controlSize.d.ts +2 -0
  394. package/types/src/fieldLayout.d.ts +26 -0
  395. package/types/src/focus.d.ts +3 -0
  396. package/types/src/icons/add.vue.d.ts +3 -0
  397. package/types/src/icons/arrow-down.vue.d.ts +3 -0
  398. package/types/src/icons/arrow-left.vue.d.ts +3 -0
  399. package/types/src/icons/arrow-right.vue.d.ts +3 -0
  400. package/types/src/icons/arrow-up.vue.d.ts +3 -0
  401. package/types/src/icons/attachment.vue.d.ts +3 -0
  402. package/types/src/icons/bookmark.vue.d.ts +3 -0
  403. package/types/src/icons/calendar.vue.d.ts +3 -0
  404. package/types/src/icons/cancel.vue.d.ts +3 -0
  405. package/types/src/icons/clear.vue.d.ts +3 -0
  406. package/types/src/icons/close.vue.d.ts +3 -0
  407. package/types/src/icons/collapse.vue.d.ts +3 -0
  408. package/types/src/icons/confirm.vue.d.ts +3 -0
  409. package/types/src/icons/copy.vue.d.ts +3 -0
  410. package/types/src/icons/delete.vue.d.ts +3 -0
  411. package/types/src/icons/download.vue.d.ts +3 -0
  412. package/types/src/icons/edit.vue.d.ts +3 -0
  413. package/types/src/icons/email.vue.d.ts +3 -0
  414. package/types/src/icons/error.vue.d.ts +3 -0
  415. package/types/src/icons/expand.vue.d.ts +3 -0
  416. package/types/src/icons/external-link.vue.d.ts +3 -0
  417. package/types/src/icons/file.vue.d.ts +3 -0
  418. package/types/src/icons/filter.vue.d.ts +3 -0
  419. package/types/src/icons/first.vue.d.ts +3 -0
  420. package/types/src/icons/globe.vue.d.ts +3 -0
  421. package/types/src/icons/help.vue.d.ts +3 -0
  422. package/types/src/icons/hide.vue.d.ts +3 -0
  423. package/types/src/icons/home.vue.d.ts +3 -0
  424. package/types/src/icons/image.vue.d.ts +3 -0
  425. package/types/src/icons/index.d.ts +181 -0
  426. package/types/src/icons/info.vue.d.ts +3 -0
  427. package/types/src/icons/last.vue.d.ts +3 -0
  428. package/types/src/icons/link.vue.d.ts +3 -0
  429. package/types/src/icons/location.vue.d.ts +3 -0
  430. package/types/src/icons/menu.vue.d.ts +3 -0
  431. package/types/src/icons/more-vertical.vue.d.ts +3 -0
  432. package/types/src/icons/more.vue.d.ts +3 -0
  433. package/types/src/icons/next.vue.d.ts +3 -0
  434. package/types/src/icons/previous.vue.d.ts +3 -0
  435. package/types/src/icons/refresh.vue.d.ts +3 -0
  436. package/types/src/icons/remove.vue.d.ts +3 -0
  437. package/types/src/icons/reset.vue.d.ts +3 -0
  438. package/types/src/icons/retry.vue.d.ts +3 -0
  439. package/types/src/icons/save.vue.d.ts +3 -0
  440. package/types/src/icons/search.vue.d.ts +3 -0
  441. package/types/src/icons/settings.vue.d.ts +3 -0
  442. package/types/src/icons/show.vue.d.ts +3 -0
  443. package/types/src/icons/sort-ascending.vue.d.ts +3 -0
  444. package/types/src/icons/sort-descending.vue.d.ts +3 -0
  445. package/types/src/icons/sort.vue.d.ts +3 -0
  446. package/types/src/icons/success.vue.d.ts +3 -0
  447. package/types/src/icons/time.vue.d.ts +3 -0
  448. package/types/src/icons/upload.vue.d.ts +3 -0
  449. package/types/src/icons/warning.vue.d.ts +3 -0
  450. package/types/src/index.d.ts +2 -0
  451. package/types/src/integration.d.ts +1323 -0
  452. package/types/src/layout.d.ts +2 -0
  453. package/types/src/nativeDirection.d.ts +2 -0
  454. package/types/src/selectEscape.d.ts +2 -0
  455. package/types/src/targetListeners.d.ts +9 -0
  456. package/types/src/zOrder.d.ts +3 -0
  457. package/types/testing/browser-control-parts.d.ts +2 -0
  458. package/types/testing/dom.d.mts +3 -0
  459. package/types/testing/index.d.ts +3 -0
  460. package/types/testing/presentation-mapping.d.ts +31 -0
  461. package/types/testing/presentation-parts.d.mts +20 -0
@@ -0,0 +1,106 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, Fragment, renderList, withDirectives, renderSlot, unref } from "vue";
2
+ import { useUiZPart, useUiZView } from "@uninterface/uninterface/backend";
3
+ const _hoisted_1 = ["aria-label"];
4
+ const _hoisted_2 = ["aria-label"];
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "UiRegionLayout",
7
+ props: {
8
+ binding: {}
9
+ },
10
+ setup(__props) {
11
+ const vUiZPart = useUiZPart();
12
+ useUiZView();
13
+ const props = __props;
14
+ const before = computed(
15
+ () => props.binding.regions.filter(
16
+ (name) => !props.binding.group.regions.includes(name) && name === "start"
17
+ )
18
+ );
19
+ const after = computed(
20
+ () => props.binding.regions.filter(
21
+ (name) => !props.binding.group.regions.includes(name) && name === "end"
22
+ )
23
+ );
24
+ const grouped = computed(
25
+ () => props.binding.regions.filter(
26
+ (name) => props.binding.group.regions.includes(name)
27
+ )
28
+ );
29
+ const rows = computed(
30
+ () => [
31
+ ...before.value.map(() => "auto"),
32
+ "minmax(3rem, 1fr)",
33
+ ...after.value.map(() => "auto")
34
+ ].join(" ")
35
+ );
36
+ return (_ctx, _cache) => {
37
+ return openBlock(), createElementBlock("div", {
38
+ class: "vuetify-region-host",
39
+ style: normalizeStyle({ height: `${__props.binding.height}px`, gridTemplateRows: rows.value }),
40
+ role: "group",
41
+ "aria-label": __props.binding["aria-label"],
42
+ tabindex: "0"
43
+ }, [
44
+ (openBlock(true), createElementBlock(
45
+ Fragment,
46
+ null,
47
+ renderList(before.value, (name) => {
48
+ return withDirectives((openBlock(), createElementBlock("div", {
49
+ key: name,
50
+ class: "vuetify-region-retained"
51
+ }, [
52
+ renderSlot(_ctx.$slots, name)
53
+ ])), [
54
+ [unref(vUiZPart), __props.binding.zItems?.[name]]
55
+ ]);
56
+ }),
57
+ 128
58
+ /* KEYED_FRAGMENT */
59
+ )),
60
+ (openBlock(), createElementBlock("div", {
61
+ key: __props.binding.group.id,
62
+ class: "vuetify-region-scroll",
63
+ role: "region",
64
+ "aria-label": __props.binding.group["aria-label"],
65
+ tabindex: "0"
66
+ }, [
67
+ (openBlock(true), createElementBlock(
68
+ Fragment,
69
+ null,
70
+ renderList(grouped.value, (name) => {
71
+ return withDirectives((openBlock(), createElementBlock("div", {
72
+ key: name,
73
+ class: "vuetify-region-item"
74
+ }, [
75
+ renderSlot(_ctx.$slots, name)
76
+ ])), [
77
+ [unref(vUiZPart), __props.binding.zItems?.[name]]
78
+ ]);
79
+ }),
80
+ 128
81
+ /* KEYED_FRAGMENT */
82
+ ))
83
+ ], 8, _hoisted_2)),
84
+ (openBlock(true), createElementBlock(
85
+ Fragment,
86
+ null,
87
+ renderList(after.value, (name) => {
88
+ return withDirectives((openBlock(), createElementBlock("div", {
89
+ key: name,
90
+ class: "vuetify-region-retained"
91
+ }, [
92
+ renderSlot(_ctx.$slots, name)
93
+ ])), [
94
+ [unref(vUiZPart), __props.binding.zItems?.[name]]
95
+ ]);
96
+ }),
97
+ 128
98
+ /* KEYED_FRAGMENT */
99
+ ))
100
+ ], 12, _hoisted_1);
101
+ };
102
+ }
103
+ });
104
+ export {
105
+ _sfc_main as default
106
+ };
@@ -0,0 +1,129 @@
1
+
2
+ .vuetify-choice-group[data-v-6c8ce496] {
3
+ width: 100%;
4
+ min-width: 0;
5
+ max-width: 100%;
6
+ }
7
+ .segmented-field-host[data-v-6c8ce496] {
8
+ display: block;
9
+ width: 100%;
10
+ min-width: 0;
11
+ }
12
+ .segmented-field[data-v-6c8ce496] {
13
+ --segmented-scrollbar-space: var(
14
+ --segmented-native-scrollbar-space,
15
+ 0.75rem
16
+ );
17
+ --segmented-target-height: 1.5rem;
18
+ --segmented-field-height: var(--v-input-control-height, 56px);
19
+ /* Center one choice line in the same native content area as input values. */
20
+ --segmented-content-start: max(
21
+ var(--segmented-label-band, 0px),
22
+ calc(
23
+ (
24
+ var(--segmented-field-height) + var(--v-field-input-padding-top) -
25
+ var(--v-field-input-padding-bottom) -
26
+ var(--segmented-target-height)
27
+ ) /
28
+ 2
29
+ )
30
+ );
31
+ --segmented-content-end: max(
32
+ 0px,
33
+ calc(
34
+ var(--segmented-field-height) - var(--segmented-content-start) -
35
+ var(--segmented-target-height)
36
+ )
37
+ );
38
+ /* Move the whole native track below the field when its bottom inset is
39
+ too small. Keep the choice line at the same position in both states. */
40
+ --segmented-external-scrollbar-space: calc(
41
+ var(--segmented-scrollbar-space) *
42
+ sign(
43
+ max(
44
+ 0px,
45
+ calc(
46
+ var(--segmented-scrollbar-space) - var(--segmented-content-end)
47
+ )
48
+ )
49
+ )
50
+ );
51
+ --segmented-scroll-padding: calc(
52
+ var(--segmented-content-end) + var(--segmented-external-scrollbar-space)
53
+ );
54
+ margin-block-end: var(--segmented-external-scrollbar-space);
55
+ }
56
+ .segmented-field[data-v-6c8ce496]:not(.v-field--no-label) {
57
+ --segmented-label-band: var(--v-field-input-padding-top);
58
+ }
59
+ .segmented-field.v-field--variant-outlined[data-v-6c8ce496]:not(.v-field--no-label) {
60
+ --segmented-label-band: 0.625rem;
61
+ }
62
+ .segmented-field[data-v-6c8ce496]:is(
63
+ .v-field--variant-filled,
64
+ .v-field--variant-solo,
65
+ .v-field--variant-solo-filled,
66
+ .v-field--variant-solo-inverted
67
+ ):not(.v-field--no-label) {
68
+ --segmented-label-band: 0.9375rem;
69
+ }
70
+ .segmented-field[data-v-6c8ce496]:is(
71
+ .v-field--variant-filled,
72
+ .v-field--variant-solo,
73
+ .v-field--variant-solo-filled,
74
+ .v-field--variant-solo-inverted
75
+ )
76
+ .v-field-label--floating {
77
+ line-height: var(--segmented-label-band);
78
+ top: min(
79
+ calc(var(--v-input-padding-top) / 2 - 1px),
80
+ calc(var(--segmented-content-start) - var(--segmented-label-band))
81
+ );
82
+ }
83
+ .segmented-content[data-v-6c8ce496] {
84
+ --vuetify-segment-min-height: var(--segmented-target-height);
85
+ min-height: var(--segmented-field-height);
86
+ min-width: 0;
87
+ padding-block: var(--segmented-content-start) 0;
88
+ padding-inline: 0;
89
+ }
90
+ .segmented-scroll[data-v-6c8ce496] {
91
+ width: 100%;
92
+ max-width: 100%;
93
+ overflow-x: auto;
94
+ padding-block-end: var(--segmented-scroll-padding);
95
+ margin-block-end: calc(-1 * var(--segmented-external-scrollbar-space));
96
+ }
97
+ .segmented-scroll-classic[data-v-6c8ce496] {
98
+ /* The native track takes the place of padding when it appears. */
99
+ padding-block-end: calc(
100
+ var(--segmented-scroll-padding) - var(--segmented-scrollbar-space)
101
+ );
102
+ }
103
+ .segmented-buttons[data-v-6c8ce496] {
104
+ display: flex;
105
+ height: auto;
106
+ width: 100%;
107
+ min-width: max-content;
108
+ overflow: visible;
109
+ }
110
+ .segmented-buttons[data-v-6c8ce496] .v-btn {
111
+ /* Remove resting selection fill; native hover/focus overlays still apply.
112
+ Set on each button because its theme class defines this token locally. */
113
+ --v-activated-opacity: 0;
114
+ flex: 1 0 0;
115
+ font-size: inherit;
116
+ letter-spacing: inherit;
117
+ line-height: inherit;
118
+ min-width: max-content;
119
+ padding-inline: var(--v-field-padding-start) var(--v-field-padding-end);
120
+ text-indent: 0;
121
+ }
122
+ @media (forced-colors: active) {
123
+ .segmented-buttons[data-v-6c8ce496] .v-btn:focus-visible {
124
+ outline-offset: -2px;
125
+ }
126
+ }
127
+ small[data-v-6c8ce496] {
128
+ display: block;
129
+ }
@@ -0,0 +1,8 @@
1
+ import "./UiSegmentedSelect.css";
2
+ import _sfc_main from "./UiSegmentedSelect2.vue.js";
3
+ /* empty css */
4
+ import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
5
+ const UiSegmentedSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6c8ce496"]]);
6
+ export {
7
+ UiSegmentedSelect as default
8
+ };
@@ -0,0 +1,300 @@
1
+ import { defineComponent, ref, onDeactivated, computed, watchPostEffect, openBlock, createElementBlock, mergeProps, unref, createVNode, withCtx, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, withModifiers, Fragment, renderList, createBlock, createTextVNode, toDisplayString, nextTick } from "vue";
2
+ import { uiFocusPresentation } from "./focus.js";
3
+ import { useUiZView, useUiFieldDescription, useUiFieldFailure, useUiChoiceGroupView } from "@uninterface/uninterface/backend";
4
+ import { useControlSize } from "./controlSize.js";
5
+ import { VBtnToggle } from "vuetify/components/VBtnToggle";
6
+ import { VBtn } from "vuetify/components/VBtn";
7
+ import { VInput } from "vuetify/components/VInput";
8
+ import { VField } from "vuetify/components/VField";
9
+ import { useFieldPresentation } from "./fieldLayout.js";
10
+ const _hoisted_1 = ["id", "aria-orientation", "aria-label", "aria-required", "aria-describedby", "aria-invalid", "aria-disabled", "aria-busy"];
11
+ const _hoisted_2 = ["id"];
12
+ const _hoisted_3 = ["id"];
13
+ const _hoisted_4 = ["id", "data-uninterface-source-state"];
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ ...{ inheritAttrs: false },
16
+ __name: "UiSegmentedSelect",
17
+ props: {
18
+ binding: {},
19
+ label: {},
20
+ orientation: {},
21
+ options: {},
22
+ retained: {},
23
+ unavailableLabel: {},
24
+ status: {},
25
+ available: { type: Boolean }
26
+ },
27
+ emits: ["choose", "blur"],
28
+ setup(__props, { expose: __expose, emit: __emit }) {
29
+ useUiZView();
30
+ const props = __props;
31
+ const emit = __emit;
32
+ const root = ref();
33
+ const scrollport = ref();
34
+ const nativeScrollbarSpace = ref(0);
35
+ const hasClassicScrollbar = ref(false);
36
+ const density = useControlSize("UiSegmentedSelect");
37
+ const focused = ref(false);
38
+ const { field, presentation, requiredMarker, requiredPrefix } = useFieldPresentation(true, true);
39
+ onDeactivated(() => {
40
+ focused.value = false;
41
+ });
42
+ const description = useUiFieldDescription(() => props.binding, "replace-help");
43
+ const failure = useUiFieldFailure(() => props.binding);
44
+ const describedBy = computed(
45
+ () => [
46
+ description.value,
47
+ props.status.message ? `${props.binding.id}-source-status` : void 0
48
+ ].filter(Boolean).join(" ") || void 0
49
+ );
50
+ const selected = computed(
51
+ () => props.options.find((option) => option.selected)?.key
52
+ );
53
+ function revealFocusedChoice(element) {
54
+ const active = element.ownerDocument.activeElement;
55
+ if (!active?.matches("[role=radio]") || !element.contains(active)) return;
56
+ const left = element.getBoundingClientRect().left + element.clientLeft;
57
+ const right = left + element.clientWidth;
58
+ const choice = active.getBoundingClientRect();
59
+ const leftDelta = choice.left - left;
60
+ const rightDelta = choice.right - right;
61
+ const minDelta = Math.min(leftDelta, rightDelta);
62
+ const maxDelta = Math.max(leftDelta, rightDelta);
63
+ const delta = minDelta > 0 ? minDelta : Math.min(0, maxDelta);
64
+ if (Math.abs(delta) >= 1)
65
+ element.scrollBy({ left: delta, behavior: "instant" });
66
+ }
67
+ watchPostEffect((onCleanup) => {
68
+ const element = scrollport.value;
69
+ if (!element) return;
70
+ const measure = () => {
71
+ if (!element.isConnected) return;
72
+ const overflowing = element.scrollWidth > element.clientWidth;
73
+ if (!overflowing) element.style.overflowX = "scroll";
74
+ const nativeSpace = element.offsetHeight - element.clientHeight;
75
+ if (!overflowing) element.style.removeProperty("overflow-x");
76
+ nativeScrollbarSpace.value = nativeSpace;
77
+ hasClassicScrollbar.value = overflowing && nativeSpace > 0;
78
+ if (overflowing) revealFocusedChoice(element);
79
+ };
80
+ measure();
81
+ const ResizeObserver = element.ownerDocument.defaultView?.ResizeObserver;
82
+ if (!ResizeObserver) return;
83
+ const observer = new ResizeObserver(measure);
84
+ observer.observe(element, { box: "border-box" });
85
+ if (element.firstElementChild) observer.observe(element.firstElementChild);
86
+ onCleanup(() => observer.disconnect());
87
+ });
88
+ function targets() {
89
+ return Array.from(
90
+ root.value?.querySelectorAll(
91
+ "input[type=radio], input[type=checkbox], [role=radio], [role=checkbox]"
92
+ ) ?? []
93
+ ).filter(
94
+ (element) => element.getAttribute("aria-hidden") !== "true" && element.tabIndex >= -1
95
+ ).flatMap((element) => {
96
+ const key = element.closest("[data-uninterface-key]")?.getAttribute("data-uninterface-key") ?? element.getAttribute("value");
97
+ return key === null || key === void 0 ? [] : [{ key, element }];
98
+ });
99
+ }
100
+ const { focus, keydown, focusout } = useUiChoiceGroupView(
101
+ props,
102
+ () => false,
103
+ () => root.value,
104
+ targets,
105
+ (key) => emit("choose", key),
106
+ () => emit("blur"),
107
+ { fieldLabel: true }
108
+ );
109
+ async function leave(event) {
110
+ await focusout(event);
111
+ await nextTick();
112
+ focused.value = Boolean(
113
+ root.value?.contains(root.value.ownerDocument.activeElement)
114
+ );
115
+ }
116
+ __expose({ focus });
117
+ function optionDescription(index) {
118
+ return [
119
+ description.value,
120
+ props.options[index].description ? `${props.binding.id}-option-${index}-help` : void 0
121
+ ].filter(Boolean).join(" ") || void 0;
122
+ }
123
+ return (_ctx, _cache) => {
124
+ return openBlock(), createElementBlock("div", mergeProps({
125
+ ref_key: "root",
126
+ ref: root
127
+ }, _ctx.$attrs, {
128
+ id: __props.binding.id,
129
+ role: "radiogroup",
130
+ "aria-orientation": __props.orientation,
131
+ "aria-label": __props.label,
132
+ "aria-required": __props.binding.required || void 0,
133
+ "aria-describedby": describedBy.value,
134
+ "aria-invalid": __props.binding.invalid || void 0,
135
+ "aria-disabled": __props.binding.disabled || void 0,
136
+ "aria-busy": __props.binding.validating || __props.status.pending || void 0,
137
+ class: [unref(uiFocusPresentation).class, "vuetify-choice-group"],
138
+ "data-uninterface-segmented-select": "",
139
+ "data-uninterface-choice-group": "",
140
+ onKeydownCapture: _cache[2] || (_cache[2] = //@ts-ignore
141
+ (...args) => unref(keydown) && unref(keydown)(...args)),
142
+ onFocusin: _cache[3] || (_cache[3] = ($event) => focused.value = true),
143
+ onFocusout: leave
144
+ }), [
145
+ createVNode(unref(VInput), {
146
+ class: "segmented-field-host",
147
+ density: unref(density),
148
+ disabled: __props.binding.disabled,
149
+ error: unref(failure),
150
+ rules: [],
151
+ "hide-details": ""
152
+ }, {
153
+ default: withCtx(() => [
154
+ createVNode(unref(VField), {
155
+ class: normalizeClass(["segmented-field", {
156
+ "vuetify-required-control": unref(requiredMarker),
157
+ "vuetify-required-prefix": unref(requiredPrefix)
158
+ }]),
159
+ style: normalizeStyle({
160
+ "--segmented-native-scrollbar-space": nativeScrollbarSpace.value ? `${nativeScrollbarSpace.value}px` : void 0
161
+ }),
162
+ id: `${__props.binding.id}-surface`,
163
+ label: unref(presentation).label,
164
+ "label-id": unref(field) ? `${unref(field).id}-label` : void 0,
165
+ "single-line": false,
166
+ active: true,
167
+ focused: focused.value,
168
+ disabled: __props.binding.disabled,
169
+ error: unref(failure),
170
+ onClick: unref(focus)
171
+ }, {
172
+ default: withCtx(({ props: contentProps }) => [
173
+ createCommentVNode(" Choices are always visible: keep the native label raised, even\n without a selected value. VField's single-input click handler\n must not cancel the embedded buttons' activation. "),
174
+ createElementVNode("div", {
175
+ id: `${__props.binding.id}-surface`,
176
+ class: normalizeClass([contentProps.class, "segmented-content"]),
177
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $event.target === $event.currentTarget && unref(focus)(), ["stop"]))
178
+ }, [
179
+ createElementVNode(
180
+ "div",
181
+ {
182
+ ref_key: "scrollport",
183
+ ref: scrollport,
184
+ class: normalizeClass(["segmented-scroll", {
185
+ "segmented-scroll-classic": hasClassicScrollbar.value
186
+ }])
187
+ },
188
+ [
189
+ createVNode(unref(VBtnToggle), {
190
+ "model-value": selected.value === void 0 ? void 0 : `choice:${selected.value}`,
191
+ disabled: __props.binding.disabled || !__props.available,
192
+ direction: __props.orientation,
193
+ color: unref(failure) ? "error" : "primary",
194
+ variant: "text",
195
+ class: "segmented-buttons",
196
+ mandatory: "",
197
+ role: "presentation",
198
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => typeof $event === "string" && emit("choose", $event.slice(7)))
199
+ }, {
200
+ default: withCtx(() => [
201
+ (openBlock(true), createElementBlock(
202
+ Fragment,
203
+ null,
204
+ renderList(__props.options, (option, index) => {
205
+ return openBlock(), createBlock(unref(VBtn), {
206
+ key: option.key,
207
+ id: `${__props.binding.id}-option-${index}`,
208
+ "data-uninterface-key": option.key,
209
+ value: `choice:${option.key}`,
210
+ disabled: __props.binding.disabled || !__props.available || option.disabled,
211
+ height: "auto",
212
+ "min-height": "var(--vuetify-segment-min-height)",
213
+ role: "radio",
214
+ "aria-label": option.label,
215
+ "aria-checked": option.selected,
216
+ "aria-describedby": optionDescription(index),
217
+ "aria-invalid": __props.binding.invalid || void 0
218
+ }, {
219
+ default: withCtx(() => [
220
+ createElementVNode("span", null, [
221
+ createTextVNode(
222
+ toDisplayString(option.label) + " ",
223
+ 1
224
+ /* TEXT */
225
+ ),
226
+ option.description ? (openBlock(), createElementBlock("small", {
227
+ key: 0,
228
+ id: `${__props.binding.id}-option-${index}-help`
229
+ }, toDisplayString(option.description), 9, _hoisted_3)) : createCommentVNode("v-if", true)
230
+ ])
231
+ ]),
232
+ _: 2
233
+ /* DYNAMIC */
234
+ }, 1032, ["id", "data-uninterface-key", "value", "disabled", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"]);
235
+ }),
236
+ 128
237
+ /* KEYED_FRAGMENT */
238
+ ))
239
+ ]),
240
+ _: 1
241
+ /* STABLE */
242
+ }, 8, ["model-value", "disabled", "direction", "color"])
243
+ ],
244
+ 2
245
+ /* CLASS */
246
+ )
247
+ ], 10, _hoisted_2)
248
+ ]),
249
+ _: 1
250
+ /* STABLE */
251
+ }, 8, ["class", "style", "id", "label", "label-id", "focused", "disabled", "error", "onClick"])
252
+ ]),
253
+ _: 1
254
+ /* STABLE */
255
+ }, 8, ["density", "disabled", "error"]),
256
+ (openBlock(true), createElementBlock(
257
+ Fragment,
258
+ null,
259
+ renderList(__props.retained, (item) => {
260
+ return openBlock(), createElementBlock("div", {
261
+ key: item.key,
262
+ "data-uninterface-retained": "",
263
+ class: "mt-2"
264
+ }, [
265
+ createTextVNode(
266
+ toDisplayString(item.label) + " ",
267
+ 1
268
+ /* TEXT */
269
+ ),
270
+ __props.unavailableLabel ? (openBlock(), createElementBlock(
271
+ Fragment,
272
+ { key: 0 },
273
+ [
274
+ createTextVNode(
275
+ "— " + toDisplayString(__props.unavailableLabel),
276
+ 1
277
+ /* TEXT */
278
+ )
279
+ ],
280
+ 64
281
+ /* STABLE_FRAGMENT */
282
+ )) : createCommentVNode("v-if", true)
283
+ ]);
284
+ }),
285
+ 128
286
+ /* KEYED_FRAGMENT */
287
+ )),
288
+ createElementVNode("div", {
289
+ id: `${__props.binding.id}-source-status`,
290
+ role: "status",
291
+ "data-uninterface-source-state": __props.status.state,
292
+ class: normalizeClass(__props.status.message ? "mt-2" : void 0)
293
+ }, toDisplayString(__props.status.message), 11, _hoisted_4)
294
+ ], 16, _hoisted_1);
295
+ };
296
+ }
297
+ });
298
+ export {
299
+ _sfc_main as default
300
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./UiSelect2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };