@burh/nuxt-core 1.0.464 → 1.0.465
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.
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
<button
|
|
102
102
|
v-if="buttons.id != 8"
|
|
103
103
|
role="button"
|
|
104
|
-
class="tag tag-outline-primary d-block w-100 buttons"
|
|
104
|
+
class="tag tag-outline-primary-teste-online d-block w-100 buttons"
|
|
105
105
|
:value="buttons.value"
|
|
106
106
|
:class="
|
|
107
107
|
buttons.id == currentSelectedButton
|
|
108
|
-
? 'active'
|
|
108
|
+
? 'active-teste-online'
|
|
109
109
|
: ''
|
|
110
110
|
"
|
|
111
111
|
@click="timeSelection(buttons.id)"
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
class="fas fa-check mr-1"
|
|
126
126
|
:class="[currentSelectedButton == 8 ? 'custom-icon': 'custom-time-icon']"
|
|
127
127
|
></i>
|
|
128
|
-
|
|
128
|
+
<div v-if="buttons.id == 8" @click="setInitValue(buttons.id)">
|
|
129
129
|
<el-time-picker
|
|
130
130
|
format="HH:mm:ss"
|
|
131
131
|
value-format="HH:mm:ss"
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
@change="setValueChange()"
|
|
134
134
|
:class="currentSelectedButton == buttons.id ? 'active-custom': 'not-active-custom' "
|
|
135
135
|
class="w-100"
|
|
136
|
-
placeholder="
|
|
137
|
-
|
|
138
|
-
</div>
|
|
136
|
+
placeholder="Tempo personalizado"
|
|
137
|
+
/>
|
|
138
|
+
</div>
|
|
139
139
|
</div>
|
|
140
140
|
</div>
|
|
141
141
|
<div v-else-if="!haveCustomTime">
|
|
@@ -186,6 +186,11 @@
|
|
|
186
186
|
import { mask } from 'vue-the-mask';
|
|
187
187
|
import swal from 'sweetalert2';
|
|
188
188
|
import { Select, Option, TimePicker } from 'element-ui';
|
|
189
|
+
import lang from 'element-ui/lib/locale/lang/pt-br';
|
|
190
|
+
import locale from 'element-ui/lib/locale';
|
|
191
|
+
|
|
192
|
+
locale.use(lang);
|
|
193
|
+
|
|
189
194
|
export default {
|
|
190
195
|
components: {
|
|
191
196
|
[Select.name]: Select,
|
|
@@ -462,6 +467,24 @@ export default {
|
|
|
462
467
|
<style lang="scss">
|
|
463
468
|
@import 'node_modules/@burh/nuxt-core/assets/sass/burh-ds/variables/_colors.scss';
|
|
464
469
|
|
|
470
|
+
.el-time-panel{
|
|
471
|
+
width: 161px;
|
|
472
|
+
.el-scrollbar__view:not(.el-autocomplete-suggestion__list) {
|
|
473
|
+
border: 1px solid #fff;
|
|
474
|
+
border-radius: 0.25rem;
|
|
475
|
+
}
|
|
476
|
+
.el-time-panel__btn.cancel{
|
|
477
|
+
display: none;
|
|
478
|
+
}
|
|
479
|
+
.el-time-panel__btn.confirm {
|
|
480
|
+
font-weight: 200;
|
|
481
|
+
color: #00B388;
|
|
482
|
+
}
|
|
483
|
+
.el-scrollbar__wrap{
|
|
484
|
+
margin-bottom: 0 !important;
|
|
485
|
+
overflow-x: hidden;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
465
488
|
.fixed-button {
|
|
466
489
|
.btn {
|
|
467
490
|
font-size: 0.775rem;
|
|
@@ -505,6 +528,30 @@ export default {
|
|
|
505
528
|
}
|
|
506
529
|
</style>
|
|
507
530
|
<style lang="scss" scoped>
|
|
531
|
+
.tag-outline-primary-teste-online:active{
|
|
532
|
+
background-color: #00b388;
|
|
533
|
+
color: #fff;
|
|
534
|
+
border: #00b388;
|
|
535
|
+
height: 51.39px;
|
|
536
|
+
}
|
|
537
|
+
.tag-outline-primary-teste-online{
|
|
538
|
+
background-color: #fff;
|
|
539
|
+
color: #00b388;
|
|
540
|
+
border: 2px solid #00b388;
|
|
541
|
+
height: 51.39px;
|
|
542
|
+
}
|
|
543
|
+
.active-teste-online{
|
|
544
|
+
background-color: #00b388;
|
|
545
|
+
color: #fff;
|
|
546
|
+
border: #00b388;
|
|
547
|
+
height: 51.39px;
|
|
548
|
+
i{
|
|
549
|
+
color:#fff;
|
|
550
|
+
}
|
|
551
|
+
small{
|
|
552
|
+
color: #fff;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
508
555
|
.custom-time::placeholder{
|
|
509
556
|
font-size: 80%;
|
|
510
557
|
color:#00b388;
|
|
@@ -528,7 +575,7 @@ export default {
|
|
|
528
575
|
position:absolute;
|
|
529
576
|
top:1rem;
|
|
530
577
|
z-index: 3;
|
|
531
|
-
left:
|
|
578
|
+
left:1.5rem;
|
|
532
579
|
color:#fff;
|
|
533
580
|
}
|
|
534
581
|
}
|
|
@@ -549,13 +596,13 @@ export default {
|
|
|
549
596
|
}
|
|
550
597
|
.el-input__prefix{
|
|
551
598
|
.el-icon-time:before{
|
|
552
|
-
|
|
599
|
+
display: none;
|
|
553
600
|
}
|
|
554
601
|
}
|
|
555
602
|
.el-input__suffix{
|
|
556
603
|
.el-input__suffix-inner{
|
|
557
604
|
.el-icon-circle-close{
|
|
558
|
-
|
|
605
|
+
display: none;
|
|
559
606
|
}
|
|
560
607
|
}
|
|
561
608
|
}
|
|
@@ -568,22 +615,30 @@ export default {
|
|
|
568
615
|
border: 2px solid #00b388;
|
|
569
616
|
display: block;
|
|
570
617
|
height: 51.39px;
|
|
618
|
+
font-size: 0.8rem;
|
|
619
|
+
padding: 0;
|
|
571
620
|
color:#00b388;
|
|
572
621
|
text-align: center;
|
|
573
622
|
&::placeholder{
|
|
574
623
|
color:#00b388;
|
|
575
624
|
}
|
|
625
|
+
&:hover{
|
|
626
|
+
border: 2px solid #00b388;
|
|
627
|
+
background-color: #00b388;
|
|
628
|
+
&::placeholder{
|
|
629
|
+
color:#fff;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
576
632
|
}
|
|
577
633
|
.el-input__prefix{
|
|
578
634
|
.el-icon-time:before{
|
|
579
|
-
|
|
580
|
-
color:#00b388;
|
|
635
|
+
display: none;
|
|
581
636
|
}
|
|
582
637
|
}
|
|
583
638
|
.el-input__suffix{
|
|
584
639
|
.el-input__suffix-inner{
|
|
585
640
|
.el-icon-circle-close{
|
|
586
|
-
|
|
641
|
+
display: none;
|
|
587
642
|
}
|
|
588
643
|
}
|
|
589
644
|
}
|
package/package.json
CHANGED
|
@@ -9,11 +9,13 @@ import VeeValidate from 'vee-validate';
|
|
|
9
9
|
import SideBar from '~/components/argon-core/SidebarPlugin';
|
|
10
10
|
import Vue from 'vue';
|
|
11
11
|
// element ui language configuration
|
|
12
|
-
import lang from 'element-ui/lib/locale/lang/
|
|
12
|
+
import lang from 'element-ui/lib/locale/lang/pt-br';
|
|
13
13
|
import locale from 'element-ui/lib/locale';
|
|
14
|
+
|
|
15
|
+
locale.use(lang);
|
|
16
|
+
|
|
14
17
|
import './globalDirectives';
|
|
15
18
|
import './globalComponents';
|
|
16
|
-
locale.use(lang);
|
|
17
19
|
|
|
18
20
|
Vue.use(SideBar);
|
|
19
21
|
Vue.use(Notifications);
|
|
@@ -16,14 +16,8 @@ import RouteBreadcrumb from '~/components/argon-core/Breadcrumb/RouteBreadcrumb'
|
|
|
16
16
|
import StatsCard from '~/components/argon-core/Cards/StatsCard.vue';
|
|
17
17
|
import ImageWithFallback from '@/components/burh-ds/Img/ImageWithFallback.vue';
|
|
18
18
|
import { Input, Tooltip, Popover } from 'element-ui';
|
|
19
|
-
|
|
20
|
-
import lang from 'element-ui/lib/locale/lang/pt-br';
|
|
21
|
-
import locale from 'element-ui/lib/locale';
|
|
22
|
-
|
|
23
19
|
import Vue from 'vue';
|
|
24
20
|
|
|
25
|
-
locale.use(lang);
|
|
26
|
-
|
|
27
21
|
/**
|
|
28
22
|
* You can register global components here and use them as a plugin in your main Vue instance
|
|
29
23
|
*/
|