@iankibetsh/shframework 5.1.9 → 5.2.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/library.js CHANGED
@@ -3347,7 +3347,7 @@ return (_ctx, _cache) => {
3347
3347
  script$r.__file = "src/lib/components/form-components/DateInput.vue";
3348
3348
 
3349
3349
  const _hoisted_1$n = /*#__PURE__*/vue.createElementVNode("div", null, null, -1 /* HOISTED */);
3350
- const _hoisted_2$f = ["onUpdate:modelValue"];
3350
+ const _hoisted_2$f = ["name", "onUpdate:modelValue"];
3351
3351
  const _hoisted_3$d = ["innerHTML"];
3352
3352
  const _hoisted_4$d = {
3353
3353
  key: 0,
@@ -3631,12 +3631,13 @@ return (_ctx, _cache) => {
3631
3631
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(formFields.value, (field, index) => {
3632
3632
  return (vue.openBlock(), vue.createElementBlock("div", {
3633
3633
  key: field,
3634
- class: vue.normalizeClass(getElementClass('formGroup'))
3634
+ class: vue.normalizeClass(getElementClass('formGroup') + ' ' +field.field)
3635
3635
  }, [
3636
3636
  (field.type === 'hidden')
3637
3637
  ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
3638
3638
  key: 0,
3639
3639
  type: "hidden",
3640
+ name: field.field,
3640
3641
  "onUpdate:modelValue": $event => ((formFields.value[index].value) = $event)
3641
3642
  }, null, 8 /* PROPS */, _hoisted_2$f)), [
3642
3643
  [vue.vModelText, formFields.value[index].value]
package/dist/library.mjs CHANGED
@@ -3335,7 +3335,7 @@ return (_ctx, _cache) => {
3335
3335
  script$r.__file = "src/lib/components/form-components/DateInput.vue";
3336
3336
 
3337
3337
  const _hoisted_1$n = /*#__PURE__*/createElementVNode("div", null, null, -1 /* HOISTED */);
3338
- const _hoisted_2$f = ["onUpdate:modelValue"];
3338
+ const _hoisted_2$f = ["name", "onUpdate:modelValue"];
3339
3339
  const _hoisted_3$d = ["innerHTML"];
3340
3340
  const _hoisted_4$d = {
3341
3341
  key: 0,
@@ -3619,12 +3619,13 @@ return (_ctx, _cache) => {
3619
3619
  (openBlock(true), createElementBlock(Fragment, null, renderList(formFields.value, (field, index) => {
3620
3620
  return (openBlock(), createElementBlock("div", {
3621
3621
  key: field,
3622
- class: normalizeClass(getElementClass('formGroup'))
3622
+ class: normalizeClass(getElementClass('formGroup') + ' ' +field.field)
3623
3623
  }, [
3624
3624
  (field.type === 'hidden')
3625
3625
  ? withDirectives((openBlock(), createElementBlock("input", {
3626
3626
  key: 0,
3627
3627
  type: "hidden",
3628
+ name: field.field,
3628
3629
  "onUpdate:modelValue": $event => ((formFields.value[index].value) = $event)
3629
3630
  }, null, 8 /* PROPS */, _hoisted_2$f)), [
3630
3631
  [vModelText, formFields.value[index].value]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.1.9",
3
+ "version": "5.2.0",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",