@nutui/nutui 4.0.0-beta.23 → 4.0.0-beta.24

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 (120) hide show
  1. package/dist/nutui.es.js +1 -1
  2. package/dist/nutui.umd.js +2 -2
  3. package/dist/packages/_es/Badge.js +2 -2
  4. package/dist/packages/_es/Cascader.js +1 -1
  5. package/dist/packages/_es/InputNumber.js +4 -4
  6. package/dist/packages/_es/Overlay.js +10 -4
  7. package/dist/packages/_es/Tabs.js +3 -3
  8. package/dist/packages/ecard/index.scss +19 -5
  9. package/dist/packages/inputnumber/index.scss +6 -0
  10. package/dist/packages/tabbaritem/index.scss +2 -0
  11. package/dist/packages/tour/index.scss +3 -0
  12. package/dist/smartips/web-types.json +15 -6
  13. package/dist/style.css +1 -1
  14. package/dist/styles/themes/default.scss +53 -53
  15. package/dist/styles/themes/jdb.scss +53 -53
  16. package/dist/styles/themes/jddkh.scss +53 -53
  17. package/dist/styles/themes/jdt.scss +53 -53
  18. package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +310 -0
  19. package/dist/types/__VUE/address/index.taro.vue.d.ts +397 -0
  20. package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +60 -0
  21. package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +23 -0
  22. package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
  23. package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
  24. package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
  25. package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
  26. package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
  27. package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
  28. package/dist/types/__VUE/barrage/index.taro.vue.d.ts +80 -0
  29. package/dist/types/__VUE/button/index.taro.vue.d.ts +90 -0
  30. package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
  31. package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
  32. package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
  33. package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
  34. package/dist/types/__VUE/cascader/index.taro.vue.d.ts +263 -0
  35. package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
  36. package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
  37. package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
  38. package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
  39. package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
  40. package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
  41. package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
  42. package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +42 -0
  43. package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +27 -0
  44. package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +59 -0
  45. package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
  46. package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
  47. package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
  48. package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
  49. package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
  50. package/dist/types/__VUE/dialog/index.taro.vue.d.ts +345 -0
  51. package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
  52. package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
  53. package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
  54. package/dist/types/__VUE/elevator/index.taro.vue.d.ts +117 -0
  55. package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
  56. package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
  57. package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
  58. package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
  59. package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
  60. package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
  61. package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
  62. package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
  63. package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
  64. package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +163 -0
  65. package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
  66. package/dist/types/__VUE/input/index.taro.vue.d.ts +224 -0
  67. package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
  68. package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
  69. package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
  70. package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
  71. package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
  72. package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
  73. package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
  74. package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +207 -0
  75. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
  76. package/dist/types/__VUE/notify/index.taro.vue.d.ts +110 -0
  77. package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
  78. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
  79. package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
  80. package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
  81. package/dist/types/__VUE/popover/index.taro.vue.d.ts +192 -0
  82. package/dist/types/__VUE/popup/index.taro.vue.d.ts +219 -0
  83. package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
  84. package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
  85. package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
  86. package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
  87. package/dist/types/__VUE/rate/index.taro.vue.d.ts +121 -0
  88. package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
  89. package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
  90. package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
  91. package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
  92. package/dist/types/__VUE/signature/index.taro.vue.d.ts +84 -0
  93. package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
  94. package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +28 -0
  95. package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +56 -0
  96. package/dist/types/__VUE/sku/index.taro.vue.d.ts +146 -0
  97. package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
  98. package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
  99. package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +53 -0
  100. package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
  101. package/dist/types/__VUE/swiper/index.taro.vue.d.ts +168 -0
  102. package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
  103. package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
  104. package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
  105. package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
  106. package/dist/types/__VUE/table/index.taro.vue.d.ts +80 -0
  107. package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
  108. package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
  109. package/dist/types/__VUE/textarea/index.taro.vue.d.ts +127 -0
  110. package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +38 -0
  111. package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
  112. package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
  113. package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
  114. package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
  115. package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
  116. package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
  117. package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
  118. package/dist/types/index.d.ts +1 -1
  119. package/dist/types/nutui.taro.vue.build.d.ts +106 -0
  120. package/package.json +2 -1
