@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,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
text: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
};
|
|
5
|
+
iconName: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
iconClass: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
navItemCustomClass: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
};
|
|
15
|
+
isActive: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
text: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
};
|
|
23
|
+
iconName: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
iconClass: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
navItemCustomClass: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
isActive: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & {
|
|
38
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
iconClass: string;
|
|
41
|
+
isActive: boolean;
|
|
42
|
+
}, {}>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
offset: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
count: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
limit: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
siblings: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
additionalCount: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
}, unknown, {
|
|
23
|
+
activeHoverOnLeftIcon: boolean;
|
|
24
|
+
activeHoverOnRightIcon: boolean;
|
|
25
|
+
}, {}, {
|
|
26
|
+
handleHoverIcon(isHover: boolean, icon: string): void;
|
|
27
|
+
getPages(): number;
|
|
28
|
+
getFormattedPages(): string;
|
|
29
|
+
getCurrentPage(): number;
|
|
30
|
+
getPreviousPages(): Array<number>;
|
|
31
|
+
getNextPages(): Array<number>;
|
|
32
|
+
formatInteger(n: number): string;
|
|
33
|
+
selectPage(page: number): void;
|
|
34
|
+
getCount(): number;
|
|
35
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "new-pagination-offset"[], "new-pagination-offset", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
offset: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
count: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
limit: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
siblings: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
additionalCount: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
}>> & {
|
|
57
|
+
"onNew-pagination-offset"?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
offset: number;
|
|
60
|
+
count: number;
|
|
61
|
+
limit: number;
|
|
62
|
+
siblings: number;
|
|
63
|
+
additionalCount: number;
|
|
64
|
+
}, {}>;
|
|
65
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
label?: string | undefined;
|
|
3
|
+
active?: boolean | undefined;
|
|
4
|
+
idx?: number | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
label: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
idx: number;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
click: (args_0: number) => void;
|
|
11
|
+
mouseover: (args_0: number) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
|
+
label?: string | undefined;
|
|
14
|
+
active?: boolean | undefined;
|
|
15
|
+
idx?: number | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
label: string;
|
|
18
|
+
active: boolean;
|
|
19
|
+
idx: number;
|
|
20
|
+
}>>> & {
|
|
21
|
+
onClick?: ((args_0: number) => any) | undefined;
|
|
22
|
+
onMouseover?: ((args_0: number) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
active: boolean;
|
|
25
|
+
label: string;
|
|
26
|
+
idx: number;
|
|
27
|
+
}, {}>, {
|
|
28
|
+
default?(_: {
|
|
29
|
+
itemIdx: number;
|
|
30
|
+
}): any;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
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
|
+
};
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
type Inputs = "min-input" | "max-input";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
type: {
|
|
5
|
+
type: () => "linear" | "logarithmic";
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}, unknown, {
|
|
9
|
+
leftSliderLimit: number;
|
|
10
|
+
rightSliderLimit: number;
|
|
11
|
+
minValue: number;
|
|
12
|
+
maxValue: number;
|
|
13
|
+
sliderMinValue: number;
|
|
14
|
+
sliderMaxValue: number;
|
|
15
|
+
minlval: number;
|
|
16
|
+
maxlval: number;
|
|
17
|
+
scale: number;
|
|
18
|
+
}, {
|
|
19
|
+
fromSlider(): Nullable<HTMLInputElement>;
|
|
20
|
+
toSlider(): Nullable<HTMLInputElement>;
|
|
21
|
+
fromInput(): Nullable<HTMLInputElement>;
|
|
22
|
+
toInput(): Nullable<HTMLInputElement>;
|
|
23
|
+
}, {
|
|
24
|
+
handleInputChange(from: Inputs, value: string): void;
|
|
25
|
+
getCurrentPosition(value: number): number;
|
|
26
|
+
getCurrentValue(position: number): number;
|
|
27
|
+
controlFromInput(controlSlider: HTMLInputElement): void;
|
|
28
|
+
controlToInput(toSlider: HTMLInputElement, controlSlider: HTMLInputElement): void;
|
|
29
|
+
controlFromSlider(fromSlider: HTMLInputElement, toSlider: HTMLInputElement): void;
|
|
30
|
+
controlToSlider(fromSlider: HTMLInputElement, toSlider: HTMLInputElement): void;
|
|
31
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("minChanged" | "maxChanged")[], "minChanged" | "maxChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
type: {
|
|
33
|
+
type: () => "linear" | "logarithmic";
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}>> & {
|
|
37
|
+
onMinChanged?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onMaxChanged?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
type: "linear" | "logarithmic";
|
|
41
|
+
}, {}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Action, Nullable, SnackbarTypes } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
type?: SnackbarTypes | undefined;
|
|
4
|
+
title: string;
|
|
5
|
+
body: string;
|
|
6
|
+
icon?: {
|
|
7
|
+
src: string;
|
|
8
|
+
alt: string;
|
|
9
|
+
} | undefined;
|
|
10
|
+
timeout?: number | undefined;
|
|
11
|
+
cb?: Nullable<Action> | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
type: string;
|
|
14
|
+
timeout: number;
|
|
15
|
+
cb: null;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"snackbar-hidden": () => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
19
|
+
type?: SnackbarTypes | undefined;
|
|
20
|
+
title: string;
|
|
21
|
+
body: string;
|
|
22
|
+
icon?: {
|
|
23
|
+
src: string;
|
|
24
|
+
alt: string;
|
|
25
|
+
} | undefined;
|
|
26
|
+
timeout?: number | undefined;
|
|
27
|
+
cb?: Nullable<Action> | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
type: string;
|
|
30
|
+
timeout: number;
|
|
31
|
+
cb: null;
|
|
32
|
+
}>>> & {
|
|
33
|
+
"onSnackbar-hidden"?: (() => any) | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
type: SnackbarTypes;
|
|
36
|
+
timeout: number;
|
|
37
|
+
cb: Nullable<Action>;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
42
|
+
default: D[K];
|
|
43
|
+
}> : P[K];
|
|
44
|
+
};
|
|
45
|
+
type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToOption<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
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
interface ITab {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
iconName?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
navTabsCustomClass: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
};
|
|
11
|
+
firstLabel: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
firstIconName: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
secondLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
secondIconName: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
};
|
|
25
|
+
tabs: {
|
|
26
|
+
type: PropType<ITab[]>;
|
|
27
|
+
};
|
|
28
|
+
}, unknown, {
|
|
29
|
+
selectedId: string;
|
|
30
|
+
}, {}, {
|
|
31
|
+
handleClick(id: string): void;
|
|
32
|
+
clickTab(id: string): void;
|
|
33
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickedTab"[], "clickedTab", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
navTabsCustomClass: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
firstLabel: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
firstIconName: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
};
|
|
44
|
+
secondLabel: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
secondIconName: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
};
|
|
51
|
+
tabs: {
|
|
52
|
+
type: PropType<ITab[]>;
|
|
53
|
+
};
|
|
54
|
+
}>> & {
|
|
55
|
+
onClickedTab?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
firstLabel: string;
|
|
58
|
+
secondLabel: string;
|
|
59
|
+
}, {}>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { FeedbackLabels, Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
labelText: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
};
|
|
10
|
+
feedback: {
|
|
11
|
+
type: () => FeedbackLabels;
|
|
12
|
+
};
|
|
13
|
+
isValid: {
|
|
14
|
+
type: () => Nullable<boolean>;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
textAreaStyle: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
isDisabled: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
resize: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
labelState: import("vue").Ref<import("@wikicasa-dev/types").LabelState>;
|
|
31
|
+
setInitialLabelState: <T>(value: T) => void;
|
|
32
|
+
handleFocusIn: (autoFloating?: boolean | undefined) => void;
|
|
33
|
+
handleFocusOut: <T_1>(value: T_1, manual?: boolean | undefined, auto?: boolean | undefined) => void;
|
|
34
|
+
}, {
|
|
35
|
+
value: string;
|
|
36
|
+
}, {
|
|
37
|
+
textareaElem(): HTMLTextAreaElement;
|
|
38
|
+
}, {
|
|
39
|
+
handleOnChange({ target }: Event): void;
|
|
40
|
+
handleFloatingLabelClick(): void;
|
|
41
|
+
disableTextarea(): void;
|
|
42
|
+
clearTextareaElem(): void;
|
|
43
|
+
disableAndFocusTextarea(): void;
|
|
44
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "focusin" | "focusout")[], "update:modelValue" | "focusin" | "focusout", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
labelText: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
modelValue: {
|
|
50
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
51
|
+
};
|
|
52
|
+
feedback: {
|
|
53
|
+
type: () => FeedbackLabels;
|
|
54
|
+
};
|
|
55
|
+
isValid: {
|
|
56
|
+
type: () => Nullable<boolean>;
|
|
57
|
+
default: null;
|
|
58
|
+
};
|
|
59
|
+
textAreaStyle: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
isDisabled: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
resize: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
72
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
onFocusout?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
isValid: Nullable<boolean>;
|
|
77
|
+
labelText: string;
|
|
78
|
+
textAreaStyle: string;
|
|
79
|
+
isDisabled: boolean;
|
|
80
|
+
resize: boolean;
|
|
81
|
+
}, {}>;
|
|
82
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
withRightLabel: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, unknown, {}, {
|
|
15
|
+
handleToggle({ target }: Event): void;
|
|
16
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
withRightLabel: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
modelValue: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
label: string;
|
|
33
|
+
modelValue: boolean;
|
|
34
|
+
withRightLabel: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
theme: {
|
|
3
|
+
type: () => {
|
|
4
|
+
color: "blue" | "white";
|
|
5
|
+
size: "sm" | "md" | "lg";
|
|
6
|
+
};
|
|
7
|
+
default(): {
|
|
8
|
+
color: string;
|
|
9
|
+
size: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
direction: {
|
|
13
|
+
type: () => "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
customTooltipClass: {
|
|
17
|
+
type: () => "mail-alert";
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
showTooltipContentManually: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
theme: {
|
|
26
|
+
type: () => {
|
|
27
|
+
color: "blue" | "white";
|
|
28
|
+
size: "sm" | "md" | "lg";
|
|
29
|
+
};
|
|
30
|
+
default(): {
|
|
31
|
+
color: string;
|
|
32
|
+
size: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
direction: {
|
|
36
|
+
type: () => "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
customTooltipClass: {
|
|
40
|
+
type: () => "mail-alert";
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
showTooltipContentManually: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>>, {
|
|
48
|
+
theme: {
|
|
49
|
+
color: "blue" | "white";
|
|
50
|
+
size: "sm" | "md" | "lg";
|
|
51
|
+
};
|
|
52
|
+
direction: "bottom" | "top" | "left" | "right" | "top-center" | "bottom-center";
|
|
53
|
+
customTooltipClass: "mail-alert";
|
|
54
|
+
showTooltipContentManually: boolean;
|
|
55
|
+
}, {}>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
withMargin: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
labelText: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
clear: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, any, {}, {
|
|
15
|
+
handleInput({ target }: InputEvent): void;
|
|
16
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cleared" | "uploaded")[], "cleared" | "uploaded", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
withMargin: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
labelText: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
clear: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onCleared?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onUploaded?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
clear: boolean;
|
|
34
|
+
labelText: string;
|
|
35
|
+
withMargin: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
@@ -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_TypePropsToOption<{
|
|
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
|
+
click: () => void;
|
|
30
|
+
"update:modelValue": (args_0: boolean) => void;
|
|
31
|
+
change: (args_0: EventPayload) => void;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
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
|
+
onClick?: (() => any) | undefined;
|
|
55
|
+
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
56
|
+
onChange?: ((args_0: EventPayload) => any) | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
label: string | number;
|
|
59
|
+
isValid: Nullable<boolean>;
|
|
60
|
+
modelValue: 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_WithDefaults<P, D> = {
|
|
72
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
73
|
+
default: D[K];
|
|
74
|
+
}> : P[K];
|
|
75
|
+
};
|
|
76
|
+
type __VLS_Prettify<T> = {
|
|
77
|
+
[K in keyof T]: T[K];
|
|
78
|
+
} & {};
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
85
|
+
type __VLS_TypePropsToOption<T> = {
|
|
86
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
87
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
88
|
+
} : {
|
|
89
|
+
type: import('vue').PropType<T[K]>;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
};
|