@wikicasa-dev/components 1.2.10 → 1.2.12
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/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 +108 -0
- package/dist/UIKit/BaseBadge.vue.d.ts +36 -0
- 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/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/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/autoplay-l0sNRNKZ.js +1 -0
- package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +24 -0
- package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +50 -0
- package/dist/components/carousel/SwiperCarousel.vue.d.ts +69 -0
- package/dist/components.js +33 -135
- package/dist/components.umd.cjs +14 -1
- package/dist/controller-l0sNRNKZ.js +1 -0
- package/dist/free-mode-l0sNRNKZ.js +1 -0
- package/dist/index-BZnZUpib.js +4872 -0
- package/dist/index-BtxYTF3f.js +900 -0
- package/dist/index.d.ts +32 -1
- package/dist/navigation-l0sNRNKZ.js +1 -0
- package/dist/pagination-l0sNRNKZ.js +1 -0
- package/dist/stories/Button.stories.d.ts +6 -6
- package/dist/style.css +1 -1
- package/dist/thumbs-l0sNRNKZ.js +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id?: string | undefined;
|
|
3
|
+
dropdownClasses?: string | string[] | (string | Record<string, boolean>)[] | undefined;
|
|
4
|
+
containerDropdownClasses?: string | undefined;
|
|
5
|
+
iconName?: string | undefined;
|
|
6
|
+
iconClasses?: string | undefined;
|
|
7
|
+
btnClasses?: string | undefined;
|
|
8
|
+
withArrowIcon?: boolean | undefined;
|
|
9
|
+
btnLabel?: string | undefined;
|
|
10
|
+
labelClasses?: string | undefined;
|
|
11
|
+
direction?: "up" | "down" | undefined;
|
|
12
|
+
arrowWidth?: number | undefined;
|
|
13
|
+
isAbsolute?: boolean | undefined;
|
|
14
|
+
openDropdown?: boolean | undefined;
|
|
15
|
+
closeWhenClickedOutside?: boolean | undefined;
|
|
16
|
+
dropdownElement?: "div" | "ul" | undefined;
|
|
17
|
+
keepState?: "" | "opened" | "closed" | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
id: string;
|
|
20
|
+
containerDropdownClasses: string;
|
|
21
|
+
dropdownClasses: string;
|
|
22
|
+
iconClasses: string;
|
|
23
|
+
iconName: string;
|
|
24
|
+
btnClasses: string;
|
|
25
|
+
btnLabel: string;
|
|
26
|
+
labelClasses: string;
|
|
27
|
+
withArrowIcon: boolean;
|
|
28
|
+
direction: string;
|
|
29
|
+
openDropdown: boolean;
|
|
30
|
+
isAbsolute: boolean;
|
|
31
|
+
arrowWidth: number;
|
|
32
|
+
closeWhenClickedOutside: boolean;
|
|
33
|
+
dropdownElement: string;
|
|
34
|
+
keepState: string;
|
|
35
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
click: () => void;
|
|
37
|
+
"update:dropdownState": (args_0: boolean) => void;
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
|
+
id?: string | undefined;
|
|
40
|
+
dropdownClasses?: string | string[] | (string | Record<string, boolean>)[] | undefined;
|
|
41
|
+
containerDropdownClasses?: string | undefined;
|
|
42
|
+
iconName?: string | undefined;
|
|
43
|
+
iconClasses?: string | undefined;
|
|
44
|
+
btnClasses?: string | undefined;
|
|
45
|
+
withArrowIcon?: boolean | undefined;
|
|
46
|
+
btnLabel?: string | undefined;
|
|
47
|
+
labelClasses?: string | undefined;
|
|
48
|
+
direction?: "up" | "down" | undefined;
|
|
49
|
+
arrowWidth?: number | undefined;
|
|
50
|
+
isAbsolute?: boolean | undefined;
|
|
51
|
+
openDropdown?: boolean | undefined;
|
|
52
|
+
closeWhenClickedOutside?: boolean | undefined;
|
|
53
|
+
dropdownElement?: "div" | "ul" | undefined;
|
|
54
|
+
keepState?: "" | "opened" | "closed" | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
id: string;
|
|
57
|
+
containerDropdownClasses: string;
|
|
58
|
+
dropdownClasses: string;
|
|
59
|
+
iconClasses: string;
|
|
60
|
+
iconName: string;
|
|
61
|
+
btnClasses: string;
|
|
62
|
+
btnLabel: string;
|
|
63
|
+
labelClasses: string;
|
|
64
|
+
withArrowIcon: boolean;
|
|
65
|
+
direction: string;
|
|
66
|
+
openDropdown: boolean;
|
|
67
|
+
isAbsolute: boolean;
|
|
68
|
+
arrowWidth: number;
|
|
69
|
+
closeWhenClickedOutside: boolean;
|
|
70
|
+
dropdownElement: string;
|
|
71
|
+
keepState: string;
|
|
72
|
+
}>>> & {
|
|
73
|
+
onClick?: (() => any) | undefined;
|
|
74
|
+
"onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
id: string;
|
|
77
|
+
labelClasses: string;
|
|
78
|
+
iconName: string;
|
|
79
|
+
dropdownClasses: string | string[] | (string | Record<string, boolean>)[];
|
|
80
|
+
containerDropdownClasses: string;
|
|
81
|
+
iconClasses: string;
|
|
82
|
+
btnClasses: string;
|
|
83
|
+
withArrowIcon: boolean;
|
|
84
|
+
btnLabel: string;
|
|
85
|
+
direction: "up" | "down";
|
|
86
|
+
arrowWidth: number;
|
|
87
|
+
isAbsolute: boolean;
|
|
88
|
+
openDropdown: boolean;
|
|
89
|
+
closeWhenClickedOutside: boolean;
|
|
90
|
+
dropdownElement: "div" | "ul";
|
|
91
|
+
keepState: "" | "opened" | "closed";
|
|
92
|
+
}, {}>, {
|
|
93
|
+
btn_slot?(_: {
|
|
94
|
+
toggleDropdown: () => void;
|
|
95
|
+
isOpen: boolean;
|
|
96
|
+
}): any;
|
|
97
|
+
default?(_: {
|
|
98
|
+
isOpen: boolean;
|
|
99
|
+
}): any;
|
|
100
|
+
}>;
|
|
101
|
+
export default _default;
|
|
102
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
103
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
104
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
105
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
106
|
+
} : {
|
|
107
|
+
type: import('vue').PropType<T[K]>;
|
|
108
|
+
required: true;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
type __VLS_WithDefaults<P, D> = {
|
|
112
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
113
|
+
default: D[K];
|
|
114
|
+
}> : P[K];
|
|
115
|
+
};
|
|
116
|
+
type __VLS_Prettify<T> = {
|
|
117
|
+
[K in keyof T]: T[K];
|
|
118
|
+
} & {};
|
|
119
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
120
|
+
new (): {
|
|
121
|
+
$slots: S;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Nullable } from "@wikicasa-dev/types";
|
|
2
|
+
type LabelState = "inline-label" | "floating-label";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
labelState: {
|
|
5
|
+
type: () => LabelState;
|
|
6
|
+
default: () => LabelState;
|
|
7
|
+
};
|
|
8
|
+
isValid: {
|
|
9
|
+
type: () => Nullable<boolean>;
|
|
10
|
+
default: () => Nullable<boolean>;
|
|
11
|
+
};
|
|
12
|
+
labelText: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
labelState: {
|
|
22
|
+
type: () => LabelState;
|
|
23
|
+
default: () => LabelState;
|
|
24
|
+
};
|
|
25
|
+
isValid: {
|
|
26
|
+
type: () => Nullable<boolean>;
|
|
27
|
+
default: () => Nullable<boolean>;
|
|
28
|
+
};
|
|
29
|
+
labelText: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & {
|
|
38
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
isValid: Nullable<boolean>;
|
|
41
|
+
disabled: string | boolean;
|
|
42
|
+
labelState: LabelState;
|
|
43
|
+
}, {}>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Nullable, FeedbackLabels } from "@wikicasa-dev/types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
inputClass: {
|
|
4
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
5
|
+
required: false;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
inputType: {
|
|
9
|
+
type: () => "text-input" | "select";
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
labelText: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
border: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
radius: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
+
};
|
|
27
|
+
feedback: {
|
|
28
|
+
type: () => FeedbackLabels;
|
|
29
|
+
};
|
|
30
|
+
isValid: {
|
|
31
|
+
type: () => Nullable<boolean>;
|
|
32
|
+
default: null;
|
|
33
|
+
};
|
|
34
|
+
auto: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
keepFloatingLabel: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
formatter: {
|
|
43
|
+
type: () => {
|
|
44
|
+
formatFn: (n: number | string) => string;
|
|
45
|
+
unFormatFn?: ((v: string) => string | number | boolean) | undefined;
|
|
46
|
+
};
|
|
47
|
+
default: null;
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
labelState: import("vue").Ref<import("@wikicasa-dev/types").LabelState>;
|
|
51
|
+
setInitialLabelState: <T>(value: T) => void;
|
|
52
|
+
handleFocusIn: (autoFloating?: boolean | undefined) => void;
|
|
53
|
+
handleFocusOut: <T_1>(value: T_1, manual?: boolean | undefined, auto?: boolean | undefined) => void;
|
|
54
|
+
setInlineLabel: () => void;
|
|
55
|
+
setFloatingLabel: () => void;
|
|
56
|
+
}, {
|
|
57
|
+
type: string;
|
|
58
|
+
feedbackObj: FeedbackLabels;
|
|
59
|
+
pointerDownListener: (e: Event) => void;
|
|
60
|
+
}, {
|
|
61
|
+
passwordIcon(): Nullable<HTMLElement>;
|
|
62
|
+
}, {
|
|
63
|
+
select(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Prevents the default behaviour of pointerout so the clicked element won't make lose the focus to the input element
|
|
66
|
+
* */
|
|
67
|
+
setPointerOutListener(): void;
|
|
68
|
+
handleFloatingLabelClick(): void;
|
|
69
|
+
normalizeFeedbackProp(): void;
|
|
70
|
+
updateInputValue(inputEl: HTMLInputElement, value: string): Nullable<string>;
|
|
71
|
+
handleInputChange({ target }: Event): void;
|
|
72
|
+
handleClick(e: Event): void;
|
|
73
|
+
handleClean(): void;
|
|
74
|
+
handleShowPasswd(): void;
|
|
75
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("keydown" | "click" | "focusin" | "focusout" | "update:modelValue" | "keydown-enter-pressed")[], "keydown" | "click" | "focusin" | "focusout" | "update:modelValue" | "keydown-enter-pressed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
inputClass: {
|
|
77
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
78
|
+
required: false;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
inputType: {
|
|
82
|
+
type: () => "text-input" | "select";
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
labelText: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
border: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
radius: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
modelValue: {
|
|
98
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
99
|
+
};
|
|
100
|
+
feedback: {
|
|
101
|
+
type: () => FeedbackLabels;
|
|
102
|
+
};
|
|
103
|
+
isValid: {
|
|
104
|
+
type: () => Nullable<boolean>;
|
|
105
|
+
default: null;
|
|
106
|
+
};
|
|
107
|
+
auto: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
keepFloatingLabel: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
formatter: {
|
|
116
|
+
type: () => {
|
|
117
|
+
formatFn: (n: number | string) => string;
|
|
118
|
+
unFormatFn?: ((v: string) => string | number | boolean) | undefined;
|
|
119
|
+
};
|
|
120
|
+
default: null;
|
|
121
|
+
};
|
|
122
|
+
}>> & {
|
|
123
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
onFocusout?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
"onKeydown-enter-pressed"?: ((...args: any[]) => any) | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
isValid: Nullable<boolean>;
|
|
131
|
+
labelText: string;
|
|
132
|
+
keepFloatingLabel: boolean;
|
|
133
|
+
inputClass: string | unknown[];
|
|
134
|
+
inputType: "select" | "text-input";
|
|
135
|
+
border: boolean;
|
|
136
|
+
radius: boolean;
|
|
137
|
+
auto: boolean;
|
|
138
|
+
formatter: {
|
|
139
|
+
formatFn: (n: number | string) => string;
|
|
140
|
+
unFormatFn?: ((v: string) => string | number | boolean) | undefined;
|
|
141
|
+
};
|
|
142
|
+
}, {}>;
|
|
143
|
+
export default _default;
|
|
@@ -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_TypePropsToRuntimeProps<{
|
|
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_TypePropsToRuntimeProps<{
|
|
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
|
+
label: string;
|
|
25
|
+
idx: number;
|
|
26
|
+
active: boolean;
|
|
27
|
+
}, {}>, {
|
|
28
|
+
default?(_: {
|
|
29
|
+
itemIdx: number;
|
|
30
|
+
}): any;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
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,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, ("focusin" | "focusout" | "update:modelValue")[], "focusin" | "focusout" | "update:modelValue", 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
|
+
onFocusin?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
onFocusout?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
resize: boolean;
|
|
77
|
+
isValid: Nullable<boolean>;
|
|
78
|
+
labelText: string;
|
|
79
|
+
textAreaStyle: string;
|
|
80
|
+
isDisabled: boolean;
|
|
81
|
+
}, {}>;
|
|
82
|
+
export default _default;
|