@tekkare/romulus 0.1.310 → 0.1.312
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
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
<template #footer>
|
|
123
123
|
<OipDrugsHeartElasticSourceContainerElastic
|
|
124
|
-
:uuid="HEART_SOURCE_UUIDS.
|
|
124
|
+
:uuid="HEART_SOURCE_UUIDS.NATIONAL_ASSEMBLY_AMENDMENTS"
|
|
125
125
|
:last-label="t('oipDrugs.heart.sources.lastAmendment')"
|
|
126
126
|
:last-date="amendment[AMENDMENT_FIELDS.filingDate]"
|
|
127
127
|
/>
|
|
@@ -15,7 +15,9 @@ export const HEART_SOURCE_UUIDS = {
|
|
|
15
15
|
PNDS: 'cb14de5b-d7fb-454d-9e07-bcda8ccd6a6b',
|
|
16
16
|
ASSOCIATIONS: '7c192cff-c2c9-49c5-a02a-241c3f86dbe5',
|
|
17
17
|
ASSOCIATIONS_ANSM: '85eab016-9010-4882-b2f2-2f807ad3bc60',
|
|
18
|
+
// Comptes rendus de la commission des affaires sociales.
|
|
18
19
|
NATIONAL_ASSEMBLY: '8a753a4e-b63e-42ec-812e-ae8108879994',
|
|
20
|
+
NATIONAL_ASSEMBLY_AMENDMENTS: 'dc9354da-984c-480b-9204-6483d35bad3e',
|
|
19
21
|
PUT: '0fa6d577-3fa9-48d5-9715-8ed0726496d1',
|
|
20
22
|
ACTUALITE_JO: '1018988c-4ed2-4aee-84a9-17be83f663de',
|
|
21
23
|
PRICE_TRACKER: '2625b233-7a1f-487b-a316-5962cd38c390',
|
|
@@ -109,11 +111,13 @@ export const HEART_ASSOCIATION_UUIDS: string[] = [
|
|
|
109
111
|
/** Les contributions ecrites viennent des avis HAS, pas de l'annuaire. */
|
|
110
112
|
export const HEART_CONTRIBUTION_UUIDS: string[] = [HEART_SOURCE_UUIDS.HAS];
|
|
111
113
|
/**
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* de citer l'annuaire, etranger au texte.
|
|
114
|
+
* Comptes rendus de commission et amendements ont chacun leur fiche Directus :
|
|
115
|
+
* la page les separe en onglets (`?tab=reports`, amendements par defaut).
|
|
115
116
|
*/
|
|
116
|
-
export const HEART_NATIONAL_ASSEMBLY_UUIDS: string[] = [];
|
|
117
|
+
export const HEART_NATIONAL_ASSEMBLY_UUIDS: string[] = [HEART_SOURCE_UUIDS.NATIONAL_ASSEMBLY];
|
|
118
|
+
export const HEART_NATIONAL_ASSEMBLY_AMENDMENT_UUIDS: string[] = [
|
|
119
|
+
HEART_SOURCE_UUIDS.NATIONAL_ASSEMBLY_AMENDMENTS,
|
|
120
|
+
];
|
|
117
121
|
|
|
118
122
|
/** Sources d'un onglet de la fiche marque, sinon celles de la fiche entiere. */
|
|
119
123
|
export function heartDetailTabUuids(tab?: string | null): string[] {
|
|
@@ -147,7 +151,11 @@ export function heartSourceUuidsForPath(rawPath: string, tab?: string | null): s
|
|
|
147
151
|
if (path.includes('/hubr/heart/mitm')) return HEART_MITM_UUIDS;
|
|
148
152
|
// Le test precede celui de l'annuaire, dont le chemin est un prefixe du sien.
|
|
149
153
|
if (path.includes('/hubr/heart/associations/contributions')) return HEART_CONTRIBUTION_UUIDS;
|
|
150
|
-
if (path.includes('/hubr/heart/associations/national-assembly'))
|
|
154
|
+
if (path.includes('/hubr/heart/associations/national-assembly')) {
|
|
155
|
+
return /[?&]tab=reports(&|#|$)/.test(rawPath)
|
|
156
|
+
? HEART_NATIONAL_ASSEMBLY_UUIDS
|
|
157
|
+
: HEART_NATIONAL_ASSEMBLY_AMENDMENT_UUIDS;
|
|
158
|
+
}
|
|
151
159
|
if (path.includes('/hubr/heart/associations')) return HEART_ASSOCIATION_UUIDS;
|
|
152
160
|
if (path.includes('/hubr/heart/details')) return HEART_BRAND_UUIDS;
|
|
153
161
|
|
|
@@ -49,9 +49,6 @@ export const OIP_RAIL_GROUPS: Record<OipRailGroupKey, { label: { fr: string; en:
|
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
export const OIP_RAIL_TILES: OipRailEntry[] = [
|
|
52
|
-
// En tete, sous le profil : personnelle comme lui, et la meme d'une app a
|
|
53
|
-
// l'autre. Sa pastille compte les partages recus depuis la derniere lecture.
|
|
54
|
-
{ key: "Inbox", label: { fr: "Inbox", en: "Inbox" }, icon: "tray", frame: true },
|
|
55
52
|
{ key: "Sources", label: { fr: "Sources", en: "Sources" }, icon: "database", group: "Documentation" },
|
|
56
53
|
// Seconde vue du panneau Sources : les tablegroups Directus de l'ecran.
|
|
57
54
|
{
|
|
@@ -74,6 +71,9 @@ export const OIP_RAIL_TILES: OipRailEntry[] = [
|
|
|
74
71
|
},
|
|
75
72
|
{ key: "Export", label: { fr: "Export", en: "Export" }, icon: "export" },
|
|
76
73
|
{ key: "Projects", label: { fr: "Projets", en: "Projects" }, icon: "folder-simple" },
|
|
74
|
+
// Juste au-dessus de « Mes sujets », avec les autres tuiles personnelles.
|
|
75
|
+
// Sa pastille compte les partages recus depuis la derniere lecture.
|
|
76
|
+
{ key: "Inbox", label: { fr: "Inbox", en: "Inbox" }, icon: "tray", frame: true },
|
|
77
77
|
{ key: "Topics", label: { fr: "Mes sujets", en: "My topics" }, icon: "star" },
|
|
78
78
|
{ key: "Tutorials", label: { fr: "Tutoriels", en: "Tutorials" }, icon: "graduation-cap", frame: true },
|
|
79
79
|
{ key: "Accessibility", label: { fr: "Accessibilité", en: "Accessibility" }, icon: "person-arms-spread", frame: true },
|