@tb-dev/vue-components 4.1.0 → 5.0.1
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/input/Input.vue.d.ts +3 -2
- package/dist/components/__base/textarea/Textarea.vue.d.ts +3 -2
- package/dist/components/card/index.d.ts +1 -3
- package/dist/components/checkbox/index.d.ts +1 -4
- package/dist/components/index.d.ts +1 -5
- package/dist/components/input/index.d.ts +1 -3
- package/dist/components/number-field/index.d.ts +1 -0
- package/dist/components/select/index.d.ts +1 -4
- package/dist/components/switch/index.d.ts +1 -3
- package/dist/components/table/Table.vue.d.ts +0 -6
- package/dist/components/table/index.d.ts +1 -2
- package/dist/components/table/types.d.ts +0 -13
- package/dist/components/textarea/index.d.ts +1 -3
- package/dist/index.js +631 -1289
- package/package.json +4 -4
- package/dist/components/button-icon/ButtonIcon.vue.d.ts +0 -19
- package/dist/components/button-icon/index.d.ts +0 -3
- package/dist/components/button-icon/types.d.ts +0 -9
- package/dist/components/button-link/ButtonLink.vue.d.ts +0 -19
- package/dist/components/button-link/ButtonLinkInner.vue.d.ts +0 -21
- package/dist/components/button-link/index.d.ts +0 -3
- package/dist/components/button-link/types.d.ts +0 -14
- package/dist/components/card/Card.vue.d.ts +0 -29
- package/dist/components/card/types.d.ts +0 -10
- package/dist/components/checkbox/Checkbox.vue.d.ts +0 -11
- package/dist/components/checkbox/types.d.ts +0 -6
- package/dist/components/checkbox/utils.d.ts +0 -3
- package/dist/components/dialog/types.d.ts +0 -8
- package/dist/components/input/Input.vue.d.ts +0 -39
- package/dist/components/input/types.d.ts +0 -19
- package/dist/components/input-number/InputNumber.vue.d.ts +0 -9
- package/dist/components/input-number/index.d.ts +0 -3
- package/dist/components/input-number/types.d.ts +0 -18
- package/dist/components/input-text/InputText.vue.d.ts +0 -70
- package/dist/components/input-text/index.d.ts +0 -3
- package/dist/components/input-text/types.d.ts +0 -16
- package/dist/components/link/Link.vue.d.ts +0 -19
- package/dist/components/link/index.d.ts +0 -3
- package/dist/components/link/types.d.ts +0 -4
- package/dist/components/select/Select.vue.d.ts +0 -27
- package/dist/components/select/types.d.ts +0 -14
- package/dist/components/switch/Switch.vue.d.ts +0 -31
- package/dist/components/switch/types.d.ts +0 -3
- package/dist/components/table/TableLink.vue.d.ts +0 -19
- package/dist/components/textarea/Textarea.vue.d.ts +0 -37
- package/dist/components/textarea/types.d.ts +0 -22
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { Option } from '@tb-dev/utils';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
defaultValue?: string | number
|
|
4
|
-
modelValue?: string | number
|
|
4
|
+
defaultValue?: Option<string | number>;
|
|
5
|
+
modelValue?: Option<string | number>;
|
|
5
6
|
class?: HTMLAttributes['class'];
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { Option } from '@tb-dev/utils';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
class?: HTMLAttributes['class'];
|
|
4
|
-
defaultValue?: string | number
|
|
5
|
-
modelValue?: string | number
|
|
5
|
+
defaultValue?: Option<string | number>;
|
|
6
|
+
modelValue?: Option<string | number>;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
9
|
"update:modelValue": (payload: string | number) => any;
|
|
@@ -4,8 +4,6 @@ export * from './alert-dialog';
|
|
|
4
4
|
export * from './avatar';
|
|
5
5
|
export * from './badge';
|
|
6
6
|
export * from './button';
|
|
7
|
-
export * from './button-icon';
|
|
8
|
-
export * from './button-link';
|
|
9
7
|
export * from './card';
|
|
10
8
|
export * from './calendar';
|
|
11
9
|
export * from './checkbox';
|
|
@@ -17,13 +15,11 @@ export * from './drawer';
|
|
|
17
15
|
export * from './dropdown-menu';
|
|
18
16
|
export * from './hover-card';
|
|
19
17
|
export * from './input';
|
|
20
|
-
export * from './input-number';
|
|
21
|
-
export * from './input-text';
|
|
22
18
|
export * from './label';
|
|
23
|
-
export * from './link';
|
|
24
19
|
export * from './loading';
|
|
25
20
|
export * from './menubar';
|
|
26
21
|
export * from './navigation-menu';
|
|
22
|
+
export * from './number-field';
|
|
27
23
|
export * from './pagination';
|
|
28
24
|
export * from './popover';
|
|
29
25
|
export * from './progress';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NumberField, NumberFieldContent, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, } from '../__base/number-field';
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export type * from './types';
|
|
3
|
-
export { Select };
|
|
4
|
-
export { SelectGroup, SelectItem, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, } from '../__base/select';
|
|
1
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from '../__base/select';
|
|
@@ -3,15 +3,9 @@ import { VNode } from 'vue';
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: Readonly<{
|
|
6
|
-
caption?: () => VNode;
|
|
7
6
|
default: () => VNode;
|
|
8
|
-
footer?: () => VNode;
|
|
9
|
-
header?: () => VNode;
|
|
10
7
|
}> & {
|
|
11
|
-
caption?: () => VNode;
|
|
12
8
|
default: () => VNode;
|
|
13
|
-
footer?: () => VNode;
|
|
14
|
-
header?: () => VNode;
|
|
15
9
|
};
|
|
16
10
|
refs: {};
|
|
17
11
|
rootEl: HTMLDivElement;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as Table } from './Table.vue';
|
|
2
|
-
import { default as TableLink } from './TableLink.vue';
|
|
3
2
|
export type * from './types';
|
|
4
|
-
export { Table
|
|
3
|
+
export { Table };
|
|
5
4
|
export { TableBody, TableCaption, TableCell, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, } from '../__base/table';
|
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'vue';
|
|
2
2
|
export interface TableProps {
|
|
3
|
-
bodyClass?: HTMLAttributes['class'];
|
|
4
|
-
bodyStyle?: HTMLAttributes['style'];
|
|
5
|
-
captionClass?: HTMLAttributes['class'];
|
|
6
|
-
captionStyle?: HTMLAttributes['style'];
|
|
7
3
|
class?: HTMLAttributes['class'];
|
|
8
|
-
footerClass?: HTMLAttributes['class'];
|
|
9
|
-
footerStyle?: HTMLAttributes['style'];
|
|
10
|
-
headerClass?: HTMLAttributes['class'];
|
|
11
|
-
headerStyle?: HTMLAttributes['style'];
|
|
12
4
|
height?: number | string;
|
|
13
5
|
style?: HTMLAttributes['style'];
|
|
14
6
|
tableClass?: HTMLAttributes['class'];
|
|
15
7
|
tableStyle?: HTMLAttributes['style'];
|
|
16
8
|
width?: number | string;
|
|
17
9
|
}
|
|
18
|
-
export interface TableLinkProps<T extends string> {
|
|
19
|
-
label?: string;
|
|
20
|
-
linkClass?: HTMLAttributes['class'];
|
|
21
|
-
to: T;
|
|
22
|
-
}
|