@devtron-labs/devtron-fe-common-lib 0.0.37 → 0.0.39-beta-1

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.
Files changed (73) hide show
  1. package/dist/Common/AppStatus/AppStatus.d.ts +3 -0
  2. package/dist/Common/AppStatus/constants.d.ts +51 -0
  3. package/dist/Common/AppStatus/index.d.ts +1 -0
  4. package/dist/Common/AppStatus/types.d.ts +12 -0
  5. package/dist/Common/AppStatus/utils.d.ts +1 -0
  6. package/dist/Common/Helper.d.ts +1 -0
  7. package/dist/Common/Hooks/UseClickOutside/UseClickOutside.d.ts +1 -0
  8. package/dist/Common/Hooks/index.d.ts +1 -0
  9. package/dist/Common/RJSF/Form.d.ts +4 -0
  10. package/dist/Common/RJSF/common/FieldRow.d.ts +3 -0
  11. package/dist/Common/RJSF/common/types.d.ts +8 -0
  12. package/dist/Common/RJSF/config.d.ts +4 -0
  13. package/dist/Common/RJSF/constants.d.ts +5 -0
  14. package/dist/Common/RJSF/index.d.ts +2 -0
  15. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +3 -0
  16. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +3 -0
  17. package/dist/Common/RJSF/templates/BaseInput.d.ts +3 -0
  18. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +3 -0
  19. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +3 -0
  20. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +3 -0
  21. package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +3 -0
  22. package/dist/Common/RJSF/templates/Description.d.ts +3 -0
  23. package/dist/Common/RJSF/templates/Field.d.ts +3 -0
  24. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +3 -0
  25. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +3 -0
  26. package/dist/Common/RJSF/templates/TitleField.d.ts +3 -0
  27. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +3 -0
  28. package/dist/Common/RJSF/templates/index.d.ts +10 -0
  29. package/dist/Common/RJSF/types.d.ts +3 -0
  30. package/dist/Common/RJSF/utils.d.ts +14 -0
  31. package/dist/Common/RJSF/widgets/Checkbox.d.ts +3 -0
  32. package/dist/Common/RJSF/widgets/Select.d.ts +3 -0
  33. package/dist/Common/RJSF/widgets/index.d.ts +2 -0
  34. package/dist/Common/index.d.ts +2 -0
  35. package/dist/index.js +487 -147
  36. package/package.json +4 -1
  37. package/src/Assets/Icon/ic-chevron-down.svg +5 -0
  38. package/src/Common/AppStatus/AppStatus.tsx +64 -0
  39. package/src/Common/AppStatus/constants.ts +53 -0
  40. package/src/Common/AppStatus/index.ts +1 -0
  41. package/src/Common/AppStatus/types.ts +12 -0
  42. package/src/Common/AppStatus/utils.ts +14 -0
  43. package/src/Common/Helper.tsx +8 -0
  44. package/src/Common/Hooks/UseClickOutside/UseClickOutside.tsx +15 -0
  45. package/src/Common/Hooks/index.ts +1 -0
  46. package/src/Common/RJSF/Form.tsx +28 -0
  47. package/src/Common/RJSF/common/FieldRow.tsx +31 -0
  48. package/src/Common/RJSF/common/types.ts +9 -0
  49. package/src/Common/RJSF/config.ts +37 -0
  50. package/src/Common/RJSF/constants.ts +5 -0
  51. package/src/Common/RJSF/index.ts +2 -0
  52. package/src/Common/RJSF/rjsfForm.scss +17 -0
  53. package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +33 -0
  54. package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +77 -0
  55. package/src/Common/RJSF/templates/BaseInput.tsx +16 -0
  56. package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +18 -0
  57. package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +10 -0
  58. package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +18 -0
  59. package/src/Common/RJSF/templates/ButtonTemplates/index.ts +3 -0
  60. package/src/Common/RJSF/templates/Description.tsx +12 -0
  61. package/src/Common/RJSF/templates/Field.tsx +30 -0
  62. package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +25 -0
  63. package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +96 -0
  64. package/src/Common/RJSF/templates/TitleField.tsx +9 -0
  65. package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +51 -0
  66. package/src/Common/RJSF/templates/index.ts +10 -0
  67. package/src/Common/RJSF/types.ts +4 -0
  68. package/src/Common/RJSF/utils.ts +59 -0
  69. package/src/Common/RJSF/widgets/Checkbox.tsx +44 -0
  70. package/src/Common/RJSF/widgets/Select.tsx +72 -0
  71. package/src/Common/RJSF/widgets/index.ts +2 -0
  72. package/src/Common/Security/scanVulnerabilities.css +2 -0
  73. package/src/Common/index.ts +2 -0
package/dist/index.js CHANGED
@@ -4,6 +4,9 @@ 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 validator = require('@rjsf/validator-ajv8');
9
+ var utils = require('@rjsf/utils');
7
10
 
8
11
  function _interopNamespaceDefault(e) {
9
12
  var n = Object.create(null);
@@ -693,13 +696,13 @@ function styleInject(css, ref) {
693
696
  }
694
697
  }
695
698
 
696
- 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}";
697
- styleInject(css_248z$6);
699
+ var css_248z$7 = ".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}";
700
+ styleInject(css_248z$7);
698
701
 
699
702
  var _g$6;
700
- 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); }
703
+ function _extends$l() { _extends$l = 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$l.apply(this, arguments); }
701
704
  var SvgIcProgressing = function SvgIcProgressing(props) {
702
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
705
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
703
706
  xmlns: "http://www.w3.org/2000/svg",
704
707
  viewBox: "0 0 24 24",
705
708
  width: "1em",
@@ -751,8 +754,8 @@ EmptyState.Loading = Loading;
751
754
 
752
755
  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}
753
756
 
754
- function _extends$j() {
755
- _extends$j = Object.assign || function (target) {
757
+ function _extends$k() {
758
+ _extends$k = Object.assign || function (target) {
756
759
  for (var i = 1; i < arguments.length; i++) {
757
760
  var source = arguments[i];
758
761
 
@@ -766,7 +769,7 @@ function _extends$j() {
766
769
  return target;
767
770
  };
768
771
 
769
- return _extends$j.apply(this, arguments);
772
+ return _extends$k.apply(this, arguments);
770
773
  }
771
774
 
772
775
  function _objectWithoutPropertiesLoose$2(source, excluded) {
@@ -1492,7 +1495,7 @@ function ProgressBar(_ref) {
1492
1495
  isIn = _ref.isIn,
1493
1496
  theme = _ref.theme;
1494
1497
 
1495
- var style = _extends$j({}, userStyle, {
1498
+ var style = _extends$k({}, userStyle, {
1496
1499
  animationDuration: delay + "ms",
1497
1500
  animationPlayState: isRunning ? 'running' : 'paused',
1498
1501
  opacity: hide ? 0 : 1
@@ -1769,9 +1772,9 @@ var ToastContainer = function ToastContainer(props) {
1769
1772
  ,
1770
1773
  id: containerId
1771
1774
  }, getToastToRender(function (position, toastList) {
1772
- var containerStyle = !toastList.length ? _extends$j({}, style, {
1775
+ var containerStyle = !toastList.length ? _extends$k({}, style, {
1773
1776
  pointerEvents: 'none'
1774
- }) : _extends$j({}, style);
1777
+ }) : _extends$k({}, style);
1775
1778
  return React.createElement("div", {
1776
1779
  className: getClassName(position),
1777
1780
  style: containerStyle,
@@ -1878,7 +1881,7 @@ function dispatchToast(content, options) {
1878
1881
 
1879
1882
 
1880
1883
  function mergeOptions(type, options) {
1881
- return _extends$j({}, options, {
1884
+ return _extends$k({}, options, {
1882
1885
  type: options && options.type || type,
1883
1886
  toastId: getToastId(options)
1884
1887
  });
@@ -1895,7 +1898,7 @@ function toast(content, options) {
1895
1898
  }
1896
1899
 
1897
1900
  toast.loading = function (content, options) {
1898
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$j({
1901
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$k({
1899
1902
  isLoading: true,
1900
1903
  autoClose: false,
1901
1904
  closeOnClick: false,
@@ -1911,7 +1914,7 @@ function handlePromise(promise, _ref2, options) {
1911
1914
  var id;
1912
1915
 
1913
1916
  if (pending) {
1914
- id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$j({}, options, pending));
1917
+ id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$k({}, options, pending));
1915
1918
  }
1916
1919
 
1917
1920
  var resetParams = {
@@ -1930,7 +1933,7 @@ function handlePromise(promise, _ref2, options) {
1930
1933
  return;
1931
1934
  }
1932
1935
 
1933
- var baseParams = _extends$j({
1936
+ var baseParams = _extends$k({
1934
1937
  type: type
1935
1938
  }, resetParams, options, {
1936
1939
  data: result
@@ -1941,10 +1944,10 @@ function handlePromise(promise, _ref2, options) {
1941
1944
  } : input; // if the id is set we know that it's an update
1942
1945
 
1943
1946
  if (id) {
1944
- toast.update(id, _extends$j({}, baseParams, params));
1947
+ toast.update(id, _extends$k({}, baseParams, params));
1945
1948
  } else {
1946
1949
  // using toast.promise without loading
1947
- toast(params.render, _extends$j({}, baseParams, params));
1950
+ toast(params.render, _extends$k({}, baseParams, params));
1948
1951
  }
1949
1952
 
1950
1953
  return result;
@@ -1968,7 +1971,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
1968
1971
  toast.warn = toast.warning;
1969
1972
 
1970
1973
  toast.dark = function (content, options) {
1971
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$j({
1974
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$k({
1972
1975
  theme: 'dark'
1973
1976
  }, options)));
1974
1977
  };
@@ -2025,7 +2028,7 @@ toast.update = function (toastId, options) {
2025
2028
  var oldOptions = toast.props,
2026
2029
  oldContent = toast.content;
2027
2030
 
2028
- var nextOptions = _extends$j({}, oldOptions, options, {
2031
+ var nextOptions = _extends$k({}, oldOptions, options, {
2029
2032
  toastId: options.toastId || toastId,
2030
2033
  updateId: generateToastId()
2031
2034
  });
@@ -9815,9 +9818,9 @@ function captureException(exception, captureContext) {
9815
9818
  }
9816
9819
 
9817
9820
  var _g$5;
9818
- 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); }
9821
+ function _extends$j() { _extends$j = 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$j.apply(this, arguments); }
9819
9822
  var SvgIcWarning = function SvgIcWarning(props) {
9820
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
9823
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
9821
9824
  xmlns: "http://www.w3.org/2000/svg",
9822
9825
  width: "1em",
9823
9826
  height: "1em",
@@ -10220,7 +10223,15 @@ function useAsync(func, dependencyArray, shouldRun, options) {
10220
10223
  }
10221
10224
  };
10222
10225
  return [state.loading, state.result, state.error, reload, setResult, state.dependencies];
10223
- }
10226
+ }
10227
+ var processDeployedTime = function (lastDeployed, isArgoInstalled) {
10228
+ if (lastDeployed) {
10229
+ return handleUTCTime(lastDeployed, true);
10230
+ }
10231
+ else {
10232
+ return isArgoInstalled ? '' : 'Not deployed';
10233
+ }
10234
+ };
10224
10235
 
10225
10236
  function Progressing(_a) {
10226
10237
  var pageLoader = _a.pageLoader, size = _a.size, theme = _a.theme, styles = _a.styles, fillColor = _a.fillColor;
@@ -10272,8 +10283,8 @@ var VisibleModal = /** @class */ (function (_super) {
10272
10283
  return VisibleModal;
10273
10284
  }(React.Component));
10274
10285
 
10275
- 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}";
10276
- styleInject(css_248z$5);
10286
+ var css_248z$6 = ".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}";
10287
+ styleInject(css_248z$6);
10277
10288
 
10278
10289
  var Drawer = function (_a) {
10279
10290
  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;
@@ -10347,16 +10358,16 @@ var Modal = function (_a) {
10347
10358
  }, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
10348
10359
  };
10349
10360
 
10350
- var _path$b;
10351
- 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); }
10361
+ var _path$c;
10362
+ 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); }
10352
10363
  var SvgIcCross = function SvgIcCross(props) {
10353
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
10364
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
10354
10365
  width: "1em",
10355
10366
  height: "1em",
10356
10367
  viewBox: "0 0 24 24",
10357
10368
  fill: "none",
10358
10369
  xmlns: "http://www.w3.org/2000/svg"
10359
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
10370
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
10360
10371
  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",
10361
10372
  fill: "#596168"
10362
10373
  })));
@@ -14655,38 +14666,38 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
14655
14666
 
14656
14667
  var Tippy = index;
14657
14668
 
14658
- var _path$a;
14659
- 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); }
14669
+ var _path$b;
14670
+ 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); }
14660
14671
  var SvgIcHelp = function SvgIcHelp(props) {
14661
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
14672
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
14662
14673
  xmlns: "http://www.w3.org/2000/svg",
14663
14674
  width: "1em",
14664
14675
  height: "1em",
14665
14676
  viewBox: "0 0 24 24"
14666
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
14677
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
14667
14678
  fill: "#767D84",
14668
14679
  fillRule: "evenodd",
14669
14680
  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"
14670
14681
  })));
14671
14682
  };
14672
14683
 
14673
- var _path$9;
14674
- 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); }
14684
+ var _path$a;
14685
+ 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); }
14675
14686
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
14676
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
14687
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
14677
14688
  xmlns: "http://www.w3.org/2000/svg",
14678
14689
  viewBox: "0 0 17 16",
14679
14690
  width: "1em",
14680
14691
  height: "1em"
14681
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
14692
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
14682
14693
  fill: "#767D84",
14683
14694
  fillRule: "evenodd",
14684
14695
  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"
14685
14696
  })));
14686
14697
  };
14687
14698
 
14688
- 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)}";
14689
- styleInject(css_248z$4);
14699
+ var css_248z$5 = ".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)}";
14700
+ styleInject(css_248z$5);
14690
14701
 
14691
14702
  // This component will handle some of the new tippy designs and interactions
14692
14703
  // So this can be updated to support further for new features or interactions
@@ -14730,16 +14741,16 @@ function TippyCustomized(props) {
14730
14741
  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 })));
14731
14742
  }
14732
14743
 
14733
- var _path$8, _circle, _path2$1;
14734
- 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); }
14744
+ var _path$9, _circle, _path2$1;
14745
+ 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); }
14735
14746
  var SvgInjectTag = function SvgInjectTag(props) {
14736
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
14747
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
14737
14748
  width: "1em",
14738
14749
  height: "1em",
14739
14750
  viewBox: "0 0 20 20",
14740
14751
  fill: "none",
14741
14752
  xmlns: "http://www.w3.org/2000/svg"
14742
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
14753
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
14743
14754
  d: "M10 10H3.333",
14744
14755
  stroke: "#596168",
14745
14756
  strokeWidth: 1.5,
@@ -14767,15 +14778,15 @@ function PropagateTagInfo(_a) {
14767
14778
  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" })] })) })));
14768
14779
  }
14769
14780
 
14770
- var _path$7;
14771
- 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); }
14781
+ var _path$8;
14782
+ 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); }
14772
14783
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
14773
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
14784
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
14774
14785
  xmlns: "http://www.w3.org/2000/svg",
14775
14786
  width: "1em",
14776
14787
  height: "1em",
14777
14788
  viewBox: "0 0 20 20"
14778
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
14789
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
14779
14790
  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",
14780
14791
  fill: "#06C",
14781
14792
  fillRule: "evenodd"
@@ -15009,15 +15020,15 @@ var TagDetails = function (_a) {
15009
15020
  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" }) }))] })));
15010
15021
  };
15011
15022
 
15012
- var _path$6;
15013
- 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); }
15023
+ var _path$7;
15024
+ 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); }
15014
15025
  var SvgIcAdd = function SvgIcAdd(props) {
15015
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
15026
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
15016
15027
  xmlns: "http://www.w3.org/2000/svg",
15017
15028
  width: "1em",
15018
15029
  height: "1em",
15019
15030
  viewBox: "0 0 24 24"
15020
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
15031
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
15021
15032
  className: "ic-add_svg__fill-color",
15022
15033
  fill: "#999",
15023
15034
  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"
@@ -15135,8 +15146,8 @@ function ForceDeleteDialog(_a) {
15135
15146
  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?" })] }) })) }));
15136
15147
  }
15137
15148
 
15138
- function _extends$b() {
15139
- _extends$b = Object.assign ? Object.assign.bind() : function (target) {
15149
+ function _extends$c() {
15150
+ _extends$c = Object.assign ? Object.assign.bind() : function (target) {
15140
15151
  for (var i = 1; i < arguments.length; i++) {
15141
15152
  var source = arguments[i];
15142
15153
  for (var key in source) {
@@ -15147,7 +15158,7 @@ function _extends$b() {
15147
15158
  }
15148
15159
  return target;
15149
15160
  };
15150
- return _extends$b.apply(this, arguments);
15161
+ return _extends$c.apply(this, arguments);
15151
15162
  }
15152
15163
 
15153
15164
  /*
@@ -18688,7 +18699,7 @@ var Menu = function Menu(props) {
18688
18699
  getStyles = props.getStyles,
18689
18700
  innerRef = props.innerRef,
18690
18701
  innerProps = props.innerProps;
18691
- return jsx("div", _extends$b({
18702
+ return jsx("div", _extends$c({
18692
18703
  css: getStyles('menu', props),
18693
18704
  className: cx({
18694
18705
  menu: true
@@ -18720,7 +18731,7 @@ var MenuList = function MenuList(props) {
18720
18731
  innerProps = props.innerProps,
18721
18732
  innerRef = props.innerRef,
18722
18733
  isMulti = props.isMulti;
18723
- return jsx("div", _extends$b({
18734
+ return jsx("div", _extends$c({
18724
18735
  css: getStyles('menuList', props),
18725
18736
  className: cx({
18726
18737
  'menu-list': true,
@@ -18751,7 +18762,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
18751
18762
  cx = props.cx,
18752
18763
  getStyles = props.getStyles,
18753
18764
  innerProps = props.innerProps;
18754
- return jsx("div", _extends$b({
18765
+ return jsx("div", _extends$c({
18755
18766
  css: getStyles('noOptionsMessage', props),
18756
18767
  className: cx({
18757
18768
  'menu-notice': true,
@@ -18768,7 +18779,7 @@ var LoadingMessage = function LoadingMessage(props) {
18768
18779
  cx = props.cx,
18769
18780
  getStyles = props.getStyles,
18770
18781
  innerProps = props.innerProps;
18771
- return jsx("div", _extends$b({
18782
+ return jsx("div", _extends$c({
18772
18783
  css: getStyles('loadingMessage', props),
18773
18784
  className: cx({
18774
18785
  'menu-notice': true,
@@ -18856,7 +18867,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
18856
18867
  rect: rect
18857
18868
  }; // same wrapper element whether fixed or portalled
18858
18869
 
18859
- var menuWrapper = jsx("div", _extends$b({
18870
+ var menuWrapper = jsx("div", _extends$c({
18860
18871
  css: getStyles('menuPortal', state),
18861
18872
  className: cx({
18862
18873
  'menu-portal': true
@@ -18892,7 +18903,7 @@ var SelectContainer = function SelectContainer(props) {
18892
18903
  innerProps = props.innerProps,
18893
18904
  isDisabled = props.isDisabled,
18894
18905
  isRtl = props.isRtl;
18895
- return jsx("div", _extends$b({
18906
+ return jsx("div", _extends$c({
18896
18907
  css: getStyles('container', props),
18897
18908
  className: cx({
18898
18909
  '--is-disabled': isDisabled,
@@ -18927,7 +18938,7 @@ var ValueContainer = function ValueContainer(props) {
18927
18938
  isMulti = props.isMulti,
18928
18939
  getStyles = props.getStyles,
18929
18940
  hasValue = props.hasValue;
18930
- return jsx("div", _extends$b({
18941
+ return jsx("div", _extends$c({
18931
18942
  css: getStyles('valueContainer', props),
18932
18943
  className: cx({
18933
18944
  'value-container': true,
@@ -18953,7 +18964,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
18953
18964
  cx = props.cx,
18954
18965
  innerProps = props.innerProps,
18955
18966
  getStyles = props.getStyles;
18956
- return jsx("div", _extends$b({
18967
+ return jsx("div", _extends$c({
18957
18968
  css: getStyles('indicatorsContainer', props),
18958
18969
  className: cx({
18959
18970
  indicators: true
@@ -18984,7 +18995,7 @@ var Svg = function Svg(_ref) {
18984
18995
  var size = _ref.size,
18985
18996
  props = _objectWithoutProperties(_ref, _excluded$2);
18986
18997
 
18987
- return jsx("svg", _extends$b({
18998
+ return jsx("svg", _extends$c({
18988
18999
  height: size,
18989
19000
  width: size,
18990
19001
  viewBox: "0 0 20 20",
@@ -18995,14 +19006,14 @@ var Svg = function Svg(_ref) {
18995
19006
  };
18996
19007
 
18997
19008
  var CrossIcon = function CrossIcon(props) {
18998
- return jsx(Svg, _extends$b({
19009
+ return jsx(Svg, _extends$c({
18999
19010
  size: 20
19000
19011
  }, props), jsx("path", {
19001
19012
  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"
19002
19013
  }));
19003
19014
  };
19004
19015
  var DownChevron = function DownChevron(props) {
19005
- return jsx(Svg, _extends$b({
19016
+ return jsx(Svg, _extends$c({
19006
19017
  size: 20
19007
19018
  }, props), jsx("path", {
19008
19019
  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"
@@ -19029,13 +19040,13 @@ var baseCSS = function baseCSS(_ref3) {
19029
19040
  };
19030
19041
 
19031
19042
  var dropdownIndicatorCSS = baseCSS;
19032
- var DropdownIndicator = function DropdownIndicator(props) {
19043
+ var DropdownIndicator$1 = function DropdownIndicator(props) {
19033
19044
  var children = props.children,
19034
19045
  className = props.className,
19035
19046
  cx = props.cx,
19036
19047
  getStyles = props.getStyles,
19037
19048
  innerProps = props.innerProps;
19038
- return jsx("div", _extends$b({
19049
+ return jsx("div", _extends$c({
19039
19050
  css: getStyles('dropdownIndicator', props),
19040
19051
  className: cx({
19041
19052
  indicator: true,
@@ -19050,7 +19061,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
19050
19061
  cx = props.cx,
19051
19062
  getStyles = props.getStyles,
19052
19063
  innerProps = props.innerProps;
19053
- return jsx("div", _extends$b({
19064
+ return jsx("div", _extends$c({
19054
19065
  css: getStyles('clearIndicator', props),
19055
19066
  className: cx({
19056
19067
  indicator: true,
@@ -19080,7 +19091,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
19080
19091
  cx = props.cx,
19081
19092
  getStyles = props.getStyles,
19082
19093
  innerProps = props.innerProps;
19083
- return jsx("span", _extends$b({}, innerProps, {
19094
+ return jsx("span", _extends$c({}, innerProps, {
19084
19095
  css: getStyles('indicatorSeparator', props),
19085
19096
  className: cx({
19086
19097
  'indicator-separator': true
@@ -19135,7 +19146,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
19135
19146
  getStyles = props.getStyles,
19136
19147
  innerProps = props.innerProps,
19137
19148
  isRtl = props.isRtl;
19138
- return jsx("div", _extends$b({
19149
+ return jsx("div", _extends$c({
19139
19150
  css: getStyles('loadingIndicator', props),
19140
19151
  className: cx({
19141
19152
  indicator: true,
@@ -19196,7 +19207,7 @@ var Control = function Control(props) {
19196
19207
  innerRef = props.innerRef,
19197
19208
  innerProps = props.innerProps,
19198
19209
  menuIsOpen = props.menuIsOpen;
19199
- return jsx("div", _extends$b({
19210
+ return jsx("div", _extends$c({
19200
19211
  ref: innerRef,
19201
19212
  css: getStyles('control', props),
19202
19213
  className: cx({
@@ -19228,12 +19239,12 @@ var Group = function Group(props) {
19228
19239
  label = props.label,
19229
19240
  theme = props.theme,
19230
19241
  selectProps = props.selectProps;
19231
- return jsx("div", _extends$b({
19242
+ return jsx("div", _extends$c({
19232
19243
  css: getStyles('group', props),
19233
19244
  className: cx({
19234
19245
  group: true
19235
19246
  }, className)
19236
- }, innerProps), jsx(Heading, _extends$b({}, headingProps, {
19247
+ }, innerProps), jsx(Heading, _extends$c({}, headingProps, {
19237
19248
  selectProps: selectProps,
19238
19249
  theme: theme,
19239
19250
  getStyles: getStyles,
@@ -19265,7 +19276,7 @@ var GroupHeading = function GroupHeading(props) {
19265
19276
  _cleanCommonProps.data;
19266
19277
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
19267
19278
 
19268
- return jsx("div", _extends$b({
19279
+ return jsx("div", _extends$c({
19269
19280
  css: getStyles('groupHeading', props),
19270
19281
  className: cx({
19271
19282
  'group-heading': true
@@ -19341,7 +19352,7 @@ var Input = function Input(props) {
19341
19352
  }, className),
19342
19353
  css: getStyles('input', props),
19343
19354
  "data-value": value || ''
19344
- }, jsx("input", _extends$b({
19355
+ }, jsx("input", _extends$c({
19345
19356
  className: cx({
19346
19357
  input: true
19347
19358
  }, inputClassName),
@@ -19411,7 +19422,7 @@ var MultiValueLabel = MultiValueGeneric;
19411
19422
  function MultiValueRemove$1(_ref5) {
19412
19423
  var children = _ref5.children,
19413
19424
  innerProps = _ref5.innerProps;
19414
- return jsx("div", _extends$b({
19425
+ return jsx("div", _extends$c({
19415
19426
  role: "button"
19416
19427
  }, innerProps), children || jsx(CrossIcon, {
19417
19428
  size: 14
@@ -19500,7 +19511,7 @@ var Option$1 = function Option(props) {
19500
19511
  isSelected = props.isSelected,
19501
19512
  innerRef = props.innerRef,
19502
19513
  innerProps = props.innerProps;
19503
- return jsx("div", _extends$b({
19514
+ return jsx("div", _extends$c({
19504
19515
  css: getStyles('option', props),
19505
19516
  className: cx({
19506
19517
  option: true,
@@ -19532,7 +19543,7 @@ var Placeholder = function Placeholder(props) {
19532
19543
  cx = props.cx,
19533
19544
  getStyles = props.getStyles,
19534
19545
  innerProps = props.innerProps;
19535
- return jsx("div", _extends$b({
19546
+ return jsx("div", _extends$c({
19536
19547
  css: getStyles('placeholder', props),
19537
19548
  className: cx({
19538
19549
  placeholder: true
@@ -19565,7 +19576,7 @@ var SingleValue = function SingleValue(props) {
19565
19576
  getStyles = props.getStyles,
19566
19577
  isDisabled = props.isDisabled,
19567
19578
  innerProps = props.innerProps;
19568
- return jsx("div", _extends$b({
19579
+ return jsx("div", _extends$c({
19569
19580
  css: getStyles('singleValue', props),
19570
19581
  className: cx({
19571
19582
  'single-value': true,
@@ -19577,7 +19588,7 @@ var SingleValue = function SingleValue(props) {
19577
19588
  var components = {
19578
19589
  ClearIndicator: ClearIndicator$1,
19579
19590
  Control: Control,
19580
- DropdownIndicator: DropdownIndicator,
19591
+ DropdownIndicator: DropdownIndicator$1,
19581
19592
  DownChevron: DownChevron,
19582
19593
  CrossIcon: CrossIcon,
19583
19594
  Group: Group,
@@ -19813,7 +19824,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
19813
19824
  };
19814
19825
 
19815
19826
  var A11yText = function A11yText(props) {
19816
- return jsx("span", _extends$b({
19827
+ return jsx("span", _extends$c({
19817
19828
  css: _ref
19818
19829
  }, props));
19819
19830
  };
@@ -20349,7 +20360,7 @@ function DummyInput(_ref) {
20349
20360
  var innerRef = _ref.innerRef,
20350
20361
  props = _objectWithoutProperties(_ref, _excluded);
20351
20362
 
20352
- return jsx("input", _extends$b({
20363
+ return jsx("input", _extends$c({
20353
20364
  ref: innerRef
20354
20365
  }, props, {
20355
20366
  css: /*#__PURE__*/css$2({
@@ -21984,7 +21995,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21984
21995
 
21985
21996
  if (!isSearchable) {
21986
21997
  // use a dummy input to maintain focus/blur functionality
21987
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$b({
21998
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$c({
21988
21999
  id: id,
21989
22000
  innerRef: this.getInputRef,
21990
22001
  onBlur: this.onInputBlur,
@@ -21998,7 +22009,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21998
22009
  }, ariaAttributes));
21999
22010
  }
22000
22011
 
22001
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$b({}, commonProps, {
22012
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$c({}, commonProps, {
22002
22013
  autoCapitalize: "none",
22003
22014
  autoComplete: "off",
22004
22015
  autoCorrect: "off",
@@ -22042,7 +22053,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22042
22053
  isFocused = _this$state5.isFocused;
22043
22054
 
22044
22055
  if (!this.hasValue() || !controlShouldRenderValue) {
22045
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$b({}, commonProps, {
22056
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$c({}, commonProps, {
22046
22057
  key: "placeholder",
22047
22058
  isDisabled: isDisabled,
22048
22059
  isFocused: isFocused,
@@ -22056,7 +22067,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22056
22067
  return selectValue.map(function (opt, index) {
22057
22068
  var isOptionFocused = opt === focusedValue;
22058
22069
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
22059
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$b({}, commonProps, {
22070
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$c({}, commonProps, {
22060
22071
  components: {
22061
22072
  Container: MultiValueContainer,
22062
22073
  Label: MultiValueLabel,
@@ -22088,7 +22099,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22088
22099
  }
22089
22100
 
22090
22101
  var singleValue = selectValue[0];
22091
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$b({}, commonProps, {
22102
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$c({}, commonProps, {
22092
22103
  data: singleValue,
22093
22104
  isDisabled: isDisabled
22094
22105
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -22114,7 +22125,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22114
22125
  onTouchEnd: this.onClearIndicatorTouchEnd,
22115
22126
  'aria-hidden': 'true'
22116
22127
  };
22117
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$b({}, commonProps, {
22128
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$c({}, commonProps, {
22118
22129
  innerProps: innerProps,
22119
22130
  isFocused: isFocused
22120
22131
  }));
@@ -22134,7 +22145,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22134
22145
  var innerProps = {
22135
22146
  'aria-hidden': 'true'
22136
22147
  };
22137
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$b({}, commonProps, {
22148
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$c({}, commonProps, {
22138
22149
  innerProps: innerProps,
22139
22150
  isDisabled: isDisabled,
22140
22151
  isFocused: isFocused
@@ -22152,7 +22163,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22152
22163
  var commonProps = this.commonProps;
22153
22164
  var isDisabled = this.props.isDisabled;
22154
22165
  var isFocused = this.state.isFocused;
22155
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$b({}, commonProps, {
22166
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$c({}, commonProps, {
22156
22167
  isDisabled: isDisabled,
22157
22168
  isFocused: isFocused
22158
22169
  }));
@@ -22172,7 +22183,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22172
22183
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
22173
22184
  'aria-hidden': 'true'
22174
22185
  };
22175
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$b({}, commonProps, {
22186
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$c({}, commonProps, {
22176
22187
  innerProps: innerProps,
22177
22188
  isDisabled: isDisabled,
22178
22189
  isFocused: isFocused
@@ -22235,7 +22246,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22235
22246
  onMouseOver: onHover,
22236
22247
  tabIndex: -1
22237
22248
  };
22238
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$b({}, commonProps, {
22249
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$c({}, commonProps, {
22239
22250
  innerProps: innerProps,
22240
22251
  data: data,
22241
22252
  isDisabled: isDisabled,
@@ -22259,7 +22270,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22259
22270
  groupIndex = item.index;
22260
22271
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
22261
22272
  var headingId = "".concat(groupId, "-heading");
22262
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$b({}, commonProps, {
22273
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$c({}, commonProps, {
22263
22274
  key: groupId,
22264
22275
  data: _data,
22265
22276
  options: options,
@@ -22298,12 +22309,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22298
22309
  menuPosition: menuPosition,
22299
22310
  menuShouldScrollIntoView: menuShouldScrollIntoView
22300
22311
  };
22301
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$b({}, commonProps, menuPlacementProps), function (_ref4) {
22312
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$c({}, commonProps, menuPlacementProps), function (_ref4) {
22302
22313
  var ref = _ref4.ref,
22303
22314
  _ref4$placerProps = _ref4.placerProps,
22304
22315
  placement = _ref4$placerProps.placement,
22305
22316
  maxHeight = _ref4$placerProps.maxHeight;
22306
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$b({}, commonProps, menuPlacementProps, {
22317
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$c({}, commonProps, menuPlacementProps, {
22307
22318
  innerRef: ref,
22308
22319
  innerProps: {
22309
22320
  onMouseDown: _this4.onMenuMouseDown,
@@ -22318,7 +22329,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22318
22329
  onBottomArrive: onMenuScrollToBottom,
22319
22330
  lockEnabled: menuShouldBlockScroll
22320
22331
  }, function (scrollTargetRef) {
22321
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$b({}, commonProps, {
22332
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$c({}, commonProps, {
22322
22333
  innerRef: function innerRef(instance) {
22323
22334
  _this4.getMenuListRef(instance);
22324
22335
 
@@ -22333,7 +22344,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22333
22344
  // so we use the same component. the actual portalling logic is forked
22334
22345
  // within the component based on `menuPosition`
22335
22346
 
22336
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$b({}, commonProps, {
22347
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$c({}, commonProps, {
22337
22348
  appendTo: menuPortalTarget,
22338
22349
  controlElement: this.controlRef,
22339
22350
  menuPlacement: menuPlacement,
@@ -22398,7 +22409,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22398
22409
  isFocused = _this$state6.isFocused,
22399
22410
  selectValue = _this$state6.selectValue;
22400
22411
  var focusableOptions = this.getFocusableOptions();
22401
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$b({}, commonProps, {
22412
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$c({}, commonProps, {
22402
22413
  id: this.getElementId('live-region'),
22403
22414
  ariaSelection: ariaSelection,
22404
22415
  focusedOption: focusedOption,
@@ -22424,7 +22435,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22424
22435
  menuIsOpen = _this$props14.menuIsOpen;
22425
22436
  var isFocused = this.state.isFocused;
22426
22437
  var commonProps = this.commonProps = this.getCommonProps();
22427
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$b({}, commonProps, {
22438
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$c({}, commonProps, {
22428
22439
  className: className,
22429
22440
  innerProps: {
22430
22441
  id: id,
@@ -22432,7 +22443,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22432
22443
  },
22433
22444
  isDisabled: isDisabled,
22434
22445
  isFocused: isFocused
22435
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$b({}, commonProps, {
22446
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$c({}, commonProps, {
22436
22447
  innerRef: this.getControlRef,
22437
22448
  innerProps: {
22438
22449
  onMouseDown: this.onControlMouseDown,
@@ -22441,9 +22452,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22441
22452
  isDisabled: isDisabled,
22442
22453
  isFocused: isFocused,
22443
22454
  menuIsOpen: menuIsOpen
22444
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$b({}, commonProps, {
22455
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$c({}, commonProps, {
22445
22456
  isDisabled: isDisabled
22446
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$b({}, commonProps, {
22457
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$c({}, commonProps, {
22447
22458
  isDisabled: isDisabled
22448
22459
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
22449
22460
  }
@@ -22516,17 +22527,17 @@ Select$1.defaultProps = defaultProps;
22516
22527
 
22517
22528
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
22518
22529
  var baseSelectProps = useStateManager(props);
22519
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$b({
22530
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$c({
22520
22531
  ref: ref
22521
22532
  }, baseSelectProps));
22522
22533
  });
22523
22534
 
22524
- var Select = StateManagedSelect;
22535
+ var ReactSelect = StateManagedSelect;
22525
22536
 
22526
22537
  var _g$4;
22527
- 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); }
22538
+ function _extends$b() { _extends$b = 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$b.apply(this, arguments); }
22528
22539
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
22529
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
22540
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
22530
22541
  xmlns: "http://www.w3.org/2000/svg",
22531
22542
  viewBox: "0 0 28 28",
22532
22543
  width: "1em",
@@ -22547,15 +22558,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
22547
22558
  }))));
22548
22559
  };
22549
22560
 
22550
- var _path$5;
22551
- 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); }
22561
+ var _path$6;
22562
+ 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); }
22552
22563
  var SvgIcCheck = function SvgIcCheck(props) {
22553
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
22564
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
22554
22565
  xmlns: "http://www.w3.org/2000/svg",
22555
22566
  width: "1em",
22556
22567
  height: "1em",
22557
22568
  viewBox: "0 0 24 24"
22558
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
22569
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
22559
22570
  stroke: "#06C",
22560
22571
  strokeLinecap: "round",
22561
22572
  strokeLinejoin: "round",
@@ -22567,9 +22578,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
22567
22578
  };
22568
22579
 
22569
22580
  var _g$3;
22570
- 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); }
22581
+ 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); }
22571
22582
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
22572
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
22583
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
22573
22584
  xmlns: "http://www.w3.org/2000/svg",
22574
22585
  width: "1em",
22575
22586
  height: "1em",
@@ -22631,11 +22642,11 @@ var multiSelectStyles = {
22631
22642
  valueContainer: function (base, state) { return (__assign(__assign({}, base), { color: state.selectProps.menuIsOpen ? 'var(--N500)' : base.color })); },
22632
22643
  };
22633
22644
  var CustomSelect = function (props) {
22634
- return jsxRuntime.jsx(Select, __assign({}, props));
22645
+ return jsxRuntime.jsx(ReactSelect, __assign({}, props));
22635
22646
  };
22636
22647
 
22637
- 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}";
22638
- styleInject(css_248z$3);
22648
+ var css_248z$4 = ".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}";
22649
+ styleInject(css_248z$4);
22639
22650
 
22640
22651
  function InfoColourBar(_a) {
22641
22652
  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;
@@ -22799,7 +22810,7 @@ Valid States of Checkbox:
22799
22810
  5. disabled: false, checked: true, value: INTERMIDIATE
22800
22811
  6. disabled: false, checked: true, value: CHECKED
22801
22812
  */
22802
- var Checkbox = /** @class */ (function (_super) {
22813
+ var Checkbox$1 = /** @class */ (function (_super) {
22803
22814
  __extends(Checkbox, _super);
22804
22815
  function Checkbox() {
22805
22816
  return _super !== null && _super.apply(this, arguments) || this;
@@ -22812,8 +22823,8 @@ var Checkbox = /** @class */ (function (_super) {
22812
22823
  return Checkbox;
22813
22824
  }(React.Component));
22814
22825
 
22815
- 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}";
22816
- styleInject(css_248z$2);
22826
+ var css_248z$3 = ".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}";
22827
+ styleInject(css_248z$3);
22817
22828
 
22818
22829
  var Toggle = function (_a) {
22819
22830
  var _b;
@@ -22837,8 +22848,8 @@ var Toggle = function (_a) {
22837
22848
  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) }) }))] })));
22838
22849
  };
22839
22850
 
22840
- 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}\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}";
22841
- styleInject(css_248z$1);
22851
+ var css_248z$2 = ".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}";
22852
+ styleInject(css_248z$2);
22842
22853
 
22843
22854
  function ScanVulnerabilitiesTable(_a) {
22844
22855
  var vulnerabilities = _a.vulnerabilities;
@@ -22853,8 +22864,8 @@ function ScanVulnerabilitiesTable(_a) {
22853
22864
  })] }) })));
22854
22865
  }
22855
22866
 
22856
- 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}";
22857
- styleInject(css_248z);
22867
+ var css_248z$1 = ".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}";
22868
+ styleInject(css_248z$1);
22858
22869
 
22859
22870
  var RadioContext = React.createContext(null);
22860
22871
  function useRadioContext() {
@@ -22948,9 +22959,9 @@ exports.ConsequenceAction = void 0;
22948
22959
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
22949
22960
 
22950
22961
  var _g$2;
22951
- 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); }
22962
+ 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); }
22952
22963
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
22953
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
22964
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
22954
22965
  xmlns: "http://www.w3.org/2000/svg",
22955
22966
  width: "1em",
22956
22967
  height: "1em",
@@ -23029,16 +23040,16 @@ function DeleteComponent(_a) {
23029
23040
  return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
23030
23041
  }
23031
23042
 
23032
- var _path$4;
23033
- 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); }
23043
+ var _path$5;
23044
+ 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); }
23034
23045
  var SvgIcPencil = function SvgIcPencil(props) {
23035
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
23046
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
23036
23047
  width: "1em",
23037
23048
  height: "1em",
23038
23049
  viewBox: "0 0 20 20",
23039
23050
  fill: "none",
23040
23051
  xmlns: "http://www.w3.org/2000/svg"
23041
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
23052
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
23042
23053
  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",
23043
23054
  stroke: "#596168",
23044
23055
  strokeWidth: 1.5,
@@ -23047,16 +23058,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
23047
23058
  })));
23048
23059
  };
23049
23060
 
23050
- var _path$3, _path2, _path3;
23051
- 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); }
23061
+ var _path$4, _path2, _path3;
23062
+ 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); }
23052
23063
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
23053
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
23064
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
23054
23065
  width: "1em",
23055
23066
  height: "1em",
23056
23067
  viewBox: "0 0 12 12",
23057
23068
  fill: "none",
23058
23069
  xmlns: "http://www.w3.org/2000/svg"
23059
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
23070
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
23060
23071
  d: "M3.742 4.674h-2.25v-2.25",
23061
23072
  fill: "#767D84"
23062
23073
  })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -23074,15 +23085,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
23074
23085
  })));
23075
23086
  };
23076
23087
 
23077
- var _path$2;
23078
- 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); }
23088
+ var _path$3;
23089
+ 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); }
23079
23090
  var SvgIcMinus = function SvgIcMinus(props) {
23080
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
23091
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
23081
23092
  xmlns: "http://www.w3.org/2000/svg",
23082
23093
  width: "1em",
23083
23094
  height: "1em",
23084
23095
  viewBox: "0 0 14 14"
23085
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
23096
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
23086
23097
  fill: "#959BA1",
23087
23098
  className: "ic-minus_svg__fill-color",
23088
23099
  fillRule: "evenodd",
@@ -23091,9 +23102,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
23091
23102
  };
23092
23103
 
23093
23104
  var _g$1;
23094
- 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); }
23105
+ 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); }
23095
23106
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
23096
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
23107
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
23097
23108
  xmlns: "http://www.w3.org/2000/svg",
23098
23109
  width: "1em",
23099
23110
  height: "1em",
@@ -23110,16 +23121,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
23110
23121
  }))));
23111
23122
  };
23112
23123
 
23113
- var _path$1;
23114
- 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); }
23124
+ var _path$2;
23125
+ 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); }
23115
23126
  var SvgIcEnter = function SvgIcEnter(props) {
23116
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
23127
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
23117
23128
  width: "1em",
23118
23129
  height: "1em",
23119
23130
  viewBox: "0 0 16 16",
23120
23131
  fill: "none",
23121
23132
  xmlns: "http://www.w3.org/2000/svg"
23122
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
23133
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
23123
23134
  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",
23124
23135
  fill: "#3B444C"
23125
23136
  })));
@@ -23471,9 +23482,9 @@ function useDebouncedEffect(callback, delay, deps) {
23471
23482
  }
23472
23483
 
23473
23484
  var _g;
23474
- 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); }
23485
+ 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); }
23475
23486
  var SvgIcErrorCross = function SvgIcErrorCross(props) {
23476
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
23487
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
23477
23488
  xmlns: "http://www.w3.org/2000/svg",
23478
23489
  width: "1em",
23479
23490
  height: "1em",
@@ -23541,15 +23552,15 @@ function Grid(_a) {
23541
23552
  return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, { children: children })));
23542
23553
  }
23543
23554
 
23544
- var _path;
23545
- 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); }
23555
+ var _path$1;
23556
+ 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); }
23546
23557
  var SvgIcCopy = function SvgIcCopy(props) {
23547
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
23558
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
23548
23559
  xmlns: "http://www.w3.org/2000/svg",
23549
23560
  width: "1em",
23550
23561
  height: "1em",
23551
23562
  viewBox: "0 0 20 20"
23552
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
23563
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
23553
23564
  fill: "#767D84",
23554
23565
  fillRule: "evenodd",
23555
23566
  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"
@@ -23608,11 +23619,337 @@ var useSuperAdmin = function () {
23608
23619
  return { isSuperAdmin: isSuperAdmin };
23609
23620
  };
23610
23621
 
23622
+ var useClickOutside = function (ref, callback) {
23623
+ React.useEffect(function () {
23624
+ var handleClickOutside = function (e) {
23625
+ if ((ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.contains(e.target)) {
23626
+ callback();
23627
+ }
23628
+ };
23629
+ document.addEventListener('click', handleClickOutside);
23630
+ return function () {
23631
+ document.removeEventListener('click', handleClickOutside);
23632
+ };
23633
+ }, [ref, callback]);
23634
+ };
23635
+
23636
+ var StatusConstants = {
23637
+ NOT_DEPLOYED: {
23638
+ noSpaceLower: 'notdeployed',
23639
+ normalCase: 'Not deployed',
23640
+ lowerCase: 'not-deployed',
23641
+ },
23642
+ APP_STATUS: {
23643
+ noSpaceLower: 'appStatus',
23644
+ normalText: 'App status',
23645
+ },
23646
+ PROJECT: {
23647
+ pluralLower: 'projects',
23648
+ lowerCase: 'project',
23649
+ },
23650
+ CLUSTER: {
23651
+ pluralLower: 'clusters',
23652
+ lowerCase: 'cluster',
23653
+ },
23654
+ NAMESPACE: {
23655
+ pluralLower: 'namespaces',
23656
+ lowerCase: 'namespace',
23657
+ },
23658
+ ENVIRONMENT: {
23659
+ pluralLower: 'environments',
23660
+ lowerCase: 'environment',
23661
+ },
23662
+ NOT_AVILABLE: {
23663
+ normalCase: 'Not available',
23664
+ },
23665
+ };
23666
+ var TIMELINE_STATUS;
23667
+ (function (TIMELINE_STATUS) {
23668
+ TIMELINE_STATUS["DEPLOYMENT_INITIATED"] = "DEPLOYMENT_INITIATED";
23669
+ TIMELINE_STATUS["GIT_COMMIT"] = "GIT_COMMIT";
23670
+ TIMELINE_STATUS["GIT_COMMIT_FAILED"] = "GIT_COMMIT_FAILED";
23671
+ TIMELINE_STATUS["KUBECTL_APPLY"] = "KUBECTL_APPLY";
23672
+ TIMELINE_STATUS["KUBECTL_APPLY_STARTED"] = "KUBECTL_APPLY_STARTED";
23673
+ TIMELINE_STATUS["KUBECTL_APPLY_SYNCED"] = "KUBECTL_APPLY_SYNCED";
23674
+ TIMELINE_STATUS["HEALTHY"] = "HEALTHY";
23675
+ TIMELINE_STATUS["APP_HEALTH"] = "APP_HEALTH";
23676
+ TIMELINE_STATUS["DEPLOYMENT_FAILED"] = "FAILED";
23677
+ TIMELINE_STATUS["FETCH_TIMED_OUT"] = "TIMED_OUT";
23678
+ TIMELINE_STATUS["UNABLE_TO_FETCH_STATUS"] = "UNABLE_TO_FETCH_STATUS";
23679
+ TIMELINE_STATUS["DEGRADED"] = "DEGRADED";
23680
+ TIMELINE_STATUS["DEPLOYMENT_SUPERSEDED"] = "DEPLOYMENT_SUPERSEDED";
23681
+ TIMELINE_STATUS["ABORTED"] = "ABORTED";
23682
+ TIMELINE_STATUS["INPROGRESS"] = "INPROGRESS";
23683
+ TIMELINE_STATUS["HELM_PACKAGE_GENERATED"] = "HELM_PACKAGE_GENERATED";
23684
+ TIMELINE_STATUS["HELM_MANIFEST_PUSHED_TO_HELM_REPO"] = "HELM_MANIFEST_PUSHED_TO_HELM_REPO";
23685
+ TIMELINE_STATUS["HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"] = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED";
23686
+ })(TIMELINE_STATUS || (TIMELINE_STATUS = {}));
23687
+ var YET_TO_RUN = 'Yet to run';
23688
+
23689
+ var triggerStatus = function (triggerDetailStatus) {
23690
+ var triggerStatus = triggerDetailStatus === null || triggerDetailStatus === void 0 ? void 0 : triggerDetailStatus.toUpperCase();
23691
+ if (triggerStatus === TIMELINE_STATUS.ABORTED || triggerStatus === TIMELINE_STATUS.DEGRADED) {
23692
+ return 'Failed';
23693
+ }
23694
+ else if (triggerStatus === TIMELINE_STATUS.HEALTHY) {
23695
+ return 'Succeeded';
23696
+ }
23697
+ else if (triggerStatus === TIMELINE_STATUS.INPROGRESS) {
23698
+ return 'Inprogress';
23699
+ }
23700
+ else {
23701
+ return triggerDetailStatus;
23702
+ }
23703
+ };
23704
+
23705
+ function AppStatus(_a) {
23706
+ var appStatus = _a.appStatus, _b = _a.isDeploymentStatus, isDeploymentStatus = _b === void 0 ? false : _b, _c = _a.isJobView, isJobView = _c === void 0 ? false : _c, isVirtualEnv = _a.isVirtualEnv, _d = _a.hideStatusMessage, hideStatusMessage = _d === void 0 ? false : _d;
23707
+ var status = appStatus;
23708
+ if (isDeploymentStatus) {
23709
+ status = triggerStatus(appStatus);
23710
+ }
23711
+ var appStatusLowerCase = status === null || status === void 0 ? void 0 : status.toLowerCase();
23712
+ var isNotDeployed = appStatusLowerCase === StatusConstants.NOT_DEPLOYED.noSpaceLower;
23713
+ var iconClass = isNotDeployed ? StatusConstants.NOT_DEPLOYED.lowerCase : appStatusLowerCase;
23714
+ var statusMessage = status || (isVirtualEnv ? StatusConstants.NOT_AVILABLE.normalCase : '-');
23715
+ var notDeployed = isJobView ? YET_TO_RUN : StatusConstants.NOT_DEPLOYED.normalCase;
23716
+ var textContent = isNotDeployed ? notDeployed : statusMessage;
23717
+ var renderIcon = function () {
23718
+ if (iconClass) {
23719
+ return jsxRuntime.jsx("span", { className: "dc__app-summary__icon icon-dim-16 ".concat(iconClass, " ").concat(iconClass, "--node") });
23720
+ }
23721
+ else if (isVirtualEnv) {
23722
+ return (jsxRuntime.jsx("span", { className: "dc__app-summary__icon icon-dim-16 ".concat(StatusConstants.NOT_DEPLOYED.lowerCase, " ").concat(StatusConstants.NOT_DEPLOYED.lowerCase, "--node") }));
23723
+ }
23724
+ else {
23725
+ return (jsxRuntime.jsx(Tippy, __assign({ className: "default-tt w-200", arrow: false, placement: "top", content: "To fetch app status for GitOps based deployments open the app detail page" }, { children: jsxRuntime.jsx(SvgIcInfoOutlined, { className: "icon-dim-16 fcn-6" }) })));
23726
+ }
23727
+ };
23728
+ 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 }))] })));
23729
+ }
23730
+
23731
+ var FieldRowWithLabel = function (_a) {
23732
+ 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;
23733
+ return (jsxRuntime.jsxs("div", __assign({ className: showLabel
23734
+ ? "display-grid dc__gap-12 rjsf-form-template__field ".concat(shouldAlignCenter ? 'flex-align-center' : '')
23735
+ : '' }, { 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] })));
23736
+ };
23737
+
23738
+ var ActionButton = function (_a) {
23739
+ var canAdd = _a.canAdd, onAddClick = _a.onAddClick, disabled = _a.disabled, readonly = _a.readonly, uiSchema = _a.uiSchema, registry = _a.registry;
23740
+ var AddButton = registry.templates.ButtonTemplates.AddButton;
23741
+ return (canAdd && (jsxRuntime.jsx(AddButton, { onClick: onAddClick, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry })));
23742
+ };
23743
+ var ArrayFieldTemplate = function (_a) {
23744
+ 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;
23745
+ var uiOptions = utils.getUiOptions(uiSchema);
23746
+ var ArrayFieldItemTemplate = utils.getTemplate('ArrayFieldItemTemplate', registry, uiOptions);
23747
+ var label = uiOptions.title || title;
23748
+ return (jsxRuntime.jsx("fieldset", __assign({ className: className, id: idSchema.$id }, { children: items.length ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [items.map(function (_a, index) {
23749
+ var key = _a.key, itemProps = __rest(_a, ["key"]);
23750
+ // Show the title as the label for the first field
23751
+ var children = __assign(__assign({}, itemProps.children), { props: __assign(__assign({}, itemProps.children.props), { name: index === 0 ? label : '' }) });
23752
+ return (jsxRuntime.jsx(ArrayFieldItemTemplate, __assign({}, itemProps, { children: children }), key));
23753
+ }), 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 }) }))) })));
23754
+ };
23755
+
23756
+ var ArrayFieldItemTemplate = function (_a) {
23757
+ 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;
23758
+ var RemoveButton = registry.templates.ButtonTemplates.RemoveButton;
23759
+ 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 }) }))] })));
23760
+ };
23761
+
23762
+ var PLACEHOLDERS = {
23763
+ SELECT: 'Please select an option',
23764
+ INPUT: 'Please enter an input',
23765
+ OBJECT_KEY: 'Please enter a value for the key',
23766
+ };
23767
+
23768
+ var BaseInputTemplate = RJSF.getDefaultRegistry().templates.BaseInputTemplate;
23769
+ var BaseInput = function (_a) {
23770
+ var placeholder = _a.placeholder, props = __rest(_a, ["placeholder"]);
23771
+ return (jsxRuntime.jsx(BaseInputTemplate, __assign({ placeholder: placeholder || PLACEHOLDERS.INPUT }, props, { className: "form__input cn-9 fs-13 lh-20 fw-4" })));
23772
+ };
23773
+
23774
+ var AddButton = function (_a) {
23775
+ _a.icon; _a.iconType; _a.registry; _a.uiSchema; var props = __rest(_a, ["icon", "iconType", "registry", "uiSchema"]);
23776
+ 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" }))] })) })));
23777
+ };
23778
+
23779
+ var RemoveButton = function (_a) {
23780
+ _a.icon; _a.iconType; _a.registry; _a.uiSchema; var props = __rest(_a, ["icon", "iconType", "registry", "uiSchema"]);
23781
+ 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" }) })));
23782
+ };
23783
+
23784
+ var SubmitButton = function (_a) {
23785
+ var uiSchema = _a.uiSchema;
23786
+ var _b = utils.getSubmitButtonOptions(uiSchema), submitText = _b.submitText, norender = _b.norender, _c = _b.props, submitButtonProps = _c === void 0 ? {} : _c;
23787
+ 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 })) })));
23788
+ };
23789
+
23790
+ var Description = function (_a) {
23791
+ var id = _a.id, description = _a.description;
23792
+ 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 }))] })));
23793
+ };
23794
+
23795
+ var Field$1 = function (props) {
23796
+ 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;
23797
+ var uiOptions = utils.getUiOptions(uiSchema);
23798
+ var WrapIfAdditionalTemplate = utils.getTemplate('WrapIfAdditionalTemplate', registry, uiOptions);
23799
+ // Object type fields have additional properties for key/value pairs
23800
+ var hasAdditionalProperties = utils.ADDITIONAL_PROPERTY_FLAG in schema;
23801
+ // Label is not displayed for boolean fields by default and hide for object type fields
23802
+ var showLabel = (displayLabel || schema.type === 'boolean') && !hasAdditionalProperties;
23803
+ 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] })));
23804
+ };
23805
+
23806
+ var FieldErrorTemplate = function (_a) {
23807
+ var _b = _a.errors, errors = _b === void 0 ? [] : _b, idSchema = _a.idSchema;
23808
+ var id = utils.errorId(idSchema);
23809
+ return (errors.length > 0 && (jsxRuntime.jsx("span", __assign({ id: id }, { children: errors
23810
+ .filter(function (elem) { return !!elem; })
23811
+ .map(function (error, index) {
23812
+ return (jsxRuntime.jsxs("span", __assign({ className: "form__error" }, { children: [jsxRuntime.jsx(SvgIcWarning, { className: "form__icon form__icon--error" }), error] }), index));
23813
+ }) }))));
23814
+ };
23815
+
23816
+ var Field = function (_a) {
23817
+ 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;
23818
+ var AddButton = registry.templates.ButtonTemplates.AddButton;
23819
+ var hasAdditionalProperties = !!schema.additionalProperties;
23820
+ var ActionButton = utils.canExpand(schema, uiSchema, formData) && (jsxRuntime.jsx(AddButton, { className: "object-property-expand", onClick: onAddClick(schema), disabled: disabled || readonly, uiSchema: uiSchema, registry: registry }));
23821
+ var Properties = properties.map(function (prop) { return prop.content; });
23822
+ if (hasAdditionalProperties) {
23823
+ if (properties.length) {
23824
+ 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] }));
23825
+ }
23826
+ else {
23827
+ return (jsxRuntime.jsx(FieldRowWithLabel, __assign({ label: title, required: required, showLabel: true, id: idSchema.$id }, { children: ActionButton })));
23828
+ }
23829
+ }
23830
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [Properties, ActionButton] }));
23831
+ };
23832
+ var ObjectFieldTemplate = function (props) {
23833
+ var idSchema = props.idSchema, registry = props.registry, required = props.required, schema = props.schema, title = props.title, uiSchema = props.uiSchema;
23834
+ var options = utils.getUiOptions(uiSchema);
23835
+ var TitleFieldTemplate = utils.getTemplate('TitleFieldTemplate', registry, options);
23836
+ var hasAdditionalProperties = !!schema.additionalProperties;
23837
+ var showTitle = title && !hasAdditionalProperties;
23838
+ 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))] })));
23839
+ };
23840
+
23841
+ var TitleField = function (_a) {
23842
+ var id = _a.id, title = _a.title, required = _a.required;
23843
+ 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*" }))] })));
23844
+ };
23845
+
23846
+ var WrapIfAdditionalTemplate = function (_a) {
23847
+ 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;
23848
+ var templates = registry.templates;
23849
+ var RemoveButton = templates.ButtonTemplates.RemoveButton;
23850
+ var additional = utils.ADDITIONAL_PROPERTY_FLAG in schema;
23851
+ 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) }));
23852
+ };
23853
+
23854
+ var Checkbox = function (_a) {
23855
+ 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;
23856
+ var handleEvent = function (e, type) {
23857
+ var _a = e.target, id = _a.id, checked = _a.checked;
23858
+ if (type === 'blur') {
23859
+ onBlur(id, checked);
23860
+ }
23861
+ else if (type === 'focus') {
23862
+ onFocus(id, checked);
23863
+ }
23864
+ };
23865
+ var isSelected = typeof value === 'undefined' ? false : value;
23866
+ 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() }))] }));
23867
+ };
23868
+
23869
+ /**
23870
+ * Override for the TranslatableString from RJSF
23871
+ */
23872
+ var translateString = function (stringToTranslate, params) {
23873
+ switch (stringToTranslate) {
23874
+ case utils.TranslatableString.NewStringDefault:
23875
+ // Use an empty string for the new additionalProperties string default value
23876
+ return '';
23877
+ default:
23878
+ return utils.englishStringTranslator(stringToTranslate, params);
23879
+ }
23880
+ };
23881
+ var getCommonSelectStyle = function (styleOverrides) {
23882
+ if (styleOverrides === void 0) { styleOverrides = {}; }
23883
+ 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);
23884
+ };
23885
+
23886
+ var _path;
23887
+ 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); }
23888
+ var SvgIcChevronDown = function SvgIcChevronDown(props) {
23889
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
23890
+ xmlns: "http://www.w3.org/2000/svg",
23891
+ width: "1em",
23892
+ height: "1em",
23893
+ viewBox: "0 0 24 24"
23894
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
23895
+ fill: "#999",
23896
+ className: "ic-chevron-down_svg__fill-color",
23897
+ fillRule: "nonzero",
23898
+ d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
23899
+ })));
23900
+ };
23901
+
23902
+ var commonStyles = getCommonSelectStyle();
23903
+ 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" }) }))); };
23904
+ var Select = function (props) {
23905
+ 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;
23906
+ var _c = options.enumOptions, selectOptions = _c === void 0 ? [] : _c;
23907
+ var emptyValue = multiple ? [] : '';
23908
+ var handleChange = function (option) {
23909
+ onChange(multiple ? option.map(function (o) { return o.value; }) : option.value);
23910
+ };
23911
+ var getOption = function (value) {
23912
+ return multiple
23913
+ ? selectOptions.filter(function (option) { return value.includes(option.value); })
23914
+ : selectOptions.find(function (option) { return option.value === value; });
23915
+ };
23916
+ 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: {
23917
+ IndicatorSeparator: null,
23918
+ DropdownIndicator: DropdownIndicator,
23919
+ }, menuPlacement: "auto", menuPortalTarget: document.body }));
23920
+ };
23921
+
23922
+ var widgets = {
23923
+ CheckboxWidget: Checkbox,
23924
+ SelectWidget: Select,
23925
+ };
23926
+ var templates = {
23927
+ ArrayFieldItemTemplate: ArrayFieldItemTemplate,
23928
+ ArrayFieldTemplate: ArrayFieldTemplate,
23929
+ BaseInputTemplate: BaseInput,
23930
+ ButtonTemplates: { AddButton: AddButton, RemoveButton: RemoveButton, SubmitButton: SubmitButton },
23931
+ DescriptionFieldTemplate: Description,
23932
+ FieldTemplate: Field$1,
23933
+ FieldErrorTemplate: FieldErrorTemplate,
23934
+ ObjectFieldTemplate: ObjectFieldTemplate,
23935
+ TitleFieldTemplate: TitleField,
23936
+ WrapIfAdditionalTemplate: WrapIfAdditionalTemplate,
23937
+ };
23938
+
23939
+ 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}";
23940
+ styleInject(css_248z);
23941
+
23942
+ // Need to use this way because the default import was not working as expected
23943
+ // The default import resolves to an object intead of a function
23944
+ var Form = RJSF.default;
23945
+ 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 }))); };
23946
+
23947
+ exports.AppStatus = AppStatus;
23611
23948
  exports.BreadCrumb = BreadCrumb;
