@mythpe/quasar-ui-qui 0.2.16 → 0.2.18
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
|
@@ -259,13 +259,13 @@ defineOptions({
|
|
|
259
259
|
name="bottom-input"
|
|
260
260
|
v-bind="inputScope"
|
|
261
261
|
/>
|
|
262
|
-
<
|
|
262
|
+
<MTransition>
|
|
263
263
|
<p
|
|
264
264
|
v-if="!!errorMessage"
|
|
265
265
|
class="text-body2 text-negative"
|
|
266
266
|
>
|
|
267
267
|
{{ errorMessage }}
|
|
268
268
|
</p>
|
|
269
|
-
</
|
|
269
|
+
</MTransition>
|
|
270
270
|
</MCol>
|
|
271
271
|
</template>
|
|
@@ -269,7 +269,7 @@ defineOptions({
|
|
|
269
269
|
{{ otpErrors[0] }}
|
|
270
270
|
</div>
|
|
271
271
|
<slot name="after-input" />
|
|
272
|
-
<
|
|
272
|
+
<MTransition>
|
|
273
273
|
<div
|
|
274
274
|
v-if="!noTiming"
|
|
275
275
|
class="q-mt-sm"
|
|
@@ -277,8 +277,8 @@ defineOptions({
|
|
|
277
277
|
<span>{{ __('myth.otp.expire_line') }}: </span>
|
|
278
278
|
<span>{{ getTime }}</span>
|
|
279
279
|
</div>
|
|
280
|
-
</
|
|
281
|
-
<
|
|
280
|
+
</MTransition>
|
|
281
|
+
<MTransition>
|
|
282
282
|
<div
|
|
283
283
|
v-if="!noSendAgain"
|
|
284
284
|
class="q-mt-sm"
|
|
@@ -289,7 +289,7 @@ defineOptions({
|
|
|
289
289
|
@click="onResend()"
|
|
290
290
|
>{{ __('myth.otp.send_again_btn') }}</span>
|
|
291
291
|
</div>
|
|
292
|
-
</
|
|
292
|
+
</MTransition>
|
|
293
293
|
<slot name="after-all" />
|
|
294
294
|
</MCol>
|
|
295
295
|
</template>
|
|
@@ -313,7 +313,7 @@ defineOptions({
|
|
|
313
313
|
:sm="sm"
|
|
314
314
|
:xs="xs"
|
|
315
315
|
>
|
|
316
|
-
<
|
|
316
|
+
<MTransition>
|
|
317
317
|
<div
|
|
318
318
|
v-if="!!error"
|
|
319
319
|
class="row items-center q-pa-sm bg-negative text-white q-mb-xs rounded-borders"
|
|
@@ -324,7 +324,7 @@ defineOptions({
|
|
|
324
324
|
/>
|
|
325
325
|
{{ error }}
|
|
326
326
|
</div>
|
|
327
|
-
</
|
|
327
|
+
</MTransition>
|
|
328
328
|
<q-uploader
|
|
329
329
|
ref="uploader"
|
|
330
330
|
:accept="accepts.join(',')"
|
|
@@ -13,7 +13,7 @@ export function useTransition (props: any) {
|
|
|
13
13
|
const getClasses = (mode: 'in' | 'out') => {
|
|
14
14
|
const classes: string[] = ['animated']
|
|
15
15
|
const defMode = mode === 'in' ? theme.value.inTransition : theme.value.outTransition
|
|
16
|
-
const activeClass = mode === 'in' ? props.enterActiveClass : props.leaveActiveClass
|
|
16
|
+
const activeClass = mode === 'in' ? (props.enterActiveClass || props.in) : (props.leaveActiveClass || props.out)
|
|
17
17
|
classes.push(activeClass || defMode)
|
|
18
18
|
const keys = [
|
|
19
19
|
`${mode}Slower`,
|