@m3ui-vue/m3ui-vue 1.8.0 → 1.9.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 (297) hide show
  1. package/dist/API.md +34 -19
  2. package/dist/MButton-LiZRRP4h.js +171 -0
  3. package/dist/MButton-LiZRRP4h.js.map +1 -0
  4. package/dist/{MColorPickerModal-H8nuX0Wu.js → MColorPickerModal-IjciC8zh.js} +185 -184
  5. package/dist/MColorPickerModal-IjciC8zh.js.map +1 -0
  6. package/dist/MDialog-BLpfgIA3.js +167 -0
  7. package/dist/MDialog-BLpfgIA3.js.map +1 -0
  8. package/dist/MIcon-BSsJZhK7.js +116 -0
  9. package/dist/MIcon-BSsJZhK7.js.map +1 -0
  10. package/dist/{MIconButton-BBggVwBV.js → MIconButton-CNjN0xwW.js} +18 -18
  11. package/dist/{MIconButton-BBggVwBV.js.map → MIconButton-CNjN0xwW.js.map} +1 -1
  12. package/dist/{MListItem-DiOAxaN7.js → MListItem-BBQ-6i3v.js} +139 -139
  13. package/dist/MListItem-BBQ-6i3v.js.map +1 -0
  14. package/dist/{MLoadingIndicator-CuTZYFFj.js → MLoadingIndicator-dejdXpu8.js} +2 -2
  15. package/dist/{MLoadingIndicator-CuTZYFFj.js.map → MLoadingIndicator-dejdXpu8.js.map} +1 -1
  16. package/dist/MMenuItem-E31tMzOt.js +577 -0
  17. package/dist/MMenuItem-E31tMzOt.js.map +1 -0
  18. package/dist/MPdfViewer-B5Q9Xs9d.js +1866 -0
  19. package/dist/MPdfViewer-B5Q9Xs9d.js.map +1 -0
  20. package/dist/MProgressBar-CPrZhQbA.js +179 -0
  21. package/dist/MProgressBar-CPrZhQbA.js.map +1 -0
  22. package/dist/{MSeekBar-BCDQTx2t.js → MSeekBar-NwkuAzx-.js} +2 -2
  23. package/dist/{MSeekBar-BCDQTx2t.js.map → MSeekBar-NwkuAzx-.js.map} +1 -1
  24. package/dist/{MSegmentedButton-BXzRsg1S.js → MSegmentedButton-DZuZLBML.js} +4 -4
  25. package/dist/{MSegmentedButton-BXzRsg1S.js.map → MSegmentedButton-DZuZLBML.js.map} +1 -1
  26. package/dist/MSignaturePad-Bqr-1R9f.js +140 -0
  27. package/dist/MSignaturePad-Bqr-1R9f.js.map +1 -0
  28. package/dist/MSlider-B7dIcHVn.js +745 -0
  29. package/dist/MSlider-B7dIcHVn.js.map +1 -0
  30. package/dist/{MSpinner-UCdtSOHP.js → MSpinner-CXLY7lWw.js} +2 -2
  31. package/dist/{MSpinner-UCdtSOHP.js.map → MSpinner-CXLY7lWw.js.map} +1 -1
  32. package/dist/{MTextField-CYk9yFvi.js → MTextField-CryHMs8-.js} +18 -18
  33. package/dist/MTextField-CryHMs8-.js.map +1 -0
  34. package/dist/MTooltip-Cn_DYm9M.js +90 -0
  35. package/dist/MTooltip-Cn_DYm9M.js.map +1 -0
  36. package/dist/{_popupPosition-nL8SVKPK.js → _popupPosition-C_lxj9qU.js} +7 -7
  37. package/dist/_popupPosition-C_lxj9qU.js.map +1 -0
  38. package/dist/{_useFieldValidation-B0B44M_t.js → _useFieldValidation-CvZnZfl-.js} +2 -2
  39. package/dist/{_useFieldValidation-B0B44M_t.js.map → _useFieldValidation-CvZnZfl-.js.map} +1 -1
  40. package/dist/api.json +1 -1
  41. package/dist/code-editor.js +129 -128
  42. package/dist/code-editor.js.map +1 -1
  43. package/dist/components/MAddressField.vue.d.ts +1 -1
  44. package/dist/components/MAudioPlayer.vue.d.ts +1 -1
  45. package/dist/components/MAutocomplete.vue.d.ts +1 -1
  46. package/dist/components/MAvailabilityCalendar.vue.d.ts +3 -3
  47. package/dist/components/MBadge.vue.d.ts +2 -2
  48. package/dist/components/MBar.vue.d.ts +1 -1
  49. package/dist/components/MBeforeAfter.vue.d.ts +3 -3
  50. package/dist/components/MButton.vue.d.ts +1 -1
  51. package/dist/components/MCalendarHeatmap.vue.d.ts +1 -1
  52. package/dist/components/MChatBubble.vue.d.ts +1 -1
  53. package/dist/components/MCodeEditor.vue.d.ts +1 -1
  54. package/dist/components/MContainerTransform.vue.d.ts +1 -1
  55. package/dist/components/MCopyButton.vue.d.ts +2 -2
  56. package/dist/components/MCountrySelect.vue.d.ts +1 -1
  57. package/dist/components/MCreditCardInput.vue.d.ts +2 -2
  58. package/dist/components/MDiffViewer.vue.d.ts +1 -1
  59. package/dist/components/MDrawCanvas.vue.d.ts +2 -2
  60. package/dist/components/MExpansionPanel.vue.d.ts +1 -1
  61. package/dist/components/MExportButton.vue.d.ts +1 -1
  62. package/dist/components/MFab.vue.d.ts +1 -1
  63. package/dist/components/MFilterBuilder.vue.d.ts +1 -1
  64. package/dist/components/MFlex.vue.d.ts +2 -2
  65. package/dist/components/MFloorPlan.vue.d.ts +2 -2
  66. package/dist/components/MFlow.vue.d.ts +2 -2
  67. package/dist/components/MFormRenderer.vue.d.ts +2 -2
  68. package/dist/components/MGantt.vue.d.ts +2 -2
  69. package/dist/components/MGanttControls.vue.d.ts +1 -1
  70. package/dist/components/MGrid.vue.d.ts +1 -1
  71. package/dist/components/MIcon.vue.d.ts +3 -5
  72. package/dist/components/MIconButton.vue.d.ts +1 -1
  73. package/dist/components/MLightbox.vue.d.ts +2 -2
  74. package/dist/components/MMapMeasure.vue.d.ts +2 -2
  75. package/dist/components/MMenu.vue.d.ts +6 -3
  76. package/dist/components/MMortgageCalculator.vue.d.ts +2 -2
  77. package/dist/components/MMultiAutocomplete.vue.d.ts +1 -1
  78. package/dist/components/MMultiSelect.vue.d.ts +1 -1
  79. package/dist/components/MNavigationDrawer.vue.d.ts +5 -4
  80. package/dist/components/MNavigationRail.vue.d.ts +1 -1
  81. package/dist/components/MNumberField.vue.d.ts +1 -1
  82. package/dist/components/MOdontogram.vue.d.ts +2 -2
  83. package/dist/components/MPdfSigner.vue.d.ts +1 -1
  84. package/dist/components/MPhoneInput.vue.d.ts +2 -2
  85. package/dist/components/MPinInput.vue.d.ts +3 -3
  86. package/dist/components/MPosKeypad.vue.d.ts +1 -1
  87. package/dist/components/MProductConfigurator.vue.d.ts +1 -1
  88. package/dist/components/MResourceTimeline.vue.d.ts +2 -2
  89. package/dist/components/MRichTextEditor.vue.d.ts +1 -1
  90. package/dist/components/MScheme.vue.d.ts +1 -1
  91. package/dist/components/MSearchBar.vue.d.ts +2 -2
  92. package/dist/components/MSearchField.vue.d.ts +1 -1
  93. package/dist/components/MSeatMap.vue.d.ts +1 -1
  94. package/dist/components/MSeekBar.vue.d.ts +2 -2
  95. package/dist/components/MSelect.vue.d.ts +1 -1
  96. package/dist/components/MShortNavigationBar.vue.d.ts +1 -1
  97. package/dist/components/MSkeleton.vue.d.ts +1 -1
  98. package/dist/components/MSpreadsheet.vue.d.ts +2 -2
  99. package/dist/components/MStack.vue.d.ts +2 -2
  100. package/dist/components/MSubtitle.vue.d.ts +1 -1
  101. package/dist/components/MSwipeToDismiss.vue.d.ts +1 -1
  102. package/dist/components/MSwitch.vue.d.ts +1 -1
  103. package/dist/components/MTagInput.vue.d.ts +1 -1
  104. package/dist/components/MText.vue.d.ts +1 -1
  105. package/dist/components/MTextField.vue.d.ts +3 -3
  106. package/dist/components/MTimeScroll.vue.d.ts +1 -1
  107. package/dist/components/MTimezoneSelect.vue.d.ts +1 -1
  108. package/dist/components/MTitle.vue.d.ts +1 -1
  109. package/dist/components/MToolbar.vue.d.ts +1 -1
  110. package/dist/components/MTooltip.vue.d.ts +1 -1
  111. package/dist/components/MTopAppBar.vue.d.ts +2 -2
  112. package/dist/components/MVitalsChart.vue.d.ts +1 -1
  113. package/dist/components/MWindow.vue.d.ts +3 -3
  114. package/dist/components/_MDrawerItemList.vue.d.ts +8 -1
  115. package/dist/composables/_fieldLayout.d.ts +8 -8
  116. package/dist/composables/_popupPosition.d.ts +3 -2
  117. package/dist/composables/_rtl.d.ts +26 -0
  118. package/dist/composables/useColorPalette.d.ts +1 -1
  119. package/dist/composables/useLocale.d.ts +4 -0
  120. package/dist/draw.js +5 -5
  121. package/dist/flow.js +2 -2
  122. package/dist/gantt.js +3 -3
  123. package/dist/locales/ar.d.ts +6 -0
  124. package/dist/locales/index.d.ts +1 -0
  125. package/dist/locales/index.js +768 -1
  126. package/dist/locales/index.js.map +1 -1
  127. package/dist/m3ui-vue.css +1 -1
  128. package/dist/m3ui.js +11962 -12039
  129. package/dist/m3ui.js.map +1 -1
  130. package/dist/map.js +1127 -1149
  131. package/dist/map.js.map +1 -1
  132. package/dist/markdown.js +1 -1
  133. package/dist/markdown.js.map +1 -1
  134. package/dist/media.js +7 -7
  135. package/dist/pdf-sign.d.ts +3 -0
  136. package/dist/pdf-sign.js +548 -0
  137. package/dist/pdf-sign.js.map +1 -0
  138. package/dist/pdf.d.ts +0 -3
  139. package/dist/pdf.js +1 -2400
  140. package/dist/plugin.d.ts +8 -0
  141. package/dist/rich-text-editor.js +79 -77
  142. package/dist/rich-text-editor.js.map +1 -1
  143. package/dist/styles/theme.css +13 -0
  144. package/dist/styles.css +1 -1
  145. package/dist/terminal.js +5 -2
  146. package/dist/terminal.js.map +1 -1
  147. package/dist/{useLocale-DL96OFgr.js → useLocale-ybIju59R.js} +3 -1
  148. package/dist/useLocale-ybIju59R.js.map +1 -0
  149. package/dist/vTooltip-xESB2YOb.js +154 -0
  150. package/dist/vTooltip-xESB2YOb.js.map +1 -0
  151. package/package.json +5 -1
  152. package/src/__tests__/MAddressField.test.ts +1 -1
  153. package/src/__tests__/MChip.test.ts +3 -3
  154. package/src/__tests__/MFab.test.ts +6 -6
  155. package/src/__tests__/MListItemNestedControl.test.ts +2 -2
  156. package/src/__tests__/MScheduler.test.ts +1 -1
  157. package/src/__tests__/MTrackingTimeline.test.ts +1 -1
  158. package/src/__tests__/MWindow.test.ts +16 -0
  159. package/src/__tests__/fieldOverflow.test.ts +9 -9
  160. package/src/__tests__/hydration.test.ts +39 -0
  161. package/src/__tests__/localePresets.test.ts +2 -0
  162. package/src/__tests__/rtl.test.ts +167 -0
  163. package/src/__tests__/ssr.test.ts +6 -0
  164. package/src/components/MAlert.vue +1 -1
  165. package/src/components/MAutocomplete.vue +7 -7
  166. package/src/components/MAvailabilityCalendar.vue +5 -3
  167. package/src/components/MBadge.vue +12 -3
  168. package/src/components/MBar.vue +1 -1
  169. package/src/components/MBottomAppBar.vue +1 -1
  170. package/src/components/MCalendar.vue +3 -3
  171. package/src/components/MCalendarHeatmap.vue +3 -3
  172. package/src/components/MChatBubble.vue +3 -3
  173. package/src/components/MChip.vue +6 -6
  174. package/src/components/MCodeEditor.vue +7 -3
  175. package/src/components/MColorPicker.vue +1 -1
  176. package/src/components/MCommandPalette.vue +1 -1
  177. package/src/components/MContainerTransform.vue +1 -1
  178. package/src/components/MContextMenu.vue +1 -1
  179. package/src/components/MDataTable.vue +5 -5
  180. package/src/components/MDatePicker.vue +3 -2
  181. package/src/components/MDateRangePicker.vue +3 -2
  182. package/src/components/MDialog.vue +5 -5
  183. package/src/components/MDiffViewer.vue +1 -1
  184. package/src/components/MDivider.vue +1 -1
  185. package/src/components/MDragDropList.vue +1 -1
  186. package/src/components/MEmojiSelector.vue +11 -7
  187. package/src/components/MExpansionPanel.vue +1 -1
  188. package/src/components/MFab.vue +5 -5
  189. package/src/components/MFormBuilder.vue +3 -3
  190. package/src/components/MIcon.vue +14 -2
  191. package/src/components/MJsonEditor.vue +1 -3
  192. package/src/components/MJsonViewer.vue +1 -1
  193. package/src/components/MKanban.vue +2 -1
  194. package/src/components/MListDetail.vue +2 -2
  195. package/src/components/MListGroup.vue +1 -1
  196. package/src/components/MListItem.vue +5 -5
  197. package/src/components/MListSubheader.vue +1 -1
  198. package/src/components/MMapDraw.vue +3 -2
  199. package/src/components/MMapHover.vue +2 -1
  200. package/src/components/MMapMeasure.vue +2 -1
  201. package/src/components/MMapRoute.vue +2 -1
  202. package/src/components/MMarkdown.vue +9 -6
  203. package/src/components/MMaskField.vue +6 -6
  204. package/src/components/MMenu.vue +13 -6
  205. package/src/components/MMenuItem.vue +8 -6
  206. package/src/components/MMultiAutocomplete.vue +9 -8
  207. package/src/components/MMultiSelect.vue +9 -8
  208. package/src/components/MNavigationDrawer.vue +39 -27
  209. package/src/components/MNavigationRail.vue +28 -19
  210. package/src/components/MNavigationSuite.vue +1 -1
  211. package/src/components/MNotificationCenter.vue +1 -1
  212. package/src/components/MNotificationHost.vue +1 -1
  213. package/src/components/MNumberField.vue +6 -6
  214. package/src/components/MOrderTicket.vue +1 -1
  215. package/src/components/MPageProgress.vue +1 -1
  216. package/src/components/MPdfSigner.vue +1 -1
  217. package/src/components/MPhoneInput.vue +5 -4
  218. package/src/components/MPinInput.vue +3 -2
  219. package/src/components/MPosKeypad.vue +2 -1
  220. package/src/components/MProductConfigurator.vue +2 -1
  221. package/src/components/MProgressBar.vue +2 -2
  222. package/src/components/MRichTextEditor.vue +8 -4
  223. package/src/components/MScheduler.vue +14 -14
  224. package/src/components/MSearchField.vue +1 -1
  225. package/src/components/MSeatMap.vue +2 -1
  226. package/src/components/MSegmentedButton.vue +1 -1
  227. package/src/components/MSelect.vue +7 -7
  228. package/src/components/MSideSheet.vue +3 -2
  229. package/src/components/MSimpleCarousel.vue +20 -11
  230. package/src/components/MSlider.vue +15 -5
  231. package/src/components/MSnackbar.vue +2 -2
  232. package/src/components/MSplitButton.vue +3 -2
  233. package/src/components/MSplitter.vue +6 -3
  234. package/src/components/MSpotlightSearch.vue +1 -1
  235. package/src/components/MSwitch.vue +5 -5
  236. package/src/components/MTable.vue +3 -3
  237. package/src/components/MTabs.vue +4 -1
  238. package/src/components/MTagInput.vue +6 -6
  239. package/src/components/MTerminal.vue +1 -1
  240. package/src/components/MText.vue +1 -1
  241. package/src/components/MTextField.vue +7 -7
  242. package/src/components/MTimePicker.vue +3 -2
  243. package/src/components/MTimePickerModal.vue +2 -2
  244. package/src/components/MTimeScroll.vue +1 -1
  245. package/src/components/MTimeline.vue +12 -12
  246. package/src/components/MToolbar.vue +3 -3
  247. package/src/components/MTrackingTimeline.vue +3 -2
  248. package/src/components/MTransition.vue +8 -3
  249. package/src/components/MTreeTable.vue +1 -1
  250. package/src/components/MTypewriter.vue +1 -1
  251. package/src/components/MVirtualTable.vue +2 -2
  252. package/src/components/MWindow.vue +4 -3
  253. package/src/components/_MColorPanel.vue +5 -4
  254. package/src/components/_MDrawerItemList.vue +9 -5
  255. package/src/components/_MMapAttribution.vue +2 -1
  256. package/src/components/_MMonthYearButton.vue +1 -1
  257. package/src/components/_MTransferPane.vue +8 -1
  258. package/src/components/_MTreeNode.vue +3 -3
  259. package/src/components/_MYearGrid.vue +4 -2
  260. package/src/composables/_fieldLayout.ts +19 -19
  261. package/src/composables/_popupPosition.ts +5 -3
  262. package/src/composables/_rtl.ts +76 -0
  263. package/src/composables/_useMenuNav.ts +24 -17
  264. package/src/composables/_useSheetMotion.ts +10 -3
  265. package/src/composables/pdfSign.ts +2 -2
  266. package/src/composables/useLocale.ts +6 -0
  267. package/src/locales/ar.ts +798 -0
  268. package/src/locales/de.ts +2 -0
  269. package/src/locales/es.ts +2 -0
  270. package/src/locales/fr.ts +2 -0
  271. package/src/locales/index.ts +1 -0
  272. package/src/locales/ja.ts +2 -0
  273. package/src/locales/ko.ts +2 -0
  274. package/src/locales/pt.ts +2 -0
  275. package/src/locales/zh.ts +2 -0
  276. package/src/pdf-sign.ts +5 -0
  277. package/src/pdf.ts +0 -3
  278. package/src/plugin.ts +10 -0
  279. package/src/styles/theme.css +13 -0
  280. package/dist/MColorPickerModal-H8nuX0Wu.js.map +0 -1
  281. package/dist/MDialog-B42Mhn8W.js +0 -331
  282. package/dist/MDialog-B42Mhn8W.js.map +0 -1
  283. package/dist/MIcon-DpajuUTJ.js +0 -33
  284. package/dist/MIcon-DpajuUTJ.js.map +0 -1
  285. package/dist/MListItem-DiOAxaN7.js.map +0 -1
  286. package/dist/MMenuItem-BuxYoASE.js +0 -574
  287. package/dist/MMenuItem-BuxYoASE.js.map +0 -1
  288. package/dist/MSignaturePad-BTqGaPXA.js +0 -313
  289. package/dist/MSignaturePad-BTqGaPXA.js.map +0 -1
  290. package/dist/MSlider-D_O8J9YH.js +0 -739
  291. package/dist/MSlider-D_O8J9YH.js.map +0 -1
  292. package/dist/MTextField-CYk9yFvi.js.map +0 -1
  293. package/dist/MTooltip-CK39Zon4.js +0 -183
  294. package/dist/MTooltip-CK39Zon4.js.map +0 -1
  295. package/dist/_popupPosition-nL8SVKPK.js.map +0 -1
  296. package/dist/pdf.js.map +0 -1
  297. package/dist/useLocale-DL96OFgr.js.map +0 -1
@@ -47,18 +47,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
47
47
  resetValidation: () => void;
48
48
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
49
  blur: () => any;
50
- "update:modelValue": (args_0: string) => any;
51
50
  complete: (args_0: string) => any;
51
+ "update:modelValue": (args_0: string) => any;
52
52
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
53
53
  onBlur?: (() => any) | undefined;
54
- "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
55
54
  onComplete?: ((args_0: string) => any) | undefined;
55
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
56
56
  }>, {
57
57
  length: number;
58
58
  type: "numeric" | "alphanumeric";
59
- modelValue: string;
60
59
  variant: "filled" | "outlined";
61
60
  disabled: boolean;
61
+ modelValue: string;
62
62
  separator: string;
63
63
  masked: boolean;
64
64
  autoFocus: boolean;
@@ -73,7 +73,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
73
73
  quickMode: "set" | "add";
74
74
  actionDisabled: boolean;
75
75
  hideDisplay: boolean;
76
- keyboard: "none" | "focus" | "global";
76
+ keyboard: "none" | "global" | "focus";
77
77
  haptics: boolean;
78
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
79
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -100,8 +100,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
100
100
  "onUpdate:modelValue"?: ((args_0: ProductSelection) => any) | undefined;
101
101
  "onUpdate:quantity"?: ((args_0: number) => any) | undefined;
102
102
  }>, {
103
- modelValue: ProductSelection;
104
103
  disabled: boolean;
104
+ modelValue: ProductSelection;
105
105
  quantity: number | null;
106
106
  basePrice: number;
107
107
  maxQuantity: number;
@@ -83,7 +83,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, ResourceTim
83
83
  "update:events": (args_0: TimelineEvent<any>[]) => any;
84
84
  "update:listWidth": (args_0: number) => any;
85
85
  "event-click": (args_0: TimelineEvent<any>, args_1: MouseEvent) => any;
86
- "event-dblclick": (args_0: TimelineEvent<any>, args_1: MouseEvent | KeyboardEvent) => any;
86
+ "event-dblclick": (args_0: TimelineEvent<any>, args_1: KeyboardEvent | MouseEvent) => any;
87
87
  "event-contextmenu": (args_0: TimelineEvent<any>, args_1: MouseEvent) => any;
88
88
  create: (args_0: {
89
89
  resourceId: string;
@@ -112,7 +112,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, ResourceTim
112
112
  "onUpdate:events"?: ((args_0: TimelineEvent<any>[]) => any) | undefined;
113
113
  "onUpdate:listWidth"?: ((args_0: number) => any) | undefined;
114
114
  "onEvent-click"?: ((args_0: TimelineEvent<any>, args_1: MouseEvent) => any) | undefined;
115
- "onEvent-dblclick"?: ((args_0: TimelineEvent<any>, args_1: MouseEvent | KeyboardEvent) => any) | undefined;
115
+ "onEvent-dblclick"?: ((args_0: TimelineEvent<any>, args_1: KeyboardEvent | MouseEvent) => any) | undefined;
116
116
  "onEvent-contextmenu"?: ((args_0: TimelineEvent<any>, args_1: MouseEvent) => any) | undefined;
117
117
  onCreate?: ((args_0: {
118
118
  resourceId: string;
@@ -73,8 +73,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
73
73
  "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
74
74
  }>, {
75
75
  fill: boolean;
76
- minHeight: string;
77
76
  disabled: boolean;
77
+ minHeight: string;
78
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
79
  declare const _default: typeof __VLS_export;
80
80
  export default _default;
@@ -44,8 +44,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
44
44
  }> & Readonly<{
45
45
  onSeed?: ((color: string) => any) | undefined;
46
46
  }>, {
47
- variant: SchemeVariant;
48
47
  contrast: number;
48
+ variant: SchemeVariant;
49
49
  as: string;
50
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
51
51
  default?: (props: {
@@ -49,13 +49,13 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
49
49
  "onUpdate:expanded"?: ((args_0: boolean) => any) | undefined;
50
50
  }>, {
51
51
  loading: boolean;
52
- modelValue: string;
53
52
  variant: "fullscreen" | "docked" | "fullscreen-contained";
54
53
  disabled: boolean;
54
+ modelValue: string;
55
55
  leadingIcon: string;
56
56
  clearable: boolean;
57
57
  iconPosition: "start" | "end";
58
- textAlign: "center" | "start";
58
+ textAlign: "start" | "center";
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
60
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
61
61
  declare const _default: typeof __VLS_export;
@@ -44,9 +44,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
44
44
  "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
45
45
  }>, {
46
46
  size: "sm" | "md" | "lg";
47
+ disabled: boolean;
47
48
  modelValue: string;
48
49
  icon: string;
49
- disabled: boolean;
50
50
  clearable: boolean;
51
51
  clearOnEscape: boolean;
52
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -102,8 +102,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
102
102
  onLimit?: (() => any) | undefined;
103
103
  }>, {
104
104
  legend: boolean;
105
- modelValue: string[];
106
105
  disabled: boolean;
106
+ modelValue: string[];
107
107
  categories: SeatCategory[];
108
108
  occupied: string[];
109
109
  stage: string | false;
@@ -100,10 +100,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
100
100
  color: string;
101
101
  time: "none" | "below" | "sides";
102
102
  size: "xs" | "sm" | "md";
103
- live: boolean;
104
- playing: boolean;
105
103
  variant: "line" | "wavy" | "slider";
104
+ playing: boolean;
106
105
  disabled: boolean;
106
+ live: boolean;
107
107
  preview: boolean;
108
108
  playbackRate: number;
109
109
  remaining: boolean;
@@ -63,9 +63,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
63
63
  }>, {
64
64
  required: boolean;
65
65
  mode: "docked" | "modal";
66
- modelValue: undefined;
67
66
  variant: "filled" | "outlined";
68
67
  disabled: boolean;
68
+ modelValue: undefined;
69
69
  clearable: boolean;
70
70
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
71
71
  declare const _default: typeof __VLS_export;
@@ -31,7 +31,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
31
31
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
32
  "onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
33
33
  }>, {
34
- iconPosition: "top" | "start";
34
+ iconPosition: "start" | "top";
35
35
  arrangement: "centered" | "equal";
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
37
  declare const _default: typeof __VLS_export;
@@ -18,8 +18,8 @@ type __VLS_Props = {
18
18
  };
19
19
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
20
  animation: "none" | "pulse" | "wave";
21
- lines: number;
22
21
  variant: "text" | "rounded" | "circular" | "rectangular";
22
+ lines: number;
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: typeof __VLS_export;
25
25
  export default _default;
@@ -74,8 +74,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
74
74
  /** Clears the selected cells */
75
75
  clear: () => void;
76
76
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
- "update:modelValue": (cells: SpreadsheetCell[][]) => any;
78
77
  change: (changes: SpreadsheetChange[]) => any;
78
+ "update:modelValue": (cells: SpreadsheetCell[][]) => any;
79
79
  "update:columnWidths": (widths: number[]) => any;
80
80
  "selection-change": (range: SpreadsheetRange) => any;
81
81
  }, string, import("vue").PublicProps, Readonly<{
@@ -118,8 +118,8 @@ declare const __VLS_export: import("vue").DefineComponent<{
118
118
  /** The grid's accessible name */
119
119
  label?: string;
120
120
  }> & Readonly<{
121
- "onUpdate:modelValue"?: ((cells: SpreadsheetCell[][]) => any) | undefined;
122
121
  onChange?: ((changes: SpreadsheetChange[]) => any) | undefined;
122
+ "onUpdate:modelValue"?: ((cells: SpreadsheetCell[][]) => any) | undefined;
123
123
  "onUpdate:columnWidths"?: ((widths: number[]) => any) | undefined;
124
124
  "onSelection-change"?: ((range: SpreadsheetRange) => any) | undefined;
125
125
  }>, {
@@ -23,11 +23,11 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
23
23
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
24
  wrap: boolean;
25
25
  gap: "none" | "xs" | "sm" | "md" | "lg" | "xl";
26
- align: "center" | "start" | "end" | "stretch" | "baseline";
26
+ align: "start" | "center" | "end" | "stretch" | "baseline";
27
27
  direction: "row" | "column";
28
28
  inline: boolean;
29
29
  divider: boolean;
30
- justify: "between" | "center" | "start" | "end" | "around" | "evenly";
30
+ justify: "between" | "start" | "center" | "end" | "around" | "evenly";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
33
  declare const _default: typeof __VLS_export;
@@ -16,7 +16,7 @@ declare const __VLS_template: () => {
16
16
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
18
  color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
19
- size: "small" | "large" | "medium";
19
+ size: "small" | "medium" | "large";
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
@@ -35,8 +35,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
35
35
  "onUpdate:modelValue"?: ((args_0: SwipeToDismissValue) => any) | undefined;
36
36
  onDismiss?: ((args_0: "start-to-end" | "end-to-start") => any) | undefined;
37
37
  }>, {
38
- modelValue: SwipeToDismissValue;
39
38
  disabled: boolean;
39
+ modelValue: SwipeToDismissValue;
40
40
  threshold: number;
41
41
  startToEnd: boolean;
42
42
  endToStart: boolean;
@@ -38,8 +38,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
38
38
  "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
39
39
  }>, {
40
40
  color: "primary" | "secondary" | "tertiary" | "error";
41
- icon: boolean;
42
41
  disabled: boolean;
42
+ icon: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
@@ -69,9 +69,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
69
69
  onDebounced?: ((args_0: string[]) => any) | undefined;
70
70
  }>, {
71
71
  required: boolean;
72
- modelValue: string[];
73
72
  variant: "filled" | "outlined";
74
73
  disabled: boolean;
74
+ modelValue: string[];
75
75
  clearable: boolean;
76
76
  debounce: number;
77
77
  duplicates: boolean;
@@ -27,7 +27,7 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
27
27
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
28
28
  color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
29
29
  variant: TextVariant;
30
- align: "center" | "left" | "right";
30
+ align: "left" | "right" | "center";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
33
  declare const _default: typeof __VLS_export;
@@ -61,7 +61,7 @@ declare const __VLS_template: () => {
61
61
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
62
62
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
63
63
  /** The `<input>` (or `<textarea>`) element */
64
- inputEl: import("vue").ComputedRef<HTMLTextAreaElement | HTMLInputElement | null>;
64
+ inputEl: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | null>;
65
65
  /** Focuses the field */
66
66
  focus: (options?: FocusOptions) => void | undefined;
67
67
  /** Takes focus away from the field */
@@ -76,13 +76,13 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
76
76
  setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void | undefined;
77
77
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
78
78
  blur: (args_0: FocusEvent) => any;
79
- "update:modelValue": (args_0: string) => any;
80
79
  focus: (args_0: FocusEvent) => any;
80
+ "update:modelValue": (args_0: string) => any;
81
81
  debounced: (args_0: string) => any;
82
82
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
83
83
  onBlur?: ((args_0: FocusEvent) => any) | undefined;
84
- "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
85
84
  onFocus?: ((args_0: FocusEvent) => any) | undefined;
85
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
86
86
  onDebounced?: ((args_0: string) => any) | undefined;
87
87
  }>, {
88
88
  type: string;
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
15
15
  }>, {
16
- modelValue: string | null;
17
16
  disabled: boolean;
17
+ modelValue: string | null;
18
18
  minuteStep: number;
19
19
  use24h: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -41,8 +41,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
41
41
  "onUpdate:modelValue"?: ((zone: string | null) => any) | undefined;
42
42
  }>, {
43
43
  mode: "docked" | "modal";
44
- modelValue: string | null;
45
44
  variant: "filled" | "outlined";
45
+ modelValue: string | null;
46
46
  clearable: boolean;
47
47
  detect: boolean;
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -16,7 +16,7 @@ declare const __VLS_template: () => {
16
16
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
17
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
18
  color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
19
- size: "small" | "large" | "medium";
19
+ size: "small" | "medium" | "large";
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
@@ -49,7 +49,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
49
49
  }>, {
50
50
  color: "surface" | "primary" | "secondary" | "tertiary";
51
51
  variant: "docked" | "floating";
52
- align: "between" | "center" | "start" | "end";
52
+ align: "between" | "start" | "center" | "end";
53
53
  orientation: "horizontal" | "vertical";
54
54
  fabPosition: "none" | "start" | "end";
55
55
  collapseOnScroll: string | boolean | HTMLElement | null;
@@ -22,8 +22,8 @@ declare const __VLS_template: () => {
22
22
  };
23
23
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
24
24
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
+ placement: "top" | "bottom" | "left" | "right";
25
26
  delay: number;
26
- placement: "left" | "top" | "right" | "bottom";
27
27
  rich: boolean;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -62,10 +62,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
62
62
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
63
63
  onNavigation?: (() => any) | undefined;
64
64
  }>, {
65
- variant: "small" | "large" | "medium" | "center";
65
+ variant: "small" | "medium" | "large" | "center";
66
66
  scrollTarget: string | HTMLElement | null;
67
67
  flexible: boolean;
68
- titleAlignment: "center" | "start";
68
+ titleAlignment: "start" | "center";
69
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
70
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
71
71
  declare const _default: typeof __VLS_export;
@@ -63,7 +63,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
63
63
  domain?: [number, number];
64
64
  };
65
65
  reading: VitalReading | undefined;
66
- status: "normal" | "high" | "low";
66
+ status: "high" | "low" | "normal";
67
67
  }) => any;
68
68
  }>;
69
69
  type __VLS_WithSlots<T, S> = T & {
@@ -53,8 +53,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
53
53
  toggleMinimize: () => void;
54
54
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
55
  close: () => any;
56
- "update:modelValue": (value: boolean) => any;
57
56
  focus: () => any;
57
+ "update:modelValue": (value: boolean) => any;
58
58
  minimize: () => any;
59
59
  maximize: (maximized: boolean) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<{
@@ -105,16 +105,16 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
105
105
  resetPosition?: boolean;
106
106
  }> & Readonly<{
107
107
  onClose?: (() => any) | undefined;
108
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
109
108
  onFocus?: (() => any) | undefined;
109
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
110
110
  onMinimize?: (() => any) | undefined;
111
111
  onMaximize?: ((maximized: boolean) => any) | undefined;
112
112
  }>, {
113
113
  width: string;
114
114
  height: string;
115
- minHeight: number;
116
115
  x: number;
117
116
  y: number;
117
+ minHeight: number;
118
118
  snap: boolean;
119
119
  closable: boolean;
120
120
  draggable: boolean;
@@ -1,5 +1,6 @@
1
1
  import { type PropType, type Ref } from 'vue';
2
2
  import type { DrawerItem } from './MNavigationDrawer.vue';
3
+ import type { TooltipPlacement } from '../composables/_tooltipTrigger';
3
4
  declare const _default: typeof __VLS_export;
4
5
  export default _default;
5
6
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -22,6 +23,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
22
23
  collapsed: Ref<boolean, boolean>;
23
24
  rail: Ref<boolean, boolean>;
24
25
  collapsedLabels: Ref<boolean, boolean>;
26
+ tooltipPlacement: Ref<TooltipPlacement, TooltipPlacement>;
25
27
  }, {}, {}, {
26
28
  itemTag(item: DrawerItem): "button" | "RouterLink";
27
29
  onClick(item: DrawerItem): void;
@@ -52,13 +54,18 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
52
54
  size?: number;
53
55
  filled?: boolean;
54
56
  label?: string;
57
+ mirror?: boolean;
55
58
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
56
59
  name: string;
57
60
  size?: number;
58
61
  filled?: boolean;
59
62
  label?: string;
63
+ mirror?: boolean;
60
64
  }> & Readonly<{}>, {
61
65
  size: number;
62
66
  filled: boolean;
67
+ mirror: boolean;
63
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
+ }, {
70
+ tooltip: import("vue").Directive<HTMLElement, import("../index.ts").TooltipValue>;
71
+ }, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -6,7 +6,7 @@ import type { Directive } from 'vue';
6
6
  * edge (filled) or onto the border (outlined), an optional leading icon and trailing buttons. The rules that
7
7
  * keep long content from running over those pieces live here, so a new field gets them by reusing this:
8
8
  *
9
- * - The label is inset from the right by as much as the box's own right padding (`right`), so it never runs
9
+ * - The label is inset from the end by as much as the box's own end padding (`right`), so it never runs
10
10
  * under a trailing button, floated (filled) or not. Floated on an outlined border, it shrinks to its own
11
11
  * text but stops 12px before the far corner, whatever its left offset (a leading icon moves it to 44px).
12
12
  * - A value shown as text in a fixed-height box (`FIELD_VALUE`) stays on one line and ends in "…", and
@@ -15,20 +15,20 @@ import type { Directive } from 'vue';
15
15
  */
16
16
  export type FieldVariant = 'filled' | 'outlined';
17
17
  /**
18
- * Right inset of the label, which must equal the field's right padding: `right-4` with nothing trailing,
19
- * `right-10` with a dropdown arrow, `right-12` with one trailing button, `right-16` with a clear button and
20
- * an arrow, `right-24` with two 32px buttons (MNumberField's stepper).
18
+ * End inset of the label (right in LTR, left in RTL), which must equal the field's end padding: `end-4` with nothing trailing,
19
+ * `end-10` with a dropdown arrow, `end-12` with one trailing button, `end-16` with a clear button and
20
+ * an arrow, `end-24` with two 32px buttons (MNumberField's stepper).
21
21
  */
22
- export type FieldRightInset = 'right-4' | 'right-10' | 'right-12' | 'right-16' | 'right-24';
22
+ export type FieldEndInset = 'end-4' | 'end-10' | 'end-12' | 'end-16' | 'end-24';
23
23
  /** Padding matching each inset, for the box itself */
24
- export declare const FIELD_PADDING_RIGHT: Record<FieldRightInset, string>;
24
+ export declare const FIELD_PADDING_END: Record<FieldEndInset, string>;
25
25
  /** One line, cut with "…", allowed to shrink inside its flex row */
26
26
  export declare const FIELD_VALUE = "block min-w-0 flex-1 truncate";
27
27
  export interface FieldLabelOptions {
28
28
  variant: FieldVariant;
29
29
  /** There is a leading icon (the label starts after it) */
30
30
  leading?: boolean;
31
- right: FieldRightInset;
31
+ right: FieldEndInset;
32
32
  /**
33
33
  * `true`/`false` when the component knows whether the label floats; `'peer'` to float it with CSS from
34
34
  * the preceding `.peer` input (focused, or its `placeholder=" "` not shown because it has a value)
@@ -39,7 +39,7 @@ export interface FieldLabelOptions {
39
39
  }
40
40
  export declare function fieldLabelClasses(o: FieldLabelOptions): string;
41
41
  /** A label always floated on an outlined border (the picker triggers): cut before the far corner */
42
- export declare const OUTLINED_FLOATED_LABEL = "pointer-events-none absolute -top-2.5 left-3 max-w-[calc(100%-1.5rem)] truncate bg-(--field-bg) px-1 text-label-small";
42
+ export declare const OUTLINED_FLOATED_LABEL = "pointer-events-none absolute -top-2.5 start-3 max-w-[calc(100%-1.5rem)] truncate bg-(--field-bg) px-1 text-label-small";
43
43
  /**
44
44
  * Puts the element's whole text (an input's value, or its text content) in `title` while it's cut by
45
45
  * overflow, measured when the pointer comes in, so a value that fits gets no redundant tooltip.
@@ -4,9 +4,10 @@ export declare const POPUP_MARGIN = 8;
4
4
  export declare function fitPopup(candidates: number[], size: number, viewport: number, margin?: number): number;
5
5
  /**
6
6
  * A dropdown's left edge: aligned with the anchor's start or end edge (`align` picks which is tried first), else
7
- * against the window edge on the anchor's side (MenuAnchorPosition.Below's xCandidates).
7
+ * against the window edge on the anchor's side (MenuAnchorPosition.Below's xCandidates). Right to left (`rtl`),
8
+ * the start edge is the anchor's right one, as in Compose.
8
9
  */
9
10
  export declare function dropdownX(anchor: {
10
11
  left: number;
11
12
  right: number;
12
- }, width: number, viewport: number, align: 'start' | 'end', margin?: number): number;
13
+ }, width: number, viewport: number, align: 'start' | 'end', margin?: number, rtl?: boolean): number;
@@ -0,0 +1,26 @@
1
+ import { type InjectionKey, type Ref } from 'vue';
2
+ export declare const M3_DIR_KEY: InjectionKey<'ltr' | 'rtl'>;
3
+ /**
4
+ * Right-to-left helpers (internal). Layout mirrors through CSS logical properties (`ms-*`, `start-*`,
5
+ * `text-start`…); what CSS can't mirror on its own (pointer math, `translateX`, directional icons) asks
6
+ * `isRtl()` or uses the `m3-rtl:` variant (theme.css; unlike Tailwind's `rtl:`, it respects a nested `dir="ltr"`).
7
+ */
8
+ /**
9
+ * Material Symbols that point along the reading direction, mirrored in RTL like Android's auto-mirrored icons.
10
+ * Media transport icons (play, skip, fast forward) are deliberately left out: M3 never mirrors those.
11
+ */
12
+ export declare const MIRRORED_ICONS: ReadonlySet<string>;
13
+ /** Whether `el` (or the document, without one) lays out right to left */
14
+ export declare function isRtl(el?: Element | null): boolean;
15
+ /**
16
+ * Whether the page reads right to left, kept up to date when the `dir` attribute of `<html>` or `<body>`
17
+ * changes. For things decided at render time (which edge a drawer sits on); pointer math should ask
18
+ * `isRtl(el)` at the event instead, which also sees a `dir` set on a closer ancestor. Server-rendered apps pass
19
+ * `createM3UI({ dir })`, which the server renders and hydration starts from.
20
+ */
21
+ export declare function useDocumentRtl(): Readonly<Ref<boolean>>;
22
+ /**
23
+ * The key as if the layout were left to right: ArrowLeft and ArrowRight swap when `el` lays out right to left,
24
+ * so "ArrowRight" keeps meaning "next" in a row of items that flex has mirrored
25
+ */
26
+ export declare function logicalKey(e: KeyboardEvent, el?: Element | null): string;
@@ -206,7 +206,7 @@ export declare function useColorPalette(): {
206
206
  } | null>>;
207
207
  setSeed: (seed: string, options?: SeedOptions) => Promise<void>;
208
208
  contrast: Readonly<Ref<ContrastLevel>>;
209
- activeContrast: Ref<"standard" | "medium" | "high", "standard" | "medium" | "high">;
209
+ activeContrast: Ref<"standard" | "high" | "medium", "standard" | "high" | "medium">;
210
210
  setContrast: (level: ContrastLevel) => void;
211
211
  persistPalette: Ref<boolean, boolean>;
212
212
  setPersistPalette: (enabled: boolean) => void;
@@ -303,6 +303,10 @@ export interface M3Locale {
303
303
  formBuilderCopy: string;
304
304
  /** MFormBuilder */
305
305
  formBuilderCopied: string;
306
+ /** MCodeEditor: copy button's tooltip and label */
307
+ codeCopy: string;
308
+ /** MCodeEditor: shown once the code is copied */
309
+ codeCopied: string;
306
310
  /** MFormBuilder: what the preview submitted */
307
311
  formBuilderSubmitted: string;
308
312
  /** MFormBuilder: the inspector with nothing selected */
package/dist/draw.js CHANGED
@@ -1,8 +1,8 @@
1
- import { i as e } from "./useLocale-DL96OFgr.js";
2
- import { t } from "./MIconButton-BBggVwBV.js";
3
- import { n, t as r } from "./MMenuItem-BuxYoASE.js";
4
- import { t as i } from "./MTooltip-CK39Zon4.js";
5
- import { t as a } from "./MColorPickerModal-H8nuX0Wu.js";
1
+ import { i as e } from "./useLocale-ybIju59R.js";
2
+ import { t } from "./MIconButton-CNjN0xwW.js";
3
+ import { n, t as r } from "./MMenuItem-E31tMzOt.js";
4
+ import { t as i } from "./MTooltip-Cn_DYm9M.js";
5
+ import { t as a } from "./MColorPickerModal-IjciC8zh.js";
6
6
  import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, inject as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, provide as ee, ref as w, renderList as T, renderSlot as E, shallowRef as D, toDisplayString as te, unref as O, useId as ne, useModel as k, vModelText as re, watch as ie, withCtx as A, withDirectives as j, withKeys as ae, withModifiers as M } from "vue";
7
7
  // src/composables/drawGeometry.ts
8
8
  var N = 0, oe = () => `d${Date.now().toString(36)}${(N++).toString(36)}`, se = {
package/dist/flow.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./flowPaths-BaH7yaUM.js";
2
- import { r as d, t as f, u as p } from "./MIconButton-BBggVwBV.js";
3
- import { i as m } from "./useLocale-DL96OFgr.js";
2
+ import { r as d, t as f, u as p } from "./MIconButton-CNjN0xwW.js";
3
+ import { i as m } from "./useLocale-ybIju59R.js";
4
4
  import { Fragment as h, Transition as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, inject as T, mergeProps as ee, nextTick as E, normalizeClass as D, normalizeStyle as O, onBeforeUnmount as te, onMounted as ne, openBlock as k, provide as re, reactive as ie, ref as A, renderList as ae, renderSlot as oe, shallowReactive as se, shallowRef as ce, toDisplayString as le, toRaw as ue, unref as j, useSlots as de, vShow as fe, watch as pe, withCtx as me, withDirectives as M, withModifiers as he } from "vue";
5
5
  // src/composables/useFlow.ts
6
6
  var ge = Symbol("m3-flow"), _e = Symbol("m3-flow-node");
package/dist/gantt.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./flowPaths-BaH7yaUM.js";
2
- import { f as t, l as n, t as r, u as i } from "./MIconButton-BBggVwBV.js";
3
- import { i as a } from "./useLocale-DL96OFgr.js";
4
- import { t as o } from "./MSegmentedButton-BXzRsg1S.js";
2
+ import { f as t, l as n, t as r, u as i } from "./MIconButton-CNjN0xwW.js";
3
+ import { i as a } from "./useLocale-ybIju59R.js";
4
+ import { t as o } from "./MSegmentedButton-DZuZLBML.js";
5
5
  import { Fragment as s, Teleport as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, inject as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as ee, onBeforeUpdate as te, onMounted as ne, onUpdated as re, openBlock as x, provide as ie, ref as S, renderList as C, renderSlot as ae, shallowRef as oe, toDisplayString as w, toRaw as se, unref as T, useSlots as ce, vModelText as le, watch as E, withDirectives as ue, withKeys as de, withModifiers as fe } from "vue";
6
6
  // src/composables/useGantt.ts
7
7
  var pe = Symbol("m3-gantt"), me = Symbol("m3-timeline-controls");
@@ -0,0 +1,6 @@
1
+ import type { M3Locale } from '../composables/useLocale';
2
+ /**
3
+ * Arabic. Pair it with `dir="rtl"` on `<html>` (or on the part of the page in Arabic): the locale only holds the
4
+ * strings, the direction comes from the page.
5
+ */
6
+ export declare const arLocale: M3Locale;
@@ -5,4 +5,5 @@ export { deLocale } from './de';
5
5
  export { jaLocale } from './ja';
6
6
  export { zhLocale } from './zh';
7
7
  export { koLocale } from './ko';
8
+ export { arLocale } from './ar';
8
9
  export type { M3Locale } from '../composables/useLocale';