@wikicasa-dev/components 0.1.4 → 1.0.0
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 +39 -11
- package/dist/BaseSnackbar-BiEYmHwi.js +78 -0
- package/dist/components.js +31 -6899
- package/dist/components.umd.cjs +30 -12
- package/dist/main-hMfaViVU.js +8193 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/UIKit/AccessibleSelect.vue.d.ts +74 -0
- package/dist/src/UIKit/Accordion/BaseAccordion.vue.d.ts +45 -0
- package/dist/src/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +59 -0
- package/dist/src/UIKit/Accordion/BaseAccordionContent.vue.d.ts +29 -0
- package/dist/src/UIKit/Accordion/BaseAccordionItem.vue.d.ts +71 -0
- package/dist/src/UIKit/BaseAlert.vue.d.ts +41 -0
- package/dist/src/UIKit/BaseAutocomplete.vue.d.ts +109 -0
- package/dist/src/UIKit/BaseBadge.vue.d.ts +36 -0
- package/dist/src/UIKit/BaseBtModal.vue.d.ts +172 -0
- package/dist/src/UIKit/BaseButton.vue.d.ts +87 -0
- package/dist/src/UIKit/BaseCard.vue.d.ts +41 -0
- package/dist/{UIKit → src/UIKit}/BaseComplexToggle.vue.d.ts +2 -2
- package/dist/src/UIKit/BaseDropDown.vue.d.ts +123 -0
- package/dist/{UIKit → src/UIKit}/BaseFloatingLabel.vue.d.ts +4 -4
- package/dist/{UIKit → src/UIKit}/BaseIcon.vue.d.ts +1 -3
- package/dist/{UIKit → src/UIKit}/BaseInput.vue.d.ts +16 -6
- package/dist/{UIKit → src/UIKit}/BaseNavItem.vue.d.ts +1 -1
- package/dist/{UIKit → src/UIKit}/BasePagination.vue.d.ts +2 -4
- package/dist/src/UIKit/BasePaper.vue.d.ts +2 -0
- package/dist/src/UIKit/BaseSelect/SelectItem.vue.d.ts +54 -0
- package/dist/{UIKit → src/UIKit}/BaseSlider.vue.d.ts +4 -4
- package/dist/src/UIKit/BaseSnackbar.vue.d.ts +56 -0
- package/dist/{UIKit → src/UIKit}/BaseTab.vue.d.ts +1 -1
- package/dist/{UIKit → src/UIKit}/BaseTextarea.vue.d.ts +4 -4
- package/dist/{UIKit → src/UIKit}/BaseToggle.vue.d.ts +1 -1
- package/dist/{UIKit → src/UIKit}/BaseTooltip.vue.d.ts +2 -2
- package/dist/{UIKit → src/UIKit}/BaseUploadFile.vue.d.ts +1 -1
- package/dist/src/UIKit/Checkbox/CheckboxBtn.vue.d.ts +92 -0
- package/dist/src/UIKit/Checkbox/CheckboxGroup.vue.d.ts +78 -0
- package/dist/{UIKit → src/UIKit}/Radio/RadioButton.vue.d.ts +3 -3
- package/dist/{UIKit → src/UIKit}/Radio/RadioGroup.vue.d.ts +3 -2
- package/dist/src/UIKit/StaticSpinner.vue.d.ts +34 -0
- package/dist/src/Views/AccordionSection.vue.d.ts +2 -0
- package/dist/src/Views/AlertSection.vue.d.ts +2 -0
- package/dist/src/Views/AutocompleteSection.vue.d.ts +2 -0
- package/dist/src/Views/BadgeSection.vue.d.ts +2 -0
- package/dist/src/Views/ButtonsSection.vue.d.ts +2 -0
- package/dist/src/Views/CardSection.vue.d.ts +2 -0
- package/dist/src/Views/CheckboxSection.vue.d.ts +6 -0
- package/dist/src/Views/DropdownSection.vue.d.ts +35 -0
- package/dist/src/Views/ModalSection.vue.d.ts +4 -0
- package/dist/src/Views/PaginationSection.vue.d.ts +2 -0
- package/dist/src/Views/PaperSection.vue.d.ts +2 -0
- package/dist/src/Views/RadioSection.vue.d.ts +9 -0
- package/dist/src/Views/SliderSection.vue.d.ts +9 -0
- package/dist/src/Views/SnackbarSection.vue.d.ts +2 -0
- package/dist/src/Views/TabSection.vue.d.ts +2 -0
- package/dist/src/Views/TextInputSection.vue.d.ts +2 -0
- package/dist/src/Views/TextareaSection.vue.d.ts +6 -0
- package/dist/src/Views/ToggleSection.vue.d.ts +2 -0
- package/dist/src/Views/TooltipSection.vue.d.ts +2 -0
- package/dist/src/Views/UiKitSidebar.vue.d.ts +18 -0
- package/dist/src/Views/UploadBtnSection.vue.d.ts +2 -0
- package/dist/src/Views/WikicasaUiKit.vue.d.ts +19 -0
- package/dist/src/composables/useBreakpoints.d.ts +10 -0
- package/dist/{composables → src/composables}/useFloatingLabel.d.ts +1 -1
- package/dist/src/composables/useKeyboardController.d.ts +11 -0
- package/dist/{main.d.ts → src/main.d.ts} +12 -12
- package/dist/{stories → src/stories}/Button.stories.d.ts +2 -2
- package/dist/{stories → src/stories}/Header.stories.d.ts +3 -3
- package/dist/{stories → src/stories}/Page.stories.d.ts +3 -3
- package/dist/src/svgIcons/AboutUsIcon.d.ts +3 -0
- package/dist/src/svgIcons/ArrowIcon.d.ts +3 -0
- package/dist/src/svgIcons/BarChartIcon.d.ts +3 -0
- package/dist/src/svgIcons/BellIcon.d.ts +3 -0
- package/dist/src/svgIcons/BulbIcon.d.ts +3 -0
- package/dist/src/svgIcons/CloseIcon.d.ts +3 -0
- package/dist/src/svgIcons/DefaultValues.d.ts +8 -0
- package/dist/src/svgIcons/DeleteIcon.d.ts +3 -0
- package/dist/src/svgIcons/DrawIcon.d.ts +3 -0
- package/dist/src/svgIcons/GermanyFlagIcon.d.ts +3 -0
- package/dist/src/svgIcons/HeartIcon.d.ts +3 -0
- package/dist/src/svgIcons/HidePswIcon.d.ts +3 -0
- package/dist/src/svgIcons/ItalyFlagIcon.d.ts +3 -0
- package/dist/src/svgIcons/LocationIcon.d.ts +3 -0
- package/dist/src/svgIcons/LogoutIcon.d.ts +3 -0
- package/dist/src/svgIcons/MailIcon.d.ts +3 -0
- package/dist/src/svgIcons/MapIcon.d.ts +3 -0
- package/dist/src/svgIcons/NewsIcon.d.ts +3 -0
- package/dist/src/svgIcons/NotesIcon.d.ts +3 -0
- package/dist/src/svgIcons/PhoneIcon.d.ts +3 -0
- package/dist/src/svgIcons/PhotoIcon.d.ts +3 -0
- package/dist/src/svgIcons/PinIcon.d.ts +3 -0
- package/dist/src/svgIcons/PlanIcon.d.ts +3 -0
- package/dist/src/svgIcons/PlusIcon.d.ts +3 -0
- package/dist/src/svgIcons/PrestigeIcon.d.ts +3 -0
- package/dist/src/svgIcons/PrintIcon.d.ts +3 -0
- package/dist/src/svgIcons/ProfileIcon.d.ts +3 -0
- package/dist/src/svgIcons/QuotesIcon.d.ts +3 -0
- package/dist/src/svgIcons/RequestIcon.d.ts +3 -0
- package/dist/src/svgIcons/SearchIcon.d.ts +3 -0
- package/dist/src/svgIcons/ShareIcon.d.ts +3 -0
- package/dist/src/svgIcons/SuitcaseIcon.d.ts +3 -0
- package/dist/src/svgIcons/TieIcon.d.ts +3 -0
- package/dist/src/svgIcons/TourIcon.d.ts +3 -0
- package/dist/src/svgIcons/UkFlagIcon.d.ts +3 -0
- package/dist/src/svgIcons/ValuationIcon.d.ts +3 -0
- package/dist/src/svgIcons/VideoIcon.d.ts +3 -0
- package/dist/src/svgIcons/ViewPswIcon.d.ts +3 -0
- package/dist/src/svgIcons/WarningIcon.d.ts +3 -0
- package/dist/src/svgIcons/WarningIconRounded.d.ts +3 -0
- package/dist/src/svgIcons/WikiNerdIcon.d.ts +3 -0
- package/dist/src/svgIcons/WkAppIcon.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +35 -30
- package/dist/App.vue.d.ts +0 -2
- package/dist/UIKit/BaseAccordion.vue.d.ts +0 -25
- package/dist/UIKit/BaseAlert.vue.d.ts +0 -16
- package/dist/UIKit/BaseAutocomplete.vue.d.ts +0 -103
- package/dist/UIKit/BaseBadge.vue.d.ts +0 -14
- package/dist/UIKit/BaseButton.stories.d.ts +0 -10
- package/dist/UIKit/BaseButton.vue.d.ts +0 -90
- package/dist/UIKit/BaseCloseButton.vue.d.ts +0 -2
- package/dist/UIKit/BaseDropDown.vue.d.ts +0 -78
- package/dist/UIKit/BaseInput.stories.d.ts +0 -6
- package/dist/UIKit/BasePaper.vue.d.ts +0 -2
- package/dist/UIKit/BaseSearchBox.vue.d.ts +0 -4
- package/dist/UIKit/BaseSelect.vue.d.ts +0 -150
- package/dist/UIKit/BaseToggle.stories.d.ts +0 -7
- package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +0 -101
- package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +0 -55
- package/dist/components/HelloWorld.vue.d.ts +0 -2
- package/dist/components/base/StaticSpinner.vue.d.ts +0 -23
- /package/dist/{components → src/components}/Pera.stories.d.ts +0 -0
- /package/dist/{components → src/components}/base/BaseEmptyButton.stories.d.ts +0 -0
- /package/dist/{components → src/components}/base/StaticSpinner.stories.d.ts +0 -0
- /package/dist/{components → src/components}/input/TripleSelect.stories.d.ts +0 -0
- /package/dist/{components → src/components}/insert/QualityScore.stories.d.ts +0 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
type EventPayload = {
|
|
3
|
+
id: string | number;
|
|
4
|
+
label: string | number;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
id: string | number;
|
|
9
|
+
inputClass?: string | undefined;
|
|
10
|
+
inline?: boolean | undefined;
|
|
11
|
+
label?: string | number | undefined;
|
|
12
|
+
labelClass?: string | undefined;
|
|
13
|
+
isValid?: Nullable<boolean> | undefined;
|
|
14
|
+
modelValue?: boolean | undefined;
|
|
15
|
+
containerId?: string | undefined;
|
|
16
|
+
containerClass?: string | undefined;
|
|
17
|
+
handleLabelClick?: boolean | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
inputClass: string;
|
|
20
|
+
inline: boolean;
|
|
21
|
+
label: string;
|
|
22
|
+
labelClass: string;
|
|
23
|
+
isValid: null;
|
|
24
|
+
modelValue: boolean;
|
|
25
|
+
containerId: string;
|
|
26
|
+
containerClass: string;
|
|
27
|
+
handleLabelClick: boolean;
|
|
28
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
change: (args_0: EventPayload) => void;
|
|
30
|
+
click: () => void;
|
|
31
|
+
"update:modelValue": (args_0: boolean) => void;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
33
|
+
id: string | number;
|
|
34
|
+
inputClass?: string | undefined;
|
|
35
|
+
inline?: boolean | undefined;
|
|
36
|
+
label?: string | number | undefined;
|
|
37
|
+
labelClass?: string | undefined;
|
|
38
|
+
isValid?: Nullable<boolean> | undefined;
|
|
39
|
+
modelValue?: boolean | undefined;
|
|
40
|
+
containerId?: string | undefined;
|
|
41
|
+
containerClass?: string | undefined;
|
|
42
|
+
handleLabelClick?: boolean | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
inputClass: string;
|
|
45
|
+
inline: boolean;
|
|
46
|
+
label: string;
|
|
47
|
+
labelClass: string;
|
|
48
|
+
isValid: null;
|
|
49
|
+
modelValue: boolean;
|
|
50
|
+
containerId: string;
|
|
51
|
+
containerClass: string;
|
|
52
|
+
handleLabelClick: boolean;
|
|
53
|
+
}>>> & {
|
|
54
|
+
onChange?: ((args_0: EventPayload) => any) | undefined;
|
|
55
|
+
onClick?: (() => any) | undefined;
|
|
56
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
label: string | number;
|
|
59
|
+
modelValue: boolean;
|
|
60
|
+
isValid: Nullable<boolean>;
|
|
61
|
+
inputClass: string;
|
|
62
|
+
inline: boolean;
|
|
63
|
+
labelClass: string;
|
|
64
|
+
containerId: string;
|
|
65
|
+
containerClass: string;
|
|
66
|
+
handleLabelClick: boolean;
|
|
67
|
+
}, {}>, {
|
|
68
|
+
label?(_: {}): any;
|
|
69
|
+
}>;
|
|
70
|
+
export default _default;
|
|
71
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
72
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
73
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
74
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
75
|
+
} : {
|
|
76
|
+
type: import('vue').PropType<T[K]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
type __VLS_WithDefaults<P, D> = {
|
|
81
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
82
|
+
default: D[K];
|
|
83
|
+
}> : P[K];
|
|
84
|
+
};
|
|
85
|
+
type __VLS_Prettify<T> = {
|
|
86
|
+
[K in keyof T]: T[K];
|
|
87
|
+
} & {};
|
|
88
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { CheckboxButtonType, GetterIdType } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
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_TypePropsToRuntimeProps<{
|
|
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
|
+
reset: boolean;
|
|
44
|
+
valuesObj: Record<string, CheckboxButtonType>;
|
|
45
|
+
formCheckInline: boolean;
|
|
46
|
+
customClass: string;
|
|
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_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: import('vue').PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
type __VLS_WithDefaults<P, D> = {
|
|
67
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
68
|
+
default: D[K];
|
|
69
|
+
}> : P[K];
|
|
70
|
+
};
|
|
71
|
+
type __VLS_Prettify<T> = {
|
|
72
|
+
[K in keyof T]: T[K];
|
|
73
|
+
} & {};
|
|
74
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
label: {
|
|
3
|
-
type: (
|
|
3
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
isChecked: {
|
|
@@ -10,9 +10,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
emitChange(): void;
|
|
11
11
|
handleClick(): void;
|
|
12
12
|
handleOnInput(): void;
|
|
13
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").
|
|
13
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
label: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
isChecked: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { RadioButtonType
|
|
1
|
+
import { RadioButtonType } from "@wikicasa-dev/types";
|
|
2
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
initialValue: {
|
|
4
5
|
type: () => RadioButtonType;
|
|
@@ -16,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
17
|
handleChange(elem: RadioButtonType): void;
|
|
17
18
|
reset(): void;
|
|
18
19
|
isActive(elem: RadioButtonType): boolean;
|
|
19
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "resetted")[], "update:modelValue" | "resetted", import("vue").
|
|
20
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "resetted")[], "update:modelValue" | "resetted", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
21
|
initialValue: {
|
|
21
22
|
type: () => RadioButtonType;
|
|
22
23
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
thickness?: number | undefined;
|
|
3
|
+
color?: "tw-stroke-black" | "tw-stroke-white" | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
thickness: number;
|
|
6
|
+
color: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
thickness?: number | undefined;
|
|
9
|
+
color?: "tw-stroke-black" | "tw-stroke-white" | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
thickness: number;
|
|
12
|
+
color: string;
|
|
13
|
+
}>>>, {
|
|
14
|
+
color: "tw-stroke-black" | "tw-stroke-white";
|
|
15
|
+
thickness: number;
|
|
16
|
+
}, {}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
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_TypePropsToRuntimeProps<SidebarItems>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SidebarItems>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<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;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ToRefs } from "vue";
|
|
2
|
+
interface UsableBreakpoints {
|
|
3
|
+
isDesktopMode: boolean;
|
|
4
|
+
isSmall: boolean;
|
|
5
|
+
isLarge: boolean;
|
|
6
|
+
isMedium: boolean;
|
|
7
|
+
isExtraLarge: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function useBreakpoints(): ToRefs<UsableBreakpoints>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Ref } from "vue";
|
|
2
|
+
interface KeyboardControllerProps {
|
|
3
|
+
optionsLength: Ref<number> | number;
|
|
4
|
+
isDropdownOpen: Ref<boolean>;
|
|
5
|
+
disableSpaceHandler?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const useKeyboardController: (props: KeyboardControllerProps) => {
|
|
8
|
+
activeIdx: Ref<number>;
|
|
9
|
+
selectedIdx: Ref<number>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import
|
|
1
|
+
import BaseAccordion from './UIKit/Accordion/BaseAccordion.vue';
|
|
2
|
+
import BaseAccordionBtn from './UIKit/Accordion/BaseAccordionBtn.vue';
|
|
3
|
+
import BaseAccordionContent from './UIKit/Accordion/BaseAccordionContent.vue';
|
|
4
|
+
import BaseAccordionItem from './UIKit/Accordion/BaseAccordionItem.vue';
|
|
5
|
+
import SelectItem from './UIKit/BaseSelect/SelectItem.vue';
|
|
6
|
+
import CheckboxBtn from './UIKit/Checkbox/CheckboxBtn.vue';
|
|
7
|
+
import CheckboxGroup from './UIKit/Checkbox/CheckboxGroup.vue';
|
|
8
|
+
import RadioButton from './UIKit/Radio/RadioButton.vue';
|
|
9
|
+
import RadioGroup from './UIKit/Radio/RadioGroup.vue';
|
|
10
|
+
import AccessibleSelect from './UIKit/AccessibleSelect.vue';
|
|
5
11
|
import BaseAlert from './UIKit/BaseAlert.vue';
|
|
6
12
|
import BaseAutocomplete from './UIKit/BaseAutocomplete.vue';
|
|
7
13
|
import BaseBadge from './UIKit/BaseBadge.vue';
|
|
8
14
|
import BaseButton from './UIKit/BaseButton.vue';
|
|
9
|
-
import
|
|
15
|
+
import BaseCard from './UIKit/BaseCard.vue';
|
|
10
16
|
import BaseComplexToggle from './UIKit/BaseComplexToggle.vue';
|
|
11
17
|
import BaseDropDown from './UIKit/BaseDropDown.vue';
|
|
12
18
|
import BaseFloatingLabel from './UIKit/BaseFloatingLabel.vue';
|
|
@@ -15,16 +21,10 @@ import BaseInput from './UIKit/BaseInput.vue';
|
|
|
15
21
|
import BaseNavItem from './UIKit/BaseNavItem.vue';
|
|
16
22
|
import BasePagination from './UIKit/BasePagination.vue';
|
|
17
23
|
import BasePaper from './UIKit/BasePaper.vue';
|
|
18
|
-
import BaseSearchBox from './UIKit/BaseSearchBox.vue';
|
|
19
|
-
import BaseSelect from './UIKit/BaseSelect.vue';
|
|
20
24
|
import BaseSlider from './UIKit/BaseSlider.vue';
|
|
21
25
|
import BaseTab from './UIKit/BaseTab.vue';
|
|
22
26
|
import BaseTextarea from './UIKit/BaseTextarea.vue';
|
|
23
27
|
import BaseToggle from './UIKit/BaseToggle.vue';
|
|
24
28
|
import BaseTooltip from './UIKit/BaseTooltip.vue';
|
|
25
29
|
import BaseUploadFile from './UIKit/BaseUploadFile.vue';
|
|
26
|
-
|
|
27
|
-
import CheckboxGroup from './UIKit/Checkbox/CheckboxGroup.vue';
|
|
28
|
-
import RadioButton from './UIKit/Radio/RadioButton.vue';
|
|
29
|
-
import RadioGroup from './UIKit/Radio/RadioGroup.vue';
|
|
30
|
-
export { BaseAccordion, BaseAlert, BaseAutocomplete, BaseBadge, BaseButton, BaseCloseButton, BaseComplexToggle, BaseDropDown, BaseFloatingLabel, BaseIcon, BaseInput, BaseNavItem, BasePagination, BasePaper, BaseSearchBox, BaseSelect, BaseSlider, BaseTab, BaseTextarea, BaseToggle, BaseTooltip, BaseUploadFile, CheckboxBtn, CheckboxGroup, RadioButton, RadioGroup, };
|
|
30
|
+
export { BaseAccordion, BaseAccordionBtn, BaseAccordionContent, BaseAccordionItem, SelectItem, BaseAlert, BaseAutocomplete, BaseBadge, BaseButton, AccessibleSelect, BaseComplexToggle, BaseDropDown, BaseFloatingLabel, BaseCard, BaseIcon, BaseInput, BaseNavItem, BasePagination, BasePaper, BaseSlider, BaseTab, BaseTextarea, BaseToggle, BaseTooltip, BaseUploadFile, CheckboxBtn, CheckboxGroup, RadioButton, RadioGroup, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from
|
|
1
|
+
import type { StoryObj } from "@storybook/vue3";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("vue").DefineComponent<{
|
|
@@ -18,7 +18,7 @@ declare const meta: {
|
|
|
18
18
|
};
|
|
19
19
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
20
|
click: (id: number) => void;
|
|
21
|
-
}, string, import("vue").
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
label: {
|
|
23
23
|
type: import("vue").PropType<string>;
|
|
24
24
|
required: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StoryObj } from
|
|
1
|
+
import type { StoryObj } from "@storybook/vue3";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("vue").DefineComponent<{
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
createAccount: () => void;
|
|
13
13
|
login: () => void;
|
|
14
14
|
logout: () => void;
|
|
15
|
-
}, string, import("vue").
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
user: {
|
|
17
17
|
type: import("vue").PropType<{
|
|
18
18
|
name: string;
|
|
@@ -37,7 +37,7 @@ declare const meta: {
|
|
|
37
37
|
createAccount: () => void;
|
|
38
38
|
login: () => void;
|
|
39
39
|
logout: () => void;
|
|
40
|
-
}, string, import("vue").
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
user: {
|
|
42
42
|
type: import("vue").PropType<{
|
|
43
43
|
name: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { StoryObj } from
|
|
1
|
+
import type { StoryObj } from "@storybook/vue3";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
4
|
+
component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
5
|
render: () => {
|
|
6
6
|
components: {
|
|
7
|
-
MyPage: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
7
|
+
MyPage: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
8
8
|
};
|
|
9
9
|
template: string;
|
|
10
10
|
};
|