@m3ui-vue/m3ui-vue 0.9.0 → 0.9.2

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 (364) hide show
  1. package/README.md +53 -2
  2. package/dist/API.md +3806 -0
  3. package/dist/MIcon-CaEooCmZ.js.map +1 -1
  4. package/dist/{MTextField-B0wGv1Mx.js → MTextField-Ck0oWDMk.js} +9 -3
  5. package/dist/MTextField-Ck0oWDMk.js.map +1 -0
  6. package/dist/api.json +1 -0
  7. package/dist/barcode.js.map +1 -1
  8. package/dist/chart.js.map +1 -1
  9. package/dist/code-editor.js +2 -2
  10. package/dist/code-editor.js.map +1 -1
  11. package/dist/components/MAbsolute.vue.d.ts +12 -0
  12. package/dist/components/MAlert.vue.d.ts +4 -0
  13. package/dist/components/MAppBar.vue.d.ts +12 -0
  14. package/dist/components/MAppLayout.vue.d.ts +2 -0
  15. package/dist/components/MAspectRatio.vue.d.ts +1 -0
  16. package/dist/components/MAutocomplete.vue.d.ts +18 -0
  17. package/dist/components/MAvatar.vue.d.ts +3 -0
  18. package/dist/components/MBadge.vue.d.ts +6 -0
  19. package/dist/components/MBar.vue.d.ts +5 -0
  20. package/dist/components/MBarcode.vue.d.ts +9 -0
  21. package/dist/components/MBottomSheet.vue.d.ts +3 -0
  22. package/dist/components/MBox.vue.d.ts +8 -2
  23. package/dist/components/MBreadcrumbs.vue.d.ts +2 -0
  24. package/dist/components/MButton.vue.d.ts +14 -4
  25. package/dist/components/MButtonGroup.vue.d.ts +7 -0
  26. package/dist/components/MCalendar.vue.d.ts +8 -0
  27. package/dist/components/MCard.vue.d.ts +17 -0
  28. package/dist/components/MCarousel.vue.d.ts +7 -1
  29. package/dist/components/MCenter.vue.d.ts +1 -0
  30. package/dist/components/MChart.vue.d.ts +7 -0
  31. package/dist/components/MChatBubble.vue.d.ts +10 -0
  32. package/dist/components/MCheckbox.vue.d.ts +5 -0
  33. package/dist/components/MChip.vue.d.ts +9 -0
  34. package/dist/components/MCircleProgressBar.vue.d.ts +7 -0
  35. package/dist/components/MCodeEditor.vue.d.ts +9 -0
  36. package/dist/components/MColorPicker.vue.d.ts +20 -0
  37. package/dist/components/MColorPickerModal.vue.d.ts +16 -0
  38. package/dist/components/MCommandPalette.vue.d.ts +8 -0
  39. package/dist/components/MConfirmDialog.vue.d.ts +7 -0
  40. package/dist/components/MContainer.vue.d.ts +4 -0
  41. package/dist/components/MContextMenu.vue.d.ts +3 -6
  42. package/dist/components/MCopyButton.vue.d.ts +10 -0
  43. package/dist/components/MDataTable.vue.d.ts +33 -12
  44. package/dist/components/MDatePicker.vue.d.ts +16 -0
  45. package/dist/components/MDatePickerModal.vue.d.ts +9 -0
  46. package/dist/components/MDateRangePicker.vue.d.ts +18 -0
  47. package/dist/components/MDateRangePickerModal.vue.d.ts +9 -0
  48. package/dist/components/MDialog.vue.d.ts +9 -7
  49. package/dist/components/MDivider.vue.d.ts +6 -0
  50. package/dist/components/MDragDropList.vue.d.ts +6 -0
  51. package/dist/components/MDragHandle.vue.d.ts +12 -0
  52. package/dist/components/MEmoji.vue.d.ts +6 -0
  53. package/dist/components/MEmojiButton.vue.d.ts +5 -0
  54. package/dist/components/MEmojiSelector.vue.d.ts +1 -1
  55. package/dist/components/MEmptyState.vue.d.ts +4 -0
  56. package/dist/components/MExpansionPanel.vue.d.ts +9 -0
  57. package/dist/components/MExportButton.vue.d.ts +8 -0
  58. package/dist/components/MFab.vue.d.ts +10 -1
  59. package/dist/components/MFabMenu.vue.d.ts +15 -1
  60. package/dist/components/MFileUpload.vue.d.ts +8 -0
  61. package/dist/components/MFixed.vue.d.ts +10 -0
  62. package/dist/components/MFlex.vue.d.ts +6 -0
  63. package/dist/components/MFooter.vue.d.ts +11 -0
  64. package/dist/components/MFullscreen.vue.d.ts +2 -0
  65. package/dist/components/MGrid.vue.d.ts +7 -0
  66. package/dist/components/MHotkeys.vue.d.ts +4 -0
  67. package/dist/components/MIcon.vue.d.ts +2 -0
  68. package/dist/components/MIconButton.vue.d.ts +10 -0
  69. package/dist/components/MInfiniteScroll.vue.d.ts +6 -0
  70. package/dist/components/MJsonEditor.vue.d.ts +8 -0
  71. package/dist/components/MJsonViewer.vue.d.ts +4 -0
  72. package/dist/components/MKanban.vue.d.ts +2 -0
  73. package/dist/components/MKbd.vue.d.ts +2 -0
  74. package/dist/components/MLightbox.vue.d.ts +4 -0
  75. package/dist/components/MList.vue.d.ts +7 -0
  76. package/dist/components/MListItem.vue.d.ts +29 -5
  77. package/dist/components/MListSubheader.vue.d.ts +6 -0
  78. package/dist/components/MLoadingIndicator.vue.d.ts +10 -0
  79. package/dist/components/MLoadingOverlay.vue.d.ts +5 -0
  80. package/dist/components/MMarkdown.vue.d.ts +3 -0
  81. package/dist/components/MMaskField.vue.d.ts +15 -0
  82. package/dist/components/MMasonry.vue.d.ts +5 -0
  83. package/dist/components/MMenu.vue.d.ts +3 -6
  84. package/dist/components/MMenuDivider.vue.d.ts +4 -0
  85. package/dist/components/MMenuItem.vue.d.ts +5 -0
  86. package/dist/components/MMultiAutocomplete.vue.d.ts +20 -0
  87. package/dist/components/MMultiSelect.vue.d.ts +21 -0
  88. package/dist/components/MNavigationBar.vue.d.ts +2 -0
  89. package/dist/components/MNavigationDrawer.vue.d.ts +11 -0
  90. package/dist/components/MNavigationRail.vue.d.ts +9 -6
  91. package/dist/components/MNavigationSuite.vue.d.ts +5 -3
  92. package/dist/components/MNumberField.vue.d.ts +17 -0
  93. package/dist/components/MOverlay.vue.d.ts +4 -1
  94. package/dist/components/MPageProgress.vue.d.ts +3 -0
  95. package/dist/components/MPagination.vue.d.ts +3 -0
  96. package/dist/components/MPasswordMeter.vue.d.ts +1 -0
  97. package/dist/components/MPinInput.vue.d.ts +11 -0
  98. package/dist/components/MProgressBar.vue.d.ts +6 -0
  99. package/dist/components/MPullToRefresh.vue.d.ts +8 -0
  100. package/dist/components/MQRCode.vue.d.ts +6 -0
  101. package/dist/components/MRadio.vue.d.ts +5 -0
  102. package/dist/components/MRadioGroup.vue.d.ts +6 -0
  103. package/dist/components/MRating.vue.d.ts +11 -0
  104. package/dist/components/MRelativeTime.vue.d.ts +1 -0
  105. package/dist/components/MResponsive.vue.d.ts +3 -0
  106. package/dist/components/MResult.vue.d.ts +6 -0
  107. package/dist/components/MRichTextEditor.vue.d.ts +8 -0
  108. package/dist/components/MScheduler.vue.d.ts +10 -0
  109. package/dist/components/MScrollField.vue.d.ts +40 -0
  110. package/dist/components/MScrollable.vue.d.ts +12 -0
  111. package/dist/components/MSearchBar.vue.d.ts +6 -0
  112. package/dist/components/MSection.vue.d.ts +5 -0
  113. package/dist/components/MSegmentedButton.vue.d.ts +5 -0
  114. package/dist/components/MSelect.vue.d.ts +17 -0
  115. package/dist/components/MShader.vue.d.ts +1 -0
  116. package/dist/components/MShortNavigationBar.vue.d.ts +8 -9
  117. package/dist/components/MSideSheet.vue.d.ts +3 -0
  118. package/dist/components/MSignaturePad.vue.d.ts +7 -0
  119. package/dist/components/MSimpleCarousel.vue.d.ts +10 -0
  120. package/dist/components/MSkeleton.vue.d.ts +8 -0
  121. package/dist/components/MSlider.vue.d.ts +14 -0
  122. package/dist/components/MSnackbar.vue.d.ts +1 -0
  123. package/dist/components/MSpinner.vue.d.ts +6 -0
  124. package/dist/components/MSplitButton.vue.d.ts +7 -0
  125. package/dist/components/MSplitter.vue.d.ts +6 -2
  126. package/dist/components/MSpotlightSearch.vue.d.ts +18 -0
  127. package/dist/components/MStack.vue.d.ts +7 -0
  128. package/dist/components/MStatCard.vue.d.ts +7 -0
  129. package/dist/components/MStepper.vue.d.ts +7 -0
  130. package/dist/components/MSticky.vue.d.ts +2 -0
  131. package/dist/components/MSubtitle.vue.d.ts +4 -0
  132. package/dist/components/MSwipeToDismiss.vue.d.ts +49 -0
  133. package/dist/components/MSwitch.vue.d.ts +5 -6
  134. package/dist/components/MTable.vue.d.ts +17 -4
  135. package/dist/components/MTabs.vue.d.ts +6 -0
  136. package/dist/components/MTagInput.vue.d.ts +17 -0
  137. package/dist/components/MTerminal.vue.d.ts +4 -0
  138. package/dist/components/MText.vue.d.ts +10 -0
  139. package/dist/components/MTextField.vue.d.ts +18 -0
  140. package/dist/components/MTimePicker.vue.d.ts +10 -0
  141. package/dist/components/MTimePickerModal.vue.d.ts +5 -0
  142. package/dist/components/MTimeline.vue.d.ts +3 -0
  143. package/dist/components/MTitle.vue.d.ts +4 -0
  144. package/dist/components/MToggleButton.vue.d.ts +4 -0
  145. package/dist/components/MToolbar.vue.d.ts +5 -0
  146. package/dist/components/MTooltip.vue.d.ts +7 -0
  147. package/dist/components/MTopAppBar.vue.d.ts +8 -0
  148. package/dist/components/MTour.vue.d.ts +5 -0
  149. package/dist/components/MTransferList.vue.d.ts +11 -0
  150. package/dist/components/MTransition.vue.d.ts +34 -0
  151. package/dist/components/MTree.vue.d.ts +11 -0
  152. package/dist/components/MTreeTable.vue.d.ts +7 -0
  153. package/dist/components/MVirtualTable.vue.d.ts +6 -0
  154. package/dist/components/MWindow.vue.d.ts +33 -1
  155. package/dist/components/_MColorPanel.vue.d.ts +18 -0
  156. package/dist/composables/_colorUtils.d.ts +34 -0
  157. package/dist/composables/_themeColor.d.ts +1 -0
  158. package/dist/composables/_useSpring.d.ts +15 -0
  159. package/dist/composables/dynamicColor.d.ts +18 -0
  160. package/dist/composables/useColorPalette.d.ts +27 -0
  161. package/dist/composables/useLocale.d.ts +12 -0
  162. package/dist/index.d.ts +9 -1
  163. package/dist/locales/index.js +70 -0
  164. package/dist/locales/index.js.map +1 -1
  165. package/dist/m3ui-vue.css +1 -1
  166. package/dist/m3ui.js +6456 -5273
  167. package/dist/m3ui.js.map +1 -1
  168. package/dist/markdown.js +1 -1
  169. package/dist/markdown.js.map +1 -1
  170. package/dist/material-color-utilities-Cktu8DBU.js +3160 -0
  171. package/dist/material-color-utilities-Cktu8DBU.js.map +1 -0
  172. package/dist/plugin.d.ts +18 -0
  173. package/dist/qrcode.js.map +1 -1
  174. package/dist/rich-text-editor.js +3 -3
  175. package/dist/rich-text-editor.js.map +1 -1
  176. package/dist/styles/palettes.css +546 -0
  177. package/dist/styles/theme.css +77 -0
  178. package/dist/styles.css +1 -1
  179. package/dist/terminal.js.map +1 -1
  180. package/dist/{useLocale-CmI675Ab.js → useLocale-CFW8cIzL.js} +23 -10
  181. package/dist/useLocale-CFW8cIzL.js.map +1 -0
  182. package/package.json +5 -2
  183. package/src/__tests__/MButtonGroup.test.ts +51 -0
  184. package/src/__tests__/MColorPicker.test.ts +141 -0
  185. package/src/__tests__/MDragHandle.test.ts +57 -0
  186. package/src/__tests__/MHotkeys.test.ts +57 -0
  187. package/src/__tests__/MListItemShape.test.ts +76 -0
  188. package/src/__tests__/MScrollField.test.ts +41 -0
  189. package/src/__tests__/MScrollable.test.ts +42 -0
  190. package/src/__tests__/MSwipeToDismiss.test.ts +104 -0
  191. package/src/__tests__/MTransition.test.ts +27 -0
  192. package/src/__tests__/dynamicColor.test.ts +191 -0
  193. package/src/__tests__/hostLocale.test.ts +57 -0
  194. package/src/components/MAbsolute.vue +18 -0
  195. package/src/components/MAlert.vue +12 -0
  196. package/src/components/MAppBar.vue +12 -0
  197. package/src/components/MAppLayout.vue +11 -0
  198. package/src/components/MAspectRatio.vue +6 -0
  199. package/src/components/MAutocomplete.vue +24 -0
  200. package/src/components/MAvatar.vue +12 -1
  201. package/src/components/MBadge.vue +11 -0
  202. package/src/components/MBar.vue +19 -0
  203. package/src/components/MBarcode.vue +14 -0
  204. package/src/components/MBottomSheet.vue +12 -0
  205. package/src/components/MBox.vue +15 -1
  206. package/src/components/MBreadcrumbs.vue +7 -0
  207. package/src/components/MButton.vue +22 -4
  208. package/src/components/MButtonGroup.vue +129 -35
  209. package/src/components/MCalendar.vue +14 -0
  210. package/src/components/MCard.vue +26 -0
  211. package/src/components/MCarousel.vue +17 -1
  212. package/src/components/MCenter.vue +6 -0
  213. package/src/components/MChart.vue +12 -0
  214. package/src/components/MChatBubble.vue +17 -0
  215. package/src/components/MCheckbox.vue +11 -0
  216. package/src/components/MChip.vue +17 -0
  217. package/src/components/MCircleProgressBar.vue +13 -0
  218. package/src/components/MCodeEditor.vue +15 -0
  219. package/src/components/MColorPicker.vue +124 -207
  220. package/src/components/MColorPickerModal.vue +58 -247
  221. package/src/components/MCommandPalette.vue +16 -0
  222. package/src/components/MConfirmDialog.vue +15 -0
  223. package/src/components/MContainer.vue +9 -0
  224. package/src/components/MContextMenu.vue +17 -6
  225. package/src/components/MCopyButton.vue +16 -0
  226. package/src/components/MDataTable.vue +58 -12
  227. package/src/components/MDatePicker.vue +21 -0
  228. package/src/components/MDatePickerModal.vue +16 -0
  229. package/src/components/MDateRangePicker.vue +23 -0
  230. package/src/components/MDateRangePickerModal.vue +16 -0
  231. package/src/components/MDialog.vue +27 -7
  232. package/src/components/MDivider.vue +6 -0
  233. package/src/components/MDragDropList.vue +18 -0
  234. package/src/components/MDragHandle.vue +54 -0
  235. package/src/components/MEmoji.vue +6 -0
  236. package/src/components/MEmojiButton.vue +11 -0
  237. package/src/components/MEmojiSelector.vue +7 -0
  238. package/src/components/MEmptyState.vue +9 -0
  239. package/src/components/MExpansionPanel.vue +17 -0
  240. package/src/components/MExportButton.vue +15 -0
  241. package/src/components/MFab.vue +17 -0
  242. package/src/components/MFabMenu.vue +20 -0
  243. package/src/components/MFileUpload.vue +19 -0
  244. package/src/components/MFixed.vue +16 -0
  245. package/src/components/MFlex.vue +11 -0
  246. package/src/components/MFooter.vue +11 -0
  247. package/src/components/MFullscreen.vue +8 -0
  248. package/src/components/MGrid.vue +12 -0
  249. package/src/components/MHotkeys.vue +20 -13
  250. package/src/components/MIcon.vue +10 -1
  251. package/src/components/MIconButton.vue +13 -0
  252. package/src/components/MInfiniteScroll.vue +16 -0
  253. package/src/components/MJsonEditor.vue +13 -0
  254. package/src/components/MJsonViewer.vue +7 -0
  255. package/src/components/MKanban.vue +18 -0
  256. package/src/components/MKbd.vue +6 -0
  257. package/src/components/MLightbox.vue +16 -0
  258. package/src/components/MList.vue +48 -3
  259. package/src/components/MListDetail.vue +11 -0
  260. package/src/components/MListItem.vue +112 -5
  261. package/src/components/MListSubheader.vue +6 -0
  262. package/src/components/MLoadingIndicator.vue +15 -0
  263. package/src/components/MLoadingOverlay.vue +12 -0
  264. package/src/components/MMarkdown.vue +7 -0
  265. package/src/components/MMaskField.vue +21 -0
  266. package/src/components/MMasonry.vue +11 -0
  267. package/src/components/MMenu.vue +16 -6
  268. package/src/components/MMenuDivider.vue +4 -0
  269. package/src/components/MMenuItem.vue +16 -0
  270. package/src/components/MMultiAutocomplete.vue +26 -0
  271. package/src/components/MMultiSelect.vue +27 -0
  272. package/src/components/MNavigationBar.vue +7 -0
  273. package/src/components/MNavigationDrawer.vue +25 -0
  274. package/src/components/MNavigationRail.vue +24 -6
  275. package/src/components/MNavigationSuite.vue +20 -3
  276. package/src/components/MNotificationHost.vue +3 -0
  277. package/src/components/MNumberField.vue +24 -0
  278. package/src/components/MOverlay.vue +10 -0
  279. package/src/components/MPageProgress.vue +7 -0
  280. package/src/components/MPagination.vue +15 -1
  281. package/src/components/MPasswordMeter.vue +7 -0
  282. package/src/components/MPinInput.vue +19 -0
  283. package/src/components/MProgressBar.vue +9 -0
  284. package/src/components/MPullToRefresh.vue +17 -0
  285. package/src/components/MQRCode.vue +12 -0
  286. package/src/components/MRadio.vue +11 -0
  287. package/src/components/MRadioGroup.vue +11 -0
  288. package/src/components/MRating.vue +19 -0
  289. package/src/components/MRelative.vue +8 -0
  290. package/src/components/MRelativeTime.vue +6 -0
  291. package/src/components/MResponsive.vue +9 -0
  292. package/src/components/MResult.vue +14 -0
  293. package/src/components/MRichTextEditor.vue +14 -0
  294. package/src/components/MScheduler.vue +21 -0
  295. package/src/components/MScrollField.vue +302 -0
  296. package/src/components/MScrollable.vue +167 -4
  297. package/src/components/MSearchBar.vue +17 -0
  298. package/src/components/MSection.vue +13 -0
  299. package/src/components/MSegmentedButton.vue +10 -0
  300. package/src/components/MSelect.vue +22 -0
  301. package/src/components/MShader.vue +13 -0
  302. package/src/components/MShape.vue +6 -0
  303. package/src/components/MShortNavigationBar.vue +23 -9
  304. package/src/components/MSideSheet.vue +13 -0
  305. package/src/components/MSignaturePad.vue +15 -0
  306. package/src/components/MSimpleCarousel.vue +18 -0
  307. package/src/components/MSkeleton.vue +8 -0
  308. package/src/components/MSlider.vue +21 -0
  309. package/src/components/MSnackbar.vue +5 -0
  310. package/src/components/MSpacer.vue +6 -0
  311. package/src/components/MSpinner.vue +10 -0
  312. package/src/components/MSplitButton.vue +14 -0
  313. package/src/components/MSplitter.vue +42 -9
  314. package/src/components/MSpotlightSearch.vue +27 -0
  315. package/src/components/MStack.vue +12 -0
  316. package/src/components/MStatCard.vue +13 -0
  317. package/src/components/MStepper.vue +12 -0
  318. package/src/components/MSticky.vue +7 -0
  319. package/src/components/MSubtitle.vue +9 -0
  320. package/src/components/MSupportingPane.vue +10 -0
  321. package/src/components/MSwipeToDismiss.vue +247 -0
  322. package/src/components/MSwitch.vue +14 -6
  323. package/src/components/MTable.vue +33 -4
  324. package/src/components/MTabs.vue +12 -0
  325. package/src/components/MTagInput.vue +23 -0
  326. package/src/components/MTerminal.vue +11 -0
  327. package/src/components/MText.vue +15 -0
  328. package/src/components/MTextField.vue +26 -0
  329. package/src/components/MTimePicker.vue +15 -0
  330. package/src/components/MTimePickerModal.vue +12 -0
  331. package/src/components/MTimeline.vue +7 -0
  332. package/src/components/MTitle.vue +9 -0
  333. package/src/components/MToggleButton.vue +12 -0
  334. package/src/components/MToolbar.vue +12 -0
  335. package/src/components/MTooltip.vue +15 -0
  336. package/src/components/MTopAppBar.vue +18 -0
  337. package/src/components/MTour.vue +13 -0
  338. package/src/components/MTransferList.vue +24 -0
  339. package/src/components/MTransition.vue +149 -0
  340. package/src/components/MTree.vue +11 -0
  341. package/src/components/MTreeTable.vue +15 -0
  342. package/src/components/MVirtualTable.vue +12 -0
  343. package/src/components/MWindow.vue +34 -0
  344. package/src/components/_MColorPanel.vue +478 -0
  345. package/src/composables/_colorUtils.ts +107 -0
  346. package/src/composables/_themeColor.ts +33 -0
  347. package/src/composables/_useSpring.ts +89 -0
  348. package/src/composables/dynamicColor.ts +85 -0
  349. package/src/composables/useColorPalette.ts +171 -25
  350. package/src/composables/useFieldBg.ts +6 -0
  351. package/src/composables/useLocale.ts +38 -3
  352. package/src/index.ts +9 -1
  353. package/src/locales/de.ts +10 -0
  354. package/src/locales/es.ts +10 -0
  355. package/src/locales/fr.ts +10 -0
  356. package/src/locales/ja.ts +10 -0
  357. package/src/locales/ko.ts +10 -0
  358. package/src/locales/pt.ts +10 -0
  359. package/src/locales/zh.ts +10 -0
  360. package/src/plugin.ts +30 -8
  361. package/src/styles/palettes.css +546 -0
  362. package/src/styles/theme.css +77 -0
  363. package/dist/MTextField-B0wGv1Mx.js.map +0 -1
  364. package/dist/useLocale-CmI675Ab.js.map +0 -1
