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6DHSJ7VQNEJW4A7QC VIHLT3MER4IMGIW3PGLFUXTYRPD55LXF5ZPWNZUKU7GKYZAPCYEAC N44CYCGQAWWGNV4D53SEJFM4UTSEZDT2YO33XGFXI2W37HQHKWDQC R2MYACHMM5BABJ3PW6CAGN2NTVO5FU2KE2U72AJ5MRDNX34MHYAAC css: {preprocessorOptions: {scss: {additionalData(source, fp) {if (fp.endsWith('app.scss')) return sourcereturn '@import "/src/app.scss";' + source},},},},
let expert = writable(data.expert)let needsSaving = derived([simulation.modified, profils_modified, prms_modified],([$mod, $profils, $prms]) => {console.log('derived', $mod)return $mod || $profils || $prms}
let expert = $derived(writable(data.expert))let needsSaving = $derived(derived([simulation.modified, profils_modified, prms_modified],([$mod, $profils, $prms]) => {console.log('derived', $mod)return $mod || $profils || $prms})
setContext('simulation', simulation)setContext('profils', writable(data.profils || []))setContext('prms', writable(data.prms || []))setContext('profils_modified', profils_modified)setContext('prms_modified', writable(data.prms || []))let communaute = writable(data.communaute)setContext('communaute', communaute)setContext('expert', expert)setContext('pvgis', writable({ pvgis: null, loading: false }))setContext('soleil',writable({hourly: {x: <string[]>[],y: <number[]>[],},daily: {x: <string[]>[],y: <number[]>[],},weekly: {
let communaute = $derived(writable(data.communaute))$effect(() => {setContext('simulation', simulation)setContext('profils', writable(data.profils || []))setContext('prms', writable(data.prms || []))setContext('profils_modified', profils_modified)setContext('prms_modified', writable(data.prms || []))setContext('communaute', communaute)setContext('expert', expert)setContext('pvgis', writable({ pvgis: null, loading: false }))setContext('soleil',writable({hourly: {x: <string[]>[],y: <number[]>[],},daily: {x: <string[]>[],y: <number[]>[],},weekly: {x: <string[]>[],y: <number[]>[],},
},x: <string[]>[],y: <number[]>[],type: 'bar',line: {color: '#ffbf00',width: 1,},marker: {color: '#ffbf00',width: 1,},name: 'Production solaire',bucket: 1,}))
type: 'bar',line: {color: '#ffbf00',width: 1,},marker: {color: '#ffbf00',width: 1,},name: 'Production solaire',bucket: 1,}))})
const puissance = simulation?.p.puissanceconst autoconso = simulation?.p.autoconsoconst autoprod = simulation?.p.autoprodconst cout = simulation?.p.cout_elecconst prix = simulation.p.prixconst apport = simulation.p.apportconst interet = simulation.p.interetconst echeances = simulation.p.echeancesconst N = simulation.N
const puissance = $derived(simulation?.p.puissance)const autoconso = $derived(simulation?.p.autoconso)const autoprod = $derived(simulation?.p.autoprod)const cout = $derived(simulation?.p.cout_elec)const prix = $derived(simulation.p.prix)const apport = $derived(simulation.p.apport)const interet = $derived(simulation.p.interet)const echeances = $derived(simulation.p.echeances)const N = $derived(simulation.N)
"@types/leaflet": "^1.9.20","@types/leaflet.fullscreen": "^3.0.3","@types/node": "^22","@types/plotly.js": "^3.0.6","@typescript-eslint/eslint-plugin": "^8.44.0","@typescript-eslint/parser": "^8.44.0","daisyui": "^5.5.18","eslint": "^9.38.0",
"@types/leaflet": "^1.9.21","@types/node": "^25.9.1","@types/plotly.js": "^3.0.10","@typescript-eslint/eslint-plugin": "^8.60.0","@typescript-eslint/parser": "^8.60.0","daisyui": "^5.5.20","eslint": "^10.4.0",
"eslint-plugin-svelte": "^3.12.4","globals": "^16.4.0","prettier": "^3.6.2","prettier-plugin-svelte": "^3.4.0","sass": "=1.77.6","sv": "^0.9.11","svelte": "^5.38.10","svelte-preprocess": "^6.0.3","tailwindcss": "^4.1.18",
"eslint-plugin-svelte": "^3.17.1","globals": "^17.6.0","prettier": "^3.8.3","prettier-plugin-svelte": "^4.0.1","sv": "^0.15.3","svelte": "^5.55.9","svelte-preprocess": "^6.0.5","tailwindcss": "^4.3.0",
"typescript": "^5.9.2","typescript-eslint": "^8.46.1","typescript-language-server": "^5.0.0","vite": "^7.1.5"
"typescript": "^6.0.3","typescript-eslint": "^8.60.0","typescript-language-server": "^5.3.0","vite": "^8.0.14"