3h1-ui 1.2.6 → 2.0.0

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 (166) hide show
  1. package/es/{ui/types/global.d.ts → global.d.ts} +102 -102
  2. package/es/{ui/types/index.d.ts → index.d.ts} +28 -28
  3. package/es/index.js +7751 -5410
  4. package/es/style.css +853 -625
  5. package/lib/global.d.ts +102 -0
  6. package/lib/index.d.ts +28 -0
  7. package/lib/index.js +7718 -5380
  8. package/package.json +8 -6
  9. package/es/ui/index.d.ts +0 -20
  10. package/es/ui/src/Basic/index.d.ts +0 -4
  11. package/es/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
  12. package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
  13. package/es/ui/src/Button/index.d.ts +0 -5
  14. package/es/ui/src/Button/src/BasicButton.vue.d.ts +0 -2
  15. package/es/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
  16. package/es/ui/src/Button/src/props.d.ts +0 -37
  17. package/es/ui/src/ClickOutSide/index.d.ts +0 -2
  18. package/es/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
  19. package/es/ui/src/Container/index.d.ts +0 -5
  20. package/es/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
  21. package/es/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
  22. package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
  23. package/es/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
  24. package/es/ui/src/Container/src/typing.d.ts +0 -15
  25. package/es/ui/src/ContextMenu/index.d.ts +0 -3
  26. package/es/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
  27. package/es/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
  28. package/es/ui/src/ContextMenu/src/typing.d.ts +0 -33
  29. package/es/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
  30. package/es/ui/src/CountDown/index.d.ts +0 -3
  31. package/es/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
  32. package/es/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
  33. package/es/ui/src/CountDown/src/useCountdown.d.ts +0 -9
  34. package/es/ui/src/CountTo/index.d.ts +0 -2
  35. package/es/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
  36. package/es/ui/src/Cropper/index.d.ts +0 -4
  37. package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
  38. package/es/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
  39. package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -73
  40. package/es/ui/src/Cropper/src/typing.d.ts +0 -6
  41. package/es/ui/src/Description/index.d.ts +0 -4
  42. package/es/ui/src/Description/src/Description.vue.d.ts +0 -101
  43. package/es/ui/src/Description/src/typing.d.ts +0 -39
  44. package/es/ui/src/Description/src/useDescription.d.ts +0 -2
  45. package/es/ui/src/Drawer/index.d.ts +0 -3
  46. package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
  47. package/es/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
  48. package/es/ui/src/Drawer/src/props.d.ts +0 -115
  49. package/es/ui/src/Drawer/src/typing.d.ts +0 -177
  50. package/es/ui/src/Drawer/src/useDrawer.d.ts +0 -6
  51. package/es/ui/src/Dropdown/index.d.ts +0 -3
  52. package/es/ui/src/Dropdown/src/typing.d.ts +0 -9
  53. package/es/ui/src/Form/index.d.ts +0 -13
  54. package/es/ui/src/Form/src/BasicForm.vue.d.ts +0 -2
  55. package/es/ui/src/Form/src/componentMap.d.ts +0 -6
  56. package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +0 -2
  57. package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +0 -130
  58. package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +0 -11
  59. package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +0 -2
  60. package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +0 -2
  61. package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +0 -2
  62. package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +0 -2
  63. package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +0 -2
  64. package/es/ui/src/Form/src/components/FormAction.vue.d.ts +0 -2
  65. package/es/ui/src/Form/src/components/FormItem.vue.d.ts +0 -72
  66. package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +0 -35
  67. package/es/ui/src/Form/src/helper.d.ts +0 -14
  68. package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +0 -10
  69. package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +0 -3
  70. package/es/ui/src/Form/src/hooks/useForm.d.ts +0 -10
  71. package/es/ui/src/Form/src/hooks/useFormContext.d.ts +0 -8
  72. package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +0 -28
  73. package/es/ui/src/Form/src/hooks/useFormValues.d.ts +0 -13
  74. package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +0 -318
  75. package/es/ui/src/Form/src/props.d.ts +0 -2
  76. package/es/ui/src/Form/src/types/hooks.d.ts +0 -6
  77. package/es/ui/src/Icon/data/icons.data.d.ts +0 -2
  78. package/es/ui/src/Icon/index.d.ts +0 -5
  79. package/es/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
  80. package/es/ui/src/Loading/index.d.ts +0 -4
  81. package/es/ui/src/Loading/src/Loading.vue.d.ts +0 -57
  82. package/es/ui/src/Loading/src/createLoading.d.ts +0 -13
  83. package/es/ui/src/Loading/src/typing.d.ts +0 -9
  84. package/es/ui/src/Loading/src/useLoading.d.ts +0 -11
  85. package/es/ui/src/Modal/index.d.ts +0 -4
  86. package/es/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
  87. package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
  88. package/es/ui/src/Modal/src/components/Modal.d.ts +0 -10
  89. package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
  90. package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +0 -14
  91. package/es/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
  92. package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
  93. package/es/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
  94. package/es/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
  95. package/es/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
  96. package/es/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
  97. package/es/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
  98. package/es/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
  99. package/es/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
  100. package/es/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
  101. package/es/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
  102. package/es/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
  103. package/es/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
  104. package/es/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
  105. package/es/ui/src/Modal/src/props.d.ts +0 -34
  106. package/es/ui/src/Modal/src/typing.d.ts +0 -173
  107. package/es/ui/src/Modal/src/utils/index.d.ts +0 -5
  108. package/es/ui/src/Modal/src/utils/is.d.ts +0 -13
  109. package/es/ui/src/Modal/src/utils/log.d.ts +0 -2
  110. package/es/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
  111. package/es/ui/src/Page/index.d.ts +0 -4
  112. package/es/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
  113. package/es/ui/src/Scrollbar/index.d.ts +0 -6
  114. package/es/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
  115. package/es/ui/src/Scrollbar/src/bar.d.ts +0 -14
  116. package/es/ui/src/Scrollbar/src/types.d.ts +0 -18
  117. package/es/ui/src/Scrollbar/src/util.d.ts +0 -8
  118. package/es/ui/src/StrengthMeter/index.d.ts +0 -2
  119. package/es/ui/src/Table/index.d.ts +0 -11
  120. package/es/ui/src/Table/src/BasicTable.vue.d.ts +0 -2
  121. package/es/ui/src/Table/src/componentMap.d.ts +0 -6
  122. package/es/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
  123. package/es/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
  124. package/es/ui/src/Table/src/components/TableAction.vue.d.ts +0 -2
  125. package/es/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
  126. package/es/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
  127. package/es/ui/src/Table/src/components/editable/helper.d.ts +0 -5
  128. package/es/ui/src/Table/src/components/editable/index.d.ts +0 -22
  129. package/es/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
  130. package/es/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
  131. package/es/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
  132. package/es/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
  133. package/es/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
  134. package/es/ui/src/Table/src/const.d.ts +0 -22
  135. package/es/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
  136. package/es/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
  137. package/es/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
  138. package/es/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
  139. package/es/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
  140. package/es/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
  141. package/es/ui/src/Table/src/hooks/useTable.d.ts +0 -17
  142. package/es/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
  143. package/es/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
  144. package/es/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
  145. package/es/ui/src/Table/src/hooks/useTableForm.d.ts +0 -8
  146. package/es/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
  147. package/es/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
  148. package/es/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
  149. package/es/ui/src/Table/src/props.d.ts +0 -2
  150. package/es/ui/src/Table/src/types/componentType.d.ts +0 -1
  151. package/es/ui/src/Table/src/types/pagination.d.ts +0 -93
  152. package/es/ui/src/Table/src/types/table.d.ts +0 -372
  153. package/es/ui/src/Table/src/types/tableAction.d.ts +0 -28
  154. package/es/ui/src/Transition/index.d.ts +0 -368
  155. package/es/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
  156. package/es/ui/src/Transition/src/CreateTransition.d.ts +0 -47
  157. package/es/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
  158. package/es/ui/src/Tree/index.d.ts +0 -12
  159. package/es/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
  160. package/es/ui/src/Tree/src/TreeIcon.d.ts +0 -2
  161. package/es/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
  162. package/es/ui/src/Tree/src/types/tree.d.ts +0 -105
  163. package/es/ui/src/Tree/style/index.d.ts +0 -0
  164. package/es/ui/src/directives/clickOutside.d.ts +0 -3
  165. package/es/ui/src/directives/index.d.ts +0 -1
  166. package/es/ui/src/enums/sizeEnum.d.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "1.2.6",
3
+ "version": "2.0.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -17,22 +17,24 @@
17
17
  "@logicflow/core": "^1.1.31",
18
18
  "@logicflow/extension": "^1.1.31",
19
19
  "@purge-icons/generated": "^0.9.0",
20
- "@shy-plugins/use": "1.0.3",
21
- "@shy-plugins/utils": "1.0.14",
22
20
  "@vueuse/core": "^9.6.0",
23
21
  "@zxcvbn-ts/core": "^2.1.0",
24
22
  "ant-design-vue": "^3.2.13",
25
23
  "codemirror": "5.65.3",
26
24
  "cropperjs": "^1.5.13",
27
- "lodash-es": "^4.17.21",
25
+ "csstype": "^3.1.2",
26
+ "lodash-es": "^4.17.15",
28
27
  "sortablejs": "^1.15.0",
29
28
  "vite-plugin-purge-icons": "^0.9.2",
30
29
  "vue-i18n": "^9.2.2",
31
30
  "vue-json-pretty": "^2.2.3",
31
+ "vue-types": "^5.0.2",
32
32
  "vxe-table": "^4.3.6",
33
- "xe-utils": "^3.5.7"
33
+ "xe-utils": "^3.5.7",
34
+ "@shy-plugins/use": "1.0.3",
35
+ "@shy-plugins/utils": "1.0.14"
34
36
  },