@@ -1,6 +1,9 @@
1
1
  type __VLS_Props = {
2
+ /** Markdown source text */
2
3
  source: string;
4
+ /** Convert single newlines to `<br>` */
3
5
  breaks?: boolean;
6
+ /** Auto-detect bare URLs and turn them into links */
4
7
  linkify?: boolean;
5
8
  };
6
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
@@ -1,17 +1,32 @@
1
1
  export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip';
2
2
  type __VLS_Props = {
3
+ /** Masked value (v-model) */
3
4
  modelValue: string;
5
+ /** Field label */
4
6
  label: string;
7
+ /** Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`) */
5
8
  mask: string | MaskPreset;
9
+ /** Visual style */
6
10
  variant?: 'filled' | 'outlined';
11
+ /** Error state */
7
12
  error?: boolean;
13
+ /** Error message shown when error is true */
8
14
  errorLabel?: string;
15
+ /** Hint text */
9
16
  hint?: string;
17
+ /** Disables the field */
10
18
  disabled?: boolean;
19
+ /** Marks as required — adds a red asterisk after the label */
11
20
  required?: boolean;
21
+ /** Material Symbol icon */
12
22
  leadingIcon?: string;
23
+ /** Show clear button */
13
24
  clearable?: boolean;
25
+ /**
26
+ * Overrides the auto-detected background color used to cut the floating label out of the outlined border
27
+ */
14
28
  fieldBg?: string;
29
+ /** Delay (ms) before firing the @debounced event */
15
30
  debounce?: number;
16
31
  };
