estado del protecto como funciona en el pcpasillo

This commit is contained in:
2025-02-15 21:34:16 -03:00
parent ed3e9f6b1c
commit 3240a526bf
11 changed files with 105 additions and 214 deletions

View File

@@ -1,4 +1,4 @@
{ {
"usr":"aVO9C3PqeK1hiPCyqZCj", "usr":"u39RPWIpfVa5S67gGiNk",
"scrt":"szj58kceWG3GcRZ8P1QCQiv5tSjMI7iD5zfjneTT" "scrt":"UzNdqpwpao7Cjh3VSyvZVw7IIXW8SQ9c1F2JsttY"
} }

View File

@@ -35,59 +35,47 @@ declare module '$env/static/private' {
export const LESS: string; export const LESS: string;
export const XDG_SESSION_PATH: string; export const XDG_SESSION_PATH: string;
export const XDG_MENU_PREFIX: string; export const XDG_MENU_PREFIX: string;
export const ICEAUTHORITY: string;
export const LANGUAGE: string;
export const NODE: string; export const NODE: string;
export const LC_ADDRESS: string; export const LC_ADDRESS: string;
export const LC_NAME: string; export const LC_NAME: string;
export const SSH_AUTH_SOCK: string;
export const GRADLE_HOME: string; export const GRADLE_HOME: string;
export const SHELL_SESSION_ID: string; export const XDG_CONFIG_HOME: string;
export const MEMORY_PRESSURE_WRITE: string;
export const npm_config_local_prefix: string; export const npm_config_local_prefix: string;
export const DESKTOP_SESSION: string; export const DESKTOP_SESSION: string;
export const LC_MONETARY: string; export const LC_MONETARY: string;
export const GTK_RC_FILES: string; export const SSH_AGENT_PID: string;
export const EDITOR: string; export const EDITOR: string;
export const GTK_MODULES: string;
export const XDG_SEAT: string; export const XDG_SEAT: string;
export const PWD: string; export const PWD: string;
export const XDG_SESSION_DESKTOP: string;
export const LOGNAME: string; export const LOGNAME: string;
export const XDG_SESSION_DESKTOP: string;
export const XDG_SESSION_TYPE: string; export const XDG_SESSION_TYPE: string;
export const BUN_WHICH_IGNORE_CWD: string; export const PANEL_GDK_CORE_DEVICE_EVENTS: string;
export const SYSTEMD_EXEC_PID: string;
export const _: string; export const _: string;
export const XAUTHORITY: string; export const XAUTHORITY: string;
export const XDG_GREETER_DATA_DIR: string;
export const MOTD_SHOWN: string; export const MOTD_SHOWN: string;
export const GTK2_RC_FILES: string; export const GDM_LANG: string;
export const HOME: string; export const HOME: string;
export const LC_PAPER: string; export const LC_PAPER: string;
export const LANG: string; export const LANG: string;
export const LS_COLORS: string; export const LS_COLORS: string;
export const XDG_CURRENT_DESKTOP: string; export const XDG_CURRENT_DESKTOP: string;
export const KONSOLE_DBUS_SERVICE: string;
export const npm_package_version: string; export const npm_package_version: string;
export const MEMORY_PRESSURE_WATCH: string; export const VTE_VERSION: string;
export const WAYLAND_DISPLAY: string;
export const KONSOLE_DBUS_SESSION: string;
export const PROFILEHOME: string;
export const XDG_SEAT_PATH: string; export const XDG_SEAT_PATH: string;
export const INVOCATION_ID: string; export const XDG_CACHE_HOME: string;
export const KONSOLE_VERSION: string;
export const MANAGERPID: string;
export const INIT_CWD: string;
export const KDE_SESSION_UID: string;
export const XKB_DEFAULT_LAYOUT: string;
export const XDG_SESSION_CLASS: string; export const XDG_SESSION_CLASS: string;
export const TERM: string; export const TERM: string;
export const LC_IDENTIFICATION: string; export const LC_IDENTIFICATION: string;
export const npm_package_name: string; export const npm_package_name: string;
export const ZSH: string; export const ZSH: string;
export const USER: string; export const USER: string;
export const COLORFGBG: string;
export const QT_WAYLAND_RECONNECT: string;
export const KDE_SESSION_VERSION: string;
export const PAM_KWALLET5_LOGIN: string; export const PAM_KWALLET5_LOGIN: string;
export const DISPLAY: string; export const DISPLAY: string;
export const npm_lifecycle_event: string;
export const SHLVL: string; export const SHLVL: string;
export const PAGER: string; export const PAGER: string;
export const LC_TELEPHONE: string; export const LC_TELEPHONE: string;
@@ -101,19 +89,17 @@ declare module '$env/static/private' {
export const npm_package_json: string; export const npm_package_json: string;
export const LC_TIME: string; export const LC_TIME: string;
export const BUN_INSTALL: string; export const BUN_INSTALL: string;
export const QT_AUTO_SCREEN_SCALE_FACTOR: string; export const GTK3_MODULES: string;
export const JOURNAL_STREAM: string;
export const XDG_DATA_DIRS: string; export const XDG_DATA_DIRS: string;
export const KDE_FULL_SESSION: string;
export const BROWSER: string; export const BROWSER: string;
export const PATH: string; export const PATH: string;
export const GDMSESSION: string;
export const DBUS_SESSION_BUS_ADDRESS: string; export const DBUS_SESSION_BUS_ADDRESS: string;
export const KDE_APPLICATIONS_AS_SCOPE: string;
export const MAIL: string; export const MAIL: string;
export const npm_node_execpath: string; export const npm_node_execpath: string;
export const LC_NUMERIC: string; export const LC_NUMERIC: string;
export const OLDPWD: string; export const OLDPWD: string;
export const KONSOLE_DBUS_WINDOW: string; export const NODE_ENV: string;
} }
/** /**
@@ -154,59 +140,47 @@ declare module '$env/dynamic/private' {
LESS: string; LESS: string;
XDG_SESSION_PATH: string; XDG_SESSION_PATH: string;
XDG_MENU_PREFIX: string; XDG_MENU_PREFIX: string;
ICEAUTHORITY: string;
LANGUAGE: string;
NODE: string; NODE: string;
LC_ADDRESS: string; LC_ADDRESS: string;
LC_NAME: string; LC_NAME: string;
SSH_AUTH_SOCK: string;
GRADLE_HOME: string; GRADLE_HOME: string;
SHELL_SESSION_ID: string; XDG_CONFIG_HOME: string;
MEMORY_PRESSURE_WRITE: string;
npm_config_local_prefix: string; npm_config_local_prefix: string;
DESKTOP_SESSION: string; DESKTOP_SESSION: string;
LC_MONETARY: string; LC_MONETARY: string;
GTK_RC_FILES: string; SSH_AGENT_PID: string;
EDITOR: string; EDITOR: string;
GTK_MODULES: string;
XDG_SEAT: string; XDG_SEAT: string;
PWD: string; PWD: string;
XDG_SESSION_DESKTOP: string;
LOGNAME: string; LOGNAME: string;
XDG_SESSION_DESKTOP: string;
XDG_SESSION_TYPE: string; XDG_SESSION_TYPE: string;
BUN_WHICH_IGNORE_CWD: string; PANEL_GDK_CORE_DEVICE_EVENTS: string;
SYSTEMD_EXEC_PID: string;
_: string; _: string;
XAUTHORITY: string; XAUTHORITY: string;
XDG_GREETER_DATA_DIR: string;
MOTD_SHOWN: string; MOTD_SHOWN: string;
GTK2_RC_FILES: string; GDM_LANG: string;
HOME: string; HOME: string;
LC_PAPER: string; LC_PAPER: string;
LANG: string; LANG: string;
LS_COLORS: string; LS_COLORS: string;
XDG_CURRENT_DESKTOP: string; XDG_CURRENT_DESKTOP: string;
KONSOLE_DBUS_SERVICE: string;
npm_package_version: string; npm_package_version: string;
MEMORY_PRESSURE_WATCH: string; VTE_VERSION: string;
WAYLAND_DISPLAY: string;
KONSOLE_DBUS_SESSION: string;
PROFILEHOME: string;
XDG_SEAT_PATH: string; XDG_SEAT_PATH: string;
INVOCATION_ID: string; XDG_CACHE_HOME: string;
KONSOLE_VERSION: string;
MANAGERPID: string;
INIT_CWD: string;
KDE_SESSION_UID: string;
XKB_DEFAULT_LAYOUT: string;
XDG_SESSION_CLASS: string; XDG_SESSION_CLASS: string;
TERM: string; TERM: string;
LC_IDENTIFICATION: string; LC_IDENTIFICATION: string;
npm_package_name: string; npm_package_name: string;
ZSH: string; ZSH: string;
USER: string; USER: string;
COLORFGBG: string;
QT_WAYLAND_RECONNECT: string;
KDE_SESSION_VERSION: string;
PAM_KWALLET5_LOGIN: string; PAM_KWALLET5_LOGIN: string;
DISPLAY: string; DISPLAY: string;
npm_lifecycle_event: string;
SHLVL: string; SHLVL: string;
PAGER: string; PAGER: string;
LC_TELEPHONE: string; LC_TELEPHONE: string;
@@ -220,19 +194,17 @@ declare module '$env/dynamic/private' {
npm_package_json: string; npm_package_json: string;
LC_TIME: string; LC_TIME: string;
BUN_INSTALL: string; BUN_INSTALL: string;
QT_AUTO_SCREEN_SCALE_FACTOR: string; GTK3_MODULES: string;
JOURNAL_STREAM: string;
XDG_DATA_DIRS: string; XDG_DATA_DIRS: string;
KDE_FULL_SESSION: string;
BROWSER: string; BROWSER: string;
PATH: string; PATH: string;
GDMSESSION: string;
DBUS_SESSION_BUS_ADDRESS: string; DBUS_SESSION_BUS_ADDRESS: string;
KDE_APPLICATIONS_AS_SCOPE: string;
MAIL: string; MAIL: string;
npm_node_execpath: string; npm_node_execpath: string;
LC_NUMERIC: string; LC_NUMERIC: string;
OLDPWD: string; OLDPWD: string;
KONSOLE_DBUS_WINDOW: string; NODE_ENV: string;
[key: `PUBLIC_${string}`]: undefined; [key: `PUBLIC_${string}`]: undefined;
[key: `${string}`]: string | undefined; [key: `${string}`]: string | undefined;
} }

View File

@@ -13,8 +13,15 @@ export const dictionary = {
export const hooks = { export const hooks = {
handleError: (({ error }) => { console.error(error) }), handleError: (({ error }) => { console.error(error) }),
reroute: (() => {}) reroute: (() => {}),
transport: {}
}; };
export const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
export const hash = false;
export const decode = (type, value) => decoders[type](value);
export { default as root } from '../root.js'; export { default as root } from '../root.js';

View File

@@ -1,13 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"paths": { "paths": {},
"$lib": [
"../src/lib"
],
"$lib/*": [
"../src/lib/*"
]
},
"rootDirs": [ "rootDirs": [
"..", "..",
"./types" "./types"

Binary file not shown.

176
Front/package-lock.json generated
View File

@@ -8,21 +8,20 @@
"name": "front", "name": "front",
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"@sveltejs/kit": "^2.7.3", "@sveltestrap/sveltestrap": "^6.2.8",
"@sveltestrap/sveltestrap": "^6.2.7",
"chartjs": "^0.3.24", "chartjs": "^0.3.24",
"svelte-routing": "^2.13.0" "svelte-routing": "^2.13.0"
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/vite-plugin-svelte": "^4.0.0", "@sveltejs/vite-plugin-svelte": "^4.0.4",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"prettier": "^3.4.2", "prettier": "^3.5.0",
"prettier-plugin-svelte": "^3.3.3", "prettier-plugin-svelte": "^3.3.3",
"svelte": "^5.0.0", "svelte": "^5.20.0",
"svelte-check": "^4.0.5", "svelte-check": "^4.1.4",
"tslib": "^2.8.0", "tslib": "^2.8.1",
"typescript": "^5.6.3", "typescript": "^5.7.3",
"vite": "^5.4.10" "vite": "^5.4.14"
} }
}, },
"node_modules/@ampproject/remapping": { "node_modules/@ampproject/remapping": {
@@ -41,6 +40,7 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"dev": true,
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -88,10 +88,6 @@
"@jridgewell/sourcemap-codec": "^1.4.14" "@jridgewell/sourcemap-codec": "^1.4.14"
} }
}, },
"node_modules/@polka/url": {
"version": "1.0.0-next.28",
"license": "MIT"
},
"node_modules/@popperjs/core": { "node_modules/@popperjs/core": {
"version": "2.11.8", "version": "2.11.8",
"license": "MIT", "license": "MIT",
@@ -105,6 +101,7 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"dev": true,
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -116,44 +113,16 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"dev": true,
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
"linux" "linux"
] ]
}, },
"node_modules/@sveltejs/kit": {
"version": "2.7.3",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@types/cookie": "^0.6.0",
"cookie": "^0.6.0",
"devalue": "^5.1.0",
"esm-env": "^1.0.0",
"import-meta-resolve": "^4.1.0",
"kleur": "^4.1.5",
"magic-string": "^0.30.5",
"mrmime": "^2.0.0",
"sade": "^1.8.1",
"set-cookie-parser": "^2.6.0",
"sirv": "^3.0.0",
"tiny-glob": "^0.2.9"
},
"bin": {
"svelte-kit": "svelte-kit.js"
},
"engines": {
"node": ">=18.13"
},
"peerDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1",
"svelte": "^4.0.0 || ^5.0.0-next.0",
"vite": "^5.0.3"
}
},
"node_modules/@sveltejs/vite-plugin-svelte": { "node_modules/@sveltejs/vite-plugin-svelte": {
"version": "4.0.0", "version": "4.0.4",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@sveltejs/vite-plugin-svelte-inspector": "^3.0.0-next.0||^3.0.0", "@sveltejs/vite-plugin-svelte-inspector": "^3.0.0-next.0||^3.0.0",
@@ -173,6 +142,7 @@
}, },
"node_modules/@sveltejs/vite-plugin-svelte-inspector": { "node_modules/@sveltejs/vite-plugin-svelte-inspector": {
"version": "3.0.1", "version": "3.0.1",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"debug": "^4.3.7" "debug": "^4.3.7"
@@ -187,7 +157,7 @@
} }
}, },
"node_modules/@sveltestrap/sveltestrap": { "node_modules/@sveltestrap/sveltestrap": {
"version": "6.2.7", "version": "6.2.8",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@popperjs/core": "^2.11.8" "@popperjs/core": "^2.11.8"
@@ -201,10 +171,6 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/cookie": {
"version": "0.6.0",
"license": "MIT"
},
"node_modules/@types/estree": { "node_modules/@types/estree": {
"version": "1.0.6", "version": "1.0.6",
"license": "MIT" "license": "MIT"
@@ -258,15 +224,16 @@
"url": "https://paulmillr.com/funding/" "url": "https://paulmillr.com/funding/"
} }
}, },
"node_modules/cookie": { "node_modules/clsx": {
"version": "0.6.0", "version": "2.1.1",
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">= 0.6" "node": ">=6"
} }
}, },
"node_modules/debug": { "node_modules/debug": {
"version": "4.3.7", "version": "4.3.7",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ms": "^2.1.3" "ms": "^2.1.3"
@@ -282,17 +249,15 @@
}, },
"node_modules/deepmerge": { "node_modules/deepmerge": {
"version": "4.3.1", "version": "4.3.1",
"dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/devalue": {
"version": "5.1.1",
"license": "MIT"
},
"node_modules/esbuild": { "node_modules/esbuild": {
"version": "0.21.5", "version": "0.21.5",
"dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -328,15 +293,14 @@
} }
}, },
"node_modules/esm-env": { "node_modules/esm-env": {
"version": "1.0.0", "version": "1.2.2",
"license": "MIT" "license": "MIT"
}, },
"node_modules/esrap": { "node_modules/esrap": {
"version": "1.2.2", "version": "1.4.4",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.15", "@jridgewell/sourcemap-codec": "^1.4.15"
"@types/estree": "^1.0.1"
} }
}, },
"node_modules/fdir": { "node_modules/fdir": {
@@ -352,31 +316,16 @@
} }
} }
}, },
"node_modules/globalyzer": {
"version": "0.1.0",
"license": "MIT"
},
"node_modules/globrex": {
"version": "0.1.2",
"license": "MIT"
},
"node_modules/import-meta-resolve": {
"version": "4.1.0",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
},
"node_modules/is-reference": { "node_modules/is-reference": {
"version": "3.0.2", "version": "3.0.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/estree": "*" "@types/estree": "^1.0.6"
} }
}, },
"node_modules/kleur": { "node_modules/kleur": {
"version": "4.1.5", "version": "4.1.5",
"dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=6" "node": ">=6"
@@ -395,24 +344,20 @@
}, },
"node_modules/mri": { "node_modules/mri": {
"version": "1.2.0", "version": "1.2.0",
"dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/mrmime": {
"version": "2.0.0",
"license": "MIT",
"engines": {
"node": ">=10"
}
},
"node_modules/ms": { "node_modules/ms": {
"version": "2.1.3", "version": "2.1.3",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/nanoid": { "node_modules/nanoid": {
"version": "3.3.7", "version": "3.3.7",
"dev": true,
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
@@ -429,10 +374,12 @@
}, },
"node_modules/picocolors": { "node_modules/picocolors": {
"version": "1.1.0", "version": "1.1.0",
"dev": true,
"license": "ISC" "license": "ISC"
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.4.47", "version": "8.4.47",
"dev": true,
"funding": [ "funding": [
{ {
"type": "opencollective", "type": "opencollective",
@@ -458,9 +405,7 @@
} }
}, },
"node_modules/prettier": { "node_modules/prettier": {
"version": "3.4.2", "version": "3.5.0",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz",
"integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -475,8 +420,6 @@
}, },
"node_modules/prettier-plugin-svelte": { "node_modules/prettier-plugin-svelte": {
"version": "3.3.3", "version": "3.3.3",
"resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.3.3.tgz",
"integrity": "sha512-yViK9zqQ+H2qZD1w/bH7W8i+bVfKrD8GIFjkFe4Thl6kCT9SlAsXVNmt3jCvQOCsnOhcvYgsoVlRV/Eu6x5nNw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"peerDependencies": { "peerDependencies": {
@@ -498,6 +441,7 @@
}, },
"node_modules/rollup": { "node_modules/rollup": {
"version": "4.24.0", "version": "4.24.0",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/estree": "1.0.6" "@types/estree": "1.0.6"
@@ -531,6 +475,7 @@
}, },
"node_modules/sade": { "node_modules/sade": {
"version": "1.8.1", "version": "1.8.1",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"mri": "^1.1.0" "mri": "^1.1.0"
@@ -539,31 +484,16 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/set-cookie-parser": {
"version": "2.7.0",
"license": "MIT"
},
"node_modules/sirv": {
"version": "3.0.0",
"license": "MIT",
"dependencies": {
"@polka/url": "^1.0.0-next.24",
"mrmime": "^2.0.0",
"totalist": "^3.0.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/source-map-js": { "node_modules/source-map-js": {
"version": "1.2.1", "version": "1.2.1",
"dev": true,
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/svelte": { "node_modules/svelte": {
"version": "5.1.9", "version": "5.20.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@ampproject/remapping": "^2.3.0", "@ampproject/remapping": "^2.3.0",
@@ -573,9 +503,10 @@
"acorn-typescript": "^1.4.13", "acorn-typescript": "^1.4.13",
"aria-query": "^5.3.1", "aria-query": "^5.3.1",
"axobject-query": "^4.1.0", "axobject-query": "^4.1.0",
"esm-env": "^1.0.0", "clsx": "^2.1.1",
"esrap": "^1.2.2", "esm-env": "^1.2.1",
"is-reference": "^3.0.2", "esrap": "^1.4.3",
"is-reference": "^3.0.3",
"locate-character": "^3.0.0", "locate-character": "^3.0.0",
"magic-string": "^0.30.11", "magic-string": "^0.30.11",
"zimmerframe": "^1.1.2" "zimmerframe": "^1.1.2"
@@ -585,7 +516,7 @@
} }
}, },
"node_modules/svelte-check": { "node_modules/svelte-check": {
"version": "4.0.5", "version": "4.1.4",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -610,28 +541,13 @@
"version": "2.13.0", "version": "2.13.0",
"license": "MIT" "license": "MIT"
}, },
"node_modules/tiny-glob": {
"version": "0.2.9",
"license": "MIT",
"dependencies": {
"globalyzer": "0.1.0",
"globrex": "^0.1.2"
}
},
"node_modules/totalist": {
"version": "3.0.1",
"license": "MIT",
"engines": {
"node": ">=6"
}
},
"node_modules/tslib": { "node_modules/tslib": {
"version": "2.8.0", "version": "2.8.1",
"dev": true, "dev": true,
"license": "0BSD" "license": "0BSD"
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.6.3", "version": "5.7.3",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
@@ -643,7 +559,8 @@
} }
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "5.4.10", "version": "5.4.14",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"esbuild": "^0.21.3", "esbuild": "^0.21.3",
@@ -701,6 +618,7 @@
}, },
"node_modules/vitefu": { "node_modules/vitefu": {
"version": "1.0.3", "version": "1.0.3",
"dev": true,
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
"tests/deps/*", "tests/deps/*",

View File

@@ -10,21 +10,19 @@
"check": "svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.node.json" "check": "svelte-check --tsconfig ./tsconfig.json && tsc -p tsconfig.node.json"
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/vite-plugin-svelte": "^4.0.0", "@sveltejs/vite-plugin-svelte": "^4.0.4",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"prettier": "^3.4.2", "prettier": "^3.5.0",
"prettier-plugin-svelte": "^3.3.3", "prettier-plugin-svelte": "^3.3.3",
"svelte": "^5.0.0", "svelte": "^5.20.0",
"svelte-check": "^4.0.5", "svelte-check": "^4.1.4",
"tslib": "^2.8.0", "tslib": "^2.8.1",
"typescript": "^5.6.3", "typescript": "^5.7.3",
"vite": "^5.4.10" "vite": "^5.4.14"
}, },
"dependencies": { "dependencies": {
"@sveltejs/kit": "^2.7.3", "@sveltestrap/sveltestrap": "^6.2.8",
"@sveltestrap/sveltestrap": "^6.2.7",
"chartjs": "^0.3.24", "chartjs": "^0.3.24",
"svelte-chartjs": "^3.1.5",
"svelte-routing": "^2.13.0" "svelte-routing": "^2.13.0"
} }
} }

View File

@@ -8,7 +8,6 @@
import {urlG} from "../stores/urlStore" import {urlG} from "../stores/urlStore"
import type { PropiedadDto } from "../types"; import type { PropiedadDto } from "../types";
import BarraHorizontalConTexto from "../Componentes/BarraHorizontalConTexto.svelte"; import BarraHorizontalConTexto from "../Componentes/BarraHorizontalConTexto.svelte";
import { text } from "@sveltejs/kit";
let showButton = $state(false); let showButton = $state(false);

View File

@@ -9,11 +9,7 @@
import ModalPrecontrato from "../Componentes/ModalPrecontrato.svelte"; import ModalPrecontrato from "../Componentes/ModalPrecontrato.svelte";
import ModalAddGarantes from "../Componentes/ModalAddGarantes.svelte"; import ModalAddGarantes from "../Componentes/ModalAddGarantes.svelte";
import ModalCheckYContrato from "../Componentes/ModalCheckYContrato.svelte"; import ModalCheckYContrato from "../Componentes/ModalCheckYContrato.svelte";
import { self } from "svelte/legacy";
import ModalVeryAceptarContrato from "../Componentes/ModalVeryAceptarContrato.svelte"; import ModalVeryAceptarContrato from "../Componentes/ModalVeryAceptarContrato.svelte";
import { getRequest } from "@sveltejs/kit/node";
import { json } from "@sveltejs/kit";
import { Accordion } from "@sveltestrap/sveltestrap";
const token = sessionStorage.getItem("token"); const token = sessionStorage.getItem("token");
let mensajes: MensajeDto[] = $state([]); let mensajes: MensajeDto[] = $state([]);

View File

@@ -1,3 +1,3 @@
import { readable, type Readable } from 'svelte/store'; import { readable, type Readable } from 'svelte/store';
export const urlG: Readable<string> = readable('http://localhost:5007'); export const urlG: Readable<string> = readable('https://fedesrv.ddns.net');

View File

@@ -4,4 +4,12 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [svelte()], plugins: [svelte()],
ssr: {
noExternal: ['@sveltejs/kit']
},
resolve: {
alias: {
'node:stream': 'stream'
}
}
}) })