@monoui/vuejs 1.1.72 → 1.1.73

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoui/vuejs",
3
- "version": "1.1.72",
3
+ "version": "1.1.73",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -699,6 +699,29 @@ export default {
699
699
  initialLoad = false,
700
700
  exportScope = 0
701
701
  ) {
702
+ if (exportScope !== 0) {
703
+ let result = await this.requestFunction(
704
+ this.filters,
705
+ this.sorting,
706
+ currentPage,
707
+ itemPerPage,
708
+ exportScope
709
+ );
710
+ if (result && result.status === 200) {
711
+ this.$successToast(
712
+ "Export Started",
713
+ "The export process has begun. Please wait... Once completed, you can download it from the Reports/Exports page."
714
+ );
715
+ } else {
716
+ this.$errorToast(
717
+ "Export Failed",
718
+ "An error occurred while exporting the data. Please try again."
719
+ );
720
+ }
721
+
722
+ return;
723
+ }
724
+
702
725
  this.isLoading = true;
703
726
  this.$emit("loading", this.isLoading);
704
727
  const { currentPage, itemPerPage } = this.settings;