@easyv/biz-components 2.1.4 → 2.1.6

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/dist/lib/_virtual/index.es2.js +2 -2
  2. package/dist/lib/_virtual/index.es3.js +2 -2
  3. package/dist/lib/components/ai-components/mobile-voice-input/icon-button.es.js +1 -1
  4. package/dist/lib/components/ai-components/mobile-voice-input/mobile-voice-input.es.js +5 -5
  5. package/dist/lib/components/code-mirror-editor/code-mirror-editor.es.js +9 -9
  6. package/dist/lib/components/code-mirror-editor/code-mirror-editor.es.js.map +1 -1
  7. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus-context-menu.es.js +84 -0
  8. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus-context-menu.es.js.map +1 -0
  9. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus-editable-cell.es.js +58 -0
  10. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus-editable-cell.es.js.map +1 -0
  11. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus-selection.hook.es.js +97 -0
  12. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus-selection.hook.es.js.map +1 -0
  13. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus.es.js +1063 -0
  14. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid-plus.es.js.map +1 -0
  15. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid.module.less.es.js +7 -0
  16. package/dist/lib/components/easyv-reactgrid-plus/easyv-react-grid.module.less.es.js.map +1 -0
  17. package/dist/lib/components/easyv-reactgrid-plus/utils.es.js +93 -0
  18. package/dist/lib/components/easyv-reactgrid-plus/utils.es.js.map +1 -0
  19. package/dist/lib/easyv-biz-components/src/components/code-mirror-editor/code-mirror-editor.d.ts +2 -2
  20. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/easyv-react-grid-plus-context-menu.d.ts +14 -0
  21. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/easyv-react-grid-plus-editable-cell.d.ts +11 -0
  22. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/easyv-react-grid-plus-selection.hook.d.ts +16 -0
  23. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/easyv-react-grid-plus.d.ts +16 -0
  24. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/easyv-react-grid-plus.types.d.ts +18 -0
  25. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/index.d.ts +1 -0
  26. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/test/easyv-react-grid-plus.cy.d.ts +1 -0
  27. package/dist/lib/easyv-biz-components/src/components/easyv-reactgrid-plus/utils.d.ts +6 -0
  28. package/dist/lib/easyv-biz-components/src/components/index.d.ts +1 -0
  29. package/dist/lib/easyv-biz-components/src/utils/ai-agent-message-manager/constants.d.ts +3 -1
  30. package/dist/lib/easyv-biz-components/src/utils/ai-agent-message-manager/types.d.ts +1 -0
  31. package/dist/lib/easyv-biz-components/src/utils/ai-agent-message-manager/utils.d.ts +1 -0
  32. package/dist/lib/easyv-biz-components/src/utils/easy-fetch/easy-fetch.d.ts +13 -0
  33. package/dist/lib/easyv-biz-components/src/utils/easy-fetch/index.d.ts +1 -0
  34. package/dist/lib/easyv-biz-components/src/utils/easy-fetch/test/easy-fetch.cy.d.ts +1 -0
  35. package/dist/lib/easyv-biz-components/src/utils/easy-fetch/types.d.ts +6 -0
  36. package/dist/lib/easyv-biz-components/src/utils/easyv-gui-helper/component-dimension.d.ts +2 -0
  37. package/dist/lib/easyv-biz-components/src/utils/easyv-gui-helper/easyv-gui-helper.d.ts +3 -0
  38. package/dist/lib/easyv-biz-components/src/utils/easyv-gui-helper/types.d.ts +3 -0
  39. package/dist/lib/easyv-biz-components/src/utils/index.d.ts +2 -0
  40. package/dist/lib/easyv-biz-components/src/utils/twin/index.d.ts +1 -0
  41. package/dist/lib/easyv-biz-components/src/utils/twin/utils.d.ts +5 -0
  42. package/dist/lib/hooks/use-tencent-sentence-recognition/use-tencent-sentence-recognition.es.js +2 -2
  43. package/dist/lib/index.es.js +8 -1
  44. package/dist/lib/index.es.js.map +1 -1
  45. package/dist/lib/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.es.js +103 -0
  46. package/dist/lib/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.es.js.map +1 -0
  47. package/dist/lib/node_modules/.pnpm/@tanstack_react-virtual@3.13.23_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-virtual/dist/esm/index.es.js +53 -0
  48. package/dist/lib/node_modules/.pnpm/@tanstack_react-virtual@3.13.23_react-dom@18.2.0_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-virtual/dist/esm/index.es.js.map +1 -0
  49. package/dist/lib/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.es.js +2672 -0
  50. package/dist/lib/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.es.js.map +1 -0
  51. package/dist/lib/node_modules/.pnpm/@tanstack_virtual-core@3.13.23/node_modules/@tanstack/virtual-core/dist/esm/index.es.js +871 -0
  52. package/dist/lib/node_modules/.pnpm/@tanstack_virtual-core@3.13.23/node_modules/@tanstack/virtual-core/dist/esm/index.es.js.map +1 -0
  53. package/dist/lib/node_modules/.pnpm/@tanstack_virtual-core@3.13.23/node_modules/@tanstack/virtual-core/dist/esm/utils.es.js +73 -0
  54. package/dist/lib/node_modules/.pnpm/@tanstack_virtual-core@3.13.23/node_modules/@tanstack/virtual-core/dist/esm/utils.es.js.map +1 -0
  55. package/dist/lib/node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js +1 -1
  56. package/dist/lib/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isString.es.js +11 -0
  57. package/dist/lib/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isString.es.js.map +1 -0
  58. package/dist/lib/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.es.js +1 -1
  59. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{button-Dip6wfc7.es.es.js → button-VOE5PncW.es.es.js} +2 -2
  60. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{button-Dip6wfc7.es.es.js.map → button-VOE5PncW.es.es.js.map} +1 -1
  61. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{index-EAFzPBke.es.es.js → index-6AIVHTQ0.es.es.js} +11 -11
  62. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{index-EAFzPBke.es.es.js.map → index-6AIVHTQ0.es.es.js.map} +1 -1
  63. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{index-zvVd1BJp.es.es.js → index-DttpqRHH.es.es.js} +596 -605
  64. package/dist/lib/packages/easyv-arco/dist/lib/chunks/index-DttpqRHH.es.es.js.map +1 -0
  65. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{input-Dhdn9e9Z.es.es.js → input-CqQJPvav.es.es.js} +54 -54
  66. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{input-Dhdn9e9Z.es.es.js.map → input-CqQJPvav.es.es.js.map} +1 -1
  67. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{keycode-DOHuQiUY.es.es.js → keycode-cVKDBtW_.es.es.js} +4 -4
  68. package/dist/lib/packages/easyv-arco/dist/lib/chunks/{keycode-DOHuQiUY.es.es.js.map → keycode-cVKDBtW_.es.es.js.map} +1 -1
  69. package/dist/lib/packages/easyv-arco/dist/lib/index.es.es.js.map +1 -1
  70. package/dist/lib/stats.html +1 -1
  71. package/dist/lib/style.pkg.css +1 -1
  72. package/dist/lib/utils/ai-agent-message-manager/ai-agent-message-manager.es.js +9 -1
  73. package/dist/lib/utils/ai-agent-message-manager/ai-agent-message-manager.es.js.map +1 -1
  74. package/dist/lib/utils/ai-agent-message-manager/constants.es.js +4 -2
  75. package/dist/lib/utils/ai-agent-message-manager/constants.es.js.map +1 -1
  76. package/dist/lib/utils/ai-agent-message-manager/types.es.js.map +1 -1
  77. package/dist/lib/utils/ai-agent-message-manager/utils.es.js +10 -0
  78. package/dist/lib/utils/ai-agent-message-manager/utils.es.js.map +1 -0
  79. package/dist/lib/utils/easy-fetch/easy-fetch.es.js +88 -0
  80. package/dist/lib/utils/easy-fetch/easy-fetch.es.js.map +1 -0
  81. package/dist/lib/utils/easyv-gui-helper/easyv-gui-helper.es.js +13 -4
  82. package/dist/lib/utils/easyv-gui-helper/easyv-gui-helper.es.js.map +1 -1
  83. package/dist/lib/utils/show-modal/show-modal.es.js +5 -5
  84. package/dist/lib/utils/twin/utils.es.js +30 -0
  85. package/dist/lib/utils/twin/utils.es.js.map +1 -0
  86. package/dist/tailwindcss.pkg.css +113 -0
  87. package/package.json +14 -8
  88. package/dist/lib/packages/easyv-arco/dist/lib/chunks/index-zvVd1BJp.es.es.js.map +0 -1
