@vanduo-oss/vd3-cbun 1.0.0 → 1.1.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": 791,
4
+ "bytes": 817,
5
5
  "imports": [],
6
6
  "format": "esm"
7
7
  },
@@ -42,6 +42,214 @@
42
42
  ],
43
43
  "format": "esm"
44
44
  },
45
+ "src/code-editor/tokenizer/scanner.js": {
46
+ "bytes": 2792,
47
+ "imports": [],
48
+ "format": "esm"
49
+ },
50
+ "src/code-editor/tokenizer/javascript.js": {
51
+ "bytes": 2582,
52
+ "imports": [
53
+ {
54
+ "path": "src/code-editor/tokenizer/scanner.js",
55
+ "kind": "import-statement",
56
+ "original": "./scanner.js"
57
+ }
58
+ ],
59
+ "format": "esm"
60
+ },
61
+ "src/code-editor/tokenizer/html.js": {
62
+ "bytes": 1834,
63
+ "imports": [
64
+ {
65
+ "path": "src/code-editor/tokenizer/scanner.js",
66
+ "kind": "import-statement",
67
+ "original": "./scanner.js"
68
+ }
69
+ ],
70
+ "format": "esm"
71
+ },
72
+ "src/code-editor/tokenizer/css.js": {
73
+ "bytes": 1100,
74
+ "imports": [
75
+ {
76
+ "path": "src/code-editor/tokenizer/scanner.js",
77
+ "kind": "import-statement",
78
+ "original": "./scanner.js"
79
+ }
80
+ ],
81
+ "format": "esm"
82
+ },
83
+ "src/code-editor/tokenizer/json.js": {
84
+ "bytes": 556,
85
+ "imports": [
86
+ {
87
+ "path": "src/code-editor/tokenizer/scanner.js",
88
+ "kind": "import-statement",
89
+ "original": "./scanner.js"
90
+ }
91
+ ],
92
+ "format": "esm"
93
+ },
94
+ "src/code-editor/tokenizer/markdown.js": {
95
+ "bytes": 758,
96
+ "imports": [
97
+ {
98
+ "path": "src/code-editor/tokenizer/scanner.js",
99
+ "kind": "import-statement",
100
+ "original": "./scanner.js"
101
+ }
102
+ ],
103
+ "format": "esm"
104
+ },
105
+ "src/code-editor/tokenizer/shell.js": {
106
+ "bytes": 1578,
107
+ "imports": [
108
+ {
109
+ "path": "src/code-editor/tokenizer/scanner.js",
110
+ "kind": "import-statement",
111
+ "original": "./scanner.js"
112
+ }
113
+ ],
114
+ "format": "esm"
115
+ },
116
+ "src/code-editor/tokenizer/python.js": {
117
+ "bytes": 2042,
118
+ "imports": [
119
+ {
120
+ "path": "src/code-editor/tokenizer/scanner.js",
121
+ "kind": "import-statement",
122
+ "original": "./scanner.js"
123
+ }
124
+ ],
125
+ "format": "esm"
126
+ },
127
+ "src/code-editor/tokenizer/index.js": {
128
+ "bytes": 2392,
129
+ "imports": [
130
+ {
131
+ "path": "src/code-editor/tokenizer/javascript.js",
132
+ "kind": "import-statement",
133
+ "original": "./javascript.js"
134
+ },
135
+ {
136
+ "path": "src/code-editor/tokenizer/html.js",
137
+ "kind": "import-statement",
138
+ "original": "./html.js"
139
+ },
140
+ {
141
+ "path": "src/code-editor/tokenizer/css.js",
142
+ "kind": "import-statement",
143
+ "original": "./css.js"
144
+ },
145
+ {
146
+ "path": "src/code-editor/tokenizer/json.js",
147
+ "kind": "import-statement",
148
+ "original": "./json.js"
149
+ },
150
+ {
151
+ "path": "src/code-editor/tokenizer/markdown.js",
152
+ "kind": "import-statement",
153
+ "original": "./markdown.js"
154
+ },
155
+ {
156
+ "path": "src/code-editor/tokenizer/shell.js",
157
+ "kind": "import-statement",
158
+ "original": "./shell.js"
159
+ },
160
+ {
161
+ "path": "src/code-editor/tokenizer/python.js",
162
+ "kind": "import-statement",
163
+ "original": "./python.js"
164
+ }
165
+ ],
166
+ "format": "esm"
167
+ },
168
+ "src/code-editor/highlight.js": {
169
+ "bytes": 2256,
170
+ "imports": [
171
+ {
172
+ "path": "src/code-editor/tokenizer/index.js",
173
+ "kind": "import-statement",
174
+ "original": "./tokenizer/index.js"
175
+ }
176
+ ],
177
+ "format": "esm"
178
+ },
179
+ "src/code-editor/constants.js": {
180
+ "bytes": 1298,
181
+ "imports": [],
182
+ "format": "esm"
183
+ },
184
+ "src/code-editor/editing.js": {
185
+ "bytes": 4657,
186
+ "imports": [
187
+ {
188
+ "path": "src/code-editor/constants.js",
189
+ "kind": "import-statement",
190
+ "original": "./constants.js"
191
+ }
192
+ ],
193
+ "format": "esm"
194
+ },
195
+ "src/code-editor/core.js": {
196
+ "bytes": 17629,
197
+ "imports": [
198
+ {
199
+ "path": "src/code-editor/tokenizer/index.js",
200
+ "kind": "import-statement",
201
+ "original": "./tokenizer/index.js"
202
+ },
203
+ {
204
+ "path": "src/code-editor/highlight.js",
205
+ "kind": "import-statement",
206
+ "original": "./highlight.js"
207
+ },
208
+ {
209
+ "path": "src/code-editor/editing.js",
210
+ "kind": "import-statement",
211
+ "original": "./editing.js"
212
+ },
213
+ {
214
+ "path": "src/code-editor/constants.js",
215
+ "kind": "import-statement",
216
+ "original": "./constants.js"
217
+ }
218
+ ],
219
+ "format": "esm"
220
+ },
221
+ "src/code-editor/vue.js": {
222
+ "bytes": 5306,
223
+ "imports": [
224
+ {
225
+ "path": "vue",
226
+ "kind": "import-statement",
227
+ "external": true
228
+ },
229
+ {
230
+ "path": "src/code-editor/core.js",
231
+ "kind": "import-statement",
232
+ "original": "./core.js"
233
+ }
234
+ ],
235
+ "format": "esm"
236
+ },
237
+ "src/code-editor/index.js": {
238
+ "bytes": 454,
239
+ "imports": [
240
+ {
241
+ "path": "src/code-editor/vue.js",
242
+ "kind": "import-statement",
243
+ "original": "./vue.js"
244
+ },
245
+ {
246
+ "path": "src/code-editor/core.js",
247
+ "kind": "import-statement",
248
+ "original": "./core.js"
249
+ }
250
+ ],
251
+ "format": "esm"
252
+ },
45
253
  "src/flowchart/layout.js": {
46
254
  "bytes": 7394,
47
255
  "imports": [],
@@ -191,7 +399,7 @@
191
399
  "imports": [],
192
400
  "exports": [],
193
401
  "inputs": {},
194
- "bytes": 1029
402
+ "bytes": 1071
195
403
  },