17
32
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,8 +1,13 @@
1
1
  type __VLS_Props = {
2
+ /** Default column count */
2
3
  cols?: number;
4
+ /** Columns at sm breakpoint (640px) */
3
5
  smCols?: number;
6
+ /** Columns at md breakpoint (768px) */
4
7
  mdCols?: number;
8
+ /** Columns at lg breakpoint (1024px) */
5
9
  lgCols?: number;
10
+ /** Gap between items */
6
11
  gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
7
12
  };
8
13
  declare var __VLS_1: {};
@@ -9,12 +9,9 @@ type __VLS_Props = {
9
9
  */
10
10
  submenuMode?: 'flyout' | 'push';
11
11
  /**
12
- * `'standard'` is M3's baseline menu — square-ish 4dp corners
13
- * (`MenuTokens.ContainerShape`/`CornerExtraSmall`).
14
- * `'expressive'` is M3's rounder "vertical menu" styling — 16dp corners
15
- * (`SegmentedMenuTokens.ContainerShape`/`CornerLarge`). Combine with
16
- * `<MMenuDivider gap />` to split the panel into independently-rounded
17
- * groups with a visible gap between them, instead of a plain line.
12
+ * 'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling
13
+ * (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups
14
+ * with a visible gap, instead of a plain divider line.
18
15
  */
19
16
  variant?: 'standard' | 'expressive';
20
17
  };
