@uipath/apollo-react 3.50.0-pr319.ad5b0d4 → 3.50.0-pr319.f6f0749
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.
|
@@ -33,8 +33,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
33
33
|
});
|
|
34
34
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
35
35
|
const external_index_cjs_namespaceObject = require("../index.cjs");
|
|
36
|
-
const index_cjs_namespaceObject = require("../../material/
|
|
37
|
-
const
|
|
36
|
+
const index_cjs_namespaceObject = require("../../material/index.cjs");
|
|
37
|
+
const components_index_cjs_namespaceObject = require("../../material/components/index.cjs");
|
|
38
38
|
const external_react_namespaceObject = require("react");
|
|
39
39
|
const ExecutionStatusIcon_cjs_namespaceObject = require("../components/ExecutionStatusIcon/ExecutionStatusIcon.cjs");
|
|
40
40
|
const validation_cjs_namespaceObject = require("../types/validation.cjs");
|
|
@@ -71,7 +71,7 @@ function ExecutionStatusIndicatorInternal({ status, count }) {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
function PinnedOutputIndicator() {
|
|
74
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
74
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_cjs_namespaceObject.ApTooltip, {
|
|
75
75
|
content: "Node output is mocked",
|
|
76
76
|
placement: "bottom",
|
|
77
77
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
@@ -88,14 +88,14 @@ function PinnedOutputIndicator() {
|
|
|
88
88
|
}
|
|
89
89
|
const ExecutionStatusIndicator = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(ExecutionStatusIndicatorInternal);
|
|
90
90
|
function ValidationErrorIndicator({ message }) {
|
|
91
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
91
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_cjs_namespaceObject.ApTooltip, {
|
|
92
92
|
content: message || 'Validation error',
|
|
93
93
|
placement: "bottom",
|
|
94
94
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
95
95
|
style: {
|
|
96
96
|
display: 'inline-flex'
|
|
97
97
|
},
|
|
98
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
98
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(components_index_cjs_namespaceObject.ApIcon, {
|
|
99
99
|
name: "error",
|
|
100
100
|
size: "16px",
|
|
101
101
|
color: "var(--uix-canvas-error-icon)"
|
|
@@ -104,14 +104,14 @@ function ValidationErrorIndicator({ message }) {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
function ValidationWarningIndicator({ message }) {
|
|
107
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
107
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(index_cjs_namespaceObject.ApTooltip, {
|
|
108
108
|
content: message || 'Validation warning',
|
|
109
109
|
placement: "bottom",
|
|
110
110
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
111
111
|
style: {
|
|
112
112
|
display: 'inline-flex'
|
|
113
113
|
},
|
|
114
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
114
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(components_index_cjs_namespaceObject.ApIcon, {
|
|
115
115
|
name: "warning",
|
|
116
116
|
size: "16px",
|
|
117
117
|
color: "var(--uix-canvas-warning-icon)"
|
|
@@ -129,7 +129,7 @@ const getDefaultAdornments = (context)=>{
|
|
|
129
129
|
const hasValidationError = context.validationState?.validationStatus === validation_cjs_namespaceObject.ValidationErrorSeverity.ERROR || context.validationState?.validationStatus === validation_cjs_namespaceObject.ValidationErrorSeverity.CRITICAL;
|
|
130
130
|
const hasValidationWarning = context.validationState?.validationStatus === validation_cjs_namespaceObject.ValidationErrorSeverity.WARNING;
|
|
131
131
|
const getTopRight = ()=>{
|
|
132
|
-
if (status) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ExecutionStatusIndicator, {
|
|
132
|
+
if (status && 'None' !== status) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ExecutionStatusIndicator, {
|
|
133
133
|
status: status,
|
|
134
134
|
count: count
|
|
135
135
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adornment-resolver.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/adornment-resolver.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIvE,UAAU,wBAAwB;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAe,EAAE,EAAE,wBAAwB,kDAWhF;AAED,UAAU,iCAAiC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,QAAe,GAChB,EAAE,iCAAiC,kDAWnC;AAED,iBAAS,gCAAgC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2CAc/F;AAYD,eAAO,MAAM,wBAAwB,8EAAyC,CAAC;AAE/E,wBAAgB,wBAAwB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,2CAQzE;AAED,wBAAgB,0BAA0B,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,2CAQ3E;
|
|
1
|
+
{"version":3,"file":"adornment-resolver.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/adornment-resolver.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIvE,UAAU,wBAAwB;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAe,EAAE,EAAE,wBAAwB,kDAWhF;AAED,UAAU,iCAAiC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,4BAA4B,CAAC,EAC3C,QAAe,GAChB,EAAE,iCAAiC,kDAWnC;AAED,iBAAS,gCAAgC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2CAc/F;AAYD,eAAO,MAAM,wBAAwB,8EAAyC,CAAC;AAE/E,wBAAgB,wBAAwB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,2CAQzE;AAED,wBAAgB,0BAA0B,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,2CAQ3E;AA0CD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,kBAG3D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ExecutionStatusIcon, NodeIcon } from "../index.js";
|
|
3
|
-
import { ApIcon } from "../../material/components/index.js";
|
|
4
3
|
import { ApTooltip } from "../../material/index.js";
|
|
4
|
+
import { ApIcon } from "../../material/components/index.js";
|
|
5
5
|
import { memo } from "react";
|
|
6
6
|
import { getExecutionStatusColor } from "../components/ExecutionStatusIcon/ExecutionStatusIcon.js";
|
|
7
7
|
import { ValidationErrorSeverity } from "../types/validation.js";
|
|
@@ -96,7 +96,7 @@ const getDefaultAdornments = (context)=>{
|
|
|
96
96
|
const hasValidationError = context.validationState?.validationStatus === ValidationErrorSeverity.ERROR || context.validationState?.validationStatus === ValidationErrorSeverity.CRITICAL;
|
|
97
97
|
const hasValidationWarning = context.validationState?.validationStatus === ValidationErrorSeverity.WARNING;
|
|
98
98
|
const getTopRight = ()=>{
|
|
99
|
-
if (status) return /*#__PURE__*/ jsx(ExecutionStatusIndicator, {
|
|
99
|
+
if (status && 'None' !== status) return /*#__PURE__*/ jsx(ExecutionStatusIndicator, {
|
|
100
100
|
status: status,
|
|
101
101
|
count: count
|
|
102
102
|
});
|