@tekkare/romulus 0.1.113 → 0.1.114
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
|
|
|
@@ -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[];
|