@devtron-labs/devtron-fe-common-lib 0.0.59 → 0.0.60-beta-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/Common/Api.d.ts +9 -0
  2. package/dist/Common/Constants.d.ts +14 -0
  3. package/dist/Common/Hooks/index.d.ts +1 -0
  4. package/dist/Common/Hooks/useUrlFilters/constants.d.ts +8 -0
  5. package/dist/Common/Hooks/useUrlFilters/index.d.ts +2 -0
  6. package/dist/Common/Hooks/useUrlFilters/types.d.ts +19 -0
  7. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +20 -0
  8. package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +18 -0
  9. package/dist/Common/SortableTableHeaderCell/index.d.ts +2 -0
  10. package/dist/Common/SortableTableHeaderCell/types.d.ts +25 -0
  11. package/dist/Common/Types.d.ts +16 -3
  12. package/dist/Common/index.d.ts +1 -0
  13. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +15 -0
  14. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -0
  15. package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
  16. package/dist/Pages/index.d.ts +1 -0
  17. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +4 -0
  18. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +4 -0
  19. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +4 -0
  20. package/dist/Shared/Components/BulkSelection/constants.d.ts +9 -0
  21. package/dist/Shared/Components/BulkSelection/index.d.ts +4 -0
  22. package/dist/Shared/Components/BulkSelection/types.d.ts +54 -0
  23. package/dist/Shared/Components/index.d.ts +1 -0
  24. package/dist/Shared/index.d.ts +1 -0
  25. package/dist/index.d.ts +3 -1
  26. package/dist/index.js +651 -150
  27. package/package.json +1 -1
  28. package/src/Assets/Icon/ic-arrow-up-down.svg +3 -0
  29. package/src/Assets/Icon/ic-check-all.svg +5 -0
  30. package/src/Assets/Icon/ic-check-square.svg +4 -0
  31. package/src/Assets/Icon/ic-close.svg +9 -0
  32. package/src/Assets/Icon/ic-sort-arrow-down.svg +3 -0
  33. package/src/Common/Api.ts +21 -0
  34. package/src/Common/Constants.ts +17 -1
  35. package/src/Common/Hooks/index.ts +1 -0
  36. package/src/Common/Hooks/useUrlFilters/constants.ts +9 -0
  37. package/src/Common/Hooks/useUrlFilters/index.ts +2 -0
  38. package/src/Common/Hooks/useUrlFilters/types.ts +21 -0
  39. package/src/Common/Hooks/useUrlFilters/useUrlFilters.ts +121 -0
  40. package/src/Common/SearchBar/SearchBar.component.tsx +23 -11
  41. package/src/Common/SortableTableHeaderCell/SortableTableHeaderCell.tsx +44 -0
  42. package/src/Common/SortableTableHeaderCell/index.ts +2 -0
  43. package/src/Common/SortableTableHeaderCell/types.ts +26 -0
  44. package/src/Common/Types.ts +16 -2
  45. package/src/Common/index.ts +1 -0
  46. package/src/Pages/GlobalConfigurations/Authorization/constants.ts +16 -0
  47. package/src/Pages/GlobalConfigurations/Authorization/index.ts +1 -0
  48. package/src/Pages/GlobalConfigurations/index.ts +1 -0
  49. package/src/Pages/index.ts +1 -0
  50. package/src/Shared/Components/BulkSelection/BulkSelection.tsx +77 -0
  51. package/src/Shared/Components/BulkSelection/BulkSelectionDropdownItems.tsx +31 -0
  52. package/src/Shared/Components/BulkSelection/BulkSelectionProvider.tsx +160 -0
  53. package/src/Shared/Components/BulkSelection/constants.tsx +13 -0
  54. package/src/Shared/Components/BulkSelection/index.ts +4 -0
  55. package/src/Shared/Components/BulkSelection/types.tsx +65 -0
  56. package/src/Shared/Components/index.ts +1 -0
  57. package/src/Shared/index.ts +1 -0
  58. 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
  });
@@ -12010,16 +12042,16 @@ var Modal = function (_a) {
12010
12042
  }, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
12011
12043
  };
12012
12044
 
12013
- var _path$d;
12014
- 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); }
12045
+ var _path$h;
12046
+ 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); }
12015
12047
  var SvgIcCross = function SvgIcCross(props) {
12016
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
12048
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
12017
12049
  width: "1em",
12018
12050
  height: "1em",
12019
12051
  viewBox: "0 0 24 24",
12020
12052
  fill: "none",
12021
12053
  xmlns: "http://www.w3.org/2000/svg"
12022
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
12054
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
12023
12055
  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",
12024
12056
  fill: "#596168"
12025
12057
  })));
@@ -16318,30 +16350,30 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
16318
16350
 
16319
16351
  var Tippy = index;
16320
16352
 
16321
- var _path$c;
16322
- 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); }
16353
+ var _path$g;
16354
+ 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); }
16323
16355
  var SvgIcHelp = function SvgIcHelp(props) {
16324
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
16356
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
16325
16357
  xmlns: "http://www.w3.org/2000/svg",
16326
16358
  width: "1em",
16327
16359
  height: "1em",
16328
16360
  viewBox: "0 0 24 24"
16329
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16361
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
16330
16362
  fill: "#767D84",
16331
16363
  fillRule: "evenodd",
16332
16364
  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"
16333
16365
  })));
16334
16366
  };
16335
16367
 
16336
- var _path$b;
16337
- 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); }
16368
+ var _path$f;
16369
+ 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); }
16338
16370
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
16339
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
16371
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
16340
16372
  xmlns: "http://www.w3.org/2000/svg",
16341
16373
  viewBox: "0 0 17 16",
16342
16374
  width: "1em",
16343
16375
  height: "1em"
16344
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
16376
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
16345
16377
  fill: "#767D84",
16346
16378
  fillRule: "evenodd",
16347
16379
  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"
@@ -16393,16 +16425,16 @@ function TippyCustomized(props) {
16393
16425
  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 })));
16394
16426
  }
16395
16427
 
16396
- var _path$a, _circle, _path2$1;
16397
- 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); }
16428
+ var _path$e, _circle, _path2$1;
16429
+ 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); }
16398
16430
  var SvgInjectTag = function SvgInjectTag(props) {
16399
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
16431
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
16400
16432
  width: "1em",
16401
16433
  height: "1em",
16402
16434
  viewBox: "0 0 20 20",
16403
16435
  fill: "none",
16404
16436
  xmlns: "http://www.w3.org/2000/svg"
16405
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
16437
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
16406
16438
  d: "M10 10H3.333",
16407
16439
  stroke: "#596168",
16408
16440
  strokeWidth: 1.5,
@@ -16430,15 +16462,15 @@ function PropagateTagInfo(_a) {
16430
16462
  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" })] })) })));
16431
16463
  }
16432
16464
 
16433
- var _path$9;
16434
- 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); }
16465
+ var _path$d;
16466
+ 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); }
16435
16467
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
16436
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
16468
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
16437
16469
  xmlns: "http://www.w3.org/2000/svg",
16438
16470
  width: "1em",
16439
16471
  height: "1em",
16440
16472
  viewBox: "0 0 20 20"
16441
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
16473
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
16442
16474
  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",
16443
16475
  fill: "#06C",
16444
16476
  fillRule: "evenodd"
@@ -16672,15 +16704,15 @@ var TagDetails = function (_a) {
16672
16704
  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" }) }))] })));
16673
16705
  };
16674
16706
 
