@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 CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.2.97"
7
+ "version": "0.2.98"
8
8
  }
Binary file
@@ -0,0 +1,4 @@
1
+ import bankBG from './bank-bg.png';
2
+ import oipBG from './oip-bg.png';
3
+ import discoveryBG from './discovery_bg.png';
4
+ export { bankBG, oipBG, discoveryBG };
@@ -0,0 +1,4 @@
1
+ import bankBG from "./bank-bg.png";
2
+ import oipBG from "./oip-bg.png";
3
+ import discoveryBG from "./discovery_bg.png";
4
+ export { bankBG, oipBG, discoveryBG };
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 "../../assets";
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] < b.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] > b.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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.97",
3
+ "version": "0.2.98",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",