@m3ui-vue/m3ui-vue 1.6.0 → 1.6.1

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 (151) hide show
  1. package/dist/API.md +940 -33
  2. package/dist/{MButton-CPghlKb0.js → MButton-OQ4wIERQ.js} +2 -2
  3. package/dist/{MButton-CPghlKb0.js.map → MButton-OQ4wIERQ.js.map} +1 -1
  4. package/dist/{MDialog-X50At1Gk.js → MDialog-DYMnaBlt.js} +3 -3
  5. package/dist/{MDialog-X50At1Gk.js.map → MDialog-DYMnaBlt.js.map} +1 -1
  6. package/dist/{MListItem-DVi1j1QI.js → MListItem-D2cNUyzP.js} +211 -168
  7. package/dist/MListItem-D2cNUyzP.js.map +1 -0
  8. package/dist/{MLoadingIndicator-vooA3110.js → MLoadingIndicator-DWUj0BAB.js} +2 -2
  9. package/dist/{MLoadingIndicator-vooA3110.js.map → MLoadingIndicator-DWUj0BAB.js.map} +1 -1
  10. package/dist/{MMenuItem-CRNZkVVr.js → MMenuItem-BuxYoASE.js} +133 -151
  11. package/dist/MMenuItem-BuxYoASE.js.map +1 -0
  12. package/dist/{MSeekBar-BL2W5_rD.js → MSeekBar-C4cn9RIF.js} +2 -2
  13. package/dist/{MSeekBar-BL2W5_rD.js.map → MSeekBar-C4cn9RIF.js.map} +1 -1
  14. package/dist/{MSlider-B9NcKTmZ.js → MSlider-BIkA6DiE.js} +2 -2
  15. package/dist/{MSlider-B9NcKTmZ.js.map → MSlider-BIkA6DiE.js.map} +1 -1
  16. package/dist/{MSpinner-_XpTRkAg.js → MSpinner-DZkXZJpc.js} +2 -2
  17. package/dist/{MSpinner-_XpTRkAg.js.map → MSpinner-DZkXZJpc.js.map} +1 -1
  18. package/dist/{MTextField-DpcPmR5B.js → MTextField-CNH-byir.js} +2 -2
  19. package/dist/{MTextField-DpcPmR5B.js.map → MTextField-CNH-byir.js.map} +1 -1
  20. package/dist/{MTooltip-BL3jPYPT.js → MTooltip-Dd5g2zhh.js} +4 -4
  21. package/dist/{MTooltip-BL3jPYPT.js.map → MTooltip-Dd5g2zhh.js.map} +1 -1
  22. package/dist/{_useEscapeStack-C5-BYr8y.js → _popupPosition-nL8SVKPK.js} +20 -2
  23. package/dist/_popupPosition-nL8SVKPK.js.map +1 -0
  24. package/dist/api.json +1 -1
  25. package/dist/code-editor.js +1 -1
  26. package/dist/components/MAddressField.vue.d.ts +54 -0
  27. package/dist/components/MAudioPlayer.vue.d.ts +1 -1
  28. package/dist/components/MAudioRecorder.vue.d.ts +51 -0
  29. package/dist/components/MAvailabilityCalendar.vue.d.ts +1 -1
  30. package/dist/components/MCameraCapture.vue.d.ts +51 -0
  31. package/dist/components/MCollapse.vue.d.ts +32 -0
  32. package/dist/components/MCountrySelect.vue.d.ts +41 -0
  33. package/dist/components/MCronField.vue.d.ts +26 -0
  34. package/dist/components/MDashboardGrid.vue.d.ts +65 -0
  35. package/dist/components/MDiffViewer.vue.d.ts +56 -0
  36. package/dist/components/MExpansionPanel.vue.d.ts +26 -3
  37. package/dist/components/MFilterBuilder.vue.d.ts +22 -0
  38. package/dist/components/MFlex.vue.d.ts +1 -1
  39. package/dist/components/MMapCluster.vue.d.ts +80 -0
  40. package/dist/components/MMapDraw.vue.d.ts +79 -0
  41. package/dist/components/MMentionField.vue.d.ts +102 -0
  42. package/dist/components/MNotificationCenter.vue.d.ts +57 -0
  43. package/dist/components/MQRScanner.vue.d.ts +52 -0
  44. package/dist/components/MQuiz.vue.d.ts +1 -1
  45. package/dist/components/MSimpleCarousel.vue.d.ts +1 -1
  46. package/dist/components/MStack.vue.d.ts +1 -1
  47. package/dist/components/MTimezoneSelect.vue.d.ts +39 -0
  48. package/dist/components/MToolbar.vue.d.ts +1 -1
  49. package/dist/components/MVideoPlayer.vue.d.ts +1 -1
  50. package/dist/components/_MFilterGroup.vue.d.ts +17 -0
  51. package/dist/composables/_caretPosition.d.ts +6 -0
  52. package/dist/composables/_useCamera.d.ts +16 -0
  53. package/dist/composables/_useFollowAnchor.d.ts +15 -0
  54. package/dist/composables/cron.d.ts +29 -0
  55. package/dist/composables/dashboardLayout.d.ts +28 -0
  56. package/dist/composables/filterBuilder.d.ts +55 -0
  57. package/dist/composables/mapAdapters.d.ts +6 -1
  58. package/dist/composables/mapSearch.d.ts +1 -0
  59. package/dist/composables/textDiff.d.ts +24 -0
  60. package/dist/composables/useLocale.d.ts +108 -0
  61. package/dist/draw.js +3 -3
  62. package/dist/flow.js +1 -1
  63. package/dist/gantt.js +1 -1
  64. package/dist/index.d.ts +25 -0
  65. package/dist/locales/index.js +749 -0
  66. package/dist/locales/index.js.map +1 -1
  67. package/dist/m3ui-vue.css +1 -1
  68. package/dist/m3ui.js +9888 -6940
  69. package/dist/m3ui.js.map +1 -1
  70. package/dist/map.d.ts +5 -0
  71. package/dist/map.js +1462 -576
  72. package/dist/map.js.map +1 -1
  73. package/dist/media.js +5 -5
  74. package/dist/pdf.js +5 -5
  75. package/dist/rich-text-editor.js +5 -5
  76. package/dist/styles.css +1 -1
  77. package/dist/{useLocale-COav9m8C.js → useLocale-DaVSTdm0.js} +108 -1
  78. package/dist/useLocale-DaVSTdm0.js.map +1 -0
  79. package/package.json +1 -1
  80. package/src/__tests__/MAddressField.test.ts +149 -0
  81. package/src/__tests__/MAudioRecorder.test.ts +125 -0
  82. package/src/__tests__/MCameraCapture.test.ts +154 -0
  83. package/src/__tests__/MCountrySelect.test.ts +67 -0
  84. package/src/__tests__/MCronField.test.ts +100 -0
  85. package/src/__tests__/MDashboardGrid.test.ts +122 -0
  86. package/src/__tests__/MDiffViewer.test.ts +68 -0
  87. package/src/__tests__/MExpansionPanel.test.ts +107 -0
  88. package/src/__tests__/MFilterBuilder.test.ts +130 -0
  89. package/src/__tests__/MMapCluster.test.ts +127 -0
  90. package/src/__tests__/MMapDraw.test.ts +188 -0
  91. package/src/__tests__/MMapLayers.test.ts +56 -0
  92. package/src/__tests__/MMentionField.test.ts +163 -0
  93. package/src/__tests__/MNotificationCenter.test.ts +94 -0
  94. package/src/__tests__/_fakeMaplibre.ts +14 -3
  95. package/src/__tests__/attrsFallthrough.test.ts +4 -0
  96. package/src/__tests__/cron.test.ts +68 -0
  97. package/src/__tests__/dashboardLayout.test.ts +45 -0
  98. package/src/__tests__/filterBuilder.test.ts +91 -0
  99. package/src/__tests__/followAnchor.test.ts +162 -0
  100. package/src/__tests__/ssr.test.ts +3 -0
  101. package/src/__tests__/textDiff.test.ts +37 -0
  102. package/src/components/MAddressField.vue +301 -0
  103. package/src/components/MAudioRecorder.vue +334 -0
  104. package/src/components/MAutocomplete.vue +3 -7
  105. package/src/components/MCameraCapture.vue +156 -0
  106. package/src/components/MCollapse.vue +91 -0
  107. package/src/components/MColorPicker.vue +4 -8
  108. package/src/components/MCountrySelect.vue +89 -0
  109. package/src/components/MCronField.vue +251 -0
  110. package/src/components/MDashboardGrid.vue +382 -0
  111. package/src/components/MDatePicker.vue +10 -7
  112. package/src/components/MDateRangePicker.vue +10 -7
  113. package/src/components/MDiffViewer.vue +234 -0
  114. package/src/components/MExpansionPanel.vue +56 -48
  115. package/src/components/MFilterBuilder.vue +47 -0
  116. package/src/components/MMapCluster.vue +295 -0
  117. package/src/components/MMapDraw.vue +601 -0
  118. package/src/components/MMapSearch.vue +1 -9
  119. package/src/components/MMentionField.vue +373 -0
  120. package/src/components/MMultiAutocomplete.vue +3 -7
  121. package/src/components/MMultiSelect.vue +3 -7
  122. package/src/components/MNotificationCenter.vue +252 -0
  123. package/src/components/MPhoneInput.vue +3 -10
  124. package/src/components/MQRScanner.vue +177 -0
  125. package/src/components/MSelect.vue +3 -7
  126. package/src/components/MTimePicker.vue +10 -7
  127. package/src/components/MTimezoneSelect.vue +116 -0
  128. package/src/components/_MFilterGroup.vue +210 -0
  129. package/src/composables/_caretPosition.ts +44 -0
  130. package/src/composables/_useCamera.ts +66 -0
  131. package/src/composables/_useFollowAnchor.ts +109 -0
  132. package/src/composables/cron.ts +179 -0
  133. package/src/composables/dashboardLayout.ts +94 -0
  134. package/src/composables/filterBuilder.ts +195 -0
  135. package/src/composables/mapAdapters.ts +29 -15
  136. package/src/composables/mapSearch.ts +10 -0
  137. package/src/composables/textDiff.ts +106 -0
  138. package/src/composables/useLocale.ts +215 -0
  139. package/src/index.ts +25 -0
  140. package/src/locales/de.ts +107 -0
  141. package/src/locales/es.ts +107 -0
  142. package/src/locales/fr.ts +107 -0
  143. package/src/locales/ja.ts +107 -0
  144. package/src/locales/ko.ts +107 -0
  145. package/src/locales/pt.ts +107 -0
  146. package/src/locales/zh.ts +107 -0
  147. package/src/map.ts +5 -0
  148. package/dist/MListItem-DVi1j1QI.js.map +0 -1
  149. package/dist/MMenuItem-CRNZkVVr.js.map +0 -1
  150. package/dist/_useEscapeStack-C5-BYr8y.js.map +0 -1
  151. package/dist/useLocale-COav9m8C.js.map +0 -1
@@ -243,6 +243,8 @@ export interface M3Locale {
243
243
  mapShowLayer: string
244
244
  mapHideLayer: string
245
245
  mapOpacity: string
246
+ /** MMapCluster's bubble: `{count}` points under it; a click zooms in */
247
+ mapClusterZoom: string
246
248
  mapDownload: string
247
249
  mapNoBaseLayer: string
248
250
  mapHoverInfo: string
@@ -251,8 +253,114 @@ export interface M3Locale {
251
253
  mapMeasureArea: string
252
254
  mapClearMeasurements: string
253
255
  mapDeleteMeasurement: string
256
+ mapDrawPoint: string
257
+ mapDrawLine: string
258
+ mapDrawPolygon: string
259
+ mapDeleteFeature: string
254
260
  mapTotal: string
255
261
  mapSearchPlaces: string
262
+ mapAddress: string
263
+ mapPressEnterToSearch: string
264
+ mapSearching: string
265
+ mapNoPlaces: string
266
+ filterMatchAll: string
267
+ filterMatchAny: string
268
+ filterAddCondition: string
269
+ filterAddGroup: string
270
+ filterRemoveCondition: string
271
+ filterRemoveGroup: string
272
+ filterField: string
273
+ filterOperator: string
274
+ filterValue: string
275
+ filterFrom: string
276
+ filterTo: string
277
+ filterNoConditions: string
278
+ filterOpContains: string
279
+ filterOpNotContains: string
280
+ filterOpEquals: string
281
+ filterOpNotEquals: string
282
+ filterOpStartsWith: string
283
+ filterOpEndsWith: string
284
+ filterOpGt: string
285
+ filterOpGte: string
286
+ filterOpLt: string
287
+ filterOpLte: string
288
+ filterOpBetween: string
289
+ filterOpIn: string
290
+ filterOpNotIn: string
291
+ filterOpIsTrue: string
292
+ filterOpIsFalse: string
293
+ filterOpIsEmpty: string
294
+ filterOpIsNotEmpty: string
295
+ filterOpAfter: string
296
+ filterOpBefore: string
297
+ cronExpression: string
298
+ cronInvalid: string
299
+ cronNextRuns: string
300
+ cronFreqMinutes: string
301
+ cronFreqHourly: string
302
+ cronFreqDaily: string
303
+ cronFreqWeekly: string
304
+ cronFreqMonthly: string
305
+ cronFreqCustom: string
306
+ cronEvery: string
307
+ cronMinute: string
308
+ cronTime: string
309
+ cronDayOfMonth: string
310
+ cronEveryMinute: string
311
+ cronEveryNMinutes: string
312
+ cronHourlyAt: string
313
+ cronAt: string
314
+ cronEveryNHoursAt: string
315
+ cronMinutesOfHours: string
316
+ cronOnDaysOfMonth: string
317
+ cronInMonths: string
318
+ cronRange: string
319
+ country: string
320
+ timeZone: string
321
+ cameraStart: string
322
+ cameraStarting: string
323
+ cameraCapture: string
324
+ cameraRetake: string
325
+ cameraUsePhoto: string
326
+ cameraSwitch: string
327
+ cameraDenied: string
328
+ cameraUnavailable: string
329
+ cameraUnsupported: string
330
+ cameraFailed: string
331
+ qrHint: string
332
+ qrUnsupported: string
333
+ recorderStart: string
334
+ recorderStop: string
335
+ recorderPause: string
336
+ recorderResume: string
337
+ recorderDiscard: string
338
+ recorderUse: string
339
+ recorderPlay: string
340
+ recorderPausePlayback: string
341
+ recorderRecording: string
342
+ micDenied: string
343
+ micUnavailable: string
344
+ micUnsupported: string
345
+ dashGrabbed: string
346
+ dashPlaced: string
347
+ dashDropped: string
348
+ dashCancelled: string
349
+ dashResize: string
350
+ diffUnchanged: string
351
+ diffSplit: string
352
+ diffUnified: string
353
+ diffNoChanges: string
354
+ notifTitle: string
355
+ notifMarkAllRead: string
356
+ notifAll: string
357
+ notifUnread: string
358
+ notifEmpty: string
359
+ notifToday: string
360
+ notifYesterday: string
361
+ notifDismiss: string
362
+ notifMarkRead: string
363
+ notifMarkUnread: string
256
364
  /** MTimeline's button past `limit`; `{count}` is how many entries are hidden */
257
365
  timelineShowMore: string
258
366
  timelineShowLess: string
@@ -835,6 +943,7 @@ export const defaultLocale: M3Locale = {
835
943
  mapShowLayer: 'Show layer',
836
944
  mapHideLayer: 'Hide layer',
837
945
  mapOpacity: 'Opacity',
946
+ mapClusterZoom: '{count} places, zoom in',
838
947
  mapDownload: 'Download',
839
948
  mapNoBaseLayer: 'No base layer',
840
949
  mapHoverInfo: 'Info on hover',
@@ -843,8 +952,114 @@ export const defaultLocale: M3Locale = {
843
952
  mapMeasureArea: 'Measure area',
844
953
  mapClearMeasurements: 'Clear measurements',
845
954
  mapDeleteMeasurement: 'Delete measurement',
955
+ mapDrawPoint: 'Draw a point',
956
+ mapDrawLine: 'Draw a line',
957
+ mapDrawPolygon: 'Draw a polygon',
958
+ mapDeleteFeature: 'Delete the selected shape',
846
959
  mapTotal: 'Total',
847
960
  mapSearchPlaces: 'Search places',
961
+ mapAddress: 'Address',
962
+ mapPressEnterToSearch: 'Press Enter to search',
963
+ mapSearching: 'Searching…',
964
+ mapNoPlaces: 'No places found',
965
+ filterMatchAll: 'All',
966
+ filterMatchAny: 'Any',
967
+ filterAddCondition: 'Add condition',
968
+ filterAddGroup: 'Add group',
969
+ filterRemoveCondition: 'Remove condition',
970
+ filterRemoveGroup: 'Remove group',
971
+ filterField: 'Field',
972
+ filterOperator: 'Operator',
973
+ filterValue: 'Value',
974
+ filterFrom: 'From',
975
+ filterTo: 'To',
976
+ filterNoConditions: 'No conditions: every row matches',
977
+ filterOpContains: 'contains',
978
+ filterOpNotContains: "doesn't contain",
979
+ filterOpEquals: 'is',
980
+ filterOpNotEquals: 'is not',
981
+ filterOpStartsWith: 'starts with',
982
+ filterOpEndsWith: 'ends with',
983
+ filterOpGt: 'greater than',
984
+ filterOpGte: 'at least',
985
+ filterOpLt: 'less than',
986
+ filterOpLte: 'at most',
987
+ filterOpBetween: 'between',
988
+ filterOpIn: 'is any of',
989
+ filterOpNotIn: 'is none of',
990
+ filterOpIsTrue: 'is yes',
991
+ filterOpIsFalse: 'is no',
992
+ filterOpIsEmpty: 'is empty',
993
+ filterOpIsNotEmpty: 'is not empty',
994
+ filterOpAfter: 'is after',
995
+ filterOpBefore: 'is before',
996
+ cronExpression: 'Cron expression',
997
+ cronInvalid: 'Not a valid cron expression',
998
+ cronNextRuns: 'Next runs',
999
+ cronFreqMinutes: 'Every few minutes',
1000
+ cronFreqHourly: 'Hourly',
1001
+ cronFreqDaily: 'Daily',
1002
+ cronFreqWeekly: 'Weekly',
1003
+ cronFreqMonthly: 'Monthly',
1004
+ cronFreqCustom: 'Custom',
1005
+ cronEvery: 'Every (minutes)',
1006
+ cronMinute: 'Minute',
1007
+ cronTime: 'Time',
1008
+ cronDayOfMonth: 'Day of the month',
1009
+ cronEveryMinute: 'Every minute',
1010
+ cronEveryNMinutes: 'Every {n} minutes',
1011
+ cronHourlyAt: 'At minute {m} of every hour',
1012
+ cronAt: 'At {time}',
1013
+ cronEveryNHoursAt: 'Every {n} hours, at minute {m}',
1014
+ cronMinutesOfHours: 'At minutes {minutes} of hours {hours}',
1015
+ cronOnDaysOfMonth: 'on day {days} of the month',
1016
+ cronInMonths: 'in {months}',
1017
+ cronRange: '{from} to {to}',
1018
+ country: 'Country',
1019
+ timeZone: 'Time zone',
1020
+ cameraStart: 'Turn on camera',
1021
+ cameraStarting: 'Starting camera…',
1022
+ cameraCapture: 'Take photo',
1023
+ cameraRetake: 'Retake',
1024
+ cameraUsePhoto: 'Use photo',
1025
+ cameraSwitch: 'Switch camera',
1026
+ cameraDenied: 'Camera access was denied. Allow it in the browser to continue.',
1027
+ cameraUnavailable: 'No camera available',
1028
+ cameraUnsupported: "This browser can't use the camera",
1029
+ cameraFailed: "The camera couldn't start",
1030
+ qrHint: 'Point the camera at a code',
1031
+ qrUnsupported: "This browser can't read codes",
1032
+ recorderStart: 'Record',
1033
+ recorderStop: 'Stop',
1034
+ recorderPause: 'Pause',
1035
+ recorderResume: 'Resume',
1036
+ recorderDiscard: 'Discard',
1037
+ recorderUse: 'Use recording',
1038
+ recorderPlay: 'Play',
1039
+ recorderPausePlayback: 'Pause',
1040
+ recorderRecording: 'Recording',
1041
+ micDenied: 'Microphone access was denied. Allow it in the browser to continue.',
1042
+ micUnavailable: 'No microphone available',
1043
+ micUnsupported: "This browser can't record audio",
1044
+ dashGrabbed: 'Picked up {name}. Arrows move it, Shift and arrows resize it, Space drops it, Escape cancels.',
1045
+ dashPlaced: '{name}: column {x}, row {y}, {w} by {h}',
1046
+ dashDropped: '{name} dropped',
1047
+ dashCancelled: 'Move cancelled',
1048
+ dashResize: 'Resize',
1049
+ diffUnchanged: 'Show {n} unchanged lines',
1050
+ diffSplit: 'Side by side',
1051
+ diffUnified: 'Unified',
1052
+ diffNoChanges: 'No changes',
1053
+ notifTitle: 'Notifications',
1054
+ notifMarkAllRead: 'Mark all as read',
1055
+ notifAll: 'All',
1056
+ notifUnread: 'Unread',
1057
+ notifEmpty: "You're all caught up",
1058
+ notifToday: 'Today',
1059
+ notifYesterday: 'Yesterday',
1060
+ notifDismiss: 'Dismiss',
1061
+ notifMarkRead: 'Mark as read',
1062
+ notifMarkUnread: 'Mark as unread',
848
1063
  timelineShowMore: 'Show {count} more',
849
1064
  timelineShowLess: 'Show less',
850
1065
  mediaPlayer: 'Media player',
package/src/index.ts CHANGED
@@ -129,6 +129,7 @@ export { default as MEmojiButton } from './components/MEmojiButton.vue'
129
129
  export { default as MEmojiSelector } from './components/MEmojiSelector.vue'
130
130
  export { default as MEmptyState } from './components/MEmptyState.vue'
131
131
  export { default as MExpansionPanel } from './components/MExpansionPanel.vue'
132
+ export { default as MCollapse } from './components/MCollapse.vue'
132
133
  export { default as MExportButton } from './components/MExportButton.vue'
133
134
  export { default as MFab } from './components/MFab.vue'
134
135
  export { default as MFabMenu } from './components/MFabMenu.vue'
@@ -169,6 +170,27 @@ export { default as MMenu } from './components/MMenu.vue'
169
170
  export { default as MMenuDivider } from './components/MMenuDivider.vue'
170
171
  export { default as MMenuItem } from './components/MMenuItem.vue'
171
172
  export { default as MMaskField } from './components/MMaskField.vue'
173
+ export { default as MMentionField } from './components/MMentionField.vue'
174
+ export type { MentionItem, MentionSource, MentionRef } from './components/MMentionField.vue'
175
+ export { default as MCronField } from './components/MCronField.vue'
176
+ export { parseCron, isValidCron, describeCron, nextCronRuns } from './composables/cron'
177
+ export type { CronSchedule, CronStrings } from './composables/cron'
178
+ export { default as MCountrySelect } from './components/MCountrySelect.vue'
179
+ export { default as MTimezoneSelect } from './components/MTimezoneSelect.vue'
180
+ export { default as MCameraCapture } from './components/MCameraCapture.vue'
181
+ export type { CameraPhoto } from './components/MCameraCapture.vue'
182
+ export { default as MQRScanner } from './components/MQRScanner.vue'
183
+ export type { ScanResult, ScanDetector } from './components/MQRScanner.vue'
184
+ export { default as MAudioRecorder } from './components/MAudioRecorder.vue'
185
+ export type { AudioRecording } from './components/MAudioRecorder.vue'
186
+ export { default as MDashboardGrid } from './components/MDashboardGrid.vue'
187
+ export { moveItem, compactLayout, normalizeLayout, clampItem, layoutRows } from './composables/dashboardLayout'
188
+ export type { DashboardItem } from './composables/dashboardLayout'
189
+ export { default as MDiffViewer } from './components/MDiffViewer.vue'
190
+ export { diffLines, diffWords, diffStats } from './composables/textDiff'
191
+ export type { DiffLine, DiffPart, DiffOp } from './composables/textDiff'
192
+ export { default as MNotificationCenter } from './components/MNotificationCenter.vue'
193
+ export type { InboxNotification } from './components/MNotificationCenter.vue'
172
194
  export type { MaskPreset } from './components/MMaskField.vue'
173
195
  export { default as MMultiAutocomplete } from './components/MMultiAutocomplete.vue'
174
196
  export { default as MMultiSelect } from './components/MMultiSelect.vue'
@@ -304,6 +326,9 @@ export type { Placement } from './components/MAbsolute.vue'
304
326
  export type { BadgePosition, BadgeOverlap } from './components/MBadge.vue'
305
327
  export type { CalendarEvent } from './components/MCalendar.vue'
306
328
  export type { DataTableColumn, DataTableFetchParams } from './components/MDataTable.vue'
329
+ export { default as MFilterBuilder } from './components/MFilterBuilder.vue'
330
+ export { filterRows, matchesFilter, createFilter, createRule, createGroup, operatorsFor, countRules, isComplete, FILTER_OPERATORS } from './composables/filterBuilder'
331
+ export type { FilterField, FilterFieldType, FilterOperator, FilterRule, FilterGroup } from './composables/filterBuilder'
307
332
  export type { DateRange } from './components/MDateRangePicker.vue'
308
333
  export type { DragDropItem } from './components/MDragDropList.vue'
309
334
  export type { UploadFile } from './components/MFileUpload.vue'
package/src/locales/de.ts CHANGED
@@ -225,6 +225,7 @@ export const deLocale: M3Locale = {
225
225
  mapShowLayer: 'Ebene einblenden',
226
226
  mapHideLayer: 'Ebene ausblenden',
227
227
  mapOpacity: 'Deckkraft',
228
+ mapClusterZoom: '{count} Orte, vergrößern',
228
229
  mapDownload: 'Herunterladen',
229
230
  mapNoBaseLayer: 'Keine Grundkarte',
230
231
  mapHoverInfo: 'Infos beim Überfahren',
@@ -233,8 +234,114 @@ export const deLocale: M3Locale = {
233
234
  mapMeasureArea: 'Fläche messen',
234
235
  mapClearMeasurements: 'Messungen löschen',
235
236
  mapDeleteMeasurement: 'Messung löschen',
237
+ mapDrawPoint: 'Punkt zeichnen',
238
+ mapDrawLine: 'Linie zeichnen',
239
+ mapDrawPolygon: 'Polygon zeichnen',
240
+ mapDeleteFeature: 'Ausgewählte Form löschen',
236
241
  mapTotal: 'Gesamt',
237
242
  mapSearchPlaces: 'Orte suchen',
243
+ mapAddress: 'Adresse',
244
+ mapPressEnterToSearch: 'Zum Suchen Enter drücken',
245
+ mapSearching: 'Suche läuft…',
246
+ mapNoPlaces: 'Keine Orte gefunden',
247
+ filterMatchAll: 'Alle',
248
+ filterMatchAny: 'Eine',
249
+ filterAddCondition: 'Bedingung hinzufügen',
250
+ filterAddGroup: 'Gruppe hinzufügen',
251
+ filterRemoveCondition: 'Bedingung entfernen',
252
+ filterRemoveGroup: 'Gruppe entfernen',
253
+ filterField: 'Feld',
254
+ filterOperator: 'Operator',
255
+ filterValue: 'Wert',
256
+ filterFrom: 'Von',
257
+ filterTo: 'Bis',
258
+ filterNoConditions: 'Keine Bedingungen: alle Zeilen passen',
259
+ filterOpContains: 'enthält',
260
+ filterOpNotContains: 'enthält nicht',
261
+ filterOpEquals: 'ist',
262
+ filterOpNotEquals: 'ist nicht',
263
+ filterOpStartsWith: 'beginnt mit',
264
+ filterOpEndsWith: 'endet mit',
265
+ filterOpGt: 'größer als',
266
+ filterOpGte: 'mindestens',
267
+ filterOpLt: 'kleiner als',
268
+ filterOpLte: 'höchstens',
269
+ filterOpBetween: 'zwischen',
270
+ filterOpIn: 'ist eines von',
271
+ filterOpNotIn: 'ist keines von',
272
+ filterOpIsTrue: 'ist ja',
273
+ filterOpIsFalse: 'ist nein',
274
+ filterOpIsEmpty: 'ist leer',
275
+ filterOpIsNotEmpty: 'ist nicht leer',
276
+ filterOpAfter: 'ist nach',
277
+ filterOpBefore: 'ist vor',
278
+ cronExpression: 'Cron-Ausdruck',
279
+ cronInvalid: 'Kein gültiger Cron-Ausdruck',
280
+ cronNextRuns: 'Nächste Ausführungen',
281
+ cronFreqMinutes: 'Alle paar Minuten',
282
+ cronFreqHourly: 'Stündlich',
283
+ cronFreqDaily: 'Täglich',
284
+ cronFreqWeekly: 'Wöchentlich',
285
+ cronFreqMonthly: 'Monatlich',
286
+ cronFreqCustom: 'Benutzerdefiniert',
287
+ cronEvery: 'Alle (Minuten)',
288
+ cronMinute: 'Minute',
289
+ cronTime: 'Uhrzeit',
290
+ cronDayOfMonth: 'Tag des Monats',
291
+ cronEveryMinute: 'Jede Minute',
292
+ cronEveryNMinutes: 'Alle {n} Minuten',
293
+ cronHourlyAt: 'In Minute {m} jeder Stunde',
294
+ cronAt: 'Um {time}',
295
+ cronEveryNHoursAt: 'Alle {n} Stunden, in Minute {m}',
296
+ cronMinutesOfHours: 'In den Minuten {minutes} der Stunden {hours}',
297
+ cronOnDaysOfMonth: 'am {days}. des Monats',
298
+ cronInMonths: 'im {months}',
299
+ cronRange: '{from} bis {to}',
300
+ country: 'Land',
301
+ timeZone: 'Zeitzone',
302
+ cameraStart: 'Kamera einschalten',
303
+ cameraStarting: 'Kamera wird gestartet…',
304
+ cameraCapture: 'Foto aufnehmen',
305
+ cameraRetake: 'Wiederholen',
306
+ cameraUsePhoto: 'Foto verwenden',
307
+ cameraSwitch: 'Kamera wechseln',
308
+ cameraDenied: 'Der Kamerazugriff wurde verweigert. Erlaube ihn im Browser, um fortzufahren.',
309
+ cameraUnavailable: 'Keine Kamera verfügbar',
310
+ cameraUnsupported: 'Dieser Browser kann die Kamera nicht verwenden',
311
+ cameraFailed: 'Die Kamera konnte nicht gestartet werden',
312
+ qrHint: 'Richte die Kamera auf einen Code',
313
+ qrUnsupported: 'Dieser Browser kann keine Codes lesen',
314
+ recorderStart: 'Aufnehmen',
315
+ recorderStop: 'Stoppen',
316
+ recorderPause: 'Pausieren',
317
+ recorderResume: 'Fortsetzen',
318
+ recorderDiscard: 'Verwerfen',
319
+ recorderUse: 'Aufnahme verwenden',
320
+ recorderPlay: 'Abspielen',
321
+ recorderPausePlayback: 'Pausieren',
322
+ recorderRecording: 'Aufnahme läuft',
323
+ micDenied: 'Der Mikrofonzugriff wurde verweigert. Erlaube ihn im Browser, um fortzufahren.',
324
+ micUnavailable: 'Kein Mikrofon verfügbar',
325
+ micUnsupported: 'Dieser Browser kann keinen Ton aufnehmen',
326
+ dashGrabbed: '{name} aufgenommen. Pfeiltasten verschieben, Umschalt und Pfeiltasten ändern die Größe, Leertaste legt ab, Escape bricht ab.',
327
+ dashPlaced: '{name}: Spalte {x}, Zeile {y}, {w} mal {h}',
328
+ dashDropped: '{name} abgelegt',
329
+ dashCancelled: 'Verschieben abgebrochen',
330
+ dashResize: 'Größe ändern',
331
+ diffUnchanged: '{n} unveränderte Zeilen anzeigen',
332
+ diffSplit: 'Nebeneinander',
333
+ diffUnified: 'Einheitlich',
334
+ diffNoChanges: 'Keine Änderungen',
335
+ notifTitle: 'Benachrichtigungen',
336
+ notifMarkAllRead: 'Alle als gelesen markieren',
337
+ notifAll: 'Alle',
338
+ notifUnread: 'Ungelesen',
339
+ notifEmpty: 'Du bist auf dem neuesten Stand',
340
+ notifToday: 'Heute',
341
+ notifYesterday: 'Gestern',
342
+ notifDismiss: 'Verwerfen',
343
+ notifMarkRead: 'Als gelesen markieren',
344
+ notifMarkUnread: 'Als ungelesen markieren',
238
345
  timelineShowMore: '{count} weitere anzeigen',
239
346
  timelineShowLess: 'Weniger anzeigen',
240
347
  mediaPlayer: 'Mediaplayer',
package/src/locales/es.ts CHANGED
@@ -225,6 +225,7 @@ export const esLocale: M3Locale = {
225
225
  mapShowLayer: 'Mostrar capa',
226
226
  mapHideLayer: 'Ocultar capa',
227
227
  mapOpacity: 'Opacidad',
228
+ mapClusterZoom: '{count} lugares, acercar',
228
229
  mapDownload: 'Descargar',
229
230
  mapNoBaseLayer: 'Sin capa base',
230
231
  mapHoverInfo: 'Información al pasar el cursor',
@@ -233,8 +234,114 @@ export const esLocale: M3Locale = {
233
234
  mapMeasureArea: 'Medir área',
234
235
  mapClearMeasurements: 'Borrar mediciones',
235
236
  mapDeleteMeasurement: 'Borrar medición',
237
+ mapDrawPoint: 'Dibujar un punto',
238
+ mapDrawLine: 'Dibujar una línea',
239
+ mapDrawPolygon: 'Dibujar un polígono',
240
+ mapDeleteFeature: 'Borrar la forma seleccionada',
236
241
  mapTotal: 'Total',
237
242
  mapSearchPlaces: 'Buscar lugares',
243
+ mapAddress: 'Dirección',
244
+ mapPressEnterToSearch: 'Pulsa Enter para buscar',
245
+ mapSearching: 'Buscando…',
246
+ mapNoPlaces: 'No se encontraron lugares',
247
+ filterMatchAll: 'Todas',
248
+ filterMatchAny: 'Alguna',
249
+ filterAddCondition: 'Agregar condición',
250
+ filterAddGroup: 'Agregar grupo',
251
+ filterRemoveCondition: 'Quitar condición',
252
+ filterRemoveGroup: 'Quitar grupo',
253
+ filterField: 'Campo',
254
+ filterOperator: 'Operador',
255
+ filterValue: 'Valor',
256
+ filterFrom: 'Desde',
257
+ filterTo: 'Hasta',
258
+ filterNoConditions: 'Sin condiciones: coinciden todas las filas',
259
+ filterOpContains: 'contiene',
260
+ filterOpNotContains: 'no contiene',
261
+ filterOpEquals: 'es',
262
+ filterOpNotEquals: 'no es',
263
+ filterOpStartsWith: 'empieza con',
264
+ filterOpEndsWith: 'termina con',
265
+ filterOpGt: 'mayor que',
266
+ filterOpGte: 'al menos',
267
+ filterOpLt: 'menor que',
268
+ filterOpLte: 'como máximo',
269
+ filterOpBetween: 'entre',
270
+ filterOpIn: 'es alguno de',
271
+ filterOpNotIn: 'no es ninguno de',
272
+ filterOpIsTrue: 'es sí',
273
+ filterOpIsFalse: 'es no',
274
+ filterOpIsEmpty: 'está vacío',
275
+ filterOpIsNotEmpty: 'no está vacío',
276
+ filterOpAfter: 'es posterior a',
277
+ filterOpBefore: 'es anterior a',
278
+ cronExpression: 'Expresión cron',
279
+ cronInvalid: 'No es una expresión cron válida',
280
+ cronNextRuns: 'Próximas ejecuciones',
281
+ cronFreqMinutes: 'Cada pocos minutos',
282
+ cronFreqHourly: 'Cada hora',
283
+ cronFreqDaily: 'Diario',
284
+ cronFreqWeekly: 'Semanal',
285
+ cronFreqMonthly: 'Mensual',
286
+ cronFreqCustom: 'Personalizado',
287
+ cronEvery: 'Cada (minutos)',
288
+ cronMinute: 'Minuto',
289
+ cronTime: 'Hora',
290
+ cronDayOfMonth: 'Día del mes',
291
+ cronEveryMinute: 'Cada minuto',
292
+ cronEveryNMinutes: 'Cada {n} minutos',
293
+ cronHourlyAt: 'En el minuto {m} de cada hora',
294
+ cronAt: 'A las {time}',
295
+ cronEveryNHoursAt: 'Cada {n} horas, en el minuto {m}',
296
+ cronMinutesOfHours: 'En los minutos {minutes} de las horas {hours}',
297
+ cronOnDaysOfMonth: 'el día {days} del mes',
298
+ cronInMonths: 'en {months}',
299
+ cronRange: '{from} a {to}',
300
+ country: 'País',
301
+ timeZone: 'Zona horaria',
302
+ cameraStart: 'Activar cámara',
303
+ cameraStarting: 'Iniciando cámara…',
304
+ cameraCapture: 'Tomar foto',
305
+ cameraRetake: 'Repetir',
306
+ cameraUsePhoto: 'Usar foto',
307
+ cameraSwitch: 'Cambiar cámara',
308
+ cameraDenied: 'Se denegó el acceso a la cámara. Permítelo en el navegador para continuar.',
309
+ cameraUnavailable: 'No hay cámara disponible',
310
+ cameraUnsupported: 'Este navegador no puede usar la cámara',
311
+ cameraFailed: 'No se pudo iniciar la cámara',
312
+ qrHint: 'Apunta la cámara a un código',
313
+ qrUnsupported: 'Este navegador no puede leer códigos',
314
+ recorderStart: 'Grabar',
315
+ recorderStop: 'Detener',
316
+ recorderPause: 'Pausar',
317
+ recorderResume: 'Reanudar',
318
+ recorderDiscard: 'Descartar',
319
+ recorderUse: 'Usar grabación',
320
+ recorderPlay: 'Reproducir',
321
+ recorderPausePlayback: 'Pausar',
322
+ recorderRecording: 'Grabando',
323
+ micDenied: 'Se denegó el acceso al micrófono. Permítelo en el navegador para continuar.',
324
+ micUnavailable: 'No hay micrófono disponible',
325
+ micUnsupported: 'Este navegador no puede grabar audio',
326
+ dashGrabbed: '{name} tomado. Las flechas lo mueven, Mayús y flechas lo redimensionan, Espacio lo suelta, Escape cancela.',
327
+ dashPlaced: '{name}: columna {x}, fila {y}, {w} por {h}',
328
+ dashDropped: '{name} soltado',
329
+ dashCancelled: 'Movimiento cancelado',
330
+ dashResize: 'Redimensionar',
331
+ diffUnchanged: 'Mostrar {n} líneas sin cambios',
332
+ diffSplit: 'Lado a lado',
333
+ diffUnified: 'Unificado',
334
+ diffNoChanges: 'Sin cambios',
335
+ notifTitle: 'Notificaciones',
336
+ notifMarkAllRead: 'Marcar todo como leído',
337
+ notifAll: 'Todas',
338
+ notifUnread: 'No leídas',
339
+ notifEmpty: 'Estás al día',
340
+ notifToday: 'Hoy',
341
+ notifYesterday: 'Ayer',
342
+ notifDismiss: 'Descartar',
343
+ notifMarkRead: 'Marcar como leída',
344
+ notifMarkUnread: 'Marcar como no leída',
238
345
  timelineShowMore: 'Mostrar {count} más',
239
346
  timelineShowLess: 'Mostrar menos',
240
347
  mediaPlayer: 'Reproductor multimedia',
package/src/locales/fr.ts CHANGED
@@ -225,6 +225,7 @@ export const frLocale: M3Locale = {
225
225
  mapShowLayer: 'Afficher le calque',
226
226
  mapHideLayer: 'Masquer le calque',
227
227
  mapOpacity: 'Opacité',
228
+ mapClusterZoom: '{count} lieux, zoomer',
228
229
  mapDownload: 'Télécharger',
229
230
  mapNoBaseLayer: 'Aucun fond de carte',
230
231
  mapHoverInfo: 'Infos au survol',
@@ -233,8 +234,114 @@ export const frLocale: M3Locale = {
233
234
  mapMeasureArea: 'Mesurer une surface',
234
235
  mapClearMeasurements: 'Effacer les mesures',
235
236
  mapDeleteMeasurement: 'Supprimer la mesure',
237
+ mapDrawPoint: 'Dessiner un point',
238
+ mapDrawLine: 'Dessiner une ligne',
239
+ mapDrawPolygon: 'Dessiner un polygone',
240
+ mapDeleteFeature: 'Supprimer la forme sélectionnée',
236
241
  mapTotal: 'Total',
237
242
  mapSearchPlaces: 'Rechercher un lieu',
243
+ mapAddress: 'Adresse',
244
+ mapPressEnterToSearch: 'Appuyez sur Entrée pour rechercher',
245
+ mapSearching: 'Recherche…',
246
+ mapNoPlaces: 'Aucun lieu trouvé',
247
+ filterMatchAll: 'Toutes',
248
+ filterMatchAny: 'Au moins une',
249
+ filterAddCondition: 'Ajouter une condition',
250
+ filterAddGroup: 'Ajouter un groupe',
251
+ filterRemoveCondition: 'Supprimer la condition',
252
+ filterRemoveGroup: 'Supprimer le groupe',
253
+ filterField: 'Champ',
254
+ filterOperator: 'Opérateur',
255
+ filterValue: 'Valeur',
256
+ filterFrom: 'De',
257
+ filterTo: 'À',
258
+ filterNoConditions: 'Aucune condition : toutes les lignes correspondent',
259
+ filterOpContains: 'contient',
260
+ filterOpNotContains: 'ne contient pas',
261
+ filterOpEquals: 'est',
262
+ filterOpNotEquals: "n'est pas",
263
+ filterOpStartsWith: 'commence par',
264
+ filterOpEndsWith: 'se termine par',
265
+ filterOpGt: 'supérieur à',
266
+ filterOpGte: 'au moins',
267
+ filterOpLt: 'inférieur à',
268
+ filterOpLte: 'au plus',
269
+ filterOpBetween: 'entre',
270
+ filterOpIn: "est l'un de",
271
+ filterOpNotIn: "n'est aucun de",
272
+ filterOpIsTrue: 'est oui',
273
+ filterOpIsFalse: 'est non',
274
+ filterOpIsEmpty: 'est vide',
275
+ filterOpIsNotEmpty: "n'est pas vide",
276
+ filterOpAfter: 'est après',
277
+ filterOpBefore: 'est avant',
278
+ cronExpression: 'Expression cron',
279
+ cronInvalid: "Ce n'est pas une expression cron valide",
280
+ cronNextRuns: 'Prochaines exécutions',
281
+ cronFreqMinutes: 'Toutes les quelques minutes',
282
+ cronFreqHourly: 'Toutes les heures',
283
+ cronFreqDaily: 'Quotidien',
284
+ cronFreqWeekly: 'Hebdomadaire',
285
+ cronFreqMonthly: 'Mensuel',
286
+ cronFreqCustom: 'Personnalisé',
287
+ cronEvery: 'Toutes les (minutes)',
288
+ cronMinute: 'Minute',
289
+ cronTime: 'Heure',
290
+ cronDayOfMonth: 'Jour du mois',
291
+ cronEveryMinute: 'Chaque minute',
292
+ cronEveryNMinutes: 'Toutes les {n} minutes',
293
+ cronHourlyAt: 'À la minute {m} de chaque heure',
294
+ cronAt: 'À {time}',
295
+ cronEveryNHoursAt: 'Toutes les {n} heures, à la minute {m}',
296
+ cronMinutesOfHours: 'Aux minutes {minutes} des heures {hours}',
297
+ cronOnDaysOfMonth: 'le {days} du mois',
298
+ cronInMonths: 'en {months}',
299
+ cronRange: '{from} à {to}',
300
+ country: 'Pays',
301
+ timeZone: 'Fuseau horaire',
302
+ cameraStart: 'Activer la caméra',
303
+ cameraStarting: 'Démarrage de la caméra…',
304
+ cameraCapture: 'Prendre une photo',
305
+ cameraRetake: 'Reprendre',
306
+ cameraUsePhoto: 'Utiliser la photo',
307
+ cameraSwitch: 'Changer de caméra',
308
+ cameraDenied: "L'accès à la caméra a été refusé. Autorisez-le dans le navigateur pour continuer.",
309
+ cameraUnavailable: 'Aucune caméra disponible',
310
+ cameraUnsupported: 'Ce navigateur ne peut pas utiliser la caméra',
311
+ cameraFailed: "La caméra n'a pas pu démarrer",
312
+ qrHint: 'Pointez la caméra vers un code',
313
+ qrUnsupported: 'Ce navigateur ne peut pas lire les codes',
314
+ recorderStart: 'Enregistrer',
315
+ recorderStop: 'Arrêter',
316
+ recorderPause: 'Pause',
317
+ recorderResume: 'Reprendre',
318
+ recorderDiscard: 'Supprimer',
319
+ recorderUse: "Utiliser l'enregistrement",
320
+ recorderPlay: 'Lire',
321
+ recorderPausePlayback: 'Pause',
322
+ recorderRecording: 'Enregistrement',
323
+ micDenied: "L'accès au micro a été refusé. Autorisez-le dans le navigateur pour continuer.",
324
+ micUnavailable: 'Aucun micro disponible',
325
+ micUnsupported: 'Ce navigateur ne peut pas enregistrer de son',
326
+ dashGrabbed: '{name} saisi. Les flèches le déplacent, Maj et flèches le redimensionnent, Espace le dépose, Échap annule.',
327
+ dashPlaced: '{name} : colonne {x}, ligne {y}, {w} sur {h}',
328
+ dashDropped: '{name} déposé',
329
+ dashCancelled: 'Déplacement annulé',
330
+ dashResize: 'Redimensionner',
331
+ diffUnchanged: 'Afficher {n} lignes inchangées',
332
+ diffSplit: 'Côte à côte',
333
+ diffUnified: 'Unifié',
334
+ diffNoChanges: 'Aucune modification',
335
+ notifTitle: 'Notifications',
336
+ notifMarkAllRead: 'Tout marquer comme lu',
337
+ notifAll: 'Toutes',
338
+ notifUnread: 'Non lues',
339
+ notifEmpty: 'Vous êtes à jour',
340
+ notifToday: "Aujourd'hui",
341
+ notifYesterday: 'Hier',
342
+ notifDismiss: 'Ignorer',
343
+ notifMarkRead: 'Marquer comme lue',
344
+ notifMarkUnread: 'Marquer comme non lue',
238
345
  timelineShowMore: 'Afficher {count} de plus',
239
346
  timelineShowLess: 'Afficher moins',
240
347
  mediaPlayer: 'Lecteur multimédia',