@wikicasa-dev/components 1.2.11 → 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.
Files changed (35) hide show
  1. package/dist/UIKit/AccessibleSelect.vue.d.ts +73 -0
  2. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +45 -0
  3. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +59 -0
  4. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +29 -0
  5. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +71 -0
  6. package/dist/UIKit/BaseAlert.vue.d.ts +41 -0
  7. package/dist/UIKit/BaseAutocomplete.vue.d.ts +108 -0
  8. package/dist/UIKit/BaseBadge.vue.d.ts +36 -0
  9. package/dist/UIKit/BaseCard.vue.d.ts +41 -0
  10. package/dist/UIKit/BaseComplexToggle.vue.d.ts +83 -0
  11. package/dist/UIKit/BaseDropDown.vue.d.ts +123 -0
  12. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +44 -0
  13. package/dist/UIKit/BaseInput.vue.d.ts +143 -0
  14. package/dist/UIKit/BaseNavItem.vue.d.ts +43 -0
  15. package/dist/UIKit/BasePagination.vue.d.ts +65 -0
  16. package/dist/UIKit/BasePaper.vue.d.ts +2 -0
  17. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +54 -0
  18. package/dist/UIKit/BaseSlider.vue.d.ts +42 -0
  19. package/dist/UIKit/BaseTab.vue.d.ts +60 -0
  20. package/dist/UIKit/BaseTextarea.vue.d.ts +82 -0
  21. package/dist/UIKit/BaseToggle.vue.d.ts +36 -0
  22. package/dist/UIKit/BaseTooltip.vue.d.ts +56 -0
  23. package/dist/UIKit/BaseUploadFile.vue.d.ts +37 -0
  24. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +92 -0
  25. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +78 -0
  26. package/dist/UIKit/Radio/RadioButton.vue.d.ts +26 -0
  27. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +37 -0
  28. package/dist/components.js +33 -5
  29. package/dist/components.umd.cjs +13 -6
  30. package/dist/index-BZnZUpib.js +4872 -0
  31. package/dist/{index-Brcl3KsS.js → index-BtxYTF3f.js} +2 -2
  32. package/dist/index.d.ts +29 -1
  33. package/dist/style.css +1 -1
  34. package/package.json +1 -1
  35. package/dist/index-4TomfCph.js +0 -2444
