2024-11-17
This commit is contained in:
parent
5f40c87c2d
commit
0dd09dd464
67 changed files with 389 additions and 539 deletions
|
|
@ -1,7 +0,0 @@
|
|||
Copyright (c) Roots Software Foundation LLC
|
||||
|
||||
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.
|
||||
12
PANIER.md
12
PANIER.md
|
|
@ -1,12 +0,0 @@
|
|||
- Cheminement de la création d'une commande
|
||||
- **OK** Choix de la séparation entre livraison et facturation
|
||||
- **OK** Renseignement du formulaire de livraison
|
||||
- **OK** (Renseignement du formulaire de facturation)
|
||||
- Clic sur le bouton "Submit"
|
||||
- Le backend envoie la méthode de livraison et son coût en fonction du pays choisi et des produits dans le Panier
|
||||
- Affichage du choix de la méthode de paiement (caché jusque là)
|
||||
- Change le texte du bouton d'action du formulaire
|
||||
- Rend obligatoire les champs du formulaire de paiement
|
||||
- Choix de la méthode de paiement
|
||||
- (Stripe) Chargement du formulaire
|
||||
- (PayPal) Chargement du formulaire
|
||||
30
composer.lock
generated
30
composer.lock
generated
|
|
@ -3210,16 +3210,16 @@
|
|||
},
|
||||
{
|
||||
"name": "twig/twig",
|
||||
"version": "v3.14.2",
|
||||
"version": "v3.15.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/twigphp/Twig.git",
|
||||
"reference": "0b6f9d8370bb3b7f1ce5313ed8feb0fafd6e399a"
|
||||
"reference": "2d5b3964cc21d0188633d7ddce732dc8e874db02"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/twigphp/Twig/zipball/0b6f9d8370bb3b7f1ce5313ed8feb0fafd6e399a",
|
||||
"reference": "0b6f9d8370bb3b7f1ce5313ed8feb0fafd6e399a",
|
||||
"url": "https://api.github.com/repos/twigphp/Twig/zipball/2d5b3964cc21d0188633d7ddce732dc8e874db02",
|
||||
"reference": "2d5b3964cc21d0188633d7ddce732dc8e874db02",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -3273,7 +3273,7 @@
|
|||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/twigphp/Twig/issues",
|
||||
"source": "https://github.com/twigphp/Twig/tree/v3.14.2"
|
||||
"source": "https://github.com/twigphp/Twig/tree/v3.15.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -3285,7 +3285,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-11-07T12:36:22+00:00"
|
||||
"time": "2024-11-17T15:59:19+00:00"
|
||||
},
|
||||
{
|
||||
"name": "vlucas/phpdotenv",
|
||||
|
|
@ -4650,16 +4650,16 @@
|
|||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan.git",
|
||||
"reference": "ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d"
|
||||
"reference": "6c98c7600fc717b2c78c11ef60040d5b1e359c82"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d",
|
||||
"reference": "ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/6c98c7600fc717b2c78c11ef60040d5b1e359c82",
|
||||
"reference": "6c98c7600fc717b2c78c11ef60040d5b1e359c82",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -4704,7 +4704,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-11-11T15:43:04+00:00"
|
||||
"time": "2024-11-17T14:17:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/log",
|
||||
|
|
@ -6307,12 +6307,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/szepeviktor/phpstan-wordpress.git",
|
||||
"reference": "8c7f1b391334001ab8bc2e1cbd57e9e849d8979d"
|
||||
"reference": "fab61ad0e3ba963877eea48d29248eb1ae2a3eda"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/8c7f1b391334001ab8bc2e1cbd57e9e849d8979d",
|
||||
"reference": "8c7f1b391334001ab8bc2e1cbd57e9e849d8979d",
|
||||
"url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/fab61ad0e3ba963877eea48d29248eb1ae2a3eda",
|
||||
"reference": "fab61ad0e3ba963877eea48d29248eb1ae2a3eda",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -6361,7 +6361,7 @@
|
|||
"issues": "https://github.com/szepeviktor/phpstan-wordpress/issues",
|
||||
"source": "https://github.com/szepeviktor/phpstan-wordpress/tree/2.x"
|
||||
},
|
||||
"time": "2024-11-16T06:28:10+00:00"
|
||||
"time": "2024-11-17T13:12:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "vimeo/psalm",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"description": "",
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"packageManager": "pnpm@9.13.0",
|
||||
"packageManager": "pnpm@9.13.2",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
"scripts": { "knip": "knip", "test": "echo \"Error: no test specified\" && exit 1" },
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
"a11y-dialog": "^8.1.1",
|
||||
"purify-ts": "^2.1.0",
|
||||
"ts-pattern": "^5.5.0",
|
||||
"valibot": "1.0.0-beta.6"
|
||||
"valibot": "1.0.0-beta.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.9.4",
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
"vite": "^5.4.11",
|
||||
"vite-plugin-manifest-sri": "^0.2.0",
|
||||
"vite-plugin-node-polyfills": "^0.22.0",
|
||||
"vite-plugin-valibot-env": "^0.8.6",
|
||||
"vite-plugin-valibot-env": "^0.8.7",
|
||||
"vite-tsconfig-paths": "^5.1.2",
|
||||
"wp-types": "^4.67.0"
|
||||
},
|
||||
|
|
|
|||
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
|
|
@ -27,8 +27,8 @@ importers:
|
|||
specifier: ^5.5.0
|
||||
version: 5.5.0
|
||||
valibot:
|
||||
specifier: 1.0.0-beta.6
|
||||
version: 1.0.0-beta.6(typescript@5.7.0-dev.20241105)
|
||||
specifier: 1.0.0-beta.7
|
||||
version: 1.0.0-beta.7(typescript@5.7.0-dev.20241105)
|
||||
devDependencies:
|
||||
'@biomejs/biome':
|
||||
specifier: ^1.9.4
|
||||
|
|
@ -130,8 +130,8 @@ importers:
|
|||
specifier: ^0.22.0
|
||||
version: 0.22.0(rollup@4.27.2)(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6))
|
||||
vite-plugin-valibot-env:
|
||||
specifier: ^0.8.6
|
||||
version: 0.8.6(valibot@1.0.0-beta.6(typescript@5.7.0-dev.20241105))(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6))
|
||||
specifier: ^0.8.7
|
||||
version: 0.8.7(valibot@1.0.0-beta.7(typescript@5.7.0-dev.20241105))(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6))
|
||||
vite-tsconfig-paths:
|
||||
specifier: ^5.1.2
|
||||
version: 5.1.2(typescript@5.7.0-dev.20241105)(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6))
|
||||
|
|
@ -2829,8 +2829,8 @@ packages:
|
|||
util@0.12.5:
|
||||
resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==}
|
||||
|
||||
valibot@1.0.0-beta.6:
|
||||
resolution: {integrity: sha512-x9ObzhqDCWFaWOa6Zri1mbFcc8OIIKP7cQtD9JauKt5pJFhpJkvAXT+49bFKjoVikiKVk7m33mXgUJb/Wfknmw==}
|
||||
valibot@1.0.0-beta.7:
|
||||
resolution: {integrity: sha512-8CsDu3tqyg7quEHMzCOYdQ/d9NlmVQKtd4AlFje6oJpvqo70EIZjSakKIeWltJyNAiUtdtLe0LAk4625gavoeQ==}
|
||||
peerDependencies:
|
||||
typescript: '>=5'
|
||||
peerDependenciesMeta:
|
||||
|
|
@ -2848,11 +2848,11 @@ packages:
|
|||
peerDependencies:
|
||||
vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
|
||||
|
||||
vite-plugin-valibot-env@0.8.6:
|
||||
resolution: {integrity: sha512-gvMQN+5TEnHP2sfnU7fnlaLoVbUofKP4HpobDZotKuph4/LZlwsRJN5jkSqpao2JFpN8qoz4A0SNDeZUETVifg==}
|
||||
vite-plugin-valibot-env@0.8.7:
|
||||
resolution: {integrity: sha512-kaj72uQiCBpUaTiMT8mNxOqEt4+8j8aSfwndZax+bj49VdNwyU1tRzmc/CXcyzns4E8bj5rt3kZE4qLXUMFW2g==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
valibot: '>=0.30 <=0.42 || >=1.0.0-beta.0 <=1.0.0-beta.6'
|
||||
valibot: '>=0.30 <=0.42 || >=1.0.0-beta.0 <=1.0.0-beta.7'
|
||||
vite: '>=2 <=6.0.0-beta.10'
|
||||
|
||||
vite-tsconfig-paths@5.1.2:
|
||||
|
|
@ -5533,7 +5533,7 @@ snapshots:
|
|||
is-typed-array: 1.1.13
|
||||
which-typed-array: 1.1.15
|
||||
|
||||
valibot@1.0.0-beta.6(typescript@5.7.0-dev.20241105):
|
||||
valibot@1.0.0-beta.7(typescript@5.7.0-dev.20241105):
|
||||
optionalDependencies:
|
||||
typescript: 5.7.0-dev.20241105
|
||||
|
||||
|
|
@ -5549,11 +5549,11 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- rollup
|
||||
|
||||
vite-plugin-valibot-env@0.8.6(valibot@1.0.0-beta.6(typescript@5.7.0-dev.20241105))(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6)):
|
||||
vite-plugin-valibot-env@0.8.7(valibot@1.0.0-beta.7(typescript@5.7.0-dev.20241105))(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6)):
|
||||
dependencies:
|
||||
kleur: 4.1.5
|
||||
log-symbols: 7.0.0
|
||||
valibot: 1.0.0-beta.6(typescript@5.7.0-dev.20241105)
|
||||
valibot: 1.0.0-beta.7(typescript@5.7.0-dev.20241105)
|
||||
vite: 5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6)
|
||||
|
||||
vite-tsconfig-paths@5.1.2(typescript@5.7.0-dev.20241105)(vite@5.4.11(@types/node@22.9.0)(sass-embedded@1.81.0)(sass@1.80.6)):
|
||||
|
|
|
|||
224
script.js
224
script.js
|
|
@ -1,224 +0,0 @@
|
|||
function setupBrand() {
|
||||
window.onbeforeunload = function() {
|
||||
window.scrollTo(0, 0);
|
||||
};
|
||||
let mediaQuery = window.matchMedia("(max-width: 768px)");
|
||||
manifesteDescSlider = new KeenSlider(".manifeste-slider-desc", {
|
||||
created: s => {
|
||||
document.querySelector(".manifeste-slider-desc").style.display = "block";
|
||||
},
|
||||
defaultAnimation: {
|
||||
duration: 0,
|
||||
},
|
||||
detailsChanged: s => {
|
||||
s.slides.forEach((element, idx) => {
|
||||
element.style.display = s.track.details.slides[idx].portion > 0 ? "block" : "none";
|
||||
});
|
||||
},
|
||||
loop: true,
|
||||
renderMode: "custom",
|
||||
selector: ".manifeste-desc-slides",
|
||||
vertical: true,
|
||||
});
|
||||
|
||||
manifesteSlider = new KeenSlider(".manifeste-slider", {
|
||||
created: s => {},
|
||||
defaultAnimation: {
|
||||
duration: 0,
|
||||
},
|
||||
detailsChanged: s => {
|
||||
manifesteDescSlider.moveToIdx(s.track.details.rel);
|
||||
|
||||
s.slides.forEach((element, idx) => {
|
||||
element.style.display = s.track.details.slides[idx].portion > 0 ? "block" : "none";
|
||||
});
|
||||
},
|
||||
renderMode: "custom",
|
||||
selector: ".manifeste-slides",
|
||||
vertical: true,
|
||||
});
|
||||
|
||||
const isMobile = window.innerWidth <= 768; // Ajustez selon vos besoins
|
||||
|
||||
let lastScrollTop = 0;
|
||||
let scrollProgress = 0;
|
||||
let scrollThreshold = isMobile ? 300 : 600;
|
||||
console.log(scrollThreshold);
|
||||
|
||||
const sliderElement = document.querySelector(".manifeste-slider");
|
||||
const aboutContainer = document.querySelector(".about-container");
|
||||
function isElementInViewport(el) {
|
||||
const rect = el.getBoundingClientRect();
|
||||
return (
|
||||
rect.top >= 0
|
||||
&& rect.left >= 0
|
||||
&& rect.bottom <= (window.innerHeight || document.documentElement.clientHeight)
|
||||
&& rect.right <= (window.innerWidth || document.documentElement.clientWidth)
|
||||
);
|
||||
}
|
||||
|
||||
const brandContainer = document.querySelector(".brand-container");
|
||||
|
||||
brandContainer.addEventListener("click", function() {
|
||||
manifesteSlider.next();
|
||||
});
|
||||
|
||||
window.addEventListener(
|
||||
"scroll",
|
||||
() => {
|
||||
if (!isElementInViewport(aboutContainer)) {
|
||||
console.log("if");
|
||||
|
||||
// console.log(sliderElement);
|
||||
document.querySelector("#link-about").style.opacity = 0.3;
|
||||
document.querySelector("#link-legals").style.opacity = 0.3;
|
||||
document.querySelector(".manifeste-slider-desc").style.opacity = 1;
|
||||
|
||||
// document
|
||||
// .querySelector("#link-brand")
|
||||
// .style.setProperty("opacity", "0.3", "important");
|
||||
|
||||
// return;
|
||||
} else if (isElementInViewport(aboutContainer)) {
|
||||
// console.log(sliderElement);
|
||||
|
||||
console.log("else");
|
||||
document.querySelector(".manifeste-slider-desc").style.opacity = 0;
|
||||
document.querySelector("#link-brand").style.opacity = 1;
|
||||
document.querySelector("#link-about").style.opacity = 1;
|
||||
}
|
||||
|
||||
document.querySelector(".instruction").style.opacity = 0;
|
||||
const st = window.scrollY || document.documentElement.scrollTop;
|
||||
const scrollDelta = Math.abs(st - lastScrollTop);
|
||||
scrollProgress += scrollDelta;
|
||||
|
||||
if (scrollProgress >= scrollThreshold) {
|
||||
if (st > lastScrollTop) {
|
||||
manifesteSlider.next();
|
||||
console.log("next");
|
||||
} else {
|
||||
manifesteSlider.prev();
|
||||
console.log("prev");
|
||||
}
|
||||
scrollProgress = 0;
|
||||
}
|
||||
|
||||
lastScrollTop = st <= 0 ? 0 : st;
|
||||
},
|
||||
false,
|
||||
);
|
||||
|
||||
const numberOfSlides = document.querySelectorAll(".manifeste-slider .manifeste-slides").length;
|
||||
const heightPerSlideVH = 100;
|
||||
const totalHeightInVH = numberOfSlides * heightPerSlideVH
|
||||
- (numberOfSlides - 1) * ((scrollThreshold / window.innerHeight) * 50);
|
||||
brandContainer.style.height = `${totalHeightInVH}vh`;
|
||||
|
||||
const links = document.querySelectorAll(".menu-brand a");
|
||||
|
||||
links.forEach(link => {
|
||||
link.addEventListener("click", () => {
|
||||
links.forEach(l => (l.style.opacity = 0.3));
|
||||
link.style.opacity = 1;
|
||||
});
|
||||
});
|
||||
|
||||
const brandLink = document.getElementById("link-brand");
|
||||
|
||||
brandLink.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
if (brandContainer) {
|
||||
brandContainer.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
});
|
||||
|
||||
const linkLegals = document.querySelector("#link-legals");
|
||||
const linkPersonal = document.querySelector("#link-personal");
|
||||
const linkAbout = document.querySelector("#link-about");
|
||||
|
||||
const legalsInfo = document.querySelector(".legals-info");
|
||||
const personalInfo = document.querySelector(".personal-info");
|
||||
const aboutInfo = document.querySelector(".brand-info");
|
||||
|
||||
linkLegals.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
if (brandContainer) {
|
||||
legalsInfo.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
});
|
||||
linkPersonal.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
if (brandContainer) {
|
||||
legalsInfo.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
});
|
||||
linkAbout.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
if (brandContainer) {
|
||||
legalsInfo.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
});
|
||||
|
||||
function resetZIndex() {
|
||||
legalsInfo.style.zIndex = "0";
|
||||
personalInfo.style.zIndex = "0";
|
||||
aboutInfo.style.zIndex = "0";
|
||||
}
|
||||
|
||||
linkLegals.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
console.log("hey");
|
||||
resetZIndex();
|
||||
legalsInfo.style.zIndex = "10";
|
||||
});
|
||||
|
||||
linkPersonal.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
resetZIndex();
|
||||
personalInfo.style.zIndex = "10";
|
||||
});
|
||||
|
||||
linkAbout.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
resetZIndex();
|
||||
aboutInfo.style.zIndex = "10";
|
||||
});
|
||||
if (mediaQuery.matches) {
|
||||
const divToObserve = document.querySelector(".about-container");
|
||||
|
||||
const observer = new IntersectionObserver(
|
||||
entries => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
console.log("La div est visible dans le viewport");
|
||||
document.querySelector(".manifeste-slider-desc").style.opacity = 0;
|
||||
entry.target.classList.add("visible");
|
||||
} else {
|
||||
console.log("La div a quitté le viewport");
|
||||
document.querySelector(".manifeste-slider-desc").style.opacity = 1;
|
||||
entry.target.classList.remove("visible");
|
||||
}
|
||||
});
|
||||
},
|
||||
{
|
||||
root: null,
|
||||
rootMargin: "0px", // Marge autour de la root. Valeurs similaires à celles de CSS (top, right, bottom, left ou juste un seul pour tous)
|
||||
threshold: 0.1, // Un pourcentage de l'élément qui doit être visible pour déclencher l'observer. 0.1 signifie 10% de l'élément
|
||||
},
|
||||
);
|
||||
|
||||
observer.observe(divToObserve);
|
||||
|
||||
// setTimeout(() => {
|
||||
// let element = document.querySelector(
|
||||
// ".shopify-buy-frame--toggle.is-sticky"
|
||||
// );
|
||||
// element.style.setProperty("opacity", "1");
|
||||
// }, 1000);
|
||||
}
|
||||
// sideSlider = new KeenSlider(".carousel-side-p", {
|
||||
// vertical: false,
|
||||
// selector: ".slide-p",
|
||||
// });
|
||||
}
|
||||
|
|
@ -748,12 +748,12 @@ body:has(#menu-mobile:not([aria-hidden=true])) {
|
|||
bottom: calc(var(--position-y-fleches) / 2 - var(--espace-l) / 2);
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
padding: var(--espace-s);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
border-radius: 100%;
|
||||
mix-blend-mode: difference;
|
||||
shape-rendering: geometricprecision;
|
||||
padding: var(--espace-s);
|
||||
transition: 0.2s opacity, 0.2s visibility;
|
||||
}
|
||||
.fleches-defilement__bouton:first-of-type {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2,22 +2,27 @@
|
|||
--images-longueur-maximale: 1300px;
|
||||
--page-marges-bloc-debut: var(--en-tete-hauteur);
|
||||
--images-marges-ligne: var(--espace-xl) * 2;
|
||||
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
margin-top: var(--page-marges-bloc-debut);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling {
|
||||
padding: var(--espace-xl) 0;
|
||||
color: var(--couleur-gris-fonce);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling__conteneur {
|
||||
position: relative;
|
||||
width: min(var(--images-longueur-maximale), 100% - var(--images-marges-ligne));
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling picture {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling picture::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
|
@ -32,6 +37,7 @@
|
|||
filter: opacity(0%);
|
||||
animation: 1s clignotement infinite alternate both linear;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling img {
|
||||
position: relative;
|
||||
width: max-content;
|
||||
|
|
@ -39,10 +45,12 @@
|
|||
object-fit: contain;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle {
|
||||
position: absolute;
|
||||
right: 46.5%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle img {
|
||||
pointer-events: none;
|
||||
display: block;
|
||||
|
|
@ -50,27 +58,35 @@
|
|||
filter: drop-shadow(1px 1px 3px var(--couleur-gris-fonce));
|
||||
transition: 0.2s filter;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-id-ensemble-epingle-boite="1"] {
|
||||
top: 2%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-id-ensemble-epingle-boite="2"] {
|
||||
top: 23%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-id-ensemble-epingle-boite="3"] {
|
||||
top: 35%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-id-ensemble-epingle-boite="4"] {
|
||||
top: 58%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-id-ensemble-epingle-boite="5"] {
|
||||
top: 76%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-id-ensemble-epingle-boite="6"] {
|
||||
top: 95.5%;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .epingle[data-ensemble-epingle-boite-actif] img {
|
||||
filter: drop-shadow(1px 1px 5px var(--couleur-gris-fonce));
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
@ -87,6 +103,7 @@
|
|||
border: 1px solid var(--couleur-noir);
|
||||
transition: 0.2s opacity, 0.2s visibility;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
@ -94,44 +111,60 @@
|
|||
align-self: end;
|
||||
padding: var(--espace-xs);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte button img {
|
||||
pointer-events: none;
|
||||
aspect-ratio: 1;
|
||||
width: 1.5rem;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte button:active {
|
||||
background: var(--couleur-jaune);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte p {
|
||||
max-width: 15rem;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte p + p {
|
||||
margin-top: var(--espace-m);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte[data-ensemble-epingle-boite-actif] {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte[data-id-ensemble-epingle-boite="2"] {
|
||||
--hauteur-boite: calc(7lh + 1rem + var(--espace-l) * 2);
|
||||
|
||||
top: calc(23% - var(--hauteur-boite) / 2);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte[data-id-ensemble-epingle-boite="3"] {
|
||||
--hauteur-boite: calc(7lh + 1rem + var(--espace-l) * 2);
|
||||
|
||||
top: calc(35% - var(--hauteur-boite) / 2);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte[data-id-ensemble-epingle-boite="4"] {
|
||||
--hauteur-boite: calc(8lh + 2rem + var(--espace-l) * 2);
|
||||
|
||||
top: calc(58% - var(--hauteur-boite) / 2);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte[data-id-ensemble-epingle-boite="5"] {
|
||||
--hauteur-boite: calc(12lh + 2rem + var(--espace-l) * 2);
|
||||
|
||||
top: calc(76% - var(--hauteur-boite) / 2);
|
||||
}
|
||||
|
||||
#page-a-propos .storytelling .boite-texte[data-id-ensemble-epingle-boite="6"] {
|
||||
--hauteur-boite: calc(7lh + 1rem + var(--espace-l) * 2);
|
||||
|
||||
top: calc(95.5% - var(--hauteur-boite) / 2);
|
||||
}
|
||||
|
||||
@media (width <= 700px) {
|
||||
#page-a-propos {
|
||||
--images-marges-ligne: var(--espace-m);
|
||||
|
|
@ -143,5 +176,3 @@
|
|||
filter: opacity(30%);
|
||||
}
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=page-a-propos.css.map */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#page-accueil {
|
||||
--hauteur-conteneur: var(--contenu-page-hauteur-minimale-sans-categories);
|
||||
--page-marges-bloc-debut: var(--en-tete-hauteur);
|
||||
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
|
|
@ -8,18 +9,21 @@
|
|||
max-height: var(--hauteur-conteneur);
|
||||
margin-top: var(--page-marges-bloc-debut);
|
||||
}
|
||||
|
||||
#page-accueil .storytelling {
|
||||
overflow-y: scroll;
|
||||
place-items: center;
|
||||
min-height: inherit;
|
||||
max-height: inherit;
|
||||
}
|
||||
|
||||
#page-accueil .storytelling__conteneur {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
min-height: calc(var(--hauteur-conteneur) * 13);
|
||||
padding: 0 var(--espace-xl);
|
||||
}
|
||||
|
||||
#page-accueil .storytelling__image {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
|
@ -28,12 +32,15 @@
|
|||
min-height: var(--hauteur-conteneur);
|
||||
max-height: var(--hauteur-conteneur);
|
||||
}
|
||||
|
||||
#page-accueil .storytelling__image[data-cache] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#page-accueil .storytelling__image picture {
|
||||
max-height: inherit;
|
||||
}
|
||||
|
||||
#page-accueil .storytelling__image img {
|
||||
scale: 0.9;
|
||||
max-height: inherit;
|
||||
|
|
@ -41,5 +48,3 @@
|
|||
object-fit: contain;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=page-accueil.css.map */
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-boutique .actions button {
|
||||
height: initial;
|
||||
margin: auto;
|
||||
padding: var(--espace-xl) 0;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=page-boutique.css.map */
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@
|
|||
100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--espace-xl) - 1px
|
||||
);
|
||||
--page-marges-bloc-debut: var(--en-tete-hauteur);
|
||||
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
margin-top: var(--page-marges-bloc-debut);
|
||||
margin-bottom: var(--espace-xl);
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-contact .contenu {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
|
|
@ -21,18 +23,21 @@
|
|||
border: 1px solid var(--couleur-noir);
|
||||
border-bottom: initial;
|
||||
}
|
||||
|
||||
#page-contact .contenu__en-tete {
|
||||
width: 100%;
|
||||
padding: var(--espace-m) var(--espace-xl);
|
||||
color: var(--couleur-blanc);
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-contact .contenu__en-tete h2 {
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--espacement-inter-lettres-etendu-l);
|
||||
}
|
||||
|
||||
#page-contact .contenu__textuel {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
|
|
@ -43,14 +48,14 @@
|
|||
padding: 0 var(--espace-xl);
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
#page-contact .contenu__textuel p + p {
|
||||
margin-top: var(--espace-m);
|
||||
}
|
||||
|
||||
@media (width <= 50rem) {
|
||||
#page-contact .contenu {
|
||||
border-right: initial;
|
||||
border-left: initial;
|
||||
}
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=page-contact.css.map */
|
||||
|
|
|
|||
|
|
@ -1,37 +1,38 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
#panneau-panier {
|
||||
border-right: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-panier > div {
|
||||
place-content: center;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits__produit {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits__produit__illustratif {
|
||||
padding: var(--espace-l);
|
||||
border-right: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits__produit__illustratif picture {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits__produit__illustratif img {
|
||||
aspect-ratio: 1;
|
||||
height: auto;
|
||||
transition: 0.2s scale;
|
||||
}
|
||||
@media (hover: hover) {
|
||||
#panneau-panier .panneau__grille-produits__produit__illustratif img:hover {
|
||||
scale: 1.1;
|
||||
}
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
|
|
@ -41,6 +42,7 @@
|
|||
padding: 0 var(--espace-xl);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__nom-prix {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
|
|
@ -49,29 +51,37 @@
|
|||
font-size: var(--espace-l);
|
||||
line-height: var(--hauteur-ligne-moitie);
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__nom-prix span {
|
||||
min-width: 4rem;
|
||||
font-weight: 600;
|
||||
font-style: initial;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__description {
|
||||
margin-bottom: var(--espace-l);
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions {
|
||||
display: grid;
|
||||
grid-template-columns: 0.25fr auto 0.25fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
font-weight: 500;
|
||||
font-style: initial;
|
||||
|
||||
/* Bouton d'addition de quantité */
|
||||
|
||||
/*
|
||||
* 1. Cache les flèches d'augmentation/diminution sur Firefox.
|
||||
* 2. Cache les flèches d'augmentation/diminution sur Chrome/Edge/Safari.
|
||||
*/
|
||||
|
||||
/* Bouton de suppression de quantité */
|
||||
|
||||
/* Bouton de suppression du Produit du Panier */
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions button:first-of-type {
|
||||
grid-column: 1;
|
||||
min-width: 3rem;
|
||||
|
|
@ -79,7 +89,8 @@
|
|||
border: 1px solid var(--couleur-noir);
|
||||
border-bottom: initial;
|
||||
}
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions input[type=number] {
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions input[type="number"] {
|
||||
grid-column: 2;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
|
@ -87,10 +98,12 @@
|
|||
border: initial;
|
||||
border-top: 1px solid var(--couleur-noir);
|
||||
}
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions input[type=number]::-webkit-outer-spin-button, #panneau-panier .panneau__grille-produits .detail-produit__actions input[type=number]::-webkit-inner-spin-button {
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions input[type="number"]::-webkit-outer-spin-button, #panneau-panier .panneau__grille-produits .detail-produit__actions input[type="number"]::-webkit-inner-spin-button {
|
||||
margin: 0; /* 2 */
|
||||
appearance: none; /* 2 */
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions button:nth-of-type(2) {
|
||||
grid-column: 3;
|
||||
min-width: 3rem;
|
||||
|
|
@ -98,6 +111,7 @@
|
|||
border: 1px solid var(--couleur-noir);
|
||||
border-bottom: initial;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__grille-produits .detail-produit__actions button:last-of-type {
|
||||
grid-column: span 3;
|
||||
grid-row: 2;
|
||||
|
|
@ -105,16 +119,19 @@
|
|||
text-transform: lowercase;
|
||||
border: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__instructions-code-promo {
|
||||
width: 100%;
|
||||
padding: var(--espace-l) var(--espace-xl);
|
||||
text-align: center;
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
|
||||
/*
|
||||
* 1. Nécessaire pour ne pas qu'un espace vertical non souhaité apparaisse.
|
||||
* 2. Applique une marge entre les instructions et le code promo de notre choix.
|
||||
*/
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__instructions-code-promo__instructions {
|
||||
resize: vertical;
|
||||
display: block; /* 1 */
|
||||
|
|
@ -127,43 +144,52 @@
|
|||
background: initial;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__instructions-code-promo__code-promo {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__instructions-code-promo__code-promo input {
|
||||
width: 20rem;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__instructions-code-promo__code-promo button {
|
||||
padding: var(--espace-xs) var(--espace-xl);
|
||||
text-transform: lowercase;
|
||||
border: 1px solid var(--couleur-noir);
|
||||
border-left: initial;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__sous-totaux {
|
||||
width: min(30rem, 100%);
|
||||
margin: auto;
|
||||
padding: var(--espace-l) var(--espace-xl);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__sous-totaux__ligne {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
justify-content: space-between;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__sous-totaux__ligne strong {
|
||||
text-align: right;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__sous-totaux__ligne#sous-total-livraison p:last-of-type {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__sous-totaux__ligne#sous-total-livraison p:last-of-type span {
|
||||
color: grey;
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__sous-totaux__conditions-livraison {
|
||||
margin-top: var(--espace-l);
|
||||
font-size: 0.8rem;
|
||||
|
|
@ -171,6 +197,7 @@
|
|||
color: grey;
|
||||
letter-spacing: var(--espacement-inter-lettres-etendu-s);
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__pied-de-page {
|
||||
align-content: center;
|
||||
padding: var(--espace-l) 0;
|
||||
|
|
@ -182,6 +209,7 @@
|
|||
letter-spacing: 2px;
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-panier .panneau__pied-de-page span {
|
||||
margin-left: var(--espace-l);
|
||||
font-style: initial;
|
||||
|
|
@ -193,22 +221,27 @@
|
|||
right: 0;
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
#panneau-informations-client > * {
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__paypal-express {
|
||||
--hauteur-images-bouton: 18px;
|
||||
--hauteur-bouton: calc(var(--hauteur-images-bouton) * 2);
|
||||
--longueur-bouton: 250px;
|
||||
--espacement-inter-images: var(--espace-xs);
|
||||
|
||||
padding: var(--espace-xl);
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__paypal-express p {
|
||||
margin-bottom: var(--espace-s);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__paypal-express button {
|
||||
display: flex;
|
||||
column-gap: var(--espacement-inter-images);
|
||||
|
|
@ -219,16 +252,20 @@
|
|||
margin: auto;
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__paypal-express button img {
|
||||
height: var(--hauteur-images-bouton);
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__paypal-express button img:first-of-type {
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__formulaires {
|
||||
padding: var(--espace-xl) 0;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__formulaires .panneau__formulaires__separation-adresses {
|
||||
position: relative;
|
||||
display: flex;
|
||||
|
|
@ -241,28 +278,34 @@
|
|||
font-size: 0.8rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__formulaires .panneau__formulaires__separation-adresses label {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__formulaires .panneau__formulaires__paiement .formulaire__paiement__attente-renseignement-formulaires {
|
||||
align-content: center;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 450;
|
||||
color: grey;
|
||||
text-align: center;
|
||||
}
|
||||
#panneau-informations-client .panneau__formulaires .panneau__formulaires__paiement .formulaire__paiement__attente-renseignement-formulaires p {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__formulaires .panneau__formulaires__paiement .formulaire__paiement__attente-renseignement-formulaires p + p {
|
||||
margin-top: var(--espace-l);
|
||||
margin-top: 1lh;
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire {
|
||||
margin: auto;
|
||||
padding: 0 var(--espace-xl);
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire + .formulaire {
|
||||
margin-top: var(--espace-xl);
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire .formulaire__titre {
|
||||
margin-bottom: var(--espace-m);
|
||||
font-size: 1.25rem;
|
||||
|
|
@ -270,11 +313,13 @@
|
|||
font-style: italic;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire .formulaire__champs {
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire .formulaire__champs .formulaire__champs__champ {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
|
|
@ -282,20 +327,25 @@
|
|||
place-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire .formulaire__champs .formulaire__champs__champ + .formulaire__champs__champ {
|
||||
margin-top: var(--espace-l);
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire label {
|
||||
width: 7rem;
|
||||
font-weight: 400;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire label:has(+ :is(input:required, select:required)) {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#panneau-informations-client .formulaire input {
|
||||
width: 15rem;
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__pied-de-page {
|
||||
align-content: center;
|
||||
padding: var(--espace-l) 0;
|
||||
|
|
@ -307,6 +357,7 @@
|
|||
letter-spacing: 2px;
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#panneau-informations-client .panneau__pied-de-page button {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
|
|
@ -320,20 +371,24 @@
|
|||
#page-panier {
|
||||
/* Dimensions */
|
||||
--menu-section-hauteur: var(--menu-categories-produits-hauteur);
|
||||
|
||||
/* Marges */
|
||||
--menu-section-marges-bloc-debut: var(--en-tete-hauteur); /* 1 */
|
||||
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
min-height: calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur));
|
||||
margin-top: var(--menu-section-marges-bloc-debut);
|
||||
}
|
||||
|
||||
#page-panier .panneau {
|
||||
flex: 1 1 30rem;
|
||||
min-width: 30rem;
|
||||
border-top: 1px solid var(--couleur-noir);
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-panier .panneau__en-tete {
|
||||
position: sticky;
|
||||
z-index: 2;
|
||||
|
|
@ -346,6 +401,7 @@
|
|||
text-align: center;
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-panier .panneau__en-tete h2 {
|
||||
font-weight: 450;
|
||||
font-style: italic;
|
||||
|
|
@ -354,6 +410,7 @@
|
|||
letter-spacing: 1px;
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-panier .panier-vide {
|
||||
display: none;
|
||||
flex-basis: 100%;
|
||||
|
|
@ -361,19 +418,21 @@
|
|||
min-height: calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur));
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-panier .panier-vide p {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
#page-panier .panier-vide a {
|
||||
display: inline-block;
|
||||
margin-top: var(--espace-m);
|
||||
font-size: initial;
|
||||
}
|
||||
#page-panier[data-contient-articles=false] .panneau {
|
||||
|
||||
#page-panier[data-contient-articles="false"] .panneau {
|
||||
display: none;
|
||||
}
|
||||
#page-panier[data-contient-articles=false] .panier-vide {
|
||||
|
||||
#page-panier[data-contient-articles="false"] .panier-vide {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=page-panier.css.map */
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"sourceRoot":"","sources":["../../../src/sass/layouts/_panneau-panier.scss","../../../src/sass/layouts/_panneau-informations-client.scss","../../../src/sass/pages/page-panier.scss"],"names":[],"mappings":";AAEA;EACE;;AAEA;EACE;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGA;EACE;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAGA;EACE;IACE;;;AAQV;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAIJ;EACE;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;AAEA;AASA;AAAA;AAAA;AAAA;AAkBA;AASA;;AAnCA;EACE;EACA;EACA;EACA;EACA;;AAOF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAKJ;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAOR;EACE;EACA;EACA;EACA;AAEA;AAAA;AAAA;AAAA;;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAKN;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAKA;EACE;;AAEA;EACE;;AAMR;EACE;EACA;EACA;EACA;EACA;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;;AC/NN;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIF;EAEE;EACA;EACA;EAGA;EAEA;EACA;;AAEA;EACE;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAMN;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAKF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE;;AAOV;EACE;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAIA;EACE;;AAKN;EACE;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;ACzJN;AAAA;AAAA;AAAA;AAIA;AACE;EACA;AAEA;EACA;EAEA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;AAKN;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAKF;EACE;;AAGF;EACE","file":"page-panier.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["../../../src/sass/layouts/_panneau-panier.scss","../../../src/sass/layouts/_panneau-informations-client.scss","../../../src/sass/pages/page-panier.scss"],"names":[],"mappings":";AAEA;EACE;;AAEA;EACE;;AAIF;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGA;EACE;;AAEA;EACE;;AAGF;EACE;EACA;;AAMN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAIJ;EACE;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;AAEA;AASA;AAAA;AAAA;AAAA;AAkBA;AASA;;AAnCA;EACE;EACA;EACA;EACA;EACA;;AAOF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAKJ;EACE;EACA;EACA;EACA;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;;AAOR;EACE;EACA;EACA;EACA;AAEA;AAAA;AAAA;AAAA;;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAKN;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAKA;EACE;;AAEA;EACE;;AAMR;EACE;EACA;EACA;EACA;EACA;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;;ACtNN;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAIF;EAEE;EACA;EACA;EAGA;EAEA;EACA;;AAEA;EACE;EACA;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAMN;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAKF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGE;EACE;;AAOV;EACE;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAIA;EACE;;AAKN;EACE;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AC1JN;AAAA;AAAA;AAAA;AAIA;AACE;EACA;AAEA;EACA;EAEA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;AAKN;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAKF;EACE;;AAGF;EACE","file":"page-panier.css"}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -3,12 +3,14 @@
|
|||
100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--espace-xl) - 1px
|
||||
);
|
||||
--page-marges-bloc-debut: var(--en-tete-hauteur);
|
||||
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
margin-top: var(--page-marges-bloc-debut);
|
||||
margin-bottom: var(--espace-xl);
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
|
|
@ -21,18 +23,21 @@
|
|||
border: 1px solid var(--couleur-noir);
|
||||
border-bottom: initial;
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__en-tete {
|
||||
width: 100%;
|
||||
padding: var(--espace-m) var(--espace-xl);
|
||||
color: var(--couleur-blanc);
|
||||
background: var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__en-tete h2 {
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--espacement-inter-lettres-etendu-l);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__textuel {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
|
|
@ -43,40 +48,41 @@
|
|||
padding: var(--espace-xl);
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__textuel p + p {
|
||||
margin-top: var(--espace-m);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande {
|
||||
display: flex;
|
||||
border-top: 1px solid var(--couleur-noir);
|
||||
flex-flow: column nowrap;
|
||||
border-top: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande__produit {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
border-bottom: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande__produit:only-child, #page-succes-commande .contenu__rappel-commande__produit:last-of-type {
|
||||
border-bottom: initial;
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande__produit__illustratif {
|
||||
padding: var(--espace-l);
|
||||
border-right: 1px solid var(--couleur-noir);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande__produit__illustratif picture {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande__produit__illustratif img {
|
||||
aspect-ratio: 1;
|
||||
height: auto;
|
||||
transition: 0.2s scale;
|
||||
}
|
||||
@media (hover: hover) {
|
||||
#page-succes-commande .contenu__rappel-commande__produit__illustratif img:hover {
|
||||
scale: 1.1;
|
||||
}
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande .detail-produit {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
|
|
@ -85,31 +91,33 @@
|
|||
padding: 0 var(--espace-xl);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande .detail-produit__nom-prix {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
column-gap: var(--espace-xl);
|
||||
justify-content: space-between;
|
||||
margin-bottom: var(--espace-xs);
|
||||
font-size: var(--espace-l);
|
||||
line-height: var(--hauteur-ligne-moitie);
|
||||
margin-bottom: var(--espace-xs);
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande .detail-produit__nom-prix span {
|
||||
min-width: 4rem;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
font-style: initial;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#page-succes-commande .contenu__rappel-commande .detail-produit__description {
|
||||
margin-bottom: var(--espace-l);
|
||||
text-transform: lowercase;
|
||||
line-height: var(--hauteur-ligne-moitie);
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
@media (width <= 50rem) {
|
||||
#page-succes-commande .contenu {
|
||||
border-right: initial;
|
||||
border-left: initial;
|
||||
}
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=page-succes-commande.css.map */
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"sourceRoot":"","sources":["../../../src/sass/pages/page-succes-commande.scss"],"names":[],"mappings":"AAEA;EAEE;AAAA;AAAA;EAKA;EAEA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAIF;EACE;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;;AAGA;EACE;IACE;;;AAQV;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AAOR;EACE;IACE;IACA","file":"page-succes-commande.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["../../../src/sass/pages/page-succes-commande.scss"],"names":[],"mappings":"AAEA;EAEE;AAAA;AAAA;EAKA;EAEA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAIF;EACE;;AAEA;EACE;;AAGF;EACE;EACA;;AAMN;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AAMR;EACE;IACE;IACA","file":"page-succes-commande.css"}
|
||||
|
|
@ -1 +1 @@
|
|||
#page-succes-commande{--page-hauteur-minimale:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--espace-xl) - 1px);--page-marges-bloc-debut:var(--en-tete-hauteur);margin-top:var(--page-marges-bloc-debut);margin-bottom:var(--espace-xl);border-bottom:1px solid var(--couleur-noir);flex-flow:column;display:flex}#page-succes-commande .contenu{width:min(50rem,100%);min-height:var(--page-hauteur-minimale);border:1px solid var(--couleur-noir);border-bottom:initial;flex-flow:column;place-items:center;margin:auto;font-style:italic;font-weight:500;display:flex}#page-succes-commande .contenu__en-tete{width:100%;padding:var(--espace-m)var(--espace-xl);color:var(--couleur-blanc);background:var(--couleur-noir)}#page-succes-commande .contenu__en-tete h2{text-transform:uppercase;width:fit-content;letter-spacing:var(--espacement-inter-lettres-etendu-l);margin:auto}#page-succes-commande .contenu__textuel{max-width:34rem;height:100%;padding:var(--espace-xl);flex-flow:column;flex:1;place-content:center;font-style:normal;display:flex}#page-succes-commande .contenu__textuel p+p{margin-top:var(--espace-m)}#page-succes-commande .contenu__rappel-commande{border-top:1px solid var(--couleur-noir);flex-flow:column;display:flex}#page-succes-commande .contenu__rappel-commande__produit{border-bottom:1px solid var(--couleur-noir);grid-template-rows:1fr;grid-template-columns:1fr 1fr;display:grid}#page-succes-commande .contenu__rappel-commande__produit:only-child,#page-succes-commande .contenu__rappel-commande__produit:last-of-type{border-bottom:initial}#page-succes-commande .contenu__rappel-commande__produit__illustratif{padding:var(--espace-l);border-right:1px solid var(--couleur-noir)}#page-succes-commande .contenu__rappel-commande__produit__illustratif picture{overflow:hidden}#page-succes-commande .contenu__rappel-commande__produit__illustratif img{aspect-ratio:1;height:auto;transition:scale .2s}@media (hover:hover){#page-succes-commande .contenu__rappel-commande__produit__illustratif img:hover{scale:1.1}}#page-succes-commande .contenu__rappel-commande .detail-produit{width:100%;padding:0 var(--espace-xl);flex-flow:column;place-content:center;font-style:italic;display:flex}#page-succes-commande .contenu__rappel-commande .detail-produit__nom-prix{column-gap:var(--espace-xl);font-size:var(--espace-l);line-height:var(--hauteur-ligne-moitie);margin-bottom:var(--espace-xs);flex-flow:row;justify-content:space-between;display:flex}#page-succes-commande .contenu__rappel-commande .detail-produit__nom-prix span{text-align:right;min-width:4rem;font-weight:600;font-style:initial}#page-succes-commande .contenu__rappel-commande .detail-produit__description{margin-bottom:var(--espace-l);text-transform:lowercase;line-height:var(--hauteur-ligne-moitie)}@media (width<=50rem){#page-succes-commande .contenu{border-right:initial;border-left:initial}}
|
||||
#page-succes-commande{--page-hauteur-minimale:calc(100svh - var(--en-tete-hauteur) - var(--pied-de-page-hauteur) - var(--espace-xl) - 1px);--page-marges-bloc-debut:var(--en-tete-hauteur);margin-top:var(--page-marges-bloc-debut);margin-bottom:var(--espace-xl);border-bottom:1px solid var(--couleur-noir);flex-flow:column;display:flex}#page-succes-commande .contenu{width:min(50rem,100%);min-height:var(--page-hauteur-minimale);border:1px solid var(--couleur-noir);border-bottom:initial;flex-flow:column;place-items:center;margin:auto;font-style:italic;font-weight:500;display:flex}#page-succes-commande .contenu__en-tete{width:100%;padding:var(--espace-m)var(--espace-xl);color:var(--couleur-blanc);background:var(--couleur-noir)}#page-succes-commande .contenu__en-tete h2{text-transform:uppercase;width:fit-content;letter-spacing:var(--espacement-inter-lettres-etendu-l);margin:auto}#page-succes-commande .contenu__textuel{max-width:34rem;height:100%;padding:var(--espace-xl);flex-flow:column;flex:1;place-content:center;font-style:normal;display:flex}#page-succes-commande .contenu__textuel p+p{margin-top:var(--espace-m)}#page-succes-commande .contenu__rappel-commande{border-top:1px solid var(--couleur-noir);flex-flow:column;display:flex}#page-succes-commande .contenu__rappel-commande__produit{border-bottom:1px solid var(--couleur-noir);grid-template-rows:1fr;grid-template-columns:1fr 1fr;display:grid}#page-succes-commande .contenu__rappel-commande__produit:only-child,#page-succes-commande .contenu__rappel-commande__produit:last-of-type{border-bottom:initial}#page-succes-commande .contenu__rappel-commande__produit__illustratif{border-right:1px solid var(--couleur-noir)}#page-succes-commande .contenu__rappel-commande__produit__illustratif picture{overflow:hidden}#page-succes-commande .contenu__rappel-commande__produit__illustratif img{aspect-ratio:1;height:auto}#page-succes-commande .contenu__rappel-commande .detail-produit{width:100%;padding:0 var(--espace-xl);flex-flow:column;place-content:center;font-style:italic;display:flex}#page-succes-commande .contenu__rappel-commande .detail-produit__nom-prix{column-gap:var(--espace-xl);margin-bottom:var(--espace-xs);font-size:var(--espace-l);line-height:var(--hauteur-ligne-moitie);flex-flow:row;justify-content:space-between;display:flex}#page-succes-commande .contenu__rappel-commande .detail-produit__nom-prix span{min-width:4rem;font-weight:600;font-style:initial;text-align:right}#page-succes-commande .contenu__rappel-commande .detail-produit__description{margin-bottom:var(--espace-l);line-height:var(--hauteur-ligne-moitie);text-transform:lowercase}@media (width<=50rem){#page-succes-commande .contenu{border-right:initial;border-left:initial}}
|
||||
|
|
@ -34,16 +34,16 @@
|
|||
],
|
||||
"integrity": "sha512-wORZ0WkOfNuzAUKhf7XA8LXG4geR64dUCIHwukqdLnUhkEFdeLpLtmDfuYMl5Aff09c7XjJxUQIVGwRb8uTbcA=="
|
||||
},
|
||||
"_index.CXGAS3st.js": {
|
||||
"file": "index.CXGAS3st.js",
|
||||
"name": "index",
|
||||
"integrity": "sha512-eDANGhRhGm64JXPMqSK3b9l2B9IgUl4mo9ssnLZo8wcn8nWgv+R8JklbZ5xKI8JXxuLCYthYHsAuPG0ylMgKgg=="
|
||||
},
|
||||
"_index.CeK6pfoJ.js": {
|
||||
"file": "index.CeK6pfoJ.js",
|
||||
"name": "index",
|
||||
"integrity": "sha512-cxTw0sKKut2H95JwMgiKgEVLyZ0QswK/HydKTapcqcs3w6xHIHNUpYBLdRzEYdeRfHKUsA0kvPNBXBk/QeazjQ=="
|
||||
},
|
||||
"_index.vOxCZRxB.js": {
|
||||
"file": "index.vOxCZRxB.js",
|
||||
"name": "index",
|
||||
"integrity": "sha512-Lux2XD7sQMuHJ9D8UAyRrkvpTiI+5S4Fj0z4ybzKChia8TcBum+HiZdEFyX0AIU5palFJZilsf8WzTrLLxCYaw=="
|
||||
},
|
||||
"_pipe.XPB0wEfw.js": {
|
||||
"file": "pipe.XPB0wEfw.js",
|
||||
"name": "pipe",
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
"name": "dom",
|
||||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/constantes/dom.ts",
|
||||
"isEntry": true,
|
||||
"integrity": "sha512-AUdY+bNzLgbYp948Md+Ja5sr822XkYFXSUlfPjF+YTiFxiN9hzYRQAUsTRtsk9z17FBRSOvwOWTS50pwApnMBA=="
|
||||
"integrity": "sha512-vXHO4Jy2lfm9PCvsOvkMcjB4+vGiuyqyugcDomkqWd1W4z7ugvBl7C000uKJAw3vPLlng2TqbqlIMx9eqplQMA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/messages.ts": {
|
||||
"file": "messages3.js",
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/messages.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/erreurs.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/messages.ts",
|
||||
|
|
@ -162,7 +162,7 @@
|
|||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts"
|
||||
],
|
||||
"integrity": "sha512-QtGHwwLAUMLn3d5PMPRBnRvCjGVzSEeJLATdkWoWXa2RSgsIVe02+sE005Sc/iGhSD1CQtCzy/qwSVYODhhDIA=="
|
||||
"integrity": "sha512-fmTMGQ1CAm5f/E+VaFBldk3mzb47nIyaNZjs7WSrAOefIVDPqtpRAHFcyHuTYFZeq7QX5ApeEgUtvWyYHP2PHQ=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/nombres.ts": {
|
||||
"file": "nombres.js",
|
||||
|
|
@ -178,14 +178,14 @@
|
|||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.CeK6pfoJ.js",
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/api.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/erreurs.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/erreurs.ts",
|
||||
"_pipe.XPB0wEfw.js",
|
||||
"_exports.DT-46nyp.js"
|
||||
],
|
||||
"integrity": "sha512-NF7XsDZgkHTp3/pxL2+0aE1lwFRqNptSpywY06msZIRGcKGtffliQ6cX6dpkHLvI+xsGlUMkPS9u4f7sXXNnsA=="
|
||||
"integrity": "sha512-3DwXfy4COJ8iEKuipI7/CJkgB2RALGz+sXzZL9nRKnQoYVSHDTS2a3mxaasRZkV8MxRaUtbq6GBtciF9uhDZOA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts": {
|
||||
"file": "adresses.js",
|
||||
|
|
@ -193,9 +193,9 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js"
|
||||
"_index.CXGAS3st.js"
|
||||
],
|
||||
"integrity": "sha512-ZozzERJ/+3ez2qN+3PzXf9qXAu3ScxG5L+qxYBxFYSc1x0rQxEjqnB8QTFInKq3J3+sIKrEdi4iQwcsncMKhsQ=="
|
||||
"integrity": "sha512-wxZc24uay8AJp/9gR77xSxP/1jxPqE0dwEIjJOSUSZ5iaZ0E+u98NkVDVnJjvf+k+vaBaDdyEUPJg/gJpWTFcw=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-add-item.ts": {
|
||||
"file": "cart-add-item.js",
|
||||
|
|
@ -203,9 +203,9 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-add-item.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js"
|
||||
"_index.CXGAS3st.js"
|
||||
],
|
||||
"integrity": "sha512-wh9+pUSi4EGGbWn+dhEIPT98ASrwJb4aFoCzFUxOUlJtETqDxAGm3pyBwsvn3xcNrms6ZKBq60CHkiA0qRU9rg=="
|
||||
"integrity": "sha512-7nxF9KlbqvnjKgJRHy9gp6KYR9x6HIeYbekYRme7uD9zYI7ijvOworgbikKhh/VpyU0DMsxipMkIbN5aTywvVg=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-remove-item.ts": {
|
||||
"file": "cart-remove-item.js",
|
||||
|
|
@ -213,9 +213,9 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-remove-item.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js"
|
||||
"_index.CXGAS3st.js"
|
||||
],
|
||||
"integrity": "sha512-oXQuwf7xJvRaELaA7Zep2rD0YkbpRikxz06+K/11fNDbifJ+Rs7aDzJnaXL+lae2W7qJ7QLcLFhzRsEqW1ndcw=="
|
||||
"integrity": "sha512-Y9EkBSzy3+A3xo0eKBp6BMxerG5/WKC6KI8U/NcI5rqsTP3L/o70pj6YfhtjRT+KesOfNPdsTAy0mFVsLgWwrg=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-update-customer.ts": {
|
||||
"file": "cart-update-customer.js",
|
||||
|
|
@ -223,10 +223,10 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-update-customer.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts"
|
||||
],
|
||||
"integrity": "sha512-ooa/m7RsZkRnIfSAQ0NIAWGG/iPxgUV0k40aEyDoEEWhW9F3hVyjROsM4IF2YrFtmysMUR6SIPlhmHtBZEfCpA=="
|
||||
"integrity": "sha512-PivxAS9NMdYD9NUHNPvHA5e3DB7RByKN+Cg5tX4HDzSrMg2XNC7oCATNgFMn/hSpr5Eh0A84giqIJV+vt3d5zw=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-update-item.ts": {
|
||||
"file": "cart-update-item.js",
|
||||
|
|
@ -234,9 +234,9 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-update-item.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js"
|
||||
"_index.CXGAS3st.js"
|
||||
],
|
||||
"integrity": "sha512-HR6ZipNiVyUUe4khKkmIwhFvvVhq08QIGzRBe4A0niGkG24TmPXLKb8McMniCAlwlS5f6UYpoNDYE/ld00EUHA=="
|
||||
"integrity": "sha512-Jkl0iSGOukBIjOv+zEVDcUX/sUtfdyl6mJd+gXyjx7WbTy4KYYLv68BhZigLzOJptrWoCF08ajWAQ8BODiM19g=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts": {
|
||||
"file": "cart.js",
|
||||
|
|
@ -244,12 +244,12 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts"
|
||||
],
|
||||
"integrity": "sha512-5uQeT0cNp93usdnr3qSLytMU2D+O7U+LGfZDtdNuyEULYdF6AXzVVfE7a7no+gmL9a6t/AJ4X10Ps4yG1djRMQ=="
|
||||
"integrity": "sha512-fwzj5jqgK8lTM+j1f1NkFdwhJVErJtKWyW9zJMV/1m9efxo0XHxY+OO+3Xkn0/ycHSni1bI1tCzVCMuTg6vpKQ=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts": {
|
||||
"file": "couts-livraison.js",
|
||||
|
|
@ -257,10 +257,10 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts"
|
||||
],
|
||||
"integrity": "sha512-0AmHHM6NVjtGyoO0Lzdv1TebJqblQIuzudEsW/n7ISi9dXHxZC2nONxkz3nCHx7FApEmjodvD21tOONhnSQePQ=="
|
||||
"integrity": "sha512-EJLCLruWUYLwW+gIaOvchNjq46HFs1f3Xq7OacFEHvM23fYen4EMZbuN0LWhAxnIhQwIu2W4TPYU7IwXHu5Xng=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/erreurs.ts": {
|
||||
"file": "erreurs2.js",
|
||||
|
|
@ -268,9 +268,9 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/erreurs.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js"
|
||||
"_index.CXGAS3st.js"
|
||||
],
|
||||
"integrity": "sha512-5+wiQwo5033g4G/4Gz6a1x6rzPwmSZpiXrZ8RtOZU8BPnDHOKVXCbpWc32Mnsxz9ClfYwHwLuUk+Q2RF12zMsg=="
|
||||
"integrity": "sha512-dowi5DfOrRfPTkwCskhvYFC81FPuTs+aGWQJ5S/jC37V9nT20vUfGgmT81arvPn6wpnNaHf9aVcEE+1+bctgdQ=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/products.ts": {
|
||||
"file": "products3.js",
|
||||
|
|
@ -278,10 +278,10 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/products.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/products.ts"
|
||||
],
|
||||
"integrity": "sha512-B2JOxUeUPbvVsZB9rA+t3QEtWKlvqaOlBxFtmo4s8kJ28anuMp7AAMfql8tK6y3Hf7FNMJ2RO+s9hPKh/tgqlA=="
|
||||
"integrity": "sha512-EoP6Wq6Pv9atR1Rq38hxNLiwwjVeA87qZivbidmtMNlEQ3lc5Xv1GHGIhVKoiZp9YFo7r82ZSnI7UeyS3YOkSA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/v3/orders.ts": {
|
||||
"file": "orders2.js",
|
||||
|
|
@ -289,11 +289,11 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/v3/orders.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/orders.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts"
|
||||
],
|
||||
"integrity": "sha512-24PlxUQrz6ejqPwzFwRUGmxDOosMOuZ/HgAzedIYAUSamj7lF2/FzAqrOWap+M1hhWbua0EjJok4pFhsr+EQBQ=="
|
||||
"integrity": "sha512-snLY2wshCn9hIGTa8fooyNqFsGIQBfQhsMTypG0HOfTlmUV2ib+ranc0q4lsEoHixrpSB2sD0qXNdHSt2kgFoA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/v3/products.ts": {
|
||||
"file": "products.js",
|
||||
|
|
@ -301,10 +301,10 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/v3/products.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/products.ts"
|
||||
],
|
||||
"integrity": "sha512-1VQEloNbhA+54llRyt3owm4pXzU9+SuJkkozMoP4JiY6JhPBH21ufeCkNsalxwg1SH4jPJdYQtUJc/OG2R94sg=="
|
||||
"integrity": "sha512-rmvhLGUPYFJleUJIqCvt8xg4hHR74+yiQ0QPtleozfSgGOkZiV+WN/oRYd6MCHEGXXeKC2z5rA83EM7PdDLLBA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/messages.ts": {
|
||||
"file": "messages2.js",
|
||||
|
|
@ -312,14 +312,14 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/messages.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts"
|
||||
],
|
||||
"integrity": "sha512-mC6JBhQI3fThxOXUeU/vQTcuT37fiJM2o7mkksZoThNU0Od2dQCAPnST1TULVYAwv8Uvzx4IqkZPw75IGF0SKA=="
|
||||
"integrity": "sha512-rqsyrxdcmlk/Xwmam1mSpoWzBRKQz6Eb9hUTxD0qOsW7gaC/BDS009V0/9icF0lP+GTddWNfNIAiWPStLCTQww=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/types/api/v3/orders.ts": {
|
||||
"file": "orders.js",
|
||||
|
|
@ -355,10 +355,10 @@
|
|||
"src": "web/app/themes/haiku-atelier-2024/src/scripts/lib/validation.ts",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"_Either.wHNxn7Os.js"
|
||||
],
|
||||
"integrity": "sha512-+dSbgJRPO7l2MBVJpX0eHJIDZptdyXEAiWKXR3cgW6gWKVXTXFLk3h42gTinXL9NmnsI1jxJGlKWWoTHs4Nhcw=="
|
||||
"integrity": "sha512-Wr3Pn/SgzL55B/UiVKszE14pueIbR2UK5ZQ+zQHUrv+QViOSm+Bk5RyNxEqZNdKX2P/lbWs9/QwGgj7AieVq5g=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/scripts-bouton-panier.ts": {
|
||||
"file": "scripts-bouton-panier.js",
|
||||
|
|
@ -375,14 +375,14 @@
|
|||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/erreurs.ts",
|
||||
"_exports.DT-46nyp.js",
|
||||
"_Either.wHNxn7Os.js",
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts"
|
||||
],
|
||||
"integrity": "sha512-WXJlr8wJQQ6hGAQD1XYFS1KHsAGLfSaFuZnKCBLjNkomxcHpNnirhqzToNb40qB2rpztaUdFJXdYGPaOZtUOJA=="
|
||||
"integrity": "sha512-CEgEh4Ysj8RFg6s3vYPH7p2w9Xfrpjx+Fk46y7Mx1L2ZuMnCYq8Lbo73cnIneA4afMZdaR2F+DXKduDNMV88mw=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/scripts-menu-categories.ts": {
|
||||
"file": "scripts-menu-categories.js",
|
||||
|
|
@ -415,7 +415,7 @@
|
|||
"_Either.wHNxn7Os.js",
|
||||
"_pipe.XPB0wEfw.js"
|
||||
],
|
||||
"integrity": "sha512-uyzeoXWRG05f3lSoXisLuii8AFAHjvj9t0YziQU+tGkpZYPo6ReS6rr62zFMqTerYTa8XHpmEEt7lKeRFD4qrw=="
|
||||
"integrity": "sha512-S32/7dQE0D49gv3wprzFmUiQOC8GW67Xoemaa68wGE61zS0EYHTRmcCTagkTg+0uJw/knSv8if1Ms4XaytnClA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-a-propos.ts": {
|
||||
"file": "scripts-page-a-propos.js",
|
||||
|
|
@ -432,7 +432,7 @@
|
|||
"_exports.DT-46nyp.js",
|
||||
"_Either.wHNxn7Os.js"
|
||||
],
|
||||
"integrity": "sha512-qpXsDfaYPZjzKYKEJrzasSO1utgzizcR9KWVJO6XVjSgJ99R5niOSe+3zkPzSTNXRLDc9AXoiPahP2QCOfSOgA=="
|
||||
"integrity": "sha512-WUcoEKVDXWekPdSMzpJepPYynA1j1zIK/QzETBesaXkFjNN0AG7sdSkFEtlhf4kcXh4GaSBZvPtuzBwPNbCx2Q=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-accueil.ts": {
|
||||
"file": "scripts-page-accueil.js",
|
||||
|
|
@ -458,7 +458,7 @@
|
|||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.CeK6pfoJ.js",
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/api.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/dom.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/dom.ts",
|
||||
|
|
@ -476,7 +476,7 @@
|
|||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/products.ts",
|
||||
"_belt_Option-91f3b350.BKMoZFhU.js"
|
||||
],
|
||||
"integrity": "sha512-P9QdmUWmdjkYxlrHmMDx/ejjHgsFUDJX/2JoGO2HB4CbTMPELjeECkxaTUdmA4Z0SgL4rNXIjNLyZl6DtaFacA=="
|
||||
"integrity": "sha512-F/ScBzgbN07v1YNg/j/T8BPeLoAP7aS3qA1C1wLQ/V7IVQjqV7GVWUqqDQczcg0Sh2xWgE1tBIkgzJMb8VZ1lA=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-panier.ts": {
|
||||
"file": "scripts-page-panier.js",
|
||||
|
|
@ -485,7 +485,7 @@
|
|||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index.CeK6pfoJ.js",
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/api.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/dom.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/messages.ts",
|
||||
|
|
@ -494,10 +494,10 @@
|
|||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/gardes.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/reseau.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-remove-item.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-update-customer.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart-update-item.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/v3/orders.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/utils.ts",
|
||||
|
|
@ -508,12 +508,12 @@
|
|||
"_exports.DT-46nyp.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/erreurs.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/adresses.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/cart.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/orders.ts",
|
||||
"_belt_Option-91f3b350.BKMoZFhU.js"
|
||||
],
|
||||
"integrity": "sha512-8+eYxf2c6PIUILniQ5nr+L5W1yiWXTU1NziY6DZXYI+aNU6HGQ+IU5kfBgMGx3ck2+0lqf2TMKl37TP8U7vfng=="
|
||||
"integrity": "sha512-43e9x7ZGQl7cv+OHv91Gk55D7yWLIT+OimqniA+E+Ol3+yddsj8ez3xcDOIv0vZZVu0kZTby+LZ0mgnoed3wlQ=="
|
||||
},
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/scripts-page-produit.ts": {
|
||||
"file": "scripts-page-produit.js",
|
||||
|
|
@ -537,7 +537,7 @@
|
|||
"_index-0eef19ec.CFsloYN6.js",
|
||||
"_Either.wHNxn7Os.js",
|
||||
"_exports.DT-46nyp.js",
|
||||
"_index.vOxCZRxB.js",
|
||||
"_index.CXGAS3st.js",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/constantes/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/messages.ts",
|
||||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/erreurs.ts",
|
||||
|
|
@ -546,6 +546,6 @@
|
|||
"web/app/themes/haiku-atelier-2024/src/scripts/lib/schemas/api/couts-livraison.ts",
|
||||
"_belt_Option-91f3b350.BKMoZFhU.js"
|
||||
],
|
||||
"integrity": "sha512-OFjdP0UAF1P5JPw9BGpyvfWrP/bVtMFZ4P5MYFi4cVDcxYI8vlOonNwH/dhvekHcihGwFzWPkiNsqfPSM9o/OA=="
|
||||
"integrity": "sha512-eEzW7ukzpYsVTOkmJPO6vEnOefXhetRPh4+bkjdbf6nNL651Ms7o5zwip+6ZwtXpMxQeqDSRIV+M2LxGzxaDiQ=="
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, s as string } from "./index.vOxCZRxB.js";
|
||||
import { o as object, s as string } from "./index.CXGAS3st.js";
|
||||
const WCStoreBillingAddressSchema = object({
|
||||
address_1: string(),
|
||||
address_2: string(),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, c as optional, b as array, s as string, n as number } from "./index.vOxCZRxB.js";
|
||||
import { o as object, c as optional, b as array, s as string, n as number } from "./index.CXGAS3st.js";
|
||||
const WCStoreCartAddItemArgsItemsSchema = object({
|
||||
/** Variation attribute name. */
|
||||
attribute: string(),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, s as string } from "./index.vOxCZRxB.js";
|
||||
import { o as object, s as string } from "./index.CXGAS3st.js";
|
||||
const WCStoreCartRemoveItemArgsSchema = object({
|
||||
/** Unique identifier (key) for the basket item. */
|
||||
key: string()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, c as optional } from "./index.vOxCZRxB.js";
|
||||
import { o as object, c as optional } from "./index.CXGAS3st.js";
|
||||
import { W as WCStoreShippingAddressSchema, a as WCStoreBillingAddressSchema } from "./adresses.js";
|
||||
const WCStoreCartUpdateCustomerArgsSchema = object({
|
||||
billing_address: optional(WCStoreBillingAddressSchema),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, a as pipe, m as minValue, n as number, s as string } from "./index.vOxCZRxB.js";
|
||||
import { o as object, a as pipe, m as minValue, n as number, s as string } from "./index.CXGAS3st.js";
|
||||
const WCStoreCartUpdateItemArgsSchema = object({
|
||||
/** Unique identifier (key) for the basket item to update. */
|
||||
key: string(),
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, b as array, u as unknown, s as string, n as number, d as boolean, a as pipe, f as url, g as union, h as null_, e as enum_, i as integer } from "./index.vOxCZRxB.js";
|
||||
import { o as object, b as array, u as unknown, s as string, n as number, d as boolean, a as pipe, f as url, g as union, h as null_, e as enum_, i as integer } from "./index.CXGAS3st.js";
|
||||
import { C as CATALOG_VISIBILITIES } from "./cart2.js";
|
||||
import { W as WCStoreShippingAddressSchema, a as WCStoreBillingAddressSchema } from "./adresses.js";
|
||||
import { a as WCStoreShippingRateSchema } from "./couts-livraison.js";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, b as array, s as string, d as boolean, u as unknown, n as number, j as omit } from "./index.vOxCZRxB.js";
|
||||
import { o as object, b as array, s as string, d as boolean, u as unknown, n as number, j as omit } from "./index.CXGAS3st.js";
|
||||
import { W as WCStoreShippingAddressSchema } from "./adresses.js";
|
||||
const WCStoreShippingRateItemSchema = object({
|
||||
key: string(),
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ const SELECTEUR_BOUTON_SEPARATION_ADRESSES = "#separation-adresses";
|
|||
const SELECTEUR_FORMULAIRE_PANIER = "#panneau-informations-client form";
|
||||
const SELECTEUR_FORMULAIRE_FACTURATION = "#panneau-informations-client .panneau__formulaires__facturation";
|
||||
const SELECTEUR_BOUTON_ACTIONS_FORMULAIRE = "#panneau-informations-client .panneau__pied-de-page button";
|
||||
const SELECTEUR_INSTRUCTIONS_CLIENT = "#panneau-panier #instructions-client";
|
||||
const SELECTEUR_CONTENEUR_STORYTELLING = ".storytelling";
|
||||
const SELECTEUR_IMAGES_STORYTELLING = ".storytelling__image";
|
||||
const SELECTEUR_GRILLE_PRODUITS = "#page-boutique .grille-produits";
|
||||
|
|
@ -54,35 +55,36 @@ const SELECTEUR_IMAGE_COLONNE_GAUCHE = ".colonne-gauche img";
|
|||
const SELECTEUR_IMAGES_COLONNE_DROITE = ".colonne-droite img";
|
||||
const SELECTEUR_PRIX_PRODUIT = ".selecteur-produit__prix";
|
||||
export {
|
||||
CLASS_EPINGLE as $,
|
||||
CLASS_BOUTON_FERMETURE_BOITE_TEXTE as $,
|
||||
ATTRIBUT_CONTIENT_ARTICLES as A,
|
||||
ATTRIBUT_DESACTIVE as B,
|
||||
SELECTEUR_PRIX_LIGNE_PANIER as C,
|
||||
SELECTEUR_BOUTON_AJOUT_PANIER as D,
|
||||
SELECTEUR_SELECTEUR_QUANTITE as E,
|
||||
SELECTEUR_PRIX_PRODUIT as F,
|
||||
SELECTEUR_LIENS_ONGLETS as G,
|
||||
SELECTEUR_SECTIONS_CONTENUS as H,
|
||||
ATTRIBUT_ARIA_SELECTED as I,
|
||||
ATTRIBUT_PRIX as J,
|
||||
SELECTEUR_CONTENEUR_FLECHES_DEFILEMENT as K,
|
||||
SELECTEUR_FLECHE_DEFILEMENT_GAUCHE as L,
|
||||
SELECTEUR_FLECHE_DEFILEMENT_DROITE as M,
|
||||
SELECTEUR_PHOTOS_PRODUIT as N,
|
||||
SELECTEUR_IMAGE_COLONNE_GAUCHE as O,
|
||||
SELECTEUR_IMAGES_COLONNE_DROITE as P,
|
||||
ATTRIBUT_INDEX_IMAGE_ACTIVE as Q,
|
||||
SELECTEUR_BOUTON_MENU_MOBILE as R,
|
||||
SELECTEUR_BOUTON_SUPPRESSION_PANIER as B,
|
||||
ATTRIBUT_DESACTIVE as C,
|
||||
SELECTEUR_PRIX_LIGNE_PANIER as D,
|
||||
SELECTEUR_BOUTON_AJOUT_PANIER as E,
|
||||
SELECTEUR_SELECTEUR_QUANTITE as F,
|
||||
SELECTEUR_PRIX_PRODUIT as G,
|
||||
SELECTEUR_LIENS_ONGLETS as H,
|
||||
SELECTEUR_SECTIONS_CONTENUS as I,
|
||||
ATTRIBUT_ARIA_SELECTED as J,
|
||||
ATTRIBUT_PRIX as K,
|
||||
SELECTEUR_CONTENEUR_FLECHES_DEFILEMENT as L,
|
||||
SELECTEUR_FLECHE_DEFILEMENT_GAUCHE as M,
|
||||
SELECTEUR_FLECHE_DEFILEMENT_DROITE as N,
|
||||
SELECTEUR_PHOTOS_PRODUIT as O,
|
||||
SELECTEUR_IMAGE_COLONNE_GAUCHE as P,
|
||||
SELECTEUR_IMAGES_COLONNE_DROITE as Q,
|
||||
ATTRIBUT_INDEX_IMAGE_ACTIVE as R,
|
||||
SELECTEUR_BOUTON_PANIER as S,
|
||||
SELECTEUR_MENU_MOBILE as T,
|
||||
ATTRIBUT_MENU_MOBILE_ACTIVE as U,
|
||||
SELECTEUR_CONTENEUR_STORYTELLING_A_PROPOS as V,
|
||||
SELECTEUR_EPINGLE as W,
|
||||
SELECTEUR_BOITE_TEXTE as X,
|
||||
ATTRIBUT_ID_ENSEMBLE_EPINGLE_BOITE as Y,
|
||||
ATTRIBUT_ENSEMBLE_EPINGLE_BOITE_ACTIF as Z,
|
||||
CLASS_BOUTON_FERMETURE_BOITE_TEXTE as _,
|
||||
SELECTEUR_BOUTON_MENU_MOBILE as T,
|
||||
SELECTEUR_MENU_MOBILE as U,
|
||||
ATTRIBUT_MENU_MOBILE_ACTIVE as V,
|
||||
SELECTEUR_CONTENEUR_STORYTELLING_A_PROPOS as W,
|
||||
SELECTEUR_EPINGLE as X,
|
||||
SELECTEUR_BOITE_TEXTE as Y,
|
||||
ATTRIBUT_ID_ENSEMBLE_EPINGLE_BOITE as Z,
|
||||
ATTRIBUT_ENSEMBLE_EPINGLE_BOITE_ACTIF as _,
|
||||
SELECTEUR_MENU_CATEGORIES_PRODUITS as a,
|
||||
CLASS_EPINGLE as a0,
|
||||
SELECTEUR_ENTREE_MENU_CATEGORIES_PRODUITS as b,
|
||||
SELECTEUR_CONTENEUR_STORYTELLING as c,
|
||||
SELECTEUR_IMAGES_STORYTELLING as d,
|
||||
|
|
@ -98,15 +100,15 @@ export {
|
|||
SELECTEUR_SOUS_TOTAL_PRODUITS as n,
|
||||
SELECTEUR_SOUS_TOTAL_LIVRAISON_COUT as o,
|
||||
SELECTEUR_SOUS_TOTAL_LIVRAISON_PRESTATAIRE as p,
|
||||
SELECTEUR_TOTAL_PANIER as q,
|
||||
SELECTEUR_BOUTON_SEPARATION_ADRESSES as r,
|
||||
SELECTEUR_FORMULAIRE_PANIER as s,
|
||||
SELECTEUR_FORMULAIRE_FACTURATION as t,
|
||||
SELECTEUR_BOUTON_ACTIONS_FORMULAIRE as u,
|
||||
ATTRIBUT_CLE_PANIER as v,
|
||||
SELECTEUR_BOUTON_SOUSTRACTION_QUANTITE as w,
|
||||
SELECTEUR_CHAMP_QUANTITE_LIGNE_PANIER as x,
|
||||
SELECTEUR_BOUTON_ADDITION_QUANTITE as y,
|
||||
SELECTEUR_BOUTON_SUPPRESSION_PANIER as z
|
||||
SELECTEUR_INSTRUCTIONS_CLIENT as q,
|
||||
SELECTEUR_TOTAL_PANIER as r,
|
||||
SELECTEUR_BOUTON_SEPARATION_ADRESSES as s,
|
||||
SELECTEUR_FORMULAIRE_PANIER as t,
|
||||
SELECTEUR_FORMULAIRE_FACTURATION as u,
|
||||
SELECTEUR_BOUTON_ACTIONS_FORMULAIRE as v,
|
||||
ATTRIBUT_CLE_PANIER as w,
|
||||
SELECTEUR_BOUTON_SOUSTRACTION_QUANTITE as x,
|
||||
SELECTEUR_CHAMP_QUANTITE_LIGNE_PANIER as y,
|
||||
SELECTEUR_BOUTON_ADDITION_QUANTITE as z
|
||||
};
|
||||
//# sourceMappingURL=dom.js.map
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
import { l as is, o as object, n as number, s as string } from "./index.vOxCZRxB.js";
|
||||
import { l as is, o as object, n as number, s as string } from "./index.CXGAS3st.js";
|
||||
const WCErrorBodySchema = object({
|
||||
code: string(),
|
||||
data: object({
|
||||
|
|
|
|||
|
|
@ -558,7 +558,13 @@ function omit(schema, keys) {
|
|||
for (const key of keys) {
|
||||
delete entries[key];
|
||||
}
|
||||
return { ...schema, entries };
|
||||
return {
|
||||
...schema,
|
||||
entries,
|
||||
get "~standard"() {
|
||||
return _getStandardProps(this);
|
||||
}
|
||||
};
|
||||
}
|
||||
function parse(schema, input, config2) {
|
||||
const dataset = schema["~run"]({ value: input }, getGlobalConfig(config2));
|
||||
|
|
@ -571,6 +577,9 @@ function pipe(...pipe2) {
|
|||
return {
|
||||
...pipe2[0],
|
||||
pipe: pipe2,
|
||||
get "~standard"() {
|
||||
return _getStandardProps(this);
|
||||
},
|
||||
"~run"(dataset, config2) {
|
||||
for (const item of pipe2) {
|
||||
if (item.kind !== "metadata") {
|
||||
|
|
@ -609,4 +618,4 @@ export {
|
|||
unknown as u,
|
||||
value as v
|
||||
};
|
||||
//# sourceMappingURL=index.vOxCZRxB.js.map
|
||||
//# sourceMappingURL=index.CXGAS3st.js.map
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
import { p as parse } from "./index.vOxCZRxB.js";
|
||||
import { p as parse } from "./index.CXGAS3st.js";
|
||||
import { N as NOM_CANAL_BOUTON_PANIER, T as TYPES_MESSAGES, a as NOM_CANAL_CONTENU_PANIER } from "./messages3.js";
|
||||
import { r as reporteErreur } from "./erreurs.js";
|
||||
import { M as MessageMajBoutonPanierSchema, a as MessageMajContenuPanierSchema } from "./messages2.js";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { e as enum_, o as object, a as pipe, v as value, s as string, n as number, b as array } from "./index.vOxCZRxB.js";
|
||||
import { e as enum_, o as object, a as pipe, v as value, s as string, n as number, b as array } from "./index.CXGAS3st.js";
|
||||
import { T as TYPES_MESSAGES } from "./messages3.js";
|
||||
import { a as WCStoreCartItemSchema } from "./cart.js";
|
||||
import "./cart2.js";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, s as string, b as array, a as pipe, i as integer, n as number, e as enum_, u as unknown, c as optional, d as boolean, g as union, h as null_ } from "./index.vOxCZRxB.js";
|
||||
import { o as object, s as string, b as array, a as pipe, i as integer, n as number, e as enum_, u as unknown, g as union, c as optional, h as null_, d as boolean } from "./index.CXGAS3st.js";
|
||||
import { T as TAX_STATUSES, O as ORDER_STATUSES } from "./orders3.js";
|
||||
import { W as WCStoreShippingAddressSchema, a as WCStoreBillingAddressSchema } from "./adresses.js";
|
||||
const WCV3OrdersCouponLineMetaDataSchema = object({
|
||||
|
|
@ -55,7 +55,7 @@ const WCV3OrdersShippingLineSchema = object({
|
|||
total_tax: optional(string())
|
||||
});
|
||||
const WCV3OrdersLineItemImageSchema = object({
|
||||
id: pipe(number(), integer()),
|
||||
id: union([string(), pipe(number(), integer())]),
|
||||
src: string()
|
||||
});
|
||||
const WCV3OrdersLineItemMetaDataSchema = object({
|
||||
|
|
@ -75,7 +75,7 @@ const WCV3OrdersLineItemSchema = object({
|
|||
image: optional(WCV3OrdersLineItemImageSchema),
|
||||
meta_data: optional(array(WCV3OrdersLineItemMetaDataSchema)),
|
||||
name: optional(string()),
|
||||
parent_name: optional(string()),
|
||||
parent_name: optional(union([string(), null_()])),
|
||||
price: optional(number()),
|
||||
product_id: optional(pipe(number(), integer())),
|
||||
quantity: optional(pipe(number(), integer())),
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, c as optional, e as enum_, s as string, b as array, a as pipe, k as maxValue, m as minValue, n as number, i as integer, d as boolean, u as unknown, g as union, h as null_, f as url } from "./index.vOxCZRxB.js";
|
||||
import { o as object, c as optional, e as enum_, s as string, b as array, a as pipe, k as maxValue, m as minValue, n as number, i as integer, d as boolean, u as unknown, g as union, h as null_, f as url } from "./index.CXGAS3st.js";
|
||||
import { P as PRODUCT_TYPES, T as TAG_OPERATORS, S as STOCK_STATUSES, a as PRODUCT_STATUTES, R as RATINGS, O as ORDERBY_VALUES, b as ORDER_VALUES, D as DATE_COLUMN_VALUES, c as PRODUCTS_CONTEXTES, C as CATEGORY_OPERATORS, d as CATALOG_VISIBILITIES, A as ATTRIBUTES_RELATIONS, e as TAX_STATUTES, B as BACKORDERS_SETTINGS } from "./products2.js";
|
||||
const WCV3ProductsArgsSchema = object({
|
||||
// Date ISO8601
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { o as object, c as optional, e as enum_, s as string, b as array, a as pipe, k as maxValue, m as minValue, n as number, i as integer, d as boolean, u as unknown, g as union, h as null_ } from "./index.vOxCZRxB.js";
|
||||
import { o as object, c as optional, e as enum_, s as string, b as array, a as pipe, k as maxValue, m as minValue, n as number, i as integer, d as boolean, u as unknown, g as union, h as null_ } from "./index.CXGAS3st.js";
|
||||
import { P as PRODUCT_TYPES, T as TAG_OPERATORS, S as STOCK_STATUSES, R as RATINGS, O as ORDERBY_VALUES, b as ORDER_VALUES, D as DATE_COLUMN_VALUES, c as PRODUCTS_CONTEXTES, C as CATEGORY_OPERATORS, d as CATALOG_VISIBILITIES, A as ATTRIBUTES_RELATIONS } from "./products2.js";
|
||||
object({
|
||||
// Date ISO8601
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z, N } from "./index.CeK6pfoJ.js";
|
||||
import { p as parse } from "./index.vOxCZRxB.js";
|
||||
import { p as parse } from "./index.CXGAS3st.js";
|
||||
import { E as ENTETE_WC_NONCE } from "./api.js";
|
||||
import { b as leveBadRequestError, c as leveUnauthorizedError, d as leveNotFoundError, E as ErreurInconnue, a as leveErreur } from "./erreurs.js";
|
||||
import { e as estWCError } from "./erreurs2.js";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { p as pipe } from "./pipe.XPB0wEfw.js";
|
|||
import "./erreurs.js";
|
||||
import "./exports.DT-46nyp.js";
|
||||
import "./Either.wHNxn7Os.js";
|
||||
import "./index.vOxCZRxB.js";
|
||||
import "./index.CXGAS3st.js";
|
||||
import "./messages2.js";
|
||||
import "./cart.js";
|
||||
import "./cart2.js";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
var __defProp = Object.defineProperty;
|
||||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
||||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
||||
import { R as SELECTEUR_BOUTON_MENU_MOBILE, T as SELECTEUR_MENU_MOBILE, U as ATTRIBUT_MENU_MOBILE_ACTIVE } from "./dom.js";
|
||||
import { T as SELECTEUR_BOUTON_MENU_MOBILE, U as SELECTEUR_MENU_MOBILE, V as ATTRIBUT_MENU_MOBILE_ACTIVE } from "./dom.js";
|
||||
import { a as recupereElementDansDocumentOuLeve } from "./utils.js";
|
||||
import "./dom2.js";
|
||||
import "./erreurs.js";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { V as SELECTEUR_CONTENEUR_STORYTELLING_A_PROPOS, W as SELECTEUR_EPINGLE, X as SELECTEUR_BOITE_TEXTE, Y as ATTRIBUT_ID_ENSEMBLE_EPINGLE_BOITE, Z as ATTRIBUT_ENSEMBLE_EPINGLE_BOITE_ACTIF, _ as CLASS_BOUTON_FERMETURE_BOITE_TEXTE, $ as CLASS_EPINGLE } from "./dom.js";
|
||||
import { W as SELECTEUR_CONTENEUR_STORYTELLING_A_PROPOS, X as SELECTEUR_EPINGLE, Y as SELECTEUR_BOITE_TEXTE, Z as ATTRIBUT_ID_ENSEMBLE_EPINGLE_BOITE, _ as ATTRIBUT_ENSEMBLE_EPINGLE_BOITE_ACTIF, $ as CLASS_BOUTON_FERMETURE_BOITE_TEXTE, a0 as CLASS_EPINGLE } from "./dom.js";
|
||||
import { a as recupereElementDansDocumentOuLeve, b as recupereElementsDansDocumentOuLeve } from "./utils.js";
|
||||
import { k as reduceU, q as concat, v as valFromOption, s as some, i as equal, t as nullable_to_opt, R as Ra } from "./dom2.js";
|
||||
import { p as pipe } from "./pipe.XPB0wEfw.js";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z, N } from "./index.CeK6pfoJ.js";
|
||||
import { p as parse } from "./index.vOxCZRxB.js";
|
||||
import { p as parse } from "./index.CXGAS3st.js";
|
||||
import { R as ROUTE_API_NOUVELLE_PRODUCTS } from "./api.js";
|
||||
import { g as SELECTEUR_GRILLE_PRODUITS, h as SELECTEUR_BOUTON_PLUS_PRODUITS, i as ATTRIBUT_ID_CATEGORIE_PRODUITS, j as ATTRIBUT_PAGE, k as ATTRIBUT_HIDDEN } from "./dom.js";
|
||||
import { h as html } from "./dom2.js";
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
import { z } from "./index.CeK6pfoJ.js";
|
||||
import { p as parse, V as ValiError } from "./index.vOxCZRxB.js";
|
||||
import { p as parse, V as ValiError } from "./index.CXGAS3st.js";
|
||||
import { a as ROUTE_API_RETIRE_ARTICLE_PANIER, b as ROUTE_API_MAJ_ARTICLE_PANIER, c as ROUTE_API_MAJ_CLIENT, d as ROUTE_API_NOUVELLE_COMMANDES } from "./api.js";
|
||||
import { l as SELECTEUR_ENTREES_PANIER, m as SELECTEUR_CONTENEUR_PANIER, n as SELECTEUR_SOUS_TOTAL_PRODUITS, o as SELECTEUR_SOUS_TOTAL_LIVRAISON_COUT, p as SELECTEUR_SOUS_TOTAL_LIVRAISON_PRESTATAIRE, q as SELECTEUR_TOTAL_PANIER, r as SELECTEUR_BOUTON_SEPARATION_ADRESSES, s as SELECTEUR_FORMULAIRE_PANIER, t as SELECTEUR_FORMULAIRE_FACTURATION, u as SELECTEUR_BOUTON_ACTIONS_FORMULAIRE, v as ATTRIBUT_CLE_PANIER, w as SELECTEUR_BOUTON_SOUSTRACTION_QUANTITE, x as SELECTEUR_CHAMP_QUANTITE_LIGNE_PANIER, y as SELECTEUR_BOUTON_ADDITION_QUANTITE, z as SELECTEUR_BOUTON_SUPPRESSION_PANIER, B as ATTRIBUT_DESACTIVE, A as ATTRIBUT_CONTIENT_ARTICLES, C as SELECTEUR_PRIX_LIGNE_PANIER, k as ATTRIBUT_HIDDEN } from "./dom.js";
|
||||
import { l as SELECTEUR_ENTREES_PANIER, m as SELECTEUR_CONTENEUR_PANIER, n as SELECTEUR_SOUS_TOTAL_PRODUITS, o as SELECTEUR_SOUS_TOTAL_LIVRAISON_COUT, p as SELECTEUR_SOUS_TOTAL_LIVRAISON_PRESTATAIRE, q as SELECTEUR_INSTRUCTIONS_CLIENT, r as SELECTEUR_TOTAL_PANIER, s as SELECTEUR_BOUTON_SEPARATION_ADRESSES, t as SELECTEUR_FORMULAIRE_PANIER, u as SELECTEUR_FORMULAIRE_FACTURATION, v as SELECTEUR_BOUTON_ACTIONS_FORMULAIRE, w as ATTRIBUT_CLE_PANIER, x as SELECTEUR_BOUTON_SOUSTRACTION_QUANTITE, y as SELECTEUR_CHAMP_QUANTITE_LIGNE_PANIER, z as SELECTEUR_BOUTON_ADDITION_QUANTITE, B as SELECTEUR_BOUTON_SUPPRESSION_PANIER, C as ATTRIBUT_DESACTIVE, A as ATTRIBUT_CONTIENT_ARTICLES, D as SELECTEUR_PRIX_LIGNE_PANIER, k as ATTRIBUT_HIDDEN } from "./dom.js";
|
||||
import { N as NOM_CANAL_BOUTON_PANIER, a as NOM_CANAL_CONTENU_PANIER } from "./messages3.js";
|
||||
import { r as recupereElementOuLeve, a as recupereElementAvecSelecteur, b as recupereElementsAvecSelecteur, e as eitherSessionStorageGet, c as eitherJsonParse } from "./dom2.js";
|
||||
import { l as leveServerError, r as reporteErreur, a as leveErreur } from "./erreurs.js";
|
||||
import { e as estReponse500, a as estError } from "./gardes.js";
|
||||
import { e as emetMessageMajBoutonPanier, a as emetMessageMajContenuPanier, v as valideMessageMajBoutonPanier, b as valideMessageMajContenuPanier } from "./messages.js";
|
||||
import { p as postBackend, t as traiteReponseBackendWCSelonCodesHTTP } from "./reseau.js";
|
||||
import { W as WCStoreCartSchema } from "./cart.js";
|
||||
import { W as WCStoreCartRemoveItemArgsSchema } from "./cart-remove-item.js";
|
||||
import { W as WCStoreCartUpdateCustomerArgsSchema } from "./cart-update-customer.js";
|
||||
import { W as WCStoreCartUpdateItemArgsSchema } from "./cart-update-item.js";
|
||||
import { W as WCStoreCartSchema } from "./cart.js";
|
||||
import { W as WCStoreShippingRateShippingRateSchema } from "./couts-livraison.js";
|
||||
import { W as WCV3OrdersArgsSchema, a as WCV3OrderSchema } from "./orders2.js";
|
||||
import { c as recupereElementsDocumentEither, r as recupereElementDocumentEither, y, p as propEither, a as recupereElementDansDocumentOuLeve } from "./utils.js";
|
||||
import { c as recupereElementsDocumentEither, r as recupereElementDocumentEither, a as recupereElementDansDocumentOuLeve, y, p as propEither } from "./utils.js";
|
||||
import { e as eitherParse } from "./validation.js";
|
||||
import { p as pipe } from "./pipe.XPB0wEfw.js";
|
||||
import { l } from "./index-0eef19ec.CFsloYN6.js";
|
||||
|
|
@ -22,8 +22,8 @@ import { M as Maybe, E as Either } from "./Either.wHNxn7Os.js";
|
|||
import "./exports.DT-46nyp.js";
|
||||
import "./messages2.js";
|
||||
import "./erreurs2.js";
|
||||
import "./cart2.js";
|
||||
import "./adresses.js";
|
||||
import "./cart2.js";
|
||||
import "./orders3.js";
|
||||
import "./belt_Option-91f3b350.BKMoZFhU.js";
|
||||
const ETATS_PAGE = _etats;
|
||||
|
|
@ -46,6 +46,9 @@ const SOUS_TOTAL_LIVRAISON_PRESTATAIRE = pipe(
|
|||
recupereElementDocumentEither(SELECTEUR_SOUS_TOTAL_LIVRAISON_PRESTATAIRE),
|
||||
recupereElementOuLeve
|
||||
);
|
||||
const INSTRUCTIONS_CLIENT = recupereElementDansDocumentOuLeve(
|
||||
SELECTEUR_INSTRUCTIONS_CLIENT
|
||||
);
|
||||
const TOTAL_PANIER = pipe(
|
||||
recupereElementDocumentEither(SELECTEUR_TOTAL_PANIER),
|
||||
recupereElementOuLeve
|
||||
|
|
@ -397,6 +400,7 @@ const initialiseBoutonCreationCommande = () => {
|
|||
postcode: donneesFormulaire["facturation-code-postal"] ?? donneesFormulaire["livraison-code-postal"] ?? "",
|
||||
state: donneesFormulaire["facturation-region-etat"] ?? donneesFormulaire["livraison-region-etat"] ?? ""
|
||||
},
|
||||
customer_note: INSTRUCTIONS_CLIENT.value,
|
||||
currency: methodeLivraison.currency_code,
|
||||
line_items: articlesPanier,
|
||||
shipping: {
|
||||
|
|
@ -430,18 +434,12 @@ const initialiseBoutonCreationCommande = () => {
|
|||
pipe(
|
||||
// Récupère la Réponse
|
||||
await reponse.json(),
|
||||
// Traite tous les codes HTTP possibles
|
||||
(corpsReponse) => {
|
||||
console.debug(corpsReponse);
|
||||
return eitherParse(corpsReponse, WCV3OrderSchema);
|
||||
},
|
||||
(reponse2) => reponse2.ifRight((r) => {
|
||||
(corpsReponse) => eitherParse(corpsReponse, WCV3OrderSchema).ifRight((reponse2) => {
|
||||
const url = new URL(`https://${window.location.host}/checkout`);
|
||||
url.searchParams.append("order_key", r.order_key);
|
||||
url.searchParams.append("order_id", String(r.id));
|
||||
window.location = url;
|
||||
}),
|
||||
(reponse2) => reponse2.ifLeft((a) => console.error(a.issues))
|
||||
url.searchParams.append("order_key", reponse2.order_key);
|
||||
url.searchParams.append("order_id", String(reponse2.id));
|
||||
location.assign(url);
|
||||
}).ifLeft((e) => console.error(e.issues))
|
||||
);
|
||||
});
|
||||
}).ifLeft((a) => console.error(a.issues));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
import { z } from "./index.CeK6pfoJ.js";
|
||||
import { e as ROUTE_API_AJOUTE_ARTICLE_PANIER, E as ENTETE_WC_NONCE } from "./api.js";
|
||||
import { D as SELECTEUR_BOUTON_AJOUT_PANIER, E as SELECTEUR_SELECTEUR_QUANTITE, F as SELECTEUR_PRIX_PRODUIT, G as SELECTEUR_LIENS_ONGLETS, H as SELECTEUR_SECTIONS_CONTENUS, I as ATTRIBUT_ARIA_SELECTED, k as ATTRIBUT_HIDDEN, B as ATTRIBUT_DESACTIVE, J as ATTRIBUT_PRIX, K as SELECTEUR_CONTENEUR_FLECHES_DEFILEMENT, L as SELECTEUR_FLECHE_DEFILEMENT_GAUCHE, M as SELECTEUR_FLECHE_DEFILEMENT_DROITE, N as SELECTEUR_PHOTOS_PRODUIT, O as SELECTEUR_IMAGE_COLONNE_GAUCHE, P as SELECTEUR_IMAGES_COLONNE_DROITE, Q as ATTRIBUT_INDEX_IMAGE_ACTIVE } from "./dom.js";
|
||||
import { E as SELECTEUR_BOUTON_AJOUT_PANIER, F as SELECTEUR_SELECTEUR_QUANTITE, G as SELECTEUR_PRIX_PRODUIT, H as SELECTEUR_LIENS_ONGLETS, I as SELECTEUR_SECTIONS_CONTENUS, J as ATTRIBUT_ARIA_SELECTED, k as ATTRIBUT_HIDDEN, C as ATTRIBUT_DESACTIVE, K as ATTRIBUT_PRIX, L as SELECTEUR_CONTENEUR_FLECHES_DEFILEMENT, M as SELECTEUR_FLECHE_DEFILEMENT_GAUCHE, N as SELECTEUR_FLECHE_DEFILEMENT_DROITE, O as SELECTEUR_PHOTOS_PRODUIT, P as SELECTEUR_IMAGE_COLONNE_GAUCHE, Q as SELECTEUR_IMAGES_COLONNE_DROITE, R as ATTRIBUT_INDEX_IMAGE_ACTIVE } from "./dom.js";
|
||||
import { r as recupereElementOuLeve, d as recupereElementsOuLeve, R as Ra } from "./dom2.js";
|
||||
import { l as leveServerError, r as reporteErreur } from "./erreurs.js";
|
||||
import { b as estHTMLSelectElement, e as estReponse500, a as estError } from "./gardes.js";
|
||||
|
|
@ -14,7 +14,7 @@ import { p as pipe } from "./pipe.XPB0wEfw.js";
|
|||
import { l } from "./index-0eef19ec.CFsloYN6.js";
|
||||
import { M as Maybe } from "./Either.wHNxn7Os.js";
|
||||
import "./exports.DT-46nyp.js";
|
||||
import "./index.vOxCZRxB.js";
|
||||
import "./index.CXGAS3st.js";
|
||||
import "./messages3.js";
|
||||
import "./messages2.js";
|
||||
import "./erreurs2.js";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { p as parse } from "./index.vOxCZRxB.js";
|
||||
import { p as parse } from "./index.CXGAS3st.js";
|
||||
import { E as Either } from "./Either.wHNxn7Os.js";
|
||||
const eitherParse = (valeur, schema) => Either.encase(() => parse(schema, valeur));
|
||||
export {
|
||||
|
|
|
|||
|
|
@ -39,6 +39,10 @@ foreach (WC()->cart->get_cart() as $cle_panier => $article_panier) {
|
|||
];
|
||||
}
|
||||
|
||||
echo "<br><br><br><pre>";
|
||||
print_r($panier);
|
||||
echo "</pre>";
|
||||
|
||||
// Récupère les Adresses de l'Utilisateur
|
||||
$email = WC()->customer->get_billing_email();
|
||||
$adresse_livraison = WC()->customer->get_shipping();
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ $email_client = WC()->session->get("customer")["email"];
|
|||
/** @var mixed $articles */
|
||||
$articles = [];
|
||||
|
||||
// TODO: Cas des Produits Simples : Pas de Attribute Summary !
|
||||
|
||||
foreach ($panier->get_cart() as $cle_panier => $article_panier) {
|
||||
$titre_produit = $article_panier["data"]?->get_title();
|
||||
$est_variation = $article_panier["variation_id"] !== null;
|
||||
|
|
|
|||
|
|
@ -30,22 +30,27 @@ if (!$session_id) {
|
|||
$client_stripe = new StripeClient(Config::get("STRIPE_API_SECRET"));
|
||||
|
||||
try {
|
||||
/** @var Session $session La Session Stripe pour la Commande. */
|
||||
$session = $client_stripe->checkout->sessions->retrieve($session_id);
|
||||
/** @var Session $session_stripe La Session Stripe pour la Commande. */
|
||||
$session_stripe = $client_stripe->checkout->sessions->retrieve($session_id);
|
||||
/** @var string $order_id L'ID de la Commande WooCommerce passée en métadonnée à la Session. */
|
||||
$order_id = $session->metadata["order_id"];
|
||||
$order_id = $session_stripe->metadata["order_id"];
|
||||
|
||||
/** @var WC_Order|WC_Order_Refund|bool $commande La Commande WooCommerce liée à la Session Stripe, `false` si inexistante. */
|
||||
$commande = wc_get_order("$order_id");
|
||||
/** @var WC_Cart $panier **/
|
||||
$panier = WC()->cart;
|
||||
|
||||
if ($commande == false) {
|
||||
throw new Error("La commande $order_id n'existe pas.");
|
||||
}
|
||||
|
||||
// Passe la Commande en état "Payé"
|
||||
// Passe la Commande en état "Payé" et réinitialise le Panier
|
||||
if ($commande->get_status() === "pending") {
|
||||
$commande->payment_complete($session_id);
|
||||
$commande->set_payment_method_title("Stripe - Carte bancaire");
|
||||
// $commande->set_payment_method_title("Stripe - Carte bancaire");
|
||||
$commande->set_transaction_id($session_id);
|
||||
|
||||
$panier->empty_cart();
|
||||
}
|
||||
|
||||
// Contexte et modèles
|
||||
|
|
@ -54,32 +59,7 @@ try {
|
|||
|
||||
// Récupère les données des Produits
|
||||
/** @var mixed $produits Les Produits de la Commande sous forme de tableau contenant uniquement les données affichées nécessaires pour le Page. */
|
||||
$produits = pipe(
|
||||
$commande->get_items(),
|
||||
fn($a) => Arr::map(
|
||||
array: $a,
|
||||
callback: function (WC_Order_Item $produit_commande) {
|
||||
/** @var string $id_produit L'ID du Produit, différent selon qu'il soit un Produit Simple ou Variable. */
|
||||
$id_produit =
|
||||
$produit_commande["variation_id"] !== null
|
||||
? $produit_commande["variation_id"]
|
||||
: $produit_commande["product_id"];
|
||||
/** @var WC_Product|false $produit Les informations du Produit. */
|
||||
$produit = wc_get_product($id_produit);
|
||||
|
||||
return [
|
||||
"attributs" => recupere_et_formate_attributs_produit($produit->get_attributes()),
|
||||
"id_produit" => $id_produit,
|
||||
"image" => pipe($produit->get_image_id(), fn($id) => genere_balise_img_multiformats(id: $id, lazy: true)),
|
||||
"permalien" => $produit->get_permalink(),
|
||||
"prix" => $produit_commande->get_data()["total"],
|
||||
"quantite" => $produit_commande->get_quantity(),
|
||||
"titre" => $produit->get_title(),
|
||||
];
|
||||
},
|
||||
),
|
||||
);
|
||||
$produits_l = collect($commande->get_items())->map(function (WC_Order_Item $produit_commande) {
|
||||
$produits = collect($commande->get_items())->map(function (WC_Order_Item $produit_commande) {
|
||||
/** @var string $id_produit L'ID du Produit. */
|
||||
$id_produit = $produit_commande["product_id"];
|
||||
/** @var WC_Product|false $produit Les informations du Produit. */
|
||||
|
|
@ -98,9 +78,9 @@ try {
|
|||
|
||||
$contexte["produits"] = $produits;
|
||||
|
||||
// echo "<pre>";
|
||||
// print_r($articles_formates);
|
||||
// echo "</pre>";
|
||||
echo "<pre>";
|
||||
print_r($produits);
|
||||
echo "</pre>";
|
||||
|
||||
// Charge les scripts et styles de la page
|
||||
function charge_scripts_styles_page_succes_commande(): void {
|
||||
|
|
|
|||
|
|
@ -186,9 +186,17 @@ function genere_prix_maximal_produit_variable_dans_reponse_rest($reponse, $produ
|
|||
}
|
||||
add_filter("woocommerce_rest_prepare_product_object", "genere_prix_maximal_produit_variable_dans_reponse_rest", 10, 2);
|
||||
|
||||
/**
|
||||
* Retire la propagande commerciale de WooCommerce du menu.
|
||||
*/
|
||||
function retire_onglet_paiement_admin_woocommerce(): void {
|
||||
remove_menu_page("admin.php?page=wc-admin&task=woocommerce-payments");
|
||||
}
|
||||
|
||||
add_action("add_meta_boxes", "desactive_champs_admin_images_produit_woocommerce", 40);
|
||||
add_action("admin_menu", "retire_onglet_paiement_admin_woocommerce", 999);
|
||||
add_action("after_setup_theme", "desactive_images_produit_woocommerce");
|
||||
add_action("enqueue_block_assets", "desactive_blocs_gutenberg_woocommerce");
|
||||
add_action("wp_enqueue_scripts", "dequeue_woocommerce_styles_scripts");
|
||||
add_action("init", "desactive_attribution_commande_woocommerce");
|
||||
add_action("init", "retire_script_galerie");
|
||||
add_action("wp_enqueue_scripts", "dequeue_woocommerce_styles_scripts");
|
||||
|
|
|
|||
|
|
@ -18,12 +18,12 @@
|
|||
bottom: calc(var(--position-y-fleches) / 2 - var(--espace-l) / 2);
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
padding: var(--espace-s);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
border-radius: 100%;
|
||||
mix-blend-mode: difference;
|
||||
shape-rendering: geometricprecision;
|
||||
padding: var(--espace-s);
|
||||
transition: 0.2s opacity, 0.2s visibility;
|
||||
|
||||
&:first-of-type {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
grid-auto-rows: 1fr;
|
||||
grid-template-columns:
|
||||
repeat(auto-fit, minmax(var(--carte-produit-longueur-minimale), 1fr)); /* 1 */
|
||||
|
||||
gap: 1px; /* 2 */
|
||||
min-height: var(--grille-produits-hauteur-minimale);
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@
|
|||
display: grid;
|
||||
grid-template-columns:
|
||||
repeat(auto-fit, minmax(var(--menu-entree-longueur-minimale), 1fr)); /* 1 */
|
||||
|
||||
gap: 1px;
|
||||
place-items: center;
|
||||
|
||||
|
|
|
|||
|
|
@ -77,13 +77,14 @@
|
|||
align-content: center;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 450;
|
||||
color: grey;
|
||||
text-align: center;
|
||||
|
||||
p {
|
||||
font-style: italic;
|
||||
|
||||
+ p {
|
||||
margin-top: var(--espace-l);
|
||||
margin-top: 1lh;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
// Illustration du Produit
|
||||
&__illustratif {
|
||||
padding: var(--espace-l);
|
||||
border-right: 1px solid var(--couleur-noir);
|
||||
|
||||
picture {
|
||||
|
|
@ -30,14 +29,6 @@
|
|||
img {
|
||||
aspect-ratio: 1;
|
||||
height: auto;
|
||||
transition: 0.2s scale;
|
||||
|
||||
// Effet de zoom au survol
|
||||
@media (hover: hover) {
|
||||
&:hover {
|
||||
scale: 1.1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@
|
|||
|
||||
&__rappel-commande {
|
||||
display: flex;
|
||||
border-top: 1px solid var(--couleur-noir);
|
||||
flex-flow: column nowrap;
|
||||
border-top: 1px solid var(--couleur-noir);
|
||||
|
||||
&__produit {
|
||||
display: grid;
|
||||
|
|
@ -73,7 +73,6 @@
|
|||
|
||||
// Illustration du Produit
|
||||
&__illustratif {
|
||||
padding: var(--espace-l);
|
||||
border-right: 1px solid var(--couleur-noir);
|
||||
|
||||
picture {
|
||||
|
|
@ -83,14 +82,6 @@
|
|||
img {
|
||||
aspect-ratio: 1;
|
||||
height: auto;
|
||||
transition: 0.2s scale;
|
||||
|
||||
// Effet de zoom au survol
|
||||
@media (hover: hover) {
|
||||
&:hover {
|
||||
scale: 1.1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -109,26 +100,25 @@
|
|||
flex-flow: row nowrap;
|
||||
column-gap: var(--espace-xl);
|
||||
justify-content: space-between;
|
||||
margin-bottom: var(--espace-xs);
|
||||
font-size: var(--espace-l);
|
||||
line-height: var(--hauteur-ligne-moitie);
|
||||
margin-bottom: var(--espace-xs);
|
||||
|
||||
span {
|
||||
min-width: 4rem;
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
font-style: initial;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
&__description {
|
||||
margin-bottom: var(--espace-l);
|
||||
text-transform: lowercase;
|
||||
line-height: var(--hauteur-ligne-moitie);
|
||||
text-transform: lowercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (width <= 50rem) {
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ export const SELECTEUR_FORMULAIRE_PANIER = "#panneau-informations-client form";
|
|||
export const SELECTEUR_FORMULAIRE_LIVRAISON = "#panneau-informations-client .panneau__formulaires__livraison";
|
||||
export const SELECTEUR_FORMULAIRE_FACTURATION = "#panneau-informations-client .panneau__formulaires__facturation";
|
||||
export const SELECTEUR_BOUTON_ACTIONS_FORMULAIRE = "#panneau-informations-client .panneau__pied-de-page button";
|
||||
export const SELECTEUR_INSTRUCTIONS_CLIENT = "#panneau-panier #instructions-client";
|
||||
|
||||
// Accueil
|
||||
export const SELECTEUR_CONTENEUR_STORYTELLING = ".storytelling";
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ export const WCV3OrdersShippingLineSchema = v.object({
|
|||
});
|
||||
|
||||
export const WCV3OrdersLineItemImageSchema = v.object({
|
||||
id: v.pipe(v.number(), v.integer()),
|
||||
id: v.union([v.string(), v.pipe(v.number(), v.integer())]),
|
||||
src: v.string(),
|
||||
});
|
||||
|
||||
|
|
@ -88,7 +88,7 @@ export const WCV3OrdersLineItemSchema = v.object({
|
|||
image: v.optional(WCV3OrdersLineItemImageSchema),
|
||||
meta_data: v.optional(v.array(WCV3OrdersLineItemMetaDataSchema)),
|
||||
name: v.optional(v.string()),
|
||||
parent_name: v.optional(v.string()),
|
||||
parent_name: v.optional(v.union([v.string(), v.null()])),
|
||||
price: v.optional(v.number()),
|
||||
product_id: v.optional(v.pipe(v.number(), v.integer())),
|
||||
quantity: v.optional(v.pipe(v.number(), v.integer())),
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import type { InferOutput } from "valibot";
|
||||
|
||||
import type { WCV3OrdersArgsSchema } from "../../../schemas/api/v3/orders.ts";
|
||||
import type { WCV3OrdersArgsSchema, WCV3OrderSchema } from "../../../schemas/api/v3/orders.ts";
|
||||
|
||||
export type WCV3Order = InferOutput<typeof WCV3OrderSchema>;
|
||||
export type WCV3OrdersArgs = InferOutput<typeof WCV3OrdersArgsSchema>;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import type { WCStoreCart, WCStoreCartItem, WCStoreShippingRateShippingRate } fr
|
|||
import type { WCStoreCartRemoveItemArgs } from "./lib/types/api/cart-remove-item";
|
||||
import type { WCStoreCartUpdateCustomerArgs } from "./lib/types/api/cart-update-customer";
|
||||
import type { WCStoreCartUpdateItemArgs } from "./lib/types/api/cart-update-item";
|
||||
import type { WCV3OrdersArgs } from "./lib/types/api/v3/orders.ts";
|
||||
import type { WCV3Order, WCV3OrdersArgs } from "./lib/types/api/v3/orders.ts";
|
||||
import type { MessageMajBoutonPanierDonnees, MessageMajContenuPanierDonnees } from "./lib/types/messages";
|
||||
|
||||
import {
|
||||
|
|
@ -32,6 +32,7 @@ import {
|
|||
SELECTEUR_ENTREES_PANIER,
|
||||
SELECTEUR_FORMULAIRE_FACTURATION,
|
||||
SELECTEUR_FORMULAIRE_PANIER,
|
||||
SELECTEUR_INSTRUCTIONS_CLIENT,
|
||||
SELECTEUR_PRIX_LIGNE_PANIER,
|
||||
SELECTEUR_SOUS_TOTAL_LIVRAISON_COUT,
|
||||
SELECTEUR_SOUS_TOTAL_LIVRAISON_PRESTATAIRE,
|
||||
|
|
@ -55,10 +56,10 @@ import {
|
|||
valideMessageMajContenuPanier,
|
||||
} from "./lib/messages.ts";
|
||||
import { postBackend, traiteReponseBackendWCSelonCodesHTTP } from "./lib/reseau.ts";
|
||||
import { WCStoreCartSchema } from "./lib/schemas/api/cart.ts";
|
||||
import { WCStoreCartRemoveItemArgsSchema } from "./lib/schemas/api/cart-remove-item.ts";
|
||||
import { WCStoreCartUpdateCustomerArgsSchema } from "./lib/schemas/api/cart-update-customer.ts";
|
||||
import { WCStoreCartUpdateItemArgsSchema } from "./lib/schemas/api/cart-update-item.ts";
|
||||
import { WCStoreCartSchema } from "./lib/schemas/api/cart.ts";
|
||||
import { WCStoreShippingRateShippingRateSchema } from "./lib/schemas/api/couts-livraison.ts";
|
||||
import { WCV3OrdersArgsSchema, WCV3OrderSchema } from "./lib/schemas/api/v3/orders.ts";
|
||||
import {
|
||||
|
|
@ -107,6 +108,9 @@ const SOUS_TOTAL_LIVRAISON_PRESTATAIRE: HTMLSpanElement = pipe(
|
|||
recupereElementDocumentEither<HTMLSpanElement>(SELECTEUR_SOUS_TOTAL_LIVRAISON_PRESTATAIRE),
|
||||
recupereElementOuLeve,
|
||||
);
|
||||
const INSTRUCTIONS_CLIENT: HTMLTextAreaElement = recupereElementDansDocumentOuLeve<HTMLTextAreaElement>(
|
||||
SELECTEUR_INSTRUCTIONS_CLIENT,
|
||||
);
|
||||
const TOTAL_PANIER: HTMLParagraphElement = pipe(
|
||||
recupereElementDocumentEither<HTMLParagraphElement>(SELECTEUR_TOTAL_PANIER),
|
||||
recupereElementOuLeve,
|
||||
|
|
@ -569,6 +573,7 @@ const initialiseBoutonCreationCommande = (): void => {
|
|||
Maybe
|
||||
// Ne fais rien si le Formulaire n'est pas valide
|
||||
.fromFalsy(FORMULAIRE_PANIER.checkValidity())
|
||||
// Active l'état de chargement
|
||||
.ifJust(() => {
|
||||
evenement.preventDefault();
|
||||
BOUTON_ACTIONS_FORMULAIRE.textContent = "Submitting...";
|
||||
|
|
@ -578,7 +583,9 @@ const initialiseBoutonCreationCommande = (): void => {
|
|||
const donneesFormulaire = Object.fromEntries(new FormData(FORMULAIRE_PANIER)) as Record<string, string>;
|
||||
|
||||
const methodeLivraison: WCStoreShippingRateShippingRate = eitherSessionStorageGet("shipping_rates")
|
||||
// Récupère la méthode de livraison depuis le stockage de session sous forme d'objet
|
||||
.chain(eitherJsonParse)
|
||||
// Vérifie la forme de l'objet récupéré
|
||||
.chain((json: JSONValue) =>
|
||||
eitherParse<typeof WCStoreShippingRateShippingRateSchema>(
|
||||
json,
|
||||
|
|
@ -617,6 +624,7 @@ const initialiseBoutonCreationCommande = (): void => {
|
|||
postcode: donneesFormulaire["facturation-code-postal"] ?? donneesFormulaire["livraison-code-postal"] ?? "",
|
||||
state: donneesFormulaire["facturation-region-etat"] ?? donneesFormulaire["livraison-region-etat"] ?? "",
|
||||
},
|
||||
customer_note: INSTRUCTIONS_CLIENT.value,
|
||||
currency: methodeLivraison.currency_code,
|
||||
line_items: articlesPanier,
|
||||
shipping: {
|
||||
|
|
@ -640,8 +648,10 @@ const initialiseBoutonCreationCommande = (): void => {
|
|||
],
|
||||
};
|
||||
|
||||
// Vérifie que la forme de l'objet des arguments est correcte
|
||||
eitherParse<typeof WCV3OrdersArgsSchema>(argumentsFormulaire, WCV3OrdersArgsSchema)
|
||||
.map(async (args: WCV3OrdersArgs) => {
|
||||
// Réalise la requête
|
||||
await postBackend({
|
||||
authString: ETATS_PAGE.authString,
|
||||
corps: JSON.stringify(args),
|
||||
|
|
@ -653,19 +663,15 @@ const initialiseBoutonCreationCommande = (): void => {
|
|||
pipe(
|
||||
// Récupère la Réponse
|
||||
await reponse.json(),
|
||||
// Traite tous les codes HTTP possibles
|
||||
(corpsReponse: unknown) => {
|
||||
console.debug(corpsReponse);
|
||||
return eitherParse<typeof WCV3OrderSchema>(corpsReponse, WCV3OrderSchema);
|
||||
},
|
||||
reponse =>
|
||||
reponse.ifRight(r => {
|
||||
(corpsReponse: unknown) =>
|
||||
eitherParse<typeof WCV3OrderSchema>(corpsReponse, WCV3OrderSchema)
|
||||
.ifRight((reponse: WCV3Order) => {
|
||||
const url = new URL(`https://${window.location.host}/checkout`);
|
||||
url.searchParams.append("order_key", r.order_key);
|
||||
url.searchParams.append("order_id", String(r.id));
|
||||
window.location = url;
|
||||
}),
|
||||
reponse => reponse.ifLeft(a => console.error(a.issues)),
|
||||
url.searchParams.append("order_key", reponse.order_key);
|
||||
url.searchParams.append("order_id", String(reponse.id));
|
||||
location.assign(url);
|
||||
})
|
||||
.ifLeft(e => console.error(e.issues)),
|
||||
);
|
||||
});
|
||||
})
|
||||
|
|
|
|||
|
|
@ -294,16 +294,12 @@
|
|||
<div class="panneau__formulaires__paiement formulaire">
|
||||
<h3 class="formulaire__titre">Payment:</h3>
|
||||
|
||||
{# Carte de crédit via Stripe #}
|
||||
{# <div class="formulaire__paiement"> </div> #}
|
||||
|
||||
{# PayPal #}
|
||||
<div class="formulaire__paiement">
|
||||
<div class="formulaire__paiement__attente-renseignement-formulaires">
|
||||
<p>Please fill out and submit the above form to make payment available.</p>
|
||||
<p>
|
||||
Payments are handled via <strong>Stripe</strong>: you will be taken to a dedicated Stripe-hosted payment
|
||||
page then redirected back here after the payment.
|
||||
Payments are handled via <strong>Stripe</strong>: you will be taken to a dedicated <strong>Stripe</strong>
|
||||
payment page then redirected back here after the payment.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
<div class="panneau__instructions-code-promo">
|
||||
<textarea
|
||||
class="panneau__instructions-code-promo__instructions"
|
||||
id="instructions"
|
||||
id="instructions-client"
|
||||
maxlength="2000"
|
||||
minlength="10"
|
||||
name="instructions"
|
||||
|
|
|
|||
|
|
@ -46,9 +46,9 @@
|
|||
<p class="detail-produit__description">
|
||||
{# Affiche tous les attributs relevants pour la variation choisie #}
|
||||
{% for attribut in produit.attributs %}
|
||||
{% if attribut.valeur %}
|
||||
{# {% if attribut.valeur %}
|
||||
{{ attribut.nom }}: <strong>{{ attribut.valeur }}</strong><br />
|
||||
{% endif %}
|
||||
{% endif %} #}
|
||||
{% endfor %}
|
||||
qty: <strong>{{ produit.quantite }}</strong>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 230 KiB |
Loading…
Add table
Add a link
Reference in a new issue