@elyra/canvas 13.45.0 → 13.45.2

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 (85) hide show
  1. package/dist/{ChevronRight-3d8ca494.js → ChevronRight-411e5c21.js} +2 -2
  2. package/dist/{ChevronRight-3d8ca494.js.map → ChevronRight-411e5c21.js.map} +1 -1
  3. package/dist/{ChevronRight-42b5629a.js → ChevronRight-e8e77f7d.js} +2 -2
  4. package/dist/{ChevronRight-42b5629a.js.map → ChevronRight-e8e77f7d.js.map} +1 -1
  5. package/dist/{Close-1b1822b0.js → Close-3730864c.js} +2 -2
  6. package/dist/{Close-1b1822b0.js.map → Close-3730864c.js.map} +1 -1
  7. package/dist/{Close-c707c8f7.js → Close-854a176c.js} +2 -2
  8. package/dist/{Close-c707c8f7.js.map → Close-854a176c.js.map} +1 -1
  9. package/dist/{Time-3da3c23b.js → Time-579424f6.js} +2 -2
  10. package/dist/{Time-3da3c23b.js.map → Time-579424f6.js.map} +1 -1
  11. package/dist/{Time-4b4e32e7.js → Time-63073cae.js} +2 -2
  12. package/dist/{Time-4b4e32e7.js.map → Time-63073cae.js.map} +1 -1
  13. package/dist/{canvas-controller-0c473fba.js → canvas-controller-16cb4e8a.js} +2 -2
  14. package/dist/{canvas-controller-0c473fba.js.map → canvas-controller-16cb4e8a.js.map} +1 -1
  15. package/dist/{canvas-controller-bbf16890.js → canvas-controller-bcb2b669.js} +2 -2
  16. package/dist/{canvas-controller-bbf16890.js.map → canvas-controller-bcb2b669.js.map} +1 -1
  17. package/dist/common-canvas-02630b88.js +2 -0
  18. package/dist/common-canvas-02630b88.js.map +1 -0
  19. package/dist/common-canvas-f4dc619f.js +2 -0
  20. package/dist/common-canvas-f4dc619f.js.map +1 -0
  21. package/dist/common-canvas.cjs +1 -1
  22. package/dist/common-canvas.js +1 -1
  23. package/dist/common-properties-66a5ed63.js +2 -0
  24. package/dist/common-properties-66a5ed63.js.map +1 -0
  25. package/dist/{common-properties-bb42fec5.js → common-properties-7197e445.js} +2 -2
  26. package/dist/common-properties-7197e445.js.map +1 -0
  27. package/dist/{context-menu-wrapper-0fdb9b4c.js → context-menu-wrapper-6bf9b2a3.js} +2 -2
  28. package/dist/{context-menu-wrapper-0fdb9b4c.js.map → context-menu-wrapper-6bf9b2a3.js.map} +1 -1
  29. package/dist/{context-menu-wrapper-8933071e.js → context-menu-wrapper-ae031dc8.js} +2 -2
  30. package/dist/{context-menu-wrapper-8933071e.js.map → context-menu-wrapper-ae031dc8.js.map} +1 -1
  31. package/dist/{flexible-table-e16bd245.js → flexible-table-20fac41c.js} +2 -2
  32. package/dist/{flexible-table-e16bd245.js.map → flexible-table-20fac41c.js.map} +1 -1
  33. package/dist/{flexible-table-8ce77a9c.js → flexible-table-2e44daf0.js} +2 -2
  34. package/dist/{flexible-table-8ce77a9c.js.map → flexible-table-2e44daf0.js.map} +1 -1
  35. package/dist/{index-0ad294bf.js → index-361c491b.js} +2 -2
  36. package/dist/{index-0ad294bf.js.map → index-361c491b.js.map} +1 -1
  37. package/dist/{index-37817c66.js → index-e12020a5.js} +2 -2
  38. package/dist/{index-37817c66.js.map → index-e12020a5.js.map} +1 -1
  39. package/dist/{keyboard-utils-d9b6ba48.js → keyboard-utils-6f375370.js} +2 -2
  40. package/dist/{keyboard-utils-81dcfd3f.js.map → keyboard-utils-6f375370.js.map} +1 -1
  41. package/dist/{keyboard-utils-81dcfd3f.js → keyboard-utils-78bc27c3.js} +2 -2
  42. package/dist/{keyboard-utils-d9b6ba48.js.map → keyboard-utils-78bc27c3.js.map} +1 -1
  43. package/dist/lib/canvas-controller.cjs +1 -1
  44. package/dist/lib/canvas-controller.js +1 -1
  45. package/dist/lib/canvas.cjs +1 -1
  46. package/dist/lib/canvas.js +1 -1
  47. package/dist/lib/context-menu.cjs +1 -1
  48. package/dist/lib/context-menu.js +1 -1
  49. package/dist/lib/properties/field-picker.cjs +1 -1
  50. package/dist/lib/properties/field-picker.js +1 -1
  51. package/dist/lib/properties/flexible-table.cjs +1 -1
  52. package/dist/lib/properties/flexible-table.js +1 -1
  53. package/dist/lib/properties.cjs +1 -1
  54. package/dist/lib/properties.js +1 -1
  55. package/locales/command-actions/locales/index.js +12 -12
  56. package/locales/common-canvas/locales/de.json +2 -0
  57. package/locales/common-canvas/locales/es.json +2 -0
  58. package/locales/common-canvas/locales/fr.json +2 -0
  59. package/locales/common-canvas/locales/index.js +12 -12
  60. package/locales/common-canvas/locales/it.json +2 -0
  61. package/locales/common-canvas/locales/ja.json +2 -0
  62. package/locales/common-canvas/locales/ko.json +2 -0
  63. package/locales/common-canvas/locales/pt-BR.json +2 -0
  64. package/locales/common-canvas/locales/sv.json +2 -0
  65. package/locales/common-canvas/locales/zh-CN.json +2 -0
  66. package/locales/common-canvas/locales/zh-TW.json +2 -0
  67. package/locales/common-properties/locales/index.js +12 -12
  68. package/locales/notification-panel/locales/index.js +12 -12
  69. package/locales/palette/locales/index.js +12 -12
  70. package/locales/toolbar/locales/index.js +12 -12
  71. package/package.json +7 -3
  72. package/src/common-canvas/canvas-controller.js +50 -24
  73. package/src/common-canvas/keyboard-utils.js +8 -0
  74. package/src/palette/palette-content-list-item.jsx +7 -1
  75. package/src/palette/palette-content-list.jsx +3 -1
  76. package/src/palette/palette-flyout-content-category.jsx +19 -2
  77. package/stats.html +1 -1
  78. package/types/canvas-controller.d.ts +60 -44
  79. package/dist/common-canvas-048c583e.js +0 -2
  80. package/dist/common-canvas-048c583e.js.map +0 -1
  81. package/dist/common-canvas-4b305040.js +0 -2
  82. package/dist/common-canvas-4b305040.js.map +0 -1
  83. package/dist/common-properties-3860224b.js +0 -2
  84. package/dist/common-properties-3860224b.js.map +0 -1
  85. package/dist/common-properties-bb42fec5.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../index-0ad294bf.js");require("../../flexible-table-e16bd245.js"),require("../../createClass-df7b07d6.js"),require("../../inherits-74e481d1.js"),require("../../isArrayLikeObject-4737a54a.js"),require("../../common-canvas-utils-272fb8c4.js"),require("react"),require("react-intl"),require("@carbon/react"),require("../../toInteger-b7d805dd.js"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("../../keyboard-utils-81dcfd3f.js"),require("prop-types"),require("react/jsx-runtime"),require("../tooltip.cjs"),require("react-portal"),require("uuid"),require("react-virtualized"),require("react-draggable"),require("../../defineProperty-d68f985b.js"),require("../../en-48c97a88.js"),require("react-inlinesvg"),require("../../Time-3da3c23b.js"),require("../../ChevronRight-3d8ca494.js"),module.exports=e.FieldPicker;
