@wikicasa-dev/components 2.1.25-alpha.1 → 2.1.25-alpha.2

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 (48) hide show
  1. package/dist/UIKit/AccessibleSelect.d.ts +14 -11
  2. package/dist/UIKit/Accordion/BaseAccordion.d.ts +22 -22
  3. package/dist/UIKit/Accordion/BaseAccordionContent.d.ts +4 -4
  4. package/dist/UIKit/Accordion/BaseAccordionItem.d.ts +10 -9
  5. package/dist/UIKit/BaseAutocomplete.d.ts +2 -1
  6. package/dist/UIKit/BaseBreadcrumb.d.ts +3 -3
  7. package/dist/UIKit/BaseButton.d.ts +28 -21
  8. package/dist/UIKit/BaseCard.d.ts +10 -16
  9. package/dist/UIKit/BaseCard.js +2 -2
  10. package/dist/UIKit/BaseComplexToggle.d.ts +27 -23
  11. package/dist/UIKit/BaseComplexToggle.js +2 -2
  12. package/dist/UIKit/BaseDropDown.d.ts +6 -6
  13. package/dist/UIKit/BaseFloatingLabel.d.ts +11 -5
  14. package/dist/UIKit/BaseFloatingLabel.js +2 -2
  15. package/dist/UIKit/BaseSelect/SelectItem.d.ts +1 -1
  16. package/dist/UIKit/BaseTooltip.d.ts +3 -3
  17. package/dist/UIKit/BaseTooltip.js +2 -2
  18. package/dist/UIKit/BaseUploadFile.d.ts +9 -9
  19. package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +4 -3
  20. package/dist/UIKit/Checkbox/CheckboxBtn.js +2 -2
  21. package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +33 -30
  22. package/dist/UIKit/Radio/RadioButton.d.ts +4 -3
  23. package/dist/UIKit/Radio/RadioGroup.d.ts +46 -44
  24. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.d.ts +2 -2
  25. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.js +2 -2
  26. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.d.ts +5 -5
  27. package/dist/UIKit/Tab/BaseTab.d.ts +2 -2
  28. package/dist/UIKit/Tab/BaseTabList.d.ts +3 -3
  29. package/dist/UIKit/Tab/BaseTabView.d.ts +27 -12
  30. package/dist/UIKit/types.d.ts +10 -53
  31. package/dist/assets/packages/components/lib/UIKit/BaseCard.css +1 -1
  32. package/dist/assets/packages/components/lib/UIKit/BaseComplexToggle.css +1 -1
  33. package/dist/assets/packages/components/lib/UIKit/BaseFloatingLabel.css +1 -1
  34. package/dist/assets/packages/components/lib/UIKit/BaseTooltip.css +1 -1
  35. package/dist/assets/packages/components/lib/UIKit/Checkbox/CheckboxBtn.css +1 -1
  36. package/dist/assets/packages/components/lib/UIKit/ShimmerLoader/BaseShimmerLoader.css +1 -1
  37. package/dist/composables/useFloatingLabel.d.ts +1 -1
  38. package/dist/index.d.ts +42 -42
  39. package/dist/index.js +4 -4
  40. package/dist/packages/components/lazyModules/Swiper/autoplay.js +1 -1
  41. package/dist/packages/components/lazyModules/Swiper/controller.js +1 -1
  42. package/dist/packages/components/lazyModules/Swiper/keyboard.js +1 -1
  43. package/dist/packages/components/lazyModules/Swiper/thumbs.js +1 -1
  44. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionBtn.vue.js +4 -7
  45. package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +1 -4
  46. package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +4 -4
  47. package/package.json +1 -1
  48. /package/dist/assets/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/{autoplay.css → thumbs.css} +0 -0
@@ -1,5 +1,8 @@
1
- import { AccessibleSelectOptions } from './types';
2
- import { ClassType, Optional } from '@wikicasa-dev/types';
1
+ import { Optional } from '@wikicasa-dev/types';
2
+ import { ClassTypeProp, IconItem, LabelItem } from './types';
3
+ export type AccessibleSelectOptions<T = unknown, L = string | number | undefined> = IconItem & LabelItem<L> & {
4
+ visibleLabel?: string;
5
+ } & T;
3
6
  declare const _default: <T, LabelID extends string | number | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
8
  readonly onClick?: ((args_0: MouseEvent) => any) | undefined;
@@ -24,21 +27,21 @@ declare const _default: <T, LabelID extends string | number | undefined>(__VLS_p
24
27
  */
25
28
  closeOnBodyPressed?: boolean;
26
29
  border?: boolean;
27
- fieldsetClasses?: ClassType;
28
- legendClasses?: ClassType;
29
- dropdownClasses?: ClassType;
30
- labelClasses?: ClassType;
31
- btnClasses?: ClassType;
32
- dropdownItemClasses?: ClassType;
33
- btnTextClasses?: ClassType;
30
+ fieldsetClasses?: ClassTypeProp;
31
+ legendClasses?: ClassTypeProp;
32
+ dropdownClasses?: ClassTypeProp;
33
+ labelClasses?: ClassTypeProp;
34
+ btnClasses?: ClassTypeProp;
35
+ dropdownItemClasses?: ClassTypeProp;
36
+ btnTextClasses?: ClassTypeProp;
34
37
  arrowIcon?: Partial<{
35
38
  width: number;
36
39
  height: number;
37
40
  strokeColor: `#${string}`;
38
- classes: ClassType;
41
+ classes: ClassTypeProp;
39
42
  }>;
40
43
  dataCy?: string;
41
- wrapperClasses?: ClassType;
44
+ wrapperClasses?: ClassTypeProp;
42
45
  }) & Partial<{}>> & import('vue').PublicProps;
43
46
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
44
47
  attrs: any;
@@ -1,29 +1,29 @@
1
- import { AccordionItem } from '@wikicasa-dev/types';
2
- import { AccordionItemDecorated } from '../types';
3
- type __VLS_Props = {
1
+ export type AccordionItem = {
2
+ title?: string;
3
+ id: string | number;
4
+ active?: boolean;
5
+ };
6
+ export type AccordionItemDecorated<T = unknown> = Record<string | number, T & Partial<AccordionItem>>;
7
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
8
  /** If true, there will be just one accordion open */
5
9
  autoClose?: boolean;
6
10
  /** If true, the prevAccordion will be updated when you click on the accordion button */
7
11
  autoUpdate?: boolean;
8
- };
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {
13
- updatePrev: <T>(a: AccordionItem, _accordionItems?: AccordionItemDecorated<T>) => void;
14
- prev: {
15
- title?: string | undefined;
16
- id: string | number;
17
- active?: boolean | undefined;
18
- } | null;
19
- }): any;
20
- };
21
- refs: {};
22
- rootEl: any;
23
- };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
+ /** If true, there will be just one accordion open */
14
+ autoClose?: boolean;
15
+ /** If true, the prevAccordion will be updated when you click on the accordion button */
16
+ autoUpdate?: boolean;
17
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
18
+ default?(_: {
19
+ updatePrev: <T>(a: AccordionItem, _accordionItems?: AccordionItemDecorated<T>) => void;
20
+ prev: {
21
+ title?: string | undefined;
22
+ id: string | number;
23
+ active?: boolean | undefined;
24
+ } | null;
25
+ }): any;
26
+ }>;
27
27
  export default _default;
