@uninterface/backend-vuetify 0.0.0-stage → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +44 -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 +157 -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 +75 -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 +27 -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,177 @@
1
+ import { defineComponent, ref, computed, watch, onDeactivated, onScopeDispose, openBlock, createBlock, unref, withCtx, createVNode, createCommentVNode, mergeProps, withModifiers, nextTick } from "vue";
2
+ import { useUiOverlayTarget, useUiZPopup } from "@uninterface/uninterface/backend";
3
+ import { popupTarget } from "./zOrder.js";
4
+ import { useUiI18n } from "@uninterface/uninterface";
5
+ import { VMenu } from "vuetify/components/VMenu";
6
+ import _sfc_main$1 from "./TemporalIcon2.vue.js";
7
+ import { VBtn } from "vuetify/components/VBtn";
8
+ import { VCard } from "vuetify/components/VCard";
9
+ import { VDatePicker } from "vuetify/components/VDatePicker";
10
+ import { VTimePicker } from "vuetify/components/VTimePicker";
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ __name: "TemporalPicker",
13
+ props: {
14
+ frame: {},
15
+ binding: {},
16
+ kind: {},
17
+ value: {},
18
+ precision: {},
19
+ dateFormatWish: {},
20
+ presentation: {},
21
+ readonly: { type: Boolean },
22
+ label: {},
23
+ eligible: { type: Function },
24
+ update: { type: Function },
25
+ blur: { type: Function }
26
+ },
27
+ emits: ["open-change"],
28
+ setup(__props, { expose: __expose, emit: __emit }) {
29
+ const portal = useUiOverlayTarget();
30
+ const props = __props;
31
+ const menu = ref();
32
+ function close() {
33
+ open.value = false;
34
+ void nextTick(() => menu.value?.activatorEl?.focus());
35
+ }
36
+ function dismiss(event) {
37
+ if (event.key !== "Escape" || !open.value) return;
38
+ event.preventDefault();
39
+ event.stopPropagation();
40
+ close();
41
+ }
42
+ const open = ref(false), i18n = useUiI18n();
43
+ const pickerLabel = computed(
44
+ () => i18n.text({
45
+ namespace: "uninterface",
46
+ key: props.kind === "date" ? "pickDate" : props.kind === "time" ? "pickTime" : "pickDateTime"
47
+ })
48
+ );
49
+ const draftDate = ref(""), draftTime = ref("");
50
+ function syncDraft(value) {
51
+ draftDate.value = props.kind === "time" ? "" : value.split("T")[0] ?? "";
52
+ draftTime.value = props.kind === "time" ? value : value.split("T")[1] ?? "";
53
+ }
54
+ watch(() => props.value, syncDraft, { immediate: true });
55
+ watch(open, (visible) => {
56
+ if (visible) syncDraft(props.value);
57
+ });
58
+ const date = computed(() => draftDate.value);
59
+ const clock = computed(() => draftTime.value);
60
+ const nativeClock = computed(() => {
61
+ const value = clock.value.split(".")[0];
62
+ return /^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d)?$/.test(value) ? value : void 0;
63
+ });
64
+ function chosen(value) {
65
+ if (props.binding.disabled || props.readonly) return;
66
+ if (props.eligible(value)) {
67
+ props.update(value);
68
+ void nextTick(() => props.blur());
69
+ if (props.kind === "date") close();
70
+ }
71
+ }
72
+ function chooseDate(value) {
73
+ draftDate.value = value;
74
+ if (props.kind === "datetime") {
75
+ if (clock.value) chosen(value + "T" + clock.value);
76
+ } else chosen(value);
77
+ }
78
+ function chooseTime(value) {
79
+ if (props.precision === "millisecond" && !value.includes("."))
80
+ value += clock.value.match(/\.\d{1,3}$/)?.[0] ?? ".000";
81
+ draftTime.value = value;
82
+ if (props.kind === "datetime") {
83
+ if (date.value) chosen(date.value + "T" + value);
84
+ } else chosen(value);
85
+ }
86
+ function dateString(value) {
87
+ const date2 = value instanceof Date ? value : new Date(value);
88
+ return `${String(date2.getFullYear()).padStart(4, "0")}-${String(date2.getMonth() + 1).padStart(2, "0")}-${String(date2.getDate()).padStart(2, "0")}`;
89
+ }
90
+ watch(
91
+ () => [props.binding.disabled, props.readonly],
92
+ () => {
93
+ if (props.binding.disabled || props.readonly) open.value = false;
94
+ }
95
+ );
96
+ onDeactivated(() => {
97
+ open.value = false;
98
+ });
99
+ __expose({
100
+ show() {
101
+ if (!props.binding.disabled && !props.readonly) open.value = true;
102
+ }
103
+ });
104
+ const emit = __emit;
105
+ watch(open, (value) => emit("open-change", value), { flush: "sync" });
106
+ onScopeDispose(() => emit("open-change", false));
107
+ useUiZPopup(() => popupTarget(menu.value?.contentEl));
108
+ return (_ctx, _cache) => {
109
+ return openBlock(), createBlock(unref(VMenu), {
110
+ ref_key: "menu",
111
+ ref: menu,
112
+ modelValue: open.value,
113
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => open.value = $event),
114
+ "content-props": { onKeydownCapture: dismiss },
115
+ attach: unref(portal),
116
+ "close-on-content-click": false,
117
+ disabled: __props.binding.disabled || __props.readonly,
118
+ location: "bottom start"
119
+ }, {
120
+ activator: withCtx(({ props: activator }) => [
121
+ createVNode(unref(VBtn), mergeProps(activator, {
122
+ onMousedown: _cache[0] || (_cache[0] = withModifiers(() => {
123
+ }, ["stop"])),
124
+ onKeydownCapture: dismiss,
125
+ icon: "",
126
+ variant: "text",
127
+ size: "small",
128
+ disabled: __props.binding.disabled || __props.readonly,
129
+ "aria-label": pickerLabel.value + (__props.label ? " — " + __props.label : ""),
130
+ "aria-haspopup": "dialog",
131
+ "aria-expanded": open.value,
132
+ "data-temporal-trigger": ""
133
+ }), {
134
+ default: withCtx(() => [
135
+ createVNode(_sfc_main$1, {
136
+ time: __props.kind === "time"
137
+ }, null, 8, ["time"])
138
+ ]),
139
+ _: 1
140
+ /* STABLE */
141
+ }, 16, ["disabled", "aria-label", "aria-expanded"])
142
+ ]),
143
+ default: withCtx(() => [
144
+ createVNode(unref(VCard), {
145
+ role: "dialog",
146
+ "aria-label": pickerLabel.value,
147
+ "data-temporal-popup": ""
148
+ }, {
149
+ default: withCtx(() => [
150
+ __props.kind !== "time" ? (openBlock(), createBlock(unref(VDatePicker), {
151
+ key: 0,
152
+ "model-value": date.value,
153
+ "hide-header": "",
154
+ "allowed-dates": __props.kind === "date" ? (value) => __props.eligible(dateString(value)) : void 0,
155
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => chooseDate(dateString($event)))
156
+ }, null, 8, ["model-value", "allowed-dates"])) : createCommentVNode("v-if", true),
157
+ __props.kind !== "date" ? (openBlock(), createBlock(unref(VTimePicker), {
158
+ key: 1,
159
+ "model-value": nativeClock.value,
160
+ format: __props.presentation?.hourCycle === "h12" ? "ampm" : "24hr",
161
+ "use-seconds": __props.precision !== "minute",
162
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => chooseTime(String($event ?? "")))
163
+ }, null, 8, ["model-value", "format", "use-seconds"])) : createCommentVNode("v-if", true)
164
+ ]),
165
+ _: 1
166
+ /* STABLE */
167
+ }, 8, ["aria-label"])
168
+ ]),
169
+ _: 1
170
+ /* STABLE */
171
+ }, 8, ["modelValue", "content-props", "attach", "disabled"]);
172
+ };
173
+ }
174
+ });
175
+ export {
176
+ _sfc_main as default
177
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TemporalRangeIcon2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,72 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, normalizeStyle } from "vue";
2
+ import { VIcon } from "vuetify/components/VIcon";
3
+ const _hoisted_1 = {
4
+ class: "vuetify-temporal-symbol",
5
+ "aria-hidden": "true"
6
+ };
7
+ const _hoisted_2 = { key: 0 };
8
+ const _hoisted_3 = {
9
+ key: 1,
10
+ width: "1em",
11
+ height: "1em",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ "stroke-width": "1.8",
16
+ "stroke-linecap": "round",
17
+ "stroke-linejoin": "round",
18
+ "aria-hidden": "true",
19
+ focusable: "false"
20
+ };
21
+ const _sfc_main = /* @__PURE__ */ defineComponent({
22
+ __name: "TemporalRangeIcon",
23
+ props: {
24
+ mode: {}
25
+ },
26
+ setup(__props) {
27
+ const props = __props;
28
+ const icon = computed(
29
+ () => ({
30
+ start: "$arrowright",
31
+ end: "$arrowleft",
32
+ bounded: "$unfold",
33
+ "next-day": "",
34
+ unrestricted: ""
35
+ })[props.mode]
36
+ );
37
+ return (_ctx, _cache) => {
38
+ return openBlock(), createElementBlock("span", _hoisted_1, [
39
+ __props.mode === "unrestricted" ? (openBlock(), createElementBlock("span", _hoisted_2, "∞")) : __props.mode === "next-day" ? (openBlock(), createElementBlock("svg", _hoisted_3, [..._cache[0] || (_cache[0] = [
40
+ createElementVNode(
41
+ "rect",
42
+ {
43
+ x: "3",
44
+ y: "5",
45
+ width: "18",
46
+ height: "16",
47
+ rx: "2"
48
+ },
49
+ null,
50
+ -1
51
+ /* CACHED */
52
+ ),
53
+ createElementVNode(
54
+ "path",
55
+ { d: "M8 3v4m8-4v4M3 10h18M6 15h6m-3-3v6m6-4 2-2v6" },
56
+ null,
57
+ -1
58
+ /* CACHED */
59
+ )
60
+ ])])) : (openBlock(), createBlock(unref(VIcon), {
61
+ key: 2,
62
+ icon: icon.value,
63
+ size: "1em",
64
+ style: normalizeStyle(__props.mode === "bounded" ? { transform: "rotate(90deg)" } : void 0)
65
+ }, null, 8, ["icon", "style"]))
66
+ ]);
67
+ };
68
+ }
69
+ });
70
+ export {
71
+ _sfc_main as default
72
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./TemporalRangePicker2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,150 @@
1
+ import { defineComponent, ref, shallowRef, watch, computed, onDeactivated, openBlock, createBlock, unref, withCtx, withKeys, withModifiers, createVNode, createCommentVNode, mergeProps, nextTick } from "vue";
2
+ import { useUiOverlayTarget, useUiControlFrameParticipant, useUiZPopup } from "@uninterface/uninterface/backend";
3
+ import { popupTarget } from "./zOrder.js";
4
+ import { useDate } from "vuetify";
5
+ import { VMenu } from "vuetify/components/VMenu";
6
+ import { VBtn } from "vuetify/components/VBtn";
7
+ import { VCard } from "vuetify/components/VCard";
8
+ import { VDatePicker } from "vuetify/components/VDatePicker";
9
+ import { useUiI18n } from "@uninterface/uninterface";
10
+ import _sfc_main$1 from "./TemporalIcon2.vue.js";
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ __name: "TemporalRangePicker",
13
+ props: {
14
+ frame: {},
15
+ binding: {},
16
+ precision: {},
17
+ dateFormatWish: {},
18
+ presentation: {},
19
+ readonly: { type: Boolean },
20
+ label: {},
21
+ eligible: { type: Function },
22
+ blur: { type: Function },
23
+ value: {},
24
+ update: { type: Function }
25
+ },
26
+ setup(__props, { expose: __expose }) {
27
+ const props = __props;
28
+ const adapter = useDate();
29
+ const portal = useUiOverlayTarget();
30
+ const i18n = useUiI18n();
31
+ const open = ref(false);
32
+ const menu = ref();
33
+ const draft = shallowRef([]);
34
+ const { setEngaged } = useUiControlFrameParticipant({
35
+ focus: async () => null
36
+ });
37
+ watch(open, setEngaged, { flush: "sync" });
38
+ const pickerLabel = computed(
39
+ () => i18n.text({ namespace: "uninterface", key: "pickDate" }) + (props.label ? " — " + props.label : "")
40
+ );
41
+ function nativeDate(value) {
42
+ if (!/^\d{4}-\d{2}-\d{2}$/.test(value)) return null;
43
+ const date = adapter.date(value);
44
+ return date != null && adapter.isValid(date) && adapter.toISO(date) === value ? date : null;
45
+ }
46
+ function sync() {
47
+ const pair = [nativeDate(props.value.start), nativeDate(props.value.end)];
48
+ draft.value = pair.every((value) => value != null) ? pair : [];
49
+ }
50
+ watch([() => props.value.start, () => props.value.end], sync, {
51
+ immediate: true
52
+ });
53
+ watch(open, (visible) => {
54
+ if (visible) sync();
55
+ });
56
+ function close() {
57
+ open.value = false;
58
+ void nextTick(() => menu.value?.activatorEl?.focus());
59
+ }
60
+ function choose(value) {
61
+ if (props.binding.disabled || props.readonly || !Array.isArray(value))
62
+ return;
63
+ const pair = value.length === 0 && draft.value.length === 1 ? [draft.value[0], draft.value[0]] : value;
64
+ if (!pair.every((date) => date != null && adapter.isValid(date))) return;
65
+ draft.value = pair;
66
+ if (pair.length !== 2) return;
67
+ const [start, end] = pair.map((date) => adapter.toISO(date));
68
+ if (!props.eligible(start) || !props.eligible(end)) return;
69
+ props.update({ start, end });
70
+ void nextTick(() => props.blur());
71
+ close();
72
+ }
73
+ watch(
74
+ () => [props.binding.disabled, props.readonly],
75
+ () => {
76
+ if (props.binding.disabled || props.readonly) open.value = false;
77
+ }
78
+ );
79
+ onDeactivated(() => {
80
+ open.value = false;
81
+ });
82
+ __expose({
83
+ show() {
84
+ if (!props.binding.disabled && !props.readonly) open.value = true;
85
+ }
86
+ });
87
+ useUiZPopup(() => popupTarget(menu.value?.contentEl));
88
+ return (_ctx, _cache) => {
89
+ return openBlock(), createBlock(unref(VMenu), {
90
+ ref_key: "menu",
91
+ ref: menu,
92
+ modelValue: open.value,
93
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
94
+ attach: unref(portal),
95
+ "close-on-content-click": false,
96
+ disabled: __props.binding.disabled || __props.readonly,
97
+ location: "bottom start"
98
+ }, {
99
+ activator: withCtx(({ props: activator }) => [
100
+ createVNode(unref(VBtn), mergeProps(activator, {
101
+ type: "button",
102
+ icon: "",
103
+ variant: "text",
104
+ size: "small",
105
+ disabled: __props.binding.disabled || __props.readonly,
106
+ "aria-label": pickerLabel.value,
107
+ "aria-haspopup": "dialog",
108
+ "aria-expanded": open.value,
109
+ "data-temporal-trigger": "",
110
+ "data-temporal-range-trigger": "",
111
+ onKeydown: withKeys(withModifiers(close, ["stop", "prevent"]), ["esc"])
112
+ }), {
113
+ default: withCtx(() => [
114
+ createVNode(_sfc_main$1)
115
+ ]),
116
+ _: 1
117
+ /* STABLE */
118
+ }, 16, ["disabled", "aria-label", "aria-expanded", "onKeydown"])
119
+ ]),
120
+ default: withCtx(() => [
121
+ open.value ? (openBlock(), createBlock(unref(VCard), {
122
+ key: 0,
123
+ role: "dialog",
124
+ "aria-label": pickerLabel.value,
125
+ "data-temporal-popup": "",
126
+ "data-temporal-range-popup": "",
127
+ onKeydown: withKeys(withModifiers(close, ["stop", "prevent"]), ["esc"])
128
+ }, {
129
+ default: withCtx(() => [
130
+ createVNode(unref(VDatePicker), {
131
+ "model-value": draft.value,
132
+ multiple: "range",
133
+ "hide-header": "",
134
+ "allowed-dates": (value) => __props.eligible(unref(adapter).toISO(unref(adapter).date(value))),
135
+ "onUpdate:modelValue": choose
136
+ }, null, 8, ["model-value", "allowed-dates"])
137
+ ]),
138
+ _: 1
139
+ /* STABLE */
140
+ }, 8, ["aria-label", "onKeydown"])) : createCommentVNode("v-if", true)
141
+ ]),
142
+ _: 1
143
+ /* STABLE */
144
+ }, 8, ["modelValue", "attach", "disabled"]);
145
+ };
146
+ }
147
+ });
148
+ export {
149
+ _sfc_main as default
150
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./UiApp2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent, ref, onMounted, watch, nextTick, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
+ import { useUiZView } from "@uninterface/uninterface/backend";
3
+ import { useTheme } from "vuetify";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "UiApp",
6
+ props: {
7
+ hosting: {}
8
+ },
9
+ emits: ["availableHeight"],
10
+ setup(__props, { emit: __emit }) {
11
+ useUiZView();
12
+ const theme = useTheme();
13
+ const props = __props;
14
+ const emit = __emit;
15
+ const root = ref();
16
+ let observer;
17
+ const measure = () => emit(
18
+ "availableHeight",
19
+ props.hosting === "viewport" ? Math.max(0, root.value?.getBoundingClientRect().height ?? 0) : void 0
20
+ );
21
+ onMounted(() => {
22
+ if (typeof ResizeObserver !== "undefined") {
23
+ observer = new ResizeObserver(measure);
24
+ observer.observe(root.value);
25
+ }
26
+ window.addEventListener("resize", measure);
27
+ measure();
28
+ });
29
+ watch(
30
+ () => props.hosting,
31
+ async () => {
32
+ await nextTick();
33
+ measure();
34
+ }
35
+ );
36
+ onUnmounted(() => {
37
+ observer?.disconnect();
38
+ window.removeEventListener("resize", measure);
39
+ });
40
+ return (_ctx, _cache) => {
41
+ return openBlock(), createElementBlock(
42
+ "div",
43
+ {
44
+ ref_key: "root",
45
+ ref: root,
46
+ class: normalizeClass(["vuetify-app", [
47
+ unref(theme).themeClasses.value,
48
+ { "vuetify-app-viewport": __props.hosting === "viewport" }
49
+ ]])
50
+ },
51
+ [
52
+ renderSlot(_ctx.$slots, "default")
53
+ ],
54
+ 2
55
+ /* CLASS */
56
+ );
57
+ };
58
+ }
59
+ });
60
+ export {
61
+ _sfc_main as default
62
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./UiBadge2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot } from "vue";
2
+ import { useUiZView } from "@uninterface/uninterface/backend";
3
+ import { VChip } from "vuetify/components/VChip";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "UiBadge",
6
+ props: {
7
+ color: {}
8
+ },
9
+ setup(__props) {
10
+ useUiZView();
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createBlock(unref(VChip), {
13
+ class: "vuetify-badge",
14
+ color: __props.color === "danger" ? "error" : __props.color,
15
+ closable: false,
16
+ ripple: false,
17
+ draggable: false
18
+ }, {
19
+ default: withCtx(() => [
20
+ renderSlot(_ctx.$slots, "default")
21
+ ]),
22
+ _: 3
23
+ /* FORWARDED */
24
+ }, 8, ["color"]);
25
+ };
26
+ }
27
+ });
28
+ export {
29
+ _sfc_main as default
30
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./UiBreadcrumbs2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,105 @@
1
+ import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, Fragment, renderList, createBlock, createCommentVNode, withDirectives, resolveDynamicComponent, mergeProps, renderSlot, createTextVNode, toDisplayString } from "vue";
2
+ import { useUiZView, useUiZPart } from "@uninterface/uninterface/backend";
3
+ import { VBtn } from "vuetify/components/VBtn";
4
+ import { VBreadcrumbs, VBreadcrumbsDivider, VBreadcrumbsItem } from "vuetify/components/VBreadcrumbs";
5
+ const _hoisted_1 = ["aria-label"];
6
+ const _hoisted_2 = ["aria-busy"];
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "UiBreadcrumbs",
9
+ props: {
10
+ status: {},
11
+ retry: { type: Function },
12
+ label: {},
13
+ items: {}
14
+ },
15
+ setup(__props) {
16
+ useUiZView();
17
+ const vUiZPart = useUiZPart();
18
+ return (_ctx, _cache) => {
19
+ return openBlock(), createElementBlock("nav", { "aria-label": __props.label }, [
20
+ createVNode(unref(VBreadcrumbs), { tag: "ol" }, {
21
+ default: withCtx(() => [
22
+ (openBlock(true), createElementBlock(
23
+ Fragment,
24
+ null,
25
+ renderList(__props.items, (item, index) => {
26
+ return openBlock(), createElementBlock(
27
+ Fragment,
28
+ {
29
+ key: item.key
30
+ },
31
+ [
32
+ index ? (openBlock(), createBlock(unref(VBreadcrumbsDivider), {
33
+ key: 0,
34
+ "aria-hidden": "true"
35
+ })) : createCommentVNode("v-if", true),
36
+ withDirectives((openBlock(), createBlock(unref(VBreadcrumbsItem), {
37
+ active: item.current,
38
+ disabled: item.current || item.disabled
39
+ }, {
40
+ default: withCtx(() => [
41
+ (openBlock(), createBlock(resolveDynamicComponent(
42
+ item.href === void 0 ? item.actionable ? "button" : "span" : "a"
43
+ ), mergeProps({ ref_for: true }, item.attributes, {
44
+ href: item.href,
45
+ type: item.actionable && item.href === void 0 ? "button" : void 0,
46
+ class: { "v-breadcrumbs-item--link": item.href !== void 0 },
47
+ "aria-disabled": item.disabled || void 0
48
+ }), {
49
+ default: withCtx(() => [
50
+ renderSlot(_ctx.$slots, "default", { item })
51
+ ]),
52
+ _: 2
53
+ /* DYNAMIC */
54
+ }, 1040, ["href", "type", "class", "aria-disabled"]))
55
+ ]),
56
+ _: 2
57
+ /* DYNAMIC */
58
+ }, 1032, ["active", "disabled"])), [
59
+ [unref(vUiZPart), item.z]
60
+ ])
61
+ ],
62
+ 64
63
+ /* STABLE_FRAGMENT */
64
+ );
65
+ }),
66
+ 128
67
+ /* KEYED_FRAGMENT */
68
+ ))
69
+ ]),
70
+ _: 3
71
+ /* FORWARDED */
72
+ }),
73
+ __props.status?.message ? (openBlock(), createElementBlock("div", {
74
+ key: 0,
75
+ role: "status",
76
+ "aria-busy": __props.status.pending || void 0
77
+ }, [
78
+ createTextVNode(
79
+ toDisplayString(__props.status.message) + " ",
80
+ 1
81
+ /* TEXT */
82
+ ),
83
+ __props.status.failed ? (openBlock(), createBlock(unref(VBtn), {
84
+ key: 0,
85
+ variant: "text",
86
+ onClick: _cache[0] || (_cache[0] = ($event) => __props.retry?.())
87
+ }, {
88
+ default: withCtx(() => [
89
+ createTextVNode(
90
+ toDisplayString(__props.status.retryLabel),
91
+ 1
92
+ /* TEXT */
93
+ )
94
+ ]),
95
+ _: 1
96
+ /* STABLE */
97
+ })) : createCommentVNode("v-if", true)
98
+ ], 8, _hoisted_2)) : createCommentVNode("v-if", true)
99
+ ], 8, _hoisted_1);
100
+ };
101
+ }
102
+ });
103
+ export {
104
+ _sfc_main as default
105
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./UiButton2.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };