@uipath/apollo-react 7.32.0 → 7.34.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 (84) hide show
  1. package/dist/canvas/styles/tailwind.canvas.css +1 -1
  2. package/dist/canvas/utils/icon-registry.cjs +13 -29
  3. package/dist/canvas/utils/icon-registry.d.ts.map +1 -1
  4. package/dist/canvas/utils/icon-registry.js +15 -31
  5. package/dist/chat/styles/tailwind.chat.css +1 -1
  6. package/dist/decision-table/styles/tailwind.decision-table.css +1 -1
  7. package/dist/decision-table/useGridLayout.cjs +2 -2
  8. package/dist/decision-table/useGridLayout.d.ts.map +1 -1
  9. package/dist/decision-table/useGridLayout.js +2 -2
  10. package/dist/icons/APIWorkflowGlyph.cjs +1 -0
  11. package/dist/icons/APIWorkflowGlyph.d.ts +2 -0
  12. package/dist/icons/APIWorkflowGlyph.js +2 -0
  13. package/dist/icons/AgentGlyph.cjs +1 -0
  14. package/dist/icons/AgentGlyph.d.ts +2 -0
  15. package/dist/icons/AgentGlyph.js +2 -0
  16. package/dist/icons/FunctionGlyph.cjs +1 -0
  17. package/dist/icons/FunctionGlyph.d.ts +2 -0
  18. package/dist/icons/FunctionGlyph.js +2 -0
  19. package/dist/icons/RpaGlyph.cjs +1 -0
  20. package/dist/icons/RpaGlyph.d.ts +2 -0
  21. package/dist/icons/RpaGlyph.js +2 -0
  22. package/dist/material/components/ap-model-picker/ModelPicker.cjs +101 -6
  23. package/dist/material/components/ap-model-picker/ModelPicker.d.ts +8 -0
  24. package/dist/material/components/ap-model-picker/ModelPicker.d.ts.map +1 -1
  25. package/dist/material/components/ap-model-picker/ModelPicker.js +101 -6
  26. package/dist/material/components/ap-model-picker/communityByoApi.cjs +946 -0
  27. package/dist/material/components/ap-model-picker/communityByoApi.d.ts +20 -0
  28. package/dist/material/components/ap-model-picker/communityByoApi.d.ts.map +1 -0
  29. package/dist/material/components/ap-model-picker/communityByoApi.js +909 -0
  30. package/dist/material/components/ap-model-picker/communityByoLabels.cjs +387 -0
  31. package/dist/material/components/ap-model-picker/communityByoLabels.d.ts +5 -0
  32. package/dist/material/components/ap-model-picker/communityByoLabels.d.ts.map +1 -0
  33. package/dist/material/components/ap-model-picker/communityByoLabels.js +350 -0
  34. package/dist/material/components/ap-model-picker/index.cjs +8 -1
  35. package/dist/material/components/ap-model-picker/index.d.ts +3 -1
  36. package/dist/material/components/ap-model-picker/index.d.ts.map +1 -1
  37. package/dist/material/components/ap-model-picker/index.js +2 -1
  38. package/dist/material/components/ap-model-picker/locales/de.cjs +1 -1
  39. package/dist/material/components/ap-model-picker/locales/de.d.ts.map +1 -1
  40. package/dist/material/components/ap-model-picker/locales/de.js +1 -1
  41. package/dist/material/components/ap-model-picker/locales/en.cjs +1 -1
  42. package/dist/material/components/ap-model-picker/locales/en.d.ts.map +1 -1
  43. package/dist/material/components/ap-model-picker/locales/en.js +1 -1
  44. package/dist/material/components/ap-model-picker/locales/es-MX.cjs +1 -1
  45. package/dist/material/components/ap-model-picker/locales/es-MX.d.ts.map +1 -1
  46. package/dist/material/components/ap-model-picker/locales/es-MX.js +1 -1
  47. package/dist/material/components/ap-model-picker/locales/es.cjs +1 -1
  48. package/dist/material/components/ap-model-picker/locales/es.d.ts.map +1 -1
  49. package/dist/material/components/ap-model-picker/locales/es.js +1 -1
  50. package/dist/material/components/ap-model-picker/locales/fr.cjs +1 -1
  51. package/dist/material/components/ap-model-picker/locales/fr.d.ts.map +1 -1
  52. package/dist/material/components/ap-model-picker/locales/fr.js +1 -1
  53. package/dist/material/components/ap-model-picker/locales/ja.cjs +1 -1
  54. package/dist/material/components/ap-model-picker/locales/ja.d.ts.map +1 -1
  55. package/dist/material/components/ap-model-picker/locales/ja.js +1 -1
  56. package/dist/material/components/ap-model-picker/locales/ko.cjs +1 -1
  57. package/dist/material/components/ap-model-picker/locales/ko.d.ts.map +1 -1
  58. package/dist/material/components/ap-model-picker/locales/ko.js +1 -1
  59. package/dist/material/components/ap-model-picker/locales/pt-BR.cjs +1 -1
  60. package/dist/material/components/ap-model-picker/locales/pt-BR.d.ts.map +1 -1
  61. package/dist/material/components/ap-model-picker/locales/pt-BR.js +1 -1
  62. package/dist/material/components/ap-model-picker/locales/pt.cjs +1 -1
  63. package/dist/material/components/ap-model-picker/locales/pt.d.ts.map +1 -1
  64. package/dist/material/components/ap-model-picker/locales/pt.js +1 -1
  65. package/dist/material/components/ap-model-picker/locales/ro.cjs +1 -1
  66. package/dist/material/components/ap-model-picker/locales/ro.d.ts.map +1 -1
  67. package/dist/material/components/ap-model-picker/locales/ro.js +1 -1
  68. package/dist/material/components/ap-model-picker/locales/ru.cjs +1 -1
  69. package/dist/material/components/ap-model-picker/locales/ru.d.ts.map +1 -1
  70. package/dist/material/components/ap-model-picker/locales/ru.js +1 -1
  71. package/dist/material/components/ap-model-picker/locales/tr.cjs +1 -1
  72. package/dist/material/components/ap-model-picker/locales/tr.d.ts.map +1 -1
  73. package/dist/material/components/ap-model-picker/locales/tr.js +1 -1
  74. package/dist/material/components/ap-model-picker/locales/zh-CN.cjs +1 -1
  75. package/dist/material/components/ap-model-picker/locales/zh-CN.d.ts.map +1 -1
  76. package/dist/material/components/ap-model-picker/locales/zh-CN.js +1 -1
  77. package/dist/material/components/ap-model-picker/locales/zh-TW.cjs +1 -1
  78. package/dist/material/components/ap-model-picker/locales/zh-TW.d.ts.map +1 -1
  79. package/dist/material/components/ap-model-picker/locales/zh-TW.js +1 -1
  80. package/dist/material/components/ap-model-picker/usePlatformAccess.cjs +10 -4
  81. package/dist/material/components/ap-model-picker/usePlatformAccess.d.ts +2 -0
  82. package/dist/material/components/ap-model-picker/usePlatformAccess.d.ts.map +1 -1
  83. package/dist/material/components/ap-model-picker/usePlatformAccess.js +1 -1
  84. package/package.json +4 -4
@@ -45,10 +45,6 @@ const sizedIcon = (Icon)=>({ w, h, color })=>{
45
45
  });
46
46
  };
47
47
  const iconRegistry = {
48
- agent: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.AgentProject, {
49
- w: w ?? 29,
50
- h: h ?? 28
51
- }),
52
48
  'autonomous-agent': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.AutonomousAgentIcon, {
53
49
  w: w ?? 29,
54
50
  h: h ?? 28
@@ -77,26 +73,6 @@ const iconRegistry = {
77
73
  w: w ?? 29,
78
74
  h: h ?? 28
79
75
  }),
80
- rpa: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.RpaProject, {
81
- w: w ?? 29,
82
- h: h ?? 28
83
- }),
84
- api: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.ApiProject, {
85
- w: w ?? 29,
86
- h: h ?? 28
87
- }),
88
- 'agentic-process': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.BusinessProcessProject, {
89
- w: w ?? 29,
90
- h: h ?? 28
91
- }),
92
- 'flow-project': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.FlowProject, {
93
- w: w ?? 29,
94
- h: h ?? 28
95
- }),
96
- 'case-management': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.CaseManagementProject, {
97
- w: w ?? 29,
98
- h: h ?? 28
99
- }),
100
76
  decision: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.DecisionIcon, {
101
77
  w: w ?? 24,
102
78
  h: h ?? 24
@@ -117,10 +93,6 @@ const iconRegistry = {
117
93
  w: w ?? 24,
118
94
  h: h ?? 24
119
95
  }),
