@vanduo-oss/vd3-cbun 1.0.0 → 1.2.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": 834,
5
5
  "imports": [],
6
6
  "format": "esm"
7
7
  },
@@ -42,6 +42,267 @@
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
+ },
253
+ "src/draw/shapes.js": {
254
+ "bytes": 18178,
255
+ "imports": [],
256
+ "format": "esm"
257
+ },
258
+ "src/draw/core.js": {
259
+ "bytes": 68381,
260
+ "imports": [
261
+ {
262
+ "path": "src/draw/shapes.js",
263
+ "kind": "import-statement",
264
+ "original": "./shapes.js"
265
+ }
266
+ ],
267
+ "format": "esm"
268
+ },
269
+ "src/draw/vue.js": {
270
+ "bytes": 3709,
271
+ "imports": [
272
+ {
273
+ "path": "vue",
274
+ "kind": "import-statement",
275
+ "external": true
276
+ },
277
+ {
278
+ "path": "src/draw/core.js",
279
+ "kind": "import-statement",
280
+ "original": "./core.js"
281
+ }
282
+ ],
283
+ "format": "esm"
284
+ },
285
+ "src/draw/index.js": {
286
+ "bytes": 378,
287
+ "imports": [
288
+ {
289
+ "path": "src/draw/vue.js",
290
+ "kind": "import-statement",
291
+ "original": "./vue.js"
292
+ },
293
+ {
294
+ "path": "src/draw/core.js",
295
+ "kind": "import-statement",
296
+ "original": "./core.js"
297
+ },
298
+ {
299
+ "path": "src/draw/shapes.js",
300
+ "kind": "import-statement",
301
+ "original": "./shapes.js"
302
+ }
303
+ ],
304
+ "format": "esm"
305
+ },
45
306
  "src/flowchart/layout.js": {
46
307
  "bytes": 7394,
47
308
  "imports": [],
@@ -191,7 +452,7 @@
191
452
  "imports": [],
192
453
  "exports": [],
193
454
  "inputs": {},
194
- "bytes": 1029
455
+ "bytes": 1104
195
456
  },
196
457
  "dist/index.js": {
197
458
  "imports": [],
@@ -201,10 +462,10 @@
201
462
  "entryPoint": "src/index.js",
202
463
  "inputs": {
203
464
  "src/index.js": {
204
- "bytesInOutput": 134
465
+ "bytesInOutput": 177
205
466
  }
206
467
  },
207
- "bytes": 216
468
+ "bytes": 259
208
469
  },
209
470
  "dist/charts/index.js.map": {
210
471
  "imports": [],
@@ -291,6 +552,214 @@
291
552
  },
292
553
  "bytes": 57071
293
554
  },
