@m3ui-vue/m3ui-vue 0.8.7 → 0.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.
- package/README.md +13 -3
- package/dist/{MMenuItem-DmrsQrK7.js → MTextField-B0wGv1Mx.js} +374 -364
- package/dist/MTextField-B0wGv1Mx.js.map +1 -0
- package/dist/barcode.js +9 -11
- package/dist/barcode.js.map +1 -1
- package/dist/code-editor.js +2 -2
- package/dist/code-editor.js.map +1 -1
- package/dist/components/MCarousel.vue.d.ts +55 -36
- package/dist/components/MDialog.vue.d.ts +4 -2
- package/dist/components/MEmojiSelector.vue.d.ts +21 -5
- package/dist/components/MFabMenu.vue.d.ts +1 -1
- package/dist/components/MFlex.vue.d.ts +1 -1
- package/dist/components/MLightbox.vue.d.ts +15 -5
- package/dist/components/MScheduler.vue.d.ts +38 -1
- package/dist/components/MShape.vue.d.ts +1 -1
- package/dist/components/MSimpleCarousel.vue.d.ts +2 -2
- package/dist/components/MSlider.vue.d.ts +1 -1
- package/dist/components/MStack.vue.d.ts +1 -1
- package/dist/components/MToolbar.vue.d.ts +1 -1
- package/dist/components/MWindow.vue.d.ts +1 -1
- package/dist/composables/_carouselStrategy.d.ts +101 -0
- package/dist/composables/useLocale.d.ts +23 -0
- package/dist/data/emoji-names/emoji-names-de.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-en.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-es.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-fr.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-ja.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-ko.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-pt.d.ts +2 -0
- package/dist/data/emoji-names/emoji-names-zh.d.ts +2 -0
- package/dist/data/emojis.d.ts +7 -1
- package/dist/emoji-names-de-BphO5XpV.js +1877 -0
- package/dist/emoji-names-de-BphO5XpV.js.map +1 -0
- package/dist/emoji-names-en-9ZvMRvzi.js +1877 -0
- package/dist/emoji-names-en-9ZvMRvzi.js.map +1 -0
- package/dist/emoji-names-es-DvfWU3Pj.js +1877 -0
- package/dist/emoji-names-es-DvfWU3Pj.js.map +1 -0
- package/dist/emoji-names-fr-B-jhUlsP.js +1877 -0
- package/dist/emoji-names-fr-B-jhUlsP.js.map +1 -0
- package/dist/emoji-names-ja-l8cMFJo1.js +1877 -0
- package/dist/emoji-names-ja-l8cMFJo1.js.map +1 -0
- package/dist/emoji-names-ko-YP-o9G0c.js +1877 -0
- package/dist/emoji-names-ko-YP-o9G0c.js.map +1 -0
- package/dist/emoji-names-pt-DGj_Js4M.js +1877 -0
- package/dist/emoji-names-pt-DGj_Js4M.js.map +1 -0
- package/dist/emoji-names-zh-Dzecwtw_.js +1877 -0
- package/dist/emoji-names-zh-Dzecwtw_.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/locales/index.js +168 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +3926 -2430
- package/dist/m3ui.js.map +1 -1
- package/dist/plugin.d.ts +6 -0
- package/dist/rich-text-editor.js +9 -9
- package/dist/styles.css +1 -1
- package/dist/terminal.js +34 -27
- package/dist/terminal.js.map +1 -1
- package/dist/{useLocale-Bircp823.js → useLocale-CmI675Ab.js} +25 -2
- package/dist/useLocale-CmI675Ab.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/MCarousel.test.ts +183 -21
- package/src/__tests__/MDialog.test.ts +18 -0
- package/src/__tests__/MEmojiSelector.test.ts +138 -0
- package/src/__tests__/MLightbox.test.ts +313 -5
- package/src/__tests__/MPagination.test.ts +37 -0
- package/src/__tests__/MPullToRefresh.test.ts +39 -0
- package/src/__tests__/MScheduler.test.ts +122 -0
- package/src/__tests__/MTerminal.test.ts +63 -0
- package/src/__tests__/attrsFallthrough.test.ts +65 -0
- package/src/__tests__/plugin.test.ts +28 -1
- package/src/components/MBarcode.vue +4 -2
- package/src/components/MBottomSheet.vue +1 -1
- package/src/components/MCarousel.vue +526 -200
- package/src/components/MCodeEditor.vue +3 -2
- package/src/components/MCommandPalette.vue +1 -1
- package/src/components/MContextMenu.vue +3 -1
- package/src/components/MDatePickerModal.vue +1 -1
- package/src/components/MDateRangePickerModal.vue +1 -1
- package/src/components/MDialog.vue +19 -6
- package/src/components/MEmojiSelector.vue +479 -78
- package/src/components/MFab.vue +3 -1
- package/src/components/MLightbox.vue +750 -268
- package/src/components/MLoadingOverlay.vue +6 -1
- package/src/components/MMenu.vue +3 -1
- package/src/components/MNavigationDrawer.vue +5 -1
- package/src/components/MNavigationRail.vue +8 -2
- package/src/components/MOverlay.vue +1 -0
- package/src/components/MPagination.vue +8 -5
- package/src/components/MPullToRefresh.vue +13 -1
- package/src/components/MScheduler.vue +282 -115
- package/src/components/MSideSheet.vue +1 -1
- package/src/components/MSplitButton.vue +3 -1
- package/src/components/MSpotlightSearch.vue +1 -1
- package/src/components/MTerminal.vue +22 -10
- package/src/components/MTimePickerModal.vue +1 -1
- package/src/components/MTooltip.vue +3 -0
- package/src/components/MTour.vue +2 -2
- package/src/composables/_carouselStrategy.ts +712 -0
- package/src/composables/useLocale.ts +48 -0
- package/src/data/emoji-names/emoji-names-de.ts +1875 -0
- package/src/data/emoji-names/emoji-names-en.ts +1875 -0
- package/src/data/emoji-names/emoji-names-es.ts +1875 -0
- package/src/data/emoji-names/emoji-names-fr.ts +1875 -0
- package/src/data/emoji-names/emoji-names-ja.ts +1875 -0
- package/src/data/emoji-names/emoji-names-ko.ts +1875 -0
- package/src/data/emoji-names/emoji-names-pt.ts +1875 -0
- package/src/data/emoji-names/emoji-names-zh.ts +1875 -0
- package/src/data/emojis.ts +29 -198
- package/src/index.ts +2 -2
- package/src/locales/de.ts +24 -0
- package/src/locales/es.ts +24 -0
- package/src/locales/fr.ts +24 -0
- package/src/locales/ja.ts +24 -0
- package/src/locales/ko.ts +24 -0
- package/src/locales/pt.ts +24 -0
- package/src/locales/zh.ts +24 -0
- package/src/plugin.ts +12 -1
- package/dist/MMenuItem-DmrsQrK7.js.map +0 -1
- package/dist/useLocale-Bircp823.js.map +0 -1
|
@@ -48,6 +48,23 @@ export interface M3Locale {
|
|
|
48
48
|
// Scheduler
|
|
49
49
|
dayView: string
|
|
50
50
|
weekView: string
|
|
51
|
+
allDay: string
|
|
52
|
+
emojiSearch: string
|
|
53
|
+
emojiNoResults: string
|
|
54
|
+
emojiRecent: string
|
|
55
|
+
emojiSkinTone: string
|
|
56
|
+
emojiSkinTones: string
|
|
57
|
+
emojiCategorySmileys: string
|
|
58
|
+
emojiCategoryGestures: string
|
|
59
|
+
emojiCategoryPeople: string
|
|
60
|
+
emojiCategoryAnimals: string
|
|
61
|
+
emojiCategoryNature: string
|
|
62
|
+
emojiCategoryFood: string
|
|
63
|
+
emojiCategoryActivities: string
|
|
64
|
+
emojiCategoryTravel: string
|
|
65
|
+
emojiCategoryObjects: string
|
|
66
|
+
emojiCategorySymbols: string
|
|
67
|
+
emojiCategoryFlags: string
|
|
51
68
|
|
|
52
69
|
// Transfer list
|
|
53
70
|
available: string
|
|
@@ -142,6 +159,13 @@ export interface M3Locale {
|
|
|
142
159
|
windowMinimize: string
|
|
143
160
|
windowMaximize: string
|
|
144
161
|
windowRestore: string
|
|
162
|
+
// MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)
|
|
163
|
+
paginationRange: string
|
|
164
|
+
paginationPage: string
|
|
165
|
+
previousPage: string
|
|
166
|
+
nextPage: string
|
|
167
|
+
carousel: string
|
|
168
|
+
carouselItem: string
|
|
145
169
|
}
|
|
146
170
|
|
|
147
171
|
export const defaultLocale: M3Locale = {
|
|
@@ -184,6 +208,23 @@ export const defaultLocale: M3Locale = {
|
|
|
184
208
|
|
|
185
209
|
dayView: 'Day',
|
|
186
210
|
weekView: 'Week',
|
|
211
|
+
allDay: 'All day',
|
|
212
|
+
emojiSearch: 'Search emoji',
|
|
213
|
+
emojiNoResults: 'No emoji found',
|
|
214
|
+
emojiRecent: 'Recently used',
|
|
215
|
+
emojiSkinTone: 'Skin tone',
|
|
216
|
+
emojiSkinTones: 'No skin tone|Light|Medium-light|Medium|Medium-dark|Dark',
|
|
217
|
+
emojiCategorySmileys: 'Smileys',
|
|
218
|
+
emojiCategoryGestures: 'Gestures',
|
|
219
|
+
emojiCategoryPeople: 'People',
|
|
220
|
+
emojiCategoryAnimals: 'Animals',
|
|
221
|
+
emojiCategoryNature: 'Nature',
|
|
222
|
+
emojiCategoryFood: 'Food & drink',
|
|
223
|
+
emojiCategoryActivities: 'Activities',
|
|
224
|
+
emojiCategoryTravel: 'Travel & places',
|
|
225
|
+
emojiCategoryObjects: 'Objects',
|
|
226
|
+
emojiCategorySymbols: 'Symbols',
|
|
227
|
+
emojiCategoryFlags: 'Flags',
|
|
187
228
|
|
|
188
229
|
available: 'Available',
|
|
189
230
|
selected: 'Selected',
|
|
@@ -271,6 +312,13 @@ export const defaultLocale: M3Locale = {
|
|
|
271
312
|
windowMinimize: 'Minimize',
|
|
272
313
|
windowMaximize: 'Maximize',
|
|
273
314
|
windowRestore: 'Restore',
|
|
315
|
+
// MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)
|
|
316
|
+
paginationRange: '{from}–{to} of {total}',
|
|
317
|
+
paginationPage: 'Page {page} of {pages}',
|
|
318
|
+
previousPage: 'Previous page',
|
|
319
|
+
nextPage: 'Next page',
|
|
320
|
+
carousel: 'Carousel',
|
|
321
|
+
carouselItem: '{index} of {count}',
|
|
274
322
|
}
|
|
275
323
|
|
|
276
324
|
export const M3_LOCALE_KEY: InjectionKey<MaybeRef<Partial<M3Locale>>> = Symbol('m3-locale')
|