@wikicasa-dev/components 0.1.5 → 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 +33 -28
- 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,74 @@
|
|
|
1
|
+
import type { AccessibleSelectOptions } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
label?: string | undefined;
|
|
4
|
+
dropdownPosition?: "top" | "bottom" | undefined;
|
|
5
|
+
namespace: string;
|
|
6
|
+
options: AccessibleSelectOptions[];
|
|
7
|
+
modelValue?: AccessibleSelectOptions | undefined;
|
|
8
|
+
isValid?: boolean | null | undefined;
|
|
9
|
+
feedback?: Partial<{
|
|
10
|
+
valid: string;
|
|
11
|
+
invalid: string;
|
|
12
|
+
}> | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
modelValue: () => {
|
|
15
|
+
id: string;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
label: string;
|
|
19
|
+
dropdownPosition: string;
|
|
20
|
+
isValid: null;
|
|
21
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (args_0: AccessibleSelectOptions) => void;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
+
label?: string | undefined;
|
|
25
|
+
dropdownPosition?: "top" | "bottom" | undefined;
|
|
26
|
+
namespace: string;
|
|
27
|
+
options: AccessibleSelectOptions[];
|
|
28
|
+
modelValue?: AccessibleSelectOptions | undefined;
|
|
29
|
+
isValid?: boolean | null | undefined;
|
|
30
|
+
feedback?: Partial<{
|
|
31
|
+
valid: string;
|
|
32
|
+
invalid: string;
|
|
33
|
+
}> | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
modelValue: () => {
|
|
36
|
+
id: string;
|
|
37
|
+
label: string;
|
|
38
|
+
};
|
|
39
|
+
label: string;
|
|
40
|
+
dropdownPosition: string;
|
|
41
|
+
isValid: null;
|
|
42
|
+
}>>> & {
|
|
43
|
+
"onUpdate:modelValue"?: ((args_0: AccessibleSelectOptions) => any) | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
label: string;
|
|
46
|
+
dropdownPosition: "top" | "bottom";
|
|
47
|
+
modelValue: AccessibleSelectOptions;
|
|
48
|
+
isValid: boolean | null;
|
|
49
|
+
}, {}>, {
|
|
50
|
+
lefticon?(_: {}): any;
|
|
51
|
+
}>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
type __VLS_WithDefaults<P, D> = {
|
|
63
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
|
+
default: D[K];
|
|
65
|
+
}> : P[K];
|
|
66
|
+
};
|
|
67
|
+
type __VLS_Prettify<T> = {
|
|
68
|
+
[K in keyof T]: T[K];
|
|
69
|
+
} & {};
|
|
70
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AccordionItem } from "@wikicasa-dev/types";
|
|
2
|
+
type AccordionItemDecorated<T> = Record<string | number, T & Partial<AccordionItem>>;
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
autoClose?: boolean | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
autoClose: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
autoClose?: boolean | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
autoClose: boolean;
|
|
11
|
+
}>>>, {
|
|
12
|
+
autoClose: boolean;
|
|
13
|
+
}, {}>, {
|
|
14
|
+
default?(_: {
|
|
15
|
+
updatePrev: <T>(a: AccordionItem, _accordionItems: AccordionItemDecorated<T>) => void;
|
|
16
|
+
prev: {
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
id: string | number;
|
|
19
|
+
active?: boolean | undefined;
|
|
20
|
+
} | null;
|
|
21
|
+
}): any;
|
|
22
|
+
}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id: string | number;
|
|
3
|
+
arrowWidth?: number | undefined;
|
|
4
|
+
onContainerClickExpand?: boolean | undefined;
|
|
5
|
+
accordionOpen?: boolean | undefined;
|
|
6
|
+
toggleAccordion: () => void;
|
|
7
|
+
}>, {
|
|
8
|
+
accordionOpen: boolean;
|
|
9
|
+
arrowWidth: number;
|
|
10
|
+
onContainerClickExpand: boolean;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
click: () => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
id: string | number;
|
|
15
|
+
arrowWidth?: number | undefined;
|
|
16
|
+
onContainerClickExpand?: boolean | undefined;
|
|
17
|
+
accordionOpen?: boolean | undefined;
|
|
18
|
+
toggleAccordion: () => void;
|
|
19
|
+
}>, {
|
|
20
|
+
accordionOpen: boolean;
|
|
21
|
+
arrowWidth: number;
|
|
22
|
+
onContainerClickExpand: boolean;
|
|
23
|
+
}>>> & {
|
|
24
|
+
onClick?: (() => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
arrowWidth: number;
|
|
27
|
+
onContainerClickExpand: boolean;
|
|
28
|
+
accordionOpen: boolean;
|
|
29
|
+
}, {}>, {
|
|
30
|
+
custom_content?(_: {}): any;
|
|
31
|
+
custom_btn?(_: {
|
|
32
|
+
btnId: string;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
toggleAccordion: () => void;
|
|
35
|
+
}): any;
|
|
36
|
+
}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id: string | number;
|
|
3
|
+
accordionOpen: boolean;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
id: string | number;
|
|
6
|
+
accordionOpen: boolean;
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
custom_accordion_content?(_: {
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
}): any;
|
|
11
|
+
default?(_: {
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { AccordionItem } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AccordionItem & {
|
|
3
|
+
arrowWidth?: number | undefined;
|
|
4
|
+
onContainerClickExpand?: boolean | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
active: boolean;
|
|
7
|
+
arrowWidth: number;
|
|
8
|
+
onContainerClickExpand: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
click: () => void;
|
|
11
|
+
accordionOpened: (a: AccordionItem) => void;
|
|
12
|
+
accordionClosed: (a: AccordionItem) => void;
|
|
13
|
+
"update:accordionState": (args_0: boolean) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AccordionItem & {
|
|
15
|
+
arrowWidth?: number | undefined;
|
|
16
|
+
onContainerClickExpand?: boolean | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
active: boolean;
|
|
19
|
+
arrowWidth: number;
|
|
20
|
+
onContainerClickExpand: boolean;
|
|
21
|
+
}>>> & {
|
|
22
|
+
onClick?: (() => any) | undefined;
|
|
23
|
+
onAccordionOpened?: ((a: AccordionItem) => any) | undefined;
|
|
24
|
+
onAccordionClosed?: ((a: AccordionItem) => any) | undefined;
|
|
25
|
+
"onUpdate:accordionState"?: ((args_0: boolean) => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
arrowWidth: number;
|
|
28
|
+
active: boolean;
|
|
29
|
+
onContainerClickExpand: boolean;
|
|
30
|
+
}, {}>, {
|
|
31
|
+
custom_content?(_: {}): any;
|
|
32
|
+
custom_btn?(_: {
|
|
33
|
+
btnId: string;
|
|
34
|
+
isOpen: boolean;
|
|
35
|
+
toggleAccordion: () => void;
|
|
36
|
+
}): any;
|
|
37
|
+
custom_accordion?(_: {
|
|
38
|
+
id: string | number;
|
|
39
|
+
isOpen: boolean;
|
|
40
|
+
toggleAccordion: () => void;
|
|
41
|
+
}): any;
|
|
42
|
+
custom_accordion_content?(_: {
|
|
43
|
+
isOpen: boolean;
|
|
44
|
+
}): any;
|
|
45
|
+
default?(_: {
|
|
46
|
+
isOpen: boolean;
|
|
47
|
+
}): any;
|
|
48
|
+
}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
text?: string | undefined;
|
|
3
|
+
alrtClass?: string | undefined;
|
|
4
|
+
}>, {
|
|
5
|
+
text: string;
|
|
6
|
+
alrtClass: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
text?: string | undefined;
|
|
9
|
+
alrtClass?: string | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
text: string;
|
|
12
|
+
alrtClass: string;
|
|
13
|
+
}>>>, {
|
|
14
|
+
text: string;
|
|
15
|
+
alrtClass: string;
|
|
16
|
+
}, {}>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
+
default: D[K];
|
|
32
|
+
}> : P[K];
|
|
33
|
+
};
|
|
34
|
+
type __VLS_Prettify<T> = {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} & {};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { AccessibleSelectOptions, Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
type ModelValueType<T = unknown> = AccessibleSelectOptions<T>;
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
modelValue: import("vue").PropType<ModelValueType<unknown> | undefined>;
|
|
5
|
+
label: {
|
|
6
|
+
type: import("vue").PropType<string>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
isValid: {
|
|
10
|
+
type: import("vue").PropType<Nullable<boolean>>;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
border: {
|
|
14
|
+
type: import("vue").PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
keepState: {
|
|
18
|
+
type: import("vue").PropType<Nullable<"closed" | "open">>;
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
theme: {
|
|
22
|
+
type: import("vue").PropType<"" | "bordered" | "all-bordered" | "all-bordered-thick">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
disableCb: {
|
|
26
|
+
type: import("vue").PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
onInputChangeCb: {
|
|
30
|
+
type: import("vue").PropType<(v: string) => Promise<AccessibleSelectOptions[]>>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
onOptionSelectedCb: {
|
|
34
|
+
type: import("vue").PropType<Nullable<(v: AccessibleSelectOptions) => void>>;
|
|
35
|
+
default: null;
|
|
36
|
+
};
|
|
37
|
+
manualClose: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}, {
|
|
42
|
+
select: () => void;
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
+
click: () => void;
|
|
45
|
+
dropdownClosed: () => void;
|
|
46
|
+
changedValue: (args_0: string) => void;
|
|
47
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
modelValue: import("vue").PropType<ModelValueType<unknown> | undefined>;
|
|
49
|
+
label: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
isValid: {
|
|
54
|
+
type: import("vue").PropType<Nullable<boolean>>;
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
border: {
|
|
58
|
+
type: import("vue").PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
keepState: {
|
|
62
|
+
type: import("vue").PropType<Nullable<"closed" | "open">>;
|
|
63
|
+
default: null;
|
|
64
|
+
};
|
|
65
|
+
theme: {
|
|
66
|
+
type: import("vue").PropType<"" | "bordered" | "all-bordered" | "all-bordered-thick">;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
disableCb: {
|
|
70
|
+
type: import("vue").PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
onInputChangeCb: {
|
|
74
|
+
type: import("vue").PropType<(v: string) => Promise<AccessibleSelectOptions[]>>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
onOptionSelectedCb: {
|
|
78
|
+
type: import("vue").PropType<Nullable<(v: AccessibleSelectOptions) => void>>;
|
|
79
|
+
default: null;
|
|
80
|
+
};
|
|
81
|
+
manualClose: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>> & {
|
|
86
|
+
onClick?: (() => any) | undefined;
|
|
87
|
+
onDropdownClosed?: (() => any) | undefined;
|
|
88
|
+
onChangedValue?: ((args_0: string) => any) | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
label: string;
|
|
91
|
+
isValid: Nullable<boolean>;
|
|
92
|
+
border: boolean;
|
|
93
|
+
keepState: Nullable<"closed" | "open">;
|
|
94
|
+
theme: "" | "bordered" | "all-bordered" | "all-bordered-thick";
|
|
95
|
+
disableCb: boolean;
|
|
96
|
+
onOptionSelectedCb: Nullable<(v: AccessibleSelectOptions) => void>;
|
|
97
|
+
manualClose: boolean;
|
|
98
|
+
}, {}>, {
|
|
99
|
+
lefticon?(_: {}): any;
|
|
100
|
+
righticon?(_: {
|
|
101
|
+
handleClean: any;
|
|
102
|
+
}): any;
|
|
103
|
+
}>;
|
|
104
|
+
export default _default;
|
|
105
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
badgeClass: "tw-badge-w-warning" | "tw-badge-w-lavender" | "tw-badge-outline-tag" | "tw-badge-w-primary-sm" | "tw-badge-outline-tag-listing" | "tw-badge-w-dark-primary";
|
|
3
|
+
}>, {
|
|
4
|
+
badgeClass: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
badgeClass: "tw-badge-w-warning" | "tw-badge-w-lavender" | "tw-badge-outline-tag" | "tw-badge-w-primary-sm" | "tw-badge-outline-tag-listing" | "tw-badge-w-dark-primary";
|
|
7
|
+
}>, {
|
|
8
|
+
badgeClass: string;
|
|
9
|
+
}>>>, {
|
|
10
|
+
badgeClass: "tw-badge-w-warning" | "tw-badge-w-lavender" | "tw-badge-outline-tag" | "tw-badge-w-primary-sm" | "tw-badge-outline-tag-listing" | "tw-badge-w-dark-primary";
|
|
11
|
+
}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
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
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
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: (ArrayConstructor | StringConstructor)[];
|
|
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, ("opened" | "closed")[], "opened" | "closed", 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: (ArrayConstructor | StringConstructor)[];
|
|
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
|
+
onOpened?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
onClosed?: ((...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;
|