Skip to content

Commit d9c61b6

Browse files
author
minjk-bl
committed
DataSets proto
1 parent c0dddfc commit d9c61b6

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

js/com/com_Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ define([
479479
Config.VP_MIN_WIDTH = Config.MENU_MIN_WIDTH + Config.BOARD_MIN_WIDTH + Config.MENU_BOARD_SPACING; // = MENU_MIN_WIDTH + BOARD_MIN_WIDTH + MENU_BOARD_SPACING
480480

481481
/**
482-
* Data types
482+
* Data types using for searching model variables
483483
*/
484484
Config.ML_DATA_DICT = {
485485
'Regression': [

js/m_ml/DataSets.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Project Name : Visual Python
3+
* Description : GUI-based Python code generator
4+
* File Name : DataSets.js
5+
* Author : Black Logic
6+
* Note : Data Sets
7+
* License : GNU GPLv3 with Visual Python special exception
8+
* Date : 2022. 02. 07
9+
* Change Date :
10+
*/
11+
12+
//============================================================================
13+
// [CLASS] DataSets
14+
//============================================================================
15+
define([
16+
'vp_base/js/com/com_util',
17+
'vp_base/js/com/com_Const',
18+
'vp_base/js/com/com_String',
19+
'vp_base/js/com/component/PopupComponent',
20+
], function(com_util, com_Const, com_String, PopupComponent) {
21+
22+
/**
23+
* DataSets
24+
*/
25+
class DataSets extends PopupComponent {
26+
_init() {
27+
super._init();
28+
this.config.sizeLevel = 2;
29+
this.config.dataview = false;
30+
31+
this.state = {
32+
33+
...this.state
34+
}
35+
}
36+
37+
38+
39+
}
40+
41+
return DataSets;
42+
});

0 commit comments

Comments
 (0)