hlq-cli 1.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 (88) hide show
  1. package/README.md +18 -0
  2. package/bin/index.js +16 -0
  3. package/lib/aesCreate.js +11 -0
  4. package/lib/axiosCreate.js +11 -0
  5. package/lib/create.js +172 -0
  6. package/lib/echartCreate.js +12 -0
  7. package/lib/jwtDecodeCreate.js +16 -0
  8. package/lib/rsaCreate.js +11 -0
  9. package/lib/stateCreate.js +34 -0
  10. package/lib/websocketCreate.js +16 -0
  11. package/package.json +21 -0
  12. package/templates/.env +1 -0
  13. package/templates/.env.dev +2 -0
  14. package/templates/.env.pro +2 -0
  15. package/templates/index.html +15 -0
  16. package/templates/package-lock.json +4058 -0
  17. package/templates/package.json +31 -0
  18. package/templates/public/config.js +1 -0
  19. package/templates/public/font/iconfont.css +579 -0
  20. package/templates/public/font/iconfont.js +1 -0
  21. package/templates/public/font/iconfont.ttf +0 -0
  22. package/templates/public/font/iconfont.woff +0 -0
  23. package/templates/public/font/iconfont.woff2 +0 -0
  24. package/templates/src/App.vue +35 -0
  25. package/templates/src/components/chart/barChart.vue +103 -0
  26. package/templates/src/components/chart/color.ts +43 -0
  27. package/templates/src/components/chart/lineChart.vue +114 -0
  28. package/templates/src/components/chart/mapChart.vue +135 -0
  29. package/templates/src/components/chart/mixedChart.vue +148 -0
  30. package/templates/src/components/chart/pieChart.vue +104 -0
  31. package/templates/src/components/chart/radarChart.vue +112 -0
  32. package/templates/src/components/chart/scatterChart.vue +144 -0
  33. package/templates/src/components/chart/sunburstChart.vue +183 -0
  34. package/templates/src/components/descript/index.vue +45 -0
  35. package/templates/src/components/dialog/index.vue +54 -0
  36. package/templates/src/components/drawer/index.vue +53 -0
  37. package/templates/src/components/form/component/cascader.vue +65 -0
  38. package/templates/src/components/form/component/checkbox.vue +31 -0
  39. package/templates/src/components/form/component/datePicker.vue +39 -0
  40. package/templates/src/components/form/component/dateRange.vue +36 -0
  41. package/templates/src/components/form/component/datetimePicker.vue +25 -0
  42. package/templates/src/components/form/component/fileUpload.vue +80 -0
  43. package/templates/src/components/form/component/formFun.ts +132 -0
  44. package/templates/src/components/form/component/imageUpload.vue +92 -0
  45. package/templates/src/components/form/component/input.vue +41 -0
  46. package/templates/src/components/form/component/location.vue +79 -0
  47. package/templates/src/components/form/component/radio.vue +31 -0
  48. package/templates/src/components/form/component/select.vue +66 -0
  49. package/templates/src/components/form/component/textarea.vue +26 -0
  50. package/templates/src/components/form/component/timePicker.vue +28 -0
  51. package/templates/src/components/form/component/upload.ts +20 -0
  52. package/templates/src/components/form/formInterface.ts +115 -0
  53. package/templates/src/components/form/index.vue +193 -0
  54. package/templates/src/components/form/item.vue +323 -0
  55. package/templates/src/components/groupForm/index.vue +91 -0
  56. package/templates/src/components/icon/index.vue +29 -0
  57. package/templates/src/components/layout/header.vue +238 -0
  58. package/templates/src/components/layout/index.vue +167 -0
  59. package/templates/src/components/layout/menu.vue +130 -0
  60. package/templates/src/components/layout/sideBarItem.vue +49 -0
  61. package/templates/src/components/searchBox/height.ts +9 -0
  62. package/templates/src/components/searchBox/index.vue +265 -0
  63. package/templates/src/components/table/index.vue +371 -0
  64. package/templates/src/components/table/table.ts +23 -0
  65. package/templates/src/components/tree/index.vue +222 -0
  66. package/templates/src/components/tree/lazyTree.vue +136 -0
  67. package/templates/src/data.d.ts +4 -0
  68. package/templates/src/main.ts +18 -0
  69. package/templates/src/router/index.ts +60 -0
  70. package/templates/src/store/menuInterface.ts +10 -0
  71. package/templates/src/store/permission.ts +59 -0
  72. package/templates/src/store/user.ts +24 -0
  73. package/templates/src/utils/alioss/index.ts +0 -0
  74. package/templates/src/utils/axios/http.ts +99 -0
  75. package/templates/src/utils/axios/index.ts +112 -0
  76. package/templates/src/utils/axios/service.ts +8 -0
  77. package/templates/src/utils/crypto/index.ts +28 -0
  78. package/templates/src/utils/rsa/index.ts +18 -0
  79. package/templates/src/utils/token/index.ts +6 -0
  80. package/templates/src/utils/tree/index.ts +74 -0
  81. package/templates/src/utils/websocket/index.ts +136 -0
  82. package/templates/src/views/login/index.vue +248 -0
  83. package/templates/src/views/templete/table.vue +122 -0
  84. package/templates/src/views/templete/tableConfig.ts +153 -0
  85. package/templates/tsconfig.app.json +19 -0
  86. package/templates/tsconfig.json +7 -0
  87. package/templates/tsconfig.node.json +23 -0
  88. package/templates/vite.config.ts +34 -0
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "myproject",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite --mode dev",
8
+ "build": "vite build --mode pro",
9
+ "preview": "vite preview"
10
+ },
11
+ "dependencies": {
12
+ "@originjs/vite-plugin-commonjs": "^1.0.3",
13
+ "ali-oss": "^6.22.0",
14
+ "dayjs": "^1.11.13",
15
+ "element-plus": "^2.9.8",
16
+ "lodash": "^4.17.21",
17
+ "sass": "^1.85.1",
18
+ "sass-loader": "^16.0.5",
19
+ "terser": "^5.39.0",
20
+ "vue": "^3.5.13",
21
+ "vue-router": "^4.5.0"
22
+ },
23
+ "devDependencies": {
24
+ "@types/node": "^22.13.9",
25
+ "@vitejs/plugin-vue": "^5.2.1",
26
+ "@vue/tsconfig": "^0.7.0",
27
+ "typescript": "~5.7.2",
28
+ "vite": "^6.2.0",
29
+ "vue-tsc": "^2.2.4"
30
+ }
31
+ }
@@ -0,0 +1 @@
1
+ window.CONFIG = {}
@@ -0,0 +1,579 @@
1
+ @font-face {
2
+ font-family: "iconfont"; /* Project id 4845957 */
3
+ src: url('iconfont.woff2?t=1750389433976') format('woff2'),
4
+ url('iconfont.woff?t=1750389433976') format('woff'),
5
+ url('iconfont.ttf?t=1750389433976') format('truetype');
6
+ }
7
+
8
+ .iconfont {
9
+ font-family: "iconfont" !important;
10
+ font-size: 16px;
11
+ font-style: normal;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ }
15
+
16
+ .icon-benjijiziji:before {
17
+ content: "\e88e";
18
+ }
19
+
20
+ .icon-benji:before {
21
+ content: "\e983";
22
+ }
23
+
24
+ .icon-line_edit:before {
25
+ content: "\e7dd";
26
+ }
27
+
28
+ .icon-line_delete:before {
29
+ content: "\e7e3";
30
+ }
31
+
32
+ .icon-line_plus:before {
33
+ content: "\e7e4";
34
+ }
35
+
36
+ .icon-jiaosequanxian:before {
37
+ content: "\e617";
38
+ }
39
+
40
+ .icon-jueseshujuquanxian:before {
41
+ content: "\e624";
42
+ }
43
+
44
+ .icon-quanxianguanli-caidanquanxian:before {
45
+ content: "\e60e";
46
+ }
47
+
48
+ .icon-caidananniuguanli:before {
49
+ content: "\e610";
50
+ }
51
+
52
+ .icon-hangzhengquyu:before {
53
+ content: "\ec3d";
54
+ }
55
+
56
+ .icon-wangdianguanli:before {
57
+ content: "\e622";
58
+ }
59
+
60
+ .icon-changongxiao_yonghuguanli:before {
61
+ content: "\e625";
62
+ }
63
+
64
+ .icon-zichanguanli:before {
65
+ content: "\e627";
66
+ }
67
+
68
+ .icon-changongxiao_zhijiguanli:before {
69
+ content: "\e629";
70
+ }
71
+
72
+ .icon-changongxiao_gerenziliao:before {
73
+ content: "\e62b";
74
+ }
75
+
76
+ .icon-zuzhijigouguanli:before {
77
+ content: "\ec3c";
78
+ }
79
+
80
+ .icon-a-lujing8773:before {
81
+ content: "\e611";
82
+ }
83
+
84
+ .icon-taizhangguanli:before {
85
+ content: "\e612";
86
+ }
87
+
88
+ .icon-juese:before {
89
+ content: "\e613";
90
+ }
91
+
92
+ .icon-zirandengji:before {
93
+ content: "\e614";
94
+ }
95
+
96
+ .icon-yonghu:before {
97
+ content: "\e615";
98
+ }
99
+
100
+ .icon-changongxiao_kucunguanli:before {
101
+ content: "\e616";
102
+ }
103
+
104
+ .icon-shangjishenhe:before {
105
+ content: "\e601";
106
+ }
107
+
108
+ .icon-a-lujing8779:before {
109
+ content: "\e618";
110
+ }
111
+
112
+ .icon-fuwu:before {
113
+ content: "\e619";
114
+ }
115
+
116
+ .icon-zuzhijigou:before {
117
+ content: "\e61a";
118
+ }
119
+
120
+ .icon-guquanxinxi:before {
121
+ content: "\e61b";
122
+ }
123
+
124
+ .icon-jicengsherenzheng:before {
125
+ content: "\e61c";
126
+ }
127
+
128
+ .icon-farendengji:before {
129
+ content: "\e61d";
130
+ }
131
+
132
+ .icon-zuzhibumen:before {
133
+ content: "\e61e";
134
+ }
135
+
136
+ .icon-yilaiguanxi:before {
137
+ content: "\e61f";
138
+ }
139
+
140
+ .icon-xitongyonghu:before {
141
+ content: "\e620";
142
+ }
143
+
144
+ .icon-benzuzhiqueren:before {
145
+ content: "\e621";
146
+ }
147
+
148
+ .icon-shujuquanxian:before {
149
+ content: "\e605";
150
+ }
151
+
152
+ .icon-a-zu12013:before {
153
+ content: "\e604";
154
+ }
155
+
156
+ .icon-jichushujuweihu:before {
157
+ content: "\e603";
158
+ }
159
+
160
+ .icon-biaodanpeizhi:before {
161
+ content: "\e606";
162
+ }
163
+
164
+ .icon-a-zu12014:before {
165
+ content: "\e607";
166
+ }
167
+
168
+ .icon-cunchu:before {
169
+ content: "\e608";
170
+ }
171
+
172
+ .icon-a-lujing8780:before {
173
+ content: "\e609";
174
+ }
175
+
176
+ .icon-sheyuanqueren:before {
177
+ content: "\e60a";
178
+ }
179
+
180
+ .icon-a-zu12010:before {
181
+ content: "\e60b";
182
+ }
183
+
184
+ .icon-jingyingyewu:before {
185
+ content: "\e60c";
186
+ }
187
+
188
+ .icon-jiaoseguanli1:before {
189
+ content: "\e60f";
190
+ }
191
+
192
+ .icon-gongzuotai:before {
193
+ content: "\e68d";
194
+ }
195
+
196
+ .icon-xiaoxi:before {
197
+ content: "\ec3b";
198
+ }
199
+
200
+ .icon-daibanshixiang:before {
201
+ content: "\e602";
202
+ }
203
+
204
+ .icon-fanlitaizhang:before {
205
+ content: "\e6a2";
206
+ }
207
+
208
+ .icon-jiaqiandayinjilu:before {
209
+ content: "\e6a3";
210
+ }
211
+
212
+ .icon-jindu:before {
213
+ content: "\e6a4";
214
+ }
215
+
216
+ .icon-liushuichaxun:before {
217
+ content: "\e6a5";
218
+ }
219
+
220
+ .icon-puweizu:before {
221
+ content: "\e6a6";
222
+ }
223
+
224
+ .icon-shangpinku:before {
225
+ content: "\e6a7";
226
+ }
227
+
228
+ .icon-shangpu:before {
229
+ content: "\e6a8";
230
+ }
231
+
232
+ .icon-sucaibiaoqian:before {
233
+ content: "\e6a9";
234
+ }
235
+
236
+ .icon-xiangmu:before {
237
+ content: "\e6aa";
238
+ }
239
+
240
+ .icon-jiaqiandayin:before {
241
+ content: "\e6ab";
242
+ }
243
+
244
+ .icon-jiaqiandayinjilu1:before {
245
+ content: "\e6ac";
246
+ }
247
+
248
+ .icon-zhekoujiaqian:before {
249
+ content: "\e6ad";
250
+ }
251
+
252
+ .icon-chuqing:before {
253
+ content: "\e6ae";
254
+ }
255
+
256
+ .icon-jiaqiantuisong:before {
257
+ content: "\e6af";
258
+ }
259
+
260
+ .icon-jiaqianjizhan:before {
261
+ content: "\e6b0";
262
+ }
263
+
264
+ .icon-jiaqianzhuangtai:before {
265
+ content: "\e6b1";
266
+ }
267
+
268
+ .icon-jiankong:before {
269
+ content: "\e6b2";
270
+ }
271
+
272
+ .icon-zhangzi:before {
273
+ content: "\e6b3";
274
+ }
275
+
276
+ .icon-gongjuji:before {
277
+ content: "\e6b4";
278
+ }
279
+
280
+ .icon-biaodan:before {
281
+ content: "\e6b6";
282
+ }
283
+
284
+ .icon-tibaobiaodan:before {
285
+ content: "\e6b9";
286
+ }
287
+
288
+ .icon-liuchengguanli:before {
289
+ content: "\e6ba";
290
+ }
291
+
292
+ .icon-mendiankanban:before {
293
+ content: "\e6bb";
294
+ }
295
+
296
+ .icon-shujutongji:before {
297
+ content: "\e6bf";
298
+ }
299
+
300
+ .icon-rizhibiangeng:before {
301
+ content: "\e6c1";
302
+ }
303
+
304
+ .icon-rizhijilu:before {
305
+ content: "\e6c2";
306
+ }
307
+
308
+ .icon-shangquanguanli:before {
309
+ content: "\e6c3";
310
+ }
311
+
312
+ .icon-xiaofeifenxi:before {
313
+ content: "\e6c6";
314
+ }
315
+
316
+ .icon-xiaoqushuju:before {
317
+ content: "\e6c7";
318
+ }
319
+
320
+ .icon-hangweifenxi:before {
321
+ content: "\e6c8";
322
+ }
323
+
324
+ .icon-fukuanbaobiaochaxun:before {
325
+ content: "\e6c9";
326
+ }
327
+
328
+ .icon-caigoubaobiao:before {
329
+ content: "\e6ca";
330
+ }
331
+
332
+ .icon-baobiao:before {
333
+ content: "\e6cb";
334
+ }
335
+
336
+ .icon-baobiaoshuju:before {
337
+ content: "\e6cc";
338
+ }
339
+
340
+ .icon-huiyuanshuju:before {
341
+ content: "\e6cd";
342
+ }
343
+
344
+ .icon-huiyuanzhuce:before {
345
+ content: "\e6cf";
346
+ }
347
+
348
+ .icon-laweichaxun:before {
349
+ content: "\e6d0";
350
+ }
351
+
352
+ .icon-lishijilu:before {
353
+ content: "\e64e";
354
+ }
355
+
356
+ .icon-fuwu1:before {
357
+ content: "\e673";
358
+ }
359
+
360
+ .icon-jiaoseyonghu:before {
361
+ content: "\e64f";
362
+ }
363
+
364
+ .icon-jigoufuwu:before {
365
+ content: "\e83e";
366
+ }
367
+
368
+ .icon-biaodanpeizhi1:before {
369
+ content: "\e653";
370
+ }
371
+
372
+ .icon-faren:before {
373
+ content: "\e623";
374
+ }
375
+
376
+ .icon-jumin-copy:before {
377
+ content: "\e60d";
378
+ }
379
+
380
+ .icon-geren:before {
381
+ content: "\e64d";
382
+ }
383
+
384
+ .icon-nongminnan:before {
385
+ content: "\e87d";
386
+ }
387
+
388
+ .icon-juminqu:before {
389
+ content: "\e6fa";
390
+ }
391
+
392
+ .icon-yejingshuzi0:before {
393
+ content: "\e62e";
394
+ }
395
+
396
+ .icon-yejingshuzi1:before {
397
+ content: "\e62f";
398
+ }
399
+
400
+ .icon-yejingshuzi8:before {
401
+ content: "\e630";
402
+ }
403
+
404
+ .icon-yejingshuzi5:before {
405
+ content: "\e631";
406
+ }
407
+
408
+ .icon-yejingshuzi2:before {
409
+ content: "\e643";
410
+ }
411
+
412
+ .icon-yejingshuzi9:before {
413
+ content: "\e648";
414
+ }
415
+
416
+ .icon-yejingshuzi6:before {
417
+ content: "\e649";
418
+ }
419
+
420
+ .icon-yejingshuzi4:before {
421
+ content: "\e64a";
422
+ }
423
+
424
+ .icon-yejingshuzi3:before {
425
+ content: "\e64b";
426
+ }
427
+
428
+ .icon-yejingshuzi7:before {
429
+ content: "\e64c";
430
+ }
431
+
432
+ .icon-caigoufukuanguanli:before {
433
+ content: "\e69c";
434
+ }
435
+
436
+ .icon-biaoshu:before {
437
+ content: "\e69d";
438
+ }
439
+
440
+ .icon-caiwufukuanguanli:before {
441
+ content: "\e69f";
442
+ }
443
+
444
+ .icon-cangkuchaxun:before {
445
+ content: "\e6a1";
446
+ }
447
+
448
+ .icon-morentihuan:before {
449
+ content: "\e6b5";
450
+ }
451
+
452
+ .icon-biaodanmoban:before {
453
+ content: "\e6b7";
454
+ }
455
+
456
+ .icon-biaodanyewu:before {
457
+ content: "\e6b8";
458
+ }
459
+
460
+ .icon-tongji:before {
461
+ content: "\e6bd";
462
+ }
463
+
464
+ .icon-huiyuanluru:before {
465
+ content: "\e6c0";
466
+ }
467
+
468
+ .icon-tucengshuju:before {
469
+ content: "\e6c5";
470
+ }
471
+
472
+ .icon-huiyuanxiaoshoufenxi:before {
473
+ content: "\e6ce";
474
+ }
475
+
476
+ .icon-xiaoshoushuju:before {
477
+ content: "\e6d1";
478
+ }
479
+
480
+ .icon-renwuchaxun:before {
481
+ content: "\e6be";
482
+ }
483
+
484
+ .icon-tibaoshenhe:before {
485
+ content: "\e6c4";
486
+ }
487
+
488
+ .icon-zhankaizhedie:before {
489
+ content: "\e712";
490
+ }
491
+
492
+ .icon-shujuzidian:before {
493
+ content: "\e666";
494
+ }
495
+
496
+ .icon-gongxiaologo-:before {
497
+ content: "\e654";
498
+ }
499
+
500
+ .icon-gongxiaoshelogo:before {
501
+ content: "\e628";
502
+ }
503
+
504
+ .icon-changongxiaobaobiao:before {
505
+ content: "\e809";
506
+ }
507
+
508
+ .icon-changongxiaozhuanti:before {
509
+ content: "\e80b";
510
+ }
511
+
512
+ .icon-changongxiao_caidanguanli:before {
513
+ content: "\e632";
514
+ }
515
+
516
+ .icon-changongxiao_gangweiguanli:before {
517
+ content: "\e634";
518
+ }
519
+
520
+ .icon-changongxiao_churukudanju:before {
521
+ content: "\e635";
522
+ }
523
+
524
+ .icon-changongxiao_gongchangshuju:before {
525
+ content: "\e636";
526
+ }
527
+
528
+ .icon-changongxiao_gerenzhongxin:before {
529
+ content: "\e637";
530
+ }
531
+
532
+ .icon-changongxiao_gongsishuju:before {
533
+ content: "\e638";
534
+ }
535
+
536
+ .icon-changongxiao_kucunchaxun:before {
537
+ content: "\e639";
538
+ }
539
+
540
+ .icon-changongxiao_huoquanzhuanyi:before {
541
+ content: "\e63a";
542
+ }
543
+
544
+ .icon-changongxiao_lakuguize:before {
545
+ content: "\e63b";
546
+ }
547
+
548
+ .icon-changongxiao_jiaoseguanli:before {
549
+ content: "\e63c";
550
+ }
551
+
552
+ .icon-changongxiao_wuliaoshuju:before {
553
+ content: "\e63d";
554
+ }
555
+
556
+ .icon-changongxiao_xiaoshoudingdan:before {
557
+ content: "\e63e";
558
+ }
559
+
560
+ .icon-changongxiao_yingxiaoguanli:before {
561
+ content: "\e63f";
562
+ }
563
+
564
+ .icon-changongxiao_xitongguanli:before {
565
+ content: "\e640";
566
+ }
567
+
568
+ .icon-changongxiao_xiaoshoujihua:before {
569
+ content: "\e642";
570
+ }
571
+
572
+ .icon-changongxiao_zhushuju:before {
573
+ content: "\e646";
574
+ }
575
+
576
+ .icon-changongxiao_yunyingguizepeizhi:before {
577
+ content: "\e647";
578
+ }
579
+