hzzt-plus 2.0.6 → 2.0.8

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 (104) hide show
  1. package/dist/index.full.js +74 -67
  2. package/dist/index.full.min.js +10 -10
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +10 -10
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +74 -67
  7. package/dist/locale/en.js +1 -1
  8. package/dist/locale/en.min.js +1 -1
  9. package/dist/locale/en.min.mjs +1 -1
  10. package/dist/locale/en.mjs +1 -1
  11. package/dist/locale/zh-cn.js +1 -1
  12. package/dist/locale/zh-cn.min.js +1 -1
  13. package/dist/locale/zh-cn.min.mjs +1 -1
  14. package/dist/locale/zh-cn.mjs +1 -1
  15. package/es/components/collapse/index.d.ts +6 -0
  16. package/es/components/collapse/index.mjs +2 -2
  17. package/es/components/collapse/src/collapse.mjs +0 -88
  18. package/es/components/collapse/src/collapse.mjs.map +1 -1
  19. package/es/components/collapse/src/collapse.vue.d.ts +6 -0
  20. package/es/components/collapse/src/collapse2.mjs +88 -0
  21. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  22. package/es/components/icon/index.d.ts +438 -3
  23. package/es/components/icon/index.mjs +12 -11
  24. package/es/components/icon/index.mjs.map +1 -1
  25. package/es/components/icon/src/index.mjs +13 -5
  26. package/es/components/icon/src/index.mjs.map +1 -1
  27. package/es/components/icon/src/index.vue.d.ts +6 -0
  28. package/es/components/index.mjs +3 -3
  29. package/es/components/lazy-list/index.mjs +2 -2
  30. package/es/components/lazy-list/src/lazy-list.mjs +80 -22
  31. package/es/components/lazy-list/src/lazy-list.mjs.map +1 -1
  32. package/es/components/lazy-list/src/lazy-list2.mjs +22 -80
  33. package/es/components/lazy-list/src/lazy-list2.mjs.map +1 -1
  34. package/es/components/page-size/index.d.ts +6 -0
  35. package/es/components/page-size/src/index.vue.d.ts +6 -0
  36. package/es/components/pagination/index.d.ts +6 -0
  37. package/es/components/pagination/src/index.vue.d.ts +6 -0
  38. package/es/components/quarter-picker/index.d.ts +6 -0
  39. package/es/components/quarter-picker/src/index.vue.d.ts +6 -0
  40. package/es/components/scroll/src/scroll.vue.d.ts +6 -0
  41. package/es/components/select/src/select.vue.d.ts +6 -0
  42. package/es/components/select-input/index.mjs +2 -2
  43. package/es/components/select-input/src/select-input.mjs +45 -124
  44. package/es/components/select-input/src/select-input.mjs.map +1 -1
  45. package/es/components/select-input/src/select-input2.mjs +124 -45
  46. package/es/components/select-input/src/select-input2.mjs.map +1 -1
  47. package/es/components/select-textarea/src/select-textarea2.mjs +1 -1
  48. package/es/components/tab/index.d.ts +6 -0
  49. package/es/components/tab/src/index.vue.d.ts +6 -0
  50. package/es/components/title/index.mjs +2 -2
  51. package/es/components/title/src/title.mjs +11 -54
  52. package/es/components/title/src/title.mjs.map +1 -1
  53. package/es/components/title/src/title2.mjs +54 -11
  54. package/es/components/title/src/title2.mjs.map +1 -1
  55. package/es/index.mjs +3 -3
  56. package/es/version.d.ts +1 -1
  57. package/es/version.mjs +1 -1
  58. package/es/version.mjs.map +1 -1
  59. package/lib/components/collapse/index.d.ts +6 -0
  60. package/lib/components/collapse/index.js +2 -2
  61. package/lib/components/collapse/src/collapse.js +0 -91
  62. package/lib/components/collapse/src/collapse.js.map +1 -1
  63. package/lib/components/collapse/src/collapse.vue.d.ts +6 -0
  64. package/lib/components/collapse/src/collapse2.js +91 -0
  65. package/lib/components/collapse/src/collapse2.js.map +1 -1
  66. package/lib/components/icon/index.d.ts +438 -3
  67. package/lib/components/icon/index.js +14 -13
  68. package/lib/components/icon/index.js.map +1 -1
  69. package/lib/components/icon/src/index.js +12 -4
  70. package/lib/components/icon/src/index.js.map +1 -1
  71. package/lib/components/icon/src/index.vue.d.ts +6 -0
  72. package/lib/components/index.js +3 -3
  73. package/lib/components/lazy-list/index.js +2 -2
  74. package/lib/components/lazy-list/src/lazy-list.js +80 -23
  75. package/lib/components/lazy-list/src/lazy-list.js.map +1 -1
  76. package/lib/components/lazy-list/src/lazy-list2.js +23 -80
  77. package/lib/components/lazy-list/src/lazy-list2.js.map +1 -1
  78. package/lib/components/page-size/index.d.ts +6 -0
  79. package/lib/components/page-size/src/index.vue.d.ts +6 -0
  80. package/lib/components/pagination/index.d.ts +6 -0
  81. package/lib/components/pagination/src/index.vue.d.ts +6 -0
  82. package/lib/components/quarter-picker/index.d.ts +6 -0
  83. package/lib/components/quarter-picker/src/index.vue.d.ts +6 -0
  84. package/lib/components/scroll/src/scroll.vue.d.ts +6 -0
  85. package/lib/components/select/src/select.vue.d.ts +6 -0
  86. package/lib/components/select-input/index.js +2 -2
  87. package/lib/components/select-input/src/select-input.js +46 -124
  88. package/lib/components/select-input/src/select-input.js.map +1 -1
  89. package/lib/components/select-input/src/select-input2.js +124 -46
  90. package/lib/components/select-input/src/select-input2.js.map +1 -1
  91. package/lib/components/select-textarea/src/select-textarea2.js +1 -1
  92. package/lib/components/tab/index.d.ts +6 -0
  93. package/lib/components/tab/src/index.vue.d.ts +6 -0
  94. package/lib/components/title/index.js +2 -2
  95. package/lib/components/title/src/title.js +11 -54
  96. package/lib/components/title/src/title.js.map +1 -1
  97. package/lib/components/title/src/title2.js +54 -11
  98. package/lib/components/title/src/title2.js.map +1 -1
  99. package/lib/index.js +3 -3
  100. package/lib/version.d.ts +1 -1
  101. package/lib/version.js +1 -1
  102. package/lib/version.js.map +1 -1
  103. package/package.json +1 -1
  104. package/web-types.json +1 -1
