|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- (self["webpackChunk"] = self["webpackChunk"] || []).push([["adminlte-main"],{
-
- /***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/app.main.js":
- /*!********************************************************************************!*\
- !*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/app.main.js ***!
- \********************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./init.js */ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/init.js");
- /* harmony import */ var _init_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_init_js__WEBPACK_IMPORTED_MODULE_0__);
- /* harmony import */ var _common_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common.scss */ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/common.scss");
-
-
-
- /***/ }),
-
- /***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/init.js":
- /*!****************************************************************************!*\
- !*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/init.js ***!
- \****************************************************************************/
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
-
- __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "./node_modules/core-js/modules/es.regexp.exec.js");
-
- __webpack_require__(/*! core-js/modules/es.string.replace.js */ "./node_modules/core-js/modules/es.string.replace.js");
-
- window.addEventListener('load', function (event) {
- SovNotification.init();
- SovWidgets.setDateRange();
- $('.btn-confirm-js, .action-confirm').click(function () {
- return confirm('Êtes-vous sûr de vouloir réaliser cette action ?');
- });
- /* Tooltip */
-
- $('[data-toggle="tooltip"]').tooltip();
- /* Select2 */
-
- if ($('.form-select, .select2, select.form-control').length) {
- $('form .form-widget>select.form-control, .select2, .form-select').each(function (i, elm) {
- if (!$(this).hasClass('disable-select2')) {
- SovWidgets.setSelect2($(elm));
- }
- });
- $('form select.form-control').each(function (i, elm) {
- if (!$(this).hasClass('disable-select2')) {
- SovWidgets.setSelect2($(elm));
- }
- });
- }
-
- $('.action-delete').on('click', function (e) {
- e.preventDefault();
- var formAction = $(this).attr('formaction');
- $('#modal-delete').modal({
- backdrop: true,
- keyboard: true
- }).off('click', '#modal-delete-button').on('click', '#modal-delete-button', function () {
- var deleteForm = $('#delete-form');
- deleteForm.attr('action', formAction);
- deleteForm.submit();
- });
- });
- var elements = $('.lc-ckeditor');
-
- if (elements.length) {
- for (var i = 0; i < elements.length; ++i) {
- if ($(elements[i]).data('config') === 'simple_config') {
- CKEDITOR.replace(elements[i], {
- "toolbar": [{
- items: ['Bold', 'Italic', 'Underline', 'Strike']
- }, {
- items: ["TextColor"]
- }],
- "language": "fr",
- 'height': 100
- });
- } else {
- CKEDITOR.replace(elements[i], {
- "toolbar": [{
- name: "styles",
- items: ["Format", 'Bold', 'Italic', 'Underline', 'Strike', "Link", "BulletedList"]
- }, {
- items: ["TextColor"]
- }, {
- name: 'paragraph',
- items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']
- }, {
- name: 'insert',
- items: ['Image', 'SpecialChar']
- }, {
- name: "document",
- items: ["Source"]
- }],
- "language": "fr"
- });
- }
- }
- }
-
- SovWidgets.setAutoCompleteField();
- });
-
- /***/ }),
-
- /***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/common.scss":
- /*!********************************************************************************!*\
- !*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/common.scss ***!
- \********************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- // extracted by mini-css-extract-plugin
-
-
- /***/ })
-
- },
- /******/ __webpack_require__ => { // webpackRuntimeModules
- /******/ "use strict";
- /******/
- /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
- /******/ __webpack_require__.O(0, ["vendors-node_modules_core-js_internals_export_js","vendors-node_modules_core-js_modules_es_string_replace_js"], () => (__webpack_exec__("../LaClicBundle/SovBundle/Resources/assets/app/adminlte/main/app.main.js")));
- /******/ var __webpack_exports__ = __webpack_require__.O();
- /******/ }
- ]);
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi4vTGFDbGljQnVuZGxlL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9tYWluL2FwcC5tYWluLmpzIiwid2VicGFjazovLy8uLi9MYUNsaWNCdW5kbGUvU292QnVuZGxlL1Jlc291cmNlcy9hc3NldHMvYXBwL2FkbWlubHRlL21haW4vaW5pdC5qcyIsIndlYnBhY2s6Ly8vLi4vTGFDbGljQnVuZGxlL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9tYWluL2NvbW1vbi5zY3NzIl0sIm5hbWVzIjpbIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJldmVudCIsIlNvdk5vdGlmaWNhdGlvbiIsImluaXQiLCJTb3ZXaWRnZXRzIiwic2V0RGF0ZVJhbmdlIiwiJCIsImNsaWNrIiwiY29uZmlybSIsInRvb2x0aXAiLCJsZW5ndGgiLCJlYWNoIiwiaSIsImVsbSIsImhhc0NsYXNzIiwic2V0U2VsZWN0MiIsIm9uIiwiZSIsInByZXZlbnREZWZhdWx0IiwiZm9ybUFjdGlvbiIsImF0dHIiLCJtb2RhbCIsImJhY2tkcm9wIiwia2V5Ym9hcmQiLCJvZmYiLCJkZWxldGVGb3JtIiwic3VibWl0IiwiZWxlbWVudHMiLCJkYXRhIiwiQ0tFRElUT1IiLCJ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3RoOyArK2kpIHtcbiAgICAgICAgICAgIGlmICgkKGVsZW1lbnRzW2ldKS5kYXRhKCdjb25maWcnKSA9PT0gJ3NpbXBsZV9jb25maWcnKSB7XG4gICAgICAgICAgICAgICAgQ0tFRElUT1IucmVwbGFjZShlbGVtZW50c1tpXSwge1xuICAgICAgICAgICAgICAgICAgICBcInRvb2xiYXJcIjogW1xuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW1zOiBbJ0JvbGQnLCAnSXRhbGljJywgJ1VuZGVybGluZScsICdTdHJpa2UnXVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpdGVtczogW1wiVGV4dENvbG9yXCJdXG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgICAgIFwibGFuZ3VhZ2VcIjogXCJmclwiLFxuICAgICAgICAgICAgICAgICAgICAnaGVpZ2h0JzogMTAwXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIENLRURJVE9SLnJlcGxhY2UoZWxlbWVudHNbaV0sIHtcbiAgICAgICAgICAgICAgICAgICAgXCJ0b29sYmFyXCI6IFtcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuYW1lOiBcInN0eWxlc1wiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW1zOiBbXCJGb3JtYXRcIiwgJ0JvbGQnLCAnSXRhbGljJywgJ1VuZGVybGluZScsICdTdHJpa2UnLCBcIkxpbmtcIiwgXCJCdWxsZXRlZExpc3RcIl1cbiAgICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbXM6IFtcIlRleHRDb2xvclwiXVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtuYW1lOiAncGFyYWdyYXBoJywgaXRlbXM6IFsnSnVzdGlmeUxlZnQnLCAnSnVzdGlmeUNlbnRlcicsICdKdXN0aWZ5UmlnaHQnLCAnSnVzdGlmeUJsb2NrJ119LFxuICAgICAgICAgICAgICAgICAgICAgICAge25hbWU6ICdpbnNlcnQnLCBpdGVtczogWydJbWFnZScsICdTcGVjaWFsQ2hhciddfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtuYW1lOiBcImRvY3VtZW50XCIsIGl0ZW1zOiBbXCJTb3VyY2VcIl19LFxuICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgICAgICBcImxhbmd1YWdlXCI6IFwiZnJcIlxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBTb3ZXaWRnZXRzLnNldEF1dG9Db21wbGV0ZUZpZWxkKCk7XG5cblxufSk7IiwiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQge307Il0sInNvdXJjZVJvb3QiOiIifQ==
|