@tekkare/auriga 0.2.97 → 0.2.98
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/module.json +1 -1
- package/dist/runtime/assets/bank-bg.png +0 -0
- package/dist/runtime/assets/discovery_bg.png +0 -0
- package/dist/runtime/assets/index.d.ts +4 -0
- package/dist/runtime/assets/index.mjs +4 -0
- package/dist/runtime/assets/oip-bg.png +0 -0
- package/dist/runtime/components/argProductCard.vue +1 -1
- package/dist/runtime/components/argTable.vue +18 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
defineComponent
|
|
64
64
|
} from "vue";
|
|
65
65
|
import argBtn from "./argBtn.vue";
|
|
66
|
-
import { oipBG, bankBG, discoveryBG } from "
|
|
66
|
+
import { oipBG, bankBG, discoveryBG } from "../assets";
|
|
67
67
|
export default defineComponent({
|
|
68
68
|
name: "argProductCard",
|
|
69
69
|
components: { argBtn },
|
|
@@ -688,7 +688,15 @@ export default defineComponent({
|
|
|
688
688
|
}
|
|
689
689
|
return sorted.sort((a, b) => {
|
|
690
690
|
if (sortDir.value === "asc") {
|
|
691
|
-
if (a.values[sortIndex.value]
|
|
691
|
+
if (typeof a.values[sortIndex.value] !== "string" && typeof b.values[sortIndex.value] !== "string") {
|
|
692
|
+
if (a.values[sortIndex.value][0] < b.values[sortIndex.value][0]) {
|
|
693
|
+
if (navigator.userAgent.indexOf("Firefox") !== -1) {
|
|
694
|
+
return 1;
|
|
695
|
+
} else {
|
|
696
|
+
return -1;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
} else if (a.values[sortIndex.value] < b.values[sortIndex.value]) {
|
|
692
700
|
if (navigator.userAgent.indexOf("Firefox") !== -1) {
|
|
693
701
|
return 1;
|
|
694
702
|
} else {
|
|
@@ -697,7 +705,15 @@ export default defineComponent({
|
|
|
697
705
|
}
|
|
698
706
|
}
|
|
699
707
|
if (sortDir.value === "desc") {
|
|
700
|
-
if (a.values[sortIndex.value]
|
|
708
|
+
if (typeof a.values[sortIndex.value] !== "string" && typeof b.values[sortIndex.value] !== "string") {
|
|
709
|
+
if (a.values[sortIndex.value][0] > b.values[sortIndex.value][0]) {
|
|
710
|
+
if (navigator.userAgent.indexOf("Firefox") !== -1) {
|
|
711
|
+
return 1;
|
|
712
|
+
} else {
|
|
713
|
+
return -1;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
} else if (a.values[sortIndex.value] > b.values[sortIndex.value]) {
|
|
701
717
|
if (navigator.userAgent.indexOf("Firefox") !== -1) {
|
|
702
718
|
return 1;
|
|
703
719
|
} else {
|