3h1-ui 1.2.0 → 1.2.2

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 (144) hide show
  1. package/es/index.js +7 -9
  2. package/es/ui/src/Button/index.d.ts +1 -48
  3. package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +1 -1
  4. package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -55
  5. package/es/ui/src/Drawer/index.d.ts +0 -1
  6. package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
  7. package/es/ui/src/Modal/index.d.ts +4 -0
  8. package/es/ui/src/Modal/src/components/Modal.d.ts +10 -0
  9. package/es/ui/src/Modal/src/components/ModalClose.vue.d.ts +1 -1
  10. package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +14 -0
  11. package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
  12. package/es/ui/src/Modal/src/props.d.ts +34 -0
  13. package/es/ui/src/Table/src/props.d.ts +2 -0
  14. package/lib/index.js +5 -7
  15. package/package.json +2 -2
  16. package/lib/ui/index.d.ts +0 -20
  17. package/lib/ui/src/Basic/index.d.ts +0 -4
  18. package/lib/ui/src/Basic/src/BasicHelp.vue.d.ts +0 -99
  19. package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +0 -117
  20. package/lib/ui/src/Button/index.d.ts +0 -51
  21. package/lib/ui/src/Button/src/PopConfirmButton.vue.d.ts +0 -24
  22. package/lib/ui/src/Button/src/props.d.ts +0 -37
  23. package/lib/ui/src/ClickOutSide/index.d.ts +0 -2
  24. package/lib/ui/src/ClickOutSide/src/ClickOutSide.vue.d.ts +0 -8
  25. package/lib/ui/src/Container/index.d.ts +0 -5
  26. package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +0 -121
  27. package/lib/ui/src/Container/src/ScrollContainer.vue.d.ts +0 -9
  28. package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +0 -553
  29. package/lib/ui/src/Container/src/collapse/CollapseHeader.vue.d.ts +0 -42
  30. package/lib/ui/src/Container/src/typing.d.ts +0 -15
  31. package/lib/ui/src/ContextMenu/index.d.ts +0 -3
  32. package/lib/ui/src/ContextMenu/src/ContextMenu.vue.d.ts +0 -64
  33. package/lib/ui/src/ContextMenu/src/createContextMenu.d.ts +0 -3
  34. package/lib/ui/src/ContextMenu/src/typing.d.ts +0 -33
  35. package/lib/ui/src/ContextMenu/src/useContextMenu.d.ts +0 -3
  36. package/lib/ui/src/CountDown/index.d.ts +0 -3
  37. package/lib/ui/src/CountDown/src/CountButton.vue.d.ts +0 -35
  38. package/lib/ui/src/CountDown/src/CountdownInput.vue.d.ts +0 -41
  39. package/lib/ui/src/CountDown/src/useCountdown.d.ts +0 -9
  40. package/lib/ui/src/CountTo/index.d.ts +0 -2
  41. package/lib/ui/src/CountTo/src/CountTo.vue.d.ts +0 -137
  42. package/lib/ui/src/Cropper/index.d.ts +0 -4
  43. package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +0 -39
  44. package/lib/ui/src/Cropper/src/Cropper.vue.d.ts +0 -87
  45. package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +0 -125
  46. package/lib/ui/src/Cropper/src/typing.d.ts +0 -6
  47. package/lib/ui/src/Description/index.d.ts +0 -4
  48. package/lib/ui/src/Description/src/Description.vue.d.ts +0 -101
  49. package/lib/ui/src/Description/src/typing.d.ts +0 -39
  50. package/lib/ui/src/Description/src/useDescription.d.ts +0 -2
  51. package/lib/ui/src/Drawer/index.d.ts +0 -4
  52. package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +0 -170
  53. package/lib/ui/src/Drawer/src/components/DrawerFooter.vue.d.ts +0 -95
  54. package/lib/ui/src/Drawer/src/props.d.ts +0 -115
  55. package/lib/ui/src/Drawer/src/typing.d.ts +0 -177
  56. package/lib/ui/src/Drawer/src/useDrawer.d.ts +0 -6
  57. package/lib/ui/src/Dropdown/index.d.ts +0 -3
  58. package/lib/ui/src/Dropdown/src/typing.d.ts +0 -9
  59. package/lib/ui/src/Icon/data/icons.data.d.ts +0 -2
  60. package/lib/ui/src/Icon/index.d.ts +0 -5
  61. package/lib/ui/src/Icon/src/SvgIcon.vue.d.ts +0 -45
  62. package/lib/ui/src/Loading/index.d.ts +0 -4
  63. package/lib/ui/src/Loading/src/Loading.vue.d.ts +0 -57
  64. package/lib/ui/src/Loading/src/createLoading.d.ts +0 -13
  65. package/lib/ui/src/Loading/src/typing.d.ts +0 -9
  66. package/lib/ui/src/Loading/src/useLoading.d.ts +0 -11
  67. package/lib/ui/src/Modal/src/components/BasicHelp.vue.d.ts +0 -99
  68. package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +0 -117
  69. package/lib/ui/src/Modal/src/components/ModalClose.vue.d.ts +0 -39
  70. package/lib/ui/src/Modal/src/components/ModalHeader.vue.d.ts +0 -19
  71. package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +0 -95
  72. package/lib/ui/src/Modal/src/components/ScrollContainer.vue.d.ts +0 -9
  73. package/lib/ui/src/Modal/src/hooks/useAttrs.d.ts +0 -9
  74. package/lib/ui/src/Modal/src/hooks/useContext.d.ts +0 -10
  75. package/lib/ui/src/Modal/src/hooks/useDesign.d.ts +0 -22
  76. package/lib/ui/src/Modal/src/hooks/useI18n.d.ts +0 -15
  77. package/lib/ui/src/Modal/src/hooks/useModal.d.ts +0 -6
  78. package/lib/ui/src/Modal/src/hooks/useModalContext.d.ts +0 -7
  79. package/lib/ui/src/Modal/src/hooks/useModalDrag.d.ts +0 -7
  80. package/lib/ui/src/Modal/src/hooks/useModalFullScreen.d.ts +0 -11
  81. package/lib/ui/src/Modal/src/hooks/useScrollTo.d.ts +0 -10
  82. package/lib/ui/src/Modal/src/hooks/useTimeout.d.ts +0 -10
  83. package/lib/ui/src/Modal/src/hooks/useWindowSizeFn.d.ts +0 -7
  84. package/lib/ui/src/Modal/src/typing.d.ts +0 -173
  85. package/lib/ui/src/Modal/src/utils/index.d.ts +0 -5
  86. package/lib/ui/src/Modal/src/utils/is.d.ts +0 -13
  87. package/lib/ui/src/Modal/src/utils/log.d.ts +0 -2
  88. package/lib/ui/src/Modal/src/utils/tsxHelper.d.ts +0 -13
  89. package/lib/ui/src/Page/index.d.ts +0 -4
  90. package/lib/ui/src/Page/src/PageFooter.vue.d.ts +0 -5
  91. package/lib/ui/src/Scrollbar/index.d.ts +0 -6
  92. package/lib/ui/src/Scrollbar/src/Scrollbar.vue.d.ts +0 -72
  93. package/lib/ui/src/Scrollbar/src/bar.d.ts +0 -14
  94. package/lib/ui/src/Scrollbar/src/types.d.ts +0 -18
  95. package/lib/ui/src/Scrollbar/src/util.d.ts +0 -8
  96. package/lib/ui/src/StrengthMeter/index.d.ts +0 -2
  97. package/lib/ui/src/Table/index.d.ts +0 -11
  98. package/lib/ui/src/Table/src/componentMap.d.ts +0 -6
  99. package/lib/ui/src/Table/src/components/EditTableHeaderIcon.vue.d.ts +0 -14
  100. package/lib/ui/src/Table/src/components/HeaderCell.vue.d.ts +0 -21
  101. package/lib/ui/src/Table/src/components/TableHeader.vue.d.ts +0 -40
  102. package/lib/ui/src/Table/src/components/editable/CellComponent.d.ts +0 -10
  103. package/lib/ui/src/Table/src/components/editable/helper.d.ts +0 -5
  104. package/lib/ui/src/Table/src/components/editable/index.d.ts +0 -22
  105. package/lib/ui/src/Table/src/components/settings/ColumnSetting.vue.d.ts +0 -29
  106. package/lib/ui/src/Table/src/components/settings/FullScreenSetting.vue.d.ts +0 -6
  107. package/lib/ui/src/Table/src/components/settings/ShowSearchSetting.vue.d.ts +0 -5
  108. package/lib/ui/src/Table/src/components/settings/SizeSetting.vue.d.ts +0 -11
  109. package/lib/ui/src/Table/src/components/settings/index.vue.d.ts +0 -23
  110. package/lib/ui/src/Table/src/const.d.ts +0 -22
  111. package/lib/ui/src/Table/src/hooks/useCustomRow.d.ts +0 -19
  112. package/lib/ui/src/Table/src/hooks/useDataSource.d.ts +0 -28
  113. package/lib/ui/src/Table/src/hooks/useLoading.d.ts +0 -6
  114. package/lib/ui/src/Table/src/hooks/usePagination.d.ts +0 -10
  115. package/lib/ui/src/Table/src/hooks/useRowSelection.d.ts +0 -12
  116. package/lib/ui/src/Table/src/hooks/useScrollTo.d.ts +0 -4
  117. package/lib/ui/src/Table/src/hooks/useTable.d.ts +0 -17
  118. package/lib/ui/src/Table/src/hooks/useTableContext.d.ts +0 -13
  119. package/lib/ui/src/Table/src/hooks/useTableExpand.d.ts +0 -14
  120. package/lib/ui/src/Table/src/hooks/useTableFooter.d.ts +0 -9
  121. package/lib/ui/src/Table/src/hooks/useTableForm.d.ts +0 -9
  122. package/lib/ui/src/Table/src/hooks/useTableHeader.d.ts +0 -5
  123. package/lib/ui/src/Table/src/hooks/useTableScroll.d.ts +0 -10
  124. package/lib/ui/src/Table/src/hooks/useTableStyle.d.ts +0 -5
  125. package/lib/ui/src/Table/src/types/componentType.d.ts +0 -1
  126. package/lib/ui/src/Table/src/types/pagination.d.ts +0 -93
  127. package/lib/ui/src/Table/src/types/table.d.ts +0 -372
  128. package/lib/ui/src/Table/src/types/tableAction.d.ts +0 -28
  129. package/lib/ui/src/Transition/index.d.ts +0 -368
  130. package/lib/ui/src/Transition/src/CollapseTransition.vue.d.ts +0 -11
  131. package/lib/ui/src/Transition/src/CreateTransition.d.ts +0 -47
  132. package/lib/ui/src/Transition/src/ExpandTransition.d.ts +0 -23
  133. package/lib/ui/src/Tree/index.d.ts +0 -12
  134. package/lib/ui/src/Tree/src/BasicTree.vue.d.ts +0 -94
  135. package/lib/ui/src/Tree/src/TreeIcon.d.ts +0 -2
  136. package/lib/ui/src/Tree/src/hooks/useTree.d.ts +0 -14
  137. package/lib/ui/src/Tree/src/types/tree.d.ts +0 -105
  138. package/lib/ui/src/Tree/style/index.d.ts +0 -0
  139. package/lib/ui/src/directives/clickOutside.d.ts +0 -3
  140. package/lib/ui/src/directives/index.d.ts +0 -1
  141. package/lib/ui/src/enums/sizeEnum.d.ts +0 -11
  142. package/lib/ui/types/global.d.ts +0 -102
  143. package/lib/ui/types/index.d.ts +0 -28
  144. /package/{lib/ui/src/Button/src/BasicButton.vue.d.ts → es/ui/src/Table/src/BasicTable.vue.d.ts} +0 -0