555
+ "dist/code-editor/index.js.map": {
556
+ "imports": [],
557
+ "exports": [],
558
+ "inputs": {},
559
+ "bytes": 77396
560
+ },
561
+ "dist/code-editor/index.js": {
562
+ "imports": [
563
+ {
564
+ "path": "vue",
565
+ "kind": "import-statement",
566
+ "external": true
567
+ }
568
+ ],
569
+ "exports": [
570
+ "LANGUAGES",
571
+ "VD_CODE_EDITOR_VERSION",
572
+ "VdCodeEditor",
573
+ "VdCodeEditorCore",
574
+ "highlight",
575
+ "tokenize"
576
+ ],
577
+ "entryPoint": "src/code-editor/index.js",
578
+ "inputs": {
579
+ "src/code-editor/vue.js": {
580
+ "bytesInOutput": 4614
581
+ },
582
+ "src/code-editor/tokenizer/scanner.js": {
583
+ "bytesInOutput": 1556
584
+ },
585
+ "src/code-editor/tokenizer/javascript.js": {
586
+ "bytesInOutput": 2346
587
+ },
588
+ "src/code-editor/tokenizer/html.js": {
589
+ "bytesInOutput": 1131
590
+ },
591
+ "src/code-editor/tokenizer/css.js": {
592
+ "bytesInOutput": 838
593
+ },
594
+ "src/code-editor/tokenizer/json.js": {
595
+ "bytesInOutput": 384
596
+ },
597
+ "src/code-editor/tokenizer/markdown.js": {
598
+ "bytesInOutput": 552
599
+ },
600
+ "src/code-editor/tokenizer/shell.js": {
601
+ "bytesInOutput": 1373
602
+ },
603
+ "src/code-editor/tokenizer/python.js": {
604
+ "bytesInOutput": 1825
605
+ },
606
+ "src/code-editor/tokenizer/index.js": {
607
+ "bytesInOutput": 1259
608
+ },
609
+ "src/code-editor/highlight.js": {
610
+ "bytesInOutput": 1143
611
+ },
612
+ "src/code-editor/constants.js": {
613
+ "bytesInOutput": 435
614
+ },
615
+ "src/code-editor/editing.js": {
616
+ "bytesInOutput": 3498
617
+ },
618
+ "src/code-editor/core.js": {
619
+ "bytesInOutput": 16042
620
+ },
621
+ "src/code-editor/index.js": {
622
+ "bytesInOutput": 0
623
+ }
624
+ },
625
+ "bytes": 37710
626
+ },
627
+ "dist/code-editor/index.cjs.map": {
628
+ "imports": [],
629
+ "exports": [],
630
+ "inputs": {},
631
+ "bytes": 77974
632
+ },
633
+ "dist/code-editor/index.cjs": {
634
+ "imports": [
635
+ {
636
+ "path": "vue",
637
+ "kind": "require-call",
638
+ "external": true
639
+ }
640
+ ],
641
+ "exports": [],
642
+ "entryPoint": "src/code-editor/index.js",
643
+ "inputs": {
644
+ "src/code-editor/index.js": {
645
+ "bytesInOutput": 320
646
+ },
647
+ "src/code-editor/vue.js": {
648
+ "bytesInOutput": 4757
649
+ },
650
+ "src/code-editor/tokenizer/scanner.js": {
651
+ "bytesInOutput": 1556
652
+ },
653
+ "src/code-editor/tokenizer/javascript.js": {
654
+ "bytesInOutput": 2346
655
+ },
656
+ "src/code-editor/tokenizer/html.js": {
657
+ "bytesInOutput": 1131
658
+ },
659
+ "src/code-editor/tokenizer/css.js": {
660
+ "bytesInOutput": 838
661
+ },
662
+ "src/code-editor/tokenizer/json.js": {
663
+ "bytesInOutput": 384
664
+ },
665
+ "src/code-editor/tokenizer/markdown.js": {
666
+ "bytesInOutput": 552
667
+ },
668
+ "src/code-editor/tokenizer/shell.js": {
669
+ "bytesInOutput": 1373
670
+ },
671
+ "src/code-editor/tokenizer/python.js": {
672
+ "bytesInOutput": 1825
673
+ },
674
+ "src/code-editor/tokenizer/index.js": {
675
+ "bytesInOutput": 1259
676
+ },
677
+ "src/code-editor/highlight.js": {
678
+ "bytesInOutput": 1143
679
+ },
680
+ "src/code-editor/constants.js": {
681
+ "bytesInOutput": 435
682
+ },
683
+ "src/code-editor/editing.js": {
684
+ "bytesInOutput": 3498
685
+ },
686
+ "src/code-editor/core.js": {
687
+ "bytesInOutput": 16042
688
+ }
689
+ },
690
+ "bytes": 38859
691
+ },
692
+ "dist/draw/index.js.map": {
693
+ "imports": [],
694
+ "exports": [],
695
+ "inputs": {},
696
+ "bytes": 157160
697
+ },
698
+ "dist/draw/index.js": {
699
+ "imports": [
700
+ {
701
+ "path": "vue",
702
+ "kind": "import-statement",
703
+ "external": true
704
+ }
705
+ ],
706
+ "exports": [
707
+ "BRUSH_PRESETS",
708
+ "DRAW_SHAPE_TYPES",
709
+ "DRAW_TOOLS",
710
+ "VD_DRAW_VERSION",
711
+ "VdDraw",
712
+ "VdDrawCore"
713
+ ],
714
+ "entryPoint": "src/draw/index.js",
715
+ "inputs": {
716
+ "src/draw/vue.js": {
717
+ "bytesInOutput": 3146
718
+ },
719
+ "src/draw/shapes.js": {
720
+ "bytesInOutput": 13933
721
+ },
722
+ "src/draw/core.js": {
723
+ "bytesInOutput": 66037
724
+ },
725
+ "src/draw/index.js": {
726
+ "bytesInOutput": 0
727
+ }
728
+ },
729
+ "bytes": 83359
730
+ },
731
+ "dist/draw/index.cjs.map": {
732
+ "imports": [],
733
+ "exports": [],
734
+ "inputs": {},
735
+ "bytes": 157643
736
+ },
737
+ "dist/draw/index.cjs": {
738
+ "imports": [
739
+ {
740
+ "path": "vue",
741
+ "kind": "require-call",
742
+ "external": true
743
+ }
744
+ ],
745
+ "exports": [],
746
+ "entryPoint": "src/draw/index.js",
747
+ "inputs": {
748
+ "src/draw/index.js": {
749
+ "bytesInOutput": 308
750
+ },
751
+ "src/draw/vue.js": {
752
+ "bytesInOutput": 3241
753
+ },
754
+ "src/draw/shapes.js": {
755
+ "bytesInOutput": 13933
756
+ },
757
+ "src/draw/core.js": {
758
+ "bytesInOutput": 66037
759
+ }
760
+ },
761
+ "bytes": 84459
762
+ },
294
763
  "dist/flowchart/index.js.map": {
295
764
  "imports": [],
296
765
  "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.2.0",
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",
7
7
  "author": "vanduo-oss",
@@ -30,6 +30,18 @@
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",
39
+ "./draw": {
40
+ "types": "./dist/draw/index.d.ts",
41
+ "import": "./dist/draw/index.js",
42
+ "require": "./dist/draw/index.cjs"
43
+ },
44
+ "./draw/css": "./dist/draw/vd3-draw.css",
33
45
  "./flowchart": {
34
46
  "types": "./dist/flowchart/index.d.ts",
35
47
  "import": "./dist/flowchart/index.js",
@@ -66,6 +78,8 @@
66
78
  "vue",
67
79
  "components",
68
80
  "charts",
81
+ "code-editor",
82
+ "draw",
69
83
  "flowchart",
70
84
  "hex-grid",
71
85
  "music-player"