28
28
  type __VLS_WithTemplateSlots<T, S> = T & {
29
29
  new (): {
@@ -1,10 +1,10 @@
1
- import { ClassType } from '@wikicasa-dev/types';
1
+ import { ClassTypeProp } from '../types';
2
2
  type __VLS_Props = {
3
3
  id: string | number;
4
4
  accordionOpen: boolean;
5
- accordionOpenClasses?: ClassType;
6
- accordionClosedClasses?: ClassType;
7
- accordionContentClasses?: ClassType;
5
+ accordionOpenClasses?: ClassTypeProp;
6
+ accordionClosedClasses?: ClassTypeProp;
7
+ accordionContentClasses?: ClassTypeProp;
8
8
  };
9
9
  declare function __VLS_template(): {
10
10
  attrs: Partial<{}>;
@@ -1,19 +1,20 @@
1
- import { AccordionItem, ClassType } from '@wikicasa-dev/types';
1
+ import { ClassTypeProp } from '../types';
2
+ import { AccordionItem } from './BaseAccordion';
2
3
  type __VLS_Props = AccordionItem & {
3
4
  arrowColor?: `#${string}`;
4
5
  arrowWidth?: number;
5
6
  /** If true, when you click the container of the button and the title of the accordion, the accordion will expand */
6
7
  onContainerClickExpand?: boolean;
7
- rootClasses?: ClassType;
8
+ rootClasses?: ClassTypeProp;
8
9
  dataCy?: string;
9
- btnClasses?: ClassType;
10
+ btnClasses?: ClassTypeProp;
10
11
  itemProp?: string;
11
- arrowClasses?: ClassType;
12
- btnWrapperClasses?: ClassType;
13
- accordionContentClasses?: ClassType;
14
- accordionOpenClasses?: ClassType;
15
- accordionCloseClasses?: ClassType;
16
- accordionClasses?: ClassType;
12
+ arrowClasses?: ClassTypeProp;
13
+ btnWrapperClasses?: ClassTypeProp;
14
+ accordionContentClasses?: ClassTypeProp;
15
+ accordionOpenClasses?: ClassTypeProp;
16
+ accordionCloseClasses?: ClassTypeProp;
17
+ accordionClasses?: ClassTypeProp;
17
18
  };
18
19
  declare function __VLS_template(): {
19
20
  attrs: Partial<{}>;
@@ -1,5 +1,6 @@
1
1
  import { Nullable, BaseAutocompleteThemes } from '@wikicasa-dev/types';
2
- import { AccessibleSelectOptions, ClassTypeProp } from './types';
2
+ import { AccessibleSelectOptions } from './AccessibleSelect';
3
+ import { ClassTypeProp } from './types';
3
4
  declare const _default: <T, LabelID extends string | number | undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
6
  readonly onClick?: (() => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { ClassType } from '@wikicasa-dev/types';
1
+ import { ClassTypeProp } from './types';
2
2
  type BreadcrumbItemsType = {
3
3
  link: string;
4
4
  label: string;
@@ -10,8 +10,8 @@ type BreadcrumbItemsTypeWithIdx = BreadcrumbItemsType & {
10
10
  };
11
11
  type __VLS_Props = {
12
12
  items: BreadcrumbItemsType[];
13
- listClasses?: ClassType;
14
- listItemClasses?: ClassType;
13
+ listClasses?: ClassTypeProp;
14
+ listItemClasses?: ClassTypeProp;
15
15
  };
16
16
  declare function __VLS_template(): {
17
17
  attrs: Partial<{}>;
@@ -1,6 +1,7 @@
1
- import { ButtonType } from './types';
2
- type HTMLButtonType = "button" | "submit" | "reset" | undefined;
3
- type __VLS_Props = {
1
+ import { TwPrefix } from '../types';
2
+ type BtnPrefix = "btn-";
3
+ export type ButtonType = `${TwPrefix}${BtnPrefix}${"w-primary" | "w-secondary" | "w-warning" | "w-danger" | "transparent" | "light" | "show-more" | "multi-selection" | "single-selection" | "facile"}`;
4
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
5
  btnClass?: ButtonType;
5
6
  outlined?: boolean;
6
7
  size?: "sm" | "lg" | "";
@@ -14,30 +15,36 @@ type __VLS_Props = {
14
15
  */
15
16
  title?: string;
16
17
  dataCy?: string;
17
- type?: HTMLButtonType;
18
- };
19
- declare function __VLS_template(): {
20
- attrs: Partial<{}>;
21
- slots: {
22
- default?(_: {
23
- hover: boolean;
24
- }): any;
25
- spinner?(_: {}): any;
26
- };
27
- refs: {};
28
- rootEl: HTMLButtonElement;
29
- };
30
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ type?: "button" | "submit" | "reset" | undefined;
19
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
20
  click: (e: Event) => any;
33
21
  mouseover: (e: Event) => any;
34
22
  mouseout: (e: Event) => any;
35
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ }, string, import('vue').PublicProps, Readonly<{
24
+ btnClass?: ButtonType;
25
+ outlined?: boolean;
26
+ size?: "sm" | "lg" | "";
27
+ withMinWidth?: boolean;
28
+ keepActive?: boolean;
29
+ isLoading?: boolean;
30
+ disabled?: boolean;
31
+ ariaLabel?: string;
32
+ /**
33
+ * Add the title for screen readers when the button consists of just an icon
34
+ */
35
+ title?: string;
36
+ dataCy?: string;
37
+ type?: "button" | "submit" | "reset" | undefined;
38
+ }> & Readonly<{
36
39
  onClick?: ((e: Event) => any) | undefined;
37
40
  onMouseover?: ((e: Event) => any) | undefined;
38
41
  onMouseout?: ((e: Event) => any) | undefined;
39
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>, {
43
+ default?(_: {
44
+ hover: boolean;
45
+ }): any;
46
+ spinner?(_: {}): any;
47
+ }>;
41
48
  export default _default;
42
49
  type __VLS_WithTemplateSlots<T, S> = T & {
43
50
  new (): {
@@ -1,26 +1,20 @@
1
- import { CardRootTypes, CardTypes, ClassTypeProp } from './types';
2
- type __VLS_Props = {
1
+ import { ClassTypeProp } from './types';
2
+ export type CardTypes = "mini" | "vertical" | "news" | "";
3
+ export type CardRootTypes = "div" | "article";
4
+ export type BaseCardProps = {
3
5
  type?: CardTypes;
4
6
  rootComponent?: CardRootTypes;
5
7
  cardImgClasses?: ClassTypeProp;
6
8
  cardBodyClasses?: ClassTypeProp;
7
9
  };
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- 'card-image'?(_: {}): any;
12
- 'card-description'?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
11
  click: (args_0: MouseEvent) => any;
20
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ }, string, import('vue').PublicProps, Readonly<BaseCardProps> & Readonly<{
21
13
  onClick?: ((args_0: MouseEvent) => any) | undefined;
22
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
15
+ 'card-image'?(_: {}): any;
16
+ 'card-description'?(_: {}): any;
17
+ }>;
24
18
  export default _default;
25
19
  type __VLS_WithTemplateSlots<T, S> = T & {
26
20
  new (): {
@@ -1,7 +1,7 @@
1
1
  import o from "../packages/components/lib/UIKit/BaseCard.vue.js";
2
2
  import '../assets/packages/components/lib/UIKit/BaseCard.css';/* empty css */
3
- import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0358211e"]]);
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-bf21cda3"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,45 +1,49 @@
1
- import { ClassType, Nullable } from '@wikicasa-dev/types';
2
- import { ComplexToggleType, ToggleType } from './types';
3
- import { TwPrefix } from '../types';
1
+ import { Nullable } from '@wikicasa-dev/types';
2
+ import { ClassTypeProp, Icon } from './types';
3
+ import { TwPrefix } from 'lib/types';
4
+ export type ToggleType<TPayload = unknown, TId = string | number> = {
5
+ id?: TId;
6
+ label: string;
7
+ icon?: Icon;
8
+ checked?: boolean;
9
+ payload?: TPayload;
10
+ };
11
+ export type ComplexToggleType<T = unknown> = {
12
+ leftToggle: ToggleType<T>;
13
+ rightToggle: ToggleType<T>;
14
+ };
4
15
  type BgPrefix = "bg-w-";
5
16
  type BorderPrefix = "border-w-";
6
17
  type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender";
7
18
  type BtnBgColorType = `${TwPrefix}${BgPrefix}${ColorsType}` | "";
8
19
  type BorderColorType = `${TwPrefix}${BorderPrefix}${ColorsType}`;
9
- type __VLS_Props = {
20
+ export type BaseComplexToggleProps = {
10
21
  labels: ComplexToggleType;
11
22
  type?: "full" | "padded";
12
23
  mode?: "mobile" | "";
13
24
  btnBgColor?: BtnBgColorType;
14
- btnClasses?: ClassType;
25
+ btnClasses?: ClassTypeProp;
15
26
  borderContainerColor?: BorderColorType;
16
27
  size?: "" | "lg";
17
28
  };
18
- type __VLS_PublicProps = {
29
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
19
30
  modelValue?: Nullable<ToggleType> | undefined;
20
- } & __VLS_Props;
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- left_icon?(_: {}): any;
25
- right_icon?(_: {}): any;
26
- };
27
- refs: {};
28
- rootEl: HTMLDivElement;
29
- };
30
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
- "update:modelValue": (value: Nullable<ToggleType> | undefined) => any;
33
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
34
- "onUpdate:modelValue"?: ((value: Nullable<ToggleType> | undefined) => any) | undefined;
31
+ } & BaseComplexToggleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
+ "update:modelValue": (value: Nullable<ToggleType<unknown, string | number>> | undefined) => any;
33
+ }, string, import('vue').PublicProps, Readonly<{
34
+ modelValue?: Nullable<ToggleType> | undefined;
35
+ } & BaseComplexToggleProps> & Readonly<{
36
+ "onUpdate:modelValue"?: ((value: Nullable<ToggleType<unknown, string | number>> | undefined) => any) | undefined;
35
37
  }>, {
36
38
  type: "full" | "padded";
37
39
  size: "" | "lg";
38
40
  mode: "mobile" | "";
39
41
  btnBgColor: BtnBgColorType;
40
42
  borderContainerColor: BorderColorType;
41
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
42
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
44
+ left_icon?(_: {}): any;
45
+ right_icon?(_: {}): any;
46
+ }>;
43
47
  export default _default;
44
48
  type __VLS_WithTemplateSlots<T, S> = T & {
45
49
  new (): {
@@ -1,7 +1,7 @@
1
1
  import o from "../packages/components/lib/UIKit/BaseComplexToggle.vue.js";
2
2
  import '../assets/packages/components/lib/UIKit/BaseComplexToggle.css';/* empty css */
3
3
  import e from "../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-832ebde3"]]);
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-32ea07e6"]]);
5
5
  export {
6
- r as default
6
+ p as default
7
7
  };
@@ -1,11 +1,11 @@
1
1
  import { Nullable, Optional } from '@wikicasa-dev/types';
2
- import { ClassType } from './types';
2
+ import { ClassTypeProp } from './types';
3
3
  type __VLS_Props = {
4
- dropdownClasses?: ClassType;
4
+ dropdownClasses?: ClassTypeProp;
5
5
  btnClasses?: string;
6
6
  withArrowIcon?: boolean;
7
7
  btnLabel?: string;
8
- labelClasses?: ClassType;
8
+ labelClasses?: ClassTypeProp;
9
9
  direction?: "up" | "down";
10
10
  arrowWidth?: number;
11
11
  arrowStrokeColor?: `#${string}`;
@@ -54,11 +54,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
54
54
  "onUpdate:toggleDropdown"?: ((value: Optional<boolean>) => any) | undefined;
55
55
  "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
56
56
  }>, {
57
- dataCy: string;
58
57
  arrowWidth: number;
58
+ dataCy: string;
59
59
  btnClasses: string;
60
- labelClasses: string | Record<string, boolean> | ClassType[] | null;
61
- dropdownClasses: string | Record<string, boolean> | ClassType[] | null;
60
+ labelClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
61
+ dropdownClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
62
62
  withArrowIcon: boolean;
63
63
  btnLabel: string;
64
64
  direction: "up" | "down";
@@ -1,17 +1,23 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
2
  import { ClassTypeProp } from './types';
3
- type LabelState = "inline-label" | "floating-label";
4
- type __VLS_Props = {
3
+ export type LabelState = "inline-label" | "floating-label";
4
+ declare const _default: import('vue').DefineComponent<{
5
5
  labelState?: LabelState;
6
6
  isValid?: Nullable<boolean>;
7
7
  labelText: string;
8
8
  disabled?: string | boolean;
9
9
  labelClasses?: ClassTypeProp;
10
10
  labelTextClasses?: ClassTypeProp;
11
- };
12
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
12
  click: (...args: any[]) => void;
14
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ }, string, import('vue').PublicProps, Readonly<{
14
+ labelState?: LabelState;
15
+ isValid?: Nullable<boolean>;
16
+ labelText: string;
17
+ disabled?: string | boolean;
18
+ labelClasses?: ClassTypeProp;
19
+ labelTextClasses?: ClassTypeProp;
20
+ }> & Readonly<{
15
21
  onClick?: ((...args: any[]) => any) | undefined;
16
22
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
17
23
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "../packages/components/lib/UIKit/BaseFloatingLabel.vue.js";
2
2
  import '../assets/packages/components/lib/UIKit/BaseFloatingLabel.css';/* empty css */
3
- import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2b36371e"]]);
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-5c7a4894"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
23
23
  onClick?: ((args_0: number) => any) | undefined;
24
24
  onMouseover?: ((args_0: number) => any) | undefined;
25
25
  }>, {
26
- label: string;
27
26
  active: boolean;
27
+ label: string;
28
28
  idx: number;
29
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
30
  liItem: HTMLLIElement;
@@ -1,4 +1,4 @@
1
- import { ClassType } from '@wikicasa-dev/types';
1
+ import { ClassTypeProp } from './types';
2
2
  type __VLS_Props = {
3
3
  theme?: {
4
4
  color: "blue" | "white";
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  direction?: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
8
8
  customTooltipClass?: "mail-alert" | "";
9
9
  showTooltipContentManually?: boolean;
10
- tooltipContentClasses?: ClassType;
10
+ tooltipContentClasses?: ClassTypeProp;
11
11
  };
12
12
  declare function __VLS_template(): {
13
13
  attrs: Partial<{}>;
@@ -27,7 +27,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
27
27
  };
28
28
  customTooltipClass: "mail-alert" | "";
29
29
  showTooltipContentManually: boolean;
30
- tooltipContentClasses: ClassType;
30
+ tooltipContentClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
31
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
32
32
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
33
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "../packages/components/lib/UIKit/BaseTooltip.vue.js";
2
2
  import '../assets/packages/components/lib/UIKit/BaseTooltip.css';/* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b0e473d5"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2bb9040f"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { ClassType } from '@wikicasa-dev/types';
1
+ import { ClassTypeProp } from './types';
2
2
  type __VLS_Props = {
3
3
  id: string;
4
4
  labelText?: string;
5
5
  clear?: boolean;
6
- labelClasses?: ClassType;
7
- floatingLabelClasses?: ClassType;
8
- fieldsetClasses?: ClassType;
9
- legendClasses?: ClassType;
6
+ labelClasses?: ClassTypeProp;
7
+ floatingLabelClasses?: ClassTypeProp;
8
+ fieldsetClasses?: ClassTypeProp;
9
+ legendClasses?: ClassTypeProp;
10
10
  };
11
11
  declare function __VLS_template(): {
12
12
  attrs: Partial<{}>;
@@ -27,11 +27,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
27
27
  onUploaded?: ((args_0: File) => any) | undefined;
28
28
  }>, {
29
29
  clear: boolean;
30
- labelClasses: ClassType;
31
- fieldsetClasses: ClassType;
32
- legendClasses: ClassType;
30
+ labelClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
31
+ fieldsetClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
32
+ legendClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
33
33
  labelText: string;
34
- floatingLabelClasses: ClassType;
34
+ floatingLabelClasses: string | Record<string, boolean> | import('./types').ClassType[] | import('./types').ClassType[] | null;
35
35
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
37
  export default _default;
@@ -1,4 +1,5 @@
1
- import { ClassType, Nullable } from '@wikicasa-dev/types';
1
+ import { Nullable } from '@wikicasa-dev/types';
2
+ import { ClassTypeProp } from '../types';
2
3
  type EventPayload = {
3
4
  id: string | number;
4
5
  label: string | number;
@@ -10,10 +11,10 @@ type __VLS_Props = {
10
11
  disabled?: boolean;
11
12
  checked?: boolean;
12
13
  required?: boolean;
13
- inputClass?: ClassType;
14
+ inputClass?: ClassTypeProp;
14
15
  inline?: boolean;
15
16
  label?: string | number;
16
- labelClass?: ClassType;
17
+ labelClass?: ClassTypeProp;
17
18
  isValid?: Nullable<boolean>;
18
19
  containerId?: string;
19
20
  /**
@@ -1,7 +1,7 @@
1
1
  import o from "../../packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js";
2
2
  import '../../assets/packages/components/lib/UIKit/Checkbox/CheckboxBtn.css';/* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-505c1129"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8649caa8"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };