@maz-ui/mcp 4.1.7 → 4.1.8-beta.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/dist/mcp.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
|
|
7
7
|
import { resolve, dirname, join } from 'node:path';
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
9
|
|
|
10
|
-
const version = "4.1.7
|
|
10
|
+
const version = "4.1.7";
|
|
11
11
|
|
|
12
12
|
const _dirname = dirname(fileURLToPath(import.meta.url));
|
|
13
13
|
class DocumentationService {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
| **allow-duplicates** | Allow duplicates | `boolean` | No | `false` |
|
|
15
15
|
| **translations** | **Translations** <br/> <br/>Custom translations for the component<br/> | `Partial<MazUiTranslationsNestedSchema['dropzone']>` | No | `undefined` |
|
|
16
16
|
| **color** | Main color of the component | `MazColor` | No | `primary` |
|
|
17
|
-
| **select-file-btn-props** | MazBtn props [MazBtn props](/components/maz-btn#props) | `MazBtnProps` | No | `{}` |
|
|
18
17
|
| **remove-file-btn-props** | MazBtn props [MazBtn props](/components/maz-btn#props) | `MazBtnProps` | No | `{}` |
|
|
19
18
|
| **spinner-props** | MazSpinner props [MazSpinner props](/components/maz-spinner#props) | `MazSpinnerProps` | No | `{}` |
|
|
20
19
|
| **auto-upload** | **Auto upload files** <br/> <br/>If set to `multiple`, all files will be uploaded at once in a single request. If set to `single`, files will be uploaded one by one in separate requests. If set to `false`, no upload will be done automatically.<br/> | `"multiple" \| "single" \| false` | No | `false` |
|
|
@@ -10,7 +10,7 @@ description: MazDialog is a standalone dialog component to show important inform
|
|
|
10
10
|
<!--@include: ./../.vitepress/mixins/getting-started.md-->
|
|
11
11
|
|
|
12
12
|
::: tip
|
|
13
|
-
This component
|
|
13
|
+
This component uses `<Teleport to="body">` with [MazBackdrop](./maz-backdrop.md), so you can implement this component anywhere and it inherits all its props
|
|
14
14
|
:::
|
|
15
15
|
|
|
16
16
|
## Basic usage
|
|
@@ -160,6 +160,7 @@ You can restrict allowed file types using the `data-types` prop:
|
|
|
160
160
|
v-model="files"
|
|
161
161
|
:data-types="acceptedFormats"
|
|
162
162
|
:max-file-size="5"
|
|
163
|
+
:max-files="5"
|
|
163
164
|
@error="onError"
|
|
164
165
|
/>
|
|
165
166
|
|
|
@@ -202,7 +203,13 @@ const acceptedFormats = [
|
|
|
202
203
|
</script>
|
|
203
204
|
|
|
204
205
|
<template>
|
|
205
|
-
<MazDropzone
|
|
206
|
+
<MazDropzone
|
|
207
|
+
v-model="files"
|
|
208
|
+
:data-types="acceptedFormats"
|
|
209
|
+
:max-file-size="5"
|
|
210
|
+
:max-files="5"
|
|
211
|
+
@error="onError"
|
|
212
|
+
/>
|
|
206
213
|
</template>
|
|
207
214
|
```
|
|
208
215
|
|
|
@@ -343,7 +350,7 @@ Customize text messages using the `translations` prop:
|
|
|
343
350
|
v-model="files"
|
|
344
351
|
:translations="{
|
|
345
352
|
dragAndDrop: 'Drag files here',
|
|
346
|
-
selectFile: '
|
|
353
|
+
selectFile: 'browse files',
|
|
347
354
|
fileInfos: 'Accepted files: Images up to 5MB'
|
|
348
355
|
}"
|
|
349
356
|
@error="onError"
|
|
@@ -356,7 +363,7 @@ Customize text messages using the `translations` prop:
|
|
|
356
363
|
v-model="files"
|
|
357
364
|
:translations="{
|
|
358
365
|
dragAndDrop: 'Drag files here',
|
|
359
|
-
selectFile: '
|
|
366
|
+
selectFile: 'browse files',
|
|
360
367
|
fileInfos: 'Accepted files: Images up to 5MB'
|
|
361
368
|
}"
|
|
362
369
|
@error="onError"
|
|
@@ -382,7 +389,7 @@ app.use(MazUi, {
|
|
|
382
389
|
en: {
|
|
383
390
|
dropzone: {
|
|
384
391
|
dragAndDrop: 'Drag files here',
|
|
385
|
-
selectFile: '
|
|
392
|
+
selectFile: 'select files',
|
|
386
393
|
divider: 'or',
|
|
387
394
|
fileMaxCount: 'Maximum {count} files',
|
|
388
395
|
fileMaxSize: 'Maximum {size} MB',
|
|
@@ -312,7 +312,7 @@ export default {
|
|
|
312
312
|
},
|
|
313
313
|
dropzone: {
|
|
314
314
|
dragAndDrop: 'Déposez vos fichiers',
|
|
315
|
-
selectFile: '
|
|
315
|
+
selectFile: 'sélectionner un fichier',
|
|
316
316
|
divider: 'ou'
|
|
317
317
|
},
|
|
318
318
|
// You can omit translations you don't want to override
|
|
@@ -336,7 +336,7 @@ export default {
|
|
|
336
336
|
},
|
|
337
337
|
dropzone: {
|
|
338
338
|
dragAndDrop: 'Sleep je bestanden hierheen',
|
|
339
|
-
selectFile: '
|
|
339
|
+
selectFile: 'bestand selecteren',
|
|
340
340
|
divider: 'of'
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -633,7 +633,7 @@ export default {
|
|
|
633
633
|
},
|
|
634
634
|
dropzone: {
|
|
635
635
|
dragAndDrop: 'Déposez vos fichiers',
|
|
636
|
-
selectFile: '
|
|
636
|
+
selectFile: 'sélectionner un fichier',
|
|
637
637
|
divider: 'ou'
|
|
638
638
|
}
|
|
639
639
|
// ... other translations
|
|
@@ -656,7 +656,7 @@ export default {
|
|
|
656
656
|
},
|
|
657
657
|
dropzone: {
|
|
658
658
|
dragAndDrop: 'Suelta tus archivos',
|
|
659
|
-
selectFile: '
|
|
659
|
+
selectFile: 'seleccionar archivo',
|
|
660
660
|
divider: 'o'
|
|
661
661
|
}
|
|
662
662
|
// ... other translations
|
|
@@ -887,7 +887,7 @@ app.use(MazUi, {
|
|
|
887
887
|
},
|
|
888
888
|
dropzone: {
|
|
889
889
|
dragAndDrop: 'Déposez vos fichiers',
|
|
890
|
-
selectFile: '
|
|
890
|
+
selectFile: 'sélectionner un fichier',
|
|
891
891
|
divider: 'ou',
|
|
892
892
|
fileMaxCount: 'Maximum {count} fichiers',
|
|
893
893
|
fileMaxSize: 'Maximum {size} MB',
|
|
@@ -920,7 +920,7 @@ app.use(MazUi, {
|
|
|
920
920
|
},
|
|
921
921
|
dropzone: {
|
|
922
922
|
dragAndDrop: 'Suelta tus archivos',
|
|
923
|
-
selectFile: '
|
|
923
|
+
selectFile: 'seleccionar archivo',
|
|
924
924
|
divider: 'o',
|
|
925
925
|
fileMaxCount: 'Máximo {count} archivos',
|
|
926
926
|
fileMaxSize: 'Máximo {size} MB',
|
|
@@ -1020,7 +1020,7 @@ export default {
|
|
|
1020
1020
|
*/
|
|
1021
1021
|
dropzone: {
|
|
1022
1022
|
dragAndDrop: 'Drop your files',
|
|
1023
|
-
selectFile: '
|
|
1023
|
+
selectFile: 'select file',
|
|
1024
1024
|
divider: 'or',
|
|
1025
1025
|
fileMaxCount: 'Maximum {count} files',
|
|
1026
1026
|
fileMaxSize: 'Maximum {size} MB',
|
|
@@ -8,7 +8,7 @@ aside: false
|
|
|
8
8
|
|
|
9
9
|
# {{ $frontmatter.title }}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
List of websites using maz-ui library
|
|
12
12
|
|
|
13
13
|
::: info
|
|
14
14
|
Propose your website by opening an [issue](https://github.com/LouisMazel/maz-ui/issues/new?assignees=LouisMazel&labels=enhancement&projects=&template=feature_request.md&title=%5BFEATURE%5D) or a [pull request](https://github.com/LouisMazel/maz-ui/edit/master/apps/docs/src/made-with-maz-ui.md) and editing this page.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.8-beta.0",
|
|
5
5
|
"description": "Maz-UI ModelContextProtocol Client",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"lint-staged": {
|
|
79
79
|
"*.{js,ts,mjs,mts,cjs,md,yml,json}": "cross-env NODE_ENV=production eslint --fix"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "58f8dd86786beb0af2571c0435e6c1455ca0b43e"
|
|
82
82
|
}
|