@wikicasa-dev/components 1.9.32 → 1.9.34

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 (71) hide show
  1. package/README.md +4 -18
  2. package/dist/AccessibleSelect.js +1 -1
  3. package/dist/BaseAutocomplete.js +1 -1
  4. package/dist/BaseDropDown.js +1 -1
  5. package/dist/BaseTabView.js +1 -1
  6. package/dist/SwiperCarousel.js +1 -1
  7. package/dist/UIKit/AccessibleSelect.vue.d.ts +16 -47
  8. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +18 -35
  9. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +19 -39
  10. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +15 -19
  11. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +32 -53
  12. package/dist/UIKit/BaseAlert.vue.d.ts +11 -28
  13. package/dist/UIKit/BaseAutocomplete.vue.d.ts +180 -108
  14. package/dist/UIKit/BaseBadge.vue.d.ts +11 -27
  15. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +13 -18
  16. package/dist/UIKit/BaseButton.vue.d.ts +20 -57
  17. package/dist/UIKit/BaseCard.vue.d.ts +14 -37
  18. package/dist/UIKit/BaseComplexToggle.vue.d.ts +26 -64
  19. package/dist/UIKit/BaseDropDown.vue.d.ts +28 -67
  20. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +6 -32
  21. package/dist/UIKit/BaseInput.vue.d.ts +41 -75
  22. package/dist/UIKit/BaseModal.vue.d.ts +29 -69
  23. package/dist/UIKit/BasePagination.vue.d.ts +19 -71
  24. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +21 -37
  25. package/dist/UIKit/BaseSlider.vue.d.ts +60 -104
  26. package/dist/UIKit/BaseSnackbar.vue.d.ts +6 -32
  27. package/dist/UIKit/BaseTextarea.vue.d.ts +19 -43
  28. package/dist/UIKit/BaseToggle.vue.d.ts +21 -25
  29. package/dist/UIKit/BaseTooltip.vue.d.ts +12 -43
  30. package/dist/UIKit/BaseUploadFile.vue.d.ts +17 -44
  31. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +29 -65
  32. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +24 -55
  33. package/dist/UIKit/Radio/RadioButton.vue.d.ts +6 -27
  34. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +33 -50
  35. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +10 -15
  36. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +4 -30
  37. package/dist/UIKit/StaticSpinner.vue.d.ts +4 -27
  38. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -15
  39. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +6 -28
  40. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -27
  41. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +14 -33
  42. package/dist/UIKit/types.d.ts +0 -1
  43. package/dist/assets/BaseAlert.css +1 -1
  44. package/dist/assets/BaseBadge.css +1 -1
  45. package/dist/assets/BaseFloatingLabel.css +1 -1
  46. package/dist/assets/BaseTextarea.css +1 -1
  47. package/dist/assets/SwiperCarousel.css +1 -1
  48. package/dist/assets/index.css +1 -1
  49. package/dist/chart/DoughnutChart.vue.d.ts +3 -13
  50. package/dist/chart/LineChart.vue.d.ts +3 -13
  51. package/dist/chart/composables/useChartjsModules.d.ts +0 -1
  52. package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.BZJiuA9q.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.B8sZx5ag.js} +1 -1
  53. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CuwMDpZt.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.lynxd7Sj.js} +2 -2
  54. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.BW53X5Mh.js → BaseDropDown.vue_vue_type_script_setup_true_lang.CVDnCMnS.js} +1 -1
  55. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.nuPyOFsi.js +94 -0
  56. package/dist/chunks/{SwiperCarousel.BV6QiwmC.js → SwiperCarousel.DWUl3bgn.js} +132 -131
  57. package/dist/chunks/{index.C7BPB1tC.js → index.D6IWh9UY.js} +2 -2
  58. package/dist/chunks/{useKeyboardController.CXrrg8Zt.js → useKeyboardController.CutKeclN.js} +3 -6
  59. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +14 -29
  60. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +36 -42
  61. package/dist/components/carousel/SwiperCarousel.vue.d.ts +18 -35
  62. package/dist/components/carousel/SwiperSlide.vue.d.ts +7 -2
  63. package/dist/composables/useFloatingLabel.d.ts +0 -1
  64. package/dist/composables/useValidator.d.ts +0 -1
  65. package/dist/index.d.ts +1 -4
  66. package/dist/index.js +53 -57
  67. package/package.json +19 -21
  68. package/dist/BaseNavItem.js +0 -58
  69. package/dist/UIKit/BaseNavItem.vue.d.ts +0 -93
  70. package/dist/assets/BaseNavItem.css +0 -1
  71. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.RbxW2M0Y.js +0 -85
@@ -1,41 +1,26 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ slots: {
3
+ default?(_: {}): any;
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {
7
+ root: HTMLDivElement;
8
+ };
9
+ attrs: Partial<{}>;
3
10
  };
4
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<{
5
13
  observer?: IntersectionObserver | null;
6
14
  isVisible?: boolean;
7
- }>, {
8
- isVisible: boolean;
9
- observer: null;
10
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
11
16
  observer?: IntersectionObserver | null;
12
17
  isVisible?: boolean;
13
- }>, {
14
- isVisible: boolean;
15
- observer: null;
16
- }>>> & Readonly<{}>, {
18
+ }> & Readonly<{}>, {
17
19
  observer: IntersectionObserver | null;
18
20
  isVisible: boolean;
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
23
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
24
  type __VLS_WithTemplateSlots<T, S> = T & {
40
25
  new (): {
41
26
  $slots: S;
@@ -4,55 +4,49 @@ interface IntersectionObserverProps {
4
4
  threshold?: number;
5
5
  }
6
6
  declare function __VLS_template(): {
7
- observer?(_: {
8
- observer: {
9
- readonly root: Element | Document | null;
10
- readonly rootMargin: string;
11
- readonly thresholds: ReadonlyArray<number>;
12
- disconnect: () => void;
13
- observe: (target: Element) => void;
14
- takeRecords: () => IntersectionObserverEntry[];
15
- unobserve: (target: Element) => void;
16
- } | null;
17
- isVisible: true;
18
- }): any;
7
+ slots: {
8
+ observer?(_: {
9
+ observer: {
10
+ readonly root: Element | Document | null;
11
+ readonly rootMargin: string;
12
+ readonly thresholds: ReadonlyArray<number>;
13
+ disconnect: () => void;
14
+ observe: (target: Element) => void;
15
+ takeRecords: () => IntersectionObserverEntry[];
16
+ unobserve: (target: Element) => void;
17
+ } | null;
18
+ isVisible: false;
19
+ }): any;
20
+ observer?(_: {
21
+ observer: {
22
+ readonly root: Element | Document | null;
23
+ readonly rootMargin: string;
24
+ readonly thresholds: ReadonlyArray<number>;
25
+ disconnect: () => void;
26
+ observe: (target: Element) => void;
27
+ takeRecords: () => IntersectionObserverEntry[];
28
+ unobserve: (target: Element) => void;
29
+ } | null;
30
+ isVisible: true;
31
+ }): any;
32
+ };
33
+ refs: {
34
+ root: HTMLDivElement;
35
+ };
36
+ attrs: Partial<{}>;
19
37
  };
20
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IntersectionObserverProps>, {
21
- observeOnce: boolean;
22
- skip: boolean;
23
- threshold: number;
24
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
- intersection: () => void;
26
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IntersectionObserverProps>, {
27
- observeOnce: boolean;
28
- skip: boolean;
29
- threshold: number;
30
- }>>> & Readonly<{
38
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
+ declare const __VLS_component: import('vue').DefineComponent<IntersectionObserverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ intersection: () => any;
41
+ }, string, import('vue').PublicProps, Readonly<IntersectionObserverProps> & Readonly<{
31
42
  onIntersection?: (() => any) | undefined;
32
43
  }>, {
33
44
  threshold: number;
34
45
  observeOnce: boolean;
35
46
  skip: boolean;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
48
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
49
  export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
- type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
- default: D[K];
51
- }> : P[K];
52
- };
53
- type __VLS_Prettify<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
56
50
  type __VLS_WithTemplateSlots<T, S> = T & {
57
51
  new (): {
58
52
  $slots: S;
@@ -1,6 +1,5 @@
1
1
  import { Image } from '@wikicasa-dev/types';
2
2
  import { SwiperOptions } from 'swiper/types';
3
-
4
3
  interface SwiperCarouselProps {
5
4
  id: string;
6
5
  swiperOptions: SwiperOptions;
@@ -15,54 +14,38 @@ interface SwiperCarouselProps {
15
14
  shiftFirstImage?: boolean;
16
15
  }
17
16
  declare function __VLS_template(): {
18
- default?(_: {}): any;
17
+ slots: {
18
+ default?(_: {}): any;
19
+ last_slide?(_: {}): any;
20
+ };
21
+ refs: {
22
+ root: HTMLDivElement;
23
+ swiperWrapper: HTMLDivElement;
24
+ };
25
+ attrs: Partial<{}>;
19
26
  };
20
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SwiperCarouselProps>, {
21
- lazyLoadImages: boolean;
22
- backgroundImage: boolean;
23
- shiftFirstImage: boolean;
24
- }>>, {
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
+ declare const __VLS_component: import('vue').DefineComponent<SwiperCarouselProps, {
25
29
  moveTo(index: number, speed?: number, runCallbacks?: boolean): void;
26
30
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ click: () => any;
27
32
  moved: (args_0: {
28
33
  activeIndex: number;
29
- }) => void;
30
- click: () => void;
31
- firstSlideLoaded: () => void;
32
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SwiperCarouselProps>, {
33
- lazyLoadImages: boolean;
34
- backgroundImage: boolean;
35
- shiftFirstImage: boolean;
36
- }>>> & Readonly<{
34
+ }) => any;
35
+ firstSlideLoaded: () => any;
36
+ }, string, import('vue').PublicProps, Readonly<SwiperCarouselProps> & Readonly<{
37
+ onClick?: (() => any) | undefined;
37
38
  onMoved?: ((args_0: {
38
39
  activeIndex: number;
39
40
  }) => any) | undefined;
40
- onClick?: (() => any) | undefined;
41
41
  onFirstSlideLoaded?: (() => any) | undefined;
42
42
  }>, {
43
43
  lazyLoadImages: boolean;
44
44
  backgroundImage: boolean;
45
45
  shiftFirstImage: boolean;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
48
  export default _default;
49
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
- type __VLS_TypePropsToRuntimeProps<T> = {
51
- [K in keyof T]-?: {} extends Pick<T, K> ? {
52
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
- } : {
54
- type: import('vue').PropType<T[K]>;
55
- required: true;
56
- };
57
- };
58
- type __VLS_WithDefaults<P, D> = {
59
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
- default: D[K];
61
- }> : P[K];
62
- };
63
- type __VLS_Prettify<T> = {
64
- [K in keyof T]: T[K];
65
- } & {};
66
49
  type __VLS_WithTemplateSlots<T, S> = T & {
67
50
  new (): {
68
51
  $slots: S;
@@ -1,8 +1,13 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
3
7
  };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
4
9
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
11
  export default _default;
7
12
  type __VLS_WithTemplateSlots<T, S> = T & {
8
13
  new (): {
@@ -1,6 +1,5 @@
1
1
  import { Ref } from 'vue';
2
2
  import { LabelState } from '../UIKit/types';
3
-
4
3
  interface UsableFloatingLabel {
5
4
  labelState: Ref<LabelState>;
6
5
  setInitialLabelState: <T>(value: T) => void;
@@ -1,5 +1,4 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
-
3
2
  interface UsableValidator {
4
3
  isValid: (validator?: {
5
4
  $error: boolean;
package/dist/index.d.ts CHANGED
@@ -20,7 +20,6 @@ import { default as BaseDropDown } from './UIKit/BaseDropDown.vue';
20
20
  import { default as BaseFloatingLabel } from './UIKit/BaseFloatingLabel.vue';
21
21
  import { default as BaseIcon } from './UIKit/BaseIcon.vue';
22
22
  import { default as BaseInput } from './UIKit/BaseInput.vue';
23
- import { default as BaseNavItem } from './UIKit/BaseNavItem.vue';
24
23
  import { default as BasePagination } from './UIKit/BasePagination.vue';
25
24
  import { default as BasePaper } from './UIKit/BasePaper.vue';
26
25
  import { default as BaseSlider } from './UIKit/BaseSlider.vue';
@@ -39,9 +38,7 @@ import { default as IntersectionObservable } from './components/IntersectionObse
39
38
  import { default as IntersectionObserver } from './components/IntersectionObserver/IntersectionObserver.vue';
40
39
  import { default as SwiperCarousel } from './components/carousel/SwiperCarousel.vue';
41
40
  import { default as SwiperSlide } from './components/carousel/SwiperSlide.vue';
42
- import { useValidator } from './composables/useValidator';
43
41
  import { default as BaseBreadcrumb } from './UIKit/BaseBreadcrumb.vue';
44
-
45
42
  export * from './UIKit/types';
46
43
  export type { ChartOptions, ChartData } from 'chart.js';
47
- export { DoughnutChart, LineChart, BaseAccordion, BaseAccordionBtn, BaseAccordionContent, BaseAccordionItem, SelectItem, BaseAlert, BaseAutocomplete, BaseBadge, BaseButton, AccessibleSelect, BaseComplexToggle, BaseDropDown, BaseFloatingLabel, BaseCard, BaseIcon, BaseInput, BaseNavItem, BasePagination, BasePaper, BaseSlider, BaseTab, BaseTextarea, BaseToggle, BaseTooltip, BaseUploadFile, CheckboxBtn, CheckboxGroup, RadioButton, RadioGroup, SwiperCarousel, SwiperSlide, IntersectionObservable, IntersectionObserver, useValidator, BaseModal, BaseSnackbar, BaseTabView, BaseShimmerLoader, ShimmerMultiLine, StaticSpinner, BaseBreadcrumb, };
44
+ export { DoughnutChart, LineChart, BaseAccordion, BaseAccordionBtn, BaseAccordionContent, BaseAccordionItem, SelectItem, BaseAlert, BaseAutocomplete, BaseBadge, BaseButton, AccessibleSelect, BaseComplexToggle, BaseDropDown, BaseFloatingLabel, BaseCard, BaseIcon, BaseInput, BasePagination, BasePaper, BaseSlider, BaseTab, BaseTextarea, BaseToggle, BaseTooltip, BaseUploadFile, CheckboxBtn, CheckboxGroup, RadioButton, RadioGroup, SwiperCarousel, SwiperSlide, IntersectionObservable, IntersectionObserver, BaseModal, BaseSnackbar, BaseTabView, BaseShimmerLoader, ShimmerMultiLine, StaticSpinner, BaseBreadcrumb, };
package/dist/index.js CHANGED
@@ -4,43 +4,41 @@ import { _ as f } from "./chunks/BaseAccordionContent.vue_vue_type_script_setup_
4
4
  import { _ as m } from "./chunks/BaseAccordionItem.vue_vue_type_script_setup_true_lang.CR-nWss7.js";
5
5
  import { _ as l } from "./chunks/SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js";
6
6
  import { default as d } from "./CheckboxBtn.js";
7
- import { _ as i } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.D-AjsQLI.js";
7
+ import { _ as n } from "./chunks/CheckboxGroup.vue_vue_type_script_setup_true_lang.D-AjsQLI.js";
8
8
  import { _ } from "./chunks/BaseTab.vue_vue_type_script_setup_true_lang.Cu67jd8K.js";
9
- import { _ as S } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.RbxW2M0Y.js";
9
+ import { _ as S } from "./chunks/BaseTabView.vue_vue_type_script_setup_true_lang.nuPyOFsi.js";
10
10
  import { _ as g } from "./chunks/RadioButton.vue_vue_type_script_setup_true_lang.DR6a7QAi.js";
11
11
  import { _ as h } from "./chunks/RadioGroup.vue_vue_type_script_setup_true_lang.BYlMCUWP.js";
12
- import { _ as I } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.BZJiuA9q.js";
12
+ import { _ as I } from "./chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.B8sZx5ag.js";
13
13
  import { _ as w } from "./chunks/BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js";
14
- import { _ as k } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.CuwMDpZt.js";
15
- import { _ as D } from "./chunks/BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js";
14
+ import { _ as k } from "./chunks/BaseAutocomplete.vue_vue_type_script_setup_true_lang.lynxd7Sj.js";
15
+ import { _ as v } from "./chunks/BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js";
16
16
  import { _ as G } from "./chunks/BaseButton.vue_vue_type_script_setup_true_lang.dlLTK59i.js";
17
17
  import { default as O } from "./BaseCard.js";
18
18
  import { default as R } from "./BaseComplexToggle.js";
19
- import { _ as N } from "./chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.BW53X5Mh.js";
20
- import { default as j } from "./BaseFloatingLabel.js";
21
- import { default as y } from "./BaseIcon.js";
22
- import { default as E } from "./BaseInput.js";
23
- import { default as J } from "./BaseNavItem.js";
24
- import { _ as Q } from "./chunks/BasePagination.vue_vue_type_script_setup_true_lang.CC-83EJ7.js";
25
- import { default as X } from "./BasePaper.js";
26
- import { default as Z } from "./BaseSlider.js";
27
- import { default as ee } from "./BaseTextarea.js";
28
- import { default as re } from "./BaseToggle.js";
29
- import { default as te } from "./BaseTooltip.js";
30
- import { _ as fe } from "./chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js";
31
- import { _ as me } from "./chunks/BaseModal.vue_vue_type_style_index_0_lang.9RKUM3fd.js";
32
- import { default as le } from "./BaseSnackbar.js";
33
- import { default as de } from "./StaticSpinner.js";
34
- import { default as ie } from "./BaseShimmerLoader.js";
35
- import { _ as _e } from "./chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js";
36
- import { _ as Se } from "./chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js";
37
- import { _ as ge } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js";
38
- import { _ as he } from "./chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js";
39
- import { _ as Ie } from "./chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js";
40
- import { S as we } from "./chunks/SwiperCarousel.BV6QiwmC.js";
41
- import { default as ke } from "./SwiperSlide.js";
42
- import { useValidator as De } from "./useValidator.js";
43
- import { _ as Ge } from "./chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.B0owkt0c.js";
19
+ import { _ as V } from "./chunks/BaseDropDown.vue_vue_type_script_setup_true_lang.CVDnCMnS.js";
20
+ import { default as q } from "./BaseFloatingLabel.js";
21
+ import { default as z } from "./BaseIcon.js";
22
+ import { default as H } from "./BaseInput.js";
23
+ import { _ as K } from "./chunks/BasePagination.vue_vue_type_script_setup_true_lang.CC-83EJ7.js";
24
+ import { default as Q } from "./BasePaper.js";
25
+ import { default as X } from "./BaseSlider.js";
26
+ import { default as Z } from "./BaseTextarea.js";
27
+ import { default as ee } from "./BaseToggle.js";
28
+ import { default as re } from "./BaseTooltip.js";
29
+ import { _ as te } from "./chunks/BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js";
30
+ import { _ as fe } from "./chunks/BaseModal.vue_vue_type_style_index_0_lang.9RKUM3fd.js";
31
+ import { default as me } from "./BaseSnackbar.js";
32
+ import { default as le } from "./StaticSpinner.js";
33
+ import { default as de } from "./BaseShimmerLoader.js";
34
+ import { _ as ne } from "./chunks/ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js";
35
+ import { _ as _e } from "./chunks/DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js";
36
+ import { _ as Se } from "./chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js";
37
+ import { _ as ge } from "./chunks/IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js";
38
+ import { _ as he } from "./chunks/IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js";
39
+ import { S as Ie } from "./chunks/SwiperCarousel.DWUl3bgn.js";
40
+ import { default as we } from "./SwiperSlide.js";
41
+ import { _ as ke } from "./chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.B0owkt0c.js";
44
42
  import './assets/index.css';export {
45
43
  I as AccessibleSelect,
46
44
  r as BaseAccordion,
@@ -49,40 +47,38 @@ import './assets/index.css';export {
49
47
  m as BaseAccordionItem,
50
48
  w as BaseAlert,
51
49
  k as BaseAutocomplete,
52
- D as BaseBadge,
53
- Ge as BaseBreadcrumb,
50
+ v as BaseBadge,
51
+ ke as BaseBreadcrumb,
54
52
  G as BaseButton,
55
53
  O as BaseCard,
56
54
  R as BaseComplexToggle,
57
- N as BaseDropDown,
58
- j as BaseFloatingLabel,
59
- y as BaseIcon,
60
- E as BaseInput,
61
- me as BaseModal,
62
- J as BaseNavItem,
63
- Q as BasePagination,
64
- X as BasePaper,
65
- ie as BaseShimmerLoader,
66
- Z as BaseSlider,
67
- le as BaseSnackbar,
55
+ V as BaseDropDown,
56
+ q as BaseFloatingLabel,
57
+ z as BaseIcon,
58
+ H as BaseInput,
59
+ fe as BaseModal,
60
+ K as BasePagination,
61
+ Q as BasePaper,
62
+ de as BaseShimmerLoader,
63
+ X as BaseSlider,
64
+ me as BaseSnackbar,
68
65
  _ as BaseTab,
69
66
  S as BaseTabView,
70
- ee as BaseTextarea,
71
- re as BaseToggle,
72
- te as BaseTooltip,
73
- fe as BaseUploadFile,
67
+ Z as BaseTextarea,
68
+ ee as BaseToggle,
69
+ re as BaseTooltip,
70
+ te as BaseUploadFile,
74
71
  d as CheckboxBtn,
75
- i as CheckboxGroup,
76
- Se as DoughnutChart,
77
- he as IntersectionObservable,
78
- Ie as IntersectionObserver,
79
- ge as LineChart,
72
+ n as CheckboxGroup,
73
+ _e as DoughnutChart,
74
+ ge as IntersectionObservable,
75
+ he as IntersectionObserver,
76
+ Se as LineChart,
80
77
  g as RadioButton,
81
78
  h as RadioGroup,
82
79
  l as SelectItem,
83
- _e as ShimmerMultiLine,
84
- de as StaticSpinner,
85
- we as SwiperCarousel,
86
- ke as SwiperSlide,
87
- De as useValidator
80
+ ne as ShimmerMultiLine,
81
+ le as StaticSpinner,
82
+ Ie as SwiperCarousel,
83
+ we as SwiperSlide
88
84
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "1.9.32",
3
+ "version": "1.9.34",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,42 +29,40 @@
29
29
  },
30
30
  "homepage": "https://bitbucket.org/wikicasa/wikicasa-fe#readme",
31
31
  "dependencies": {
32
- "chart.js": "^4.4.5",
32
+ "chart.js": "^4.4.6",
33
33
  "chartjs-adapter-date-fns": "^3.0.0",
34
- "date-fns": "^3.6.0",
35
- "swiper": "^11.1.14",
36
- "vue": "3.5.12",
37
- "vue-chartjs": "^5.3.1",
34
+ "date-fns": "^4.1.0",
35
+ "swiper": "^11.1.15",
36
+ "vue": "3.5.13",
37
+ "vue-chartjs": "^5.3.2",
38
38
  "vue-router": "^4.4.5"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/eslint-parser": "^7.25.8",
41
+ "@babel/eslint-parser": "^7.25.9",
42
42
  "@histoire/plugin-vue": "^0.17.17",
43
43
  "@types/node": "^20.16.11",
44
- "@vitejs/plugin-vue": "^5.1.4",
44
+ "@vitejs/plugin-vue": "^5.2.0",
45
+ "@vue/eslint-config-prettier": "^10.1.0",
46
+ "@vue/eslint-config-typescript": "^14.1.3",
45
47
  "@wikicasa-dev/svg-icons": "^0.1.11",
46
48
  "@wikicasa-dev/tailwind-plugins": "^0.0.2",
47
49
  "@wikicasa-dev/types": "^1.8.0",
48
50
  "@wikicasa-dev/utilities": "^1.0.22",
49
- "@wikicasa-dev/vue-composables": "0.0.10",
51
+ "@wikicasa-dev/vue-composables": "0.0.13",
50
52
  "autoprefixer": "^10.4.20",
51
- "chromatic": "^11.12.5",
52
- "eslint": "^8.57.1",
53
- "eslint-config-prettier": "^9.1.0",
54
- "eslint-plugin-prettier": "^5.2.1",
55
- "eslint-plugin-prettier-vue": "^5.0.0",
56
- "eslint-plugin-vue": "^9.29.0",
53
+ "eslint": "^9.15",
54
+ "eslint-plugin-vue": "^9.31.0",
57
55
  "glob": "^11.0.0",
58
56
  "histoire": "^0.17.17",
59
- "postcss": "^8.4.47",
57
+ "postcss": "^8.4.49",
60
58
  "prettier": "^3.3.3",
61
- "prettier-plugin-tailwindcss": "^0.6.8",
62
- "tailwindcss": "^3.4.14",
59
+ "prettier-plugin-tailwindcss": "^0.6.9",
60
+ "tailwindcss": "^3.4.15",
63
61
  "typescript": "^5.6.3",
64
- "vite": "^5.4.9",
65
- "vite-plugin-dts": "^3.9.1",
62
+ "vite": "^5.4.11",
63
+ "vite-plugin-dts": "^4.3.0",
66
64
  "vite-plugin-lib-inject-css": "^2.1.1",
67
- "vue-tsc": "^2.1.6"
65
+ "vue-tsc": "^2.1.10"
68
66
  },
69
67
  "readme": "ERROR: No README data found!",
70
68
  "scripts": {
@@ -1,58 +0,0 @@
1
- import s from "./BaseIcon.js";
2
- import { defineComponent as r, resolveComponent as n, openBlock as i, createElementBlock as l, normalizeClass as c, createBlock as m, createCommentVNode as u, renderSlot as p, createElementVNode as d, toDisplayString as f } from "vue";
3
- import { _ as b } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
4
- import './assets/BaseNavItem.css';const k = r({
5
- name: "BaseNavItem",
6
- components: { BaseIcon: s },
7
- props: {
8
- text: {
9
- type: String
10
- },
11
- iconName: {
12
- type: String
13
- },
14
- iconClass: {
15
- type: String,
16
- default: "uikit-mr-5px"
17
- },
18
- navItemCustomClass: {
19
- type: String
20
- },
21
- isActive: {
22
- type: Boolean,
23
- default: !1
24
- }
25
- },
26
- emits: ["click"],
27
- watch: {
28
- isActive(e) {
29
- const t = this.$refs["base-nav-item"];
30
- e ? t.classList.add("active") : t.classList.remove("active");
31
- }
32
- }
33
- }), v = ["id"];
34
- function g(e, t, C, y, $, N) {
35
- const a = n("base-icon");
36
- return i(), l("li", {
37
- id: `${e.$attrs.id}`,
38
- class: c(["uikit-group/tabs uikit-relative uikit-flex uikit-cursor-pointer uikit-items-center uikit-pb-5px disabled:uikit-border-transparent disabled:uikit-bg-transparent disabled:uikit-text-gray-600", [e.navItemCustomClass]]),
39
- onClick: t[0] || (t[0] = (o) => e.$emit("click", o))
40
- }, [
41
- e.iconName ? (i(), m(a, {
42
- key: 0,
43
- "alt-attribute": "icon",
44
- "icon-name": e.iconName,
45
- "icon-class": e.iconClass
46
- }, null, 8, ["icon-name", "icon-class"])) : u("", !0),
47
- p(e.$slots, "default", {}, () => [
48
- d("a", {
49
- ref: "base-nav-item",
50
- class: "after:uikit-absolute after:uikit-bottom-0 after:uikit-left-0 after:uikit-w-full after:uikit-content-[''] group-hover/tabs:after:uikit-border-b-2 group-hover/tabs:after:uikit-border-b-w-primary group-hover/tabs:after:[border-bottom-style:solid]"
51
- }, f(e.text), 513)
52
- ], !0)
53
- ], 10, v);
54
- }
55
- const _ = /* @__PURE__ */ b(k, [["render", g], ["__scopeId", "data-v-7f3f4fee"]]);
56
- export {
57
- _ as default
58
- };
@@ -1,93 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
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
- }>, {}, {}, {}, {}, 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
- }>> & Readonly<{
38
- onClick?: ((...args: any[]) => any) | undefined;
39
- }>, {
40
- iconClass: string;
41
- isActive: boolean;
42
- }, {}, {
43
- BaseIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
44
- lazyLoading: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- altAttribute: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- iconName: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- iconType: {
57
- type: () => "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
58
- default: string;
59
- };
60
- iconClass: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
65
- lazyLoading: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- altAttribute: {
70
- type: StringConstructor;
71
- default: string;
72
- };
73
- iconName: {
74
- type: StringConstructor;
75
- default: string;
76
- };
77
- iconType: {
78
- type: () => "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
79
- default: string;
80
- };
81
- iconClass: {
82
- type: StringConstructor;
83
- default: string;
84
- };
85
- }>> & Readonly<{}>, {
86
- lazyLoading: boolean;
87
- altAttribute: string;
88
- iconName: string;
89
- iconType: "icon-sm" | "icon-md" | "icon-lg" | "icon-xl" | "icon-xxl";
90
- iconClass: string;
91
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
93
- export default _default;
@@ -1 +0,0 @@
1
- .active[data-v-7f3f4fee]{font-weight:600}.active[data-v-7f3f4fee]:after{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(43 93 255 / var(--tw-border-opacity));content:var(--tw-content);border-bottom-style:solid}