@iankibetsh/shframework 4.0.5 → 4.0.6

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
@@ -3149,6 +3149,9 @@ const getFieldComponent = (fieldObj)=>{
3149
3149
  return props.customComponents[field]
3150
3150
  }
3151
3151
  if(fieldObj.type){
3152
+ if(fieldObj.type === 'suggest' || fieldObj.type === 'suggests'){
3153
+ return script$t
3154
+ }
3152
3155
  return fieldObj.type === 'number' ? NumberComponent:fieldObj.type === 'textarea' ? TextAreaComponent : fieldObj.type === 'email' ? EmailComponent : fieldObj.type === 'phone' ? PhoneComponent : fieldObj.type === 'password' ? PasswordComponent:fieldObj.type === 'select' ? SelectComponent:TextComponent
3153
3156
  }else
3154
3157
  if(passwords.includes(field)){
package/dist/library.mjs CHANGED
@@ -3137,6 +3137,9 @@ const getFieldComponent = (fieldObj)=>{
3137
3137
  return props.customComponents[field]
3138
3138
  }
3139
3139
  if(fieldObj.type){
3140
+ if(fieldObj.type === 'suggest' || fieldObj.type === 'suggests'){
3141
+ return script$t
3142
+ }
3140
3143
  return fieldObj.type === 'number' ? NumberComponent:fieldObj.type === 'textarea' ? TextAreaComponent : fieldObj.type === 'email' ? EmailComponent : fieldObj.type === 'phone' ? PhoneComponent : fieldObj.type === 'password' ? PasswordComponent:fieldObj.type === 'select' ? SelectComponent:TextComponent
3141
3144
  }else
3142
3145
  if(passwords.includes(field)){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.0.5",
3
+ "version": "4.0.6",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",