Skip to content

Commit 76841d7

Browse files
navcurrent, resize, wb-focus + linspacing
1 parent 91947fc commit 76841d7

File tree

17 files changed

+648
-2
lines changed

17 files changed

+648
-2
lines changed

_data/wet-boew.json

Lines changed: 171 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,40 @@
4444
]
4545
}
4646
}
47+
,{
48+
"@context": {
49+
"@version": 1.1,
50+
"dct": "http://purl.org/dc/terms/",
51+
"title": { "@id": "dct:title", "@container": "@language" },
52+
"description": { "@id": "dct:description", "@container": "@language" },
53+
"modified": "dct:modified"
54+
},
55+
"title": {
56+
"en": "ajax-fetch",
57+
"fr": "ajax-fetch"
58+
},
59+
"description": {
60+
"en": "Handles Ajax requests and triggers events for success or failure.",
61+
"fr": "Gère les requêtes Ajax et déclenche des événements pour le succès ou l'échec."
62+
},
63+
"modified": "2024-08-01",
64+
"componentName": "ajax-fetch",
65+
"status": "stable",
66+
"pages": {
67+
"examples": [
68+
{
69+
"title": "Ajax fetch",
70+
"language": "en",
71+
"path": "./ajax-fetch-en.html"
72+
},
73+
{
74+
"title": "Ajax fetch",
75+
"language": "fr",
76+
"path": "./ajax-fetch-fr.html"
77+
}
78+
]
79+
}
80+
}
4781
,{
4882
"@context": {
4983
"@version": 1.1,
@@ -614,7 +648,7 @@
614648
},
615649
{
616650
"title": "Geomap v4.0.30",
617-
"language": "fr",
651+
"language": "en",
618652
"path": "./geomap-v4.0.30-en.html"
619653
},
620654
{
@@ -637,6 +671,108 @@
637671
]
638672
}
639673
}
674+
,{
675+
"@context": {
676+
"@version": 1.1,
677+
"dct": "http://purl.org/dc/terms/",
678+
"title": { "@id": "dct:title", "@container": "@language" },
679+
"description": { "@id": "dct:description", "@container": "@language" },
680+
"modified": "dct:modified"
681+
},
682+
"title": {
683+
"en": "json-fetch",
684+
"fr": "json-fetch"
685+
},
686+
"description": {
687+
"en": "Handles JSON data fetching and triggers events for success or failure.",
688+
"fr": "Gère la récupération de données JSON et déclenche des événements pour le succès ou l'échec."
689+
},
690+
"modified": "2024-08-01",
691+
"componentName": "json-fetch",
692+
"status": "stable",
693+
"pages": {
694+
"examples": [
695+
{
696+
"title": "JSON fetch",
697+
"language": "en",
698+
"path": "./json-fetch-en.html"
699+
},
700+
{
701+
"title": "JSON fetch",
702+
"language": "fr",
703+
"path": "./json-fetch-fr.html"
704+
}
705+
]
706+
}
707+
}
708+
,{
709+
"@context": {
710+
"@version": 1.1,
711+
"dct": "http://purl.org/dc/terms/",
712+
"title": { "@id": "dct:title", "@container": "@language" },
713+
"description": { "@id": "dct:description", "@container": "@language" },
714+
"modified": "dct:modified"
715+
},
716+
"title": {
717+
"en": "NavCurrent",
718+
"fr": "NavCurrent"
719+
},
720+
"description": {
721+
"en": "Identifies URLs in a navigation system that match the current page URL or a URL in the breadcrumb trail.",
722+
"fr": "Identifie les URL dans un système de navigation qui correspondent à l'URL de la page actuelle ou à une URL dans le fil d'Ariane."
723+
},
724+
"modified": "2024-08-01",
725+
"componentName": "wb-navcurr",
726+
"status": "stable",
727+
"pages": {
728+
"examples": [
729+
{
730+
"title": "NavCurrent",
731+
"language": "en",
732+
"path": "./navcurrent-en.html"
733+
},
734+
{
735+
"title": "NavCurrent",
736+
"language": "fr",
737+
"path": "./navcurrent-fr.html"
738+
}
739+
]
740+
}
741+
}
742+
,{
743+
"@context": {
744+
"@version": 1.1,
745+
"dct": "http://purl.org/dc/terms/",
746+
"title": { "@id": "dct:title", "@container": "@language" },
747+
"description": { "@id": "dct:description", "@container": "@language" },
748+
"modified": "dct:modified"
749+
},
750+
"title": {
751+
"en": "Resize",
752+
"fr": "Resize"
753+
},
754+
"description": {
755+
"en": "Handles text and window resizing events, and triggers events based on changes in text size, window width, and window height.",
756+
"fr": "Gère les événements de redimensionnement du texte et de la fenêtre, et déclenche des événements basés sur les changements de taille du texte, de la largeur et de la hauteur de la fenêtre."
757+
},
758+
"modified": "2024-08-01",
759+
"componentName": "wb-rsz",
760+
"status": "stable",
761+
"pages": {
762+
"examples": [
763+
{
764+
"title": "Resize",
765+
"language": "en",
766+
"path": "./resize-en.html"
767+
},
768+
{
769+
"title": "Resize",
770+
"language": "fr",
771+
"path": "./resize-fr.html"
772+
}
773+
]
774+
}
775+
}
640776
,{
641777
"@context": {
642778
"@version": 1.1,
@@ -809,6 +945,40 @@
809945
]
810946
}
811947
}
948+
,{
949+
"@context": {
950+
"@version": 1.1,
951+
"dct": "http://purl.org/dc/terms/",
952+
"title": { "@id": "dct:title", "@container": "@language" },
953+
"description": { "@id": "dct:description", "@container": "@language" },
954+
"modified": "dct:modified"
955+
},
956+
"title": {
957+
"en": "wb-focus",
958+
"fr": "wb-focus"
959+
},
960+
"description": {
961+
"en": "A user-agent safe method for assigning focus to an element.",
962+
"fr": "Méthode sécurisée pour assigner le focus à un élément."
963+
},
964+
"modified": "2024-08-01",
965+
"componentName": "wb-focus",
966+
"status": "stable",
967+
"pages": {
968+
"examples": [
969+
{
970+
"title": "wb-focus",
971+
"language": "en",
972+
"path": "./wb-focus-en.html"
973+
},
974+
{
975+
"title": "wb-focus",
976+
"language": "fr",
977+
"path": "./wb-focus-fr.html"
978+
}
979+
]
980+
}
981+
}
812982
,{
813983
"@context": {
814984
"@version": 1.1,
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
{
3+
"title": "ajax-fetch",
4+
"language": "en",
5+
"description": "Handles Ajax requests and triggers events for success or failure.",
6+
"altLangPage": "ajax-fetch-fr.html",
7+
"dateModified": "2024-08-01"
8+
}
9+
---
10+
<ul class="list-inline">
11+
<li><a class="btn btn-primary" href="https://github.com/wet-boew/GCWeb/issues/new?title=Ajax%20Fetch">Questions or comments?</a></li>
12+
</ul>
13+
14+
<p>The ajax-fetch component in WET-BOEW handles Ajax requests by triggering an event, processing the request, and triggering custom events for success or failure to facilitate response handling. The component defines the following events:</p>
15+
16+
<ul class="list-inline">
17+
<li><strong>ajax-fetch.wb:</strong> Triggered to initiate an Ajax request based on the provided options.</li>
18+
<li><strong>ajax-fetched.wb:</strong> Triggered when the Ajax request is successfully completed, containing the response data and other relevant information.</li>
19+
<li><strong>ajax-failed.wb:</strong> Triggered when the Ajax request fails, containing the error information and the status of the failed request.</li>
20+
</ul>
21+
22+
<p>It is used in the following components:</p>
23+
24+
<ul class="list-inline">
25+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/data-ajax/data-ajax-en.html">Data Ajax</a></li>
26+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/feeds/feeds-en.html">Feeds</a></li>
27+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/menu/menu-en.html">Menu</a></li>
28+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-audio-en.html">Multimedia Player - Audio-only</a></li>
29+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-en.html">Multimedia Player - Video</a></li>
30+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-youtube-en.html">Multimedia Player - YouTube</a></li>
31+
<li><a href="https://wet-boew.github.io/wet-boew/demos/datalist/datalist-dynamic-en.html">Datalist polyfill (auto-complete) - Dynamic</a></li>
32+
</ul>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
{
3+
"title": "ajax-fetch",
4+
"language": "fr",
5+
"description": "Gère les requêtes Ajax et déclenche des événements pour le succès ou l'échec.",
6+
"altLangPage": "ajax-fetch-en.html",
7+
"dateModified": "2024-08-01"
8+
}
9+
---
10+
<ul class="list-inline">
11+
<li><a class="btn btn-primary" href="https://github.com/wet-boew/GCWeb/issues/new?title=Ajax%20Fetch">Questions ou commentaires ?</a></li>
12+
</ul>
13+
14+
<p>Le composant ajax-fetch dans WET-BOEW gère les requêtes Ajax en déclenchant un événement pour initier la requête, en traitant la requête et en déclenchant des événements personnalisés pour le succès ou l'échec afin de faciliter le traitement des réponses. Le composant définit les événements suivants :</p>
15+
16+
<ul class="list-inline">
17+
<li><strong>ajax-fetch.wb :</strong> Déclenché pour initier une requête Ajax basée sur les options fournies.</li>
18+
<li><strong>ajax-fetched.wb :</strong> Déclenché lorsque la requête Ajax est complétée avec succès, contenant les données de réponse et d'autres informations pertinentes.</li>
19+
<li><strong>ajax-failed.wb :</strong> Déclenché lorsque la requête Ajax échoue, contenant les informations sur l'erreur et le statut de la requête échouée.</li>
20+
</ul>
21+
22+
<p>Il est utilisé dans les composants suivants :</p>
23+
24+
<ul class="list-inline">
25+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/data-ajax/data-ajax-fr.html">Data Ajax</a></li>
26+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/feeds/feeds-fr.html">Fils de syndication</a></li>
27+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/menu/menu-fr.html">Menu</a></li>
28+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-audio-fr.html">Lecteur multimédia - Audio seulement</a></li>
29+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-fr.html">Lecteur multimédia - Vidéo</a></li>
30+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/multimedia/multimedia-youtube-fr.html">Lecteur multimédia - YouTube</a></li>
31+
<li><a href="https://wet-boew.github.io/wet-boew/demos/datalist/datalist-dynamic-fr.html">Correctif « datalist » (saisie automatique) - Dynamique</a></li>
32+
</ul>

wet-boew/ajax-fetch/index.json-ld

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"dct": "http://purl.org/dc/terms/",
5+
"title": { "@id": "dct:title", "@container": "@language" },
6+
"description": { "@id": "dct:description", "@container": "@language" },
7+
"modified": "dct:modified"
8+
},
9+
"title": {
10+
"en": "ajax-fetch",
11+
"fr": "ajax-fetch"
12+
},
13+
"description": {
14+
"en": "Handles Ajax requests and triggers events for success or failure.",
15+
"fr": "Gère les requêtes Ajax et déclenche des événements pour le succès ou l'échec."
16+
},
17+
"modified": "2024-08-01",
18+
"componentName": "ajax-fetch",
19+
"status": "stable",
20+
"pages": {
21+
"examples": [
22+
{
23+
"title": "Ajax fetch",
24+
"language": "en",
25+
"path": "./ajax-fetch-en.html"
26+
},
27+
{
28+
"title": "Ajax fetch",
29+
"language": "fr",
30+
"path": "./ajax-fetch-fr.html"
31+
}
32+
]
33+
}
34+
}

