@devtron-labs/devtron-fe-common-lib 0.0.40-beta-3 → 0.0.40-beta-4
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/Helper.d.ts +0 -7
- package/dist/Common/Types.d.ts +1 -1
- package/dist/Common/index.d.ts +0 -1
- package/dist/index.js +151 -394
- package/package.json +1 -4
- package/src/Common/DebouncedSearch/DebouncedSearch.tsx +2 -1
- package/src/Common/DebouncedSearch/Types.ts +1 -0
- package/src/Common/Helper.tsx +0 -17
- package/src/Common/Types.ts +1 -1
- 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",
|
|
@@ -10250,22 +10247,6 @@ var processDeployedTime = function (lastDeployed, isArgoInstalled) {
|
|
|
10250
10247
|
else {
|
|
10251
10248
|
return isArgoInstalled ? '' : 'Not deployed';
|
|
10252
10249
|
}
|
|
10253
|
-
};
|
|
10254
|
-
/**
|
|
10255
|
-
* Appends search parameters to the url as a query string
|
|
10256
|
-
*
|
|
10257
|
-
* @param url URL to which the search params needs to be added
|
|
10258
|
-
* @param params Object for the search parameters
|
|
10259
|
-
*/
|
|
10260
|
-
var getUrlWithSearchParams = function (url, params) {
|
|
10261
|
-
var searchParams = new URLSearchParams();
|
|
10262
|
-
Object.keys(params).forEach(function (key) {
|
|
10263
|
-
if (params[key]) {
|
|
10264
|
-
searchParams.append(key, params[key]);
|
|
10265
|
-
}
|
|
10266
|
-
});
|
|
10267
|
-
var queryString = searchParams.toString();
|
|
10268
|
-
return url + (queryString ? "?".concat(queryString) : '');
|
|
10269
10250
|
};
|
|
10270
10251
|
|
|
10271
10252
|
function Progressing(_a) {
|
|
@@ -10318,8 +10299,8 @@ var VisibleModal = /** @class */ (function (_super) {
|
|
|
10318
10299
|
return VisibleModal;
|
|
10319
10300
|
}(React.Component));
|
|
10320
10301
|
|
|
10321
|
-
var css_248z$
|
|
10322
|
-
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);
|
|
10323
10304
|
|
|
10324
10305
|
var Drawer = function (_a) {
|
|
10325
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;
|
|
@@ -10393,16 +10374,16 @@ var Modal = function (_a) {
|
|
|
10393
10374
|
}, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
|
|
10394
10375
|
};
|
|
10395
10376
|
|
|
10396
|
-
var _path$
|
|
10397
|
-
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); }
|
|
10398
10379
|
var SvgIcCross = function SvgIcCross(props) {
|
|
10399
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
10380
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
10400
10381
|
width: "1em",
|
|
10401
10382
|
height: "1em",
|
|
10402
10383
|
viewBox: "0 0 24 24",
|
|
10403
10384
|
fill: "none",
|
|
10404
10385
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10405
|
-
}, props), _path$
|
|
10386
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
10406
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",
|
|
10407
10388
|
fill: "#596168"
|
|
10408
10389
|
})));
|
|
@@ -14701,38 +14682,38 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
|
|
|
14701
14682
|
|
|
14702
14683
|
var Tippy = index;
|
|
14703
14684
|
|
|
14704
|
-
var _path$
|
|
14705
|
-
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); }
|
|
14706
14687
|
var SvgIcHelp = function SvgIcHelp(props) {
|
|
14707
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14688
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
14708
14689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14709
14690
|
width: "1em",
|
|
14710
14691
|
height: "1em",
|
|
14711
14692
|
viewBox: "0 0 24 24"
|
|
14712
|
-
}, props), _path$
|
|
14693
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14713
14694
|
fill: "#767D84",
|
|
14714
14695
|
fillRule: "evenodd",
|
|
14715
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"
|
|
14716
14697
|
})));
|
|
14717
14698
|
};
|
|
14718
14699
|
|
|
14719
|
-
var _path$
|
|
14720
|
-
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); }
|
|
14721
14702
|
var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
|
|
14722
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14703
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
14723
14704
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14724
14705
|
viewBox: "0 0 17 16",
|
|
14725
14706
|
width: "1em",
|
|
14726
14707
|
height: "1em"
|
|
14727
|
-
}, props), _path$
|
|
14708
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14728
14709
|
fill: "#767D84",
|
|
14729
14710
|
fillRule: "evenodd",
|
|
14730
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"
|
|
14731
14712
|
})));
|
|
14732
14713
|
};
|
|
14733
14714
|
|
|
14734
|
-
var css_248z$
|
|
14735
|
-
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);
|
|
14736
14717
|
|
|
14737
14718
|
// This component will handle some of the new tippy designs and interactions
|
|
14738
14719
|
// So this can be updated to support further for new features or interactions
|
|
@@ -14776,16 +14757,16 @@ function TippyCustomized(props) {
|
|
|
14776
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 })));
|
|
14777
14758
|
}
|
|
14778
14759
|
|
|
14779
|
-
var _path$
|
|
14780
|
-
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); }
|
|
14781
14762
|
var SvgInjectTag = function SvgInjectTag(props) {
|
|
14782
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14763
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
14783
14764
|
width: "1em",
|
|
14784
14765
|
height: "1em",
|
|
14785
14766
|
viewBox: "0 0 20 20",
|
|
14786
14767
|
fill: "none",
|
|
14787
14768
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14788
|
-
}, props), _path$
|
|
14769
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14789
14770
|
d: "M10 10H3.333",
|
|
14790
14771
|
stroke: "#596168",
|
|
14791
14772
|
strokeWidth: 1.5,
|
|
@@ -14813,15 +14794,15 @@ function PropagateTagInfo(_a) {
|
|
|
14813
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" })] })) })));
|
|
14814
14795
|
}
|
|
14815
14796
|
|
|
14816
|
-
var _path$
|
|
14817
|
-
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); }
|
|
14818
14799
|
var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
|
|
14819
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
14800
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
14820
14801
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14821
14802
|
width: "1em",
|
|
14822
14803
|
height: "1em",
|
|
14823
14804
|
viewBox: "0 0 20 20"
|
|
14824
|
-
}, props), _path$
|
|
14805
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
14825
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",
|
|
14826
14807
|
fill: "#06C",
|
|
14827
14808
|
fillRule: "evenodd"
|
|
@@ -15055,15 +15036,15 @@ var TagDetails = function (_a) {
|
|
|
15055
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" }) }))] })));
|
|
15056
15037
|
};
|
|
15057
15038
|
|
|
15058
|
-
var _path$
|
|
15059
|
-
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); }
|
|
15060
15041
|
var SvgIcAdd = function SvgIcAdd(props) {
|
|
15061
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
15042
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
15062
15043
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15063
15044
|
width: "1em",
|
|
15064
15045
|
height: "1em",
|
|
15065
15046
|
viewBox: "0 0 24 24"
|
|
15066
|
-
}, props), _path$
|
|
15047
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
15067
15048
|
className: "ic-add_svg__fill-color",
|
|
15068
15049
|
fill: "#999",
|
|
15069
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"
|
|
@@ -15181,8 +15162,8 @@ function ForceDeleteDialog(_a) {
|
|
|
15181
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?" })] }) })) }));
|
|
15182
15163
|
}
|
|
15183
15164
|
|
|
15184
|
-
function _extends$
|
|
15185
|
-
_extends$
|
|
15165
|
+
function _extends$b() {
|
|
15166
|
+
_extends$b = Object.assign ? Object.assign.bind() : function (target) {
|
|
15186
15167
|
for (var i = 1; i < arguments.length; i++) {
|
|
15187
15168
|
var source = arguments[i];
|
|
15188
15169
|
for (var key in source) {
|
|
@@ -15193,7 +15174,7 @@ function _extends$c() {
|
|
|
15193
15174
|
}
|
|
15194
15175
|
return target;
|
|
15195
15176
|
};
|
|
15196
|
-
return _extends$
|
|
15177
|
+
return _extends$b.apply(this, arguments);
|
|
15197
15178
|
}
|
|
15198
15179
|
|
|
15199
15180
|
/*
|
|
@@ -18734,7 +18715,7 @@ var Menu = function Menu(props) {
|
|
|
18734
18715
|
getStyles = props.getStyles,
|
|
18735
18716
|
innerRef = props.innerRef,
|
|
18736
18717
|
innerProps = props.innerProps;
|
|
18737
|
-
return jsx("div", _extends$
|
|
18718
|
+
return jsx("div", _extends$b({
|
|
18738
18719
|
css: getStyles('menu', props),
|
|
18739
18720
|
className: cx({
|
|
18740
18721
|
menu: true
|
|
@@ -18758,7 +18739,7 @@ var menuListCSS = function menuListCSS(_ref4) {
|
|
|
18758
18739
|
WebkitOverflowScrolling: 'touch'
|
|
18759
18740
|
};
|
|
18760
18741
|
};
|
|
18761
|
-
var MenuList
|
|
18742
|
+
var MenuList = function MenuList(props) {
|
|
18762
18743
|
var children = props.children,
|
|
18763
18744
|
className = props.className,
|
|
18764
18745
|
cx = props.cx,
|
|
@@ -18766,7 +18747,7 @@ var MenuList$1 = function MenuList(props) {
|
|
|
18766
18747
|
innerProps = props.innerProps,
|
|
18767
18748
|
innerRef = props.innerRef,
|
|
18768
18749
|
isMulti = props.isMulti;
|
|
18769
|
-
return jsx("div", _extends$
|
|
18750
|
+
return jsx("div", _extends$b({
|
|
18770
18751
|
css: getStyles('menuList', props),
|
|
18771
18752
|
className: cx({
|
|
18772
18753
|
'menu-list': true,
|
|
@@ -18797,7 +18778,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
|
|
|
18797
18778
|
cx = props.cx,
|
|
18798
18779
|
getStyles = props.getStyles,
|
|
18799
18780
|
innerProps = props.innerProps;
|
|
18800
|
-
return jsx("div", _extends$
|
|
18781
|
+
return jsx("div", _extends$b({
|
|
18801
18782
|
css: getStyles('noOptionsMessage', props),
|
|
18802
18783
|
className: cx({
|
|
18803
18784
|
'menu-notice': true,
|
|
@@ -18814,7 +18795,7 @@ var LoadingMessage = function LoadingMessage(props) {
|
|
|
18814
18795
|
cx = props.cx,
|
|
18815
18796
|
getStyles = props.getStyles,
|
|
18816
18797
|
innerProps = props.innerProps;
|
|
18817
|
-
return jsx("div", _extends$
|
|
18798
|
+
return jsx("div", _extends$b({
|
|
18818
18799
|
css: getStyles('loadingMessage', props),
|
|
18819
18800
|
className: cx({
|
|
18820
18801
|
'menu-notice': true,
|
|
@@ -18902,7 +18883,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
18902
18883
|
rect: rect
|
|
18903
18884
|
}; // same wrapper element whether fixed or portalled
|
|
18904
18885
|
|
|
18905
|
-
var menuWrapper = jsx("div", _extends$
|
|
18886
|
+
var menuWrapper = jsx("div", _extends$b({
|
|
18906
18887
|
css: getStyles('menuPortal', state),
|
|
18907
18888
|
className: cx({
|
|
18908
18889
|
'menu-portal': true
|
|
@@ -18938,7 +18919,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
18938
18919
|
innerProps = props.innerProps,
|
|
18939
18920
|
isDisabled = props.isDisabled,
|
|
18940
18921
|
isRtl = props.isRtl;
|
|
18941
|
-
return jsx("div", _extends$
|
|
18922
|
+
return jsx("div", _extends$b({
|
|
18942
18923
|
css: getStyles('container', props),
|
|
18943
18924
|
className: cx({
|
|
18944
18925
|
'--is-disabled': isDisabled,
|
|
@@ -18973,7 +18954,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
18973
18954
|
isMulti = props.isMulti,
|
|
18974
18955
|
getStyles = props.getStyles,
|
|
18975
18956
|
hasValue = props.hasValue;
|
|
18976
|
-
return jsx("div", _extends$
|
|
18957
|
+
return jsx("div", _extends$b({
|
|
18977
18958
|
css: getStyles('valueContainer', props),
|
|
18978
18959
|
className: cx({
|
|
18979
18960
|
'value-container': true,
|
|
@@ -18999,7 +18980,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
|
18999
18980
|
cx = props.cx,
|
|
19000
18981
|
innerProps = props.innerProps,
|
|
19001
18982
|
getStyles = props.getStyles;
|
|
19002
|
-
return jsx("div", _extends$
|
|
18983
|
+
return jsx("div", _extends$b({
|
|
19003
18984
|
css: getStyles('indicatorsContainer', props),
|
|
19004
18985
|
className: cx({
|
|
19005
18986
|
indicators: true
|
|
@@ -19030,7 +19011,7 @@ var Svg = function Svg(_ref) {
|
|
|
19030
19011
|
var size = _ref.size,
|
|
19031
19012
|
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
19032
19013
|
|
|
19033
|
-
return jsx("svg", _extends$
|
|
19014
|
+
return jsx("svg", _extends$b({
|
|
19034
19015
|
height: size,
|
|
19035
19016
|
width: size,
|
|
19036
19017
|
viewBox: "0 0 20 20",
|
|
@@ -19041,14 +19022,14 @@ var Svg = function Svg(_ref) {
|
|
|
19041
19022
|
};
|
|
19042
19023
|
|
|
19043
19024
|
var CrossIcon = function CrossIcon(props) {
|
|
19044
|
-
return jsx(Svg, _extends$
|
|
19025
|
+
return jsx(Svg, _extends$b({
|
|
19045
19026
|
size: 20
|
|
19046
19027
|
}, props), jsx("path", {
|
|
19047
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"
|
|
19048
19029
|
}));
|
|
19049
19030
|
};
|
|
19050
19031
|
var DownChevron = function DownChevron(props) {
|
|
19051
|
-
return jsx(Svg, _extends$
|
|
19032
|
+
return jsx(Svg, _extends$b({
|
|
19052
19033
|
size: 20
|
|
19053
19034
|
}, props), jsx("path", {
|
|
19054
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"
|
|
@@ -19075,13 +19056,13 @@ var baseCSS = function baseCSS(_ref3) {
|
|
|
19075
19056
|
};
|
|
19076
19057
|
|
|
19077
19058
|
var dropdownIndicatorCSS = baseCSS;
|
|
19078
|
-
var DropdownIndicator
|
|
19059
|
+
var DropdownIndicator = function DropdownIndicator(props) {
|
|
19079
19060
|
var children = props.children,
|
|
19080
19061
|
className = props.className,
|
|
19081
19062
|
cx = props.cx,
|
|
19082
19063
|
getStyles = props.getStyles,
|
|
19083
19064
|
innerProps = props.innerProps;
|
|
19084
|
-
return jsx("div", _extends$
|
|
19065
|
+
return jsx("div", _extends$b({
|
|
19085
19066
|
css: getStyles('dropdownIndicator', props),
|
|
19086
19067
|
className: cx({
|
|
19087
19068
|
indicator: true,
|
|
@@ -19096,7 +19077,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
|
|
|
19096
19077
|
cx = props.cx,
|
|
19097
19078
|
getStyles = props.getStyles,
|
|
19098
19079
|
innerProps = props.innerProps;
|
|
19099
|
-
return jsx("div", _extends$
|
|
19080
|
+
return jsx("div", _extends$b({
|
|
19100
19081
|
css: getStyles('clearIndicator', props),
|
|
19101
19082
|
className: cx({
|
|
19102
19083
|
indicator: true,
|
|
@@ -19126,7 +19107,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
|
19126
19107
|
cx = props.cx,
|
|
19127
19108
|
getStyles = props.getStyles,
|
|
19128
19109
|
innerProps = props.innerProps;
|
|
19129
|
-
return jsx("span", _extends$
|
|
19110
|
+
return jsx("span", _extends$b({}, innerProps, {
|
|
19130
19111
|
css: getStyles('indicatorSeparator', props),
|
|
19131
19112
|
className: cx({
|
|
19132
19113
|
'indicator-separator': true
|
|
@@ -19181,7 +19162,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
|
19181
19162
|
getStyles = props.getStyles,
|
|
19182
19163
|
innerProps = props.innerProps,
|
|
19183
19164
|
isRtl = props.isRtl;
|
|
19184
|
-
return jsx("div", _extends$
|
|
19165
|
+
return jsx("div", _extends$b({
|
|
19185
19166
|
css: getStyles('loadingIndicator', props),
|
|
19186
19167
|
className: cx({
|
|
19187
19168
|
indicator: true,
|
|
@@ -19242,7 +19223,7 @@ var Control = function Control(props) {
|
|
|
19242
19223
|
innerRef = props.innerRef,
|
|
19243
19224
|
innerProps = props.innerProps,
|
|
19244
19225
|
menuIsOpen = props.menuIsOpen;
|
|
19245
|
-
return jsx("div", _extends$
|
|
19226
|
+
return jsx("div", _extends$b({
|
|
19246
19227
|
ref: innerRef,
|
|
19247
19228
|
css: getStyles('control', props),
|
|
19248
19229
|
className: cx({
|
|
@@ -19274,12 +19255,12 @@ var Group = function Group(props) {
|
|
|
19274
19255
|
label = props.label,
|
|
19275
19256
|
theme = props.theme,
|
|
19276
19257
|
selectProps = props.selectProps;
|
|
19277
|
-
return jsx("div", _extends$
|
|
19258
|
+
return jsx("div", _extends$b({
|
|
19278
19259
|
css: getStyles('group', props),
|
|
19279
19260
|
className: cx({
|
|
19280
19261
|
group: true
|
|
19281
19262
|
}, className)
|
|
19282
|
-
}, innerProps), jsx(Heading, _extends$
|
|
19263
|
+
}, innerProps), jsx(Heading, _extends$b({}, headingProps, {
|
|
19283
19264
|
selectProps: selectProps,
|
|
19284
19265
|
theme: theme,
|
|
19285
19266
|
getStyles: getStyles,
|
|
@@ -19311,7 +19292,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
19311
19292
|
_cleanCommonProps.data;
|
|
19312
19293
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
19313
19294
|
|
|
19314
|
-
return jsx("div", _extends$
|
|
19295
|
+
return jsx("div", _extends$b({
|
|
19315
19296
|
css: getStyles('groupHeading', props),
|
|
19316
19297
|
className: cx({
|
|
19317
19298
|
'group-heading': true
|
|
@@ -19387,7 +19368,7 @@ var Input = function Input(props) {
|
|
|
19387
19368
|
}, className),
|
|
19388
19369
|
css: getStyles('input', props),
|
|
19389
19370
|
"data-value": value || ''
|
|
19390
|
-
}, jsx("input", _extends$
|
|
19371
|
+
}, jsx("input", _extends$b({
|
|
19391
19372
|
className: cx({
|
|
19392
19373
|
input: true
|
|
19393
19374
|
}, inputClassName),
|
|
@@ -19457,7 +19438,7 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
19457
19438
|
function MultiValueRemove$1(_ref5) {
|
|
19458
19439
|
var children = _ref5.children,
|
|
19459
19440
|
innerProps = _ref5.innerProps;
|
|
19460
|
-
return jsx("div", _extends$
|
|
19441
|
+
return jsx("div", _extends$b({
|
|
19461
19442
|
role: "button"
|
|
19462
19443
|
}, innerProps), children || jsx(CrossIcon, {
|
|
19463
19444
|
size: 14
|
|
@@ -19546,7 +19527,7 @@ var Option$1 = function Option(props) {
|
|
|
19546
19527
|
isSelected = props.isSelected,
|
|
19547
19528
|
innerRef = props.innerRef,
|
|
19548
19529
|
innerProps = props.innerProps;
|
|
19549
|
-
return jsx("div", _extends$
|
|
19530
|
+
return jsx("div", _extends$b({
|
|
19550
19531
|
css: getStyles('option', props),
|
|
19551
19532
|
className: cx({
|
|
19552
19533
|
option: true,
|
|
@@ -19578,7 +19559,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
19578
19559
|
cx = props.cx,
|
|
19579
19560
|
getStyles = props.getStyles,
|
|
19580
19561
|
innerProps = props.innerProps;
|
|
19581
|
-
return jsx("div", _extends$
|
|
19562
|
+
return jsx("div", _extends$b({
|
|
19582
19563
|
css: getStyles('placeholder', props),
|
|
19583
19564
|
className: cx({
|
|
19584
19565
|
placeholder: true
|
|
@@ -19611,7 +19592,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
19611
19592
|
getStyles = props.getStyles,
|
|
19612
19593
|
isDisabled = props.isDisabled,
|
|
19613
19594
|
innerProps = props.innerProps;
|
|
19614
|
-
return jsx("div", _extends$
|
|
19595
|
+
return jsx("div", _extends$b({
|
|
19615
19596
|
css: getStyles('singleValue', props),
|
|
19616
19597
|
className: cx({
|
|
19617
19598
|
'single-value': true,
|
|
@@ -19623,7 +19604,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
19623
19604
|
var components = {
|
|
19624
19605
|
ClearIndicator: ClearIndicator$1,
|
|
19625
19606
|
Control: Control,
|
|
19626
|
-
DropdownIndicator: DropdownIndicator
|
|
19607
|
+
DropdownIndicator: DropdownIndicator,
|
|
19627
19608
|
DownChevron: DownChevron,
|
|
19628
19609
|
CrossIcon: CrossIcon,
|
|
19629
19610
|
Group: Group,
|
|
@@ -19633,7 +19614,7 @@ var components = {
|
|
|
19633
19614
|
Input: Input,
|
|
19634
19615
|
LoadingIndicator: LoadingIndicator,
|
|
19635
19616
|
Menu: Menu,
|
|
19636
|
-
MenuList: MenuList
|
|
19617
|
+
MenuList: MenuList,
|
|
19637
19618
|
MenuPortal: MenuPortal,
|
|
19638
19619
|
LoadingMessage: LoadingMessage,
|
|
19639
19620
|
NoOptionsMessage: NoOptionsMessage,
|
|
@@ -19859,7 +19840,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
19859
19840
|
};
|
|
19860
19841
|
|
|
19861
19842
|
var A11yText = function A11yText(props) {
|
|
19862
|
-
return jsx("span", _extends$
|
|
19843
|
+
return jsx("span", _extends$b({
|
|
19863
19844
|
css: _ref
|
|
19864
19845
|
}, props));
|
|
19865
19846
|
};
|
|
@@ -20395,7 +20376,7 @@ function DummyInput(_ref) {
|
|
|
20395
20376
|
var innerRef = _ref.innerRef,
|
|
20396
20377
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
20397
20378
|
|
|
20398
|
-
return jsx("input", _extends$
|
|
20379
|
+
return jsx("input", _extends$b({
|
|
20399
20380
|
ref: innerRef
|
|
20400
20381
|
}, props, {
|
|
20401
20382
|
css: /*#__PURE__*/css$2({
|
|
@@ -22030,7 +22011,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22030
22011
|
|
|
22031
22012
|
if (!isSearchable) {
|
|
22032
22013
|
// use a dummy input to maintain focus/blur functionality
|
|
22033
|
-
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$
|
|
22014
|
+
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$b({
|
|
22034
22015
|
id: id,
|
|
22035
22016
|
innerRef: this.getInputRef,
|
|
22036
22017
|
onBlur: this.onInputBlur,
|
|
@@ -22044,7 +22025,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22044
22025
|
}, ariaAttributes));
|
|
22045
22026
|
}
|
|
22046
22027
|
|
|
22047
|
-
return /*#__PURE__*/React__namespace.createElement(Input, _extends$
|
|
22028
|
+
return /*#__PURE__*/React__namespace.createElement(Input, _extends$b({}, commonProps, {
|
|
22048
22029
|
autoCapitalize: "none",
|
|
22049
22030
|
autoComplete: "off",
|
|
22050
22031
|
autoCorrect: "off",
|
|
@@ -22088,7 +22069,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22088
22069
|
isFocused = _this$state5.isFocused;
|
|
22089
22070
|
|
|
22090
22071
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
22091
|
-
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$
|
|
22072
|
+
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$b({}, commonProps, {
|
|
22092
22073
|
key: "placeholder",
|
|
22093
22074
|
isDisabled: isDisabled,
|
|
22094
22075
|
isFocused: isFocused,
|
|
@@ -22102,7 +22083,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22102
22083
|
return selectValue.map(function (opt, index) {
|
|
22103
22084
|
var isOptionFocused = opt === focusedValue;
|
|
22104
22085
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
22105
|
-
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$
|
|
22086
|
+
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$b({}, commonProps, {
|
|
22106
22087
|
components: {
|
|
22107
22088
|
Container: MultiValueContainer,
|
|
22108
22089
|
Label: MultiValueLabel,
|
|
@@ -22134,7 +22115,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22134
22115
|
}
|
|
22135
22116
|
|
|
22136
22117
|
var singleValue = selectValue[0];
|
|
22137
|
-
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$
|
|
22118
|
+
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$b({}, commonProps, {
|
|
22138
22119
|
data: singleValue,
|
|
22139
22120
|
isDisabled: isDisabled
|
|
22140
22121
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -22160,7 +22141,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22160
22141
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
22161
22142
|
'aria-hidden': 'true'
|
|
22162
22143
|
};
|
|
22163
|
-
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$
|
|
22144
|
+
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$b({}, commonProps, {
|
|
22164
22145
|
innerProps: innerProps,
|
|
22165
22146
|
isFocused: isFocused
|
|
22166
22147
|
}));
|
|
@@ -22180,7 +22161,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22180
22161
|
var innerProps = {
|
|
22181
22162
|
'aria-hidden': 'true'
|
|
22182
22163
|
};
|
|
22183
|
-
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$
|
|
22164
|
+
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$b({}, commonProps, {
|
|
22184
22165
|
innerProps: innerProps,
|
|
22185
22166
|
isDisabled: isDisabled,
|
|
22186
22167
|
isFocused: isFocused
|
|
@@ -22198,7 +22179,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22198
22179
|
var commonProps = this.commonProps;
|
|
22199
22180
|
var isDisabled = this.props.isDisabled;
|
|
22200
22181
|
var isFocused = this.state.isFocused;
|
|
22201
|
-
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$
|
|
22182
|
+
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$b({}, commonProps, {
|
|
22202
22183
|
isDisabled: isDisabled,
|
|
22203
22184
|
isFocused: isFocused
|
|
22204
22185
|
}));
|
|
@@ -22218,7 +22199,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22218
22199
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
22219
22200
|
'aria-hidden': 'true'
|
|
22220
22201
|
};
|
|
22221
|
-
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$
|
|
22202
|
+
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$b({}, commonProps, {
|
|
22222
22203
|
innerProps: innerProps,
|
|
22223
22204
|
isDisabled: isDisabled,
|
|
22224
22205
|
isFocused: isFocused
|
|
@@ -22281,7 +22262,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22281
22262
|
onMouseOver: onHover,
|
|
22282
22263
|
tabIndex: -1
|
|
22283
22264
|
};
|
|
22284
|
-
return /*#__PURE__*/React__namespace.createElement(Option, _extends$
|
|
22265
|
+
return /*#__PURE__*/React__namespace.createElement(Option, _extends$b({}, commonProps, {
|
|
22285
22266
|
innerProps: innerProps,
|
|
22286
22267
|
data: data,
|
|
22287
22268
|
isDisabled: isDisabled,
|
|
@@ -22305,7 +22286,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22305
22286
|
groupIndex = item.index;
|
|
22306
22287
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
22307
22288
|
var headingId = "".concat(groupId, "-heading");
|
|
22308
|
-
return /*#__PURE__*/React__namespace.createElement(Group, _extends$
|
|
22289
|
+
return /*#__PURE__*/React__namespace.createElement(Group, _extends$b({}, commonProps, {
|
|
22309
22290
|
key: groupId,
|
|
22310
22291
|
data: _data,
|
|
22311
22292
|
options: options,
|
|
@@ -22344,12 +22325,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22344
22325
|
menuPosition: menuPosition,
|
|
22345
22326
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
22346
22327
|
};
|
|
22347
|
-
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$
|
|
22328
|
+
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$b({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
22348
22329
|
var ref = _ref4.ref,
|
|
22349
22330
|
_ref4$placerProps = _ref4.placerProps,
|
|
22350
22331
|
placement = _ref4$placerProps.placement,
|
|
22351
22332
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
22352
|
-
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$
|
|
22333
|
+
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$b({}, commonProps, menuPlacementProps, {
|
|
22353
22334
|
innerRef: ref,
|
|
22354
22335
|
innerProps: {
|
|
22355
22336
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -22364,7 +22345,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22364
22345
|
onBottomArrive: onMenuScrollToBottom,
|
|
22365
22346
|
lockEnabled: menuShouldBlockScroll
|
|
22366
22347
|
}, function (scrollTargetRef) {
|
|
22367
|
-
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$
|
|
22348
|
+
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$b({}, commonProps, {
|
|
22368
22349
|
innerRef: function innerRef(instance) {
|
|
22369
22350
|
_this4.getMenuListRef(instance);
|
|
22370
22351
|
|
|
@@ -22379,7 +22360,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22379
22360
|
// so we use the same component. the actual portalling logic is forked
|
|
22380
22361
|
// within the component based on `menuPosition`
|
|
22381
22362
|
|
|
22382
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$
|
|
22363
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$b({}, commonProps, {
|
|
22383
22364
|
appendTo: menuPortalTarget,
|
|
22384
22365
|
controlElement: this.controlRef,
|
|
22385
22366
|
menuPlacement: menuPlacement,
|
|
@@ -22444,7 +22425,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22444
22425
|
isFocused = _this$state6.isFocused,
|
|
22445
22426
|
selectValue = _this$state6.selectValue;
|
|
22446
22427
|
var focusableOptions = this.getFocusableOptions();
|
|
22447
|
-
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$
|
|
22428
|
+
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$b({}, commonProps, {
|
|
22448
22429
|
id: this.getElementId('live-region'),
|
|
22449
22430
|
ariaSelection: ariaSelection,
|
|
22450
22431
|
focusedOption: focusedOption,
|
|
@@ -22470,7 +22451,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22470
22451
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
22471
22452
|
var isFocused = this.state.isFocused;
|
|
22472
22453
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
22473
|
-
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$
|
|
22454
|
+
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$b({}, commonProps, {
|
|
22474
22455
|
className: className,
|
|
22475
22456
|
innerProps: {
|
|
22476
22457
|
id: id,
|
|
@@ -22478,7 +22459,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22478
22459
|
},
|
|
22479
22460
|
isDisabled: isDisabled,
|
|
22480
22461
|
isFocused: isFocused
|
|
22481
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$
|
|
22462
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$b({}, commonProps, {
|
|
22482
22463
|
innerRef: this.getControlRef,
|
|
22483
22464
|
innerProps: {
|
|
22484
22465
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -22487,9 +22468,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
22487
22468
|
isDisabled: isDisabled,
|
|
22488
22469
|
isFocused: isFocused,
|
|
22489
22470
|
menuIsOpen: menuIsOpen
|
|
22490
|
-
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$
|
|
22471
|
+
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$b({}, commonProps, {
|
|
22491
22472
|
isDisabled: isDisabled
|
|
22492
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$
|
|
22473
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$b({}, commonProps, {
|
|
22493
22474
|
isDisabled: isDisabled
|
|
22494
22475
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
22495
22476
|
}
|
|
@@ -22562,17 +22543,17 @@ Select$1.defaultProps = defaultProps;
|
|
|
22562
22543
|
|
|
22563
22544
|
var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
22564
22545
|
var baseSelectProps = useStateManager(props);
|
|
22565
|
-
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$
|
|
22546
|
+
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$b({
|
|
22566
22547
|
ref: ref
|
|
22567
22548
|
}, baseSelectProps));
|
|
22568
22549
|
});
|
|
22569
22550
|
|
|
22570
|
-
var
|
|
22551
|
+
var Select = StateManagedSelect;
|
|
22571
22552
|
|
|
22572
22553
|
var _g$4;
|
|
22573
|
-
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); }
|
|
22574
22555
|
var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
22575
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
22556
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
22576
22557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22577
22558
|
viewBox: "0 0 28 28",
|
|
22578
22559
|
width: "1em",
|
|
@@ -22593,15 +22574,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
|
22593
22574
|
}))));
|
|
22594
22575
|
};
|
|
22595
22576
|
|
|
22596
|
-
var _path$
|
|
22597
|
-
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); }
|
|
22598
22579
|
var SvgIcCheck = function SvgIcCheck(props) {
|
|
22599
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
22580
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
22600
22581
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22601
22582
|
width: "1em",
|
|
22602
22583
|
height: "1em",
|
|
22603
22584
|
viewBox: "0 0 24 24"
|
|
22604
|
-
}, props), _path$
|
|
22585
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
22605
22586
|
stroke: "#06C",
|
|
22606
22587
|
strokeLinecap: "round",
|
|
22607
22588
|
strokeLinejoin: "round",
|
|
@@ -22613,9 +22594,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
|
|
|
22613
22594
|
};
|
|
22614
22595
|
|
|
22615
22596
|
var _g$3;
|
|
22616
|
-
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); }
|
|
22617
22598
|
var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
|
|
22618
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
22599
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
22619
22600
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22620
22601
|
width: "1em",
|
|
22621
22602
|
height: "1em",
|
|
@@ -22677,11 +22658,11 @@ var multiSelectStyles = {
|
|
|
22677
22658
|
valueContainer: function (base, state) { return (__assign(__assign({}, base), { color: state.selectProps.menuIsOpen ? 'var(--N500)' : base.color })); },
|
|
22678
22659
|
};
|
|
22679
22660
|
var CustomSelect = function (props) {
|
|
22680
|
-
return jsxRuntime.jsx(
|
|
22661
|
+
return jsxRuntime.jsx(Select, __assign({}, props));
|
|
22681
22662
|
};
|
|
22682
22663
|
|
|
22683
|
-
var css_248z$
|
|
22684
|
-
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);
|
|
22685
22666
|
|
|
22686
22667
|
function InfoColourBar(_a) {
|
|
22687
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;
|
|
@@ -22938,7 +22919,7 @@ Valid States of Checkbox:
|
|
|
22938
22919
|
5. disabled: false, checked: true, value: INTERMIDIATE
|
|
22939
22920
|
6. disabled: false, checked: true, value: CHECKED
|
|
22940
22921
|
*/
|
|
22941
|
-
var Checkbox
|
|
22922
|
+
var Checkbox = /** @class */ (function (_super) {
|
|
22942
22923
|
__extends(Checkbox, _super);
|
|
22943
22924
|
function Checkbox() {
|
|
22944
22925
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -22951,8 +22932,8 @@ var Checkbox$1 = /** @class */ (function (_super) {
|
|
|
22951
22932
|
return Checkbox;
|
|
22952
22933
|
}(React.Component));
|
|
22953
22934
|
|
|
22954
|
-
var css_248z$
|
|
22955
|
-
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);
|
|
22956
22937
|
|
|
22957
22938
|
var Toggle = function (_a) {
|
|
22958
22939
|
var _b;
|
|
@@ -22976,8 +22957,8 @@ var Toggle = function (_a) {
|
|
|
22976
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) }) }))] })));
|
|
22977
22958
|
};
|
|
22978
22959
|
|
|
22979
|
-
var css_248z$
|
|
22980
|
-
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);
|
|
22981
22962
|
|
|
22982
22963
|
function ScanVulnerabilitiesTable(_a) {
|
|
22983
22964
|
var vulnerabilities = _a.vulnerabilities;
|
|
@@ -22992,8 +22973,8 @@ function ScanVulnerabilitiesTable(_a) {
|
|
|
22992
22973
|
})] }) })));
|
|
22993
22974
|
}
|
|
22994
22975
|
|
|
22995
|
-
var css_248z
|
|
22996
|
-
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);
|
|
22997
22978
|
|
|
22998
22979
|
var RadioContext = React.createContext(null);
|
|
22999
22980
|
function useRadioContext() {
|
|
@@ -23087,9 +23068,9 @@ exports.ConsequenceAction = void 0;
|
|
|
23087
23068
|
})(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
|
|
23088
23069
|
|
|
23089
23070
|
var _g$2;
|
|
23090
|
-
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); }
|
|
23091
23072
|
var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
|
|
23092
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23073
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
23093
23074
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23094
23075
|
width: "1em",
|
|
23095
23076
|
height: "1em",
|
|
@@ -23168,16 +23149,16 @@ function DeleteComponent(_a) {
|
|
|
23168
23149
|
return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
|
|
23169
23150
|
}
|
|
23170
23151
|
|
|
23171
|
-
var _path$
|
|
23172
|
-
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); }
|
|
23173
23154
|
var SvgIcPencil = function SvgIcPencil(props) {
|
|
23174
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23155
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
23175
23156
|
width: "1em",
|
|
23176
23157
|
height: "1em",
|
|
23177
23158
|
viewBox: "0 0 20 20",
|
|
23178
23159
|
fill: "none",
|
|
23179
23160
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23180
|
-
}, props), _path$
|
|
23161
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23181
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",
|
|
23182
23163
|
stroke: "#596168",
|
|
23183
23164
|
strokeWidth: 1.5,
|
|
@@ -23186,16 +23167,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
|
|
|
23186
23167
|
})));
|
|
23187
23168
|
};
|
|
23188
23169
|
|
|
23189
|
-
var _path$
|
|
23190
|
-
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); }
|
|
23191
23172
|
var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
23192
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23173
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
23193
23174
|
width: "1em",
|
|
23194
23175
|
height: "1em",
|
|
23195
23176
|
viewBox: "0 0 12 12",
|
|
23196
23177
|
fill: "none",
|
|
23197
23178
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23198
|
-
}, props), _path$
|
|
23179
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23199
23180
|
d: "M3.742 4.674h-2.25v-2.25",
|
|
23200
23181
|
fill: "#767D84"
|
|
23201
23182
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -23213,15 +23194,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
|
23213
23194
|
})));
|
|
23214
23195
|
};
|
|
23215
23196
|
|
|
23216
|
-
var _path$
|
|
23217
|
-
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); }
|
|
23218
23199
|
var SvgIcMinus = function SvgIcMinus(props) {
|
|
23219
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23200
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
23220
23201
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23221
23202
|
width: "1em",
|
|
23222
23203
|
height: "1em",
|
|
23223
23204
|
viewBox: "0 0 14 14"
|
|
23224
|
-
}, props), _path$
|
|
23205
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23225
23206
|
fill: "#959BA1",
|
|
23226
23207
|
className: "ic-minus_svg__fill-color",
|
|
23227
23208
|
fillRule: "evenodd",
|
|
@@ -23230,9 +23211,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
|
|
|
23230
23211
|
};
|
|
23231
23212
|
|
|
23232
23213
|
var _g$1;
|
|
23233
|
-
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); }
|
|
23234
23215
|
var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
23235
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23216
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
23236
23217
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23237
23218
|
width: "1em",
|
|
23238
23219
|
height: "1em",
|
|
@@ -23249,16 +23230,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
|
23249
23230
|
}))));
|
|
23250
23231
|
};
|
|
23251
23232
|
|
|
23252
|
-
var _path$
|
|
23253
|
-
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); }
|
|
23254
23235
|
var SvgIcEnter = function SvgIcEnter(props) {
|
|
23255
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23236
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
23256
23237
|
width: "1em",
|
|
23257
23238
|
height: "1em",
|
|
23258
23239
|
viewBox: "0 0 16 16",
|
|
23259
23240
|
fill: "none",
|
|
23260
23241
|
xmlns: "http://www.w3.org/2000/svg"
|
|
23261
|
-
}, props), _path$
|
|
23242
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23262
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",
|
|
23263
23244
|
fill: "#3B444C"
|
|
23264
23245
|
})));
|
|
@@ -23617,9 +23598,9 @@ function useDebouncedEffect(callback, delay, deps) {
|
|
|
23617
23598
|
}
|
|
23618
23599
|
|
|
23619
23600
|
var _g;
|
|
23620
|
-
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); }
|
|
23621
23602
|
var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
23622
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
23603
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
23623
23604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23624
23605
|
width: "1em",
|
|
23625
23606
|
height: "1em",
|
|
@@ -23654,8 +23635,8 @@ var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
|
23654
23635
|
* @param showClearIcon - (Optional) To show the clear icon default value is true
|
|
23655
23636
|
*/
|
|
23656
23637
|
function DebouncedSearch(_a) {
|
|
23657
|
-
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;
|
|
23658
|
-
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];
|
|
23659
23640
|
React.useEffect(function () {
|
|
23660
23641
|
setSearchText('');
|
|
23661
23642
|
}, [clearSearch]);
|
|
@@ -23666,7 +23647,7 @@ function DebouncedSearch(_a) {
|
|
|
23666
23647
|
setSearchText('');
|
|
23667
23648
|
};
|
|
23668
23649
|
useDebouncedEffect(function () { return onSearch(searchText); }, debounceTimeout, [searchText, onSearch]);
|
|
23669
|
-
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] })));
|
|
23670
23651
|
}
|
|
23671
23652
|
|
|
23672
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
|
|
@@ -23687,15 +23668,15 @@ function Grid(_a) {
|
|
|
23687
23668
|
return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, { children: children })));
|
|
23688
23669
|
}
|
|
23689
23670
|
|
|
23690
|
-
var _path
|
|
23691
|
-
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); }
|
|
23692
23673
|
var SvgIcCopy = function SvgIcCopy(props) {
|
|
23693
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends
|
|
23674
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
23694
23675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23695
23676
|
width: "1em",
|
|
23696
23677
|
height: "1em",
|
|
23697
23678
|
viewBox: "0 0 20 20"
|
|
23698
|
-
}, props), _path
|
|
23679
|
+
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
23699
23680
|
fill: "#767D84",
|
|
23700
23681
|
fillRule: "evenodd",
|
|
23701
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"
|
|
@@ -23863,234 +23844,12 @@ function AppStatus(_a) {
|
|
|
23863
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 }))] })));
|
|
23864
23845
|
}
|
|
23865
23846
|
|
|
23866
|
-
var FieldRowWithLabel = function (_a) {
|
|
23867
|
-
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;
|
|
23868
|
-
return (jsxRuntime.jsxs("div", __assign({ className: showLabel
|
|
23869
|
-
? "display-grid dc__gap-12 rjsf-form-template__field ".concat(shouldAlignCenter ? 'flex-align-center' : '')
|
|
23870
|
-
: '' }, { 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] })));
|
|
23871
|
-
};
|
|
23872
|
-
|
|
23873
|
-
var ActionButton = function (_a) {
|
|
23874
|
-
var canAdd = _a.canAdd, onAddClick = _a.onAddClick, disabled = _a.disabled, readonly = _a.readonly, uiSchema = _a.uiSchema, registry = _a.registry;
|
|
23875
|
-
var AddButton = registry.templates.ButtonTemplates.AddButton;
|
|
23876
|
-
return (canAdd && (jsxRuntime.jsx(AddButton, { onClick: onAddClick, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry })));
|
|
23877
|
-
};
|
|
23878
|
-
var ArrayFieldTemplate = function (_a) {
|
|
23879
|
-
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;
|
|
23880
|
-
var uiOptions = utils.getUiOptions(uiSchema);
|
|
23881
|
-
var ArrayFieldItemTemplate = utils.getTemplate('ArrayFieldItemTemplate', registry, uiOptions);
|
|
23882
|
-
var label = uiOptions.title || title;
|
|
23883
|
-
return (jsxRuntime.jsx("fieldset", __assign({ className: className, id: idSchema.$id }, { children: items.length ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [items.map(function (_a, index) {
|
|
23884
|
-
var key = _a.key, itemProps = __rest(_a, ["key"]);
|
|
23885
|
-
// Show the title as the label for the first field
|
|
23886
|
-
var children = __assign(__assign({}, itemProps.children), { props: __assign(__assign({}, itemProps.children.props), { name: index === 0 ? label : '' }) });
|
|
23887
|
-
return (jsxRuntime.jsx(ArrayFieldItemTemplate, __assign({}, itemProps, { children: children }), key));
|
|
23888
|
-
}), 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 }) }))) })));
|
|
23889
|
-
};
|
|
23890
|
-
|
|
23891
|
-
var ArrayFieldItemTemplate = function (_a) {
|
|
23892
|
-
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;
|
|
23893
|
-
var RemoveButton = registry.templates.ButtonTemplates.RemoveButton;
|
|
23894
|
-
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 }) }))] })));
|
|
23895
|
-
};
|
|
23896
|
-
|
|
23897
|
-
var PLACEHOLDERS = {
|
|
23898
|
-
SELECT: 'Please select an option',
|
|
23899
|
-
INPUT: 'Please enter an input',
|
|
23900
|
-
OBJECT_KEY: 'Please enter a value for the key',
|
|
23901
|
-
};
|
|
23902
|
-
|
|
23903
|
-
var BaseInputTemplate = RJSF.getDefaultRegistry().templates.BaseInputTemplate;
|
|
23904
|
-
var BaseInput = function (_a) {
|
|
23905
|
-
var placeholder = _a.placeholder, props = __rest(_a, ["placeholder"]);
|
|
23906
|
-
return (jsxRuntime.jsx(BaseInputTemplate, __assign({ placeholder: placeholder || PLACEHOLDERS.INPUT }, props, { className: "form__input cn-9 fs-13 lh-20 fw-4" })));
|
|
23907
|
-
};
|
|
23908
|
-
|
|
23909
|
-
var AddButton = function (_a) {
|
|
23910
|
-
_a.icon; _a.iconType; _a.registry; _a.uiSchema; var props = __rest(_a, ["icon", "iconType", "registry", "uiSchema"]);
|
|
23911
|
-
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" }))] })) })));
|
|
23912
|
-
};
|
|
23913
|
-
|
|
23914
|
-
var RemoveButton = function (_a) {
|
|
23915
|
-
_a.icon; _a.iconType; _a.registry; _a.uiSchema; var props = __rest(_a, ["icon", "iconType", "registry", "uiSchema"]);
|
|
23916
|
-
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" }) })));
|
|
23917
|
-
};
|
|
23918
|
-
|
|
23919
|
-
var SubmitButton = function (_a) {
|
|
23920
|
-
var uiSchema = _a.uiSchema;
|
|
23921
|
-
var _b = utils.getSubmitButtonOptions(uiSchema), submitText = _b.submitText, norender = _b.norender, _c = _b.props, submitButtonProps = _c === void 0 ? {} : _c;
|
|
23922
|
-
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 })) })));
|
|
23923
|
-
};
|
|
23924
|
-
|
|
23925
|
-
var Description = function (_a) {
|
|
23926
|
-
var id = _a.id, description = _a.description;
|
|
23927
|
-
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 }))] })));
|
|
23928
|
-
};
|
|
23929
|
-
|
|
23930
|
-
var Field$1 = function (props) {
|
|
23931
|
-
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;
|
|
23932
|
-
var uiOptions = utils.getUiOptions(uiSchema);
|
|
23933
|
-
var WrapIfAdditionalTemplate = utils.getTemplate('WrapIfAdditionalTemplate', registry, uiOptions);
|
|
23934
|
-
// Object type fields have additional properties for key/value pairs
|
|
23935
|
-
var hasAdditionalProperties = utils.ADDITIONAL_PROPERTY_FLAG in schema;
|
|
23936
|
-
// Label is not displayed for boolean fields by default and hide for object type fields
|
|
23937
|
-
var showLabel = (displayLabel || schema.type === 'boolean') && !hasAdditionalProperties;
|
|
23938
|
-
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] })));
|
|
23939
|
-
};
|
|
23940
|
-
|
|
23941
|
-
var FieldErrorTemplate = function (_a) {
|
|
23942
|
-
var _b = _a.errors, errors = _b === void 0 ? [] : _b, idSchema = _a.idSchema;
|
|
23943
|
-
var id = utils.errorId(idSchema);
|
|
23944
|
-
return (errors.length > 0 && (jsxRuntime.jsx("span", __assign({ id: id }, { children: errors
|
|
23945
|
-
.filter(function (elem) { return !!elem; })
|
|
23946
|
-
.map(function (error, index) {
|
|
23947
|
-
return (jsxRuntime.jsxs("span", __assign({ className: "form__error" }, { children: [jsxRuntime.jsx(SvgIcWarning, { className: "form__icon form__icon--error" }), error] }), index));
|
|
23948
|
-
}) }))));
|
|
23949
|
-
};
|
|
23950
|
-
|
|
23951
|
-
var Field = function (_a) {
|
|
23952
|
-
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;
|
|
23953
|
-
var AddButton = registry.templates.ButtonTemplates.AddButton;
|
|
23954
|
-
var hasAdditionalProperties = !!schema.additionalProperties;
|
|
23955
|
-
var ActionButton = utils.canExpand(schema, uiSchema, formData) && (jsxRuntime.jsx(AddButton, { className: "object-property-expand", onClick: onAddClick(schema), disabled: disabled || readonly, uiSchema: uiSchema, registry: registry }));
|
|
23956
|
-
var Properties = properties.map(function (prop) { return prop.content; });
|
|
23957
|
-
if (hasAdditionalProperties) {
|
|
23958
|
-
if (properties.length) {
|
|
23959
|
-
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] }));
|
|
23960
|
-
}
|
|
23961
|
-
else {
|
|
23962
|
-
return (jsxRuntime.jsx(FieldRowWithLabel, __assign({ label: title, required: required, showLabel: true, id: idSchema.$id }, { children: ActionButton })));
|
|
23963
|
-
}
|
|
23964
|
-
}
|
|
23965
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [Properties, ActionButton] }));
|
|
23966
|
-
};
|
|
23967
|
-
var ObjectFieldTemplate = function (props) {
|
|
23968
|
-
var idSchema = props.idSchema, registry = props.registry, required = props.required, schema = props.schema, title = props.title, uiSchema = props.uiSchema;
|
|
23969
|
-
var options = utils.getUiOptions(uiSchema);
|
|
23970
|
-
var TitleFieldTemplate = utils.getTemplate('TitleFieldTemplate', registry, options);
|
|
23971
|
-
var hasAdditionalProperties = !!schema.additionalProperties;
|
|
23972
|
-
var showTitle = title && !hasAdditionalProperties;
|
|
23973
|
-
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))] })));
|
|
23974
|
-
};
|
|
23975
|
-
|
|
23976
|
-
var TitleField = function (_a) {
|
|
23977
|
-
var id = _a.id, title = _a.title, required = _a.required;
|
|
23978
|
-
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*" }))] })));
|
|
23979
|
-
};
|
|
23980
|
-
|
|
23981
|
-
var WrapIfAdditionalTemplate = function (_a) {
|
|
23982
|
-
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;
|
|
23983
|
-
var templates = registry.templates;
|
|
23984
|
-
var RemoveButton = templates.ButtonTemplates.RemoveButton;
|
|
23985
|
-
var additional = utils.ADDITIONAL_PROPERTY_FLAG in schema;
|
|
23986
|
-
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) }));
|
|
23987
|
-
};
|
|
23988
|
-
|
|
23989
|
-
var Checkbox = function (_a) {
|
|
23990
|
-
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;
|
|
23991
|
-
var handleEvent = function (e, type) {
|
|
23992
|
-
var _a = e.target, id = _a.id, checked = _a.checked;
|
|
23993
|
-
if (type === 'blur') {
|
|
23994
|
-
onBlur(id, checked);
|
|
23995
|
-
}
|
|
23996
|
-
else if (type === 'focus') {
|
|
23997
|
-
onFocus(id, checked);
|
|
23998
|
-
}
|
|
23999
|
-
};
|
|
24000
|
-
var isSelected = typeof value === 'undefined' ? false : value;
|
|
24001
|
-
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() }))] }));
|
|
24002
|
-
};
|
|
24003
|
-
|
|
24004
|
-
/**
|
|
24005
|
-
* Override for the TranslatableString from RJSF
|
|
24006
|
-
*/
|
|
24007
|
-
var translateString = function (stringToTranslate, params) {
|
|
24008
|
-
switch (stringToTranslate) {
|
|
24009
|
-
case utils.TranslatableString.NewStringDefault:
|
|
24010
|
-
// Use an empty string for the new additionalProperties string default value
|
|
24011
|
-
return '';
|
|
24012
|
-
default:
|
|
24013
|
-
return utils.englishStringTranslator(stringToTranslate, params);
|
|
24014
|
-
}
|
|
24015
|
-
};
|
|
24016
|
-
var getCommonSelectStyle = function (styleOverrides) {
|
|
24017
|
-
if (styleOverrides === void 0) { styleOverrides = {}; }
|
|
24018
|
-
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);
|
|
24019
|
-
};
|
|
24020
|
-
|
|
24021
|
-
var _path;
|
|
24022
|
-
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); }
|
|
24023
|
-
var SvgIcChevronDown = function SvgIcChevronDown(props) {
|
|
24024
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
24025
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
24026
|
-
width: "1em",
|
|
24027
|
-
height: "1em",
|
|
24028
|
-
viewBox: "0 0 24 24"
|
|
24029
|
-
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24030
|
-
fill: "#999",
|
|
24031
|
-
className: "ic-chevron-down_svg__fill-color",
|
|
24032
|
-
fillRule: "nonzero",
|
|
24033
|
-
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
24034
|
-
})));
|
|
24035
|
-
};
|
|
24036
|
-
|
|
24037
|
-
var commonStyles = getCommonSelectStyle();
|
|
24038
|
-
var MenuList = function (_a) {
|
|
24039
|
-
var children = _a.children, props = __rest(_a, ["children"]);
|
|
24040
|
-
return (jsxRuntime.jsx(components.MenuList, __assign({}, props, { children: Array.isArray(children) ? children.slice(0, 20) : children })));
|
|
24041
|
-
};
|
|
24042
|
-
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" }) }))); };
|
|
24043
|
-
var Select = function (props) {
|
|
24044
|
-
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;
|
|
24045
|
-
var _c = options.enumOptions, selectOptions = _c === void 0 ? [] : _c;
|
|
24046
|
-
var emptyValue = multiple ? [] : '';
|
|
24047
|
-
var handleChange = function (option) {
|
|
24048
|
-
onChange(multiple ? option.map(function (o) { return o.value; }) : option.value);
|
|
24049
|
-
};
|
|
24050
|
-
var getOption = function (value) {
|
|
24051
|
-
return multiple
|
|
24052
|
-
? selectOptions.filter(function (option) { return value.includes(option.value); })
|
|
24053
|
-
: selectOptions.find(function (option) { return option.value === value; });
|
|
24054
|
-
};
|
|
24055
|
-
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: {
|
|
24056
|
-
IndicatorSeparator: null,
|
|
24057
|
-
DropdownIndicator: DropdownIndicator,
|
|
24058
|
-
MenuList: MenuList,
|
|
24059
|
-
}, menuPlacement: "auto" }));
|
|
24060
|
-
};
|
|
24061
|
-
|
|
24062
|
-
var widgets = {
|
|
24063
|
-
CheckboxWidget: Checkbox,
|
|
24064
|
-
SelectWidget: Select,
|
|
24065
|
-
};
|
|
24066
|
-
var templates = {
|
|
24067
|
-
ArrayFieldItemTemplate: ArrayFieldItemTemplate,
|
|
24068
|
-
ArrayFieldTemplate: ArrayFieldTemplate,
|
|
24069
|
-
BaseInputTemplate: BaseInput,
|
|
24070
|
-
ButtonTemplates: { AddButton: AddButton, RemoveButton: RemoveButton, SubmitButton: SubmitButton },
|
|
24071
|
-
DescriptionFieldTemplate: Description,
|
|
24072
|
-
FieldTemplate: Field$1,
|
|
24073
|
-
FieldErrorTemplate: FieldErrorTemplate,
|
|
24074
|
-
ObjectFieldTemplate: ObjectFieldTemplate,
|
|
24075
|
-
TitleFieldTemplate: TitleField,
|
|
24076
|
-
WrapIfAdditionalTemplate: WrapIfAdditionalTemplate,
|
|
24077
|
-
};
|
|
24078
|
-
|
|
24079
|
-
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}";
|
|
24080
|
-
styleInject(css_248z);
|
|
24081
|
-
|
|
24082
|
-
// Need to use this way because the default import was not working as expected
|
|
24083
|
-
// The default import resolves to an object intead of a function
|
|
24084
|
-
var Form = RJSF.default;
|
|
24085
|
-
var validator = RJSFValidator.default;
|
|
24086
|
-
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 }))); };
|
|
24087
|
-
|
|
24088
23847
|
exports.AppStatus = AppStatus;
|
|
24089
23848
|
exports.BreadCrumb = BreadCrumb;
|
|
24090
23849
|
exports.BreadcrumbStore = Store;
|
|
24091
23850
|
exports.BuildStageVariable = BuildStageVariable;
|
|
24092
23851
|
exports.CDModalTab = CDModalTab;
|
|
24093
|
-
exports.Checkbox = Checkbox
|
|
23852
|
+
exports.Checkbox = Checkbox;
|
|
24094
23853
|
exports.ClearIndicator = ClearIndicator;
|
|
24095
23854
|
exports.ClipboardButton = ClipboardButton;
|
|
24096
23855
|
exports.ConditionalWrap = ConditionalWrap;
|
|
@@ -24129,7 +23888,6 @@ exports.PopupMenu = PopupMenu;
|
|
|
24129
23888
|
exports.Progressing = Progressing;
|
|
24130
23889
|
exports.PropagateTagInfo = PropagateTagInfo;
|
|
24131
23890
|
exports.REGISTRY_TYPE_MAP = REGISTRY_TYPE_MAP;
|
|
24132
|
-
exports.RJSFForm = RJSFForm;
|
|
24133
23891
|
exports.ROUTES = ROUTES;
|
|
24134
23892
|
exports.RadioGroup = RadioGroup$1;
|
|
24135
23893
|
exports.RadioGroupItem = RadioGroupItem;
|
|
@@ -24170,7 +23928,6 @@ exports.getEmptyArrayOfLength = getEmptyArrayOfLength;
|
|
|
24170
23928
|
exports.getLoginInfo = getLoginInfo;
|
|
24171
23929
|
exports.getRandomColor = getRandomColor;
|
|
24172
23930
|
exports.getTeamListMin = getTeamListMin;
|
|
24173
|
-
exports.getUrlWithSearchParams = getUrlWithSearchParams;
|
|
24174
23931
|
exports.getUserRole = getUserRole;
|
|
24175
23932
|
exports.handleUTCTime = handleUTCTime;
|
|
24176
23933
|
exports.multiSelectStyles = multiSelectStyles;
|