120
- function: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.FunctionProject, {
121
- w: w ?? 29,
122
- h: h ?? 28
123
- }),
124
96
  mcp: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.McpIcon, {
125
97
  w: w ?? 29,
126
98
  h: h ?? 28
@@ -142,7 +114,19 @@ const iconRegistry = {
142
114
  'decision-table': sizedIcon(index_cjs_namespaceObject.ComponentDecisionTable),
143
115
  'decision-table-row': sizedIcon(index_cjs_namespaceObject.ComponentDecisionTableRow),
144
116
  'literal-expression': sizedIcon(index_cjs_namespaceObject.ComponentLiteralExpression),
145
- batch: sizedIcon(index_cjs_namespaceObject.ComponentBatch)
117
+ batch: sizedIcon(index_cjs_namespaceObject.ComponentBatch),
118
+ agent: sizedIcon(index_cjs_namespaceObject.AgentGlyph),
119
+ 'agentic-process': sizedIcon(index_cjs_namespaceObject.MaestroBpmnFlat),
120
+ api: sizedIcon(index_cjs_namespaceObject.APIWorkflowGlyph),
121
+ 'case-management': sizedIcon(index_cjs_namespaceObject.MaestroCaseFlat),
122
+ 'flow-project': sizedIcon(index_cjs_namespaceObject.MaestroFlowFlat),
123
+ function: sizedIcon(index_cjs_namespaceObject.FunctionGlyph),
124
+ maestro: sizedIcon(index_cjs_namespaceObject.Maestro),
125
+ 'maestro-automate': sizedIcon(index_cjs_namespaceObject.MaestroAutomateFlat),
126
+ 'maestro-bpmn': sizedIcon(index_cjs_namespaceObject.MaestroBpmnFlat),
127
+ 'maestro-case': sizedIcon(index_cjs_namespaceObject.MaestroCaseFlat),
128
+ 'maestro-flow': sizedIcon(index_cjs_namespaceObject.MaestroFlowFlat),
129
+ rpa: sizedIcon(index_cjs_namespaceObject.RpaGlyph)
146
130
  };
147
131
  function kebabToPascal(str) {
148
132
  return str.split('-').map((word)=>word.charAt(0).toUpperCase() + word.slice(1)).join('');
@@ -1 +1 @@
1
- {"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/icon-registry.tsx"],"names":[],"mappings":"AASA,OAAO,EAA0C,KAAK,GAAG,EAAiB,MAAM,OAAO,CAAC;AAUxF,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE;IAClC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,KAAK,GAAG,CAAC,OAAO,CAAC;AAgFlB,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,aAAa,CA0CtD;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAMD,eAAO,MAAM,UAAU,uDASrB,CAAC;AAGH,eAAO,MAAM,QAAQ,uDAAa,CAAC"}
1
+ {"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/icon-registry.tsx"],"names":[],"mappings":"AASA,OAAO,EAA0C,KAAK,GAAG,EAAiB,MAAM,OAAO,CAAC;AAmBxF,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE;IAClC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,KAAK,GAAG,CAAC,OAAO,CAAC;AAsFlB,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,aAAa,CA0CtD;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAMD,eAAO,MAAM,UAAU,uDASrB,CAAC;AAGH,eAAO,MAAM,QAAQ,uDAAa,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { icons } from "lucide-react";
3
3
  import { memo, useMemo } from "react";
4
- import { ComponentBatch, ComponentBusinessRule, ComponentDecisionTable, ComponentDecisionTableRow, ComponentLiteralExpression } from "../../icons/index.js";
5
- import { A2aIcon, AgentDiagramIcon, AgentProject, ApiProject, AutonomousAgentIcon, BusinessProcessProject, CaseManagementProject, CodedAgentIcon, ConnectorBuilderProject, ContextIcon, ControlFlowIcon, ConversationalAgentIcon, DataAndTools, DecisionIcon, FileSparklesCornerIcon, FlowProject, FunctionProject, LayersArrowUpRightIcon, McpIcon, RpaProject, SwitchIcon, UiPathIcon, WebAppProject } from "../icons/index.js";
4
+ import { APIWorkflowGlyph, AgentGlyph, ComponentBatch, ComponentBusinessRule, ComponentDecisionTable, ComponentDecisionTableRow, ComponentLiteralExpression, FunctionGlyph, Maestro, MaestroAutomateFlat, MaestroBpmnFlat, MaestroCaseFlat, MaestroFlowFlat, RpaGlyph } from "../../icons/index.js";
5
+ import { A2aIcon, AgentDiagramIcon, AutonomousAgentIcon, CodedAgentIcon, ConnectorBuilderProject, ContextIcon, ControlFlowIcon, ConversationalAgentIcon, DataAndTools, DecisionIcon, FileSparklesCornerIcon, LayersArrowUpRightIcon, McpIcon, SwitchIcon, UiPathIcon, WebAppProject } from "../icons/index.js";
6
6
  const sizedIcon = (Icon)=>({ w, h, color })=>{
7
7
  const width = w ?? 24;
8
8
  const height = h ?? 24;
@@ -15,10 +15,6 @@ const sizedIcon = (Icon)=>({ w, h, color })=>{
15
15
  });
16
16
  };
