@tekkare/romulus 0.1.283 → 0.1.284
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
|
@@ -50,25 +50,28 @@
|
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
<
|
|
56
|
-
<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
53
|
+
<!-- Dispositif et expose : un bloc a part, aere, pour ne pas se lire d'un trait. -->
|
|
54
|
+
<div v-if="textBlocks.length > 0" class="am_texts">
|
|
55
|
+
<div v-for="block in textBlocks" :key="block.key" class="oip_list gap-4">
|
|
56
|
+
<p class="oip_label">{{ block.label }}</p>
|
|
57
|
+
<p :id="`${blockId}-${block.key}`" class="am_text" :class="{ 'am_text--clamped': !expanded[block.key] }">
|
|
58
|
+
<template v-for="(seg, si) in block.segments" :key="si"><mark v-if="seg.hit">{{ seg.text }}</mark><template v-else>{{ seg.text }}</template></template>
|
|
59
|
+
</p>
|
|
60
|
+
<button
|
|
61
|
+
v-if="block.long"
|
|
62
|
+
type="button"
|
|
63
|
+
class="am_toggle"
|
|
64
|
+
:aria-expanded="!!expanded[block.key]"
|
|
65
|
+
:aria-controls="`${blockId}-${block.key}`"
|
|
66
|
+
@click="expanded[block.key] = !expanded[block.key]"
|
|
67
|
+
>
|
|
68
|
+
{{
|
|
69
|
+
expanded[block.key]
|
|
70
|
+
? t("oipDrugs.heart.associations.nationalAssembly.amendments.card.showLess")
|
|
71
|
+
: t("oipDrugs.heart.associations.nationalAssembly.amendments.card.showMore")
|
|
72
|
+
}}
|
|
73
|
+
</button>
|
|
74
|
+
</div>
|
|
72
75
|
</div>
|
|
73
76
|
|
|
74
77
|
<p v-if="amendment[AMENDMENT_FIELDS.irrecevability]" class="am_irrecevable">
|
|
@@ -76,6 +79,9 @@
|
|
|
76
79
|
</p>
|
|
77
80
|
|
|
78
81
|
<div v-if="amendment[AMENDMENT_FIELDS.url]" class="oip_row gap-8 wrap">
|
|
82
|
+
<RmButton variant="secondary" prefix-icon="FilePdf" @click="emit('read', amendment)">
|
|
83
|
+
{{ t("oipDrugs.heart.associations.nationalAssembly.amendments.card.pdf") }}
|
|
84
|
+
</RmButton>
|
|
79
85
|
<RmButton
|
|
80
86
|
v-if="amendmentDiscussed(amendment)"
|
|
81
87
|
variant="secondary"
|
|
@@ -84,9 +90,6 @@
|
|
|
84
90
|
>
|
|
85
91
|
{{ t("oipDrugs.heart.associations.nationalAssembly.amendments.card.report") }}
|
|
86
92
|
</RmButton>
|
|
87
|
-
<RmButton variant="secondary" prefix-icon="FilePdf" @click="emit('read', amendment)">
|
|
88
|
-
{{ t("oipDrugs.heart.associations.nationalAssembly.amendments.card.pdf") }}
|
|
89
|
-
</RmButton>
|
|
90
93
|
<RmButton
|
|
91
94
|
variant="tertiary"
|
|
92
95
|
ghost
|
|
@@ -260,6 +263,13 @@ function openLink(url: string) {
|
|
|
260
263
|
outline-offset: 2px;
|
|
261
264
|
}
|
|
262
265
|
|
|
266
|
+
.am_texts {
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-direction: column;
|
|
269
|
+
gap: var(--space-24);
|
|
270
|
+
margin-block: var(--space-8);
|
|
271
|
+
}
|
|
272
|
+
|
|
263
273
|
.am_text {
|
|
264
274
|
margin: 0;
|
|
265
275
|
color: var(--text-primary);
|