Skip to content
This repository was archived by the owner on Jun 17, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/dynamicUX/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h3>Aller plus loin</h3>
<ul>
<li><a href="https://www.enthic.fr/">La base de données Enthic.fr utilisée ici</a></li>
<li><a href="https://www.inpi.fr/fr/licence-registre-national-du-commerce-et-des-societes-rncs">La source officielle des données sur l'INPI</a></li>
<li><a href="https://data.inpi.fr/content/editorial/lien-serveur-ftp-entreprises">La source officielle des données sur l'INPI</a></li>
<li><a href=""></a></li>
</ul>
</div>
Expand All @@ -20,7 +20,7 @@
<ul>
<li><a href="https://chat.codefor.fr">Le chat pour venir nous parler</a></li>
<li><a href="https://github.com/phe-sto/enthic">Code source du back</a></li>
<li><a href="https://github.com/co-demos/apiviz-frontend/tree/OpenCompaniesData">Code source du front</a></li>
<li><a href="https://github.com/CodeforFR/OpenCompaniesData">Code source du front</a></li>
</ul>
</div>
</div>
Expand Down
16 changes: 14 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,19 @@
<div class="columns is-centered is-multiline">
<div class="column is-3 content is-horizontal-center">
<figure class="image img-mini is-inline-block">
<a href="https://www.enthic.fr"><img src="/favicon.ico" alt="logo Enthic" style="width:40%"></a>
<a href="https://www.enthic.fr"><img src="/favicon.ico" alt="logo Enthic" style="width:50%"></a>
</figure>
</div>

<div class="column is-3 content is-horizontal-center">
<figure class="image img-mini is-inline-block">
<a href="https://dataforgood.fr/"><img src="https://dataforgood.fr/img/logo-white.png" alt="logo Data for Good" style="width:50%"></a>
</figure>
</div>

<div class="column is-3 content is-horizontal-center">
<figure class="image img-mini is-inline-block">
<a href="https://www.latitudes.cc/"><img src="https://user-images.strikinglycdn.com/res/hrscywv4p/image/upload/c_limit,fl_lossy,h_1440,w_720,f_auto,q_auto/1127947/94d0886c-2247-43ea-9bc2-857fb3299d69_yd1kkl.png" alt="logo Latitudes" style="width:70%"></a>
</figure>
</div>

Expand All @@ -134,7 +146,7 @@
<a href="https://wexample.com/"><img src="https://wexample.com/wp-content/uploads/2019/08/header-site-web-v3.png" alt="Logo Wexample"></a>
</figure>
</div>

<div class="column is-3 content is-horizontal-center">
<figure class="image img-mini is-inline-block">
<a href="https://apiviz.io/"><img src="https://raw.githubusercontent.com/co-demos/apiviz-frontend/master/static/logos/logo_apiviz_15.png" alt="Logo ApiViz"></a>
Expand Down
18 changes: 11 additions & 7 deletions plugins/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -665,15 +665,19 @@ export function searchEndpointGenerator( obj ) {
}

// loop in selectedFilters to add filters request if any
// find corresponding mapper in endPointConfig
const filterMapper = endpointConfigArgs.find( c => c.app_arg === 'filters')
// console.log("+ + + searchEndpointGenerator / filterMapper : \n ", filterMapper)
if (filterMapper && selectedFilters.length > 0 ){
const EndpointArg = filterMapper.arg
console.log("+ + + searchEndpointGenerator / selectedFilters : \n ", selectedFilters)
if (selectedFilters.length > 0 ){
let filterUrlArg = ""
for (let index in selectedFilters) {
let argFilterString = EndpointArg + '=' + selectedFilters[index]
argsArray.push(argFilterString)
if (filterUrlArg) {
filterUrlArg += ","
}
else {
filterUrlArg = "ape="
}
filterUrlArg += selectedFilters[index].slice(selectedFilters[index].length - 2)
}
argsArray.push(filterUrlArg)
}

let baseQuery = "https://api.enthic.fr/company/search/page"
Expand Down
150 changes: 0 additions & 150 deletions store/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,108 +664,6 @@ const emptyConfig = {
"has_socials": false,
"is_visible": true,
"links": [
{
"icon_class": "",
"is_external_link": true,
"is_visible": true,
"link_text": [
{
"locale": "en",
"text": "OCF official website"
},
{
"locale": "es",
"text": "pendiente"
},
{
"locale": "tr",
"text": "yapılmamış"
},
{
"locale": "de",
"text": "ungemacht"
},
{
"locale": "fr",
"text": "Le site officiel d'OCF"
}
],
"link_to": "http://opencorporatefacts.fr/",
"link_type": "text",
"tooltip": [
{
"locale": "en",
"text": "More infos"
},
{
"locale": "es",
"text": "pendiente"
},
{
"locale": "tr",
"text": "yapılmamış"
},
{
"locale": "de",
"text": "ungemacht"
},
{
"locale": "fr",
"text": "Plus d’informations"
}
]
},
{
"icon_class": "",
"is_external_link": true,
"is_visible": true,
"link_text": [
{
"locale": "en",
"text": "OCF's API platform"
},
{
"locale": "es",
"text": "pendiente"
},
{
"locale": "tr",
"text": "yapılmamış"
},
{
"locale": "de",
"text": "ungemacht"
},
{
"locale": "fr",
"text": "API platform d'OCF"
}
],
"link_to": "http://opencorporatefacts.fr/api?ui=docs",
"link_type": "text",
"tooltip": [
{
"locale": "en",
"text": "More infos"
},
{
"locale": "es",
"text": "pendiente"
},
{
"locale": "tr",
"text": "yapılmamış"
},
{
"locale": "de",
"text": "ungemacht"
},
{
"locale": "fr",
"text": "Plus d’informations"
}
]
},
{
"icon_class": "",
"is_external_link": true,
Expand Down Expand Up @@ -4709,22 +4607,6 @@ const emptyConfig = {
}
],
"resp_callbacks": [
{
"args_options": [
{
"app_arg": "itemId",
"arg": "Corporate",
"default": null,
"in": [
"url"
],
"optional": false,
"resp_field_id": "id",
"type": "str"
}
],
"root_url": "https://opencorporatefacts.fr/api/compte_de_resultats"
},
{
"root_sufix": [
{
Expand Down Expand Up @@ -4791,22 +4673,6 @@ const emptyConfig = {
"is_visible": true,
"method": "GET",
"resp_callbacks": [
{
"args_options": [
{
"app_arg": "itemId",
"arg": "Corporate",
"default": null,
"in": [
"url"
],
"optional": false,
"resp_field_id": "id",
"type": "str"
}
],
"root_url": "https://opencorporatefacts.fr/api/compte_de_resultats"
},
{
"root_sufix": [
{
Expand Down Expand Up @@ -4894,22 +4760,6 @@ const emptyConfig = {
}
],
"resp_callbacks": [
{
"args_options": [
{
"app_arg": "itemId",
"arg": "Corporate",
"default": null,
"in": [
"url"
],
"optional": false,
"resp_field_id": "id",
"type": "str"
}
],
"root_url": "https://opencorporatefacts.fr/api/compte_de_resultats"
},
{
"root_sufix": [
{
Expand Down