@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/dist/main.js +5 -5
- package/package.json +1 -1
- package/src/components/Table/Table.vue +18 -16
- package/src/icons.js +4 -2
package/package.json
CHANGED
|
@@ -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
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
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 };
|