Socket
Socket
Sign inDemoInstall

quasar

Package Overview
Dependencies
0
Maintainers
2
Versions
386
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.14.2 to 2.14.3

src/composables/private/use-id.js

2

dist/icon-set/bootstrap-icons.umd.prod.js
/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* Quasar Framework v2.14.2
* Quasar Framework v2.14.3
* (c) 2015-present Razvan Stoenescu

@@ -4,0 +4,0 @@ * Released under the MIT License.

{
"name": "quasar",
"version": "2.14.2",
"version": "2.14.3",
"description": "Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time",

@@ -108,3 +108,3 @@ "main": "dist/quasar.cjs.prod.js",

"uglify-es": "^3.3.9",
"vue": "^3.3.4",
"vue": "^3.4.15",
"vue-router": "^4.2.1",

@@ -111,0 +111,0 @@ "yargs": "^17.7.2"

@@ -187,2 +187,10 @@ import { h, ref, computed, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'

/**
* We're trying to avoid side effects if start() is called inside a watchEffect()
* so we're accessing the _value property directly (under the covers implementation detail of ref())
*
* Otherwise, any refs() accessed here would be marked as deps for the watchEffect()
* -- and we are changing them below, which would cause an infinite loop
*/
timer = setTimeout(() => {

@@ -192,5 +200,7 @@ timer = null

newSpeed > 0 && planNextStep()
}, onScreen.value === true ? 500 : 1)
// eslint-disable-next-line vue/no-ref-as-operand
}, onScreen._value === true ? 500 : 1)
if (onScreen.value !== true) {
// eslint-disable-next-line vue/no-ref-as-operand
if (onScreen._value !== true) {
onScreen.value = true

@@ -197,0 +207,0 @@ animate.value = false

@@ -9,2 +9,3 @@ import { h, ref, computed, watch, onMounted, getCurrentInstance } from 'vue'

import { getBtnDesignAttr, useBtnProps } from '../btn/use-btn.js'
import useId from '../../composables/private/use-id.js'
import { useTransitionProps } from '../../composables/private/use-transition.js'

@@ -14,3 +15,2 @@

import { stop } from '../../utils/event.js'
import uid from '../../utils/uid.js'
import { hSlot } from '../../utils/private/render.js'

@@ -75,3 +75,3 @@

const menuRef = ref(null)
const targetUid = uid()
const targetUid = useId()

@@ -82,3 +82,3 @@ const ariaAttrs = computed(() => {

'aria-haspopup': 'true',
'aria-controls': targetUid,
'aria-controls': targetUid.value,
'aria-label': props.toggleAriaLabel || proxy.$q.lang.label[ showing.value === true ? 'collapse' : 'expand' ](props.label)

@@ -177,3 +177,3 @@ }

ref: menuRef,
id: targetUid,
id: targetUid.value,
class: props.contentClass,

@@ -180,0 +180,0 @@ style: props.contentStyle,

@@ -11,2 +11,3 @@ import { h, shallowReactive, ref, computed, watch, withDirectives, getCurrentInstance, vShow, onBeforeUnmount } from 'vue'

import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
import useId from '../../composables/private/use-id.js'
import { useRouterLinkProps } from '../../composables/private/use-router-link.js'

@@ -79,3 +80,3 @@ import useModelToggle, { useModelToggleProps, useModelToggleEmits } from '../../composables/private/use-model-toggle.js'

const blurTargetRef = ref(null)
const targetUid = uid()
const targetUid = useId()

@@ -148,3 +149,3 @@ const { show, hide, toggle } = useModelToggle({ showing })

'aria-expanded': showing.value === true ? 'true' : 'false',
'aria-controls': targetUid,
'aria-controls': targetUid.value,
'aria-label': toggleAriaLabel

@@ -326,3 +327,3 @@ }

style: contentStyle.value,
id: targetUid
id: targetUid.value
}, hSlot(slots.default)),