16675
- var _path$8;
16676
- 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); }
16707
+ var _path$c;
16708
+ 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); }
16677
16709
  var SvgIcAdd = function SvgIcAdd(props) {
16678
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
16710
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
16679
16711
  xmlns: "http://www.w3.org/2000/svg",
16680
16712
  width: "1em",
16681
16713
  height: "1em",
16682
16714
  viewBox: "0 0 24 24"
16683
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
16715
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16684
16716
  className: "ic-add_svg__fill-color",
16685
16717
  fill: "#999",
16686
16718
  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"
@@ -16810,8 +16842,8 @@ function ForceDeleteDialog(_a) {
16810
16842
  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?" })] }) })) }));
16811
16843
  }
16812
16844
 
16813
- function _extends$g() {
16814
- _extends$g = Object.assign ? Object.assign.bind() : function (target) {
16845
+ function _extends$l() {
16846
+ _extends$l = Object.assign ? Object.assign.bind() : function (target) {
16815
16847
  for (var i = 1; i < arguments.length; i++) {
16816
16848
  var source = arguments[i];
16817
16849
  for (var key in source) {
@@ -16822,7 +16854,7 @@ function _extends$g() {
16822
16854
  }
16823
16855
  return target;
16824
16856
  };
16825
- return _extends$g.apply(this, arguments);
16857
+ return _extends$l.apply(this, arguments);
16826
16858
  }
16827
16859
 
16828
16860
  /*
@@ -20363,7 +20395,7 @@ var Menu = function Menu(props) {
20363
20395
  getStyles = props.getStyles,
20364
20396
  innerRef = props.innerRef,
20365
20397
  innerProps = props.innerProps;
20366
- return jsx("div", _extends$g({
20398
+ return jsx("div", _extends$l({
20367
20399
  css: getStyles('menu', props),
20368
20400
  className: cx({
20369
20401
  menu: true
@@ -20395,7 +20427,7 @@ var MenuList$1 = function MenuList(props) {
20395
20427
  innerProps = props.innerProps,
20396
20428
  innerRef = props.innerRef,
20397
20429
  isMulti = props.isMulti;
20398
- return jsx("div", _extends$g({
20430
+ return jsx("div", _extends$l({
20399
20431
  css: getStyles('menuList', props),
20400
20432
  className: cx({
20401
20433
  'menu-list': true,
@@ -20426,7 +20458,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
20426
20458
  cx = props.cx,
20427
20459
  getStyles = props.getStyles,
20428
20460
  innerProps = props.innerProps;
20429
- return jsx("div", _extends$g({
20461
+ return jsx("div", _extends$l({
20430
20462
  css: getStyles('noOptionsMessage', props),
20431
20463
  className: cx({
20432
20464
  'menu-notice': true,
@@ -20443,7 +20475,7 @@ var LoadingMessage = function LoadingMessage(props) {
20443
20475
  cx = props.cx,
20444
20476
  getStyles = props.getStyles,
20445
20477
  innerProps = props.innerProps;
20446
- return jsx("div", _extends$g({
20478
+ return jsx("div", _extends$l({
20447
20479
  css: getStyles('loadingMessage', props),
20448
20480
  className: cx({
20449
20481
  'menu-notice': true,
@@ -20531,7 +20563,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
20531
20563
  rect: rect
20532
20564
  }; // same wrapper element whether fixed or portalled
20533
20565
 
20534
- var menuWrapper = jsx("div", _extends$g({
20566
+ var menuWrapper = jsx("div", _extends$l({
20535
20567
  css: getStyles('menuPortal', state),
20536
20568
  className: cx({
20537
20569
  'menu-portal': true
@@ -20567,7 +20599,7 @@ var SelectContainer = function SelectContainer(props) {
20567
20599
  innerProps = props.innerProps,
20568
20600
  isDisabled = props.isDisabled,
20569
20601
  isRtl = props.isRtl;
20570
- return jsx("div", _extends$g({
20602
+ return jsx("div", _extends$l({
20571
20603
  css: getStyles('container', props),
20572
20604
  className: cx({
20573
20605
  '--is-disabled': isDisabled,
@@ -20602,7 +20634,7 @@ var ValueContainer = function ValueContainer(props) {
20602
20634
  isMulti = props.isMulti,
20603
20635
  getStyles = props.getStyles,
20604
20636
  hasValue = props.hasValue;
20605
- return jsx("div", _extends$g({
20637
+ return jsx("div", _extends$l({
20606
20638
  css: getStyles('valueContainer', props),
20607
20639
  className: cx({
20608
20640
  'value-container': true,
@@ -20628,7 +20660,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
20628
20660
  cx = props.cx,
20629
20661
  innerProps = props.innerProps,
20630
20662
  getStyles = props.getStyles;
20631
- return jsx("div", _extends$g({
20663
+ return jsx("div", _extends$l({
20632
20664
  css: getStyles('indicatorsContainer', props),
20633
20665
  className: cx({
20634
20666
  indicators: true
@@ -20659,7 +20691,7 @@ var Svg = function Svg(_ref) {
20659
20691
  var size = _ref.size,
20660
20692
  props = _objectWithoutProperties(_ref, _excluded$2);
20661
20693
 
20662
- return jsx("svg", _extends$g({
20694
+ return jsx("svg", _extends$l({
20663
20695
  height: size,
20664
20696
  width: size,
20665
20697
  viewBox: "0 0 20 20",
@@ -20670,14 +20702,14 @@ var Svg = function Svg(_ref) {
20670
20702
  };
20671
20703
 
20672
20704
  var CrossIcon = function CrossIcon(props) {
20673
- return jsx(Svg, _extends$g({
20705
+ return jsx(Svg, _extends$l({
20674
20706
  size: 20
20675
20707
  }, props), jsx("path", {
20676
20708
  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"
20677
20709
  }));
20678
20710
  };
20679
20711
  var DownChevron = function DownChevron(props) {
20680
- return jsx(Svg, _extends$g({
20712
+ return jsx(Svg, _extends$l({
20681
20713
  size: 20
20682
20714
  }, props), jsx("path", {
20683
20715
  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"
@@ -20710,7 +20742,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
20710
20742
  cx = props.cx,
20711
20743
  getStyles = props.getStyles,
20712
20744
  innerProps = props.innerProps;
20713
- return jsx("div", _extends$g({
20745
+ return jsx("div", _extends$l({
20714
20746
  css: getStyles('dropdownIndicator', props),
20715
20747
  className: cx({
20716
20748
  indicator: true,
@@ -20725,7 +20757,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
20725
20757
  cx = props.cx,
20726
20758
  getStyles = props.getStyles,
20727
20759
  innerProps = props.innerProps;
20728
- return jsx("div", _extends$g({
20760
+ return jsx("div", _extends$l({
20729
20761
  css: getStyles('clearIndicator', props),
20730
20762
  className: cx({
20731
20763
  indicator: true,
@@ -20755,7 +20787,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
20755
20787
  cx = props.cx,
20756
20788
  getStyles = props.getStyles,
20757
20789
  innerProps = props.innerProps;
20758
- return jsx("span", _extends$g({}, innerProps, {
20790
+ return jsx("span", _extends$l({}, innerProps, {
20759
20791
  css: getStyles('indicatorSeparator', props),
20760
20792
  className: cx({
20761
20793
  'indicator-separator': true
@@ -20810,7 +20842,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
20810
20842
  getStyles = props.getStyles,
20811
20843
  innerProps = props.innerProps,
20812
20844
  isRtl = props.isRtl;
20813
- return jsx("div", _extends$g({
20845
+ return jsx("div", _extends$l({
20814
20846
  css: getStyles('loadingIndicator', props),
20815
20847
  className: cx({
20816
20848
  indicator: true,
@@ -20871,7 +20903,7 @@ var Control = function Control(props) {
20871
20903
  innerRef = props.innerRef,
20872
20904
  innerProps = props.innerProps,
20873
20905
  menuIsOpen = props.menuIsOpen;
20874
- return jsx("div", _extends$g({
20906
+ return jsx("div", _extends$l({
20875
20907
  ref: innerRef,
20876
20908
  css: getStyles('control', props),
20877
20909
  className: cx({
@@ -20903,12 +20935,12 @@ var Group = function Group(props) {
20903
20935
  label = props.label,
20904
20936
  theme = props.theme,
20905
20937
  selectProps = props.selectProps;
20906
- return jsx("div", _extends$g({
20938
+ return jsx("div", _extends$l({
20907
20939
  css: getStyles('group', props),
20908
20940
  className: cx({
20909
20941
  group: true
20910
20942
  }, className)
20911
- }, innerProps), jsx(Heading, _extends$g({}, headingProps, {
20943
+ }, innerProps), jsx(Heading, _extends$l({}, headingProps, {
20912
20944
  selectProps: selectProps,
20913
20945
  theme: theme,
20914
20946
  getStyles: getStyles,
@@ -20940,7 +20972,7 @@ var GroupHeading = function GroupHeading(props) {
20940
20972
  _cleanCommonProps.data;
20941
20973
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
20942
20974
 
20943
- return jsx("div", _extends$g({
20975
+ return jsx("div", _extends$l({
20944
20976
  css: getStyles('groupHeading', props),
20945
20977
  className: cx({
20946
20978
  'group-heading': true
@@ -21016,7 +21048,7 @@ var Input = function Input(props) {
21016
21048
  }, className),
21017
21049
  css: getStyles('input', props),
21018
21050
  "data-value": value || ''
21019
- }, jsx("input", _extends$g({
21051
+ }, jsx("input", _extends$l({
21020
21052
  className: cx({
21021
21053
  input: true
21022
21054
  }, inputClassName),
@@ -21086,7 +21118,7 @@ var MultiValueLabel = MultiValueGeneric;
21086
21118
  function MultiValueRemove$1(_ref5) {
21087
21119
  var children = _ref5.children,
21088
21120
  innerProps = _ref5.innerProps;
21089
- return jsx("div", _extends$g({
21121
+ return jsx("div", _extends$l({
21090
21122
  role: "button"
21091
21123
  }, innerProps), children || jsx(CrossIcon, {
21092
21124
  size: 14
@@ -21175,7 +21207,7 @@ var Option$1 = function Option(props) {
21175
21207
  isSelected = props.isSelected,
21176
21208
  innerRef = props.innerRef,
21177
21209
  innerProps = props.innerProps;
21178
- return jsx("div", _extends$g({
21210
+ return jsx("div", _extends$l({
21179
21211
  css: getStyles('option', props),
21180
21212
  className: cx({
21181
21213
  option: true,
@@ -21207,7 +21239,7 @@ var Placeholder = function Placeholder(props) {
21207
21239
  cx = props.cx,
21208
21240
  getStyles = props.getStyles,
21209
21241
  innerProps = props.innerProps;
21210
- return jsx("div", _extends$g({
21242
+ return jsx("div", _extends$l({
21211
21243
  css: getStyles('placeholder', props),
21212
21244
  className: cx({
21213
21245
  placeholder: true
@@ -21240,7 +21272,7 @@ var SingleValue = function SingleValue(props) {
21240
21272
  getStyles = props.getStyles,
21241
21273
  isDisabled = props.isDisabled,
21242
21274
  innerProps = props.innerProps;
21243
- return jsx("div", _extends$g({
21275
+ return jsx("div", _extends$l({
21244
21276
  css: getStyles('singleValue', props),
21245
21277
  className: cx({
21246
21278
  'single-value': true,
@@ -21488,7 +21520,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
21488
21520
  };
21489
21521
 
21490
21522
  var A11yText = function A11yText(props) {
21491
- return jsx("span", _extends$g({
21523
+ return jsx("span", _extends$l({
21492
21524
  css: _ref
21493
21525
  }, props));
21494
21526
  };
@@ -22024,7 +22056,7 @@ function DummyInput(_ref) {
22024
22056
  var innerRef = _ref.innerRef,
22025
22057
  props = _objectWithoutProperties(_ref, _excluded);
22026
22058
 
22027
- return jsx("input", _extends$g({
22059
+ return jsx("input", _extends$l({
22028
22060
  ref: innerRef
22029
22061
  }, props, {
22030
22062
  css: /*#__PURE__*/css$2({
@@ -23659,7 +23691,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23659
23691
 
23660
23692
  if (!isSearchable) {
23661
23693
  // use a dummy input to maintain focus/blur functionality
23662
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$g({
23694
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$l({
23663
23695
  id: id,
23664
23696
  innerRef: this.getInputRef,
23665
23697
  onBlur: this.onInputBlur,
@@ -23673,7 +23705,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23673
23705
  }, ariaAttributes));
23674
23706
  }
23675
23707
 
23676
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$g({}, commonProps, {
23708
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$l({}, commonProps, {
23677
23709
  autoCapitalize: "none",
23678
23710
  autoComplete: "off",
23679
23711
  autoCorrect: "off",
@@ -23717,7 +23749,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23717
23749
  isFocused = _this$state5.isFocused;
23718
23750
 
23719
23751
  if (!this.hasValue() || !controlShouldRenderValue) {
23720
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$g({}, commonProps, {
23752
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$l({}, commonProps, {
23721
23753
  key: "placeholder",
23722
23754
  isDisabled: isDisabled,
23723
23755
  isFocused: isFocused,
@@ -23731,7 +23763,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23731
23763
  return selectValue.map(function (opt, index) {
23732
23764
  var isOptionFocused = opt === focusedValue;
23733
23765
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
23734
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$g({}, commonProps, {
23766
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$l({}, commonProps, {
23735
23767
  components: {
23736
23768
  Container: MultiValueContainer,
23737
23769
  Label: MultiValueLabel,
@@ -23763,7 +23795,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23763
23795
  }
23764
23796
 
23765
23797
  var singleValue = selectValue[0];
23766
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$g({}, commonProps, {
23798
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$l({}, commonProps, {
23767
23799
  data: singleValue,
23768
23800
  isDisabled: isDisabled
23769
23801
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -23789,7 +23821,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23789
23821
  onTouchEnd: this.onClearIndicatorTouchEnd,
23790
23822
  'aria-hidden': 'true'
23791
23823
  };
23792
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$g({}, commonProps, {
23824
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$l({}, commonProps, {
23793
23825
  innerProps: innerProps,
23794
23826
  isFocused: isFocused
23795
23827
  }));
@@ -23809,7 +23841,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23809
23841
  var innerProps = {
23810
23842
  'aria-hidden': 'true'
23811
23843
  };
23812
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$g({}, commonProps, {
23844
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$l({}, commonProps, {
23813
23845
  innerProps: innerProps,
23814
23846
  isDisabled: isDisabled,
23815
23847
  isFocused: isFocused
@@ -23827,7 +23859,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23827
23859
  var commonProps = this.commonProps;
23828
23860
  var isDisabled = this.props.isDisabled;
23829
23861
  var isFocused = this.state.isFocused;
23830
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$g({}, commonProps, {
23862
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$l({}, commonProps, {
23831
23863
  isDisabled: isDisabled,
23832
23864
  isFocused: isFocused
23833
23865
  }));
@@ -23847,7 +23879,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23847
23879
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
23848
23880
  'aria-hidden': 'true'
23849
23881
  };
23850
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$g({}, commonProps, {
23882
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$l({}, commonProps, {
23851
23883
  innerProps: innerProps,
23852
23884
  isDisabled: isDisabled,
23853
23885
  isFocused: isFocused
@@ -23910,7 +23942,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23910
23942
  onMouseOver: onHover,
23911
23943
  tabIndex: -1
23912
23944
  };
23913
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$g({}, commonProps, {
23945
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$l({}, commonProps, {
23914
23946
  innerProps: innerProps,
23915
23947
  data: data,
23916
23948
  isDisabled: isDisabled,
@@ -23934,7 +23966,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23934
23966
  groupIndex = item.index;
23935
23967
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
23936
23968
  var headingId = "".concat(groupId, "-heading");
23937
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$g({}, commonProps, {
23969
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$l({}, commonProps, {
23938
23970
  key: groupId,
23939
23971
  data: _data,
23940
23972
  options: options,
@@ -23973,12 +24005,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23973
24005
  menuPosition: menuPosition,
23974
24006
  menuShouldScrollIntoView: menuShouldScrollIntoView
23975
24007
  };
23976
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$g({}, commonProps, menuPlacementProps), function (_ref4) {
24008
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$l({}, commonProps, menuPlacementProps), function (_ref4) {
23977
24009
  var ref = _ref4.ref,
23978
24010
  _ref4$placerProps = _ref4.placerProps,
23979
24011
  placement = _ref4$placerProps.placement,
23980
24012
  maxHeight = _ref4$placerProps.maxHeight;
23981
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$g({}, commonProps, menuPlacementProps, {
24013
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$l({}, commonProps, menuPlacementProps, {
23982
24014
  innerRef: ref,
23983
24015
  innerProps: {
23984
24016
  onMouseDown: _this4.onMenuMouseDown,
@@ -23993,7 +24025,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23993
24025
  onBottomArrive: onMenuScrollToBottom,
23994
24026
  lockEnabled: menuShouldBlockScroll
23995
24027
  }, function (scrollTargetRef) {
23996
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$g({}, commonProps, {
24028
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$l({}, commonProps, {
23997
24029
  innerRef: function innerRef(instance) {
23998
24030
  _this4.getMenuListRef(instance);
23999
24031
 
@@ -24008,7 +24040,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24008
24040
  // so we use the same component. the actual portalling logic is forked
24009
24041
  // within the component based on `menuPosition`
24010
24042
 
24011
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$g({}, commonProps, {
24043
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$l({}, commonProps, {
24012
24044
  appendTo: menuPortalTarget,
24013
24045
  controlElement: this.controlRef,
24014
24046
  menuPlacement: menuPlacement,
@@ -24073,7 +24105,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24073
24105
  isFocused = _this$state6.isFocused,
24074
24106
  selectValue = _this$state6.selectValue;
24075
24107
  var focusableOptions = this.getFocusableOptions();
24076
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$g({}, commonProps, {
24108
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$l({}, commonProps, {
24077
24109
  id: this.getElementId('live-region'),
24078
24110
  ariaSelection: ariaSelection,
24079
24111
  focusedOption: focusedOption,
@@ -24099,7 +24131,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24099
24131
  menuIsOpen = _this$props14.menuIsOpen;
24100
24132
  var isFocused = this.state.isFocused;
24101
24133
  var commonProps = this.commonProps = this.getCommonProps();
24102
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$g({}, commonProps, {
24134
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$l({}, commonProps, {
24103
24135
  className: className,
24104
24136
  innerProps: {
24105
24137
  id: id,
@@ -24107,7 +24139,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24107
24139
  },
24108
24140
  isDisabled: isDisabled,
24109
24141
  isFocused: isFocused
24110
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$g({}, commonProps, {
24142
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$l({}, commonProps, {
24111
24143
  innerRef: this.getControlRef,
24112
24144
  innerProps: {
24113
24145
  onMouseDown: this.onControlMouseDown,
@@ -24116,9 +24148,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24116
24148
  isDisabled: isDisabled,
24117
24149
  isFocused: isFocused,
24118
24150
  menuIsOpen: menuIsOpen
24119
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$g({}, commonProps, {
24151
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$l({}, commonProps, {
24120
24152
  isDisabled: isDisabled
24121
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$g({}, commonProps, {
24153
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$l({}, commonProps, {
24122
24154
  isDisabled: isDisabled
24123
24155
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
24124
24156
  }
@@ -24191,7 +24223,7 @@ Select$1.defaultProps = defaultProps;
24191
24223
 
24192
24224
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24193
24225
  var baseSelectProps = useStateManager(props);
24194
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$g({
24226
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$l({
24195
24227
  ref: ref
24196
24228
  }, baseSelectProps));
24197
24229
  });
@@ -24199,9 +24231,9 @@ var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24199
24231
  var ReactSelect = StateManagedSelect;
24200
24232
 
24201
24233
  var _g$6;
24202
- 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); }
24234
+ 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); }
24203
24235
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24204
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24236
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
24205
24237
  xmlns: "http://www.w3.org/2000/svg",
24206
24238
  viewBox: "0 0 28 28",
24207
24239
  width: "1em",
@@ -24222,15 +24254,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24222
24254
  }))));
24223
24255
  };
24224
24256
 
24225
- var _path$7;
24226
- 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); }
24257
+ var _path$b;
24258
+ 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); }
24227
24259
  var SvgIcCheck = function SvgIcCheck(props) {
24228
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24260
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
24229
24261
  xmlns: "http://www.w3.org/2000/svg",
24230
24262
  width: "1em",
24231
24263
  height: "1em",
24232
24264
  viewBox: "0 0 24 24"
24233
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
24265
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
24234
24266
  stroke: "#06C",
24235
24267
  strokeLinecap: "round",
24236
24268
  strokeLinejoin: "round",
@@ -24242,9 +24274,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
24242
24274
  };
24243
24275
 
24244
24276
  var _g$5;
24245
- 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); }
24277
+ 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); }
24246
24278
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
24247
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24279
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
24248
24280
  xmlns: "http://www.w3.org/2000/svg",
24249
24281
  width: "1em",
24250
24282
  height: "1em",
@@ -24587,9 +24619,9 @@ var Checkbox$1 = /** @class */ (function (_super) {
24587
24619
  }(React.Component));
24588
24620
 
24589
24621
  var _g$4;
24590
- 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); }
24622
+ 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); }
24591
24623
  var SvgIcSearch = function SvgIcSearch(props) {
24592
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24624
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
24593
24625
  xmlns: "http://www.w3.org/2000/svg",
24594
24626
  viewBox: "0 0 24 24",
24595
24627
  width: "1em",
@@ -24606,9 +24638,9 @@ var SvgIcSearch = function SvgIcSearch(props) {
24606
24638
  };
24607
24639
 
24608
24640
  var _g$3;
24609
- 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); }
24641
+ 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); }
24610
24642
  var SvgIcErrorCross = function SvgIcErrorCross(props) {
24611
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24643
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
24612
24644
  xmlns: "http://www.w3.org/2000/svg",
24613
24645
  width: "1em",
24614
24646
  height: "1em",
@@ -24675,6 +24707,21 @@ var SearchBar = function (_a) {
24675
24707
  handleSearchChange,
24676
24708
  debounceTimeout,
24677
24709
  ]);
24710
+ // assuming initialSearchText will change if we are changing history otherwise will be constant and will not change
24711
+ // since on changing history we expect to make api call using useAsync so not applying handleEnter
24712
+ React.useEffect(function () {
24713
+ inputRef.current.value = initialSearchText;
24714
+ setShowClearButton(!!initialSearchText);
24715
+ }, [initialSearchText]);
24716
+ var _applySearch = function (value) {
24717
+ handleSearchChange(value);
24718
+ handleEnter(value);
24719
+ };
24720
+ var clearSearch = function () {
24721
+ inputRef.current.value = '';
24722
+ _applySearch('');
24723
+ setShowClearButton(false);
24724
+ };
24678
24725
  var handleChange = function (e) {
24679
24726
  var value = e.target.value;
24680
24727
  setShowClearButton(!!value);
@@ -24685,23 +24732,71 @@ var SearchBar = function (_a) {
24685
24732
  handleSearchChange(value);
24686
24733
  }
24687
24734
  };
24688
- var _applySearch = function (value) {
24689
- handleSearchChange(value);
24690
- handleEnter(value);
24691
- };
24692
24735
  var handleKeyDown = function (e) {
24693
24736
  var key = e.key;
24694
24737
  if (key === 'Enter') {
24738
+ e.preventDefault();
24695
24739
  var inputTarget = e.target;
24696
24740
  var value = inputTarget.value.trim();
24697
24741
  _applySearch(value);
24698
24742
  }
24699
24743
  };
24700
- var clearSearch = function () {
24701
- inputRef.current.value = '';
24702
- _applySearch('');
24703
- };
24704
- 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 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" }) })))] })) })));
24744
+ 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" }) })))] })) })));
24745
+ };
24746
+
24747
+ var _path$a;
24748
+ 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); }
24749
+ var SvgIcArrowUpDown = function SvgIcArrowUpDown(props) {
24750
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24751
+ xmlns: "http://www.w3.org/2000/svg",
24752
+ width: "1em",
24753
+ height: "1em",
24754
+ viewBox: "0 0 12 12",
24755
+ fill: "none"
24756
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
24757
+ d: "M4.125 8.5 6 10.75 7.875 8.5m-3.75-5L6 1.25 7.875 3.5",
24758
+ stroke: "#3B444C",
24759
+ strokeWidth: 1.5,
24760
+ strokeLinecap: "round",
24761
+ strokeLinejoin: "round"
24762
+ })));
24763
+ };
24764
+
24765
+ var _path$9;
24766
+ 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); }
24767
+ var SvgIcSortArrowDown = function SvgIcSortArrowDown(props) {
24768
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24769
+ width: "1em",
24770
+ height: "1em",
24771
+ viewBox: "0 0 12 12",
24772
+ fill: "none",
24773
+ xmlns: "http://www.w3.org/2000/svg"
24774
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
24775
+ d: "M3.5 7.5 6 10m0 0 2.5-2.5M6 10V2",
24776
+ stroke: "#596168",
24777
+ strokeWidth: 1.5,
24778
+ strokeLinecap: "round",
24779
+ strokeLinejoin: "round"
24780
+ })));
24781
+ };
24782
+
24783
+ /**
24784
+ * Reusable component for the table header cell with support for sorting icons
24785
+ *
24786
+ * @example Usage
24787
+ * ```tsx
24788
+ * <SortableTableHeaderCell
24789
+ * isSorted={currentSortedCell === 'cell'}
24790
+ * triggerSorting={() => {}}
24791
+ * sortOrder={SortingOrder.ASC}
24792
+ * title="Header Cell"
24793
+ * disabled={isDisabled}
24794
+ * />
24795
+ * ```
24796
+ */
24797
+ var SortableTableHeaderCell = function (_a) {
24798
+ var isSorted = _a.isSorted, triggerSorting = _a.triggerSorting, sortOrder = _a.sortOrder, title = _a.title, disabled = _a.disabled;
24799
+ 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" }))] })));
24705
24800
  };
24706
24801
 
24707
24802
  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}";
@@ -24840,9 +24935,9 @@ exports.ConsequenceAction = void 0;
24840
24935
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
24841
24936
 
24842
24937
  var _g$2;
24843
- 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); }
24938
+ 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); }
24844
24939
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
24845
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24940
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24846
24941
  xmlns: "http://www.w3.org/2000/svg",
24847
24942
  width: "1em",
24848
24943
  height: "1em",
@@ -24921,16 +25016,16 @@ function DeleteComponent(_a) {
24921
25016
  return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
24922
25017
  }
24923
25018
 
24924
- var _path$6;
24925
- 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); }
25019
+ var _path$8;
25020
+ 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); }
24926
25021
  var SvgIcPencil = function SvgIcPencil(props) {
24927
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25022
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24928
25023
  width: "1em",
24929
25024
  height: "1em",
24930
25025
  viewBox: "0 0 20 20",
24931
25026
  fill: "none",
24932
25027
  xmlns: "http://www.w3.org/2000/svg"
24933
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
25028
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
24934
25029
  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",
24935
25030
  stroke: "#596168",
24936
25031
  strokeWidth: 1.5,
@@ -24939,16 +25034,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
24939
25034
  })));
24940
25035
  };
24941
25036
 
24942
- var _path$5, _path2, _path3;
24943
- 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); }
25037
+ var _path$7, _path2, _path3;
25038
+ 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); }
24944
25039
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24945
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25040
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24946
25041
  width: "1em",
24947
25042
  height: "1em",
24948
25043
  viewBox: "0 0 12 12",
24949
25044
  fill: "none",
24950
25045
  xmlns: "http://www.w3.org/2000/svg"
24951
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25046
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
24952
25047
  d: "M3.742 4.674h-2.25v-2.25",
24953
25048
  fill: "#767D84"
24954
25049
  })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -24966,15 +25061,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24966
25061
  })));
24967
25062
  };
24968
25063
 
24969
- var _path$4;
24970
- 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); }
25064
+ var _path$6;
25065
+ 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); }
24971
25066
  var SvgIcMinus = function SvgIcMinus(props) {
24972
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25067
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24973
25068
  xmlns: "http://www.w3.org/2000/svg",
24974
25069
  width: "1em",
24975
25070
  height: "1em",
24976
25071
  viewBox: "0 0 14 14"
24977
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
25072
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
24978
25073
  fill: "#959BA1",
24979
25074
  className: "ic-minus_svg__fill-color",
24980
25075
  fillRule: "evenodd",
@@ -24983,9 +25078,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
24983
25078
  };
24984
25079
 
24985
25080
  var _g$1;
24986
- 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); }
25081
+ 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); }
24987
25082
  var SvgIcWarning = function SvgIcWarning(props) {
24988
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25083
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
24989
25084
  xmlns: "http://www.w3.org/2000/svg",
24990
25085
  width: "1em",
24991
25086
  height: "1em",
@@ -25005,9 +25100,9 @@ var SvgIcWarning = function SvgIcWarning(props) {
25005
25100
  };
25006
25101
 
25007
25102
  var _g;
25008
- 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); }
25103
+ 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); }
25009
25104
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25010
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
25105
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25011
25106
  xmlns: "http://www.w3.org/2000/svg",
25012
25107
  width: "1em",
25013
25108
  height: "1em",
@@ -25024,16 +25119,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25024
25119
  }))));
