| @ -0,0 +1,111 @@ | |||||
| { | |||||
| "name": "no-name", | |||||
| "license": "UNLICENSED", | |||||
| "type": "module", | |||||
| "dependencies": { | |||||
| "@polymer/polymer": "3.5.1", | |||||
| "@vaadin/bundles": "24.4.5", | |||||
| "@vaadin/common-frontend": "0.0.19", | |||||
| "@vaadin/polymer-legacy-adapter": "24.4.5", | |||||
| "@vaadin/react-components": "24.4.5", | |||||
| "@vaadin/react-components-pro": "24.4.5", | |||||
| "@vaadin/router": "1.7.5", | |||||
| "@vaadin/vaadin-development-mode-detector": "2.0.7", | |||||
| "@vaadin/vaadin-lumo-styles": "24.4.5", | |||||
| "@vaadin/vaadin-material-styles": "24.4.5", | |||||
| "@vaadin/vaadin-themable-mixin": "24.4.5", | |||||
| "@vaadin/vaadin-usage-statistics": "2.1.2", | |||||
| "construct-style-sheets-polyfill": "3.1.0", | |||||
| "date-fns": "2.29.3", | |||||
| "lit": "3.1.4", | |||||
| "proj4": "2.11.0", | |||||
| "react": "18.3.1", | |||||
| "react-dom": "18.3.1", | |||||
| "react-router-dom": "6.23.1" | |||||
| }, | |||||
| "devDependencies": { | |||||
| "@babel/preset-react": "7.24.7", | |||||
| "@rollup/plugin-replace": "5.0.7", | |||||
| "@rollup/pluginutils": "5.1.0", | |||||
| "@types/react": "18.3.3", | |||||
| "@types/react-dom": "18.3.0", | |||||
| "@vitejs/plugin-react": "4.3.1", | |||||
| "async": "3.2.5", | |||||
| "glob": "10.4.1", | |||||
| "rollup-plugin-brotli": "3.1.0", | |||||
| "rollup-plugin-visualizer": "5.12.0", | |||||
| "strip-css-comments": "5.0.0", | |||||
| "transform-ast": "2.4.4", | |||||
| "typescript": "5.4.5", | |||||
| "vite": "5.3.3", | |||||
| "vite-plugin-checker": "0.6.4", | |||||
| "workbox-build": "7.1.1", | |||||
| "workbox-core": "7.1.0", | |||||
| "workbox-precaching": "7.1.0" | |||||
| }, | |||||
| "vaadin": { | |||||
| "dependencies": { | |||||
| "@polymer/polymer": "3.5.1", | |||||
| "@vaadin/bundles": "24.4.5", | |||||
| "@vaadin/common-frontend": "0.0.19", | |||||
| "@vaadin/polymer-legacy-adapter": "24.4.5", | |||||
| "@vaadin/react-components": "24.4.5", | |||||
| "@vaadin/react-components-pro": "24.4.5", | |||||
| "@vaadin/router": "1.7.5", | |||||
| "@vaadin/vaadin-development-mode-detector": "2.0.7", | |||||
| "@vaadin/vaadin-lumo-styles": "24.4.5", | |||||
| "@vaadin/vaadin-material-styles": "24.4.5", | |||||
| "@vaadin/vaadin-themable-mixin": "24.4.5", | |||||
| "@vaadin/vaadin-usage-statistics": "2.1.2", | |||||
| "construct-style-sheets-polyfill": "3.1.0", | |||||
| "date-fns": "2.29.3", | |||||
| "lit": "3.1.4", | |||||
| "proj4": "2.11.0", | |||||
| "react": "18.3.1", | |||||
| "react-dom": "18.3.1", | |||||
| "react-router-dom": "6.23.1" | |||||
| }, | |||||
| "devDependencies": { | |||||
| "@babel/preset-react": "7.24.7", | |||||
| "@rollup/plugin-replace": "5.0.7", | |||||
| "@rollup/pluginutils": "5.1.0", | |||||
| "@types/react": "18.3.3", | |||||
| "@types/react-dom": "18.3.0", | |||||
| "@vitejs/plugin-react": "4.3.1", | |||||
| "async": "3.2.5", | |||||
| "glob": "10.4.1", | |||||
| "rollup-plugin-brotli": "3.1.0", | |||||
| "rollup-plugin-visualizer": "5.12.0", | |||||
| "strip-css-comments": "5.0.0", | |||||
| "transform-ast": "2.4.4", | |||||
| "typescript": "5.4.5", | |||||
| "vite": "5.3.3", | |||||
| "vite-plugin-checker": "0.6.4", | |||||
| "workbox-build": "7.1.1", | |||||
| "workbox-core": "7.1.0", | |||||
| "workbox-precaching": "7.1.0" | |||||
| }, | |||||
| "hash": "f06d8005ffcc9d94c8e92e1b762dd0aac0e0103be3ed4f2479d1479a7d1846ec" | |||||
| }, | |||||
| "overrides": { | |||||
| "@vaadin/bundles": "$@vaadin/bundles", | |||||
| "@vaadin/polymer-legacy-adapter": "$@vaadin/polymer-legacy-adapter", | |||||
| "@vaadin/vaadin-development-mode-detector": "$@vaadin/vaadin-development-mode-detector", | |||||
| "@vaadin/router": "$@vaadin/router", | |||||
| "@vaadin/vaadin-usage-statistics": "$@vaadin/vaadin-usage-statistics", | |||||
| "@vaadin/react-components": "$@vaadin/react-components", | |||||
| "@vaadin/react-components-pro": "$@vaadin/react-components-pro", | |||||
| "@vaadin/common-frontend": "$@vaadin/common-frontend", | |||||
| "react-dom": "$react-dom", | |||||
| "construct-style-sheets-polyfill": "$construct-style-sheets-polyfill", | |||||
| "react-router-dom": "$react-router-dom", | |||||
| "lit": "$lit", | |||||
| "@polymer/polymer": "$@polymer/polymer", | |||||
| "react": "$react", | |||||
| "date-fns": "$date-fns", | |||||
| "proj4": "$proj4", | |||||
| "@vaadin/vaadin-themable-mixin": "$@vaadin/vaadin-themable-mixin", | |||||
| "@vaadin/vaadin-lumo-styles": "$@vaadin/vaadin-lumo-styles", | |||||
| "@vaadin/vaadin-material-styles": "$@vaadin/vaadin-material-styles" | |||||
| } | |||||
| } | |||||
| @ -0,0 +1,32 @@ | |||||
| This directory is automatically generated by Vaadin and contains the pre-compiled | |||||
| frontend files/resources for your project (frontend development bundle). | |||||
| It should be added to Version Control System and committed, so that other developers | |||||
| do not have to compile it again. | |||||
| Frontend development bundle is automatically updated when needed: | |||||
| - an npm/pnpm package is added with @NpmPackage or directly into package.json | |||||
| - CSS, JavaScript or TypeScript files are added with @CssImport, @JsModule or @JavaScript | |||||
| - Vaadin add-on with front-end customizations is added | |||||
| - Custom theme imports/assets added into 'theme.json' file | |||||
| - Exported web component is added. | |||||
| If your project development needs a hot deployment of the frontend changes, | |||||
| you can switch Flow to use Vite development server (default in Vaadin 23.3 and earlier versions): | |||||
| - set `vaadin.frontend.hotdeploy=true` in `application.properties` | |||||
| - configure `vaadin-maven-plugin`: | |||||
| ``` | |||||
| <configuration> | |||||
| <frontendHotdeploy>true</frontendHotdeploy> | |||||
| </configuration> | |||||
| ``` | |||||
| - configure `jetty-maven-plugin`: | |||||
| ``` | |||||
| <configuration> | |||||
| <systemProperties> | |||||
| <vaadin.frontend.hotdeploy>true</vaadin.frontend.hotdeploy> | |||||
| </systemProperties> | |||||
| </configuration> | |||||
| ``` | |||||
| Read more [about Vaadin development mode](https://vaadin.com/docs/next/flow/configuration/development-mode#precompiled-bundle). | |||||
| @ -1 +1,130 @@ | |||||
| @import url('./main-layout.css'); | |||||
| @import url('./main-layout.css'); | |||||
| /* ----------- Estilos para el MainLayout.java ----------- */ | |||||
| /* Estilos para el DrawerToggle*/ | |||||
| .drawer-toggle { | |||||
| background-color: #AA86E0; | |||||
| } | |||||
| /* Estilos para el encabezado */ | |||||
| .header-content { | |||||
| background-color: #AA86E0; | |||||
| height: 64px; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| width: 100%; | |||||
| } | |||||
| /* Estilo para el boton de cerrar sesion */ | |||||
| .logout-button { | |||||
| margin-right: 50px; | |||||
| } | |||||
| /* Estilos para el drawer */ | |||||
| .drawer-logo { | |||||
| width: 250px; | |||||
| } | |||||
| /* Estilos para el fondo de la aplicacion */ | |||||
| .app-layout { | |||||
| background-image: url('/images/bckgnd.png'); | |||||
| } | |||||
| /* ------------------ FIN -------------------------------------- */ | |||||
| /* | |||||
| /* | |||||
| */ | |||||
| /*!--------------------- Estilos para MantenimientosView.java ------------------- */ | |||||
| /* Estilo para el fondo del header */ | |||||
| .plan-anual-header { | |||||
| background-color: #3E8BEA; | |||||
| padding: 0; | |||||
| } | |||||
| /* Estilo para el titulo */ | |||||
| .plan-anual-titulo { | |||||
| text-align: center; | |||||
| font-size: 24px; | |||||
| color: white; | |||||
| } | |||||
| /* Estilo para el subtitulo */ | |||||
| .plan-anual-titulo1 { | |||||
| text-align: center; | |||||
| font-size: 18px; | |||||
| color: white; | |||||
| } | |||||
| /* Estilo para el campo de texto nomenclatura */ | |||||
| .nomenclatura-txt { | |||||
| margin-top: 15px; | |||||
| margin-right: 15px; | |||||
| } | |||||
| /* Estilo para el logo CELAYA */ | |||||
| .celaya-logo { | |||||
| width: 100px; | |||||
| margin-left: 15px; | |||||
| margin-top: 15px; | |||||
| } | |||||
| /* ------------------------ FIN -------------------------- */ | |||||
| /* | |||||
| */ | |||||
| /* | |||||
| */ | |||||
| /* ---------------- Estilos para la vista de MantenimientosView.java ---------------- */ | |||||
| /* Estilo para el mantenimiento header */ | |||||
| .mantenimiento-header { | |||||
| width: 100px; | |||||
| } | |||||
| /* Estilo para el comboBox tipo de mantenimiento */ | |||||
| .mantenimiento-combo { | |||||
| margin-right: 15px; | |||||
| } | |||||
| /* Estilo para los tipos de hardware */ | |||||
| .mantenimiento-group { | |||||
| width: 100px; | |||||
| } | |||||
| /* Etiqueta MANTENIMIENTO */ | |||||
| .mantenimiento-label { | |||||
| margin-bottom: 10px; | |||||
| } | |||||
| /* Estilo para los campos de texto */ | |||||
| .mantenimiento-text-field { | |||||
| margin-bottom: 15px; | |||||
| } | |||||
| /* ----------------------------- FIN --------------------------- */ | |||||
| /* | |||||
| */ | |||||
| /* | |||||
| */ | |||||
| /* --------------- Estilos para la vista de ActDiaria.java -------------- */ | |||||
| /* Estilo para el header */ | |||||
| .act-diaria-header { | |||||
| background-color: #3E8BEA; | |||||
| padding: 10px; | |||||
| } | |||||
| /* Estilo para el titulo */ | |||||
| .act-diaria-titulo { | |||||
| color: white; | |||||
| font-size: 24px; | |||||
| text-align: center; | |||||
| } | |||||
| /* Estilo para el grid */ | |||||
| .act-diaria-grid { | |||||
| margin-top: 20px; | |||||
| } | |||||
| /* ---------------------------- FIN------------------------ */ | |||||
| @ -0,0 +1,39 @@ | |||||
| // This TypeScript configuration file is generated by vaadin-maven-plugin. | |||||
| // This is needed for TypeScript compiler to compile your TypeScript code in the project. | |||||
| // It is recommended to commit this file to the VCS. | |||||
| // You might want to change the configurations to fit your preferences | |||||
| // For more information about the configurations, please refer to http://www.typescriptlang.org/docs/handbook/tsconfig-json.html | |||||
| { | |||||
| "_version": "9.1", | |||||
| "compilerOptions": { | |||||
| "sourceMap": true, | |||||
| "jsx": "react-jsx", | |||||
| "inlineSources": true, | |||||
| "module": "esNext", | |||||
| "target": "es2020", | |||||
| "moduleResolution": "bundler", | |||||
| "strict": true, | |||||
| "skipLibCheck": true, | |||||
| "noFallthroughCasesInSwitch": true, | |||||
| "noImplicitReturns": true, | |||||
| "noImplicitAny": true, | |||||
| "noImplicitThis": true, | |||||
| "noUnusedLocals": false, | |||||
| "noUnusedParameters": false, | |||||
| "experimentalDecorators": true, | |||||
| "useDefineForClassFields": false, | |||||
| "baseUrl": "src/main/frontend", | |||||
| "paths": { | |||||
| "@vaadin/flow-frontend": ["generated/jar-resources"], | |||||
| "@vaadin/flow-frontend/*": ["generated/jar-resources/*"], | |||||
| "Frontend/*": ["*"] | |||||
| } | |||||
| }, | |||||
| "include": [ | |||||
| "src/main/frontend/**/*", | |||||
| "types.d.ts" | |||||
| ], | |||||
| "exclude": [ | |||||
| "src/main/frontend/generated/jar-resources/**" | |||||
| ] | |||||
| } | |||||
| @ -0,0 +1,17 @@ | |||||
| // This TypeScript modules definition file is generated by vaadin-maven-plugin. | |||||
| // You can not directly import your different static files into TypeScript, | |||||
| // This is needed for TypeScript compiler to declare and export as a TypeScript module. | |||||
| // It is recommended to commit this file to the VCS. | |||||
| // You might want to change the configurations to fit your preferences | |||||
| declare module '*.css?inline' { | |||||
| import type { CSSResultGroup } from 'lit'; | |||||
| const content: CSSResultGroup; | |||||
| export default content; | |||||
| } | |||||
| // Allow any CSS Custom Properties | |||||
| declare module 'csstype' { | |||||
| interface Properties { | |||||
| [index: `--${string}`]: any; | |||||
| } | |||||
| } | |||||
| @ -0,0 +1,9 @@ | |||||
| import { UserConfigFn } from 'vite'; | |||||
| import { overrideVaadinConfig } from './vite.generated'; | |||||
| const customConfig: UserConfigFn = (env) => ({ | |||||
| // Here you can add custom Vite parameters | |||||
| // https://vitejs.dev/config/ | |||||
| }); | |||||
| export default overrideVaadinConfig(customConfig); | |||||