@@ -0,0 +1,108 @@
1
+
2
+ declare type Install<T> = T & {
3
+ install(app: import('vue').App): void;
4
+ };
5
+ declare const _default: Install< import("vue").DefineComponent<{
6
+ modelValue: {
7
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
8
+ default: boolean;
9
+ };
10
+ disable: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ activeColor: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ inactiveColor: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ activeText: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ inactiveText: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ activeValue: {
31
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
32
+ default: boolean;
33
+ };
34
+ inactiveValue: {
35
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
36
+ default: boolean;
37
+ };
38
+ loading: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }, {
43
+ classes: import("vue").ComputedRef<{
44
+ [x: string]: boolean;
45
+ }>;
46
+ style: import("vue").ComputedRef<{
47
+ backgroundColor: string;
48
+ }>;
49
+ onClick: (event: Event) => void;
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:loading")[], "change" | "update:modelValue" | "update:loading", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ modelValue: {
52
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
53
+ default: boolean;
54
+ };
55
+ disable: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ activeColor: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ inactiveColor: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ activeText: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ inactiveText: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ activeValue: {
76
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
77
+ default: boolean;
78
+ };
79
+ inactiveValue: {
80
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
81
+ default: boolean;
82
+ };
83
+ loading: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ }>> & {
88
+ onChange?: ((...args: any[]) => any) | undefined;
89
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
+ "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
91
+ }, {
92
+ disable: boolean;
93
+ loading: boolean;
94
+ modelValue: string | number | boolean;
95
+ activeColor: string;
96
+ activeText: string;
97
+ inactiveColor: string;
98
+ inactiveText: string;
99
+ activeValue: string | number | boolean;
100
+ inactiveValue: string | number | boolean;
101
+ }>>;
102
+ export default _default;
103
+
104
+ declare module 'vue' {
105
+ interface GlobalComponents {
106
+ NutSwitch: typeof _default;
107
+ }
108
+ }
@@ -0,0 +1,93 @@
1
+
2
+ declare type Install<T> = T & {
3
+ install(app: import('vue').App): void;
4
+ };
5
+ declare const _default: Install< import("vue").DefineComponent<{
6
+ modelValue: {
7
+ type: (NumberConstructor | StringConstructor)[];
8
+ default: number;
9
+ };
10
+ bottom: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ type: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ size: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ unactiveColor: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ activeColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ safeAreaInsetBottom: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ placeholder: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }, {
39
+ changeIndex: (index: number, active: number | string) => void;
40
+ height: import("vue").Ref<any>;
41
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "tab-switch")[], "update:modelValue" | "tab-switch", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ modelValue: {
43
+ type: (NumberConstructor | StringConstructor)[];
44
+ default: number;
45
+ };
46
+ bottom: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ type: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ size: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ unactiveColor: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ activeColor: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ safeAreaInsetBottom: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ placeholder: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ }>> & {
75
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76
+ "onTab-switch"?: ((...args: any[]) => any) | undefined;
77
+ }, {
78
+ bottom: boolean;
79
+ type: string;
80
+ size: string;
81
+ safeAreaInsetBottom: boolean;
82
+ modelValue: string | number;
83
+ activeColor: string;
84
+ placeholder: boolean;
85
+ unactiveColor: string;
86
+ }>>;
87
+ export default _default;
88
+
89
+ declare module 'vue' {
90
+ interface GlobalComponents {
91
+ NutTabbar: typeof _default;
92
+ }
93
+ }
@@ -0,0 +1,59 @@
1
+ import { Component, PropType } from 'vue';
2
+
3
+ declare type Install<T> = T & {
4
+ install(app: import('vue').App): void;
5
+ };
6
+ declare const _default: Install< import("vue").DefineComponent<{
7
+ tabTitle: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ name: {
12
+ type: StringConstructor;
13
+ };
14
+ icon: {
15
+ type: PropType<Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
16
+ };
17
+ href: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ }, {
22
+ state: {
23
+ unactiveColor: any;
24
+ activeColor: any;
25
+ active: any;
26
+ index: number;
27
+ };
28
+ active: import("vue").ComputedRef<boolean>;
29
+ isHaveSlot: (slot: string) => import("vue").Slot | undefined;
30
+ renderIcon: (icon: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>;
33
+ change: () => void;
34
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ tabTitle: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ name: {
40
+ type: StringConstructor;
41
+ };
42
+ icon: {
43
+ type: PropType<Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
44
+ };
45
+ href: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ }>>, {
50
+ tabTitle: string;
51
+ href: string;
52
+ }>>;
53
+ export default _default;
54
+
55
+ declare module 'vue' {
56
+ interface GlobalComponents {
57
+ NutTabbarItem: typeof _default;
58
+ }
59
+ }
@@ -0,0 +1,80 @@
1
+ import { PropType } from 'vue';
2
+ import { TableColumnProps } from './types';
3
+
4
+ declare type Install<T> = T & {
5
+ install(app: import('vue').App): void;
6
+ };
7
+ declare const _default: Install< import("vue").DefineComponent<{
8
+ bordered: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ columns: {
13
+ type: PropType<TableColumnProps[]>;
14
+ default: () => never[];
15
+ };
16
+ data: {
17
+ type: ObjectConstructor;
18
+ default: () => {};
19
+ };
20
+ summary: {
21
+ type: FunctionConstructor;
22
+ default: null;
23
+ };
24
+ striped: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ }, {
29
+ classes: import("vue").ComputedRef<{
30
+ [x: string]: boolean;
31
+ }>;
32
+ cellClasses: (item: TableColumnProps) => {
33
+ [x: string]: any;
34
+ 'nut-table__main__head__tr--border': any;
35
+ };
36
+ getColumnItem: (value: string) => TableColumnProps;
37
+ getColumnItemStyle: (value: string) => any;
38
+ handleSorterClick: (item: TableColumnProps) => void;
39
+ sortDataItem: () => any;
40
+ translate: (keyPath: string, ...args: unknown[]) => string;
41
+ stylehead: (item: TableColumnProps) => string;
42
+ stylecolumn: (item: TableColumnProps) => string;
43
+ curData: import("vue").Ref<any>;
44
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "sorter"[], "sorter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
+ bordered: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ columns: {
50
+ type: PropType<TableColumnProps[]>;
51
+ default: () => never[];
52
+ };
53
+ data: {
54
+ type: ObjectConstructor;
55
+ default: () => {};
56
+ };
57
+ summary: {
58
+ type: FunctionConstructor;
59
+ default: null;
60
+ };
61
+ striped: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ }>> & {
66
+ onSorter?: ((...args: any[]) => any) | undefined;
67
+ }, {
68
+ data: Record<string, any>;
69
+ summary: Function;
70
+ columns: TableColumnProps[];
71
+ bordered: boolean;
72
+ striped: boolean;
73
+ }>>;
74
+ export default _default;
75
+
76
+ declare module 'vue' {
77
+ interface GlobalComponents {
78
+ NutTable: typeof _default;
79
+ }
80
+ }
@@ -0,0 +1,164 @@
1
+ import { VNode, Ref } from 'vue';
2
+ export declare class Title {
3
+ title: string;
4
+ titleSlot?: VNode[];
5
+ paneKey: string;
6
+ disabled: boolean;
7
+ constructor();
8
+ }
9
+ export type TabsSize = 'large' | 'normal' | 'small';
10
+
11
+ declare type Install<T> = T & {
12
+ install(app: import('vue').App): void;
13
+ };
14
+ declare const _default: Install< import("vue").DefineComponent<{
15
+ modelValue: {
16
+ type: (NumberConstructor | StringConstructor)[];
17
+ default: number;
18
+ };
19
+ color: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ direction: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ size: {
28
+ type: import("vue").PropType<TabsSize>;
29
+ default: string;
30
+ };
31
+ type: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ titleScroll: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ ellipsis: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ autoHeight: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ background: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ animatedTime: {
52
+ type: (NumberConstructor | StringConstructor)[];
53
+ default: number;
54
+ };
55
+ titleGutter: {
56
+ type: (NumberConstructor | StringConstructor)[];
57
+ default: number;
58
+ };
59
+ sticky: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ top: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ };
67
+ }, {
68
+ tabChange: (item: Title, index: number) => void;
69
+ titles: Ref<Title[]>;
70
+ contentStyle: import("vue").ComputedRef<{
71
+ transform: string;
72
+ transitionDuration: string;
73
+ }>;
74
+ tabsNavStyle: import("vue").ComputedRef<{
75
+ background: any;
76
+ }>;
77
+ titleStyle: import("vue").ComputedRef<{
78
+ marginLeft: string;
79
+ marginRight: string;
80
+ }>;
81
+ tabsActiveStyle: import("vue").ComputedRef<{
82
+ color: any;
83
+ background: any;
84
+ }>;
85
+ container: Ref<null>;
86
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change" | "update:modelValue")[], "click" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
87
+ modelValue: {
88
+ type: (NumberConstructor | StringConstructor)[];
89
+ default: number;
90
+ };
91
+ color: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ direction: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ size: {
100
+ type: import("vue").PropType<TabsSize>;
101
+ default: string;
102
+ };
103
+ type: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ titleScroll: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ ellipsis: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ autoHeight: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ background: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ animatedTime: {
124
+ type: (NumberConstructor | StringConstructor)[];
125
+ default: number;
126
+ };
127
+ titleGutter: {
128
+ type: (NumberConstructor | StringConstructor)[];
129
+ default: number;
130
+ };
131
+ sticky: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ top: {
136
+ type: NumberConstructor;
137
+ default: number;
138
+ };
139
+ }>> & {
140
+ onClick?: ((...args: any[]) => any) | undefined;
141
+ onChange?: ((...args: any[]) => any) | undefined;
142
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
143
+ }, {
144
+ type: string;
145
+ color: string;
146
+ top: number;
147
+ ellipsis: boolean;
148
+ size: TabsSize;
149
+ sticky: boolean;
150
+ modelValue: string | number;
151
+ background: string;
152
+ direction: string;
153
+ titleScroll: boolean;
154
+ autoHeight: boolean;
155
+ animatedTime: string | number;
156
+ titleGutter: string | number;
157
+ }>>;
158
+ export default _default;
159
+
160
+ declare module 'vue' {
161
+ interface GlobalComponents {
162
+ NutTabs: typeof _default;
163
+ }
164
+ }
@@ -0,0 +1,90 @@
1
+ import { PropType, CSSProperties } from 'vue';
2
+ export type TagType = 'primary' | 'success' | 'danger' | 'warning';
3
+
4
+ declare type Install<T> = T & {
5
+ install(app: import('vue').App): void;
6
+ };
7
+ declare const _default: Install< import("vue").DefineComponent<{
8
+ color: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ textColor: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ type: {
17
+ type: PropType<TagType>;
18
+ default: string;
19
+ };
20
+ plain: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ round: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ mark: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ closeable: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ }, {
37
+ classes: import("vue").ComputedRef<{
38
+ [x: string]: boolean | TagType;
39
+ }>;
40
+ getStyle: () => CSSProperties;
41
+ onClose: (event: MouseEvent) => void;
42
+ onClick: (event: MouseEvent) => void;
43
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click")[], "close" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ color: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ textColor: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ type: {
53
+ type: PropType<TagType>;
54
+ default: string;
55
+ };
56
+ plain: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ round: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ mark: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ closeable: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ }>> & {
73
+ onClick?: ((...args: any[]) => any) | undefined;
74
+ onClose?: ((...args: any[]) => any) | undefined;
75
+ }, {
76
+ mark: boolean;
77
+ round: boolean;
78
+ type: TagType;
79
+ color: string;
80
+ closeable: boolean;
81
+ plain: boolean;
82
+ textColor: string;
83
+ }>>;
84
+ export default _default;
85
+
86
+ declare module 'vue' {
87
+ interface GlobalComponents {
88
+ NutTag: typeof _default;
89
+ }
90
+ }