23612
23949
  exports.BreadcrumbStore = Store;
23613
23950
  exports.BuildStageVariable = BuildStageVariable;
23614
23951
  exports.CDModalTab = CDModalTab;
23615
- exports.Checkbox = Checkbox;
23952
+ exports.Checkbox = Checkbox$1;
23616
23953
  exports.ClearIndicator = ClearIndicator;
23617
23954
  exports.ClipboardButton = ClipboardButton;
23618
23955
  exports.ConditionalWrap = ConditionalWrap;
@@ -23651,6 +23988,7 @@ exports.PopupMenu = PopupMenu;
23651
23988
  exports.Progressing = Progressing;
23652
23989
  exports.PropagateTagInfo = PropagateTagInfo;
23653
23990
  exports.REGISTRY_TYPE_MAP = REGISTRY_TYPE_MAP;
23991
+ exports.RJSFForm = RJSFForm;
23654
23992
  exports.ROUTES = ROUTES;
23655
23993
  exports.RadioGroup = RadioGroup$1;
23656
23994
  exports.RadioGroupItem = RadioGroupItem;
@@ -23697,6 +24035,7 @@ exports.multiSelectStyles = multiSelectStyles;
23697
24035
  exports.noop = noop$1;
23698
24036
  exports.not = not;
23699
24037
  exports.post = post;
24038
+ exports.processDeployedTime = processDeployedTime;
23700
24039
  exports.put = put;
23701
24040
  exports.setImageTags = setImageTags;
23702
24041
  exports.showError = showError;
@@ -23706,6 +24045,7 @@ exports.toastAccessDenied = toastAccessDenied;
23706
24045
  exports.trash = trash;
23707
24046
  exports.useAsync = useAsync;
23708
24047
  exports.useBreadcrumb = useBreadcrumb;
24048
+ exports.useClickOutside = useClickOutside;
23709
24049
  exports.useEffectAfterMount = useEffectAfterMount;
23710
24050
  exports.useForm = useForm;
23711
24051
  exports.useSearchString = useSearchString;