@iankibetsh/shframework 1.7.7 → 1.7.8

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
@@ -2212,9 +2212,6 @@ var script$q = {
2212
2212
  }
2213
2213
  },
2214
2214
  getFieldType: function (field) {
2215
- if(this.fillSelects && this.fillSelects[field]){
2216
- return 'select';
2217
- }
2218
2215
  if(this.customComponent && this.customComponent[field]){
2219
2216
  return 'component'
2220
2217
  }
@@ -2236,6 +2233,9 @@ var script$q = {
2236
2233
  if(this.files && this.files.includes(field)){
2237
2234
  return 'file'
2238
2235
  }
2236
+ if(this.fillSelects && this.fillSelects[field]){
2237
+ return 'select';
2238
+ }
2239
2239
  const textareas = ['message', 'meta_description', 'comment', 'call_response', 'comments', 'description'];
2240
2240
  const selects = ['gender', 'payment_method', 'allow_view_mode', 'reasons_name', 'has_free_tier', 'payment_period', 'role', 'register_as', 'account_type'];
2241
2241
  const numbers = ['age'];
package/dist/library.mjs CHANGED
@@ -2200,9 +2200,6 @@ var script$q = {
2200
2200
  }
2201
2201
  },
2202
2202
  getFieldType: function (field) {
2203
- if(this.fillSelects && this.fillSelects[field]){
2204
- return 'select';
2205
- }
2206
2203
  if(this.customComponent && this.customComponent[field]){
2207
2204
  return 'component'
2208
2205
  }
@@ -2224,6 +2221,9 @@ var script$q = {
2224
2221
  if(this.files && this.files.includes(field)){
2225
2222
  return 'file'
2226
2223
  }
2224
+ if(this.fillSelects && this.fillSelects[field]){
2225
+ return 'select';
2226
+ }
2227
2227
  const textareas = ['message', 'meta_description', 'comment', 'call_response', 'comments', 'description'];
2228
2228
  const selects = ['gender', 'payment_method', 'allow_view_mode', 'reasons_name', 'has_free_tier', 'payment_period', 'role', 'register_as', 'account_type'];
2229
2229
  const numbers = ['age'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",