wet-boew/geomap/index.json-ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
{
3333
"title": "Geomap v4.0.30",
34-
"language": "fr",
34+
"language": "en",
3535
"path": "./geomap-v4.0.30-en.html"
3636
},
3737
{

wet-boew/json-fetch/index.json-ld

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"dct": "http://purl.org/dc/terms/",
5+
"title": { "@id": "dct:title", "@container": "@language" },
6+
"description": { "@id": "dct:description", "@container": "@language" },
7+
"modified": "dct:modified"
8+
},
9+
"title": {
10+
"en": "json-fetch",
11+
"fr": "json-fetch"
12+
},
13+
"description": {
14+
"en": "Handles JSON data fetching and triggers events for success or failure.",
15+
"fr": "Gère la récupération de données JSON et déclenche des événements pour le succès ou l'échec."
16+
},
17+
"modified": "2024-08-01",
18+
"componentName": "json-fetch",
19+
"status": "stable",
20+
"pages": {
21+
"examples": [
22+
{
23+
"title": "JSON fetch",
24+
"language": "en",
25+
"path": "./json-fetch-en.html"
26+
},
27+
{
28+
"title": "JSON fetch",
29+
"language": "fr",
30+
"path": "./json-fetch-fr.html"
31+
}
32+
]
33+
}
34+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
{
3+
"title": "json-fetch",
4+
"language": "en",
5+
"description": "Handles JSON data fetching and triggers events for success or failure.",
6+
"altLangPage": "json-fetch-fr.html",
7+
"dateModified": "2024-08-01"
8+
}
9+
---
10+
<ul class="list-inline">
11+
<li><a class="btn btn-primary" href="https://github.com/wet-boew/GCWeb/issues/new?title=JSON%20fetch">Questions or comments?</a></li>
12+
</ul>
13+
14+
<p>The json-fetch component in WET-BOEW manages JSON data retrieval by triggering events to start the fetch operation, process the data, and handle responses. It defines custom events to signal the success or failure of the fetch operation, and can also handle dataset names via the wb-jsonpatch plugin. The component defines the following events:</p>
15+
16+
<ul class="list-inline">
17+
<li><strong>json-fetch.wb:</strong> Triggered to initiate a JSON fetch operation.</li>
18+
<li><strong>json-fetched.wb:</strong> Triggered when a JSON fetch is successful, providing the fetched response and other related data.</li>
19+
<li><strong>json-failed.wb:</strong> Triggered when a JSON fetch fails, providing error information and status details.</li>
20+
<li><strong>postpone.wb-jsonmanager:</strong> Triggered to postpone handling if a dataset name is encountered, allowing the wb-jsonpatch plugin to manage it.</li>
21+
</ul>
22+
23+
<p>It is used in the following components:</p>
24+
25+
<ul class="list-inline">
26+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/wb-data-json/data-json-en.html">Data JSON</a></li>
27+
<li><a href="https://wet-boew.github.io/gcweb-compiled-demos/wetboew-demos/wb-jsonmanager/jsonmanager-en.html">JSON Manager</a></li>
28+
</ul>

0 commit comments

Comments
 (0)