inertia-bootstrap-forms 1.0.100 → 1.0.102

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/index.d.ts CHANGED
@@ -269,7 +269,35 @@ export const LocationInput: DefineComponent<{
269
269
  export const MobileInput: DefineComponent<{}, {}, any>;
270
270
  export const MultiQuantityInput: DefineComponent<{}, {}, any>;
271
271
  export const PasswordInput: DefineComponent<{}, {}, any>;
272
- export const PersianDatePickerInput: DefineComponent<{}, {}, any>;
272
+ export const PersianDatePickerInput: DefineComponent<{
273
+ name: {
274
+ type: String,
275
+ required: true,
276
+ },
277
+ calendar: {
278
+ type: String,
279
+ default: 'date',
280
+ },
281
+ view: {
282
+ type: String,
283
+ default: 'date',
284
+ },
285
+ min: String,
286
+ max: String,
287
+ range: Boolean,
288
+ locale: {
289
+ default: 'fa',
290
+ },
291
+ format: {
292
+ type: String,
293
+ default: 'jYYYY-jMM-jDD',
294
+ },
295
+ inputFormat: {
296
+ type: String,
297
+ default: null,
298
+ },
299
+ placeholder: String,
300
+ }, {}, any>;
273
301
  export const QuantityInput: DefineComponent<{}, {}, any>;
274
302
  export const Select2Input: DefineComponent<{
275
303
  name: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inertia-bootstrap-forms",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
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",
@@ -57,7 +57,7 @@ export default defineComponent({
57
57
  <template>
58
58
  <div class="form-check">
59
59
  <input
60
- :name="name + (typeof group == 'object' ? '_' + group?.name + '-'+group?.groupID : '')"
60
+ :name="name"
61
61
  :id="inputID"
62
62
  v-model="modelValue"
63
63
  :class="{'is-invalid': form?.errors[name]}"