Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

125 Zeilen
10KB

  1. (self["webpackChunk"] = self["webpackChunk"] || []).push([["app-frontend"],{
  2. /***/ "./assets/app/frontend/app/app.common.js":
  3. /*!***********************************************!*\
  4. !*** ./assets/app/frontend/app/app.common.js ***!
  5. \***********************************************/
  6. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  7. "use strict";
  8. __webpack_require__.r(__webpack_exports__);
  9. /* harmony import */ var _app_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app.scss */ "./assets/app/frontend/app/app.scss");
  10. /* harmony import */ var _app_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app.js */ "./assets/app/frontend/app/app.js");
  11. /*
  12. * Welcome to your app's main JavaScript file!
  13. *
  14. * We recommend including the built version of this JavaScript file
  15. * (and its CSS file) in your base layout (base.html.twig).
  16. */
  17. // any CSS you import will output into a single css file (app.css in this case)
  18. // start the Stimulus application
  19. //import './bootstrap';
  20. /***/ }),
  21. /***/ "./assets/app/frontend/app/app.js":
  22. /*!****************************************!*\
  23. !*** ./assets/app/frontend/app/app.js ***!
  24. \****************************************/
  25. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  26. "use strict";
  27. __webpack_require__.r(__webpack_exports__);
  28. /* harmony import */ var bootstrap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! bootstrap */ "./node_modules/bootstrap/dist/js/bootstrap.js");
  29. /* harmony import */ var bootstrap__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(bootstrap__WEBPACK_IMPORTED_MODULE_0__);
  30. /* harmony import */ var _js_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../js/script */ "./assets/app/frontend/js/script.js");
  31. /* harmony import */ var _js_script__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_js_script__WEBPACK_IMPORTED_MODULE_1__);
  32. /***/ }),
  33. /***/ "./assets/app/frontend/js/script.js":
  34. /*!******************************************!*\
  35. !*** ./assets/app/frontend/js/script.js ***!
  36. \******************************************/
  37. /***/ (() => {
  38. $(document).ready(function () {
  39. menuToggle();
  40. manageFormContact();
  41. manageFormSearch();
  42. });
  43. function menuToggle() {
  44. var box = $('.menu-content');
  45. var button = $('.toggle');
  46. button.on('click', function () {
  47. box.toggle('slow');
  48. });
  49. }
  50. function manageFormSearch() {
  51. $(".dropdown-search").on("change", "input[type='checkbox']", function () {
  52. $(this).closest("li").toggleClass("active", this.checked);
  53. });
  54. $(document).on('click', '.allow-focus', function (e) {
  55. e.stopPropagation();
  56. });
  57. }
  58. function manageFormContact() {
  59. $('#contact_lccap').val('blop');
  60. $('#contact-form-btn').on('click', function () {
  61. if (checkFormValidity('#contact-form')) {
  62. $('#contact-form').fadeOut(200);
  63. $form = $('#contact-form');
  64. $.ajax({
  65. url: $form.prop('action'),
  66. method: $form.prop('method'),
  67. data: $form.serialize(),
  68. dataType: "json",
  69. success: function success(response) {
  70. $('#contact-form').html('<p class="success-post">Merci pour votre message, nous vous r&eacute;pondrons dans les plus brefs d&eacute;lais.</p>');
  71. $('#contact-form').fadeIn(500);
  72. }
  73. });
  74. }
  75. });
  76. }
  77. function checkFormValidity(formId) {
  78. if (!document.getElementById(formId.substr(1)).checkValidity()) {
  79. document.getElementById(formId.substr(1)).reportValidity();
  80. return false;
  81. } else {
  82. return true;
  83. }
  84. }
  85. /***/ }),
  86. /***/ "./assets/app/frontend/app/app.scss":
  87. /*!******************************************!*\
  88. !*** ./assets/app/frontend/app/app.scss ***!
  89. \******************************************/
  90. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  91. "use strict";
  92. __webpack_require__.r(__webpack_exports__);
  93. // extracted by mini-css-extract-plugin
  94. /***/ })
  95. },
  96. /******/ __webpack_require__ => { // webpackRuntimeModules
  97. /******/ "use strict";
  98. /******/
  99. /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
  100. /******/ __webpack_require__.O(0, ["vendors-node_modules_jquery_src_jquery_js","vendors-node_modules_popper_js_dist_esm_popper_js","vendors-node_modules_bootstrap_dist_js_bootstrap_js"], () => (__webpack_exec__("./assets/app/frontend/app/app.common.js")));
  101. /******/ var __webpack_exports__ = __webpack_require__.O();
  102. /******/ }
  103. ]);
  104. //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9hc3NldHMvYXBwL2Zyb250ZW5kL2FwcC9hcHAuY29tbW9uLmpzIiwid2VicGFjazovLy8uL2Fzc2V0cy9hcHAvZnJvbnRlbmQvYXBwL2FwcC5qcyIsIndlYnBhY2s6Ly8vLi9hc3NldHMvYXBwL2Zyb250ZW5kL2pzL3NjcmlwdC5qcyIsIndlYnBhY2s6Ly8vLi9hc3NldHMvYXBwL2Zyb250ZW5kL2FwcC9hcHAuc2NzcyJdLCJuYW1lcyI6WyIkIiwiZG9jdW1lbnQiLCJyZWFkeSIsIm1lbnVUb2dnbGUiLCJtYW5hZ2VGb3JtQ29udGFjdCIsIm1hbmFnZUZvcm1TZWFyY2giLCJib3giLCJidXR0b24iLCJvbiIsInRvZ2dsZSIsImNsb3Nlc3QiLCJ0b2dnbGVDbGFzcyIsImNoZWNrZWQiLCJlIiwic3RvcFByb3BhZ2F0aW9uIiwidmFsIiwiY2hlY2tGb3JtVmFsaWRpdHkiLCJmYWRlT3V0IiwiJGZvcm0iLCJhamF4IiwidXJsIiwicHJvcCIsIm1ldGhvZCIsImRhdGEiLCJzZXJpYWxpemUiLCJkYXRhVHlwZSIsInN1Y2Nlc3MiLCJyZXNwb25zZSIsImh0bWwiLCJmYWRlSW4iLCJmb3JtSWQiLCJnZXRFbGVtZW50QnlJZCIsInN1YnN0ciIsImNoZWNrV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