@linkdlab/funcnodes_react_flow 0.1.2 → 0.1.4
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/css/style.css +37 -0
- package/dist/frontend/datarenderer/images.d.ts +11 -11
- package/dist/frontend/datarenderer/index.d.ts +16 -16
- package/dist/frontend/datarenderer/plotly.d.ts +14 -14
- package/dist/frontend/dialog.d.ts +17 -17
- package/dist/frontend/edge.d.ts +5 -5
- package/dist/frontend/funcnodesreactflow/index.d.ts +6 -6
- package/dist/frontend/funcnodesreactflow/react_flow_layer.d.ts +5 -5
- package/dist/frontend/header/index.d.ts +4 -4
- package/dist/frontend/index.d.ts +3 -3
- package/dist/frontend/lib.d.ts +10 -10
- package/dist/frontend/node/index.d.ts +2 -2
- package/dist/frontend/node/io/default_input_renderer.d.ts +11 -11
- package/dist/frontend/node/io/default_output_render.d.ts +6 -6
- package/dist/frontend/node/io/handle_renderer.d.ts +5 -6
- package/dist/frontend/node/io/index.d.ts +3 -3
- package/dist/frontend/node/io/io.d.ts +16 -16
- package/dist/frontend/node/io/nodeinput.d.ts +6 -6
- package/dist/frontend/node/io/nodeoutput.d.ts +6 -6
- package/dist/frontend/node/node.d.ts +20 -20
- package/dist/frontend/utils/colorpicker.d.ts +19 -19
- package/dist/frontend/utils/jsondata.d.ts +6 -6
- package/dist/frontend/utils/table.d.ts +11 -11
- package/dist/funcnodes/funcnodesworker.d.ts +72 -72
- package/dist/funcnodes/index.d.ts +4 -4
- package/dist/funcnodes/websocketworker.d.ts +27 -27
- package/dist/funcnodes/workermanager.d.ts +32 -32
- package/dist/index.d.ts +2 -2
- package/dist/index.js +790 -3
- package/dist/states/edge.d.ts +7 -7
- package/dist/states/edge.t.d.ts +16 -16
- package/dist/states/fnrfzst.d.ts +10 -10
- package/dist/states/fnrfzst.t.d.ts +100 -100
- package/dist/states/index.d.ts +7 -7
- package/dist/states/lib.d.ts +3 -3
- package/dist/states/lib.t.d.ts +24 -24
- package/dist/states/node.d.ts +4 -4
- package/dist/states/node.t.d.ts +73 -73
- package/dist/states/nodeio.t.d.ts +67 -67
- package/dist/states/nodespace.d.ts +3 -3
- package/dist/states/nodespace.t.d.ts +16 -16
- package/dist/states/reactflow.d.ts +8 -8
- package/dist/states/reactflow.t.d.ts +11 -11
- package/dist/types/rendering.t.d.ts +10 -10
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/objects.d.ts +19 -19
- package/package.json +8 -6
- package/dist/frontend/datarenderer/images.js +0 -13
- package/dist/frontend/datarenderer/images.js.map +0 -1
- package/dist/frontend/datarenderer/index.js +0 -26
- package/dist/frontend/datarenderer/index.js.map +0 -1
- package/dist/frontend/datarenderer/plotly.js +0 -53
- package/dist/frontend/datarenderer/plotly.js.map +0 -1
- package/dist/frontend/dialog.js +0 -26
- package/dist/frontend/dialog.js.map +0 -1
- package/dist/frontend/edge.js +0 -40
- package/dist/frontend/edge.js.map +0 -1
- package/dist/frontend/funcnodesreactflow/index.js +0 -94
- package/dist/frontend/funcnodesreactflow/index.js.map +0 -1
- package/dist/frontend/funcnodesreactflow/react_flow_layer.js +0 -149
- package/dist/frontend/funcnodesreactflow/react_flow_layer.js.map +0 -1
- package/dist/frontend/header/index.js +0 -227
- package/dist/frontend/header/index.js.map +0 -1
- package/dist/frontend/index.js +0 -4
- package/dist/frontend/index.js.map +0 -1
- package/dist/frontend/lib.js +0 -107
- package/dist/frontend/lib.js.map +0 -1
- package/dist/frontend/node/index.js +0 -3
- package/dist/frontend/node/index.js.map +0 -1
- package/dist/frontend/node/io/default_input_renderer.js +0 -235
- package/dist/frontend/node/io/default_input_renderer.js.map +0 -1
- package/dist/frontend/node/io/default_output_render.js +0 -23
- package/dist/frontend/node/io/default_output_render.js.map +0 -1
- package/dist/frontend/node/io/handle_renderer.js +0 -70
- package/dist/frontend/node/io/handle_renderer.js.map +0 -1
- package/dist/frontend/node/io/index.js +0 -4
- package/dist/frontend/node/io/index.js.map +0 -1
- package/dist/frontend/node/io/io.js +0 -98
- package/dist/frontend/node/io/io.js.map +0 -1
- package/dist/frontend/node/io/nodeinput.js +0 -74
- package/dist/frontend/node/io/nodeinput.js.map +0 -1
- package/dist/frontend/node/io/nodeoutput.js +0 -19
- package/dist/frontend/node/io/nodeoutput.js.map +0 -1
- package/dist/frontend/node/node.js +0 -118
- package/dist/frontend/node/node.js.map +0 -1
- package/dist/frontend/utils/colorpicker.js +0 -209
- package/dist/frontend/utils/colorpicker.js.map +0 -1
- package/dist/frontend/utils/jsondata.js +0 -8
- package/dist/frontend/utils/jsondata.js.map +0 -1
- package/dist/frontend/utils/table.js +0 -108
- package/dist/frontend/utils/table.js.map +0 -1
- package/dist/funcnodes/funcnodesworker.js +0 -532
- package/dist/funcnodes/funcnodesworker.js.map +0 -1
- package/dist/funcnodes/index.js +0 -5
- package/dist/funcnodes/index.js.map +0 -1
- package/dist/funcnodes/websocketworker.js +0 -224
- package/dist/funcnodes/websocketworker.js.map +0 -1
- package/dist/funcnodes/workermanager.js +0 -241
- package/dist/funcnodes/workermanager.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/states/edge.js +0 -6
- package/dist/states/edge.js.map +0 -1
- package/dist/states/edge.t.js +0 -2
- package/dist/states/edge.t.js.map +0 -1
- package/dist/states/fnrfzst.js +0 -378
- package/dist/states/fnrfzst.js.map +0 -1
- package/dist/states/fnrfzst.t.js +0 -2
- package/dist/states/fnrfzst.t.js.map +0 -1
- package/dist/states/index.js +0 -6
- package/dist/states/index.js.map +0 -1
- package/dist/states/lib.js +0 -14
- package/dist/states/lib.js.map +0 -1
- package/dist/states/lib.t.js +0 -2
- package/dist/states/lib.t.js.map +0 -1
- package/dist/states/node.js +0 -43
- package/dist/states/node.js.map +0 -1
- package/dist/states/node.t.js +0 -2
- package/dist/states/node.t.js.map +0 -1
- package/dist/states/nodeio.t.js +0 -2
- package/dist/states/nodeio.t.js.map +0 -1
- package/dist/states/nodespace.js +0 -77
- package/dist/states/nodespace.js.map +0 -1
- package/dist/states/nodespace.t.js +0 -2
- package/dist/states/nodespace.t.js.map +0 -1
- package/dist/states/reactflow.js +0 -33
- package/dist/states/reactflow.js.map +0 -1
- package/dist/states/reactflow.t.js +0 -2
- package/dist/states/reactflow.t.js.map +0 -1
- package/dist/types/rendering.t.js +0 -2
- package/dist/types/rendering.t.js.map +0 -1
- package/dist/utils/index.js +0 -3
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/objects.js +0 -118
- package/dist/utils/objects.js.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*!****************************************************************************************************************************************************************************************************************************!*\
|
|
2
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/header/header.scss ***!
|
|
3
|
+
\****************************************************************************************************************************************************************************************************************************/
|
|
4
|
+
.funcnodesreactflowheader{display:flex;flex-direction:row;height:50px;justify-content:flex-start;left:0;position:relative;top:0}.funcnodesreactflowheader .headerelement{align-items:center;display:flex;height:100%;margin:4px;position:relative;white-space:nowrap}.funcnodesreactflowheader .statusbar{background-color:var(--funcnodesbackground2);border-radius:.5rem;display:inline-block;height:1.5rem;margin:2px 4px 0;overflow:hidden;position:relative;width:250px}.funcnodesreactflowheader .statusbar-progressbar{background-color:var(--funheadercolor);display:inline-block;height:100%;left:0;position:absolute;top:0;width:0}.funcnodesreactflowheader .statusbar-message{color:var(--funheadercolor);font-size:.8rem;left:0;mix-blend-mode:difference;position:relative;top:0}
|
|
5
|
+
/*!*********************************************************************************************************************************************************************************************************************!*\
|
|
6
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/dialog.scss ***!
|
|
7
|
+
\*********************************************************************************************************************************************************************************************************************/
|
|
8
|
+
.dialogoverlay{animation:overlayShow .15s cubic-bezier(.16,1,.3,1);background-color:#00000080;inset:0;position:fixed}.dialogconent{animation:contentShow .15s cubic-bezier(.16,1,.3,1);background-color:var(--funcnodesbackground1);border:1px solid var(--funheadercolor);border-radius:6px;box-shadow:var(--funheadercolor) 0 10px 38px -10px,var(--funheadercolor) 0 10px 20px -15px;color:var(--funcnodestextcolor1);display:flex;flex-direction:column;left:50%;max-height:85vh;max-width:85vh;padding:25px;position:fixed;top:50%;transform:translate(-50%,-50%);width:90vw}.dialogtitle{color:var(--funheadercolor);font-size:17px;font-weight:500;margin:0}.dialogdescription{font-size:15px;line-height:1.5;margin:10px 0 20px}.dialogclosebutton{align-items:center;background-color:inherit;border:none;border-radius:100%;color:var(--funheadercolor);display:inline-flex;height:25px;justify-content:center;position:absolute;right:10px;top:10px;width:25px}.dialogclosebutton:hover{background-color:var(--funheadercolor);color:var(--funcnodesbackground1)}.dialogclosebutton:active{background-color:var(--funheadercolor);color:var(--funcnodestextcolor1)}.dialogsendbutton{background-color:var(--funcnodesbackground1);border:1px solid var(--funheadercolor);border-radius:99rem;color:var(--funheadercolor);cursor:pointer;font-size:15px;margin-top:20px;padding:10px 20px}.dialogsendbutton:hover{background-color:var(--funheadercolor);color:var(--funcnodesbackground1)}.dialogsendbutton:active{background-color:var(--funheadercolor);color:var(--funcnodestextcolor1)}.dialogchildren{margin-top:20px;overflow:auto}
|
|
9
|
+
/*!******************************************************************************************************************************************************************************************************************!*\
|
|
10
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/lib.scss ***!
|
|
11
|
+
\******************************************************************************************************************************************************************************************************************/
|
|
12
|
+
:root{--expandtime:0.3s;--libnodebgcolor:#48465f;--libnodebgcolor_hover:#6a6698}.libcontainer{border-radius:.5rem;box-sizing:border-box;height:100%;left:0;top:0}.libcontainer,.library{display:flex;flex-direction:column;padding:.5rem}.library{background-color:var(--funcnodesbackground2);border-radius:var(--containerboarderradius);flex-grow:1;overflow:hidden;width:15rem}.library .libtitle{color:var(--funheadercolor);font-size:1rem;font-weight:700}.library hr{width:100%}.library hr.hr_prominent{border:.5px solid var(--funheadercolor)}.addlib{background-color:var(--funcnodesbackground2);border-radius:var(--containerboarderradius);padding:.5rem}.addlib button{background-color:var(--funcnodesbackground1);border:0;border-radius:.5rem;color:var(--funheadercolor);cursor:pointer;font-size:1rem;padding:.5rem;width:100%}.addlib button:hover{background-color:var(--funheadercolor);color:var(--funcnodesbackground1)}.addlib button:active,.addlib button[disabled]{background-color:var(--funcnodesbackground1);color:var(--funcnodestextcolor1)}.addlib button[disabled]{cursor:not-allowed}.libfilter{background-color:#0000001a;display:flex;flex-direction:row;padding:.2rem;width:100%}.libfilter:focus-within{border:1px solid var(--funheadercolor)}.libfilter input{background-color:initial;border:0;color:var(--funcnodestextcolor1);flex-grow:1}.libfilter input:focus{outline:none}.libnodecontainer{display:grid;transition:grid-template-rows var(--expandtime) ease-out}.libnodecontainer.close{grid-template-rows:0fr}.libnodecontainer.open{grid-template-rows:1fr}.libnodecontainer_inner{overflow:hidden;padding-left:10px;transition:opacity var(--expandtime) ease-out}.libnodecontainer.close .libnodecontainer_inner{opacity:.2}.libnodecontainer.open .libnodecontainer_inner{opacity:1}.shelfcontainer{display:flex;flex-direction:column;padding-bottom:.2rem;padding-top:.2rem}.shelfcontainer .shelftitle{color:var(--funheadercolor);display:flex;font-size:.8rem;opacity:.8}.shelfcontainer .shelftitle_text{flex-grow:1}.libnodeentry{background-color:var(--libnodebgcolor);border:1px solid var(--libnodebgcolor);border-radius:10px;box-shadow:-.2rem 0 #004cff;box-sizing:border-box;cursor:pointer;font-size:.8rem;margin-bottom:.2rem;padding:.1rem;transition:border .2s ease-in-out}.libnodeentry:hover{background-color:var(--libnodebgcolor_hover);border:1px solid #004cff}.expandicon{transform:rotate(0deg);transition:transform var(--expandtime) ease-out}.expandicon.close{transform:rotate(180deg)}
|
|
13
|
+
/*!************************************************************************************************************************************************************************************************************************!*\
|
|
14
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/node/node.scss ***!
|
|
15
|
+
\************************************************************************************************************************************************************************************************************************/
|
|
16
|
+
:root{--node_border_radius:5px;--handle_outer_radius:4px;--handle_inner_radius:2px;--handle_width:10;--handle_width_hover:15;--handle_overlap:3;--nodeinput_margin:2;--nodeio_shift:calc(var(--handle_overlap) - var(--nodeinput_margin));--handle_source_color:#02cff7;--handle_target_color:#089bfd;--node_background:#3e34a2;--node_header_color:#201b55}.innernode{box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%}.innernode.intrigger .nodeheader{background-color:#abb408}.innernode.error .nodeheader{background-color:red}.nodeheader{background-color:var(--node_header_color);border-radius:var(--node_border_radius) var(--node_border_radius) 0 0;box-sizing:border-box;justify-content:space-between;padding:.1rem;width:100%}.nodeheader,.nodeheader_element{align-items:center;display:flex}.nodeheader_title{flex-grow:1;justify-content:center;margin:0 10px}.nodeheader_title,.nodeheader_title_text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nodeheader_title_text{max-width:100%}.nodeheader .triggerbutton{cursor:pointer}.nodeheader .triggerbutton:hover{color:#0cc3f5}.nodeheader .triggerbutton:active{color:#075d74}.nodename_input{background:none;border:1px solid #000;border-radius:2px;box-sizing:border-box;color:#fff;font-size:inherit;margin:2px;text-align:center}.nodefooter{background-color:#4e0ba5;border-radius:0 0 var(--node_border_radius) var(--node_border_radius);padding:.1rem;width:100%}.nodefooter:empty{display:none}.nodefooter .nodeerror{background-color:rgba(255,0,0,.459);border:1px solid red;border-radius:2px;padding:.25rem}.nodebody{flex-grow:1}.noderesizecontrol{background:#0000!important;border:none!important;font-size:.5rem}.noderesizeicon{bottom:4px;font-size:.5rem;position:absolute;right:4px}.nodeinput,.nodeoutput{background-color:inherit;border:1px solid hsla(0,0%,100%,.533);border-radius:3px;box-sizing:border-box;display:flex;flex-direction:row;margin-bottom:.1rem;margin-left:calc(var(--nodeinput_margin)*1px);margin-right:calc(var(--nodeinput_margin)*1px);margin-top:.1rem;padding:.1rem;position:relative;width:auto}.iovaluefield{align-items:start;display:flex;flex-grow:1;flex-shrink:1;justify-content:start;line-break:anywhere;margin:.2rem;overflow:hidden}.iovaluefield>input{width:100%}.ioname{color:inherit;flex-grow:1;flex-shrink:1;margin:.2rem;min-width:2rem;overflow:hidden}.nodeinput .ioname{text-align:left}.nodeoutput .ioname{text-align:right}input.nodedatainput:focus{outline:none}input.nodedatainput.styledinput,select.nodedatainput.styleddropdown{background-color:var(--node_header_color);font-size:.5rem;height:1.5rem}
|
|
17
|
+
/*!*************************************************************************************************************************************************************************************************************************!*\
|
|
18
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/node/io/io.scss ***!
|
|
19
|
+
\*************************************************************************************************************************************************************************************************************************/@keyframes slideRightAndFade{0%{opacity:0;transform:translateX(-2px)}to{opacity:1;transform:translateX(0)}}@keyframes slideDownAndFade{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}@keyframes slideLeftAndFade{0%{opacity:0;transform:translateX(2px)}to{opacity:1;transform:translateX(0)}}.iotooltipcontent{background-color:#f9f9f9;border:1px solid #fff;border-radius:5px;box-shadow:0 10px 38px -10px #0e121659,0 10px 20px -15px #0e121633;color:#333;cursor:default;display:flex;flex-direction:column;font-size:10px;max-height:30vh;max-width:30vw;overflow:auto;padding:10px}.iotooltip_container{display:flex;flex-direction:column;max-height:inherit;max-width:inherit}.iotooltipcontentarrow{fill:#fff}
|
|
20
|
+
/*!**************************************************************************************************************************************************************************************************************************!*\
|
|
21
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/utils/table.scss ***!
|
|
22
|
+
\**************************************************************************************************************************************************************************************************************************/
|
|
23
|
+
.tablecontainer{background-color:#fff;overflow:auto}.tableHead{background-color:var(--funcnodesbackground1);color:var(--funheadercolor)!important;font-weight:700!important}.tableheadercolor{color:inherit!important}.indexcol,.tableheadercolor{font-family:inherit!important;font-weight:inherit!important}.indexcol{background-color:var(--funcnodesbackground2);color:var(--funheadercolor)!important}
|
|
24
|
+
/*!********************************************************************************************************************************************************************************************************************************!*\
|
|
25
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/utils/colorpicker.scss ***!
|
|
26
|
+
\********************************************************************************************************************************************************************************************************************************/
|
|
27
|
+
.colorspace{display:grid;grid-template-columns:auto minmax(0,1fr);margin:.2rem}.colorspace_title{font-size:.7em;font-weight:700}.colorspace label{font-size:.7rem}.colorspace input{font-size:.7rem;max-height:.7rem}.colorspace input[type=range]{-webkit-appearance:none;background-color:#666;border-radius:5px;height:.7rem;margin:0;padding:0;width:100%}.colorspace input[type=range]::-moz-range-thumb,.colorspace input[type=range]::-webkit-range-thumb,.colorspace input[type=range]::-webkit-slider-thumb{background-color:#cc1c1c;border-radius:50%;cursor:pointer;height:.7rem;width:.7rem}
|
|
28
|
+
/*!*******************************************************************************************************************************************************************************************************************!*\
|
|
29
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/edge.scss ***!
|
|
30
|
+
\*******************************************************************************************************************************************************************************************************************/
|
|
31
|
+
:root{--funcnodesedgecolor:#7bb3ec}
|
|
32
|
+
/*!****************************************************************************************************************************************************************************************************************************************************!*\
|
|
33
|
+
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js!./src/frontend/funcnodesreactflow/funcnodesreactflow.scss ***!
|
|
34
|
+
\****************************************************************************************************************************************************************************************************************************************************/
|
|
35
|
+
.styledbtn,.styledcheckbox,.styleddropdown,.styledinput{background-color:var(--funcnodesbackground1);border:1px solid var(--funheadercolor);border-radius:.75rem;color:var(--funcnodestextcolor1);height:2rem;padding-left:.5rem;padding-right:.5rem}.styledbtn:hover,.styledcheckbox:hover,.styleddropdown:hover,.styledinput:hover{background-color:var(--funcnodesbackground_light)}.styledbtn:active,.styledcheckbox:active,.styleddropdown:active,.styledinput:active{background-color:var(--funheadercolor);color:var(--funcnodesbackground1)}.styledbtn:focus,.styledcheckbox:focus,.styleddropdown:focus,.styledinput:focus{outline:1px solid var(--funheadercolor)}.styleddropdown{padding-right:.25rem}.styledbtn{cursor:pointer}.styledinput :focus{outline:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{background-color:tr;opacity:.5}.styledcheckbox{accent-color:var(--funheadercolor);height:auto}.styledcheckbox:focus{outline:none}.styledcheckbox:after{background-color:var(--funheadercolor);content:""}.styledcheckbox.checked{background-color:var(--funheadercolor);color:var(--funcnodesbackground1)}:root{--funheadercolor:#00d9ff;--funcnodesbackground1:#19192a;--funcnodesbackground2:#2e2c44;--funcnodesbackground_light:#4c4c76;--containerboarderradius:1rem;--funcnodestextcolor1:#fff}.funcnodesreactflowcontainer{background-color:var(--funcnodesbackground1);color:var(--funcnodestextcolor1);display:flex;flex-direction:column;height:100%;position:relative;width:100%}.funcnodesreactflowcontainer *{box-sizing:border-box}.funcnodesreactflowbody{display:flex;flex-direction:row}.funcnodesreactflowbody,.reactflowlayer{flex-grow:1;overflow:hidden;position:relative}.reactflowlayer{background-color:var(--funcnodesbackground2);border-radius:var(--containerboarderradius);margin:.5rem}.vscrollcontainer{box-sizing:border-box;flex-grow:1;overflow-x:hidden;overflow-y:auto;padding:.5rem}.workerselect{max-width:140px}.workerselectoption.selected{color:var(--funcnodestextcolor1)}.workerselectoption.active{color:green}.workerselectoption.inactive{color:red}
|
|
36
|
+
|
|
37
|
+
/*# sourceMappingURL=style.css.map */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import { BaseRenderOptions } from
|
|
3
|
-
interface ImageRenderOptions extends BaseRenderOptions {
|
|
4
|
-
format?:
|
|
5
|
-
}
|
|
6
|
-
declare const Base64ImageRenderer: ({ value, renderoptions
|
|
7
|
-
value: string;
|
|
8
|
-
renderoptions?: ImageRenderOptions;
|
|
9
|
-
}) =>
|
|
10
|
-
export { Base64ImageRenderer };
|
|
11
|
-
export type { ImageRenderOptions };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseRenderOptions } from '.';
|
|
3
|
+
interface ImageRenderOptions extends BaseRenderOptions {
|
|
4
|
+
format?: 'png' | 'jpeg';
|
|
5
|
+
}
|
|
6
|
+
declare const Base64ImageRenderer: ({ value, renderoptions }: {
|
|
7
|
+
value: string;
|
|
8
|
+
renderoptions?: ImageRenderOptions | undefined;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
|
+
export { Base64ImageRenderer };
|
|
11
|
+
export type { ImageRenderOptions };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RenderType } from
|
|
3
|
-
import { ImageRenderOptions } from
|
|
4
|
-
interface BaseRenderOptions {
|
|
5
|
-
type?: RenderType;
|
|
6
|
-
}
|
|
7
|
-
interface StringRenderOptions extends BaseRenderOptions {
|
|
8
|
-
max_length?: number;
|
|
9
|
-
}
|
|
10
|
-
type RenderOptions = BaseRenderOptions | ImageRenderOptions | StringRenderOptions;
|
|
11
|
-
declare const get_rendertype: (rendertype: string) => ({ value, renderoptions
|
|
12
|
-
value: any;
|
|
13
|
-
renderoptions?: RenderOptions;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
-
export default get_rendertype;
|
|
16
|
-
export type { RenderOptions, BaseRenderOptions };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RenderType } from '../../types/rendering.t';
|
|
3
|
+
import { ImageRenderOptions } from './images';
|
|
4
|
+
interface BaseRenderOptions {
|
|
5
|
+
type?: RenderType;
|
|
6
|
+
}
|
|
7
|
+
interface StringRenderOptions extends BaseRenderOptions {
|
|
8
|
+
max_length?: number;
|
|
9
|
+
}
|
|
10
|
+
type RenderOptions = BaseRenderOptions | ImageRenderOptions | StringRenderOptions;
|
|
11
|
+
declare const get_rendertype: (rendertype: string) => ({ value, renderoptions }: {
|
|
12
|
+
value: any;
|
|
13
|
+
renderoptions?: RenderOptions | undefined;
|
|
14
|
+
}) => JSX.Element;
|
|
15
|
+
export default get_rendertype;
|
|
16
|
+
export type { RenderOptions, BaseRenderOptions };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import { BaseRenderOptions } from
|
|
3
|
-
interface PlotlyRenderOptions extends BaseRenderOptions {
|
|
4
|
-
plottype?:
|
|
5
|
-
layout?: any;
|
|
6
|
-
colorscale?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const AnyPlot: ({ value, renderoptions
|
|
9
|
-
value: any;
|
|
10
|
-
renderoptions?: PlotlyRenderOptions;
|
|
11
|
-
}) =>
|
|
12
|
-
export {};
|
|
13
|
-
export default AnyPlot;
|
|
14
|
-
export type { PlotlyRenderOptions };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseRenderOptions } from '.';
|
|
3
|
+
interface PlotlyRenderOptions extends BaseRenderOptions {
|
|
4
|
+
plottype?: 'line' | 'scatter' | 'imshow';
|
|
5
|
+
layout?: any;
|
|
6
|
+
colorscale?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const AnyPlot: ({ value, renderoptions }: {
|
|
9
|
+
value: any;
|
|
10
|
+
renderoptions?: PlotlyRenderOptions | undefined;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
export default AnyPlot;
|
|
14
|
+
export type { PlotlyRenderOptions };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "./dialog.scss";
|
|
3
|
-
interface CustomDialogProps {
|
|
4
|
-
trigger?: React.ReactNode;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string | React.ReactNode;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
closebutton?: boolean;
|
|
9
|
-
onOpenChange?: (open: boolean) => void;
|
|
10
|
-
buttons?: {
|
|
11
|
-
text: string;
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
}[];
|
|
14
|
-
}
|
|
15
|
-
declare const CustomDialog: ({ trigger, title, description, children, closebutton, onOpenChange, buttons, }: CustomDialogProps) => React.JSX.Element;
|
|
16
|
-
export default CustomDialog;
|
|
17
|
-
export type { CustomDialogProps };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./dialog.scss";
|
|
3
|
+
interface CustomDialogProps {
|
|
4
|
+
trigger?: React.ReactNode;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string | React.ReactNode;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
closebutton?: boolean;
|
|
9
|
+
onOpenChange?: (open: boolean) => void;
|
|
10
|
+
buttons?: {
|
|
11
|
+
text: string;
|
|
12
|
+
onClick: () => void;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
declare const CustomDialog: ({ trigger, title, description, children, closebutton, onOpenChange, buttons, }: CustomDialogProps) => React.JSX.Element;
|
|
16
|
+
export default CustomDialog;
|
|
17
|
+
export type { CustomDialogProps };
|
package/dist/frontend/edge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EdgeProps } from
|
|
2
|
-
import
|
|
3
|
-
import React from
|
|
4
|
-
declare const DefaultEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, ...props }: EdgeProps) => React.JSX.Element;
|
|
5
|
-
export default DefaultEdge;
|
|
1
|
+
import { EdgeProps } from 'reactflow';
|
|
2
|
+
import './edge.scss';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
declare const DefaultEdge: ({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, data, ...props }: EdgeProps) => React.JSX.Element;
|
|
5
|
+
export default DefaultEdge;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FuncNodesReactFlowZustandInterface } from "../../states/fnrfzst.t";
|
|
3
|
-
declare const FuncNodesContext: React.Context<FuncNodesReactFlowZustandInterface>;
|
|
4
|
-
declare const FuncnodesReactFlow: () => React.JSX.Element;
|
|
5
|
-
export default FuncnodesReactFlow;
|
|
6
|
-
export { FuncNodesContext };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FuncNodesReactFlowZustandInterface } from "../../states/fnrfzst.t";
|
|
3
|
+
declare const FuncNodesContext: React.Context<FuncNodesReactFlowZustandInterface>;
|
|
4
|
+
declare const FuncnodesReactFlow: () => React.JSX.Element;
|
|
5
|
+
export default FuncnodesReactFlow;
|
|
6
|
+
export { FuncNodesContext };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
declare const ReactFlowLayer: () => React.JSX.Element;
|
|
5
|
-
export default ReactFlowLayer;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'reactflow/dist/style.css';
|
|
3
|
+
import './funcnodesreactflow.scss';
|
|
4
|
+
declare const ReactFlowLayer: () => React.JSX.Element;
|
|
5
|
+
export default ReactFlowLayer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./header.scss";
|
|
2
|
-
import React from "react";
|
|
3
|
-
declare const FuncnodesHeader: () => React.JSX.Element;
|
|
4
|
-
export default FuncnodesHeader;
|
|
1
|
+
import "./header.scss";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare const FuncnodesHeader: () => React.JSX.Element;
|
|
4
|
+
export default FuncnodesHeader;
|
package/dist/frontend/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import FuncnodesReactFlow, { FuncNodesContext } from "./funcnodesreactflow";
|
|
2
|
-
export default FuncnodesReactFlow;
|
|
3
|
-
export { FuncNodesContext };
|
|
1
|
+
import FuncnodesReactFlow, { FuncNodesContext } from "./funcnodesreactflow";
|
|
2
|
+
export default FuncnodesReactFlow;
|
|
3
|
+
export { FuncNodesContext };
|
package/dist/frontend/lib.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import
|
|
3
|
-
import { Shelf } from
|
|
4
|
-
declare const LibraryShelf: ({ item, filter }: {
|
|
5
|
-
item: Shelf;
|
|
6
|
-
filter: string;
|
|
7
|
-
}) => React.JSX.Element;
|
|
8
|
-
declare const Library: () => React.JSX.Element;
|
|
9
|
-
export default Library;
|
|
10
|
-
export { LibraryShelf as LibraryItem };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './lib.scss';
|
|
3
|
+
import { Shelf } from '../states/lib.t';
|
|
4
|
+
declare const LibraryShelf: ({ item, filter }: {
|
|
5
|
+
item: Shelf;
|
|
6
|
+
filter: string;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
declare const Library: () => React.JSX.Element;
|
|
9
|
+
export default Library;
|
|
10
|
+
export { LibraryShelf as LibraryItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import DefaultNode from "./node";
|
|
2
|
-
export default DefaultNode;
|
|
1
|
+
import DefaultNode from "./node";
|
|
2
|
+
export default DefaultNode;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { InputRendererProps } from
|
|
2
|
-
import React from
|
|
3
|
-
declare const BooleanInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
4
|
-
declare const FloatInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
5
|
-
declare const IntegerInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
6
|
-
declare const StringInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
7
|
-
declare const SelectionInput: ({ io, inputconverter, parser
|
|
8
|
-
parser?(s: string): any;
|
|
9
|
-
}) => React.JSX.Element;
|
|
10
|
-
declare const ColorInput: ({ io
|
|
11
|
-
export { FloatInput, IntegerInput, BooleanInput, StringInput, SelectionInput, ColorInput
|
|
1
|
+
import { InputRendererProps } from '../../../states/nodeio.t';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const BooleanInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
4
|
+
declare const FloatInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
5
|
+
declare const IntegerInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
6
|
+
declare const StringInput: ({ io, inputconverter }: InputRendererProps) => React.JSX.Element;
|
|
7
|
+
declare const SelectionInput: ({ io, inputconverter, parser }: InputRendererProps & {
|
|
8
|
+
parser?(s: string): any;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
|
+
declare const ColorInput: ({ io }: InputRendererProps) => React.JSX.Element;
|
|
11
|
+
export { FloatInput, IntegerInput, BooleanInput, StringInput, SelectionInput, ColorInput };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IOType } from
|
|
2
|
-
import React from
|
|
3
|
-
declare const InLineOutput: ({ io }: {
|
|
4
|
-
io: IOType;
|
|
5
|
-
}) => React.JSX.Element;
|
|
6
|
-
export { InLineOutput };
|
|
1
|
+
import { IOType } from '../../../states/nodeio.t';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const InLineOutput: ({ io }: {
|
|
4
|
+
io: IOType;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
|
+
export { InLineOutput };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { IOType } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { PreviewHandleDataRendererForIo };
|
|
1
|
+
import { IOType } from '../../../states/nodeio.t';
|
|
2
|
+
declare const PreviewHandleDataRendererForIo: (io: IOType) => ({ io }: {
|
|
3
|
+
io: IOType;
|
|
4
|
+
}) => JSX.Element;
|
|
5
|
+
export { PreviewHandleDataRendererForIo };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import NodeInput from "./nodeinput";
|
|
2
|
-
import NodeOutput from "./nodeoutput";
|
|
3
|
-
export { NodeInput, NodeOutput };
|
|
1
|
+
import NodeInput from "./nodeinput";
|
|
2
|
+
import NodeOutput from "./nodeoutput";
|
|
3
|
+
export { NodeInput, NodeOutput };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { IOType, SerializedType } from
|
|
5
|
-
declare const pick_best_io_type: (iot: SerializedType, typemap: {
|
|
6
|
-
[key: string]: string;
|
|
7
|
-
}) => [string | undefined, string | undefined];
|
|
8
|
-
type HandleWithPreviewProps = {
|
|
9
|
-
io: IOType;
|
|
10
|
-
typestring: string | undefined;
|
|
11
|
-
preview?: React.FC<{
|
|
12
|
-
io: IOType;
|
|
13
|
-
}>;
|
|
14
|
-
} & HandleProps;
|
|
15
|
-
declare const HandleWithPreview: ({ io, typestring, preview, ...props }: HandleWithPreviewProps) =>
|
|
16
|
-
export { pick_best_io_type, HandleWithPreview };
|
|
1
|
+
import './io.scss';
|
|
2
|
+
import { HandleProps } from 'reactflow';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { IOType, SerializedType } from '../../../states/nodeio.t';
|
|
5
|
+
declare const pick_best_io_type: (iot: SerializedType, typemap: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
}) => [string | undefined, string | undefined];
|
|
8
|
+
type HandleWithPreviewProps = {
|
|
9
|
+
io: IOType;
|
|
10
|
+
typestring: string | undefined;
|
|
11
|
+
preview?: React.FC<{
|
|
12
|
+
io: IOType;
|
|
13
|
+
}>;
|
|
14
|
+
} & HandleProps;
|
|
15
|
+
declare const HandleWithPreview: ({ io, typestring, preview, ...props }: HandleWithPreviewProps) => React.JSX.Element;
|
|
16
|
+
export { pick_best_io_type, HandleWithPreview };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IOType } from
|
|
2
|
-
import React from
|
|
3
|
-
declare const NodeInput: ({ io }: {
|
|
4
|
-
io: IOType;
|
|
5
|
-
}) => React.JSX.Element;
|
|
6
|
-
export default NodeInput;
|
|
1
|
+
import { IOType } from '../../../states/nodeio.t';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const NodeInput: ({ io }: {
|
|
4
|
+
io: IOType;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
|
+
export default NodeInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IOType } from
|
|
2
|
-
import React from
|
|
3
|
-
declare const NodeOutput: ({ io }: {
|
|
4
|
-
io: IOType;
|
|
5
|
-
}) => React.JSX.Element;
|
|
6
|
-
export default NodeOutput;
|
|
1
|
+
import { IOType } from '../../../states/nodeio.t';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const NodeOutput: ({ io }: {
|
|
4
|
+
io: IOType;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
|
+
export default NodeOutput;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { NodeStore } from
|
|
3
|
-
import
|
|
4
|
-
/**
|
|
5
|
-
* A generic function to deeply merge two objects of type T.
|
|
6
|
-
*
|
|
7
|
-
* @param {T} target - The target object to be merged.
|
|
8
|
-
* @param {DeepPartial<T>} source - The source object to merge into the target. All properties of this object are optional.
|
|
9
|
-
*
|
|
10
|
-
* @returns {Object} An object containing the merged object (new_obj) and a boolean indicating if there was a change (change).
|
|
11
|
-
*
|
|
12
|
-
* @throws {Type 'string' cannot be used to index type 'T'} This error is ignored using the @ts-ignore directive because we are dynamically accessing properties of a generic type T.
|
|
13
|
-
*/
|
|
14
|
-
declare const DefaultNode: ({ data }: {
|
|
15
|
-
data: {
|
|
16
|
-
UseNodeStore: NodeStore;
|
|
17
|
-
};
|
|
18
|
-
}) => React.JSX.Element;
|
|
19
|
-
export default DefaultNode;
|
|
20
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NodeStore } from '../../states/node.t';
|
|
3
|
+
import './node.scss';
|
|
4
|
+
/**
|
|
5
|
+
* A generic function to deeply merge two objects of type T.
|
|
6
|
+
*
|
|
7
|
+
* @param {T} target - The target object to be merged.
|
|
8
|
+
* @param {DeepPartial<T>} source - The source object to merge into the target. All properties of this object are optional.
|
|
9
|
+
*
|
|
10
|
+
* @returns {Object} An object containing the merged object (new_obj) and a boolean indicating if there was a change (change).
|
|
11
|
+
*
|
|
12
|
+
* @throws {Type 'string' cannot be used to index type 'T'} This error is ignored using the @ts-ignore directive because we are dynamically accessing properties of a generic type T.
|
|
13
|
+
*/
|
|
14
|
+
declare const DefaultNode: ({ data }: {
|
|
15
|
+
data: {
|
|
16
|
+
UseNodeStore: NodeStore;
|
|
17
|
+
};
|
|
18
|
+
}) => React.JSX.Element;
|
|
19
|
+
export default DefaultNode;
|
|
20
|
+
export {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import
|
|
3
|
-
declare const HSLColorPicker: ({ onChange, colorconverter
|
|
4
|
-
onChange: (colorconverter: {
|
|
5
|
-
[key: string]: () => number[] | string;
|
|
6
|
-
}) => void;
|
|
7
|
-
colorconverter: {
|
|
8
|
-
[key: string]: () => number[] | string;
|
|
9
|
-
};
|
|
10
|
-
}) => React.JSX.Element;
|
|
11
|
-
declare const CustomColorPicker: ({ inicolordata, inicolorspace, onChange
|
|
12
|
-
inicolordata?:
|
|
13
|
-
inicolorspace?: string;
|
|
14
|
-
onChange?: (colorconverter: {
|
|
15
|
-
[key: string]: () => number[] | string;
|
|
16
|
-
}) => void;
|
|
17
|
-
}) => React.JSX.Element;
|
|
18
|
-
export default CustomColorPicker;
|
|
19
|
-
export { HSLColorPicker };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './colorpicker.scss';
|
|
3
|
+
declare const HSLColorPicker: ({ onChange, colorconverter }: {
|
|
4
|
+
onChange: (colorconverter: {
|
|
5
|
+
[key: string]: () => number[] | string;
|
|
6
|
+
}) => void;
|
|
7
|
+
colorconverter: {
|
|
8
|
+
[key: string]: () => number[] | string;
|
|
9
|
+
};
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
|
+
declare const CustomColorPicker: ({ inicolordata, inicolorspace, onChange }: {
|
|
12
|
+
inicolordata?: string | string[] | number[] | undefined;
|
|
13
|
+
inicolorspace?: string | undefined;
|
|
14
|
+
onChange?: ((colorconverter: {
|
|
15
|
+
[key: string]: () => number[] | string;
|
|
16
|
+
}) => void) | undefined;
|
|
17
|
+
}) => React.JSX.Element;
|
|
18
|
+
export default CustomColorPicker;
|
|
19
|
+
export { HSLColorPicker };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
declare const JSONDataDisplay: ({ data }: {
|
|
4
|
-
data: any;
|
|
5
|
-
}) =>
|
|
6
|
-
export default JSONDataDisplay;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'react-json-view-lite/dist/index.css';
|
|
3
|
+
declare const JSONDataDisplay: ({ data }: {
|
|
4
|
+
data: any;
|
|
5
|
+
}) => React.JSX.Element;
|
|
6
|
+
export default JSONDataDisplay;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from
|
|
3
|
-
interface TableData {
|
|
4
|
-
columns: string[];
|
|
5
|
-
index: string[];
|
|
6
|
-
data: any[][];
|
|
7
|
-
}
|
|
8
|
-
declare const SortableTable: ({ tabledata }: {
|
|
9
|
-
tabledata: TableData;
|
|
10
|
-
}) => React.JSX.Element;
|
|
11
|
-
export { SortableTable };
|
|
1
|
+
import './table.scss';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface TableData {
|
|
4
|
+
columns: string[];
|
|
5
|
+
index: string[];
|
|
6
|
+
data: any[][];
|
|
7
|
+
}
|
|
8
|
+
declare const SortableTable: ({ tabledata }: {
|
|
9
|
+
tabledata: TableData;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
|
+
export { SortableTable };
|