@vanduo-oss/vd3-cbun 1.3.2 → 1.4.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.
package/dist/meta.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "inputs": {
3
3
  "src/index.js": {
4
- "bytes": 860,
4
+ "bytes": 888,
5
5
  "imports": [],
6
6
  "format": "esm"
7
7
  },
@@ -43,12 +43,12 @@
43
43
  "format": "esm"
44
44
  },
45
45
  "src/code-editor/tokenizer/scanner.js": {
46
- "bytes": 2792,
46
+ "bytes": 3369,
47
47
  "imports": [],
48
48
  "format": "esm"
49
49
  },
50
50
  "src/code-editor/tokenizer/javascript.js": {
51
- "bytes": 2622,
51
+ "bytes": 7481,
52
52
  "imports": [
53
53
  {
54
54
  "path": "src/code-editor/tokenizer/scanner.js",
@@ -58,8 +58,8 @@
58
58
  ],
59
59
  "format": "esm"
60
60
  },
61
- "src/code-editor/tokenizer/html.js": {
62
- "bytes": 1834,
61
+ "src/code-editor/tokenizer/css.js": {
62
+ "bytes": 6597,
63
63
  "imports": [
64
64
  {
65
65
  "path": "src/code-editor/tokenizer/scanner.js",
@@ -69,13 +69,23 @@
69
69
  ],
70
70
  "format": "esm"
71
71
  },
72
- "src/code-editor/tokenizer/css.js": {
73
- "bytes": 1140,
72
+ "src/code-editor/tokenizer/html.js": {
73
+ "bytes": 6800,
74
74
  "imports": [
75
75
  {
76
76
  "path": "src/code-editor/tokenizer/scanner.js",
77
77
  "kind": "import-statement",
78
78
  "original": "./scanner.js"
79
+ },
80
+ {
81
+ "path": "src/code-editor/tokenizer/javascript.js",
82
+ "kind": "import-statement",
83
+ "original": "./javascript.js"
84
+ },
85
+ {
86
+ "path": "src/code-editor/tokenizer/css.js",
87
+ "kind": "import-statement",
88
+ "original": "./css.js"
79
89
  }
80
90
  ],
81
91
  "format": "esm"
@@ -125,7 +135,7 @@
125
135
  "format": "esm"
126
136
  },
127
137
  "src/code-editor/tokenizer/index.js": {
128
- "bytes": 2392,
138
+ "bytes": 2499,
129
139
  "imports": [
130
140
  {
131
141
  "path": "src/code-editor/tokenizer/javascript.js",
@@ -166,7 +176,7 @@
166
176
  "format": "esm"
167
177
  },
168
178
  "src/code-editor/highlight.js": {
169
- "bytes": 2256,
179
+ "bytes": 2757,
170
180
  "imports": [
171
181
  {
172
182
  "path": "src/code-editor/tokenizer/index.js",
@@ -193,7 +203,7 @@
193
203
  "format": "esm"
194
204
  },
195
205
  "src/code-editor/core.js": {
196
- "bytes": 17629,
206
+ "bytes": 17671,
197
207
  "imports": [
198
208
  {
199
209
  "path": "src/code-editor/tokenizer/index.js",
@@ -214,6 +224,11 @@
214
224
  "path": "src/code-editor/constants.js",
215
225
  "kind": "import-statement",
216
226
  "original": "./constants.js"
227
+ },
228
+ {
229
+ "path": "src/code-editor/highlight.js",
230
+ "kind": "import-statement",
231
+ "original": "./highlight.js"
217
232
  }
218
233
  ],
219
234
  "format": "esm"
@@ -235,7 +250,7 @@
235
250
  "format": "esm"
236
251
  },
237
252
  "src/code-editor/index.js": {
238
- "bytes": 454,
253
+ "bytes": 476,
239
254
  "imports": [
240
255
  {
241
256
  "path": "src/code-editor/vue.js",
@@ -452,7 +467,7 @@
452
467
  "imports": [],
453
468
  "exports": [],
454
469
  "inputs": {},
455
- "bytes": 1131
470
+ "bytes": 1160
456
471
  },
457
472
  "dist/index.js": {
458
473
  "imports": [],
@@ -556,7 +571,7 @@
556
571
  "imports": [],
557
572
  "exports": [],
558
573
  "inputs": {},
559
- "bytes": 77486
574
+ "bytes": 105814
560
575
  },
561
576
  "dist/code-editor/index.js": {
562
577
  "imports": [
@@ -572,6 +587,7 @@
572
587
  "VdCodeEditor",
573
588
  "VdCodeEditorCore",
574
589
  "highlight",
590
+ "renderTokensToHtml",
575
591
  "tokenize"
576
592
  ],
577
593
  "entryPoint": "src/code-editor/index.js",
@@ -580,16 +596,16 @@
580
596
  "bytesInOutput": 4614
581
597
  },
582
598
  "src/code-editor/tokenizer/scanner.js": {
583
- "bytesInOutput": 1556
599
+ "bytesInOutput": 1829
584
600
  },
585
601
  "src/code-editor/tokenizer/javascript.js": {
586
- "bytesInOutput": 2390
587
- },
588
- "src/code-editor/tokenizer/html.js": {
589
- "bytesInOutput": 1131
602
+ "bytesInOutput": 6816
590
603
  },
591
604
  "src/code-editor/tokenizer/css.js": {
592
- "bytesInOutput": 880
605
+ "bytesInOutput": 6229
606
+ },
607
+ "src/code-editor/tokenizer/html.js": {
608
+ "bytesInOutput": 6032
593
609
  },
594
610
  "src/code-editor/tokenizer/json.js": {
595
611
  "bytesInOutput": 384
@@ -604,10 +620,10 @@
604
620
  "bytesInOutput": 1825
605
621
  },
606
622
  "src/code-editor/tokenizer/index.js": {
607
- "bytesInOutput": 1259
623
+ "bytesInOutput": 1273
608
624
  },
609
625
  "src/code-editor/highlight.js": {
610
- "bytesInOutput": 1143
626
+ "bytesInOutput": 1213
611
627
  },
612
628
  "src/code-editor/constants.js": {
613
629
  "bytesInOutput": 435
@@ -622,13 +638,13 @@
622
638
  "bytesInOutput": 0
623
639
  }
624
640
  },
625
- "bytes": 37796
641
+ "bytes": 52851
626
642
  },
627
643
  "dist/code-editor/index.cjs.map": {
628
644
  "imports": [],
629
645
  "exports": [],
630
646
  "inputs": {},
631
- "bytes": 78064
647
+ "bytes": 106420
632
648
  },
633
649
  "dist/code-editor/index.cjs": {
634
650
  "imports": [
@@ -642,22 +658,22 @@
642
658
  "entryPoint": "src/code-editor/index.js",
643
659
  "inputs": {
644
660
  "src/code-editor/index.js": {
645
- "bytesInOutput": 320
661
+ "bytesInOutput": 368
646
662
  },
647
663
  "src/code-editor/vue.js": {
648
664
  "bytesInOutput": 4757
649
665
  },
650
666
  "src/code-editor/tokenizer/scanner.js": {
651
- "bytesInOutput": 1556
667
+ "bytesInOutput": 1829
652
668
  },
653
669
  "src/code-editor/tokenizer/javascript.js": {
654
- "bytesInOutput": 2390
655
- },
656
- "src/code-editor/tokenizer/html.js": {
657
- "bytesInOutput": 1131
670
+ "bytesInOutput": 6816
658
671
  },
659
672
  "src/code-editor/tokenizer/css.js": {
660
- "bytesInOutput": 880
673
+ "bytesInOutput": 6229
674
+ },
675
+ "src/code-editor/tokenizer/html.js": {
676
+ "bytesInOutput": 6032
661
677
  },
662
678
  "src/code-editor/tokenizer/json.js": {
663
679
  "bytesInOutput": 384
@@ -672,10 +688,10 @@
672
688
  "bytesInOutput": 1825
673
689
  },
674
690
  "src/code-editor/tokenizer/index.js": {
675
- "bytesInOutput": 1259
691
+ "bytesInOutput": 1273
676
692
  },
677
693
  "src/code-editor/highlight.js": {
678
- "bytesInOutput": 1143
694
+ "bytesInOutput": 1213
679
695
  },
680
696
  "src/code-editor/constants.js": {
681
697
  "bytesInOutput": 435
@@ -687,7 +703,102 @@
687
703
  "bytesInOutput": 16042
688
704
  }
689
705
  },
690
- "bytes": 38945
706
+ "bytes": 54026
707
+ },
708
+ "dist/code-editor/highlight.js.map": {
709
+ "imports": [],
710
+ "exports": [],
711
+ "inputs": {},
712
+ "bytes": 57766
713
+ },
714
+ "dist/code-editor/highlight.js": {
715
+ "imports": [],
716
+ "exports": [
717
+ "LANGUAGES",
718
+ "escapeHtml",
719
+ "highlight",
720
+ "renderTokensToDom",
721
+ "renderTokensToHtml",
722
+ "tokenize"
723
+ ],
724
+ "entryPoint": "src/code-editor/highlight.js",
725
+ "inputs": {
726
+ "src/code-editor/tokenizer/scanner.js": {
727
+ "bytesInOutput": 1829
728
+ },
729
+ "src/code-editor/tokenizer/javascript.js": {
730
+ "bytesInOutput": 6816
731
+ },
732
+ "src/code-editor/tokenizer/css.js": {
733
+ "bytesInOutput": 6229
734
+ },
735
+ "src/code-editor/tokenizer/html.js": {
736
+ "bytesInOutput": 6032
737
+ },
738
+ "src/code-editor/tokenizer/json.js": {
739
+ "bytesInOutput": 384
740
+ },
741
+ "src/code-editor/tokenizer/markdown.js": {
742
+ "bytesInOutput": 552
743
+ },
744
+ "src/code-editor/tokenizer/shell.js": {
745
+ "bytesInOutput": 1373
746
+ },
747
+ "src/code-editor/tokenizer/python.js": {
748
+ "bytesInOutput": 1825
749
+ },
750
+ "src/code-editor/tokenizer/index.js": {
751
+ "bytesInOutput": 1273
752
+ },
753
+ "src/code-editor/highlight.js": {
754
+ "bytesInOutput": 1213
755
+ }
756
+ },
757
+ "bytes": 28060
758
+ },
759
+ "dist/code-editor/highlight.cjs.map": {
760
+ "imports": [],
761
+ "exports": [],
762
+ "inputs": {},
763
+ "bytes": 57837
764
+ },
765
+ "dist/code-editor/highlight.cjs": {
766
+ "imports": [],
767
+ "exports": [],
768
+ "entryPoint": "src/code-editor/highlight.js",
769
+ "inputs": {
770
+ "src/code-editor/highlight.js": {
771
+ "bytesInOutput": 1538
772
+ },
773
+ "src/code-editor/tokenizer/scanner.js": {
774
+ "bytesInOutput": 1829
775
+ },
776
+ "src/code-editor/tokenizer/javascript.js": {
777
+ "bytesInOutput": 6816
778
+ },
779
+ "src/code-editor/tokenizer/css.js": {
780
+ "bytesInOutput": 6229
781
+ },
782
+ "src/code-editor/tokenizer/html.js": {
783
+ "bytesInOutput": 6032
784
+ },
785
+ "src/code-editor/tokenizer/json.js": {
786
+ "bytesInOutput": 384
787
+ },
788
+ "src/code-editor/tokenizer/markdown.js": {
789
+ "bytesInOutput": 552
790
+ },
791
+ "src/code-editor/tokenizer/shell.js": {
792
+ "bytesInOutput": 1373
793
+ },
794
+ "src/code-editor/tokenizer/python.js": {
795
+ "bytesInOutput": 1825
796
+ },
797
+ "src/code-editor/tokenizer/index.js": {
798
+ "bytesInOutput": 1273
799
+ }
800
+ },
801
+ "bytes": 29113
691
802
  },
692
803
  "dist/draw/index.js.map": {
693
804
  "imports": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanduo-oss/vd3-cbun",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "description": "Vanduo UI components bundle for Vue 3 — charts, code-editor, draw, flowchart, hex-grid, music-player (the vd3 line)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -35,6 +35,11 @@
35
35
  "import": "./dist/code-editor/index.js",
36
36
  "require": "./dist/code-editor/index.cjs"
37
37
  },
38
+ "./code-editor/highlight": {
39
+ "types": "./dist/code-editor/highlight.d.ts",
40
+ "import": "./dist/code-editor/highlight.js",
41
+ "require": "./dist/code-editor/highlight.cjs"
42
+ },
38
43
  "./code-editor/css": "./dist/code-editor/vd3-code-editor.css",
39
44
  "./draw": {
40
45
  "types": "./dist/draw/index.d.ts",