hzzt-plus 2.0.6 → 2.0.7

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