@tresjs/leches 1.3.0 → 1.3.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 (34) hide show
  1. package/dist/{src/components → components}/BooleanControl.vue.d.ts +3 -2
  2. package/dist/components/ButtonControl.vue.d.ts +8 -0
  3. package/dist/{src/components → components}/ColorControl.vue.d.ts +3 -2
  4. package/dist/{src/components → components}/ControlInput.vue.d.ts +2 -1
  5. package/dist/components/ControlLabel.vue.d.ts +8 -0
  6. package/dist/components/FPSGraph.vue.d.ts +8 -0
  7. package/dist/{src/components → components}/Folder.vue.d.ts +3 -2
  8. package/dist/components/GraphControl.vue.d.ts +8 -0
  9. package/dist/{src/components → components}/NumberControl.vue.d.ts +3 -2
  10. package/dist/{src/components → components}/SelectControl.vue.d.ts +3 -2
  11. package/dist/{src/components → components}/SliderControl.vue.d.ts +3 -2
  12. package/dist/{src/components → components}/TextControl.vue.d.ts +3 -2
  13. package/dist/components/TresLeches.vue.d.ts +24 -0
  14. package/dist/{src/components → components}/VectorControl.vue.d.ts +3 -2
  15. package/dist/index.d.ts +3 -1
  16. package/dist/tresleches.js +799 -787
  17. package/dist/{src/utils → utils}/index.d.ts +1 -0
  18. package/dist/utils/key.d.ts +2 -0
  19. package/package.json +25 -25
  20. package/dist/src/components/ButtonControl.vue.d.ts +0 -7
  21. package/dist/src/components/ControlLabel.vue.d.ts +0 -7
  22. package/dist/src/components/FPSGraph.vue.d.ts +0 -9
  23. package/dist/src/components/GraphControl.vue.d.ts +0 -9
  24. package/dist/src/components/TresLeches.vue.d.ts +0 -45
  25. package/dist/src/index.d.ts +0 -3
  26. /package/dist/{src/composables → composables}/useControls.d.ts +0 -0
  27. /package/dist/{src/composables → composables}/useDraggable/component.d.ts +0 -0
  28. /package/dist/{src/composables → composables}/useDraggable/index.d.ts +0 -0
  29. /package/dist/{src/composables → composables}/useIsDark.d.ts +0 -0
  30. /package/dist/{src/composables → composables}/useNumberDrag.d.ts +0 -0
  31. /package/dist/{src/types → types}/index.d.ts +0 -0
  32. /package/dist/{src/utils → utils}/format.d.ts +0 -0
  33. /package/dist/{src/utils → utils}/is.d.ts +0 -0
  34. /package/dist/{src/utils → utils}/normalize.d.ts +0 -0
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesBooleanControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -0,0 +1,8 @@
1
+ import { LechesButtonControl } from '../types';
2
+ type __VLS_Props = {
3
+ label: string;
4
+ control: LechesButtonControl;
5
+ };
6
+ declare const __VLS_export: 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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -2,9 +2,10 @@ import { LechesControlUnion } from '../types';
2
2
  type __VLS_Props = {
3
3
  control: LechesControlUnion;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
6
  change: (...args: any[]) => void;
7
7
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
8
  onChange?: ((...args: any[]) => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
10
11
  export default _default;
@@ -0,0 +1,8 @@
1
+ import { LechesControl } from '../types';
2
+ type __VLS_Props = {
3
+ label: string;
4
+ control: LechesControl;
5
+ };
6
+ declare const __VLS_export: 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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { LechesControl } from '../types';
2
+ type __VLS_Props = {
3
+ label: string;
4
+ control: LechesControl;
5
+ };
6
+ declare const __VLS_export: 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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -4,11 +4,12 @@ type __VLS_Props = {
4
4
  label: string | number;
5
5
  forceOpen?: boolean;
6
6
  };
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
8
  open: (...args: any[]) => void;
9
9
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
10
  onOpen?: ((...args: any[]) => any) | undefined;
11
11
  }>, {
12
12
  forceOpen: boolean;
13
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
@@ -0,0 +1,8 @@
1
+ import { LechesGraphControl } from '../types';
2
+ type __VLS_Props = {
3
+ label: string;
4
+ control: LechesGraphControl;
5
+ };
6
+ declare const __VLS_export: 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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesNumberControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesNumberControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
@@ -0,0 +1,24 @@
1
+ import { LechesControlUnion } from '../types';
2
+ type __VLS_Props = {
3
+ uuid?: string;
4
+ collapsed?: boolean;
5
+ float?: boolean;
6
+ };
7
+ type __VLS_Slots = {
8
+ default: () => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
11
+ controls: import('vue').ComputedRef<Record<string, LechesControlUnion>>;
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ uuid: string;
14
+ collapsed: boolean;
15
+ float: boolean;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -3,9 +3,10 @@ type __VLS_Props = {
3
3
  label: string;
4
4
  control: LechesVectorControl;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  change: (...args: any[]) => void;
8
8
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
9
  onChange?: ((...args: any[]) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1 +1,3 @@
1
- export {}
1
+ import { default as TresLeches } from './components/TresLeches.vue';
2
+ import { useControls, useControlsProvider } from './composables/useControls';
3
+ export { TresLeches, useControls, useControlsProvider };