@@ -1,5 +1,440 @@
1
- import type { App } from '@vue/runtime-core';
2
- export declare const HzztIcon: {
3
- install(app: App): void;
1
+ export declare const HzztIcon: import("hzzt-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
2
+ name: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ type: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ size: (NumberConstructor | StringConstructor)[];
11
+ color: StringConstructor;
12
+ }, {
13
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14
+ name: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ };
18
+ type: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ size: (NumberConstructor | StringConstructor)[];
23
+ color: StringConstructor;
24
+ }>> & {
25
+ [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
26
+ }>>;
27
+ attrs: {
28
+ [x: string]: unknown;
29
+ };
30
+ componentName: import("vue").ComputedRef<string>;
31
+ ElIcon: import("element-plus/es/utils").SFCWithInstall<{
32
+ new (...args: any[]): {
33
+ $: import("vue").ComponentInternalInstance;
34
+ $data: {};
35
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
36
+ readonly size: {
37
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
38
+ readonly required: false;
39
+ readonly validator: ((val: unknown) => boolean) | undefined;
40
+ __epPropKey: true;
41
+ };
42
+ readonly color: {
43
+ readonly type: import("vue").PropType<string>;
44
+ readonly required: false;
45
+ readonly validator: ((val: unknown) => boolean) | undefined;
46
+ __epPropKey: true;
47
+ };
48
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
49
+ $attrs: {
50
+ [x: string]: unknown;
51
+ };
52
+ $refs: {
53
+ [x: string]: unknown;
54
+ };
55
+ $slots: Readonly<{
56
+ [name: string]: import("vue").Slot | undefined;
57
+ }>;
58
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
59
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
60
+ $emit: (event: string, ...args: any[]) => void;
61
+ $el: any;
62
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
63
+ readonly size: {
64
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
65
+ readonly required: false;
66
+ readonly validator: ((val: unknown) => boolean) | undefined;
67
+ __epPropKey: true;
68
+ };
69
+ readonly color: {
70
+ readonly type: import("vue").PropType<string>;
71
+ readonly required: false;
72
+ readonly validator: ((val: unknown) => boolean) | undefined;
73
+ __epPropKey: true;
74
+ };
75
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
76
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
77
+ created?: ((() => void) | (() => void)[]) | undefined;
78
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
79
+ mounted?: ((() => void) | (() => void)[]) | undefined;
80
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
81
+ updated?: ((() => void) | (() => void)[]) | undefined;
82
+ activated?: ((() => void) | (() => void)[]) | undefined;
83
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
84
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
85
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
86
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
87
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
88
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
89
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
90
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
91
+ };
92
+ $forceUpdate: () => void;
93
+ $nextTick: typeof import("vue").nextTick;
94
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
95
+ } & Readonly<import("vue").ExtractPropTypes<{
96
+ readonly size: {
97
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
98
+ readonly required: false;
99
+ readonly validator: ((val: unknown) => boolean) | undefined;
100
+ __epPropKey: true;
101
+ };
102
+ readonly color: {
103
+ readonly type: import("vue").PropType<string>;
104
+ readonly required: false;
105
+ readonly validator: ((val: unknown) => boolean) | undefined;
106
+ __epPropKey: true;
107
+ };
108
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
109
+ __isFragment?: undefined;
110
+ __isTeleport?: undefined;
111
+ __isSuspense?: undefined;
112
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
113
+ readonly size: {
114
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
115
+ readonly required: false;
116
+ readonly validator: ((val: unknown) => boolean) | undefined;
117
+ __epPropKey: true;
118
+ };
119
+ readonly color: {
120
+ readonly type: import("vue").PropType<string>;
121
+ readonly required: false;
122
+ readonly validator: ((val: unknown) => boolean) | undefined;
123
+ __epPropKey: true;
124
+ };
125
+ }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
126
+ $slots: {
127
+ default?(_: {}): any;
128
+ };
129
+ })>;
130
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
131
+ name: {
132
+ type: StringConstructor;
133
+ required: true;
134
+ };
135
+ type: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
139
+ size: (NumberConstructor | StringConstructor)[];
140
+ color: StringConstructor;
141
+ }>>, {
142
+ type: string;
143
+ }>> & {
144
+ HzztPlusSquareOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
145
+ HzztMinusSquareOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
146
+ AddLocation: any;
147
+ Aim: any;
148
+ AlarmClock: any;
149
+ Apple: any;
150
+ ArrowDownBold: any;
151
+ ArrowDown: any;
152
+ ArrowLeftBold: any;
153
+ ArrowLeft: any;
154
+ ArrowRightBold: any;
155
+ ArrowRight: any;
156
+ ArrowUpBold: any;
157
+ ArrowUp: any;
158
+ Avatar: any;
159
+ Back: any;
160
+ Baseball: any;
161
+ Basketball: any;
162
+ BellFilled: any;
163
+ Bell: any;
164
+ Bicycle: any;
165
+ BottomLeft: any;
166
+ BottomRight: any;
167
+ Bottom: any;
168
+ Bowl: any;
169
+ Box: any;
170
+ Briefcase: any;
171
+ BrushFilled: any;
172
+ Brush: any;
173
+ Burger: any;
174
+ Calendar: any;
175
+ CameraFilled: any;
176
+ Camera: any;
177
+ CaretBottom: any;
178
+ CaretLeft: any;
179
+ CaretRight: any;
180
+ CaretTop: any;
181
+ Cellphone: any;
182
+ ChatDotRound: any;
183
+ ChatDotSquare: any;
184
+ ChatLineRound: any;
185
+ ChatLineSquare: any;
186
+ ChatRound: any;
187
+ ChatSquare: any;
188
+ Check: any;
189
+ Checked: any;
190
+ Cherry: any;
191
+ Chicken: any;
192
+ ChromeFilled: any;
193
+ CircleCheckFilled: any;
194
+ CircleCheck: any;
195
+ CircleCloseFilled: any;
196
+ CircleClose: any;
197
+ CirclePlusFilled: any;
198
+ CirclePlus: any;
199
+ Clock: any;
200
+ CloseBold: any;
201
+ Close: any;
202
+ Cloudy: any;
203
+ CoffeeCup: any;
204
+ Coffee: any;
205
+ Coin: any;
206
+ ColdDrink: any;
207
+ CollectionTag: any;
208
+ Collection: any;
209
+ Comment: any;
210
+ Compass: any;
211
+ Connection: any;
212
+ Coordinate: any;
213
+ CopyDocument: any;
214
+ Cpu: any;
215
+ CreditCard: any;
216
+ Crop: any;
217
+ DArrowLeft: any;
218
+ DArrowRight: any;
219
+ DCaret: any;
220
+ DataAnalysis: any;
221
+ DataBoard: any;
222
+ DataLine: any;
223
+ DeleteFilled: any;
224
+ DeleteLocation: any;
225
+ Delete: any;
226
+ Dessert: any;
227
+ Discount: any;
228
+ DishDot: any;
229
+ Dish: any;
230
+ DocumentAdd: any;
231
+ DocumentChecked: any;
232
+ DocumentCopy: any;
233
+ DocumentDelete: any;
234
+ DocumentRemove: any;
235
+ Document: any;
236
+ Download: any;
237
+ Drizzling: any;
238
+ EditPen: any;
239
+ Edit: any;
240
+ ElemeFilled: any;
241
+ Eleme: any;
242
+ ElementPlus: any;
243
+ Expand: any;
244
+ Failed: any;
245
+ Female: any;
246
+ Files: any;
247
+ Film: any;
248
+ Filter: any;
249
+ Finished: any;
250
+ FirstAidKit: any;
251
+ Flag: any;
252
+ Fold: any;
253
+ FolderAdd: any;
254
+ FolderChecked: any;
255
+ FolderDelete: any;
256
+ FolderOpened: any;
257
+ FolderRemove: any;
258
+ Folder: any;
259
+ Food: any;
260
+ Football: any;
261
+ ForkSpoon: any;
262
+ Fries: any;
263
+ FullScreen: any;
264
+ GobletFull: any;
265
+ GobletSquareFull: any;
266
+ GobletSquare: any;
267
+ Goblet: any;
268
+ GoldMedal: any;
269
+ GoodsFilled: any;
270
+ Goods: any;
271
+ Grape: any;
272
+ Grid: any;
273
+ Guide: any;
274
+ Handbag: any;
275
+ Headset: any;
276
+ HelpFilled: any;
277
+ Help: any;
278
+ Hide: any;
279
+ Histogram: any;
280
+ HomeFilled: any;
281
+ HotWater: any;
282
+ House: any;
283
+ IceCreamRound: any;
284
+ IceCreamSquare: any;
285
+ IceCream: any;
286
+ IceDrink: any;
287
+ IceTea: any;
288
+ InfoFilled: any;
289
+ Iphone: any;
290
+ Key: any;
291
+ KnifeFork: any;
292
+ Lightning: any;
293
+ Link: any;
294
+ List: any;
295
+ Loading: any;
296
+ LocationFilled: any;
297
+ LocationInformation: any;
298
+ Location: any;
299
+ Lock: any;
300
+ Lollipop: any;
301
+ MagicStick: any;
302
+ Magnet: any;
303
+ Male: any;
304
+ Management: any;
305
+ MapLocation: any;
306
+ Medal: any;
307
+ Memo: any;
308
+ Menu: any;
309
+ MessageBox: any;
310
+ Message: any;
311
+ Mic: any;
312
+ Microphone: any;
313
+ MilkTea: any;
314
+ Minus: any;
315
+ Money: any;
316
+ Monitor: any;
317
+ MoonNight: any;
318
+ Moon: any;
319
+ MoreFilled: any;
320
+ More: any;
321
+ MostlyCloudy: any;
322
+ Mouse: any;
323
+ Mug: any;
324
+ MuteNotification: any;
325
+ Mute: any;
326
+ NoSmoking: any;
327
+ Notebook: any;
328
+ Notification: any;
329
+ Odometer: any;
330
+ OfficeBuilding: any;
331
+ Open: any;
332
+ Operation: any;
333
+ Opportunity: any;
334
+ Orange: any;
335
+ Paperclip: any;
336
+ PartlyCloudy: any;
337
+ Pear: any;
338
+ PhoneFilled: any;
339
+ Phone: any;
340
+ PictureFilled: any;
341
+ PictureRounded: any;
342
+ Picture: any;
343
+ PieChart: any;
344
+ Place: any;
345
+ Platform: any;
346
+ Plus: any;
347
+ Pointer: any;
348
+ Position: any;
349
+ Postcard: any;
350
+ Pouring: any;
351
+ Present: any;
352
+ PriceTag: any;
353
+ Printer: any;
354
+ Promotion: any;
355
+ QuartzWatch: any;
356
+ QuestionFilled: any;
357
+ Rank: any;
358
+ ReadingLamp: any;
359
+ Reading: any;
360
+ RefreshLeft: any;
361
+ RefreshRight: any;
362
+ Refresh: any;
363
+ Refrigerator: any;
364
+ RemoveFilled: any;
365
+ Remove: any;
366
+ Right: any;
367
+ ScaleToOriginal: any;
368
+ School: any;
369
+ Scissor: any;
370
+ Search: any;
371
+ Select: any;
372
+ Sell: any;
373
+ SemiSelect: any;
374
+ Service: any;
375
+ SetUp: any;
376
+ Setting: any;
377
+ Share: any;
378
+ Ship: any;
379
+ Shop: any;
380
+ ShoppingBag: any;
381
+ ShoppingCartFull: any;
382
+ ShoppingCart: any;
383
+ ShoppingTrolley: any;
384
+ Smoking: any;
385
+ Soccer: any;
386
+ SoldOut: any;
387
+ SortDown: any;
388
+ SortUp: any;
389
+ Sort: any;
390
+ Stamp: any;
391
+ StarFilled: any;
392
+ Star: any;
393
+ Stopwatch: any;
394
+ SuccessFilled: any;
395
+ Sugar: any;
396
+ SuitcaseLine: any;
397
+ Suitcase: any;
398
+ Sunny: any;
399
+ Sunrise: any;
400
+ Sunset: any;
401
+ SwitchButton: any;
402
+ SwitchFilled: any;
403
+ Switch: any;
404
+ TakeawayBox: any;
405
+ Ticket: any;
406
+ Tickets: any;
407
+ Timer: any;
408
+ ToiletPaper: any;
409
+ Tools: any;
410
+ TopLeft: any;
411
+ TopRight: any;
412
+ Top: any;
413
+ TrendCharts: any;
414
+ TrophyBase: any;
415
+ Trophy: any;
416
+ TurnOff: any;
417
+ Umbrella: any;
418
+ Unlock: any;
419
+ UploadFilled: any;
420
+ Upload: any;
421
+ UserFilled: any;
422
+ User: any;
423
+ Van: any;
424
+ VideoCameraFilled: any;
425
+ VideoCamera: any;
426
+ VideoPause: any;
427
+ VideoPlay: any;
428
+ View: any;
429
+ WalletFilled: any;
430
+ Wallet: any;
431
+ WarnTriangleFilled: any;
432
+ WarningFilled: any;
433
+ Warning: any;
434
+ Watch: any;
435
+ Watermelon: any;
436
+ WindPower: any;
437
+ ZoomIn: any;
438
+ ZoomOut: any;
4
439
  };
5
440
  export default HzztIcon;
@@ -3,8 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Icons = require('@element-plus/icons-vue');
6
- var index$1 = require('./src/components/index.js');
7
- var index = require('./src/index.js');
6
+ var index = require('./src/components/index.js');
7
+ var index$1 = require('./src/index.js');
8
+ require('../../utils/index.js');
9
+ var install = require('../../utils/vue/install.js');
8
10
 
9
11
  function _interopNamespace(e) {
10
12
  if (e && e.__esModule) return e;
@@ -26,20 +28,19 @@ function _interopNamespace(e) {
26
28
 
27
29
  var Icons__namespace = /*#__PURE__*/_interopNamespace(Icons);
28
30
 
29
- const HzztIcon = {
30
- install(app) {
31
- app.component("HzztIcon", index["default"]);
32
- for (const key in Icons__namespace) {
33
- app.component(tarnsElIconName(key), Icons__namespace[key]);
34
- }
35
- for (const key in index$1) {
36
- app.component(tarnsElIconName(key), Icons__namespace[key]);
37
- }
38
- }
39
- };
40
31
  function tarnsElIconName(name) {
41
32
  return `hzzt-el${name.replace(/[A-Z]/g, (match) => `-${match.toLocaleLowerCase()}`)}`;
42
33
  }
34
+ for (const key in Icons__namespace) {
35
+ Icons__namespace[key].name = tarnsElIconName(key);
36
+ }
37
+ for (const key in index) {
38
+ index[key].name = tarnsElIconName(key);
39
+ }
40
+ const HzztIcon = install.withInstall(index$1["default"], {
41
+ ...Icons__namespace,
42
+ ...index
43
+ });
43
44
 
44
45
  exports.HzztIcon = HzztIcon;
45
46
  exports["default"] = HzztIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/icon/index.ts"],"sourcesContent":["import * as Icons from '@element-plus/icons-vue'\nimport * as HzztIcons from './src/components/index'\nimport Icon from './src/index.vue'\nimport type {App} from '@vue/runtime-core'\n\nexport const HzztIcon = {\n install(app: App) {\n app.component('HzztIcon', Icon)\n for (const key in Icons) {\n app.component(tarnsElIconName(key), Icons[key])\n }\n for (const key in HzztIcons) {\n app.component(tarnsElIconName(key), Icons[key])\n }\n },\n}\n\nexport default HzztIcon\n\nfunction tarnsElIconName(name) {\n return `hzzt-el${name.replace(\n /[A-Z]/g,\n (match) => `-${match.toLocaleLowerCase()}`\n )}`\n}\n"],"names":["Icon","Icons","HzztIcons"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGY,MAAC,QAAQ,GAAG;AACxB,EAAE,OAAO,CAAC,GAAG,EAAE;AACf,IAAI,GAAG,CAAC,SAAS,CAAC,UAAU,EAAEA,gBAAI,CAAC,CAAC;AACpC,IAAI,KAAK,MAAM,GAAG,IAAIC,gBAAK,EAAE;AAC7B,MAAM,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,GAAG,CAAC,EAAEA,gBAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AACtD,KAAK;AACL,IAAI,KAAK,MAAM,GAAG,IAAIC,OAAS,EAAE;AACjC,MAAM,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,GAAG,CAAC,EAAED,gBAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AACtD,KAAK;AACL,GAAG;AACH,EAAE;AAEF,SAAS,eAAe,CAAC,IAAI,EAAE;AAC/B,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxF;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/icon/index.ts"],"sourcesContent":["import * as Icons from '@element-plus/icons-vue'\nimport * as HzztIcons from './src/components/index'\nimport Icon from './src/index.vue'\nimport {withInstall} from \"@hzzt-plus/utils\";\n\nfunction tarnsElIconName(name: string) {\n return `hzzt-el${name.replace(\n /[A-Z]/g,\n (match: string) => `-${match.toLocaleLowerCase()}`\n )}`\n}\n\nfor (const key in Icons) {\n Icons[key].name = tarnsElIconName(key);\n}\nfor (const key in HzztIcons) {\n HzztIcons[key].name = tarnsElIconName(key);\n}\n\n\nexport const HzztIcon = withInstall(Icon, {\n ...Icons,\n ...HzztIcons,\n})\n\nexport default HzztIcon\n"],"names":["Icons","HzztIcons","withInstall","Icon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAAS,eAAe,CAAC,IAAI,EAAE;AAC/B,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACxF,CAAC;AACD,KAAK,MAAM,GAAG,IAAIA,gBAAK,EAAE;AACzB,EAAEA,gBAAK,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;AACzC,CAAC;AACD,KAAK,MAAM,GAAG,IAAIC,KAAS,EAAE;AAC7B,EAAEA,KAAS,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;AAC7C,CAAC;AACW,MAAC,QAAQ,GAAGC,mBAAW,CAACC,kBAAI,EAAE;AAC1C,EAAE,GAAGH,gBAAK;AACV,EAAE,GAAGC,KAAS;AACd,CAAC;;;;;"}
@@ -6,8 +6,11 @@ var vue = require('vue');
6
6
  var elementPlus = require('element-plus');
7
7
  var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
8
8
 
9
+ const __default__ = vue.defineComponent({
10
+ name: "HzztIcon"
11
+ });
9
12
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
- __name: "index",
13
+ ...__default__,
11
14
  props: {
12
15
  name: {
13
16
  type: String,
@@ -16,19 +19,24 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
19
  type: {
17
20
  type: String,
18
21
  default: "el"
19
- }
22
+ },
23
+ size: [String, Number],
24
+ color: String
20
25
  },
21
26
  setup(__props) {
22
27
  const props = __props;
23
28
  const attrs = vue.useAttrs();
24
29
  const componentName = vue.computed(() => `hzzt-${props.type}-${props.name}`);
25
30
  return (_ctx, _cache) => {
26
- return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElIcon), vue.normalizeProps(vue.guardReactiveProps(vue.unref(attrs))), {
31
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElIcon), vue.mergeProps(vue.unref(attrs), {
32
+ size: __props.size,
33
+ color: __props.color
34
+ }), {
27
35
  default: vue.withCtx(() => [
28
36
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(componentName))))
29
37
  ]),
30
38
  _: 1
31
- }, 16);
39
+ }, 16, ["size", "color"]);
32
40
  };
33
41
  }
34
42
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../packages/components/icon/src/index.vue"],"sourcesContent":["<template>\n <ElIcon v-bind=\"attrs\">\n <component :is=\"componentName\" />\n </ElIcon>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue'\nimport { ElIcon } from 'element-plus'\n\nconst props = defineProps({\n name: {\n type: String,\n required: true,\n },\n type: {\n type: String,\n default: 'el',\n },\n})\n\nconst attrs = useAttrs()\n\nconst componentName = computed(() => `hzzt-${props.type}-${props.name}`)\n</script>\n"],"names":["useAttrs","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAA,MAAM,QAAQA,YAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,aAAA,GAAgBC,aAAS,MAAM,CAAA,KAAA,EAAQ,MAAM,IAAI,CAAA,CAAA,EAAI,KAAM,CAAA,IAAI,CAAE,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../packages/components/icon/src/index.vue"],"sourcesContent":["<template>\n <ElIcon v-bind=\"attrs\" :size=\"size\" :color=\"color\">\n <component :is=\"componentName\" />\n </ElIcon>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue'\nimport { ElIcon } from 'element-plus'\n\ndefineOptions({\n name: 'HzztIcon',\n})\n\nconst props = defineProps({\n name: {\n type: String,\n required: true,\n },\n type: {\n type: String,\n default: 'el',\n },\n size: [String, Number],\n color: String,\n})\n\nconst attrs = useAttrs()\n\nconst componentName = computed(() => `hzzt-${props.type}-${props.name}`)\n</script>\n"],"names":["useAttrs","computed"],"mappings":";;;;;;;;uCAUc,CAAA;AAAA,EACZ,IAAM,EAAA,UAAA;AACR,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;AAeA,IAAA,MAAM,QAAQA,YAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,aAAA,GAAgBC,aAAS,MAAM,CAAA,KAAA,EAAQ,MAAM,IAAI,CAAA,CAAA,EAAI,KAAM,CAAA,IAAI,CAAE,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;"}
@@ -7,6 +7,8 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
+ size: (NumberConstructor | StringConstructor)[];
11
+ color: StringConstructor;
10
12
  }, {
11
13
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
14
  name: {
@@ -17,6 +19,8 @@ declare const _default: import("vue").DefineComponent<{
17
19
  type: StringConstructor;
18
20
  default: string;
19
21
  };
22
+ size: (NumberConstructor | StringConstructor)[];
23
+ color: StringConstructor;
20
24
  }>> & {
21
25
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
22
26
  }>>;
@@ -132,6 +136,8 @@ declare const _default: import("vue").DefineComponent<{
132
136
  type: StringConstructor;
133
137
  default: string;
134
138
  };
139
+ size: (NumberConstructor | StringConstructor)[];
140
+ color: StringConstructor;
135
141
  }>>, {
136
142
  type: string;
137
143
  }>;
@@ -23,18 +23,18 @@ var index$h = require('./select/index.js');
23
23
  var index$i = require('./click-input/index.js');
24
24
  var index$j = require('./scroll/index.js');
25
25
  var index$k = require('./lazy-list/index.js');
26
- var title = require('./title/src/title2.js');
26
+ var title = require('./title/src/title.js');
27
27
  var configProviderProps = require('./config-provider/src/config-provider-props.js');
28
28
  var constants = require('./config-provider/src/constants.js');
29
29
  var useGlobalConfig = require('./config-provider/src/hooks/use-global-config.js');
30
30
  var scan = require('./scan/src/scan.js');
31
- var selectInput = require('./select-input/src/select-input2.js');
31
+ var selectInput = require('./select-input/src/select-input.js');
32
32
  var selectTextarea = require('./select-textarea/src/select-textarea.js');
33
33
  var inputRange = require('./input-range/src/input-range.js');
34
34
  var cascader = require('./cascader/src/cascader.js');
35
35
  var select = require('./select/src/select.js');
36
36
  var clickInput = require('./click-input/src/click-input.js');
37
- var lazyList = require('./lazy-list/src/lazy-list.js');
37
+ var lazyList = require('./lazy-list/src/lazy-list2.js');
38
38
 
39
39
 
40
40
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
- var lazyList$1 = require('./src/lazy-list2.js');
7
- var lazyList = require('./src/lazy-list.js');
6
+ var lazyList$1 = require('./src/lazy-list.js');
7
+ var lazyList = require('./src/lazy-list2.js');
8
8
  var install = require('../../utils/vue/install.js');
9
9
 
10
10
  const HzztLazyList = install.withInstall(lazyList$1["default"]);