@iankibetsh/shframework 5.5.5 → 5.5.7

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
@@ -2350,6 +2350,7 @@ const initializeExisting = (currentValue)=>{
2350
2350
  }
2351
2351
  };
2352
2352
  vue.watch(()=>props.modelValue, (newValue)=>{
2353
+ selectedSuggestions.value = [];
2353
2354
  if(newValue) {
2354
2355
  initializeExisting(newValue);
2355
2356
  }
@@ -5454,8 +5455,8 @@ const loadMoreRecords = () => reloadData(page.value + 1, 1);
5454
5455
 
5455
5456
  const rangeChanged = (newRange) => {
5456
5457
  range.value = newRange;
5457
- from.value = newRange.from.toFormat('mm/dd/yyyy');
5458
- to.value = newRange.to.toFormat('mm/dd/yyyy');
5458
+ from.value = newRange.from.toFormat('LL/dd/yyyy');
5459
+ to.value = newRange.to.toFormat('LL/dd/yyyy');
5459
5460
  period.value = newRange.period;
5460
5461
  reloadData();
5461
5462
  };
package/dist/library.mjs CHANGED
@@ -2339,6 +2339,7 @@ const initializeExisting = (currentValue)=>{
2339
2339
  }
2340
2340
  };
2341
2341
  watch(()=>props.modelValue, (newValue)=>{
2342
+ selectedSuggestions.value = [];
2342
2343
  if(newValue) {
2343
2344
  initializeExisting(newValue);
2344
2345
  }
@@ -5443,8 +5444,8 @@ const loadMoreRecords = () => reloadData(page.value + 1, 1);
5443
5444
 
5444
5445
  const rangeChanged = (newRange) => {
5445
5446
  range.value = newRange;
5446
- from.value = newRange.from.toFormat('mm/dd/yyyy');
5447
- to.value = newRange.to.toFormat('mm/dd/yyyy');
5447
+ from.value = newRange.from.toFormat('LL/dd/yyyy');
5448
+ to.value = newRange.to.toFormat('LL/dd/yyyy');
5448
5449
  period.value = newRange.period;
5449
5450
  reloadData();
5450
5451
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.5.5",
3
+ "version": "5.5.7",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",