17
17
  const iconRegistry = {
18
- agent: ({ w, h })=>/*#__PURE__*/ jsx(AgentProject, {
19
- w: w ?? 29,
20
- h: h ?? 28
21
- }),
22
18
  'autonomous-agent': ({ w, h })=>/*#__PURE__*/ jsx(AutonomousAgentIcon, {
23
19
  w: w ?? 29,
24
20
  h: h ?? 28
@@ -47,26 +43,6 @@ const iconRegistry = {
47
43
  w: w ?? 29,
48
44
  h: h ?? 28
49
45
  }),
50
- rpa: ({ w, h })=>/*#__PURE__*/ jsx(RpaProject, {
51
- w: w ?? 29,
52
- h: h ?? 28
53
- }),
54
- api: ({ w, h })=>/*#__PURE__*/ jsx(ApiProject, {
55
- w: w ?? 29,
56
- h: h ?? 28
57
- }),
58
- 'agentic-process': ({ w, h })=>/*#__PURE__*/ jsx(BusinessProcessProject, {
59
- w: w ?? 29,
60
- h: h ?? 28
61
- }),
62
- 'flow-project': ({ w, h })=>/*#__PURE__*/ jsx(FlowProject, {
63
- w: w ?? 29,
64
- h: h ?? 28
65
- }),
66
- 'case-management': ({ w, h })=>/*#__PURE__*/ jsx(CaseManagementProject, {
67
- w: w ?? 29,
68
- h: h ?? 28
69
- }),
70
46
  decision: ({ w, h })=>/*#__PURE__*/ jsx(DecisionIcon, {
71
47
  w: w ?? 24,
72
48
  h: h ?? 24
@@ -87,10 +63,6 @@ const iconRegistry = {
87
63
  w: w ?? 24,
88
64
  h: h ?? 24
89
65
  }),
90
- function: ({ w, h })=>/*#__PURE__*/ jsx(FunctionProject, {
91
- w: w ?? 29,
92
- h: h ?? 28
93
- }),
94
66
  mcp: ({ w, h })=>/*#__PURE__*/ jsx(McpIcon, {
95
67
  w: w ?? 29,
96
68
  h: h ?? 28
@@ -112,7 +84,19 @@ const iconRegistry = {
112
84
  'decision-table': sizedIcon(ComponentDecisionTable),
113
85
  'decision-table-row': sizedIcon(ComponentDecisionTableRow),
114
86
  'literal-expression': sizedIcon(ComponentLiteralExpression),
115
- batch: sizedIcon(ComponentBatch)
87
+ batch: sizedIcon(ComponentBatch),
88
+ agent: sizedIcon(AgentGlyph),
89
+ 'agentic-process': sizedIcon(MaestroBpmnFlat),
90
+ api: sizedIcon(APIWorkflowGlyph),
91
+ 'case-management': sizedIcon(MaestroCaseFlat),
92
+ 'flow-project': sizedIcon(MaestroFlowFlat),
93
+ function: sizedIcon(FunctionGlyph),
94
+ maestro: sizedIcon(Maestro),
95
+ 'maestro-automate': sizedIcon(MaestroAutomateFlat),
96
+ 'maestro-bpmn': sizedIcon(MaestroBpmnFlat),
97
+ 'maestro-case': sizedIcon(MaestroCaseFlat),
98
+ 'maestro-flow': sizedIcon(MaestroFlowFlat),
99
+ rpa: sizedIcon(RpaGlyph)
116
100
  };
117
101
  function kebabToPascal(str) {
118
102
  return str.split('-').map((word)=>word.charAt(0).toUpperCase() + word.slice(1)).join('');