@@ -126,10 +126,18 @@ body .biz-right-1 {
126
126
  right: 0.25rem
127
127
  }
128
128
 
129
+ body .biz-right-\[-2px\] {
130
+ right: -2px
131
+ }
132
+
129
133
  body .biz-right-\[0\.875rem\] {
130
134
  right: 0.875rem
131
135
  }
132
136
 
137
+ body .biz-top-0 {
138
+ top: 0px
139
+ }
140
+
133
141
  body .biz-top-1 {
134
142
  top: 0.25rem
135
143
  }
@@ -202,6 +210,10 @@ body .biz-h-\[200px\] {
202
210
  height: 200px
203
211
  }
204
212
 
213
+ body .biz-h-\[36px\] {
214
+ height: 36px
215
+ }
216
+
205
217
  body .biz-h-\[4\.25rem\] {
206
218
  height: 4.25rem
207
219
  }
@@ -210,6 +222,10 @@ body .biz-h-\[5rem\] {
210
222
  height: 5rem
211
223
  }
212
224
 
225
+ body .biz-h-\[6px\] {
226
+ height: 6px
227
+ }
228
+
213
229
  body .biz-h-\[6rem\] {
214
230
  height: 6rem
215
231
  }
@@ -290,6 +306,10 @@ body .biz-w-\[4\.25rem\] {
290
306
  width: 4.25rem
291
307
  }
292
308
 
309
+ body .biz-w-\[6px\] {
310
+ width: 6px
311
+ }
312
+
293
313
  body .biz-w-full {
294
314
  width: 100%
295
315
  }
@@ -302,6 +322,10 @@ body .biz-flex-1 {
302
322
  flex: 1 1 0%
303
323
  }
304
324
 
325
+ body .biz-table-fixed {
326
+ table-layout: fixed
327
+ }
328
+
305
329
  body .biz--scale-x-100 {
306
330
  --tw-scale-x: -1;
307
331
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
@@ -326,10 +350,18 @@ body .\!biz-cursor-pointer {
326
350
  cursor: pointer !important
327
351
  }
328
352
 
353
+ body .biz-cursor-col-resize {
354
+ cursor: col-resize
355
+ }
356
+
329
357
  body .biz-cursor-pointer {
330
358
  cursor: pointer
331
359
  }
332
360
 
361
+ body .biz-cursor-row-resize {
362
+ cursor: row-resize
363
+ }
364
+
333
365
  body .\!biz-select-none {
334
366
  -webkit-user-select: none !important;
335
367
  -moz-user-select: none !important;
@@ -402,12 +434,24 @@ body .biz-overflow-auto {
402
434
  overflow: auto
403
435
  }
404
436
 
437
+ body .biz-overflow-hidden {
438
+ overflow: hidden
439
+ }
440
+
405
441
  body .biz-truncate {
406
442
  overflow: hidden;
407
443
  text-overflow: ellipsis;
408
444
  white-space: nowrap
409
445
  }
410
446
 
447
+ body .biz-text-ellipsis {
448
+ text-overflow: ellipsis
449
+ }
450
+
451
+ body .biz-whitespace-nowrap {
452
+ white-space: nowrap
453
+ }
454
+
411
455
  body .biz-whitespace-pre-wrap {
412
456
  white-space: pre-wrap
413
457
  }
@@ -440,6 +484,10 @@ body .\!biz-border-\[0\.125rem\] {
440
484
  border-width: 0.125rem !important
441
485
  }
442
486
 
487
+ body .biz-border {
488
+ border-width: 1px
489
+ }
490
+
443
491
  body .biz-border-\[1px\] {
444
492
  border-width: 1px
445
493
  }
@@ -466,6 +514,11 @@ body .biz-border-\[\#393b4a\] {
466
514
  border-color: rgb(57 59 74 / var(--tw-border-opacity, 1))
467
515
  }
468
516
 
517
+ body .biz-border-\[\#3a3f4b\] {
518
+ --tw-border-opacity: 1;
519
+ border-color: rgb(58 63 75 / var(--tw-border-opacity, 1))
520
+ }
521
+
469
522
  body .biz-border-\[rgba\(58\,137\,254\,0\.1\)\] {
470
523
  border-color: rgba(58,137,254,0.1)
471
524
  }
@@ -507,6 +560,21 @@ body .biz-bg-\[\#181B22\] {
507
560
  background-color: rgb(24 27 34 / var(--tw-bg-opacity, 1))
508
561
  }
509
562
 
563
+ body .biz-bg-\[\#1b1e25\] {
564
+ --tw-bg-opacity: 1;
565
+ background-color: rgb(27 30 37 / var(--tw-bg-opacity, 1))
566
+ }
567
+
568
+ body .biz-bg-\[\#252830\] {
569
+ --tw-bg-opacity: 1;
570
+ background-color: rgb(37 40 48 / var(--tw-bg-opacity, 1))
571
+ }
572
+
573
+ body .biz-bg-\[\#337efe\] {
574
+ --tw-bg-opacity: 1;
575
+ background-color: rgb(51 126 254 / var(--tw-bg-opacity, 1))
576
+ }
577
+
510
578
  body .biz-bg-\[\#FFFFFF14\] {
511
579
  background-color: #FFFFFF14
512
580
  }
@@ -539,6 +607,11 @@ body .\!biz-p-0 {
539
607
  padding: 0px !important
540
608
  }
541
609
 
610
+ body .biz-px-1 {
611
+ padding-left: 0.25rem;
612
+ padding-right: 0.25rem
613
+ }
614
+
542
615
  body .biz-px-3 {
543
616
  padding-left: 0.75rem;
544
617
  padding-right: 0.75rem
@@ -600,6 +673,10 @@ body .biz-pt-1 {
600
673
  padding-top: 0.25rem
601
674
  }
602
675
 
676
+ body .biz-text-center {
677
+ text-align: center
678
+ }
679
+
603
680
  body .biz-text-\[0\.875rem\] {
604
681
  font-size: 0.875rem
605
682
  }
@@ -638,6 +715,16 @@ body .\!biz-text-white {
638
715
  color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important
639
716
  }
640
717
 
718
+ body .biz-text-\[\#b4b7c1\] {
719
+ --tw-text-opacity: 1;
720
+ color: rgb(180 183 193 / var(--tw-text-opacity, 1))
721
+ }
722
+
723
+ body .biz-text-\[\#c9cbd3\] {
724
+ --tw-text-opacity: 1;
725
+ color: rgb(201 203 211 / var(--tw-text-opacity, 1))
726
+ }
727
+
641
728
  body .biz-text-inherit {
642
729
  color: inherit
643
730
  }
@@ -673,12 +760,23 @@ body .\!biz-shadow-none {
673
760
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important
674
761
  }
675
762
 
763
+ body .biz-outline-none {
764
+ outline: 2px solid transparent;
765
+ outline-offset: 2px
766
+ }
767
+
676
768
  body .biz-backdrop-blur-\[2px\] {
677
769
  --tw-backdrop-blur: blur(2px);
678
770
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
679
771
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
680
772
  }
681
773
 
774
+ body .biz-transition-colors {
775
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
776
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
777
+ transition-duration: 150ms
778
+ }
779
+
682
780
  body .biz-border-one {
683
781
  border: 1px solid #FFFFFF0F
684
782
  }
@@ -689,6 +787,16 @@ body .biz-flex-center {
689
787
  align-items: center
690
788
  }
691
789
 
790
+ body .hover\:biz-bg-\[\#337efe\]:hover {
791
+ --tw-bg-opacity: 1;
792
+ background-color: rgb(51 126 254 / var(--tw-bg-opacity, 1))
793
+ }
794
+
795
+ body .hover\:biz-bg-\[\#3a89fe\]:hover {
796
+ --tw-bg-opacity: 1;
797
+ background-color: rgb(58 137 254 / var(--tw-bg-opacity, 1))
798
+ }
799
+
692
800
  body .hover\:biz-bg-bg-white:hover {
693
801
  background-color: #FFFFFF0A
694
802
  }
@@ -698,6 +806,11 @@ body .hover\:biz-text-text-1:hover {
698
806
  color: rgb(255 255 255 / var(--tw-text-opacity, 1))
699
807
  }
700
808
 
809
+ body .hover\:biz-text-white:hover {
810
+ --tw-text-opacity: 1;
811
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1))
812
+ }
813
+
701
814
  body :is(.biz-group:hover .group-hover\:\!biz-flex) {
702
815
  display: flex !important
703
816
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/biz-components",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "type": "module",
5
5
  "main": "dist/lib/index.es.js",
6
6
  "module": "dist/lib/index.es.js",
@@ -9,6 +9,10 @@
9
9
  "dist"
10
10
  ],
11
11
  "sideEffects": false,
12
+ "private": false,
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
12
16
  "scripts": {
13
17
  "dev": "vite",
14
18
  "build": "npx tsc && vite build && npm run build:style",
@@ -30,6 +34,8 @@
30
34
  "@codemirror/view": "^6.38.0",
31
35
  "@lezer/highlight": "^1.2.1",
32
36
  "@monaco-editor/react": "^4.5.1",
37
+ "@tanstack/react-table": "^8.21.3",
38
+ "@tanstack/react-virtual": "^3.13.23",
33
39
  "@uiw/codemirror-theme-abcdef": "^4.24.1",
34
40
  "@uiw/react-codemirror": "4.21.20",
35
41
  "acorn": "^8.15.0",
@@ -40,29 +46,30 @@
40
46
  "codemirror": "^6.0.2",
41
47
  "crypto-js": "^4.2.0",
42
48
  "dayjs": "^1.11.13",
43
- "js-base64": "3.7.7",
44
49
  "immer": "^10.1.1",
50
+ "js-base64": "3.7.7",
45
51
  "lodash-es": "^4.17.21",
46
52
  "monaco-editor": "~0.52.2",
47
53
  "nanoid": "^3.1.23",
48
54
  "react-markdown": "^10.1.0",
49
55
  "rehype-highlight": "^7.0.2",
50
56
  "remark-gfm": "^4.0.1",
51
- "uuid": "^11.1.0",
52
- "@easyv/arco": "workspace:*"
57
+ "uuid": "^11.1.0"
53
58
  },
54
59
  "peerDependencies": {
55
60
  "@easyv/antd": "4.21.6",
61
+ "@easyv/react-components": "0.4.5",
56
62
  "@easyv/react-icons": "^6.13.1",
63
+ "@silevis/reactgrid": "4.1.17",
57
64
  "echarts": "5.4.1",
58
65
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
59
66
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
60
- "@silevis/reactgrid": "4.1.17",
61
- "@easyv/react-components": "0.4.5",
62
67
  "socket.io-client": "^4.8.1",
63
68
  "vosk-browser": "^0.0.8"
64
69
  },
65
70
  "devDependencies": {
71
+ "@easyv/arco": "workspace:*",
72
+ "@easyv/tailwind-config": "workspace:*",
66
73
  "@types/crypto-js": "^4.2.2",
67
74
  "@types/lodash-es": "^4.17.12",
68
75
  "@types/react": "18.2.0",
@@ -80,7 +87,6 @@
80
87
  "vite": "^5.0.10",
81
88
  "vite-plugin-dts": "^3.7.0",
82
89
  "vite-plugin-monaco-editor": "^1.1.0",
83
- "vite-plugin-svgr": "4.2.0",
84
- "@easyv/tailwind-config": "workspace:*"
90
+ "vite-plugin-svgr": "4.2.0"
85
91
  }
86
92
  }