@wikicasa-dev/components 1.2.3 → 1.2.4

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.
Files changed (60) hide show
  1. package/dist/components.js +135 -3
  2. package/dist/components.umd.cjs +1 -32
  3. package/dist/src/index.d.ts +2 -0
  4. package/dist/src/main.d.ts +0 -2
  5. package/dist/style.css +1 -1
  6. package/package.json +6 -6
  7. package/dist/BaseSnackbar--aqJ1_MG.js +0 -78
  8. package/dist/main-CH5Gft3f.js +0 -8168
  9. package/dist/src/App.vue.d.ts +0 -2
  10. package/dist/src/UIKit/AccessibleSelect.vue.d.ts +0 -74
  11. package/dist/src/UIKit/Accordion/BaseAccordion.vue.d.ts +0 -45
  12. package/dist/src/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +0 -59
  13. package/dist/src/UIKit/Accordion/BaseAccordionContent.vue.d.ts +0 -29
  14. package/dist/src/UIKit/Accordion/BaseAccordionItem.vue.d.ts +0 -71
  15. package/dist/src/UIKit/BaseAlert.vue.d.ts +0 -41
  16. package/dist/src/UIKit/BaseAutocomplete.vue.d.ts +0 -109
  17. package/dist/src/UIKit/BaseBadge.vue.d.ts +0 -36
  18. package/dist/src/UIKit/BaseBtModal.vue.d.ts +0 -172
  19. package/dist/src/UIKit/BaseCard.vue.d.ts +0 -41
  20. package/dist/src/UIKit/BaseComplexToggle.vue.d.ts +0 -83
  21. package/dist/src/UIKit/BaseDropDown.vue.d.ts +0 -123
  22. package/dist/src/UIKit/BaseFloatingLabel.vue.d.ts +0 -44
  23. package/dist/src/UIKit/BaseInput.vue.d.ts +0 -143
  24. package/dist/src/UIKit/BaseNavItem.vue.d.ts +0 -43
  25. package/dist/src/UIKit/BasePagination.vue.d.ts +0 -65
  26. package/dist/src/UIKit/BasePaper.vue.d.ts +0 -2
  27. package/dist/src/UIKit/BaseSelect/SelectItem.vue.d.ts +0 -54
  28. package/dist/src/UIKit/BaseSlider.vue.d.ts +0 -42
  29. package/dist/src/UIKit/BaseSnackbar.vue.d.ts +0 -56
  30. package/dist/src/UIKit/BaseTab.vue.d.ts +0 -60
  31. package/dist/src/UIKit/BaseTextarea.vue.d.ts +0 -82
  32. package/dist/src/UIKit/BaseToggle.vue.d.ts +0 -36
  33. package/dist/src/UIKit/BaseTooltip.vue.d.ts +0 -56
  34. package/dist/src/UIKit/BaseUploadFile.vue.d.ts +0 -37
  35. package/dist/src/UIKit/Checkbox/CheckboxBtn.vue.d.ts +0 -92
  36. package/dist/src/UIKit/Checkbox/CheckboxGroup.vue.d.ts +0 -78
  37. package/dist/src/UIKit/Radio/RadioButton.vue.d.ts +0 -26
  38. package/dist/src/UIKit/Radio/RadioGroup.vue.d.ts +0 -37
  39. package/dist/src/Views/AccordionSection.vue.d.ts +0 -2
  40. package/dist/src/Views/AlertSection.vue.d.ts +0 -2
  41. package/dist/src/Views/AutocompleteSection.vue.d.ts +0 -2
  42. package/dist/src/Views/BadgeSection.vue.d.ts +0 -2
  43. package/dist/src/Views/ButtonsSection.vue.d.ts +0 -2
  44. package/dist/src/Views/CardSection.vue.d.ts +0 -2
  45. package/dist/src/Views/CheckboxSection.vue.d.ts +0 -6
  46. package/dist/src/Views/DropdownSection.vue.d.ts +0 -35
  47. package/dist/src/Views/ModalSection.vue.d.ts +0 -4
  48. package/dist/src/Views/PaginationSection.vue.d.ts +0 -2
  49. package/dist/src/Views/PaperSection.vue.d.ts +0 -2
  50. package/dist/src/Views/RadioSection.vue.d.ts +0 -9
  51. package/dist/src/Views/SliderSection.vue.d.ts +0 -9
  52. package/dist/src/Views/SnackbarSection.vue.d.ts +0 -2
  53. package/dist/src/Views/TabSection.vue.d.ts +0 -2
  54. package/dist/src/Views/TextInputSection.vue.d.ts +0 -2
  55. package/dist/src/Views/TextareaSection.vue.d.ts +0 -6
  56. package/dist/src/Views/ToggleSection.vue.d.ts +0 -2
  57. package/dist/src/Views/TooltipSection.vue.d.ts +0 -2
  58. package/dist/src/Views/UiKitSidebar.vue.d.ts +0 -18
  59. package/dist/src/Views/UploadBtnSection.vue.d.ts +0 -2
  60. package/dist/src/Views/WikicasaUiKit.vue.d.ts +0 -19
