@devtron-labs/devtron-fe-common-lib 0.0.40-beta-1 → 0.0.40-beta-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.
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
- package/dist/Common/DebouncedSearch/Types.d.ts +1 -0
- package/dist/Common/Types.d.ts +1 -0
- package/dist/Common/index.d.ts +0 -1
- package/dist/index.js +151 -377
- package/package.json +1 -4
- package/src/Common/DebouncedSearch/DebouncedSearch.tsx +2 -1
- package/src/Common/DebouncedSearch/Types.ts +1 -0
- package/src/Common/Types.ts +1 -0
- package/src/Common/index.ts +0 -1
- package/dist/Common/RJSF/Form.d.ts +0 -4
- package/dist/Common/RJSF/common/FieldRow.d.ts +0 -3
- package/dist/Common/RJSF/common/types.d.ts +0 -8
- package/dist/Common/RJSF/config.d.ts +0 -4
- package/dist/Common/RJSF/constants.d.ts +0 -5
- package/dist/Common/RJSF/index.d.ts +0 -2
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/BaseInput.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +0 -3
- package/dist/Common/RJSF/templates/Description.d.ts +0 -3
- package/dist/Common/RJSF/templates/Field.d.ts +0 -3
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/TitleField.d.ts +0 -3
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/index.d.ts +0 -10
- package/dist/Common/RJSF/types.d.ts +0 -3
- package/dist/Common/RJSF/utils.d.ts +0 -14
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +0 -3
- package/dist/Common/RJSF/widgets/Select.d.ts +0 -3
- package/dist/Common/RJSF/widgets/index.d.ts +0 -2
- package/src/Assets/Icon/ic-chevron-down.svg +0 -5
- package/src/Common/RJSF/Form.tsx +0 -29
- package/src/Common/RJSF/common/FieldRow.tsx +0 -31
- package/src/Common/RJSF/common/types.ts +0 -9
- package/src/Common/RJSF/config.ts +0 -37
- package/src/Common/RJSF/constants.ts +0 -5
- package/src/Common/RJSF/index.ts +0 -2
- package/src/Common/RJSF/rjsfForm.scss +0 -17
- package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -33
- package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -77
- package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
- package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
- package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
- package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
- package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
- package/src/Common/RJSF/templates/Description.tsx +0 -12
- package/src/Common/RJSF/templates/Field.tsx +0 -30
- package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
- package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -96
- package/src/Common/RJSF/templates/TitleField.tsx +0 -9
- package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
- package/src/Common/RJSF/templates/index.ts +0 -10
- package/src/Common/RJSF/types.ts +0 -4
- package/src/Common/RJSF/utils.ts +0 -59
- package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
- package/src/Common/RJSF/widgets/Select.tsx +0 -76
- package/src/Common/RJSF/widgets/index.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -4,9 +4,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var ReactDOM = require('react-dom');
|
|
6
6
|
var reactRouterDom = require('react-router-dom');
|
|
7
|
-
var RJSF = require('@rjsf/core');
|
|
8
|
-
var RJSFValidator = require('@rjsf/validator-ajv8');
|
|
9
|
-
var utils = require('@rjsf/utils');
|
|
10
7
|
|
|
11
8
|
function _interopNamespaceDefault(e) {
|
|
12
9
|
var n = Object.create(null);
|
|
@@ -715,13 +712,13 @@ function styleInject(css, ref) {
|
|
|
715
712
|
}
|
|
716
713
|
}
|
|
717
714
|
|
|
718
|
-
var css_248z$
|
|
719
|
-
styleInject(css_248z$
|
|
715
|
+
var css_248z$6 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n height: 40%;\n max-height: 200px;\n width: auto;\n max-width: 250px;\n}\n.empty-state svg {\n height: 40%;\n max-height: 200px;\n width: auto;\n}\n.empty-state h1,\n.empty-state h2,\n.empty-state h3,\n.empty-state h4,\n.empty-state h5,\n.empty-state h6 {\n color: var(--N900);\n}\n.empty-state .subtitle {\n font-size: 13px;\n font-weight: 400;\n text-align: center;\n line-height: 1.5;\n margin-bottom: 6px;\n}\n.empty-state .subtitle--text-start {\n text-align: start;\n}\n.empty-state .cta {\n height: 36px;\n}\n.empty-state p {\n text-align: center;\n font-size: 13px;\n color: var(--N700);\n}\n.empty-state strong {\n font-size: 16px;\n margin-bottom: 4px;\n color: var(--N900);\n font-weight: normal;\n}\n.empty-state .select-popup {\n height: min-content;\n max-height: 250px;\n overflow: auto;\n padding: 8px 0;\n}\n.empty-state .empty-state__loader {\n width: 34px;\n height: 34px;\n margin-bottom: 16px;\n}\n.empty-state .empty-state__loading-text {\n font-size: 12px;\n width: 200px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: var(--N900);\n}\n.empty-state .button__icon {\n width: 16px;\n height: 16px;\n margin-left: 8px;\n}";
|
|
716
|
+
styleInject(css_248z$6);
|
|
720
717
|
|
|
721
718
|
var _g$6;
|
|
722
|
-
function _extends$
|
|
719
|
+
function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
|
|
723
720
|
var SvgIcProgressing = function SvgIcProgressing(props) {
|
|
724
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
721
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
725
722
|
xmlns: "http://www.w3.org/2000/svg",
|
|
726
723
|
viewBox: "0 0 24 24",
|
|
727
724
|
width: "1em",
|
|
@@ -773,8 +770,8 @@ EmptyState.Loading = Loading;
|
|
|
773
770
|
|
|
774
771
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
775
772
|
|
|
776
|
-
function _extends$
|
|
777
|
-
_extends$
|
|
773
|
+
function _extends$j() {
|
|
774
|
+
_extends$j = Object.assign || function (target) {
|
|
778
775
|
for (var i = 1; i < arguments.length; i++) {
|
|
779
776
|
var source = arguments[i];
|
|
780
777
|
|
|
@@ -788,7 +785,7 @@ function _extends$k() {
|
|
|
788
785
|
return target;
|
|
789
786
|
};
|
|
790
787
|
|
|
791
|
-
return _extends$
|
|
788
|
+
return _extends$j.apply(this, arguments);
|
|
792
789
|
}
|
|
793
790
|
|
|
794
791
|
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
@@ -1514,7 +1511,7 @@ function ProgressBar(_ref) {
|
|
|
1514
1511
|
isIn = _ref.isIn,
|
|
1515
1512
|
theme = _ref.theme;
|
|
1516
1513
|
|
|
1517
|
-
var style = _extends$
|
|
1514
|
+
var style = _extends$j({}, userStyle, {
|
|
1518
1515
|
animationDuration: delay + "ms",
|
|
1519
1516
|
animationPlayState: isRunning ? 'running' : 'paused',
|
|
1520
1517
|
opacity: hide ? 0 : 1
|
|
@@ -1791,9 +1788,9 @@ var ToastContainer = function ToastContainer(props) {
|
|
|
1791
1788
|
,
|
|
1792
1789
|
id: containerId
|
|
1793
1790
|
}, getToastToRender(function (position, toastList) {
|
|
1794
|
-
var containerStyle = !toastList.length ? _extends$
|
|
1791
|
+
var containerStyle = !toastList.length ? _extends$j({}, style, {
|
|
1795
1792
|
pointerEvents: 'none'
|
|
1796
|
-
}) : _extends$
|
|
1793
|
+
}) : _extends$j({}, style);
|
|
1797
1794
|
return React.createElement("div", {
|
|
1798
1795
|
className: getClassName(position),
|
|
1799
1796
|
style: containerStyle,
|
|
@@ -1900,7 +1897,7 @@ function dispatchToast(content, options) {
|
|
|
1900
1897
|
|
|
1901
1898
|
|
|
1902
1899
|
function mergeOptions(type, options) {
|
|
1903
|
-
return _extends$
|
|
1900
|
+
return _extends$j({}, options, {
|
|
1904
1901
|
type: options && options.type || type,
|
|
1905
1902
|
toastId: getToastId(options)
|
|
1906
1903
|
});
|
|
@@ -1917,7 +1914,7 @@ function toast(content, options) {
|
|
|
1917
1914
|
}
|
|
1918
1915
|
|
|
1919
1916
|
toast.loading = function (content, options) {
|
|
1920
|
-
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$
|
|
1917
|
+
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$j({
|
|
1921
1918
|
isLoading: true,
|
|
1922
1919
|
autoClose: false,
|
|
1923
1920
|
closeOnClick: false,
|
|
@@ -1933,7 +1930,7 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1933
1930
|
var id;
|
|
1934
1931
|
|
|
1935
1932
|
if (pending) {
|
|
1936
|
-
id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$
|
|
1933
|
+
id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$j({}, options, pending));
|
|
1937
1934
|
}
|
|
1938
1935
|
|
|
1939
1936
|
var resetParams = {
|
|
@@ -1952,7 +1949,7 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1952
1949
|
return;
|
|
1953
1950
|
}
|
|
1954
1951
|
|
|
1955
|
-
var baseParams = _extends$
|
|
1952
|
+
var baseParams = _extends$j({
|
|
1956
1953
|
type: type
|
|
1957
1954
|
}, resetParams, options, {
|
|
1958
1955
|
data: result
|
|
@@ -1963,10 +1960,10 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1963
1960
|
} : input; // if the id is set we know that it's an update
|
|
1964
1961
|
|
|
1965
1962
|
if (id) {
|
|
1966
|
-
toast.update(id, _extends$
|
|
1963
|
+
toast.update(id, _extends$j({}, baseParams, params));
|
|
1967
1964
|
} else {
|
|
1968
1965
|
// using toast.promise without loading
|
|
1969
|
-
toast(params.render, _extends$
|
|
1966
|
+
toast(params.render, _extends$j({}, baseParams, params));
|
|
1970
1967
|
}
|
|
1971
1968
|
|
|
1972
1969
|
return result;
|
|
@@ -1990,7 +1987,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
|
|
|
1990
1987
|
toast.warn = toast.warning;
|
|
1991
1988
|
|
|
1992
1989
|
toast.dark = function (content, options) {
|
|
1993
|
-
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$
|
|
1990
|
+
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$j({
|
|
1994
1991
|
theme: 'dark'
|
|
1995
1992
|
}, options)));
|
|
1996
1993
|
};
|
|
@@ -2047,7 +2044,7 @@ toast.update = function (toastId, options) {
|
|
|
2047
2044
|
var oldOptions = toast.props,
|
|
2048
2045
|
oldContent = toast.content;
|
|
2049
2046
|
|
|
2050
|
-
var nextOptions = _extends$
|
|
2047
|
+
var nextOptions = _extends$j({}, oldOptions, options, {
|
|
2051
2048
|
toastId: options.toastId || toastId,
|
|
2052
2049
|
updateId: generateToastId()
|
|
2053
2050
|
});
|
|
@@ -9837,9 +9834,9 @@ function captureException(exception, captureContext) {
|
|
|
9837
9834
|
}
|
|
9838
9835
|
|
|
9839
9836
|
var _g$5;
|
|
9840
|
-
function _extends$
|
|
9837
|
+
function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
9841
9838
|
var SvgIcWarning = function SvgIcWarning(props) {
|
|
9842
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
9839
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
9843
9840
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9844
9841
|
width: "1em",
|
|
9845
9842
|
height: "1em",
|
|
@@ -10302,8 +10299,8 @@ var VisibleModal = /** @class */ (function (_super) {
|
|
|
10302
10299
|
return VisibleModal;
|
|
10303
10300
|
}(React.Component));
|
|
10304
10301
|
|
|
10305
|
-
var css_248z$
|
|
10306
|
-
styleInject(css_248z$
|
|
10302
|
+
var css_248z$5 = ".drawer {\n position: absolute;\n overflow: hidden;\n}\n.drawer.left, .drawer.right {\n top: 0;\n bottom: 0;\n width: 0;\n transition: width 200ms;\n}\n.drawer.left.show, .drawer.right.show {\n min-width: var(--minWidth);\n width: var(--width);\n max-width: var(--maxWidth);\n}\n.drawer.top, .drawer.bottom {\n left: 0;\n right: 0;\n height: 0;\n transition: height 200ms;\n}\n.drawer.top.show, .drawer.bottom.show {\n height: var(--height);\n}\n.drawer.right {\n right: 0;\n}\n.drawer.left {\n left: 0;\n}\n.drawer.top {\n top: 0;\n}\n.drawer.bottom {\n bottom: 0;\n}";
|
|
10303
|
+
styleInject(css_248z$5);
|
|
10307
10304
|
|
|
10308
10305
|
var Drawer = function (_a) {
|
|
10309
10306
|
var children = _a.children, position = _a.position, height = _a.height, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, parentClassName = _a.parentClassName, onEscape = _a.onEscape;
|
|
@@ -10377,16 +10374,16 @@ var Modal = function (_a) {
|
|
|
10377
10374
|
}, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
|
|
10378
10375
|
};
|
|
10379
10376
|
|
|
10380
|
-
var _path$
|
|
10381
|
-
function _extends$
|
|
10377
|
+
var _path$b;
|
|
10378
|
+
function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
10382
10379
|
var SvgIcCross = function SvgIcCross(props) {
|
|
10383
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
10380
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
10384
10381
|
width: "1em",
|
|
10385
10382
|
height: "1em",
|
|
10386
10383
|
viewBox: "0 0 24 24",
|
|
10387
10384
|
fill: "none",
|
|
10388
10385
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10389
|
-
}, props), _path$
|
|
10386
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
10390
10387
|
d: "M19.28 5.78a.75.75 0 0 0-1.06-1.06l1.06 1.06ZM4.72 18.22a.75.75 0 1 0 1.06 1.06l-1.06-1.06Zm13.5 1.06a.75.75 0 1 0 1.06-1.06l-1.06 1.06ZM5.78 4.72a.75.75 0 0 0-1.06 1.06l1.06-1.06Zm12.44 0-6.75 6.75 1.06 1.06 6.75-6.75-1.06-1.06Zm-6.75 6.75-6.75 6.75 1.06 1.06 6.75-6.75-1.06-1.06Zm7.81 6.75-6.75-6.75-1.06 1.06 6.75 6.75 1.06-1.06Zm-6.75-6.75L5.78 4.72 4.72 5.78l6.75 6.75 1.06-1.06Z",
|
|
10391
10388
|
fill: "#596168"
|
|
10392
10389
|
})));
|
|
@@ -14685,38 +14682,38 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
|
|
|
14685
14682
|
|
|
14686
14683
|
var Tippy = index;
|
|
14687
14684
|
|
|
14688
|
-
var _path$
|
|
14689
|
-
function _extends$
|
|
14685
|
+
var _path$a;
|
|
14686
|
+
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
14690
14687
|
var SvgIcHelp = function SvgIcHelp(props) {
|
|
14691
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14688
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
14692
14689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14693
14690
|
width: "1em",
|
|
14694
14691
|
height: "1em",
|
|
14695
14692
|
viewBox: "0 0 24 24"
|
|
14696
|
-
}, props), _path$
|
|
14693
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14697
14694
|
fill: "#767D84",
|
|
14698
14695
|
fillRule: "evenodd",
|
|
14699
14696
|
d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm-.205 12.868c-.615 0-1.12.505-1.12 1.12 0 .617.505 1.121 1.12 1.121.615 0 1.12-.504 1.12-1.12 0-.616-.506-1.12-1.12-1.12zM11.863 7c-1.667 0-3.197 1.187-3.196 2.527 0 .546.41.833.888.833 1.325 0 .642-1.803 2.39-1.803.82 0 1.311.438 1.311 1.175 0 1.34-2.39 1.708-2.39 3.334 0 .438.287.915.874.915.902 0 .792-.67 1.12-1.148.438-.642 2.473-1.325 2.473-3.101 0-1.927-1.721-2.732-3.47-2.732z"
|
|
14700
14697
|
})));
|
|
14701
14698
|
};
|
|
14702
14699
|
|
|
14703
|
-
var _path$
|
|
14704
|
-
function _extends$
|
|
14700
|
+
var _path$9;
|
|
14701
|
+
function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
14705
14702
|
var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
|
|
14706
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14703
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
14707
14704
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14708
14705
|
viewBox: "0 0 17 16",
|
|
14709
14706
|
width: "1em",
|
|
14710
14707
|
height: "1em"
|
|
14711
|
-
}, props), _path$
|
|
14708
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14712
14709
|
fill: "#767D84",
|
|
14713
14710
|
fillRule: "evenodd",
|
|
14714
14711
|
d: "M9 1.333a6.667 6.667 0 1 1 0 13.334A6.667 6.667 0 0 1 9 1.333zm0 1.334C6.054 2.667 3.667 5.054 3.667 8S6.054 13.333 9 13.333 14.333 10.946 14.333 8 11.946 2.667 9 2.667zm-.137 7.245c.41 0 .747.337.747.747s-.337.747-.747.747-.747-.336-.747-.747a.75.75 0 0 1 .747-.747zm.046-5.245c1.166 0 2.313.537 2.313 1.82 0 1.185-1.357 1.64-1.648 2.068-.22.319-.146.766-.747.766-.392 0-.583-.319-.583-.61 0-1.085 1.593-1.33 1.593-2.223 0-.492-.327-.783-.873-.783-1.166 0-.711 1.202-1.594 1.202-.319 0-.592-.191-.592-.556 0-.893 1.02-1.684 2.13-1.684z"
|
|
14715
14712
|
})));
|
|
14716
14713
|
};
|
|
14717
14714
|
|
|
14718
|
-
var css_248z$
|
|
14719
|
-
styleInject(css_248z$
|
|
14715
|
+
var css_248z$4 = ".tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translateX(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translateX(5px)}";
|
|
14716
|
+
styleInject(css_248z$4);
|
|
14720
14717
|
|
|
14721
14718
|
// This component will handle some of the new tippy designs and interactions
|
|
14722
14719
|
// So this can be updated to support further for new features or interactions
|
|
@@ -14760,16 +14757,16 @@ function TippyCustomized(props) {
|
|
|
14760
14757
|
return (jsxRuntime.jsx(Tippy, __assign({ className: "".concat(isWhiteTheme ? 'tippy-white-container default-white' : 'tippy-black-container default-black', " no-content-padding tippy-shadow ").concat(className), arrow: arrow || false, interactive: interactive || false, placement: placement || 'top', content: getTippyContent(), trigger: trigger || 'mouseenter', onMount: onTippyMount, onClickOutside: closeTippy, showOnCreate: showOnCreate || false, animation: animation || 'fade', duration: duration || 300, visible: props.visible }, { children: children })));
|
|
14761
14758
|
}
|
|
14762
14759
|
|
|
14763
|
-
var _path$
|
|
14764
|
-
function _extends$
|
|
14760
|
+
var _path$8, _circle, _path2$1;
|
|
14761
|
+
function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
14765
14762
|
var SvgInjectTag = function SvgInjectTag(props) {
|
|
14766
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14763
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
14767
14764
|
width: "1em",
|
|
14768
14765
|
height: "1em",
|
|
14769
14766
|
viewBox: "0 0 20 20",
|
|
14770
14767
|
fill: "none",
|
|
14771
14768
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14772
|
-
}, props), _path$
|
|
14769
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14773
14770
|
d: "M10 10H3.333",
|
|
14774
14771
|
stroke: "#596168",
|
|
14775
14772
|
strokeWidth: 1.5,
|
|
@@ -14797,15 +14794,15 @@ function PropagateTagInfo(_a) {
|
|
|
14797
14794
|
return (jsxRuntime.jsx(TippyCustomized, __assign({ theme: exports.TippyTheme.white, className: "w-300", placement: "top", Icon: SvgInjectTag, heading: 'Propagate tags to K8s resources', infoText: "", additionalContent: additionalInfo(), showCloseButton: true, trigger: "click", interactive: true, documentationLink: isCreateApp ? DOCUMENTATION.APP_TAGS : DOCUMENTATION.APP_OVERVIEW_TAGS, documentationLinkText: "View Documentation" }, { children: jsxRuntime.jsxs("div", __assign({ className: "flexbox cursor" }, { children: [jsxRuntime.jsx(SvgInjectTag, { className: "icon-dim-16 mt-2 mr-4" }), jsxRuntime.jsx("span", { children: "Propagate tags" }), jsxRuntime.jsx(SvgIcHelpOutline, { className: "icon-dim-16 mt-2 ml-4" })] })) })));
|
|
14798
14795
|
}
|
|
14799
14796
|
|
|
14800
|
-
var _path$
|
|
14801
|
-
function _extends$
|
|
14797
|
+
var _path$7;
|
|
14798
|
+
function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
14802
14799
|
var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
|
|
14803
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14800
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
14804
14801
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14805
14802
|
width: "1em",
|
|
14806
14803
|
height: "1em",
|
|
14807
14804
|
viewBox: "0 0 20 20"
|
|
14808
|
-
}, props), _path$
|
|
14805
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14809
14806
|
d: "M10 1.667c4.6 0 8.333 3.733 8.333 8.333S14.6 18.333 10 18.333 1.667 14.6 1.667 10 5.4 1.667 10 1.667zm0 1.666A6.67 6.67 0 0 0 3.333 10 6.67 6.67 0 0 0 10 16.667 6.67 6.67 0 0 0 16.667 10 6.67 6.67 0 0 0 10 3.333zm0 5.834c.46 0 .833.373.833.833v3.333a.834.834 0 1 1-1.666 0V10c0-.46.373-.833.833-.833zm0-3.334A.833.833 0 1 1 10 7.5a.833.833 0 0 1 0-1.667z",
|
|
14810
14807
|
fill: "#06C",
|
|
14811
14808
|
fillRule: "evenodd"
|
|
@@ -15039,15 +15036,15 @@ var TagDetails = function (_a) {
|
|
|
15039
15036
|
return (jsxRuntime.jsxs("div", __assign({ className: "flexbox mb-8" }, { children: [jsxRuntime.jsx("div", __assign({ className: "dc__border h-30 pl-4 pr-4 br-4 mr-8 pointer ".concat(tagData.propagate ? 'bcn-7' : '', " ").concat(tagData.key.startsWith("devtron.ai/") ? 'cursor-not-allowed bcn-1' : ''), onClick: propagateTagToResource, "data-testid": "propagate-tag-".concat(index) }, { children: jsxRuntime.jsx(SvgInjectTag, { className: "icon-dim-20 mt-4 ".concat(tagData.propagate ? 'scn-0' : '') }) })), jsxRuntime.jsx(TagLabelValueSelector, { selectedTagIndex: index, tagData: tagData, setTagData: setTagData, tagInputType: exports.KEY_VALUE.KEY, placeholder: "Enter key", tabIndex: tabIndex - 1, refVar: keyRef, dependentRef: valueRef, tagOptions: suggestedTagsOptions }), jsxRuntime.jsx(TagLabelValueSelector, { selectedTagIndex: index, tagData: tagData, setTagData: setTagData, tagInputType: exports.KEY_VALUE.VALUE, placeholder: "Enter value", tabIndex: tabIndex, refVar: valueRef, dependentRef: keyRef }), jsxRuntime.jsx("div", __assign({ className: "dc__border pl-4 pr-4 dc__right-radius-4 pointer flex top", onClick: deleteTag, "data-testid": "delete-tag-".concat(index) }, { children: jsxRuntime.jsx(SvgIcCross, { className: "icon-dim-20 mt-4" }) }))] })));
|
|
15040
15037
|
};
|
|
15041
15038
|
|
|
15042
|
-
var _path$
|
|
15043
|
-
function _extends$
|
|
15039
|
+
var _path$6;
|
|
15040
|
+
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
15044
15041
|
var SvgIcAdd = function SvgIcAdd(props) {
|
|
15045
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
15042
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
15046
15043
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15047
15044
|
width: "1em",
|
|
15048
15045
|
height: "1em",
|
|
15049
15046
|
viewBox: "0 0 24 24"
|
|
15050
|
-
}, props), _path$
|
|
15047
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
15051
15048
|
className: "ic-add_svg__fill-color",
|
|
15052
15049
|
fill: "#999",
|
|
15053
15050
|
d: "M18 13h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5V6a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2z"
|
|
@@ -15165,8 +15162,8 @@ function ForceDeleteDialog(_a) {
|
|
|
15165
15162
|
return (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(DeleteDialog, __assign({ title: forceDeleteDialogTitle, delete: onClickDelete, closeDelete: closeDeleteModal, deletePrefix: "Force " }, { children: jsxRuntime.jsxs(DeleteDialog.Description, { children: [jsxRuntime.jsxs("p", __assign({ className: "mt-12 mb-12 p-8 dc__break-word dc__window-bg" }, { children: ["Error: ", forceDeleteDialogMessage] })), jsxRuntime.jsx("p", { children: "Do you want to force delete?" })] }) })) }));
|
|
15166
15163
|
}
|
|
15167
15164
|
|
|
15168
|
-
function _extends$
|
|
15169
|
-
_extends$
|
|
15165
|
+
function _extends$b() {
|
|
15166
|
+
_extends$b = Object.assign ? Object.assign.bind() : function (target) {
|
|
15170
15167
|
for (var i = 1; i < arguments.length; i++) {
|
|
15171
15168
|
var source = arguments[i];
|
|
15172
15169
|
for (var key in source) {
|
|
@@ -15177,7 +15174,7 @@ function _extends$c() {
|
|
|
15177
15174
|
}
|
|
15178
15175
|
return target;
|
|
15179
15176
|
};
|
|
15180
|
-
return _extends$
|
|
15177
|
+
return _extends$b.apply(this, arguments);
|
|
15181
15178
|
}
|
|
15182
15179
|
|
|
15183
15180
|
/*
|
|
@@ -18718,7 +18715,7 @@ var Menu = function Menu(props) {
|
|
|
18718
18715
|
getStyles = props.getStyles,
|
|
18719
18716
|
innerRef = props.innerRef,
|
|
18720
18717
|
innerProps = props.innerProps;
|
|
18721
|
-
return jsx("div", _extends$
|
|
18718
|
+
return jsx("div", _extends$b({
|
|
18722
18719
|
css: getStyles('menu', props),
|
|
18723
18720
|
className: cx({
|
|
18724
18721
|
menu: true
|
|
@@ -18742,7 +18739,7 @@ var menuListCSS = function menuListCSS(_ref4) {
|
|
|
18742
18739
|
WebkitOverflowScrolling: 'touch'
|
|
18743
18740
|
};
|
|
18744
18741
|
};
|
|
18745
|
-
var MenuList
|
|
18742
|
+
var MenuList = function MenuList(props) {
|
|
18746
18743
|
var children = props.children,
|
|
18747
18744
|
className = props.className,
|
|
18748
18745
|
cx = props.cx,
|
|
@@ -18750,7 +18747,7 @@ var MenuList$1 = function MenuList(props) {
|
|
|
18750
18747
|
innerProps = props.innerProps,
|
|
18751
18748
|
innerRef = props.innerRef,
|
|
18752
18749
|
isMulti = props.isMulti;
|
|
18753
|
-
return jsx("div", _extends$
|
|
18750
|
+
return jsx("div", _extends$b({
|
|
18754
18751
|
css: getStyles('menuList', props),
|
|
18755
18752
|
className: cx({
|
|
18756
18753
|
'menu-list': true,
|
|
@@ -18781,7 +18778,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
|
|
|
18781
18778
|
cx = props.cx,
|
|
18782
18779
|
getStyles = props.getStyles,
|
|
18783
18780
|
innerProps = props.innerProps;
|
|
18784
|
-
return jsx("div", _extends$
|
|
18781
|
+
return jsx("div", _extends$b({
|
|
18785
18782
|
css: getStyles('noOptionsMessage', props),
|
|
18786
18783
|
className: cx({
|
|
18787
18784
|
'menu-notice': true,
|
|
@@ -18798,7 +18795,7 @@ var LoadingMessage = function LoadingMessage(props) {
|
|
|
18798
18795
|
cx = props.cx,
|
|
18799
18796
|
getStyles = props.getStyles,
|
|
18800
18797
|
innerProps = props.innerProps;
|
|
18801
|
-
return jsx("div", _extends$
|
|
18798
|
+
return jsx("div", _extends$b({
|
|
18802
18799
|
css: getStyles('loadingMessage', props),
|
|
18803
18800
|
className: cx({
|
|
18804
18801
|
'menu-notice': true,
|
|
@@ -18886,7 +18883,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
18886
18883
|
rect: rect
|
|
18887
18884
|
}; // same wrapper element whether fixed or portalled
|
|
18888
18885
|
|
|
18889
|
-
var menuWrapper = jsx("div", _extends$
|
|
18886
|
+
var menuWrapper = jsx("div", _extends$b({
|
|
18890
18887
|
css: getStyles('menuPortal', state),
|
|
18891
18888
|
className: cx({
|
|
18892
18889
|
'menu-portal': true
|
|
@@ -18922,7 +18919,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
18922
18919
|
innerProps = props.innerProps,
|
|
18923
18920
|
isDisabled = props.isDisabled,
|
|
18924
18921
|
isRtl = props.isRtl;
|
|
18925
|
-
return jsx("div", _extends$
|
|
18922
|
+
return jsx("div", _extends$b({
|
|
18926
18923
|
css: getStyles('container', props),
|
|
18927
18924
|
className: cx({
|
|
18928
18925
|
'--is-disabled': isDisabled,
|
|
@@ -18957,7 +18954,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
18957
18954
|
isMulti = props.isMulti,
|
|
18958
18955
|
getStyles = props.getStyles,
|
|
18959
18956
|
hasValue = props.hasValue;
|
|
18960
|
-
return jsx("div", _extends$
|
|
18957
|
+
return jsx("div", _extends$b({
|
|
18961
18958
|
css: getStyles('valueContainer', props),
|
|
18962
18959
|
className: cx({
|
|
18963
18960
|
'value-container': true,
|
|
@@ -18983,7 +18980,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
|
18983
18980
|
cx = props.cx,
|
|
18984
18981
|
innerProps = props.innerProps,
|
|
18985
18982
|
getStyles = props.getStyles;
|
|
18986
|
-
return jsx("div", _extends$
|
|
18983
|
+
return jsx("div", _extends$b({
|
|
18987
18984
|
css: getStyles('indicatorsContainer', props),
|
|
18988
18985
|
className: cx({
|
|
18989
18986
|
indicators: true
|
|
@@ -19014,7 +19011,7 @@ var Svg = function Svg(_ref) {
|
|
|
19014
19011
|
var size = _ref.size,
|
|
19015
19012
|
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
19016
19013
|
|
|
19017
|
-
return jsx("svg", _extends$
|
|
19014
|
+
return jsx("svg", _extends$b({
|
|
19018
19015
|
height: size,
|
|
19019
19016
|
width: size,
|
|
19020
19017
|
viewBox: "0 0 20 20",
|
|
@@ -19025,14 +19022,14 @@ var Svg = function Svg(_ref) {
|
|
|
19025
19022
|
};
|
|
19026
19023
|
|
|
19027
19024
|
var CrossIcon = function CrossIcon(props) {
|
|
19028
|
-
return jsx(Svg, _extends$
|
|
19025
|
+
return jsx(Svg, _extends$b({
|
|
19029
19026
|
size: 20
|
|
19030
19027
|
}, props), jsx("path", {
|
|
19031
19028
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
19032
19029
|
}));
|
|
19033
19030
|
};
|
|
19034
19031
|
var DownChevron = function DownChevron(props) {
|
|
19035
|
-
return jsx(Svg, _extends$
|
|
19032
|
+
return jsx(Svg, _extends$b({
|
|
19036
19033
|
size: 20
|
|
19037
19034
|
}, props), jsx("path", {
|
|
19038
19035
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
@@ -19059,13 +19056,13 @@ var baseCSS = function baseCSS(_ref3) {
|
|
|
19059
19056
|
};
|
|
19060
19057
|
|
|
19061
19058
|
var dropdownIndicatorCSS = baseCSS;
|
|
19062
|
-
var DropdownIndicator
|
|
19059
|
+
var DropdownIndicator = function DropdownIndicator(props) {
|
|
19063
19060
|
var children = props.children,
|
|
19064
19061
|
className = props.className,
|
|
19065
19062
|
cx = props.cx,
|
|
19066
19063
|
getStyles = props.getStyles,
|
|
19067
19064
|
innerProps = props.innerProps;
|
|
19068
|
-
return jsx("div", _extends$
|
|
19065
|
+
return jsx("div", _extends$b({
|
|
19069
19066
|
css: getStyles('dropdownIndicator', props),
|
|
19070
19067
|
className: cx({
|
|
19071
19068
|
indicator: true,
|
|
@@ -19080,7 +19077,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
|
|
|
19080
19077
|
cx = props.cx,
|
|
19081
19078
|
getStyles = props.getStyles,
|
|
19082
19079
|
innerProps = props.innerProps;
|
|
19083
|
-
return jsx("div", _extends$
|
|
19080
|
+
return jsx("div", _extends$b({
|
|
19084
19081
|
css: getStyles('clearIndicator', props),
|
|
19085
19082
|
className: cx({
|
|
19086
19083
|
indicator: true,
|
|
@@ -19110,7 +19107,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
|
19110
19107
|
cx = props.cx,
|
|
19111
19108
|
getStyles = props.getStyles,
|
|
19112
19109
|
innerProps = props.innerProps;
|
|
19113
|
-
return jsx("span", _extends$
|
|
19110
|
+
return jsx("span", _extends$b({}, innerProps, {
|
|
19114
19111
|
css: getStyles('indicatorSeparator', props),
|
|
19115
19112
|
className: cx({
|
|
19116
19113
|
'indicator-separator': true
|
|
@@ -19165,7 +19162,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
|
19165
19162
|
getStyles = props.getStyles,
|
|
19166
19163
|
innerProps = props.innerProps,
|
|
19167
19164
|
isRtl = props.isRtl;
|
|
19168
|
-
return jsx("div", _extends$
|
|
19165
|
+
return jsx("div", _extends$b({
|
|
19169
19166
|
css: getStyles('loadingIndicator', props),
|
|
19170
19167
|
className: cx({
|
|
19171
19168
|
indicator: true,
|
|
@@ -19226,7 +19223,7 @@ var Control = function Control(props) {
|
|
|
19226
19223
|
innerRef = props.innerRef,
|
|
19227
19224
|
innerProps = props.innerProps,
|
|
19228
19225
|
menuIsOpen = props.menuIsOpen;
|
|
19229
|
-
return jsx("div", _extends$
|
|
19226
|
+
return jsx("div", _extends$b({
|
|
19230
19227
|
ref: innerRef,
|
|
19231
19228
|
css: getStyles('control', props),
|
|
19232
19229
|
className: cx({
|
|
@@ -19258,12 +19255,12 @@ var Group = function Group(props) {
|
|
|
19258
19255
|
label = props.label,
|
|
19259
19256
|
theme = props.theme,
|
|
19260
19257
|
selectProps = props.selectProps;
|
|
19261
|
-
return jsx("div", _extends$
|
|
19258
|
+
return jsx("div", _extends$b({
|
|
19262
19259
|
css: getStyles('group', props),
|
|
19263
19260
|
className: cx({
|
|
19264
19261
|
group: true
|
|
19265
19262
|
}, className)
|
|
19266
|
-
}, innerProps), jsx(Heading, _extends$
|
|
19263
|
+
}, innerProps), jsx(Heading, _extends$b({}, headingProps, {
|
|
19267
19264
|
selectProps: selectProps,
|
|
19268
19265
|
theme: theme,
|
|
19269
19266
|
getStyles: getStyles,
|
|
@@ -19295,7 +19292,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
19295
19292
|
_cleanCommonProps.data;
|
|
19296
19293
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
19297
19294
|
|
|
19298
|
-
return jsx("div", _extends$
|
|
19295
|
+
return jsx("div", _extends$b({
|
|
19299
19296
|
css: getStyles('groupHeading', props),
|
|
19300
19297
|
className: cx({
|
|
19301
19298
|
'group-heading': true
|
|
@@ -19371,7 +19368,7 @@ var Input = function Input(props) {
|
|
|
19371
19368
|
}, className),
|
|
19372
19369
|
css: getStyles('input', props),
|
|
19373
19370
|
"data-value": value || ''
|
|
19374
|
-
}, jsx("input", _extends$
|
|
19371
|
+
}, jsx("input", _extends$b({
|
|
19375
19372
|
className: cx({
|
|
19376
19373
|
input: true
|
|
19377
19374
|
}, inputClassName),
|
|
@@ -19441,7 +19438,7 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
19441
19438
|
function MultiValueRemove$1(_ref5) {
|
|
19442
19439
|
var children = _ref5.children,
|
|
19443
19440
|
innerProps = _ref5.innerProps;
|
|
19444
|
-
return jsx("div", _extends$
|
|
19441
|
+
return jsx("div", _extends$b({
|
|
19445
19442
|
role: "button"
|
|
19446
19443
|
}, innerProps), children || jsx(CrossIcon, {
|
|
19447
19444
|
size: 14
|
|
@@ -19530,7 +19527,7 @@ var Option$1 = function Option(props) {
|
|
|
19530
19527
|
isSelected = props.isSelected,
|
|
19531
19528
|
innerRef = props.innerRef,
|
|
19532
19529
|
innerProps = props.innerProps;
|
|
19533
|
-
return jsx("div", _extends$
|
|
19530
|
+
return jsx("div", _extends$b({
|
|
19534
19531
|
css: getStyles('option', props),
|
|
19535
19532
|
className: cx({
|
|
19536
19533
|
option: true,
|
|
@@ -19562,7 +19559,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
19562
19559
|
cx = props.cx,
|
|
19563
19560
|
getStyles = props.getStyles,
|
|
19564
19561
|
innerProps = props.innerProps;
|
|
19565
|
-
return jsx("div", _extends$
|
|
19562
|
+
return jsx("div", _extends$b({
|
|
19566
19563
|
css: getStyles('placeholder', props),
|
|
19567
19564
|
className: cx({
|
|
19568
19565
|
placeholder: true
|
|
@@ -19595,7 +19592,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
19595
19592
|
getStyles = props.getStyles,
|
|
19596
19593
|
isDisabled = props.isDisabled,
|
|
19597
19594
|
innerProps = props.innerProps;
|
|
19598
|
-
return jsx("div", _extends$
|
|
19595
|
+
return jsx("div", _extends$b({
|
|
19599
19596
|
css: getStyles('singleValue', props),
|
|
19600
19597
|
className: cx({
|
|
19601
19598
|
'single-value': true,
|
|
@@ -19607,7 +19604,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
19607
19604
|
var components = {
|
|
19608
19605
|
ClearIndicator: ClearIndicator$1,
|
|
19609
19606
|
Control: Control,
|
|
19610
|
-
DropdownIndicator: DropdownIndicator
|
|
19607
|
+
DropdownIndicator: DropdownIndicator,
|
|
19611
19608
|
DownChevron: DownChevron,
|
|
19612
19609
|
CrossIcon: CrossIcon,
|
|
19613
19610
|
Group: Group,
|
|
@@ -19617,7 +19614,7 @@ var components = {
|
|
|
19617
19614
|
Input: Input,
|
|
19618
19615
|
LoadingIndicator: LoadingIndicator,
|
|
19619
19616
|
Menu: Menu,
|
|
19620
|
-
MenuList: MenuList
|
|
19617
|
+
MenuList: MenuList,
|
|
19621
19618
|
MenuPortal: MenuPortal,
|
|
19622
19619
|
LoadingMessage: LoadingMessage,
|
|
19623
19620
|
NoOptionsMessage: NoOptionsMessage,
|
|
@@ -19843,7 +19840,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
19843
19840
|
};
|
|
19844
19841
|
|
|
19845
19842
|
var A11yText = function A11yText(props) {
|
|
19846
|
-
return jsx("span", _extends$
|
|
19843
|
+
return jsx("span", _extends$b({
|
|
19847
19844
|
css: _ref
|
|
19848
19845
|
}, props));
|
|
19849
19846
|
};
|
|
@@ -20379,7 +20376,7 @@ function DummyInput(_ref) {
|
|
|
20379
20376
|
var innerRef = _ref.innerRef,
|
|
20380
20377
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
20381
20378
|
|
|
20382
|
-
return jsx("input", _extends$
|
|
20379
|
+
return jsx("input", _extends$b({
|
|
20383
20380
|
ref: innerRef
|
|
20384
20381
|
}, props, {
|
|
20385
20382
|
css: /*#__PURE__*/css$2({
|
|
@@ -22014,7 +22011,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22014
22011
|
|
|
22015
22012
|
if (!isSearchable) {
|
|
22016
22013
|
// use a dummy input to maintain focus/blur functionality
|
|
22017
|
-
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$
|
|
22014
|
+
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$b({
|
|
22018
22015
|
id: id,
|
|
22019
22016
|
innerRef: this.getInputRef,
|
|
22020
22017
|
onBlur: this.onInputBlur,
|
|
@@ -22028,7 +22025,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22028
22025
|
}, ariaAttributes));
|
|
22029
22026
|
}
|
|
22030
22027
|
|
|
22031
|
-
return /*#__PURE__*/React__namespace.createElement(Input, _extends$
|
|
22028
|
+
return /*#__PURE__*/React__namespace.createElement(Input, _extends$b({}, commonProps, {
|
|
22032
22029
|
autoCapitalize: "none",
|
|
22033
22030
|
autoComplete: "off",
|
|
22034
22031
|
autoCorrect: "off",
|
|
@@ -22072,7 +22069,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22072
22069
|
isFocused = _this$state5.isFocused;
|
|
22073
22070
|
|
|
22074
22071
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
22075
|
-
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$
|
|
22072
|
+
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$b({}, commonProps, {
|
|
22076
22073
|
key: "placeholder",
|
|
22077
22074
|
isDisabled: isDisabled,
|
|
22078
22075
|
isFocused: isFocused,
|
|
@@ -22086,7 +22083,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22086
22083
|
return selectValue.map(function (opt, index) {
|
|
22087
22084
|
var isOptionFocused = opt === focusedValue;
|
|
22088
22085
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
22089
|
-
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$
|
|
22086
|
+
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$b({}, commonProps, {
|
|
22090
22087
|
components: {
|
|
22091
22088
|
Container: MultiValueContainer,
|
|
22092
22089
|
Label: MultiValueLabel,
|
|
@@ -22118,7 +22115,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22118
22115
|
}
|
|
22119
22116
|
|
|
22120
22117
|
var singleValue = selectValue[0];
|
|
22121
|
-
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$
|
|
22118
|
+
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$b({}, commonProps, {
|
|
22122
22119
|
data: singleValue,
|
|
22123
22120
|
isDisabled: isDisabled
|
|
22124
22121
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -22144,7 +22141,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22144
22141
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
22145
22142
|
'aria-hidden': 'true'
|
|
22146
22143
|
};
|
|
22147
|
-
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$
|
|
22144
|
+
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$b({}, commonProps, {
|
|
22148
22145
|
innerProps: innerProps,
|
|
22149
22146
|
isFocused: isFocused
|
|
22150
22147
|
}));
|
|
@@ -22164,7 +22161,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22164
22161
|
var innerProps = {
|
|
22165
22162
|
'aria-hidden': 'true'
|
|
22166
22163
|
};
|
|
22167
|
-
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$
|
|
22164
|
+
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$b({}, commonProps, {
|
|
22168
22165
|
innerProps: innerProps,
|
|
22169
22166
|
isDisabled: isDisabled,
|
|
22170
22167
|
isFocused: isFocused
|
|
@@ -22182,7 +22179,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22182
22179
|
var commonProps = this.commonProps;
|
|
22183
22180
|
var isDisabled = this.props.isDisabled;
|
|
22184
22181
|
var isFocused = this.state.isFocused;
|
|
22185
|
-
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$
|
|
22182
|
+
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$b({}, commonProps, {
|
|
22186
22183
|
isDisabled: isDisabled,
|
|
22187
22184
|
isFocused: isFocused
|
|
22188
22185
|
}));
|
|
@@ -22202,7 +22199,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22202
22199
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
22203
22200
|
'aria-hidden': 'true'
|
|
22204
22201
|
};
|
|
22205
|
-
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$
|
|
22202
|
+
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$b({}, commonProps, {
|
|
22206
22203
|
innerProps: innerProps,
|
|
22207
22204
|
isDisabled: isDisabled,
|
|
22208
22205
|
isFocused: isFocused
|
|
@@ -22265,7 +22262,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22265
22262
|
onMouseOver: onHover,
|
|
22266
22263
|
tabIndex: -1
|
|
22267
22264
|
};
|
|
22268
|
-
return /*#__PURE__*/React__namespace.createElement(Option, _extends$
|
|
22265
|
+
return /*#__PURE__*/React__namespace.createElement(Option, _extends$b({}, commonProps, {
|
|
22269
22266
|
innerProps: innerProps,
|
|
22270
22267
|
data: data,
|
|
22271
22268
|
isDisabled: isDisabled,
|
|
@@ -22289,7 +22286,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22289
22286
|
groupIndex = item.index;
|
|
22290
22287
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
22291
22288
|
var headingId = "".concat(groupId, "-heading");
|
|
22292
|
-
return /*#__PURE__*/React__namespace.createElement(Group, _extends$
|
|
22289
|
+
return /*#__PURE__*/React__namespace.createElement(Group, _extends$b({}, commonProps, {
|
|
22293
22290
|
key: groupId,
|
|
22294
22291
|
data: _data,
|
|
22295
22292
|
options: options,
|
|
@@ -22328,12 +22325,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22328
22325
|
menuPosition: menuPosition,
|
|
22329
22326
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
22330
22327
|
};
|
|
22331
|
-
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$
|
|
22328
|
+
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$b({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
22332
22329
|
var ref = _ref4.ref,
|
|
22333
22330
|
_ref4$placerProps = _ref4.placerProps,
|
|
22334
22331
|
placement = _ref4$placerProps.placement,
|
|
22335
22332
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
22336
|
-
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$
|
|
22333
|
+
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$b({}, commonProps, menuPlacementProps, {
|
|
22337
22334
|
innerRef: ref,
|
|
22338
22335
|
innerProps: {
|
|
22339
22336
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -22348,7 +22345,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22348
22345
|
onBottomArrive: onMenuScrollToBottom,
|
|
22349
22346
|
lockEnabled: menuShouldBlockScroll
|
|
22350
22347
|
}, function (scrollTargetRef) {
|
|
22351
|
-
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$
|
|
22348
|
+
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$b({}, commonProps, {
|
|
22352
22349
|
innerRef: function innerRef(instance) {
|
|
22353
22350
|
_this4.getMenuListRef(instance);
|
|
22354
22351
|
|
|
@@ -22363,7 +22360,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22363
22360
|
// so we use the same component. the actual portalling logic is forked
|
|
22364
22361
|
// within the component based on `menuPosition`
|
|
22365
22362
|
|
|
22366
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$
|
|
22363
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$b({}, commonProps, {
|
|
22367
22364
|
appendTo: menuPortalTarget,
|
|
22368
22365
|
controlElement: this.controlRef,
|
|
22369
22366
|
menuPlacement: menuPlacement,
|
|
@@ -22428,7 +22425,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22428
22425
|
isFocused = _this$state6.isFocused,
|
|
22429
22426
|
selectValue = _this$state6.selectValue;
|
|
22430
22427
|
var focusableOptions = this.getFocusableOptions();
|
|
22431
|
-
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$
|
|
22428
|
+
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$b({}, commonProps, {
|
|
22432
22429
|
id: this.getElementId('live-region'),
|
|
22433
22430
|
ariaSelection: ariaSelection,
|
|
22434
22431
|
focusedOption: focusedOption,
|
|
@@ -22454,7 +22451,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22454
22451
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
22455
22452
|
var isFocused = this.state.isFocused;
|
|
22456
22453
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
22457
|
-
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$
|
|
22454
|
+
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$b({}, commonProps, {
|
|
22458
22455
|
className: className,
|
|
22459
22456
|
innerProps: {
|
|
22460
22457
|
id: id,
|
|
@@ -22462,7 +22459,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22462
22459
|
},
|
|
22463
22460
|
isDisabled: isDisabled,
|
|
22464
22461
|
isFocused: isFocused
|
|
22465
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$
|
|
22462
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$b({}, commonProps, {
|
|
22466
22463
|
innerRef: this.getControlRef,
|
|
22467
22464
|
innerProps: {
|
|
22468
22465
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -22471,9 +22468,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22471
22468
|
isDisabled: isDisabled,
|
|
22472
22469
|
isFocused: isFocused,
|
|
22473
22470
|
menuIsOpen: menuIsOpen
|
|
22474
|
-
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$
|
|
22471
|
+
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$b({}, commonProps, {
|
|
22475
22472
|
isDisabled: isDisabled
|
|
22476
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$
|
|
22473
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$b({}, commonProps, {
|
|
22477
22474
|
isDisabled: isDisabled
|
|
22478
22475
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
22479
22476
|
}
|
|
@@ -22546,17 +22543,17 @@ Select$1.defaultProps = defaultProps;
|
|
|
22546
22543
|
|
|
22547
22544
|
var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
22548
22545
|
var baseSelectProps = useStateManager(props);
|
|
22549
|
-
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$
|
|
22546
|
+
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$b({
|
|
22550
22547
|
ref: ref
|
|
22551
22548
|
}, baseSelectProps));
|
|
22552
22549
|
});
|
|
22553
22550
|
|
|
22554
|
-
var
|
|
22551
|
+
var Select = StateManagedSelect;
|
|
22555
22552
|
|
|
22556
22553
|
var _g$4;
|
|
22557
|
-
function _extends$
|
|
22554
|
+
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
22558
22555
|
var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
22559
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
22556
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
22560
22557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22561
22558
|
viewBox: "0 0 28 28",
|
|
22562
22559
|
width: "1em",
|
|
@@ -22577,15 +22574,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
|
22577
22574
|
}))));
|
|
22578
22575
|
};
|
|
22579
22576
|
|
|
22580
|
-
var _path$
|
|
22581
|
-
function _extends$
|
|
22577
|
+
var _path$5;
|
|
22578
|
+
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
22582
22579
|
var SvgIcCheck = function SvgIcCheck(props) {
|
|
22583
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
22580
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
22584
22581
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22585
22582
|
width: "1em",
|
|
22586
22583
|
height: "1em",
|
|
22587
22584
|
viewBox: "0 0 24 24"
|
|
22588
|
-
}, props), _path$
|
|
22585
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
22589
22586
|
stroke: "#06C",
|
|
22590
22587
|
strokeLinecap: "round",
|
|
22591
22588
|
strokeLinejoin: "round",
|
|
@@ -22597,9 +22594,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
|
|
|
22597
22594
|
};
|
|
22598
22595
|
|
|
22599
22596
|
var _g$3;
|
|
22600
|
-
function _extends$
|
|
22597
|
+
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
22601
22598
|
var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
|
|
22602
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
22599
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
22603
22600
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22604
22601
|
width: "1em",
|
|
22605
22602
|
height: "1em",
|
|
@@ -22661,11 +22658,11 @@ var multiSelectStyles = {
|
|
|
22661
22658
|
valueContainer: function (base, state) { return (__assign(__assign({}, base), { color: state.selectProps.menuIsOpen ? 'var(--N500)' : base.color })); },
|
|
22662
22659
|
};
|
|
22663
22660
|
var CustomSelect = function (props) {
|
|
22664
|
-
return jsxRuntime.jsx(
|
|
22661
|
+
return jsxRuntime.jsx(Select, __assign({}, props));
|
|
22665
22662
|
};
|
|
22666
22663
|
|
|
22667
|
-
var css_248z$
|
|
22668
|
-
styleInject(css_248z$
|
|
22664
|
+
var css_248z$3 = ".info-bar-container .info_text .success {\n background-color: var(--G100);\n}\n.info-bar-container .warn {\n background: var(--Y100);\n border: solid var(--Y200);\n}\n.info-bar-container .warn .warning-icon path:nth-child(2) {\n fill: var(--Y700);\n}\n.info-bar-container .info_bar {\n background-color: var(--B100);\n border: 1px solid var(--B200);\n}\n.info-bar-container .error_bar {\n background-color: var(--R100);\n border: 1px solid var(--R200);\n}\n.info-bar-container .question-bar {\n background-color: var(--V100);\n border: 1px solid var(--V200);\n}";
|
|
22665
|
+
styleInject(css_248z$3);
|
|
22669
22666
|
|
|
22670
22667
|
function InfoColourBar(_a) {
|
|
22671
22668
|
var message = _a.message, classname = _a.classname, Icon = _a.Icon, iconClass = _a.iconClass, iconSize = _a.iconSize, renderActionButton = _a.renderActionButton, linkText = _a.linkText, redirectLink = _a.redirectLink, linkOnClick = _a.linkOnClick, linkClass = _a.linkClass, internalLink = _a.internalLink, styles = _a.styles;
|
|
@@ -22922,7 +22919,7 @@ Valid States of Checkbox:
|
|
|
22922
22919
|
5. disabled: false, checked: true, value: INTERMIDIATE
|
|
22923
22920
|
6. disabled: false, checked: true, value: CHECKED
|
|
22924
22921
|
*/
|
|
22925
|
-
var Checkbox
|
|
22922
|
+
var Checkbox = /** @class */ (function (_super) {
|
|
22926
22923
|
__extends(Checkbox, _super);
|
|
22927
22924
|
function Checkbox() {
|
|
22928
22925
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -22935,8 +22932,8 @@ var Checkbox$1 = /** @class */ (function (_super) {
|
|
|
22935
22932
|
return Checkbox;
|
|
22936
22933
|
}(React.Component));
|
|
22937
22934
|
|
|
22938
|
-
var css_248z$
|
|
22939
|
-
styleInject(css_248z$
|
|
22935
|
+
var css_248z$2 = ".toggle__switch {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 100%;\n}\n.toggle__switch.disabled {\n cursor: not-allowed;\n}\n.toggle__switch.disabled .toggle__slider {\n cursor: not-allowed;\n}\n\n/* Hide default HTML checkbox */\n.toggle__switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* The slider */\n.toggle__slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n transition: all 0.4s ease;\n}\n.toggle__slider.round {\n border-radius: 34px;\n}\n.toggle__slider.round:before {\n border-radius: 50%;\n}\n.toggle__slider:before {\n position: absolute;\n content: \"\";\n height: calc(100% - 8px);\n width: calc(50% - 4px);\n left: 4px;\n bottom: 4px;\n background-color: white;\n transition: all 0.4s ease;\n}\n.toggle__slider.with-icon {\n background-color: var(--N000) !important;\n}\n.toggle__slider.with-icon svg {\n position: absolute;\n content: \"\";\n top: -1px;\n left: -1px;\n background-color: var(--N300);\n transition: all 0.4s ease;\n}\n\ninput:checked + .toggle__slider {\n background-color: var(--color);\n}\ninput:checked + .toggle__slider:before {\n transform: translateX(100%);\n}\ninput:checked + .toggle__slider.with-icon svg {\n transform: translateX(100%);\n background-color: var(--color);\n}\n\ninput:focus + .toggle__slider {\n box-shadow: 0 0 1px var(--color);\n}";
|
|
22936
|
+
styleInject(css_248z$2);
|
|
22940
22937
|
|
|
22941
22938
|
var Toggle = function (_a) {
|
|
22942
22939
|
var _b;
|
|
@@ -22960,8 +22957,8 @@ var Toggle = function (_a) {
|
|
|
22960
22957
|
return (jsxRuntime.jsxs("label", __assign({}, props, { className: "".concat(rootClassName, " toggle__switch ").concat(disabled ? 'disabled' : ''), style: (_b = {}, _b['--color'] = color, _b) }, { children: [jsxRuntime.jsx("input", { type: "checkbox", checked: !!active, onChange: handleClick, className: "toggle__input" }), jsxRuntime.jsx("span", __assign({ className: "toggle__slider ".concat(Icon ? 'with-icon br-4 dc__border' : 'round'), "data-testid": dataTestId }, { children: Icon && jsxRuntime.jsx(Icon, { className: "icon-dim-20 br-4 p-2 ".concat(iconClass) }) }))] })));
|
|
22961
22958
|
};
|
|
22962
22959
|
|
|
22963
|
-
var css_248z$
|
|
22964
|
-
styleInject(css_248z$
|
|
22960
|
+
var css_248z$1 = ".modal-body--scan-details {\n position: fixed;\n top: 0;\n right: 0;\n background: var(--N000);\n width: 800px;\n}\n\n.security-tab__table {\n width: 100%;\n}\n\n.security-tab__table-header {\n border-bottom: solid 1px var(--N200);\n}\n\n.security-cell-header {\n font-size: 12px;\n font-weight: 600;\n line-height: 1.5;\n letter-spacing: normal;\n text-transform: uppercase;\n color: var(--N500);\n}\n\n.dc__security-tab__table-row {\n font-size: 13px;\n font-weight: normal;\n line-height: 1.54;\n letter-spacing: normal;\n color: var(--N900);\n box-shadow: inset 0 -1px 0 0 #f5f5f5;\n}\n\n.security-tab__cell-cve,\n.security-tab__cell-severity,\n.security-tab__cell-package,\n.security-tab__cell-current-ver,\n.security-tab__cell-fixed-ver,\n.security-tab__cell-policy {\n padding: 10px;\n max-width: 120px;\n word-wrap: break-word;\n}\n\n.security-tab__cell-cve {\n padding-left: 0px;\n text-align: left;\n width: 20%;\n}\n\n.security-tab__cell-policy {\n padding-right: 0px;\n}\n\n.security-tab__cell-policy--whitelist,\n.security-tab__cell-policy--whitelisted {\n color: var(--G500);\n text-transform: capitalize;\n}\n\n.security-tab__cell-policy--block {\n color: var(--R500);\n text-transform: capitalize;\n}\n\n.scanned-object__results {\n margin: 0 20px;\n}";
|
|
22961
|
+
styleInject(css_248z$1);
|
|
22965
22962
|
|
|
22966
22963
|
function ScanVulnerabilitiesTable(_a) {
|
|
22967
22964
|
var vulnerabilities = _a.vulnerabilities;
|
|
@@ -22976,8 +22973,8 @@ function ScanVulnerabilitiesTable(_a) {
|
|
|
22976
22973
|
})] }) })));
|
|
22977
22974
|
}
|
|
22978
22975
|
|
|
22979
|
-
var css_248z
|
|
22980
|
-
styleInject(css_248z
|
|
22976
|
+
var css_248z = ".radio-group {\n height: 30px;\n background: white;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 4px;\n border-radius: 4px;\n}\n.radio-group .label,\n.radio-group .radio,\n.radio-group .checkbox {\n margin: 0;\n}\n.radio-group .radio {\n height: 100%;\n width: auto;\n color: var(--N400);\n display: flex;\n align-items: center;\n}\n.radio-group .radio + .radio {\n margin-top: 0;\n}\n.radio-group input[type=checkbox] {\n display: contents;\n overflow: hidden;\n max-width: 0px;\n height: 0;\n opacity: 0;\n margin: unset;\n}\n.radio-group input + .radio__item-label {\n padding: 4px 6px;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n transition: all 0.5s;\n cursor: pointer;\n}\n.radio-group input[type=checkbox]:checked + .radio__item-label {\n background: #2c3354;\n color: white;\n border-radius: 4px;\n}";
|
|
22977
|
+
styleInject(css_248z);
|
|
22981
22978
|
|
|
22982
22979
|
var RadioContext = React.createContext(null);
|
|
22983
22980
|
function useRadioContext() {
|
|
@@ -23071,9 +23068,9 @@ exports.ConsequenceAction = void 0;
|
|
|
23071
23068
|
})(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
|
|
23072
23069
|
|
|
23073
23070
|
var _g$2;
|
|
23074
|
-
function _extends$
|
|
23071
|
+
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
23075
23072
|
var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
|
|
23076
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23073
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
23077
23074
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23078
23075
|
width: "1em",
|
|
23079
23076
|
height: "1em",
|
|
@@ -23152,16 +23149,16 @@ function DeleteComponent(_a) {
|
|
|
23152
23149
|
return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
|
|
23153
23150
|
}
|
|
23154
23151
|
|
|
23155
|
-
var _path$
|
|
23156
|
-
function _extends$
|
|
23152
|
+
var _path$4;
|
|
23153
|
+
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
23157
23154
|
var SvgIcPencil = function SvgIcPencil(props) {
|
|
23158
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23155
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
23159
23156
|
width: "1em",
|
|
23160
23157
|
height: "1em",
|
|
23161
23158
|
viewBox: "0 0 20 20",
|
|
23162
23159
|
fill: "none",
|
|
23163
23160
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23164
|
-
}, props), _path$
|
|
23161
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23165
23162
|
d: "M10.625 5 15 9.375m-7.5 7.5H3.75a.625.625 0 0 1-.625-.625v-3.491a.625.625 0 0 1 .183-.442l9.375-9.375a.625.625 0 0 1 .884 0l3.491 3.491a.625.625 0 0 1 0 .884L7.5 16.875Z",
|
|
23166
23163
|
stroke: "#596168",
|
|
23167
23164
|
strokeWidth: 1.5,
|
|
@@ -23170,16 +23167,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
|
|
|
23170
23167
|
})));
|
|
23171
23168
|
};
|
|
23172
23169
|
|
|
23173
|
-
var _path$
|
|
23174
|
-
function _extends$
|
|
23170
|
+
var _path$3, _path2, _path3;
|
|
23171
|
+
function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
23175
23172
|
var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
23176
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23173
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
23177
23174
|
width: "1em",
|
|
23178
23175
|
height: "1em",
|
|
23179
23176
|
viewBox: "0 0 12 12",
|
|
23180
23177
|
fill: "none",
|
|
23181
23178
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23182
|
-
}, props), _path$
|
|
23179
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23183
23180
|
d: "M3.742 4.674h-2.25v-2.25",
|
|
23184
23181
|
fill: "#767D84"
|
|
23185
23182
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -23197,15 +23194,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
|
23197
23194
|
})));
|
|
23198
23195
|
};
|
|
23199
23196
|
|
|
23200
|
-
var _path$
|
|
23201
|
-
function _extends$
|
|
23197
|
+
var _path$2;
|
|
23198
|
+
function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
23202
23199
|
var SvgIcMinus = function SvgIcMinus(props) {
|
|
23203
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23200
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
23204
23201
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23205
23202
|
width: "1em",
|
|
23206
23203
|
height: "1em",
|
|
23207
23204
|
viewBox: "0 0 14 14"
|
|
23208
|
-
}, props), _path$
|
|
23205
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23209
23206
|
fill: "#959BA1",
|
|
23210
23207
|
className: "ic-minus_svg__fill-color",
|
|
23211
23208
|
fillRule: "evenodd",
|
|
@@ -23214,9 +23211,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
|
|
|
23214
23211
|
};
|
|
23215
23212
|
|
|
23216
23213
|
var _g$1;
|
|
23217
|
-
function _extends$
|
|
23214
|
+
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
23218
23215
|
var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
23219
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23216
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
23220
23217
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23221
23218
|
width: "1em",
|
|
23222
23219
|
height: "1em",
|
|
@@ -23233,16 +23230,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
|
23233
23230
|
}))));
|
|
23234
23231
|
};
|
|
23235
23232
|
|
|
23236
|
-
var _path$
|
|
23237
|
-
function _extends$
|
|
23233
|
+
var _path$1;
|
|
23234
|
+
function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
23238
23235
|
var SvgIcEnter = function SvgIcEnter(props) {
|
|
23239
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23236
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
23240
23237
|
width: "1em",
|
|
23241
23238
|
height: "1em",
|
|
23242
23239
|
viewBox: "0 0 16 16",
|
|
23243
23240
|
fill: "none",
|
|
23244
23241
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23245
|
-
}, props), _path$
|
|
23242
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23246
23243
|
d: "M12.667 4a.667.667 0 0 0-.667.667v2.666a.667.667 0 0 1-.667.667H4.94l.867-.86a.67.67 0 1 0-.947-.947l-2 2a.667.667 0 0 0-.14.22.667.667 0 0 0 0 .507c.032.082.08.157.14.22l2 2a.666.666 0 0 0 .947 0 .667.667 0 0 0 0-.947l-.867-.86h6.393a2 2 0 0 0 2-2V4.667A.667.667 0 0 0 12.667 4Z",
|
|
23247
23244
|
fill: "#3B444C"
|
|
23248
23245
|
})));
|
|
@@ -23601,9 +23598,9 @@ function useDebouncedEffect(callback, delay, deps) {
|
|
|
23601
23598
|
}
|
|
23602
23599
|
|
|
23603
23600
|
var _g;
|
|
23604
|
-
function _extends$
|
|
23601
|
+
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
23605
23602
|
var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
23606
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23603
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
23607
23604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23608
23605
|
width: "1em",
|
|
23609
23606
|
height: "1em",
|
|
@@ -23638,8 +23635,8 @@ var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
|
23638
23635
|
* @param showClearIcon - (Optional) To show the clear icon default value is true
|
|
23639
23636
|
*/
|
|
23640
23637
|
function DebouncedSearch(_a) {
|
|
23641
|
-
var onSearch = _a.onSearch, Icon = _a.Icon, children = _a.children, placeholder = _a.placeholder, _b = _a.containerClass, containerClass = _b === void 0 ? '' : _b, _c = _a.iconClass, iconClass = _c === void 0 ? '' : _c, _d = _a.inputClass, inputClass = _d === void 0 ? '' : _d, _e = _a.debounceTimeout, debounceTimeout = _e === void 0 ? 500 : _e, clearSearch = _a.clearSearch, _f = _a.showClearIcon, showClearIcon = _f === void 0 ? true : _f;
|
|
23642
|
-
var
|
|
23638
|
+
var onSearch = _a.onSearch, Icon = _a.Icon, children = _a.children, placeholder = _a.placeholder, _b = _a.containerClass, containerClass = _b === void 0 ? '' : _b, _c = _a.iconClass, iconClass = _c === void 0 ? '' : _c, _d = _a.inputClass, inputClass = _d === void 0 ? '' : _d, _e = _a.debounceTimeout, debounceTimeout = _e === void 0 ? 500 : _e, clearSearch = _a.clearSearch, _f = _a.showClearIcon, showClearIcon = _f === void 0 ? true : _f, _g = _a.autoFocus, autoFocus = _g === void 0 ? true : _g;
|
|
23639
|
+
var _h = __read(React.useState(''), 2), searchText = _h[0], setSearchText = _h[1];
|
|
23643
23640
|
React.useEffect(function () {
|
|
23644
23641
|
setSearchText('');
|
|
23645
23642
|
}, [clearSearch]);
|
|
@@ -23650,7 +23647,7 @@ function DebouncedSearch(_a) {
|
|
|
23650
23647
|
setSearchText('');
|
|
23651
23648
|
};
|
|
23652
23649
|
useDebouncedEffect(function () { return onSearch(searchText); }, debounceTimeout, [searchText, onSearch]);
|
|
23653
|
-
return (jsxRuntime.jsxs("div", __assign({ className: containerClass }, { children: [Icon && jsxRuntime.jsx(Icon, { className: iconClass }), jsxRuntime.jsx("input", { type: "text", className: inputClass, placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : 'Search', value: searchText, onChange: handleSearchTextChange, autoFocus:
|
|
23650
|
+
return (jsxRuntime.jsxs("div", __assign({ className: containerClass }, { children: [Icon && jsxRuntime.jsx(Icon, { className: iconClass }), jsxRuntime.jsx("input", { type: "text", className: inputClass, placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : 'Search', value: searchText, onChange: handleSearchTextChange, autoFocus: autoFocus, "data-testid": "debounced-search" }), showClearIcon && !!searchText && (jsxRuntime.jsx("button", __assign({ type: "button", className: "dc__outline-none-imp dc__no-border p-0 bc-n50 flex", onClick: handleClearSearch, "data-testid": "clear-search" }, { children: jsxRuntime.jsx(SvgIcErrorCross, { className: "icon-dim-20 icon-n6" }) }))), children] })));
|
|
23654
23651
|
}
|
|
23655
23652
|
|
|
23656
23653
|
// This is meant to be a reusable component that will provide a grid like dynamic layout where xs is the number of columns out of 12 that the item will take up
|
|
@@ -23671,15 +23668,15 @@ function Grid(_a) {
|
|
|
23671
23668
|
return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, { children: children })));
|
|
23672
23669
|
}
|
|
23673
23670
|
|
|
23674
|
-
var _path
|
|
23675
|
-
function _extends
|
|
23671
|
+
var _path;
|
|
23672
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
23676
23673
|
var SvgIcCopy = function SvgIcCopy(props) {
|
|
23677
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends
|
|
23674
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
23678
23675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23679
23676
|
width: "1em",
|
|
23680
23677
|
height: "1em",
|
|
23681
23678
|
viewBox: "0 0 20 20"
|
|
23682
|
-
}, props), _path
|
|
23679
|
+
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23683
23680
|
fill: "#767D84",
|
|
23684
23681
|
fillRule: "evenodd",
|
|
23685
23682
|
d: "M15.833 6.917a2.5 2.5 0 0 1 2.5 2.5v6.416a2.5 2.5 0 0 1-2.5 2.5H9.417a2.5 2.5 0 0 1-2.5-2.5V9.417a2.5 2.5 0 0 1 2.5-2.5zm0 1.666H9.417a.833.833 0 0 0-.834.834v6.416c0 .46.373.834.834.834h6.416c.46 0 .834-.373.834-.834V9.417a.833.833 0 0 0-.834-.834zM10.75 1.667c1.24 0 2.256.968 2.33 2.19l.003.143v.75a.833.833 0 0 1-1.66.097l-.006-.097V4c0-.34-.255-.62-.583-.661l-.084-.006H4c-.34 0-.62.255-.661.583L3.333 4v6.75c0 .34.255.62.583.661l.084.006h.75a.833.833 0 0 1 .097 1.66l-.097.006H4a2.333 2.333 0 0 1-2.33-2.19l-.003-.143V4c0-1.24.968-2.256 2.19-2.33L4 1.668h6.75z"
|
|
@@ -23847,234 +23844,12 @@ function AppStatus(_a) {
|
|
|
23847
23844
|
return hideStatusMessage ? (iconClass || isVirtualEnv ? (jsxRuntime.jsx(Tippy, __assign({ className: "default-tt", arrow: false, placement: "top", content: textContent }, { children: jsxRuntime.jsx("div", __assign({ className: "flex" }, { children: renderIcon() })) }))) : (renderIcon())) : (jsxRuntime.jsxs("div", __assign({ className: "flex left" }, { children: [jsxRuntime.jsx("div", __assign({ className: "flex mr-6" }, { children: renderIcon() })), jsxRuntime.jsx("p", __assign({ "data-testid": "".concat(status, "-app-status"), className: "dc__truncate-text dc__first-letter-capitalize cn-6 m-0" }, { children: textContent }))] })));
|
|
23848
23845
|
}
|
|
23849
23846
|
|
|
23850
|
-
var FieldRowWithLabel = function (_a) {
|
|
23851
|
-
var showLabel = _a.showLabel, label = _a.label, required = _a.required, children = _a.children, id = _a.id, _b = _a.shouldAlignCenter, shouldAlignCenter = _b === void 0 ? true : _b;
|
|
23852
|
-
return (jsxRuntime.jsxs("div", __assign({ className: showLabel
|
|
23853
|
-
? "display-grid dc__gap-12 rjsf-form-template__field ".concat(shouldAlignCenter ? 'flex-align-center' : '')
|
|
23854
|
-
: '' }, { children: [showLabel && (jsxRuntime.jsx("label", __assign({ className: "cn-7 fs-13 lh-32 fw-4 flexbox mb-0", htmlFor: id }, { children: !!label && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("span", __assign({ className: "dc__ellipsis-right" }, { children: label })), required && jsxRuntime.jsx("span", __assign({ className: "cr-5" }, { children: "\u00A0*" }))] })) }))), children] })));
|
|
23855
|
-
};
|
|
23856
|
-
|
|
23857
|
-
var ActionButton = function (_a) {
|
|
23858
|
-
var canAdd = _a.canAdd, onAddClick = _a.onAddClick, disabled = _a.disabled, readonly = _a.readonly, uiSchema = _a.uiSchema, registry = _a.registry;
|
|
23859
|
-
var AddButton = registry.templates.ButtonTemplates.AddButton;
|
|
23860
|
-
return (canAdd && (jsxRuntime.jsx(AddButton, { onClick: onAddClick, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry })));
|
|
23861
|
-
};
|
|
23862
|
-
var ArrayFieldTemplate = function (_a) {
|
|
23863
|
-
var canAdd = _a.canAdd, className = _a.className, disabled = _a.disabled, idSchema = _a.idSchema, uiSchema = _a.uiSchema, items = _a.items, onAddClick = _a.onAddClick, readonly = _a.readonly, registry = _a.registry, required = _a.required, title = _a.title;
|
|
23864
|
-
var uiOptions = utils.getUiOptions(uiSchema);
|
|
23865
|
-
var ArrayFieldItemTemplate = utils.getTemplate('ArrayFieldItemTemplate', registry, uiOptions);
|
|
23866
|
-
var label = uiOptions.title || title;
|
|
23867
|
-
return (jsxRuntime.jsx("fieldset", __assign({ className: className, id: idSchema.$id }, { children: items.length ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [items.map(function (_a, index) {
|
|
23868
|
-
var key = _a.key, itemProps = __rest(_a, ["key"]);
|
|
23869
|
-
// Show the title as the label for the first field
|
|
23870
|
-
var children = __assign(__assign({}, itemProps.children), { props: __assign(__assign({}, itemProps.children.props), { name: index === 0 ? label : '' }) });
|
|
23871
|
-
return (jsxRuntime.jsx(ArrayFieldItemTemplate, __assign({}, itemProps, { children: children }), key));
|
|
23872
|
-
}), jsxRuntime.jsx(ActionButton, { canAdd: canAdd, onAddClick: onAddClick, disabled: disabled, readonly: readonly, uiSchema: uiSchema, registry: registry })] })) : (jsxRuntime.jsx(FieldRowWithLabel, __assign({ label: label, required: required, showLabel: true, id: idSchema.$id }, { children: jsxRuntime.jsx(ActionButton, { canAdd: canAdd, onAddClick: onAddClick, disabled: disabled, readonly: readonly, uiSchema: uiSchema, registry: registry }) }))) })));
|
|
23873
|
-
};
|
|
23874
|
-
|
|
23875
|
-
var ArrayFieldItemTemplate = function (_a) {
|
|
23876
|
-
var children = _a.children; _a.className; var disabled = _a.disabled, hasToolbar = _a.hasToolbar, hasRemove = _a.hasRemove, index = _a.index, onDropIndexClick = _a.onDropIndexClick, readonly = _a.readonly, registry = _a.registry, uiSchema = _a.uiSchema;
|
|
23877
|
-
var RemoveButton = registry.templates.ButtonTemplates.RemoveButton;
|
|
23878
|
-
return (jsxRuntime.jsxs("div", __assign({ className: "display-grid rjsf-form-template__array-field-item flex-align-center dc__gap-8 mb-12" }, { children: [children, hasToolbar && hasRemove && (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(RemoveButton, { disabled: disabled || readonly, onClick: onDropIndexClick(index), uiSchema: uiSchema, registry: registry }) }))] })));
|
|
23879
|
-
};
|
|
23880
|
-
|
|
23881
|
-
var PLACEHOLDERS = {
|
|
23882
|
-
SELECT: 'Please select an option',
|
|
23883
|
-
INPUT: 'Please enter an input',
|
|
23884
|
-
OBJECT_KEY: 'Please enter a value for the key',
|
|
23885
|
-
};
|
|
23886
|
-
|
|
23887
|
-
var BaseInputTemplate = RJSF.getDefaultRegistry().templates.BaseInputTemplate;
|
|
23888
|
-
var BaseInput = function (_a) {
|
|
23889
|
-
var placeholder = _a.placeholder, props = __rest(_a, ["placeholder"]);
|
|
23890
|
-
return (jsxRuntime.jsx(BaseInputTemplate, __assign({ placeholder: placeholder || PLACEHOLDERS.INPUT }, props, { className: "form__input cn-9 fs-13 lh-20 fw-4" })));
|
|
23891
|
-
};
|
|
23892
|
-
|
|
23893
|
-
var AddButton = function (_a) {
|
|
23894
|
-
_a.icon; _a.iconType; _a.registry; _a.uiSchema; var props = __rest(_a, ["icon", "iconType", "registry", "uiSchema"]);
|
|
23895
|
-
return (jsxRuntime.jsx("div", __assign({ className: "flexbox flex-justify-end" }, { children: jsxRuntime.jsxs("button", __assign({}, props, { type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex dc__gap-4 cursor", title: "Add" }, { children: [jsxRuntime.jsx(SvgIcAdd, { className: "icon-dim-16 fcb-5" }), jsxRuntime.jsx("span", __assign({ className: "cb-5 fs-13 lh-20" }, { children: "Add" }))] })) })));
|
|
23896
|
-
};
|
|
23897
|
-
|
|
23898
|
-
var RemoveButton = function (_a) {
|
|
23899
|
-
_a.icon; _a.iconType; _a.registry; _a.uiSchema; var props = __rest(_a, ["icon", "iconType", "registry", "uiSchema"]);
|
|
23900
|
-
return (jsxRuntime.jsx("button", __assign({}, props, { type: "button", className: "dc__outline-none-imp p-0 dc__transparent flex cursor", title: "Remove" }, { children: jsxRuntime.jsx(SvgIcCross, { className: "icon-dim-16 fcr-5" }) })));
|
|
23901
|
-
};
|
|
23902
|
-
|
|
23903
|
-
var SubmitButton = function (_a) {
|
|
23904
|
-
var uiSchema = _a.uiSchema;
|
|
23905
|
-
var _b = utils.getSubmitButtonOptions(uiSchema), submitText = _b.submitText, norender = _b.norender, _c = _b.props, submitButtonProps = _c === void 0 ? {} : _c;
|
|
23906
|
-
return norender ? null : (jsxRuntime.jsx("div", __assign({ className: "flexbox flex-justify-end" }, { children: jsxRuntime.jsx("button", __assign({ type: "submit" }, submitButtonProps, { className: "cta ".concat(submitButtonProps.className || '') }, { children: submitText })) })));
|
|
23907
|
-
};
|
|
23908
|
-
|
|
23909
|
-
var Description = function (_a) {
|
|
23910
|
-
var id = _a.id, description = _a.description;
|
|
23911
|
-
return description && (jsxRuntime.jsxs("div", __assign({ id: id, className: "flex left flex-align-center mt-4 dc__gap-4" }, { children: [jsxRuntime.jsx(SvgIcInfoFilled, { className: "icon-dim-16 mw-16 info-icon-n5" }), jsxRuntime.jsx("span", __assign({ className: "cn-7 fs-11 fw-4 dc__ellipsis-right" }, { children: description }))] })));
|
|
23912
|
-
};
|
|
23913
|
-
|
|
23914
|
-
var Field$1 = function (props) {
|
|
23915
|
-
var id = props.id, label = props.label, children = props.children, errors = props.errors, hidden = props.hidden, required = props.required, displayLabel = props.displayLabel, registry = props.registry, uiSchema = props.uiSchema, classNames = props.classNames, schema = props.schema, description = props.description;
|
|
23916
|
-
var uiOptions = utils.getUiOptions(uiSchema);
|
|
23917
|
-
var WrapIfAdditionalTemplate = utils.getTemplate('WrapIfAdditionalTemplate', registry, uiOptions);
|
|
23918
|
-
// Object type fields have additional properties for key/value pairs
|
|
23919
|
-
var hasAdditionalProperties = utils.ADDITIONAL_PROPERTY_FLAG in schema;
|
|
23920
|
-
// Label is not displayed for boolean fields by default and hide for object type fields
|
|
23921
|
-
var showLabel = (displayLabel || schema.type === 'boolean') && !hasAdditionalProperties;
|
|
23922
|
-
return hidden ? (jsxRuntime.jsx("div", __assign({ className: "hidden" }, { children: children }))) : (jsxRuntime.jsxs("div", __assign({ className: "".concat(classNames, " mb-12") }, { children: [jsxRuntime.jsx(FieldRowWithLabel, __assign({ label: label, showLabel: showLabel, id: id, required: required }, { children: jsxRuntime.jsx(WrapIfAdditionalTemplate, __assign({}, props, { children: children })) })), description, errors] })));
|
|
23923
|
-
};
|
|
23924
|
-
|
|
23925
|
-
var FieldErrorTemplate = function (_a) {
|
|
23926
|
-
var _b = _a.errors, errors = _b === void 0 ? [] : _b, idSchema = _a.idSchema;
|
|
23927
|
-
var id = utils.errorId(idSchema);
|
|
23928
|
-
return (errors.length > 0 && (jsxRuntime.jsx("span", __assign({ id: id }, { children: errors
|
|
23929
|
-
.filter(function (elem) { return !!elem; })
|
|
23930
|
-
.map(function (error, index) {
|
|
23931
|
-
return (jsxRuntime.jsxs("span", __assign({ className: "form__error" }, { children: [jsxRuntime.jsx(SvgIcWarning, { className: "form__icon form__icon--error" }), error] }), index));
|
|
23932
|
-
}) }))));
|
|
23933
|
-
};
|
|
23934
|
-
|
|
23935
|
-
var Field = function (_a) {
|
|
23936
|
-
var disabled = _a.disabled, formData = _a.formData, idSchema = _a.idSchema, onAddClick = _a.onAddClick, properties = _a.properties, readonly = _a.readonly, registry = _a.registry, required = _a.required, schema = _a.schema, title = _a.title, uiSchema = _a.uiSchema;
|
|
23937
|
-
var AddButton = registry.templates.ButtonTemplates.AddButton;
|
|
23938
|
-
var hasAdditionalProperties = !!schema.additionalProperties;
|
|
23939
|
-
var ActionButton = utils.canExpand(schema, uiSchema, formData) && (jsxRuntime.jsx(AddButton, { className: "object-property-expand", onClick: onAddClick(schema), disabled: disabled || readonly, uiSchema: uiSchema, registry: registry }));
|
|
23940
|
-
var Properties = properties.map(function (prop) { return prop.content; });
|
|
23941
|
-
if (hasAdditionalProperties) {
|
|
23942
|
-
if (properties.length) {
|
|
23943
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(FieldRowWithLabel, __assign({ label: title, required: required, showLabel: true, id: idSchema.$id, shouldAlignCenter: false }, { children: jsxRuntime.jsx("div", { children: Properties }) })), ActionButton] }));
|
|
23944
|
-
}
|
|
23945
|
-
else {
|
|
23946
|
-
return (jsxRuntime.jsx(FieldRowWithLabel, __assign({ label: title, required: required, showLabel: true, id: idSchema.$id }, { children: ActionButton })));
|
|
23947
|
-
}
|
|
23948
|
-
}
|
|
23949
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [Properties, ActionButton] }));
|
|
23950
|
-
};
|
|
23951
|
-
var ObjectFieldTemplate = function (props) {
|
|
23952
|
-
var idSchema = props.idSchema, registry = props.registry, required = props.required, schema = props.schema, title = props.title, uiSchema = props.uiSchema;
|
|
23953
|
-
var options = utils.getUiOptions(uiSchema);
|
|
23954
|
-
var TitleFieldTemplate = utils.getTemplate('TitleFieldTemplate', registry, options);
|
|
23955
|
-
var hasAdditionalProperties = !!schema.additionalProperties;
|
|
23956
|
-
var showTitle = title && !hasAdditionalProperties;
|
|
23957
|
-
return (jsxRuntime.jsxs("fieldset", __assign({ id: idSchema.$id }, { children: [showTitle && (jsxRuntime.jsx(TitleFieldTemplate, { id: utils.titleId(idSchema), title: title, required: required, schema: schema, uiSchema: uiSchema, registry: registry })), jsxRuntime.jsx(Field, __assign({}, props))] })));
|
|
23958
|
-
};
|
|
23959
|
-
|
|
23960
|
-
var TitleField = function (_a) {
|
|
23961
|
-
var id = _a.id, title = _a.title, required = _a.required;
|
|
23962
|
-
return (jsxRuntime.jsxs("legend", __assign({ className: "fs-13 fw-6 cn-9 lh-20 pb-8 dc__border-bottom en-1 mb-12", id: id }, { children: [jsxRuntime.jsx("span", { children: title }), required && jsxRuntime.jsx("span", __assign({ className: "cr-5" }, { children: "\u00A0*" }))] })));
|
|
23963
|
-
};
|
|
23964
|
-
|
|
23965
|
-
var WrapIfAdditionalTemplate = function (_a) {
|
|
23966
|
-
var id = _a.id, disabled = _a.disabled, label = _a.label, onKeyChange = _a.onKeyChange, onDropPropertyClick = _a.onDropPropertyClick, readonly = _a.readonly, schema = _a.schema, children = _a.children, uiSchema = _a.uiSchema, registry = _a.registry;
|
|
23967
|
-
var templates = registry.templates;
|
|
23968
|
-
var RemoveButton = templates.ButtonTemplates.RemoveButton;
|
|
23969
|
-
var additional = utils.ADDITIONAL_PROPERTY_FLAG in schema;
|
|
23970
|
-
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: additional ? (jsxRuntime.jsxs("div", __assign({ className: "rjsf-form-template__additional-fields display-grid dc__gap-8 flex-align-center" }, { children: [jsxRuntime.jsx("div", { children: jsxRuntime.jsx("input", { type: "text", className: "form__input cn-9 fs-13 lh-20 fw-4", id: "".concat(id, "-key"), onBlur: function (event) { return onKeyChange(event.target.value); }, placeholder: PLACEHOLDERS.OBJECT_KEY, defaultValue: label }) }), jsxRuntime.jsx("div", { children: children }), jsxRuntime.jsx("div", { children: jsxRuntime.jsx(RemoveButton, { disabled: disabled || readonly, onClick: onDropPropertyClick(label), uiSchema: uiSchema, registry: registry }) })] }))) : (children) }));
|
|
23971
|
-
};
|
|
23972
|
-
|
|
23973
|
-
var Checkbox = function (_a) {
|
|
23974
|
-
var id = _a.id, onChange = _a.onChange, value = _a.value, required = _a.required, disabled = _a.disabled, readonly = _a.readonly, autofocus = _a.autofocus, onBlur = _a.onBlur, onFocus = _a.onFocus;
|
|
23975
|
-
var handleEvent = function (e, type) {
|
|
23976
|
-
var _a = e.target, id = _a.id, checked = _a.checked;
|
|
23977
|
-
if (type === 'blur') {
|
|
23978
|
-
onBlur(id, checked);
|
|
23979
|
-
}
|
|
23980
|
-
else if (type === 'focus') {
|
|
23981
|
-
onFocus(id, checked);
|
|
23982
|
-
}
|
|
23983
|
-
};
|
|
23984
|
-
var isSelected = typeof value === 'undefined' ? false : value;
|
|
23985
|
-
return (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Toggle, { selected: isSelected, onSelect: onChange, id: id, name: id, required: required, disabled: disabled || readonly, autoFocus: autofocus, rootClassName: "w-32 mb-0 dc__height-inherit", onBlur: function (e) { return handleEvent(e, 'blur'); }, onFocus: function (e) { return handleEvent(e, 'focus'); } }), jsxRuntime.jsx("span", __assign({ className: "dc__capitalize ml-8" }, { children: isSelected.toString() }))] }));
|
|
23986
|
-
};
|
|
23987
|
-
|
|
23988
|
-
/**
|
|
23989
|
-
* Override for the TranslatableString from RJSF
|
|
23990
|
-
*/
|
|
23991
|
-
var translateString = function (stringToTranslate, params) {
|
|
23992
|
-
switch (stringToTranslate) {
|
|
23993
|
-
case utils.TranslatableString.NewStringDefault:
|
|
23994
|
-
// Use an empty string for the new additionalProperties string default value
|
|
23995
|
-
return '';
|
|
23996
|
-
default:
|
|
23997
|
-
return utils.englishStringTranslator(stringToTranslate, params);
|
|
23998
|
-
}
|
|
23999
|
-
};
|
|
24000
|
-
var getCommonSelectStyle = function (styleOverrides) {
|
|
24001
|
-
if (styleOverrides === void 0) { styleOverrides = {}; }
|
|
24002
|
-
return __assign({ menuList: function (base) { return (__assign(__assign({}, base), { paddingTop: 0, paddingBottom: 0 })); }, control: function (base, state) { return (__assign(__assign({}, base), { minHeight: '32px', boxShadow: 'none', backgroundColor: 'var(--N50)', border: state.isFocused ? '1px solid var(--B500)' : '1px solid var(--N200)', cursor: 'pointer' })); }, option: function (base, state) { return (__assign(__assign({}, base), { color: 'var(--N900)', backgroundColor: state.isFocused ? 'var(--N100)' : 'white', padding: '10px 12px' })); }, dropdownIndicator: function (base, state) { return (__assign(__assign({}, base), { color: 'var(--N400)', padding: '0 8px', transition: 'all .2s ease', transform: state.selectProps.menuIsOpen ? 'rotate(180deg)' : 'rotate(0deg)' })); }, valueContainer: function (base) { return (__assign(__assign({}, base), { padding: '0 8px', fontWeight: '400' })); }, loadingMessage: function (base) { return (__assign(__assign({}, base), { color: 'var(--N600)' })); }, noOptionsMessage: function (base) { return (__assign(__assign({}, base), { color: 'var(--N600)' })); } }, styleOverrides);
|
|
24003
|
-
};
|
|
24004
|
-
|
|
24005
|
-
var _path;
|
|
24006
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
24007
|
-
var SvgIcChevronDown = function SvgIcChevronDown(props) {
|
|
24008
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
24009
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
24010
|
-
width: "1em",
|
|
24011
|
-
height: "1em",
|
|
24012
|
-
viewBox: "0 0 24 24"
|
|
24013
|
-
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24014
|
-
fill: "#999",
|
|
24015
|
-
className: "ic-chevron-down_svg__fill-color",
|
|
24016
|
-
fillRule: "nonzero",
|
|
24017
|
-
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
24018
|
-
})));
|
|
24019
|
-
};
|
|
24020
|
-
|
|
24021
|
-
var commonStyles = getCommonSelectStyle();
|
|
24022
|
-
var MenuList = function (_a) {
|
|
24023
|
-
var children = _a.children, props = __rest(_a, ["children"]);
|
|
24024
|
-
return (jsxRuntime.jsx(components.MenuList, __assign({}, props, { children: Array.isArray(children) ? children.slice(0, 20) : children })));
|
|
24025
|
-
};
|
|
24026
|
-
var DropdownIndicator = function (props) { return (jsxRuntime.jsx(components.DropdownIndicator, __assign({}, props, { children: jsxRuntime.jsx(SvgIcChevronDown, { className: "icon-dim-20 icon-n5", "data-testid": "overview-project-edit-dropdown" }) }))); };
|
|
24027
|
-
var Select = function (props) {
|
|
24028
|
-
var id = props.id, _a = props.multiple, multiple = _a === void 0 ? false : _a, options = props.options, value = props.value, disabled = props.disabled, readonly = props.readonly, _b = props.autofocus, autofocus = _b === void 0 ? false : _b, onChange = props.onChange, onBlur = props.onBlur, onFocus = props.onFocus, placeholder = props.placeholder;
|
|
24029
|
-
var _c = options.enumOptions, selectOptions = _c === void 0 ? [] : _c;
|
|
24030
|
-
var emptyValue = multiple ? [] : '';
|
|
24031
|
-
var handleChange = function (option) {
|
|
24032
|
-
onChange(multiple ? option.map(function (o) { return o.value; }) : option.value);
|
|
24033
|
-
};
|
|
24034
|
-
var getOption = function (value) {
|
|
24035
|
-
return multiple
|
|
24036
|
-
? selectOptions.filter(function (option) { return value.includes(option.value); })
|
|
24037
|
-
: selectOptions.find(function (option) { return option.value === value; });
|
|
24038
|
-
};
|
|
24039
|
-
return (jsxRuntime.jsx(ReactSelect, { id: id, name: id, isMulti: multiple, value: typeof value === 'undefined' ? emptyValue : getOption(value), autoFocus: autofocus, onChange: handleChange, options: selectOptions, onBlur: function () { return onBlur(id, value); }, onFocus: function () { return onFocus(id, value); }, placeholder: placeholder || PLACEHOLDERS.SELECT, isDisabled: disabled || readonly, styles: __assign(__assign({}, commonStyles), { control: function (base) { return (__assign(__assign(__assign({}, base), commonStyles.control), { backgroundColor: 'var(--N50)' })); } }), components: {
|
|
24040
|
-
IndicatorSeparator: null,
|
|
24041
|
-
DropdownIndicator: DropdownIndicator,
|
|
24042
|
-
MenuList: MenuList,
|
|
24043
|
-
}, menuPlacement: "auto" }));
|
|
24044
|
-
};
|
|
24045
|
-
|
|
24046
|
-
var widgets = {
|
|
24047
|
-
CheckboxWidget: Checkbox,
|
|
24048
|
-
SelectWidget: Select,
|
|
24049
|
-
};
|
|
24050
|
-
var templates = {
|
|
24051
|
-
ArrayFieldItemTemplate: ArrayFieldItemTemplate,
|
|
24052
|
-
ArrayFieldTemplate: ArrayFieldTemplate,
|
|
24053
|
-
BaseInputTemplate: BaseInput,
|
|
24054
|
-
ButtonTemplates: { AddButton: AddButton, RemoveButton: RemoveButton, SubmitButton: SubmitButton },
|
|
24055
|
-
DescriptionFieldTemplate: Description,
|
|
24056
|
-
FieldTemplate: Field$1,
|
|
24057
|
-
FieldErrorTemplate: FieldErrorTemplate,
|
|
24058
|
-
ObjectFieldTemplate: ObjectFieldTemplate,
|
|
24059
|
-
TitleFieldTemplate: TitleField,
|
|
24060
|
-
WrapIfAdditionalTemplate: WrapIfAdditionalTemplate,
|
|
24061
|
-
};
|
|
24062
|
-
|
|
24063
|
-
var css_248z = ".rjsf-form-template__field {\n grid-template-columns: 250px 1fr;\n}\n.rjsf-form-template__additional-fields {\n grid-template-columns: 1fr 1fr minmax(20px, auto);\n}\n.rjsf-form-template__array-field-item {\n grid-template-columns: 1fr auto;\n}\n.rjsf-form-template__array-field-item :first-child {\n margin: 0;\n}";
|
|
24064
|
-
styleInject(css_248z);
|
|
24065
|
-
|
|
24066
|
-
// Need to use this way because the default import was not working as expected
|
|
24067
|
-
// The default import resolves to an object intead of a function
|
|
24068
|
-
var Form = RJSF.default;
|
|
24069
|
-
var validator = RJSFValidator.default;
|
|
24070
|
-
var RJSFForm = function (props) { return (jsxRuntime.jsx(Form, __assign({ noHtml5Validate: true, showErrorList: false, autoComplete: "off" }, props, { validator: validator, templates: __assign(__assign({}, templates), props.templates), widgets: __assign(__assign({}, widgets), props.widgets), translateString: translateString }))); };
|
|
24071
|
-
|
|
24072
23847
|
exports.AppStatus = AppStatus;
|
|
24073
23848
|
exports.BreadCrumb = BreadCrumb;
|
|
24074
23849
|
exports.BreadcrumbStore = Store;
|
|
24075
23850
|
exports.BuildStageVariable = BuildStageVariable;
|
|
24076
23851
|
exports.CDModalTab = CDModalTab;
|
|
24077
|
-
exports.Checkbox = Checkbox
|
|
23852
|
+
exports.Checkbox = Checkbox;
|
|
24078
23853
|
exports.ClearIndicator = ClearIndicator;
|
|
24079
23854
|
exports.ClipboardButton = ClipboardButton;
|
|
24080
23855
|
exports.ConditionalWrap = ConditionalWrap;
|
|
@@ -24113,7 +23888,6 @@ exports.PopupMenu = PopupMenu;
|
|
|
24113
23888
|
exports.Progressing = Progressing;
|
|
24114
23889
|
exports.PropagateTagInfo = PropagateTagInfo;
|
|
24115
23890
|
exports.REGISTRY_TYPE_MAP = REGISTRY_TYPE_MAP;
|
|
24116
|
-
exports.RJSFForm = RJSFForm;
|
|
24117
23891
|
exports.ROUTES = ROUTES;
|
|
24118
23892
|
exports.RadioGroup = RadioGroup$1;
|
|
24119
23893
|
exports.RadioGroupItem = RadioGroupItem;
|