@@ -1,3 +1,7 @@
1
+ /**
2
+ * A line between groups of items in an MMenu or MContextMenu; with `gap` in an expressive menu it splits the
3
+ * menu into separate rounded groups.
4
+ */
1
5
  type __VLS_Props = {
2
6
  /**
3
7
  * Marks this as a group boundary for `MMenu`/`MContextMenu`'s
@@ -1,8 +1,13 @@
1
1
  type __VLS_Props = {
2
+ /** Material Symbol icon name */
2
3
  icon?: string;
4
+ /** Keyboard shortcut hint displayed on the right (e.g. "Ctrl+C") — hidden when the item has #children */
3
5
  shortcut?: string;
6
+ /** Vue Router destination — renders as RouterLink instead of button */
4
7
  to?: string | Record<string, any>;
8
+ /** Disables the item */
5
9
  disabled?: boolean;
10
+ /** Danger/destructive styling (error color) */
6
11
  danger?: boolean;
7
12
  /** Keep the menu open after this item is clicked (e.g. checkable/toggle items). */
8
13
  keepOpen?: boolean;
@@ -1,22 +1,42 @@
1
1
  import type { MultiSelectOption } from './MMultiSelect.vue';
2
2
  type __VLS_Props = {
3
+ /** Selected values (v-model) */
3
4
  modelValue: unknown[];
5
+ /** The options to choose from; see `MultiSelectOption`. */
4
6
  options: MultiSelectOption[];
7
+ /** Floating label text */
5
8
  label?: string;
9
+ /** Input placeholder */
6
10
  placeholder?: string;
11
+ /** Field style */
7
12
  variant?: 'filled' | 'outlined';
13
+ /** Dropdown mode: docked (inline) or modal (dialog) */
8
14
  mode?: 'docked' | 'modal';
15
+ /** Disables the field */
9
16
  disabled?: boolean;
17
+ /** Error state */
10
18
  error?: boolean;
19
+ /** Error message shown when error is true */
11
20
  errorLabel?: string;
21
+ /** Helper text below field */
12
22
  hint?: string;
23
+ /** Marks as required — adds a red asterisk after the label */
13
24
  required?: boolean;
25
+ /** Material Symbol icon name */
14
26
  leadingIcon?: string;
27
+ /**
28
+ * Overrides the auto-detected background color used to cut the floating label out of the outlined border
29
+ */
15
30
  fieldBg?: string;
31
+ /** Show a clear-all button */
16
32
  clearable?: boolean;
33
+ /** Max visible chips before "+N" */
17
34
  maxChips?: number;
35
+ /** Text when no options match */
18
36
  noResultsText?: string;
37
+ /** Remove already-selected options from the dropdown */
19
38
  hideSelected?: boolean;
39
+ /** Delay (ms) before filtering and firing @debounced. Selection is always instant */
20
40
  debounce?: number;
21
41
  };
22
42
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -4,24 +4,45 @@ export interface MultiSelectOption {
4
4
  disabled?: boolean;
5
5
  }
6
6
  type __VLS_Props = {
7
+ /** Selected values (any type — v-model) */
7
8
  modelValue: unknown[];
9
+ /** The options to choose from; see `MultiSelectOption`. */
8
10
  options: MultiSelectOption[];
11
+ /** Field label */
9
12
  label?: string;
13
+ /** Placeholder when nothing selected */
10
14
  placeholder?: string;
15
+ /** Visual style */
11
16
  variant?: 'filled' | 'outlined';
17
+ /** Dropdown mode: docked (inline) or modal (dialog) */
12
18
  mode?: 'docked' | 'modal';
19
+ /** Disables the field */
13
20
  disabled?: boolean;
21
+ /** Error state */
14
22
  error?: boolean;
23
+ /** Error message shown when error is true */
15
24
  errorLabel?: string;
25
+ /** Hint text below the field */
16
26
  hint?: string;
27
+ /** Marks as required — adds a red asterisk after the label */
17
28
  required?: boolean;
29
+ /** Material Symbol shown before the trigger */
18
30
  leadingIcon?: string;
31
+ /**
32
+ * Overrides the auto-detected background color used to cut the floating label out of the outlined border
33
+ */
19
34
  fieldBg?: string;
35
+ /** Show search in dropdown */
20
36
  searchable?: boolean;
37
+ /** Max visible chips before "+N" */
21
38
  maxChips?: number;
39
+ /** Show a clear button to reset all selections */
22
40
  clearable?: boolean;
41
+ /** Placeholder for search input in dropdown — defaults to the current locale's string */
23
42
  searchPlaceholder?: string;
43
+ /** Text when no options match search — defaults to the current locale's string */
24
44
  noResultsText?: string;
45
+ /** Remove already-selected options from the dropdown */
25
46
  hideSelected?: boolean;
26
47
  };
27
48
  declare var __VLS_50: {};
@@ -6,7 +6,9 @@ export interface NavBarItem {
6
6
  badgeDot?: boolean;
7
7
  }
8
8
  type __VLS_Props = {
9
+ /** Active item value, v-model */
9
10
  modelValue: string | number;
11
+ /** Array of nav bar items (see `NavBarItem`) */
10
12
  items: NavBarItem[];
11
13
  };
12
14
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -18,13 +18,24 @@ export interface DrawerSection {
18
18
  collapsible?: boolean;
19
19
  }
20
20
  type __VLS_Props = {
21
+ /** Open/closed state (v-model) */
21
22
  modelValue: boolean;
23
+ /** Currently selected item value */
22
24
  selected?: string | number;
25
+ /** Array of sections (see the types below) */
23
26
  sections: DrawerSection[];
27
+ /** Drawer header title (ignored if the #header slot is used) */
24
28
  title?: string;
29
+ /** Modal with a Teleported scrim overlay, or an inline sidebar that participates in normal layout flow */
25
30
  modal?: boolean;
31
+ /** Compact mode (72px) showing only icons — inline variant only */
26
32
  collapsed?: boolean;
33
+ /** Custom drawer width (e.g. "320px", "25rem"). Defaults to 22.5rem (360px) */
27
34
  width?: string;
35
+ /**
36
+ * Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline
37
+ * variant always renders on left or right.
38
+ */
28
39
  side?: 'left' | 'right' | 'top' | 'bottom';
29
40
  };
30
41
  declare var __VLS_13: {}, __VLS_63: {}, __VLS_65: {}, __VLS_67: {}, __VLS_117: {};
@@ -10,17 +10,20 @@ export interface NavRailItem {
10
10
  to?: ItemLink;
11
11
  }
12
12
  type __VLS_Props = {
13
+ /** Active item value, v-model */
13
14
  modelValue: string | number;
15
+ /** Array of rail items (see `NavRailItem`) */
14
16
  items: NavRailItem[];
17
+ /** Vertical alignment of items within the rail */
15
18
  alignment?: 'top' | 'center' | 'bottom';
16
- /** M3 `WideNavigationRail`'s expanded state: items become icon+label side by side in a full-width pill instead of icon-over-label in a narrow centered one. */
19
+ /**
20
+ * Widens the rail (220px) and shows each item's icon beside its label in a full-width pill, instead of the icon
21
+ * over the label. Toggle it from your own menu button.
22
+ */
17
23
  expanded?: boolean;
18
24
  /**
19
- * M3 `ModalWideNavigationRail` (default `hideOnCollapse = false` variant — not the
20
- * dismissible, slide-from-offscreen one). Instead of this rail itself resizing between
21
- * collapsed/expanded, the collapsed rail stays on screen exactly as-is (so it never
22
- * affects the app's layout grid — `ModalWideNavigationRail`'s whole point) and `expanded`
23
- * instead opens a Teleported, scrim-backed panel that floats above the rest of the app.
25
+ * Keeps the rail collapsed and opens the expanded rail as a panel over the app, with a scrim, instead of
26
+ * widening in place. It closes on a scrim click, Escape or picking an item, emitting `update:expanded`.
24
27
  */
25
28
  modal?: boolean;
26
29
  };
@@ -12,12 +12,14 @@ export interface NavigationSuiteItem {
12
12
  /** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */
13
13
  export type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none';
14
14
  type __VLS_Props = {
15
+ /** Selected destination (v-model) */
15
16
  modelValue: string | number;
17
+ /** Destinations, the same shape MNavigationRail and MShortNavigationBar take */
16
18
  items: NavigationSuiteItem[];
17
19
  /**
18
- * 'auto' picks by the component's own size, as M3's NavigationSuiteScaffold does
19
- * (`navigationSuiteType`): compact width → short bar; compact height (a phone in landscape)
20
- * → short bar with icons beside labels; anything else → collapsed rail. Set it to force one.
20
+ * 'auto' picks by the component's own size: compact width → short bar, compact height (a phone in landscape)
21
+ * → short bar with icons beside labels, anything else → rail. Any other value forces that navigation; 'none'
22
+ * hides it
21
23
  */
22
24
  layout?: 'auto' | NavigationSuiteLayout;
23
25
  };
@@ -1,18 +1,35 @@
1
1
  type __VLS_Props = {
2
+ /** Bound numeric value (v-model) */
2
3
  modelValue: number | null;
4
+ /** Field label */
3
5
  label: string;
6
+ /** Visual style */
4
7
  variant?: 'filled' | 'outlined';
8
+ /** Minimum allowed value */
5
9
  min?: number;
10
+ /** Maximum allowed value */
6
11
  max?: number;
12
+ /** Increment/decrement step */
7
13
  step?: number;
14
+ /** Error state */
8
15
  error?: boolean;
16
+ /** Error message shown when error is true */
9
17
  errorLabel?: string;
18
+ /** Hint text */
10
19
  hint?: string;
20
+ /** Disables the field */
11
21
  disabled?: boolean;
22
+ /** Marks as required — adds a red asterisk after the label */
12
23
  required?: boolean;
24
+ /** Material Symbol icon */
13
25
  leadingIcon?: string;
26
+ /** Show +/- buttons */
14
27
  stepper?: boolean;
28
+ /**
29
+ * Overrides the auto-detected background color used to cut the floating label out of the outlined border
30
+ */
15
31
  fieldBg?: string;
32
+ /** Delay (ms) before firing the @debounced event */
16
33
  debounce?: number;
17
34
  };
18
35
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,6 +1,9 @@
1
1
  type __VLS_Props = {
2
+ /** Controls visibility (v-model) */
2
3
  modelValue?: boolean;
4
+ /** Show dark backdrop */
3
5
  scrim?: boolean;
6
+ /** Z-index value */
4
7
  zIndex?: number;
5
8
  };
6
9
  declare var __VLS_13: {};
@@ -13,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
13
16
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
17
  }>, {
15
18
  modelValue: boolean;
16
- zIndex: number;
17
19
  scrim: boolean;
20
+ zIndex: number;
18
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
23
  declare const _default: typeof __VLS_export;
@@ -1,8 +1,11 @@
1
1
  type __VLS_Props = {
2
+ /** Bar color */
2
3
  color?: "primary" | "secondary" | "tertiary" | "error";
4
+ /** Bar height in px */
3
5
  thickness?: number;
4
6
  /** Auto-wire to vue-router's navigation guards when a router is detected. Set to `false` to drive it entirely by hand via `usePageProgress()`. */
5
7
  auto?: boolean;
8
+ /** Which edge of the viewport the bar is pinned to */
6
9
  position?: "top" | "bottom";
7
10
  };
8
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
@@ -1,6 +1,9 @@
1
1
  type __VLS_Props = {
2
+ /** Current page (1-based) */
2
3
  page: number;
4
+ /** Items per page */
3
5
  perPage: number;
6
+ /** Total number of items */
4
7
  total: number;
5
8
  };
6
9
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,5 @@
1
1
  type __VLS_Props = {
2
+ /** Password to score */
2
3
  value: string;
3
4
  /** 5 labels, weakest to strongest. */
4
5
  labels?: string[];
@@ -1,18 +1,29 @@
1
1
  type __VLS_Props = {
2
+ /** Bound code (v-model), e.g. "1234" */
2
3
  modelValue: string;
4
+ /** Number of boxes (ignored when groups is set) */
3
5
  length?: number;
4
6
  /** Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum). */
5
7
  groups?: number[];
6
8
  /** Visual separator rendered between groups (only used when `groups` is set). */
7
9
  separator?: string;
10
+ /** Restricts which characters are accepted */
8
11
  type?: 'numeric' | 'alphanumeric';
12
+ /** Renders each box as a password field (dots instead of characters) */
9
13
  masked?: boolean;
14
+ /** Visual style */
10
15
  variant?: 'filled' | 'outlined';
16
+ /** Error state */
11
17
  error?: boolean;
18
+ /** Error message shown when error is true */
12
19
  errorLabel?: string;
20
+ /** Hint text below the boxes */
13
21
  hint?: string;
22
+ /** Disables every box */
14
23
  disabled?: boolean;
24
+ /** Focuses the first box on mount */
15
25
  autoFocus?: boolean;
26
+ /** aria-label for the group of boxes */
16
27
  label?: string;
17
28
  };
18
29
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,9 +1,15 @@
1
1
  type __VLS_Props = {
2
+ /** Progress 0–100 (omit for indeterminate) */
2
3
  value?: number;
4
+ /** Indeterminate animation — also implied by omitting value */
3
5
  indeterminate?: boolean;
6
+ /** Bar color */
4
7
  color?: "primary" | "secondary" | "tertiary" | "error";
8
+ /** Bar style */
5
9
  variant?: "linear" | "wavy";
10
+ /** Label text above the bar */
6
11
  label?: string;
12
+ /** Stroke width in px. Defaults to 4dp, matching the real M3 token for both variants. */
7
13
  thickness?: number;
8
14
  };
9
15
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
@@ -1,8 +1,16 @@
1
1
  type __VLS_Props = {
2
+ /**
3
+ * Controlled loading state — set it to true in your @refresh handler and back to false once the fetch
4
+ * resolves; the indicator settles and releases accordingly, same pattern as MInfiniteScroll's loading prop
5
+ */
2
6
  refreshing?: boolean;
7
+ /** Disables the pull gesture */
3
8
  disabled?: boolean;
9
+ /** Pull distance in px required to trigger a refresh on release */
4
10
  threshold?: number;
11
+ /** Indicator size in px */
5
12
  size?: number;
13
+ /** Indicator color */
6
14
  color?: "primary" | "secondary" | "tertiary" | "error";
7
15
  };
8
16
  declare var __VLS_6: {};
@@ -1,11 +1,17 @@
1
1
  type __VLS_Props = {
2
+ /** Data to encode. Required — there is no default. */
2
3
  value: string;
4
+ /** Width/height in pixels (square) */
3
5
  size?: number;
4
6
  /** Quiet zone around the code, in modules. */
5
7
  margin?: number;
8
+ /** Higher levels tolerate more damage/obstruction at the cost of a denser code */
6
9
  errorCorrectionLevel?: 'L' | 'M' | 'Q' | 'H';
10
+ /** Dark module color */
7
11
  color?: string;
12
+ /** Light module / background color */
8
13
  background?: string;
14
+ /** aria-label for the svg. Defaults to value */
9
15
  label?: string;
10
16
  /** Rounds the outer container corners. */
11
17
  rounded?: boolean;
@@ -1,8 +1,13 @@
1
1
  type __VLS_Props = {
2
+ /** The group's current value (v-model); share one ref between the radios of a group. */
2
3
  modelValue: unknown;
4
+ /** The value this radio stands for; selecting it sets the v-model to it. */
3
5
  value: unknown;
6
+ /** Text next to the radio. Clicking it selects the radio too. */
4
7
  label?: string;
8
+ /** Grays the radio out and ignores clicks. */
5
9
  disabled?: boolean;
10
+ /** Color role of the selected radio. */
6
11
  color?: "primary" | "secondary" | "tertiary" | "error";
7
12
  };
8
13
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -4,11 +4,17 @@ interface Option {
4
4
  disabled?: boolean;
5
5
  }
6
6
  type __VLS_Props = {
7
+ /** Selected value (v-model) */
7
8
  modelValue: unknown;
9
+ /** Radio options */
8
10
  options: Option[];
11
+ /** Group label */
9
12
  label?: string;
13
+ /** Layout direction */
10
14
  direction?: 'column' | 'row';
15
+ /** Disables all radios */
11
16
  disabled?: boolean;
17
+ /** Radio color */
12
18
  color?: 'primary' | 'secondary' | 'tertiary' | 'error';
13
19
  };
14
20
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,11 +1,22 @@
1
1
  type __VLS_Props = {
2
+ /** Current rating (v-model) */
2
3
  modelValue: number;
4
+ /** Maximum stars */
3
5
  max?: number;
6
+ /** Star size in px */
4
7
  size?: number;
8
+ /** Display-only: not focusable, exposed as role="img" with the value as its label */
5
9
  readonly?: boolean;
10
+ /** Disables interaction */
6
11
  disabled?: boolean;
12
+ /** One of the 4 M3 roles ('primary' | 'secondary' | 'tertiary' | 'error'), or any other CSS color string */
7
13
  color?: string;
14
+ /** Material Symbol icon */
8
15
  icon?: string;
16
+ /**
17
+ * Allow half-star values (click the left half of an icon). Fractional values always render exactly, with or
18
+ * without this prop
19
+ */
9
20
  halfIncrements?: boolean;
10
21
  };
11
22
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,5 @@
1
1
  type __VLS_Props = {
2
+ /** Required. The timestamp to format: an ISO string, epoch milliseconds, or a Date */
2
3
  value: string | number | Date;
3
4
  /** BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale. */
4
5
  locale?: string;
@@ -1,7 +1,10 @@
1
1
  type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down';
2
2
  type __VLS_Props = {
3
+ /** Show content only at this breakpoint range */
3
4
  show?: Breakpoint;
5
+ /** Hide content at this breakpoint range */
4
6
  hide?: Breakpoint;
7
+ /** HTML tag to render */
5
8
  tag?: string;
6
9
  };
7
10
  declare var __VLS_8: {};
@@ -1,6 +1,12 @@
1
1
  type __VLS_Props = {
2
+ /**
3
+ * Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show
4
+ * the code in large type above the icon
5
+ */
2
6
  status: 'success' | 'error' | 'warning' | 'info' | '404' | '403' | '500';
7
+ /** Custom title, replaces the status default */
3
8
  title?: string;
9
+ /** Custom description, replaces the status default */
4
10
  description?: string;
5
11
  };
6
12
  declare var __VLS_6: {}, __VLS_8: {};
@@ -26,10 +26,18 @@ export interface RichTextEditorLabels {
26
26
  insert?: string;
27
27
  }
28
28
  type __VLS_Props = {
29
+ /** HTML content (v-model) */
29
30
  modelValue: string;
31
+ /** Placeholder text shown on an empty document */
30
32
  placeholder?: string;
33
+ /** Disables editing */
31
34
  disabled?: boolean;
35
+ /** Minimum editor height */
32
36
  minHeight?: string;
37
+ /**
38
+ * Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from
39
+ * useLocale()
40
+ */
33
41
  labels?: RichTextEditorLabels;
34
42
  };
35
43
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -13,12 +13,15 @@ export interface SchedulerEvent {
13
13
  color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success';
14
14
  }
15
15
  type __VLS_Props = {
16
+ /** Events to show (see `SchedulerEvent`) */
16
17
  events?: SchedulerEvent[];
17
18
  /** 'week' or 'day'; use v-model:view to follow the header's toggle. */
18
19
  view?: 'week' | 'day';
19
20
  /** The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation. */
20
21
  date?: string;
22
+ /** First visible hour */
21
23
  startHour?: number;
24
+ /** Hour the grid ends at */
22
25
  endHour?: number;
23
26
  /** First day of the week: 0 = Sunday, 1 = Monday. */
24
27
  weekStartsOn?: 0 | 1;
@@ -26,12 +29,19 @@ type __VLS_Props = {
26
29
  hourHeight?: number;
27
30
  /** A line across today's column at the current time. */
28
31
  nowIndicator?: boolean;
32
+ /** Locale for dates and times (Intl). Falls back to the app's configured locale */
29
33
  locale?: string;
34
+ /** Aria label of the previous button (defaults to the locale string) */
30
35
  prevLabel?: string;
36
+ /** Aria label of the next button (defaults to the locale string) */
31
37
  nextLabel?: string;
38
+ /** Label of the Today button (defaults to the locale string) */
32
39
  todayLabel?: string;
40
+ /** Label of the Day toggle (defaults to the locale string) */
33
41
  dayViewLabel?: string;
42
+ /** Label of the Week toggle (defaults to the locale string) */
34
43
  weekViewLabel?: string;
44
+ /** Label of the all-day row (defaults to the locale string) */
35
45
  allDayLabel?: string;
36
46
  };
37
47
  type __VLS_Slots = {
@@ -0,0 +1,40 @@
1
+ type __VLS_Props = {
2
+ /** Index of the selected item, 0 to count - 1 (v-model) */
3
+ modelValue: number;
4
+ /** Number of items; the wheel wraps around after the last one */
5
+ count: number;
6
+ /**
7
+ * Accessible name of the field. Include the range when it isn't obvious ("Select year between 2000 and
8
+ * 2025"): the wheel wraps, so screen readers can't tell where it ends.
9
+ */
10
+ label?: string;
11
+ /** Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits. */
12
+ format?: (index: number) => string;
13
+ /** Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight) */
14
+ height?: number;
15
+ /** Disables the field */
16
+ disabled?: boolean;
17
+ };
18
+ type __VLS_Slots = {
19
+ item?: (props: {
20
+ index: number;
21
+ selected: boolean;
22
+ }) => unknown;
23
+ };
24
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ "update:modelValue": (args_0: number) => any;
26
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
+ "onUpdate:modelValue"?: ((args_0: number) => any) | undefined;
28
+ }>, {
29
+ format: (index: number) => string;
30
+ height: number;
31
+ disabled: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };