@unizhen/ui 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +39 -0
  2. package/lib/components/actionButton/factory.d.ts +41 -0
  3. package/lib/components/actionButton/function.d.ts +15 -0
  4. package/lib/components/actionButton/index.d.ts +4 -0
  5. package/lib/components/actionButton/index.vue.d.ts +60 -0
  6. package/lib/components/actionButton/interface.d.ts +23 -0
  7. package/lib/components/api.d.ts +6 -0
  8. package/lib/components/back/index.d.ts +1 -0
  9. package/lib/components/back/index.vue.d.ts +1503 -0
  10. package/lib/components/camera/index.d.ts +1 -0
  11. package/lib/components/camera/index.vue.d.ts +3484 -0
  12. package/lib/components/circle/index.d.ts +1 -0
  13. package/lib/components/circle/index.vue.d.ts +398 -0
  14. package/lib/components/common.d.ts +15 -0
  15. package/lib/components/components.d.ts +14 -0
  16. package/lib/components/create.d.ts +18 -0
  17. package/lib/components/fetch.d.ts +8 -0
  18. package/lib/components/form/draggable.vue.d.ts +24818 -0
  19. package/lib/components/form/image.vue.d.ts +885 -0
  20. package/lib/components/form/index.d.ts +6 -0
  21. package/lib/components/form/index.vue.d.ts +24742 -0
  22. package/lib/components/form/interface.d.ts +262 -0
  23. package/lib/components/form/item.vue.d.ts +17896 -0
  24. package/lib/components/form/upload.vue.d.ts +5901 -0
  25. package/lib/components/hooks/index.d.ts +4 -0
  26. package/lib/components/hooks/memoryCache.d.ts +50 -0
  27. package/lib/components/hooks/useDebounceFn.d.ts +15 -0
  28. package/lib/components/hooks/useLocalStorage.d.ts +29 -0
  29. package/lib/components/hooks/useQuery.d.ts +77 -0
  30. package/lib/components/hooks/useThrottleFn.d.ts +15 -0
  31. package/lib/components/icon/factory.d.ts +125 -0
  32. package/lib/components/icon/index.d.ts +4 -0
  33. package/lib/components/icon/index.vue.d.ts +17 -0
  34. package/lib/components/icon/svg/AccessPoint.vue.d.ts +3 -0
  35. package/lib/components/icon/svg/Activity.vue.d.ts +3 -0
  36. package/lib/components/icon/svg/Adjustments.vue.d.ts +3 -0
  37. package/lib/components/icon/svg/AdjustmentsHorizontal.vue.d.ts +3 -0
  38. package/lib/components/icon/svg/Affiliate.vue.d.ts +3 -0
  39. package/lib/components/icon/svg/Alarm.vue.d.ts +3 -0
  40. package/lib/components/icon/svg/AlertCircle.vue.d.ts +3 -0
  41. package/lib/components/icon/svg/ApiApp.vue.d.ts +3 -0
  42. package/lib/components/icon/svg/AppWindow.vue.d.ts +3 -0
  43. package/lib/components/icon/svg/Apps.vue.d.ts +3 -0
  44. package/lib/components/icon/svg/Archive.vue.d.ts +3 -0
  45. package/lib/components/icon/svg/ArrowNarrowLeft.vue.d.ts +3 -0
  46. package/lib/components/icon/svg/AspectRatio.vue.d.ts +3 -0
  47. package/lib/components/icon/svg/Atom.vue.d.ts +3 -0
  48. package/lib/components/icon/svg/Atom2.vue.d.ts +3 -0
  49. package/lib/components/icon/svg/Award.vue.d.ts +3 -0
  50. package/lib/components/icon/svg/Barcode.vue.d.ts +3 -0
  51. package/lib/components/icon/svg/Basket.vue.d.ts +3 -0
  52. package/lib/components/icon/svg/Bell.vue.d.ts +3 -0
  53. package/lib/components/icon/svg/Bluetooth.vue.d.ts +3 -0
  54. package/lib/components/icon/svg/Book2.vue.d.ts +3 -0
  55. package/lib/components/icon/svg/Books.vue.d.ts +3 -0
  56. package/lib/components/icon/svg/Box.vue.d.ts +3 -0
  57. package/lib/components/icon/svg/BrandAsana.vue.d.ts +3 -0
  58. package/lib/components/icon/svg/BrandStackoverflow.vue.d.ts +3 -0
  59. package/lib/components/icon/svg/Briefcase.vue.d.ts +3 -0
  60. package/lib/components/icon/svg/Building.vue.d.ts +3 -0
  61. package/lib/components/icon/svg/BuildingArch.vue.d.ts +3 -0
  62. package/lib/components/icon/svg/BuildingWarehouse.vue.d.ts +3 -0
  63. package/lib/components/icon/svg/Calculator.vue.d.ts +3 -0
  64. package/lib/components/icon/svg/Calendar.vue.d.ts +3 -0
  65. package/lib/components/icon/svg/CalendarPlus.vue.d.ts +3 -0
  66. package/lib/components/icon/svg/CalendarStats.vue.d.ts +3 -0
  67. package/lib/components/icon/svg/Camera.vue.d.ts +3 -0
  68. package/lib/components/icon/svg/CaretDown.vue.d.ts +3 -0
  69. package/lib/components/icon/svg/CaretUp.vue.d.ts +3 -0
  70. package/lib/components/icon/svg/ChartArea.vue.d.ts +3 -0
  71. package/lib/components/icon/svg/ChartBar.vue.d.ts +3 -0
  72. package/lib/components/icon/svg/ChartBubble.vue.d.ts +3 -0
  73. package/lib/components/icon/svg/ChartDonut.vue.d.ts +3 -0
  74. package/lib/components/icon/svg/ChartLine.vue.d.ts +3 -0
  75. package/lib/components/icon/svg/ChartPie.vue.d.ts +3 -0
  76. package/lib/components/icon/svg/ChartRadar.vue.d.ts +3 -0
  77. package/lib/components/icon/svg/Checkbox.vue.d.ts +3 -0
  78. package/lib/components/icon/svg/CheckupList.vue.d.ts +3 -0
  79. package/lib/components/icon/svg/CircleMinus.vue.d.ts +3 -0
  80. package/lib/components/icon/svg/Clipboard.vue.d.ts +3 -0
  81. package/lib/components/icon/svg/ClipboardCheck.vue.d.ts +3 -0
  82. package/lib/components/icon/svg/ClipboardList.vue.d.ts +3 -0
  83. package/lib/components/icon/svg/ClipboardPlus.vue.d.ts +3 -0
  84. package/lib/components/icon/svg/Clock.vue.d.ts +3 -0
  85. package/lib/components/icon/svg/Cloud.vue.d.ts +3 -0
  86. package/lib/components/icon/svg/CloudDownload.vue.d.ts +3 -0
  87. package/lib/components/icon/svg/CloudUpload.vue.d.ts +3 -0
  88. package/lib/components/icon/svg/Command.vue.d.ts +3 -0
  89. package/lib/components/icon/svg/Confetti.vue.d.ts +3 -0
  90. package/lib/components/icon/svg/Container.vue.d.ts +3 -0
  91. package/lib/components/icon/svg/Copy.vue.d.ts +3 -0
  92. package/lib/components/icon/svg/CreditCard.vue.d.ts +3 -0
  93. package/lib/components/icon/svg/Crosshair.vue.d.ts +3 -0
  94. package/lib/components/icon/svg/CurrencyYen.vue.d.ts +3 -0
  95. package/lib/components/icon/svg/Dashboard.vue.d.ts +3 -0
  96. package/lib/components/icon/svg/Database.vue.d.ts +3 -0
  97. package/lib/components/icon/svg/DatabaseExport.vue.d.ts +3 -0
  98. package/lib/components/icon/svg/DatabaseImport.vue.d.ts +3 -0
  99. package/lib/components/icon/svg/DeviceAnalytics.vue.d.ts +3 -0
  100. package/lib/components/icon/svg/DeviceDesktop.vue.d.ts +3 -0
  101. package/lib/components/icon/svg/DeviceDesktopAnalytics.vue.d.ts +3 -0
  102. package/lib/components/icon/svg/DeviceLaptop.vue.d.ts +3 -0
  103. package/lib/components/icon/svg/DeviceMobile.vue.d.ts +3 -0
  104. package/lib/components/icon/svg/Diamond.vue.d.ts +3 -0
  105. package/lib/components/icon/svg/Dots.vue.d.ts +3 -0
  106. package/lib/components/icon/svg/DotsVertical.vue.d.ts +3 -0
  107. package/lib/components/icon/svg/Edit.vue.d.ts +3 -0
  108. package/lib/components/icon/svg/Eraser.vue.d.ts +3 -0
  109. package/lib/components/icon/svg/Eye.vue.d.ts +3 -0
  110. package/lib/components/icon/svg/File.vue.d.ts +3 -0
  111. package/lib/components/icon/svg/FileAlert.vue.d.ts +3 -0
  112. package/lib/components/icon/svg/FileAnalytics.vue.d.ts +3 -0
  113. package/lib/components/icon/svg/FileText.vue.d.ts +3 -0
  114. package/lib/components/icon/svg/Filter.vue.d.ts +3 -0
  115. package/lib/components/icon/svg/GitCompare.vue.d.ts +3 -0
  116. package/lib/components/icon/svg/GitPullRequest.vue.d.ts +3 -0
  117. package/lib/components/icon/svg/GridDots.vue.d.ts +3 -0
  118. package/lib/components/icon/svg/Home.vue.d.ts +3 -0
  119. package/lib/components/icon/svg/Id.vue.d.ts +3 -0
  120. package/lib/components/icon/svg/LayoutSidebarLeftCollapse.vue.d.ts +3 -0
  121. package/lib/components/icon/svg/LayoutSidebarLeftExpand.vue.d.ts +3 -0
  122. package/lib/components/icon/svg/Link.vue.d.ts +3 -0
  123. package/lib/components/icon/svg/List.vue.d.ts +3 -0
  124. package/lib/components/icon/svg/ListCheck.vue.d.ts +3 -0
  125. package/lib/components/icon/svg/ListDetails.vue.d.ts +3 -0
  126. package/lib/components/icon/svg/Mail.vue.d.ts +3 -0
  127. package/lib/components/icon/svg/Map.vue.d.ts +3 -0
  128. package/lib/components/icon/svg/MapPin.vue.d.ts +3 -0
  129. package/lib/components/icon/svg/Menu2.vue.d.ts +3 -0
  130. package/lib/components/icon/svg/Message2.vue.d.ts +3 -0
  131. package/lib/components/icon/svg/MinusRound.vue.d.ts +3 -0
  132. package/lib/components/icon/svg/MoonStars.vue.d.ts +3 -0
  133. package/lib/components/icon/svg/Paperclip.vue.d.ts +3 -0
  134. package/lib/components/icon/svg/Photo.vue.d.ts +3 -0
  135. package/lib/components/icon/svg/PhotoOff.vue.d.ts +3 -0
  136. package/lib/components/icon/svg/Plus.vue.d.ts +3 -0
  137. package/lib/components/icon/svg/Presentation.vue.d.ts +3 -0
  138. package/lib/components/icon/svg/PresentationAnalytics.vue.d.ts +3 -0
  139. package/lib/components/icon/svg/Printer.vue.d.ts +3 -0
  140. package/lib/components/icon/svg/Qrcode.vue.d.ts +3 -0
  141. package/lib/components/icon/svg/Refresh.vue.d.ts +3 -0
  142. package/lib/components/icon/svg/Report.vue.d.ts +3 -0
  143. package/lib/components/icon/svg/ReportAnalytics.vue.d.ts +3 -0
  144. package/lib/components/icon/svg/ReportMoney.vue.d.ts +3 -0
  145. package/lib/components/icon/svg/ReportSearch.vue.d.ts +3 -0
  146. package/lib/components/icon/svg/Search.vue.d.ts +3 -0
  147. package/lib/components/icon/svg/Settings.vue.d.ts +3 -0
  148. package/lib/components/icon/svg/SmartHome.vue.d.ts +3 -0
  149. package/lib/components/icon/svg/Sun.vue.d.ts +3 -0
  150. package/lib/components/icon/svg/TransferIn.vue.d.ts +3 -0
  151. package/lib/components/icon/svg/TransferOut.vue.d.ts +3 -0
  152. package/lib/components/icon/svg/Trash.vue.d.ts +3 -0
  153. package/lib/components/icon/svg/User.vue.d.ts +3 -0
  154. package/lib/components/icon/svg/UserCircle.vue.d.ts +3 -0
  155. package/lib/components/icon/svg/UserMinus.vue.d.ts +3 -0
  156. package/lib/components/icon/svg/UserPlus.vue.d.ts +3 -0
  157. package/lib/components/icon/svg/Users.vue.d.ts +3 -0
  158. package/lib/components/icon/svg/X.vue.d.ts +3 -0
  159. package/lib/components/index.d.ts +11 -0
  160. package/lib/components/interface.d.ts +34 -0
  161. package/lib/components/local/en-US.d.ts +33 -0
  162. package/lib/components/local/index.d.ts +68 -0
  163. package/lib/components/local/zh-CN.d.ts +33 -0
  164. package/lib/components/localStorage.d.ts +13 -0
  165. package/lib/components/monitor.d.ts +2 -0
  166. package/lib/components/numberRoll/index.d.ts +1 -0
  167. package/lib/components/numberRoll/index.vue.d.ts +47 -0
  168. package/lib/components/preset.d.ts +5 -0
  169. package/lib/components/router.d.ts +3 -0
  170. package/lib/components/scale.d.ts +6 -0
  171. package/lib/components/searchBar/components/index.d.ts +1 -0
  172. package/lib/components/searchBar/components/timePickRange.vue.d.ts +2540 -0
  173. package/lib/components/searchBar/index.d.ts +3 -0
  174. package/lib/components/searchBar/index.vue.d.ts +22710 -0
  175. package/lib/components/searchBar/interface.d.ts +45 -0
  176. package/lib/components/searchBar/mobile.vue.d.ts +21554 -0
  177. package/lib/components/spin/index.d.ts +1 -0
  178. package/lib/components/spin/index.vue.d.ts +1806 -0
  179. package/lib/components/store/common.d.ts +13 -0
  180. package/lib/components/store/index.d.ts +2 -0
  181. package/lib/components/store/thumbnail.d.ts +29 -0
  182. package/lib/components/table/child.vue.d.ts +8391 -0
  183. package/lib/components/table/child_quest.vue.d.ts +6568 -0
  184. package/lib/components/table/drawer.vue.d.ts +5809 -0
  185. package/lib/components/table/factory.d.ts +220 -0
  186. package/lib/components/table/index.d.ts +7 -0
  187. package/lib/components/table/index.vue.d.ts +16622 -0
  188. package/lib/components/table/interface.d.ts +105 -0
  189. package/lib/components/table/list.vue.d.ts +36 -0
  190. package/lib/components/table/mobile.vue.d.ts +4080 -0
  191. package/lib/components/table/ocr.vue.d.ts +3454 -0
  192. package/lib/components/theme.d.ts +4 -0
  193. package/lib/components/thumbnail/index.d.ts +1 -0
  194. package/lib/components/thumbnail/index.vue.d.ts +4275 -0
  195. package/lib/components/version.d.ts +1 -0
  196. package/lib/components/wrap/index.d.ts +1 -0
  197. package/lib/components/wrap/index.vue.d.ts +223 -0
  198. package/lib/index.d.ts +6 -0
  199. package/lib/ui.css +1 -0
  200. package/lib/ui.js +10690 -0
  201. package/package.json +93 -0
  202. package/volar.d.ts +26 -0
@@ -0,0 +1 @@
1
+ export { default as QxCircle } from './index.vue';
@@ -0,0 +1,398 @@
1
+ import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, CSSProperties, ComputedRef, SlotsType, ComponentProvideOptions } from 'vue';
2
+ import { InternalRenderBody } from 'naive-ui/es/popover/src/interface';
3
+ import { PopoverTrigger, PopoverPlacement, PopoverSlots } from 'naive-ui';
4
+ import { MaybeArray } from 'naive-ui/es/_utils';
5
+ import { TriggerEventHandlers } from 'naive-ui/es/popover/src/Popover';
6
+ import { Theme } from 'naive-ui/es/_mixins';
7
+ import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
8
+ import { BinderInst } from 'vueuc';
9
+ type ICircle = {
10
+ backgroundBg: string;
11
+ processBg: string;
12
+ pointBg: string;
13
+ };
14
+ declare const _default: DefineComponent<ExtractPropTypes<{
15
+ circle: {
16
+ required: true;
17
+ type: PropType<number | string>;
18
+ default: number;
19
+ };
20
+ circleTxt: {
21
+ type: PropType<string>;
22
+ default: string;
23
+ };
24
+ pointSize: {
25
+ type: PropType<number>;
26
+ default: number;
27
+ };
28
+ styles: {
29
+ type: PropType<ICircle>;
30
+ default: () => {
31
+ backgroundBg: string;
32
+ processBg: string;
33
+ pointBg: string;
34
+ };
35
+ };
36
+ }>, {
37
+ popover: Ref<{
38
+ show: boolean;
39
+ text: string;
40
+ x: number;
41
+ y: number;
42
+ }, {
43
+ show: boolean;
44
+ text: string;
45
+ x: number;
46
+ y: number;
47
+ } | {
48
+ show: boolean;
49
+ text: string;
50
+ x: number;
51
+ y: number;
52
+ }>;
53
+ calculateCircle: () => string;
54
+ calculatePoint: () => string;
55
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
56
+ circle: {
57
+ required: true;
58
+ type: PropType<number | string>;
59
+ default: number;
60
+ };
61
+ circleTxt: {
62
+ type: PropType<string>;
63
+ default: string;
64
+ };
65
+ pointSize: {
66
+ type: PropType<number>;
67
+ default: number;
68
+ };
69
+ styles: {
70
+ type: PropType<ICircle>;
71
+ default: () => {
72
+ backgroundBg: string;
73
+ processBg: string;
74
+ pointBg: string;
75
+ };
76
+ };
77
+ }>> & Readonly<{}>, {
78
+ circle: string | number;
79
+ circleTxt: string;
80
+ pointSize: number;
81
+ styles: ICircle;
82
+ }, {}, {
83
+ NPopover: DefineComponent<ExtractPropTypes<{
84
+ internalOnAfterLeave: PropType<() => void>;
85
+ internalRenderBody: PropType< InternalRenderBody>;
86
+ show: {
87
+ type: PropType<boolean | undefined>;
88
+ default: undefined;
89
+ };
90
+ defaultShow: BooleanConstructor;
91
+ showArrow: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ trigger: {
96
+ type: PropType< PopoverTrigger>;
97
+ default: string;
98
+ };
99
+ delay: {
100
+ type: NumberConstructor;
101
+ default: number;
102
+ };
103
+ duration: {
104
+ type: NumberConstructor;
105
+ default: number;
106
+ };
107
+ raw: BooleanConstructor;
108
+ placement: {
109
+ type: PropType< PopoverPlacement>;
110
+ default: string;
111
+ };
112
+ x: NumberConstructor;
113
+ y: NumberConstructor;
114
+ arrowPointToCenter: BooleanConstructor;
115
+ disabled: BooleanConstructor;
116
+ getDisabled: PropType<() => boolean>;
117
+ displayDirective: {
118
+ type: PropType<"if" | "show">;
119
+ default: string;
120
+ };
121
+ arrowClass: StringConstructor;
122
+ arrowStyle: PropType<string | CSSProperties>;
123
+ arrowWrapperClass: StringConstructor;
124
+ arrowWrapperStyle: PropType<string | CSSProperties>;
125
+ flip: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ animated: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
133
+ width: {
134
+ type: PropType<number | "trigger">;
135
+ default: undefined;
136
+ };
137
+ overlap: BooleanConstructor;
138
+ keepAliveOnHover: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ zIndex: NumberConstructor;
143
+ to: {
144
+ type: PropType<HTMLElement | string | boolean>;
145
+ default: undefined;
146
+ };
147
+ scrollable: BooleanConstructor;
148
+ contentClass: StringConstructor;
149
+ contentStyle: PropType< CSSProperties | string>;
150
+ headerClass: StringConstructor;
151
+ headerStyle: PropType< CSSProperties | string>;
152
+ footerClass: StringConstructor;
153
+ footerStyle: PropType< CSSProperties | string>;
154
+ onClickoutside: PropType<(e: MouseEvent) => void>;
155
+ 'onUpdate:show': PropType< MaybeArray<(value: boolean) => void>>;
156
+ onUpdateShow: PropType< MaybeArray<(value: boolean) => void>>;
157
+ internalDeactivateImmediately: BooleanConstructor;
158
+ internalSyncTargetWithParent: BooleanConstructor;
159
+ internalInheritedEventHandlers: {
160
+ type: PropType< TriggerEventHandlers[]>;
161
+ default: () => never[];
162
+ };
163
+ internalTrapFocus: BooleanConstructor;
164
+ internalExtraClass: {
165
+ type: PropType<string[]>;
166
+ default: () => never[];
167
+ };
168
+ onShow: PropType< MaybeArray<(value: boolean) => void> | undefined>;
169
+ onHide: PropType< MaybeArray<(value: boolean) => void> | undefined>;
170
+ arrow: {
171
+ type: PropType<boolean | undefined>;
172
+ default: undefined;
173
+ };
174
+ minWidth: NumberConstructor;
175
+ maxWidth: NumberConstructor;
176
+ theme: PropType< Theme<"Popover", {
177
+ fontSize: string;
178
+ borderRadius: string;
179
+ color: string;
180
+ dividerColor: string;
181
+ textColor: string;
182
+ boxShadow: string;
183
+ space: string;
184
+ spaceArrow: string;
185
+ arrowOffset: string;
186
+ arrowOffsetVertical: string;
187
+ arrowHeight: string;
188
+ padding: string;
189
+ }, any>>;
190
+ themeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
191
+ fontSize: string;
192
+ borderRadius: string;
193
+ color: string;
194
+ dividerColor: string;
195
+ textColor: string;
196
+ boxShadow: string;
197
+ space: string;
198
+ spaceArrow: string;
199
+ arrowOffset: string;
200
+ arrowOffsetVertical: string;
201
+ arrowHeight: string;
202
+ padding: string;
203
+ }, any>>>;
204
+ builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
205
+ fontSize: string;
206
+ borderRadius: string;
207
+ color: string;
208
+ dividerColor: string;
209
+ textColor: string;
210
+ boxShadow: string;
211
+ space: string;
212
+ spaceArrow: string;
213
+ arrowOffset: string;
214
+ arrowOffsetVertical: string;
215
+ arrowHeight: string;
216
+ padding: string;
217
+ }, any>>>;
218
+ }>, {
219
+ binderInstRef: Ref<{
220
+ targetRef: HTMLElement | null;
221
+ } | null, BinderInst | {
222
+ targetRef: HTMLElement | null;
223
+ } | null>;
224
+ positionManually: ComputedRef<boolean>;
225
+ mergedShowConsideringDisabledProp: ComputedRef<boolean>;
226
+ uncontrolledShow: Ref<boolean, boolean>;
227
+ mergedShowArrow: ComputedRef<boolean>;
228
+ getMergedShow: () => boolean;
229
+ setShow: (value: boolean) => void;
230
+ handleClick: () => void;
231
+ handleMouseEnter: () => void;
232
+ handleMouseLeave: () => void;
233
+ handleFocus: () => void;
234
+ handleBlur: () => void;
235
+ syncPosition: () => void;
236
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
237
+ internalOnAfterLeave: PropType<() => void>;
238
+ internalRenderBody: PropType< InternalRenderBody>;
239
+ show: {
240
+ type: PropType<boolean | undefined>;
241
+ default: undefined;
242
+ };
243
+ defaultShow: BooleanConstructor;
244
+ showArrow: {
245
+ type: BooleanConstructor;
246
+ default: boolean;
247
+ };
248
+ trigger: {
249
+ type: PropType< PopoverTrigger>;
250
+ default: string;
251
+ };
252
+ delay: {
253
+ type: NumberConstructor;
254
+ default: number;
255
+ };
256
+ duration: {
257
+ type: NumberConstructor;
258
+ default: number;
259
+ };
260
+ raw: BooleanConstructor;
261
+ placement: {
262
+ type: PropType< PopoverPlacement>;
263
+ default: string;
264
+ };
265
+ x: NumberConstructor;
266
+ y: NumberConstructor;
267
+ arrowPointToCenter: BooleanConstructor;
268
+ disabled: BooleanConstructor;
269
+ getDisabled: PropType<() => boolean>;
270
+ displayDirective: {
271
+ type: PropType<"if" | "show">;
272
+ default: string;
273
+ };
274
+ arrowClass: StringConstructor;
275
+ arrowStyle: PropType<string | CSSProperties>;
276
+ arrowWrapperClass: StringConstructor;
277
+ arrowWrapperStyle: PropType<string | CSSProperties>;
278
+ flip: {
279
+ type: BooleanConstructor;
280
+ default: boolean;
281
+ };
282
+ animated: {
283
+ type: BooleanConstructor;
284
+ default: boolean;
285
+ };
286
+ width: {
287
+ type: PropType<number | "trigger">;
288
+ default: undefined;
289
+ };
290
+ overlap: BooleanConstructor;
291
+ keepAliveOnHover: {
292
+ type: BooleanConstructor;
293
+ default: boolean;
294
+ };
295
+ zIndex: NumberConstructor;
296
+ to: {
297
+ type: PropType<HTMLElement | string | boolean>;
298
+ default: undefined;
299
+ };
300
+ scrollable: BooleanConstructor;
301
+ contentClass: StringConstructor;
302
+ contentStyle: PropType< CSSProperties | string>;
303
+ headerClass: StringConstructor;
304
+ headerStyle: PropType< CSSProperties | string>;
305
+ footerClass: StringConstructor;
306
+ footerStyle: PropType< CSSProperties | string>;
307
+ onClickoutside: PropType<(e: MouseEvent) => void>;
308
+ 'onUpdate:show': PropType< MaybeArray<(value: boolean) => void>>;
309
+ onUpdateShow: PropType< MaybeArray<(value: boolean) => void>>;
310
+ internalDeactivateImmediately: BooleanConstructor;
311
+ internalSyncTargetWithParent: BooleanConstructor;
312
+ internalInheritedEventHandlers: {
313
+ type: PropType< TriggerEventHandlers[]>;
314
+ default: () => never[];
315
+ };
316
+ internalTrapFocus: BooleanConstructor;
317
+ internalExtraClass: {
318
+ type: PropType<string[]>;
319
+ default: () => never[];
320
+ };
321
+ onShow: PropType< MaybeArray<(value: boolean) => void> | undefined>;
322
+ onHide: PropType< MaybeArray<(value: boolean) => void> | undefined>;
323
+ arrow: {
324
+ type: PropType<boolean | undefined>;
325
+ default: undefined;
326
+ };
327
+ minWidth: NumberConstructor;
328
+ maxWidth: NumberConstructor;
329
+ theme: PropType< Theme<"Popover", {
330
+ fontSize: string;
331
+ borderRadius: string;
332
+ color: string;
333
+ dividerColor: string;
334
+ textColor: string;
335
+ boxShadow: string;
336
+ space: string;
337
+ spaceArrow: string;
338
+ arrowOffset: string;
339
+ arrowOffsetVertical: string;
340
+ arrowHeight: string;
341
+ padding: string;
342
+ }, any>>;
343
+ themeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
344
+ fontSize: string;
345
+ borderRadius: string;
346
+ color: string;
347
+ dividerColor: string;
348
+ textColor: string;
349
+ boxShadow: string;
350
+ space: string;
351
+ spaceArrow: string;
352
+ arrowOffset: string;
353
+ arrowOffsetVertical: string;
354
+ arrowHeight: string;
355
+ padding: string;
356
+ }, any>>>;
357
+ builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
358
+ fontSize: string;
359
+ borderRadius: string;
360
+ color: string;
361
+ dividerColor: string;
362
+ textColor: string;
363
+ boxShadow: string;
364
+ space: string;
365
+ spaceArrow: string;
366
+ arrowOffset: string;
367
+ arrowOffsetVertical: string;
368
+ arrowHeight: string;
369
+ padding: string;
370
+ }, any>>>;
371
+ }>> & Readonly<{}>, {
372
+ to: string | boolean | HTMLElement;
373
+ disabled: boolean;
374
+ show: boolean | undefined;
375
+ flip: boolean;
376
+ width: number | "trigger";
377
+ duration: number;
378
+ raw: boolean;
379
+ placement: PopoverPlacement;
380
+ overlap: boolean;
381
+ scrollable: boolean;
382
+ trigger: PopoverTrigger;
383
+ showArrow: boolean;
384
+ delay: number;
385
+ arrowPointToCenter: boolean;
386
+ displayDirective: "show" | "if";
387
+ keepAliveOnHover: boolean;
388
+ internalDeactivateImmediately: boolean;
389
+ animated: boolean;
390
+ internalTrapFocus: boolean;
391
+ defaultShow: boolean;
392
+ internalSyncTargetWithParent: boolean;
393
+ internalInheritedEventHandlers: TriggerEventHandlers[];
394
+ internalExtraClass: string[];
395
+ arrow: boolean | undefined;
396
+ }, SlotsType<PopoverSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
397
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
398
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { PageRecords, Fn } from './interface';
2
+ import { NotificationApi } from 'naive-ui';
3
+ export declare const fnNotification: NotificationApi;
4
+ export declare function fnSetStorage<T>(key: string, value: T, expired?: number | string): void;
5
+ export declare function fnGetStorage<T = any>(key: string, defaultValue: any): T;
6
+ export declare const fnDelStorage: (key: string) => void;
7
+ export declare const fnDelStorageByPrefix: (prefix: string) => void;
8
+ export declare const fnDelStorageAll: () => void;
9
+ export declare const fnScrollTop: (value?: number) => void;
10
+ export declare function fnPageModel2Naive<T>(value: PageRecords<T>): PageRecords<T>;
11
+ export declare const fnFormatTime: (value: string | number | Date | null | undefined, fmt?: string) => string;
12
+ export declare const fnTitle: (value: string) => void;
13
+ export declare const fnThrottle: (fn: Fn, wait?: number) => Fn;
14
+ export declare function fnFullScreen(element: any, callback?: Fn): void;
15
+ export declare function fnFormatUnits(number: number, precision?: number): string;
@@ -0,0 +1,14 @@
1
+ export * from './actionButton';
2
+ export * from './back';
3
+ export * from './circle';
4
+ export * from './form';
5
+ export * from './local';
6
+ export * from './numberRoll';
7
+ export * from './camera';
8
+ export * from './searchBar';
9
+ export * from './table';
10
+ export * from './spin';
11
+ export * from './thumbnail';
12
+ export * from './wrap';
13
+ export * from './store';
14
+ export * from './icon';
@@ -0,0 +1,18 @@
1
+ import { App } from 'vue';
2
+ type ComponentType = any;
3
+ export interface InstallOptions {
4
+ monitor?: false | string;
5
+ monitorFn?: () => any;
6
+ version?: boolean;
7
+ language?: boolean;
8
+ local?: 'en-US' | 'zh-CN' | 'fr-FR';
9
+ }
10
+ export interface QxInstance {
11
+ version: string;
12
+ install: (app: App, options?: InstallOptions) => void;
13
+ }
14
+ interface QxCreateOptions {
15
+ components?: ComponentType[];
16
+ }
17
+ declare function create({ components }?: QxCreateOptions): QxInstance;
18
+ export default create;
@@ -0,0 +1,8 @@
1
+ import { AxiosResponse, AxiosRequestConfig } from 'axios';
2
+ import { Fetch } from './interface';
3
+ export declare const fnCancelFetch: () => void;
4
+ export declare const GET: Fetch;
5
+ export declare const POST: Fetch;
6
+ export declare const BLOB: Fetch;
7
+ export declare const CUSTOM: (options: AxiosRequestConfig) => Promise<AxiosResponse<any, any>>;
8
+ export declare const FILE: Fetch;