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
@@ -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,10 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
- [x: string]: unknown;
3
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancel"[], "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
4
- [x: string]: unknown;
5
- }>>>> & {
6
- onCancel?: (...args: any[]) => any;
7
- }, {
8
- [x: number]: string;
9
- } | {}>;
10
- export default _default;
@@ -1,39 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{
2
- canFullscreen: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- fullScreen: {
7
- type: BooleanConstructor;
8
- };
9
- }, {
10
- t: {
11
- (key: string): string;
12
- (key: string, locale: string): string;
13
- (key: string, locale: string, list: unknown[]): string;
14
- (key: string, locale: string, named: Record<string, unknown>): string;
15
- (key: string, list: unknown[]): string;
16
- (key: string, named: Record<string, unknown>): string;
17
- };
18
- getClass: import("vue").ComputedRef<(string | {
19
- [x: string]: boolean;
20
- })[]>;
21
- prefixCls: string;
22
- handleCancel: (e: Event) => void;
23
- handleFullScreen: (e: Event) => void;
24
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "fullscreen")[], "cancel" | "fullscreen", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- canFullscreen: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- fullScreen: {
30
- type: BooleanConstructor;
31
- };
32
- }>> & {
33
- onCancel?: (...args: any[]) => any;
34
- onFullscreen?: (...args: any[]) => any;
35
- }, {
36
- fullScreen: boolean;
37
- canFullscreen: boolean;
38
- }>;
39
- export default _sfc_main;
@@ -1,14 +0,0 @@
1
- declare const _sfc_main: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
2
- [x: string]: unknown;
3
- }>>, {
4
- handleOk: (e: Event) => void;
5
- handleCancel: (e: Event) => void;
6
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ok" | "cancel")[], "ok" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
7
- [x: string]: unknown;
8
- }>>>> & {
9
- onOk?: (...args: any[]) => any;
10
- onCancel?: (...args: any[]) => any;
11
- }, {
12
- [x: number]: string;
13
- } | {}>;
14
- export default _sfc_main;
@@ -1,19 +0,0 @@
1
- import type { PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- helpMessage: {
4
- type: PropType<string | string[]>;
5
- };
6
- title: {
7
- type: StringConstructor;
8
- };
9
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "dblclick"[], "dblclick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- helpMessage: {
11
- type: PropType<string | string[]>;
12
- };
13
- title: {
14
- type: StringConstructor;
15
- };
16
- }>> & {
17
- onDblclick?: (...args: any[]) => any;
18
- }, {}>;
19
- export default _sfc_main;
@@ -1,95 +0,0 @@
1
- import type { CSSProperties } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- loading: {
4
- type: BooleanConstructor;
5
- };
6
- useWrapper: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- modalHeaderHeight: {
11
- type: NumberConstructor;
12
- default: number;
13
- };
14
- modalFooterHeight: {
15
- type: NumberConstructor;
16
- default: number;
17
- };
18
- minHeight: {
19
- type: NumberConstructor;
20
- default: number;
21
- };
22
- height: {
23
- type: NumberConstructor;
24
- };
25
- footerOffset: {
26
- type: NumberConstructor;
27
- default: number;
28
- };
29
- visible: {
30
- type: BooleanConstructor;
31
- };
32
- fullScreen: {
33
- type: BooleanConstructor;
34
- };
35
- loadingTip: {
36
- type: StringConstructor;
37
- };
38
- }, {
39
- wrapperRef: import("vue").Ref<{
40
- $el: HTMLDivElement;
41
- }>;
42
- spinRef: import("vue").Ref<HTMLDivElement>;
43
- spinStyle: import("vue").ComputedRef<CSSProperties>;
44
- scrollTop: () => Promise<void>;
45
- setModalHeight: () => Promise<void>;
46
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("height-change" | "ext-height")[], "height-change" | "ext-height", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
- loading: {
48
- type: BooleanConstructor;
49
- };
50
- useWrapper: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- modalHeaderHeight: {
55
- type: NumberConstructor;
56
- default: number;
57
- };
58
- modalFooterHeight: {
59
- type: NumberConstructor;
60
- default: number;
61
- };
62
- minHeight: {
63
- type: NumberConstructor;
64
- default: number;
65
- };
66
- height: {
67
- type: NumberConstructor;
68
- };
69
- footerOffset: {
70
- type: NumberConstructor;
71
- default: number;
72
- };
73
- visible: {
74
- type: BooleanConstructor;
75
- };
76
- fullScreen: {
77
- type: BooleanConstructor;
78
- };
79
- loadingTip: {
80
- type: StringConstructor;
81
- };
82
- }>> & {
83
- "onHeight-change"?: (...args: any[]) => any;
84
- "onExt-height"?: (...args: any[]) => any;
85
- }, {
86
- visible: boolean;
87
- loading: boolean;
88
- useWrapper: boolean;
89
- modalHeaderHeight: number;
90
- modalFooterHeight: number;
91
- minHeight: number;
92
- footerOffset: number;
93
- fullScreen: boolean;
94
- }>;
95
- 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;
@@ -1,9 +0,0 @@
1
- import type { Ref } from 'vue';
2
- interface Params {
3
- excludeListeners?: boolean;
4
- excludeKeys?: string[];
5
- excludeDefaultKeys?: boolean;
6
- }
7
- export declare function entries<T>(obj: Recordable<T>): [string, T][];
8
- export declare function useAttrs(params?: Params): Ref<Recordable> | {};
9
- export {};
@@ -1,10 +0,0 @@
1
- import { InjectionKey } from 'vue';
2
- export interface CreateContextOptions {
3
- readonly?: boolean;
4
- createProvider?: boolean;
5
- native?: boolean;
6
- }
7
- export declare function createContext<T>(context: any, key?: InjectionKey<T>, options?: CreateContextOptions): {
8
- state: any;
9
- };
10
- export declare function useContext<T>(key: InjectionKey<T>, native?: boolean): T;
@@ -1,22 +0,0 @@
1
- import { InjectionKey, Ref } from 'vue';
2
- export interface CreateContextOptions {
3
- readonly?: boolean;
4
- createProvider?: boolean;
5
- native?: boolean;
6
- }
7
- export declare function createContext<T>(context: any, key?: InjectionKey<T>, options?: CreateContextOptions): {
8
- state: any;
9
- };
10
- export declare function useContext<T>(key: InjectionKey<T>, native?: boolean): T;
11
- export interface AppProviderContextProps {
12
- prefixCls: Ref<string>;
13
- isMobile: Ref<boolean>;
14
- }
15
- export declare function createAppProviderContext(context: AppProviderContextProps): {
16
- state: any;
17
- };
18
- export declare function useAppProviderContext(): AppProviderContextProps;
19
- export declare function useDesign(scope: string): {
20
- prefixCls: string;
21
- prefixVar: Ref<string>;
22
- };
@@ -1,15 +0,0 @@
1
- import { createI18n } from 'vue-i18n';
2
- export declare let i18n: ReturnType<typeof createI18n>;
3
- declare type I18nGlobalTranslation = {
4
- (key: string): string;
5
- (key: string, locale: string): string;
6
- (key: string, locale: string, list: unknown[]): string;
7
- (key: string, locale: string, named: Record<string, unknown>): string;
8
- (key: string, list: unknown[]): string;
9
- (key: string, named: Record<string, unknown>): string;
10
- };
11
- export declare function useI18n(namespace?: string): {
12
- t: I18nGlobalTranslation;
13
- };
14
- export declare const t: (key: string) => string;
15
- export {};
@@ -1,6 +0,0 @@
1
- import type { UseModalReturnType, UseModalInnerReturnType } from '../typing';
2
- /**
3
- * @description: Applicable to independent modal and call outside
4
- */
5
- export declare function useModal(): UseModalReturnType;
6
- export declare const useModalInner: (callbackFn?: Fn) => UseModalInnerReturnType;
@@ -1,7 +0,0 @@
1
- export interface ModalContextProps {
2
- redoModalHeight: () => void;
3
- }
4
- export declare function createModalContext(context: ModalContextProps): {
5
- state: any;
6
- };
7
- export declare function useModalContext(): ModalContextProps;
@@ -1,7 +0,0 @@
1
- import { Ref } from 'vue';
2
- export interface UseModalDragMoveContext {
3
- draggable: Ref<boolean>;
4
- destroyOnClose: Ref<boolean | undefined> | undefined;
5
- visible: Ref<boolean>;
6
- }
7
- export declare function useModalDragMove(context: UseModalDragMoveContext): void;
@@ -1,11 +0,0 @@
1
- import { Ref } from 'vue';
2
- export interface UseFullScreenContext {
3
- wrapClassName: Ref<string | undefined>;
4
- modalWrapperRef: Ref<ComponentRef>;
5
- extHeightRef: Ref<number>;
6
- }
7
- export declare function useFullScreen(context: UseFullScreenContext): {
8
- getWrapClassName: import("vue").ComputedRef<string>;
9
- handleFullScreen: (e: Event) => void;
10
- fullScreenRef: Ref<boolean>;
11
- };
@@ -1,10 +0,0 @@
1
- export interface ScrollToParams {
2
- el: any;
3
- to: number;
4
- duration?: number;
5
- callback?: () => any;
6
- }
7
- export declare function useScrollTo({ el, to, duration, callback }: ScrollToParams): {
8
- start: () => void;
9
- stop: () => void;
10
- };
@@ -1,10 +0,0 @@
1
- export declare function useTimeoutFn(handle: Fn<any>, wait: number, native?: boolean): {
2
- readyRef: import("vue").Ref<boolean>;
3
- stop: () => void;
4
- start: () => void;
5
- };
6
- export declare function useTimeoutRef(wait: number): {
7
- readyRef: import("vue").Ref<boolean>;
8
- stop: () => void;
9
- start: () => void;
10
- };
@@ -1,7 +0,0 @@
1
- interface WindowSizeOptions {
2
- once?: boolean;
3
- immediate?: boolean;
4
- listenerOptions?: AddEventListenerOptions | boolean;
5
- }
6
- export declare function useWindowSizeFn<T>(fn: Fn<T>, wait?: number, options?: WindowSizeOptions): (() => void)[];
7
- export {};
@@ -1,34 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import VueTypes from 'vue-types';
3
- export declare const modalProps: {
4
- visible: {
5
- type: BooleanConstructor;
6
- };
7
- scrollTop: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- height: {
12
- type: NumberConstructor;
13
- };
14
- minHeight: {
15
- type: NumberConstructor;
16
- };
17
- draggable: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- centered: {
22
- type: BooleanConstructor;
23
- };
24
- cancelText: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- okText: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- closeFunc: PropType<() => Promise<boolean>>;
33
- };
34
- export declare const basicProps: VueTypes;
@@ -1,173 +0,0 @@
1
- import type { ButtonProps } from 'ant-design-vue/lib/button/buttonTypes';
2
- import type { CSSProperties, VNodeChild, ComputedRef } from 'vue';
3
- /**
4
- * @description: 弹窗对外暴露的方法
5
- */
6
- export interface ModalMethods {
7
- setModalProps: (props: Partial<ModalProps>) => void;
8
- emitVisible?: (visible: boolean, uid: number) => void;
9
- redoModalHeight?: () => void;
10
- }
11
- export declare type RegisterFn = (modalMethods: ModalMethods, uuid?: string) => void;
12
- export interface ReturnMethods extends ModalMethods {
13
- openModal: <T = any>(props?: boolean, data?: T, openOnSet?: boolean) => void;
14
- closeModal: () => void;
15
- getVisible?: ComputedRef<boolean>;
16
- }
17
- export declare type UseModalReturnType = [RegisterFn, ReturnMethods];
18
- export interface ReturnInnerMethods extends ModalMethods {
19
- closeModal: () => void;
20
- changeLoading: (loading: boolean) => void;
21
- changeOkLoading: (loading: boolean) => void;
22
- getVisible?: ComputedRef<boolean>;
23
- redoModalHeight: () => void;
24
- }
25
- export declare type UseModalInnerReturnType = [RegisterFn, ReturnInnerMethods];
26
- export interface ModalProps {
27
- minHeight?: number;
28
- height?: number;
29
- wrapperFooterOffset?: number;
30
- draggable?: boolean;
31
- scrollTop?: boolean;
32
- canFullscreen?: boolean;
33
- defaultFullscreen?: boolean;
34
- visible?: boolean;
35
- helpMessage: string | string[];
36
- useWrapper: boolean;
37
- loading: boolean;
38
- loadingTip?: string;
39
- wrapperProps: Omit<ModalWrapperProps, 'loading'>;
40
- showOkBtn: boolean;
41
- showCancelBtn: boolean;
42
- closeFunc: () => Promise<any>;
43
- /**
44
- * Specify a function that will be called when modal is closed completely.
45
- * @type Function
46
- */
47
- afterClose?: () => any;
48
- /**
49
- * Body style for modal body element. Such as height, padding etc.
50
- * @default {}
51
- * @type object
52
- */
53
- bodyStyle?: CSSProperties;
54
- /**
55
- * Text of the Cancel button
56
- * @default 'cancel'
57
- * @type string
58
- */
59
- cancelText?: string;
60
- /**
61
- * Centered Modal
62
- * @default false
63
- * @type boolean
64
- */
65
- centered?: boolean;
66
- /**
67
- * Whether a close (x) button is visible on top right of the modal dialog or not
68
- * @default true
69
- * @type boolean
70
- */
71
- closable?: boolean;
72
- /**
73
- * Whether a close (x) button is visible on top right of the modal dialog or not
74
- */
75
- closeIcon?: VNodeChild | JSX.Element;
76
- /**
77
- * Whether to apply loading visual effect for OK button or not
78
- * @default false
79
- * @type boolean
80
- */
81
- confirmLoading?: boolean;
82
- /**
83
- * Whether to unmount child components on onClose
84
- * @default false
85
- * @type boolean
86
- */
87
- destroyOnClose?: boolean;
88
- /**
89
- * Footer content, set as :footer="null" when you don't need default buttons
90
- * @default OK and Cancel buttons
91
- * @type any (string | slot)
92
- */
93
- footer?: VNodeChild | JSX.Element;
94
- /**
95
- * Return the mount node for Modal
96
- * @default () => document.body
97
- * @type Function
98
- */
99
- getContainer?: (instance: any) => HTMLElement;
100
- /**
101
- * Whether show mask or not.
102
- * @default true
103
- * @type boolean
104
- */
105
- mask?: boolean;
106
- /**
107
- * Whether to close the modal dialog when the mask (area outside the modal) is clicked
108
- * @default true
109
- * @type boolean
110
- */
111
- maskClosable?: boolean;
112
- /**
113
- * Style for modal's mask element.
114
- * @default {}
115
- * @type object
116
- */
117
- maskStyle?: CSSProperties;
118
- /**
119
- * Text of the OK button
120
- * @default 'OK'
121
- * @type string
122
- */
123
- okText?: string;
124
- /**
125
- * Button type of the OK button
126
- * @default 'primary'
127
- * @type string
128
- */
129
- okType?: 'primary' | 'danger' | 'dashed' | 'ghost' | 'default';
130
- /**
131
- * The ok button props, follow jsx rules
132
- * @type object
133
- */
134
- okButtonProps?: ButtonProps;
135
- /**
136
- * The cancel button props, follow jsx rules
137
- * @type object
138
- */
139
- cancelButtonProps?: ButtonProps;
140
- /**
141
- * The modal dialog's title
142
- * @type any (string | slot)
143
- */
144
- title?: VNodeChild | JSX.Element;
145
- /**
146
- * Width of the modal dialog
147
- * @default 520
148
- * @type string | number
149
- */
150
- width?: string | number;
151
- /**
152
- * The class name of the container of the modal dialog
153
- * @type string
154
- */
155
- wrapClassName?: string;
156
- /**
157
- * The z-index of the Modal
158
- * @default 1000
159
- * @type number
160
- */
161
- zIndex?: number;
162
- }
163
- export interface ModalWrapperProps {
164
- footerOffset?: number;
165
- loading: boolean;
166
- modalHeaderHeight: number;
167
- modalFooterHeight: number;
168
- minHeight: number;
169
- height: number;
170
- visible: boolean;
171
- fullScreen: boolean;
172
- useWrapper: boolean;
173
- }
@@ -1,5 +0,0 @@
1
- export declare function deepMerge<T = any>(src?: any, target?: any): T;
2
- /**
3
- * @description: Set ui mount node
4
- */
5
- export declare function getPopupContainer(node?: HTMLElement): HTMLElement;
@@ -1,13 +0,0 @@
1
- export declare function is(val: unknown, type: string): boolean;
2
- export declare function isFunction(val: unknown): val is Function;
3
- export declare function isObject(val: any): val is Record<any, any>;
4
- export declare function isDef<T = unknown>(val?: T): val is T;
5
- export declare function isUnDef<T = unknown>(val?: T): val is T;
6
- /**
7
- * @description: Is it a production mode
8
- * @returns:
9
- * @example:
10
- */
11
- export declare function isProdMode(): boolean;
12
- export declare function isString(val: unknown): val is string;
13
- export declare function isArray(val: any): val is Array<any>;
@@ -1,2 +0,0 @@
1
- export declare function warn(message: string): void;
2
- export declare function error(message: string): void;