@devtron-labs/devtron-fe-common-lib 0.0.61 → 0.0.62-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 (61) hide show
  1. package/dist/Common/Api.d.ts +9 -0
  2. package/dist/Common/Constants.d.ts +14 -0
  3. package/dist/Common/DraggableWrapper/types.d.ts +4 -1
  4. package/dist/Common/Hooks/index.d.ts +1 -0
  5. package/dist/Common/Hooks/useUrlFilters/constants.d.ts +8 -0
  6. package/dist/Common/Hooks/useUrlFilters/index.d.ts +2 -0
  7. package/dist/Common/Hooks/useUrlFilters/types.d.ts +19 -0
  8. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +20 -0
  9. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +18 -0
  10. package/dist/Common/SortableTableHeaderCell/index.d.ts +2 -0
  11. package/dist/Common/SortableTableHeaderCell/types.d.ts +25 -0
  12. package/dist/Common/Types.d.ts +16 -3
  13. package/dist/Common/index.d.ts +1 -0
  14. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +15 -0
  15. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -0
  16. package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
  17. package/dist/Pages/index.d.ts +1 -0
  18. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +4 -0
  19. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +4 -0
  20. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +4 -0
  21. package/dist/Shared/Components/BulkSelection/constants.d.ts +9 -0
  22. package/dist/Shared/Components/BulkSelection/index.d.ts +4 -0
  23. package/dist/Shared/Components/BulkSelection/types.d.ts +56 -0
  24. package/dist/Shared/Components/index.d.ts +1 -0
  25. package/dist/Shared/index.d.ts +1 -0
  26. package/dist/index.d.ts +3 -1
  27. package/dist/index.js +652 -142
  28. package/package.json +1 -1
  29. package/src/Assets/Icon/ic-arrow-up-down.svg +3 -0
  30. package/src/Assets/Icon/ic-check-all.svg +5 -0
  31. package/src/Assets/Icon/ic-check-square.svg +4 -0
  32. package/src/Assets/Icon/ic-close.svg +9 -0
  33. package/src/Assets/Icon/ic-sort-arrow-down.svg +3 -0
  34. package/src/Common/Api.ts +21 -0
  35. package/src/Common/Constants.ts +17 -1
  36. package/src/Common/DraggableWrapper/types.ts +4 -1
  37. package/src/Common/Helper.tsx +8 -1
  38. package/src/Common/Hooks/index.ts +1 -0
  39. package/src/Common/Hooks/useUrlFilters/constants.ts +9 -0
  40. package/src/Common/Hooks/useUrlFilters/index.ts +2 -0
  41. package/src/Common/Hooks/useUrlFilters/types.ts +21 -0
  42. package/src/Common/Hooks/useUrlFilters/useUrlFilters.ts +121 -0
  43. package/src/Common/SearchBar/SearchBar.component.tsx +1 -0
  44. package/src/Common/SortableTableHeaderCell/SortableTableHeaderCell.tsx +44 -0
  45. package/src/Common/SortableTableHeaderCell/index.ts +2 -0
  46. package/src/Common/SortableTableHeaderCell/types.ts +26 -0
  47. package/src/Common/Types.ts +16 -2
  48. package/src/Common/index.ts +1 -0
  49. package/src/Pages/GlobalConfigurations/Authorization/constants.ts +16 -0
  50. package/src/Pages/GlobalConfigurations/Authorization/index.ts +1 -0
  51. package/src/Pages/GlobalConfigurations/index.ts +1 -0
  52. package/src/Pages/index.ts +1 -0
  53. package/src/Shared/Components/BulkSelection/BulkSelection.tsx +77 -0
  54. package/src/Shared/Components/BulkSelection/BulkSelectionDropdownItems.tsx +31 -0
  55. package/src/Shared/Components/BulkSelection/BulkSelectionProvider.tsx +171 -0
  56. package/src/Shared/Components/BulkSelection/constants.tsx +13 -0
  57. package/src/Shared/Components/BulkSelection/index.ts +4 -0
  58. package/src/Shared/Components/BulkSelection/types.tsx +67 -0
  59. package/src/Shared/Components/index.ts +1 -0
  60. package/src/Shared/index.ts +1 -0
  61. package/src/index.ts +3 -1
package/dist/index.js CHANGED
@@ -267,7 +267,22 @@ var MAX_Z_INDEX = 2147483647;
267
267
  var SELECTED_APPROVAL_TAB_STATE = {
268
268
  APPROVAL: 'approval',
269
269
  PENDING: 'pending',
270
- };
270
+ };
271
+ exports.SortingOrder = void 0;
272
+ (function (SortingOrder) {
273
+ /**
274
+ * Ascending order
275
+ */
276
+ SortingOrder["ASC"] = "ASC";
277
+ /**
278
+ * Descending order
279
+ */
280
+ SortingOrder["DESC"] = "DESC";
281
+ })(exports.SortingOrder || (exports.SortingOrder = {}));
282
+ /**
283
+ * Base page size for pagination
284
+ */
285
+ var DEFAULT_BASE_PAGE_SIZE = 20;
271
286
 
272
287
  /******************************************************************************
273
288
  Copyright (c) Microsoft Corporation.
@@ -429,6 +444,7 @@ exports.CHECKBOX_VALUE = void 0;
429
444
  (function (CHECKBOX_VALUE) {
430
445
  CHECKBOX_VALUE["CHECKED"] = "CHECKED";
431
446
  CHECKBOX_VALUE["INTERMEDIATE"] = "INTERMEDIATE";
447
+ CHECKBOX_VALUE["BULK_CHECKED"] = "BULK_CHECKED";
432
448
  })(exports.CHECKBOX_VALUE || (exports.CHECKBOX_VALUE = {}));
433
449
  exports.ImageType = void 0;
434
450
  (function (ImageType) {
@@ -732,6 +748,22 @@ var get = function (url, options) {
732
748
  };
733
749
  var trash = function (url, data, options) {
734
750
  return fetchInTime(url, 'DELETE', data, options);
751
+ };
752
+ /**
753
+ * Aborts the previous request before triggering next request
754
+ */
755
+ var abortPreviousRequests = function (callback, abortControllerRef) {
756
+ abortControllerRef.current.abort();
757
+ // eslint-disable-next-line no-param-reassign
758
+ abortControllerRef.current = new AbortController();
759
+ return callback();
760
+ };
761
+ /**
762
+ * Returns true if the error is due to a aborted request
763
+ */
764
+ var getIsRequestAborted = function (error) {
765
+ // The 0 code is common for aborted and blocked requests
766
+ return error && error.code === 0 && error.message === 'The user aborted a request.';
735
767
  };
736
768
 
737
769
  function styleInject(css, ref) {
@@ -765,9 +797,9 @@ var css_248z$9 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n heig
765
797
  styleInject(css_248z$9);
766
798
 
767
799
  var _g$7;
768
- function _extends$o() { _extends$o = 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$o.apply(this, arguments); }
800
+ function _extends$t() { _extends$t = 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$t.apply(this, arguments); }
769
801
  var SvgIcProgressing = function SvgIcProgressing(props) {
770
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
802
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
771
803
  xmlns: "http://www.w3.org/2000/svg",
772
804
  viewBox: "0 0 24 24",
773
805
  width: "1em",
@@ -819,8 +851,8 @@ EmptyState.Loading = Loading;
819
851
 
820
852
  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}
821
853
 
822
- function _extends$n() {
823
- _extends$n = Object.assign || function (target) {
854
+ function _extends$s() {
855
+ _extends$s = Object.assign || function (target) {
824
856
  for (var i = 1; i < arguments.length; i++) {
825
857
  var source = arguments[i];
826
858
 
@@ -834,7 +866,7 @@ function _extends$n() {
834
866
  return target;
835
867
  };
836
868
 
837
- return _extends$n.apply(this, arguments);
869
+ return _extends$s.apply(this, arguments);
838
870
  }
839
871
 
840
872
  function _objectWithoutPropertiesLoose$2(source, excluded) {
@@ -1560,7 +1592,7 @@ function ProgressBar(_ref) {
1560
1592
  isIn = _ref.isIn,
1561
1593
  theme = _ref.theme;
1562
1594
 
1563
- var style = _extends$n({}, userStyle, {
1595
+ var style = _extends$s({}, userStyle, {
1564
1596
  animationDuration: delay + "ms",
1565
1597
  animationPlayState: isRunning ? 'running' : 'paused',
1566
1598
  opacity: hide ? 0 : 1
@@ -1837,9 +1869,9 @@ var ToastContainer = function ToastContainer(props) {
1837
1869
  ,
1838
1870
  id: containerId
1839
1871
  }, getToastToRender(function (position, toastList) {
1840
- var containerStyle = !toastList.length ? _extends$n({}, style, {
1872
+ var containerStyle = !toastList.length ? _extends$s({}, style, {
1841
1873
  pointerEvents: 'none'
1842
- }) : _extends$n({}, style);
1874
+ }) : _extends$s({}, style);
1843
1875
  return React.createElement("div", {
1844
1876
  className: getClassName(position),
1845
1877
  style: containerStyle,
@@ -1946,7 +1978,7 @@ function dispatchToast(content, options) {
1946
1978
 
1947
1979
 
1948
1980
  function mergeOptions(type, options) {
1949
- return _extends$n({}, options, {
1981
+ return _extends$s({}, options, {
1950
1982
  type: options && options.type || type,
1951
1983
  toastId: getToastId(options)
1952
1984
  });
@@ -1963,7 +1995,7 @@ function toast(content, options) {
1963
1995
  }
1964
1996
 
1965
1997
  toast.loading = function (content, options) {
1966
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$n({
1998
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$s({
1967
1999
  isLoading: true,
1968
2000
  autoClose: false,
1969
2001
  closeOnClick: false,
@@ -1979,7 +2011,7 @@ function handlePromise(promise, _ref2, options) {
1979
2011
  var id;
1980
2012
 
1981
2013
  if (pending) {
1982
- id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$n({}, options, pending));
2014
+ id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$s({}, options, pending));
1983
2015
  }
1984
2016
 
1985
2017
  var resetParams = {
@@ -1998,7 +2030,7 @@ function handlePromise(promise, _ref2, options) {
1998
2030
  return;
1999
2031
  }
2000
2032
 
2001
- var baseParams = _extends$n({
2033
+ var baseParams = _extends$s({
2002
2034
  type: type
2003
2035
  }, resetParams, options, {
2004
2036
  data: result
@@ -2009,10 +2041,10 @@ function handlePromise(promise, _ref2, options) {
2009
2041
  } : input; // if the id is set we know that it's an update
2010
2042
 
2011
2043
  if (id) {
2012
- toast.update(id, _extends$n({}, baseParams, params));
2044
+ toast.update(id, _extends$s({}, baseParams, params));
2013
2045
  } else {
2014
2046
  // using toast.promise without loading
2015
- toast(params.render, _extends$n({}, baseParams, params));
2047
+ toast(params.render, _extends$s({}, baseParams, params));
2016
2048
  }
2017
2049
 
2018
2050
  return result;
@@ -2036,7 +2068,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
2036
2068
  toast.warn = toast.warning;
2037
2069
 
2038
2070
  toast.dark = function (content, options) {
2039
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$n({
2071
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$s({
2040
2072
  theme: 'dark'
2041
2073
  }, options)));
2042
2074
  };
@@ -2093,7 +2125,7 @@ toast.update = function (toastId, options) {
2093
2125
  var oldOptions = toast.props,
2094
2126
  oldContent = toast.content;
2095
2127
 
2096
- var nextOptions = _extends$n({}, oldOptions, options, {
2128
+ var nextOptions = _extends$s({}, oldOptions, options, {
2097
2129
  toastId: options.toastId || toastId,
2098
2130
  updateId: generateToastId()
2099
2131
  });
@@ -11776,9 +11808,17 @@ var processDeployedTime = function (lastDeployed, isArgoInstalled) {
11776
11808
  */
11777
11809
  var getUrlWithSearchParams = function (url, params) {
11778
11810
  var searchParams = new URLSearchParams();
11811
+ // TODO: Common out
11779
11812
  Object.keys(params).forEach(function (key) {
11780
11813
  if (params[key]) {
11781
- searchParams.append(key, params[key]);
11814
+ if (Array.isArray(params[key])) {
11815
+ params[key].forEach(function (val) {
11816
+ searchParams.append(key, val);
11817
+ });
11818
+ }
11819
+ else {
11820
+ searchParams.set(key, params[key]);
11821
+ }
11782
11822
  }
11783
11823
  });
11784
11824
  var queryString = searchParams.toString();
@@ -12027,16 +12067,16 @@ var Modal = function (_a) {
12027
12067
  }, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
12028
12068
  };
12029
12069
 
12030
- var _path$d;
12031
- function _extends$m() { _extends$m = 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$m.apply(this, arguments); }
12070
+ var _path$h;
12071
+ function _extends$r() { _extends$r = 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$r.apply(this, arguments); }
12032
12072
  var SvgIcCross = function SvgIcCross(props) {
12033
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
12073
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
12034
12074
  width: "1em",
12035
12075
  height: "1em",
12036
12076
  viewBox: "0 0 24 24",
12037
12077
  fill: "none",
12038
12078
  xmlns: "http://www.w3.org/2000/svg"
12039
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
12079
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
12040
12080
  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",
12041
12081
  fill: "#596168"
12042
12082
  })));
@@ -16335,30 +16375,30 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
16335
16375
 
16336
16376
  var Tippy = index;
16337
16377
 
16338
- var _path$c;
16339
- 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); }
16378
+ var _path$g;
16379
+ function _extends$q() { _extends$q = 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$q.apply(this, arguments); }
16340
16380
  var SvgIcHelp = function SvgIcHelp(props) {
16341
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
16381
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
16342
16382
  xmlns: "http://www.w3.org/2000/svg",
16343
16383
  width: "1em",
16344
16384
  height: "1em",
16345
16385
  viewBox: "0 0 24 24"
16346
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16386
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
16347
16387
  fill: "#767D84",
16348
16388
  fillRule: "evenodd",
16349
16389
  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"
16350
16390
  })));
16351
16391
  };
16352
16392
 
16353
- var _path$b;
16354
- 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); }
16393
+ var _path$f;
16394
+ function _extends$p() { _extends$p = 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$p.apply(this, arguments); }
16355
16395
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
16356
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
16396
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
16357
16397
  xmlns: "http://www.w3.org/2000/svg",
16358
16398
  viewBox: "0 0 17 16",
16359
16399
  width: "1em",
16360
16400
  height: "1em"
16361
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
16401
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
16362
16402
  fill: "#767D84",
16363
16403
  fillRule: "evenodd",
16364
16404
  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"
@@ -16410,16 +16450,16 @@ function TippyCustomized(props) {
16410
16450
  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 })));
16411
16451
  }
16412
16452
 
16413
- var _path$a, _circle, _path2$1;
16414
- 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); }
16453
+ var _path$e, _circle, _path2$1;
16454
+ function _extends$o() { _extends$o = 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$o.apply(this, arguments); }
16415
16455
  var SvgInjectTag = function SvgInjectTag(props) {
16416
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
16456
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
16417
16457
  width: "1em",
16418
16458
  height: "1em",
16419
16459
  viewBox: "0 0 20 20",
16420
16460
  fill: "none",
16421
16461
  xmlns: "http://www.w3.org/2000/svg"
16422
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
16462
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
16423
16463
  d: "M10 10H3.333",
16424
16464
  stroke: "#596168",
16425
16465
  strokeWidth: 1.5,
@@ -16447,15 +16487,15 @@ function PropagateTagInfo(_a) {
16447
16487
  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" })] })) })));
16448
16488
  }
16449
16489
 
16450
- var _path$9;
16451
- 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); }
16490
+ var _path$d;
16491
+ function _extends$n() { _extends$n = 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$n.apply(this, arguments); }
16452
16492
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
16453
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
16493
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
16454
16494
  xmlns: "http://www.w3.org/2000/svg",
16455
16495
  width: "1em",
16456
16496
  height: "1em",
16457
16497
  viewBox: "0 0 20 20"
16458
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
16498
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
16459
16499
  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",
16460
16500
  fill: "#06C",
16461
16501
  fillRule: "evenodd"
@@ -16689,15 +16729,15 @@ var TagDetails = function (_a) {
16689
16729
  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" }) }))] })));
16690
16730
  };
16691
16731
 
16692
- var _path$8;
16693
- 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); }
16732
+ var _path$c;
16733
+ function _extends$m() { _extends$m = 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$m.apply(this, arguments); }
16694
16734
  var SvgIcAdd = function SvgIcAdd(props) {
16695
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
16735
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
16696
16736
  xmlns: "http://www.w3.org/2000/svg",
16697
16737
  width: "1em",
16698
16738
  height: "1em",
16699
16739
  viewBox: "0 0 24 24"
16700
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
16740
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16701
16741
  className: "ic-add_svg__fill-color",
16702
16742
  fill: "#999",
16703
16743
  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"
@@ -16827,8 +16867,8 @@ function ForceDeleteDialog(_a) {
16827
16867
  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?" })] }) })) }));
16828
16868
  }
16829
16869
 
16830
- function _extends$g() {
16831
- _extends$g = Object.assign ? Object.assign.bind() : function (target) {
16870
+ function _extends$l() {
16871
+ _extends$l = Object.assign ? Object.assign.bind() : function (target) {
16832
16872
  for (var i = 1; i < arguments.length; i++) {
16833
16873
  var source = arguments[i];
16834
16874
  for (var key in source) {
@@ -16839,7 +16879,7 @@ function _extends$g() {
16839
16879
  }
16840
16880
  return target;
16841
16881
  };
16842
- return _extends$g.apply(this, arguments);
16882
+ return _extends$l.apply(this, arguments);
16843
16883
  }
16844
16884
 
16845
16885
  /*
@@ -20380,7 +20420,7 @@ var Menu = function Menu(props) {
20380
20420
  getStyles = props.getStyles,
20381
20421
  innerRef = props.innerRef,
20382
20422
  innerProps = props.innerProps;
20383
- return jsx("div", _extends$g({
20423
+ return jsx("div", _extends$l({
20384
20424
  css: getStyles('menu', props),
20385
20425
  className: cx({
20386
20426
  menu: true
@@ -20412,7 +20452,7 @@ var MenuList$1 = function MenuList(props) {
20412
20452
  innerProps = props.innerProps,
20413
20453
  innerRef = props.innerRef,
20414
20454
  isMulti = props.isMulti;
20415
- return jsx("div", _extends$g({
20455
+ return jsx("div", _extends$l({
20416
20456
  css: getStyles('menuList', props),
20417
20457
  className: cx({
20418
20458
  'menu-list': true,
@@ -20443,7 +20483,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
20443
20483
  cx = props.cx,
20444
20484
  getStyles = props.getStyles,
20445
20485
  innerProps = props.innerProps;
20446
- return jsx("div", _extends$g({
20486
+ return jsx("div", _extends$l({
20447
20487
  css: getStyles('noOptionsMessage', props),
20448
20488
  className: cx({
20449
20489
  'menu-notice': true,
@@ -20460,7 +20500,7 @@ var LoadingMessage = function LoadingMessage(props) {
20460
20500
  cx = props.cx,
20461
20501
  getStyles = props.getStyles,
20462
20502
  innerProps = props.innerProps;
20463
- return jsx("div", _extends$g({
20503
+ return jsx("div", _extends$l({
20464
20504
  css: getStyles('loadingMessage', props),
20465
20505
  className: cx({
20466
20506
  'menu-notice': true,
@@ -20548,7 +20588,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
20548
20588
  rect: rect
20549
20589
  }; // same wrapper element whether fixed or portalled
20550
20590
 
20551
- var menuWrapper = jsx("div", _extends$g({
20591
+ var menuWrapper = jsx("div", _extends$l({
20552
20592
  css: getStyles('menuPortal', state),
20553
20593
  className: cx({
20554
20594
  'menu-portal': true
@@ -20584,7 +20624,7 @@ var SelectContainer = function SelectContainer(props) {
20584
20624
  innerProps = props.innerProps,
20585
20625
  isDisabled = props.isDisabled,
20586
20626
  isRtl = props.isRtl;
20587
- return jsx("div", _extends$g({
20627
+ return jsx("div", _extends$l({
20588
20628
  css: getStyles('container', props),
20589
20629
  className: cx({
20590
20630
  '--is-disabled': isDisabled,
@@ -20619,7 +20659,7 @@ var ValueContainer = function ValueContainer(props) {
20619
20659
  isMulti = props.isMulti,
20620
20660
  getStyles = props.getStyles,
20621
20661
  hasValue = props.hasValue;
20622
- return jsx("div", _extends$g({
20662
+ return jsx("div", _extends$l({
20623
20663
  css: getStyles('valueContainer', props),
20624
20664
  className: cx({
20625
20665
  'value-container': true,
@@ -20645,7 +20685,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
20645
20685
  cx = props.cx,
20646
20686
  innerProps = props.innerProps,
20647
20687
  getStyles = props.getStyles;
20648
- return jsx("div", _extends$g({
20688
+ return jsx("div", _extends$l({
20649
20689
  css: getStyles('indicatorsContainer', props),
20650
20690
  className: cx({
20651
20691
  indicators: true
@@ -20676,7 +20716,7 @@ var Svg = function Svg(_ref) {
20676
20716
  var size = _ref.size,
20677
20717
  props = _objectWithoutProperties(_ref, _excluded$2);
20678
20718
 
20679
- return jsx("svg", _extends$g({
20719
+ return jsx("svg", _extends$l({
20680
20720
  height: size,
20681
20721
  width: size,
20682
20722
  viewBox: "0 0 20 20",
@@ -20687,14 +20727,14 @@ var Svg = function Svg(_ref) {
20687
20727
  };
20688
20728
 
20689
20729
  var CrossIcon = function CrossIcon(props) {
20690
- return jsx(Svg, _extends$g({
20730
+ return jsx(Svg, _extends$l({
20691
20731
  size: 20
20692
20732
  }, props), jsx("path", {
20693
20733
  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"
20694
20734
  }));
20695
20735
  };
20696
20736
  var DownChevron = function DownChevron(props) {
20697
- return jsx(Svg, _extends$g({
20737
+ return jsx(Svg, _extends$l({
20698
20738
  size: 20
20699
20739
  }, props), jsx("path", {
20700
20740
  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"
@@ -20727,7 +20767,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
20727
20767
  cx = props.cx,
20728
20768
  getStyles = props.getStyles,
20729
20769
  innerProps = props.innerProps;
20730
- return jsx("div", _extends$g({
20770
+ return jsx("div", _extends$l({
20731
20771
  css: getStyles('dropdownIndicator', props),
20732
20772
  className: cx({
20733
20773
  indicator: true,
@@ -20742,7 +20782,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
20742
20782
  cx = props.cx,
20743
20783
  getStyles = props.getStyles,
20744
20784
  innerProps = props.innerProps;
20745
- return jsx("div", _extends$g({
20785
+ return jsx("div", _extends$l({
20746
20786
  css: getStyles('clearIndicator', props),
20747
20787
  className: cx({
20748
20788
  indicator: true,
@@ -20772,7 +20812,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
20772
20812
  cx = props.cx,
20773
20813
  getStyles = props.getStyles,
20774
20814
  innerProps = props.innerProps;
20775
- return jsx("span", _extends$g({}, innerProps, {
20815
+ return jsx("span", _extends$l({}, innerProps, {
20776
20816
  css: getStyles('indicatorSeparator', props),
20777
20817
  className: cx({
20778
20818
  'indicator-separator': true
@@ -20827,7 +20867,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
20827
20867
  getStyles = props.getStyles,
20828
20868
  innerProps = props.innerProps,
20829
20869
  isRtl = props.isRtl;
20830
- return jsx("div", _extends$g({
20870
+ return jsx("div", _extends$l({
20831
20871
  css: getStyles('loadingIndicator', props),
20832
20872
  className: cx({
20833
20873
  indicator: true,
@@ -20888,7 +20928,7 @@ var Control = function Control(props) {
20888
20928
  innerRef = props.innerRef,
20889
20929
  innerProps = props.innerProps,
20890
20930
  menuIsOpen = props.menuIsOpen;
20891
- return jsx("div", _extends$g({
20931
+ return jsx("div", _extends$l({
20892
20932
  ref: innerRef,
20893
20933
  css: getStyles('control', props),
20894
20934
  className: cx({
@@ -20920,12 +20960,12 @@ var Group = function Group(props) {
20920
20960
  label = props.label,
20921
20961
  theme = props.theme,
20922
20962
  selectProps = props.selectProps;
20923
- return jsx("div", _extends$g({
20963
+ return jsx("div", _extends$l({
20924
20964
  css: getStyles('group', props),
20925
20965
  className: cx({
20926
20966
  group: true
20927
20967
  }, className)
20928
- }, innerProps), jsx(Heading, _extends$g({}, headingProps, {
20968
+ }, innerProps), jsx(Heading, _extends$l({}, headingProps, {
20929
20969
  selectProps: selectProps,
20930
20970
  theme: theme,
20931
20971
  getStyles: getStyles,
@@ -20957,7 +20997,7 @@ var GroupHeading = function GroupHeading(props) {
20957
20997
  _cleanCommonProps.data;
20958
20998
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
20959
20999
 
20960
- return jsx("div", _extends$g({
21000
+ return jsx("div", _extends$l({
20961
21001
  css: getStyles('groupHeading', props),
20962
21002
  className: cx({
20963
21003
  'group-heading': true
@@ -21033,7 +21073,7 @@ var Input = function Input(props) {
21033
21073
  }, className),
21034
21074
  css: getStyles('input', props),
21035
21075
  "data-value": value || ''
21036
- }, jsx("input", _extends$g({
21076
+ }, jsx("input", _extends$l({
21037
21077
  className: cx({
21038
21078
  input: true
21039
21079
  }, inputClassName),
@@ -21103,7 +21143,7 @@ var MultiValueLabel = MultiValueGeneric;
21103
21143
  function MultiValueRemove$1(_ref5) {
21104
21144
  var children = _ref5.children,
21105
21145
  innerProps = _ref5.innerProps;
21106
- return jsx("div", _extends$g({
21146
+ return jsx("div", _extends$l({
21107
21147
  role: "button"
21108
21148
  }, innerProps), children || jsx(CrossIcon, {
21109
21149
  size: 14
@@ -21192,7 +21232,7 @@ var Option$1 = function Option(props) {
21192
21232
  isSelected = props.isSelected,
21193
21233
  innerRef = props.innerRef,
21194
21234
  innerProps = props.innerProps;
21195
- return jsx("div", _extends$g({
21235
+ return jsx("div", _extends$l({
21196
21236
  css: getStyles('option', props),
21197
21237
  className: cx({
21198
21238
  option: true,
@@ -21224,7 +21264,7 @@ var Placeholder = function Placeholder(props) {
21224
21264
  cx = props.cx,
21225
21265
  getStyles = props.getStyles,
21226
21266
  innerProps = props.innerProps;
21227
- return jsx("div", _extends$g({
21267
+ return jsx("div", _extends$l({
21228
21268
  css: getStyles('placeholder', props),
21229
21269
  className: cx({
21230
21270
  placeholder: true
@@ -21257,7 +21297,7 @@ var SingleValue = function SingleValue(props) {
21257
21297
  getStyles = props.getStyles,
21258
21298
  isDisabled = props.isDisabled,
21259
21299
  innerProps = props.innerProps;
21260
- return jsx("div", _extends$g({
21300
+ return jsx("div", _extends$l({
21261
21301
  css: getStyles('singleValue', props),
21262
21302
  className: cx({
21263
21303
  'single-value': true,
@@ -21505,7 +21545,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
21505
21545
  };
21506
21546
 
21507
21547
  var A11yText = function A11yText(props) {
21508
- return jsx("span", _extends$g({
21548
+ return jsx("span", _extends$l({
21509
21549
  css: _ref
21510
21550
  }, props));
21511
21551
  };
@@ -22041,7 +22081,7 @@ function DummyInput(_ref) {
22041
22081
  var innerRef = _ref.innerRef,
22042
22082
  props = _objectWithoutProperties(_ref, _excluded);
22043
22083
 
22044
- return jsx("input", _extends$g({
22084
+ return jsx("input", _extends$l({
22045
22085
  ref: innerRef
22046
22086
  }, props, {
22047
22087
  css: /*#__PURE__*/css$2({
@@ -23676,7 +23716,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23676
23716
 
23677
23717
  if (!isSearchable) {
23678
23718
  // use a dummy input to maintain focus/blur functionality
23679
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$g({
23719
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$l({
23680
23720
  id: id,
23681
23721
  innerRef: this.getInputRef,
23682
23722
  onBlur: this.onInputBlur,
@@ -23690,7 +23730,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23690
23730
  }, ariaAttributes));
23691
23731
  }
23692
23732
 
23693
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$g({}, commonProps, {
23733
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$l({}, commonProps, {
23694
23734
  autoCapitalize: "none",
23695
23735
  autoComplete: "off",
23696
23736
  autoCorrect: "off",
@@ -23734,7 +23774,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23734
23774
  isFocused = _this$state5.isFocused;
23735
23775
 
23736
23776
  if (!this.hasValue() || !controlShouldRenderValue) {
23737
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$g({}, commonProps, {
23777
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$l({}, commonProps, {
23738
23778
  key: "placeholder",
23739
23779
  isDisabled: isDisabled,
23740
23780
  isFocused: isFocused,
@@ -23748,7 +23788,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23748
23788
  return selectValue.map(function (opt, index) {
23749
23789
  var isOptionFocused = opt === focusedValue;
23750
23790
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
23751
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$g({}, commonProps, {
23791
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$l({}, commonProps, {
23752
23792
  components: {
23753
23793
  Container: MultiValueContainer,
23754
23794
  Label: MultiValueLabel,
@@ -23780,7 +23820,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23780
23820
  }
23781
23821
 
23782
23822
  var singleValue = selectValue[0];
23783
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$g({}, commonProps, {
23823
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$l({}, commonProps, {
23784
23824
  data: singleValue,
23785
23825
  isDisabled: isDisabled
23786
23826
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -23806,7 +23846,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23806
23846
  onTouchEnd: this.onClearIndicatorTouchEnd,
23807
23847
  'aria-hidden': 'true'
23808
23848
  };
23809
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$g({}, commonProps, {
23849
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$l({}, commonProps, {
23810
23850
  innerProps: innerProps,
23811
23851
  isFocused: isFocused
23812
23852
  }));
@@ -23826,7 +23866,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23826
23866
  var innerProps = {
23827
23867
  'aria-hidden': 'true'
23828
23868
  };
23829
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$g({}, commonProps, {
23869
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$l({}, commonProps, {
23830
23870
  innerProps: innerProps,
23831
23871
  isDisabled: isDisabled,
23832
23872
  isFocused: isFocused
@@ -23844,7 +23884,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23844
23884
  var commonProps = this.commonProps;
23845
23885
  var isDisabled = this.props.isDisabled;
23846
23886
  var isFocused = this.state.isFocused;
23847
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$g({}, commonProps, {
23887
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$l({}, commonProps, {
23848
23888
  isDisabled: isDisabled,
23849
23889
  isFocused: isFocused
23850
23890
  }));
@@ -23864,7 +23904,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23864
23904
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
23865
23905
  'aria-hidden': 'true'
23866
23906
  };
23867
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$g({}, commonProps, {
23907
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$l({}, commonProps, {
23868
23908
  innerProps: innerProps,
23869
23909
  isDisabled: isDisabled,
23870
23910
  isFocused: isFocused
@@ -23927,7 +23967,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23927
23967
  onMouseOver: onHover,
23928
23968
  tabIndex: -1
23929
23969
  };
23930
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$g({}, commonProps, {
23970
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$l({}, commonProps, {
23931
23971
  innerProps: innerProps,
23932
23972
  data: data,
23933
23973
  isDisabled: isDisabled,
@@ -23951,7 +23991,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23951
23991
  groupIndex = item.index;
23952
23992
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
23953
23993
  var headingId = "".concat(groupId, "-heading");
23954
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$g({}, commonProps, {
23994
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$l({}, commonProps, {
23955
23995
  key: groupId,
23956
23996
  data: _data,
23957
23997
  options: options,
@@ -23990,12 +24030,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23990
24030
  menuPosition: menuPosition,
23991
24031
  menuShouldScrollIntoView: menuShouldScrollIntoView
23992
24032
  };
23993
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$g({}, commonProps, menuPlacementProps), function (_ref4) {
24033
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$l({}, commonProps, menuPlacementProps), function (_ref4) {
23994
24034
  var ref = _ref4.ref,
23995
24035
  _ref4$placerProps = _ref4.placerProps,
23996
24036
  placement = _ref4$placerProps.placement,
23997
24037
  maxHeight = _ref4$placerProps.maxHeight;
23998
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$g({}, commonProps, menuPlacementProps, {
24038
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$l({}, commonProps, menuPlacementProps, {
23999
24039
  innerRef: ref,
24000
24040
  innerProps: {
24001
24041
  onMouseDown: _this4.onMenuMouseDown,
@@ -24010,7 +24050,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24010
24050
  onBottomArrive: onMenuScrollToBottom,
24011
24051
  lockEnabled: menuShouldBlockScroll
24012
24052
  }, function (scrollTargetRef) {
24013
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$g({}, commonProps, {
24053
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$l({}, commonProps, {
24014
24054
  innerRef: function innerRef(instance) {
24015
24055
  _this4.getMenuListRef(instance);
24016
24056
 
@@ -24025,7 +24065,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24025
24065
  // so we use the same component. the actual portalling logic is forked
24026
24066
  // within the component based on `menuPosition`
24027
24067
 
24028
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$g({}, commonProps, {
24068
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$l({}, commonProps, {
24029
24069
  appendTo: menuPortalTarget,
24030
24070
  controlElement: this.controlRef,
24031
24071
  menuPlacement: menuPlacement,
@@ -24090,7 +24130,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24090
24130
  isFocused = _this$state6.isFocused,
24091
24131
  selectValue = _this$state6.selectValue;
24092
24132
  var focusableOptions = this.getFocusableOptions();
24093
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$g({}, commonProps, {
24133
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$l({}, commonProps, {
24094
24134
  id: this.getElementId('live-region'),
24095
24135
  ariaSelection: ariaSelection,
24096
24136
  focusedOption: focusedOption,
@@ -24116,7 +24156,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24116
24156
  menuIsOpen = _this$props14.menuIsOpen;
24117
24157
  var isFocused = this.state.isFocused;
24118
24158
  var commonProps = this.commonProps = this.getCommonProps();
24119
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$g({}, commonProps, {
24159
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$l({}, commonProps, {
24120
24160
  className: className,
24121
24161
  innerProps: {
24122
24162
  id: id,
@@ -24124,7 +24164,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24124
24164
  },
24125
24165
  isDisabled: isDisabled,
24126
24166
  isFocused: isFocused
24127
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$g({}, commonProps, {
24167
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$l({}, commonProps, {
24128
24168
  innerRef: this.getControlRef,
24129
24169
  innerProps: {
24130
24170
  onMouseDown: this.onControlMouseDown,
@@ -24133,9 +24173,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24133
24173
  isDisabled: isDisabled,
24134
24174
  isFocused: isFocused,
24135
24175
  menuIsOpen: menuIsOpen
24136
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$g({}, commonProps, {
24176
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$l({}, commonProps, {
24137
24177
  isDisabled: isDisabled
24138
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$g({}, commonProps, {
24178
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$l({}, commonProps, {
24139
24179
  isDisabled: isDisabled
24140
24180
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
24141
24181
  }
@@ -24208,7 +24248,7 @@ Select$1.defaultProps = defaultProps;
24208
24248
 
24209
24249
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24210
24250
  var baseSelectProps = useStateManager(props);
24211
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$g({
24251
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$l({
24212
24252
  ref: ref
24213
24253
  }, baseSelectProps));
24214
24254
  });
@@ -24216,9 +24256,9 @@ var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24216
24256
  var ReactSelect = StateManagedSelect;
24217
24257
 
24218
24258
  var _g$6;
24219
- 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); }
24259
+ 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); }
24220
24260
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24221
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24261
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
24222
24262
  xmlns: "http://www.w3.org/2000/svg",
24223
24263
  viewBox: "0 0 28 28",
24224
24264
  width: "1em",
@@ -24239,15 +24279,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24239
24279
  }))));
24240
24280
  };
24241
24281
 
24242
- var _path$7;
24243
- 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); }
24282
+ var _path$b;
24283
+ 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); }
24244
24284
  var SvgIcCheck = function SvgIcCheck(props) {
24245
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24285
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
24246
24286
  xmlns: "http://www.w3.org/2000/svg",
24247
24287
  width: "1em",
24248
24288
  height: "1em",
24249
24289
  viewBox: "0 0 24 24"
24250
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
24290
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
24251
24291
  stroke: "#06C",
24252
24292
  strokeLinecap: "round",
24253
24293
  strokeLinejoin: "round",
@@ -24259,9 +24299,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
24259
24299
  };
24260
24300
 
24261
24301
  var _g$5;
24262
- 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); }
24302
+ 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); }
24263
24303
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
24264
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24304
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
24265
24305
  xmlns: "http://www.w3.org/2000/svg",
24266
24306
  width: "1em",
24267
24307
  height: "1em",
@@ -24604,9 +24644,9 @@ var Checkbox$1 = /** @class */ (function (_super) {
24604
24644
  }(React.Component));
24605
24645
 
24606
24646
  var _g$4;
24607
- 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); }
24647
+ 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); }
24608
24648
  var SvgIcSearch = function SvgIcSearch(props) {
24609
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24649
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
24610
24650
  xmlns: "http://www.w3.org/2000/svg",
24611
24651
  viewBox: "0 0 24 24",
24612
24652
  width: "1em",
@@ -24623,9 +24663,9 @@ var SvgIcSearch = function SvgIcSearch(props) {
24623
24663
  };
24624
24664
 
24625
24665
  var _g$3;
24626
- 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); }
24666
+ 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); }
24627
24667
  var SvgIcErrorCross = function SvgIcErrorCross(props) {
24628
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24668
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
24629
24669
  xmlns: "http://www.w3.org/2000/svg",
24630
24670
  width: "1em",
24631
24671
  height: "1em",
@@ -24729,6 +24769,61 @@ var SearchBar = function (_a) {
24729
24769
  return (jsxRuntime.jsx("div", __assign({ className: containerClassName }, { children: jsxRuntime.jsxs("div", __assign({ className: "search-bar bc-n50 focus-within-border-b5 dc__hover-border-n300 dc__block w-100 min-w-200 dc__position-rel en-2 bw-1 br-4 h-32" }, { children: [jsxRuntime.jsx(SvgIcSearch, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-16" }), jsxRuntime.jsx("input", __assign({ placeholder: "Search", "data-testid": "search-bar", type: "text" }, inputProps, { defaultValue: initialSearchText, className: "search-bar__input bc-n50 dc__position-abs w-100 h-100 br-4 dc__no-border pt-6 pr-10 pb-6 pl-30 fs-13 lh-20 fw-4 cn-9 placeholder-cn5 ".concat(showClearButton ? 'pr-30' : 'pr-10'), onChange: handleChange, onKeyDown: handleKeyDown, ref: inputRef })), showClearButton && (jsxRuntime.jsx("button", __assign({ className: "flex search-bar__clear-button dc__position-abs dc__transparent mt-0 mb-0 mr-5 ml-5", type: "button", onClick: clearSearch, "aria-label": "Clear search" }, { children: jsxRuntime.jsx(SvgIcErrorCross, { className: "icon-dim-16 icon-n4 dc__vertical-align-middle" }) })))] })) })));
24730
24770
  };
24731
24771
 
24772
+ var _path$a;
24773
+ 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); }
24774
+ var SvgIcArrowUpDown = function SvgIcArrowUpDown(props) {
24775
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24776
+ xmlns: "http://www.w3.org/2000/svg",
24777
+ width: "1em",
24778
+ height: "1em",
24779
+ viewBox: "0 0 12 12",
24780
+ fill: "none"
24781
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
24782
+ d: "M4.125 8.5 6 10.75 7.875 8.5m-3.75-5L6 1.25 7.875 3.5",
24783
+ stroke: "#3B444C",
24784
+ strokeWidth: 1.5,
24785
+ strokeLinecap: "round",
24786
+ strokeLinejoin: "round"
24787
+ })));
24788
+ };
24789
+
24790
+ var _path$9;
24791
+ 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); }
24792
+ var SvgIcSortArrowDown = function SvgIcSortArrowDown(props) {
24793
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24794
+ width: "1em",
24795
+ height: "1em",
24796
+ viewBox: "0 0 12 12",
24797
+ fill: "none",
24798
+ xmlns: "http://www.w3.org/2000/svg"
24799
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
24800
+ d: "M3.5 7.5 6 10m0 0 2.5-2.5M6 10V2",
24801
+ stroke: "#596168",
24802
+ strokeWidth: 1.5,
24803
+ strokeLinecap: "round",
24804
+ strokeLinejoin: "round"
24805
+ })));
24806
+ };
24807
+
24808
+ /**
24809
+ * Reusable component for the table header cell with support for sorting icons
24810
+ *
24811
+ * @example Usage
24812
+ * ```tsx
24813
+ * <SortableTableHeaderCell
24814
+ * isSorted={currentSortedCell === 'cell'}
24815
+ * triggerSorting={() => {}}
24816
+ * sortOrder={SortingOrder.ASC}
24817
+ * title="Header Cell"
24818
+ * disabled={isDisabled}
24819
+ * />
24820
+ * ```
24821
+ */
24822
+ var SortableTableHeaderCell = function (_a) {
24823
+ var isSorted = _a.isSorted, triggerSorting = _a.triggerSorting, sortOrder = _a.sortOrder, title = _a.title, disabled = _a.disabled;
24824
+ return (jsxRuntime.jsxs("button", __assign({ type: "button", className: "dc__transparent p-0 bcn-0 cn-7 flex dc__content-start dc__gap-4 cursor", onClick: triggerSorting, disabled: disabled }, { children: [jsxRuntime.jsx("span", __assign({ className: "dc__uppercase dc__ellipsis-right" }, { children: title })), isSorted ? (jsxRuntime.jsx(SvgIcSortArrowDown, { className: "icon-dim-12 mw-12 scn-7 ".concat(sortOrder === exports.SortingOrder.DESC ? 'dc__flip-180' : '') })) : (jsxRuntime.jsx(SvgIcArrowUpDown, { className: "icon-dim-12 mw-12 scn-7" }))] })));
24825
+ };
24826
+
24732
24827
  var css_248z$4 = ".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}";
24733
24828
  styleInject(css_248z$4);
24734
24829
 
@@ -24865,9 +24960,9 @@ exports.ConsequenceAction = void 0;
24865
24960
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
24866
24961
 
24867
24962
  var _g$2;
24868
- 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); }
24963
+ 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); }
24869
24964
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
24870
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24965
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24871
24966
  xmlns: "http://www.w3.org/2000/svg",
24872
24967
  width: "1em",
24873
24968
  height: "1em",
@@ -24946,16 +25041,16 @@ function DeleteComponent(_a) {
24946
25041
  return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
24947
25042
  }
24948
25043
 
24949
- var _path$6;
24950
- 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); }
25044
+ var _path$8;
25045
+ 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); }
24951
25046
  var SvgIcPencil = function SvgIcPencil(props) {
24952
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25047
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24953
25048
  width: "1em",
24954
25049
  height: "1em",
24955
25050
  viewBox: "0 0 20 20",
24956
25051
  fill: "none",
24957
25052
  xmlns: "http://www.w3.org/2000/svg"
24958
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
25053
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
24959
25054
  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",
24960
25055
  stroke: "#596168",
24961
25056
  strokeWidth: 1.5,
@@ -24964,16 +25059,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
24964
25059
  })));
24965
25060
  };
24966
25061
 
24967
- var _path$5, _path2, _path3;
24968
- 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); }
25062
+ var _path$7, _path2, _path3;
25063
+ 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); }
24969
25064
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24970
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25065
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24971
25066
  width: "1em",
24972
25067
  height: "1em",
24973
25068
  viewBox: "0 0 12 12",
24974
25069
  fill: "none",
24975
25070
  xmlns: "http://www.w3.org/2000/svg"
24976
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25071
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
24977
25072
  d: "M3.742 4.674h-2.25v-2.25",
24978
25073
  fill: "#767D84"
24979
25074
  })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -24991,15 +25086,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24991
25086
  })));
24992
25087
  };
24993
25088
 
24994
- var _path$4;
24995
- 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); }
25089
+ var _path$6;
25090
+ 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); }
24996
25091
  var SvgIcMinus = function SvgIcMinus(props) {
24997
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25092
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24998
25093
  xmlns: "http://www.w3.org/2000/svg",
24999
25094
  width: "1em",
25000
25095
  height: "1em",
25001
25096
  viewBox: "0 0 14 14"
25002
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
25097
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
25003
25098
  fill: "#959BA1",
25004
25099
  className: "ic-minus_svg__fill-color",
25005
25100
  fillRule: "evenodd",
@@ -25008,9 +25103,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
25008
25103
  };
25009
25104
 
25010
25105
  var _g$1;
25011
- 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); }
25106
+ 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); }
25012
25107
  var SvgIcWarning = function SvgIcWarning(props) {
25013
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25108
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25014
25109
  xmlns: "http://www.w3.org/2000/svg",
25015
25110
  width: "1em",
25016
25111
  height: "1em",
@@ -25030,9 +25125,9 @@ var SvgIcWarning = function SvgIcWarning(props) {
25030
25125
  };
25031
25126
 
25032
25127
  var _g;
25033
- 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); }
25128
+ 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); }
25034
25129
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25035
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
25130
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25036
25131
  xmlns: "http://www.w3.org/2000/svg",
25037
25132
  width: "1em",
25038
25133
  height: "1em",
@@ -25049,16 +25144,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25049
25144
  }))));
25050
25145
  };
25051
25146
 
25052
- var _path$3;
25053
- 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); }
25147
+ var _path$5;
25148
+ 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); }
25054
25149
  var SvgIcEnter = function SvgIcEnter(props) {
25055
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
25150
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25056
25151
  width: "1em",
25057
25152
  height: "1em",
25058
25153
  viewBox: "0 0 16 16",
25059
25154
  fill: "none",
25060
25155
  xmlns: "http://www.w3.org/2000/svg"
25061
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
25156
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25062
25157
  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",
25063
25158
  fill: "#3B444C"
25064
25159
  })));
@@ -25464,15 +25559,15 @@ function Grid(_a) {
25464
25559
  return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, containerDivProps, { children: children })));
25465
25560
  }
25466
25561
 
25467
- var _path$2;
25468
- 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); }
25562
+ var _path$4;
25563
+ 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); }
25469
25564
  var SvgIcCopy = function SvgIcCopy(props) {
25470
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
25565
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25471
25566
  xmlns: "http://www.w3.org/2000/svg",
25472
25567
  width: "1em",
25473
25568
  height: "1em",
25474
25569
  viewBox: "0 0 20 20"
25475
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
25570
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
25476
25571
  fill: "#767D84",
25477
25572
  fillRule: "evenodd",
25478
25573
  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"
@@ -25569,6 +25664,116 @@ var useWindowSize = function () {
25569
25664
  return windowSize;
25570
25665
  };
25571
25666
 
25667
+ var DEFAULT_PAGE_NUMBER = 1;
25668
+ var URL_FILTER_KEYS = {
25669
+ PAGE_SIZE: 'pageSize',
25670
+ PAGE_NUMBER: 'pageNumber',
25671
+ SEARCH_KEY: 'searchKey',
25672
+ SORT_BY: 'sortBy',
25673
+ SORT_ORDER: 'sortOrder',
25674
+ };
25675
+
25676
+ var PAGE_SIZE = URL_FILTER_KEYS.PAGE_SIZE, PAGE_NUMBER = URL_FILTER_KEYS.PAGE_NUMBER, SEARCH_KEY = URL_FILTER_KEYS.SEARCH_KEY, SORT_BY = URL_FILTER_KEYS.SORT_BY, SORT_ORDER = URL_FILTER_KEYS.SORT_ORDER;
25677
+ /**
25678
+ * Generic hook for implementing URL based filters.
25679
+ * eg: pagination, search, sort.
25680
+ *
25681
+ * The exposed handlers can be consumed directly without the need for explicit state management
25682
+ *
25683
+ * @example Default Usage:
25684
+ * ```tsx
25685
+ * const { pageSize, changePage, ...rest } = useUrlFilters()
25686
+ * ```
25687
+ *
25688
+ * @example Usage with custom type for sort keys and initial sort key:
25689
+ * ```tsx
25690
+ * const { sortBy, sortOrder } = useUrlFilters<'email' | 'name'>({ initialSortKey: 'email' })
25691
+ * ```
25692
+ *
25693
+ */
25694
+ var useUrlFilters = function (_a) {
25695
+ var _b = _a === void 0 ? {} : _a, initialSortKey = _b.initialSortKey;
25696
+ var location = reactRouterDom.useLocation();
25697
+ var history = reactRouterDom.useHistory();
25698
+ var searchParams = new URLSearchParams(location.search);
25699
+ var _c = React.useMemo(function () {
25700
+ var _pageSize = searchParams.get(PAGE_SIZE);
25701
+ var _pageNumber = searchParams.get(PAGE_NUMBER);
25702
+ var _searchKey = searchParams.get(SEARCH_KEY);
25703
+ var _sortOrder = searchParams.get(SORT_ORDER);
25704
+ var _sortBy = searchParams.get(SORT_BY);
25705
+ var sortByKey = (_sortBy || initialSortKey || '');
25706
+ // Fallback to ascending order
25707
+ var sortByOrder = Object.values(exports.SortingOrder).includes(_sortOrder) ? _sortOrder : exports.SortingOrder.ASC;
25708
+ return {
25709
+ pageSize: Number(_pageSize) || DEFAULT_BASE_PAGE_SIZE,
25710
+ pageNumber: Number(_pageNumber) || DEFAULT_PAGE_NUMBER,
25711
+ searchKey: _searchKey || '',
25712
+ sortBy: sortByKey,
25713
+ // sort order should only be applied if the key is available
25714
+ sortOrder: (sortByKey ? sortByOrder : ''),
25715
+ };
25716
+ }, [searchParams]), pageSize = _c.pageSize, pageNumber = _c.pageNumber, searchKey = _c.searchKey, sortBy = _c.sortBy, sortOrder = _c.sortOrder;
25717
+ /**
25718
+ * Used for getting the required result from the API
25719
+ */
25720
+ var offset = pageSize * (pageNumber - 1);
25721
+ /**
25722
+ * Update and replace the search params in the URL.
25723
+ *
25724
+ * Note: Currently only primitive data types are supported
25725
+ */
25726
+ var _updateSearchParam = function (key, value) {
25727
+ searchParams.set(key, String(value));
25728
+ history.replace({ search: searchParams.toString() });
25729
+ };
25730
+ var _resetPageNumber = function () {
25731
+ _updateSearchParam(PAGE_NUMBER, DEFAULT_PAGE_NUMBER);
25732
+ };
25733
+ var changePage = function (page) {
25734
+ _updateSearchParam(PAGE_NUMBER, page);
25735
+ };
25736
+ var changePageSize = function (_pageSize) {
25737
+ _updateSearchParam(PAGE_SIZE, _pageSize);
25738
+ _resetPageNumber();
25739
+ };
25740
+ var handleSearch = function (searchTerm) {
25741
+ _updateSearchParam(SEARCH_KEY, searchTerm);
25742
+ _resetPageNumber();
25743
+ };
25744
+ var handleSorting = function (_sortBy) {
25745
+ var order;
25746
+ if (_sortBy === sortBy && sortOrder === exports.SortingOrder.ASC) {
25747
+ order = exports.SortingOrder.DESC;
25748
+ }
25749
+ else {
25750
+ order = exports.SortingOrder.ASC;
25751
+ }
25752
+ _updateSearchParam(SORT_BY, _sortBy);
25753
+ _updateSearchParam(SORT_ORDER, order);
25754
+ // Reset page number on sorting change
25755
+ _resetPageNumber();
25756
+ };
25757
+ var clearFilters = function () {
25758
+ Object.values(URL_FILTER_KEYS).forEach(function (key) {
25759
+ searchParams.delete(key);
25760
+ });
25761
+ history.replace({ search: searchParams.toString() });
25762
+ };
25763
+ return {
25764
+ pageSize: pageSize,
25765
+ changePage: changePage,
25766
+ changePageSize: changePageSize,
25767
+ searchKey: searchKey,
25768
+ handleSearch: handleSearch,
25769
+ offset: offset,
25770
+ sortBy: sortBy,
25771
+ sortOrder: sortOrder,
25772
+ handleSorting: handleSorting,
25773
+ clearFilters: clearFilters,
25774
+ };
25775
+ };
25776
+
25572
25777
  var StatusConstants = {
25573
25778
  NOT_DEPLOYED: {
25574
25779
  noSpaceLower: 'notdeployed',
@@ -28304,15 +28509,15 @@ var getInferredTypeFromValueType = function (value) {
28304
28509
  }
28305
28510
  };
28306
28511
 
28307
- var _path$1;
28308
- 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); }
28512
+ var _path$3;
28513
+ 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); }
28309
28514
  var SvgIcChevronDown = function SvgIcChevronDown(props) {
28310
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
28515
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
28311
28516
  xmlns: "http://www.w3.org/2000/svg",
28312
28517
  width: "1em",
28313
28518
  height: "1em",
28314
28519
  viewBox: "0 0 24 24"
28315
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
28520
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
28316
28521
  fill: "#999",
28317
28522
  className: "ic-chevron-down_svg__fill-color",
28318
28523
  fillRule: "nonzero",
@@ -28371,16 +28576,16 @@ var Form = RJSF.default;
28371
28576
  var validator = RJSFValidator.default;
28372
28577
  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 }))); };
28373
28578
 
28374
- var _style, _rect;
28375
- 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); }
28579
+ var _style, _rect$2;
28580
+ 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); }
28376
28581
  var SvgIcRotateDevtron = function SvgIcRotateDevtron(props) {
28377
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
28582
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
28378
28583
  width: "1em",
28379
28584
  height: "1em",
28380
28585
  viewBox: "0 0 100 100",
28381
28586
  fill: "none",
28382
28587
  xmlns: "http://www.w3.org/2000/svg"
28383
- }, props), _style || (_style = /*#__PURE__*/React__namespace.createElement("style", null, "@keyframes path-fill{0%,30%,to{fill:#3989d9}45%{fill:#abcff3}}@keyframes top-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(-6px) translateY(-6px) rotate(15deg);transform-origin:center center}}@keyframes bottom-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(6px) translateY(6px) rotate(15deg);transform-origin:center center}}@keyframes rotate-group{0%,44%{transform:rotate(0deg)}to{transform:rotate(360deg);animation-timing-function:ease-in-out}}")), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
28588
+ }, props), _style || (_style = /*#__PURE__*/React__namespace.createElement("style", null, "@keyframes path-fill{0%,30%,to{fill:#3989d9}45%{fill:#abcff3}}@keyframes top-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(-6px) translateY(-6px) rotate(15deg);transform-origin:center center}}@keyframes bottom-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(6px) translateY(6px) rotate(15deg);transform-origin:center center}}@keyframes rotate-group{0%,44%{transform:rotate(0deg)}to{transform:rotate(360deg);animation-timing-function:ease-in-out}}")), _rect$2 || (_rect$2 = /*#__PURE__*/React__namespace.createElement("rect", {
28384
28589
  width: 100,
28385
28590
  height: 100,
28386
28591
  rx: 20,
@@ -28648,16 +28853,16 @@ function DraggableWrapper(_a) {
28648
28853
  } }, { children: children })) })) })));
28649
28854
  }
28650
28855
 
28651
- var _path;
28652
- 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); }
28856
+ var _path$2;
28857
+ 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); }
28653
28858
  var SvgIcDrag = function SvgIcDrag(props) {
28654
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28859
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
28655
28860
  width: "1em",
28656
28861
  height: "1em",
28657
28862
  viewBox: "0 0 16 16",
28658
28863
  fill: "none",
28659
28864
  xmlns: "http://www.w3.org/2000/svg"
28660
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
28865
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
28661
28866
  d: "M10.334 9.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5.667 9.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM10.334 5.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5.667 5.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM10.334 13.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5.667 13.333a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",
28662
28867
  fill: "#596168"
28663
28868
  })));
@@ -28779,11 +28984,308 @@ var Pagination = function (_a) {
28779
28984
  jsxRuntime.jsxs("div", __assign({ className: rootClassName || '' }, { children: [jsxRuntime.jsxs("div", __assign({ className: "page-number" }, { children: [offset + 1, " - ", lastPageNo, " of ", size] })), jsxRuntime.jsxs("ul", __assign({ className: "pagination" }, { children: [jsxRuntime.jsx("li", __assign({ className: "page" }, { children: jsxRuntime.jsx("button", __assign({ className: "page__button page__button--icon", disabled: !pageNoIndex, onClick: selectPreviousPage, type: "button", "aria-label": "Previous page" }, { children: jsxRuntime.jsx("span", __assign({ className: "left-icon" }, { children: jsxRuntime.jsx("i", { className: "fa fa-chevron-left" }) })) })) })), visiblePages.map(function (page) { return (jsxRuntime.jsx(PageValueItem, { value: page.value, isSelected: page.selected, selectPage: selectPage }, page.value)); }), jsxRuntime.jsx("li", __assign({ className: "page" }, { children: jsxRuntime.jsx("button", __assign({ className: "page__button page__button--icon", disabled: pageNoIndex === pages.length - 1, onClick: selectNextPage, type: "button", "aria-label": "Next page" }, { children: jsxRuntime.jsx("span", __assign({ className: "left-icon" }, { children: jsxRuntime.jsx("i", { className: "fa fa-chevron-right" }) })) })) }))] })), !isPageSizeFix && (jsxRuntime.jsxs("div", __assign({ className: "select" }, { children: [jsxRuntime.jsx("span", __assign({ className: "select__placeholder" }, { children: "Rows per page" })), jsxRuntime.jsx(PageSizeSelector, { pageSizeOptions: pageSizeOptions, pageSize: pageSize, changePageSize: changePageSize })] })))] })));
