@fiscozen/dropdown 0.1.11 → 0.1.12
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/dist/dropdown.js +4075 -0
- package/dist/dropdown.umd.cjs +763 -0
- package/dist/src/FzDropdown.vue.d.ts +65 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
- package/src/FzDropdown.vue +16 -3
- package/src/__tests__/FzDropdown.spec.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/src/FzTopbar.vue.d.ts +0 -92
- package/dist/topbar.js +0 -5285
- package/dist/topbar.umd.cjs +0 -763
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ButtonSize } from '@fiscozen/button';
|
|
2
|
+
import { ActionlistItem } from '@fiscozen/actionlist';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
/**
|
|
6
|
+
* Size of the dropdown trigger
|
|
7
|
+
*/
|
|
8
|
+
size: ButtonSize;
|
|
9
|
+
/**
|
|
10
|
+
* Label of the action list
|
|
11
|
+
*/
|
|
12
|
+
actionsLabel?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* List of actions
|
|
15
|
+
*/
|
|
16
|
+
actions: ActionlistItem[];
|
|
17
|
+
}>, {
|
|
18
|
+
size: string;
|
|
19
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"fzaction:click": (index: number, action: ActionlistItem) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
+
/**
|
|
23
|
+
* Size of the dropdown trigger
|
|
24
|
+
*/
|
|
25
|
+
size: ButtonSize;
|
|
26
|
+
/**
|
|
27
|
+
* Label of the action list
|
|
28
|
+
*/
|
|
29
|
+
actionsLabel?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* List of actions
|
|
32
|
+
*/
|
|
33
|
+
actions: ActionlistItem[];
|
|
34
|
+
}>, {
|
|
35
|
+
size: string;
|
|
36
|
+
}>>> & {
|
|
37
|
+
"onFzaction:click"?: ((index: number, action: ActionlistItem) => any) | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
size: ButtonSize;
|
|
40
|
+
}, {}>, {
|
|
41
|
+
default?(_: {}): any;
|
|
42
|
+
}>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
type __VLS_WithDefaults<P, D> = {
|
|
54
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
+
default: D[K];
|
|
56
|
+
}> : P[K];
|
|
57
|
+
};
|
|
58
|
+
type __VLS_Prettify<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as FzDropdown } from './FzDropdown.vue';
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.temporary-bg-red:hover{background-color:#aa2f2f}.temporary-bg-red:disabled{background-color:#f8baba}.temporary-border-red:focus{border-color:#aa2f2f}.temporary-bg-green:hover{background-color:#0b7763}.temporary-bg-green:disabled{background-color:#b5d8ce}.temporary-border-green:focus{border-color:#0b7763}.
|
|
1
|
+
.temporary-bg-red:hover{background-color:#aa2f2f}.temporary-bg-red:disabled{background-color:#f8baba}.temporary-border-red:focus{border-color:#aa2f2f}.temporary-bg-green:hover{background-color:#0b7763}.temporary-bg-green:disabled{background-color:#b5d8ce}.temporary-border-green:focus{border-color:#0b7763}.gap-disabled[data-v-bfa83cb7] button:focus{z-index:100}.gap-disabled[data-v-bfa83cb7] button:not(:first-child):not(:last-child){border-radius:0}.gap-disabled.horizontal[data-v-bfa83cb7] button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.gap-disabled.horizontal[data-v-bfa83cb7] button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.gap-disabled.horizontal[data-v-bfa83cb7] button:not(:first-child){margin-left:-1px}.gap-disabled.vertical[data-v-bfa83cb7] button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.gap-disabled.vertical[data-v-bfa83cb7] button:last-child{border-top-left-radius:0;border-top-right-radius:0}.gap-disabled.vertical[data-v-bfa83cb7] button:not(:first-child){margin-top:-1px}.fz__actionlist{min-width:240px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiscozen/dropdown",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
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/actionlist": "^0.1.
|
|
11
|
-
"@fiscozen/
|
|
12
|
-
"@fiscozen/
|
|
10
|
+
"@fiscozen/actionlist": "^0.1.5",
|
|
11
|
+
"@fiscozen/composables": "^0.1.8",
|
|
12
|
+
"@fiscozen/button": "^0.1.3"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"tailwindcss": "^3.4.1",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"vite": "^5.0.10",
|
|
32
32
|
"vitest": "^1.2.0",
|
|
33
33
|
"vue-tsc": "^1.8.25",
|
|
34
|
+
"@fiscozen/tsconfig": "^0.1.0",
|
|
34
35
|
"@fiscozen/prettier-config": "^0.1.0",
|
|
35
|
-
"@fiscozen/eslint-config": "^0.1.0"
|
|
36
|
-
"@fiscozen/tsconfig": "^0.1.0"
|
|
36
|
+
"@fiscozen/eslint-config": "^0.1.0"
|
|
37
37
|
},
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"scripts": {
|
package/src/FzDropdown.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<FzFloating :isOpen position="
|
|
2
|
+
<FzFloating :isOpen :position="floatingPosition">
|
|
3
3
|
<template #opener>
|
|
4
4
|
<FzButton
|
|
5
5
|
icon-position="after"
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
<slot></slot>
|
|
11
11
|
</FzButton>
|
|
12
12
|
</template>
|
|
13
|
-
<FzActionlist :items="actions" :label="actionsLabel" />
|
|
13
|
+
<FzActionlist :items="actions" :label="actionsLabel" @fzaction:click="handleActionClick" />
|
|
14
14
|
</FzFloating>
|
|
15
15
|
</template>
|
|
16
16
|
|
|
17
17
|
<script setup lang="ts">
|
|
18
18
|
import { computed, ref } from 'vue'
|
|
19
19
|
import { FzButton, ButtonSize } from '@fiscozen/button'
|
|
20
|
-
import { FzActionlist, FzActionlistProps } from '@fiscozen/actionlist'
|
|
20
|
+
import { FzActionlist, FzActionlistProps, ActionlistItem } from '@fiscozen/actionlist'
|
|
21
21
|
import { FzFloating } from '@fiscozen/composables'
|
|
22
22
|
|
|
23
23
|
const props = withDefaults(
|
|
@@ -34,12 +34,25 @@ const props = withDefaults(
|
|
|
34
34
|
* List of actions
|
|
35
35
|
*/
|
|
36
36
|
actions: FzActionlistProps['items']
|
|
37
|
+
/**
|
|
38
|
+
* Whether to align to the left or right
|
|
39
|
+
*/
|
|
40
|
+
align: 'left' | 'right'
|
|
37
41
|
}>(),
|
|
38
42
|
{
|
|
39
43
|
size: 'md'
|
|
40
44
|
}
|
|
41
45
|
)
|
|
42
46
|
|
|
47
|
+
const emit = defineEmits<{
|
|
48
|
+
'fzaction:click': [index: number, action: ActionlistItem]
|
|
49
|
+
}>()
|
|
50
|
+
|
|
43
51
|
const isOpen = ref(false)
|
|
44
52
|
const buttonIconName = computed(() => (isOpen.value ? 'angle-up' : 'angle-down'))
|
|
53
|
+
const floatingPosition = computed(() => (props.align === 'left' ? 'bottom-start' : 'bottom-end'))
|
|
54
|
+
|
|
55
|
+
function handleActionClick(index: number, action: ActionlistItem) {
|
|
56
|
+
emit('fzaction:click', index, action)
|
|
57
|
+
}
|
|
45
58
|
</script>
|
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/@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.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","../../node_modules/.pnpm/@fortawesome+vue-fontawesome@3.0.6_@fortawesome+fontawesome-svg-core@6.5.1_vue@3.4.13/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/index.ts","../../node_modules/.pnpm/vue-router@4.3.0_vue@3.4.13/node_modules/vue-router/dist/vue-router.d.ts","../link/src/fzlink.vue.ts","../link/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/index.ts","../composables/src/fzfloating.vue.ts","../composables/src/index.ts","../style/tokens.json","../style/src/constants.ts","../style/src/index.ts","./src/fztopbar.vue.ts","./__vls_types.d.ts","./dist/src/fztopbar.vue.d.ts","./dist/src/index.d.ts","./dist/index.d.ts","./src/index.ts","../composables/src/fzfloating.vue","../icons/src/fzicon.vue","../link/src/fzlink.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",{"version":"0","affectsGlobalScope":true},"0","0","0","0"],"root":[[86,91]],"options":{"composite":true,"esModuleInterop":true,"jsx":1,"jsxImportSource":"vue","module":99,"noImplicitThis":true,"skipLibCheck":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[51,60,61,62],[61,62],[52],[59],[57,60,62],[46,52,53,54],[55],[46],[46,47,48,50],[47,48,49,72],[54],[48,57],[50,56],[50],[51,57,58,67,68],[51,57,58,67,68,69],[51,58,69,70],[51],[51,58,67],[51,77,78,79],[51,78],[51,57,75,76],[51,57],[51,57,75,80],[51,75,80,81],[51,75],[51,57,63,64,65],[51,57,60,62,63,65,66],[51,57,72],[51,73],[83],[84],[89],[57,72],[88],[51,57,71,72,74,82,85],[51,86],[51,58,92,93],[51,75,80,94],[51,57,60,62,63,65]],"referencedMap":[[62,1],[63,2],[53,3],[60,4],[64,5],[55,6],[56,7],[47,8],[48,9],[50,10],[54,11],[72,12],[57,13],[51,14],[69,15],[70,16],[71,17],[58,18],[68,19],[80,20],[79,21],[77,22],[78,23],[81,24],[82,25],[75,23],[76,26],[66,27],[67,28],[65,18],[73,29],[74,30],[84,31],[85,32],[87,23],[90,33],[88,34],[89,35],[86,36],[91,37]],"exportedModulesMap":[[62,1],[63,2],[53,3],[60,4],[64,5],[55,6],[56,7],[47,8],[48,9],[50,10],[54,11],[72,12],[57,13],[51,14],[69,15],[70,16],[71,38],[58,18],[68,19],[80,20],[79,21],[77,22],[78,23],[81,24],[82,39],[75,23],[76,26],[66,27],[67,40],[65,18],[73,29],[74,18],[84,31],[85,32],[87,23],[90,33],[88,34],[89,35],[86,36],[91,23]],"semanticDiagnosticsPerFile":[62,63,53,52,59,61,60,64,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,72,57,51,69,70,71,58,68,80,79,77,78,81,82,75,76,66,67,65,73,74,[84,[{"file":"../style/src/constants.ts","start":197,"length":9,"code":7053,"category":1,"messageText":{"messageText":"Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Record<\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\" | \"3xl\", `${number}px`>'.","category":1,"code":7053,"next":[{"messageText":"No index signature with a parameter of type 'string' was found on type 'Record<\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\" | \"3xl\", `${number}px`>'.","category":1,"code":7054}]}}]],85,83,87,90,88,89,86,91],"affectedFilesPendingEmit":[86,91],"emitSignatures":[86]},"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@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/index.d.ts","./dist/index.d.ts","./src/index.ts","../icons/src/fzicon.vue","../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"],"root":[[93,97]],"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],[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,98],[51,81,99],[51,58,100,101],[51,86,87,88],[51,84,90],[57,98],[96],[51,57,62,67,102],[51,76,103,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],[96,31],[93,32],[97,33],[68,34],[69,35],[67,22],[77,22],[78,36],[79,36],[80,37],[76,38]],"exportedModulesMap":[[64,1],[65,2],[53,3],[62,4],[66,5],[55,6],[56,7],[47,8],[48,9],[50,39],[54,11],[75,12],[57,13],[51,14],[60,13],[59,14],[82,15],[83,40],[81,17],[71,18],[73,19],[72,20],[74,41],[58,22],[70,23],[90,42],[88,25],[89,26],[86,27],[87,26],[91,28],[92,43],[84,26],[85,30],[94,26],[96,44],[95,26],[93,32],[97,45],[68,34],[69,46],[67,22],[77,22],[78,36],[79,36],[80,47],[76,38]],"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,96,95,93,97,68,69,67,77,78,79,80,76],"affectedFilesPendingEmit":[93,97],"emitSignatures":[93]},"version":"5.3.3"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
/**
|
|
5
|
-
* Type of the topbar which dictates the appearance
|
|
6
|
-
*/
|
|
7
|
-
type?: "danger" | "default" | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* Style which dictates the action rendered
|
|
10
|
-
*/
|
|
11
|
-
style?: "button" | "link" | "none" | "icon-button" | "hybrid" | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* Action label
|
|
14
|
-
*/
|
|
15
|
-
actionLabel?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Action tooltip
|
|
18
|
-
*/
|
|
19
|
-
actionTooltip?: string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Action link
|
|
22
|
-
*/
|
|
23
|
-
actionLink?: RouteLocationRaw | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Action link
|
|
26
|
-
*/
|
|
27
|
-
actionIcon?: string | undefined;
|
|
28
|
-
}>, {
|
|
29
|
-
type: string;
|
|
30
|
-
style: string;
|
|
31
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
-
actionClick: (...args: any[]) => void;
|
|
33
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
34
|
-
/**
|
|
35
|
-
* Type of the topbar which dictates the appearance
|
|
36
|
-
*/
|
|
37
|
-
type?: "danger" | "default" | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Style which dictates the action rendered
|
|
40
|
-
*/
|
|
41
|
-
style?: "button" | "link" | "none" | "icon-button" | "hybrid" | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Action label
|
|
44
|
-
*/
|
|
45
|
-
actionLabel?: string | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Action tooltip
|
|
48
|
-
*/
|
|
49
|
-
actionTooltip?: string | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* Action link
|
|
52
|
-
*/
|
|
53
|
-
actionLink?: RouteLocationRaw | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Action link
|
|
56
|
-
*/
|
|
57
|
-
actionIcon?: string | undefined;
|
|
58
|
-
}>, {
|
|
59
|
-
type: string;
|
|
60
|
-
style: string;
|
|
61
|
-
}>>> & {
|
|
62
|
-
onActionClick?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
type: "danger" | "default";
|
|
65
|
-
style: "button" | "link" | "none" | "icon-button" | "hybrid";
|
|
66
|
-
}, {}>, {
|
|
67
|
-
default?(_: {}): any;
|
|
68
|
-
action?(_: {}): any;
|
|
69
|
-
}>;
|
|
70
|
-
export default _default;
|
|
71
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
72
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
73
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
74
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
75
|
-
} : {
|
|
76
|
-
type: import('vue').PropType<T[K]>;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
type __VLS_WithDefaults<P, D> = {
|
|
81
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
82
|
-
default: D[K];
|
|
83
|
-
}> : P[K];
|
|
84
|
-
};
|
|
85
|
-
type __VLS_Prettify<T> = {
|
|
86
|
-
[K in keyof T]: T[K];
|
|
87
|
-
} & {};
|
|
88
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
89
|
-
new (): {
|
|
90
|
-
$slots: S;
|
|
91
|
-
};
|
|
92
|
-
};
|