@tekkare/romulus 0.1.113 → 0.1.115
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
|
@@ -40,6 +40,7 @@ const emit = defineEmits<{
|
|
|
40
40
|
|
|
41
41
|
const FR = {
|
|
42
42
|
view: 'Vue',
|
|
43
|
+
brands: 'Marques',
|
|
43
44
|
trigger: 'Déclencheur',
|
|
44
45
|
watched: 'Champs suivis',
|
|
45
46
|
channel: 'Canaux',
|
|
@@ -100,6 +101,7 @@ const FR = {
|
|
|
100
101
|
|
|
101
102
|
const EN = {
|
|
102
103
|
view: 'View',
|
|
104
|
+
brands: 'Brands',
|
|
103
105
|
trigger: 'Trigger',
|
|
104
106
|
watched: 'Watched fields',
|
|
105
107
|
channel: 'Channels',
|
|
@@ -278,8 +280,10 @@ function pick(item: RmAlertMenuItem) {
|
|
|
278
280
|
</div>
|
|
279
281
|
|
|
280
282
|
<p v-if="alert.viewTitle" class="rm-alert__view">
|
|
281
|
-
|
|
282
|
-
|
|
283
|
+
<!-- Une alerte de produit ne surveille pas une vue : l'annoncer comme
|
|
284
|
+
telle ferait chercher une vue qui n'existe pas. -->
|
|
285
|
+
<RmIcon :name="alert.kind === 'product' ? 'Tag' : 'BookmarkSimple'" :size="13" />
|
|
286
|
+
{{ alert.kind === 'product' ? T.brands : T.view }} : {{ alert.viewTitle }}
|
|
283
287
|
<span v-if="alert.shared" class="rm-alert__shared">{{ T.shared }}</span>
|
|
284
288
|
</p>
|
|
285
289
|
|
|
@@ -109,13 +109,13 @@ const FR = {
|
|
|
109
109
|
kind: 'Que surveiller',
|
|
110
110
|
kindView: 'Une vue',
|
|
111
111
|
kindViewHint: 'Un écran filtré, aussi fin que vous voulez, mais limité à cette page.',
|
|
112
|
-
kindProduct: '
|
|
112
|
+
kindProduct: 'Une marque',
|
|
113
113
|
kindProductHint: 'Une à {max} marques, suivies partout : prix, avis HAS, indications, ANSM, PUT, MITM, Journal officiel.',
|
|
114
114
|
brands: 'Marques surveillées',
|
|
115
115
|
brandsHint: 'Cherchez une marque et ajoutez-la. L’alerte couvre tout le hub pour chacune.',
|
|
116
116
|
brandsRequired: 'Choisissez au moins une marque.',
|
|
117
117
|
brandsTooMany: 'Une alerte suit {max} marques au maximum.',
|
|
118
|
-
productFields: 'Tous les champs sont suivis : une alerte de
|
|
118
|
+
productFields: 'Tous les champs sont suivis : une alerte de marque ne se restreint pas, elle rapporte tout ce qui bouge.',
|
|
119
119
|
screenOption: 'Écran actuel (une vue sera créée)',
|
|
120
120
|
viewSelect: 'Vue à surveiller',
|
|
121
121
|
viewApplied: 'La vue choisie est appliquée à l’écran : c’est lui qui fournit la requête surveillée.',
|
|
@@ -161,13 +161,13 @@ const EN = {
|
|
|
161
161
|
kind: 'What to watch',
|
|
162
162
|
kindView: 'A view',
|
|
163
163
|
kindViewHint: 'A filtered screen, as precise as you like, but tied to that page.',
|
|
164
|
-
kindProduct: 'A
|
|
164
|
+
kindProduct: 'A brand',
|
|
165
165
|
kindProductHint: 'One to {max} brands, watched everywhere: prices, HAS opinions, indications, ANSM, PUT, MITM, official journal.',
|
|
166
166
|
brands: 'Watched brands',
|
|
167
167
|
brandsHint: 'Search a brand and add it. The alert covers the whole hub for each one.',
|
|
168
168
|
brandsRequired: 'Pick at least one brand.',
|
|
169
169
|
brandsTooMany: 'An alert watches at most {max} brands.',
|
|
170
|
-
productFields: 'Every field is watched: a
|
|
170
|
+
productFields: 'Every field is watched: a brand alert does not narrow down, it reports whatever moves.',
|
|
171
171
|
screenOption: 'Current screen (a view will be created)',
|
|
172
172
|
viewSelect: 'View to watch',
|
|
173
173
|
viewApplied: 'The chosen view is applied to the screen: the screen is what provides the watched query.',
|
|
@@ -30,7 +30,9 @@ export interface RmAlertMenuItem {
|
|
|
30
30
|
export interface RmAlert {
|
|
31
31
|
id: string;
|
|
32
32
|
title: string;
|
|
33
|
-
/**
|
|
33
|
+
/** Ce que l'alerte surveille : une vue, ou des marques. */
|
|
34
|
+
kind?: RmAlertKind;
|
|
35
|
+
/** Nom de la vue surveillee, ou les marques d'une alerte de produit. */
|
|
34
36
|
viewTitle?: string | null;
|
|
35
37
|
status: RmAlertStatus;
|
|
36
38
|
triggers: RmAlertTrigger[];
|