@@ -1,51 +0,0 @@
1
- import type { ExtractPropTypes } from 'vue';
2
- import BasicButton from './src/BasicButton.vue';
3
- import PopConfirmButton from './src/PopConfirmButton.vue';
4
- import { buttonProps } from './src/props';
5
- export declare const Button: {
6
- new (...args: any[]): {
7
- $: import("vue").ComponentInternalInstance;
8
- $data: {};
9
- $props: Partial<{}> & Omit<Readonly<unknown> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
10
- $attrs: {
11
- [x: string]: unknown;
12
- };
13
- $refs: {
14
- [x: string]: unknown;
15
- };
16
- $slots: Readonly<{
17
- [name: string]: import("vue").Slot;
18
- }>;
19
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
20
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
21
- $emit: (event: string, ...args: any[]) => void;
22
- $el: any;
23
- $options: import("vue").ComponentOptionsBase<Readonly<unknown>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
24
- beforeCreate?: (() => void) | (() => void)[];
25
- created?: (() => void) | (() => void)[];
26
- beforeMount?: (() => void) | (() => void)[];
27
- mounted?: (() => void) | (() => void)[];
28
- beforeUpdate?: (() => void) | (() => void)[];
29
- updated?: (() => void) | (() => void)[];
30
- activated?: (() => void) | (() => void)[];
31
- deactivated?: (() => void) | (() => void)[];
32
- beforeDestroy?: (() => void) | (() => void)[];
33
- beforeUnmount?: (() => void) | (() => void)[];
34
- destroyed?: (() => void) | (() => void)[];
35
- unmounted?: (() => void) | (() => void)[];
36
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
37
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
38
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
39
- };
40
- $forceUpdate: () => void;
41
- $nextTick: typeof import("vue").nextTick;
42
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
43
- } & Readonly<unknown> & object & {
44
- [x: string]: never;
45
- } & import("vue").MethodOptions & import("vue").ComponentCustomProperties & {};
46
- __isFragment?: never;
47
- __isTeleport?: never;
48
- __isSuspense?: never;
49
- } & import("vue").ComponentOptionsBase<Readonly<unknown>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
50
- export { BasicButton, PopConfirmButton };
51
- export declare type ButtonProps = Partial<ExtractPropTypes<typeof buttonProps>>;
@@ -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;