You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/boxed-expression-component/src/expressions/ExpressionDefinitionRoot/ExpressionDefinitionLogicTypeSelector.tsx
+33-4Lines changed: 33 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@ import { CutIcon } from "@patternfly/react-icons/dist/js/icons/cut-icon";
@@ -235,8 +242,11 @@ export function ExpressionDefinitionLogicTypeSelector({
235
242
</span>
236
243
);
237
244
case"for":
245
+
return<RebootingIcon/>;
238
246
case"every":
247
+
return<ResourcesFullIcon/>;
239
248
case"some":
249
+
return<ResourcesAlmostEmptyIcon/>;
240
250
case"filter":
241
251
return<></>;
242
252
default:
@@ -330,6 +340,25 @@ export function ExpressionDefinitionLogicTypeSelector({
330
340
return"A boxed list expression in DMN represents a FEEL list of items. You use boxed lists to define lists of relevant items for a particular node in a decision.";
331
341
case"conditional":
332
342
return'A boxed conditional offers a visual representation of an if statement using three rows. The expression in the "if" part MUST resolve to a boolean.';
343
+
case"for":
344
+
return(
345
+
"A boxed iterator offers a visual representation of an iterator statement. "+
346
+
'For the for loop, the right part of the "for" displays the iterator variable name. The second row holds an expression representing the collection that will be iterated over. The expression in the "in" row MUST resolve to a collection.'+
347
+
" The last row contains the expression that will process each element of the collection."
348
+
);
349
+
350
+
case"every":
351
+
return(
352
+
"A boxed iterator offers a visual representation of an iterator statement. "+
353
+
'For the "every" loop, the right part of the "every" displays the iterator variable name. The second row holds an expression representing the collection that will be iterated over. The expression in the "in" row MUST resolve to a collection.'+
354
+
"The last line is an expression that will be evaluated on each item. The expression defined in the satisfies MUST resolve to a boolean."
355
+
);
356
+
case"some":
357
+
return(
358
+
"A boxed iterator offers a visual representation of an iterator statement. "+
359
+
'For the "some" loop, the right part of the "some" displays the iterator variable name. The second row holds an expression representing the collection that will be iterated over. The expression in the "in" row MUST resolve to a collection. '+
360
+
"The last line is an expression that will be evaluated on each item. The expression defined in the satisfies MUST resolve to a boolean."
0 commit comments