quasar-factory-lib 0.0.55 → 0.0.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/package.json CHANGED
@@ -97,6 +97,6 @@
97
97
  "release": "standard-version"
98
98
  },
99
99
  "type": "module",
100
- "version": "0.0.55",
100
+ "version": "0.0.56",
101
101
  "author": ""
102
102
  }
@@ -12,7 +12,7 @@
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="src/assets/icons/Checked.svg">
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,7 @@ export default defineComponent({
120
82
  mounted () {}
121
83
  })
122
84
  </script>
85
+
86
+ <style scoped>
87
+ @import url('./css/style.css');
88
+ </style>
@@ -0,0 +1,38 @@
1
+ .counter{
2
+ font-size: 60px;
3
+ text-align: center;
4
+ }
5
+
6
+ .msg-text{
7
+ font-size: 20px;
8
+ text-align: center;
9
+ margin: auto;
10
+ }
11
+ .q-btn {
12
+ font-size: 20px;
13
+ }
14
+ .q-btn:nth-child(2) {
15
+ border: 1px solid #212427;
16
+ }
17
+ img {
18
+ width: 70px;
19
+ }
20
+
21
+ @media only screen and (max-width: 700px) {
22
+ .counter{
23
+ font-size: 40px;
24
+ }
25
+
26
+ .msg-text{
27
+ font-size: 15px;
28
+ text-align: center;
29
+ margin: auto;
30
+ }
31
+
32
+ img {
33
+ width: 50px;
34
+ }
35
+ .q-btn {
36
+ font-size: 15px;
37
+ }
38
+ }
@@ -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
  />