@wikicasa-dev/components 1.2.11 → 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 +73 -0
- package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +45 -0
- package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +59 -0
- package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +29 -0
- package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +71 -0
- package/dist/UIKit/BaseAlert.vue.d.ts +41 -0
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +110 -0
- package/dist/UIKit/BaseBadge.vue.d.ts +36 -0
- 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 +41 -0
- package/dist/UIKit/BaseComplexToggle.vue.d.ts +83 -0
- package/dist/UIKit/BaseDropDown.vue.d.ts +123 -0
- package/dist/UIKit/BaseFloatingLabel.vue.d.ts +44 -0
- package/dist/UIKit/BaseIcon.vue.d.ts +2 -2
- package/dist/UIKit/BaseInput.vue.d.ts +143 -0
- package/dist/UIKit/BaseNavItem.vue.d.ts +43 -0
- package/dist/UIKit/BasePagination.vue.d.ts +65 -0
- package/dist/UIKit/BasePaper.vue.d.ts +2 -0
- package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +54 -0
- package/dist/UIKit/BaseSlider.vue.d.ts +42 -0
- package/dist/UIKit/BaseSnackbar.vue.d.ts +56 -0
- package/dist/UIKit/BaseTab.vue.d.ts +60 -0
- package/dist/UIKit/BaseTextarea.vue.d.ts +82 -0
- package/dist/UIKit/BaseToggle.vue.d.ts +36 -0
- package/dist/UIKit/BaseTooltip.vue.d.ts +56 -0
- package/dist/UIKit/BaseUploadFile.vue.d.ts +37 -0
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +92 -0
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +78 -0
- package/dist/UIKit/Radio/RadioButton.vue.d.ts +26 -0
- package/dist/UIKit/Radio/RadioGroup.vue.d.ts +37 -0
- 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 +33 -5
- package/dist/components.umd.cjs +13 -6
- package/dist/{index-Brcl3KsS.js → index-1oh628Cu.js} +2 -2
- package/dist/index-BYiujdKM.js +4872 -0
- package/dist/index.d.ts +34 -5
- 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/dist/index-4TomfCph.js +0 -2444
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { CheckboxButtonType, GetterIdType } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
valuesObj?: Record<string, CheckboxButtonType> | undefined;
|
|
4
|
+
formCheckInline?: boolean | undefined;
|
|
5
|
+
customClass?: string | undefined;
|
|
6
|
+
reset?: boolean | undefined;
|
|
7
|
+
autoCheckResetAll?: boolean | undefined;
|
|
8
|
+
autoCheckResetEmpty?: boolean | undefined;
|
|
9
|
+
getKey?: GetterIdType | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
valuesObj(): {};
|
|
12
|
+
formCheckInline: boolean;
|
|
13
|
+
customClass: string;
|
|
14
|
+
reset: boolean;
|
|
15
|
+
autoCheckResetAll: boolean;
|
|
16
|
+
autoCheckResetEmpty: boolean;
|
|
17
|
+
getKey(): (checkBtn: CheckboxButtonType) => string | number;
|
|
18
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (args_0: CheckboxButtonType[]) => void;
|
|
20
|
+
resetted: () => void;
|
|
21
|
+
checkedGroup: (args_0: string) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
23
|
+
valuesObj?: Record<string, CheckboxButtonType> | undefined;
|
|
24
|
+
formCheckInline?: boolean | undefined;
|
|
25
|
+
customClass?: string | undefined;
|
|
26
|
+
reset?: boolean | undefined;
|
|
27
|
+
autoCheckResetAll?: boolean | undefined;
|
|
28
|
+
autoCheckResetEmpty?: boolean | undefined;
|
|
29
|
+
getKey?: GetterIdType | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
valuesObj(): {};
|
|
32
|
+
formCheckInline: boolean;
|
|
33
|
+
customClass: string;
|
|
34
|
+
reset: boolean;
|
|
35
|
+
autoCheckResetAll: boolean;
|
|
36
|
+
autoCheckResetEmpty: boolean;
|
|
37
|
+
getKey(): (checkBtn: CheckboxButtonType) => string | number;
|
|
38
|
+
}>>> & {
|
|
39
|
+
"onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
|
|
40
|
+
onResetted?: (() => any) | undefined;
|
|
41
|
+
onCheckedGroup?: ((args_0: string) => any) | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
valuesObj: Record<string, CheckboxButtonType>;
|
|
44
|
+
formCheckInline: boolean;
|
|
45
|
+
customClass: string;
|
|
46
|
+
reset: boolean;
|
|
47
|
+
autoCheckResetAll: boolean;
|
|
48
|
+
autoCheckResetEmpty: boolean;
|
|
49
|
+
getKey: GetterIdType;
|
|
50
|
+
}, {}>, {
|
|
51
|
+
checkboxElement?(_: {
|
|
52
|
+
isActive: (elem: CheckboxButtonType) => boolean;
|
|
53
|
+
handleChange: (checkboxValue: CheckboxButtonType) => void;
|
|
54
|
+
}): any;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithDefaults<P, D> = {
|
|
58
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
+
default: D[K];
|
|
60
|
+
}> : P[K];
|
|
61
|
+
};
|
|
62
|
+
type __VLS_Prettify<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
71
|
+
type __VLS_TypePropsToOption<T> = {
|
|
72
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
74
|
+
} : {
|
|
75
|
+
type: import('vue').PropType<T[K]>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
isChecked: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
};
|
|
9
|
+
}, unknown, unknown, {}, {
|
|
10
|
+
emitChange(): void;
|
|
11
|
+
handleClick(): void;
|
|
12
|
+
handleOnInput(): void;
|
|
13
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
label: {
|
|
15
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
isChecked: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
isChecked: boolean;
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RadioButtonType } from "@wikicasa-dev/types";
|
|
2
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
initialValue: {
|
|
5
|
+
type: () => RadioButtonType;
|
|
6
|
+
};
|
|
7
|
+
radioValues: {
|
|
8
|
+
type: () => RadioButtonType[];
|
|
9
|
+
};
|
|
10
|
+
resetRadio: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, {
|
|
15
|
+
selectedValue: Nullable<RadioButtonType>;
|
|
16
|
+
}, {}, {
|
|
17
|
+
handleChange(elem: RadioButtonType): void;
|
|
18
|
+
reset(): void;
|
|
19
|
+
isActive(elem: RadioButtonType): boolean;
|
|
20
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "resetted")[], "update:modelValue" | "resetted", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
initialValue: {
|
|
22
|
+
type: () => RadioButtonType;
|
|
23
|
+
};
|
|
24
|
+
radioValues: {
|
|
25
|
+
type: () => RadioButtonType[];
|
|
26
|
+
};
|
|
27
|
+
resetRadio: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>> & {
|
|
32
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onResetted?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
resetRadio: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
@@ -1,29 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
thickness?: number | undefined;
|
|
3
3
|
color?: "uikit-stroke-black" | "uikit-stroke-white" | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
thickness: number;
|
|
6
6
|
color: 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
|
thickness?: number | undefined;
|
|
9
9
|
color?: "uikit-stroke-black" | "uikit-stroke-white" | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
thickness: number;
|
|
12
12
|
color: string;
|
|
13
13
|
}>>>, {
|
|
14
|
-
color: "uikit-stroke-black" | "uikit-stroke-white";
|
|
15
14
|
thickness: number;
|
|
15
|
+
color: "uikit-stroke-black" | "uikit-stroke-white";
|
|
16
16
|
}, {}>;
|
|
17
17
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
18
|
type __VLS_WithDefaults<P, D> = {
|
|
28
19
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
20
|
default: D[K];
|
|
@@ -32,3 +23,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
32
23
|
type __VLS_Prettify<T> = {
|
|
33
24
|
[K in keyof T]: T[K];
|
|
34
25
|
} & {};
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
firstCheckboxValue: never[];
|
|
3
|
+
singleCheckbox: boolean;
|
|
4
|
+
singleCheckbox2: boolean;
|
|
5
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
firstSelectValue: {
|
|
3
|
+
id: number;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
secondSelectValue: {
|
|
7
|
+
id: number;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
thirdSelectValue: {
|
|
11
|
+
id: number;
|
|
12
|
+
label: string;
|
|
13
|
+
};
|
|
14
|
+
fourthSelectValue: {
|
|
15
|
+
id: number;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
fifthSelectValue: {
|
|
19
|
+
id: number;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
22
|
+
accessibleSelectValue: {
|
|
23
|
+
id: number;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
26
|
+
accessibleSelectValue2: {
|
|
27
|
+
id: number;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
accessibleSelectValue3: {
|
|
31
|
+
id: number;
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
show: boolean;
|
|
3
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
radioGroupValue: string;
|
|
3
|
+
radioSlotValue: {};
|
|
4
|
+
elems: {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
sliderMinValue: number;
|
|
3
|
+
sliderMaxValue: number;
|
|
4
|
+
sliderMinValue1: number;
|
|
5
|
+
sliderMaxValue1: number;
|
|
6
|
+
sliderMinValue2: number;
|
|
7
|
+
sliderMaxValue2: number;
|
|
8
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
2
|
+
firstBtInput: string;
|
|
3
|
+
secondBtInput: string;
|
|
4
|
+
thirdBtInput: string;
|
|
5
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
interface SidebarItem {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
interface SidebarItems {
|
|
6
|
+
items: SidebarItem[];
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<SidebarItems>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<SidebarItems>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
isSmall: import("vue").Ref<boolean>;
|
|
3
|
+
}, {
|
|
4
|
+
checkboxValue: boolean;
|
|
5
|
+
checkboxValue2: boolean;
|
|
6
|
+
checkboxValue3: boolean;
|
|
7
|
+
checkboxValue4: boolean;
|
|
8
|
+
showMobileSidebar: boolean;
|
|
9
|
+
sidebarItems: {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}[];
|
|
13
|
+
sidebarAnimationIn: boolean;
|
|
14
|
+
sidebarAnimationOut: boolean;
|
|
15
|
+
}, {}, {
|
|
16
|
+
delayedCloseMobileSidebar(): void;
|
|
17
|
+
delayedOpenMobileSidebar(): void;
|
|
18
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
19
|
+
export default _default;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
observer: IntersectionObserver;
|
|
3
3
|
isVisible: 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
|
observer: IntersectionObserver;
|
|
6
6
|
isVisible: boolean;
|
|
7
7
|
}>>>, {}, {}>, {
|
|
8
8
|
observable?(_: {}): any;
|
|
9
9
|
}>;
|
|
10
10
|
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
11
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
19
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
20
|
} : {
|
|
@@ -17,8 +22,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
17
22
|
required: true;
|
|
18
23
|
};
|
|
19
24
|
};
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -3,13 +3,13 @@ interface IntersectionObserverProps {
|
|
|
3
3
|
skip?: boolean;
|
|
4
4
|
threshold?: number;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IntersectionObserverProps>, {
|
|
7
7
|
observeOnce: boolean;
|
|
8
8
|
skip: boolean;
|
|
9
9
|
threshold: number;
|
|
10
10
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
intersection: () => void;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IntersectionObserverProps>, {
|
|
13
13
|
observeOnce: boolean;
|
|
14
14
|
skip: boolean;
|
|
15
15
|
threshold: number;
|
|
@@ -26,15 +26,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
26
|
}): any;
|
|
27
27
|
}>;
|
|
28
28
|
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
29
|
type __VLS_WithDefaults<P, D> = {
|
|
39
30
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
31
|
default: D[K];
|
|
@@ -48,3 +39,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
48
39
|
$slots: S;
|
|
49
40
|
};
|
|
50
41
|
};
|
|
42
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
|
+
type __VLS_TypePropsToOption<T> = {
|
|
44
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
45
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
46
|
+
} : {
|
|
47
|
+
type: import('vue').PropType<T[K]>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
initial: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
initial: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
initial: number;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
selected: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
5
|
+
selected: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
7
|
+
selected: boolean;
|
|
8
|
+
}>>>, {
|
|
9
|
+
selected: boolean;
|
|
10
|
+
}, {}>, {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithDefaults<P, D> = {
|
|
15
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
16
|
+
default: D[K];
|
|
17
|
+
}> : P[K];
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Prettify<T> = {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} & {};
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
thickness: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
color: {
|
|
7
|
+
type: () => "uikit-stroke-black" | "uikit-stroke-white";
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
thickness: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
type: () => "uikit-stroke-black" | "uikit-stroke-white";
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
thickness: number;
|
|
21
|
+
color: "uikit-stroke-black" | "uikit-stroke-white";
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Image } from "@wikicasa-dev/types";
|
|
2
|
-
import type { SwiperOptions } from "swiper/types
|
|
2
|
+
import type { SwiperOptions } from "swiper/types";
|
|
3
3
|
import "swiper/css/bundle";
|
|
4
4
|
import "swiper/css/zoom";
|
|
5
5
|
interface SwiperCarouselProps {
|
|
@@ -15,7 +15,7 @@ interface SwiperCarouselProps {
|
|
|
15
15
|
}>;
|
|
16
16
|
shiftFirstImage?: boolean;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SwiperCarouselProps>, {
|
|
19
19
|
lazyLoadImages: boolean;
|
|
20
20
|
backgroundImage: boolean;
|
|
21
21
|
shiftFirstImage: boolean;
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
activeIndex: number;
|
|
28
28
|
}) => void;
|
|
29
29
|
firstSlideLoaded: () => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SwiperCarouselProps>, {
|
|
31
31
|
lazyLoadImages: boolean;
|
|
32
32
|
backgroundImage: boolean;
|
|
33
33
|
shiftFirstImage: boolean;
|
|
@@ -38,22 +38,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
38
|
}) => any) | undefined;
|
|
39
39
|
onFirstSlideLoaded?: (() => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
backgroundImage: boolean;
|
|
42
41
|
lazyLoadImages: boolean;
|
|
42
|
+
backgroundImage: boolean;
|
|
43
43
|
shiftFirstImage: boolean;
|
|
44
44
|
}, {}>, {
|
|
45
45
|
swiper_slide?(_: {}): any;
|
|
46
46
|
}>;
|
|
47
47
|
export default _default;
|
|
48
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
-
} : {
|
|
53
|
-
type: import('vue').PropType<T[K]>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
48
|
type __VLS_WithDefaults<P, D> = {
|
|
58
49
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
50
|
default: D[K];
|
|
@@ -67,3 +58,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
67
58
|
$slots: S;
|
|
68
59
|
};
|
|
69
60
|
};
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToOption<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: null;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, unknown, unknown, {}, {
|
|
11
|
+
handleClick(val: boolean): void;
|
|
12
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
modelValue: boolean;
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
score: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, unknown, unknown, {
|
|
7
|
+
scoreClass(): "medium" | "bad" | "average" | "good" | "perfect";
|
|
8
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
score: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
}>>, {
|
|
14
|
+
score: number;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|