@hb-hellotech/hb-ui 2.4.3 → 2.6.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 (43) hide show
  1. package/dist/App.d.ts.map +1 -1
  2. package/dist/components/func_comp/hb_func_comp_tree/src/tree.d.ts.map +1 -1
  3. package/dist/components/func_comp/hb_func_file_preview/index.d.ts +280 -85
  4. package/dist/components/func_comp/hb_func_file_preview/index.d.ts.map +1 -1
  5. package/dist/components/func_comp/hb_func_file_preview/src/file_preview.d.ts +173 -39
  6. package/dist/components/func_comp/hb_func_file_preview/src/file_preview.d.ts.map +1 -1
  7. package/dist/components/func_comp/hb_func_icon_list/constants.d.ts +11 -0
  8. package/dist/components/func_comp/hb_func_icon_list/constants.d.ts.map +1 -0
  9. package/dist/components/func_comp/hb_func_icon_list/index.d.ts +9 -0
  10. package/dist/components/func_comp/hb_func_icon_list/index.d.ts.map +1 -0
  11. package/dist/components/func_comp/hb_func_icon_list/src/icon_list.d.ts +38 -0
  12. package/dist/components/func_comp/hb_func_icon_list/src/icon_list.d.ts.map +1 -0
  13. package/dist/components/func_comp/hb_ui_config/constants.d.ts +2 -0
  14. package/dist/components/func_comp/hb_ui_config/constants.d.ts.map +1 -0
  15. package/dist/components/func_comp/hb_ui_config/index.d.ts +1 -1
  16. package/dist/components/func_comp/hb_ui_config/index.d.ts.map +1 -1
  17. package/dist/components/func_comp/hb_ui_config/src/hbUiConfig.d.ts.map +1 -1
  18. package/dist/components/func_comp/index.d.ts +2 -1
  19. package/dist/components/func_comp/index.d.ts.map +1 -1
  20. package/dist/components/hooks/index.d.ts +1 -0
  21. package/dist/components/hooks/index.d.ts.map +1 -1
  22. package/dist/components/hooks/useFilePreview.d.ts +123 -3
  23. package/dist/components/hooks/useFilePreview.d.ts.map +1 -1
  24. package/dist/components/hooks/useIconfont.d.ts +27 -0
  25. package/dist/components/hooks/useIconfont.d.ts.map +1 -0
  26. package/dist/components/hooks/useListFormItem.d.ts.map +1 -1
  27. package/dist/config/index.d.ts.map +1 -1
  28. package/dist/demo/HbLibIcon.d.ts +4 -0
  29. package/dist/demo/HbLibIcon.d.ts.map +1 -0
  30. package/dist/demo/hb_file_preview.d.ts.map +1 -1
  31. package/dist/hb_component_lib.css +1 -1
  32. package/dist/hb_component_lib.js +2592 -2612
  33. package/dist/hb_component_lib.umd.cjs +345 -2
  34. package/dist/index.d.ts +52 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/main.d.ts +52 -0
  37. package/dist/main.d.ts.map +1 -1
  38. package/dist/vue-office-docx-D0zFkT1M.js +5857 -0
  39. package/dist/vue-office-excel-B9GbNr16.js +64322 -0
  40. package/dist/vue-office-pdf-CaEuSE8g.js +2012 -0
  41. package/dist/vue-office-pptx-BeWGEYJM.js +52572 -0
  42. package/hooks/useIconfont.ts +149 -0
  43. package/package.json +19 -8
package/dist/index.d.ts CHANGED
@@ -92,6 +92,19 @@ export declare const locales: {
92
92
  fileLabel: string;
93
93
  importBtn: string;
94
94
  };
95
+ HbFilePreview: {
96
+ empty: string;
97
+ unsupported: string;
98
+ prev: string;
99
+ next: string;
100
+ download: string;
101
+ close: string;
102
+ modalTitle: string;
103
+ fileNameFallback: string;
104
+ noPreviewUrl: string;
105
+ noDownloadUrl: string;
106
+ noDownloadableFiles: string;
107
+ };
95
108
  HbFuncCompCopy: {
96
109
  copy: string;
97
110
  copyFail: string;
@@ -192,6 +205,19 @@ export declare const locales: {
192
205
  fileLabel: string;
193
206
  importBtn: string;
194
207
  };
208
+ HbFilePreview: {
209
+ empty: string;
210
+ unsupported: string;
211
+ prev: string;
212
+ next: string;
213
+ download: string;
214
+ close: string;
215
+ modalTitle: string;
216
+ fileNameFallback: string;
217
+ noPreviewUrl: string;
218
+ noDownloadUrl: string;
219
+ noDownloadableFiles: string;
220
+ };
195
221
  HbFuncCompCopy: {
196
222
  copy: string;
197
223
  copyFail: string;
@@ -292,6 +318,19 @@ export declare const locales: {
292
318
  fileLabel: string;
293
319
  importBtn: string;
294
320
  };
321
+ HbFilePreview: {
322
+ empty: string;
323
+ unsupported: string;
324
+ prev: string;
325
+ next: string;
326
+ download: string;
327
+ close: string;
328
+ modalTitle: string;
329
+ fileNameFallback: string;
330
+ noPreviewUrl: string;
331
+ noDownloadUrl: string;
332
+ noDownloadableFiles: string;
333
+ };
295
334
  HbFuncCompCopy: {
296
335
  copySuccess: string;
297
336
  copyFail: string;
@@ -395,6 +434,19 @@ export declare const locales: {
395
434
  fileLabel: string;
396
435
  importBtn: string;
397
436
  };
437
+ HbFilePreview: {
438
+ empty: string;
439
+ unsupported: string;
440
+ prev: string;
441
+ next: string;
442
+ download: string;
443
+ close: string;
444
+ modalTitle: string;
445
+ fileNameFallback: string;
446
+ noPreviewUrl: string;
447
+ noDownloadUrl: string;
448
+ noDownloadableFiles: string;
449
+ };
398
450
  HbFuncCompCopy: {
399
451
  copy: string;
400
452
  copyFail: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,oBAAoB,CAAC;AAEnC,cAAc,0BAA0B,CAAC;AAOzC,OAAO,oBAAoB,CAAC;AAG5B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAa,KAAK,GAAG,EAAE,UAAS,kBAAuB,SAa1E,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AAEnC,cAAc,0BAA0B,CAAC;AAOzC,OAAO,oBAAoB,CAAC;AAG5B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAa,KAAK,GAAG,EAAE,UAAS,kBAAuB,SAY1E,CAAC"}
package/dist/main.d.ts CHANGED
@@ -90,6 +90,19 @@ export declare function i18nInit(lan?: Record<string, unknown>): I18n<{
90
90
  fileLabel: string;
91
91
  importBtn: string;
92
92
  };
93
+ HbFilePreview: {
94
+ empty: string;
95
+ unsupported: string;
96
+ prev: string;
97
+ next: string;
98
+ download: string;
99
+ close: string;
100
+ modalTitle: string;
101
+ fileNameFallback: string;
102
+ noPreviewUrl: string;
103
+ noDownloadUrl: string;
104
+ noDownloadableFiles: string;
105
+ };
93
106
  HbFuncCompCopy: {
94
107
  copy: string;
95
108
  copyFail: string;
@@ -190,6 +203,19 @@ export declare function i18nInit(lan?: Record<string, unknown>): I18n<{
190
203
  fileLabel: string;
191
204
  importBtn: string;
192
205
  };
206
+ HbFilePreview: {
207
+ empty: string;
208
+ unsupported: string;
209
+ prev: string;
210
+ next: string;
211
+ download: string;
212
+ close: string;
213
+ modalTitle: string;
214
+ fileNameFallback: string;
215
+ noPreviewUrl: string;
216
+ noDownloadUrl: string;
217
+ noDownloadableFiles: string;
218
+ };
193
219
  HbFuncCompCopy: {
194
220
  copy: string;
195
221
  copyFail: string;
@@ -290,6 +316,19 @@ export declare function i18nInit(lan?: Record<string, unknown>): I18n<{
290
316
  fileLabel: string;
291
317
  importBtn: string;
292
318
  };
319
+ HbFilePreview: {
320
+ empty: string;
321
+ unsupported: string;
322
+ prev: string;
323
+ next: string;
324
+ download: string;
325
+ close: string;
326
+ modalTitle: string;
327
+ fileNameFallback: string;
328
+ noPreviewUrl: string;
329
+ noDownloadUrl: string;
330
+ noDownloadableFiles: string;
331
+ };
293
332
  HbFuncCompCopy: {
294
333
  copy: string;
295
334
  copyFail: string;
@@ -390,6 +429,19 @@ export declare function i18nInit(lan?: Record<string, unknown>): I18n<{
390
429
  fileLabel: string;
391
430
  importBtn: string;
392
431
  };
432
+ HbFilePreview: {
433
+ empty: string;
434
+ unsupported: string;
435
+ prev: string;
436
+ next: string;
437
+ download: string;
438
+ close: string;
439
+ modalTitle: string;
440
+ fileNameFallback: string;
441
+ noPreviewUrl: string;
442
+ noDownloadUrl: string;
443
+ noDownloadableFiles: string;
444
+ };
393
445
  HbFuncCompCopy: {
394
446
  copySuccess: string;
395
447
  copyFail: string;
@@ -1 +1 @@
1
- {"version":3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