quasar-factory-lib 0.0.55 → 0.0.57
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/components/ConfirmedTask/ConfirmedTask.vue.d.ts +8 -0
- package/dist/pages/ConfirmedTaskPage.vue.d.ts +8 -0
- package/dist/quasar-factory-lib.js +487 -482
- package/dist/quasar-factory-lib.umd.cjs +10 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ConfirmedTask/ConfirmedTask.vue +47 -44
- package/src/pages/ConfirmedTaskPage.vue +2 -1
package/package.json
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
transition-show="slide-up"
|
|
9
9
|
transition-hide="slide-down"
|
|
10
10
|
>
|
|
11
|
-
<q-card :class="values.class">
|
|
11
|
+
<q-card :class="values.class" id="confirmed-task">
|
|
12
12
|
<q-card-section class="q-pa-none full-width flex justify-center items-center" style="height: calc(100vh - 100px);">
|
|
13
13
|
<div style="text-align: center;">
|
|
14
14
|
<div class="q-mb-md">
|
|
15
|
-
<img src="
|
|
15
|
+
<img :src="imgSrc">
|
|
16
16
|
</div>
|
|
17
17
|
<div class="counter">
|
|
18
18
|
<span class="text-color-positive">{{ values.selected }}</span>
|
|
@@ -46,48 +46,6 @@
|
|
|
46
46
|
</q-dialog>
|
|
47
47
|
</div>
|
|
48
48
|
</template>
|
|
49
|
-
|
|
50
|
-
<style scoped>
|
|
51
|
-
.counter{
|
|
52
|
-
font-size: 60px;
|
|
53
|
-
text-align: center;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.msg-text{
|
|
57
|
-
font-size: 20px;
|
|
58
|
-
text-align: center;
|
|
59
|
-
margin: auto;
|
|
60
|
-
}
|
|
61
|
-
.q-btn {
|
|
62
|
-
font-size: 20px;
|
|
63
|
-
}
|
|
64
|
-
.q-btn:nth-child(2) {
|
|
65
|
-
border: 1px solid #212427;
|
|
66
|
-
}
|
|
67
|
-
img {
|
|
68
|
-
width: 70px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media only screen and (max-width: 700px) {
|
|
72
|
-
.counter{
|
|
73
|
-
font-size: 40px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.msg-text{
|
|
77
|
-
font-size: 15px;
|
|
78
|
-
text-align: center;
|
|
79
|
-
margin: auto;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
img {
|
|
83
|
-
width: 50px;
|
|
84
|
-
}
|
|
85
|
-
.q-btn {
|
|
86
|
-
font-size: 15px;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
</style>
|
|
90
|
-
|
|
91
49
|
<script>
|
|
92
50
|
import { defineComponent, ref } from 'vue'
|
|
93
51
|
export default defineComponent({
|
|
@@ -106,6 +64,10 @@ export default defineComponent({
|
|
|
106
64
|
message: '',
|
|
107
65
|
class:''
|
|
108
66
|
}
|
|
67
|
+
},
|
|
68
|
+
imgSrc: {
|
|
69
|
+
type: String,
|
|
70
|
+
required: true
|
|
109
71
|
}
|
|
110
72
|
},
|
|
111
73
|
emits: ['repeatTask', 'endTask'],
|
|
@@ -120,3 +82,44 @@ export default defineComponent({
|
|
|
120
82
|
mounted () {}
|
|
121
83
|
})
|
|
122
84
|
</script>
|
|
85
|
+
|
|
86
|
+
<style>
|
|
87
|
+
#confirmed-task .counter{
|
|
88
|
+
font-size: 60px;
|
|
89
|
+
text-align: center;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#confirmed-task.msg-text{
|
|
93
|
+
font-size: 20px;
|
|
94
|
+
text-align: center;
|
|
95
|
+
margin: auto;
|
|
96
|
+
}
|
|
97
|
+
#confirmed-task .q-btn {
|
|
98
|
+
font-size: 20px;
|
|
99
|
+
}
|
|
100
|
+
#confirmed-task .q-btn:nth-child(2) {
|
|
101
|
+
border: 1px solid #212427;
|
|
102
|
+
}
|
|
103
|
+
#confirmed-task img {
|
|
104
|
+
width: 70px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media only screen and (max-width: 700px) {
|
|
108
|
+
#confirmed-task .counter{
|
|
109
|
+
font-size: 40px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
#confirmed-task .msg-text{
|
|
113
|
+
font-size: 15px;
|
|
114
|
+
text-align: center;
|
|
115
|
+
margin: auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
#confirmed-task img {
|
|
119
|
+
width: 50px;
|
|
120
|
+
}
|
|
121
|
+
#confirmed-task .q-btn {
|
|
122
|
+
font-size: 15px;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
</style>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div
|
|
8
8
|
class="full-width"
|
|
9
9
|
>
|
|
10
|
-
<ConfirmedTask
|
|
10
|
+
<ConfirmedTask
|
|
11
11
|
ref="ConfirmedTask"
|
|
12
12
|
:values="{
|
|
13
13
|
selected: 5,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
message: 'Message',
|
|
16
16
|
class:'bg-light-peach'
|
|
17
17
|
}"
|
|
18
|
+
:imgSrc="'src/assets/icons/Checked.svg'"
|
|
18
19
|
@repeat-task="repeatTask"
|
|
19
20
|
@end-task="endTask"
|
|
20
21
|
/>
|