inertia-bootstrap-forms 1.0.71 → 1.0.73
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-C4NQJHiU.js → index-AepvCbxj.js} +1 -1
- package/dist/{index-CnoQ3ORF.js → index-Dng0BtGd.js} +97 -92
- package/dist/inertia-bootstrap-forms.es.js +1 -1
- package/dist/inertia-bootstrap-forms.umd.js +2 -2
- package/index.d.ts +6 -1
- package/package.json +1 -1
- package/src/SubmitButton.vue +7 -2
- package/src/UppyInput.vue +0 -2
package/index.d.ts
CHANGED
|
@@ -223,7 +223,12 @@ export const MultiQuantityInput: DefineComponent<{}, {}, any>;
|
|
|
223
223
|
export const PasswordInput: DefineComponent<{}, {}, any>;
|
|
224
224
|
export const PersianDatePickerInput: DefineComponent<{}, {}, any>;
|
|
225
225
|
export const QuantityInput: DefineComponent<{}, {}, any>;
|
|
226
|
-
export const SecondarySubmitButton: DefineComponent<{
|
|
226
|
+
export const SecondarySubmitButton: DefineComponent<{
|
|
227
|
+
disabled: {
|
|
228
|
+
type: Boolean,
|
|
229
|
+
default: false
|
|
230
|
+
}
|
|
231
|
+
}, {}, any>;
|
|
227
232
|
export const Select2Input: DefineComponent<{}, {}, any>;
|
|
228
233
|
export const StarRatingInput: DefineComponent<{}, {}, any>;
|
|
229
234
|
export const SubmitButton: DefineComponent<{}, {}, any>;
|
package/package.json
CHANGED
package/src/SubmitButton.vue
CHANGED
|
@@ -7,13 +7,18 @@ export default defineComponent({
|
|
|
7
7
|
Spinner
|
|
8
8
|
},
|
|
9
9
|
inject: ['form'],
|
|
10
|
-
props: {
|
|
10
|
+
props: {
|
|
11
|
+
disabled: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: false
|
|
14
|
+
}
|
|
15
|
+
},
|
|
11
16
|
})
|
|
12
17
|
</script>
|
|
13
18
|
<template>
|
|
14
19
|
<button
|
|
15
20
|
type="submit"
|
|
16
|
-
:disabled="form?.processing || form?.uploading"
|
|
21
|
+
:disabled="(disabled || form?.processing || form?.uploading)"
|
|
17
22
|
class="btn btn-primary px-3 px-sm-4">
|
|
18
23
|
<Spinner v-if="form?.processing || form?.uploading"/>
|
|
19
24
|
<slot :form="form">
|
package/src/UppyInput.vue
CHANGED
|
@@ -164,9 +164,7 @@ onMounted(() => {
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
if(uppy.value?.opts?.restrictions){
|
|
167
|
-
console.log(uppy.value?.opts?.restrictions);
|
|
168
167
|
restrictionCaption.value = buildRestrictionsCaption(uppy.value.opts.restrictions)
|
|
169
|
-
console.log('restrictionCaption', restrictionCaption.value);
|
|
170
168
|
}
|
|
171
169
|
});
|
|
172
170
|
|