@@ -329,0 +330,0 @@ [ [

@@ -7,2 +7,3 @@ import { h, ref, computed, provide, getCurrentInstance } from 'vue'

import useFab, { useFabProps } from './use-fab.js'
import useId from '../../composables/private/use-id.js'
import useModelToggle, { useModelToggleProps, useModelToggleEmits } from '../../composables/private/use-model-toggle.js'

@@ -13,3 +14,2 @@

import { fabKey } from '../../utils/private/symbols.js'
import uid from '../../utils/uid.js'

@@ -54,3 +54,3 @@ const directions = [ 'up', 'right', 'down', 'left' ]

const showing = ref(props.modelValue === true)
const targetUid = uid()
const targetUid = useId()

@@ -83,3 +83,3 @@ const { proxy: { $q } } = getCurrentInstance()

const attrs = {
id: targetUid,
id: targetUid.value,
role: 'menu'

@@ -156,3 +156,3 @@ }

'aria-haspopup': 'true',
'aria-controls': targetUid,
'aria-controls': targetUid.value,
onClick: toggle

@@ -159,0 +159,0 @@ }, getTriggerContent),

@@ -197,3 +197,3 @@ import { h, computed, getCurrentInstance } from 'vue'

if (type.value.img === true) {
return h('span', data, hMergeSlot(slots.default, [
return h(props.tag, data, hMergeSlot(slots.default, [
h('img', { src: type.value.src })

@@ -204,3 +204,3 @@ ]))

if (type.value.svg === true) {
return h('span', data, hMergeSlot(slots.default, [
return h(props.tag, data, hMergeSlot(slots.default, [
h('svg', {

@@ -213,3 +213,3 @@ viewBox: type.value.viewBox || '0 0 24 24'

if (type.value.svguse === true) {
return h('span', data, hMergeSlot(slots.default, [
return h(props.tag, data, hMergeSlot(slots.default, [
h('svg', {

@@ -216,0 +216,0 @@ viewBox: type.value.viewBox

@@ -239,3 +239,3 @@ import { h, ref, computed, watch, onMounted, onActivated, onDeactivated, onBeforeUnmount, nextTick, getCurrentInstance } from 'vue'

poll: () => { poll !== void 0 && poll() },
trigger, stop, reset, resume, setIndex
trigger, stop, reset, resume, setIndex, updateScrollTarget
})

@@ -242,0 +242,0 @@

@@ -274,4 +274,7 @@ /* eslint-disable no-unused-expressions */

.click()
cy.dataCy('menu')
.checkVerticalPosition('wrapper', 'center', 'center')
cy.dataCy('menu')
.checkHorizontalPosition('wrapper', 'middle', 'middle')

@@ -289,4 +292,7 @@ })

.click()
cy.dataCy('menu')
.checkVerticalPosition('other-target', 'center', 'center')
cy.dataCy('menu')
.checkHorizontalPosition('other-target', 'middle', 'middle')

@@ -305,4 +311,7 @@ })

.click()
cy.dataCy('menu')
.checkVerticalPosition('other-target', 'center', 'center')
cy.dataCy('menu')
.checkHorizontalPosition('other-target', 'middle', 'middle')

@@ -318,4 +327,7 @@ })

.click()
cy.dataCy('menu')
.checkVerticalPosition('wrapper', 'bottom', 'top')
cy.dataCy('menu')
.checkHorizontalPosition('wrapper', 'left', 'left')

@@ -342,4 +354,7 @@ })

.click()
cy.dataCy('menu')
.checkVerticalPosition('wrapper', vA, vS)
cy.dataCy('menu')
.checkHorizontalPosition('wrapper', hA, hS)

@@ -543,3 +558,7 @@ })

.checkVerticalPosition('wrapper', 'bottom', 'bottom')
cy.dataCy('menu')
.checkHorizontalPosition('wrapper', 'left', 'left')
cy.dataCy('menu')
.then(($el) => {

@@ -550,2 +569,3 @@ const rect = $el[ 0 ].getBoundingClientRect()

})
cy.dataCy('div')

@@ -560,2 +580,3 @@ .then(($el) => {

})
cy.dataCy('wrapper')

@@ -565,4 +586,7 @@ .then(() => {

})
cy.dataCy('menu')
.checkVerticalPosition('wrapper', 'bottom', 'bottom')
cy.dataCy('menu')
.checkHorizontalPosition('wrapper', 'left', 'left')

@@ -569,0 +593,0 @@ })

@@ -143,3 +143,3 @@ import { h, ref, computed, inject, onBeforeUnmount, onMounted, withDirectives, getCurrentInstance } from 'vue'

softError === void 0
|| softError.message.startsWith('Avoided redundant navigation') === true
|| (softError.message !== void 0 && softError.message.startsWith('Avoided redundant navigation') === true)
)

@@ -146,0 +146,0 @@ ) {

import { h, ref, computed, watch, Transition, nextTick, onActivated, onDeactivated, onBeforeUnmount, onMounted, getCurrentInstance } from 'vue'
import { isRuntimeSsrPreHydration } from '../../plugins/Platform.js'
import QIcon from '../../components/icon/QIcon.js'

@@ -9,2 +7,3 @@ import QSpinner from '../../components/spinner/QSpinner.js'

import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
import useId, { getId } from './use-id.js'
import useValidate, { useValidateProps } from './use-validate.js'

@@ -14,12 +13,5 @@ import useSplitAttrs from './use-split-attrs.js'

import { hSlot } from '../../utils/private/render.js'
import uid from '../../utils/uid.js'
import { prevent, stopAndPrevent } from '../../utils/event.js'
import { addFocusFn, removeFocusFn } from '../../utils/private/focus-manager.js'
function getTargetUid (val, requiredForAttr) {
return val === void 0
? (requiredForAttr === true ? `f_${ uid() }` : void 0)
: val
}
export function fieldValueIsFilled (val) {

@@ -85,2 +77,3 @@ return val !== void 0

const isDark = useDark(props, proxy.$q)
const targetUid = useId(props.for, requiredForAttr)

@@ -104,5 +97,3 @@ return {

splitAttrs: useSplitAttrs(attrs, vnode),
targetUid: ref(
getTargetUid(props.for, requiredForAttr)
),
targetUid,

@@ -259,4 +250,6 @@ rootRef: ref(null),

const attributes = computed(() => {
const acc = {
for: state.targetUid.value
const acc = {}
if (state.targetUid.value) {
acc.for = state.targetUid.value
}

@@ -274,3 +267,3 @@

// prop as it will break SSR
state.targetUid.value = getTargetUid(val, state.requiredForAttr)
state.targetUid.value = getId(val, state.requiredForAttr)
})

@@ -351,3 +344,3 @@

if (props.type === 'file') { // TODO vue3
if (props.type === 'file') {
// do not let focus be triggered

@@ -363,7 +356,5 @@ // as it will make the native file dialog

nextTick(() => {
const isDirty = isDirtyModel.value
resetValidation()
if ($q.platform.is.mobile !== true) {
isDirtyModel.value = false
}
isDirtyModel.value = isDirty
})

@@ -561,12 +552,4 @@ }

onMounted(() => {
if (
isRuntimeSsrPreHydration.value === true
&& state.requiredForAttr === true
&& props.for === void 0
) {
state.targetUid.value = `f_${ uid() }` // getTargetUid(void 0, true)
}
props.autofocus === true && proxy.focus()
props.autofocus === true && onMounted(() => {
proxy.focus()
})

@@ -573,0 +556,0 @@

@@ -34,3 +34,3 @@ import { ref, computed, watch, onBeforeUnmount, getCurrentInstance } from 'vue'

const innerErrorMessage = ref(null)
const isDirtyModel = ref(null)
const isDirtyModel = ref(false)

@@ -78,14 +78,16 @@ useFormChild({ validate, resetValidation })

function onRulesChange () {
if (
props.lazyRules !== 'ondemand'
&& canDebounceValidate.value === true
&& isDirtyModel.value === true
) {
debouncedValidate()
}
}
watch(() => props.reactiveRules, val => {
if (val === true) {
if (unwatchRules === void 0) {
unwatchRules = watch(() => props.rules, () => {
if (
canDebounceValidate.value === true
&& isDirtyModel.value === true
&& props.lazyRules !== 'ondemand'
) {
debouncedValidate()
}
}, { immediate: true })
unwatchRules = watch(() => props.rules, onRulesChange, { immediate: true, deep: true })
}

@@ -99,26 +101,11 @@ }

watch(() => props.lazyRules, val => {
if (
val === false
&& canDebounceValidate.value === true
&& isDirtyModel.value === true
) {
debouncedValidate()
}
})
watch(() => props.lazyRules, onRulesChange)
watch(focused, val => {
if (val === true) {
if (isDirtyModel.value === null) {
isDirtyModel.value = props.lazyRules === true
}
isDirtyModel.value = true
}
else if (
canDebounceValidate.value === true
&& (
// props.lazyRules can also be 'ondemand',
// hence the following form:
props.lazyRules === false
|| (props.lazyRules === true && isDirtyModel.value === true)
)
&& props.lazyRules !== 'ondemand'
) {

@@ -132,3 +119,3 @@ debouncedValidate()

innerLoading.value = false
isDirtyModel.value = null
isDirtyModel.value = false
innerError.value = false

@@ -135,0 +122,0 @@ innerErrorMessage.value = null

import defineReactivePlugin from '../utils/private/define-reactive-plugin.js'
import { isRuntimeSsrPreHydration } from './Platform.js'

@@ -41,3 +40,3 @@ const Plugin = defineReactivePlugin({

install ({ $q, onSSRHydrated, ssrContext }) {
install ({ $q, ssrContext }) {
const { dark } = $q.config

@@ -70,28 +69,5 @@

if (this.__installed === true && dark === void 0) {
return
if (this.__installed !== true) {
this.set(dark !== void 0 ? dark : false)
}
this.isActive = dark === true
const initialVal = dark !== void 0 ? dark : false
if (isRuntimeSsrPreHydration.value === true) {
const ssrSet = val => {
this.__fromSSR = val
}
const originalSet = this.set
this.set = ssrSet
ssrSet(initialVal)
onSSRHydrated.push(() => {
this.set = originalSet
this.set(this.__fromSSR)
})
}
else {
this.set(initialVal)
}
}

@@ -98,0 +74,0 @@ })

@@ -1,2 +0,1 @@

import { addFocusout, removeFocusout } from './private/focusout.js'

@@ -3,0 +2,0 @@

@@ -1,2 +0,1 @@

export default function getCssVar (propName, element = document.body) {

@@ -3,0 +2,0 @@ if (typeof propName !== 'string') {

@@ -1,2 +0,1 @@

export function isDeepEqual (a, b) {

@@ -3,0 +2,0 @@ if (a === b) {

@@ -1,2 +0,1 @@

import { reactive } from 'vue'

@@ -3,0 +2,0 @@ import { injectProp } from './inject-obj-prop.js'

@@ -1,2 +0,1 @@

export const globalConfig = {}

@@ -3,0 +2,0 @@ export let globalConfigIsFrozen = false

@@ -1,2 +0,1 @@

const modifiersAll = {

@@ -3,0 +2,0 @@ left: true,

@@ -1,2 +0,1 @@

// copied to docs too

@@ -3,0 +2,0 @@ export function getParentProxy (proxy) {

@@ -1,2 +0,1 @@

function parsePromises (sequentialPromises) {

@@ -3,0 +2,0 @@ const isList = Array.isArray(sequentialPromises)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc