@huntflow/ui 0.0.49 → 0.0.51
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.
- package/dist/components/base-icon/index.d.ts +2 -2
- package/dist/components/base-input/input.vue.d.ts +3 -17
- package/dist/components/base-input/types.d.ts +4 -2
- package/dist/components/base-label/index.d.ts +2 -0
- package/dist/components/base-label/label.vue.d.ts +23 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/global.css +1 -1
- package/dist/sprite-CP6qWMMh.js +4 -0
- package/dist/sprite-ChoU5N3A.cjs +1 -0
- package/dist/ui.cjs.js +6 -2
- package/dist/ui.es.js +269 -215
- package/package.json +13 -12
|
@@ -3,31 +3,17 @@ declare let __VLS_typeProps: BaseInputProps;
|
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
'value'?: string;
|
|
5
5
|
} & typeof __VLS_typeProps;
|
|
6
|
-
declare
|
|
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, {
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
7
|
"update:value": (value: string) => any;
|
|
17
8
|
} & {
|
|
18
9
|
"update:value": (value: string) => any;
|
|
19
10
|
enter: () => any;
|
|
11
|
+
"click-link": () => any;
|
|
20
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
13
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
22
14
|
onEnter?: (() => any) | undefined;
|
|
15
|
+
"onClick-link"?: (() => any) | undefined;
|
|
23
16
|
}>, {
|
|
24
|
-
size: import('./types').BaseInputSize;
|
|
25
17
|
type: import('./types').BaseInputType;
|
|
26
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
19
|
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -5,11 +5,13 @@ export type BaseInputProps = {
|
|
|
5
5
|
name?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
label?: string;
|
|
8
|
+
header?: string;
|
|
9
|
+
subTitle?: string;
|
|
10
|
+
link?: string;
|
|
8
11
|
placeholder?: string;
|
|
9
12
|
loading?: boolean;
|
|
10
13
|
error?: string | null | void;
|
|
11
|
-
|
|
14
|
+
description?: string | null | void;
|
|
12
15
|
className?: string;
|
|
13
16
|
};
|
|
14
|
-
export type BaseInputSize = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
15
17
|
export type BaseInputType = 'text' | 'password' | 'email' | 'tel' | 'search';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: {
|
|
3
|
+
header?(_: {}): any;
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
subTitle?(_: {}): any;
|
|
6
|
+
link?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
click: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
15
|
+
onClick?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -4,7 +4,8 @@ export { BaseInput } from './base-input';
|
|
|
4
4
|
export type { BaseInputProps } from './base-input';
|
|
5
5
|
export { BaseCheckbox } from './base-checkbox';
|
|
6
6
|
export type { BaseCheckboxProps } from './base-checkbox';
|
|
7
|
-
export { BaseIcon,
|
|
7
|
+
export { BaseIcon, injectSvgSprite } from './base-icon';
|
|
8
8
|
export type { BaseIconProps } from './base-icon';
|
|
9
9
|
export { BaseLoader } from './base-loader';
|
|
10
10
|
export type { BaseLoaderSize } from './base-loader';
|
|
11
|
+
export { BaseLabel } from './base-label';
|