@mythpe/quasar-ui-qui 0.2.23 → 0.2.25

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -163,7 +163,7 @@ watch(url, (url) => {
163
163
  <MTransitionGroup>
164
164
  <div
165
165
  key="top"
166
- class="row justify-between items-center q-mb-lg"
166
+ class="row justify-between items-center q-mb-sm"
167
167
  >
168
168
  <div
169
169
  :class="{
@@ -193,7 +193,7 @@ watch(url, (url) => {
193
193
  <div
194
194
  v-if="!!errorMessage"
195
195
  key="signature-errors"
196
- class="text-negative text-caption q-mb-lg"
196
+ class="text-negative text-caption q-mb-sm"
197
197
  >
198
198
  <q-icon
199
199
  name="ion-ios-information-circle-outline"
@@ -203,10 +203,8 @@ watch(url, (url) => {
203
203
  </div>
204
204
  <div
205
205
  key="signature-pad"
206
- :class="{
207
- 'bg-negative': !!errorMessage,
208
- 'print-shadow-none bordered' : !0
209
- }"
206
+ :class="{ 'bg-negativ e': !!errorMessage, }"
207
+ class="print-shadow-none bordered"
210
208
  >
211
209
  <div>
212
210
  <slot
@@ -232,6 +230,8 @@ watch(url, (url) => {
232
230
  :height="height"
233
231
  :src="url"
234
232
  :width="width"
233
+ fit="contain"
234
+ no-spinner
235
235
  />
236
236
  </template>
237
237
  </slot>
@@ -247,19 +247,15 @@ watch(url, (url) => {
247
247
  class="q-mt-sm print-hide"
248
248
  >
249
249
  <template v-if="!confirmed">
250
- <div class="column q-gutter-sm">
251
- <MBtn
252
- :label="__('labels.confirm_signature')"
253
- color="positive"
254
- flat
255
- icon="ion-ios-hand"
256
- @click="save('image/jpeg')"
257
- />
258
- </div>
250
+ <MBtn
251
+ :label="__('labels.confirm_signature')"
252
+ class="full-width q-mb-sm"
253
+ color="positive"
254
+ @click="save('image/jpeg')"
255
+ />
259
256
  <MRow class="justify-between">
260
257
  <MBtn
261
258
  :label="__('labels.undo')"
262
- flat
263
259
  icon="ion-ios-undo"
264
260
  @click="undo"
265
261
  />
@@ -267,22 +263,20 @@ watch(url, (url) => {
267
263
  <MBtn
268
264
  :label="__('labels.clear_signature')"
269
265
  color="negative"
270
- flat
271
266
  icon="ion-ios-repeat"
272
267
  @click="clear"
273
268
  />
274
269
  </MRow>
275
270
  </template>
276
271
  <MTransition>
277
- <MColumn v-if="confirmed">
278
- <MBtn
279
- :label="__('labels.clear_signature')"
280
- color="negative"
281
- flat
282
- icon="ion-ios-refresh"
283
- @click="clear"
284
- />
285
- </MColumn>
272
+ <MBtn
273
+ v-if="confirmed"
274
+ :label="__('labels.clear_signature')"
275
+ class="full-width"
276
+ color="negative"
277
+ icon="ion-ios-refresh"
278
+ @click="clear"
279
+ />
286
280
  </MTransition>
287
281
  </div>
288
282
  </MTransitionGroup>
@@ -23,9 +23,6 @@ defineOptions({
23
23
  </script>
24
24
 
25
25
  <template>
26
- <pre class="ltr">
27
- {{ computedProps }}
28
- </pre>
29
26
  <transition v-bind="computedProps">
30
27
  <slot />
31
28
  </transition>