@monoui/vuejs 1.1.30 → 1.1.32

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.30",
3
+ "version": "1.1.32",
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",
@@ -495,6 +495,9 @@ export default {
495
495
  this.addPopStateListener();
496
496
  },
497
497
  async mounted() {
498
+ console.log(
499
+ "mui-table mounted filtes => " + JSON.stringify(this.filters)
500
+ );
498
501
  var filterPrefix = this.getHistoryName("f-");
499
502
  var sortingPrefix = this.getHistoryName("s-");
500
503
  let url = new URL(window.location).toString();
@@ -720,7 +723,7 @@ export default {
720
723
  let filter = this.filters.find(x => x.Column === column);
721
724
 
722
725
  if (filter && (!value || value.length < limit)) {
723
- this.filters.splice(this.filters.indexOf(filter), 1);
726
+ //this.filters.splice(this.filters.indexOf(filter), 1);
724
727
  this.getValues();
725
728
  return;
726
729
  }
@@ -883,21 +886,20 @@ export default {
883
886
  }
884
887
  },
885
888
  loadHistoryFilters() {
886
- const parameters = this.getHistoryParameters("f-");
887
- const trimName = this.getHistoryName("f-");
888
- const names = Object.keys(parameters);
889
- this.filters.splice(0, this.filters.length);
890
- for (const paramName of names) {
891
- const value = parameters[paramName];
892
- const column = paramName.replace(trimName, "");
893
-
894
- if (value) {
895
- this.filters.push({
896
- Column: column,
897
- Value: value
898
- });
899
- }
900
- }
889
+ // const parameters = this.getHistoryParameters("f-");
890
+ // const trimName = this.getHistoryName("f-");
891
+ // const names = Object.keys(parameters);
892
+ // this.filters.splice(0, this.filters.length);
893
+ // for (const paramName of names) {
894
+ // const value = parameters[paramName];
895
+ // const column = paramName.replace(trimName, "");
896
+ // if (value) {
897
+ // this.filters.push({
898
+ // Column: column,
899
+ // Value: value
900
+ // });
901
+ // }
902
+ // }
901
903
  },
902
904
  loadHistorySorting() {
903
905
  const parameters = this.getHistoryParameters("s-");
package/src/icons.js CHANGED
@@ -62,7 +62,8 @@ import {
62
62
  faStar,
63
63
  faSort,
64
64
  faSortUp,
65
- faSortDown
65
+ faSortDown,
66
+ faStethoscope
66
67
  } from "@fortawesome/free-solid-svg-icons";
67
68
  import {
68
69
  faFontAwesome,
@@ -138,7 +139,8 @@ library.add(
138
139
  faStar,
139
140
  faSort,
140
141
  faSortUp,
141
- faSortDown
142
+ faSortDown,
143
+ faStethoscope
142
144
  );
143
145
 
144
146
  export { FontAwesomeIcon };