@tekkare/romulus 0.1.323 → 0.1.324

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,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
- "version": "0.1.322",
7
+ "version": "0.1.323",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -4,6 +4,9 @@
4
4
  l'identite de l'autorisation et, quand la marque a ete evaluee, la carte du
5
5
  G-BA, comme l'onglet de la fiche de Germany One.
6
6
 
7
+ Libelles anglais de l'index (`*_en`) quand ils existent, allemands sinon ;
8
+ la couleur du statut se lit sur `status_de`, le libelle source.
9
+
7
10
  Montee par le tiroir des projets ; le lien vers l'app passe par le slot
8
11
  `title-link`.
9
12
  -->
@@ -23,9 +26,9 @@
23
26
  <RmSectionCard position="bottom">
24
27
  <div class="oip-germany__overview">
25
28
  <div class="oip-germany__tags">
26
- <RmTag :variant="statusVariant(doc.status_de)">{{ doc.status_de || "-" }}</RmTag>
29
+ <RmTag :variant="statusVariant(doc.status_de)">{{ doc.status_en || doc.status_de || "-" }}</RmTag>
27
30
  <RmTag v-if="doc.is_marketable" variant="emerald">{{ en ? "Marketable" : "Commercialisable" }}</RmTag>
28
- <RmTag v-if="doc.procedure_type_de" variant="fushia">{{ doc.procedure_type_de }}</RmTag>
31
+ <RmTag v-if="doc.procedure_type_en || doc.procedure_type_de" variant="fushia">{{ doc.procedure_type_en || doc.procedure_type_de }}</RmTag>
29
32
  <RmTag v-if="doc.competent_authority" variant="gray">{{ doc.competent_authority }}</RmTag>
30
33
  </div>
31
34
  <dl class="oip-germany__facts">
@@ -38,7 +41,7 @@
38
41
  </template>
39
42
  </dl>
40
43
  <p v-if="doc.indication_de || doc.indication_en" class="oip-germany__text">
41
- {{ (en && doc.indication_en) || doc.indication_de }}
44
+ {{ doc.indication_en || doc.indication_de }}
42
45
  </p>
43
46
  </div>
44
47
  <template #footer>
@@ -86,10 +89,10 @@ const facts = computed(() => {
86
89
  const rows: { label: string; value: unknown; date?: boolean }[] = [
87
90
  { label: "ENR", value: d.entry_number },
88
91
  { label: en.value ? "Authorisation number" : "Numéro d'autorisation", value: d.authorisation_number },
89
- { label: en.value ? "Active substance" : "Substance active", value: [].concat(d.active_substances ?? []).join(", ") },
90
- { label: "ATC", value: [d.atc_code, d.atc_label_de].filter(Boolean).join(" · ") },
91
- { label: en.value ? "Dosage form" : "Forme galénique", value: d.dosage_form },
92
- { label: en.value ? "Marketing authorisation holder" : "Titulaire", value: [d.mah_name, d.mah_country].filter(Boolean).join(", ") },
92
+ { label: en.value ? "Active substance" : "Substance active", value: d.active_substance_en || [].concat(d.active_substances ?? []).join(", ") },
93
+ { label: "ATC", value: [d.atc_code, d.atc_label_en || d.atc_label_de].filter(Boolean).join(" · ") },
94
+ { label: en.value ? "Dosage form" : "Forme galénique", value: d.dosage_form_en || d.dosage_form },
95
+ { label: en.value ? "Marketing authorisation holder" : "Titulaire", value: [d.mah_name, d.mah_country_en || d.mah_country].filter(Boolean).join(", ") },
93
96
  { label: en.value ? "Authorisation date" : "Date d'autorisation", value: d.authorisation_date, date: true },
94
97
  { label: en.value ? "Last decision" : "Dernière décision", value: d.last_decision_date, date: true },
95
98
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/romulus",
3
- "version": "0.1.323",
3
+ "version": "0.1.324",
4
4
  "description": "Romulus Design System - Nuxt module by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",