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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inertia-bootstrap-forms",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Create bootstrap forms with inertia and twitter bootstrap",
5
5
  "main": "dist/inertia-bootstrap-forms.cjs.js",
6
6
  "module": "dist/inertia-bootstrap-forms.es.js",
@@ -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(`فقط فایل با پسوندهای ${types}`);
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>