@fiscozen/dropdown 0.1.14 → 0.1.16
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 +3 -3
- package/src/FzDropdown.vue +27 -57
- package/src/__tests__/__snapshots__/FzDropdown.spec.ts.snap +3 -1
- package/src/index.ts +1 -0
- package/src/types.ts +48 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiscozen/dropdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "Design System Dropdown component",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [],
|
|
8
8
|
"author": "Alen Ajam",
|
|
9
9
|
"dependencies": {
|
|
10
|
+
"@fiscozen/button": "^0.1.5",
|
|
10
11
|
"@fiscozen/actionlist": "^0.1.6",
|
|
11
|
-
"@fiscozen/composables": "^0.1.8"
|
|
12
|
-
"@fiscozen/button": "^0.1.3"
|
|
12
|
+
"@fiscozen/composables": "^0.1.8"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"tailwindcss": "^3.4.1",
|
package/src/FzDropdown.vue
CHANGED
|
@@ -1,81 +1,51 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FzFloating :isOpen :position="floatingPosition" ref="container">
|
|
3
3
|
<template #opener>
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
<slot name="opener" :isOpen="isOpen">
|
|
5
|
+
<FzButton
|
|
6
|
+
icon-position="after"
|
|
7
|
+
:icon-name="buttonIconName"
|
|
8
|
+
@click="isOpen = !isOpen"
|
|
9
|
+
:size
|
|
10
|
+
:disabled="openerDisabled"
|
|
11
|
+
:class="openerClass"
|
|
12
|
+
>
|
|
13
|
+
<slot :isOpen="isOpen"></slot>
|
|
14
|
+
</FzButton>
|
|
15
|
+
</slot>
|
|
12
16
|
</template>
|
|
13
17
|
<FzActionlist :items="actions" :label="actionsLabel" @fzaction:click="handleActionClick" />
|
|
14
18
|
</FzFloating>
|
|
15
19
|
</template>
|
|
16
20
|
|
|
17
21
|
<script setup lang="ts">
|
|
18
|
-
import { ComponentPublicInstance, computed,
|
|
19
|
-
import { FzButton
|
|
20
|
-
import { FzActionlist,
|
|
21
|
-
import { FzFloating } from '@fiscozen/composables'
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
size: ButtonSize
|
|
29
|
-
/**
|
|
30
|
-
* Label of the action list
|
|
31
|
-
*/
|
|
32
|
-
actionsLabel?: string
|
|
33
|
-
/**
|
|
34
|
-
* List of actions
|
|
35
|
-
*/
|
|
36
|
-
actions: FzActionlistProps['items']
|
|
37
|
-
/**
|
|
38
|
-
* Whether to align to the left or right
|
|
39
|
-
*/
|
|
40
|
-
align: 'left' | 'right'
|
|
41
|
-
/**
|
|
42
|
-
* Whether to close the action list when an action is clicked
|
|
43
|
-
*/
|
|
44
|
-
closeOnActionClick?: boolean
|
|
45
|
-
}>(),
|
|
46
|
-
{
|
|
47
|
-
size: 'md',
|
|
48
|
-
closeOnActionClick: true
|
|
49
|
-
}
|
|
50
|
-
)
|
|
22
|
+
import { ComponentPublicInstance, computed, ref } from 'vue'
|
|
23
|
+
import { FzButton } from '@fiscozen/button'
|
|
24
|
+
import { FzActionlist, ActionlistItem } from '@fiscozen/actionlist'
|
|
25
|
+
import { FzFloating, useClickOutside } from '@fiscozen/composables'
|
|
26
|
+
import { FzDropdownProps, FzDropdownSlots } from './types'
|
|
27
|
+
|
|
28
|
+
const props = withDefaults(defineProps<FzDropdownProps>(), {
|
|
29
|
+
size: 'md',
|
|
30
|
+
closeOnActionClick: true
|
|
31
|
+
})
|
|
51
32
|
|
|
52
33
|
const emit = defineEmits<{
|
|
53
34
|
'fzaction:click': [index: number, action: ActionlistItem]
|
|
54
35
|
}>()
|
|
55
36
|
|
|
37
|
+
const slots = defineSlots<FzDropdownSlots>()
|
|
38
|
+
|
|
56
39
|
const isOpen = ref(false)
|
|
57
40
|
const container = ref<ComponentPublicInstance>()
|
|
41
|
+
const containerDom = computed(() => container.value?.$el)
|
|
58
42
|
const buttonIconName = computed(() => (isOpen.value ? 'angle-up' : 'angle-down'))
|
|
59
43
|
const floatingPosition = computed(() => (props.align === 'left' ? 'bottom-start' : 'bottom-end'))
|
|
60
44
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
})
|
|
64
|
-
|
|
65
|
-
onUnmounted(() => {
|
|
66
|
-
document.removeEventListener('click', handleClickOutside)
|
|
45
|
+
useClickOutside(containerDom, () => {
|
|
46
|
+
isOpen.value = false
|
|
67
47
|
})
|
|
68
48
|
|
|
69
|
-
function handleClickOutside(event: MouseEvent) {
|
|
70
|
-
if (!container.value) return
|
|
71
|
-
|
|
72
|
-
const isClickOutside =
|
|
73
|
-
container.value.$el !== event.target && !container.value.$el.contains(event.target)
|
|
74
|
-
if (isClickOutside) {
|
|
75
|
-
isOpen.value = false
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
49
|
function handleActionClick(index: number, action: ActionlistItem) {
|
|
80
50
|
emit('fzaction:click', index, action)
|
|
81
51
|
if (props.closeOnActionClick) {
|
|
@@ -5,7 +5,9 @@ exports[`FzTopbar > matches snapshot 1`] = `
|
|
|
5
5
|
<div class="inline-flex"><button type="button" class="relative rounded flex flex-shrink items-center justify-center font-medium border-1 border-transparent h-32 focus:border-blue-600 focus:border-solid focus:border-1 bg-blue-500 hover:bg-blue-600 disabled:bg-blue-200 text-core-white focus:bg-blue-500">
|
|
6
6
|
<div class="flex items-center justify-items-center mr-6 pl-10">
|
|
7
7
|
<!--v-if-->
|
|
8
|
-
</div>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="truncate">This is a dropdown</div>
|
|
10
|
+
<div class="flex items-center justify-items-center ml-6 pr-10">
|
|
9
11
|
<div class="flex items-center justify-center w-[25px] h-[25px]"><svg class="svg-inline--fa fa-angle-down fa-lg h-[20px]" aria-hidden="true" focusable="false" data-prefix="far" data-icon="angle-down" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
10
12
|
<path class="" fill="currentColor" d="M241 369c-9.4 9.4-24.6 9.4-33.9 0L47 209c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L367 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L241 369z"></path>
|
|
11
13
|
</svg></div>
|
package/src/index.ts
CHANGED
package/src/types.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ButtonSize, ButtonVariant } from '@fiscozen/button'
|
|
2
|
+
import { FzActionlistProps } from '@fiscozen/actionlist'
|
|
3
|
+
|
|
4
|
+
type FzDropdownProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Size of the dropdown trigger
|
|
7
|
+
*/
|
|
8
|
+
size: ButtonSize
|
|
9
|
+
/**
|
|
10
|
+
* Label of the action list
|
|
11
|
+
*/
|
|
12
|
+
actionsLabel?: string
|
|
13
|
+
/**
|
|
14
|
+
* List of actions
|
|
15
|
+
*/
|
|
16
|
+
actions: FzActionlistProps['items']
|
|
17
|
+
/**
|
|
18
|
+
* Whether to align to the left or right
|
|
19
|
+
*/
|
|
20
|
+
align: 'left' | 'right'
|
|
21
|
+
/**
|
|
22
|
+
* Whether to close the action list when an action is clicked
|
|
23
|
+
*/
|
|
24
|
+
closeOnActionClick?: boolean
|
|
25
|
+
/**
|
|
26
|
+
* Whether opener is disabled
|
|
27
|
+
*/
|
|
28
|
+
openerDisabled?: boolean
|
|
29
|
+
/**
|
|
30
|
+
* Class binded to opener
|
|
31
|
+
*/
|
|
32
|
+
openerClass?: string
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type FzDropdownSlots = {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* Label of the standard button opener
|
|
39
|
+
*/
|
|
40
|
+
default(props: { isOpen: boolean }): any
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* Use this to replace the button opener entirely
|
|
44
|
+
*/
|
|
45
|
+
opener(props: { isOpen: boolean }): any
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type { FzDropdownProps, FzDropdownSlots }
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@vue+shared@3.4.13/node_modules/@vue/shared/dist/shared.d.ts","../../node_modules/.pnpm/@vue+reactivity@3.4.13/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../node_modules/.pnpm/@vue+runtime-core@3.4.13/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@vue+runtime-dom@3.4.13/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../node_modules/.pnpm/vue@3.4.13_typescript@5.3.3/node_modules/vue/jsx-runtime/index.d.ts","../../node_modules/.pnpm/@babel+types@7.23.6/node_modules/@babel/types/lib/index.d.ts","../../node_modules/.pnpm/@babel+parser@7.23.6/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js/source-map.d.ts","../../node_modules/.pnpm/@vue+compiler-core@3.4.13/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../node_modules/.pnpm/@vue+compiler-dom@3.4.13/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../node_modules/.pnpm/vue@3.4.13_typescript@5.3.3/node_modules/vue/dist/vue.d.mts","../button/src/types.ts","../../node_modules/.pnpm/vue@3.4.13_typescript@5.4.2/node_modules/vue/jsx-runtime/index.d.ts","../../node_modules/.pnpm/vue@3.4.13_typescript@5.4.2/node_modules/vue/dist/vue.d.mts","../../node_modules/.pnpm/@fortawesome+fontawesome-common-types@6.5.1/node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../../node_modules/.pnpm/@fortawesome+fontawesome-svg-core@6.5.1/node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","../../node_modules/.pnpm/@fortawesome+fontawesome-common-types@6.5.2/node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.89/node_modules/@awesome.me/kit-8137893ad3/icons/modules/icon-types.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.89/node_modules/@awesome.me/kit-8137893ad3/icons/modules/index.d.ts","../../node_modules/.pnpm/@fortawesome+vue-fontawesome@3.0.6_@fortawesome+fontawesome-svg-core@6.5.1_vue@3.4.13_typescript@5.4.2_/node_modules/@fortawesome/vue-fontawesome/index.d.ts","../icons/src/types.ts","../icons/src/fzicon.vue.ts","../icons/src/index.ts","../button/src/utils.ts","../button/src/fzbutton.vue.ts","../button/src/fziconbutton.vue.ts","../button/src/fzbuttongroup.vue.ts","../button/src/index.ts","../../node_modules/.pnpm/vue-router@4.3.0_vue@3.4.13_typescript@5.3.3_/node_modules/vue-router/dist/vue-router.d.ts","../navlink/src/types.ts","../navlink/src/classutils.ts","../navlink/src/fznavlink.vue.ts","../navlink/src/fzrouternavlink.vue.ts","../navlink/src/index.ts","../actionlist/src/types.ts","../actionlist/src/fzactionlist.vue.ts","../actionlist/src/index.ts","../composables/src/types.ts","../composables/src/utils/index.ts","../composables/src/composables/usefloating.ts","../composables/src/composables/usemediaquery.ts","../composables/src/composables/usebreakpoints.ts","../composables/src/composables/useclickoutside.ts","../composables/src/composables/index.ts","../composables/src/fzfloating.vue.ts","../composables/src/index.ts","./src/fzdropdown.vue.ts","./__vls_types.d.ts","./dist/src/fzdropdown.vue.d.ts","./dist/src/index.d.ts","./dist/index.d.ts","./src/index.ts","../actionlist/src/fzactionlist.vue","../link/src/fzlink.vue","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.74/node_modules/@awesome.me/kit-8137893ad3/icons/modules/icon-types.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.74/node_modules/@awesome.me/kit-8137893ad3/icons/modules/index.d.ts","../navlink/src/fznavlink.vue","../navlink/src/fzrouternavlink.vue"],"fileInfos":[{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},"0","0",{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},"0","0","0","0"],"root":[[93,98]],"options":{"composite":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noImplicitThis":true,"skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[51,62,63,64],[63,64],[52],[61],[57,62,64],[46,52,53,54],[55],[46],[46,47,48,50],[47,48,49,75],[54],[48,57],[50,56],[50],[51,57,80,81],[51,81,82],[51,80],[51,57,58,69,70],[51,57,58],[51,57,58,69,70,71],[51,58,71,72,73],[51],[51,58,69],[51,86,87,88,89],[51,87],[51,57],[51,57,84,85],[51,57,84,90],[51,84,90,91],[51,84],[96],[57,74,83],[95],[51,57,74,83,92],[51,93],[51,57,65,66,67],[51,57,62,64,65,67,68],[51,57,69,76,77],[51,76,78,79],[51,67,75],[47,48,49,99],[51,81,100],[51,58,101,102],[51,86,87,88],[51,84,90],[57,99],[51,57,62,67,103],[51,76,104]],"referencedMap":[[64,1],[65,2],[53,3],[62,4],[66,5],[55,6],[56,7],[47,8],[48,9],[50,10],[54,11],[75,12],[57,13],[51,14],[60,13],[59,14],[82,15],[83,16],[81,17],[71,18],[73,19],[72,20],[74,21],[58,22],[70,23],[90,24],[88,25],[89,26],[86,27],[87,26],[91,28],[92,29],[84,26],[85,30],[94,26],[97,31],[95,32],[96,33],[93,34],[98,35],[68,36],[69,37],[67,22],[77,22],[78,38],[79,38],[80,39],[76,40]],"exportedModulesMap":[[64,1],[65,2],[53,3],[62,4],[66,5],[55,6],[56,7],[47,8],[48,9],[50,41],[54,11],[75,12],[57,13],[51,14],[60,13],[59,14],[82,15],[83,42],[81,17],[71,18],[73,19],[72,20],[74,43],[58,22],[70,23],[90,44],[88,25],[89,26],[86,27],[87,26],[91,28],[92,45],[84,26],[85,30],[94,26],[97,26],[95,32],[96,26],[93,34],[98,46],[68,36],[69,47],[67,22],[77,22],[78,38],[79,38],[80,48],[76,40]],"semanticDiagnosticsPerFile":[64,65,53,52,61,63,62,66,55,56,47,48,50,46,49,54,44,45,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,20,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,1,75,57,51,60,59,82,83,81,71,73,72,74,58,70,90,88,89,86,87,91,92,84,85,94,97,95,96,93,98,68,69,67,77,78,79,80,76],"affectedFilesPendingEmit":[93,98],"emitSignatures":[93]},"version":"5.3.3"}
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@vue+shared@3.4.13/node_modules/@vue/shared/dist/shared.d.ts","../../node_modules/.pnpm/@vue+reactivity@3.4.13/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../node_modules/.pnpm/@vue+runtime-core@3.4.13/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@vue+runtime-dom@3.4.13/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../node_modules/.pnpm/vue@3.4.13_typescript@5.3.3/node_modules/vue/jsx-runtime/index.d.ts","../../node_modules/.pnpm/@babel+types@7.23.6/node_modules/@babel/types/lib/index.d.ts","../../node_modules/.pnpm/@babel+parser@7.23.6/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js/source-map.d.ts","../../node_modules/.pnpm/@vue+compiler-core@3.4.13/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../node_modules/.pnpm/@vue+compiler-dom@3.4.13/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../node_modules/.pnpm/vue@3.4.13_typescript@5.3.3/node_modules/vue/dist/vue.d.mts","../button/src/types.ts","../../node_modules/.pnpm/@vue+shared@3.4.33/node_modules/@vue/shared/dist/shared.d.ts","../../node_modules/.pnpm/@vue+reactivity@3.4.33/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../node_modules/.pnpm/@vue+runtime-core@3.4.33/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../node_modules/.pnpm/@vue+runtime-dom@3.4.33/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../node_modules/.pnpm/vue@3.4.33_typescript@5.4.2/node_modules/vue/jsx-runtime/index.d.ts","../../node_modules/.pnpm/@babel+types@7.24.9/node_modules/@babel/types/lib/index.d.ts","../../node_modules/.pnpm/@babel+parser@7.24.8/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/.pnpm/@vue+compiler-core@3.4.33/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../node_modules/.pnpm/@vue+compiler-dom@3.4.33/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../node_modules/.pnpm/vue@3.4.33_typescript@5.4.2/node_modules/vue/dist/vue.d.mts","../../node_modules/.pnpm/@fortawesome+fontawesome-common-types@6.6.0/node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../../node_modules/.pnpm/@fortawesome+fontawesome-svg-core@6.6.0/node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","../../node_modules/.pnpm/@fortawesome+fontawesome-common-types@6.5.1/node_modules/@fortawesome/fontawesome-common-types/index.d.ts","../../node_modules/.pnpm/@fortawesome+fontawesome-svg-core@6.5.1/node_modules/@fortawesome/fontawesome-svg-core/index.d.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.131/node_modules/@awesome.me/kit-8137893ad3/icons/modules/icon-types.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.131/node_modules/@awesome.me/kit-8137893ad3/icons/modules/index.d.ts","../../node_modules/.pnpm/@fortawesome+vue-fontawesome@3.0.8_@fortawesome+fontawesome-svg-core@6.6.0_vue@3.4.33_typescript@5.4.2_/node_modules/@fortawesome/vue-fontawesome/index.d.ts","../icons/src/types.ts","../icons/src/fzicon.vue.ts","../icons/src/index.ts","../button/src/utils.ts","../button/src/fzbutton.vue.ts","../button/src/fziconbutton.vue.ts","../button/src/fzbuttongroup.vue.ts","../button/src/index.ts","../../node_modules/.pnpm/vue-router@4.3.0_vue@3.4.13_typescript@5.3.3_/node_modules/vue-router/dist/vue-router.d.ts","../navlink/src/types.ts","../navlink/src/classutils.ts","../navlink/src/fznavlink.vue.ts","../navlink/src/fzrouternavlink.vue.ts","../navlink/src/index.ts","../actionlist/src/types.ts","../actionlist/src/fzactionlist.vue.ts","../actionlist/src/index.ts","../composables/src/types.ts","../composables/src/utils/index.ts","../composables/src/composables/usefloating.ts","../composables/src/composables/usemediaquery.ts","../composables/src/composables/usebreakpoints.ts","../composables/src/composables/useclickoutside.ts","../composables/src/composables/index.ts","../composables/src/fzfloating.vue.ts","../composables/src/index.ts","./src/types.ts","./src/fzdropdown.vue.ts","./__vls_types.d.ts","./dist/src/fzdropdown.vue.d.ts","./dist/src/index.d.ts","./dist/index.d.ts","./src/index.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.74/node_modules/@awesome.me/kit-8137893ad3/icons/modules/icon-types.ts","../../node_modules/.pnpm/@awesome.me+kit-8137893ad3@1.0.74/node_modules/@awesome.me/kit-8137893ad3/icons/modules/index.d.ts","../navlink/src/fznavlink.vue","../navlink/src/fzrouternavlink.vue"],"fileInfos":[{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},{"version":"0","affectsGlobalScope":true},"0","0",{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0","0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0",{"version":"0","affectsGlobalScope":true},"0","0","0","0"],"root":[[102,108]],"options":{"composite":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noImplicitThis":true,"skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[51,69,72,73],[69,73],[52],[64],[71],[69],[68,70],[46,52,53,54],[52,59,65],[55],[66],[46],[59],[46,47,48],[50,59,60,61,62],[48,49,60,61,62,84],[49,50,60,61],[54],[48,57],[50,56],[50],[62,67],[62],[51,57,89,90],[51,90,91],[51,89],[51,57,58,78,79],[51,57,58],[51,57,58,78,79,80],[51,58,80,81,82],[51],[51,58,78],[51,95,96,97,98],[51,96],[51,57],[51,57,93,94],[51,57,93,99],[51,93,99,100],[51,93],[106],[57,83,92],[105],[51,57,83,92,101,102],[51,102,103],[51,83,92],[63,68,74,75,76],[63,68,70,74,76,77],[63],[51,57,78,85,86],[51,85,87,88],[51,76,84],[46,47,48,50],[47,48,49,109],[51,90,110],[51,58,111,112],[51,95,96,97],[51,93,99],[51,57,72,76],[51,85]],"referencedMap":[[73,1],[74,2],[53,3],[65,4],[72,5],[70,6],[75,7],[55,8],[66,9],[56,10],[67,11],[47,12],[60,13],[48,14],[61,15],[50,16],[62,17],[54,18],[84,19],[57,20],[51,21],[68,22],[63,23],[91,24],[92,25],[90,26],[80,27],[82,28],[81,29],[83,30],[58,31],[79,32],[99,33],[97,34],[98,35],[95,36],[96,35],[100,37],[101,38],[93,35],[94,39],[104,35],[107,40],[105,41],[106,42],[103,43],[108,44],[102,45],[77,46],[78,47],[76,48],[86,31],[87,49],[88,49],[89,50],[85,51]],"exportedModulesMap":[[73,1],[74,2],[53,3],[65,4],[72,5],[70,6],[75,7],[55,8],[66,9],[56,10],[67,11],[47,12],[60,13],[48,52],[61,15],[50,53],[62,17],[54,18],[84,19],[57,20],[51,21],[68,22],[63,23],[91,24],[92,54],[90,26],[80,27],[82,28],[81,29],[83,55],[58,31],[79,32],[99,56],[97,34],[98,35],[95,36],[96,35],[100,37],[101,57],[93,35],[94,39],[104,35],[107,41],[105,35],[106,35],[103,43],[108,35],[102,45],[77,46],[78,58],[76,31],[86,31],[87,49],[88,49],[89,59],[85,51]],"semanticDiagnosticsPerFile":[73,74,53,65,52,64,71,69,72,70,75,55,66,56,67,47,60,48,61,50,62,46,59,49,54,44,45,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,20,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,1,84,57,51,68,63,91,92,90,80,82,81,83,58,79,99,97,98,[95,[{"file":"../composables/src/composables/usefloating.ts","start":1092,"length":23,"code":2322,"category":1,"messageText":{"messageText":"Type 'Element | null' is not assignable to type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; } | null'.","category":1,"code":2322,"next":[{"messageText":"Type 'Element' is missing the following properties from type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }': accessKey, accessKeyLabel, autocapitalize, dir, and 122 more.","category":1,"code":2740}]}},{"file":"../composables/src/composables/usefloating.ts","start":1374,"length":25,"code":2322,"category":1,"messageText":"Type 'Element | null' is not assignable to type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; } | null'."},{"file":"../composables/src/composables/usefloating.ts","start":1784,"length":22,"code":2322,"category":1,"messageText":"Type 'Element | null' is not assignable to type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; } | null'."},{"file":"../composables/src/composables/usefloating.ts","start":2245,"length":23,"code":2345,"category":1,"messageText":{"messageText":"Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to parameter of type 'Element'.","category":1,"code":2345,"next":[{"messageText":"Types of property 'attributes' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: { readonly attributes: ...; ... 166 more ...; readonly assignedSlot: { ...; } | null; }; readonly length: number; ...' is not assignable to type 'NamedNodeMap'.","category":1,"code":2322}]}]}},{"file":"../composables/src/composables/usefloating.ts","start":2390,"length":23,"code":2345,"category":1,"messageText":"Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to parameter of type 'Element'."},{"file":"../composables/src/composables/usefloating.ts","start":2449,"length":25,"code":2345,"category":1,"messageText":"Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to parameter of type 'Element'."},{"file":"../composables/src/composables/usefloating.ts","start":3208,"length":25,"code":2345,"category":1,"messageText":"Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to parameter of type 'HTMLElement'."},{"file":"../composables/src/composables/usefloating.ts","start":3438,"length":25,"code":2345,"category":1,"messageText":"Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to parameter of type 'HTMLElement'."},{"file":"../composables/src/composables/usefloating.ts","start":3689,"length":25,"code":2345,"category":1,"messageText":"Argument of type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to parameter of type 'HTMLElement'."},{"file":"../composables/src/composables/usefloating.ts","start":9288,"length":13,"code":2322,"category":1,"messageText":{"messageText":"Type 'Ref<{ readonly root: { readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { ...; }; ... 255 more ...; evaluate: (expression: string, contextNode: Node, resolve...' is not assignable to type 'Ref<IntersectionObserver>'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly root: { readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => ...' is not assignable to type 'IntersectionObserver'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'root' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element | Document | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element | Document | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element | Document'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element'.","category":1,"code":2322}]}]}]}]}]}]},"relatedInformation":[{"file":"../composables/src/composables/usefloating.ts","start":322,"length":13,"messageText":"The expected type comes from property 'floatObserver' which is declared here on type '{ float: FzRect; rect: Ref<DOMRect | null>; floatObserver: Ref<IntersectionObserver>; setPosition: () => Promise<void>; }'","category":3,"code":6500}]}]],96,[100,[{"file":"../composables/src/fzfloating.vue","start":496,"length":6,"code":2322,"category":1,"messageText":{"messageText":"Type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; } | null>' is not assignable to type 'Ref<string | HTMLElement | null>'.","category":1,"code":2322,"next":[{"messageText":"Type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; } | null' is not assignable to type 'string | HTMLElement | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to type 'string | HTMLElement | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to type 'HTMLElement'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'offsetParent' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'attributes' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: { readonly attributes: ...; ... 166 more ...; readonly assignedSlot: { ...; } | null; }; readonly length: number; ...' is not assignable to type 'NamedNodeMap'.","category":1,"code":2322,"next":[{"messageText":"'number' index signatures are incompatible.","category":1,"code":2634,"next":[{"messageText":"Type '{ readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: { readonly attributes: { [x: number]: ...; ... 8 more ...; [Symbol.iterator]: () => IterableIterator<...>; }; ... 166 more ...; r...' is not assignable to type 'Attr'.","category":1,"code":2322,"next":[{"messageText":"The types of 'ownerDocument.anchors' are incompatible between these types.","category":1,"code":2200,"next":[{"messageText":"Type '{ [x: number]: { charset: string; coords: string; download: string; hreflang: string; name: string; ping: string; referrerPolicy: string; rel: string; readonly relList: { [x: number]: string; readonly length: number; ... 13 more ...; [Symbol.iterator]: () => IterableIterator<...>; }; ... 315 more ...; username: stri...' is not assignable to type 'HTMLCollectionOf<HTMLAnchorElement>'.","category":1,"code":2322,"next":[{"messageText":"'number' index signatures are incompatible.","category":1,"code":2634,"next":[{"messageText":"Type '{ charset: string; coords: string; download: string; hreflang: string; name: string; ping: string; referrerPolicy: string; rel: string; readonly relList: { [x: number]: string; readonly length: number; value: string; ... 12 more ...; [Symbol.iterator]: () => IterableIterator<...>; }; ... 315 more ...; username: stri...' is not assignable to type 'HTMLAnchorElement'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'shadowRoot' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ readonly delegatesFocus: boolean; readonly host: { readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; ... 257 more ...; evaluate: (expression: string, contextNode: Node, resolver?: XPathNSRes...' is not assignable to type 'ShadowRoot | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly delegatesFocus: boolean; readonly host: { readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; ... 257 more ...; evaluate: (expression: string, contextNode: Node, resolver?: XPathNSRes...' is not assignable to type 'ShadowRoot'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'adoptedStyleSheets' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ readonly cssRules: { [x: number]: { cssText: string; readonly parentRule: ... | null; readonly parentStyleSheet: ... | null; readonly type: number; readonly STYLE_RULE: 1; readonly CHARSET_RULE: 2; ... 7 more ...; readonly SUPPORTS_RULE: 12; }; readonly length: number; item: (index: number) => CSSRule | null; [Sym...' is not assignable to type 'CSSStyleSheet[]'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly cssRules: { [x: number]: { cssText: string; readonly parentRule: ... | null; readonly parentStyleSheet: ... | null; readonly type: number; readonly STYLE_RULE: 1; readonly CHARSET_RULE: 2; ... 7 more ...; readonly SUPPORTS_RULE: 12; }; readonly length: number; item: (index: number) => CSSRule | null; [Sym...' is not assignable to type 'CSSStyleSheet'.","category":1,"code":2322,"next":[{"messageText":"Types of property 'ownerNode' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element | ProcessingInstruction | null'.","category":1,"code":2322,"next":[{"messageText":"Type '{ readonly attributes: { [x: number]: { readonly localName: string; readonly name: string; readonly namespaceURI: string | null; readonly ownerDocument: { readonly URL: string; alinkColor: string; readonly all: { [x: number]: ...; readonly length: number; item: (nameOrIndex?: string | undefined) => Element | ... 1 m...' is not assignable to type 'Element | ProcessingInstruction | null'.","category":1,"code":2322}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]},"relatedInformation":[{"file":"../composables/src/types.ts","start":746,"length":6,"messageText":"The expected type comes from property 'domRef' which is declared here on type 'FzFloatElement'","category":3,"code":6500}]},{"file":"../composables/src/fzfloating.vue","start":536,"length":6,"code":2322,"category":1,"messageText":{"messageText":"Type 'Ref<string> | Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; ... 289 more ...; focus: (options?: FocusOptions | undefined) => void; }>' is not assignable to type 'Ref<string | HTMLElement | null>'.","category":1,"code":2322,"next":[{"messageText":"Type 'Ref<{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }>' is not assignable to type 'Ref<string | HTMLElement | null>'.","category":1,"code":2322,"next":[{"messageText":"Type '{ accessKey: string; readonly accessKeyLabel: string; autocapitalize: string; dir: string; draggable: boolean; hidden: boolean; inert: boolean; innerText: string; lang: string; readonly offsetHeight: number; ... 288 more ...; focus: (options?: FocusOptions | undefined) => void; }' is not assignable to type 'string | HTMLElement | null'.","category":1,"code":2322}]}]}}]],101,93,94,104,107,105,106,103,108,102,77,78,76,86,87,88,89,85],"affectedFilesPendingEmit":[103,108,102],"emitSignatures":[102,103]},"version":"5.3.3"}
|