@uipath/apollo-react 6.53.0 → 6.55.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.
- package/dist/canvas/components/Guardrails/centralized-guardrail-details.cjs +139 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-details.d.ts +14 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-details.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-details.js +105 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-utils.cjs +233 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-utils.d.ts +33 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-utils.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/centralized-guardrail-utils.js +172 -0
- package/dist/canvas/components/Guardrails/centralized-guardrails-section.cjs +142 -0
- package/dist/canvas/components/Guardrails/centralized-guardrails-section.d.ts +19 -0
- package/dist/canvas/components/Guardrails/centralized-guardrails-section.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/centralized-guardrails-section.js +108 -0
- package/dist/canvas/components/Guardrails/centralized-types.cjs +18 -0
- package/dist/canvas/components/Guardrails/centralized-types.d.ts +51 -0
- package/dist/canvas/components/Guardrails/centralized-types.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/centralized-types.js +0 -0
- package/dist/canvas/components/Guardrails/components/centralized-detail-field.cjs +52 -0
- package/dist/canvas/components/Guardrails/components/centralized-detail-field.d.ts +8 -0
- package/dist/canvas/components/Guardrails/components/centralized-detail-field.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/components/centralized-detail-field.js +18 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-origin-chip.cjs +48 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-origin-chip.d.ts +7 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-origin-chip.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-origin-chip.js +14 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-parameters.cjs +77 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-parameters.d.ts +7 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-parameters.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-parameters.js +43 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-row.cjs +137 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-row.d.ts +14 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-row.d.ts.map +1 -0
- package/dist/canvas/components/Guardrails/components/centralized-guardrail-row.js +103 -0
- package/dist/canvas/components/Guardrails/i18n.cjs +180 -1
- package/dist/canvas/components/Guardrails/i18n.d.ts +41 -0
- package/dist/canvas/components/Guardrails/i18n.d.ts.map +1 -1
- package/dist/canvas/components/Guardrails/i18n.js +169 -2
- package/dist/canvas/components/Guardrails/index.cjs +56 -5
- package/dist/canvas/components/Guardrails/index.d.ts +9 -2
- package/dist/canvas/components/Guardrails/index.d.ts.map +1 -1
- package/dist/canvas/components/Guardrails/index.js +5 -2
- package/dist/canvas/components/StageNode/StageNode.types.d.ts +1 -0
- package/dist/canvas/components/StageNode/StageNode.types.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNodeHeader.cjs +16 -11
- package/dist/canvas/components/StageNode/StageNodeHeader.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNodeHeader.js +16 -11
- package/dist/canvas/locales/en.cjs +1 -1
- package/dist/canvas/locales/en.d.ts.map +1 -1
- package/dist/canvas/locales/en.js +1 -1
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CentralizedGuardrailsLabels } from '../i18n';
|
|
2
|
+
export interface CentralizedGuardrailOriginChipProps {
|
|
3
|
+
isByo?: boolean | null;
|
|
4
|
+
labels: CentralizedGuardrailsLabels;
|
|
5
|
+
}
|
|
6
|
+
export declare function CentralizedGuardrailOriginChip({ isByo, labels, }: CentralizedGuardrailOriginChipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=centralized-guardrail-origin-chip.d.ts.map
|
package/dist/canvas/components/Guardrails/components/centralized-guardrail-origin-chip.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralized-guardrail-origin-chip.d.ts","sourceRoot":"","sources":["../../../../../src/canvas/components/Guardrails/components/centralized-guardrail-origin-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAG3D,MAAM,WAAW,mCAAmC;IAClD,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,2BAA2B,CAAC;CACrC;AAGD,wBAAgB,8BAA8B,CAAC,EAC7C,KAAK,EACL,MAAM,GACP,EAAE,mCAAmC,2CAUrC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { GuardrailStatusChip } from "./guardrail-status-chip.js";
|
|
3
|
+
function CentralizedGuardrailOriginChip({ isByo, labels }) {
|
|
4
|
+
return isByo ? /*#__PURE__*/ jsx(GuardrailStatusChip, {
|
|
5
|
+
tone: "success",
|
|
6
|
+
className: "shrink-0",
|
|
7
|
+
children: labels.originByo
|
|
8
|
+
}) : /*#__PURE__*/ jsx(GuardrailStatusChip, {
|
|
9
|
+
tone: "neutral",
|
|
10
|
+
className: "shrink-0",
|
|
11
|
+
children: labels.originUiPath
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export { CentralizedGuardrailOriginChip };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
CentralizedGuardrailParameters: ()=>CentralizedGuardrailParameters
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const external_centralized_detail_field_cjs_namespaceObject = require("./centralized-detail-field.cjs");
|
|
31
|
+
const UNSET_THRESHOLD = '—';
|
|
32
|
+
function CentralizedGuardrailParameters({ rows, heading }) {
|
|
33
|
+
if (0 === rows.length) return null;
|
|
34
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
35
|
+
"data-slot": "centralized-guardrail-parameters",
|
|
36
|
+
className: "space-y-2",
|
|
37
|
+
children: [
|
|
38
|
+
void 0 !== heading && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h4", {
|
|
39
|
+
className: "text-sm font-medium",
|
|
40
|
+
children: heading
|
|
41
|
+
}),
|
|
42
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("dl", {
|
|
43
|
+
className: "space-y-3",
|
|
44
|
+
children: rows.map((row)=>'value' === row.kind ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_centralized_detail_field_cjs_namespaceObject.CentralizedDetailField, {
|
|
45
|
+
label: row.label,
|
|
46
|
+
children: row.value
|
|
47
|
+
}, row.id) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_centralized_detail_field_cjs_namespaceObject.CentralizedDetailField, {
|
|
48
|
+
label: row.label,
|
|
49
|
+
className: "space-y-1",
|
|
50
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("ul", {
|
|
51
|
+
className: "divide-y rounded-md border",
|
|
52
|
+
children: row.thresholds.map((threshold)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("li", {
|
|
53
|
+
className: "flex items-center justify-between gap-3 px-2 py-1.5",
|
|
54
|
+
children: [
|
|
55
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
56
|
+
className: "min-w-0 truncate text-foreground",
|
|
57
|
+
children: threshold.label
|
|
58
|
+
}),
|
|
59
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
60
|
+
className: "shrink-0 tabular-nums",
|
|
61
|
+
children: threshold.value ?? UNSET_THRESHOLD
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
}, threshold.key))
|
|
65
|
+
})
|
|
66
|
+
}, row.id))
|
|
67
|
+
})
|
|
68
|
+
]
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
exports.CentralizedGuardrailParameters = __webpack_exports__.CentralizedGuardrailParameters;
|
|
72
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
73
|
+
"CentralizedGuardrailParameters"
|
|
74
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
75
|
+
Object.defineProperty(exports, '__esModule', {
|
|
76
|
+
value: true
|
|
77
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CentralizedGuardrailParameterRow } from '../centralized-types';
|
|
2
|
+
export interface CentralizedGuardrailParametersProps {
|
|
3
|
+
rows: CentralizedGuardrailParameterRow[];
|
|
4
|
+
heading?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function CentralizedGuardrailParameters({ rows, heading, }: CentralizedGuardrailParametersProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
//# sourceMappingURL=centralized-guardrail-parameters.d.ts.map
|
package/dist/canvas/components/Guardrails/components/centralized-guardrail-parameters.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralized-guardrail-parameters.d.ts","sourceRoot":"","sources":["../../../../../src/canvas/components/Guardrails/components/centralized-guardrail-parameters.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAG7E,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,gCAAgC,EAAE,CAAC;IAEzC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AASD,wBAAgB,8BAA8B,CAAC,EAC7C,IAAI,EACJ,OAAO,GACR,EAAE,mCAAmC,kDAiCrC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { CentralizedDetailField } from "./centralized-detail-field.js";
|
|
3
|
+
const UNSET_THRESHOLD = '—';
|
|
4
|
+
function CentralizedGuardrailParameters({ rows, heading }) {
|
|
5
|
+
if (0 === rows.length) return null;
|
|
6
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
7
|
+
"data-slot": "centralized-guardrail-parameters",
|
|
8
|
+
className: "space-y-2",
|
|
9
|
+
children: [
|
|
10
|
+
void 0 !== heading && /*#__PURE__*/ jsx("h4", {
|
|
11
|
+
className: "text-sm font-medium",
|
|
12
|
+
children: heading
|
|
13
|
+
}),
|
|
14
|
+
/*#__PURE__*/ jsx("dl", {
|
|
15
|
+
className: "space-y-3",
|
|
16
|
+
children: rows.map((row)=>'value' === row.kind ? /*#__PURE__*/ jsx(CentralizedDetailField, {
|
|
17
|
+
label: row.label,
|
|
18
|
+
children: row.value
|
|
19
|
+
}, row.id) : /*#__PURE__*/ jsx(CentralizedDetailField, {
|
|
20
|
+
label: row.label,
|
|
21
|
+
className: "space-y-1",
|
|
22
|
+
children: /*#__PURE__*/ jsx("ul", {
|
|
23
|
+
className: "divide-y rounded-md border",
|
|
24
|
+
children: row.thresholds.map((threshold)=>/*#__PURE__*/ jsxs("li", {
|
|
25
|
+
className: "flex items-center justify-between gap-3 px-2 py-1.5",
|
|
26
|
+
children: [
|
|
27
|
+
/*#__PURE__*/ jsx("span", {
|
|
28
|
+
className: "min-w-0 truncate text-foreground",
|
|
29
|
+
children: threshold.label
|
|
30
|
+
}),
|
|
31
|
+
/*#__PURE__*/ jsx("span", {
|
|
32
|
+
className: "shrink-0 tabular-nums",
|
|
33
|
+
children: threshold.value ?? UNSET_THRESHOLD
|
|
34
|
+
})
|
|
35
|
+
]
|
|
36
|
+
}, threshold.key))
|
|
37
|
+
})
|
|
38
|
+
}, row.id))
|
|
39
|
+
})
|
|
40
|
+
]
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
export { CentralizedGuardrailParameters };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
CentralizedGuardrailRow: ()=>CentralizedGuardrailRow
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
31
|
+
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
32
|
+
const external_centralized_guardrail_utils_cjs_namespaceObject = require("../centralized-guardrail-utils.cjs");
|
|
33
|
+
const external_i18n_cjs_namespaceObject = require("../i18n.cjs");
|
|
34
|
+
const external_centralized_guardrail_origin_chip_cjs_namespaceObject = require("./centralized-guardrail-origin-chip.cjs");
|
|
35
|
+
const external_guardrail_status_chip_cjs_namespaceObject = require("./guardrail-status-chip.cjs");
|
|
36
|
+
function CentralizedGuardrailRow({ guardrail, name, description, definition, isConfigMissing, scopeNames, labels, onSelect }) {
|
|
37
|
+
const isConfigDisabled = definition?.status === 'Disabled';
|
|
38
|
+
const providerName = definition?.byoConnectorName;
|
|
39
|
+
const content = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
40
|
+
children: [
|
|
41
|
+
onSelect && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
42
|
+
className: "sr-only",
|
|
43
|
+
children: (0, external_i18n_cjs_namespaceObject.formatGuardrailFormMessage)(labels.viewDetails, {
|
|
44
|
+
name
|
|
45
|
+
})
|
|
46
|
+
}),
|
|
47
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
48
|
+
className: "min-w-0 flex-1",
|
|
49
|
+
children: [
|
|
50
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
51
|
+
className: "flex min-w-0 items-center gap-2",
|
|
52
|
+
children: [
|
|
53
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
54
|
+
className: "truncate text-sm font-medium",
|
|
55
|
+
children: name
|
|
56
|
+
}),
|
|
57
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_centralized_guardrail_origin_chip_cjs_namespaceObject.CentralizedGuardrailOriginChip, {
|
|
58
|
+
isByo: guardrail.isByo,
|
|
59
|
+
labels: labels
|
|
60
|
+
}),
|
|
61
|
+
isConfigMissing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_guardrail_status_chip_cjs_namespaceObject.GuardrailStatusChip, {
|
|
62
|
+
tone: "error",
|
|
63
|
+
className: "shrink-0",
|
|
64
|
+
children: labels.statusUnavailable
|
|
65
|
+
}),
|
|
66
|
+
isConfigDisabled && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_guardrail_status_chip_cjs_namespaceObject.GuardrailStatusChip, {
|
|
67
|
+
tone: "error",
|
|
68
|
+
className: "shrink-0",
|
|
69
|
+
children: labels.statusDisabled
|
|
70
|
+
})
|
|
71
|
+
]
|
|
72
|
+
}),
|
|
73
|
+
isConfigMissing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
74
|
+
className: "block whitespace-normal break-words text-xs text-error",
|
|
75
|
+
"data-slot": "centralized-guardrail-missing-config",
|
|
76
|
+
children: labels.missingConfigMessage
|
|
77
|
+
}),
|
|
78
|
+
isConfigDisabled && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
79
|
+
className: "block whitespace-normal break-words text-xs text-error",
|
|
80
|
+
"data-slot": "centralized-guardrail-disabled-config",
|
|
81
|
+
children: labels.disabledConfigMessage
|
|
82
|
+
}),
|
|
83
|
+
description && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
84
|
+
className: "block truncate text-xs text-muted-foreground",
|
|
85
|
+
children: description
|
|
86
|
+
}),
|
|
87
|
+
void 0 !== providerName && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
88
|
+
className: "block truncate text-xs text-muted-foreground",
|
|
89
|
+
"data-slot": "centralized-guardrail-provider",
|
|
90
|
+
children: [
|
|
91
|
+
labels.provider,
|
|
92
|
+
": ",
|
|
93
|
+
providerName
|
|
94
|
+
]
|
|
95
|
+
}),
|
|
96
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
97
|
+
className: "mt-1 block truncate text-xs text-muted-foreground",
|
|
98
|
+
children: [
|
|
99
|
+
labels.scopes,
|
|
100
|
+
": ",
|
|
101
|
+
scopeNames.join(', '),
|
|
102
|
+
" \xb7 ",
|
|
103
|
+
labels.executionStage,
|
|
104
|
+
":",
|
|
105
|
+
' ',
|
|
106
|
+
(0, external_centralized_guardrail_utils_cjs_namespaceObject.formatCentralizedExecutionStage)(guardrail.executionStage, labels)
|
|
107
|
+
]
|
|
108
|
+
})
|
|
109
|
+
]
|
|
110
|
+
}),
|
|
111
|
+
onSelect && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {
|
|
112
|
+
className: "size-4 shrink-0 text-muted-foreground",
|
|
113
|
+
"aria-hidden": "true"
|
|
114
|
+
})
|
|
115
|
+
]
|
|
116
|
+
});
|
|
117
|
+
const className = (0, apollo_wind_namespaceObject.cn)('-mx-1 flex w-[calc(100%+0.5rem)] items-center gap-2 rounded-md p-1 text-left', onSelect && 'cursor-pointer transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring');
|
|
118
|
+
if (!onSelect) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
119
|
+
"data-slot": "centralized-guardrail-row",
|
|
120
|
+
className: className,
|
|
121
|
+
children: content
|
|
122
|
+
});
|
|
123
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("button", {
|
|
124
|
+
type: "button",
|
|
125
|
+
"data-slot": "centralized-guardrail-row",
|
|
126
|
+
className: className,
|
|
127
|
+
onClick: onSelect,
|
|
128
|
+
children: content
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
exports.CentralizedGuardrailRow = __webpack_exports__.CentralizedGuardrailRow;
|
|
132
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
133
|
+
"CentralizedGuardrailRow"
|
|
134
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
135
|
+
Object.defineProperty(exports, '__esModule', {
|
|
136
|
+
value: true
|
|
137
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CentralizedGuardrail, CentralizedGuardrailDefinition } from '../centralized-types';
|
|
2
|
+
import type { CentralizedGuardrailsLabels } from '../i18n';
|
|
3
|
+
export interface CentralizedGuardrailRowProps {
|
|
4
|
+
guardrail: CentralizedGuardrail;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
definition?: CentralizedGuardrailDefinition;
|
|
8
|
+
isConfigMissing: boolean;
|
|
9
|
+
scopeNames: string[];
|
|
10
|
+
labels: CentralizedGuardrailsLabels;
|
|
11
|
+
onSelect?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function CentralizedGuardrailRow({ guardrail, name, description, definition, isConfigMissing, scopeNames, labels, onSelect, }: CentralizedGuardrailRowProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=centralized-guardrail-row.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralized-guardrail-row.d.ts","sourceRoot":"","sources":["../../../../../src/canvas/components/Guardrails/components/centralized-guardrail-row.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAK3D,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,oBAAoB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,8BAA8B,CAAC;IAC5C,eAAe,EAAE,OAAO,CAAC;IAEzB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,2BAA2B,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAMD,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,IAAI,EACJ,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,MAAM,EACN,QAAQ,GACT,EAAE,4BAA4B,2CAyF9B"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "@uipath/apollo-wind";
|
|
3
|
+
import { ChevronRight } from "lucide-react";
|
|
4
|
+
import { formatCentralizedExecutionStage } from "../centralized-guardrail-utils.js";
|
|
5
|
+
import { formatGuardrailFormMessage } from "../i18n.js";
|
|
6
|
+
import { CentralizedGuardrailOriginChip } from "./centralized-guardrail-origin-chip.js";
|
|
7
|
+
import { GuardrailStatusChip } from "./guardrail-status-chip.js";
|
|
8
|
+
function CentralizedGuardrailRow({ guardrail, name, description, definition, isConfigMissing, scopeNames, labels, onSelect }) {
|
|
9
|
+
const isConfigDisabled = definition?.status === 'Disabled';
|
|
10
|
+
const providerName = definition?.byoConnectorName;
|
|
11
|
+
const content = /*#__PURE__*/ jsxs(Fragment, {
|
|
12
|
+
children: [
|
|
13
|
+
onSelect && /*#__PURE__*/ jsx("span", {
|
|
14
|
+
className: "sr-only",
|
|
15
|
+
children: formatGuardrailFormMessage(labels.viewDetails, {
|
|
16
|
+
name
|
|
17
|
+
})
|
|
18
|
+
}),
|
|
19
|
+
/*#__PURE__*/ jsxs("span", {
|
|
20
|
+
className: "min-w-0 flex-1",
|
|
21
|
+
children: [
|
|
22
|
+
/*#__PURE__*/ jsxs("span", {
|
|
23
|
+
className: "flex min-w-0 items-center gap-2",
|
|
24
|
+
children: [
|
|
25
|
+
/*#__PURE__*/ jsx("span", {
|
|
26
|
+
className: "truncate text-sm font-medium",
|
|
27
|
+
children: name
|
|
28
|
+
}),
|
|
29
|
+
/*#__PURE__*/ jsx(CentralizedGuardrailOriginChip, {
|
|
30
|
+
isByo: guardrail.isByo,
|
|
31
|
+
labels: labels
|
|
32
|
+
}),
|
|
33
|
+
isConfigMissing && /*#__PURE__*/ jsx(GuardrailStatusChip, {
|
|
34
|
+
tone: "error",
|
|
35
|
+
className: "shrink-0",
|
|
36
|
+
children: labels.statusUnavailable
|
|
37
|
+
}),
|
|
38
|
+
isConfigDisabled && /*#__PURE__*/ jsx(GuardrailStatusChip, {
|
|
39
|
+
tone: "error",
|
|
40
|
+
className: "shrink-0",
|
|
41
|
+
children: labels.statusDisabled
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
}),
|
|
45
|
+
isConfigMissing && /*#__PURE__*/ jsx("span", {
|
|
46
|
+
className: "block whitespace-normal break-words text-xs text-error",
|
|
47
|
+
"data-slot": "centralized-guardrail-missing-config",
|
|
48
|
+
children: labels.missingConfigMessage
|
|
49
|
+
}),
|
|
50
|
+
isConfigDisabled && /*#__PURE__*/ jsx("span", {
|
|
51
|
+
className: "block whitespace-normal break-words text-xs text-error",
|
|
52
|
+
"data-slot": "centralized-guardrail-disabled-config",
|
|
53
|
+
children: labels.disabledConfigMessage
|
|
54
|
+
}),
|
|
55
|
+
description && /*#__PURE__*/ jsx("span", {
|
|
56
|
+
className: "block truncate text-xs text-muted-foreground",
|
|
57
|
+
children: description
|
|
58
|
+
}),
|
|
59
|
+
void 0 !== providerName && /*#__PURE__*/ jsxs("span", {
|
|
60
|
+
className: "block truncate text-xs text-muted-foreground",
|
|
61
|
+
"data-slot": "centralized-guardrail-provider",
|
|
62
|
+
children: [
|
|
63
|
+
labels.provider,
|
|
64
|
+
": ",
|
|
65
|
+
providerName
|
|
66
|
+
]
|
|
67
|
+
}),
|
|
68
|
+
/*#__PURE__*/ jsxs("span", {
|
|
69
|
+
className: "mt-1 block truncate text-xs text-muted-foreground",
|
|
70
|
+
children: [
|
|
71
|
+
labels.scopes,
|
|
72
|
+
": ",
|
|
73
|
+
scopeNames.join(', '),
|
|
74
|
+
" \xb7 ",
|
|
75
|
+
labels.executionStage,
|
|
76
|
+
":",
|
|
77
|
+
' ',
|
|
78
|
+
formatCentralizedExecutionStage(guardrail.executionStage, labels)
|
|
79
|
+
]
|
|
80
|
+
})
|
|
81
|
+
]
|
|
82
|
+
}),
|
|
83
|
+
onSelect && /*#__PURE__*/ jsx(ChevronRight, {
|
|
84
|
+
className: "size-4 shrink-0 text-muted-foreground",
|
|
85
|
+
"aria-hidden": "true"
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
});
|
|
89
|
+
const className = cn('-mx-1 flex w-[calc(100%+0.5rem)] items-center gap-2 rounded-md p-1 text-left', onSelect && 'cursor-pointer transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring');
|
|
90
|
+
if (!onSelect) return /*#__PURE__*/ jsx("div", {
|
|
91
|
+
"data-slot": "centralized-guardrail-row",
|
|
92
|
+
className: className,
|
|
93
|
+
children: content
|
|
94
|
+
});
|
|
95
|
+
return /*#__PURE__*/ jsx("button", {
|
|
96
|
+
type: "button",
|
|
97
|
+
"data-slot": "centralized-guardrail-row",
|
|
98
|
+
className: className,
|
|
99
|
+
onClick: onSelect,
|
|
100
|
+
children: content
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
export { CentralizedGuardrailRow };
|
|
@@ -25,12 +25,16 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
GUARDRAIL_BUILDER_EN_LABELS: ()=>GUARDRAIL_BUILDER_EN_LABELS,
|
|
28
|
+
CENTRALIZED_GUARDRAILS_EN_LABELS: ()=>CENTRALIZED_GUARDRAILS_EN_LABELS,
|
|
29
|
+
CENTRALIZED_GUARDRAILS_EN_MESSAGES: ()=>CENTRALIZED_GUARDRAILS_EN_MESSAGES,
|
|
28
30
|
GUARDRAIL_FORM_EN_LABELS: ()=>GUARDRAIL_FORM_EN_LABELS,
|
|
29
31
|
resolveGuardrailPaletteLabels: ()=>resolveGuardrailPaletteLabels,
|
|
32
|
+
resolveCentralizedGuardrailsLabels: ()=>resolveCentralizedGuardrailsLabels,
|
|
30
33
|
GUARDRAIL_PALETTE_EN_MESSAGES: ()=>GUARDRAIL_PALETTE_EN_MESSAGES,
|
|
31
34
|
GUARDRAIL_REMOVE_DIALOG_EN_MESSAGES: ()=>GUARDRAIL_REMOVE_DIALOG_EN_MESSAGES,
|
|
32
35
|
GUARDRAIL_LIST_EN_MESSAGES: ()=>GUARDRAIL_LIST_EN_MESSAGES,
|
|
33
36
|
GUARDRAIL_REMOVE_DIALOG_EN_LABELS: ()=>GUARDRAIL_REMOVE_DIALOG_EN_LABELS,
|
|
37
|
+
useCentralizedGuardrailsLabels: ()=>useCentralizedGuardrailsLabels,
|
|
34
38
|
GUARDRAIL_LIST_EN_LABELS: ()=>GUARDRAIL_LIST_EN_LABELS,
|
|
35
39
|
resolveGuardrailFormLabels: ()=>resolveGuardrailFormLabels,
|
|
36
40
|
useGuardrailRemoveDialogLabels: ()=>useGuardrailRemoveDialogLabels,
|
|
@@ -142,7 +146,8 @@ const TEMPLATE_TOKENS = {
|
|
|
142
146
|
position: '{{position}}',
|
|
143
147
|
min: '{{min}}',
|
|
144
148
|
max: '{{max}}',
|
|
145
|
-
toolName: '{{toolName}}'
|
|
149
|
+
toolName: '{{toolName}}',
|
|
150
|
+
policyName: '{{policyName}}'
|
|
146
151
|
};
|
|
147
152
|
function useGuardrailFormLabels(overrides) {
|
|
148
153
|
const { _ } = (0, index_cjs_namespaceObject.useSafeLingui)();
|
|
@@ -641,6 +646,174 @@ function useGuardrailRemoveDialogLabels(overrides) {
|
|
|
641
646
|
overrides
|
|
642
647
|
]);
|
|
643
648
|
}
|
|
649
|
+
function buildCentralizedGuardrailsLabels(_) {
|
|
650
|
+
return {
|
|
651
|
+
title: _({
|
|
652
|
+
id: 'guardrails.centralized.title',
|
|
653
|
+
message: 'Centralized guardrails'
|
|
654
|
+
}),
|
|
655
|
+
info: _({
|
|
656
|
+
id: 'guardrails.centralized.info',
|
|
657
|
+
message: "Your organization's AI Trust Layer governance policy enforces these guardrails. You cannot edit them here."
|
|
658
|
+
}),
|
|
659
|
+
docsLink: _({
|
|
660
|
+
id: 'guardrails.centralized.docs-link',
|
|
661
|
+
message: 'View centralized guardrails documentation'
|
|
662
|
+
}),
|
|
663
|
+
policyCaption: _({
|
|
664
|
+
id: 'guardrails.centralized.policy-caption',
|
|
665
|
+
message: 'Enforced by AI Trust Layer policy: {policyName}',
|
|
666
|
+
values: TEMPLATE_TOKENS
|
|
667
|
+
}),
|
|
668
|
+
viewDetails: _({
|
|
669
|
+
id: 'guardrails.centralized.view-details',
|
|
670
|
+
message: 'View details for {name}',
|
|
671
|
+
values: TEMPLATE_TOKENS
|
|
672
|
+
}),
|
|
673
|
+
guardrailType: _({
|
|
674
|
+
id: 'guardrails.builder.type-label',
|
|
675
|
+
message: 'Guardrail type'
|
|
676
|
+
}),
|
|
677
|
+
policyField: _({
|
|
678
|
+
id: 'guardrails.centralized.policy-field',
|
|
679
|
+
message: 'AI Trust Layer policy'
|
|
680
|
+
}),
|
|
681
|
+
provider: _({
|
|
682
|
+
id: 'guardrails.list.provider',
|
|
683
|
+
message: 'Provider'
|
|
684
|
+
}),
|
|
685
|
+
description: _({
|
|
686
|
+
id: "guardrails.builder.description-label",
|
|
687
|
+
message: "Guardrail description"
|
|
688
|
+
}),
|
|
689
|
+
noDescription: _({
|
|
690
|
+
id: "guardrails.centralized.no-description",
|
|
691
|
+
message: "No description available."
|
|
692
|
+
}),
|
|
693
|
+
executionStage: _({
|
|
694
|
+
id: 'guardrails.centralized.execution-stage',
|
|
695
|
+
message: 'Execution stage'
|
|
696
|
+
}),
|
|
697
|
+
scopes: _({
|
|
698
|
+
id: 'guardrails.builder.scopes-label',
|
|
699
|
+
message: 'Scopes'
|
|
700
|
+
}),
|
|
701
|
+
action: _({
|
|
702
|
+
id: 'guardrails.centralized.action',
|
|
703
|
+
message: 'Action'
|
|
704
|
+
}),
|
|
705
|
+
configuration: _({
|
|
706
|
+
id: 'guardrails.centralized.configuration',
|
|
707
|
+
message: 'Configuration'
|
|
708
|
+
}),
|
|
709
|
+
managedMessage: _({
|
|
710
|
+
id: 'guardrails.centralized.managed-message',
|
|
711
|
+
message: "Your organization's AI Trust Layer governance policy manages this configuration. You cannot edit it here."
|
|
712
|
+
}),
|
|
713
|
+
originByo: _({
|
|
714
|
+
id: 'guardrails.list.byo',
|
|
715
|
+
message: 'BYO'
|
|
716
|
+
}),
|
|
717
|
+
originUiPath: _({
|
|
718
|
+
id: 'guardrails.centralized.origin-uipath',
|
|
719
|
+
message: 'UiPath managed'
|
|
720
|
+
}),
|
|
721
|
+
statusUnavailable: _({
|
|
722
|
+
id: 'guardrails.list.status-unavailable',
|
|
723
|
+
message: 'Unavailable'
|
|
724
|
+
}),
|
|
725
|
+
statusDisabled: _({
|
|
726
|
+
id: 'guardrails.list.status-disabled',
|
|
727
|
+
message: 'Disabled'
|
|
728
|
+
}),
|
|
729
|
+
missingConfigMessage: _({
|
|
730
|
+
id: 'guardrails.centralized.missing-config-message',
|
|
731
|
+
message: "This guardrail's configuration could not be found — it may have been deleted. Contact your administrator to fix the AI Trust Layer policy."
|
|
732
|
+
}),
|
|
733
|
+
disabledConfigMessage: _({
|
|
734
|
+
id: 'guardrails.centralized.disabled-config-message',
|
|
735
|
+
message: "This guardrail's configuration has been disabled. Contact your administrator to re-enable it."
|
|
736
|
+
}),
|
|
737
|
+
scopeAgent: _({
|
|
738
|
+
id: 'guardrails.builder.scope-agent-label',
|
|
739
|
+
message: 'Agent'
|
|
740
|
+
}),
|
|
741
|
+
scopeLlm: _({
|
|
742
|
+
id: 'guardrails.builder.scope-llm-label',
|
|
743
|
+
message: 'LLM calls'
|
|
744
|
+
}),
|
|
745
|
+
scopeTool: _({
|
|
746
|
+
id: 'guardrails.builder.scope-tool-label',
|
|
747
|
+
message: 'Tools'
|
|
748
|
+
}),
|
|
749
|
+
actionBlock: _({
|
|
750
|
+
id: 'guardrails.builder.action-block-label',
|
|
751
|
+
message: 'Block'
|
|
752
|
+
}),
|
|
753
|
+
actionEscalate: _({
|
|
754
|
+
id: 'guardrails.builder.action-escalate-label',
|
|
755
|
+
message: 'Escalate'
|
|
756
|
+
}),
|
|
757
|
+
actionFilter: _({
|
|
758
|
+
id: 'guardrails.builder.action-filter-label',
|
|
759
|
+
message: 'Filter'
|
|
760
|
+
}),
|
|
761
|
+
actionLog: _({
|
|
762
|
+
id: 'guardrails.builder.action-log-label',
|
|
763
|
+
message: 'Log'
|
|
764
|
+
}),
|
|
765
|
+
stagePre: _({
|
|
766
|
+
id: 'guardrails.centralized.stage-pre',
|
|
767
|
+
message: 'Pre-execution'
|
|
768
|
+
}),
|
|
769
|
+
stagePost: _({
|
|
770
|
+
id: 'guardrails.centralized.stage-post',
|
|
771
|
+
message: 'Post-execution'
|
|
772
|
+
}),
|
|
773
|
+
stageBoth: _({
|
|
774
|
+
id: 'guardrails.centralized.stage-both',
|
|
775
|
+
message: 'Pre & post-execution'
|
|
776
|
+
}),
|
|
777
|
+
parameterEnabled: _({
|
|
778
|
+
id: 'guardrails.centralized.parameter-enabled',
|
|
779
|
+
message: 'Enabled'
|
|
780
|
+
}),
|
|
781
|
+
parameterDisabled: _({
|
|
782
|
+
id: 'guardrails.centralized.parameter-disabled',
|
|
783
|
+
message: 'Disabled'
|
|
784
|
+
}),
|
|
785
|
+
entitiesFallback: _({
|
|
786
|
+
id: 'guardrails.centralized.entities-fallback',
|
|
787
|
+
message: 'Entities to detect'
|
|
788
|
+
}),
|
|
789
|
+
thresholdsFallback: _({
|
|
790
|
+
id: 'guardrails.centralized.thresholds-fallback',
|
|
791
|
+
message: 'Detection thresholds'
|
|
792
|
+
})
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
const englishCentralizedTranslate = ({ message, values })=>values ? message.replace(/\{(\w+)\}/g, (match, token)=>values[token] ?? match) : message;
|
|
796
|
+
const CENTRALIZED_GUARDRAILS_EN_LABELS = buildCentralizedGuardrailsLabels(englishCentralizedTranslate);
|
|
797
|
+
const CENTRALIZED_GUARDRAILS_EN_MESSAGES = Object.freeze((()=>{
|
|
798
|
+
const messages = {};
|
|
799
|
+
buildCentralizedGuardrailsLabels((descriptor)=>{
|
|
800
|
+
messages[descriptor.id] = descriptor.message;
|
|
801
|
+
return descriptor.message;
|
|
802
|
+
});
|
|
803
|
+
return messages;
|
|
804
|
+
})());
|
|
805
|
+
function resolveCentralizedGuardrailsLabels(catalog, overrides) {
|
|
806
|
+
return mergeLabels(CENTRALIZED_GUARDRAILS_EN_LABELS, catalog, overrides);
|
|
807
|
+
}
|
|
808
|
+
function useCentralizedGuardrailsLabels(overrides) {
|
|
809
|
+
const { _ } = (0, index_cjs_namespaceObject.useSafeLingui)();
|
|
810
|
+
return (0, external_react_namespaceObject.useMemo)(()=>resolveCentralizedGuardrailsLabels(buildCentralizedGuardrailsLabels(_), overrides), [
|
|
811
|
+
_,
|
|
812
|
+
overrides
|
|
813
|
+
]);
|
|
814
|
+
}
|
|
815
|
+
exports.CENTRALIZED_GUARDRAILS_EN_LABELS = __webpack_exports__.CENTRALIZED_GUARDRAILS_EN_LABELS;
|
|
816
|
+
exports.CENTRALIZED_GUARDRAILS_EN_MESSAGES = __webpack_exports__.CENTRALIZED_GUARDRAILS_EN_MESSAGES;
|
|
644
817
|
exports.GUARDRAIL_BUILDER_EN_LABELS = __webpack_exports__.GUARDRAIL_BUILDER_EN_LABELS;
|
|
645
818
|
exports.GUARDRAIL_FORM_EN_LABELS = __webpack_exports__.GUARDRAIL_FORM_EN_LABELS;
|
|
646
819
|
exports.GUARDRAIL_LIST_EN_LABELS = __webpack_exports__.GUARDRAIL_LIST_EN_LABELS;
|
|
@@ -650,17 +823,21 @@ exports.GUARDRAIL_PALETTE_EN_MESSAGES = __webpack_exports__.GUARDRAIL_PALETTE_EN
|
|
|
650
823
|
exports.GUARDRAIL_REMOVE_DIALOG_EN_LABELS = __webpack_exports__.GUARDRAIL_REMOVE_DIALOG_EN_LABELS;
|
|
651
824
|
exports.GUARDRAIL_REMOVE_DIALOG_EN_MESSAGES = __webpack_exports__.GUARDRAIL_REMOVE_DIALOG_EN_MESSAGES;
|
|
652
825
|
exports.formatGuardrailFormMessage = __webpack_exports__.formatGuardrailFormMessage;
|
|
826
|
+
exports.resolveCentralizedGuardrailsLabels = __webpack_exports__.resolveCentralizedGuardrailsLabels;
|
|
653
827
|
exports.resolveGuardrailBuilderLabels = __webpack_exports__.resolveGuardrailBuilderLabels;
|
|
654
828
|
exports.resolveGuardrailFormLabels = __webpack_exports__.resolveGuardrailFormLabels;
|
|
655
829
|
exports.resolveGuardrailListLabels = __webpack_exports__.resolveGuardrailListLabels;
|
|
656
830
|
exports.resolveGuardrailPaletteLabels = __webpack_exports__.resolveGuardrailPaletteLabels;
|
|
657
831
|
exports.resolveGuardrailRemoveDialogLabels = __webpack_exports__.resolveGuardrailRemoveDialogLabels;
|
|
832
|
+
exports.useCentralizedGuardrailsLabels = __webpack_exports__.useCentralizedGuardrailsLabels;
|
|
658
833
|
exports.useGuardrailBuilderLabels = __webpack_exports__.useGuardrailBuilderLabels;
|
|
659
834
|
exports.useGuardrailFormLabels = __webpack_exports__.useGuardrailFormLabels;
|
|
660
835
|
exports.useGuardrailListLabels = __webpack_exports__.useGuardrailListLabels;
|
|
661
836
|
exports.useGuardrailPaletteLabels = __webpack_exports__.useGuardrailPaletteLabels;
|
|
662
837
|
exports.useGuardrailRemoveDialogLabels = __webpack_exports__.useGuardrailRemoveDialogLabels;
|
|
663
838
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
839
|
+
"CENTRALIZED_GUARDRAILS_EN_LABELS",
|
|
840
|
+
"CENTRALIZED_GUARDRAILS_EN_MESSAGES",
|
|
664
841
|
"GUARDRAIL_BUILDER_EN_LABELS",
|
|
665
842
|
"GUARDRAIL_FORM_EN_LABELS",
|
|
666
843
|
"GUARDRAIL_LIST_EN_LABELS",
|
|
@@ -670,11 +847,13 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
670
847
|
"GUARDRAIL_REMOVE_DIALOG_EN_LABELS",
|
|
671
848
|
"GUARDRAIL_REMOVE_DIALOG_EN_MESSAGES",
|
|
672
849
|
"formatGuardrailFormMessage",
|
|
850
|
+
"resolveCentralizedGuardrailsLabels",
|
|
673
851
|
"resolveGuardrailBuilderLabels",
|
|
674
852
|
"resolveGuardrailFormLabels",
|
|
675
853
|
"resolveGuardrailListLabels",
|
|
676
854
|
"resolveGuardrailPaletteLabels",
|
|
677
855
|
"resolveGuardrailRemoveDialogLabels",
|
|
856
|
+
"useCentralizedGuardrailsLabels",
|
|
678
857
|
"useGuardrailBuilderLabels",
|
|
679
858
|
"useGuardrailFormLabels",
|
|
680
859
|
"useGuardrailListLabels",
|