Compare commits
23 Commits
prd
...
016a24a8a2
| Author | SHA1 | Date | |
|---|---|---|---|
| 016a24a8a2 | |||
| 34bc52b676 | |||
| 4f1c218996 | |||
| 92c9819fdb | |||
| e86468e3fb | |||
| cf81b2daa8 | |||
| 521c454b4a | |||
| 2beab4fef2 | |||
| 9aec2f02b9 | |||
| 73c33f640a | |||
| 9ad2176a66 | |||
| a8a60223be | |||
| f352757658 | |||
| 28fe5c9d7a | |||
| f0a2f5925c | |||
| be3962d129 | |||
| 3361ef3171 | |||
| b4735efc49 | |||
| e65e0afa70 | |||
| e5617ee03f | |||
| 6e0dc17a46 | |||
| b576b7125b | |||
| 452fe0ac6f |
@@ -20,8 +20,11 @@
|
|||||||
"drupal/core-composer-scaffold": "^10.2",
|
"drupal/core-composer-scaffold": "^10.2",
|
||||||
"drupal/core-project-message": "^10.2",
|
"drupal/core-project-message": "^10.2",
|
||||||
"drupal/core-recommended": "^10.2",
|
"drupal/core-recommended": "^10.2",
|
||||||
|
"drupal/geofield": "^1.60",
|
||||||
"drupal/image_delta_formatter": "^1.2",
|
"drupal/image_delta_formatter": "^1.2",
|
||||||
"drupal/image_field_caption": "^2.0",
|
"drupal/image_field_caption": "^2.0",
|
||||||
|
"drupal/leaflet": "^10.2",
|
||||||
|
"drupal/leaflet_more_maps": "^2.2",
|
||||||
"drupal/linked_field": "^1.5",
|
"drupal/linked_field": "^1.5",
|
||||||
"drupal/manage_display": "^3.0",
|
"drupal/manage_display": "^3.0",
|
||||||
"drupal/matomo": "^1.23",
|
"drupal/matomo": "^1.23",
|
||||||
@@ -29,6 +32,7 @@
|
|||||||
"drupal/page_manager": "^4.0@RC",
|
"drupal/page_manager": "^4.0@RC",
|
||||||
"drupal/panels": "^4.8",
|
"drupal/panels": "^4.8",
|
||||||
"drupal/paragraphs": "^1.17",
|
"drupal/paragraphs": "^1.17",
|
||||||
|
"drupal/quick_node_clone": "^1.18",
|
||||||
"drupal/simple_sitemap": "^4.1",
|
"drupal/simple_sitemap": "^4.1",
|
||||||
"drupal/social_media_links": "^2.9",
|
"drupal/social_media_links": "^2.9",
|
||||||
"drupal/yaml_editor": "^1.2",
|
"drupal/yaml_editor": "^1.2",
|
||||||
|
|||||||
305
composer.lock
generated
305
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "79223df96df990c3b850f7ecb6441e64",
|
"content-hash": "e636d8065f593dcf1268ea5aa1ecdd2d",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "asm89/stack-cors",
|
"name": "asm89/stack-cors",
|
||||||
@@ -4249,6 +4249,68 @@
|
|||||||
"issues": "http://drupal.org/project/issues/formatter_suite"
|
"issues": "http://drupal.org/project/issues/formatter_suite"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/geofield",
|
||||||
|
"version": "1.60.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/geofield.git",
|
||||||
|
"reference": "8.x-1.60"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/geofield-8.x-1.60.zip",
|
||||||
|
"reference": "8.x-1.60",
|
||||||
|
"shasum": "ffb1891148b343208e7a190c8cc606a339c74ee1"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9 || ^10 || ^11",
|
||||||
|
"itamair/geophp": "^1.6"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"drupal/diff": "^1.3",
|
||||||
|
"drupal/feeds": "^3.0@beta"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.60",
|
||||||
|
"datestamp": "1722078200",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0+"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Italo Mairo",
|
||||||
|
"homepage": "https://www.drupal.org/u/itamair",
|
||||||
|
"role": "Drupal 8+ Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Brandon Morrison",
|
||||||
|
"homepage": "https://www.drupal.org/u/brandonian",
|
||||||
|
"role": "Drupal 7 Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Pablo López",
|
||||||
|
"homepage": "https://www.drupal.org/u/plopesc",
|
||||||
|
"role": "Drupal 7 Maintainer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Stores geographic and location data (points, lines, and polygons).",
|
||||||
|
"homepage": "https://www.drupal.org/project/geofield",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/geofield",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/geofield",
|
||||||
|
"irc": "irc://irc.freenode.org/drupal-contribute"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/honeypot",
|
"name": "drupal/honeypot",
|
||||||
"version": "2.1.3",
|
"version": "2.1.3",
|
||||||
@@ -4990,6 +5052,146 @@
|
|||||||
"issues": "https://www.drupal.org/project/issues/jquery_ui_touch_punch"
|
"issues": "https://www.drupal.org/project/issues/jquery_ui_touch_punch"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/leaflet",
|
||||||
|
"version": "10.2.25",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/leaflet.git",
|
||||||
|
"reference": "10.2.25"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/leaflet-10.2.25.zip",
|
||||||
|
"reference": "10.2.25",
|
||||||
|
"shasum": "06aff8c46ca30873d6accc452348bcf6f4e46348"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9.3 || ^10 || ^11",
|
||||||
|
"drupal/geofield": "^1.31"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "10.2.25",
|
||||||
|
"datestamp": "1724410606",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0+"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Italo Mairo",
|
||||||
|
"homepage": "https://www.drupal.org/u/itamair",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Peter Vanhee (pvhee)",
|
||||||
|
"homepage": "https://www.drupal.org/u/pvhee",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Rik de Boer (RdeBoer)",
|
||||||
|
"homepage": "https://www.drupal.org/u/rdeboer",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Gabriel Carleton-Barnes (gcb)",
|
||||||
|
"homepage": "https://www.drupal.org/u/gcb",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Lev Tsypin (levelos)",
|
||||||
|
"homepage": "https://www.drupal.org/u/levelos",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Sean Larkin (seanberto)",
|
||||||
|
"homepage": "https://www.drupal.org/u/seanberto",
|
||||||
|
"role": "Maintainer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Integration with the Leaflet map scripting library.",
|
||||||
|
"homepage": "https://www.drupal.org/project/leaflet",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/leaflet",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/leaflet"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/leaflet_more_maps",
|
||||||
|
"version": "2.2.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/leaflet_more_maps.git",
|
||||||
|
"reference": "2.2.2"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/leaflet_more_maps-2.2.2.zip",
|
||||||
|
"reference": "2.2.2",
|
||||||
|
"shasum": "40e34fd0e930a9497f0506c895d17a4261943281"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^8.8 || ^9 || ^10 || ^11",
|
||||||
|
"drupal/leaflet": "^2.1.0 || ^10.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"drupal/leaflet": "*"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "2.2.2",
|
||||||
|
"datestamp": "1723673168",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-8.x-1.x": "1.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "berramou",
|
||||||
|
"homepage": "https://www.drupal.org/user/3535998"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "itamair",
|
||||||
|
"homepage": "https://www.drupal.org/user/1179076"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "japerry",
|
||||||
|
"homepage": "https://www.drupal.org/user/45640"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rachel_norfolk",
|
||||||
|
"homepage": "https://www.drupal.org/user/66273"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RdeBoer",
|
||||||
|
"homepage": "https://www.drupal.org/user/404007"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Adds a swag of map styles to Leaflet, e.g Thunderforest, Esri, Stamen, Google.",
|
||||||
|
"homepage": "https://www.drupal.org/project/leaflet_more_maps",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/leaflet_more_maps",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/leaflet_more_maps"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/link_attributes",
|
"name": "drupal/link_attributes",
|
||||||
"version": "1.14.0",
|
"version": "1.14.0",
|
||||||
@@ -6286,6 +6488,61 @@
|
|||||||
"source": "https://git.drupalcode.org/project/profile"
|
"source": "https://git.drupalcode.org/project/profile"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/quick_node_clone",
|
||||||
|
"version": "1.18.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/quick_node_clone.git",
|
||||||
|
"reference": "8.x-1.18"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/quick_node_clone-8.x-1.18.zip",
|
||||||
|
"reference": "8.x-1.18",
|
||||||
|
"shasum": "ab17077eccb24e5c651fedc5056a50051882a13d"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^8.8 || ^9 || ^10"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"drupal/group": "^1 || ^2 || ^3",
|
||||||
|
"drupal/paragraphs": "1.x-dev"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.18",
|
||||||
|
"datestamp": "1707833857",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "vilepickle",
|
||||||
|
"homepage": "https://www.drupal.org/u/vilepickle",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Neslee Canil Pinto",
|
||||||
|
"homepage": "https://www.drupal.org/u/neslee-canil-pinto",
|
||||||
|
"role": "Maintainer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Quickly clone a node with regular fields.",
|
||||||
|
"homepage": "https://www.drupal.org/project/quick_node_clone",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/quick_node_clone",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/quick_node_clone"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/redirect",
|
"name": "drupal/redirect",
|
||||||
"version": "1.9.0",
|
"version": "1.9.0",
|
||||||
@@ -8126,6 +8383,52 @@
|
|||||||
],
|
],
|
||||||
"time": "2023-12-03T20:05:35+00:00"
|
"time": "2023-12-03T20:05:35+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "itamair/geophp",
|
||||||
|
"version": "1.6",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/itamair/geoPHP.git",
|
||||||
|
"reference": "f210e37ab3d4706b7e8cfe3183fec2f5be8a85e6"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/itamair/geoPHP/zipball/f210e37ab3d4706b7e8cfe3183fec2f5be8a85e6",
|
||||||
|
"reference": "f210e37ab3d4706b7e8cfe3183fec2f5be8a85e6",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "4.1.* || 9.5.*"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"geoPHP.inc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0+"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Italo Mairo",
|
||||||
|
"homepage": "https://www.linkedin.com/in/italomairo/",
|
||||||
|
"role": "Maintanier of this Library Repo"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Patrick Hayes",
|
||||||
|
"homepage": "https://www.linkedin.com/in/patrickdhayes/",
|
||||||
|
"role": "Maintanier of original Repositary/Library (https://github.com/phayes/geoPHP)"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "GeoPHP is a open-source native PHP library for doing geometry operations. It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, KML, GPX, GeoRSS). It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information.",
|
||||||
|
"homepage": "https://github.com/itamair/geoPHP",
|
||||||
|
"support": {
|
||||||
|
"source": "https://github.com/itamair/geoPHP/tree/1.6"
|
||||||
|
},
|
||||||
|
"time": "2023-12-23T23:28:59+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "kint-php/kint",
|
"name": "kint-php/kint",
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
|
|||||||
22
config/sync/core.base_field_override.node.site.promote.yml
Normal file
22
config/sync/core.base_field_override.node.site.promote.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
uuid: 84ca494d-94a9-49b0-96b5-6e2832da1964
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.promote
|
||||||
|
field_name: promote
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: "Promu en page d'accueil"
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: true
|
||||||
|
default_value:
|
||||||
|
-
|
||||||
|
value: 0
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
on_label: Activé
|
||||||
|
off_label: Désactivé
|
||||||
|
field_type: boolean
|
||||||
8
config/sync/core.date_format.jj.yml
Normal file
8
config/sync/core.date_format.jj.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
uuid: 0f5dd89b-cf0b-4f63-a91c-8fd9ee517766
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: jj
|
||||||
|
label: JJ/MM/AAAA
|
||||||
|
locked: false
|
||||||
|
pattern: d-m-Y
|
||||||
383
config/sync/core.entity_form_display.node.site.default.yml
Normal file
383
config/sync/core.entity_form_display.node.site.default.yml
Normal file
@@ -0,0 +1,383 @@
|
|||||||
|
uuid: e7e78a28-b569-4a31-88f4-6b0c3cd809c7
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.node.site.field_collectivite_s_epci
|
||||||
|
- field.field.node.site.field_departement_s
|
||||||
|
- field.field.node.site.field_documents
|
||||||
|
- field.field.node.site.field_geofield
|
||||||
|
- field.field.node.site.field_liens_site
|
||||||
|
- field.field.node.site.field_mots_clefs
|
||||||
|
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
|
||||||
|
- field.field.node.site.field_nom_du_qpv_nb_d_hab
|
||||||
|
- field.field.node.site.field_numero
|
||||||
|
- field.field.node.site.field_parties
|
||||||
|
- field.field.node.site.field_porteur_s_de_site
|
||||||
|
- field.field.node.site.field_programme_de_l_etat
|
||||||
|
- field.field.node.site.field_region
|
||||||
|
- field.field.node.site.field_sous_titre
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- field_group
|
||||||
|
- file
|
||||||
|
- leaflet
|
||||||
|
- link
|
||||||
|
- paragraphs
|
||||||
|
third_party_settings:
|
||||||
|
field_group:
|
||||||
|
group_tabs:
|
||||||
|
children:
|
||||||
|
- group_infos
|
||||||
|
- group_contenus
|
||||||
|
- group_mots_clefs
|
||||||
|
- group_annexe
|
||||||
|
- group_geofield
|
||||||
|
label: Tabs
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 3
|
||||||
|
format_type: tabs
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
direction: horizontal
|
||||||
|
width_breakpoint: 640
|
||||||
|
group_infos:
|
||||||
|
children:
|
||||||
|
- field_numero
|
||||||
|
- field_region
|
||||||
|
- field_nom_du_qpv_nb_d_hab
|
||||||
|
- field_departement_s
|
||||||
|
- field_programme_de_l_etat
|
||||||
|
- field_collectivite_s_epci
|
||||||
|
- field_porteur_s_de_site
|
||||||
|
- field_nom_de_la_commune_nb_d_hab
|
||||||
|
label: Infos
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 24
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
formatter: open
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_contenus:
|
||||||
|
children:
|
||||||
|
- field_parties
|
||||||
|
label: Contenus
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 25
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_details:
|
||||||
|
children:
|
||||||
|
- status
|
||||||
|
- created
|
||||||
|
- uid
|
||||||
|
- simple_sitemap
|
||||||
|
label: Details
|
||||||
|
region: content
|
||||||
|
parent_name: ''
|
||||||
|
weight: 2
|
||||||
|
format_type: details_sidebar
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
open: true
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
weight: -1
|
||||||
|
group_mots_clefs:
|
||||||
|
children:
|
||||||
|
- field_mots_clefs
|
||||||
|
label: 'Mots Clefs'
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 26
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_annexe:
|
||||||
|
children:
|
||||||
|
- field_documents
|
||||||
|
- field_liens_site
|
||||||
|
label: Annexe
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 27
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
group_geofield:
|
||||||
|
children:
|
||||||
|
- field_geofield
|
||||||
|
label: Geofield
|
||||||
|
region: content
|
||||||
|
parent_name: group_tabs
|
||||||
|
weight: 28
|
||||||
|
format_type: tab
|
||||||
|
format_settings:
|
||||||
|
classes: ''
|
||||||
|
show_empty_fields: false
|
||||||
|
id: ''
|
||||||
|
label_as_html: false
|
||||||
|
formatter: closed
|
||||||
|
description: ''
|
||||||
|
required_fields: true
|
||||||
|
id: node.site.default
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: site
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
created:
|
||||||
|
type: datetime_timestamp
|
||||||
|
weight: 4
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
field_collectivite_s_epci:
|
||||||
|
type: string_textarea
|
||||||
|
weight: 17
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 5
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_departement_s:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 15
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_documents:
|
||||||
|
type: file_generic
|
||||||
|
weight: 23
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
third_party_settings: { }
|
||||||
|
field_geofield:
|
||||||
|
type: leaflet_widget_default
|
||||||
|
weight: 28
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
map:
|
||||||
|
leaflet_map: osm-de
|
||||||
|
height: 400
|
||||||
|
auto_center: 0
|
||||||
|
map_position:
|
||||||
|
force: false
|
||||||
|
center:
|
||||||
|
lat: 46.751944
|
||||||
|
lon: 2.416667
|
||||||
|
zoomControlPosition: topleft
|
||||||
|
zoom: 5
|
||||||
|
minZoom: 1
|
||||||
|
maxZoom: 18
|
||||||
|
zoomFiner: 0
|
||||||
|
scroll_zoom_enabled: 1
|
||||||
|
input:
|
||||||
|
show: false
|
||||||
|
readonly: true
|
||||||
|
toolbar:
|
||||||
|
position: topright
|
||||||
|
marker: defaultMarker
|
||||||
|
drawPolyline: false
|
||||||
|
drawRectangle: false
|
||||||
|
drawPolygon: false
|
||||||
|
drawCircle: false
|
||||||
|
drawText: false
|
||||||
|
editMode: false
|
||||||
|
dragMode: false
|
||||||
|
cutPolygon: false
|
||||||
|
removalMode: false
|
||||||
|
rotateMode: false
|
||||||
|
reset_map:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"topleft","title":"Reset View"}'
|
||||||
|
map_scale:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"bottomright","maxWidth":100,"metric":true,"imperial":false,"updateWhenIdle":false}'
|
||||||
|
fullscreen:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"topleft","pseudoFullscreen":false}'
|
||||||
|
path: '{"color":"#3388ff","opacity":"1.0","stroke":true,"weight":3,"fill":"depends","fillColor":"*","fillOpacity":"0.2","radius":"6"}'
|
||||||
|
locate:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"topright","setView":"untilPanOrZoom","returnToPrevBounds":true,"keepCurrentZoomLevel":true,"strings":{"title":"Locate my position"}}'
|
||||||
|
automatic: false
|
||||||
|
geocoder:
|
||||||
|
control: false
|
||||||
|
settings:
|
||||||
|
position: topright
|
||||||
|
input_size: 20
|
||||||
|
providers: { }
|
||||||
|
min_terms: 4
|
||||||
|
delay: 800
|
||||||
|
zoom: 16
|
||||||
|
popup: false
|
||||||
|
options: ''
|
||||||
|
geometry_validation: 0
|
||||||
|
feature_properties:
|
||||||
|
values: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_liens_site:
|
||||||
|
type: link_default
|
||||||
|
weight: 24
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
placeholder_url: ''
|
||||||
|
placeholder_title: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_mots_clefs:
|
||||||
|
type: entity_reference_autocomplete_tags
|
||||||
|
weight: 12
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_nom_de_la_commune_nb_d_hab:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 19
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_nom_du_qpv_nb_d_hab:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 14
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_numero:
|
||||||
|
type: number
|
||||||
|
weight: 11
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_parties:
|
||||||
|
type: paragraphs
|
||||||
|
weight: 22
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
title: Paragraphe
|
||||||
|
title_plural: Paragraphs
|
||||||
|
edit_mode: open
|
||||||
|
closed_mode: summary
|
||||||
|
autocollapse: none
|
||||||
|
closed_mode_threshold: 0
|
||||||
|
add_mode: dropdown
|
||||||
|
form_display_mode: default
|
||||||
|
default_paragraph_type: _none
|
||||||
|
features:
|
||||||
|
add_above: '0'
|
||||||
|
collapse_edit_all: collapse_edit_all
|
||||||
|
convert: '0'
|
||||||
|
duplicate: duplicate
|
||||||
|
third_party_settings: { }
|
||||||
|
field_porteur_s_de_site:
|
||||||
|
type: string_textarea
|
||||||
|
weight: 18
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 5
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_programme_de_l_etat:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 16
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_region:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 13
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_sous_titre:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
simple_sitemap:
|
||||||
|
weight: 6
|
||||||
|
region: content
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
status:
|
||||||
|
type: boolean_checkbox
|
||||||
|
weight: 2
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
display_label: true
|
||||||
|
third_party_settings: { }
|
||||||
|
title:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
uid:
|
||||||
|
type: entity_reference_autocomplete
|
||||||
|
weight: 5
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
match_operator: CONTAINS
|
||||||
|
match_limit: 10
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
langcode: true
|
||||||
|
path: true
|
||||||
|
promote: true
|
||||||
|
simple_sitemap_index_now: true
|
||||||
|
sticky: true
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
uuid: 75b62af0-1ff7-40a4-b944-122ec39b4387
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.site_diapo.field_images
|
||||||
|
- image.style.thumbnail
|
||||||
|
- paragraphs.paragraphs_type.site_diapo
|
||||||
|
module:
|
||||||
|
- image
|
||||||
|
id: paragraph.site_diapo.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: site_diapo
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_images:
|
||||||
|
type: image_image
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
progress_indicator: throbber
|
||||||
|
preview_image_style: thumbnail
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
status: true
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
uuid: 60713e61-4707-4a60-8408-4401d8305c5f
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.site_parts.field_texte_site
|
||||||
|
- field.field.paragraph.site_parts.field_titre_site
|
||||||
|
- paragraphs.paragraphs_type.site_parts
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
id: paragraph.site_parts.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: site_parts
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_texte_site:
|
||||||
|
type: text_textarea
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
rows: 5
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
field_titre_site:
|
||||||
|
type: string_textfield
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
settings:
|
||||||
|
size: 60
|
||||||
|
placeholder: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
status: true
|
||||||
@@ -35,7 +35,7 @@ content:
|
|||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
settings:
|
settings:
|
||||||
timezone_override: ''
|
timezone_override: ''
|
||||||
format_type: html_date
|
format_type: jj
|
||||||
separator: '-'
|
separator: '-'
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 5
|
weight: 5
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ content:
|
|||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
settings:
|
settings:
|
||||||
timezone_override: ''
|
timezone_override: ''
|
||||||
format_type: html_date
|
format_type: jj
|
||||||
separator: '-'
|
separator: '-'
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 2
|
weight: 2
|
||||||
|
|||||||
167
config/sync/core.entity_view_display.node.site.default.yml
Normal file
167
config/sync/core.entity_view_display.node.site.default.yml
Normal file
@@ -0,0 +1,167 @@
|
|||||||
|
uuid: 2784b139-bba4-4fdb-9deb-1decb6fbf25a
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.node.site.field_collectivite_s_epci
|
||||||
|
- field.field.node.site.field_departement_s
|
||||||
|
- field.field.node.site.field_documents
|
||||||
|
- field.field.node.site.field_geofield
|
||||||
|
- field.field.node.site.field_liens_site
|
||||||
|
- field.field.node.site.field_mots_clefs
|
||||||
|
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
|
||||||
|
- field.field.node.site.field_nom_du_qpv_nb_d_hab
|
||||||
|
- field.field.node.site.field_numero
|
||||||
|
- field.field.node.site.field_parties
|
||||||
|
- field.field.node.site.field_porteur_s_de_site
|
||||||
|
- field.field.node.site.field_programme_de_l_etat
|
||||||
|
- field.field.node.site.field_region
|
||||||
|
- field.field.node.site.field_sous_titre
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
- file
|
||||||
|
- geofield
|
||||||
|
- link
|
||||||
|
- manage_display
|
||||||
|
id: node.site.default
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: site
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_collectivite_s_epci:
|
||||||
|
type: basic_string
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 108
|
||||||
|
region: content
|
||||||
|
field_departement_s:
|
||||||
|
type: string
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 106
|
||||||
|
region: content
|
||||||
|
field_documents:
|
||||||
|
type: file_default
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
use_description_as_link_text: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 111
|
||||||
|
region: content
|
||||||
|
field_geofield:
|
||||||
|
type: geofield_default
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
output_format: wkt
|
||||||
|
output_escape: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 115
|
||||||
|
region: content
|
||||||
|
field_liens_site:
|
||||||
|
type: link
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
trim_length: 80
|
||||||
|
url_only: false
|
||||||
|
url_plain: false
|
||||||
|
rel: ''
|
||||||
|
target: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 112
|
||||||
|
region: content
|
||||||
|
field_mots_clefs:
|
||||||
|
type: entity_reference_label
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 103
|
||||||
|
region: content
|
||||||
|
field_nom_de_la_commune_nb_d_hab:
|
||||||
|
type: string
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 110
|
||||||
|
region: content
|
||||||
|
field_nom_du_qpv_nb_d_hab:
|
||||||
|
type: string
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 105
|
||||||
|
region: content
|
||||||
|
field_numero:
|
||||||
|
type: number_integer
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
thousand_separator: ''
|
||||||
|
prefix_suffix: true
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 102
|
||||||
|
region: content
|
||||||
|
field_parties:
|
||||||
|
type: entity_reference_revisions_entity_view
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
view_mode: default
|
||||||
|
link: ''
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 113
|
||||||
|
region: content
|
||||||
|
field_porteur_s_de_site:
|
||||||
|
type: basic_string
|
||||||
|
label: above
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 109
|
||||||
|
region: content
|
||||||
|
field_programme_de_l_etat:
|
||||||
|
type: string
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 107
|
||||||
|
region: content
|
||||||
|
field_region:
|
||||||
|
type: string
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 104
|
||||||
|
region: content
|
||||||
|
field_sous_titre:
|
||||||
|
type: string
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 114
|
||||||
|
region: content
|
||||||
|
links:
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 100
|
||||||
|
region: content
|
||||||
|
title:
|
||||||
|
type: title
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: true
|
||||||
|
tag: h2
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: -49
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
||||||
|
uid: true
|
||||||
61
config/sync/core.entity_view_display.node.site.teaser.yml
Normal file
61
config/sync/core.entity_view_display.node.site.teaser.yml
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
uuid: c77749f5-4677-4215-919c-4239e8c2ec48
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- core.entity_view_mode.node.teaser
|
||||||
|
- field.field.node.site.field_collectivite_s_epci
|
||||||
|
- field.field.node.site.field_departement_s
|
||||||
|
- field.field.node.site.field_documents
|
||||||
|
- field.field.node.site.field_geofield
|
||||||
|
- field.field.node.site.field_liens_site
|
||||||
|
- field.field.node.site.field_mots_clefs
|
||||||
|
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
|
||||||
|
- field.field.node.site.field_nom_du_qpv_nb_d_hab
|
||||||
|
- field.field.node.site.field_numero
|
||||||
|
- field.field.node.site.field_parties
|
||||||
|
- field.field.node.site.field_porteur_s_de_site
|
||||||
|
- field.field.node.site.field_programme_de_l_etat
|
||||||
|
- field.field.node.site.field_region
|
||||||
|
- field.field.node.site.field_sous_titre
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- manage_display
|
||||||
|
id: node.site.teaser
|
||||||
|
targetEntityType: node
|
||||||
|
bundle: site
|
||||||
|
mode: teaser
|
||||||
|
content:
|
||||||
|
links:
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 100
|
||||||
|
region: content
|
||||||
|
title:
|
||||||
|
type: title
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: true
|
||||||
|
tag: h2
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: -49
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
created: true
|
||||||
|
field_collectivite_s_epci: true
|
||||||
|
field_departement_s: true
|
||||||
|
field_documents: true
|
||||||
|
field_geofield: true
|
||||||
|
field_liens_site: true
|
||||||
|
field_mots_clefs: true
|
||||||
|
field_nom_de_la_commune_nb_d_hab: true
|
||||||
|
field_nom_du_qpv_nb_d_hab: true
|
||||||
|
field_numero: true
|
||||||
|
field_parties: true
|
||||||
|
field_porteur_s_de_site: true
|
||||||
|
field_programme_de_l_etat: true
|
||||||
|
field_region: true
|
||||||
|
field_sous_titre: true
|
||||||
|
langcode: true
|
||||||
|
search_api_excerpt: true
|
||||||
|
uid: true
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
uuid: 558b0ac9-2db5-4d8c-a209-9c719d95675b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.site_diapo.field_images
|
||||||
|
- image.style.wide
|
||||||
|
- paragraphs.paragraphs_type.site_diapo
|
||||||
|
module:
|
||||||
|
- image_field_caption
|
||||||
|
id: paragraph.site_diapo.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: site_diapo
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_images:
|
||||||
|
type: image_caption
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
image_style: wide
|
||||||
|
image_link: ''
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
search_api_excerpt: true
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
uuid: dfa49c58-832c-43db-9aae-9878657262aa
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.field.paragraph.site_parts.field_texte_site
|
||||||
|
- field.field.paragraph.site_parts.field_titre_site
|
||||||
|
- paragraphs.paragraphs_type.site_parts
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
id: paragraph.site_parts.default
|
||||||
|
targetEntityType: paragraph
|
||||||
|
bundle: site_parts
|
||||||
|
mode: default
|
||||||
|
content:
|
||||||
|
field_texte_site:
|
||||||
|
type: text_default
|
||||||
|
label: visually_hidden
|
||||||
|
settings: { }
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 1
|
||||||
|
region: content
|
||||||
|
field_titre_site:
|
||||||
|
type: string
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
weight: 0
|
||||||
|
region: content
|
||||||
|
hidden:
|
||||||
|
search_api_excerpt: true
|
||||||
@@ -52,6 +52,7 @@ module:
|
|||||||
filter: 0
|
filter: 0
|
||||||
filter_perms: 0
|
filter_perms: 0
|
||||||
formatter_suite: 0
|
formatter_suite: 0
|
||||||
|
geofield: 0
|
||||||
help: 0
|
help: 0
|
||||||
honeypot: 0
|
honeypot: 0
|
||||||
image: 0
|
image: 0
|
||||||
@@ -64,6 +65,9 @@ module:
|
|||||||
jquery_ui_touch_punch: 0
|
jquery_ui_touch_punch: 0
|
||||||
language: 0
|
language: 0
|
||||||
layout_discovery: 0
|
layout_discovery: 0
|
||||||
|
leaflet: 0
|
||||||
|
leaflet_more_maps: 0
|
||||||
|
leaflet_views: 0
|
||||||
link: 0
|
link: 0
|
||||||
link_attributes: 0
|
link_attributes: 0
|
||||||
linkit: 0
|
linkit: 0
|
||||||
@@ -91,6 +95,7 @@ module:
|
|||||||
pathologic: 0
|
pathologic: 0
|
||||||
persistent_login: 0
|
persistent_login: 0
|
||||||
q2d_mod: 0
|
q2d_mod: 0
|
||||||
|
quick_node_clone: 0
|
||||||
redis: 0
|
redis: 0
|
||||||
responsive_image: 0
|
responsive_image: 0
|
||||||
search_api: 0
|
search_api: 0
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 2fd10960-84db-4c32-aa23-e83d7218a869
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_collectivite_s_epci
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_collectivite_s_epci
|
||||||
|
field_name: field_collectivite_s_epci
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Collectivité(s)/EPCI
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string_long
|
||||||
19
config/sync/field.field.node.site.field_departement_s.yml
Normal file
19
config/sync/field.field.node.site.field_departement_s.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: f8c3917e-7ba5-43d8-86da-95b0a103c66a
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_departement_s
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_departement_s
|
||||||
|
field_name: field_departement_s
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Département(s)
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
27
config/sync/field.field.node.site.field_documents.yml
Normal file
27
config/sync/field.field.node.site.field_documents.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
uuid: ea87cbb4-10fd-4906-b999-d0e96569c8b9
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_documents
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
id: node.site.field_documents
|
||||||
|
field_name: field_documents
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Documents
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:file'
|
||||||
|
handler_settings: { }
|
||||||
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
|
file_extensions: 'pdf doc docx odt zip'
|
||||||
|
max_filesize: ''
|
||||||
|
description_field: true
|
||||||
|
field_type: file
|
||||||
21
config/sync/field.field.node.site.field_geofield.yml
Normal file
21
config/sync/field.field.node.site.field_geofield.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: ecc5aa84-8f69-400b-b753-68a59db8780b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_geofield
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- geofield
|
||||||
|
id: node.site.field_geofield
|
||||||
|
field_name: field_geofield
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: geofield
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: geofield
|
||||||
23
config/sync/field.field.node.site.field_liens_site.yml
Normal file
23
config/sync/field.field.node.site.field_liens_site.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
uuid: 9f267470-36a1-44a9-a6ec-4153b1b633dd
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_liens_site
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- link
|
||||||
|
id: node.site.field_liens_site
|
||||||
|
field_name: field_liens_site
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Liens
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
title: 1
|
||||||
|
link_type: 16
|
||||||
|
field_type: link
|
||||||
29
config/sync/field.field.node.site.field_mots_clefs.yml
Normal file
29
config/sync/field.field.node.site.field_mots_clefs.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
uuid: 37705251-7834-4e73-a3e9-312019908421
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_mots_clefs
|
||||||
|
- node.type.site
|
||||||
|
- taxonomy.vocabulary.mots_clefs
|
||||||
|
id: node.site.field_mots_clefs
|
||||||
|
field_name: field_mots_clefs
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: 'Mots Clefs'
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:taxonomy_term'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
mots_clefs: mots_clefs
|
||||||
|
sort:
|
||||||
|
field: name
|
||||||
|
direction: asc
|
||||||
|
auto_create: true
|
||||||
|
auto_create_bundle: ''
|
||||||
|
field_type: entity_reference
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: eb94427f-c7f2-4258-b134-ddf3e273a283
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_nom_de_la_commune_nb_d_hab
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_nom_de_la_commune_nb_d_hab
|
||||||
|
field_name: field_nom_de_la_commune_nb_d_hab
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: "Nom de la commune (nb d'hab.)"
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: f8b5bcd3-2cf9-422e-a843-ac41f0637d5d
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_nom_du_qpv_nb_d_hab
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_nom_du_qpv_nb_d_hab
|
||||||
|
field_name: field_nom_du_qpv_nb_d_hab
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: "Nom du QPV (nb d'hab.)"
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
23
config/sync/field.field.node.site.field_numero.yml
Normal file
23
config/sync/field.field.node.site.field_numero.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
uuid: fc5d18ef-ba33-43c7-98d2-de7dcd5dc570
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_numero
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_numero
|
||||||
|
field_name: field_numero
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Numéro
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
min: 1
|
||||||
|
max: 10
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
field_type: integer
|
||||||
42
config/sync/field.field.node.site.field_parties.yml
Normal file
42
config/sync/field.field.node.site.field_parties.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
uuid: b8d0342a-4137-4906-8239-a7a9ef454b5b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_parties
|
||||||
|
- node.type.site
|
||||||
|
- paragraphs.paragraphs_type.site_diapo
|
||||||
|
- paragraphs.paragraphs_type.site_parts
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
id: node.site.field_parties
|
||||||
|
field_name: field_parties
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Parties
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:paragraph'
|
||||||
|
handler_settings:
|
||||||
|
target_bundles:
|
||||||
|
site_diapo: site_diapo
|
||||||
|
site_parts: site_parts
|
||||||
|
negate: 0
|
||||||
|
target_bundles_drag_drop:
|
||||||
|
phase_deroulement:
|
||||||
|
weight: 6
|
||||||
|
enabled: false
|
||||||
|
site_diapo:
|
||||||
|
weight: 5
|
||||||
|
enabled: true
|
||||||
|
site_parts:
|
||||||
|
weight: 7
|
||||||
|
enabled: true
|
||||||
|
static_parts:
|
||||||
|
weight: 8
|
||||||
|
enabled: false
|
||||||
|
field_type: entity_reference_revisions
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 41024188-73b1-441e-8373-d841ff27d186
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_porteur_s_de_site
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_porteur_s_de_site
|
||||||
|
field_name: field_porteur_s_de_site
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: 'Porteur(s) de site'
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string_long
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: b4f918d5-3ffd-4739-bda5-3f254ff7a7a7
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_programme_de_l_etat
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_programme_de_l_etat
|
||||||
|
field_name: field_programme_de_l_etat
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: "Programmes de l'état"
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
19
config/sync/field.field.node.site.field_region.yml
Normal file
19
config/sync/field.field.node.site.field_region.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 13b8a155-9f59-43ac-85be-d4c21b08d545
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_region
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_region
|
||||||
|
field_name: field_region
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Région
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
19
config/sync/field.field.node.site.field_sous_titre.yml
Normal file
19
config/sync/field.field.node.site.field_sous_titre.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: e0c86d24-e8ae-4fad-9cf1-9e517e162272
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_sous_titre
|
||||||
|
- node.type.site
|
||||||
|
id: node.site.field_sous_titre
|
||||||
|
field_name: field_sous_titre
|
||||||
|
entity_type: node
|
||||||
|
bundle: site
|
||||||
|
label: Sous-titre
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
uuid: 68b87095-521b-4c7c-bd68-31b5077b80cb
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_images
|
||||||
|
- paragraphs.paragraphs_type.site_diapo
|
||||||
|
module:
|
||||||
|
- image
|
||||||
|
id: paragraph.site_diapo.field_images
|
||||||
|
field_name: field_images
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: site_diapo
|
||||||
|
label: Images
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
handler: 'default:file'
|
||||||
|
handler_settings: { }
|
||||||
|
file_directory: '[date:custom:Y]-[date:custom:m]'
|
||||||
|
file_extensions: 'png gif jpg jpeg webp'
|
||||||
|
max_filesize: ''
|
||||||
|
max_resolution: ''
|
||||||
|
min_resolution: ''
|
||||||
|
alt_field: true
|
||||||
|
alt_field_required: true
|
||||||
|
title_field: false
|
||||||
|
title_field_required: false
|
||||||
|
default_image:
|
||||||
|
uuid: ''
|
||||||
|
alt: ''
|
||||||
|
title: ''
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
caption: ''
|
||||||
|
caption_field: 1
|
||||||
|
caption_field_required: 0
|
||||||
|
field_type: image
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
uuid: c95a8ca1-6883-4c4e-b7f8-2787964e735c
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_texte_site
|
||||||
|
- filter.format.wysiwyg
|
||||||
|
- paragraphs.paragraphs_type.site_parts
|
||||||
|
module:
|
||||||
|
- text
|
||||||
|
id: paragraph.site_parts.field_texte_site
|
||||||
|
field_name: field_texte_site
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: site_parts
|
||||||
|
label: Texte
|
||||||
|
description: ''
|
||||||
|
required: false
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings:
|
||||||
|
allowed_formats:
|
||||||
|
- wysiwyg
|
||||||
|
field_type: text_long
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 40d2fe38-a2bb-481f-9567-b7fe912913c1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.paragraph.field_titre_site
|
||||||
|
- paragraphs.paragraphs_type.site_parts
|
||||||
|
id: paragraph.site_parts.field_titre_site
|
||||||
|
field_name: field_titre_site
|
||||||
|
entity_type: paragraph
|
||||||
|
bundle: site_parts
|
||||||
|
label: Titre
|
||||||
|
description: ''
|
||||||
|
required: true
|
||||||
|
translatable: false
|
||||||
|
default_value: { }
|
||||||
|
default_value_callback: ''
|
||||||
|
settings: { }
|
||||||
|
field_type: string
|
||||||
19
config/sync/field.storage.node.field_collectivite_s_epci.yml
Normal file
19
config/sync/field.storage.node.field_collectivite_s_epci.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 53454d14-8240-4c86-bb29-fbaa9acd9fd6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_collectivite_s_epci
|
||||||
|
field_name: field_collectivite_s_epci
|
||||||
|
entity_type: node
|
||||||
|
type: string_long
|
||||||
|
settings:
|
||||||
|
case_sensitive: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.node.field_departement_s.yml
Normal file
21
config/sync/field.storage.node.field_departement_s.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: fe6cf2e2-12dc-426a-a11e-7efdf487949f
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_departement_s
|
||||||
|
field_name: field_departement_s
|
||||||
|
entity_type: node
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
23
config/sync/field.storage.node.field_documents.yml
Normal file
23
config/sync/field.storage.node.field_documents.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
uuid: 75ba3ece-31e2-4acf-96f8-fa3e85c486fe
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- node
|
||||||
|
id: node.field_documents
|
||||||
|
field_name: field_documents
|
||||||
|
entity_type: node
|
||||||
|
type: file
|
||||||
|
settings:
|
||||||
|
target_type: file
|
||||||
|
display_field: true
|
||||||
|
display_default: true
|
||||||
|
uri_scheme: public
|
||||||
|
module: file
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
20
config/sync/field.storage.node.field_geofield.yml
Normal file
20
config/sync/field.storage.node.field_geofield.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
uuid: 72ed3521-e8b5-4275-8009-52965fd26001
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- geofield
|
||||||
|
- node
|
||||||
|
id: node.field_geofield
|
||||||
|
field_name: field_geofield
|
||||||
|
entity_type: node
|
||||||
|
type: geofield
|
||||||
|
settings:
|
||||||
|
backend: geofield_backend_default
|
||||||
|
module: geofield
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
19
config/sync/field.storage.node.field_liens_site.yml
Normal file
19
config/sync/field.storage.node.field_liens_site.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 9e02c7d3-8035-44de-9827-63c0bcb75b86
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- link
|
||||||
|
- node
|
||||||
|
id: node.field_liens_site
|
||||||
|
field_name: field_liens_site
|
||||||
|
entity_type: node
|
||||||
|
type: link
|
||||||
|
settings: { }
|
||||||
|
module: link
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
20
config/sync/field.storage.node.field_mots_clefs.yml
Normal file
20
config/sync/field.storage.node.field_mots_clefs.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
uuid: d10aa3f5-70a2-4603-a3cc-3ebb203bfef4
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- taxonomy
|
||||||
|
id: node.field_mots_clefs
|
||||||
|
field_name: field_mots_clefs
|
||||||
|
entity_type: node
|
||||||
|
type: entity_reference
|
||||||
|
settings:
|
||||||
|
target_type: taxonomy_term
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: 31923579-551d-4b9a-b012-c27bb85e2ba6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_nom_de_la_commune_nb_d_hab
|
||||||
|
field_name: field_nom_de_la_commune_nb_d_hab
|
||||||
|
entity_type: node
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.node.field_nom_du_qpv_nb_d_hab.yml
Normal file
21
config/sync/field.storage.node.field_nom_du_qpv_nb_d_hab.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: 1b415a83-b947-4be7-b692-5701c3b234ba
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_nom_du_qpv_nb_d_hab
|
||||||
|
field_name: field_nom_du_qpv_nb_d_hab
|
||||||
|
entity_type: node
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
20
config/sync/field.storage.node.field_numero.yml
Normal file
20
config/sync/field.storage.node.field_numero.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
uuid: 63e8d473-549a-47b6-93e6-3ebfded98feb
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_numero
|
||||||
|
field_name: field_numero
|
||||||
|
entity_type: node
|
||||||
|
type: integer
|
||||||
|
settings:
|
||||||
|
unsigned: false
|
||||||
|
size: normal
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.node.field_parties.yml
Normal file
21
config/sync/field.storage.node.field_parties.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: 22199412-546b-4ffc-a086-d29b059fb050
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- entity_reference_revisions
|
||||||
|
- node
|
||||||
|
- paragraphs
|
||||||
|
id: node.field_parties
|
||||||
|
field_name: field_parties
|
||||||
|
entity_type: node
|
||||||
|
type: entity_reference_revisions
|
||||||
|
settings:
|
||||||
|
target_type: paragraph
|
||||||
|
module: entity_reference_revisions
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
19
config/sync/field.storage.node.field_porteur_s_de_site.yml
Normal file
19
config/sync/field.storage.node.field_porteur_s_de_site.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 5ab9a604-f55e-4846-8f6a-a79bccf56274
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_porteur_s_de_site
|
||||||
|
field_name: field_porteur_s_de_site
|
||||||
|
entity_type: node
|
||||||
|
type: string_long
|
||||||
|
settings:
|
||||||
|
case_sensitive: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.node.field_programme_de_l_etat.yml
Normal file
21
config/sync/field.storage.node.field_programme_de_l_etat.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: eb9557ef-ba6c-4b30-9a0b-873a6ad1fca3
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_programme_de_l_etat
|
||||||
|
field_name: field_programme_de_l_etat
|
||||||
|
entity_type: node
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.node.field_region.yml
Normal file
21
config/sync/field.storage.node.field_region.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: 00bc4502-6a31-4798-ac07-8c2e6b0f8940
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_region
|
||||||
|
field_name: field_region
|
||||||
|
entity_type: node
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.node.field_sous_titre.yml
Normal file
21
config/sync/field.storage.node.field_sous_titre.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: cecfa403-823d-4101-84c2-dd0df51a9fc7
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: node.field_sous_titre
|
||||||
|
field_name: field_sous_titre
|
||||||
|
entity_type: node
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
30
config/sync/field.storage.paragraph.field_images.yml
Normal file
30
config/sync/field.storage.paragraph.field_images.yml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
uuid: 36362a03-be36-43cc-bfee-830e57fc873b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- file
|
||||||
|
- image
|
||||||
|
- paragraphs
|
||||||
|
id: paragraph.field_images
|
||||||
|
field_name: field_images
|
||||||
|
entity_type: paragraph
|
||||||
|
type: image
|
||||||
|
settings:
|
||||||
|
target_type: file
|
||||||
|
display_field: false
|
||||||
|
display_default: false
|
||||||
|
uri_scheme: public
|
||||||
|
default_image:
|
||||||
|
uuid: ''
|
||||||
|
alt: ''
|
||||||
|
title: ''
|
||||||
|
width: null
|
||||||
|
height: null
|
||||||
|
module: image
|
||||||
|
locked: false
|
||||||
|
cardinality: -1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
19
config/sync/field.storage.paragraph.field_texte_site.yml
Normal file
19
config/sync/field.storage.paragraph.field_texte_site.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
uuid: 377daa20-dec7-403d-b772-65797e6a1af2
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- paragraphs
|
||||||
|
- text
|
||||||
|
id: paragraph.field_texte_site
|
||||||
|
field_name: field_texte_site
|
||||||
|
entity_type: paragraph
|
||||||
|
type: text_long
|
||||||
|
settings: { }
|
||||||
|
module: text
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
21
config/sync/field.storage.paragraph.field_titre_site.yml
Normal file
21
config/sync/field.storage.paragraph.field_titre_site.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
uuid: 55c48ac8-7be5-4a12-a411-5abd633960fd
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- paragraphs
|
||||||
|
id: paragraph.field_titre_site
|
||||||
|
field_name: field_titre_site
|
||||||
|
entity_type: paragraph
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
max_length: 255
|
||||||
|
case_sensitive: false
|
||||||
|
is_ascii: false
|
||||||
|
module: core
|
||||||
|
locked: false
|
||||||
|
cardinality: 1
|
||||||
|
translatable: true
|
||||||
|
indexes: { }
|
||||||
|
persist_with_no_fields: false
|
||||||
|
custom_storage: false
|
||||||
16
config/sync/image.style.geofield_map_default_icon_style.yml
Normal file
16
config/sync/image.style.geofield_map_default_icon_style.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
uuid: 1017be4a-671b-439c-bb3d-dd54143bf44b
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
_core:
|
||||||
|
default_config_hash: qeXmbpcOBZ_DUk5IscywhUBtP66NYnpVwP-HrtMT7CQ
|
||||||
|
name: geofield_map_default_icon_style
|
||||||
|
label: 'GeofieldMap Default Icon Style (34x34)'
|
||||||
|
effects:
|
||||||
|
5d91fbd4-b0f7-43e0-b7a4-21b19cec068c:
|
||||||
|
uuid: 5d91fbd4-b0f7-43e0-b7a4-21b19cec068c
|
||||||
|
id: image_resize
|
||||||
|
weight: 1
|
||||||
|
data:
|
||||||
|
width: 34
|
||||||
|
height: 34
|
||||||
11
config/sync/language.content_settings.node.site.yml
Normal file
11
config/sync/language.content_settings.node.site.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
uuid: 6b470f70-6cce-4f8f-b583-7b446806e0e9
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- node.type.site
|
||||||
|
id: node.site
|
||||||
|
target_entity_type_id: node
|
||||||
|
target_bundle: site
|
||||||
|
default_langcode: site_default
|
||||||
|
language_alterable: false
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
uuid: f5e77907-aa6f-40a1-82fe-9a50d3aa60e6
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- taxonomy.vocabulary.mots_clefs
|
||||||
|
id: taxonomy_term.mots_clefs
|
||||||
|
target_entity_type_id: taxonomy_term
|
||||||
|
target_bundle: mots_clefs
|
||||||
|
default_langcode: site_default
|
||||||
|
language_alterable: false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
label: 'GeofieldMap Default Icon Style (34x34)'
|
||||||
@@ -8,5 +8,6 @@ id: global
|
|||||||
label: Global
|
label: Global
|
||||||
tags:
|
tags:
|
||||||
canonical_url: '[current-page:url]'
|
canonical_url: '[current-page:url]'
|
||||||
|
description: 'Le Président de la République a annoncé les 26 et 27 juin 2023 à Marseille, le lancement d’une consultation internationale visant la réalisation de dix projets démonstrateurs de la transition écologique et solidaire dans les Quartiers prioritaires de la politique de la ville (QPV).'
|
||||||
google_site_verification: Rl_smMXh2b2szpTsHwbarHx7xeNmae4rZ6BxSYpnmKs
|
google_site_verification: Rl_smMXh2b2szpTsHwbarHx7xeNmae4rZ6BxSYpnmKs
|
||||||
title: '[current-page:title] | [site:name]'
|
title: '[current-page:title] | [site:name]'
|
||||||
|
|||||||
17
config/sync/node.type.site.yml
Normal file
17
config/sync/node.type.site.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
uuid: 0d09b300-1325-4f3c-b1bb-24928820ae30
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- menu_ui
|
||||||
|
third_party_settings:
|
||||||
|
menu_ui:
|
||||||
|
available_menus: { }
|
||||||
|
parent: ''
|
||||||
|
name: Site
|
||||||
|
type: site
|
||||||
|
description: ''
|
||||||
|
help: ''
|
||||||
|
new_revision: true
|
||||||
|
preview_mode: 0
|
||||||
|
display_submitted: true
|
||||||
@@ -53,7 +53,7 @@ variant_settings:
|
|||||||
css_styles: ''
|
css_styles: ''
|
||||||
346ce88d-2925-4bf8-884d-dfbca1e8d5b6:
|
346ce88d-2925-4bf8-884d-dfbca1e8d5b6:
|
||||||
id: config_pages_block
|
id: config_pages_block
|
||||||
label: Déroulement
|
label: Calendrier
|
||||||
label_display: visible
|
label_display: visible
|
||||||
provider: config_pages
|
provider: config_pages
|
||||||
context_mapping: { }
|
context_mapping: { }
|
||||||
|
|||||||
@@ -0,0 +1,242 @@
|
|||||||
|
uuid: 509e7986-a359-474e-8ebb-27af32dc01a9
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- page_manager.page.node_view
|
||||||
|
- views.view.site
|
||||||
|
module:
|
||||||
|
- ctools_block
|
||||||
|
- node
|
||||||
|
- panels
|
||||||
|
- q2d_mod
|
||||||
|
- views
|
||||||
|
id: node_view-panels_variant-0
|
||||||
|
label: Sites
|
||||||
|
weight: 0
|
||||||
|
variant: panels_variant
|
||||||
|
variant_settings:
|
||||||
|
id: panels_variant
|
||||||
|
label: null
|
||||||
|
weight: 0
|
||||||
|
uuid: 34e0c727-a4e5-415f-a250-6d6e80ea63ad
|
||||||
|
blocks:
|
||||||
|
bf8e10f4-ccca-4386-92ed-e092ea9c366d:
|
||||||
|
id: 'entity_field:node:title'
|
||||||
|
label: Titre
|
||||||
|
label_display: '0'
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: string
|
||||||
|
weight: 0
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
region: second
|
||||||
|
weight: -2
|
||||||
|
uuid: bf8e10f4-ccca-4386-92ed-e092ea9c366d
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
cf830889-0479-4858-9af4-71930dbb3b6d:
|
||||||
|
id: 'entity_field:node:field_sous_titre'
|
||||||
|
label: Sous-titre
|
||||||
|
label_display: '0'
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: string
|
||||||
|
weight: 0
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
third_party_settings: { }
|
||||||
|
region: second
|
||||||
|
weight: -1
|
||||||
|
uuid: cf830889-0479-4858-9af4-71930dbb3b6d
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
4f39a2a9-9180-481e-ac4a-168fcc5fd8e4:
|
||||||
|
id: 'entity_field:node:field_numero'
|
||||||
|
label: Numéro
|
||||||
|
label_display: '0'
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: number_integer
|
||||||
|
weight: 0
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
thousand_separator: ''
|
||||||
|
prefix_suffix: true
|
||||||
|
third_party_settings: { }
|
||||||
|
region: second
|
||||||
|
weight: -3
|
||||||
|
uuid: 4f39a2a9-9180-481e-ac4a-168fcc5fd8e4
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
0f521934-a0b6-49c7-9dd0-b984c8d80ef3:
|
||||||
|
id: 'entity_field:node:field_documents'
|
||||||
|
label: Documents
|
||||||
|
label_display: visible
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: file_default
|
||||||
|
weight: 0
|
||||||
|
label: above
|
||||||
|
settings:
|
||||||
|
use_description_as_link_text: true
|
||||||
|
third_party_settings: { }
|
||||||
|
region: first
|
||||||
|
weight: -3
|
||||||
|
uuid: 0f521934-a0b6-49c7-9dd0-b984c8d80ef3
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
caf72351-9011-41f0-9bf1-d12eb70903c7:
|
||||||
|
id: 'entity_field:node:field_liens_site'
|
||||||
|
label: Liens
|
||||||
|
label_display: '0'
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: link
|
||||||
|
weight: 0
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
trim_length: 80
|
||||||
|
url_only: false
|
||||||
|
url_plain: false
|
||||||
|
rel: nofollow
|
||||||
|
target: _blank
|
||||||
|
third_party_settings: { }
|
||||||
|
region: first
|
||||||
|
weight: -2
|
||||||
|
uuid: caf72351-9011-41f0-9bf1-d12eb70903c7
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
5006ac43-27c3-479d-84e4-90c5a6c1200d:
|
||||||
|
id: 'entity_field:node:field_parties'
|
||||||
|
label: Parties
|
||||||
|
label_display: '0'
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: entity_reference_revisions_entity_view
|
||||||
|
weight: 0
|
||||||
|
label: hidden
|
||||||
|
settings:
|
||||||
|
view_mode: default
|
||||||
|
third_party_settings: { }
|
||||||
|
region: second
|
||||||
|
weight: 2
|
||||||
|
uuid: 5006ac43-27c3-479d-84e4-90c5a6c1200d
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
06132319-e1c4-45e4-9b9e-2db00c2d5ea2:
|
||||||
|
id: 'views_block:site-block_1'
|
||||||
|
label: ''
|
||||||
|
label_display: '0'
|
||||||
|
provider: views
|
||||||
|
context_mapping: { }
|
||||||
|
views_label: ''
|
||||||
|
items_per_page: none
|
||||||
|
exposed: { }
|
||||||
|
region: second
|
||||||
|
weight: 0
|
||||||
|
uuid: 06132319-e1c4-45e4-9b9e-2db00c2d5ea2
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
6e59adf8-c9fe-438c-9518-413fa8f77ffb:
|
||||||
|
id: 'entity_field:node:field_mots_clefs'
|
||||||
|
label: 'Mots Clefs'
|
||||||
|
label_display: '0'
|
||||||
|
provider: ctools_block
|
||||||
|
context_mapping:
|
||||||
|
entity: node
|
||||||
|
formatter:
|
||||||
|
type: entity_reference_label
|
||||||
|
weight: 0
|
||||||
|
label: visually_hidden
|
||||||
|
settings:
|
||||||
|
link: false
|
||||||
|
third_party_settings: { }
|
||||||
|
region: second
|
||||||
|
weight: 1
|
||||||
|
uuid: 6e59adf8-c9fe-438c-9518-413fa8f77ffb
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
585c2156-c9db-4940-8382-0744350facf6:
|
||||||
|
id: prevnextsite_block
|
||||||
|
label: 'PrevNext Site Block'
|
||||||
|
label_display: '0'
|
||||||
|
provider: q2d_mod
|
||||||
|
context_mapping: { }
|
||||||
|
region: third
|
||||||
|
weight: 0
|
||||||
|
uuid: 585c2156-c9db-4940-8382-0744350facf6
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
9c0f77a5-efea-4e81-99c4-2199c1d0d07d:
|
||||||
|
id: 'views_block:site-block_2'
|
||||||
|
label: ''
|
||||||
|
label_display: '0'
|
||||||
|
provider: views
|
||||||
|
context_mapping: { }
|
||||||
|
views_label: ''
|
||||||
|
items_per_page: none
|
||||||
|
exposed: { }
|
||||||
|
region: first
|
||||||
|
weight: -4
|
||||||
|
uuid: 9c0f77a5-efea-4e81-99c4-2199c1d0d07d
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
page_title: ''
|
||||||
|
layout: layout_threecol_25_50_25
|
||||||
|
layout_settings:
|
||||||
|
label: ''
|
||||||
|
builder: standard
|
||||||
|
storage_type: page_manager
|
||||||
|
storage_id: node_view-panels_variant-0
|
||||||
|
css_classes:
|
||||||
|
- ''
|
||||||
|
html_id: ''
|
||||||
|
css_styles: ''
|
||||||
|
page: node_view
|
||||||
|
selection_criteria:
|
||||||
|
-
|
||||||
|
id: 'entity_bundle:node'
|
||||||
|
negate: false
|
||||||
|
context_mapping:
|
||||||
|
node: node
|
||||||
|
bundles:
|
||||||
|
site: site
|
||||||
|
selection_logic: and
|
||||||
|
static_context: { }
|
||||||
10
config/sync/paragraphs.paragraphs_type.site_diapo.yml
Normal file
10
config/sync/paragraphs.paragraphs_type.site_diapo.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: 8d385f39-02a2-41a6-9831-9af9570c55c1
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: site_diapo
|
||||||
|
label: 'Site diapo'
|
||||||
|
icon_uuid: null
|
||||||
|
icon_default: null
|
||||||
|
description: ''
|
||||||
|
behavior_plugins: { }
|
||||||
10
config/sync/paragraphs.paragraphs_type.site_parts.yml
Normal file
10
config/sync/paragraphs.paragraphs_type.site_parts.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
uuid: 8f18f764-aa65-47eb-ba74-931b268ba0ef
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
id: site_parts
|
||||||
|
label: 'Site Texte'
|
||||||
|
icon_uuid: null
|
||||||
|
icon_default: null
|
||||||
|
description: ''
|
||||||
|
behavior_plugins: { }
|
||||||
22
config/sync/pathauto.pattern.sites.yml
Normal file
22
config/sync/pathauto.pattern.sites.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
uuid: 1e831e22-b0e4-4bb8-b2d8-f798722b4807
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
id: sites
|
||||||
|
label: Sites
|
||||||
|
type: 'canonical_entities:node'
|
||||||
|
pattern: '/sites/[node:title]'
|
||||||
|
selection_criteria:
|
||||||
|
7d623c04-fa6a-41a7-9430-b119355052ad:
|
||||||
|
id: 'entity_bundle:node'
|
||||||
|
negate: false
|
||||||
|
uuid: 7d623c04-fa6a-41a7-9430-b119355052ad
|
||||||
|
context_mapping:
|
||||||
|
node: node
|
||||||
|
bundles:
|
||||||
|
site: site
|
||||||
|
selection_logic: and
|
||||||
|
weight: -5
|
||||||
|
relationships: { }
|
||||||
8
config/sync/quick_node_clone.settings.yml
Normal file
8
config/sync/quick_node_clone.settings.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
_core:
|
||||||
|
default_config_hash: 6XRelHPjACQVOo9yRQMmbXt-ysCA2Pt6l762bxQQbdw
|
||||||
|
langcode: fr
|
||||||
|
exclude:
|
||||||
|
node: { }
|
||||||
|
paragraph: { }
|
||||||
|
text_to_prepend_to_title: 'Clone of'
|
||||||
|
clone_status: false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
index_now: true
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
index_now: false
|
||||||
8
config/sync/taxonomy.vocabulary.mots_clefs.yml
Normal file
8
config/sync/taxonomy.vocabulary.mots_clefs.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
uuid: ab8504c6-0863-4055-bd2d-ab47ca07bd0f
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies: { }
|
||||||
|
name: 'Mots Clefs'
|
||||||
|
vid: mots_clefs
|
||||||
|
description: ''
|
||||||
|
weight: 0
|
||||||
@@ -7,6 +7,7 @@ dependencies:
|
|||||||
- filter.format.wysiwyg
|
- filter.format.wysiwyg
|
||||||
- node.type.actualite
|
- node.type.actualite
|
||||||
- node.type.partenaire
|
- node.type.partenaire
|
||||||
|
- node.type.site
|
||||||
- node.type.static
|
- node.type.static
|
||||||
module:
|
module:
|
||||||
- actions_permissions
|
- actions_permissions
|
||||||
@@ -17,6 +18,7 @@ dependencies:
|
|||||||
- filter
|
- filter
|
||||||
- locale
|
- locale
|
||||||
- node
|
- node
|
||||||
|
- quick_node_clone
|
||||||
- system
|
- system
|
||||||
- toolbar
|
- toolbar
|
||||||
_core:
|
_core:
|
||||||
@@ -34,15 +36,25 @@ permissions:
|
|||||||
- 'administer nodes'
|
- 'administer nodes'
|
||||||
- 'administer users'
|
- 'administer users'
|
||||||
- 'change own username'
|
- 'change own username'
|
||||||
|
- 'clone actualite content'
|
||||||
|
- 'clone partenaire content'
|
||||||
|
- 'clone site content'
|
||||||
|
- 'clone static content'
|
||||||
- 'create actualite content'
|
- 'create actualite content'
|
||||||
- 'create content translations'
|
- 'create content translations'
|
||||||
- 'create partenaire content'
|
- 'create partenaire content'
|
||||||
|
- 'create site content'
|
||||||
- 'create static content'
|
- 'create static content'
|
||||||
- 'delete any actualite content'
|
- 'delete any actualite content'
|
||||||
|
- 'delete any partenaire content'
|
||||||
|
- 'delete any site content'
|
||||||
|
- 'delete any static content'
|
||||||
- 'delete partenaire revisions'
|
- 'delete partenaire revisions'
|
||||||
|
- 'delete site revisions'
|
||||||
- 'edit any actualite content'
|
- 'edit any actualite content'
|
||||||
- 'edit any logo_link block content'
|
- 'edit any logo_link block content'
|
||||||
- 'edit any partenaire content'
|
- 'edit any partenaire content'
|
||||||
|
- 'edit any site content'
|
||||||
- 'edit any static content'
|
- 'edit any static content'
|
||||||
- 'edit deroulement config page entity'
|
- 'edit deroulement config page entity'
|
||||||
- 'edit diaporama_home config page entity'
|
- 'edit diaporama_home config page entity'
|
||||||
@@ -63,6 +75,7 @@ permissions:
|
|||||||
- 'execute views_bulk_edit all'
|
- 'execute views_bulk_edit all'
|
||||||
- 'revert actualite revisions'
|
- 'revert actualite revisions'
|
||||||
- 'revert partenaire revisions'
|
- 'revert partenaire revisions'
|
||||||
|
- 'revert site revisions'
|
||||||
- 'revert static revisions'
|
- 'revert static revisions'
|
||||||
- 'translate editable entities'
|
- 'translate editable entities'
|
||||||
- 'translate interface'
|
- 'translate interface'
|
||||||
@@ -72,5 +85,6 @@ permissions:
|
|||||||
- 'view any logo_link block content history'
|
- 'view any logo_link block content history'
|
||||||
- 'view own unpublished content'
|
- 'view own unpublished content'
|
||||||
- 'view partenaire revisions'
|
- 'view partenaire revisions'
|
||||||
|
- 'view site revisions'
|
||||||
- 'view static revisions'
|
- 'view static revisions'
|
||||||
- 'view the administration theme'
|
- 'view the administration theme'
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ dependencies:
|
|||||||
- filter.format.wysiwyg
|
- filter.format.wysiwyg
|
||||||
- node.type.actualite
|
- node.type.actualite
|
||||||
- node.type.partenaire
|
- node.type.partenaire
|
||||||
|
- node.type.site
|
||||||
- node.type.static
|
- node.type.static
|
||||||
module:
|
module:
|
||||||
- actions_permissions
|
- actions_permissions
|
||||||
@@ -14,6 +15,7 @@ dependencies:
|
|||||||
- filter
|
- filter
|
||||||
- locale
|
- locale
|
||||||
- node
|
- node
|
||||||
|
- quick_node_clone
|
||||||
- system
|
- system
|
||||||
- toolbar
|
- toolbar
|
||||||
id: editeur
|
id: editeur
|
||||||
@@ -26,13 +28,17 @@ permissions:
|
|||||||
- 'access site in maintenance mode'
|
- 'access site in maintenance mode'
|
||||||
- 'access toolbar'
|
- 'access toolbar'
|
||||||
- 'administer nodes'
|
- 'administer nodes'
|
||||||
|
- 'clone site content'
|
||||||
- 'create actualite content'
|
- 'create actualite content'
|
||||||
- 'create content translations'
|
- 'create content translations'
|
||||||
- 'create partenaire content'
|
- 'create partenaire content'
|
||||||
|
- 'create site content'
|
||||||
- 'create static content'
|
- 'create static content'
|
||||||
- 'delete partenaire revisions'
|
- 'delete partenaire revisions'
|
||||||
|
- 'delete site revisions'
|
||||||
- 'edit any actualite content'
|
- 'edit any actualite content'
|
||||||
- 'edit any partenaire content'
|
- 'edit any partenaire content'
|
||||||
|
- 'edit any site content'
|
||||||
- 'edit any static content'
|
- 'edit any static content'
|
||||||
- 'edit deroulement config page entity'
|
- 'edit deroulement config page entity'
|
||||||
- 'edit diaporama_home config page entity'
|
- 'edit diaporama_home config page entity'
|
||||||
@@ -44,6 +50,7 @@ permissions:
|
|||||||
- 'execute node_unpromote_action node'
|
- 'execute node_unpromote_action node'
|
||||||
- 'revert actualite revisions'
|
- 'revert actualite revisions'
|
||||||
- 'revert partenaire revisions'
|
- 'revert partenaire revisions'
|
||||||
|
- 'revert site revisions'
|
||||||
- 'revert static revisions'
|
- 'revert static revisions'
|
||||||
- 'translate editable entities'
|
- 'translate editable entities'
|
||||||
- 'translate interface'
|
- 'translate interface'
|
||||||
@@ -52,5 +59,6 @@ permissions:
|
|||||||
- 'view actualite revisions'
|
- 'view actualite revisions'
|
||||||
- 'view own unpublished content'
|
- 'view own unpublished content'
|
||||||
- 'view partenaire revisions'
|
- 'view partenaire revisions'
|
||||||
|
- 'view site revisions'
|
||||||
- 'view static revisions'
|
- 'view static revisions'
|
||||||
- 'view the administration theme'
|
- 'view the administration theme'
|
||||||
|
|||||||
946
config/sync/views.view.site.yml
Normal file
946
config/sync/views.view.site.yml
Normal file
@@ -0,0 +1,946 @@
|
|||||||
|
uuid: 9e172612-e65e-4292-bb32-706c81ee98e3
|
||||||
|
langcode: fr
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
config:
|
||||||
|
- field.storage.node.field_collectivite_s_epci
|
||||||
|
- field.storage.node.field_departement_s
|
||||||
|
- field.storage.node.field_geofield
|
||||||
|
- field.storage.node.field_nom_de_la_commune_nb_d_hab
|
||||||
|
- field.storage.node.field_nom_du_qpv_nb_d_hab
|
||||||
|
- field.storage.node.field_porteur_s_de_site
|
||||||
|
- field.storage.node.field_programme_de_l_etat
|
||||||
|
- field.storage.node.field_region
|
||||||
|
- field.storage.node.field_sous_titre
|
||||||
|
- node.type.site
|
||||||
|
module:
|
||||||
|
- geofield
|
||||||
|
- leaflet_views
|
||||||
|
- node
|
||||||
|
- user
|
||||||
|
id: site
|
||||||
|
label: site
|
||||||
|
module: views
|
||||||
|
description: ''
|
||||||
|
tag: ''
|
||||||
|
base_table: node_field_data
|
||||||
|
base_field: nid
|
||||||
|
display:
|
||||||
|
default:
|
||||||
|
id: default
|
||||||
|
display_title: Default
|
||||||
|
display_plugin: default
|
||||||
|
position: 0
|
||||||
|
display_options:
|
||||||
|
title: 'site infos'
|
||||||
|
fields:
|
||||||
|
field_region:
|
||||||
|
id: field_region
|
||||||
|
table: node__field_region
|
||||||
|
field: field_region
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: Région(s)
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_nom_du_qpv_nb_d_hab:
|
||||||
|
id: field_nom_du_qpv_nb_d_hab
|
||||||
|
table: node__field_nom_du_qpv_nb_d_hab
|
||||||
|
field: field_nom_du_qpv_nb_d_hab
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: "Nom du QPV (nb d'hab.)"
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_departement_s:
|
||||||
|
id: field_departement_s
|
||||||
|
table: node__field_departement_s
|
||||||
|
field: field_departement_s
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: Département(s)
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_programme_de_l_etat:
|
||||||
|
id: field_programme_de_l_etat
|
||||||
|
table: node__field_programme_de_l_etat
|
||||||
|
field: field_programme_de_l_etat
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: "Programmes de l'état"
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_collectivite_s_epci:
|
||||||
|
id: field_collectivite_s_epci
|
||||||
|
table: node__field_collectivite_s_epci
|
||||||
|
field: field_collectivite_s_epci
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: Collectivité(s)/EPCI
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: basic_string
|
||||||
|
settings: { }
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_porteur_s_de_site:
|
||||||
|
id: field_porteur_s_de_site
|
||||||
|
table: node__field_porteur_s_de_site
|
||||||
|
field: field_porteur_s_de_site
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: 'Porteur(s) de site'
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: basic_string
|
||||||
|
settings: { }
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_nom_de_la_commune_nb_d_hab:
|
||||||
|
id: field_nom_de_la_commune_nb_d_hab
|
||||||
|
table: node__field_nom_de_la_commune_nb_d_hab
|
||||||
|
field: field_nom_de_la_commune_nb_d_hab
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: "Nom de la commune (nb d'hab.)"
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: false
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
pager:
|
||||||
|
type: some
|
||||||
|
options:
|
||||||
|
offset: 0
|
||||||
|
items_per_page: 0
|
||||||
|
exposed_form:
|
||||||
|
type: basic
|
||||||
|
options:
|
||||||
|
submit_button: Appliquer
|
||||||
|
reset_button: false
|
||||||
|
reset_button_label: Réinitialiser
|
||||||
|
exposed_sorts_label: 'Trier par'
|
||||||
|
expose_sort_order: true
|
||||||
|
sort_asc_label: Asc
|
||||||
|
sort_desc_label: Desc
|
||||||
|
access:
|
||||||
|
type: perm
|
||||||
|
options:
|
||||||
|
perm: 'access content'
|
||||||
|
cache:
|
||||||
|
type: tag
|
||||||
|
options: { }
|
||||||
|
empty: { }
|
||||||
|
sorts:
|
||||||
|
created:
|
||||||
|
id: created
|
||||||
|
table: node_field_data
|
||||||
|
field: created
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
entity_type: node
|
||||||
|
entity_field: created
|
||||||
|
plugin_id: date
|
||||||
|
order: DESC
|
||||||
|
expose:
|
||||||
|
label: ''
|
||||||
|
field_identifier: ''
|
||||||
|
exposed: false
|
||||||
|
granularity: second
|
||||||
|
arguments:
|
||||||
|
nid:
|
||||||
|
id: nid
|
||||||
|
table: node_field_data
|
||||||
|
field: nid
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
entity_type: node
|
||||||
|
entity_field: nid
|
||||||
|
plugin_id: node_nid
|
||||||
|
default_action: default
|
||||||
|
exception:
|
||||||
|
value: all
|
||||||
|
title_enable: false
|
||||||
|
title: All
|
||||||
|
title_enable: false
|
||||||
|
title: ''
|
||||||
|
default_argument_type: node
|
||||||
|
default_argument_options: { }
|
||||||
|
summary_options:
|
||||||
|
base_path: ''
|
||||||
|
count: true
|
||||||
|
override: false
|
||||||
|
items_per_page: 25
|
||||||
|
summary:
|
||||||
|
sort_order: asc
|
||||||
|
number_of_records: 0
|
||||||
|
format: default_summary
|
||||||
|
specify_validation: false
|
||||||
|
validate:
|
||||||
|
type: none
|
||||||
|
fail: 'not found'
|
||||||
|
validate_options: { }
|
||||||
|
break_phrase: false
|
||||||
|
not: false
|
||||||
|
filters:
|
||||||
|
status:
|
||||||
|
id: status
|
||||||
|
table: node_field_data
|
||||||
|
field: status
|
||||||
|
entity_type: node
|
||||||
|
entity_field: status
|
||||||
|
plugin_id: boolean
|
||||||
|
value: '1'
|
||||||
|
group: 1
|
||||||
|
expose:
|
||||||
|
operator: ''
|
||||||
|
type:
|
||||||
|
id: type
|
||||||
|
table: node_field_data
|
||||||
|
field: type
|
||||||
|
entity_type: node
|
||||||
|
entity_field: type
|
||||||
|
plugin_id: bundle
|
||||||
|
value:
|
||||||
|
site: site
|
||||||
|
style:
|
||||||
|
type: default
|
||||||
|
row:
|
||||||
|
type: fields
|
||||||
|
query:
|
||||||
|
type: views_query
|
||||||
|
options:
|
||||||
|
query_comment: ''
|
||||||
|
disable_sql_rewrite: false
|
||||||
|
distinct: false
|
||||||
|
replica: false
|
||||||
|
query_tags: { }
|
||||||
|
relationships: { }
|
||||||
|
header: { }
|
||||||
|
footer: { }
|
||||||
|
display_extenders: { }
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url
|
||||||
|
- 'user.node_grants:view'
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.node.field_collectivite_s_epci'
|
||||||
|
- 'config:field.storage.node.field_departement_s'
|
||||||
|
- 'config:field.storage.node.field_nom_de_la_commune_nb_d_hab'
|
||||||
|
- 'config:field.storage.node.field_nom_du_qpv_nb_d_hab'
|
||||||
|
- 'config:field.storage.node.field_porteur_s_de_site'
|
||||||
|
- 'config:field.storage.node.field_programme_de_l_etat'
|
||||||
|
- 'config:field.storage.node.field_region'
|
||||||
|
block_1:
|
||||||
|
id: block_1
|
||||||
|
display_title: 'Block site infos'
|
||||||
|
display_plugin: block
|
||||||
|
position: 1
|
||||||
|
display_options:
|
||||||
|
display_description: ''
|
||||||
|
display_extenders:
|
||||||
|
matomo:
|
||||||
|
enabled: false
|
||||||
|
keyword_gets: ''
|
||||||
|
keyword_behavior: first
|
||||||
|
keyword_concat_separator: ' '
|
||||||
|
category_behavior: none
|
||||||
|
category_gets: ''
|
||||||
|
category_concat_separator: ' '
|
||||||
|
category_fallback: ''
|
||||||
|
category_facets: { }
|
||||||
|
category_facets_concat_separator: ', '
|
||||||
|
simple_sitemap_display_extender: { }
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- url
|
||||||
|
- 'user.node_grants:view'
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.node.field_collectivite_s_epci'
|
||||||
|
- 'config:field.storage.node.field_departement_s'
|
||||||
|
- 'config:field.storage.node.field_nom_de_la_commune_nb_d_hab'
|
||||||
|
- 'config:field.storage.node.field_nom_du_qpv_nb_d_hab'
|
||||||
|
- 'config:field.storage.node.field_porteur_s_de_site'
|
||||||
|
- 'config:field.storage.node.field_programme_de_l_etat'
|
||||||
|
- 'config:field.storage.node.field_region'
|
||||||
|
block_2:
|
||||||
|
id: block_2
|
||||||
|
display_title: 'Sites Map Bloc'
|
||||||
|
display_plugin: block
|
||||||
|
position: 2
|
||||||
|
display_options:
|
||||||
|
fields:
|
||||||
|
field_geofield:
|
||||||
|
id: field_geofield
|
||||||
|
table: node__field_geofield
|
||||||
|
field: field_geofield
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: ''
|
||||||
|
exclude: true
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: geofield_default
|
||||||
|
settings:
|
||||||
|
output_format: wkt
|
||||||
|
output_escape: true
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
field_sous_titre:
|
||||||
|
id: field_sous_titre
|
||||||
|
table: node__field_sous_titre
|
||||||
|
field: field_sous_titre
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
plugin_id: field
|
||||||
|
label: ''
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: true
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
title:
|
||||||
|
id: title
|
||||||
|
table: node_field_data
|
||||||
|
field: title
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
entity_type: node
|
||||||
|
entity_field: title
|
||||||
|
plugin_id: field
|
||||||
|
label: ''
|
||||||
|
exclude: false
|
||||||
|
alter:
|
||||||
|
alter_text: false
|
||||||
|
text: ''
|
||||||
|
make_link: false
|
||||||
|
path: ''
|
||||||
|
absolute: false
|
||||||
|
external: false
|
||||||
|
replace_spaces: false
|
||||||
|
path_case: none
|
||||||
|
trim_whitespace: false
|
||||||
|
alt: ''
|
||||||
|
rel: ''
|
||||||
|
link_class: ''
|
||||||
|
prefix: ''
|
||||||
|
suffix: ''
|
||||||
|
target: ''
|
||||||
|
nl2br: false
|
||||||
|
max_length: 0
|
||||||
|
word_boundary: true
|
||||||
|
ellipsis: true
|
||||||
|
more_link: false
|
||||||
|
more_link_text: ''
|
||||||
|
more_link_path: ''
|
||||||
|
strip_tags: false
|
||||||
|
trim: false
|
||||||
|
preserve_tags: ''
|
||||||
|
html: false
|
||||||
|
element_type: ''
|
||||||
|
element_class: ''
|
||||||
|
element_label_type: ''
|
||||||
|
element_label_class: ''
|
||||||
|
element_label_colon: false
|
||||||
|
element_wrapper_type: ''
|
||||||
|
element_wrapper_class: ''
|
||||||
|
element_default_classes: true
|
||||||
|
empty: ''
|
||||||
|
hide_empty: false
|
||||||
|
empty_zero: false
|
||||||
|
hide_alter_empty: true
|
||||||
|
click_sort_column: value
|
||||||
|
type: string
|
||||||
|
settings:
|
||||||
|
link_to_entity: true
|
||||||
|
group_column: value
|
||||||
|
group_columns: { }
|
||||||
|
group_rows: true
|
||||||
|
delta_limit: 0
|
||||||
|
delta_offset: 0
|
||||||
|
delta_reversed: false
|
||||||
|
delta_first_last: false
|
||||||
|
multi_type: separator
|
||||||
|
separator: ', '
|
||||||
|
field_api_classes: false
|
||||||
|
arguments: { }
|
||||||
|
style:
|
||||||
|
type: leaflet_map
|
||||||
|
options:
|
||||||
|
grouping: { }
|
||||||
|
data_source:
|
||||||
|
field_geofield: field_geofield
|
||||||
|
entity_source: __base_table
|
||||||
|
name_field: ''
|
||||||
|
leaflet_tooltip:
|
||||||
|
value: title
|
||||||
|
options: '{"permanent":false,"direction":"center"}'
|
||||||
|
leaflet_popup:
|
||||||
|
value: field_sous_titre
|
||||||
|
options: '{"maxWidth":"300","minWidth":"50","autoPan":true}'
|
||||||
|
view_mode: full
|
||||||
|
leaflet_map: esri-world_physical_map
|
||||||
|
height: '400'
|
||||||
|
height_unit: px
|
||||||
|
hide_empty_map: false
|
||||||
|
disable_wheel: true
|
||||||
|
gesture_handling: false
|
||||||
|
fitbounds_options: '{"padding":[0,0]}'
|
||||||
|
reset_map:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"topleft","title":"Reset View"}'
|
||||||
|
map_scale:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"bottomright","maxWidth":100,"metric":true,"imperial":false,"updateWhenIdle":false}'
|
||||||
|
locate:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"topright","setView":"untilPanOrZoom","returnToPrevBounds":true,"keepCurrentZoomLevel":true,"strings":{"title":"Locate my position"}}'
|
||||||
|
automatic: false
|
||||||
|
map_position:
|
||||||
|
force: false
|
||||||
|
center:
|
||||||
|
lat: 0.0
|
||||||
|
lon: 0.0
|
||||||
|
zoomControlPosition: topleft
|
||||||
|
zoom: 5
|
||||||
|
minZoom: 1
|
||||||
|
maxZoom: 18
|
||||||
|
zoomFiner: 0
|
||||||
|
weight: ''
|
||||||
|
icon:
|
||||||
|
iconType: marker
|
||||||
|
iconUrl: ''
|
||||||
|
shadowUrl: ''
|
||||||
|
className: ''
|
||||||
|
iconSize:
|
||||||
|
x: ''
|
||||||
|
'y': ''
|
||||||
|
iconAnchor:
|
||||||
|
x: ''
|
||||||
|
'y': ''
|
||||||
|
shadowSize:
|
||||||
|
x: ''
|
||||||
|
'y': ''
|
||||||
|
shadowAnchor:
|
||||||
|
x: ''
|
||||||
|
'y': ''
|
||||||
|
popupAnchor:
|
||||||
|
x: ''
|
||||||
|
'y': ''
|
||||||
|
html: '<div></div>'
|
||||||
|
html_class: leaflet-map-divicon
|
||||||
|
circle_marker_options: '{"radius":100,"color":"red","fillColor":"#f03","fillOpacity":0.5}'
|
||||||
|
fullscreen:
|
||||||
|
control: false
|
||||||
|
options: '{"position":"topleft","pseudoFullscreen":false}'
|
||||||
|
path: '{"color":"#3388ff","opacity":"1.0","stroke":true,"weight":3,"fill":"depends","fillColor":"*","fillOpacity":"0.2","radius":"6"}'
|
||||||
|
map_lazy_load:
|
||||||
|
lazy_load: false
|
||||||
|
feature_properties:
|
||||||
|
values: ''
|
||||||
|
row:
|
||||||
|
type: fields
|
||||||
|
options: { }
|
||||||
|
defaults:
|
||||||
|
style: false
|
||||||
|
row: false
|
||||||
|
fields: false
|
||||||
|
arguments: false
|
||||||
|
display_description: ''
|
||||||
|
display_extenders:
|
||||||
|
matomo:
|
||||||
|
enabled: false
|
||||||
|
keyword_gets: ''
|
||||||
|
keyword_behavior: first
|
||||||
|
keyword_concat_separator: ' '
|
||||||
|
category_behavior: none
|
||||||
|
category_gets: ''
|
||||||
|
category_concat_separator: ' '
|
||||||
|
category_fallback: ''
|
||||||
|
category_facets: { }
|
||||||
|
category_facets_concat_separator: ', '
|
||||||
|
simple_sitemap_display_extender: { }
|
||||||
|
cache_metadata:
|
||||||
|
max-age: -1
|
||||||
|
contexts:
|
||||||
|
- 'languages:language_content'
|
||||||
|
- 'languages:language_interface'
|
||||||
|
- 'user.node_grants:view'
|
||||||
|
- user.permissions
|
||||||
|
tags:
|
||||||
|
- 'config:field.storage.node.field_geofield'
|
||||||
|
- 'config:field.storage.node.field_sous_titre'
|
||||||
85
web/modules/custom/q2d_mod/src/Plugin/Block/PrevNextSite.php
Normal file
85
web/modules/custom/q2d_mod/src/Plugin/Block/PrevNextSite.php
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Drupal\q2d_mod\Plugin\Block;
|
||||||
|
|
||||||
|
use Drupal\Core\Block\BlockBase;
|
||||||
|
use Drupal\Core\Block\Attribute\Block;
|
||||||
|
// use Drupal\Core\StringTranslation\TranslatableMarkup;
|
||||||
|
use Drupal\Core\Link;
|
||||||
|
use Drupal\Core\Render\Markup;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provides a 'Prevnext' Block.
|
||||||
|
* @Block(
|
||||||
|
* id = "prevnextsite_block",
|
||||||
|
* admin_label = @Translation("PrevNext Site Block"),
|
||||||
|
* )
|
||||||
|
*/
|
||||||
|
class PrevNextSite extends BlockBase {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function build() {
|
||||||
|
$return = null;
|
||||||
|
/** @var Drupal\node\Entity\Node */
|
||||||
|
$node = \Drupal::routeMatch()->getParameter('node');
|
||||||
|
if ($node) {
|
||||||
|
$nodetype = $node->getType();
|
||||||
|
if($nodetype === "site"){
|
||||||
|
$num = $node->get('field_numero')->getString();
|
||||||
|
$allSites = \Drupal::entityTypeManager()->getStorage('node')
|
||||||
|
->loadByProperties(['type' => 'site', 'status' => 1]);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
usort($allSites, function($a, $b){
|
||||||
|
$numA = $a->get('field_numero')->getString();
|
||||||
|
$numB = $b->get('field_numero')->getString();
|
||||||
|
if ($numA == $numB) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return ($numA < $numB) ? -1 : 1;
|
||||||
|
});
|
||||||
|
$prevnode = null;
|
||||||
|
$nextnode = null;
|
||||||
|
foreach($allSites as $index => $site){
|
||||||
|
$n = $site->get('field_numero')->getString();
|
||||||
|
if($n === $num){
|
||||||
|
$prevnode = $index - 1 >= 0 ? $allSites[$index - 1] : null;
|
||||||
|
$nextnode = $index + 1 < count($allSites) ? $allSites[$index + 1] : null;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$return = [
|
||||||
|
'#cache' => [
|
||||||
|
'max-age' => 0,
|
||||||
|
]
|
||||||
|
];
|
||||||
|
|
||||||
|
if (isset($prevnode)) {
|
||||||
|
$prev_link_title = Markup::create('<span>Précédent</span>');
|
||||||
|
$prev_options = ['absolute' => FALSE, 'attributes' => ['class' => 'prev-site']];
|
||||||
|
$prev_link_object = Link::createFromRoute($prev_link_title, 'entity.node.canonical', ['node' => $prevnode->id()], $prev_options);
|
||||||
|
$return[] = $prev_link_object->toRenderable();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($nextnode)) {
|
||||||
|
$next_link_title = Markup::create('<span>Suivant</span>');
|
||||||
|
$next_options = ['absolute' => FALSE, 'attributes' => ['class' => 'next-site']];
|
||||||
|
$next_link_object = Link::createFromRoute($next_link_title, 'entity.node.canonical', ['node' => $nextnode->id()], $next_options);
|
||||||
|
$return[] = $next_link_object->toRenderable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $return;
|
||||||
|
// return [
|
||||||
|
// '#markup' => $this->t('Hello, World!'),
|
||||||
|
// ];
|
||||||
|
}
|
||||||
|
public function getCacheMaxAge() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -455,7 +455,7 @@ header .header:hover + .header_nav_container {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.header--collapsed .header_left_container {
|
.header--collapsed .header_left_container {
|
||||||
flex: 0 0 60%;
|
flex: 0 0 61%;
|
||||||
transform-origin: bottom right;
|
transform-origin: bottom right;
|
||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
@@ -616,10 +616,11 @@ footer {
|
|||||||
.footer #footer-right {
|
.footer #footer-right {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
max-width: 35%;
|
max-width: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.footer #footer-right #block-quartiers-de-demain-socialmedialinks {
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks {
|
||||||
|
display: none;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2 {
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2 {
|
||||||
@@ -868,7 +869,7 @@ footer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slick-prev {
|
.slick-prev {
|
||||||
left: 46%;
|
left: 45%;
|
||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
.slick-prev {
|
.slick-prev {
|
||||||
@@ -1142,6 +1143,7 @@ footer {
|
|||||||
#home .timeline .__timeline-arrows button {
|
#home .timeline .__timeline-arrows button {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
#home .timeline .__timeline-arrows button:hover {
|
#home .timeline .__timeline-arrows button:hover {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
@@ -1300,6 +1302,9 @@ footer {
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#home .timeline .__timeline-content .__paragraphs .paragraph--type--phase-deroulement .text .field_field_description {
|
||||||
|
font-family: "gilroy-regular";
|
||||||
|
}
|
||||||
#home .timeline .__timeline-content .__paragraphs .paragraph--type--phase-deroulement .text .field_field_description p {
|
#home .timeline .__timeline-content .__paragraphs .paragraph--type--phase-deroulement .text .field_field_description p {
|
||||||
font-size: 0.6rem !important;
|
font-size: 0.6rem !important;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -1438,6 +1443,7 @@ footer {
|
|||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_body {
|
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_body {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_body p {
|
#actus-caroussel .content-actus .views-row article.node-type-actualite .field_body p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -1513,8 +1519,9 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
}
|
}
|
||||||
|
|
||||||
#home #background-animated {
|
#home #background-animated {
|
||||||
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -400px;
|
top: -150px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -1551,32 +1558,32 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
#home .visible svg #pillier-1-path365 {
|
#home .visible svg #pillier-1-path365 {
|
||||||
stroke-dasharray: 1000; /* Longueur totale du chemin */
|
stroke-dasharray: 1000; /* Longueur totale du chemin */
|
||||||
stroke-dashoffset: 1000; /* Décalage initial pour cacher le chemin */
|
stroke-dashoffset: 1000; /* Décalage initial pour cacher le chemin */
|
||||||
animation: Appear 1s 0.2s forwards, fillAnimation 2s 0.2s ease-in-out forwards; /* Animation de remplissage sur 2 secondes */
|
animation: Appear 1s 0s forwards, fillAnimation 2s 0s ease-in-out forwards; /* Animation de remplissage sur 2 secondes */
|
||||||
}
|
}
|
||||||
#home .visible p:nth-of-type(1) {
|
#home .visible p:nth-of-type(1) {
|
||||||
animation: Appear 1s 1s forwards;
|
animation: Appear 1s 0.5s forwards;
|
||||||
}
|
}
|
||||||
#home .visible h5:nth-of-type(2) {
|
#home .visible h5:nth-of-type(2) {
|
||||||
animation: Appear 1s 2s forwards;
|
animation: Appear 1s 1.2s forwards;
|
||||||
}
|
}
|
||||||
#home .visible svg #pillier-2-path367 {
|
#home .visible svg #pillier-2-path367 {
|
||||||
stroke-dasharray: 1000; /* Longueur totale du chemin */
|
stroke-dasharray: 1000; /* Longueur totale du chemin */
|
||||||
stroke-dashoffset: 1000; /* Décalage initial pour cacher le chemin */
|
stroke-dashoffset: 1000; /* Décalage initial pour cacher le chemin */
|
||||||
animation: Appear 1s 2.2s forwards, fillAnimation 2s 2.2s ease-in-out forwards; /* Animation de remplissage sur 2 secondes */
|
animation: Appear 1s 1.5s forwards, fillAnimation 2s 1.5s ease-in-out forwards; /* Animation de remplissage sur 2 secondes */
|
||||||
}
|
}
|
||||||
#home .visible p:nth-of-type(2) {
|
#home .visible p:nth-of-type(2) {
|
||||||
animation: Appear 1s 3s forwards;
|
animation: Appear 1s 2s forwards;
|
||||||
}
|
}
|
||||||
#home .visible h5:nth-of-type(3) {
|
#home .visible h5:nth-of-type(3) {
|
||||||
animation: Appear 1s 4s forwards;
|
animation: Appear 1s 2.2s forwards;
|
||||||
}
|
}
|
||||||
#home .visible svg #pillier-3-path369 {
|
#home .visible svg #pillier-3-path369 {
|
||||||
stroke-dasharray: 1000; /* Longueur totale du chemin */
|
stroke-dasharray: 1000; /* Longueur totale du chemin */
|
||||||
stroke-dashoffset: 1000; /* Décalage initial pour cacher le chemin */
|
stroke-dashoffset: 1000; /* Décalage initial pour cacher le chemin */
|
||||||
animation: Appear 1s 4.2s forwards, fillAnimation 2s 4.2s ease-in-out forwards; /* Animation de remplissage sur 2 secondes */
|
animation: Appear 1s 2.5s forwards, fillAnimation 2s 2.5s ease-in-out forwards; /* Animation de remplissage sur 2 secondes */
|
||||||
}
|
}
|
||||||
#home .visible p:nth-of-type(3) {
|
#home .visible p:nth-of-type(3) {
|
||||||
animation: Appear 1s 5s forwards;
|
animation: Appear 1s 3s forwards;
|
||||||
}
|
}
|
||||||
@keyframes Appear {
|
@keyframes Appear {
|
||||||
0% {
|
0% {
|
||||||
@@ -1599,9 +1606,33 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
#home .config_pages--type--diaporama-home {
|
#home .config_pages--type--diaporama-home {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
#home .config_pages--type--diaporama-home .field_field_images img {
|
#home .config_pages--type--diaporama-home .swiper-container .swiper-wrapper .swiper-slide .cadre-img-zoom {
|
||||||
|
max-height: 1281px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
#home .config_pages--type--diaporama-home .swiper-container .swiper-wrapper .swiper-slide .cadre-img-zoom img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
animation: zoomOut 3.5s ease-in infinite;
|
||||||
|
}
|
||||||
|
#home .config_pages--type--diaporama-home .swiper-container .swiper-wrapper .swiper-slide blockquote {
|
||||||
|
position: relative;
|
||||||
|
top: -30px;
|
||||||
|
}
|
||||||
|
#home .config_pages--type--diaporama-home .swiper-container .swiper-wrapper .swiper-slide blockquote p {
|
||||||
|
font-size: 0.6rem !important;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
|
}
|
||||||
|
#home .config_pages--type--diaporama-home .swiper-container .swiper-wrapper .swiper-slide :hover {
|
||||||
|
color: blueviolet;
|
||||||
|
}
|
||||||
|
@keyframes zoomOut {
|
||||||
|
0% {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#home .content_container #block-quartiers-de-demain-titredepage {
|
#home .content_container #block-quartiers-de-demain-titredepage {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -1611,7 +1642,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
}
|
}
|
||||||
#home article.node-type-static {
|
#home article.node-type-static {
|
||||||
padding-top: 6rem;
|
padding-top: 3rem;
|
||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
#home article.node-type-static {
|
#home article.node-type-static {
|
||||||
@@ -1650,6 +1681,8 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
#home article.node-type-static .field_body p:nth-child(3) {
|
#home article.node-type-static .field_body p:nth-child(3) {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
@media (max-width: 1090px) {
|
@media (max-width: 1090px) {
|
||||||
#home article.node-type-static .field_body > p:nth-child(2),
|
#home article.node-type-static .field_body > p:nth-child(2),
|
||||||
@@ -1727,6 +1760,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
max-width: 30%;
|
max-width: 30%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
}
|
}
|
||||||
@media (max-width: 1090px) {
|
@media (max-width: 1090px) {
|
||||||
#home article.node-type-static #paragraph-id--1 .field_field_texte .colone-picto p {
|
#home article.node-type-static #paragraph-id--1 .field_field_texte .colone-picto p {
|
||||||
@@ -2183,6 +2217,9 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
#home .paragraph--type--static-parts:not(#paragraph-id--7) #svg1 {
|
#home .paragraph--type--static-parts:not(#paragraph-id--7) #svg1 {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
#home #actus-caroussel {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#consultation {
|
#consultation {
|
||||||
background-color: #f6f7f3;
|
background-color: #f6f7f3;
|
||||||
@@ -2274,6 +2311,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
}
|
}
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .colone-picto p:last-of-type {
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--10 .colone-picto p:last-of-type {
|
||||||
@@ -2313,6 +2351,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p {
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p {
|
||||||
padding: 0rem;
|
padding: 0rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
}
|
}
|
||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p:nth-of-type(1) {
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p:nth-of-type(1) {
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
@@ -2351,6 +2390,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
}
|
}
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--12,
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--12,
|
||||||
@@ -2475,6 +2515,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
|||||||
grid-column: 3/span 4;
|
grid-column: 3/span 4;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
|
font-family: "gilroy-regular";
|
||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_body {
|
.partenaires .layout-content .content_container .views-element-container .node-type-partenaire .field_body {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
id="path148"
|
id="path148"
|
||||||
d="M 0,0 211.55,177.512"
|
d="M 0,0 211.55,177.512"
|
||||||
style="fill:none;stroke:#0833c2;stroke-width:70;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
style="fill:none;stroke:#0833c2;stroke-width:70;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
transform="matrix(1.3333333,0,0,-1.3333333,1686.6035,8050)" />
|
transform="matrix(1.3333333,0,0,-1.3333333,1686.6035, 8750)" />
|
||||||
<path
|
<path
|
||||||
id="path151"
|
id="path151"
|
||||||
d="M 0,0 V -174.775"
|
d="M 0,0 V -174.775"
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
id="path254"
|
id="path254"
|
||||||
d="M 0,0 C 0,126.805 -102.795,229.6 -229.6,229.6"
|
d="M 0,0 C 0,126.805 -102.795,229.6 -229.6,229.6"
|
||||||
style="fill:none;stroke:#000000;stroke-width:100.482;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
style="fill:none;stroke:#000000;stroke-width:100.482;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
transform="matrix(1.3333333,0,0,-1.3333333,1838.3405,9150)"
|
transform="matrix(1.3333333,0,0,-1.3333333,1838.3405,9800)"
|
||||||
clip-path="url(#clipPath255)" />
|
clip-path="url(#clipPath255)" />
|
||||||
<path
|
<path
|
||||||
id="path256"
|
id="path256"
|
||||||
@@ -78,20 +78,19 @@
|
|||||||
id="path300"
|
id="path300"
|
||||||
d="M 0,0 C 0,-126.805 102.795,-229.6 229.6,-229.6"
|
d="M 0,0 C 0,-126.805 102.795,-229.6 229.6,-229.6"
|
||||||
style="fill:none;stroke:#f7002b;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
style="fill:none;stroke:#f7002b;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
transform="matrix(1.3333333,0,0,-1.3333333,1968.6667,3650
|
transform="matrix(1.3333333,0,0,-1.3333333,1968.6667,3850)"
|
||||||
)"
|
|
||||||
clip-path="url(#clipPath301)" />
|
clip-path="url(#clipPath301)" />
|
||||||
<path
|
<path
|
||||||
id="path302"
|
id="path302"
|
||||||
d="M 0,0 C 0,126.805 -102.795,229.6 -229.6,229.6"
|
d="M 0,0 C 0,126.805 -102.795,229.6 -229.6,229.6"
|
||||||
style="fill:none;stroke:#0833c2;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
style="fill:none;stroke:#0833c2;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
transform="matrix(1.3333333,0,0,-1.3333333,2165.1349,5600)"
|
transform="matrix(1.3333333,0,0,-1.3333333,2165.1349,5700)"
|
||||||
clip-path="url(#clipPath303)" />
|
clip-path="url(#clipPath303)" />
|
||||||
<path
|
<path
|
||||||
id="path311"
|
id="path311"
|
||||||
d="M 0,0 V 283"
|
d="M 0,0 V 283"
|
||||||
style="fill:none;stroke:#000000;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
style="fill:none;stroke:#000000;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
transform="matrix(1.3333333,0,0,-1.3333333,247.22107,5400)" />
|
transform="matrix(1.3333333,0,0,-1.3333333,247.22107,5500)" />
|
||||||
<rect
|
<rect
|
||||||
style="fill:none;stroke:none;stroke-width:0.872103;paint-order:fill markers stroke"
|
style="fill:none;stroke:none;stroke-width:0.872103;paint-order:fill markers stroke"
|
||||||
id="rect717"
|
id="rect717"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2019 Vladimir Kharlampidi
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
Swiper
|
||||||
|
==========
|
||||||
|
|
||||||
|
Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps.
|
||||||
|
|
||||||
|
Swiper is not compatible with all platforms, it is a modern touch slider which is focused only on modern apps/platforms to bring the best experience and simplicity.
|
||||||
|
|
||||||
|
# Getting Started
|
||||||
|
* [Getting Started Guide](https://swiperjs.com/get-started/)
|
||||||
|
* [API](https://swiperjs.com/swiper-api/)
|
||||||
|
* [Demos](https://swiperjs.com/demos/)
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* a11y */
|
||||||
|
.swiper .swiper-notification {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: -1000;
|
||||||
|
}
|
||||||
1
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/a11y-element.min.css
vendored
Normal file
1
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/a11y-element.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* a11y */
|
||||||
|
.swiper .swiper-notification {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: -1000;
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* a11y */
|
||||||
|
.swiper .swiper-notification {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: -1000;
|
||||||
|
}
|
||||||
1
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/a11y.min.css
vendored
Normal file
1
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/a11y.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,374 @@
|
|||||||
|
import { g as getDocument } from '../shared/ssr-window.esm.mjs';
|
||||||
|
import { c as classesToSelector } from '../shared/classes-to-selector.mjs';
|
||||||
|
import { c as createElement, h as elementIndex, m as makeElementsArray } from '../shared/utils.mjs';
|
||||||
|
|
||||||
|
function A11y(_ref) {
|
||||||
|
let {
|
||||||
|
swiper,
|
||||||
|
extendParams,
|
||||||
|
on
|
||||||
|
} = _ref;
|
||||||
|
extendParams({
|
||||||
|
a11y: {
|
||||||
|
enabled: true,
|
||||||
|
notificationClass: 'swiper-notification',
|
||||||
|
prevSlideMessage: 'Previous slide',
|
||||||
|
nextSlideMessage: 'Next slide',
|
||||||
|
firstSlideMessage: 'This is the first slide',
|
||||||
|
lastSlideMessage: 'This is the last slide',
|
||||||
|
paginationBulletMessage: 'Go to slide {{index}}',
|
||||||
|
slideLabelMessage: '{{index}} / {{slidesLength}}',
|
||||||
|
containerMessage: null,
|
||||||
|
containerRoleDescriptionMessage: null,
|
||||||
|
itemRoleDescriptionMessage: null,
|
||||||
|
slideRole: 'group',
|
||||||
|
id: null,
|
||||||
|
scrollOnFocus: true
|
||||||
|
}
|
||||||
|
});
|
||||||
|
swiper.a11y = {
|
||||||
|
clicked: false
|
||||||
|
};
|
||||||
|
let liveRegion = null;
|
||||||
|
let preventFocusHandler;
|
||||||
|
let focusTargetSlideEl;
|
||||||
|
let visibilityChangedTimestamp = new Date().getTime();
|
||||||
|
function notify(message) {
|
||||||
|
const notification = liveRegion;
|
||||||
|
if (notification.length === 0) return;
|
||||||
|
notification.innerHTML = '';
|
||||||
|
notification.innerHTML = message;
|
||||||
|
}
|
||||||
|
function getRandomNumber(size) {
|
||||||
|
if (size === void 0) {
|
||||||
|
size = 16;
|
||||||
|
}
|
||||||
|
const randomChar = () => Math.round(16 * Math.random()).toString(16);
|
||||||
|
return 'x'.repeat(size).replace(/x/g, randomChar);
|
||||||
|
}
|
||||||
|
function makeElFocusable(el) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('tabIndex', '0');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function makeElNotFocusable(el) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('tabIndex', '-1');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function addElRole(el, role) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('role', role);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function addElRoleDescription(el, description) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('aria-roledescription', description);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function addElControls(el, controls) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('aria-controls', controls);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function addElLabel(el, label) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('aria-label', label);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function addElId(el, id) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('id', id);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function addElLive(el, live) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('aria-live', live);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function disableEl(el) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('aria-disabled', true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function enableEl(el) {
|
||||||
|
el = makeElementsArray(el);
|
||||||
|
el.forEach(subEl => {
|
||||||
|
subEl.setAttribute('aria-disabled', false);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function onEnterOrSpaceKey(e) {
|
||||||
|
if (e.keyCode !== 13 && e.keyCode !== 32) return;
|
||||||
|
const params = swiper.params.a11y;
|
||||||
|
const targetEl = e.target;
|
||||||
|
if (swiper.pagination && swiper.pagination.el && (targetEl === swiper.pagination.el || swiper.pagination.el.contains(e.target))) {
|
||||||
|
if (!e.target.matches(classesToSelector(swiper.params.pagination.bulletClass))) return;
|
||||||
|
}
|
||||||
|
if (swiper.navigation && swiper.navigation.prevEl && swiper.navigation.nextEl) {
|
||||||
|
const prevEls = makeElementsArray(swiper.navigation.prevEl);
|
||||||
|
const nextEls = makeElementsArray(swiper.navigation.nextEl);
|
||||||
|
if (nextEls.includes(targetEl)) {
|
||||||
|
if (!(swiper.isEnd && !swiper.params.loop)) {
|
||||||
|
swiper.slideNext();
|
||||||
|
}
|
||||||
|
if (swiper.isEnd) {
|
||||||
|
notify(params.lastSlideMessage);
|
||||||
|
} else {
|
||||||
|
notify(params.nextSlideMessage);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (prevEls.includes(targetEl)) {
|
||||||
|
if (!(swiper.isBeginning && !swiper.params.loop)) {
|
||||||
|
swiper.slidePrev();
|
||||||
|
}
|
||||||
|
if (swiper.isBeginning) {
|
||||||
|
notify(params.firstSlideMessage);
|
||||||
|
} else {
|
||||||
|
notify(params.prevSlideMessage);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (swiper.pagination && targetEl.matches(classesToSelector(swiper.params.pagination.bulletClass))) {
|
||||||
|
targetEl.click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function updateNavigation() {
|
||||||
|
if (swiper.params.loop || swiper.params.rewind || !swiper.navigation) return;
|
||||||
|
const {
|
||||||
|
nextEl,
|
||||||
|
prevEl
|
||||||
|
} = swiper.navigation;
|
||||||
|
if (prevEl) {
|
||||||
|
if (swiper.isBeginning) {
|
||||||
|
disableEl(prevEl);
|
||||||
|
makeElNotFocusable(prevEl);
|
||||||
|
} else {
|
||||||
|
enableEl(prevEl);
|
||||||
|
makeElFocusable(prevEl);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (nextEl) {
|
||||||
|
if (swiper.isEnd) {
|
||||||
|
disableEl(nextEl);
|
||||||
|
makeElNotFocusable(nextEl);
|
||||||
|
} else {
|
||||||
|
enableEl(nextEl);
|
||||||
|
makeElFocusable(nextEl);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function hasPagination() {
|
||||||
|
return swiper.pagination && swiper.pagination.bullets && swiper.pagination.bullets.length;
|
||||||
|
}
|
||||||
|
function hasClickablePagination() {
|
||||||
|
return hasPagination() && swiper.params.pagination.clickable;
|
||||||
|
}
|
||||||
|
function updatePagination() {
|
||||||
|
const params = swiper.params.a11y;
|
||||||
|
if (!hasPagination()) return;
|
||||||
|
swiper.pagination.bullets.forEach(bulletEl => {
|
||||||
|
if (swiper.params.pagination.clickable) {
|
||||||
|
makeElFocusable(bulletEl);
|
||||||
|
if (!swiper.params.pagination.renderBullet) {
|
||||||
|
addElRole(bulletEl, 'button');
|
||||||
|
addElLabel(bulletEl, params.paginationBulletMessage.replace(/\{\{index\}\}/, elementIndex(bulletEl) + 1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (bulletEl.matches(classesToSelector(swiper.params.pagination.bulletActiveClass))) {
|
||||||
|
bulletEl.setAttribute('aria-current', 'true');
|
||||||
|
} else {
|
||||||
|
bulletEl.removeAttribute('aria-current');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const initNavEl = (el, wrapperId, message) => {
|
||||||
|
makeElFocusable(el);
|
||||||
|
if (el.tagName !== 'BUTTON') {
|
||||||
|
addElRole(el, 'button');
|
||||||
|
el.addEventListener('keydown', onEnterOrSpaceKey);
|
||||||
|
}
|
||||||
|
addElLabel(el, message);
|
||||||
|
addElControls(el, wrapperId);
|
||||||
|
};
|
||||||
|
const handlePointerDown = e => {
|
||||||
|
if (focusTargetSlideEl && focusTargetSlideEl !== e.target && !focusTargetSlideEl.contains(e.target)) {
|
||||||
|
preventFocusHandler = true;
|
||||||
|
}
|
||||||
|
swiper.a11y.clicked = true;
|
||||||
|
};
|
||||||
|
const handlePointerUp = () => {
|
||||||
|
preventFocusHandler = false;
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
if (!swiper.destroyed) {
|
||||||
|
swiper.a11y.clicked = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const onVisibilityChange = e => {
|
||||||
|
visibilityChangedTimestamp = new Date().getTime();
|
||||||
|
};
|
||||||
|
const handleFocus = e => {
|
||||||
|
if (swiper.a11y.clicked || !swiper.params.a11y.scrollOnFocus) return;
|
||||||
|
if (new Date().getTime() - visibilityChangedTimestamp < 100) return;
|
||||||
|
const slideEl = e.target.closest(`.${swiper.params.slideClass}, swiper-slide`);
|
||||||
|
if (!slideEl || !swiper.slides.includes(slideEl)) return;
|
||||||
|
focusTargetSlideEl = slideEl;
|
||||||
|
const isActive = swiper.slides.indexOf(slideEl) === swiper.activeIndex;
|
||||||
|
const isVisible = swiper.params.watchSlidesProgress && swiper.visibleSlides && swiper.visibleSlides.includes(slideEl);
|
||||||
|
if (isActive || isVisible) return;
|
||||||
|
if (e.sourceCapabilities && e.sourceCapabilities.firesTouchEvents) return;
|
||||||
|
if (swiper.isHorizontal()) {
|
||||||
|
swiper.el.scrollLeft = 0;
|
||||||
|
} else {
|
||||||
|
swiper.el.scrollTop = 0;
|
||||||
|
}
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
if (preventFocusHandler) return;
|
||||||
|
if (swiper.params.loop) {
|
||||||
|
swiper.slideToLoop(parseInt(slideEl.getAttribute('data-swiper-slide-index')), 0);
|
||||||
|
} else {
|
||||||
|
swiper.slideTo(swiper.slides.indexOf(slideEl), 0);
|
||||||
|
}
|
||||||
|
preventFocusHandler = false;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const initSlides = () => {
|
||||||
|
const params = swiper.params.a11y;
|
||||||
|
if (params.itemRoleDescriptionMessage) {
|
||||||
|
addElRoleDescription(swiper.slides, params.itemRoleDescriptionMessage);
|
||||||
|
}
|
||||||
|
if (params.slideRole) {
|
||||||
|
addElRole(swiper.slides, params.slideRole);
|
||||||
|
}
|
||||||
|
const slidesLength = swiper.slides.length;
|
||||||
|
if (params.slideLabelMessage) {
|
||||||
|
swiper.slides.forEach((slideEl, index) => {
|
||||||
|
const slideIndex = swiper.params.loop ? parseInt(slideEl.getAttribute('data-swiper-slide-index'), 10) : index;
|
||||||
|
const ariaLabelMessage = params.slideLabelMessage.replace(/\{\{index\}\}/, slideIndex + 1).replace(/\{\{slidesLength\}\}/, slidesLength);
|
||||||
|
addElLabel(slideEl, ariaLabelMessage);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const init = () => {
|
||||||
|
const params = swiper.params.a11y;
|
||||||
|
swiper.el.append(liveRegion);
|
||||||
|
|
||||||
|
// Container
|
||||||
|
const containerEl = swiper.el;
|
||||||
|
if (params.containerRoleDescriptionMessage) {
|
||||||
|
addElRoleDescription(containerEl, params.containerRoleDescriptionMessage);
|
||||||
|
}
|
||||||
|
if (params.containerMessage) {
|
||||||
|
addElLabel(containerEl, params.containerMessage);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Wrapper
|
||||||
|
const wrapperEl = swiper.wrapperEl;
|
||||||
|
const wrapperId = params.id || wrapperEl.getAttribute('id') || `swiper-wrapper-${getRandomNumber(16)}`;
|
||||||
|
const live = swiper.params.autoplay && swiper.params.autoplay.enabled ? 'off' : 'polite';
|
||||||
|
addElId(wrapperEl, wrapperId);
|
||||||
|
addElLive(wrapperEl, live);
|
||||||
|
|
||||||
|
// Slide
|
||||||
|
initSlides();
|
||||||
|
|
||||||
|
// Navigation
|
||||||
|
let {
|
||||||
|
nextEl,
|
||||||
|
prevEl
|
||||||
|
} = swiper.navigation ? swiper.navigation : {};
|
||||||
|
nextEl = makeElementsArray(nextEl);
|
||||||
|
prevEl = makeElementsArray(prevEl);
|
||||||
|
if (nextEl) {
|
||||||
|
nextEl.forEach(el => initNavEl(el, wrapperId, params.nextSlideMessage));
|
||||||
|
}
|
||||||
|
if (prevEl) {
|
||||||
|
prevEl.forEach(el => initNavEl(el, wrapperId, params.prevSlideMessage));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Pagination
|
||||||
|
if (hasClickablePagination()) {
|
||||||
|
const paginationEl = makeElementsArray(swiper.pagination.el);
|
||||||
|
paginationEl.forEach(el => {
|
||||||
|
el.addEventListener('keydown', onEnterOrSpaceKey);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Tab focus
|
||||||
|
const document = getDocument();
|
||||||
|
document.addEventListener('visibilitychange', onVisibilityChange);
|
||||||
|
swiper.el.addEventListener('focus', handleFocus, true);
|
||||||
|
swiper.el.addEventListener('focus', handleFocus, true);
|
||||||
|
swiper.el.addEventListener('pointerdown', handlePointerDown, true);
|
||||||
|
swiper.el.addEventListener('pointerup', handlePointerUp, true);
|
||||||
|
};
|
||||||
|
function destroy() {
|
||||||
|
if (liveRegion) liveRegion.remove();
|
||||||
|
let {
|
||||||
|
nextEl,
|
||||||
|
prevEl
|
||||||
|
} = swiper.navigation ? swiper.navigation : {};
|
||||||
|
nextEl = makeElementsArray(nextEl);
|
||||||
|
prevEl = makeElementsArray(prevEl);
|
||||||
|
if (nextEl) {
|
||||||
|
nextEl.forEach(el => el.removeEventListener('keydown', onEnterOrSpaceKey));
|
||||||
|
}
|
||||||
|
if (prevEl) {
|
||||||
|
prevEl.forEach(el => el.removeEventListener('keydown', onEnterOrSpaceKey));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Pagination
|
||||||
|
if (hasClickablePagination()) {
|
||||||
|
const paginationEl = makeElementsArray(swiper.pagination.el);
|
||||||
|
paginationEl.forEach(el => {
|
||||||
|
el.removeEventListener('keydown', onEnterOrSpaceKey);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const document = getDocument();
|
||||||
|
document.removeEventListener('visibilitychange', onVisibilityChange);
|
||||||
|
// Tab focus
|
||||||
|
if (swiper.el && typeof swiper.el !== 'string') {
|
||||||
|
swiper.el.removeEventListener('focus', handleFocus, true);
|
||||||
|
swiper.el.removeEventListener('pointerdown', handlePointerDown, true);
|
||||||
|
swiper.el.removeEventListener('pointerup', handlePointerUp, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
on('beforeInit', () => {
|
||||||
|
liveRegion = createElement('span', swiper.params.a11y.notificationClass);
|
||||||
|
liveRegion.setAttribute('aria-live', 'assertive');
|
||||||
|
liveRegion.setAttribute('aria-atomic', 'true');
|
||||||
|
});
|
||||||
|
on('afterInit', () => {
|
||||||
|
if (!swiper.params.a11y.enabled) return;
|
||||||
|
init();
|
||||||
|
});
|
||||||
|
on('slidesLengthChange snapGridLengthChange slidesGridLengthChange', () => {
|
||||||
|
if (!swiper.params.a11y.enabled) return;
|
||||||
|
initSlides();
|
||||||
|
});
|
||||||
|
on('fromEdge toEdge afterInit lock unlock', () => {
|
||||||
|
if (!swiper.params.a11y.enabled) return;
|
||||||
|
updateNavigation();
|
||||||
|
});
|
||||||
|
on('paginationUpdate', () => {
|
||||||
|
if (!swiper.params.a11y.enabled) return;
|
||||||
|
updatePagination();
|
||||||
|
});
|
||||||
|
on('destroy', () => {
|
||||||
|
if (!swiper.params.a11y.enabled) return;
|
||||||
|
destroy();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export { A11y as default };
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* a11y */
|
||||||
|
.swiper .swiper-notification {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
opacity: 0;
|
||||||
|
z-index: -1000;
|
||||||
|
}
|
||||||
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/autoplay-element.min.css
vendored
Normal file
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/autoplay-element.min.css
vendored
Normal file
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/autoplay.min.css
vendored
Normal file
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/autoplay.min.css
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
import{g as getDocument}from"../shared/ssr-window.esm.min.mjs";function Autoplay(e){let a,t,{swiper:n,extendParams:i,on:r,emit:o,params:s}=e;n.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,p,u,d,y,m,c,g,v=s&&s.autoplay?s.autoplay.delay:3e3,T=s&&s.autoplay?s.autoplay.delay:3e3,f=(new Date).getTime();function w(e){n&&!n.destroyed&&n.wrapperEl&&e.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",w),g||e.detail&&e.detail.bySwiperTouchMove||S())}const b=()=>{if(n.destroyed||!n.autoplay.running)return;n.autoplay.paused?p=!0:p&&(T=l,p=!1);const e=n.autoplay.paused?l:f+T-(new Date).getTime();n.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),t=requestAnimationFrame((()=>{b()}))},E=e=>{if(n.destroyed||!n.autoplay.running)return;cancelAnimationFrame(t),b();let i=void 0===e?n.params.autoplay.delay:e;v=n.params.autoplay.delay,T=n.params.autoplay.delay;const r=(()=>{let e;if(e=n.virtual&&n.params.virtual.enabled?n.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:n.slides[n.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(r)&&r>0&&void 0===e&&(i=r,v=r,T=r),l=i;const s=n.params.speed,p=()=>{n&&!n.destroyed&&(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(s,!0,!0),o("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,s,!0,!0),o("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(s,!0,!0),o("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,s,!0,!0),o("autoplay")),n.params.cssMode&&(f=(new Date).getTime(),requestAnimationFrame((()=>{E()}))))};return i>0?(clearTimeout(a),a=setTimeout((()=>{p()}),i)):requestAnimationFrame((()=>{p()})),i},L=()=>{f=(new Date).getTime(),n.autoplay.running=!0,E(),o("autoplayStart")},D=()=>{n.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(t),o("autoplayStop")},O=(e,t)=>{if(n.destroyed||!n.autoplay.running)return;clearTimeout(a),e||(c=!0);const i=()=>{o("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",w):S()};if(n.autoplay.paused=!0,t)return m&&(l=n.params.autoplay.delay),m=!1,void i();const r=l||n.params.autoplay.delay;l=r-((new Date).getTime()-f),n.isEnd&&l<0&&!n.params.loop||(l<0&&(l=0),i())},S=()=>{n.isEnd&&l<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(f=(new Date).getTime(),c?(c=!1,E(l)):E(),n.autoplay.paused=!1,o("autoplayResume"))},M=()=>{if(n.destroyed||!n.autoplay.running)return;const e=getDocument();"hidden"===e.visibilityState&&(c=!0,O(!0)),"visible"===e.visibilityState&&S()},h=e=>{"mouse"===e.pointerType&&(c=!0,g=!0,n.animating||n.autoplay.paused||O(!0))},A=e=>{"mouse"===e.pointerType&&(g=!1,n.autoplay.paused&&S())};r("init",(()=>{n.params.autoplay.enabled&&(n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",h),n.el.addEventListener("pointerleave",A)),getDocument().addEventListener("visibilitychange",M),L())})),r("destroy",(()=>{n.el&&"string"!=typeof n.el&&(n.el.removeEventListener("pointerenter",h),n.el.removeEventListener("pointerleave",A)),getDocument().removeEventListener("visibilitychange",M),n.autoplay.running&&D()})),r("_freeModeStaticRelease",(()=>{(d||c)&&S()})),r("_freeModeNoMomentumRelease",(()=>{n.params.autoplay.disableOnInteraction?D():O(!0,!0)})),r("beforeTransitionStart",((e,a,t)=>{!n.destroyed&&n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?O(!0,!0):D())})),r("sliderFirstMove",(()=>{!n.destroyed&&n.autoplay.running&&(n.params.autoplay.disableOnInteraction?D():(u=!0,d=!1,c=!1,y=setTimeout((()=>{c=!0,d=!0,O(!0)}),200)))})),r("touchEnd",(()=>{if(!n.destroyed&&n.autoplay.running&&u){if(clearTimeout(y),clearTimeout(a),n.params.autoplay.disableOnInteraction)return d=!1,void(u=!1);d&&n.params.cssMode&&S(),d=!1,u=!1}})),r("slideChange",(()=>{!n.destroyed&&n.autoplay.running&&(m=!0)})),Object.assign(n.autoplay,{start:L,stop:D,pause:O,resume:S})}export{Autoplay as default};
|
||||||
|
//# sourceMappingURL=autoplay.min.mjs.map
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,304 @@
|
|||||||
|
import { g as getDocument } from '../shared/ssr-window.esm.mjs';
|
||||||
|
|
||||||
|
/* eslint no-underscore-dangle: "off" */
|
||||||
|
/* eslint no-use-before-define: "off" */
|
||||||
|
function Autoplay(_ref) {
|
||||||
|
let {
|
||||||
|
swiper,
|
||||||
|
extendParams,
|
||||||
|
on,
|
||||||
|
emit,
|
||||||
|
params
|
||||||
|
} = _ref;
|
||||||
|
swiper.autoplay = {
|
||||||
|
running: false,
|
||||||
|
paused: false,
|
||||||
|
timeLeft: 0
|
||||||
|
};
|
||||||
|
extendParams({
|
||||||
|
autoplay: {
|
||||||
|
enabled: false,
|
||||||
|
delay: 3000,
|
||||||
|
waitForTransition: true,
|
||||||
|
disableOnInteraction: false,
|
||||||
|
stopOnLastSlide: false,
|
||||||
|
reverseDirection: false,
|
||||||
|
pauseOnMouseEnter: false
|
||||||
|
}
|
||||||
|
});
|
||||||
|
let timeout;
|
||||||
|
let raf;
|
||||||
|
let autoplayDelayTotal = params && params.autoplay ? params.autoplay.delay : 3000;
|
||||||
|
let autoplayDelayCurrent = params && params.autoplay ? params.autoplay.delay : 3000;
|
||||||
|
let autoplayTimeLeft;
|
||||||
|
let autoplayStartTime = new Date().getTime();
|
||||||
|
let wasPaused;
|
||||||
|
let isTouched;
|
||||||
|
let pausedByTouch;
|
||||||
|
let touchStartTimeout;
|
||||||
|
let slideChanged;
|
||||||
|
let pausedByInteraction;
|
||||||
|
let pausedByPointerEnter;
|
||||||
|
function onTransitionEnd(e) {
|
||||||
|
if (!swiper || swiper.destroyed || !swiper.wrapperEl) return;
|
||||||
|
if (e.target !== swiper.wrapperEl) return;
|
||||||
|
swiper.wrapperEl.removeEventListener('transitionend', onTransitionEnd);
|
||||||
|
if (pausedByPointerEnter || e.detail && e.detail.bySwiperTouchMove) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
resume();
|
||||||
|
}
|
||||||
|
const calcTimeLeft = () => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
if (swiper.autoplay.paused) {
|
||||||
|
wasPaused = true;
|
||||||
|
} else if (wasPaused) {
|
||||||
|
autoplayDelayCurrent = autoplayTimeLeft;
|
||||||
|
wasPaused = false;
|
||||||
|
}
|
||||||
|
const timeLeft = swiper.autoplay.paused ? autoplayTimeLeft : autoplayStartTime + autoplayDelayCurrent - new Date().getTime();
|
||||||
|
swiper.autoplay.timeLeft = timeLeft;
|
||||||
|
emit('autoplayTimeLeft', timeLeft, timeLeft / autoplayDelayTotal);
|
||||||
|
raf = requestAnimationFrame(() => {
|
||||||
|
calcTimeLeft();
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const getSlideDelay = () => {
|
||||||
|
let activeSlideEl;
|
||||||
|
if (swiper.virtual && swiper.params.virtual.enabled) {
|
||||||
|
activeSlideEl = swiper.slides.filter(slideEl => slideEl.classList.contains('swiper-slide-active'))[0];
|
||||||
|
} else {
|
||||||
|
activeSlideEl = swiper.slides[swiper.activeIndex];
|
||||||
|
}
|
||||||
|
if (!activeSlideEl) return undefined;
|
||||||
|
const currentSlideDelay = parseInt(activeSlideEl.getAttribute('data-swiper-autoplay'), 10);
|
||||||
|
return currentSlideDelay;
|
||||||
|
};
|
||||||
|
const run = delayForce => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
cancelAnimationFrame(raf);
|
||||||
|
calcTimeLeft();
|
||||||
|
let delay = typeof delayForce === 'undefined' ? swiper.params.autoplay.delay : delayForce;
|
||||||
|
autoplayDelayTotal = swiper.params.autoplay.delay;
|
||||||
|
autoplayDelayCurrent = swiper.params.autoplay.delay;
|
||||||
|
const currentSlideDelay = getSlideDelay();
|
||||||
|
if (!Number.isNaN(currentSlideDelay) && currentSlideDelay > 0 && typeof delayForce === 'undefined') {
|
||||||
|
delay = currentSlideDelay;
|
||||||
|
autoplayDelayTotal = currentSlideDelay;
|
||||||
|
autoplayDelayCurrent = currentSlideDelay;
|
||||||
|
}
|
||||||
|
autoplayTimeLeft = delay;
|
||||||
|
const speed = swiper.params.speed;
|
||||||
|
const proceed = () => {
|
||||||
|
if (!swiper || swiper.destroyed) return;
|
||||||
|
if (swiper.params.autoplay.reverseDirection) {
|
||||||
|
if (!swiper.isBeginning || swiper.params.loop || swiper.params.rewind) {
|
||||||
|
swiper.slidePrev(speed, true, true);
|
||||||
|
emit('autoplay');
|
||||||
|
} else if (!swiper.params.autoplay.stopOnLastSlide) {
|
||||||
|
swiper.slideTo(swiper.slides.length - 1, speed, true, true);
|
||||||
|
emit('autoplay');
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (!swiper.isEnd || swiper.params.loop || swiper.params.rewind) {
|
||||||
|
swiper.slideNext(speed, true, true);
|
||||||
|
emit('autoplay');
|
||||||
|
} else if (!swiper.params.autoplay.stopOnLastSlide) {
|
||||||
|
swiper.slideTo(0, speed, true, true);
|
||||||
|
emit('autoplay');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (swiper.params.cssMode) {
|
||||||
|
autoplayStartTime = new Date().getTime();
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
run();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (delay > 0) {
|
||||||
|
clearTimeout(timeout);
|
||||||
|
timeout = setTimeout(() => {
|
||||||
|
proceed();
|
||||||
|
}, delay);
|
||||||
|
} else {
|
||||||
|
requestAnimationFrame(() => {
|
||||||
|
proceed();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line
|
||||||
|
return delay;
|
||||||
|
};
|
||||||
|
const start = () => {
|
||||||
|
autoplayStartTime = new Date().getTime();
|
||||||
|
swiper.autoplay.running = true;
|
||||||
|
run();
|
||||||
|
emit('autoplayStart');
|
||||||
|
};
|
||||||
|
const stop = () => {
|
||||||
|
swiper.autoplay.running = false;
|
||||||
|
clearTimeout(timeout);
|
||||||
|
cancelAnimationFrame(raf);
|
||||||
|
emit('autoplayStop');
|
||||||
|
};
|
||||||
|
const pause = (internal, reset) => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
clearTimeout(timeout);
|
||||||
|
if (!internal) {
|
||||||
|
pausedByInteraction = true;
|
||||||
|
}
|
||||||
|
const proceed = () => {
|
||||||
|
emit('autoplayPause');
|
||||||
|
if (swiper.params.autoplay.waitForTransition) {
|
||||||
|
swiper.wrapperEl.addEventListener('transitionend', onTransitionEnd);
|
||||||
|
} else {
|
||||||
|
resume();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
swiper.autoplay.paused = true;
|
||||||
|
if (reset) {
|
||||||
|
if (slideChanged) {
|
||||||
|
autoplayTimeLeft = swiper.params.autoplay.delay;
|
||||||
|
}
|
||||||
|
slideChanged = false;
|
||||||
|
proceed();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const delay = autoplayTimeLeft || swiper.params.autoplay.delay;
|
||||||
|
autoplayTimeLeft = delay - (new Date().getTime() - autoplayStartTime);
|
||||||
|
if (swiper.isEnd && autoplayTimeLeft < 0 && !swiper.params.loop) return;
|
||||||
|
if (autoplayTimeLeft < 0) autoplayTimeLeft = 0;
|
||||||
|
proceed();
|
||||||
|
};
|
||||||
|
const resume = () => {
|
||||||
|
if (swiper.isEnd && autoplayTimeLeft < 0 && !swiper.params.loop || swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
autoplayStartTime = new Date().getTime();
|
||||||
|
if (pausedByInteraction) {
|
||||||
|
pausedByInteraction = false;
|
||||||
|
run(autoplayTimeLeft);
|
||||||
|
} else {
|
||||||
|
run();
|
||||||
|
}
|
||||||
|
swiper.autoplay.paused = false;
|
||||||
|
emit('autoplayResume');
|
||||||
|
};
|
||||||
|
const onVisibilityChange = () => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
const document = getDocument();
|
||||||
|
if (document.visibilityState === 'hidden') {
|
||||||
|
pausedByInteraction = true;
|
||||||
|
pause(true);
|
||||||
|
}
|
||||||
|
if (document.visibilityState === 'visible') {
|
||||||
|
resume();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const onPointerEnter = e => {
|
||||||
|
if (e.pointerType !== 'mouse') return;
|
||||||
|
pausedByInteraction = true;
|
||||||
|
pausedByPointerEnter = true;
|
||||||
|
if (swiper.animating || swiper.autoplay.paused) return;
|
||||||
|
pause(true);
|
||||||
|
};
|
||||||
|
const onPointerLeave = e => {
|
||||||
|
if (e.pointerType !== 'mouse') return;
|
||||||
|
pausedByPointerEnter = false;
|
||||||
|
if (swiper.autoplay.paused) {
|
||||||
|
resume();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const attachMouseEvents = () => {
|
||||||
|
if (swiper.params.autoplay.pauseOnMouseEnter) {
|
||||||
|
swiper.el.addEventListener('pointerenter', onPointerEnter);
|
||||||
|
swiper.el.addEventListener('pointerleave', onPointerLeave);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const detachMouseEvents = () => {
|
||||||
|
if (swiper.el && typeof swiper.el !== 'string') {
|
||||||
|
swiper.el.removeEventListener('pointerenter', onPointerEnter);
|
||||||
|
swiper.el.removeEventListener('pointerleave', onPointerLeave);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const attachDocumentEvents = () => {
|
||||||
|
const document = getDocument();
|
||||||
|
document.addEventListener('visibilitychange', onVisibilityChange);
|
||||||
|
};
|
||||||
|
const detachDocumentEvents = () => {
|
||||||
|
const document = getDocument();
|
||||||
|
document.removeEventListener('visibilitychange', onVisibilityChange);
|
||||||
|
};
|
||||||
|
on('init', () => {
|
||||||
|
if (swiper.params.autoplay.enabled) {
|
||||||
|
attachMouseEvents();
|
||||||
|
attachDocumentEvents();
|
||||||
|
start();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
on('destroy', () => {
|
||||||
|
detachMouseEvents();
|
||||||
|
detachDocumentEvents();
|
||||||
|
if (swiper.autoplay.running) {
|
||||||
|
stop();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
on('_freeModeStaticRelease', () => {
|
||||||
|
if (pausedByTouch || pausedByInteraction) {
|
||||||
|
resume();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
on('_freeModeNoMomentumRelease', () => {
|
||||||
|
if (!swiper.params.autoplay.disableOnInteraction) {
|
||||||
|
pause(true, true);
|
||||||
|
} else {
|
||||||
|
stop();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
on('beforeTransitionStart', (_s, speed, internal) => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
if (internal || !swiper.params.autoplay.disableOnInteraction) {
|
||||||
|
pause(true, true);
|
||||||
|
} else {
|
||||||
|
stop();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
on('sliderFirstMove', () => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
if (swiper.params.autoplay.disableOnInteraction) {
|
||||||
|
stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
isTouched = true;
|
||||||
|
pausedByTouch = false;
|
||||||
|
pausedByInteraction = false;
|
||||||
|
touchStartTimeout = setTimeout(() => {
|
||||||
|
pausedByInteraction = true;
|
||||||
|
pausedByTouch = true;
|
||||||
|
pause(true);
|
||||||
|
}, 200);
|
||||||
|
});
|
||||||
|
on('touchEnd', () => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running || !isTouched) return;
|
||||||
|
clearTimeout(touchStartTimeout);
|
||||||
|
clearTimeout(timeout);
|
||||||
|
if (swiper.params.autoplay.disableOnInteraction) {
|
||||||
|
pausedByTouch = false;
|
||||||
|
isTouched = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (pausedByTouch && swiper.params.cssMode) resume();
|
||||||
|
pausedByTouch = false;
|
||||||
|
isTouched = false;
|
||||||
|
});
|
||||||
|
on('slideChange', () => {
|
||||||
|
if (swiper.destroyed || !swiper.autoplay.running) return;
|
||||||
|
slideChanged = true;
|
||||||
|
});
|
||||||
|
Object.assign(swiper.autoplay, {
|
||||||
|
start,
|
||||||
|
stop,
|
||||||
|
pause,
|
||||||
|
resume
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export { Autoplay as default };
|
||||||
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/controller-element.min.css
vendored
Normal file
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/controller-element.min.css
vendored
Normal file
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/controller.min.css
vendored
Normal file
0
web/themes/custom/quartiers_de_demain/librairies/swiper/modules/controller.min.css
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
import{n as nextTick,k as elementTransitionEnd}from"../shared/utils.min.mjs";function Controller(t){let{swiper:r,extendParams:e,on:n}=t;function o(t,r){const e=function(){let t,r,e;return(n,o)=>{for(r=-1,t=n.length;t-r>1;)e=t+r>>1,n[e]<=o?r=e:t=e;return t}}();let n,o;return this.x=t,this.y=r,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(o=e(this.x,t),n=o-1,(t-this.x[n])*(this.y[o]-this.y[n])/(this.x[o]-this.x[n])+this.y[n]):0},this}function l(){r.controller.control&&r.controller.spline&&(r.controller.spline=void 0,delete r.controller.spline)}e({controller:{control:void 0,inverse:!1,by:"slide"}}),r.controller={control:void 0},n("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof r.params.controller.control||r.params.controller.control instanceof HTMLElement)){("string"==typeof r.params.controller.control?[...document.querySelectorAll(r.params.controller.control)]:[r.params.controller.control]).forEach((t=>{if(r.controller.control||(r.controller.control=[]),t&&t.swiper)r.controller.control.push(t.swiper);else if(t){const e=`${r.params.eventsPrefix}init`,n=o=>{r.controller.control.push(o.detail[0]),r.update(),t.removeEventListener(e,n)};t.addEventListener(e,n)}}))}else r.controller.control=r.params.controller.control})),n("update",(()=>{l()})),n("resize",(()=>{l()})),n("observerUpdate",(()=>{l()})),n("setTranslate",((t,e,n)=>{r.controller.control&&!r.controller.control.destroyed&&r.controller.setTranslate(e,n)})),n("setTransition",((t,e,n)=>{r.controller.control&&!r.controller.control.destroyed&&r.controller.setTransition(e,n)})),Object.assign(r.controller,{setTranslate:function(t,e){const n=r.controller.control;let l,s;const i=r.constructor;function a(t){if(t.destroyed)return;const e=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(!function(t){r.controller.spline=r.params.loop?new o(r.slidesGrid,t.slidesGrid):new o(r.snapGrid,t.snapGrid)}(t),s=-r.controller.spline.interpolate(-e)),s&&"container"!==r.params.controller.by||(l=(t.maxTranslate()-t.minTranslate())/(r.maxTranslate()-r.minTranslate()),!Number.isNaN(l)&&Number.isFinite(l)||(l=1),s=(e-r.minTranslate())*l+t.minTranslate()),r.params.controller.inverse&&(s=t.maxTranslate()-s),t.updateProgress(s),t.setTranslate(s,r),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(n))for(let t=0;t<n.length;t+=1)n[t]!==e&&n[t]instanceof i&&a(n[t]);else n instanceof i&&e!==n&&a(n)},setTransition:function(t,e){const n=r.constructor,o=r.controller.control;let l;function s(e){e.destroyed||(e.setTransition(t,r),0!==t&&(e.transitionStart(),e.params.autoHeight&&nextTick((()=>{e.updateAutoHeight()})),elementTransitionEnd(e.wrapperEl,(()=>{o&&e.transitionEnd()}))))}if(Array.isArray(o))for(l=0;l<o.length;l+=1)o[l]!==e&&o[l]instanceof n&&s(o[l]);else o instanceof n&&e!==o&&s(o)}})}export{Controller as default};
|
||||||
|
//# sourceMappingURL=controller.min.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"controller.mjs.mjs","names":["nextTick","elementTransitionEnd","Controller","_ref","swiper","extendParams","on","LinearSpline","x","y","binarySearch","maxIndex","minIndex","guess","array","val","length","i1","i3","this","lastIndex","interpolate","x2","removeSpline","controller","control","spline","undefined","inverse","by","window","params","HTMLElement","document","querySelectorAll","forEach","controlElement","push","eventName","eventsPrefix","onControllerSwiper","e","detail","update","removeEventListener","addEventListener","_s","translate","byController","destroyed","setTranslate","duration","setTransition","Object","assign","_t","controlled","multiplier","controlledTranslate","Swiper","constructor","setControlledTranslate","c","rtlTranslate","loop","slidesGrid","snapGrid","getInterpolateFunction","maxTranslate","minTranslate","Number","isNaN","isFinite","updateProgress","updateActiveIndex","updateSlidesClasses","Array","isArray","i","setControlledTransition","transitionStart","autoHeight","updateAutoHeight","wrapperEl","transitionEnd"],"sources":["0"],"mappings":"YAAcA,cAAeC,yBAA4B,0BAGzD,SAASC,WAAWC,GAClB,IAAIC,OACFA,EAAMC,aACNA,EAAYC,GACZA,GACEH,EAYJ,SAASI,EAAaC,EAAGC,GACvB,MAAMC,EAAe,WACnB,IAAIC,EACAC,EACAC,EACJ,MAAO,CAACC,EAAOC,KAGb,IAFAH,GAAY,EACZD,EAAWG,EAAME,OACVL,EAAWC,EAAW,GAC3BC,EAAQF,EAAWC,GAAY,EAC3BE,EAAMD,IAAUE,EAClBH,EAAWC,EAEXF,EAAWE,EAGf,OAAOF,CAAQ,CAEnB,CAjBqB,GAwBrB,IAAIM,EACAC,EAYJ,OAnBAC,KAAKX,EAAIA,EACTW,KAAKV,EAAIA,EACTU,KAAKC,UAAYZ,EAAEQ,OAAS,EAM5BG,KAAKE,YAAc,SAAqBC,GACtC,OAAKA,GAGLJ,EAAKR,EAAaS,KAAKX,EAAGc,GAC1BL,EAAKC,EAAK,GAIFI,EAAKH,KAAKX,EAAES,KAAQE,KAAKV,EAAES,GAAMC,KAAKV,EAAEQ,KAAQE,KAAKX,EAAEU,GAAMC,KAAKX,EAAES,IAAOE,KAAKV,EAAEQ,IAR1E,CASlB,EACOE,IACT,CA8EA,SAASI,IACFnB,EAAOoB,WAAWC,SACnBrB,EAAOoB,WAAWE,SACpBtB,EAAOoB,WAAWE,YAASC,SACpBvB,EAAOoB,WAAWE,OAE7B,CAtIArB,EAAa,CACXmB,WAAY,CACVC,aAASE,EACTC,SAAS,EACTC,GAAI,WAIRzB,EAAOoB,WAAa,CAClBC,aAASE,GA8HXrB,EAAG,cAAc,KACf,GAAsB,oBAAXwB,SAEiC,iBAArC1B,EAAO2B,OAAOP,WAAWC,SAAwBrB,EAAO2B,OAAOP,WAAWC,mBAAmBO,aAFpG,EAGsE,iBAArC5B,EAAO2B,OAAOP,WAAWC,QAAuB,IAAIQ,SAASC,iBAAiB9B,EAAO2B,OAAOP,WAAWC,UAAY,CAACrB,EAAO2B,OAAOP,WAAWC,UAC5JU,SAAQC,IAEtB,GADKhC,EAAOoB,WAAWC,UAASrB,EAAOoB,WAAWC,QAAU,IACxDW,GAAkBA,EAAehC,OACnCA,EAAOoB,WAAWC,QAAQY,KAAKD,EAAehC,aACzC,GAAIgC,EAAgB,CACzB,MAAME,EAAY,GAAGlC,EAAO2B,OAAOQ,mBAC7BC,EAAqBC,IACzBrC,EAAOoB,WAAWC,QAAQY,KAAKI,EAAEC,OAAO,IACxCtC,EAAOuC,SACPP,EAAeQ,oBAAoBN,EAAWE,EAAmB,EAEnEJ,EAAeS,iBAAiBP,EAAWE,EAC7C,IAGJ,MACApC,EAAOoB,WAAWC,QAAUrB,EAAO2B,OAAOP,WAAWC,OAAO,IAE9DnB,EAAG,UAAU,KACXiB,GAAc,IAEhBjB,EAAG,UAAU,KACXiB,GAAc,IAEhBjB,EAAG,kBAAkB,KACnBiB,GAAc,IAEhBjB,EAAG,gBAAgB,CAACwC,EAAIC,EAAWC,KAC5B5C,EAAOoB,WAAWC,UAAWrB,EAAOoB,WAAWC,QAAQwB,WAC5D7C,EAAOoB,WAAW0B,aAAaH,EAAWC,EAAa,IAEzD1C,EAAG,iBAAiB,CAACwC,EAAIK,EAAUH,KAC5B5C,EAAOoB,WAAWC,UAAWrB,EAAOoB,WAAWC,QAAQwB,WAC5D7C,EAAOoB,WAAW4B,cAAcD,EAAUH,EAAa,IAEzDK,OAAOC,OAAOlD,EAAOoB,WAAY,CAC/B0B,aA1HF,SAAsBK,EAAIP,GACxB,MAAMQ,EAAapD,EAAOoB,WAAWC,QACrC,IAAIgC,EACAC,EACJ,MAAMC,EAASvD,EAAOwD,YACtB,SAASC,EAAuBC,GAC9B,GAAIA,EAAEb,UAAW,OAMjB,MAAMF,EAAY3C,EAAO2D,cAAgB3D,EAAO2C,UAAY3C,EAAO2C,UAC/B,UAAhC3C,EAAO2B,OAAOP,WAAWK,MAhBjC,SAAgCiC,GAC9B1D,EAAOoB,WAAWE,OAAStB,EAAO2B,OAAOiC,KAAO,IAAIzD,EAAaH,EAAO6D,WAAYH,EAAEG,YAAc,IAAI1D,EAAaH,EAAO8D,SAAUJ,EAAEI,SAC1I,CAeMC,CAAuBL,GAGvBJ,GAAuBtD,EAAOoB,WAAWE,OAAOL,aAAa0B,IAE1DW,GAAuD,cAAhCtD,EAAO2B,OAAOP,WAAWK,KACnD4B,GAAcK,EAAEM,eAAiBN,EAAEO,iBAAmBjE,EAAOgE,eAAiBhE,EAAOiE,iBACjFC,OAAOC,MAAMd,IAAgBa,OAAOE,SAASf,KAC/CA,EAAa,GAEfC,GAAuBX,EAAY3C,EAAOiE,gBAAkBZ,EAAaK,EAAEO,gBAEzEjE,EAAO2B,OAAOP,WAAWI,UAC3B8B,EAAsBI,EAAEM,eAAiBV,GAE3CI,EAAEW,eAAef,GACjBI,EAAEZ,aAAaQ,EAAqBtD,GACpC0D,EAAEY,oBACFZ,EAAEa,qBACJ,CACA,GAAIC,MAAMC,QAAQrB,GAChB,IAAK,IAAIsB,EAAI,EAAGA,EAAItB,EAAWxC,OAAQ8D,GAAK,EACtCtB,EAAWsB,KAAO9B,GAAgBQ,EAAWsB,aAAcnB,GAC7DE,EAAuBL,EAAWsB,SAG7BtB,aAAsBG,GAAUX,IAAiBQ,GAC1DK,EAAuBL,EAE3B,EAgFEJ,cA/EF,SAAuBD,EAAUH,GAC/B,MAAMW,EAASvD,EAAOwD,YAChBJ,EAAapD,EAAOoB,WAAWC,QACrC,IAAIqD,EACJ,SAASC,EAAwBjB,GAC3BA,EAAEb,YACNa,EAAEV,cAAcD,EAAU/C,GACT,IAAb+C,IACFW,EAAEkB,kBACElB,EAAE/B,OAAOkD,YACXjF,UAAS,KACP8D,EAAEoB,kBAAkB,IAGxBjF,qBAAqB6D,EAAEqB,WAAW,KAC3B3B,GACLM,EAAEsB,eAAe,KAGvB,CACA,GAAIR,MAAMC,QAAQrB,GAChB,IAAKsB,EAAI,EAAGA,EAAItB,EAAWxC,OAAQ8D,GAAK,EAClCtB,EAAWsB,KAAO9B,GAAgBQ,EAAWsB,aAAcnB,GAC7DoB,EAAwBvB,EAAWsB,SAG9BtB,aAAsBG,GAAUX,IAAiBQ,GAC1DuB,EAAwBvB,EAE5B,GAoDF,QAEStD"}
|
||||||
@@ -0,0 +1,191 @@
|
|||||||
|
import { n as nextTick, k as elementTransitionEnd } from '../shared/utils.mjs';
|
||||||
|
|
||||||
|
/* eslint no-bitwise: ["error", { "allow": [">>"] }] */
|
||||||
|
function Controller(_ref) {
|
||||||
|
let {
|
||||||
|
swiper,
|
||||||
|
extendParams,
|
||||||
|
on
|
||||||
|
} = _ref;
|
||||||
|
extendParams({
|
||||||
|
controller: {
|
||||||
|
control: undefined,
|
||||||
|
inverse: false,
|
||||||
|
by: 'slide' // or 'container'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
swiper.controller = {
|
||||||
|
control: undefined
|
||||||
|
};
|
||||||
|
function LinearSpline(x, y) {
|
||||||
|
const binarySearch = function search() {
|
||||||
|
let maxIndex;
|
||||||
|
let minIndex;
|
||||||
|
let guess;
|
||||||
|
return (array, val) => {
|
||||||
|
minIndex = -1;
|
||||||
|
maxIndex = array.length;
|
||||||
|
while (maxIndex - minIndex > 1) {
|
||||||
|
guess = maxIndex + minIndex >> 1;
|
||||||
|
if (array[guess] <= val) {
|
||||||
|
minIndex = guess;
|
||||||
|
} else {
|
||||||
|
maxIndex = guess;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return maxIndex;
|
||||||
|
};
|
||||||
|
}();
|
||||||
|
this.x = x;
|
||||||
|
this.y = y;
|
||||||
|
this.lastIndex = x.length - 1;
|
||||||
|
// Given an x value (x2), return the expected y2 value:
|
||||||
|
// (x1,y1) is the known point before given value,
|
||||||
|
// (x3,y3) is the known point after given value.
|
||||||
|
let i1;
|
||||||
|
let i3;
|
||||||
|
this.interpolate = function interpolate(x2) {
|
||||||
|
if (!x2) return 0;
|
||||||
|
|
||||||
|
// Get the indexes of x1 and x3 (the array indexes before and after given x2):
|
||||||
|
i3 = binarySearch(this.x, x2);
|
||||||
|
i1 = i3 - 1;
|
||||||
|
|
||||||
|
// We have our indexes i1 & i3, so we can calculate already:
|
||||||
|
// y2 := ((x2−x1) × (y3−y1)) ÷ (x3−x1) + y1
|
||||||
|
return (x2 - this.x[i1]) * (this.y[i3] - this.y[i1]) / (this.x[i3] - this.x[i1]) + this.y[i1];
|
||||||
|
};
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
function getInterpolateFunction(c) {
|
||||||
|
swiper.controller.spline = swiper.params.loop ? new LinearSpline(swiper.slidesGrid, c.slidesGrid) : new LinearSpline(swiper.snapGrid, c.snapGrid);
|
||||||
|
}
|
||||||
|
function setTranslate(_t, byController) {
|
||||||
|
const controlled = swiper.controller.control;
|
||||||
|
let multiplier;
|
||||||
|
let controlledTranslate;
|
||||||
|
const Swiper = swiper.constructor;
|
||||||
|
function setControlledTranslate(c) {
|
||||||
|
if (c.destroyed) return;
|
||||||
|
|
||||||
|
// this will create an Interpolate function based on the snapGrids
|
||||||
|
// x is the Grid of the scrolled scroller and y will be the controlled scroller
|
||||||
|
// it makes sense to create this only once and recall it for the interpolation
|
||||||
|
// the function does a lot of value caching for performance
|
||||||
|
const translate = swiper.rtlTranslate ? -swiper.translate : swiper.translate;
|
||||||
|
if (swiper.params.controller.by === 'slide') {
|
||||||
|
getInterpolateFunction(c);
|
||||||
|
// i am not sure why the values have to be multiplicated this way, tried to invert the snapGrid
|
||||||
|
// but it did not work out
|
||||||
|
controlledTranslate = -swiper.controller.spline.interpolate(-translate);
|
||||||
|
}
|
||||||
|
if (!controlledTranslate || swiper.params.controller.by === 'container') {
|
||||||
|
multiplier = (c.maxTranslate() - c.minTranslate()) / (swiper.maxTranslate() - swiper.minTranslate());
|
||||||
|
if (Number.isNaN(multiplier) || !Number.isFinite(multiplier)) {
|
||||||
|
multiplier = 1;
|
||||||
|
}
|
||||||
|
controlledTranslate = (translate - swiper.minTranslate()) * multiplier + c.minTranslate();
|
||||||
|
}
|
||||||
|
if (swiper.params.controller.inverse) {
|
||||||
|
controlledTranslate = c.maxTranslate() - controlledTranslate;
|
||||||
|
}
|
||||||
|
c.updateProgress(controlledTranslate);
|
||||||
|
c.setTranslate(controlledTranslate, swiper);
|
||||||
|
c.updateActiveIndex();
|
||||||
|
c.updateSlidesClasses();
|
||||||
|
}
|
||||||
|
if (Array.isArray(controlled)) {
|
||||||
|
for (let i = 0; i < controlled.length; i += 1) {
|
||||||
|
if (controlled[i] !== byController && controlled[i] instanceof Swiper) {
|
||||||
|
setControlledTranslate(controlled[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (controlled instanceof Swiper && byController !== controlled) {
|
||||||
|
setControlledTranslate(controlled);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function setTransition(duration, byController) {
|
||||||
|
const Swiper = swiper.constructor;
|
||||||
|
const controlled = swiper.controller.control;
|
||||||
|
let i;
|
||||||
|
function setControlledTransition(c) {
|
||||||
|
if (c.destroyed) return;
|
||||||
|
c.setTransition(duration, swiper);
|
||||||
|
if (duration !== 0) {
|
||||||
|
c.transitionStart();
|
||||||
|
if (c.params.autoHeight) {
|
||||||
|
nextTick(() => {
|
||||||
|
c.updateAutoHeight();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
elementTransitionEnd(c.wrapperEl, () => {
|
||||||
|
if (!controlled) return;
|
||||||
|
c.transitionEnd();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (Array.isArray(controlled)) {
|
||||||
|
for (i = 0; i < controlled.length; i += 1) {
|
||||||
|
if (controlled[i] !== byController && controlled[i] instanceof Swiper) {
|
||||||
|
setControlledTransition(controlled[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (controlled instanceof Swiper && byController !== controlled) {
|
||||||
|
setControlledTransition(controlled);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function removeSpline() {
|
||||||
|
if (!swiper.controller.control) return;
|
||||||
|
if (swiper.controller.spline) {
|
||||||
|
swiper.controller.spline = undefined;
|
||||||
|
delete swiper.controller.spline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
on('beforeInit', () => {
|
||||||
|
if (typeof window !== 'undefined' && (
|
||||||
|
// eslint-disable-line
|
||||||
|
typeof swiper.params.controller.control === 'string' || swiper.params.controller.control instanceof HTMLElement)) {
|
||||||
|
const controlElements = typeof swiper.params.controller.control === 'string' ? [...document.querySelectorAll(swiper.params.controller.control)] : [swiper.params.controller.control];
|
||||||
|
controlElements.forEach(controlElement => {
|
||||||
|
if (!swiper.controller.control) swiper.controller.control = [];
|
||||||
|
if (controlElement && controlElement.swiper) {
|
||||||
|
swiper.controller.control.push(controlElement.swiper);
|
||||||
|
} else if (controlElement) {
|
||||||
|
const eventName = `${swiper.params.eventsPrefix}init`;
|
||||||
|
const onControllerSwiper = e => {
|
||||||
|
swiper.controller.control.push(e.detail[0]);
|
||||||
|
swiper.update();
|
||||||
|
controlElement.removeEventListener(eventName, onControllerSwiper);
|
||||||
|
};
|
||||||
|
controlElement.addEventListener(eventName, onControllerSwiper);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
swiper.controller.control = swiper.params.controller.control;
|
||||||
|
});
|
||||||
|
on('update', () => {
|
||||||
|
removeSpline();
|
||||||
|
});
|
||||||
|
on('resize', () => {
|
||||||
|
removeSpline();
|
||||||
|
});
|
||||||
|
on('observerUpdate', () => {
|
||||||
|
removeSpline();
|
||||||
|
});
|
||||||
|
on('setTranslate', (_s, translate, byController) => {
|
||||||
|
if (!swiper.controller.control || swiper.controller.control.destroyed) return;
|
||||||
|
swiper.controller.setTranslate(translate, byController);
|
||||||
|
});
|
||||||
|
on('setTransition', (_s, duration, byController) => {
|
||||||
|
if (!swiper.controller.control || swiper.controller.control.destroyed) return;
|
||||||
|
swiper.controller.setTransition(duration, byController);
|
||||||
|
});
|
||||||
|
Object.assign(swiper.controller, {
|
||||||
|
setTranslate,
|
||||||
|
setTransition
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export { Controller as default };
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user