inertia-bootstrap-forms 1.0.66 → 1.0.67
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/{index-CfaA7fQa.js → index-1NXJeKR7.js} +10 -3
- package/dist/{index-DkdKlV6Q.js → index-D171sVZa.js} +1 -1
- package/dist/inertia-bootstrap-forms.es.js +1 -1
- package/dist/inertia-bootstrap-forms.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/EditorInput.vue +6 -0
- package/src/UppyInput.vue +7 -1
package/package.json
CHANGED
package/src/EditorInput.vue
CHANGED
|
@@ -49,11 +49,17 @@ export default defineComponent({
|
|
|
49
49
|
return {modelValue, form, group};
|
|
50
50
|
},
|
|
51
51
|
emits: ['update:modelValue'],
|
|
52
|
+
expose: {
|
|
53
|
+
editor(){
|
|
54
|
+
return this.refs.editor?.editor;
|
|
55
|
+
}
|
|
56
|
+
},
|
|
52
57
|
})
|
|
53
58
|
</script>
|
|
54
59
|
|
|
55
60
|
<template>
|
|
56
61
|
<Editor
|
|
62
|
+
ref="editor"
|
|
57
63
|
v-model="modelValue"
|
|
58
64
|
class="tiny-editor-input-el"
|
|
59
65
|
:init="{
|
package/src/UppyInput.vue
CHANGED
|
@@ -216,7 +216,7 @@ function buildRestrictionsCaption(restrictions) {
|
|
|
216
216
|
const types = allowedFileTypes
|
|
217
217
|
.map(type => type.replace('.', ''))
|
|
218
218
|
.join('، ');
|
|
219
|
-
parts.push(`فقط
|
|
219
|
+
parts.push(`فقط فایلهای ${types}`);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
// تعداد فایل
|
|
@@ -270,4 +270,10 @@ function buildRestrictionsCaption(restrictions) {
|
|
|
270
270
|
border-radius: 0.5rem;
|
|
271
271
|
margin-bottom: 5px;
|
|
272
272
|
}
|
|
273
|
+
|
|
274
|
+
.uppy-input-area .uppy-input-area--caption{
|
|
275
|
+
text-align: center;
|
|
276
|
+
margin: 5px 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
273
279
|
</style>
|