@wikicasa-dev/components 1.2.12 → 1.2.13
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/README.md +46 -46
- package/dist/UIKit/AccessibleSelect.vue.d.ts +15 -15
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +11 -11
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +11 -11
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +8 -8
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +12 -12
- package/dist/UIKit/BaseAlert.vue.d.ts +11 -11
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +16 -14
- package/dist/UIKit/BaseBadge.vue.d.ts +14 -14
- package/dist/UIKit/BaseBtModal.vue.d.ts +172 -0
- package/dist/UIKit/BaseButton.vue.d.ts +16 -16
- package/dist/UIKit/BaseCard.vue.d.ts +11 -11
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +2 -2
- package/dist/UIKit/BaseDropDown.vue.d.ts +19 -19
- package/dist/UIKit/BaseIcon.vue.d.ts +2 -2
- package/dist/UIKit/BaseInput.vue.d.ts +7 -7
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +12 -12
- package/dist/UIKit/BaseSnackbar.vue.d.ts +56 -0
- package/dist/UIKit/BaseTextarea.vue.d.ts +3 -3
- package/dist/UIKit/BaseTooltip.vue.d.ts +1 -1
- package/dist/UIKit/BaseUploadFile.vue.d.ts +1 -1
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +14 -14
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +12 -12
- package/dist/UIKit/StaticSpinner.vue.d.ts +12 -12
- package/dist/Views/AccordionSection.vue.d.ts +2 -0
- package/dist/Views/AlertSection.vue.d.ts +2 -0
- package/dist/Views/AutocompleteSection.vue.d.ts +2 -0
- package/dist/Views/BadgeSection.vue.d.ts +2 -0
- package/dist/Views/ButtonsSection.vue.d.ts +2 -0
- package/dist/Views/CardSection.vue.d.ts +2 -0
- package/dist/Views/CheckboxSection.vue.d.ts +6 -0
- package/dist/Views/DropdownSection.vue.d.ts +35 -0
- package/dist/Views/ModalSection.vue.d.ts +4 -0
- package/dist/Views/PaginationSection.vue.d.ts +2 -0
- package/dist/Views/PaperSection.vue.d.ts +2 -0
- package/dist/Views/RadioSection.vue.d.ts +9 -0
- package/dist/Views/SliderSection.vue.d.ts +9 -0
- package/dist/Views/SnackbarSection.vue.d.ts +2 -0
- package/dist/Views/TabSection.vue.d.ts +2 -0
- package/dist/Views/TextInputSection.vue.d.ts +2 -0
- package/dist/Views/TextareaSection.vue.d.ts +6 -0
- package/dist/Views/ToggleSection.vue.d.ts +2 -0
- package/dist/Views/TooltipSection.vue.d.ts +2 -0
- package/dist/Views/UiKitSidebar.vue.d.ts +18 -0
- package/dist/Views/UploadBtnSection.vue.d.ts +2 -0
- package/dist/Views/WikicasaUiKit.vue.d.ts +19 -0
- package/dist/components/HelloWorld.vue.d.ts +2 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +8 -8
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +11 -11
- package/dist/components/Pera.vue.d.ts +14 -0
- package/dist/components/base/BaseEmptyButton.vue.d.ts +35 -0
- package/dist/components/base/StaticSpinner.vue.d.ts +23 -0
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +13 -13
- package/dist/components/input/TripleSelect.vue.d.ts +26 -0
- package/dist/components/insert/QualityScore.vue.d.ts +16 -0
- package/dist/components.js +1 -1
- package/dist/components.umd.cjs +5 -5
- package/dist/{index-BtxYTF3f.js → index-1oh628Cu.js} +2 -2
- package/dist/{index-BZnZUpib.js → index-BYiujdKM.js} +389 -389
- package/dist/index.d.ts +33 -32
- package/dist/stories/Button.stories.d.ts +6 -6
- package/dist/stories/Button.vue.d.ts +64 -0
- package/dist/stories/Header.vue.d.ts +28 -0
- package/dist/stories/Page.vue.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
# @wikicasa-dev/types
|
|
2
|
-
|
|
3
|
-
Libreria condivisa contenente componneti scritte in Vue 3.
|
|
4
|
-
La chiave privata per la condivisione è già configurata su tutti i progetti Wikicasa, per l'installazione o l'aggiornamento della libreria basterà quindi eseguire
|
|
5
|
-
|
|
6
|
-
yarn add @wikicasa-dev/components
|
|
7
|
-
|
|
8
|
-
## Sviluppo e rilascio
|
|
9
|
-
|
|
10
|
-
La libreria fa parte di un monorepo insieme a `@wikicasa-dev/utilities` e `@wikicasa-dev/types`.
|
|
11
|
-
Il monorepo è gestito da **[pnpm](https://pnpm.io/it/)**. Il bundler in uso per questa libreria è **[Vite](https://pnpm.io/it/)**.
|
|
12
|
-
|
|
13
|
-
I file _index.html_ e _main.ts_ possono essere usati come playground per provare il funzionamento del codice. Per avviare il server di sviluppo basterà eseguire
|
|
14
|
-
|
|
15
|
-
pnpm dev
|
|
16
|
-
|
|
17
|
-
e collegarsi all'indirizzo corrispondente. Il server di sviluppo è dotato di hot reload, basterà quidni salvare il file modificato. Il file _main.ts_ è escluso dalla build quindi non bisogna preoccuparsi di sporcarlo.
|
|
18
|
-
|
|
19
|
-
### Rilascio
|
|
20
|
-
|
|
21
|
-
Come prima cosa bisogna buildare i file con
|
|
22
|
-
|
|
23
|
-
pnpm build
|
|
24
|
-
|
|
25
|
-
Successivamente bisognerà incrementare la versione. pnpm ha un comando apposito per cui si sconsiglia di andare a modificare a mano la versione nel _package.json_. Il comando è
|
|
26
|
-
|
|
27
|
-
pnpm version <major|minor|patch>
|
|
28
|
-
|
|
29
|
-
Sta allo sviluppatore scegliere l'incremento di versione più opportuno.
|
|
30
|
-
Dopodiché occorrerà eseguire il commit e push delle modifiche (pnpm blocca il rilascio in caso di modifiche non committate) per poi procedere alla pubblicazione con
|
|
31
|
-
|
|
32
|
-
pnpm publish
|
|
33
|
-
|
|
34
|
-
## Storybook
|
|
35
|
-
|
|
36
|
-
La libreria è configurata con [Storybook](https://storybook.js.org/) per testare le componenti. Per lanciare Storybook in locale basterà eseguire
|
|
37
|
-
|
|
38
|
-
pnpm storybook
|
|
39
|
-
|
|
40
|
-
L'hot reload funziona anche per le componenti e le stories, occasionalmente sarà necessario aggiornare la pagina.
|
|
41
|
-
|
|
42
|
-
Storybook può essere rilasciato su Chromatic, occorre eseguire
|
|
43
|
-
|
|
44
|
-
pnpm chromatic
|
|
45
|
-
|
|
46
|
-
per generare un link pubblico a Storybook.
|
|
1
|
+
# @wikicasa-dev/types
|
|
2
|
+
|
|
3
|
+
Libreria condivisa contenente componneti scritte in Vue 3.
|
|
4
|
+
La chiave privata per la condivisione è già configurata su tutti i progetti Wikicasa, per l'installazione o l'aggiornamento della libreria basterà quindi eseguire
|
|
5
|
+
|
|
6
|
+
yarn add @wikicasa-dev/components
|
|
7
|
+
|
|
8
|
+
## Sviluppo e rilascio
|
|
9
|
+
|
|
10
|
+
La libreria fa parte di un monorepo insieme a `@wikicasa-dev/utilities` e `@wikicasa-dev/types`.
|
|
11
|
+
Il monorepo è gestito da **[pnpm](https://pnpm.io/it/)**. Il bundler in uso per questa libreria è **[Vite](https://pnpm.io/it/)**.
|
|
12
|
+
|
|
13
|
+
I file _index.html_ e _main.ts_ possono essere usati come playground per provare il funzionamento del codice. Per avviare il server di sviluppo basterà eseguire
|
|
14
|
+
|
|
15
|
+
pnpm dev
|
|
16
|
+
|
|
17
|
+
e collegarsi all'indirizzo corrispondente. Il server di sviluppo è dotato di hot reload, basterà quidni salvare il file modificato. Il file _main.ts_ è escluso dalla build quindi non bisogna preoccuparsi di sporcarlo.
|
|
18
|
+
|
|
19
|
+
### Rilascio
|
|
20
|
+
|
|
21
|
+
Come prima cosa bisogna buildare i file con
|
|
22
|
+
|
|
23
|
+
pnpm build
|
|
24
|
+
|
|
25
|
+
Successivamente bisognerà incrementare la versione. pnpm ha un comando apposito per cui si sconsiglia di andare a modificare a mano la versione nel _package.json_. Il comando è
|
|
26
|
+
|
|
27
|
+
pnpm version <major|minor|patch>
|
|
28
|
+
|
|
29
|
+
Sta allo sviluppatore scegliere l'incremento di versione più opportuno.
|
|
30
|
+
Dopodiché occorrerà eseguire il commit e push delle modifiche (pnpm blocca il rilascio in caso di modifiche non committate) per poi procedere alla pubblicazione con
|
|
31
|
+
|
|
32
|
+
pnpm publish
|
|
33
|
+
|
|
34
|
+
## Storybook
|
|
35
|
+
|
|
36
|
+
La libreria è configurata con [Storybook](https://storybook.js.org/) per testare le componenti. Per lanciare Storybook in locale basterà eseguire
|
|
37
|
+
|
|
38
|
+
pnpm storybook
|
|
39
|
+
|
|
40
|
+
L'hot reload funziona anche per le componenti e le stories, occasionalmente sarà necessario aggiornare la pagina.
|
|
41
|
+
|
|
42
|
+
Storybook può essere rilasciato su Chromatic, occorre eseguire
|
|
43
|
+
|
|
44
|
+
pnpm chromatic
|
|
45
|
+
|
|
46
|
+
per generare un link pubblico a Storybook.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
label?: string | undefined;
|
|
3
|
-
dropdownPosition?: "
|
|
3
|
+
dropdownPosition?: "bottom" | "top" | undefined;
|
|
4
4
|
namespace: string;
|
|
5
5
|
options: any[];
|
|
6
6
|
modelValue?: any;
|
|
@@ -19,9 +19,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
isValid: null;
|
|
20
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
21
|
"update:modelValue": (args_0: any) => void;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
23
23
|
label?: string | undefined;
|
|
24
|
-
dropdownPosition?: "
|
|
24
|
+
dropdownPosition?: "bottom" | "top" | undefined;
|
|
25
25
|
namespace: string;
|
|
26
26
|
options: any[];
|
|
27
27
|
modelValue?: any;
|
|
@@ -42,22 +42,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
"onUpdate:modelValue"?: ((args_0: any) => any) | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
label: string;
|
|
45
|
-
dropdownPosition: "top" | "bottom";
|
|
46
|
-
modelValue: any;
|
|
47
45
|
isValid: boolean | null;
|
|
46
|
+
modelValue: any;
|
|
47
|
+
dropdownPosition: "bottom" | "top";
|
|
48
48
|
}, {}>, {
|
|
49
49
|
lefticon?(_: {}): any;
|
|
50
50
|
}>;
|
|
51
51
|
export default _default;
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
52
|
type __VLS_WithDefaults<P, D> = {
|
|
62
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
63
54
|
default: D[K];
|
|
@@ -71,3 +62,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
71
62
|
$slots: S;
|
|
72
63
|
};
|
|
73
64
|
};
|
|
65
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
|
+
type __VLS_TypePropsToOption<T> = {
|
|
67
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
68
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
+
} : {
|
|
70
|
+
type: import('vue').PropType<T[K]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AccordionItem } from "@wikicasa-dev/types";
|
|
2
2
|
type AccordionItemDecorated<T> = Record<string | number, T & Partial<AccordionItem>>;
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
4
|
autoClose?: boolean | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
autoClose: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
8
|
autoClose?: boolean | undefined;
|
|
9
9
|
}>, {
|
|
10
10
|
autoClose: boolean;
|
|
@@ -21,15 +21,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
}): any;
|
|
22
22
|
}>;
|
|
23
23
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
24
|
type __VLS_WithDefaults<P, D> = {
|
|
34
25
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
26
|
default: D[K];
|
|
@@ -43,3 +34,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
43
34
|
$slots: S;
|
|
44
35
|
};
|
|
45
36
|
};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
id: string | number;
|
|
3
3
|
arrowWidth?: number | undefined;
|
|
4
4
|
onContainerClickExpand?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
10
10
|
onContainerClickExpand: boolean;
|
|
11
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
click: () => void;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
14
|
id: string | number;
|
|
15
15
|
arrowWidth?: number | undefined;
|
|
16
16
|
onContainerClickExpand?: boolean | undefined;
|
|
@@ -35,15 +35,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
35
|
}): any;
|
|
36
36
|
}>;
|
|
37
37
|
export default _default;
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: import('vue').PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
38
|
type __VLS_WithDefaults<P, D> = {
|
|
48
39
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
40
|
default: D[K];
|
|
@@ -57,3 +48,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
57
48
|
$slots: S;
|
|
58
49
|
};
|
|
59
50
|
};
|
|
51
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
+
type __VLS_TypePropsToOption<T> = {
|
|
53
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
+
} : {
|
|
56
|
+
type: import('vue').PropType<T[K]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
id: string | number;
|
|
3
3
|
accordionOpen: boolean;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
5
|
id: string | number;
|
|
6
6
|
accordionOpen: boolean;
|
|
7
7
|
}>>>, {}, {}>, {
|
|
@@ -13,8 +13,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
13
|
}): any;
|
|
14
14
|
}>;
|
|
15
15
|
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
16
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type
|
|
22
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
23
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
24
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
25
|
} : {
|
|
@@ -22,8 +27,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
22
27
|
required: true;
|
|
23
28
|
};
|
|
24
29
|
};
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AccordionItem } from "@wikicasa-dev/types";
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AccordionItem & {
|
|
3
3
|
arrowWidth?: number | undefined;
|
|
4
4
|
onContainerClickExpand?: boolean | undefined;
|
|
5
5
|
}>, {
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
11
11
|
accordionOpened: (a: AccordionItem) => void;
|
|
12
12
|
accordionClosed: (a: AccordionItem) => void;
|
|
13
13
|
"update:accordionState": (args_0: boolean) => void;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AccordionItem & {
|
|
15
15
|
arrowWidth?: number | undefined;
|
|
16
16
|
onContainerClickExpand?: boolean | undefined;
|
|
17
17
|
}>, {
|
|
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
"onUpdate:accordionState"?: ((args_0: boolean) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
arrowWidth: number;
|
|
28
|
-
active: boolean;
|
|
29
28
|
onContainerClickExpand: boolean;
|
|
29
|
+
active: boolean;
|
|
30
30
|
}, {}>, {
|
|
31
31
|
custom_content?(_: {}): any;
|
|
32
32
|
custom_btn?(_: {
|
|
@@ -47,15 +47,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
47
|
}): any;
|
|
48
48
|
}>;
|
|
49
49
|
export default _default;
|
|
50
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
-
} : {
|
|
55
|
-
type: import('vue').PropType<T[K]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
50
|
type __VLS_WithDefaults<P, D> = {
|
|
60
51
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
52
|
default: D[K];
|
|
@@ -69,3 +60,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
69
60
|
$slots: S;
|
|
70
61
|
};
|
|
71
62
|
};
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToOption<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import('vue').PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
text?: string | undefined;
|
|
3
3
|
alrtClass?: string | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
text: string;
|
|
6
6
|
alrtClass: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
8
|
text?: string | undefined;
|
|
9
9
|
alrtClass?: string | undefined;
|
|
10
10
|
}>, {
|
|
@@ -17,15 +17,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
default?(_: {}): any;
|
|
18
18
|
}>;
|
|
19
19
|
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
20
|
type __VLS_WithDefaults<P, D> = {
|
|
30
21
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
22
|
default: D[K];
|
|
@@ -39,3 +30,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
39
30
|
$slots: S;
|
|
40
31
|
};
|
|
41
32
|
};
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToOption<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -5,16 +5,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
type: import("vue").PropType<string>;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
-
isValid: {
|
|
9
|
-
type: import("vue").PropType<Nullable<boolean>>;
|
|
10
|
-
default: null;
|
|
11
|
-
};
|
|
12
8
|
border: {
|
|
13
9
|
type: import("vue").PropType<boolean>;
|
|
14
10
|
default: boolean;
|
|
15
11
|
};
|
|
16
|
-
|
|
17
|
-
type: import("vue").PropType<Nullable<
|
|
12
|
+
isValid: {
|
|
13
|
+
type: import("vue").PropType<Nullable<boolean>>;
|
|
18
14
|
default: null;
|
|
19
15
|
};
|
|
20
16
|
theme: {
|
|
@@ -37,9 +33,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
37
33
|
type: import("vue").PropType<boolean>;
|
|
38
34
|
default: boolean;
|
|
39
35
|
};
|
|
36
|
+
keepState: {
|
|
37
|
+
type: import("vue").PropType<Nullable<"closed" | "open">>;
|
|
38
|
+
default: null;
|
|
39
|
+
};
|
|
40
40
|
}, {
|
|
41
41
|
select: () => void;
|
|
42
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
"update:modelValue": (modelValue: any) => void;
|
|
43
44
|
click: () => void;
|
|
44
45
|
dropdownClosed: () => void;
|
|
45
46
|
changedValue: (args_0: string) => void;
|
|
@@ -49,16 +50,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
50
|
type: import("vue").PropType<string>;
|
|
50
51
|
default: string;
|
|
51
52
|
};
|
|
52
|
-
isValid: {
|
|
53
|
-
type: import("vue").PropType<Nullable<boolean>>;
|
|
54
|
-
default: null;
|
|
55
|
-
};
|
|
56
53
|
border: {
|
|
57
54
|
type: import("vue").PropType<boolean>;
|
|
58
55
|
default: boolean;
|
|
59
56
|
};
|
|
60
|
-
|
|
61
|
-
type: import("vue").PropType<Nullable<
|
|
57
|
+
isValid: {
|
|
58
|
+
type: import("vue").PropType<Nullable<boolean>>;
|
|
62
59
|
default: null;
|
|
63
60
|
};
|
|
64
61
|
theme: {
|
|
@@ -81,19 +78,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
81
78
|
type: import("vue").PropType<boolean>;
|
|
82
79
|
default: boolean;
|
|
83
80
|
};
|
|
81
|
+
keepState: {
|
|
82
|
+
type: import("vue").PropType<Nullable<"closed" | "open">>;
|
|
83
|
+
default: null;
|
|
84
|
+
};
|
|
84
85
|
}>> & {
|
|
85
86
|
onClick?: (() => any) | undefined;
|
|
87
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
86
88
|
onDropdownClosed?: (() => any) | undefined;
|
|
87
89
|
onChangedValue?: ((args_0: string) => any) | undefined;
|
|
88
90
|
}, {
|
|
89
91
|
label: string;
|
|
90
|
-
isValid: Nullable<boolean>;
|
|
91
92
|
border: boolean;
|
|
92
|
-
|
|
93
|
+
isValid: Nullable<boolean>;
|
|
93
94
|
theme: "" | "bordered" | "all-bordered" | "all-bordered-thick";
|
|
94
95
|
disableCb: boolean;
|
|
95
96
|
onOptionSelectedCb: Nullable<(v: any) => void>;
|
|
96
97
|
manualClose: boolean;
|
|
98
|
+
keepState: Nullable<"closed" | "open">;
|
|
97
99
|
}, {}>, {
|
|
98
100
|
lefticon?(_: {}): any;
|
|
99
101
|
righticon?(_: {
|
|
@@ -1,26 +1,17 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
2
|
-
badgeClass: "uikit-badge-w-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
badgeClass: "uikit-badge-w-primary-sm" | "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
3
3
|
}>, {
|
|
4
4
|
badgeClass: string;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
6
|
-
badgeClass: "uikit-badge-w-
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
+
badgeClass: "uikit-badge-w-primary-sm" | "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
7
7
|
}>, {
|
|
8
8
|
badgeClass: string;
|
|
9
9
|
}>>>, {
|
|
10
|
-
badgeClass: "uikit-badge-w-
|
|
10
|
+
badgeClass: "uikit-badge-w-primary-sm" | "uikit-badge-w-warning" | "uikit-badge-w-lavender" | "uikit-badge-outline-tag" | "uikit-badge-outline-tag-listing" | "uikit-badge-w-dark-primary";
|
|
11
11
|
}, {}>, {
|
|
12
12
|
default?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
15
|
type __VLS_WithDefaults<P, D> = {
|
|
25
16
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
17
|
default: D[K];
|
|
@@ -34,3 +25,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
34
25
|
$slots: S;
|
|
35
26
|
};
|
|
36
27
|
};
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: () => "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
customBackdropClasses: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
customModalClasses: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
customModalDialogClasses: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
customModalContentClasses: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
customModalHeaderClasses: {
|
|
27
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
customModalBodyClasses: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
customModalFooterClasses: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
withCustomFooter: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
withCloseIcon: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
showModal: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
closeIcon: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
headerTitle: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
autoClose: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
};
|
|
61
|
+
fullHeight: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
closeOnClickOut: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
70
|
+
isMobile: import("vue").Ref<boolean>;
|
|
71
|
+
}, {
|
|
72
|
+
baseModalMaxWidthClass: string;
|
|
73
|
+
}, {
|
|
74
|
+
backdropEl(): HTMLElement;
|
|
75
|
+
modalEl(): HTMLElement;
|
|
76
|
+
}, {
|
|
77
|
+
/** Opens the modal with a transition */
|
|
78
|
+
openModal(): Promise<void>;
|
|
79
|
+
closeOnBackdropClick({ target }: Event): Promise<void>;
|
|
80
|
+
/** Closes the modal with a transition */
|
|
81
|
+
closeModal(): Promise<void>;
|
|
82
|
+
onClosed(): Promise<void>;
|
|
83
|
+
onOpened(): Promise<void>;
|
|
84
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "opened")[], "closed" | "opened", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
id: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
size: {
|
|
90
|
+
type: () => "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
customBackdropClasses: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
customModalClasses: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
customModalDialogClasses: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
customModalContentClasses: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
customModalHeaderClasses: {
|
|
110
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
customModalBodyClasses: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
customModalFooterClasses: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
withCustomFooter: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
withCloseIcon: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
showModal: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
closeIcon: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
headerTitle: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
autoClose: {
|
|
142
|
+
type: NumberConstructor;
|
|
143
|
+
};
|
|
144
|
+
fullHeight: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
closeOnClickOut: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
152
|
+
}>> & {
|
|
153
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
onOpened?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
id: string;
|
|
157
|
+
size: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
|
|
158
|
+
customBackdropClasses: string;
|
|
159
|
+
customModalClasses: string;
|
|
160
|
+
customModalDialogClasses: string;
|
|
161
|
+
customModalContentClasses: string;
|
|
162
|
+
customModalHeaderClasses: string | unknown[];
|
|
163
|
+
customModalBodyClasses: string;
|
|
164
|
+
customModalFooterClasses: string;
|
|
165
|
+
withCustomFooter: boolean;
|
|
166
|
+
withCloseIcon: boolean;
|
|
167
|
+
closeIcon: string;
|
|
168
|
+
headerTitle: string;
|
|
169
|
+
fullHeight: boolean;
|
|
170
|
+
closeOnClickOut: boolean;
|
|
171
|
+
}, {}>;
|
|
172
|
+
export default _default;
|