35
- "types": "es/ui/index.d.ts",
37
+ "types": "lib/ui/index.d.ts",
36
38
  "devDependencies": {
37
39
  "vite-plugin-windicss": "^1.8.10",
38
40
  "windicss": "^3.5.6"
package/es/ui/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- export * from './src/Container';
2
- export * from './src/Table';
3
- export * from './src/Modal';
4
- export * from './src/Page';
5
- export * from './src/Description';
6
- export * from './src/Scrollbar';
7
- export * from './src/Dropdown';
8
- export * from './src/Drawer';
9
- export * from './src/Cropper';
10
- export * from './src/CountTo';
11
- export * from './src/CountDown';
12
- export * from './src/Container';
13
- export * from './src/ClickOutSide';
14
- export * from './src/Button';
15
- export * from './src/Basic';
16
- export * from './src/Tree';
17
- export * from './src/Icon';
18
- export * from './src/Loading';
19
- export * from './src/StrengthMeter';
20
- export * from './src/Form';
@@ -1,4 +0,0 @@
1
- import BasicArrow from './src/BasicArrow.vue';
2
- import BasicTitle from './src/BasicTitle.vue';
3
- import BasicHelp from './src/BasicHelp.vue';
4
- export { BasicTitle, BasicHelp, BasicArrow };
@@ -1,99 +0,0 @@
1
- import type { PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- /**
4
- * Help text max-width
5
- * @default: 600px
6
- */
7
- maxWidth: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- /**
12
- * Whether to display the serial number
13
- * @default: false
14
- */
15
- showIndex: {
16
- type: BooleanConstructor;
17
- };
18
- /**
19
- * Help text font color
20
- * @default: #ffffff
21
- */
22
- color: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- /**
27
- * Help text font size
28
- * @default: 14px
29
- */
30
- fontSize: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- /**
35
- * Help text list
36
- */
37
- placement: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- /**
42
- * Help text list
43
- */
44
- text: {
45
- type: PropType<string | string[]>;
46
- };
47
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
- /**
49
- * Help text max-width
50
- * @default: 600px
51
- */
52
- maxWidth: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- /**
57
- * Whether to display the serial number
58
- * @default: false
59
- */
60
- showIndex: {
61
- type: BooleanConstructor;
62
- };
63
- /**
64
- * Help text font color
65
- * @default: #ffffff
66
- */
67
- color: {
68
- type: StringConstructor;
69
- default: string;
70
- };
71
- /**
72
- * Help text font size
73
- * @default: 14px
74
- */
75
- fontSize: {
76
- type: StringConstructor;
77
- default: string;
78
- };
79
- /**
80
- * Help text list
81
- */
82
- placement: {
83
- type: StringConstructor;
84
- default: string;
85
- };
86
- /**
87
- * Help text list
88
- */
89
- text: {
90
- type: PropType<string | string[]>;
91
- };
92
- }>>, {
93
- placement: string;
94
- color: string;
95
- maxWidth: string;
96
- showIndex: boolean;
97
- fontSize: string;
98
- }>;
99
- export default _sfc_main;
@@ -1,117 +0,0 @@
1
- import type { PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- /**
4
- * Help text list or string
5
- * @default: ''
6
- */
7
- helpMessage: {
8
- type: PropType<string | string[]>;
9
- default: string;
10
- };
11
- /**
12
- * Whether the color block on the left side of the title
13
- * @default: false
14
- */
15
- span: {
16
- type: BooleanConstructor;
17
- };
18
- /**
19
- * Whether to default the text, that is, not bold
20
- * @default: false
21
- */
22
- normal: {
23
- type: BooleanConstructor;
24
- };
25
- }, {
26
- props: any;
27
- prefixCls: string;
28
- slots: Readonly<{
29
- [name: string]: import("vue").Slot;
30
- }>;
31
- getClass: import("vue").ComputedRef<(string | {
32
- [x: string]: import("vue").Slot;
33
- } | {
34
- [x: string]: boolean;
35
- })[]>;
36
- BasicHelp: import("vue").DefineComponent<{
37
- maxWidth: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- showIndex: {
42
- type: BooleanConstructor;
43
- };
44
- color: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- fontSize: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- placement: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- text: {
57
- type: PropType<string | string[]>;
58
- };
59
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
- maxWidth: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- showIndex: {
65
- type: BooleanConstructor;
66
- };
67
- color: {
68
- type: StringConstructor;
69
- default: string;
70
- };
71
- fontSize: {
72
- type: StringConstructor;
73
- default: string;
74
- };
75
- placement: {
76
- type: StringConstructor;
77
- default: string;
78
- };
79
- text: {
80
- type: PropType<string | string[]>;
81
- };
82
- }>>, {
83
- placement: string;
84
- color: string;
85
- maxWidth: string;
86
- showIndex: boolean;
87
- fontSize: string;
88
- }>;
89
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
90
- /**
91
- * Help text list or string
92
- * @default: ''
93
- */
94
- helpMessage: {
95
- type: PropType<string | string[]>;
96
- default: string;
97
- };
98
- /**
99
- * Whether the color block on the left side of the title
100
- * @default: false
101
- */
102
- span: {
103
- type: BooleanConstructor;
104
- };
105
- /**
106
- * Whether to default the text, that is, not bold
107
- * @default: false
108
- */
109
- normal: {
110
- type: BooleanConstructor;
111
- };
112
- }>>, {
113
- span: boolean;
114
- helpMessage: string | string[];
115
- normal: boolean;
116
- }>;
117
- export default _sfc_main;
@@ -1,5 +0,0 @@
1
- import BasicButton from './src/BasicButton.vue';
2
- import PopConfirmButton from './src/PopConfirmButton.vue';
3
- import { buttonProps } from './src/props';
4
- export { BasicButton as Button };
5
- export { BasicButton, PopConfirmButton, buttonProps };
@@ -1,2 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
@@ -1,24 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{
2
- /**
3
- * Whether to enable the drop-down menu
4
- * @default: true
5
- */
6
- enable: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
- [key: string]: any;
12
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
- /**
14
- * Whether to enable the drop-down menu
15
- * @default: true
16
- */
17
- enable: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- }>>, {
22
- enable: boolean;
23
- }>;
24
- export default _sfc_main;
@@ -1,37 +0,0 @@
1
- export declare const buttonProps: {
2
- color: {
3
- type: PropType<"" | "success" | "error" | "warning">;
4
- validator: (v: any) => boolean;
5
- default: string;
6
- };
7
- loading: {
8
- type: BooleanConstructor;
9
- };
10
- disabled: {
11
- type: BooleanConstructor;
12
- };
13
- /**
14
- * Text before icon.
15
- */
16
- preIcon: {
17
- type: StringConstructor;
18
- };
19
- /**
20
- * Text after icon.
21
- */
22
- postIcon: {
23
- type: StringConstructor;
24
- };
25
- /**
26
- * preIcon and postIcon icon size.
27
- * @default: 14
28
- */
29
- iconSize: {
30
- type: NumberConstructor;
31
- default: number;
32
- };
33
- onClick: {
34
- type: PropType<(...args: any[]) => any>;
35
- default: any;
36
- };
37
- };
@@ -1,2 +0,0 @@
1
- import ClickOutSide from './src/ClickOutSide.vue';
2
- export { ClickOutSide };
@@ -1,8 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
2
- emit: (event: "mounted" | "clickOutside", ...args: any[]) => void;
3
- wrap: import("vue").Ref<HTMLDivElement>;
4
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mounted" | "clickOutside")[], "mounted" | "clickOutside", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
5
- onMounted?: (...args: any[]) => any;
6
- onClickOutside?: (...args: any[]) => any;
7
- }, {}>;
8
- export default _sfc_main;
@@ -1,5 +0,0 @@
1
- import CollapseContainer from './src/collapse/CollapseContainer.vue';
2
- import ScrollContainer from './src/ScrollContainer.vue';
3
- import LazyContainer from './src/LazyContainer.vue';
4
- export { LazyContainer, ScrollContainer, CollapseContainer };
5
- export * from './src/typing';
@@ -1,121 +0,0 @@
1
- import type { PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- /**
4
- * Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
5
- */
6
- timeout: {
7
- type: NumberConstructor;
8
- };
9
- /**
10
- * The viewport where the component is located.
11
- * If the component is scrolling in the page container, the viewport is the container
12
- */
13
- viewport: {
14
- type: PropType<HTMLElement>;
15
- default: () => any;
16
- };
17
- /**
18
- * Preload threshold, css unit
19
- */
20
- threshold: {
21
- type: StringConstructor;
22
- default: string;
23
- };
24
- /**
25
- * The scroll direction of the viewport, vertical represents the vertical direction, horizontal represents the horizontal direction
26
- */
27
- direction: {
28
- type: StringConstructor;
29
- default: string;
30
- validator: (v: any) => boolean;
31
- };
32
- /**
33
- * The label name of the outer container that wraps the component
34
- */
35
- tag: {
36
- type: StringConstructor;
37
- default: string;
38
- };
39
- maxWaitingTime: {
40
- type: NumberConstructor;
41
- default: number;
42
- };
43
- /**
44
- * transition name
45
- */
46
- transitionName: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- }, {
51
- isInit: import("vue").Ref<boolean>;
52
- loading: import("vue").Ref<boolean>;
53
- intersectionObserverInstance: import("vue").Ref<{
54
- readonly root: Document | Element;
55
- readonly rootMargin: string;
56
- readonly thresholds: readonly number[];
57
- disconnect: () => void;
58
- observe: (target: Element) => void;
59
- takeRecords: () => IntersectionObserverEntry[];
60
- unobserve: (target: Element) => void;
61
- }>;
62
- elRef: import("vue").Ref<any>;
63
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "init"[], "init", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
64
- /**
65
- * Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
66
- */
67
- timeout: {
68
- type: NumberConstructor;
69
- };
70
- /**
71
- * The viewport where the component is located.
72
- * If the component is scrolling in the page container, the viewport is the container
73
- */
74
- viewport: {
75
- type: PropType<HTMLElement>;
76
- default: () => any;
77
- };
78
- /**
79
- * Preload threshold, css unit
80
- */
81
- threshold: {
82
- type: StringConstructor;
83
- default: string;
84
- };
85
- /**
86
- * The scroll direction of the viewport, vertical represents the vertical direction, horizontal represents the horizontal direction
87
- */
88
- direction: {
89
- type: StringConstructor;
90
- default: string;
91
- validator: (v: any) => boolean;
92
- };
93
- /**
94
- * The label name of the outer container that wraps the component
95
- */
96
- tag: {
97
- type: StringConstructor;
98
- default: string;
99
- };
100
- maxWaitingTime: {
101
- type: NumberConstructor;
102
- default: number;
103
- };
104
- /**
105
- * transition name
106
- */
107
- transitionName: {
108
- type: StringConstructor;
109
- default: string;
110
- };
111
- }>> & {
112
- onInit?: (...args: any[]) => any;
113
- }, {
114
- threshold: string;
115
- transitionName: string;
116
- direction: string;
117
- viewport: HTMLElement;
118
- tag: string;
119
- maxWaitingTime: number;
120
- }>;
121
- export default _sfc_main;
@@ -1,9 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
2
- scrollbarRef: import("vue").Ref<{
3
- wrap: HTMLDivElement;
4
- }>;
5
- scrollTo: (to: number, duration?: number) => void;
6
- scrollBottom: () => void;
7
- getScrollWrap: () => HTMLDivElement;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
9
- export default _sfc_main;