@@ -14,6 +14,47 @@ import { WaitNode } from "./nodes/WaitNode"
1414import { ErrorNode } from "./nodes/ErrorNode"
1515import { ValueNode } from "./nodes/ValueNode"
1616
17+ import { BasicAuthOperator } from './operators/BasicAuthOperator'
18+ import { EqOperator } from './operators/EqOperator'
19+ import { NowOperator } from './operators/NowOperator'
20+ import { IsFalsyOperator } from './operators/IsFalsyOperator'
21+ import { AddOperator } from './operators/AddOperator'
22+ import { ArrayAppendOperator } from './operators/ArrayAppendOperator'
23+ import { NeqOperator } from './operators/NeqOperator'
24+ import { ArrayAtOperator } from './operators/ArrayAtOperator'
25+ import { ParseDateOperator } from './operators/ParseDateOperator'
26+ import { ParseDateTimeOperator } from './operators/ParseDateTimeOperator'
27+ import { ArrayPageOperator } from './operators/ArrayPageOperator'
28+ import { MapGetOperator } from './operators/MapGetOperator'
29+ import { ParseTimeOperator } from './operators/ParseTimeOperator'
30+ import { MemRefOperator } from './operators/MemRefOperator'
31+ import { StrLowerCaseOperator } from './operators/StrLowerCaseOperator'
32+ import { EncodeBase64Operator } from './operators/EncodeBase64Operator'
33+ import { ExpressionLanguageOperator } from './operators/ExpressionLanguageOperator'
34+ import { NotOperator } from './operators/NotOperator'
35+ import { ProjectionOperator } from './operators/ProjectionOperator'
36+ import { LteOperator } from './operators/LteOperator'
37+ import { StrSplitOperator } from './operators/StrSplitOperator'
38+ import { ArrayPrependOperator } from './operators/ArrayPrependOperator'
39+ import { DecodeBase64Operator } from './operators/DecodeBase64Operator'
40+ import { SubtractOperator } from './operators/SubtractOperator'
41+ import { JsonParseOperator } from './operators/JsonParseOperator'
42+ import { ContainsOperator } from './operators/ContainsOperator'
43+ import { GteOperator } from './operators/GteOperator'
44+ import { LtOperator } from './operators/LtOperator'
45+ import { DivideOperator } from './operators/DivideOperator'
46+ import { MapPutOperator } from './operators/MapPutOperator'
47+ import { MultiplyOperator } from './operators/MultiplyOperator'
48+ import { StrConcatOperator } from './operators/StrConcatOperator'
49+ import { GtOperator } from './operators/GtOperator'
50+ import { StrUpperCaseOperator } from './operators/StrUpperCaseOperator'
51+ import { IsTruthyOperator } from './operators/IsTruthyOperator'
52+ import { MapDelOperator } from './operators/MapDelOperator'
53+ import { ArrayDelOperator } from './operators/ArrayDelOperator'
54+ import { DecrOperator } from './operators/DecrOperator'
55+ import { IncrOperator } from './operators/IncrOperator'
56+
57+
1758const ITEMS_BY_CATEGORY = [
1859 {
1960 name : "Flow" ,
@@ -42,7 +83,7 @@ const ITEMS_BY_CATEGORY = [
4283 } ,
4384 {
4485 name : 'Predicate' ,
45- description : 'Operators are one-key JSON objects (e.g. { "$eq": { ... } }) used to manipulate data' ,
86+ description : 'Operators are one-key JSON objects used to manipulate data' ,
4687 nodes : {
4788 "$mem_ref" : MemRefOperator ( ) ,
4889 "$array_append" : ArrayAppendOperator ( ) ,
@@ -70,13 +111,18 @@ const ITEMS_BY_CATEGORY = [
70111 "$basic_auth" : BasicAuthOperator ( ) ,
71112 "$now" : NowOperator ( ) ,
72113 "$not" : NotOperator ( ) ,
73- "$parse_datetime" : ParseDatetimeOperator ( ) ,
114+ "$parse_datetime" : ParseDateTimeOperator ( ) ,
74115 "$parse_date" : ParseDateOperator ( ) ,
75116 "$parse_time" : ParseTimeOperator ( ) ,
76117 "$add" : AddOperator ( ) ,
77118 "$subtract" : SubtractOperator ( ) ,
78119 "$multiply" : MultiplyOperator ( ) ,
79120 "$divide" : DivideOperator ( ) ,
121+ "$incr" : IncrOperator ( ) ,
122+ "$decr" : DecrOperator ( ) ,
123+ "$str_upper_case" : StrUpperCaseOperator ( ) ,
124+ "$str_lower_case" : StrLowerCaseOperator ( ) ,
125+ "$str_split" : StrSplitOperator ( ) ,
80126 "$expression_language" : ExpressionLanguageOperator ( ) ,
81127 }
82128 }
@@ -87,8 +133,8 @@ function Category(item) {
87133
88134 return < div className = 'whats-new-category d-flex-center justify-content-between px-3 py-2' onClick = { ( ) => onClick ( item ) } >
89135 < div className = 'whats-next-category-informations' >
90- < p > { name } </ p >
91- < p > { description } </ p >
136+ < p className = 'm-0' > { name } </ p >
137+ < p className = 'm-0' > { description } </ p >
92138 </ div >
93139 < i className = 'fas fa-arrow-right' />
94140 </ div >
@@ -102,7 +148,7 @@ function UnFoldedCategory({ nodes, onClick, query }) {
102148 node . description . toLowerCase ( ) . includes ( query ) )
103149
104150 if ( filteredNodes . length === 0 )
105- return < p className = 'text-center' > No results found</ p >
151+ return < p className = 'text-center m-0 ' > No results found</ p >
106152
107153 return filteredNodes
108154 . map ( ( [ _ , node ] ) => < div
@@ -116,10 +162,10 @@ function UnFoldedCategory({ nodes, onClick, query }) {
116162 { node . label }
117163 </ div >
118164 < div className = ' d-flex flex-column px-2' >
119- < p style = { {
165+ < p className = 'm-0' style = { {
120166 fontWeight : 'bold'
121167 } } > { node . name } </ p >
122- < p > { node . description } </ p >
168+ < p className = 'm-0' > { node . description } </ p >
123169 </ div >
124170 </ div >
125171 )
@@ -146,7 +192,7 @@ export function Items({ setTitle, handleSelectNode, isOpen, query }) {
146192 node . description . toLowerCase ( ) . includes ( query ) ) )
147193
148194 if ( categories . length === 0 )
149- return < p className = 'text-center' > No results found</ p >
195+ return < p className = 'text-center m-0 ' > No results found</ p >
150196
151197 return categories . map ( category => < Category { ...category }
152198 id = { category . name }
0 commit comments