196
404
  "dist/index.js": {
197
405
  "imports": [],
@@ -201,10 +409,10 @@
201
409
  "entryPoint": "src/index.js",
202
410
  "inputs": {
203
411
  "src/index.js": {
204
- "bytesInOutput": 134
412
+ "bytesInOutput": 160
205
413
  }
206
414
  },
207
- "bytes": 216
415
+ "bytes": 242
208
416
  },
209
417
  "dist/charts/index.js.map": {
210
418
  "imports": [],
@@ -291,6 +499,143 @@
291
499
  },
292
500
  "bytes": 57071
293
501
  },
502
+ "dist/code-editor/index.js.map": {
503
+ "imports": [],
504
+ "exports": [],
505
+ "inputs": {},
506
+ "bytes": 77396
507
+ },
508
+ "dist/code-editor/index.js": {
509
+ "imports": [
510
+ {
511
+ "path": "vue",
512
+ "kind": "import-statement",
513
+ "external": true
514
+ }
515
+ ],
516
+ "exports": [
517
+ "LANGUAGES",
518
+ "VD_CODE_EDITOR_VERSION",
519
+ "VdCodeEditor",
520
+ "VdCodeEditorCore",
521
+ "highlight",
522
+ "tokenize"
523
+ ],
524
+ "entryPoint": "src/code-editor/index.js",
525
+ "inputs": {
526
+ "src/code-editor/vue.js": {
527
+ "bytesInOutput": 4614
528
+ },
529
+ "src/code-editor/tokenizer/scanner.js": {
530
+ "bytesInOutput": 1556
531
+ },
532
+ "src/code-editor/tokenizer/javascript.js": {
533
+ "bytesInOutput": 2346
534
+ },
535
+ "src/code-editor/tokenizer/html.js": {
536
+ "bytesInOutput": 1131
537
+ },
538
+ "src/code-editor/tokenizer/css.js": {
539
+ "bytesInOutput": 838
540
+ },
541
+ "src/code-editor/tokenizer/json.js": {
542
+ "bytesInOutput": 384
543
+ },
544
+ "src/code-editor/tokenizer/markdown.js": {
545
+ "bytesInOutput": 552
546
+ },
547
+ "src/code-editor/tokenizer/shell.js": {
548
+ "bytesInOutput": 1373
549
+ },
550
+ "src/code-editor/tokenizer/python.js": {
551
+ "bytesInOutput": 1825
552
+ },
553
+ "src/code-editor/tokenizer/index.js": {
554
+ "bytesInOutput": 1259
555
+ },
556
+ "src/code-editor/highlight.js": {
557
+ "bytesInOutput": 1143
558
+ },
559
+ "src/code-editor/constants.js": {
560
+ "bytesInOutput": 435
561
+ },
562
+ "src/code-editor/editing.js": {
563
+ "bytesInOutput": 3498
564
+ },
565
+ "src/code-editor/core.js": {
566
+ "bytesInOutput": 16042
567
+ },
568
+ "src/code-editor/index.js": {
569
+ "bytesInOutput": 0
570
+ }
571
+ },
572
+ "bytes": 37710
573
+ },
574
+ "dist/code-editor/index.cjs.map": {
575
+ "imports": [],
576
+ "exports": [],
577
+ "inputs": {},
578
+ "bytes": 77974
579
+ },
580
+ "dist/code-editor/index.cjs": {
581
+ "imports": [
582
+ {
583
+ "path": "vue",
584
+ "kind": "require-call",
585
+ "external": true
586
+ }
587
+ ],
588
+ "exports": [],
589
+ "entryPoint": "src/code-editor/index.js",
590
+ "inputs": {
591
+ "src/code-editor/index.js": {
592
+ "bytesInOutput": 320
593
+ },
594
+ "src/code-editor/vue.js": {
595
+ "bytesInOutput": 4757
596
+ },
597
+ "src/code-editor/tokenizer/scanner.js": {
598
+ "bytesInOutput": 1556
599
+ },
600
+ "src/code-editor/tokenizer/javascript.js": {
601
+ "bytesInOutput": 2346
602
+ },
603
+ "src/code-editor/tokenizer/html.js": {
604
+ "bytesInOutput": 1131
605
+ },
606
+ "src/code-editor/tokenizer/css.js": {
607
+ "bytesInOutput": 838
608
+ },
609
+ "src/code-editor/tokenizer/json.js": {
610
+ "bytesInOutput": 384
611
+ },
612
+ "src/code-editor/tokenizer/markdown.js": {
613
+ "bytesInOutput": 552
614
+ },
615
+ "src/code-editor/tokenizer/shell.js": {
616
+ "bytesInOutput": 1373
617
+ },
618
+ "src/code-editor/tokenizer/python.js": {
619
+ "bytesInOutput": 1825
620
+ },
621
+ "src/code-editor/tokenizer/index.js": {
622
+ "bytesInOutput": 1259
623
+ },
624
+ "src/code-editor/highlight.js": {
625
+ "bytesInOutput": 1143
626
+ },
627
+ "src/code-editor/constants.js": {
628
+ "bytesInOutput": 435
629
+ },
630
+ "src/code-editor/editing.js": {
631
+ "bytesInOutput": 3498
632
+ },
633
+ "src/code-editor/core.js": {
634
+ "bytesInOutput": 16042
635
+ }
636
+ },
637
+ "bytes": 38859
638
+ },
294
639
  "dist/flowchart/index.js.map": {
295
640
  "imports": [],
296
641
  "exports": [],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vanduo-oss/vd3-cbun",
3
- "version": "1.0.0",
4
- "description": "Vanduo UI components bundle for Vue 3 — charts, flowchart, hex-grid, music-player (the vd3 line)",
3
+ "version": "1.1.0",
4
+ "description": "Vanduo UI components bundle for Vue 3 — charts, code-editor, flowchart, hex-grid, music-player (the vd3 line)",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "vanduo-oss",
@@ -30,6 +30,12 @@
30
30
  "require": "./dist/charts/index.cjs"
31
31
  },
32
32
  "./charts/css": "./dist/charts/vd3-charts.css",
33
+ "./code-editor": {
34
+ "types": "./dist/code-editor/index.d.ts",
35
+ "import": "./dist/code-editor/index.js",
36
+ "require": "./dist/code-editor/index.cjs"
37
+ },
38
+ "./code-editor/css": "./dist/code-editor/vd3-code-editor.css",
33
39
  "./flowchart": {
34
40
  "types": "./dist/flowchart/index.d.ts",
35
41
  "import": "./dist/flowchart/index.js",
@@ -66,6 +72,7 @@
66
72
  "vue",
67
73
  "components",
68
74
  "charts",
75
+ "code-editor",
69
76
  "flowchart",
70
77
  "hex-grid",
71
78
  "music-player"