capibara 1.3.55 → 1.3.56
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/dist/cuarteles.html +1 -1
- package/dist/index.html +1 -1
- package/dist/index.js +109 -24893
- package/dist/minimal.html +1 -1
- package/package.json +1 -1
- package/src/scss/components/_input_nav.scss +36 -0
- package/src/util/tableElements.js +10 -9
package/dist/minimal.html
CHANGED
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
<script src="config_minimal.js"></script>
|
|
15
15
|
<script src="data_minimal.js"></script>
|
|
16
16
|
<script src="app_minimal.js"></script>
|
|
17
|
-
<script type="text/javascript" src="
|
|
17
|
+
<script type="text/javascript" src="/index.js"></script></body>
|
|
18
18
|
|
|
19
19
|
</html>
|
package/package.json
CHANGED
|
@@ -31,6 +31,42 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
.time.time-sm {
|
|
35
|
+
.symbol {
|
|
36
|
+
width: 10px;
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
}
|
|
39
|
+
input {
|
|
40
|
+
width: 40px;
|
|
41
|
+
font-size: 1rem;
|
|
42
|
+
padding: 3px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.input-section.input-section.time-sm {
|
|
47
|
+
.text-subtitle {
|
|
48
|
+
font-size: 0.8em;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.time.time-sm {
|
|
53
|
+
.symbol {
|
|
54
|
+
width: 10px;
|
|
55
|
+
font-size: 1rem;
|
|
56
|
+
}
|
|
57
|
+
input {
|
|
58
|
+
width: 40px;
|
|
59
|
+
font-size: 1rem;
|
|
60
|
+
padding: 3px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.input-section.input-section.time-sm {
|
|
65
|
+
.text-subtitle {
|
|
66
|
+
font-size: 0.8em;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
34
70
|
//big input
|
|
35
71
|
.time {
|
|
36
72
|
border-radius: 6px;
|
|
@@ -1247,13 +1247,13 @@ export default {
|
|
|
1247
1247
|
if (v.round && !isNaN(value)) {
|
|
1248
1248
|
value = utils.round(value, v.round);
|
|
1249
1249
|
}
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1250
|
+
if (v.input) {
|
|
1251
|
+
switch (v.input) {
|
|
1252
|
+
case "hour":
|
|
1253
|
+
value = value.split(":");
|
|
1254
|
+
let hhValue = value[0];
|
|
1255
|
+
let mmValue = value[1];
|
|
1256
|
+
initialNavList += `
|
|
1257
1257
|
<div class="item-col has-input">
|
|
1258
1258
|
<div class="hour-input">
|
|
1259
1259
|
<input type="number"
|
|
@@ -3245,6 +3245,7 @@ export default {
|
|
|
3245
3245
|
r = this.createInputButtonsGroup(props, dataDay);
|
|
3246
3246
|
break;
|
|
3247
3247
|
case "time":
|
|
3248
|
+
case "time-sm":
|
|
3248
3249
|
r = this.createInputTime(props, dataDay);
|
|
3249
3250
|
break;
|
|
3250
3251
|
case "input-text":
|
|
@@ -3283,12 +3284,12 @@ export default {
|
|
|
3283
3284
|
let $elem = dom.createElementFromHTML(`
|
|
3284
3285
|
<div class="input-section ${
|
|
3285
3286
|
props.isHidden ? "hide" : ""
|
|
3286
|
-
} " input-key="${props.key || ""}">
|
|
3287
|
+
} ${props.type === 'time-sm' ? 'time-sm' : ''}" input-key="${props.key || ""}">
|
|
3287
3288
|
<span class="text-subtitle d-block">
|
|
3288
3289
|
${props.label || ""}
|
|
3289
3290
|
</span>
|
|
3290
3291
|
<div class="d-flex">
|
|
3291
|
-
<div class="time">
|
|
3292
|
+
<div class="time ${props.type === 'time-sm' ? 'time-sm' : ''}">
|
|
3292
3293
|
<input type="number"
|
|
3293
3294
|
class="hour"
|
|
3294
3295
|
id="test"
|