@tekkare/auriga 0.1.158 → 0.1.160
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
|
@@ -19,14 +19,25 @@
|
|
|
19
19
|
</div>
|
|
20
20
|
<div v-else class="selected_block_display">
|
|
21
21
|
<div class="theme_title_display">
|
|
22
|
-
<div class="oip_row v-center
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
<div class="oip_row v-center space-between">
|
|
23
|
+
<div class="oip_row v-center gap-8">
|
|
24
|
+
<arg-flag v-if="selected.iso" :iso="selected.iso" height="16" />
|
|
25
|
+
<arg-flag
|
|
26
|
+
v-else-if="selected.country"
|
|
27
|
+
:slug="selected.country.toLowerCase()"
|
|
28
|
+
height="16"
|
|
29
|
+
/>
|
|
30
|
+
<p class="theme_title">{{ selected.title }}</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div
|
|
33
|
+
v-if="block.population && block.population !== null"
|
|
34
|
+
class="oip_row v-center gap-8 population"
|
|
35
|
+
>
|
|
36
|
+
<arg-icon name="UsersThree" color="var(--medium)" size="14" />
|
|
37
|
+
<p>
|
|
38
|
+
{{ new Intl.NumberFormat("us-US").format(block.population) }}
|
|
39
|
+
</p>
|
|
40
|
+
</div>
|
|
30
41
|
</div>
|
|
31
42
|
<p class="theme_descr">{{ selected.description }}</p>
|
|
32
43
|
</div>
|
|
@@ -87,5 +98,5 @@ export default defineComponent({
|
|
|
87
98
|
</script>
|
|
88
99
|
|
|
89
100
|
<style scoped>
|
|
90
|
-
.selected_block_card{flex:1;height:-moz-fit-content;height:fit-content;margin:0!important;padding:24px;position:fixed;position:sticky;top:12vh}.selected_block_display{display:flex;flex-direction:column;gap:24px}.theme_select_message{display:flex;flex-direction:column;gap:12px}.theme_title_display{display:flex;flex-direction:column;gap:8px}.icon_square{align-items:center;background:var(--light);border-radius:8px;display:flex;justify-content:center;padding:8px;width:-moz-fit-content;width:fit-content}.theme_title{font-size:20px;font-style:normal;font-weight:900;line-height:normal}.theme_descr{font-size:14px;font-style:normal;font-weight:400;line-height:160%}.selected_block_links{display:flex;flex-direction:column;gap:4px}
|
|
101
|
+
.selected_block_card{flex:1;height:-moz-fit-content;height:fit-content;margin:0!important;padding:24px;position:fixed;position:sticky;top:12vh}.selected_block_display{display:flex;flex-direction:column;gap:24px}.theme_select_message{display:flex;flex-direction:column;gap:12px}.theme_title_display{display:flex;flex-direction:column;gap:8px}.icon_square{align-items:center;background:var(--light);border-radius:8px;display:flex;justify-content:center;padding:8px;width:-moz-fit-content;width:fit-content}.theme_title{font-size:20px;font-style:normal;font-weight:900;line-height:normal}.theme_descr{font-size:14px;font-style:normal;font-weight:400;line-height:160%}.selected_block_links{display:flex;flex-direction:column;gap:4px}.population p{color:var(--medium);font-size:12px;font-weight:400;line-height:14px}
|
|
91
102
|
</style>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
class="rcd_scrollTable"
|
|
14
14
|
:style="fullTableScroll ? `max-height: ${getHeight}` : ''"
|
|
15
15
|
>
|
|
16
|
-
<table id="rcd_table">
|
|
16
|
+
<table :key="tableKey" id="rcd_table">
|
|
17
17
|
<thead>
|
|
18
18
|
<tr>
|
|
19
19
|
<th
|
|
@@ -375,12 +375,14 @@ export default defineComponent({
|
|
|
375
375
|
const showLine = ref();
|
|
376
376
|
const toggleCrop = ref(null);
|
|
377
377
|
const hasReadMore = ref([]);
|
|
378
|
+
const tableKey = ref(0);
|
|
378
379
|
watch(
|
|
379
380
|
() => props.contents,
|
|
380
381
|
(newContent) => {
|
|
381
382
|
saveTable.value = Object.assign([], [...new Set(fillTable.value)]);
|
|
382
383
|
dataValues.value = fillTable.value;
|
|
383
384
|
currentPage.value = 1;
|
|
385
|
+
tableKey.value += 1;
|
|
384
386
|
}
|
|
385
387
|
);
|
|
386
388
|
watch(
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div ref="element" class="oip_list gap-6">
|
|
3
|
-
<p
|
|
3
|
+
<p
|
|
4
|
+
:class="isBig && typeof value === 'string' && !showMore ? 'crop' : ''"
|
|
5
|
+
class="wrap-line"
|
|
6
|
+
>
|
|
4
7
|
{{ value }}
|
|
5
8
|
</p>
|
|
6
9
|
<p v-if="showReadMore" class="read_more" @click="toggleShowMore()">
|
|
@@ -55,5 +58,5 @@ export default defineComponent({
|
|
|
55
58
|
</script>
|
|
56
59
|
|
|
57
60
|
<style scoped>
|
|
58
|
-
.read_more{color:var(--primary);cursor:pointer;text-decoration:underline}.crop{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
|
|
61
|
+
.read_more{color:var(--primary);cursor:pointer;text-decoration:underline}.crop{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wrap-line{white-space:pre-line}
|
|
59
62
|
</style>
|