@uipath/apollo-react 3.53.0-pr349.8a75b3d → 3.54.0-pr354.c980c37
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.
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.n = (module)=>{
|
|
5
|
+
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
6
|
+
__webpack_require__.d(getter, {
|
|
7
|
+
a: getter
|
|
8
|
+
});
|
|
9
|
+
return getter;
|
|
10
|
+
};
|
|
11
|
+
})();
|
|
3
12
|
(()=>{
|
|
4
13
|
__webpack_require__.d = (exports1, definition)=>{
|
|
5
14
|
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
@@ -28,6 +37,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
37
|
});
|
|
29
38
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
39
|
const external_react_namespaceObject = require("react");
|
|
40
|
+
const external_react_focus_lock_namespaceObject = require("react-focus-lock");
|
|
41
|
+
var external_react_focus_lock_default = /*#__PURE__*/ __webpack_require__.n(external_react_focus_lock_namespaceObject);
|
|
31
42
|
const index_cjs_namespaceObject = require("../../core/index.cjs");
|
|
32
43
|
const external_hooks_index_cjs_namespaceObject = require("../../hooks/index.cjs");
|
|
33
44
|
const external_Toolbox_index_cjs_namespaceObject = require("../Toolbox/index.cjs");
|
|
@@ -68,14 +79,16 @@ const AddNodePanel_AddNodePanel = /*#__PURE__*/ (0, external_react_namespaceObje
|
|
|
68
79
|
}, [
|
|
69
80
|
onNodeSelect
|
|
70
81
|
]);
|
|
71
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_react_focus_lock_default(), {
|
|
83
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Toolbox_index_cjs_namespaceObject.Toolbox, {
|
|
84
|
+
title: title ?? 'Add Node',
|
|
85
|
+
initialItems: nodeListOptions,
|
|
86
|
+
loading: loading,
|
|
87
|
+
onItemSelect: handleNodeListItemSelect,
|
|
88
|
+
onSearch: handleSearch,
|
|
89
|
+
onClose: onClose,
|
|
90
|
+
onItemHover: onNodeHover
|
|
91
|
+
})
|
|
79
92
|
});
|
|
80
93
|
});
|
|
81
94
|
exports.AddNodePanel = __webpack_exports__.AddNodePanel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddNodePanel.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/AddNodePanel/AddNodePanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddNodePanel.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/AddNodePanel/AddNodePanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAU9D,eAAO,MAAM,YAAY,yDA6EvB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo, useCallback, useMemo } from "react";
|
|
3
|
+
import react_focus_lock from "react-focus-lock";
|
|
3
4
|
import { useOptionalNodeTypeRegistry } from "../../core/index.js";
|
|
4
5
|
import { usePreviewNode } from "../../hooks/index.js";
|
|
5
6
|
import { Toolbox } from "../Toolbox/index.js";
|
|
@@ -40,14 +41,16 @@ const AddNodePanel_AddNodePanel = /*#__PURE__*/ memo(function({ onNodeSelect, on
|
|
|
40
41
|
}, [
|
|
41
42
|
onNodeSelect
|
|
42
43
|
]);
|
|
43
|
-
return /*#__PURE__*/ jsx(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
return /*#__PURE__*/ jsx(react_focus_lock, {
|
|
45
|
+
children: /*#__PURE__*/ jsx(Toolbox, {
|
|
46
|
+
title: title ?? 'Add Node',
|
|
47
|
+
initialItems: nodeListOptions,
|
|
48
|
+
loading: loading,
|
|
49
|
+
onItemSelect: handleNodeListItemSelect,
|
|
50
|
+
onSearch: handleSearch,
|
|
51
|
+
onClose: onClose,
|
|
52
|
+
onItemHover: onNodeHover
|
|
53
|
+
})
|
|
51
54
|
});
|
|
52
55
|
});
|
|
53
56
|
export { AddNodePanel_AddNodePanel as AddNodePanel };
|