@elyra/canvas 12.9.0 → 12.10.0

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.
Files changed (419) hide show
  1. package/.eslintrc.js +1 -1
  2. package/README.md +1 -1
  3. package/build.sh +1 -1
  4. package/dist/canvas-controller-5c90a709.js +2 -0
  5. package/dist/canvas-controller-5c90a709.js.map +1 -0
  6. package/dist/canvas-controller-a851a663.js +2 -0
  7. package/dist/canvas-controller-a851a663.js.map +1 -0
  8. package/dist/common-canvas.es.js +1 -1
  9. package/dist/common-canvas.es.js.map +1 -1
  10. package/dist/common-canvas.js +1 -1
  11. package/dist/common-canvas.js.map +1 -1
  12. package/dist/common-properties-3758e3b2.js +2 -0
  13. package/dist/common-properties-3758e3b2.js.map +1 -0
  14. package/dist/common-properties-6334cca1.js +2 -0
  15. package/dist/common-properties-6334cca1.js.map +1 -0
  16. package/dist/datarecord-metadata-v3-schema-3a2957c3.js +2 -0
  17. package/dist/datarecord-metadata-v3-schema-3a2957c3.js.map +1 -0
  18. package/dist/datarecord-metadata-v3-schema-82f2b977.js +2 -0
  19. package/dist/datarecord-metadata-v3-schema-82f2b977.js.map +1 -0
  20. package/dist/{en-3f6094d9.js → en-9e368daa.js} +2 -2
  21. package/dist/{en-3f6094d9.js.map → en-9e368daa.js.map} +1 -1
  22. package/dist/{en-8e5bfa1b.js → en-a3710fcf.js} +2 -2
  23. package/dist/{en-8e5bfa1b.js.map → en-a3710fcf.js.map} +1 -1
  24. package/dist/extends-41535aa9.js +7 -0
  25. package/dist/extends-41535aa9.js.map +1 -0
  26. package/dist/{extends-112ec8af.js → extends-76e6b8d2.js} +2 -2
  27. package/dist/extends-76e6b8d2.js.map +1 -0
  28. package/dist/{flexible-table-20276887.js → flexible-table-2bbb9e48.js} +2 -2
  29. package/dist/{flexible-table-20276887.js.map → flexible-table-2bbb9e48.js.map} +1 -1
  30. package/dist/{flexible-table-13570aa9.js → flexible-table-756ff86a.js} +2 -2
  31. package/dist/{flexible-table-13570aa9.js.map → flexible-table-756ff86a.js.map} +1 -1
  32. package/dist/{index-c21aec1b.js → index-1eff5860.js} +2 -2
  33. package/dist/{index-c21aec1b.js.map → index-1eff5860.js.map} +1 -1
  34. package/dist/index-7fba99b9.js +2 -0
  35. package/dist/{index-7e2e5c97.js.map → index-7fba99b9.js.map} +1 -1
  36. package/dist/{isEmpty-6528e7c8.js → isEmpty-3550e76f.js} +2 -2
  37. package/dist/{isEmpty-6528e7c8.js.map → isEmpty-3550e76f.js.map} +1 -1
  38. package/dist/{isEmpty-5d2981b6.js → isEmpty-c6f783dd.js} +2 -2
  39. package/dist/{isEmpty-5d2981b6.js.map → isEmpty-c6f783dd.js.map} +1 -1
  40. package/dist/lib/canvas.es.js +1 -1
  41. package/dist/lib/canvas.js +1 -1
  42. package/dist/lib/command-stack.es.js.map +1 -1
  43. package/dist/lib/command-stack.js.map +1 -1
  44. package/dist/lib/context-menu.es.js +1 -1
  45. package/dist/lib/context-menu.es.js.map +1 -1
  46. package/dist/lib/context-menu.js +1 -1
  47. package/dist/lib/context-menu.js.map +1 -1
  48. package/dist/lib/properties/field-picker.es.js +1 -1
  49. package/dist/lib/properties/field-picker.js +1 -1
  50. package/dist/lib/properties/flexible-table.es.js +1 -1
  51. package/dist/lib/properties/flexible-table.js +1 -1
  52. package/dist/lib/properties.es.js +1 -1
  53. package/dist/lib/properties.js +1 -1
  54. package/dist/lib/tooltip.es.js.map +1 -1
  55. package/dist/lib/tooltip.js.map +1 -1
  56. package/dist/styles/common-canvas.min.css +1 -1
  57. package/dist/styles/common-canvas.min.css.map +1 -1
  58. package/locales/command-actions/locales/index.js +1 -1
  59. package/locales/common-canvas/locales/index.js +1 -1
  60. package/locales/common-properties/locales/index.js +1 -1
  61. package/locales/palette/locales/index.js +1 -1
  62. package/locales/toolbar/locales/index.js +1 -1
  63. package/package.json +2 -2
  64. package/rollup.config.js +1 -1
  65. package/src/.eslintrc.js +1 -1
  66. package/src/command-actions/arrangeLayoutAction.js +1 -1
  67. package/src/command-actions/attachNodeToLinksAction.js +1 -1
  68. package/src/command-actions/collapseSuperNodeInPlaceAction.js +1 -1
  69. package/src/command-actions/commonPropertiesAction.js +1 -1
  70. package/src/command-actions/convertSuperNodeExternalToLocalAction.js +1 -1
  71. package/src/command-actions/convertSuperNodeLocalToExternalAction.js +1 -1
  72. package/src/command-actions/createAutoNodeAction.js +1 -1
  73. package/src/command-actions/createCommentAction.js +1 -1
  74. package/src/command-actions/createCommentLinkAction.js +1 -1
  75. package/src/command-actions/createNodeAction.js +1 -1
  76. package/src/command-actions/createNodeAttachLinksAction.js +1 -1
  77. package/src/command-actions/createNodeLinkAction.js +1 -1
  78. package/src/command-actions/createNodeLinkDetachedAction.js +1 -1
  79. package/src/command-actions/createNodeOnLinkAction.js +1 -1
  80. package/src/command-actions/createSuperNodeAction.js +1 -1
  81. package/src/command-actions/deconstructSuperNodeAction.js +1 -1
  82. package/src/command-actions/deleteLinkAction.js +1 -1
  83. package/src/command-actions/deleteObjectsAction.js +1 -1
  84. package/src/command-actions/disconnectObjectsAction.js +1 -1
  85. package/src/command-actions/displayPreviousPipelineAction.js +1 -1
  86. package/src/command-actions/displaySubPipelineAction.js +1 -1
  87. package/src/command-actions/editCommentAction.js +1 -1
  88. package/src/command-actions/editDecorationLabelAction.js +1 -1
  89. package/src/command-actions/expandSuperNodeInPlaceAction.js +1 -1
  90. package/src/command-actions/insertNodeIntoLinkAction.js +1 -1
  91. package/src/command-actions/moveObjectsAction.js +1 -1
  92. package/src/command-actions/pasteAction.js +1 -1
  93. package/src/command-actions/saveToPaletteAction.js +1 -1
  94. package/src/command-actions/setLinksStyleAction.js +2 -2
  95. package/src/command-actions/setNodeLabelAction.js +1 -1
  96. package/src/command-actions/setObjectsStyleAction.js +2 -2
  97. package/src/command-actions/sizeAndPositionObjectsAction.js +1 -1
  98. package/src/command-actions/updateLinkAction.js +1 -1
  99. package/src/command-stack/action.js +1 -1
  100. package/src/command-stack/command-stack.js +1 -1
  101. package/src/common-canvas/canvas-controller.js +79 -10
  102. package/src/common-canvas/cc-bottom-panel.jsx +1 -1
  103. package/src/common-canvas/cc-central-items.jsx +1 -1
  104. package/src/common-canvas/cc-contents.jsx +11 -3
  105. package/src/common-canvas/cc-context-menu.jsx +1 -1
  106. package/src/common-canvas/cc-right-flyout.jsx +1 -1
  107. package/src/common-canvas/cc-toolbar.jsx +14 -9
  108. package/src/common-canvas/common-canvas-utils.js +1 -1
  109. package/src/common-canvas/common-canvas.jsx +25 -5
  110. package/src/common-canvas/common-canvas.scss +1 -1
  111. package/src/common-canvas/d3-zoom-extension/.eslintrc.js +1 -1
  112. package/src/common-canvas/index.js +1 -1
  113. package/src/common-canvas/label-util.js +1 -1
  114. package/src/common-canvas/local-storage.js +1 -1
  115. package/src/common-canvas/svg-canvas-d3.js +40 -33
  116. package/src/common-canvas/svg-canvas-d3.scss +1 -1
  117. package/src/common-canvas/svg-canvas-renderer.js +56 -35
  118. package/src/common-canvas/svg-canvas-utils-comments.js +1 -1
  119. package/src/common-canvas/svg-canvas-utils-decs.js +1 -1
  120. package/src/common-canvas/svg-canvas-utils-display.js +1 -1
  121. package/src/common-canvas/svg-canvas-utils-links.js +1 -1
  122. package/src/common-canvas/svg-canvas-utils-nodes.js +1 -1
  123. package/src/common-properties/actions/action-factory.js +1 -1
  124. package/src/common-properties/actions/actions.scss +1 -1
  125. package/src/common-properties/actions/button/button.jsx +1 -1
  126. package/src/common-properties/actions/button/button.scss +1 -1
  127. package/src/common-properties/actions/button/index.js +1 -1
  128. package/src/common-properties/actions/image/image.jsx +1 -1
  129. package/src/common-properties/actions/image/image.scss +1 -1
  130. package/src/common-properties/actions/image/index.js +1 -1
  131. package/src/common-properties/actions.js +1 -1
  132. package/src/common-properties/common-properties.jsx +1 -1
  133. package/src/common-properties/components/components.scss +1 -1
  134. package/src/common-properties/components/control-item/control-item.jsx +1 -1
  135. package/src/common-properties/components/control-item/control-item.scss +1 -1
  136. package/src/common-properties/components/control-item/index.js +1 -1
  137. package/src/common-properties/components/editor-form/editor-form.jsx +1 -1
  138. package/src/common-properties/components/editor-form/editor-form.scss +1 -1
  139. package/src/common-properties/components/editor-form/index.js +1 -1
  140. package/src/common-properties/components/empty-table/empty-table.jsx +1 -1
  141. package/src/common-properties/components/empty-table/empty-table.scss +1 -1
  142. package/src/common-properties/components/empty-table/index.js +1 -1
  143. package/src/common-properties/components/field-picker/field-picker.jsx +1 -1
  144. package/src/common-properties/components/field-picker/field-picker.scss +1 -1
  145. package/src/common-properties/components/field-picker/index.js +1 -1
  146. package/src/common-properties/components/flexible-table/flexible-table.jsx +1 -1
  147. package/src/common-properties/components/flexible-table/index.js +1 -1
  148. package/src/common-properties/components/main-editor-properties-buttons/index.js +1 -1
  149. package/src/common-properties/components/main-editor-properties-buttons/main-editor-properties-buttons.jsx +1 -1
  150. package/src/common-properties/components/moveable-table-rows/index.js +1 -1
  151. package/src/common-properties/components/moveable-table-rows/moveable-table-rows.jsx +1 -1
  152. package/src/common-properties/components/moveable-table-rows/moveable-table-rows.scss +1 -1
  153. package/src/common-properties/components/properties-buttons/index.js +1 -1
  154. package/src/common-properties/components/properties-buttons/properties-buttons.jsx +1 -1
  155. package/src/common-properties/components/properties-buttons/properties-buttons.scss +1 -1
  156. package/src/common-properties/components/properties-editor/index.js +1 -1
  157. package/src/common-properties/components/properties-editor/properties-editor.jsx +1 -1
  158. package/src/common-properties/components/properties-modal/index.js +1 -1
  159. package/src/common-properties/components/properties-modal/properties-modal.jsx +1 -1
  160. package/src/common-properties/components/properties-modal/properties-modal.scss +1 -1
  161. package/src/common-properties/components/title-editor/index.js +1 -1
  162. package/src/common-properties/components/title-editor/title-editor.jsx +1 -1
  163. package/src/common-properties/components/title-editor/title-editor.scss +1 -1
  164. package/src/common-properties/components/truncated-content-tooltip/index.js +1 -1
  165. package/src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.jsx +7 -2
  166. package/src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.scss +1 -1
  167. package/src/common-properties/components/validation-message/index.js +1 -1
  168. package/src/common-properties/components/validation-message/validation-message.jsx +1 -1
  169. package/src/common-properties/components/validation-message/validation-message.scss +1 -1
  170. package/src/common-properties/components/virtualized-table/index.js +1 -1
  171. package/src/common-properties/components/virtualized-table/virtualized-table.jsx +1 -1
  172. package/src/common-properties/components/virtualized-table/virtualized-table.scss +1 -1
  173. package/src/common-properties/components/wide-flyout/index.js +1 -1
  174. package/src/common-properties/components/wide-flyout/wide-flyout.jsx +1 -1
  175. package/src/common-properties/components/wide-flyout/wide-flyout.scss +1 -1
  176. package/src/common-properties/constants/constants.js +2 -2
  177. package/src/common-properties/constants/form-constants.js +1 -1
  178. package/src/common-properties/controls/abstract-table.jsx +1 -1
  179. package/src/common-properties/controls/abstract-table.scss +1 -1
  180. package/src/common-properties/controls/checkbox/checkbox.jsx +1 -1
  181. package/src/common-properties/controls/checkbox/checkbox.scss +1 -1
  182. package/src/common-properties/controls/checkbox/index.js +1 -1
  183. package/src/common-properties/controls/checkboxset/checkboxset.jsx +1 -1
  184. package/src/common-properties/controls/checkboxset/checkboxset.scss +1 -1
  185. package/src/common-properties/controls/checkboxset/index.js +1 -1
  186. package/src/common-properties/controls/control-factory.js +1 -1
  187. package/src/common-properties/controls/controls.scss +1 -1
  188. package/src/common-properties/controls/datefield/datefield.jsx +32 -32
  189. package/src/common-properties/controls/datefield/index.js +1 -1
  190. package/src/common-properties/controls/dropdown/dropdown.jsx +1 -1
  191. package/src/common-properties/controls/dropdown/dropdown.scss +1 -1
  192. package/src/common-properties/controls/dropdown/index.js +1 -1
  193. package/src/common-properties/controls/expression/expression-builder/expression-builder.jsx +1 -1
  194. package/src/common-properties/controls/expression/expression-builder/expression-builder.scss +1 -1
  195. package/src/common-properties/controls/expression/expression-builder/expression-select-field-function.jsx +1 -1
  196. package/src/common-properties/controls/expression/expression-builder/expression-select-operator.jsx +1 -1
  197. package/src/common-properties/controls/expression/expression-builder/expression-selection-panel.jsx +1 -1
  198. package/src/common-properties/controls/expression/expression.jsx +1 -1
  199. package/src/common-properties/controls/expression/expression.scss +1 -1
  200. package/src/common-properties/controls/expression/expressionInfo-parser.js +1 -1
  201. package/src/common-properties/controls/expression/index.js +1 -1
  202. package/src/common-properties/controls/expression/languages/CLEM-hint.js +1 -1
  203. package/src/common-properties/controls/expression/languages/python-hint.js +1 -1
  204. package/src/common-properties/controls/expression/languages/r-hint.js +1 -1
  205. package/src/common-properties/controls/list/index.js +1 -1
  206. package/src/common-properties/controls/list/list.jsx +1 -1
  207. package/src/common-properties/controls/multiselect/index.js +1 -1
  208. package/src/common-properties/controls/multiselect/multiselect.jsx +1 -1
  209. package/src/common-properties/controls/multiselect/multiselect.scss +1 -1
  210. package/src/common-properties/controls/numberfield/index.js +1 -1
  211. package/src/common-properties/controls/numberfield/numberfield.jsx +1 -1
  212. package/src/common-properties/controls/numberfield/numberfield.scss +1 -1
  213. package/src/common-properties/controls/passwordfield/index.js +1 -1
  214. package/src/common-properties/controls/passwordfield/passwordfield.jsx +1 -1
  215. package/src/common-properties/controls/radioset/index.js +1 -1
  216. package/src/common-properties/controls/radioset/radioset.jsx +1 -1
  217. package/src/common-properties/controls/radioset/radioset.scss +1 -1
  218. package/src/common-properties/controls/readonly/index.js +1 -1
  219. package/src/common-properties/controls/readonly/readonly.jsx +13 -8
  220. package/src/common-properties/controls/readonly/readonly.scss +1 -1
  221. package/src/common-properties/controls/readonlytable/index.js +1 -1
  222. package/src/common-properties/controls/readonlytable/readonlytable.jsx +1 -1
  223. package/src/common-properties/controls/selectcolumns/index.js +1 -1
  224. package/src/common-properties/controls/selectcolumns/selectcolumns.jsx +1 -1
  225. package/src/common-properties/controls/selectcolumns/selectcolumns.scss +1 -1
  226. package/src/common-properties/controls/someofselect/index.js +1 -1
  227. package/src/common-properties/controls/someofselect/someofselect.jsx +1 -1
  228. package/src/common-properties/controls/someofselect/someofselect.scss +1 -1
  229. package/src/common-properties/controls/structureeditor/index.js +1 -1
  230. package/src/common-properties/controls/structureeditor/structureeditor.jsx +1 -1
  231. package/src/common-properties/controls/structureeditor/structureeditor.scss +1 -1
  232. package/src/common-properties/controls/structurelisteditor/index.js +1 -1
  233. package/src/common-properties/controls/structurelisteditor/structurelisteditor.jsx +1 -1
  234. package/src/common-properties/controls/structuretable/index.js +1 -1
  235. package/src/common-properties/controls/structuretable/structuretable.jsx +1 -1
  236. package/src/common-properties/controls/textarea/index.js +1 -1
  237. package/src/common-properties/controls/textarea/textarea.jsx +1 -1
  238. package/src/common-properties/controls/textarea/textarea.scss +1 -1
  239. package/src/common-properties/controls/textfield/index.js +1 -1
  240. package/src/common-properties/controls/textfield/textfield.jsx +1 -1
  241. package/src/common-properties/controls/textfield/textfield.scss +1 -1
  242. package/src/common-properties/controls/timefield/index.js +1 -1
  243. package/src/common-properties/controls/timefield/timefield.jsx +32 -33
  244. package/src/common-properties/controls/toggletext/index.js +1 -1
  245. package/src/common-properties/controls/toggletext/toggletext.jsx +1 -1
  246. package/src/common-properties/controls/toggletext/toggletext.scss +1 -1
  247. package/src/common-properties/form/ActionInfo.js +1 -1
  248. package/src/common-properties/form/Conditions.js +1 -1
  249. package/src/common-properties/form/ControlInfo.js +1 -1
  250. package/src/common-properties/form/EditorForm.js +1 -1
  251. package/src/common-properties/form/Form.js +1 -1
  252. package/src/common-properties/form/GroupInfo.js +1 -1
  253. package/src/common-properties/form/ParameterInfo.js +1 -1
  254. package/src/common-properties/form/PropertyDef.js +1 -1
  255. package/src/common-properties/form/StructureInfo.js +1 -1
  256. package/src/common-properties/form/UIItem.js +1 -1
  257. package/src/common-properties/index.js +1 -1
  258. package/src/common-properties/index.scss +1 -1
  259. package/src/common-properties/panels/action-panel/action-panel.jsx +1 -1
  260. package/src/common-properties/panels/action-panel/action-panel.scss +1 -1
  261. package/src/common-properties/panels/action-panel/index.js +1 -1
  262. package/src/common-properties/panels/column/column.jsx +1 -1
  263. package/src/common-properties/panels/column/column.scss +1 -1
  264. package/src/common-properties/panels/column/index.js +1 -1
  265. package/src/common-properties/panels/control/control.jsx +1 -1
  266. package/src/common-properties/panels/control/control.scss +1 -1
  267. package/src/common-properties/panels/control/index.js +1 -1
  268. package/src/common-properties/panels/panels.scss +1 -1
  269. package/src/common-properties/panels/selector/index.js +1 -1
  270. package/src/common-properties/panels/selector/selector.jsx +1 -1
  271. package/src/common-properties/panels/sub-panel/button.jsx +1 -1
  272. package/src/common-properties/panels/sub-panel/cell.jsx +1 -1
  273. package/src/common-properties/panels/sub-panel/invoker.jsx +1 -1
  274. package/src/common-properties/panels/sub-panel/sub-panel.scss +1 -1
  275. package/src/common-properties/panels/subtabs/index.js +1 -1
  276. package/src/common-properties/panels/subtabs/subtabs.jsx +1 -1
  277. package/src/common-properties/panels/subtabs/subtabs.scss +1 -1
  278. package/src/common-properties/panels/summary/index.js +1 -1
  279. package/src/common-properties/panels/summary/summary.jsx +1 -1
  280. package/src/common-properties/panels/summary/summary.scss +1 -1
  281. package/src/common-properties/panels/text-panel/index.js +1 -1
  282. package/src/common-properties/panels/text-panel/text-panel.jsx +1 -1
  283. package/src/common-properties/panels/text-panel/text-panel.scss +1 -1
  284. package/src/common-properties/panels/twisty/index.js +1 -1
  285. package/src/common-properties/panels/twisty/twisty.jsx +1 -1
  286. package/src/common-properties/panels/twisty/twisty.scss +1 -1
  287. package/src/common-properties/properties-controller.js +1 -1
  288. package/src/common-properties/properties-main/index.js +1 -1
  289. package/src/common-properties/properties-main/properties-main-widths.scss +1 -1
  290. package/src/common-properties/properties-main/properties-main.jsx +1 -1
  291. package/src/common-properties/properties-main/properties-main.scss +1 -1
  292. package/src/common-properties/properties-store.js +1 -1
  293. package/src/common-properties/reducers/action-states.js +1 -1
  294. package/src/common-properties/reducers/component-metadata.js +1 -1
  295. package/src/common-properties/reducers/control-states.js +1 -1
  296. package/src/common-properties/reducers/dataset-metadata.js +1 -1
  297. package/src/common-properties/reducers/disable-row-move-buttons.js +1 -1
  298. package/src/common-properties/reducers/error-messages.js +1 -1
  299. package/src/common-properties/reducers/panel-states.js +1 -1
  300. package/src/common-properties/reducers/properties.js +1 -1
  301. package/src/common-properties/reducers/row-selections.js +1 -1
  302. package/src/common-properties/reducers/row-static.js +1 -1
  303. package/src/common-properties/reducers/save-button-disable.jsx +1 -1
  304. package/src/common-properties/schema-validator/properties-schema-validator.js +2 -2
  305. package/src/common-properties/ui-conditions/condition-ops/cellNotEmpty.js +1 -1
  306. package/src/common-properties/ui-conditions/condition-ops/colDoesExists.js +1 -1
  307. package/src/common-properties/ui-conditions/condition-ops/colNotExists.js +1 -1
  308. package/src/common-properties/ui-conditions/condition-ops/condition-ops.js +1 -1
  309. package/src/common-properties/ui-conditions/condition-ops/contains.js +1 -1
  310. package/src/common-properties/ui-conditions/condition-ops/dmMeasurementEquals.js +1 -1
  311. package/src/common-properties/ui-conditions/condition-ops/dmMeasurementNotEquals.js +1 -1
  312. package/src/common-properties/ui-conditions/condition-ops/dmRoleEquals.js +1 -1
  313. package/src/common-properties/ui-conditions/condition-ops/dmRoleNotEquals.js +1 -1
  314. package/src/common-properties/ui-conditions/condition-ops/dmTypeEquals.js +1 -1
  315. package/src/common-properties/ui-conditions/condition-ops/dmTypeNotEquals.js +1 -1
  316. package/src/common-properties/ui-conditions/condition-ops/equals.js +1 -1
  317. package/src/common-properties/ui-conditions/condition-ops/greaterThan.js +1 -1
  318. package/src/common-properties/ui-conditions/condition-ops/isDateTime.js +7 -5
  319. package/src/common-properties/ui-conditions/condition-ops/isEmpty.js +1 -1
  320. package/src/common-properties/ui-conditions/condition-ops/isNotEmpty.js +1 -1
  321. package/src/common-properties/ui-conditions/condition-ops/lengthEquals.js +1 -1
  322. package/src/common-properties/ui-conditions/condition-ops/lengthGreaterThan.js +1 -1
  323. package/src/common-properties/ui-conditions/condition-ops/lengthLessThan.js +1 -1
  324. package/src/common-properties/ui-conditions/condition-ops/lessThan.js +1 -1
  325. package/src/common-properties/ui-conditions/condition-ops/matches.js +1 -1
  326. package/src/common-properties/ui-conditions/condition-ops/notContains.js +1 -1
  327. package/src/common-properties/ui-conditions/condition-ops/notEquals.js +1 -1
  328. package/src/common-properties/ui-conditions/condition-ops/notMatches.js +1 -1
  329. package/src/common-properties/ui-conditions/conditions-utils.js +1 -1
  330. package/src/common-properties/ui-conditions/ui-conditions-parser.js +1 -1
  331. package/src/common-properties/ui-conditions/ui-conditions.js +1 -1
  332. package/src/common-properties/ui-conditions/ui-groups-parser.js +1 -1
  333. package/src/common-properties/util/L10nProvider.js +1 -1
  334. package/src/common-properties/util/control-utils.js +1 -1
  335. package/src/common-properties/util/property-utils.js +1 -1
  336. package/src/context-menu/common-context-menu.jsx +12 -3
  337. package/src/context-menu/context-menu-wrapper.jsx +1 -1
  338. package/src/context-menu/context-menu.scss +1 -1
  339. package/src/flow-validation/validate-flow.js +2 -2
  340. package/src/icons/icon.jsx +1 -1
  341. package/src/icons/icon.scss +1 -1
  342. package/src/index.js +1 -1
  343. package/src/index.scss +1 -1
  344. package/src/logging/canvas-logger.js +1 -1
  345. package/src/notification-panel/notification-panel.jsx +1 -1
  346. package/src/notification-panel/notification-panel.scss +1 -1
  347. package/src/object-model/api-pipeline.js +1 -1
  348. package/src/object-model/canvas-in-handler.js +2 -2
  349. package/src/object-model/canvas-out-handler.js +1 -1
  350. package/src/object-model/config-utils.js +2 -2
  351. package/src/object-model/layout-dimensions.js +1 -1
  352. package/src/object-model/object-model.js +1 -1
  353. package/src/object-model/pipeline-in-handler.js +2 -3
  354. package/src/object-model/pipeline-out-handler.js +1 -1
  355. package/src/object-model/redux/canvas-store.js +1 -1
  356. package/src/object-model/redux/reducers/bottompanel.js +1 -1
  357. package/src/object-model/redux/reducers/breadcrumbs.js +1 -1
  358. package/src/object-model/redux/reducers/canvasconfig.js +1 -1
  359. package/src/object-model/redux/reducers/canvasinfo.js +1 -1
  360. package/src/object-model/redux/reducers/canvastoolbar.js +1 -1
  361. package/src/object-model/redux/reducers/categories.js +1 -1
  362. package/src/object-model/redux/reducers/comments.js +1 -1
  363. package/src/object-model/redux/reducers/contextmenu.js +1 -1
  364. package/src/object-model/redux/reducers/externalpipelineflows.js +1 -1
  365. package/src/object-model/redux/reducers/links.js +1 -1
  366. package/src/object-model/redux/reducers/nodes.js +1 -1
  367. package/src/object-model/redux/reducers/nodetypes.js +1 -1
  368. package/src/object-model/redux/reducers/notificationpanel.js +1 -1
  369. package/src/object-model/redux/reducers/notifications.js +1 -1
  370. package/src/object-model/redux/reducers/palette.js +1 -1
  371. package/src/object-model/redux/reducers/ports.js +1 -1
  372. package/src/object-model/redux/reducers/rightflyout.js +1 -1
  373. package/src/object-model/redux/reducers/selectioninfo.js +1 -1
  374. package/src/object-model/redux/reducers/tooltip.js +1 -1
  375. package/src/object-model/schemas-utils/schema-validator.js +2 -2
  376. package/src/object-model/schemas-utils/upgrade-palette.js +1 -1
  377. package/src/palette/palette-content-list-item.jsx +7 -6
  378. package/src/palette/palette-content-list.jsx +4 -2
  379. package/src/palette/palette-dialog-content-categories.jsx +1 -1
  380. package/src/palette/palette-dialog-content-category.jsx +1 -1
  381. package/src/palette/palette-dialog-content-grid-node.jsx +8 -7
  382. package/src/palette/palette-dialog-content-grid.jsx +4 -1
  383. package/src/palette/palette-dialog-content.jsx +5 -2
  384. package/src/palette/palette-dialog-topbar-three-way-icon.jsx +1 -1
  385. package/src/palette/palette-dialog-topbar.jsx +1 -1
  386. package/src/palette/palette-dialog.jsx +4 -2
  387. package/src/palette/palette-flyout-content-category.jsx +1 -1
  388. package/src/palette/palette-flyout-content-filtered-list.jsx +3 -1
  389. package/src/palette/palette-flyout-content-search.jsx +1 -1
  390. package/src/palette/palette-flyout-content.jsx +6 -3
  391. package/src/palette/palette-flyout-utils.js +2 -2
  392. package/src/palette/palette-flyout.jsx +4 -2
  393. package/src/palette/palette.jsx +6 -2
  394. package/src/palette/palette.scss +1 -1
  395. package/src/toolbar/toolbar-action-item.jsx +20 -6
  396. package/src/toolbar/toolbar-divider-item.jsx +1 -1
  397. package/src/toolbar/toolbar-overflow-item.jsx +1 -1
  398. package/src/toolbar/toolbar.jsx +2 -6
  399. package/src/toolbar/toolbar.scss +2 -2
  400. package/src/tooltip/tooltip.jsx +1 -1
  401. package/src/tooltip/tooltip.scss +1 -1
  402. package/stats.html +1 -1
  403. package/utils/logger.js +1 -1
  404. package/dist/canvas-controller-6f6b6511.js +0 -2
  405. package/dist/canvas-controller-6f6b6511.js.map +0 -1
  406. package/dist/canvas-controller-bf6c2800.js +0 -2
  407. package/dist/canvas-controller-bf6c2800.js.map +0 -1
  408. package/dist/common-properties-20877208.js +0 -2
  409. package/dist/common-properties-20877208.js.map +0 -1
  410. package/dist/common-properties-ea686c1c.js +0 -2
  411. package/dist/common-properties-ea686c1c.js.map +0 -1
  412. package/dist/datarecord-metadata-v3-schema-b4ad907c.js +0 -2
  413. package/dist/datarecord-metadata-v3-schema-b4ad907c.js.map +0 -1
  414. package/dist/datarecord-metadata-v3-schema-bf4483dd.js +0 -2
  415. package/dist/datarecord-metadata-v3-schema-bf4483dd.js.map +0 -1
  416. package/dist/extends-112ec8af.js.map +0 -1
  417. package/dist/extends-51fe578d.js +0 -7
  418. package/dist/extends-51fe578d.js.map +0 -1
  419. package/dist/index-7e2e5c97.js +0 -2
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2021 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2021 Elyra Authors
2
+ * Copyright 2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2021 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2021 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import conditionsV3Schema from "@elyra/pipeline-schemas/common-pipeline/operator
21
21
  import operatorsV3Schema from "@elyra/pipeline-schemas/common-pipeline/operators/operator-v3-schema.json";
22
22
  import dataRecordMetadataV3Schema from "@elyra/pipeline-schemas/common-pipeline/datarecord-metadata/datarecord-metadata-v3-schema.json";
23
23
 
24
- var SchemaValidator = require("jsonschema").Validator;
24
+ import { Validator as SchemaValidator } from "jsonschema";
25
25
 
26
26
  function validateParameterDefAgainstSchema(parameterDef) {
27
27
  const validator = getValidator();
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -14,7 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import moment from "moment";
17
+ import { isValid, parse } from "date-fns";
18
+ import { DEFAULT_DATE_FORMAT } from "../../constants/constants";
18
19
 
19
20
 
20
21
  function op() {
@@ -23,9 +24,10 @@ function op() {
23
24
 
24
25
  function evaluate(paramInfo, param2Info, value, controller) {
25
26
  if (paramInfo.value) { // only check if there is a value.
26
- const format = (value === "time") ? "HH:mm:ssZ" : moment.ISO_8601;
27
- const mom = moment.utc(paramInfo.value, format, true);
28
- return (mom.isValid());
27
+ // always use iso format for time
28
+ const timeDateFormat = (value === "time") ? "HH:mm:ss:xxx" : DEFAULT_DATE_FORMAT;
29
+ const date = parse(paramInfo.value, timeDateFormat, new Date());
30
+ return isValid(date);
29
31
  }
30
32
  return true;
31
33
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -111,16 +111,24 @@ class CommonContextMenu extends React.Component {
111
111
  const menuItems = [];
112
112
 
113
113
  let runningYPos = 0;
114
+ // Records if we have just displayed a divider. This is useful because we
115
+ // only want to display one divider if there is a divider element
116
+ // immediately after another divider element in the menuDefintion array.
117
+ let previousDivider = false;
114
118
 
115
119
  for (let i = 0; i < menuDefinition.length; ++i) {
116
120
  const divider = menuDefinition[i].divider;
117
121
  const submenu = menuDefinition[i].submenu;
118
122
 
119
123
  if (divider) {
120
- menuItems.push(<MenuItem attributes={customDivider} key={i + 1} onClick={() => {}} divider />);
121
- runningYPos += CONTEXT_MENU_DIVIDER_HEIGHT;
124
+ if (!previousDivider) {
125
+ menuItems.push(<MenuItem attributes={customDivider} key={i + 1} onClick={() => {}} divider />);
126
+ runningYPos += CONTEXT_MENU_DIVIDER_HEIGHT;
127
+ previousDivider = true;
128
+ }
122
129
 
123
130
  } else if (submenu) {
131
+ previousDivider = false;
124
132
  const submenuItems = this.buildMenu(menuDefinition[i].menu, menuSize, menuPos, canvasRect);
125
133
  const disabled = { disabled: this.areAllSubmenuItemsDisabled(menuDefinition[i].menu) };
126
134
  const submenuSize = this.calculateMenuSize(menuDefinition[i].menu);
@@ -157,6 +165,7 @@ class CommonContextMenu extends React.Component {
157
165
  runningYPos += CONTEXT_MENU_LINK_HEIGHT;
158
166
 
159
167
  } else {
168
+ previousDivider = false;
160
169
  const disabled = { disabled: menuDefinition[i].enable === false };
161
170
  menuItems.push(
162
171
  <MenuItem onClick={this.itemSelected.bind(null, menuDefinition[i].action)} key={i + 1} {...disabled}>
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2021 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ import Form from "../common-properties/form/Form";
17
17
  import { convertInputDataModel } from "../common-properties/util/property-utils";
18
18
  import PropertiesController from "../common-properties/properties-controller";
19
19
  import logger from "../../utils/logger";
20
- import isEqual from "lodash/isEqual";
20
+ import { isEqual } from "lodash";
21
21
 
22
22
  /* eslint max-depth: ["error", 7] */
23
23
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2020 Elyra Authors
2
+ * Copyright 2017-2022 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.