1
+ "use strict";var e=require("../../index-361c491b.js");require("../../flexible-table-20fac41c.js"),require("../../createClass-df7b07d6.js"),require("../../inherits-74e481d1.js"),require("../../isArrayLikeObject-4737a54a.js"),require("../../common-canvas-utils-272fb8c4.js"),require("react"),require("react-intl"),require("@carbon/react"),require("../../toInteger-b7d805dd.js"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("../../keyboard-utils-78bc27c3.js"),require("prop-types"),require("react/jsx-runtime"),require("../tooltip.cjs"),require("react-portal"),require("uuid"),require("react-virtualized"),require("react-draggable"),require("../../defineProperty-d68f985b.js"),require("../../en-48c97a88.js"),require("react-inlinesvg"),require("../../Time-579424f6.js"),require("../../ChevronRight-411e5c21.js"),module.exports=e.FieldPicker;
2
2
  //# sourceMappingURL=field-picker.cjs.map
@@ -1,2 +1,2 @@
1
- export{F as default}from"../../index-37817c66.js";import"../../flexible-table-8ce77a9c.js";import"../../createClass-a140e270.js";import"../../inherits-860188e5.js";import"../../isArrayLikeObject-8496ff7c.js";import"../../common-canvas-utils-7ef1d091.js";import"react";import"react-intl";import"@carbon/react";import"../../toInteger-ea444724.js";import"@tanstack/react-table";import"@tanstack/react-virtual";import"../../keyboard-utils-d9b6ba48.js";import"prop-types";import"react/jsx-runtime";import"../tooltip.js";import"react-portal";import"uuid";import"react-virtualized";import"react-draggable";import"../../defineProperty-f3298a15.js";import"../../en-dceabf36.js";import"react-inlinesvg";import"../../Time-4b4e32e7.js";import"../../ChevronRight-42b5629a.js";
1
+ export{F as default}from"../../index-e12020a5.js";import"../../flexible-table-2e44daf0.js";import"../../createClass-a140e270.js";import"../../inherits-860188e5.js";import"../../isArrayLikeObject-8496ff7c.js";import"../../common-canvas-utils-7ef1d091.js";import"react";import"react-intl";import"@carbon/react";import"../../toInteger-ea444724.js";import"@tanstack/react-table";import"@tanstack/react-virtual";import"../../keyboard-utils-6f375370.js";import"prop-types";import"react/jsx-runtime";import"../tooltip.js";import"react-portal";import"uuid";import"react-virtualized";import"react-draggable";import"../../defineProperty-f3298a15.js";import"../../en-dceabf36.js";import"react-inlinesvg";import"../../Time-63073cae.js";import"../../ChevronRight-e8e77f7d.js";
2
2
  //# sourceMappingURL=field-picker.js.map
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("../../flexible-table-e16bd245.js");require("../../createClass-df7b07d6.js"),require("../../inherits-74e481d1.js"),require("../../isArrayLikeObject-4737a54a.js"),require("../../common-canvas-utils-272fb8c4.js"),require("react"),require("react-intl"),require("@carbon/react"),require("../../toInteger-b7d805dd.js"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("../../keyboard-utils-81dcfd3f.js"),require("prop-types"),require("react/jsx-runtime"),require("../tooltip.cjs"),require("react-portal"),require("uuid"),require("react-virtualized"),require("react-draggable"),module.exports=e.FlexibleTable;
1
+ "use strict";var e=require("../../flexible-table-20fac41c.js");require("../../createClass-df7b07d6.js"),require("../../inherits-74e481d1.js"),require("../../isArrayLikeObject-4737a54a.js"),require("../../common-canvas-utils-272fb8c4.js"),require("react"),require("react-intl"),require("@carbon/react"),require("../../toInteger-b7d805dd.js"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("../../keyboard-utils-78bc27c3.js"),require("prop-types"),require("react/jsx-runtime"),require("../tooltip.cjs"),require("react-portal"),require("uuid"),require("react-virtualized"),require("react-draggable"),module.exports=e.FlexibleTable;
2
2
  //# sourceMappingURL=flexible-table.cjs.map
@@ -1,2 +1,2 @@
1
- import{F as t}from"../../flexible-table-8ce77a9c.js";export{F as default}from"../../flexible-table-8ce77a9c.js";import"../../createClass-a140e270.js";import"../../inherits-860188e5.js";import"../../isArrayLikeObject-8496ff7c.js";import"../../common-canvas-utils-7ef1d091.js";import"react";import"react-intl";import"@carbon/react";import"../../toInteger-ea444724.js";import"@tanstack/react-table";import"@tanstack/react-virtual";import"../../keyboard-utils-d9b6ba48.js";import"prop-types";import"react/jsx-runtime";import"../tooltip.js";import"react-portal";import"uuid";import"react-virtualized";import"react-draggable";
1
+ import{F as t}from"../../flexible-table-2e44daf0.js";export{F as default}from"../../flexible-table-2e44daf0.js";import"../../createClass-a140e270.js";import"../../inherits-860188e5.js";import"../../isArrayLikeObject-8496ff7c.js";import"../../common-canvas-utils-7ef1d091.js";import"react";import"react-intl";import"@carbon/react";import"../../toInteger-ea444724.js";import"@tanstack/react-table";import"@tanstack/react-virtual";import"../../keyboard-utils-6f375370.js";import"prop-types";import"react/jsx-runtime";import"../tooltip.js";import"react-portal";import"uuid";import"react-virtualized";import"react-draggable";
2
2
  //# sourceMappingURL=flexible-table.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common-properties-bb42fec5.js"),r=require("../flexible-table-e16bd245.js"),i=require("../index-0ad294bf.js"),t=require("./properties/clem.cjs"),o=require("./properties/getPythonHints.cjs");require("../createClass-df7b07d6.js"),require("../inherits-74e481d1.js"),require("react"),require("../Close-c707c8f7.js"),require("../common-canvas-utils-272fb8c4.js"),require("../toInteger-b7d805dd.js"),require("../isArrayLikeObject-4737a54a.js"),require("../datarecord-metadata-v3-schema-46edaa7d.js"),require("../en-48c97a88.js"),require("../keyboard-utils-81dcfd3f.js"),require("prop-types"),require("./tooltip.cjs"),require("react-portal"),require("@carbon/react"),require("uuid"),require("react-inlinesvg"),require("react/jsx-runtime"),require("../Time-3da3c23b.js"),require("../ChevronRight-3d8ca494.js"),require("react-intl"),require("react-redux"),require("../defineProperty-d68f985b.js"),require("redux"),require("seedrandom"),require("./command-stack.cjs"),require("immutable"),require("date-fns"),require("@codemirror/view"),require("@codemirror/commands"),require("@codemirror/search"),require("@codemirror/autocomplete"),require("@codemirror/state"),require("@codemirror/language"),require("@codemirror/lang-python"),require("@codemirror/lang-sql"),require("@codemirror/lang-javascript"),require("@codemirror/lang-json"),require("jsonschema"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("react-virtualized"),require("react-draggable"),exports.CommonProperties=e.commonProperties,exports.PropertiesController=e.PropertiesController,exports.FlexibleTable=r.FlexibleTable,exports.FieldPicker=i.FieldPicker,exports.clem=t.clem,exports.getPythonHints=o.getPythonHints;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../common-properties-7197e445.js"),r=require("../flexible-table-20fac41c.js"),i=require("../index-361c491b.js"),t=require("./properties/clem.cjs"),o=require("./properties/getPythonHints.cjs");require("../createClass-df7b07d6.js"),require("../inherits-74e481d1.js"),require("react"),require("../Close-854a176c.js"),require("../common-canvas-utils-272fb8c4.js"),require("../toInteger-b7d805dd.js"),require("../isArrayLikeObject-4737a54a.js"),require("../datarecord-metadata-v3-schema-46edaa7d.js"),require("../en-48c97a88.js"),require("../keyboard-utils-78bc27c3.js"),require("prop-types"),require("./tooltip.cjs"),require("react-portal"),require("@carbon/react"),require("uuid"),require("react-inlinesvg"),require("react/jsx-runtime"),require("../Time-579424f6.js"),require("../ChevronRight-411e5c21.js"),require("react-intl"),require("react-redux"),require("../defineProperty-d68f985b.js"),require("redux"),require("seedrandom"),require("./command-stack.cjs"),require("immutable"),require("date-fns"),require("@codemirror/view"),require("@codemirror/commands"),require("@codemirror/search"),require("@codemirror/autocomplete"),require("@codemirror/state"),require("@codemirror/language"),require("@codemirror/lang-python"),require("@codemirror/lang-sql"),require("@codemirror/lang-javascript"),require("@codemirror/lang-json"),require("jsonschema"),require("@tanstack/react-table"),require("@tanstack/react-virtual"),require("react-virtualized"),require("react-draggable"),exports.CommonProperties=e.commonProperties,exports.PropertiesController=e.PropertiesController,exports.FlexibleTable=r.FlexibleTable,exports.FieldPicker=i.FieldPicker,exports.clem=t.clem,exports.getPythonHints=o.getPythonHints;
2
2
  //# sourceMappingURL=properties.cjs.map
@@ -1,2 +1,2 @@
1
- export{c as CommonProperties,P as PropertiesController}from"../common-properties-3860224b.js";export{F as FlexibleTable}from"../flexible-table-8ce77a9c.js";export{F as FieldPicker}from"../index-37817c66.js";export{clem}from"./properties/clem.js";export{getPythonHints}from"./properties/getPythonHints.js";import"../createClass-a140e270.js";import"../inherits-860188e5.js";import"react";import"../Close-1b1822b0.js";import"../common-canvas-utils-7ef1d091.js";import"../toInteger-ea444724.js";import"../isArrayLikeObject-8496ff7c.js";import"../datarecord-metadata-v3-schema-73031f6a.js";import"../en-dceabf36.js";import"../keyboard-utils-d9b6ba48.js";import"prop-types";import"./tooltip.js";import"react-portal";import"@carbon/react";import"uuid";import"react-inlinesvg";import"react/jsx-runtime";import"../Time-4b4e32e7.js";import"../ChevronRight-42b5629a.js";import"react-intl";import"react-redux";import"../defineProperty-f3298a15.js";import"redux";import"seedrandom";import"./command-stack.js";import"immutable";import"date-fns";import"@codemirror/view";import"@codemirror/commands";import"@codemirror/search";import"@codemirror/autocomplete";import"@codemirror/state";import"@codemirror/language";import"@codemirror/lang-python";import"@codemirror/lang-sql";import"@codemirror/lang-javascript";import"@codemirror/lang-json";import"jsonschema";import"@tanstack/react-table";import"@tanstack/react-virtual";import"react-virtualized";import"react-draggable";
1
+ export{c as CommonProperties,P as PropertiesController}from"../common-properties-66a5ed63.js";export{F as FlexibleTable}from"../flexible-table-2e44daf0.js";export{F as FieldPicker}from"../index-e12020a5.js";export{clem}from"./properties/clem.js";export{getPythonHints}from"./properties/getPythonHints.js";import"../createClass-a140e270.js";import"../inherits-860188e5.js";import"react";import"../Close-3730864c.js";import"../common-canvas-utils-7ef1d091.js";import"../toInteger-ea444724.js";import"../isArrayLikeObject-8496ff7c.js";import"../datarecord-metadata-v3-schema-73031f6a.js";import"../en-dceabf36.js";import"../keyboard-utils-6f375370.js";import"prop-types";import"./tooltip.js";import"react-portal";import"@carbon/react";import"uuid";import"react-inlinesvg";import"react/jsx-runtime";import"../Time-63073cae.js";import"../ChevronRight-e8e77f7d.js";import"react-intl";import"react-redux";import"../defineProperty-f3298a15.js";import"redux";import"seedrandom";import"./command-stack.js";import"immutable";import"date-fns";import"@codemirror/view";import"@codemirror/commands";import"@codemirror/search";import"@codemirror/autocomplete";import"@codemirror/state";import"@codemirror/language";import"@codemirror/lang-python";import"@codemirror/lang-sql";import"@codemirror/lang-javascript";import"@codemirror/lang-json";import"jsonschema";import"@tanstack/react-table";import"@tanstack/react-virtual";import"react-virtualized";import"react-draggable";
2
2
  //# sourceMappingURL=properties.js.map
@@ -13,18 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import de from "./de.json" with { type: "json" };
17
- import en from "./en.json" with { type: "json" };
18
- import eo from "./eo.json" with { type: "json" };
19
- import es from "./es.json" with { type: "json" };
20
- import fr from "./fr.json" with { type: "json" };
21
- import itIT from "./it.json" with { type: "json" };
22
- import ja from "./ja.json" with { type: "json" };
23
- import ko from "./ko.json" with { type: "json" };
24
- import ptBR from "./pt-BR.json" with { type: "json" };
25
- import sv from "./sv.json" with { type: "json" };
26
- import zhCN from "./zh-CN.json" with { type: "json" };
27
- import zhTW from "./zh-TW.json" with { type: "json" };
16
+ import de from "./de.json";
17
+ import en from "./en.json";
18
+ import eo from "./eo.json";
19
+ import es from "./es.json";
20
+ import fr from "./fr.json";
21
+ import itIT from "./it.json";
22
+ import ja from "./ja.json";
23
+ import ko from "./ko.json";
24
+ import ptBR from "./pt-BR.json";
25
+ import sv from "./sv.json";
26
+ import zhCN from "./zh-CN.json";
27
+ import zhTW from "./zh-TW.json";
28
28
 
29
29
  export default {
30
30
  "de": de,
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "Rückgängig machen: {undo_command}",
19
19
  "canvas.redoCommand": "Wiederholen: {redo_command}",
20
20
  "canvas.deleteObject": "Löschen",
21
+ "canvas.arrangeHorizontally": "Horizontal anordnen",
22
+ "canvas.arrangeVertically": "Vertikal anordnen",
21
23
  "canvas.flowIsEmpty": "Der Ablauf ist leer.",
22
24
  "canvas.addNodeToStart": "Beginnen Sie, indem Sie einen Knoten hinzufügen.",
23
25
  "canvas.stateTagLocked": "Gesperrt",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "Deshacer: {undo_command}",
19
19
  "canvas.redoCommand": "Rehacer: {redo_command}",
20
20
  "canvas.deleteObject": "Suprimir",
21
+ "canvas.arrangeHorizontally": "Organizar horizontalmente",
22
+ "canvas.arrangeVertically": "Organizar Verticalmente",
21
23
  "canvas.flowIsEmpty": "Su flujo está vacío.",
22
24
  "canvas.addNodeToStart": "Comience añadiendo un nodo.",
23
25
  "canvas.stateTagLocked": "Bloqueado",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "Annuler : {undo_command}",
19
19
  "canvas.redoCommand": "Rétablir : {redo_command}",
20
20
  "canvas.deleteObject": "Supprimer",
21
+ "canvas.arrangeHorizontally": "Disposer horizontalement",
22
+ "canvas.arrangeVertically": "Disposer verticalement",
21
23
  "canvas.flowIsEmpty": "Votre flux est vide.",
22
24
  "canvas.addNodeToStart": "Pour commencer, ajoutez un noeud.",
23
25
  "canvas.stateTagLocked": "Verrouillé",
@@ -13,18 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import de from "./de.json" with { type: "json" };
17
- import en from "./en.json" with { type: "json" };
18
- import eo from "./eo.json" with { type: "json" };
19
- import es from "./es.json" with { type: "json" };
20
- import fr from "./fr.json" with { type: "json" };
21
- import itIT from "./it.json" with { type: "json" };
22
- import ja from "./ja.json" with { type: "json" };
23
- import ko from "./ko.json" with { type: "json" };
24
- import ptBR from "./pt-BR.json" with { type: "json" };
25
- import sv from "./sv.json" with { type: "json" };
26
- import zhCN from "./zh-CN.json" with { type: "json" };
27
- import zhTW from "./zh-TW.json" with { type: "json" };
16
+ import de from "./de.json";
17
+ import en from "./en.json";
18
+ import eo from "./eo.json";
19
+ import es from "./es.json";
20
+ import fr from "./fr.json";
21
+ import itIT from "./it.json";
22
+ import ja from "./ja.json";
23
+ import ko from "./ko.json";
24
+ import ptBR from "./pt-BR.json";
25
+ import sv from "./sv.json";
26
+ import zhCN from "./zh-CN.json";
27
+ import zhTW from "./zh-TW.json";
28
28
 
29
29
  export default {
30
30
  "de": de,
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "Annulla: {undo_command}",
19
19
  "canvas.redoCommand": "Ripeti: {redo_command}",
20
20
  "canvas.deleteObject": "Elimina",
21
+ "canvas.arrangeHorizontally": "Disponi orizzontalmente",
22
+ "canvas.arrangeVertically": "Disponi verticalmente",
21
23
  "canvas.flowIsEmpty": "Il flusso è vuoto.",
22
24
  "canvas.addNodeToStart": "Iniziare aggiungendo un nodo.",
23
25
  "canvas.stateTagLocked": "Bloccato",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "元に戻す: {undo_command}",
19
19
  "canvas.redoCommand": "やり直し: {redo_command}",
20
20
  "canvas.deleteObject": "削除",
21
+ "canvas.arrangeHorizontally": "横方向に配置",
22
+ "canvas.arrangeVertically": "縦方向に配置",
21
23
  "canvas.flowIsEmpty": "フローが空です。",
22
24
  "canvas.addNodeToStart": "ノードの追加から開始します。",
23
25
  "canvas.stateTagLocked": "ロック済み",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "실행 취소: {undo_command}",
19
19
  "canvas.redoCommand": "다시 실행: {redo_command}",
20
20
  "canvas.deleteObject": "삭제",
21
+ "canvas.arrangeHorizontally": "가로로 배열",
22
+ "canvas.arrangeVertically": "세로로 배열",
21
23
  "canvas.flowIsEmpty": "플로우가 비어 있습니다.",
22
24
  "canvas.addNodeToStart": "노드를 추가하여 시작하십시오.",
23
25
  "canvas.stateTagLocked": "잠김",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "Desfazer: {undo_command}",
19
19
  "canvas.redoCommand": "Refazer: {redo_command}",
20
20
  "canvas.deleteObject": "Excluir",
21
+ "canvas.arrangeHorizontally": "Organizar horizontalmente",
22
+ "canvas.arrangeVertically": "Organizar verticalmente",
21
23
  "canvas.flowIsEmpty": "Seu fluxo está vazio.",
22
24
  "canvas.addNodeToStart": "Comece incluindo um nó.",
23
25
  "canvas.stateTagLocked": "Bloqueado",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "Ångra: {undo_command}",
19
19
  "canvas.redoCommand": "Gör om: {redo_command}",
20
20
  "canvas.deleteObject": "Ta bort",
21
+ "canvas.arrangeHorizontally": "Ordna horisontellt",
22
+ "canvas.arrangeVertically": "Ordna vertikalt",
21
23
  "canvas.flowIsEmpty": "Ditt flöde är tomt.",
22
24
  "canvas.addNodeToStart": "Kom igång genom att lägga till en nod.",
23
25
  "canvas.stateTagLocked": "Låst",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "撤销:{undo_command}",
19
19
  "canvas.redoCommand": "重做:{redo_command}",
20
20
  "canvas.deleteObject": "删除",
21
+ "canvas.arrangeHorizontally": "水平排列",
22
+ "canvas.arrangeVertically": "垂直排列",
21
23
  "canvas.flowIsEmpty": "该流程是空的。",
22
24
  "canvas.addNodeToStart": "通过添加节点开始。",
23
25
  "canvas.stateTagLocked": "已锁定",
@@ -18,6 +18,8 @@
18
18
  "canvas.undoCommand": "復原:{undo_command}",
19
19
  "canvas.redoCommand": "重做:{redo_command}",
20
20
  "canvas.deleteObject": "刪除",
21
+ "canvas.arrangeHorizontally": "水平排列",
22
+ "canvas.arrangeVertically": "垂直排列",
21
23
  "canvas.flowIsEmpty": "您的流程為空。",
22
24
  "canvas.addNodeToStart": "從新增節點開始。",
23
25
  "canvas.stateTagLocked": "已鎖定",
@@ -13,18 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import de from "./de.json" with { type: "json" };
17
- import en from "./en.json" with { type: "json" };
18
- import eo from "./eo.json" with { type: "json" };
19
- import es from "./es.json" with { type: "json" };
20
- import fr from "./fr.json" with { type: "json" };
21
- import itIT from "./it.json" with { type: "json" };
22
- import ja from "./ja.json" with { type: "json" };
23
- import ko from "./ko.json" with { type: "json" };
24
- import ptBR from "./pt-BR.json" with { type: "json" };
25
- import sv from "./sv.json" with { type: "json" };
26
- import zhCN from "./zh-CN.json" with { type: "json" };
27
- import zhTW from "./zh-TW.json" with { type: "json" };
16
+ import de from "./de.json";
17
+ import en from "./en.json";
18
+ import eo from "./eo.json";
19
+ import es from "./es.json";
20
+ import fr from "./fr.json";
21
+ import itIT from "./it.json";
22
+ import ja from "./ja.json";
23
+ import ko from "./ko.json";
24
+ import ptBR from "./pt-BR.json";
25
+ import sv from "./sv.json";
26
+ import zhCN from "./zh-CN.json";
27
+ import zhTW from "./zh-TW.json";
28
28
 
29
29
  export default {
30
30
  "de": de,
@@ -13,18 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import de from "./de.json" with { type: "json" };
17
- import en from "./en.json" with { type: "json" };
18
- import eo from "./eo.json" with { type: "json" };
19
- import es from "./es.json" with { type: "json" };
20
- import fr from "./fr.json" with { type: "json" };
21
- import itIT from "./it.json" with { type: "json" };
22
- import ja from "./ja.json" with { type: "json" };
23
- import ko from "./ko.json" with { type: "json" };
24
- import ptBR from "./pt-BR.json" with { type: "json" };
25
- import sv from "./sv.json" with { type: "json" };
26
- import zhCN from "./zh-CN.json" with { type: "json" };
27
- import zhTW from "./zh-TW.json" with { type: "json" };
16
+ import de from "./de.json";
17
+ import en from "./en.json";
18
+ import eo from "./eo.json";
19
+ import es from "./es.json";
20
+ import fr from "./fr.json";
21
+ import itIT from "./it.json";
22
+ import ja from "./ja.json";
23
+ import ko from "./ko.json";
24
+ import ptBR from "./pt-BR.json";
25
+ import sv from "./sv.json";
26
+ import zhCN from "./zh-CN.json";
27
+ import zhTW from "./zh-TW.json";
28
28
 
29
29
  export default {
30
30
  "de": de,
@@ -13,18 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import de from "./de.json" with { type: "json" };
17
- import en from "./en.json" with { type: "json" };
18
- import eo from "./eo.json" with { type: "json" };
19
- import es from "./es.json" with { type: "json" };
20
- import fr from "./fr.json" with { type: "json" };
21
- import itIT from "./it.json" with { type: "json" };
22
- import ja from "./ja.json" with { type: "json" };
23
- import ko from "./ko.json" with { type: "json" };
24
- import ptBR from "./pt-BR.json" with { type: "json" };
25
- import sv from "./sv.json" with { type: "json" };
26
- import zhCN from "./zh-CN.json" with { type: "json" };
27
- import zhTW from "./zh-TW.json" with { type: "json" };
16
+ import de from "./de.json";
17
+ import en from "./en.json";
18
+ import eo from "./eo.json";
19
+ import es from "./es.json";
20
+ import fr from "./fr.json";
21
+ import itIT from "./it.json";
22
+ import ja from "./ja.json";
23
+ import ko from "./ko.json";
24
+ import ptBR from "./pt-BR.json";
25
+ import sv from "./sv.json";
26
+ import zhCN from "./zh-CN.json";
27
+ import zhTW from "./zh-TW.json";
28
28
 
29
29
  export default {
30
30
  "de": de,
@@ -13,18 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import de from "./de.json" with { type: "json" };
17
- import en from "./en.json" with { type: "json" };
18
- import eo from "./eo.json" with { type: "json" };
19
- import es from "./es.json" with { type: "json" };
20
- import fr from "./fr.json" with { type: "json" };
21
- import itIT from "./it.json" with { type: "json" };
22
- import ja from "./ja.json" with { type: "json" };
23
- import ko from "./ko.json" with { type: "json" };
24
- import ptBR from "./pt-BR.json" with { type: "json" };
25
- import sv from "./sv.json" with { type: "json" };
26
- import zhCN from "./zh-CN.json" with { type: "json" };
27
- import zhTW from "./zh-TW.json" with { type: "json" };
16
+ import de from "./de.json";
17
+ import en from "./en.json";
18
+ import eo from "./eo.json";
19
+ import es from "./es.json";
20
+ import fr from "./fr.json";
21
+ import itIT from "./it.json";
22
+ import ja from "./ja.json";
23
+ import ko from "./ko.json";
24
+ import ptBR from "./pt-BR.json";
25
+ import sv from "./sv.json";
26
+ import zhCN from "./zh-CN.json";
27
+ import zhTW from "./zh-TW.json";
28
28
 
29
29
  export default {
30
30
  "de": de,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyra/canvas",
3
- "version": "13.45.0",
3
+ "version": "13.45.2",
4
4
  "description": "Elyra common-canvas",
5
5
  "main": "dist/common-canvas.cjs",
6
6
  "module": "dist/common-canvas.js",
@@ -17,7 +17,12 @@
17
17
  },
18
18
  "./src/*": "./src/*",
19
19
  "./dist/styles/common-canvas.min.css": "./dist/styles/common-canvas.min.css",
20
- "./locales/*/locales": "./locales/*/locales/index.js",
20
+ "./locales/command-actions/locales": "./locales/command-actions/locales/index.js",
21
+ "./locales/common-canvas/locales": "./locales/common-canvas/locales/index.js",
22
+ "./locales/common-properties/locales": "./locales/common-properties/locales/index.js",
23
+ "./locales/notification-panel/locales": "./locales/notification-panel/locales/index.js",
24
+ "./locales/palette/locales": "./locales/palette/locales/index.js",
25
+ "./locales/toolbar/locales": "./locales/toolbar/locales/index.js",
21
26
  "./package.json": "./package.json"
22
27
  },
23
28
  "homepage": "https://elyra-ai.github.io/canvas/",
@@ -30,7 +35,6 @@
30
35
  },
31
36
  "license": "Apache-2.0",
32
37
  "sideEffects": false,
33
- "type": "module",
34
38
  "types": "./types/index.d.ts",
35
39
  "scripts": {
36
40
  "build": "npx stylelint '**/*.scss' && grunt && rollup -c",
@@ -1749,6 +1749,8 @@ export default class CanvasController {
1749
1749
  // Operational methods
1750
1750
  // ---------------------------------------------------------------------------
1751
1751
 
1752
+ // Logging methods
1753
+
1752
1754
  // Returns a Boolean to indicate whether canvas logging is switched on or off.
1753
1755
  getLoggingState() {
1754
1756
  return Logger.getLoggingState();
@@ -1764,6 +1766,8 @@ export default class CanvasController {
1764
1766
  logger.log(msg);
1765
1767
  }
1766
1768
 
1769
+ // Manage after-update calls
1770
+
1767
1771
  addAfterUpdateCallback(callback) {
1768
1772
  if (this.canvasContents) {
1769
1773
  this.canvasContents.addAfterUpdateCallback(callback);
@@ -1776,6 +1780,8 @@ export default class CanvasController {
1776
1780
  }
1777
1781
  }
1778
1782
 
1783
+ // Palette methods
1784
+
1779
1785
  togglePalette() {
1780
1786
  this.getObjectModel().togglePalette();
1781
1787
  }
@@ -1792,18 +1798,18 @@ export default class CanvasController {
1792
1798
  return this.getObjectModel().isPaletteOpen();
1793
1799
  }
1794
1800
 
1795
- isBottomPanelOpen() {
1796
- return this.getObjectModel().isBottomPanelOpen();
1797
- }
1798
-
1799
- setBottomPanelHeight(ht) {
1800
- this.objectModel.setBottomPanelHeight(ht);
1801
- }
1801
+ // Left-flyout methods
1802
1802
 
1803
1803
  isLeftFlyoutOpen() {
1804
1804
  return this.objectModel.isLeftFlyoutOpen();
1805
1805
  }
1806
1806
 
1807
+ // Right-flyout methods
1808
+
1809
+ isRightFlyoutOpen() {
1810
+ return this.objectModel.isRightFlyoutOpen();
1811
+ }
1812
+
1807
1813
  setRightFlyoutWidth(wd) {
1808
1814
  this.objectModel.setRightFlyoutWidth(wd);
1809
1815
  }
@@ -1812,14 +1818,24 @@ export default class CanvasController {
1812
1818
  this.objectModel.setRightFlyoutMinWidth(wd);
1813
1819
  }
1814
1820
 
1815
- isRightFlyoutOpen() {
1816
- return this.objectModel.isRightFlyoutOpen();
1817
- }
1821
+ // Top panel methods
1818
1822
 
1819
1823
  isTopPanelOpen() {
1820
1824
  return this.getObjectModel().isTopPanelOpen();
1821
1825
  }
1822
1826
 
1827
+ // Bottom panel methods
1828
+
1829
+ isBottomPanelOpen() {
1830
+ return this.getObjectModel().isBottomPanelOpen();
1831
+ }
1832
+
1833
+ setBottomPanelHeight(ht) {
1834
+ this.objectModel.setBottomPanelHeight(ht);
1835
+ }
1836
+
1837
+ // Context menu methods
1838
+
1823
1839
  openContextMenu(menuDef, source) {
1824
1840
  this.objectModel.openContextMenu(menuDef, source);
1825
1841
  }
@@ -1868,6 +1884,8 @@ export default class CanvasController {
1868
1884
  this.mouseInObject = id;
1869
1885
  }
1870
1886
 
1887
+ // Notification panel methods
1888
+
1871
1889
  openNotificationPanel() {
1872
1890
  this.objectModel.openNotificationPanel();
1873
1891
  }
@@ -1880,6 +1898,8 @@ export default class CanvasController {
1880
1898
  this.objectModel.toggleNotificationPanel();
1881
1899
  }
1882
1900
 
1901
+ // Canvas/pipeline navigation methods
1902
+
1883
1903
  isDisplayingFullPageSubFlow() {
1884
1904
  const breadcrumbs = this.objectModel.getBreadcrumbs();
1885
1905
  return breadcrumbs.length > 1;
@@ -1949,6 +1969,26 @@ export default class CanvasController {
1949
1969
  this.editActionHandler(data);
1950
1970
  }
1951
1971
 
1972
+ // Canvas and viewport dimensions methods
1973
+
1974
+ getViewPortDimensions() {
1975
+ if (this.canvasContents) {
1976
+ return this.getSVGCanvasD3().getTransformedViewportDimensions();
1977
+ }
1978
+ return null;
1979
+ }
1980
+
1981
+ getCanvasDimensionsWithPadding() {
1982
+ if (this.canvasContents) {
1983
+ return this.getSVGCanvasD3().getCanvasDimensionsWithPadding();
1984
+ }
1985
+ return null;
1986
+ }
1987
+
1988
+ // ---------------------------------------------------------------------------
1989
+ // Zoom methods
1990
+ // ---------------------------------------------------------------------------
1991
+
1952
1992
  zoomIn() {
1953
1993
  if (this.canvasContents) {
1954
1994
  this.getSVGCanvasD3().zoomIn();
@@ -2041,20 +2081,6 @@ export default class CanvasController {
2041
2081
  this.objectModel.clearSavedZoomValues();
2042
2082
  }
2043
2083
 
2044
- getViewPortDimensions() {
2045
- if (this.canvasContents) {
2046
- return this.getSVGCanvasD3().getTransformedViewportDimensions();
2047
- }
2048
- return null;
2049
- }
2050
-
2051
- getCanvasDimensionsWithPadding() {
2052
- if (this.canvasContents) {
2053
- return this.getSVGCanvasD3().getCanvasDimensionsWithPadding();
2054
- }
2055
- return null;
2056
- }
2057
-
2058
2084
  // ---------------------------------------------------------------------------
2059
2085
  // Focus management methods
2060
2086
  // ---------------------------------------------------------------------------
@@ -472,6 +472,14 @@ export default class KeyboardUtils {
472
472
  return !this.isMetaKey(evt) && !evt.shiftKey && evt.key === UP_ARROW_KEY;
473
473
  }
474
474
 
475
+ static leaveNodeInCategory(evt) {
476
+ return !this.isMetaKey(evt) && !evt.shiftKey && evt.key === ESC_KEY;
477
+ }
478
+
479
+ static closeCategory(evt) {
480
+ return !this.isMetaKey(evt) && !evt.shiftKey && evt.key === ESC_KEY;
481
+ }
482
+
475
483
  static createAutoNode(evt) {
476
484
  return !evt.shiftKey && (this.isSpaceKey(evt) || evt.key === RETURN_KEY);
477
485
  }
@@ -98,6 +98,11 @@ class PaletteContentListItem extends React.Component {
98
98
  } else if (KeyboardUtils.previousNodeInCategory(evt) && this.props.previousNodeInCategory) {
99
99
  this.props.previousNodeInCategory(evt);
100
100
 
101
+ } else if (KeyboardUtils.leaveNodeInCategory(evt) && this.props.focusOnCategoryButton) {
102
+ this.props.focusOnCategoryButton();
103
+ evt.stopPropagation();
104
+ evt.preventDefault();
105
+
101
106
  } else if (KeyboardUtils.tabFocusOutOfPalette(evt) && this.props.tabOut) {
102
107
  this.props.tabOut(evt);
103
108
  }
@@ -436,7 +441,8 @@ PaletteContentListItem.propTypes = {
436
441
  isPaletteWide: PropTypes.bool,
437
442
  isShowRanking: PropTypes.bool,
438
443
  createAutoNode: PropTypes.func,
439
- tabOut: PropTypes.func
444
+ tabOut: PropTypes.func,
445
+ focusOnCategoryButton: PropTypes.func
440
446
  };
441
447
 
442
448
  export default PaletteContentListItem;
@@ -100,6 +100,7 @@ class PaletteContentList extends React.Component {
100
100
  setFocusIndex={this.setFocusIndex.bind(this, idx)}
101
101
  allowClickToAdd={this.props.allowClickToAdd}
102
102
  createAutoNode={this.props.createAutoNode}
103
+ focusOnCategoryButton={this.props.focusOnCategoryButton}
103
104
  />
104
105
  );
105
106
  }
@@ -120,7 +121,8 @@ PaletteContentList.propTypes = {
120
121
  isPaletteWide: PropTypes.bool,
121
122
  isEditingEnabled: PropTypes.bool.isRequired,
122
123
  allowClickToAdd: PropTypes.bool,
123
- createAutoNode: PropTypes.func
124
+ createAutoNode: PropTypes.func,
125
+ focusOnCategoryButton: PropTypes.func
124
126
  };
125
127
 
126
128
  export default PaletteContentList;