25025
25120
  };
25026
25121
 
25027
- var _path$3;
25028
- 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); }
25122
+ var _path$5;
25123
+ 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); }
25029
25124
  var SvgIcEnter = function SvgIcEnter(props) {
25030
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
25125
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25031
25126
  width: "1em",
25032
25127
  height: "1em",
25033
25128
  viewBox: "0 0 16 16",
25034
25129
  fill: "none",
25035
25130
  xmlns: "http://www.w3.org/2000/svg"
25036
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
25131
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25037
25132
  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",
25038
25133
  fill: "#3B444C"
25039
25134
  })));
@@ -25439,15 +25534,15 @@ function Grid(_a) {
25439
25534
  return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, containerDivProps, { children: children })));
25440
25535
  }
25441
25536
 
25442
- var _path$2;
25443
- 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); }
25537
+ var _path$4;
25538
+ 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); }
25444
25539
  var SvgIcCopy = function SvgIcCopy(props) {
25445
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
25540
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25446
25541
  xmlns: "http://www.w3.org/2000/svg",
25447
25542
  width: "1em",
25448
25543
  height: "1em",
25449
25544
  viewBox: "0 0 20 20"
25450
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
25545
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
25451
25546
  fill: "#767D84",
25452
25547
  fillRule: "evenodd",
25453
25548
  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"
@@ -25544,6 +25639,116 @@ var useWindowSize = function () {
25544
25639
  return windowSize;
25545
25640
  };
25546
25641
 
25642
+ var DEFAULT_PAGE_NUMBER = 1;
25643
+ var URL_FILTER_KEYS = {
25644
+ PAGE_SIZE: 'pageSize',
25645
+ PAGE_NUMBER: 'pageNumber',
25646
+ SEARCH_KEY: 'searchKey',
25647
+ SORT_BY: 'sortBy',
25648
+ SORT_ORDER: 'sortOrder',
25649
+ };
25650
+
25651
+ 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;
25652
+ /**
25653
+ * Generic hook for implementing URL based filters.
25654
+ * eg: pagination, search, sort.
25655
+ *
25656
+ * The exposed handlers can be consumed directly without the need for explicit state management
25657
+ *
25658
+ * @example Default Usage:
25659
+ * ```tsx
25660
+ * const { pageSize, changePage, ...rest } = useUrlFilters()
25661
+ * ```
25662
+ *
25663
+ * @example Usage with custom type for sort keys and initial sort key:
25664
+ * ```tsx
25665
+ * const { sortBy, sortOrder } = useUrlFilters<'email' | 'name'>({ initialSortKey: 'email' })
25666
+ * ```
25667
+ *
25668
+ */
25669
+ var useUrlFilters = function (_a) {
25670
+ var _b = _a === void 0 ? {} : _a, initialSortKey = _b.initialSortKey;
25671
+ var location = reactRouterDom.useLocation();
25672
+ var history = reactRouterDom.useHistory();
25673
+ var searchParams = new URLSearchParams(location.search);
25674
+ var _c = React.useMemo(function () {
25675
+ var _pageSize = searchParams.get(PAGE_SIZE);
25676
+ var _pageNumber = searchParams.get(PAGE_NUMBER);
25677
+ var _searchKey = searchParams.get(SEARCH_KEY);
25678
+ var _sortOrder = searchParams.get(SORT_ORDER);
25679
+ var _sortBy = searchParams.get(SORT_BY);
25680
+ var sortByKey = (_sortBy || initialSortKey || '');
25681
+ // Fallback to ascending order
25682
+ var sortByOrder = Object.values(exports.SortingOrder).includes(_sortOrder) ? _sortOrder : exports.SortingOrder.ASC;
25683
+ return {
25684
+ pageSize: Number(_pageSize) || DEFAULT_BASE_PAGE_SIZE,
25685
+ pageNumber: Number(_pageNumber) || DEFAULT_PAGE_NUMBER,
25686
+ searchKey: _searchKey || '',
25687
+ sortBy: sortByKey,
25688
+ // sort order should only be applied if the key is available
25689
+ sortOrder: (sortByKey ? sortByOrder : ''),
25690
+ };
25691
+ }, [searchParams]), pageSize = _c.pageSize, pageNumber = _c.pageNumber, searchKey = _c.searchKey, sortBy = _c.sortBy, sortOrder = _c.sortOrder;
25692
+ /**
25693
+ * Used for getting the required result from the API
25694
+ */
25695
+ var offset = pageSize * (pageNumber - 1);
25696
+ /**
25697
+ * Update and replace the search params in the URL.
25698
+ *
25699
+ * Note: Currently only primitive data types are supported
25700
+ */
25701
+ var _updateSearchParam = function (key, value) {
25702
+ searchParams.set(key, String(value));
25703
+ history.replace({ search: searchParams.toString() });
25704
+ };
25705
+ var _resetPageNumber = function () {
25706
+ _updateSearchParam(PAGE_NUMBER, DEFAULT_PAGE_NUMBER);
25707
+ };
25708
+ var changePage = function (page) {
25709
+ _updateSearchParam(PAGE_NUMBER, page);
25710
+ };
25711
+ var changePageSize = function (_pageSize) {
25712
+ _updateSearchParam(PAGE_SIZE, _pageSize);
25713
+ _resetPageNumber();
25714
+ };
25715
+ var handleSearch = function (searchTerm) {
25716
+ _updateSearchParam(SEARCH_KEY, searchTerm);
25717
+ _resetPageNumber();
25718
+ };
25719
+ var handleSorting = function (_sortBy) {
25720
+ var order;
25721
+ if (_sortBy === sortBy && sortOrder === exports.SortingOrder.ASC) {
25722
+ order = exports.SortingOrder.DESC;
25723
+ }
25724
+ else {
25725
+ order = exports.SortingOrder.ASC;
25726
+ }
25727
+ _updateSearchParam(SORT_BY, _sortBy);
25728
+ _updateSearchParam(SORT_ORDER, order);
25729
+ // Reset page number on sorting change
25730
+ _resetPageNumber();
25731
+ };
25732
+ var clearFilters = function () {
25733
+ Object.values(URL_FILTER_KEYS).forEach(function (key) {
25734
+ searchParams.delete(key);
25735
+ });
25736
+ history.replace({ search: searchParams.toString() });
25737
+ };
25738
+ return {
25739
+ pageSize: pageSize,
25740
+ changePage: changePage,
25741
+ changePageSize: changePageSize,
25742
+ searchKey: searchKey,
25743
+ handleSearch: handleSearch,
25744
+ offset: offset,
25745
+ sortBy: sortBy,
25746
+ sortOrder: sortOrder,
25747
+ handleSorting: handleSorting,
25748
+ clearFilters: clearFilters,
25749
+ };
25750
+ };
25751
+
25547
25752
  var StatusConstants = {
25548
25753
  NOT_DEPLOYED: {
25549
25754
  noSpaceLower: 'notdeployed',
@@ -28279,15 +28484,15 @@ var getInferredTypeFromValueType = function (value) {
28279
28484
  }
28280
28485
  };
28281
28486
 
28282
- var _path$1;
28283
- 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); }
28487
+ var _path$3;
28488
+ 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); }
28284
28489
  var SvgIcChevronDown = function SvgIcChevronDown(props) {
28285
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
28490
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
28286
28491
  xmlns: "http://www.w3.org/2000/svg",
28287
28492
  width: "1em",
28288
28493
  height: "1em",
28289
28494
  viewBox: "0 0 24 24"
28290
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
28495
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
28291
28496
  fill: "#999",
28292
28497
  className: "ic-chevron-down_svg__fill-color",
28293
28498
  fillRule: "nonzero",
@@ -28346,16 +28551,16 @@ var Form = RJSF.default;
28346
28551
  var validator = RJSFValidator.default;
28347
28552
  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 }))); };
28348
28553
 
28349
- var _style, _rect;
28350
- 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); }
28554
+ var _style, _rect$2;
28555
+ 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); }
28351
28556
  var SvgIcRotateDevtron = function SvgIcRotateDevtron(props) {
28352
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
28557
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
28353
28558
  width: "1em",
28354
28559
  height: "1em",
28355
28560
  viewBox: "0 0 100 100",
28356
28561
  fill: "none",
28357
28562
  xmlns: "http://www.w3.org/2000/svg"
28358
- }, 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", {
28563
+ }, 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", {
28359
28564
  width: 100,
28360
28565
  height: 100,
28361
28566
  rx: 20,
@@ -28623,16 +28828,16 @@ function DraggableWrapper(_a) {
28623
28828
  } }, { children: children })) })) })));
28624
28829
  }
28625
28830
 
28626
- var _path;
28627
- 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); }
28831
+ var _path$2;
28832
+ 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); }
28628
28833
  var SvgIcDrag = function SvgIcDrag(props) {
28629
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28834
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
28630
28835
  width: "1em",
28631
28836
  height: "1em",
28632
28837
  viewBox: "0 0 16 16",
28633
28838
  fill: "none",
28634
28839
  xmlns: "http://www.w3.org/2000/svg"
28635
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
28840
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
28636
28841
  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",
28637
28842
  fill: "#596168"
28638
28843
  })));
@@ -28754,11 +28959,299 @@ var Pagination = function (_a) {
28754
28959
  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 })] })))] })));
28755
28960
  };
28756
28961
 
28962
+ /**
28963
+ * User Status received from the API
28964
+ */
28965
+ exports.UserStatusDto = void 0;
28966
+ (function (UserStatusDto) {
28967
+ UserStatusDto["active"] = "active";
28968
+ UserStatusDto["inactive"] = "inactive";
28969
+ })(exports.UserStatusDto || (exports.UserStatusDto = {}));
28970
+ /**
28971
+ * User status for the frontend
28972
+ */
28973
+ exports.UserStatus = void 0;
28974
+ (function (UserStatus) {
28975
+ UserStatus["active"] = "active";
28976
+ UserStatus["inactive"] = "inactive";
28977
+ UserStatus["temporary"] = "temporary";
28978
+ })(exports.UserStatus || (exports.UserStatus = {}));
28979
+
28980
+ var BulkSelectionDropdownItems = function (_a) {
28981
+ var locator = _a.locator, label = _a.label, isSelected = _a.isSelected, handleBulkSelection = _a.handleBulkSelection, Icon = _a.icon;
28982
+ var handleSelect = function () {
28983
+ handleBulkSelection({
28984
+ action: locator,
28985
+ });
28986
+ };
28987
+ 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] })));
28988
+ };
28989
+
28990
+ exports.BulkSelectionEvents = void 0;
28991
+ (function (BulkSelectionEvents) {
28992
+ BulkSelectionEvents["CLEAR_ALL_SELECTIONS"] = "CLEAR_ALL_SELECTIONS";
28993
+ BulkSelectionEvents["CLEAR_IDENTIFIERS"] = "CLEAR_IDENTIFIERS";
28994
+ BulkSelectionEvents["SELECT_ALL_ACROSS_PAGES"] = "SELECT_ALL_ACROSS_PAGES";
28995
+ BulkSelectionEvents["SELECT_ALL_ON_PAGE"] = "SELECT_ALL_ON_PAGE";
28996
+ BulkSelectionEvents["SELECT_IDENTIFIER"] = "SELECT_IDENTIFIER";
28997
+ BulkSelectionEvents["CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION"] = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION";
28998
+ BulkSelectionEvents["CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES"] = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES";
28999
+ })(exports.BulkSelectionEvents || (exports.BulkSelectionEvents = {}));
29000
+ exports.SelectAllDialogStatus = void 0;
29001
+ (function (SelectAllDialogStatus) {
29002
+ SelectAllDialogStatus["OPEN"] = "OPEN";
29003
+ SelectAllDialogStatus["CLOSED"] = "CLOSED";
29004
+ })(exports.SelectAllDialogStatus || (exports.SelectAllDialogStatus = {}));
29005
+
29006
+ var _a;
29007
+ var BULK_DROPDOWN_TEST_ID = 'bulk-selection-pop-up-menu';
29008
+ var BulkSelectionOptionsLabels = (_a = {},
29009
+ _a[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE] = 'All on this page',
29010
+ _a[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES] = 'All across pages',
29011
+ _a[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS] = 'Clear selection',
29012
+ _a);
29013
+ // Considering application can not be named as *
29014
+ var SELECT_ALL_ACROSS_PAGES_LOCATOR = '*';
29015
+ var getInvalidActionMessage = function (action) { return "Invalid action ".concat(action, " passed to useBulkSelection"); };
29016
+ var BULK_SELECTION_CONTEXT_ERROR = 'useBulkSelection must be used within BulkSelectionContext';
29017
+
29018
+ // giving type any here since not exporting this context, rather using it through useBulkSelection hook which is typed
29019
+ var BulkSelectionContext = React.createContext({
29020
+ selectedIdentifiers: {},
29021
+ handleBulkSelection: noop$1,
29022
+ isChecked: false,
29023
+ checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29024
+ });
29025
+ var useBulkSelection = function () {
29026
+ var context = React.useContext(BulkSelectionContext);
29027
+ if (!context) {
29028
+ throw new Error(BULK_SELECTION_CONTEXT_ERROR);
29029
+ }
29030
+ return context;
29031
+ };
29032
+ var BulkSelectionProvider = function (_a) {
29033
+ var children = _a.children, identifiers = _a.identifiers, getSelectAllDialogStatus = _a.getSelectAllDialogStatus;
29034
+ var _b = __read(React.useState({}), 2), selectedIdentifiers = _b[0], setSelectedIdentifiers = _b[1];
29035
+ var setIdentifiersAfterClear = function (newIdentifiers, selectedIds) {
29036
+ var _newIdentifiers = JSON.parse(JSON.stringify(newIdentifiers));
29037
+ selectedIds.forEach(function (id) {
29038
+ delete _newIdentifiers[id];
29039
+ });
29040
+ setSelectedIdentifiers(_newIdentifiers);
29041
+ };
29042
+ var setIdentifiersAfterPageSelection = function (baseObject) {
29043
+ var _selectedIdentifiers = JSON.parse(JSON.stringify(selectedIdentifiers));
29044
+ // removing bulk selection across pages if present
29045
+ if (_selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR]) {
29046
+ delete _selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR];
29047
+ }
29048
+ setSelectedIdentifiers(__assign(__assign({}, _selectedIdentifiers), baseObject));
29049
+ };
29050
+ var handleBulkSelection = function (_a) {
29051
+ var _b, _c;
29052
+ var _d, _e;
29053
+ var action = _a.action, data = _a.data;
29054
+ var selectedIds = (_d = data === null || data === void 0 ? void 0 : data.identifierIds) !== null && _d !== void 0 ? _d : [];
29055
+ var identifierObject = (_e = data === null || data === void 0 ? void 0 : data.identifierObject) !== null && _e !== void 0 ? _e : {};
29056
+ switch (action) {
29057
+ case exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS:
29058
+ setSelectedIdentifiers({});
29059
+ break;
29060
+ case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
29061
+ setIdentifiersAfterClear(identifiers, selectedIds);
29062
+ break;
29063
+ }
29064
+ case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS: {
29065
+ setIdentifiersAfterClear(selectedIdentifiers, selectedIds);
29066
+ break;
29067
+ }
29068
+ case exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES: {
29069
+ if (selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR]) {
29070
+ return;
29071
+ }
29072
+ var selectedIdentifiersLength = Object.keys(selectedIdentifiers).length;
29073
+ if (selectedIdentifiersLength > 0 && getSelectAllDialogStatus() === exports.SelectAllDialogStatus.OPEN) {
29074
+ return;
29075
+ }
29076
+ setSelectedIdentifiers((_b = {},
29077
+ _b[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29078
+ _b));
29079
+ break;
29080
+ }
29081
+ case exports.BulkSelectionEvents.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
29082
+ setSelectedIdentifiers((_c = {},
29083
+ _c[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29084
+ _c));
29085
+ break;
29086
+ case exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE: {
29087
+ setIdentifiersAfterPageSelection(identifiers);
29088
+ break;
29089
+ }
29090
+ case exports.BulkSelectionEvents.SELECT_IDENTIFIER: {
29091
+ setIdentifiersAfterPageSelection(identifierObject);
29092
+ break;
29093
+ }
29094
+ default:
29095
+ throw new Error(getInvalidActionMessage(action));
29096
+ }
29097
+ };
29098
+ var getBulkSelectionCheckboxValues = function () {
29099
+ var selectedIdentifiersArray = Object.keys(selectedIdentifiers);
29100
+ if (selectedIdentifiersArray.length === 0) {
29101
+ return {
29102
+ isChecked: false,
29103
+ checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29104
+ };
29105
+ }
29106
+ // if selectedIdentifiers contains select all across pages locator then it means all are selected
29107
+ if (selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR]) {
29108
+ return {
29109
+ isChecked: true,
29110
+ checkboxValue: exports.CHECKBOX_VALUE.BULK_CHECKED,
29111
+ };
29112
+ }
29113
+ // if all the identifiers are selected then CHECKED else intermediate
29114
+ var areAllPresentIdentifiersSelected = Object.keys(identifiers).every(function (identifierId) { return selectedIdentifiers[identifierId]; });
29115
+ if (areAllPresentIdentifiersSelected) {
29116
+ return {
29117
+ isChecked: true,
29118
+ checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29119
+ };
29120
+ }
29121
+ return {
29122
+ isChecked: true,
29123
+ checkboxValue: exports.CHECKBOX_VALUE.INTERMEDIATE,
29124
+ };
29125
+ };
29126
+ var _c = getBulkSelectionCheckboxValues(), isChecked = _c.isChecked, checkboxValue = _c.checkboxValue;
29127
+ var value = React.useMemo(function () { return ({
29128
+ selectedIdentifiers: selectedIdentifiers,
29129
+ handleBulkSelection: handleBulkSelection,
29130
+ isChecked: isChecked,
29131
+ checkboxValue: checkboxValue,
29132
+ }); }, [selectedIdentifiers, handleBulkSelection, isChecked, checkboxValue]);
29133
+ return jsxRuntime.jsx(BulkSelectionContext.Provider, __assign({ value: value }, { children: children }));
29134
+ };
29135
+
29136
+ var _rect$1, _path$1;
29137
+ 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); }
29138
+ var SvgIcCheckSquare = function SvgIcCheckSquare(props) {
29139
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
29140
+ width: "1em",
29141
+ height: "1em",
29142
+ viewBox: "0 0 16 16",
29143
+ fill: "none",
29144
+ xmlns: "http://www.w3.org/2000/svg"
29145
+ }, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
29146
+ x: 2,
29147
+ y: 2,
29148
+ width: 12,
29149
+ height: 12,
29150
+ rx: 2,
29151
+ stroke: "#596168",
29152
+ strokeWidth: 1.5,
29153
+ strokeLinecap: "round",
29154
+ strokeLinejoin: "round"
29155
+ })), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
29156
+ d: "m11.208 5.958-4.083 4.083L5.083 8",
29157
+ stroke: "#596168",
29158
+ strokeWidth: 1.5,
29159
+ strokeLinecap: "round",
29160
+ strokeLinejoin: "round"
29161
+ })));
29162
+ };
29163
+
29164
+ var _rect, _path;
29165
+ 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); }
29166
+ var SvgIcCheckAll = function SvgIcCheckAll(props) {
29167
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
29168
+ width: "1em",
29169
+ height: "1em",
29170
+ viewBox: "0 0 17 17",
29171
+ fill: "none",
29172
+ xmlns: "http://www.w3.org/2000/svg"
29173
+ }, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
29174
+ x: 2,
29175
+ y: 2,
29176
+ width: 11.2,
29177
+ height: 11.2,
29178
+ rx: 2,
29179
+ stroke: "#596168",
29180
+ strokeWidth: 1.5,
29181
+ strokeLinecap: "round",
29182
+ strokeLinejoin: "round"
29183
+ })), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
29184
+ d: "M15.467 5.866v5.6a4 4 0 0 1-4 4h-5.6M10.35 5.85l-3.5 3.5L5.1 7.6",
29185
+ stroke: "#596168",
29186
+ strokeWidth: 1.5,
29187
+ strokeLinecap: "round",
29188
+ strokeLinejoin: "round"
29189
+ })));
29190
+ };
29191
+
29192
+ var _defs, _use;
29193
+ 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); }
29194
+ var SvgIcClose = function SvgIcClose(props) {
29195
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
29196
+ xmlns: "http://www.w3.org/2000/svg",
29197
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
29198
+ width: "1em",
29199
+ height: "1em",
29200
+ viewBox: "0 0 24 24"
29201
+ }, props), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("path", {
29202
+ id: "ic-close_svg__a",
29203
+ className: "ic-close_svg__stroke-color",
29204
+ 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"
29205
+ }))), _use || (_use = /*#__PURE__*/React__namespace.createElement("use", {
29206
+ fill: "#999",
29207
+ xlinkHref: "#ic-close_svg__a",
29208
+ fillRule: "evenodd"
29209
+ })));
29210
+ };
29211
+
29212
+ var BulkSelection = function (_a) {
29213
+ var showPagination = _a.showPagination;
29214
+ var _b = useBulkSelection(), handleBulkSelection = _b.handleBulkSelection, selectedIdentifiers = _b.selectedIdentifiers, isChecked = _b.isChecked, checkboxValue = _b.checkboxValue;
29215
+ var areOptionsSelected = Object.keys(selectedIdentifiers).length > 0;
29216
+ var BulkSelectionItems = __spreadArray(__spreadArray([
29217
+ {
29218
+ locator: exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE,
29219
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE],
29220
+ isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.CHECKED,
29221
+ icon: SvgIcCheckSquare,
29222
+ }
29223
+ ], __read((showPagination
29224
+ ? [
29225
+ {
29226
+ locator: exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES,
29227
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES],
29228
+ isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.BULK_CHECKED,
29229
+ icon: SvgIcCheckAll,
29230
+ },
29231
+ ]
29232
+ : [])), false), __read((areOptionsSelected
29233
+ ? [
29234
+ {
29235
+ locator: exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS,
29236
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS],
29237
+ isSelected: false,
29238
+ icon: SvgIcClose,
29239
+ },
29240
+ ]
29241
+ : [])), false);
29242
+ 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)); }) }))] })));
29243
+ };
29244
+
28757
29245
  exports.AddCDButton = AddCDButton;
28758
29246
  exports.AppStatus = AppStatus;
29247
+ exports.BULK_DROPDOWN_TEST_ID = BULK_DROPDOWN_TEST_ID;
29248
+ exports.BULK_SELECTION_CONTEXT_ERROR = BULK_SELECTION_CONTEXT_ERROR;
28759
29249
  exports.BreadCrumb = BreadCrumb;
28760
29250
  exports.BreadcrumbStore = Store;
28761
29251
  exports.BuildStageVariable = BuildStageVariable;
29252
+ exports.BulkSelection = BulkSelection;
29253
+ exports.BulkSelectionOptionsLabels = BulkSelectionOptionsLabels;
29254
+ exports.BulkSelectionProvider = BulkSelectionProvider;
28762
29255
  exports.CDModalTab = CDModalTab;
28763
29256
  exports.ChartVersionAndTypeSelector = ChartVersionAndTypeSelector;
28764
29257
  exports.Checkbox = Checkbox$1;
@@ -28768,6 +29261,7 @@ exports.ConditionalWrap = ConditionalWrap;
28768
29261
  exports.ConfirmationDialog = ConfirmationDialog;
28769
29262
  exports.CustomInput = CustomInput;
28770
29263
  exports.CustomSelect = CustomSelect;
29264
+ exports.DEFAULT_BASE_PAGE_SIZE = DEFAULT_BASE_PAGE_SIZE;
28771
29265
  exports.DEFAULT_TAG_DATA = DEFAULT_TAG_DATA;
28772
29266
  exports.DOCUMENTATION = DOCUMENTATION;
28773
29267
  exports.DOCUMENTATION_HOME_PAGE = DOCUMENTATION_HOME_PAGE;
@@ -28815,11 +29309,13 @@ exports.RepositoryAction = RepositoryAction;
28815
29309
  exports.ResizableTagTextArea = ResizableTagTextArea;
28816
29310
  exports.ResizableTextarea = ResizableTextarea;
28817
29311
  exports.SELECTED_APPROVAL_TAB_STATE = SELECTED_APPROVAL_TAB_STATE;
29312
+ exports.SELECT_ALL_ACROSS_PAGES_LOCATOR = SELECT_ALL_ACROSS_PAGES_LOCATOR;
28818
29313
  exports.ScanVulnerabilitiesTable = ScanVulnerabilitiesTable;
28819
29314
  exports.SearchBar = SearchBar;
28820
29315
  exports.ServerError = ServerError;
28821
29316
  exports.ServerErrors = ServerErrors;
28822
29317
  exports.SingleSelectOption = SingleSelectOption;
29318
+ exports.SortableTableHeaderCell = SortableTableHeaderCell;
28823
29319
  exports.SourceTypeMap = SourceTypeMap;
28824
29320
  exports.StyledRadioGroup = RadioGroup;
28825
29321
  exports.TOAST_ACCESS_DENIED = TOAST_ACCESS_DENIED;
@@ -28836,6 +29332,7 @@ exports.TriggerTypeMap = TriggerTypeMap;
28836
29332
  exports.URLS = URLS;
28837
29333
  exports.VisibleModal = VisibleModal;
28838
29334
  exports.VisibleModal2 = VisibleModal2;
29335
+ exports.abortPreviousRequests = abortPreviousRequests;
28839
29336
  exports.closeOnEscKeyPressed = closeOnEscKeyPressed;
28840
29337
  exports.copyToClipboard = copyToClipboard;
28841
29338
  exports.createGitCommitUrl = createGitCommitUrl;
@@ -28850,6 +29347,8 @@ exports.getCookie = getCookie;
28850
29347
  exports.getEmptyArrayOfLength = getEmptyArrayOfLength;
28851
29348
  exports.getFilteredChartVersions = getFilteredChartVersions;
28852
29349
  exports.getInferredTypeFromValueType = getInferredTypeFromValueType;
29350
+ exports.getInvalidActionMessage = getInvalidActionMessage;
29351
+ exports.getIsRequestAborted = getIsRequestAborted;
28853
29352
  exports.getLockedJSON = getLockedJSON;
28854
29353
  exports.getLoginInfo = getLoginInfo;
28855
29354
  exports.getRandomColor = getRandomColor;
@@ -28875,10 +29374,12 @@ exports.toastAccessDenied = toastAccessDenied;
28875
29374
  exports.trash = trash;
28876
29375
  exports.useAsync = useAsync;
28877
29376
  exports.useBreadcrumb = useBreadcrumb;
29377
+ exports.useBulkSelection = useBulkSelection;
28878
29378
  exports.useClickOutside = useClickOutside;
28879
29379
  exports.useEffectAfterMount = useEffectAfterMount;
28880
29380
  exports.useForm = useForm;
28881
29381
  exports.useSearchString = useSearchString;
28882
29382
  exports.useSuperAdmin = useSuperAdmin;
28883
29383
  exports.useThrottledEffect = useThrottledEffect;
29384
+ exports.useUrlFilters = useUrlFilters;
28884
29385
  exports.useWindowSize = useWindowSize;