28780
28985
  };
28781
28986
 
28987
+ /**
28988
+ * User Status received from the API
28989
+ */
28990
+ exports.UserStatusDto = void 0;
28991
+ (function (UserStatusDto) {
28992
+ UserStatusDto["active"] = "active";
28993
+ UserStatusDto["inactive"] = "inactive";
28994
+ })(exports.UserStatusDto || (exports.UserStatusDto = {}));
28995
+ /**
28996
+ * User status for the frontend
28997
+ */
28998
+ exports.UserStatus = void 0;
28999
+ (function (UserStatus) {
29000
+ UserStatus["active"] = "active";
29001
+ UserStatus["inactive"] = "inactive";
29002
+ UserStatus["temporary"] = "temporaryAccess";
29003
+ })(exports.UserStatus || (exports.UserStatus = {}));
29004
+
29005
+ var BulkSelectionDropdownItems = function (_a) {
29006
+ var locator = _a.locator, label = _a.label, isSelected = _a.isSelected, handleBulkSelection = _a.handleBulkSelection, Icon = _a.icon;
29007
+ var handleSelect = function () {
29008
+ handleBulkSelection({
29009
+ action: locator,
29010
+ });
29011
+ };
29012
+ return (jsxRuntime.jsxs("button", __assign({ "data-testid": "bulk-action-".concat(locator), onClick: handleSelect, className: "dc__no-border dc__outline-none-imp w-100 flexbox h-32 dc__align-items-center pt-6 pr-8 pb-6 pl-8 dc__gap-8 ".concat(isSelected ? 'cb-5 bcb-2 fs-13 fw-6 lh-20' : 'dc__no-background cn-9 fs-13 fw-4 lh-20 dc__hover-n50'), type: "button" }, { children: [jsxRuntime.jsx(Icon, { className: "icon-dim-16" }), label] })));
29013
+ };
29014
+
29015
+ exports.BulkSelectionEvents = void 0;
29016
+ (function (BulkSelectionEvents) {
29017
+ BulkSelectionEvents["CLEAR_ALL_SELECTIONS"] = "CLEAR_ALL_SELECTIONS";
29018
+ BulkSelectionEvents["CLEAR_IDENTIFIERS"] = "CLEAR_IDENTIFIERS";
29019
+ BulkSelectionEvents["SELECT_ALL_ACROSS_PAGES"] = "SELECT_ALL_ACROSS_PAGES";
29020
+ BulkSelectionEvents["SELECT_ALL_ON_PAGE"] = "SELECT_ALL_ON_PAGE";
29021
+ BulkSelectionEvents["SELECT_IDENTIFIER"] = "SELECT_IDENTIFIER";
29022
+ BulkSelectionEvents["CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION"] = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION";
29023
+ BulkSelectionEvents["CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES"] = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES";
29024
+ })(exports.BulkSelectionEvents || (exports.BulkSelectionEvents = {}));
29025
+ exports.SelectAllDialogStatus = void 0;
29026
+ (function (SelectAllDialogStatus) {
29027
+ SelectAllDialogStatus["OPEN"] = "OPEN";
29028
+ SelectAllDialogStatus["CLOSED"] = "CLOSED";
29029
+ })(exports.SelectAllDialogStatus || (exports.SelectAllDialogStatus = {}));
29030
+
29031
+ var _a;
29032
+ var BULK_DROPDOWN_TEST_ID = 'bulk-selection-pop-up-menu';
29033
+ var BulkSelectionOptionsLabels = (_a = {},
29034
+ _a[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE] = 'All on this page',
29035
+ _a[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES] = 'All across pages',
29036
+ _a[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS] = 'Clear selection',
29037
+ _a);
29038
+ // Considering application can not be named as *
29039
+ var SELECT_ALL_ACROSS_PAGES_LOCATOR = '*';
29040
+ var getInvalidActionMessage = function (action) { return "Invalid action ".concat(action, " passed to useBulkSelection"); };
29041
+ var BULK_SELECTION_CONTEXT_ERROR = 'useBulkSelection must be used within BulkSelectionContext';
29042
+
29043
+ // giving type any here since not exporting this context, rather using it through useBulkSelection hook which is typed
29044
+ var BulkSelectionContext = React.createContext({
29045
+ selectedIdentifiers: {},
29046
+ handleBulkSelection: noop$1,
29047
+ isChecked: false,
29048
+ checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29049
+ isBulkSelectionApplied: false,
29050
+ getSelectedIdentifiersCount: noop$1,
29051
+ });
29052
+ var useBulkSelection = function () {
29053
+ var context = React.useContext(BulkSelectionContext);
29054
+ if (!context) {
29055
+ throw new Error(BULK_SELECTION_CONTEXT_ERROR);
29056
+ }
29057
+ return context;
29058
+ };
29059
+ var BulkSelectionProvider = function (_a) {
29060
+ var children = _a.children, identifiers = _a.identifiers, getSelectAllDialogStatus = _a.getSelectAllDialogStatus;
29061
+ var _b = __read(React.useState({}), 2), selectedIdentifiers = _b[0], setSelectedIdentifiers = _b[1];
29062
+ var isBulkSelectionApplied = selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR];
29063
+ var getSelectedIdentifiersCount = function () { return Object.keys(selectedIdentifiers).length; };
29064
+ var setIdentifiersAfterClear = function (newIdentifiers, selectedIds) {
29065
+ var _newIdentifiers = JSON.parse(JSON.stringify(newIdentifiers));
29066
+ selectedIds.forEach(function (id) {
29067
+ delete _newIdentifiers[id];
29068
+ });
29069
+ setSelectedIdentifiers(_newIdentifiers);
29070
+ };
29071
+ var setIdentifiersAfterPageSelection = function (baseObject) {
29072
+ var _selectedIdentifiers = JSON.parse(JSON.stringify(selectedIdentifiers));
29073
+ // removing bulk selection across pages if present
29074
+ if (isBulkSelectionApplied) {
29075
+ delete _selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR];
29076
+ }
29077
+ setSelectedIdentifiers(__assign(__assign({}, _selectedIdentifiers), baseObject));
29078
+ };
29079
+ var handleBulkSelection = function (_a) {
29080
+ var _b, _c;
29081
+ var _d, _e;
29082
+ var action = _a.action, data = _a.data;
29083
+ var selectedIds = (_d = data === null || data === void 0 ? void 0 : data.identifierIds) !== null && _d !== void 0 ? _d : [];
29084
+ var identifierObject = (_e = data === null || data === void 0 ? void 0 : data.identifierObject) !== null && _e !== void 0 ? _e : {};
29085
+ switch (action) {
29086
+ case exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS:
29087
+ setSelectedIdentifiers({});
29088
+ break;
29089
+ case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
29090
+ setIdentifiersAfterClear(identifiers, selectedIds);
29091
+ break;
29092
+ }
29093
+ case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS: {
29094
+ setIdentifiersAfterClear(selectedIdentifiers, selectedIds);
29095
+ break;
29096
+ }
29097
+ case exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES: {
29098
+ if (isBulkSelectionApplied) {
29099
+ return;
29100
+ }
29101
+ var selectedIdentifiersLength = getSelectedIdentifiersCount();
29102
+ // This is for showing a modal dialog if applicable to confirm if bulk selection is to be applied
29103
+ // Do note that the 'getSelectAllDialogStatus' should be called after the length check explicitly
29104
+ // otherwise the modal will open each time
29105
+ if (selectedIdentifiersLength > 0 && getSelectAllDialogStatus() === exports.SelectAllDialogStatus.OPEN) {
29106
+ return;
29107
+ }
29108
+ setSelectedIdentifiers((_b = {},
29109
+ _b[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29110
+ _b));
29111
+ break;
29112
+ }
29113
+ case exports.BulkSelectionEvents.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
29114
+ setSelectedIdentifiers((_c = {},
29115
+ _c[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29116
+ _c));
29117
+ break;
29118
+ case exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE: {
29119
+ setIdentifiersAfterPageSelection(identifiers);
29120
+ break;
29121
+ }
29122
+ case exports.BulkSelectionEvents.SELECT_IDENTIFIER: {
29123
+ setIdentifiersAfterPageSelection(identifierObject);
29124
+ break;
29125
+ }
29126
+ default:
29127
+ throw new Error(getInvalidActionMessage(action));
29128
+ }
29129
+ };
29130
+ var getBulkSelectionCheckboxValues = function () {
29131
+ var selectedIdentifiersArray = Object.keys(selectedIdentifiers);
29132
+ if (selectedIdentifiersArray.length === 0) {
29133
+ return {
29134
+ isChecked: false,
29135
+ checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29136
+ };
29137
+ }
29138
+ // if selectedIdentifiers contains select all across pages locator then it means all are selected
29139
+ if (isBulkSelectionApplied) {
29140
+ return {
29141
+ isChecked: true,
29142
+ checkboxValue: exports.CHECKBOX_VALUE.BULK_CHECKED,
29143
+ };
29144
+ }
29145
+ // if all the identifiers are selected then CHECKED else intermediate
29146
+ var areAllPresentIdentifiersSelected = Object.keys(identifiers).every(function (identifierId) { return selectedIdentifiers[identifierId]; });
29147
+ if (areAllPresentIdentifiersSelected) {
29148
+ return {
29149
+ isChecked: true,
29150
+ checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29151
+ };
29152
+ }
29153
+ return {
29154
+ isChecked: true,
29155
+ checkboxValue: exports.CHECKBOX_VALUE.INTERMEDIATE,
29156
+ };
29157
+ };
29158
+ var _c = getBulkSelectionCheckboxValues(), isChecked = _c.isChecked, checkboxValue = _c.checkboxValue;
29159
+ var value = React.useMemo(function () { return ({
29160
+ selectedIdentifiers: selectedIdentifiers,
29161
+ handleBulkSelection: handleBulkSelection,
29162
+ isChecked: isChecked,
29163
+ checkboxValue: checkboxValue,
29164
+ isBulkSelectionApplied: isBulkSelectionApplied,
29165
+ getSelectedIdentifiersCount: getSelectedIdentifiersCount,
29166
+ }); }, [selectedIdentifiers, handleBulkSelection, isChecked, checkboxValue, getSelectedIdentifiersCount]);
29167
+ return jsxRuntime.jsx(BulkSelectionContext.Provider, __assign({ value: value }, { children: children }));
29168
+ };
29169
+
29170
+ var _rect$1, _path$1;
29171
+ 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); }
29172
+ var SvgIcCheckSquare = function SvgIcCheckSquare(props) {
29173
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
29174
+ width: "1em",
29175
+ height: "1em",
29176
+ viewBox: "0 0 16 16",
29177
+ fill: "none",
29178
+ xmlns: "http://www.w3.org/2000/svg"
29179
+ }, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
29180
+ x: 2,
29181
+ y: 2,
29182
+ width: 12,
29183
+ height: 12,
29184
+ rx: 2,
29185
+ stroke: "#596168",
29186
+ strokeWidth: 1.5,
29187
+ strokeLinecap: "round",
29188
+ strokeLinejoin: "round"
29189
+ })), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
29190
+ d: "m11.208 5.958-4.083 4.083L5.083 8",
29191
+ stroke: "#596168",
29192
+ strokeWidth: 1.5,
29193
+ strokeLinecap: "round",
29194
+ strokeLinejoin: "round"
29195
+ })));
29196
+ };
29197
+
29198
+ var _rect, _path;
29199
+ 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); }
29200
+ var SvgIcCheckAll = function SvgIcCheckAll(props) {
29201
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
29202
+ width: "1em",
29203
+ height: "1em",
29204
+ viewBox: "0 0 17 17",
29205
+ fill: "none",
29206
+ xmlns: "http://www.w3.org/2000/svg"
29207
+ }, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
29208
+ x: 2,
29209
+ y: 2,
29210
+ width: 11.2,
29211
+ height: 11.2,
29212
+ rx: 2,
29213
+ stroke: "#596168",
29214
+ strokeWidth: 1.5,
29215
+ strokeLinecap: "round",
29216
+ strokeLinejoin: "round"
29217
+ })), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
29218
+ d: "M15.467 5.866v5.6a4 4 0 0 1-4 4h-5.6M10.35 5.85l-3.5 3.5L5.1 7.6",
29219
+ stroke: "#596168",
29220
+ strokeWidth: 1.5,
29221
+ strokeLinecap: "round",
29222
+ strokeLinejoin: "round"
29223
+ })));
29224
+ };
29225
+
29226
+ var _defs, _use;
29227
+ 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); }
29228
+ var SvgIcClose = function SvgIcClose(props) {
29229
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
29230
+ xmlns: "http://www.w3.org/2000/svg",
29231
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
29232
+ width: "1em",
29233
+ height: "1em",
29234
+ viewBox: "0 0 24 24"
29235
+ }, props), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("path", {
29236
+ id: "ic-close_svg__a",
29237
+ className: "ic-close_svg__stroke-color",
29238
+ d: "M18.295 5.705a.997.997 0 0 0-1.41 0L12 10.59 7.115 5.705a.997.997 0 1 0-1.41 1.41L10.59 12l-4.885 4.885a.997.997 0 1 0 1.41 1.41L12 13.41l4.885 4.885a.997.997 0 0 0 1.41-1.41L13.41 12l4.885-4.885a.997.997 0 0 0 0-1.41z"
29239
+ }))), _use || (_use = /*#__PURE__*/React__namespace.createElement("use", {
29240
+ fill: "#999",
29241
+ xlinkHref: "#ic-close_svg__a",
29242
+ fillRule: "evenodd"
29243
+ })));
29244
+ };
29245
+
29246
+ var BulkSelection = function (_a) {
29247
+ var showPagination = _a.showPagination;
29248
+ var _b = useBulkSelection(), handleBulkSelection = _b.handleBulkSelection, isChecked = _b.isChecked, checkboxValue = _b.checkboxValue, getSelectedIdentifiersCount = _b.getSelectedIdentifiersCount;
29249
+ var areOptionsSelected = getSelectedIdentifiersCount() > 0;
29250
+ var BulkSelectionItems = __spreadArray(__spreadArray([
29251
+ {
29252
+ locator: exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE,
29253
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE],
29254
+ isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.CHECKED,
29255
+ icon: SvgIcCheckSquare,
29256
+ }
29257
+ ], __read((showPagination
29258
+ ? [
29259
+ {
29260
+ locator: exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES,
29261
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES],
29262
+ isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.BULK_CHECKED,
29263
+ icon: SvgIcCheckAll,
29264
+ },
29265
+ ]
29266
+ : [])), false), __read((areOptionsSelected
29267
+ ? [
29268
+ {
29269
+ locator: exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS,
29270
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS],
29271
+ isSelected: false,
29272
+ icon: SvgIcClose,
29273
+ },
29274
+ ]
29275
+ : [])), false);
29276
+ return (jsxRuntime.jsxs(PopupMenu, __assign({ autoClose: true }, { children: [jsxRuntime.jsxs(PopupMenu.Button, __assign({ isKebab: true, rootClassName: "h-20 flexbox p-0 dc__no-background dc__no-border dc__outline-none-imp", dataTestId: BULK_DROPDOWN_TEST_ID }, { children: [jsxRuntime.jsx(Checkbox$1, { isChecked: isChecked, onChange: noop$1, rootClassName: "icon-dim-20 m-0", value: checkboxValue }), jsxRuntime.jsx(SvgIcChevronDown, { className: "icon-dim-20 fcn-6 dc__no-shrink" })] })), jsxRuntime.jsx(PopupMenu.Body, __assign({ rootClassName: "dc__top-22 w-150 dc__right-0 pt-4 pb-4 pl-0 pr-0 bcn-0 flex column dc__content-start dc__align-start dc__position-abs bcn-0 dc__border dc__border-radius-4-imp" }, { children: BulkSelectionItems.map(function (item) { return (jsxRuntime.jsx(BulkSelectionDropdownItems, { locator: item.locator, label: item.label, isSelected: item.isSelected, icon: item.icon, handleBulkSelection: handleBulkSelection }, item.locator)); }) }))] })));
29277
+ };
29278
+
28782
29279
  exports.AddCDButton = AddCDButton;
28783
29280
  exports.AppStatus = AppStatus;
29281
+ exports.BULK_DROPDOWN_TEST_ID = BULK_DROPDOWN_TEST_ID;
29282
+ exports.BULK_SELECTION_CONTEXT_ERROR = BULK_SELECTION_CONTEXT_ERROR;
28784
29283
  exports.BreadCrumb = BreadCrumb;
28785
29284
  exports.BreadcrumbStore = Store;
28786
29285
  exports.BuildStageVariable = BuildStageVariable;
29286
+ exports.BulkSelection = BulkSelection;
29287
+ exports.BulkSelectionOptionsLabels = BulkSelectionOptionsLabels;
29288
+ exports.BulkSelectionProvider = BulkSelectionProvider;
28787
29289
  exports.CDModalTab = CDModalTab;
28788
29290
  exports.ChartVersionAndTypeSelector = ChartVersionAndTypeSelector;
28789
29291
  exports.Checkbox = Checkbox$1;
@@ -28793,6 +29295,7 @@ exports.ConditionalWrap = ConditionalWrap;
28793
29295
  exports.ConfirmationDialog = ConfirmationDialog;
28794
29296
  exports.CustomInput = CustomInput;
28795
29297
  exports.CustomSelect = CustomSelect;
29298
+ exports.DEFAULT_BASE_PAGE_SIZE = DEFAULT_BASE_PAGE_SIZE;
28796
29299
  exports.DEFAULT_TAG_DATA = DEFAULT_TAG_DATA;
28797
29300
  exports.DOCUMENTATION = DOCUMENTATION;
28798
29301
  exports.DOCUMENTATION_HOME_PAGE = DOCUMENTATION_HOME_PAGE;
@@ -28840,11 +29343,13 @@ exports.RepositoryAction = RepositoryAction;
28840
29343
  exports.ResizableTagTextArea = ResizableTagTextArea;
28841
29344
  exports.ResizableTextarea = ResizableTextarea;
28842
29345
  exports.SELECTED_APPROVAL_TAB_STATE = SELECTED_APPROVAL_TAB_STATE;
29346
+ exports.SELECT_ALL_ACROSS_PAGES_LOCATOR = SELECT_ALL_ACROSS_PAGES_LOCATOR;
28843
29347
  exports.ScanVulnerabilitiesTable = ScanVulnerabilitiesTable;
28844
29348
  exports.SearchBar = SearchBar;
28845
29349
  exports.ServerError = ServerError;
28846
29350
  exports.ServerErrors = ServerErrors;
28847
29351
  exports.SingleSelectOption = SingleSelectOption;
29352
+ exports.SortableTableHeaderCell = SortableTableHeaderCell;
28848
29353
  exports.SourceTypeMap = SourceTypeMap;
28849
29354
  exports.StyledRadioGroup = RadioGroup;
28850
29355
  exports.TOAST_ACCESS_DENIED = TOAST_ACCESS_DENIED;
@@ -28861,6 +29366,7 @@ exports.TriggerTypeMap = TriggerTypeMap;
28861
29366
  exports.URLS = URLS;
28862
29367
  exports.VisibleModal = VisibleModal;
28863
29368
  exports.VisibleModal2 = VisibleModal2;
29369
+ exports.abortPreviousRequests = abortPreviousRequests;
28864
29370
  exports.closeOnEscKeyPressed = closeOnEscKeyPressed;
28865
29371
  exports.copyToClipboard = copyToClipboard;
28866
29372
  exports.createGitCommitUrl = createGitCommitUrl;
@@ -28875,6 +29381,8 @@ exports.getCookie = getCookie;
28875
29381
  exports.getEmptyArrayOfLength = getEmptyArrayOfLength;
28876
29382
  exports.getFilteredChartVersions = getFilteredChartVersions;
28877
29383
  exports.getInferredTypeFromValueType = getInferredTypeFromValueType;
29384
+ exports.getInvalidActionMessage = getInvalidActionMessage;
29385
+ exports.getIsRequestAborted = getIsRequestAborted;
28878
29386
  exports.getLockedJSON = getLockedJSON;
28879
29387
  exports.getLoginInfo = getLoginInfo;
28880
29388
  exports.getRandomColor = getRandomColor;
@@ -28900,10 +29408,12 @@ exports.toastAccessDenied = toastAccessDenied;
28900
29408
  exports.trash = trash;
28901
29409
  exports.useAsync = useAsync;
28902
29410
  exports.useBreadcrumb = useBreadcrumb;
29411
+ exports.useBulkSelection = useBulkSelection;
28903
29412
  exports.useClickOutside = useClickOutside;
28904
29413
  exports.useEffectAfterMount = useEffectAfterMount;
28905
29414
  exports.useForm = useForm;
28906
29415
  exports.useSearchString = useSearchString;
28907
29416
  exports.useSuperAdmin = useSuperAdmin;
28908
29417
  exports.useThrottledEffect = useThrottledEffect;
29418
+ exports.useUrlFilters = useUrlFilters;
28909
29419
  exports.useWindowSize = useWindowSize;