cic-kit 0.0.12 → 0.0.17
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/cic-kit.css +1 -1
- package/dist/cmp/Accordion/Accordion.vue.d.ts +25 -0
- package/dist/cmp/Avatar/Avatar.vue.d.ts +23 -0
- package/dist/cmp/Avatar/AvatarUser.d.ts +51 -0
- package/dist/cmp/Avatar/AvatarUserCmp.vue.d.ts +7 -0
- package/dist/cmp/Avatar/AvatarUserEditor.vue.d.ts +3 -0
- package/dist/cmp/Avatar/AvatarUserPicker.vue.d.ts +16 -0
- package/dist/cmp/Avatar/AvatarUserPickerGender.vue.d.ts +18 -0
- package/dist/cmp/Btn/Btn.vue.d.ts +34 -0
- package/dist/cmp/Btn/BtnGoogleLogin.vue.d.ts +3 -0
- package/dist/cmp/Btn/PwaUpdateButton.vue.d.ts +3 -0
- package/dist/cmp/Container/ContainerSideTabs.vue.d.ts +120 -0
- package/dist/cmp/Container/ContainerSubSettings.vue.d.ts +17 -0
- package/dist/cmp/Container/SideTabCmp.vue.d.ts +59 -0
- package/dist/cmp/Container/SideTabs.d.ts +13 -0
- package/dist/cmp/Container/SideTabsList.vue.d.ts +46 -0
- package/dist/cmp/File/FirebaseStrorage.d.ts +61 -0
- package/dist/cmp/File/ImgUploader.vue.d.ts +34 -0
- package/dist/cmp/Logo/Logo.vue.d.ts +11 -0
- package/dist/cmp/Modal/Modal.vue.d.ts +85 -0
- package/dist/cmp/ModalDev/HomeViewDev.vue.d.ts +3 -0
- package/dist/cmp/ModalDev/ModalDev.vue.d.ts +26 -0
- package/dist/cmp/ModalDev/view/AppConfigViewDev.vue.d.ts +3 -0
- package/dist/cmp/ModalDev/view/FireStoreDevView.vue.d.ts +7 -0
- package/dist/cmp/ModalDev/view/LSViewDev.vue.d.ts +3 -0
- package/dist/cmp/ModalDev/view/MsgPushViewDev.vue.d.ts +3 -0
- package/dist/cmp/RegisterSW.vue.d.ts +13 -0
- package/dist/cmp/checkVersionPkg/checkVersionPkg.d.ts +1 -0
- package/dist/cmp/firebase/FirestoreStore.d.ts +2 -2
- package/dist/cmp/form-validator/InputValueParser.d.ts +1 -1
- package/dist/cmp/header/useChangeHeader.d.ts +2 -0
- package/dist/cmp/header/useHeaderExtra.d.ts +2 -0
- package/dist/cmp/header/useHideHeader.d.ts +1 -0
- package/dist/cmp/input/Gender/FieldGender.vue.d.ts +31 -0
- package/dist/cmp/input/PhoneNumber/FieldPhoneNumber.vue.d.ts +37 -0
- package/dist/cmp/input/Tag/ColorTag.d.ts +6 -0
- package/dist/cmp/input/Tag/ColorTagInput.vue.d.ts +37 -0
- package/dist/cmp/input/Tag/TagInput.vue.d.ts +27 -0
- package/dist/cmp/input/Tag/colorTagDB/foodPreferenceTags.d.ts +2 -0
- package/dist/cmp/input/Text/InputField.vue.d.ts +34 -0
- package/dist/cmp/input/Tiptap/TiptapField.vue.d.ts +15 -0
- package/dist/cmp/layout/FooterApp.vue.d.ts +3 -0
- package/dist/cmp/layout/HeaderApp.vue.d.ts +3 -0
- package/dist/cmp/layout/ToolbarTab.vue.d.ts +10 -0
- package/dist/cmp/loading/LoaderCmp.vue.d.ts +3 -0
- package/dist/cmp/loading/LoadingText.vue.d.ts +3 -0
- package/dist/cmp/loading/loadingController.d.ts +8 -0
- package/dist/cmp/offCanvas/Offcanvas.vue.d.ts +45 -0
- package/dist/cmp/offCanvas/OffcanvasCmp.vue.d.ts +78 -0
- package/dist/cmp/offCanvas/useSetOffCanvasTabs.d.ts +2 -0
- package/dist/cmp/test/generaColore.d.ts +6 -0
- package/dist/cmp/test/generaDate.d.ts +55 -0
- package/dist/cmp/test/generaDatiPersonali.d.ts +35 -0
- package/dist/cmp/test/generaNumero.d.ts +5 -0
- package/dist/cmp/test/generaTesto.d.ts +17 -0
- package/dist/cmp/toast/ToastCmp.vue.d.ts +3 -0
- package/dist/cmp/toolbar/useChangeToolbar.d.ts +3 -0
- package/dist/cmp/utils/copyToClipboard.d.ts +1 -0
- package/dist/cmp/utils/delay.d.ts +5 -0
- package/dist/cmp/utils/pickRandom.d.ts +5 -0
- package/dist/cmp/utils/useDebounce.d.ts +1 -0
- package/dist/cmp/utils/useRouteTo.d.ts +35 -0
- package/dist/cmp/viewer/ObjectViewer.vue.d.ts +7 -0
- package/dist/defaultViews/ErrorView.vue.d.ts +8 -0
- package/dist/defaultViews/user/LoginView.vue.d.ts +3 -0
- package/dist/defaultViews/user/RegisterView.vue.d.ts +3 -0
- package/dist/defaultViews/user/ResetPasswordView.vue.d.ts +3 -0
- package/dist/defaultViews/user/UserView.vue.d.ts +3 -0
- package/dist/defaultViews/user/usersettings/UserFormPersonalInfo.vue.d.ts +3 -0
- package/dist/defaultViews/user/usersettings/UserFormPersonalInfoTest.vue.d.ts +3 -0
- package/dist/index.cjs +28 -20
- package/dist/index.d.ts +20 -6
- package/dist/index.mjs +11324 -7021
- package/dist/models/AppConfig.d.ts +18 -0
- package/dist/models/UserPublic.d.ts +27 -0
- package/dist/stores/appConfigStore.d.ts +9 -0
- package/dist/stores/currentUserStore.d.ts +189 -0
- package/dist/stores/store.d.ts +233 -0
- package/dist/stores/userPublicStore.d.ts +524 -0
- package/package.json +3 -2
package/dist/cic-kit.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
@charset "UTF-8";.spinner-border[data-v-a24f0a34]{vertical-align:middle}.btn-ms-link[data-v-a24f0a34]{background-color:transparent!important;border:none;color:var(--bs-btn-color)!important}.btn-ms-link[data-v-a24f0a34]:hover{text-decoration:underline}.hideAfter[data-v-a24f0a34]:after{display:none}.toast-wrapper[data-v-2cc28e46]{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;gap:6px;z-index:999999}.toast-card[data-v-2cc28e46]{width:330px;min-height:80px;border-radius:8px;padding:10px 12px;background-color:#fff;box-shadow:0 8px 24px #00000026;display:flex;align-items:center;justify-content:center;gap:12px;cursor:default;transition:all .3s ease,transform .3s ease;overflow:hidden;opacity:1}.toast-card .icon-container[data-v-2cc28e46]{width:35px;height:35px;display:flex;justify-content:center;align-items:center;border-radius:50%;flex-shrink:0;transition:all .3s ease}.toast-card .message-text[data-v-2cc28e46]{font-size:17px;font-weight:700}.toast-card .sub-text[data-v-2cc28e46]{color:#555;font-size:14px}.toast-card .cross-icon[data-v-2cc28e46]{width:18px;height:18px;color:#555;cursor:pointer;flex-shrink:0}.toast-card[data-v-2cc28e46]:not(.expanded){min-height:40px;max-height:40px;padding-top:6px;padding-bottom:6px;opacity:.7}.toast-card:not(.expanded) .icon-container[data-v-2cc28e46]{width:18px;height:18px}.toast-card:not(.expanded) .message-text[data-v-2cc28e46]{font-size:14px}.toast-card:not(.expanded) .sub-content[data-v-2cc28e46]{display:none}.toast-card:not(.expanded) .cross-icon[data-v-2cc28e46]{width:14px;height:14px}.toast-fade-enter-from[data-v-2cc28e46],.toast-fade-leave-to[data-v-2cc28e46]{opacity:0;transform:translateY(20px)}.toast-fade-enter-active[data-v-2cc28e46],.toast-fade-leave-active[data-v-2cc28e46]{transition:all .3s ease}.message-text-container[data-v-2cc28e46]{flex-grow:1}.toast-card.info[data-v-2cc28e46]{border-right:5px solid var(--bs-info)}.toast-card.info .icon-container[data-v-2cc28e46]{color:var(--bs-info)}.toast-card.success[data-v-2cc28e46]{border-right:5px solid var(--bs-success)}.toast-card.success .icon-container[data-v-2cc28e46]{color:var(--bs-success)}.toast-card.warning[data-v-2cc28e46]{border-right:5px solid var(--bs-warning)}.toast-card.warning .icon-container[data-v-2cc28e46]{color:var(--bs-warning)}.toast-card.error[data-v-2cc28e46]{border-right:5px solid var(--bs-danger)}.toast-card.error .icon-container[data-v-2cc28e46]{color:var(--bs-danger)}.toast-card.primary[data-v-2cc28e46]{border-right:5px solid var(--bs-primary)}.toast-card.primary .icon-container[data-v-2cc28e46]{color:var(--bs-primary)}.toast-card.secondary[data-v-2cc28e46]{border-right:5px solid var(--bs-secondary)}.toast-card.secondary .icon-container[data-v-2cc28e46]{color:var(--bs-secondary)}.prefix-width[data-v-d70bf135]{width:60px}.bg-glass[data-v-0a70ef7c]{width:100%;z-index:1;background:var(--colors-theme-bg-accent-hover-alpha, rgba(0, 0, 0, .0235294118));-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);box-shadow:0 6px 24px #00000014;border-radius:4px}.ms_tab[data-v-5204c1f0]{width:100%;text-align:left;display:flex;align-items:center;gap:.5em;padding:.25em .5em;border-radius:6px;cursor:pointer;transition:background-color .16s ease,transform .14s ease,box-shadow .16s ease;transform:translate(0)}.ms_tab[data-v-5204c1f0]:hover{transform:translate(2px)}.ms_tab.active[data-v-5204c1f0]{font-weight:700;transform:translate(2px)}.bg-glass[data-v-9cb9fc53]{width:100%;z-index:1;background:var(--colors-theme-bg-accent-hover-alpha, rgba(0, 0, 0, .0235294118));-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);box-shadow:0 6px 24px #00000014;border-radius:4px}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
defaultOpen?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
header?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_3) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
open: (ev: MouseEvent) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onOpen?: ((ev: MouseEvent) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type NamedSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
type Shape = 'square' | 'circle' | 'octagon';
|
|
3
|
+
interface Props {
|
|
4
|
+
imgUrl?: string | null;
|
|
5
|
+
initials?: string;
|
|
6
|
+
/** 'sm'|'md'|'lg'|'xl' o un number (px) */
|
|
7
|
+
size?: NamedSize | number;
|
|
8
|
+
/** Forma del contenitore */
|
|
9
|
+
shape?: Shape;
|
|
10
|
+
/** Se presente, mostra questa icona centrata invece di img/initials (es. un componente icona) */
|
|
11
|
+
icon?: any;
|
|
12
|
+
/** Tooltip/aria opzionale */
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
title: string;
|
|
17
|
+
size: NamedSize | number;
|
|
18
|
+
imgUrl: string | null;
|
|
19
|
+
initials: string;
|
|
20
|
+
shape: Shape;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Gender } from '../input/Gender/Gender';
|
|
2
|
+
export type AvatarSvgName = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
|
3
|
+
export declare const AvatarSvgMale: AvatarSvgName[];
|
|
4
|
+
export declare const AvatarSvgFemale: AvatarSvgName[];
|
|
5
|
+
export declare const AvatarSvgName: readonly AvatarSvgName[];
|
|
6
|
+
export interface AvatarColors {
|
|
7
|
+
bg: string;
|
|
8
|
+
skin: string;
|
|
9
|
+
skinD: string;
|
|
10
|
+
hair: string;
|
|
11
|
+
shirt: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const AVATAR_BG_COLORS = "#dfdbcc";
|
|
14
|
+
export declare const AVATAR_SKIN_COLORS: string[];
|
|
15
|
+
export declare const AVATAR_HAIR_COLORS: string[];
|
|
16
|
+
export declare const AVATAR_SHIRT_COLORS: string[];
|
|
17
|
+
export type AvatarUserInit = {
|
|
18
|
+
name: AvatarSvgName;
|
|
19
|
+
bg: string;
|
|
20
|
+
skin: string;
|
|
21
|
+
skinD?: string;
|
|
22
|
+
hair: string;
|
|
23
|
+
shirt: string;
|
|
24
|
+
};
|
|
25
|
+
export declare class AvatarUser {
|
|
26
|
+
name: AvatarSvgName;
|
|
27
|
+
bg: string;
|
|
28
|
+
skin: string;
|
|
29
|
+
skinD: string;
|
|
30
|
+
hair: string;
|
|
31
|
+
shirt: string;
|
|
32
|
+
constructor(init: AvatarUserInit);
|
|
33
|
+
get html(): string;
|
|
34
|
+
get style(): Record<string, string>;
|
|
35
|
+
private static randomFrom;
|
|
36
|
+
static randomSvg(gender?: Gender): AvatarSvgName;
|
|
37
|
+
static randomSkin(): string;
|
|
38
|
+
static getSkinD(skin: string): string;
|
|
39
|
+
static randomHair(): string;
|
|
40
|
+
static randomShirt(): string;
|
|
41
|
+
static randomColors(bg?: string): AvatarColors;
|
|
42
|
+
static createRandom(opts?: {
|
|
43
|
+
bg?: string;
|
|
44
|
+
name?: AvatarSvgName;
|
|
45
|
+
gender?: Gender;
|
|
46
|
+
}): AvatarUser;
|
|
47
|
+
static getAll(bg?: string): AvatarUser[];
|
|
48
|
+
static defaultColor(bg?: string): AvatarColors;
|
|
49
|
+
setRandomColors(bg?: string): AvatarColors;
|
|
50
|
+
}
|
|
51
|
+
export declare const defaultAvatar: AvatarUser;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AvatarUser } from './AvatarUser';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
avatar?: AvatarUser;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AvatarUser } from './AvatarUser';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: AvatarUser;
|
|
4
|
+
preview?: boolean;
|
|
5
|
+
editOnHover?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (v: AvatarUser | undefined) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((v: AvatarUser | undefined) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
preview: boolean;
|
|
13
|
+
editOnHover: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AvatarUser } from './AvatarUser';
|
|
2
|
+
import type { Gender } from '../input/Gender/Gender';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue: AvatarUser;
|
|
5
|
+
preview?: boolean;
|
|
6
|
+
editOnHover?: boolean;
|
|
7
|
+
gender?: Gender;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
"update:modelValue": (v: AvatarUser | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((v: AvatarUser | undefined) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
preview: boolean;
|
|
15
|
+
editOnHover: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type RouteLocationRaw } from "vue-router";
|
|
2
|
+
import { type ShareLink } from "./shareLink";
|
|
3
|
+
import type { BtnColor, BtnVariant, IconGoogle } from "./typeBtn";
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
variant?: BtnVariant;
|
|
6
|
+
color?: BtnColor;
|
|
7
|
+
size?: "sm" | "lg";
|
|
8
|
+
block?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
type?: "button" | "submit" | "reset";
|
|
11
|
+
to?: RouteLocationRaw;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
icon?: IconGoogle | string;
|
|
14
|
+
share?: ShareLink;
|
|
15
|
+
};
|
|
16
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
default?: (props: typeof __VLS_1) => any;
|
|
19
|
+
} & {
|
|
20
|
+
default?: (props: typeof __VLS_3) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
+
click: (ev: MouseEvent) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onClick?: ((ev: MouseEvent) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { SideTabComponent, SideTabs } from "./SideTabs";
|
|
3
|
+
declare var __VLS_22: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_22) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
tabs: {
|
|
9
|
+
type: PropType<SideTabs>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
color: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
};
|
|
20
|
+
hoverBgOpacity: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
contentClass: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
scrollToTopOnSelect: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
scrollToTopSmooth: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
trackRoute: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
routeQueryKey: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
routeUseReplace: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
sidebarMinWidth: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
required: false;
|
|
51
|
+
};
|
|
52
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
53
|
+
select: (tab: SideTabComponent) => any;
|
|
54
|
+
"update:modelValue": (value: string) => any;
|
|
55
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
tabs: {
|
|
57
|
+
type: PropType<SideTabs>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
color: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
required: false;
|
|
67
|
+
};
|
|
68
|
+
hoverBgOpacity: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
contentClass: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
scrollToTopOnSelect: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
scrollToTopSmooth: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
trackRoute: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
routeQueryKey: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
routeUseReplace: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
sidebarMinWidth: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
required: false;
|
|
99
|
+
};
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
onSelect?: ((tab: SideTabComponent) => any) | undefined;
|
|
102
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
103
|
+
}>, {
|
|
104
|
+
modelValue: string;
|
|
105
|
+
hoverBgOpacity: number;
|
|
106
|
+
contentClass: string;
|
|
107
|
+
scrollToTopOnSelect: boolean;
|
|
108
|
+
scrollToTopSmooth: boolean;
|
|
109
|
+
trackRoute: boolean;
|
|
110
|
+
routeQueryKey: string;
|
|
111
|
+
routeUseReplace: boolean;
|
|
112
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
114
|
+
declare const _default: typeof __VLS_export;
|
|
115
|
+
export default _default;
|
|
116
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
117
|
+
new (): {
|
|
118
|
+
$slots: S;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
goBack?: () => void;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_9: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_9) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type PropType, type StyleValue } from "vue";
|
|
2
|
+
import type { SideTabComponent } from "./SideTabs";
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
tab: {
|
|
5
|
+
type: PropType<SideTabComponent>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
active: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
color: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
activeStyle: {
|
|
17
|
+
type: PropType<StyleValue>;
|
|
18
|
+
default: () => {
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
hover: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:hover": (value: boolean) => any;
|
|
27
|
+
} & {
|
|
28
|
+
select: (tab: SideTabComponent) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
tab: {
|
|
31
|
+
type: PropType<SideTabComponent>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
active: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
color: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
activeStyle: {
|
|
43
|
+
type: PropType<StyleValue>;
|
|
44
|
+
default: () => {
|
|
45
|
+
backgroundColor: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
hover: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
};
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onSelect?: ((tab: SideTabComponent) => any) | undefined;
|
|
53
|
+
"onUpdate:hover"?: ((value: boolean) => any) | undefined;
|
|
54
|
+
}>, {
|
|
55
|
+
color: string;
|
|
56
|
+
activeStyle: StyleValue;
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
declare const _default: typeof __VLS_export;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
export interface SideTabComponent {
|
|
3
|
+
name: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
label?: string | Component;
|
|
6
|
+
component?: Component;
|
|
7
|
+
}
|
|
8
|
+
export interface SideTabGroup {
|
|
9
|
+
icon?: string;
|
|
10
|
+
label: string | Component;
|
|
11
|
+
subTabs: SideTabComponent[];
|
|
12
|
+
}
|
|
13
|
+
export type SideTabs = (SideTabGroup | SideTabComponent)[];
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type PropType, type StyleValue } from "vue";
|
|
2
|
+
import type { SideTabComponent, SideTabs } from "./SideTabs";
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
tabs: {
|
|
5
|
+
type: PropType<SideTabs>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
color: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
};
|
|
16
|
+
tabStyle: {
|
|
17
|
+
type: PropType<StyleValue | null>;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
+
select: (tab: SideTabComponent) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
tabs: {
|
|
24
|
+
type: PropType<SideTabs>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
color: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: false;
|
|
34
|
+
};
|
|
35
|
+
tabStyle: {
|
|
36
|
+
type: PropType<StyleValue | null>;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
onSelect?: ((tab: SideTabComponent) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
modelValue: string;
|
|
43
|
+
tabStyle: StyleValue;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type FirebaseStorage, type UploadMetadata } from 'firebase/storage';
|
|
2
|
+
export interface FileInfo {
|
|
3
|
+
name: string;
|
|
4
|
+
fullPath: string;
|
|
5
|
+
url: string | null;
|
|
6
|
+
size?: number;
|
|
7
|
+
bucket?: string;
|
|
8
|
+
contentType?: string | null;
|
|
9
|
+
cacheControl?: string | null;
|
|
10
|
+
contentDisposition?: string | null;
|
|
11
|
+
contentEncoding?: string | null;
|
|
12
|
+
contentLanguage?: string | null;
|
|
13
|
+
generation?: string;
|
|
14
|
+
md5Hash?: string | null;
|
|
15
|
+
timeCreated?: string;
|
|
16
|
+
updated?: string;
|
|
17
|
+
customMetadata?: Record<string, string> | null;
|
|
18
|
+
}
|
|
19
|
+
export declare class FirebaseFolder {
|
|
20
|
+
/** Istanza di Firebase Storage */
|
|
21
|
+
private storage;
|
|
22
|
+
/** Path base della “cartella” (senza trailing slash obbligatorio) */
|
|
23
|
+
readonly basePath: string;
|
|
24
|
+
constructor(storage: FirebaseStorage, basePath: string);
|
|
25
|
+
/** Riferimento alla cartella */
|
|
26
|
+
private folderRef;
|
|
27
|
+
/** Riferimento a un file nella cartella */
|
|
28
|
+
private fileRef;
|
|
29
|
+
/** Converte i metadati in un FileInfo */
|
|
30
|
+
private toFileInfo;
|
|
31
|
+
/**
|
|
32
|
+
* get: ottiene info e URL di un file. Se non esiste, ritorna null.
|
|
33
|
+
*/
|
|
34
|
+
get(filename: string): Promise<FileInfo | null>;
|
|
35
|
+
/**
|
|
36
|
+
* add: crea un nuovo file (o lo sovrascrive se già presente).
|
|
37
|
+
* Usa uploadBytes per semplicità (se ti serve progress, gestiscilo con uploadBytesResumable nel parent).
|
|
38
|
+
*/
|
|
39
|
+
add(filename: string, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): Promise<FileInfo>;
|
|
40
|
+
/**
|
|
41
|
+
* update: alias di add (sovrascrive se esiste).
|
|
42
|
+
*/
|
|
43
|
+
update(filename: string, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): Promise<FileInfo>;
|
|
44
|
+
/**
|
|
45
|
+
* remove: elimina un file (non fallisce se già assente).
|
|
46
|
+
*/
|
|
47
|
+
remove(filename: string): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* getAll: lista tutti i file nella cartella (non include sottocartelle ricorsive).
|
|
50
|
+
* Per ogni file recupera metadati e url.
|
|
51
|
+
*/
|
|
52
|
+
getAll(): Promise<FileInfo[]>;
|
|
53
|
+
/**
|
|
54
|
+
* exists: torna true/false se il file esiste.
|
|
55
|
+
*/
|
|
56
|
+
exists(filename: string): Promise<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* getUrl: ritorna solo l’URL (o null) se vuoi essere rapido.
|
|
59
|
+
*/
|
|
60
|
+
getUrl(filename: string): Promise<string | null>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type NamedSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
type Shape = 'square' | 'circle' | 'octagon';
|
|
3
|
+
interface Props {
|
|
4
|
+
imgUrl?: string | null;
|
|
5
|
+
initials?: string;
|
|
6
|
+
onFileChange: (file: File) => Promise<void>;
|
|
7
|
+
size?: NamedSize | number;
|
|
8
|
+
title?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Se presente, mostra la X e la esegue al click (solo se imgUrl è valorizzato) */
|
|
11
|
+
onFileDelete?: () => Promise<void> | void;
|
|
12
|
+
/** Forma del contenitore */
|
|
13
|
+
shape?: Shape;
|
|
14
|
+
}
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
success: () => any;
|
|
17
|
+
error: (message: string) => any;
|
|
18
|
+
deleted: () => any;
|
|
19
|
+
"delete-error": (message: string) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
onSuccess?: (() => any) | undefined;
|
|
22
|
+
onError?: ((message: string) => any) | undefined;
|
|
23
|
+
onDeleted?: (() => any) | undefined;
|
|
24
|
+
"onDelete-error"?: ((message: string) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
title: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
size: NamedSize | number;
|
|
29
|
+
imgUrl: string | null;
|
|
30
|
+
initials: string;
|
|
31
|
+
shape: Shape;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type RouteLocationRaw } from 'vue-router';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
backTo?: RouteLocationRaw;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: "sm" | "md" | "lg";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { BtnColor, BtnVariant } from '../Btn/typeBtn';
|
|
2
|
+
type Size = 'sm' | 'lg' | 'xl';
|
|
3
|
+
type FullscreenBP = true | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
4
|
+
type Backdrop = boolean | 'static';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
/** v-model: apre/chiude la modal */
|
|
7
|
+
modelValue?: boolean | string | number;
|
|
8
|
+
/** Titolo di default, se non si usa lo slot header */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** sm | lg | xl */
|
|
11
|
+
size?: Size;
|
|
12
|
+
/** true | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' (usa la variante -down) */
|
|
13
|
+
fullscreen?: FullscreenBP;
|
|
14
|
+
/** Centra verticalmente la dialog */
|
|
15
|
+
centered?: boolean;
|
|
16
|
+
/** Rende scrollabile il body della dialog */
|
|
17
|
+
scrollable?: boolean;
|
|
18
|
+
/** Backdrop: true/false/'static' (default true) */
|
|
19
|
+
backdrop?: Backdrop;
|
|
20
|
+
/** Abilita chiusura con ESC (default true) */
|
|
21
|
+
keyboard?: boolean;
|
|
22
|
+
/** Teleport destination (default 'body') */
|
|
23
|
+
teleportTo?: string;
|
|
24
|
+
/** Testi bottoni default nel footer */
|
|
25
|
+
okText?: string;
|
|
26
|
+
cancelText?: string;
|
|
27
|
+
/** Varianti bootstrap per i bottoni default */
|
|
28
|
+
okClass?: string;
|
|
29
|
+
cancelClass?: string;
|
|
30
|
+
/** Varianti bootstrap per i bottoni default */
|
|
31
|
+
okColor?: BtnColor;
|
|
32
|
+
cancelColor?: BtnColor;
|
|
33
|
+
/** Varianti bootstrap per i bottoni default */
|
|
34
|
+
okVariant?: BtnVariant;
|
|
35
|
+
cancelVariant?: BtnVariant;
|
|
36
|
+
/** Chiudi automaticamente quando premo OK (default true) */
|
|
37
|
+
closeOnOk?: boolean;
|
|
38
|
+
/** Nasconde la X in header (se si usa header di default) */
|
|
39
|
+
hideHeaderClose?: boolean;
|
|
40
|
+
/** ID opzionale del modal root */
|
|
41
|
+
id?: string;
|
|
42
|
+
onOk?: () => void | Promise<void>;
|
|
43
|
+
};
|
|
44
|
+
declare function open(): void;
|
|
45
|
+
declare function close(): void;
|
|
46
|
+
declare function toggle(): void;
|
|
47
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
48
|
+
type __VLS_Slots = {} & {
|
|
49
|
+
header?: (props: typeof __VLS_7) => any;
|
|
50
|
+
} & {
|
|
51
|
+
default?: (props: typeof __VLS_9) => any;
|
|
52
|
+
} & {
|
|
53
|
+
footer?: (props: typeof __VLS_11) => any;
|
|
54
|
+
};
|
|
55
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
56
|
+
open: typeof open;
|
|
57
|
+
close: typeof close;
|
|
58
|
+
toggle: typeof toggle;
|
|
59
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
60
|
+
close: () => any;
|
|
61
|
+
"update:modelValue": (v: boolean) => any;
|
|
62
|
+
hidden: () => any;
|
|
63
|
+
show: () => any;
|
|
64
|
+
hide: () => any;
|
|
65
|
+
cancel: () => any;
|
|
66
|
+
shown: () => any;
|
|
67
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
68
|
+
onClose?: (() => any) | undefined;
|
|
69
|
+
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
70
|
+
onHidden?: (() => any) | undefined;
|
|
71
|
+
onShow?: (() => any) | undefined;
|
|
72
|
+
onHide?: (() => any) | undefined;
|
|
73
|
+
onCancel?: (() => any) | undefined;
|
|
74
|
+
onShown?: (() => any) | undefined;
|
|
75
|
+
}>, {
|
|
76
|
+
closeOnOk: boolean;
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
79
|
+
declare const _default: typeof __VLS_export;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|