Publier Globinours 1.0.0-rc.3
This commit is contained in:
parent
ea8c24d622
commit
9a2b4068da
30 changed files with 38230 additions and 20 deletions
16
public/.htaccess
Normal file
16
public/.htaccess
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
DirectoryIndex index.php
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^ index.php [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_negotiation.c>
|
||||
Options -MultiViews
|
||||
</IfModule>
|
||||
|
||||
<FilesMatch "^\.">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
5
public/.user.ini
Normal file
5
public/.user.ini
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
upload_max_filesize = 250M
|
||||
post_max_size = 260M
|
||||
max_execution_time = 600
|
||||
max_input_time = 600
|
||||
memory_limit = 512M
|
||||
16
public/assets/accounting.js
Normal file
16
public/assets/accounting.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
document.addEventListener('DOMContentLoaded',()=>{
|
||||
if(location.pathname!=='/accounting')return;
|
||||
const filterForm=document.querySelector('form[action="/accounting"]');
|
||||
const invoiceForm=document.querySelector('form[action="/accounting/save"]');
|
||||
if(filterForm&&invoiceForm)invoiceForm.closest('.card')?.after(filterForm);
|
||||
const structuresTitle=[...document.querySelectorAll('.card-title')].find(node=>node.textContent.trim()==='Coût et paiements par structure');
|
||||
structuresTitle?.closest('.col-xl-7')?.classList.add('accounting-dashboard-structures');
|
||||
const canvas=document.getElementById('accountingAnnualChart');
|
||||
if(canvas&&window.Chart){const rows=JSON.parse(canvas.dataset.series||'[]');new Chart(canvas,{type:'bar',data:{labels:rows.map(r=>r.year),datasets:[{label:'Payé',data:rows.map(r=>(r.billed-r.due)/100),backgroundColor:'rgba(47,179,68,.72)'},{label:'Reste dû',data:rows.map(r=>r.due/100),backgroundColor:'rgba(245,159,0,.75)'}]},options:{responsive:true,maintainAspectRatio:false,scales:{x:{stacked:true},y:{stacked:true,beginAtZero:true,ticks:{callback:v=>v.toLocaleString('fr-FR')+' €'}}},plugins:{tooltip:{callbacks:{label:c=>c.dataset.label+' : '+c.parsed.y.toLocaleString('fr-FR',{minimumFractionDigits:2})+' €'}}}}});}
|
||||
document.querySelectorAll('.table tbody tr').forEach(row=>{
|
||||
const reference=row.cells[1]?.textContent.trim();if(!reference)return;
|
||||
row.classList.add('cursor-pointer');row.tabIndex=0;
|
||||
const open=event=>{if(event.target.closest('a,button,input,select'))return;if(event.type==='keydown'&&!['Enter',' '].includes(event.key))return;location.href='/accounting/edit-by-reference?reference='+encodeURIComponent(reference);};
|
||||
row.addEventListener('click',open);row.addEventListener('keydown',open);
|
||||
});
|
||||
});
|
||||
251
public/assets/app-shell.css
Normal file
251
public/assets/app-shell.css
Normal file
|
|
@ -0,0 +1,251 @@
|
|||
/* Globinours — structure visuelle commune */
|
||||
.coat-swatch {
|
||||
display:inline-block;
|
||||
width:1rem;
|
||||
height:1rem;
|
||||
flex:0 0 1rem;
|
||||
border:1px solid rgba(98,105,118,.35);
|
||||
border-radius:50%;
|
||||
box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);
|
||||
vertical-align:-.15rem;
|
||||
}
|
||||
|
||||
body,
|
||||
.page {
|
||||
background:
|
||||
radial-gradient(circle at 10% 10%, rgba(205, 167, 98, .14), transparent 32rem),
|
||||
radial-gradient(circle at 90% 90%, rgba(180, 139, 78, .09), transparent 28rem),
|
||||
#f7f3eb;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.page > .navbar {
|
||||
position: relative;
|
||||
z-index: 1050;
|
||||
overflow: visible;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
padding-top: .75rem;
|
||||
}
|
||||
|
||||
.topbar-surface {
|
||||
height: 80px;
|
||||
background: rgba(255, 255, 255, .94);
|
||||
border: 1px solid rgba(98, 105, 118, .14);
|
||||
border-radius: .75rem;
|
||||
box-shadow: 0 3px 14px rgba(31, 42, 68, .06);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.settings-dropdown {
|
||||
position: relative;
|
||||
z-index: 1060;
|
||||
}
|
||||
|
||||
.search-trigger-wrap {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-right: .65rem;
|
||||
}
|
||||
|
||||
.search-trigger {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
padding: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--tblr-secondary, #626976);
|
||||
background: rgba(98, 105, 118, .06);
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
transition: color .15s ease, background-color .15s ease, transform .15s ease;
|
||||
}
|
||||
|
||||
.search-trigger:hover,
|
||||
.search-trigger:focus-visible {
|
||||
color: var(--tblr-primary, #206bc4);
|
||||
background: rgba(32, 107, 196, .12);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.search-trigger .icon {
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.settings-trigger {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
min-height: 48px;
|
||||
padding: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--tblr-dark, #1d273b);
|
||||
background: transparent;
|
||||
border-color: var(--tblr-dark, #1d273b);
|
||||
}
|
||||
|
||||
.settings-trigger:focus {
|
||||
color: var(--tblr-dark, #1d273b);
|
||||
background: transparent;
|
||||
border-color: var(--tblr-dark, #1d273b);
|
||||
}
|
||||
|
||||
.settings-trigger:hover,
|
||||
.settings-trigger.show,
|
||||
.settings-trigger.show:focus {
|
||||
color: #fff;
|
||||
background: var(--tblr-dark, #1d273b);
|
||||
border-color: var(--tblr-dark, #1d273b);
|
||||
}
|
||||
|
||||
.settings-dropdown .dropdown-menu {
|
||||
z-index: 2000;
|
||||
min-width: 220px;
|
||||
}
|
||||
.settings-dropdown .dropdown-menu.settings-menu-wide {
|
||||
width: min(560px, calc(100vw - 1.5rem));
|
||||
}
|
||||
.settings-menu-columns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0;
|
||||
padding: .25rem .5rem;
|
||||
}
|
||||
.settings-menu-column {
|
||||
min-width: 0;
|
||||
padding: 0 .35rem;
|
||||
}
|
||||
.settings-menu-column + .settings-menu-column {
|
||||
border-left: 1px solid rgba(98,105,118,.16);
|
||||
padding-left: .85rem;
|
||||
}
|
||||
.settings-menu-group + .settings-menu-group {
|
||||
margin-top: .65rem;
|
||||
padding-top: .55rem;
|
||||
border-top: 1px solid rgba(98,105,118,.12);
|
||||
}
|
||||
.settings-menu-group .dropdown-header {
|
||||
padding-inline: .65rem;
|
||||
}
|
||||
.settings-menu-group .dropdown-item {
|
||||
border-radius: var(--tblr-border-radius);
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.settings-section-nav .btn {
|
||||
min-height: 48px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
.settings-nav-group{padding-right:1rem;border-right:1px solid rgba(98,105,118,.16)}.settings-nav-group:last-child{padding-right:0;border-right:0}
|
||||
|
||||
.paw-footer {
|
||||
height: 130px;
|
||||
flex: 0 0 130px;
|
||||
margin-top: 1.5rem;
|
||||
pointer-events: none;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='84' viewBox='0 0 120 84'%3E%3Cg fill='%23a97f45' opacity='.22' transform='translate(12 9) rotate(-12 22 22)'%3E%3Cellipse cx='21' cy='31' rx='13' ry='10'/%3E%3Cellipse cx='8' cy='17' rx='5' ry='7'/%3E%3Cellipse cx='19' cy='10' rx='5' ry='7'/%3E%3Cellipse cx='31' cy='12' rx='5' ry='7'/%3E%3Cellipse cx='39' cy='23' rx='5' ry='7'/%3E%3C/g%3E%3Cg fill='%23a97f45' opacity='.14' transform='translate(72 43) rotate(14 18 18) scale(.78)'%3E%3Cellipse cx='21' cy='31' rx='13' ry='10'/%3E%3Cellipse cx='8' cy='17' rx='5' ry='7'/%3E%3Cellipse cx='19' cy='10' rx='5' ry='7'/%3E%3Cellipse cx='31' cy='12' rx='5' ry='7'/%3E%3Cellipse cx='39' cy='23' rx='5' ry='7'/%3E%3C/g%3E%3C/svg%3E");
|
||||
background-repeat: repeat;
|
||||
background-position: center bottom;
|
||||
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%, #000);
|
||||
mask-image: linear-gradient(to bottom, transparent, #000 45%, #000);
|
||||
}
|
||||
|
||||
.globinours-footer { margin-top: 2rem; }
|
||||
.footer-surface { position: relative; z-index: 1; padding: .85rem 1rem; border: 1px solid rgba(169,127,69,.2); border-radius: .8rem; background: rgba(255,255,255,.78); box-shadow: 0 .2rem .8rem rgba(75,57,36,.05); backdrop-filter: blur(5px); }
|
||||
.globinours-footer .paw-footer { margin-top: -1.5rem; }
|
||||
.footer-meta { font-size: .78rem; color: var(--tblr-secondary); }
|
||||
.footer-version { background: rgba(169,127,69,.12); color: #76552d; border: 1px solid rgba(169,127,69,.2); }
|
||||
.footer-source { display: inline-flex; align-items: center; gap: .3rem; color: inherit; text-decoration: none; }
|
||||
.footer-source:hover { color: var(--tblr-primary); text-decoration: none; }
|
||||
.footer-source .icon { width: 16px; height: 16px; margin: 0; }
|
||||
.breton-flag { position: relative; display: inline-block; width: 23px; height: 15px; overflow: hidden; border: 1px solid rgba(0,0,0,.3); border-radius: 2px; vertical-align: middle; box-shadow: 0 1px 2px rgba(0,0,0,.12); background: repeating-linear-gradient(to bottom,#111 0,#111 1.66px,#fff 1.66px,#fff 3.32px); }
|
||||
.breton-flag::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 9px; height: 8.3px; background-color: #fff; background-image: radial-gradient(circle,#111 0,#111 .8px,transparent .9px); background-size: 3px 3px; }
|
||||
|
||||
.page-header {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.page-header::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -.35rem 0 -.75rem;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
opacity: .42;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='84' viewBox='0 0 120 84'%3E%3Cg fill='%23a97f45' opacity='.22' transform='translate(12 9) rotate(-12 22 22)'%3E%3Cellipse cx='21' cy='31' rx='13' ry='10'/%3E%3Cellipse cx='8' cy='17' rx='5' ry='7'/%3E%3Cellipse cx='19' cy='10' rx='5' ry='7'/%3E%3Cellipse cx='31' cy='12' rx='5' ry='7'/%3E%3Cellipse cx='39' cy='23' rx='5' ry='7'/%3E%3C/g%3E%3Cg fill='%23a97f45' opacity='.14' transform='translate(72 43) rotate(14 18 18) scale(.78)'%3E%3Cellipse cx='21' cy='31' rx='13' ry='10'/%3E%3Cellipse cx='8' cy='17' rx='5' ry='7'/%3E%3Cellipse cx='19' cy='10' rx='5' ry='7'/%3E%3Cellipse cx='31' cy='12' rx='5' ry='7'/%3E%3Cellipse cx='39' cy='23' rx='5' ry='7'/%3E%3C/g%3E%3C/svg%3E");
|
||||
background-repeat: repeat;
|
||||
background-position: 37px top;
|
||||
-webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
|
||||
mask-image: linear-gradient(to bottom, #000, transparent 90%);
|
||||
}
|
||||
|
||||
.page-header > .container-xl {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* pins custom façon “pastille” */
|
||||
.twix-pin{
|
||||
width:18px; height:18px;
|
||||
border-radius:50%;
|
||||
border:3px solid #fff;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,.25);
|
||||
}
|
||||
.twix-pin.rescue{ background:#1e88e5; } /* bleu */
|
||||
.twix-pin.current{ background:#43a047; } /* vert */
|
||||
|
||||
.leaflet-div-icon{
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* petite légende dans la carte */
|
||||
.twix-map-legend{
|
||||
background: rgba(255,255,255,.92);
|
||||
border-radius: 10px;
|
||||
padding: 8px 10px;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,.12);
|
||||
font-size: 12px;
|
||||
}
|
||||
.twix-map-legend .row{
|
||||
display:flex; align-items:center; gap:8px; margin:4px 0;
|
||||
}
|
||||
.twix-map-legend .dot{
|
||||
width:20px; height:20px; border-radius:50%;
|
||||
border:2px solid #fff;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,.2);
|
||||
}
|
||||
.twix-map-legend .dot.rescue{ background:#1e88e5; }
|
||||
.twix-map-legend .dot.current{ background:#43a047; }
|
||||
.twix-map-legend .line{
|
||||
width:18px; height:0; border-top:3px dashed #1e88e5;
|
||||
opacity:.8;
|
||||
}
|
||||
|
||||
/****** CUSTOM *****/
|
||||
|
||||
.nav-tabs-alt .nav-link {
|
||||
font-weight: 500;
|
||||
padding: 0.75rem 1.1rem;
|
||||
}
|
||||
|
||||
.nav-tabs-alt .nav-link.active {
|
||||
border-bottom: 3px solid var(--tblr-primary);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/****** END CUSTOM *****/
|
||||
|
||||
1
public/assets/cat_placeholder.svg
Normal file
1
public/assets/cat_placeholder.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 7 KiB |
61
public/assets/global-search.js
Normal file
61
public/assets/global-search.js
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
(() => {
|
||||
const modal = document.getElementById('globalSearchModal');
|
||||
const input = document.getElementById('globalSearchInput');
|
||||
const results = document.getElementById('globalSearchResults');
|
||||
if (!modal || !input || !results) return;
|
||||
|
||||
const labels = modal.dataset;
|
||||
let groups = {};
|
||||
try { groups = JSON.parse(labels.groups || '{}'); } catch {}
|
||||
let timer;
|
||||
let request;
|
||||
const escapeText = value => {
|
||||
const node = document.createElement('span');
|
||||
node.textContent = String(value ?? '');
|
||||
return node.innerHTML;
|
||||
};
|
||||
const notice = (message, danger = false) =>
|
||||
'<div class="' + (danger ? 'text-danger' : 'text-muted') + ' text-center py-4">' + escapeText(message) + '</div>';
|
||||
|
||||
document.addEventListener('keydown', event => {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {
|
||||
event.preventDefault();
|
||||
bootstrap.Modal.getOrCreateInstance(modal).show();
|
||||
}
|
||||
});
|
||||
modal.addEventListener('shown.bs.modal', () => input.focus());
|
||||
input.addEventListener('input', () => {
|
||||
clearTimeout(timer);
|
||||
const query = input.value.trim();
|
||||
if (query.length < 2) {
|
||||
results.innerHTML = notice(labels.hint);
|
||||
return;
|
||||
}
|
||||
timer = setTimeout(async () => {
|
||||
request?.abort();
|
||||
request = new AbortController();
|
||||
results.innerHTML = notice(labels.loading);
|
||||
try {
|
||||
const response = await fetch('/search.json?q=' + encodeURIComponent(query), {
|
||||
signal: request.signal,
|
||||
headers: {Accept: 'application/json'}
|
||||
});
|
||||
if (!response.ok) throw new Error('Search failed');
|
||||
const data = await response.json();
|
||||
const entries = Object.entries(data.groups || {});
|
||||
if (!entries.length) {
|
||||
results.innerHTML = notice(labels.none);
|
||||
return;
|
||||
}
|
||||
results.innerHTML = entries.map(([group, items]) =>
|
||||
'<div class="mb-3"><div class="subheader mb-1">' + escapeText(groups[group] || group) + '</div>' +
|
||||
items.map(item => '<a class="list-group-item list-group-item-action" href="' + escapeText(item.url) + '"><strong>' + escapeText(item.title) + '</strong><div class="text-muted small">' + escapeText(item.detail) + '</div></a>').join('') +
|
||||
'</div>'
|
||||
).join('') + '<a class="btn btn-outline-primary" href="/search?q=' + encodeURIComponent(query) + '">' + escapeText(labels.allResults) + '</a>';
|
||||
} catch (error) {
|
||||
if (error.name !== 'AbortError') results.innerHTML = notice(labels.error, true);
|
||||
}
|
||||
}, 220);
|
||||
});
|
||||
})();
|
||||
|
||||
BIN
public/assets/logo-globinours-64.png
Normal file
BIN
public/assets/logo-globinours-64.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.5 KiB |
5
public/assets/mobile.css
Normal file
5
public/assets/mobile.css
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
html{scroll-padding-top:1rem}img{max-width:100%}.table-responsive{overscroll-behavior-inline:contain}.nav-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.nav-tabs .nav-link{white-space:nowrap}.modal-dialog-scrollable{max-height:calc(100dvh - 1rem)}
|
||||
@media(max-width:991.98px){.page>.navbar{padding:.5rem}.topbar-surface{height:auto;min-height:72px;padding:.55rem;gap:.5rem}.topbar-surface>.navbar-brand{flex:0 0 auto}.topbar-surface>.navbar-nav{min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:.2rem}.topbar-surface>.navbar-nav>.btn,.topbar-surface>.navbar-nav>.dropdown{flex:0 0 auto}.page-header{padding-top:.5rem}.page-body{margin-top:.75rem}.settings-section-nav{flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:.35rem}.footer-surface{align-items:flex-start!important}.page-title{font-size:1.15rem}}
|
||||
@media(max-width:767.98px){body,.page{background-attachment:scroll}.container-xl{padding-left:.75rem;padding-right:.75rem}.topbar-surface .navbar-brand img{width:42px;height:44px}.topbar-surface .navbar-brand span span:last-child{display:none}.topbar-surface>.navbar-nav{gap:.25rem}.topbar-surface>.navbar-nav>.btn{min-width:44px;height:46px;padding:.45rem;white-space:nowrap;margin-right:.25rem!important}.settings-trigger{width:46px;height:46px;margin-right:0!important}.settings-dropdown .dropdown-menu{position:fixed!important;inset:auto .75rem .75rem .75rem!important;width:auto!important;max-height:75dvh;overflow-y:auto;transform:none!important}.settings-menu-columns{grid-template-columns:1fr}.settings-menu-column{padding:.15rem .35rem}.settings-menu-column+.settings-menu-column{border-left:0;border-top:1px solid rgba(98,105,118,.16);margin-top:.65rem;padding-top:.65rem;padding-left:.35rem}.card-header,.card-body,.card-footer{padding-left:.85rem;padding-right:.85rem}.btn{min-height:44px}.btn-sm{min-height:40px}input.form-control,select.form-select,textarea.form-control{font-size:16px}.modal-dialog{margin:.5rem}.modal-content{max-height:calc(100dvh - 1rem)}.modal-body{overflow-y:auto}.footer-meta{gap:.65rem!important}.paw-footer{height:80px;flex-basis:80px}}
|
||||
@media(max-width:420px){.topbar-surface .navbar-brand span{display:none}.topbar-surface .navbar-brand img{margin-right:0!important}.footer-surface{font-size:.9rem}}
|
||||
@media(display-mode:standalone){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.page>.navbar{position:sticky;top:env(safe-area-inset-top);background:#f7f3eb;z-index:1050}}
|
||||
2
public/assets/pwa.js
Normal file
2
public/assets/pwa.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
if('serviceWorker'in navigator&&location.protocol==='https:')window.addEventListener('load',()=>navigator.serviceWorker.register('/service-worker.js',{scope:'/'}).catch(()=>{}));
|
||||
document.addEventListener('DOMContentLoaded',()=>{const logout=document.querySelector('.settings-dropdown form[action="/logout"]');if(!logout||logout.parentElement.querySelector('[href="/account/devices"]'))return;const link=document.createElement('a');link.className='dropdown-item';link.href='/account/devices';link.textContent=(document.documentElement.lang==='en'?'📱 Trusted devices':'📱 Appareils connectés');logout.before(link);});
|
||||
9
public/assets/vendor/chartjs/LICENSE.md
vendored
Normal file
9
public/assets/vendor/chartjs/LICENSE.md
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2022 Chart.js Contributors
|
||||
|
||||
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.
|
||||
20
public/assets/vendor/chartjs/chart.umd.min.js
vendored
Normal file
20
public/assets/vendor/chartjs/chart.umd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
21
public/assets/vendor/flatpickr/LICENSE.md
vendored
Normal file
21
public/assets/vendor/flatpickr/LICENSE.md
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Gregory Petrosyan
|
||||
|
||||
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.
|
||||
13
public/assets/vendor/flatpickr/flatpickr.min.css
vendored
Normal file
13
public/assets/vendor/flatpickr/flatpickr.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
public/assets/vendor/flatpickr/flatpickr.min.js
vendored
Normal file
2
public/assets/vendor/flatpickr/flatpickr.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
75
public/assets/vendor/flatpickr/l10n/fr.js
vendored
Normal file
75
public/assets/vendor/flatpickr/l10n/fr.js
vendored
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
||||
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.fr = {}));
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
||||
? window.flatpickr
|
||||
: {
|
||||
l10ns: {},
|
||||
};
|
||||
var French = {
|
||||
firstDayOfWeek: 1,
|
||||
weekdays: {
|
||||
shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
|
||||
longhand: [
|
||||
"dimanche",
|
||||
"lundi",
|
||||
"mardi",
|
||||
"mercredi",
|
||||
"jeudi",
|
||||
"vendredi",
|
||||
"samedi",
|
||||
],
|
||||
},
|
||||
months: {
|
||||
shorthand: [
|
||||
"janv",
|
||||
"févr",
|
||||
"mars",
|
||||
"avr",
|
||||
"mai",
|
||||
"juin",
|
||||
"juil",
|
||||
"août",
|
||||
"sept",
|
||||
"oct",
|
||||
"nov",
|
||||
"déc",
|
||||
],
|
||||
longhand: [
|
||||
"janvier",
|
||||
"février",
|
||||
"mars",
|
||||
"avril",
|
||||
"mai",
|
||||
"juin",
|
||||
"juillet",
|
||||
"août",
|
||||
"septembre",
|
||||
"octobre",
|
||||
"novembre",
|
||||
"décembre",
|
||||
],
|
||||
},
|
||||
ordinal: function (nth) {
|
||||
if (nth > 1)
|
||||
return "";
|
||||
return "er";
|
||||
},
|
||||
rangeSeparator: " au ",
|
||||
weekAbbreviation: "Sem",
|
||||
scrollTitle: "Défiler pour augmenter la valeur",
|
||||
toggleTitle: "Cliquer pour basculer",
|
||||
time_24hr: true,
|
||||
};
|
||||
fp.l10ns.fr = French;
|
||||
var fr = fp.l10ns;
|
||||
|
||||
exports.French = French;
|
||||
exports.default = fr;
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
})));
|
||||
26
public/assets/vendor/leaflet/LICENSE
vendored
Normal file
26
public/assets/vendor/leaflet/LICENSE
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
BSD 2-Clause License
|
||||
|
||||
Copyright (c) 2010-2023, Volodymyr Agafonkin
|
||||
Copyright (c) 2010-2011, CloudMade
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
BIN
public/assets/vendor/leaflet/images/layers-2x.png
vendored
Normal file
BIN
public/assets/vendor/leaflet/images/layers-2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/assets/vendor/leaflet/images/layers.png
vendored
Normal file
BIN
public/assets/vendor/leaflet/images/layers.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 696 B |
BIN
public/assets/vendor/leaflet/images/marker-icon-2x.png
vendored
Normal file
BIN
public/assets/vendor/leaflet/images/marker-icon-2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/assets/vendor/leaflet/images/marker-icon.png
vendored
Normal file
BIN
public/assets/vendor/leaflet/images/marker-icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue