@huntflow/ui 0.0.47 → 0.0.49

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.
@@ -10,13 +10,20 @@ declare let __VLS_typeProps: Props;
10
10
  type __VLS_PublicProps = {
11
11
  'checked'?: boolean;
12
12
  } & typeof __VLS_typeProps;
13
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ declare function __VLS_template(): {
14
+ slots: {
15
+ default?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<{}>;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
22
  "update:checked": (checked: boolean) => any;
15
23
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
24
  "onUpdate:checked"?: ((checked: boolean) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
18
- default?(_: {}): any;
19
- }>;
25
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
27
  export default _default;
21
28
  type __VLS_WithTemplateSlots<T, S> = T & {
22
29
  new (): {
@@ -0,0 +1,3 @@
1
+ import { BaseIconProps } from './types.ts';
2
+ declare const _default: import('vue').DefineComponent<BaseIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { default as BaseIcon } from './icon.vue';
2
+ export type { BaseIconProps } from './types';
3
+ declare const useIcons: () => void;
4
+ export { BaseIcon, useIcons };
@@ -0,0 +1,5 @@
1
+ export type BaseIconProps = {
2
+ type: string;
3
+ color?: string;
4
+ block?: boolean;
5
+ };
@@ -3,7 +3,16 @@ declare let __VLS_typeProps: BaseInputProps;
3
3
  type __VLS_PublicProps = {
4
4
  'value'?: string;
5
5
  } & typeof __VLS_typeProps;
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ declare function __VLS_template(): {
7
+ slots: {
8
+ prefix?(_: {}): any;
9
+ suffix?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ attrs: Partial<{}>;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
16
  "update:value": (value: string) => any;
8
17
  } & {
9
18
  "update:value": (value: string) => any;
@@ -14,10 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
14
23
  }>, {
15
24
  size: import('./types').BaseInputSize;
16
25
  type: import('./types').BaseInputType;
17
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
18
- prefix?(_: {}): any;
19
- suffix?(_: {}): any;
20
- }>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
28
  export default _default;
22
29
  type __VLS_WithTemplateSlots<T, S> = T & {
23
30
  new (): {
@@ -0,0 +1,3 @@
1
+ import { default as BaseLoader } from './loader.vue';
2
+ export type { BaseLoaderSize } from './types';
3
+ export { BaseLoader };
@@ -0,0 +1,6 @@
1
+ import { BaseLoaderProps } from './types.ts';
2
+ declare const _default: import('vue').DefineComponent<BaseLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseLoaderProps> & Readonly<{}>, {
3
+ size: import('./types.ts').BaseLoaderSize;
4
+ color: "white" | "black";
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export type BaseLoaderProps = {
2
+ className?: string;
3
+ size: BaseLoaderSize;
4
+ color?: 'white' | 'black';
5
+ };
6
+ export type BaseLoaderSize = 's' | 'm' | 'l';
@@ -1,5 +1,24 @@
1
1
  import { BaseSelectProps } from './types.ts';
2
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ icon?(_: {
5
+ icon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
6
+ [key: string]: any;
7
+ }>;
8
+ }): any;
9
+ icon?(_: {
10
+ icon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
+ [key: string]: any;
12
+ }>;
13
+ }): any;
14
+ };
15
+ refs: {
16
+ "base-select": HTMLDivElement;
17
+ };
18
+ attrs: Partial<{}>;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<BaseSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
22
  "update:value": (value: string | number) => any;
4
23
  }, string, import('vue').PublicProps, Readonly<BaseSelectProps> & Readonly<{
5
24
  "onUpdate:value"?: ((value: string | number) => any) | undefined;
@@ -8,18 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
8
27
  placeholder: string;
9
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
10
29
  "base-select": HTMLDivElement;
11
- }, any>, {
12
- icon?(_: {
13
- icon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
14
- [key: string]: any;
15
- }>;
16
- }): any;
17
- icon?(_: {
18
- icon: import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
19
- [key: string]: any;
20
- }>;
21
- }): any;
22
- }>;
30
+ }, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
32
  export default _default;
24
33
  type __VLS_WithTemplateSlots<T, S> = T & {
25
34
  new (): {
@@ -2,5 +2,9 @@ export { BaseButton } from './base-button';
2
2
  export type { BaseButtonProps } from './base-button';
3
3
  export { BaseInput } from './base-input';
4
4
  export type { BaseInputProps } from './base-input';
5
- export type { BaseCheckbox } from './base-checkbox';
5
+ export { BaseCheckbox } from './base-checkbox';
6
6
  export type { BaseCheckboxProps } from './base-checkbox';
7
+ export { BaseIcon, useIcons } from './base-icon';
8
+ export type { BaseIconProps } from './base-icon';
9
+ export { BaseLoader } from './base-loader';
10
+ export type { BaseLoaderSize } from './base-loader';