capibara 1.3.67 → 1.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PLAN_MIGRACION_VITE.md +9 -7
- package/cuarteles.html +1 -0
- package/dev/bootstrap.js +13 -0
- package/dist/index.js +568 -24941
- package/index.html +1 -0
- package/minimal.html +1 -0
- package/package.json +9 -25
- package/src/scss/abstracts/_functions.scss +7 -3
- package/src/scss/base/_scroll.scss +3 -0
- package/src/scss/components/_buttons.scss +3 -0
- package/src/scss/components/_floatbox.scss +3 -0
- package/src/scss/components/_input_nav.scss +9 -5
- package/src/scss/components/_light.scss +3 -0
- package/src/scss/components/_select.scss +3 -0
- package/src/scss/layout/_capibara.scss +3 -0
- package/src/scss/layout/_containerTl.scss +3 -0
- package/src/scss/layout/_contextMenu.scss +8 -1
- package/src/scss/layout/_corner.scss +22 -2
- package/src/scss/layout/_cornerFooter.scss +3 -0
- package/src/scss/layout/_detail_day.scss +4 -0
- package/src/scss/layout/_footer.scss +3 -0
- package/src/scss/layout/_header.scss +3 -0
- package/src/scss/layout/_headerTop.scss +3 -0
- package/src/scss/layout/_mobileFooter.scss +3 -0
- package/src/scss/layout/_nav.scss +3 -0
- package/src/scss/style.scss +35 -35
- package/src/scss/themes/_color_themes.scss +42 -40
- package/src/scss/themes/_themes.scss +2 -2
- package/src/util/tableElements.js +6 -3
- package/vite.config.js +39 -0
- package/babelrc.config.js +0 -14
- package/dist/cuarteles.html +0 -29
- package/dist/index.html +0 -27
- package/dist/index.js.map +0 -1
- package/dist/minimal.html +0 -19
- package/scripts/build.js +0 -41
- package/scripts/fixOpensslHash.js +0 -21
- package/webpack.config.js +0 -71
|
@@ -251,9 +251,12 @@ export default {
|
|
|
251
251
|
|
|
252
252
|
cornerLeftTitleContent = `
|
|
253
253
|
<div class="corner-group-select-container">
|
|
254
|
-
<
|
|
255
|
-
|
|
256
|
-
|
|
254
|
+
<span class="corner-group-select-label">Agrupar por</span>
|
|
255
|
+
<div class="corner-group-select-wrap">
|
|
256
|
+
<select class="corner-group-select">
|
|
257
|
+
${optionsString}
|
|
258
|
+
</select>
|
|
259
|
+
</div>
|
|
257
260
|
</div>`;
|
|
258
261
|
}
|
|
259
262
|
|
package/vite.config.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineConfig } from "vite";
|
|
2
|
+
import { resolve } from "path";
|
|
3
|
+
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";
|
|
4
|
+
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [cssInjectedByJsPlugin()],
|
|
7
|
+
css: {
|
|
8
|
+
preprocessorOptions: {
|
|
9
|
+
scss: {
|
|
10
|
+
// Los @import de src/scss (ej. "abstracts/functions" desde
|
|
11
|
+
// themes/_themes.scss) son rutas relativas a src/scss, no al archivo
|
|
12
|
+
// que importa — hay que declararlo como load path. Vite 6 usa la API
|
|
13
|
+
// moderna de sass por default con el paquete "sass" (no "sass-embedded"),
|
|
14
|
+
// que espera `loadPaths`, no el `includePaths` de la API legacy.
|
|
15
|
+
loadPaths: [resolve(__dirname, "src/scss")],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
build: {
|
|
20
|
+
// irricrops-mobile (el consumidor) todavía usa webpack4, cuyo parser no
|
|
21
|
+
// entiende sintaxis ES2020+ (ej. "??", "?."). Compilamos a un target más
|
|
22
|
+
// viejo para que ese build pueda seguir procesando este bundle tal cual,
|
|
23
|
+
// sin que irricrops-mobile necesite excluir node_modules/capibara del
|
|
24
|
+
// parseo o subir su propio toolchain.
|
|
25
|
+
target: "es2017",
|
|
26
|
+
lib: {
|
|
27
|
+
entry: resolve(__dirname, "src/index.js"),
|
|
28
|
+
name: "Capibara",
|
|
29
|
+
fileName: () => "index.js",
|
|
30
|
+
formats: ["umd"],
|
|
31
|
+
},
|
|
32
|
+
rollupOptions: {
|
|
33
|
+
output: {
|
|
34
|
+
exports: "default",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
outDir: "dist",
|
|
38
|
+
},
|
|
39
|
+
});
|
package/babelrc.config.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: [
|
|
3
|
-
"@babel/preset-env"
|
|
4
|
-
],
|
|
5
|
-
plugins: [
|
|
6
|
-
'@babel/plugin-transform-runtime',
|
|
7
|
-
'@babel/plugin-proposal-class-properties',
|
|
8
|
-
[ '@babel/plugin-proposal-decorators', { 'legacy': true } ],
|
|
9
|
-
'@babel/plugin-transform-async-to-generator',
|
|
10
|
-
'@babel/plugin-transform-arrow-functions',
|
|
11
|
-
'@babel/plugin-proposal-object-rest-spread',
|
|
12
|
-
'@babel/plugin-proposal-export-default-from'
|
|
13
|
-
]
|
|
14
|
-
}
|
package/dist/cuarteles.html
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<html lang="es">
|
|
2
|
-
<head>
|
|
3
|
-
<meta charset="UTF-8" />
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
6
|
-
<title>Capibara</title>
|
|
7
|
-
<style>
|
|
8
|
-
html,
|
|
9
|
-
body {
|
|
10
|
-
margin: 0px;
|
|
11
|
-
padding: 0px;
|
|
12
|
-
}
|
|
13
|
-
.test-header {
|
|
14
|
-
display: block;
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 80px;
|
|
17
|
-
background-color: red;
|
|
18
|
-
}
|
|
19
|
-
</style>
|
|
20
|
-
</head>
|
|
21
|
-
|
|
22
|
-
<body>
|
|
23
|
-
<div id="timeline"></div>
|
|
24
|
-
<!-- plugin initialization -->
|
|
25
|
-
<script src="config_cuarteles.js"></script>
|
|
26
|
-
<script src="data_cuarteles.js"></script>
|
|
27
|
-
<script src="app_cuarteles.js"></script>
|
|
28
|
-
<script type="text/javascript" src="./index.js"></script></body>
|
|
29
|
-
</html>
|
package/dist/index.html
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<html lang="es">
|
|
2
|
-
<head>
|
|
3
|
-
<meta charset="UTF-8" />
|
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
6
|
-
<title>Capibara</title>
|
|
7
|
-
<style>
|
|
8
|
-
html,
|
|
9
|
-
body {
|
|
10
|
-
margin: 0px;
|
|
11
|
-
padding: 0px;
|
|
12
|
-
}
|
|
13
|
-
#timeline{
|
|
14
|
-
height: 100%;
|
|
15
|
-
}
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<div id="timeline"></div>
|
|
21
|
-
<!-- plugin initialization -->
|
|
22
|
-
<script src="config.js"></script>
|
|
23
|
-
<script src="data.js"></script>
|
|
24
|
-
<script src="app.js"></script>
|
|
25
|
-
<script type="text/javascript" src="./index.js"></script></body>
|
|
26
|
-
</html>
|
|
27
|
-
|