@tekkare/auriga 0.2.97 → 0.2.99
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/argHomeSelectedBlock.vue +5 -0
- package/dist/runtime/components/argHomeSelectedBlock.vue.d.ts +9 -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
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<p class="theme_descr">{{ selected.description }}</p>
|
|
44
|
+
<slot v-if="extraDescription" name="moreText" />
|
|
44
45
|
</div>
|
|
45
46
|
<div class="selected_block_links" :class="lineBreak ? '' : 'gap-4'">
|
|
46
47
|
<div v-for="(item, index) in selected.links" :key="index">
|
|
@@ -110,6 +111,10 @@ export default defineComponent({
|
|
|
110
111
|
lineBreak: {
|
|
111
112
|
type: Boolean,
|
|
112
113
|
default: false
|
|
114
|
+
},
|
|
115
|
+
extraDescription: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: false
|
|
113
118
|
}
|
|
114
119
|
},
|
|
115
120
|
setup(props) {
|
|
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
extraDescription: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
}, {
|
|
16
20
|
langData: import("vue").Ref<any>;
|
|
17
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -28,9 +32,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
32
|
type: BooleanConstructor;
|
|
29
33
|
default: boolean;
|
|
30
34
|
};
|
|
35
|
+
extraDescription: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
31
39
|
}>>, {
|
|
32
40
|
lang: string;
|
|
33
41
|
selected: Record<string, any>;
|
|
34
42
|
lineBreak: boolean;
|
|
43
|
+
extraDescription: boolean;
|
|
35
44
|
}, {}>;
|
|
36
45
|
export default _default;
|
|
@@ -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 {
|