@@ -1,83 +0,0 @@
1
- import { Nullable, Icon } from "@wikicasa-dev/types";
2
- type Buttons = "left-btn" | "right-btn";
3
- type ToggleType = {
4
- label: string;
5
- icon?: Icon;
6
- checked?: boolean;
7
- };
8
- type ComplexToggleType = {
9
- leftToggle: ToggleType;
10
- rightToggle: ToggleType;
11
- };
12
- declare const _default: import("vue").DefineComponent<{
13
- labels: {
14
- type: () => ComplexToggleType;
15
- required: true;
16
- };
17
- modelValue: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- type: {
22
- type: () => "full" | "padded";
23
- default: string;
24
- };
25
- mode: {
26
- type: () => "mobile";
27
- default: string;
28
- };
29
- btnBgColor: {
30
- type: () => "tw-bg-w-black" | "tw-bg-w-primary" | "tw-bg-w-secondary" | "tw-bg-w-dark-primary" | "tw-bg-w-lavender-bordered" | "tw-bg-w-cultured-bordered" | "tw-bg-w-carbon" | "tw-bg-w-gray" | "tw-bg-w-warning" | "tw-bg-w-danger" | "tw-bg-facile";
31
- default: string;
32
- };
33
- borderContainerColor: {
34
- type: () => "tw-border-w-primary";
35
- default: string;
36
- };
37
- }, unknown, {
38
- texActiveToggleColor: string;
39
- }, {
40
- leftBtn(): Nullable<HTMLInputElement>;
41
- rightBtn(): Nullable<HTMLInputElement>;
42
- dynamicBg(): Nullable<HTMLInputElement>;
43
- }, {
44
- handleToggle(btn: Buttons): void;
45
- moveDynamicBgToLeft(): void;
46
- moveDynamicBgToRight(): void;
47
- emitLeftLabel(): void;
48
- emitRightLabel(): void;
49
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
- labels: {
51
- type: () => ComplexToggleType;
52
- required: true;
53
- };
54
- modelValue: {
55
- type: StringConstructor;
56
- default: string;
57
- };
58
- type: {
59
- type: () => "full" | "padded";
60
- default: string;
61
- };
62
- mode: {
63
- type: () => "mobile";
64
- default: string;
65
- };
66
- btnBgColor: {
67
- type: () => "tw-bg-w-black" | "tw-bg-w-primary" | "tw-bg-w-secondary" | "tw-bg-w-dark-primary" | "tw-bg-w-lavender-bordered" | "tw-bg-w-cultured-bordered" | "tw-bg-w-carbon" | "tw-bg-w-gray" | "tw-bg-w-warning" | "tw-bg-w-danger" | "tw-bg-facile";
68
- default: string;
69
- };
70
- borderContainerColor: {
71
- type: () => "tw-border-w-primary";
72
- default: string;
73
- };
74
- }>> & {
75
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76
- }, {
77
- type: "full" | "padded";
78
- mode: "mobile";
79
- modelValue: string;
80
- btnBgColor: "tw-bg-w-black" | "tw-bg-w-primary" | "tw-bg-w-secondary" | "tw-bg-w-dark-primary" | "tw-bg-w-lavender-bordered" | "tw-bg-w-cultured-bordered" | "tw-bg-w-carbon" | "tw-bg-w-gray" | "tw-bg-w-warning" | "tw-bg-w-danger" | "tw-bg-facile";
81
- borderContainerColor: "tw-border-w-primary";
82
- }, {}>;
83
- export default _default;
@@ -1,123 +0,0 @@
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
- };
@@ -1,44 +0,0 @@
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;
@@ -1,143 +0,0 @@
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;
@@ -1,43 +0,0 @@
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;
@@ -1,65 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1,54 +0,0 @@
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
- };
@@ -1,42 +0,0 @@
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;
@@ -1,56 +0,0 @@
1
- import { Action, Nullable, SnackbarTypes } from "@wikicasa-dev/types";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
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_TypePropsToRuntimeProps<{
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_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToRuntimeProps<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
49
- type __VLS_WithDefaults<P, D> = {
50
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
- default: D[K];
52
- }> : P[K];
53
- };
54
- type __VLS_Prettify<T> = {
55
- [K in keyof T]: T[K];
56
- } & {};