-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathconstant.js
More file actions
1331 lines (1118 loc) · 40.6 KB
/
constant.js
File metadata and controls
1331 lines (1118 loc) · 40.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
define ([
'require'
], function(requirejs) {
"use strict";
/**
* path separator
*/
const PATH_SEPARATOR = "/";
/**
* base path
*/
const BASE_PATH = "nbextensions" + PATH_SEPARATOR + "visualpython" + PATH_SEPARATOR;
/**
* source path
*/
const SOURCE_PATH = "src" + PATH_SEPARATOR;
/**
* resource path
*/
const RESOURCE_PATH = "resource" + PATH_SEPARATOR;
/**
* style sheet path
*/
const STYLE_PATH = "css" + PATH_SEPARATOR;
/**
* data path
*/
const DATA_PATH = "data" + PATH_SEPARATOR;
/**
* main style path
*/
const MAIN_CSS_URL = "main.css";
/**
* libraries data path
*/
const VP_LIBRARIES_XML_URL = "libraries.xml";
// const VP_LIBRARIES_XML_URL = "libraries_dev.xml";
/**
* toolbar btn properties
*/
const TOOLBAR_BTN_INFO = {
HELP: "Visual Python 1.1.1"
// , ICON: "fa-angellist"
, ICON: "vp-main-icon"
, ID: "vpBtnToggle"
, NAME: "toggle-vp"
, PREFIX: "vp"
, ICON_CONTAINER: ""
}
/**
* prefix code signature
*/
const PREFIX_CODE_SIGNATURE = "# Auto-Generated by VisualPython";
/**
* VisualPython position metadata name
*/
const VP_POSITION_META_NAME = "vpPosition";
/**
* VisualPython container id
*/
const VP_CONTAINER_ID = "vp-wrapper";
/**
* container html path
*/
const VP_CONTAINER_PAGE_URL = "container" + PATH_SEPARATOR + "vpContainer.html";
/**
* VisualPython tag id prefix
*/
const VP_ID_PREFIX = "vp_";
/**
* VisualPython tag class prefix FIXME: old 제거
*/
const VP_CLASS_PREFIX = "vp-";
const VP_CLASS_PREFIX_OLD = ".vp-";
/**
* html tag data attribute prefix
*/
const TAG_DATA_PREFIX = "data-";
/**
* class for except event bind
*/
const VP_EXCEPT_BIND = VP_CLASS_PREFIX + "except-bind";
/**
* api Mode toggle btn id
*/
const API_PALETTE_MODE_BTN = VP_ID_PREFIX + "apiModeBtn";
/**
* note Mode toggle btn id
*/
const NOTE_PALETTE_MODE_BTN = VP_ID_PREFIX + "NoteModeBtn"
/**
* header container id
*/
const HEADER_CONTAINER = VP_ID_PREFIX + "headerContainer";
/**
* menu popup
*/
const MENU_POPUP = VP_ID_PREFIX + "menuPopup";
/**
* menu popup container
*/
const MENU_POPUP_CONTAINER = VP_CLASS_PREFIX + "menu-popup-container";
/**
* menu popup header
*/
const MENU_POPUP_HEADER = VP_CLASS_PREFIX + "menu-popup-header";
/**
* menu popup title
*/
const MENU_POPUP_TITLE = VP_CLASS_PREFIX + "menu-popup-title";
/**
* menu popup close
*/
const MENU_POPUP_CLOSE = VP_CLASS_PREFIX + "menu-popup-close";
/**
* menu popup body
*/
const MENU_POPUP_BODY = VP_CLASS_PREFIX + "menu-popup-body";
/**
* header extra menu btn id
*/
const HEADER_EXTRA_MENU_BTN = VP_ID_PREFIX + "headerExtraMenuBtn";
/**
* header extra menu container id
*/
const HEADER_EXTRA_MENU_CONTAINER = VP_ID_PREFIX + "headerExtraMenu";
/**
* header extra menu list
*/
const HEADER_EXTRA_MENU_LIST = VP_CLASS_PREFIX + "header-extra-menu-list";
/**
* header extra menu list line divider class
*/
const HEADER_EXTRA_MENU_LINE = VP_CLASS_PREFIX + "header-extra-menu-line";
/**
* header extra menu login id
*/
const HEADER_EXTRA_MENU_LOGIN = VP_ID_PREFIX + 'extraMenuLogin';
/**
* header extra menu login caption
*/
const HEADER_EXTRA_MENU_LOGIN_CAPTION = 'Login';
/**
* header extra menu preferences id
*/
const HEADER_EXTRA_MENU_PREFERENCES = VP_ID_PREFIX + 'extraMenuPreferences';
/**
* header extra menu preferences caption
*/
const HEADER_EXTRA_MENU_PREFERENCES_CAPTION = 'System Preferences';
/**
* header extra menu package manager id
*/
const HEADER_EXTRA_MENU_PACKAGES = VP_ID_PREFIX + 'extraMenuPackages';
/**
* header extra menu package manager caption
*/
const HEADER_EXTRA_MENU_PACKAGES_CAPTION = 'Package Manager';
/**
* header extra menu faq id
*/
const HEADER_EXTRA_MENU_VPNOTE = VP_ID_PREFIX + 'extraMenuVPNote';
/**
* faq page link
*/
const VPNOTE_PAGE_LINK = 'https://visualpython.ai/vpnote';
/**
* header extra menu faq caption
*/
const HEADER_EXTRA_MENU_VPNOTE_CAPTION = 'VP Note';
/**
* header extra menu about id
*/
const HEADER_EXTRA_MENU_ABOUT = VP_ID_PREFIX + 'extraMenuAbout';
/**
* header extra menu about caption
*/
const HEADER_EXTRA_MENU_ABOUT_CAPTION = 'About Visual Python';
/**
* about visual python page link
*/
const ABOUT_PAGE_LINK = 'https://visualpython.ai/about';
/**
* API Mode container id
*/
const API_MODE_CONTAINER = VP_ID_PREFIX + "apiContainer";
/**
* note Mode container id
*/
const NOTE_MODE_CONTAINER = VP_ID_PREFIX + "noteContainer";
/**
* API List caption
*/
const API_LIST_CAPTION = "API List";
/**
* API Block caption
*/
const API_BLOCK_CAPTION = "API Block";
/**
* vp note caption
*/
const VP_NOTE_CAPTION = "Note";
/**
* workflow caption
*/
const WORKFLOW_CAPTION = "Workflow";
/**
* tab control class
*/
const TAB_CONTAINER = VP_CLASS_PREFIX + "tab-wrap";
/**
* tab header control class
*/
const TAB_HEAD_CONTROL = VP_CLASS_PREFIX + "tab-header";
/**
* icon input text class name
*/
const ICON_INPUT_TEXT = VP_CLASS_PREFIX + "icon-input-text"
/**
* Accordion continer class name
*/
const ACCORDION_CONTAINER = VP_CLASS_PREFIX + "accordion-container";
/**
* Accordion head class name
*/
const ACCORDION_HEADER = VP_CLASS_PREFIX + "accordion-header"
/**
* Accordion head caption class
*/
const ACCORDION_HEADER_CAPTION = VP_CLASS_PREFIX + "accordion-caption";
/**
* Accordion box opened class
*/
const ACCORDION_OPEN_CLASS = VP_CLASS_PREFIX + "accordion-open";
/**
* Accordion box content class
*/
const ACCORDION_CONTENT_CLASS = VP_CLASS_PREFIX + "accordion-content";
/**
* Accordion box gray color class
*/
const ACCORDION_GRAY_COLOR = VP_CLASS_PREFIX + "accordion-gray-color";
/**
* Accordion box gray background color class
*/
const ACCORDION_GRAY_BGCOLOR = VP_CLASS_PREFIX + "accordion-gray-bgcolor";
/**
* Accordion box small arrow class
*/
const ACCORDION_SMALL_ARROW = VP_CLASS_PREFIX + "accordion-small-arrow";
/**
* library item mother wrap node
*/
const LIBRARY_ITEM_WRAP_NODE = "library";
/**
* library item type : package
*/
const LIBRARY_ITEM_TYPE_PACKAGE = "package";
/**
* library item type : fucntion
*/
const LIBRARY_ITEM_TYPE_FUNCTION = "function";
/**
* library xml item node name
*/
const LIBRARY_ITEM_TAG = "item";
/**
* library xml item depth attribute
*/
const LIBRARY_ITEM_DEPTH_ATTR = "level";
/**
* library xml item id attribute
*/
const LIBRARY_ITEM_ID_ATTR = "id";
/**
* library xml item type attribute
*/
const LIBRARY_ITEM_TYPE_ATTR = "type";
/**
* library xml item name attribute
*/
const LIBRARY_ITEM_NAME_ATTR = "name";
/**
* library xml item tag attribute
*/
const LIBRARY_ITEM_TAG_ATTR = "tag";
/**
* library xml item file url node
*/
const LIBRARY_ITEM_FILE_URL_NODE = "file";
/**
* library xml item path url node
*/
const LIBRARY_ITEM_PATH_NODE = "path";
/**
* library xml item desc url node
*/
const LIBRARY_ITEM_DESCRIPTION_NODE = "desc";
/**
* attribute for library item content for html tag
*/
const LIBRARY_ITEM_DATA_ID = TAG_DATA_PREFIX + "item-id";
/**
* api library list control class for group node
*/
const LIST_ITEM_LIBRARY = VP_CLASS_PREFIX + "libraries-list";
/**
* api library list item class for group node
*/
const LIST_ITEM_LIBRARY_GROUP = VP_CLASS_PREFIX + "libraries-group";
/**
* api library list item class for function node
*/
const LIST_ITEM_LIBRARY_FUNCTION = VP_CLASS_PREFIX + "libraries-items";
/**
* api list library list container id
*/
const API_LIST_LIBRARY_LIST_CONTAINER = VP_ID_PREFIX + "apiListLibContainer";
/**
* api block main container id
*/
const API_BLOCK_CONTAINER = VP_ID_PREFIX + "apiBlockMainContainer";
/**
* temporary area for load option
*/
const OPTION_GREEN_ROOM = VP_ID_PREFIX + "optionGreenRoom";
/**
* container for loaded option
*/
const OPTION_CONTAINER = VP_ID_PREFIX + "optionBook";
/**
* option control button panel
*/
const OPTION_CONTROL_PANEL = VP_ID_PREFIX + "optionBookControl";
/**
* loaded option navigator info panel
*/
const OPTION_NAVIGATOR_INFO_PANEL = VP_ID_PREFIX + "optionNaviInfo";
/**
* loaded option navigator info panel node
*/
const OPTION_NAVIGATOR_INFO_NODE = VP_CLASS_PREFIX + "navi-node";
/**
* loaded option close button
*/
const CLOSE_OPTION_BUTTON = VP_ID_PREFIX + "OptionBookClose";
/**
* loaded option action button container
*/
const ACTION_OPTION_BUTTON_PANEL = VP_ID_PREFIX + "OptionActionContainer";
/**
* loaded block action button container
*/
const BLOCK_OPTION_BUTTON_PANEL = VP_ID_PREFIX + "BlockActionContainer";
/**
* loaded option action button
*/
const ACTION_OPTION_BUTTON = VP_CLASS_PREFIX + "opt-action-btn";
/**
* orange fore color class
*/
const COLOR_FONT_ORANGE = VP_CLASS_PREFIX + "orange-text";
/**
* orange border class
*/
const COLOR_BORDER_ORANGE = VP_CLASS_PREFIX + "orange-border";
/**
* white box orange font color button class
*/
const COLOR_BUTTON_WHITE_ORANGE = VP_CLASS_PREFIX + "cbtn-white-orange";
/**
* orange box white font color button class
*/
const COLOR_BUTTON_ORANGE_WHITE = VP_CLASS_PREFIX + "cbtn-orange-white";
/**
* gray box white font color button class
*/
const COLOR_BUTTON_GRAY_WHITE = VP_CLASS_PREFIX + "cbtn-gray-white";
/**
* loaded option add on cell btn
*/
const OPTION_BTN_ADD_CELL = VP_ID_PREFIX + "addOnCell";
/**
* loaded option add on cell and run btn
*/
const OPTION_BTN_RUN_CELL = VP_ID_PREFIX + "runCell";
/**
* loaded block add on cell btn
*/
const BLOCK_BTN_ADD_CELL = VP_ID_PREFIX + "blockAddOnCell";
/**
* loaded block add on cell and run btn
*/
const BLOCK_BTN_RUN_CELL = VP_ID_PREFIX + "blockRunCell";
/**
* loaded option save on note btn
*/
const OPTION_BTN_SAVE_ON_NOTE = VP_ID_PREFIX + "saveOnNote";
/**
* loaded block add on note btn
*/
const BLOCK_BTN_SAVE_ON_NOTE = VP_ID_PREFIX + "blockSaveOnNote";
/**
* loaded option container
*/
const OPTION_LOAD_AREA = VP_ID_PREFIX + "optionLoadArea";
/**
* option per tab page
*/
const API_OPTION_PAGE = VP_CLASS_PREFIX + "option-page";
/**
* FIXME: 항목 삭제 필요
*/
const OPTION_PAGE = "." + VP_CLASS_PREFIX + "option-page";
/**
* note save file extension
*/
const VP_NOTE_EXTENSION = "vp";
/**
* note save file keys
*/
const VP_NOTE_NODE_DATA_CAPTION ="caption";
const VP_NOTE_NODE_DATA_CODE ="gencode";
const VP_NOTE_NODE_DATA_META ="genmeta";
const VP_NOTE_NODE_DATA_TYPE ="nodetype";
/**
* vp note main menu(first page)
*/
const VP_NOTE_MENU_CONTAINER = VP_ID_PREFIX + "noteMenu";
/**
* vp note main menu list class
*/
const VP_NOTE_MENU_LIST = VP_CLASS_PREFIX + "note-menu-list";
/**
* vp note main menu item icon
*/
const VP_NOTE_MENU_ICON = VP_CLASS_PREFIX + "note-menu-icon";
/**
* vp note contents (node list) container id
*/
const VP_NOTE_NODE_CONTAINER = VP_ID_PREFIX + "noteContents";
/**
* vp note file info container id
*/
const VP_NOTE_FILE_INFO_CONTAINER = VP_ID_PREFIX + "noteFileInfo";
/**
* vp note file name control id
*/
const VP_NOTE_FILE_PATH_CONTROL = VP_ID_PREFIX + "noteFilePath";
/**
* vp note file real path control id(hidden)
*/
const VP_NOTE_REAL_FILE_PATH = VP_ID_PREFIX + "noteRealFilePath";
/**
* vp note node item list container id
*/
const VP_NOTE_NODE_LIST_CONTAINER = VP_ID_PREFIX + "noteNodeList";
/**
* vp note node item wrap class
*/
const VP_NOTE_NODE_ITEM = VP_CLASS_PREFIX + "note-node-item";
/**
* vp note add node item wrap class for highlight
*/
const VP_NOTE_NEW_NODE_ITEM = VP_CLASS_PREFIX + "new-node-for-highlight";
/**
* vp note node type indicator
*/
const VP_NOTE_NODE_TYPE_NODE = "NODE";
const VP_NOTE_NODE_TYPE_MARKDOWN = "MARKDOWN";
/**
* vp note node type default caption
*/
const VP_NOTE_NODE_TYPE_NODE_DEFAULT_CAPTION = "Node";
const VP_NOTE_NODE_TYPE_MARKDOWN_DEFAULT_CAPTION = "Text Node";
/**
* vp note markdown node item wrap indicator class
*/
const VP_NOTE_MARKDOWN_NODE = VP_CLASS_PREFIX + "note-markdown-node";
/**
* vp note markdown render value hidden class
*/
const VP_NOTE_MARKDOWN_NODE_HIDDEN = VP_CLASS_PREFIX + "note-markdown-render-hidden";
/**
* note node genereted code
*/
const NOTE_NODE_GENERATE_CODE = VP_CLASS_PREFIX + "gene-code";
/**
* note node genereted meta
*/
const NOTE_NODE_GENERATE_META = VP_CLASS_PREFIX + "gene-meta";
/**
* vp note node icon header class
*/
const VP_NOTE_NODE_ICON_HEADER = VP_CLASS_PREFIX + "note-node-head-icon";
/**
* vp note node text header class
*/
const VP_NOTE_NODE_TEXT_HEADER = VP_CLASS_PREFIX + "note-node-head-text";
/**
* vp note node body class
*/
const VP_NOTE_NODE_BODY = VP_CLASS_PREFIX + "note-node-body";
/**
* vp note node caption class
*/
const VP_NOTE_NODE_CAPTION = VP_CLASS_PREFIX + "note-node-caption";
/**
* vp note empty node class
*/
const VP_NOTE_EMPTY_NODE = VP_CLASS_PREFIX + "empty-node";
/**
* vp note node caption input class
*/
const VP_NOTE_NODE_CAPTION_INPUT = VP_CLASS_PREFIX + "node-caption-input";
/**
* vp note node func name hidden class
*/
const VP_NOTE_NODE_FUNC_NAME = VP_CLASS_PREFIX + "node-function-name";
/**
* vp note node caption and func name coupler
*/
const VP_NOTE_NODE_FUNC_NAME_COUPLER = " - ";
/**
* vp note node additional control
*/
const VP_NOTE_NODE_ADDITIONAL_CONTROLS = VP_CLASS_PREFIX + "note-node-controls";
/**
* vp note node move up button class
*/
const VP_NOTE_NODE_MOVE_UP = VP_CLASS_PREFIX + "node-control-up";
/**
* vp note node move down button class
*/
const VP_NOTE_NODE_MOVE_DOWN = VP_CLASS_PREFIX + "node-control-down";
/**
* vp note node modify button class
*/
const VP_NOTE_NODE_MODIFY = VP_CLASS_PREFIX + "node-control-modify";
/**
* vp note node clone button class
*/
const VP_NOTE_NODE_CLONE = VP_CLASS_PREFIX + "node-control-clone";
/**
* vp note node clone caption postfix
*/
const VP_NOTE_NODE_CLONE_POSTFIX = "_copy";
/**
* vp note node remove button class
*/
const VP_NOTE_NODE_REMOVE = VP_CLASS_PREFIX + "node-control-remove";
/**
* vp note node remove confirm message
*/
const VP_NOTE_NODE_REMOVE_CONFIRM_MESSAGE = "Are you sure you want to delete this node?";
/**
* vp note node rewrite confirm message
*/
const VP_NOTE_NODE_REWRITE_CONFIRM_MESSAGE = "Selected node is not empty. Do you want rewrite node?";
/**
* vp note mode extra menu btn id
*/
const VP_NOTE_EXTRA_MENU_BTN = VP_ID_PREFIX + "noteModeExtraMenuBtn";
/**
* vp note mode extra menu container id
*/
const VP_NOTE_EXTRA_MENU_CONTAINER = VP_ID_PREFIX + "noteModeExtraMenu";
/**
* vp note mode extra menu list class
*/
const VP_NOTE_EXTRA_MENU_LIST = VP_CLASS_PREFIX + "note-mode-extra-menu-list";
/**
* vp note mode extra menu list line divider class
*/
const VP_NOTE_EXTRA_MENU_LINE = VP_CLASS_PREFIX + "extra-menu-line";
/**
* vp note mode extra menu new note id
*/
const VP_NOTE_EXTRA_MENU_NEW_NOTE = VP_ID_PREFIX + "extraMenuNewNote";
/**
* vp note mode extra menu new note caption
*/
const VP_NOTE_EXTRA_MENU_NEW_NOTE_CAPTION = "New Note";
/**
* vp note mode extra menu open note id
*/
const VP_NOTE_EXTRA_MENU_OPEN_NOTE = VP_ID_PREFIX + "extraMenuOpenNote";
/**
* vp note mode extra menu open note caption
*/
const VP_NOTE_EXTRA_MENU_OPEN_NOTE_CAPTION = "Open";
/**
* vp note mode extra menu save note id
*/
const VP_NOTE_EXTRA_MENU_SAVE_NOTE = VP_ID_PREFIX + "extraMenuSaveNote";
/**
* vp note mode extra menu save note caption
*/
const VP_NOTE_EXTRA_MENU_SAVE_NOTE_CAPTION = "Save";
/**
* vp note mode extra menu save as note id
*/
const VP_NOTE_EXTRA_MENU_SAVE_AS_NOTE = VP_ID_PREFIX + "extraMenuSaveAsNote";
/**
* vp note mode extra menu save as note caption
*/
const VP_NOTE_EXTRA_MENU_SAVE_AS_NOTE_CAPTION = "Save as";
/**
* vp note mode extra menu close note id
*/
const VP_NOTE_EXTRA_MENU_CLOSE_NOTE = VP_ID_PREFIX + "extraMenuCloseNote";
/**
* vp note mode extra menu close note caption
*/
const VP_NOTE_EXTRA_MENU_CLOSE_NOTE_CAPTION = "Close";
/**
* vp note mode extra menu undo note id
*/
const VP_NOTE_EXTRA_MENU_UNDO_NOTE = VP_ID_PREFIX + "extraMenuUndoNote";
/**
* vp note mode extra menu undo note caption
*/
const VP_NOTE_EXTRA_MENU_UNDO_NOTE_CAPTION = "Undo";
/**
* vp note mode extra menu redo note id
*/
const VP_NOTE_EXTRA_MENU_REDO_NOTE = VP_ID_PREFIX + "extraMenuRedoNote";
/**
* vp note mode extra menu undo note caption
*/
const VP_NOTE_EXTRA_MENU_REDO_NOTE_CAPTION = "Redo";
/**
* vp note mode extra menu run all note id
*/
const VP_NOTE_EXTRA_MENU_RUN_ALL_NOTE = VP_ID_PREFIX + "extraMenuRunAllNote";
/**
* vp note mode extra menu run all note caption
*/
const VP_NOTE_EXTRA_MENU_RUN_ALL_NOTE_CAPTION = "Run All";
/**
* vp note mode extra menu show detail note id
*/
const VP_NOTE_EXTRA_MENU_SHOW_DETAIL_NOTE = VP_ID_PREFIX + "extraMenuShowDetailNote";
/**
* vp note mode extra menu show detail note caption
*/
const VP_NOTE_EXTRA_MENU_SHOW_DETAIL_NOTE_CAPTION = "Show Node Detail";
/**
* vp note mode extra menu hide detail note id
*/
const VP_NOTE_EXTRA_MENU_HIDE_DETAIL_NOTE = VP_ID_PREFIX + "extraMenuHideDetailNote";
/**
* vp note mode extra menu hide detail note caption
*/
const VP_NOTE_EXTRA_MENU_HIDE_DETAIL_NOTE_CAPTION = "Hide Node Detail";
/**
* vp note main menu new note item id
*/
const VP_NOTE_MENU_NEW_NOTE = VP_ID_PREFIX + "noteMenuNew";
/**
* vp note main menu new note item caption
*/
const VP_NOTE_MENU_NEW_NOTE_CAPTION = "New Note";
/**
* vp note main menu open note item id
*/
const VP_NOTE_MENU_OPEN_NOTE = VP_ID_PREFIX + "noteMenuOpen";
/**
* vp note main menu open note item caption
*/
const VP_NOTE_MENU_OPEN_NOTE_CAPTION = "Open";
/**
* vp note menu new node container id
*/
const VP_NOTE_MENU_NEW_NODE_CONTAINER = VP_ID_PREFIX + "noteNewNodeContainer";
/**
* vp note munu new node type item class
*/
const VP_NOTE_NEW_NODE_TYPE = VP_CLASS_PREFIX + "note-new-node-type";
/**
* vp note menu new node, text type button id
*/
const VP_NOTE_NEW_NOTE_TYPE_TEXT = VP_ID_PREFIX + "noteNodeTypeText";
/**
* vp note menu new node, text type button caption
*/
const VP_NOTE_NEW_NOTE_TYPE_TEXT_CAPTION = "+ Text";
/**
* vp note menu new node, node type button id
*/
const VP_NOTE_NEW_NOTE_TYPE_NODE = VP_ID_PREFIX + "noteNodeTypeNode";
/**
* vp note menu new node, node type button caption
*/
const VP_NOTE_NEW_NOTE_TYPE_NODE_CAPTION = "+ Node";
/**
* api option prefix code textarea id
*/
const API_OPTION_PREFIX_CODE_ID = VP_ID_PREFIX + "prefixCodeArea";
/**
* api option prefix code caption
*/
const API_OPTION_PREFIX_CAPTION = "Prefix Code";
/**
* api option postfix code textarea id
*/
const API_OPTION_POSTFIX_CODE_ID = VP_ID_PREFIX + "postfixCodeArea";
/**
* api option prefix code caption
*/
const API_OPTION_POSTFIX_CAPTION = "Postfix Code";
/**
* manual code input textline area class
*/
const MANUAL_CODE_INPUT_AREA_LINE = VP_CLASS_PREFIX + "manual-code-area-line";
/**
* manual code input text area class
*/
const MANUAL_CODE_INPUT_AREA = VP_CLASS_PREFIX + "manual-code-area";
/**
* api required option accordion box caption
*/
const API_REQUIRE_OPTION_BOX_CAPTION = "Required Input";
/**
* api additional option accordion box caption
*/
const API_ADDITIONAL_OPTION_BOX_CAPTION = "Additional Option";
/**
* table layout th highliget class
*/
const OPTION_TABLE_LAYOUT_HEAD_HIGHLIGHT = VP_CLASS_PREFIX + "th-highlight";
/**
* table layout class vertical head style
*/
const OPTION_VERTICAL_TABLE_LAYOUT = VP_CLASS_PREFIX + "option-vertical-table-layout";
/**
* table layout class horizontal head style
*/
const OPTION_HORIZONTAL_TABLE_LAYOUT = VP_CLASS_PREFIX + "option-horizontal-table-layout";
/**
* table layout cell center align style class
*/
const TABLE_LAYOUT_CELL_CENTER_ALIGN = VP_CLASS_PREFIX + "merged-center-align";
/**
* merged cell indicator. use in table layout
*/
const TABLE_LAYOUT_MERGED_CELL = "&VPMERGEDCELL&";
/**
* file browser display input class
*/
const FILE_BROWSER_INPUT = VP_CLASS_PREFIX + "file-browser";
/**
* file browser open button class
*/
const FILE_BROWSER_INPUT_BUTTON = VP_CLASS_PREFIX + "file-browser-button";
/**
* suggest input uninitialized autocomplete class
*/
const VP_SUGGEST_INPUT_UNINIT = VP_CLASS_PREFIX + "suggest-input-uninit";
/**
* suggest input initialized autocomplete class
*/
const VP_SUGGEST_INPUT = VP_CLASS_PREFIX + "suggest-input";
/**
* plot select box
*/
const VP_PLOT_SELECT_BOX_ID = "vp_varViewBox";
/**
* markdown editor toolbar class
*/
const VP_MARKDOWN_EDITOR_TOOLBAR = VP_CLASS_PREFIX + "markdown-editor-toolbar";
/**
* markdown editor toolbar button class prefix
*/
const VP_MARKDOWN_TOOBAR_BTN = VP_CLASS_PREFIX + "markdown-editor-toolbar-btn";
/**
* markdown editor toolbar button title btn
*/
const VP_MARKDOWN_TOOBAR_BTN_TITLE = VP_MARKDOWN_TOOBAR_BTN + "-title";
/**
* markdown editor title toolbar default text
*/
const VP_MARKDOWN_DEFAULT_NEW_TITLE_TEXT = "New Title";
/**
* markdown editor toolbar button title btn title
*/
const VP_MARKDOWN_TOOBAR_BTN_TITLE_TITLE = "Title";
/**
* markdown editor toolbar button bold btn
*/
const VP_MARKDOWN_TOOBAR_BTN_BOLD = VP_MARKDOWN_TOOBAR_BTN + "-bold";
/**
* markdown editor bold toolbar default text
*/
const VP_MARKDOWN_DEFAULT_BOLD_TEXT = "Bold Text";
/**
* markdown editor toolbar button bold btn title
*/
const VP_MARKDOWN_TOOBAR_BTN_BOLD_TITLE = "Bold";
/**
* markdown editor toolbar button italic btn
*/
const VP_MARKDOWN_TOOBAR_BTN_ITALIC = VP_MARKDOWN_TOOBAR_BTN + "-italic";
/**
* markdown editor italic toolbar default text
*/
const VP_MARKDOWN_DEFAULT_ITALIC_TEXT = "Italic Text";
/**