@@ -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
+ direction: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
49
+ theme: {
50
+ color: "blue" | "white";
51
+ size: "sm" | "md" | "lg";
52
+ };
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
+ labelText: string;
34
+ clear: boolean;
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_TypePropsToRuntimeProps<{
8
+ id: string | number;
9
+ inputClass?: string | undefined;
10
+ inline?: boolean | undefined;
11
+ label?: string | number | undefined;
12
+ labelClass?: string | undefined;
13
+ isValid?: Nullable<boolean> | undefined;
14
+ modelValue?: boolean | undefined;
15
+ containerId?: string | undefined;
16
+ containerClass?: string | undefined;
17
+ handleLabelClick?: boolean | undefined;
18
+ }>, {
19
+ inputClass: string;
20
+ inline: boolean;
21
+ label: string;
22
+ labelClass: string;
23
+ isValid: null;
24
+ modelValue: boolean;
25
+ containerId: string;
26
+ containerClass: string;
27
+ handleLabelClick: boolean;
28
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ change: (args_0: EventPayload) => void;
30
+ click: () => void;
31
+ "update:modelValue": (args_0: boolean) => void;
32
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
33
+ id: string | number;
34
+ inputClass?: string | undefined;
35
+ inline?: boolean | undefined;
36
+ label?: string | number | undefined;
37
+ labelClass?: string | undefined;
38
+ isValid?: Nullable<boolean> | undefined;
39
+ modelValue?: boolean | undefined;
40
+ containerId?: string | undefined;
41
+ containerClass?: string | undefined;
42
+ handleLabelClick?: boolean | undefined;
43
+ }>, {
44
+ inputClass: string;
45
+ inline: boolean;
46
+ label: string;
47
+ labelClass: string;
48
+ isValid: null;
49
+ modelValue: boolean;
50
+ containerId: string;
51
+ containerClass: string;
52
+ handleLabelClick: boolean;
53
+ }>>> & {
54
+ onChange?: ((args_0: EventPayload) => any) | undefined;
55
+ onClick?: (() => any) | undefined;
56
+ "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
57
+ }, {
58
+ label: string | number;
59
+ modelValue: boolean;
60
+ isValid: Nullable<boolean>;
61
+ inputClass: string;
62
+ inline: boolean;
63
+ labelClass: string;
64
+ containerId: string;
65
+ containerClass: string;
66
+ handleLabelClick: boolean;
67
+ }, {}>, {
68
+ label?(_: {}): any;
69
+ }>;
70
+ export default _default;
71
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
72
+ type __VLS_TypePropsToRuntimeProps<T> = {
73
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
74
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
75
+ } : {
76
+ type: import('vue').PropType<T[K]>;
77
+ required: true;
78
+ };
79
+ };
80
+ type __VLS_WithDefaults<P, D> = {
81
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
82
+ default: D[K];
83
+ }> : P[K];
84
+ };
85
+ type __VLS_Prettify<T> = {
86
+ [K in keyof T]: T[K];
87
+ } & {};
88
+ type __VLS_WithTemplateSlots<T, S> = T & {
89
+ new (): {
90
+ $slots: S;
91
+ };
92
+ };
@@ -0,0 +1,78 @@
1
+ import { CheckboxButtonType, GetterIdType } from "@wikicasa-dev/types";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ valuesObj?: Record<string, CheckboxButtonType> | undefined;
4
+ formCheckInline?: boolean | undefined;
5
+ customClass?: string | undefined;
6
+ reset?: boolean | undefined;
7
+ autoCheckResetAll?: boolean | undefined;
8
+ autoCheckResetEmpty?: boolean | undefined;
9
+ getKey?: GetterIdType | undefined;
10
+ }>, {
11
+ valuesObj(): {};
12
+ formCheckInline: boolean;
13
+ customClass: string;
14
+ reset: boolean;
15
+ autoCheckResetAll: boolean;
16
+ autoCheckResetEmpty: boolean;
17
+ getKey(): (checkBtn: CheckboxButtonType) => string | number;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (args_0: CheckboxButtonType[]) => void;
20
+ resetted: () => void;
21
+ checkedGroup: (args_0: string) => void;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
23
+ valuesObj?: Record<string, CheckboxButtonType> | undefined;
24
+ formCheckInline?: boolean | undefined;
25
+ customClass?: string | undefined;
26
+ reset?: boolean | undefined;
27
+ autoCheckResetAll?: boolean | undefined;
28
+ autoCheckResetEmpty?: boolean | undefined;
29
+ getKey?: GetterIdType | undefined;
30
+ }>, {
31
+ valuesObj(): {};
32
+ formCheckInline: boolean;
33
+ customClass: string;
34
+ reset: boolean;
35
+ autoCheckResetAll: boolean;
36
+ autoCheckResetEmpty: boolean;
37
+ getKey(): (checkBtn: CheckboxButtonType) => string | number;
38
+ }>>> & {
39
+ "onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
40
+ onResetted?: (() => any) | undefined;
41
+ onCheckedGroup?: ((args_0: string) => any) | undefined;
42
+ }, {
43
+ reset: boolean;
44
+ valuesObj: Record<string, CheckboxButtonType>;
45
+ formCheckInline: boolean;
46
+ customClass: string;
47
+ autoCheckResetAll: boolean;
48
+ autoCheckResetEmpty: boolean;
49
+ getKey: GetterIdType;
50
+ }, {}>, {
51
+ checkboxElement?(_: {
52
+ isActive: (elem: CheckboxButtonType) => boolean;
53
+ handleChange: (checkboxValue: CheckboxButtonType) => void;
54
+ }): any;
55
+ }>;
56
+ export default _default;
57
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
+ type __VLS_TypePropsToRuntimeProps<T> = {
59
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
60
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
+ } : {
62
+ type: import('vue').PropType<T[K]>;
63
+ required: true;
64
+ };
65
+ };
66
+ type __VLS_WithDefaults<P, D> = {
67
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
68
+ default: D[K];
69
+ }> : P[K];
70
+ };
71
+ type __VLS_Prettify<T> = {
72
+ [K in keyof T]: T[K];
73
+ } & {};
74
+ type __VLS_WithTemplateSlots<T, S> = T & {
75
+ new (): {
76
+ $slots: S;
77
+ };
78
+ };
@@ -0,0 +1,26 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: {
3
+ type: (BooleanConstructor | StringConstructor)[];
4
+ required: true;
5
+ };
6
+ isChecked: {
7
+ type: BooleanConstructor;
8
+ };
9
+ }, unknown, unknown, {}, {
10
+ emitChange(): void;
11
+ handleClick(): void;
12
+ handleOnInput(): void;
13
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ label: {
15
+ type: (BooleanConstructor | StringConstructor)[];
16
+ required: true;
17
+ };
18
+ isChecked: {
19
+ type: BooleanConstructor;
20
+ };
21
+ }>> & {
22
+ onChange?: ((...args: any[]) => any) | undefined;
23
+ }, {
24
+ isChecked: boolean;
25
+ }, {}>;
26
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { RadioButtonType } from "@wikicasa-dev/types";
2
+ import { Nullable } from "@wikicasa-dev/types";
3
+ declare const _default: import("vue").DefineComponent<{
4
+ initialValue: {
5
+ type: () => RadioButtonType;
6
+ };
7
+ radioValues: {
8
+ type: () => RadioButtonType[];
9
+ };
10
+ resetRadio: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }, unknown, {
15
+ selectedValue: Nullable<RadioButtonType>;
16
+ }, {}, {
17
+ handleChange(elem: RadioButtonType): void;
18
+ reset(): void;
19
+ isActive(elem: RadioButtonType): boolean;
20
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "resetted")[], "update:modelValue" | "resetted", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ initialValue: {
22
+ type: () => RadioButtonType;
23
+ };
24
+ radioValues: {
25
+ type: () => RadioButtonType[];
26
+ };
27
+ resetRadio: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ }>> & {
32
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
+ onResetted?: ((...args: any[]) => any) | undefined;
34
+ }, {
35
+ resetRadio: boolean;
36
+ }, {}>;
37
+ export default _default;
@@ -1,7 +1,35 @@
1
- import { _ as r, o as a, p as o, l as t } from "./index-4TomfCph.js";
1
+ import { u as e, _ as o, l as B, o as t, p as r, B as n, r as c, s as l, t as i, y as p, v as d, w as b, x as u, z as A, A as I, C as g, D as C, E as m, F as x, G as T, H as v, I as S, J as w, K as D, L as F, M as G, P as O, Q as P, R, N as h, q as k, O as L } from "./index-BZnZUpib.js";
2
2
  export {
3
- r as BaseButton,
4
- a as IntersectionObservable,
5
- o as IntersectionObserver,
6
- t as SwiperCarousel
3
+ e as AccessibleSelect,
4
+ o as BaseAccordion,
5
+ B as BaseAccordionBtn,
6
+ t as BaseAccordionContent,
7
+ r as BaseAccordionItem,
8
+ n as BaseAlert,
9
+ c as BaseAutocomplete,
10
+ l as BaseBadge,
11
+ i as BaseButton,
12
+ p as BaseCard,
13
+ d as BaseComplexToggle,
14
+ b as BaseDropDown,
15
+ u as BaseFloatingLabel,
16
+ A as BaseIcon,
17
+ I as BaseInput,
18
+ g as BaseNavItem,
19
+ C as BasePagination,
20
+ m as BasePaper,
21
+ x as BaseSlider,
22
+ T as BaseTab,
23
+ v as BaseTextarea,
24
+ S as BaseToggle,
25
+ w as BaseTooltip,
26
+ D as BaseUploadFile,
27
+ F as CheckboxBtn,
28
+ G as CheckboxGroup,
29
+ O as IntersectionObservable,
30
+ P as IntersectionObserver,
31
+ R as RadioButton,
32
+ h as RadioGroup,
33
+ k as SelectItem,
34
+ L as SwiperCarousel
7
35
  };