@devtron-labs/devtron-fe-common-lib 0.0.54 → 0.0.55-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 (46) hide show
  1. package/.eslintrc.js +16 -84
  2. package/.github/workflows/release-package.yml +3 -2
  3. package/dist/Common/Common.service.d.ts +2 -2
  4. package/dist/Common/Constants.d.ts +0 -1
  5. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +0 -2
  6. package/dist/Common/Grid/Grid.d.ts +1 -1
  7. package/dist/Common/Grid/types.d.ts +2 -2
  8. package/dist/Common/Helper.d.ts +4 -5
  9. package/dist/Common/Hooks/index.d.ts +0 -1
  10. package/dist/Common/Types.d.ts +2 -15
  11. package/dist/Common/index.d.ts +0 -2
  12. package/dist/index.js +225 -474
  13. package/package.json +3 -21
  14. package/src/Common/Constants.ts +1 -3
  15. package/src/Common/DebouncedSearch/DebouncedSearch.tsx +0 -2
  16. package/src/Common/Grid/Grid.tsx +2 -7
  17. package/src/Common/Grid/types.ts +1 -3
  18. package/src/Common/Helper.tsx +23 -31
  19. package/src/Common/Hooks/index.ts +0 -1
  20. package/src/Common/Types.ts +2 -15
  21. package/src/Common/index.ts +0 -2
  22. package/.eslintignore +0 -96
  23. package/.github/pull_request_template.md +0 -25
  24. package/.github/workflows/ci.yml +0 -31
  25. package/.husky/pre-commit +0 -5
  26. package/.lintstagedrc +0 -3
  27. package/.nvmrc +0 -1
  28. package/dist/Common/DraggableWrapper/DraggableButton.d.ts +0 -3
  29. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +0 -9
  30. package/dist/Common/DraggableWrapper/index.d.ts +0 -3
  31. package/dist/Common/DraggableWrapper/types.d.ts +0 -23
  32. package/dist/Common/Hooks/UseWindowSize/UseWindowSize.d.ts +0 -4
  33. package/dist/Common/SearchBar/SearchBar.component.d.ts +0 -39
  34. package/dist/Common/SearchBar/index.d.ts +0 -2
  35. package/dist/Common/SearchBar/types.d.ts +0 -35
  36. package/src/Assets/Icon/ic-drag.svg +0 -8
  37. package/src/Assets/Icon/ic-search.svg +0 -6
  38. package/src/Common/DraggableWrapper/DraggableButton.tsx +0 -14
  39. package/src/Common/DraggableWrapper/DraggableWrapper.tsx +0 -116
  40. package/src/Common/DraggableWrapper/index.ts +0 -3
  41. package/src/Common/DraggableWrapper/types.ts +0 -27
  42. package/src/Common/Hooks/UseWindowSize/UseWindowSize.tsx +0 -31
  43. package/src/Common/SearchBar/SearchBar.component.tsx +0 -120
  44. package/src/Common/SearchBar/index.ts +0 -2
  45. package/src/Common/SearchBar/searchBar.scss +0 -31
  46. package/src/Common/SearchBar/types.ts +0 -36
package/dist/index.js CHANGED
@@ -8,7 +8,6 @@ var vm = require('vm');
8
8
  var RJSF = require('@rjsf/core');
9
9
  var RJSFValidator = require('@rjsf/validator-ajv8');
10
10
  var utils = require('@rjsf/utils');
11
- var Draggable = require('react-draggable');
12
11
 
13
12
  function _interopNamespaceDefault(e) {
14
13
  var n = Object.create(null);
@@ -257,8 +256,7 @@ var RepositoryAction = {
257
256
  CONTAINER: "CONTAINER",
258
257
  CHART_PULL: "CHART_PULL",
259
258
  CHART_PUSH: "CHART_PUSH"
260
- };
261
- var MAX_Z_INDEX = 2147483647;
259
+ };
262
260
 
263
261
  /******************************************************************************
264
262
  Copyright (c) Microsoft Corporation.
@@ -274,7 +272,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
274
272
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
275
273
  PERFORMANCE OF THIS SOFTWARE.
276
274
  ***************************************************************************** */
277
- /* global Reflect, Promise, SuppressedError, Symbol */
275
+ /* global Reflect, Promise */
278
276
 
279
277
  var extendStatics = function(d, b) {
280
278
  extendStatics = Object.setPrototypeOf ||
@@ -377,12 +375,7 @@ function __spreadArray(to, from, pack) {
377
375
  }
378
376
  }
379
377
  return to.concat(ar || Array.prototype.slice.call(from));
380
- }
381
-
382
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
383
- var e = new Error(message);
384
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
385
- };
378
+ }
386
379
 
387
380
  var ServerError = /** @class */ (function () {
388
381
  function ServerError(error) {
@@ -752,18 +745,18 @@ function styleInject(css, ref) {
752
745
  }
753
746
  }
754
747
 
755
- var css_248z$8 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n height: 40%;\n max-height: 200px;\n width: auto;\n max-width: 250px;\n}\n.empty-state svg {\n height: 40%;\n max-height: 200px;\n width: auto;\n}\n.empty-state h1,\n.empty-state h2,\n.empty-state h3,\n.empty-state h4,\n.empty-state h5,\n.empty-state h6 {\n color: var(--N900);\n}\n.empty-state .subtitle {\n font-size: 13px;\n font-weight: 400;\n text-align: center;\n line-height: 1.5;\n margin-bottom: 6px;\n}\n.empty-state .subtitle--text-start {\n text-align: start;\n}\n.empty-state .cta {\n height: 36px;\n}\n.empty-state p {\n text-align: center;\n font-size: 13px;\n color: var(--N700);\n}\n.empty-state strong {\n font-size: 16px;\n margin-bottom: 4px;\n color: var(--N900);\n font-weight: normal;\n}\n.empty-state .select-popup {\n height: min-content;\n max-height: 250px;\n overflow: auto;\n padding: 8px 0;\n}\n.empty-state .empty-state__loader {\n width: 34px;\n height: 34px;\n margin-bottom: 16px;\n}\n.empty-state .empty-state__loading-text {\n font-size: 12px;\n width: 200px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: var(--N900);\n}\n.empty-state .button__icon {\n width: 16px;\n height: 16px;\n margin-left: 8px;\n}";
756
- styleInject(css_248z$8);
748
+ var css_248z$7 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n height: 40%;\n max-height: 200px;\n width: auto;\n max-width: 250px;\n}\n.empty-state svg {\n height: 40%;\n max-height: 200px;\n width: auto;\n}\n.empty-state h1,\n.empty-state h2,\n.empty-state h3,\n.empty-state h4,\n.empty-state h5,\n.empty-state h6 {\n color: var(--N900);\n}\n.empty-state .subtitle {\n font-size: 13px;\n font-weight: 400;\n text-align: center;\n line-height: 1.5;\n margin-bottom: 6px;\n}\n.empty-state .subtitle--text-start {\n text-align: start;\n}\n.empty-state .cta {\n height: 36px;\n}\n.empty-state p {\n text-align: center;\n font-size: 13px;\n color: var(--N700);\n}\n.empty-state strong {\n font-size: 16px;\n margin-bottom: 4px;\n color: var(--N900);\n font-weight: normal;\n}\n.empty-state .select-popup {\n height: min-content;\n max-height: 250px;\n overflow: auto;\n padding: 8px 0;\n}\n.empty-state .empty-state__loader {\n width: 34px;\n height: 34px;\n margin-bottom: 16px;\n}\n.empty-state .empty-state__loading-text {\n font-size: 12px;\n width: 200px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: var(--N900);\n}\n.empty-state .button__icon {\n width: 16px;\n height: 16px;\n margin-left: 8px;\n}";
749
+ styleInject(css_248z$7);
757
750
 
758
- var _g$7;
759
- 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); }
751
+ var _g$6;
752
+ 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); }
760
753
  var SvgIcProgressing = function SvgIcProgressing(props) {
761
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
754
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
762
755
  xmlns: "http://www.w3.org/2000/svg",
763
756
  viewBox: "0 0 24 24",
764
757
  width: "1em",
765
758
  height: "1em"
766
- }, props), _g$7 || (_g$7 = /*#__PURE__*/React__namespace.createElement("g", {
759
+ }, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
767
760
  fill: "none"
768
761
  }, /*#__PURE__*/React__namespace.createElement("animateTransform", {
769
762
  attributeName: "transform",
@@ -810,8 +803,8 @@ EmptyState.Loading = Loading;
810
803
 
811
804
  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}
812
805
 
813
- function _extends$n() {
814
- _extends$n = Object.assign || function (target) {
806
+ function _extends$l() {
807
+ _extends$l = Object.assign || function (target) {
815
808
  for (var i = 1; i < arguments.length; i++) {
816
809
  var source = arguments[i];
817
810
 
@@ -825,7 +818,7 @@ function _extends$n() {
825
818
  return target;
826
819
  };
827
820
 
828
- return _extends$n.apply(this, arguments);
821
+ return _extends$l.apply(this, arguments);
829
822
  }
830
823
 
831
824
  function _objectWithoutPropertiesLoose$2(source, excluded) {
@@ -1551,7 +1544,7 @@ function ProgressBar(_ref) {
1551
1544
  isIn = _ref.isIn,
1552
1545
  theme = _ref.theme;
1553
1546
 
1554
- var style = _extends$n({}, userStyle, {
1547
+ var style = _extends$l({}, userStyle, {
1555
1548
  animationDuration: delay + "ms",
1556
1549
  animationPlayState: isRunning ? 'running' : 'paused',
1557
1550
  opacity: hide ? 0 : 1
@@ -1828,9 +1821,9 @@ var ToastContainer = function ToastContainer(props) {
1828
1821
  ,
1829
1822
  id: containerId
1830
1823
  }, getToastToRender(function (position, toastList) {
1831
- var containerStyle = !toastList.length ? _extends$n({}, style, {
1824
+ var containerStyle = !toastList.length ? _extends$l({}, style, {
1832
1825
  pointerEvents: 'none'
1833
- }) : _extends$n({}, style);
1826
+ }) : _extends$l({}, style);
1834
1827
  return React.createElement("div", {
1835
1828
  className: getClassName(position),
1836
1829
  style: containerStyle,
@@ -1937,7 +1930,7 @@ function dispatchToast(content, options) {
1937
1930
 
1938
1931
 
1939
1932
  function mergeOptions(type, options) {
1940
- return _extends$n({}, options, {
1933
+ return _extends$l({}, options, {
1941
1934
  type: options && options.type || type,
1942
1935
  toastId: getToastId(options)
1943
1936
  });
@@ -1954,7 +1947,7 @@ function toast(content, options) {
1954
1947
  }
1955
1948
 
1956
1949
  toast.loading = function (content, options) {
1957
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$n({
1950
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$l({
1958
1951
  isLoading: true,
1959
1952
  autoClose: false,
1960
1953
  closeOnClick: false,
@@ -1970,7 +1963,7 @@ function handlePromise(promise, _ref2, options) {
1970
1963
  var id;
1971
1964
 
1972
1965
  if (pending) {
1973
- id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$n({}, options, pending));
1966
+ id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$l({}, options, pending));
1974
1967
  }
1975
1968
 
1976
1969
  var resetParams = {
@@ -1989,7 +1982,7 @@ function handlePromise(promise, _ref2, options) {
1989
1982
  return;
1990
1983
  }
1991
1984
 
1992
- var baseParams = _extends$n({
1985
+ var baseParams = _extends$l({
1993
1986
  type: type
1994
1987
  }, resetParams, options, {
1995
1988
  data: result
@@ -2000,10 +1993,10 @@ function handlePromise(promise, _ref2, options) {
2000
1993
  } : input; // if the id is set we know that it's an update
2001
1994
 
2002
1995
  if (id) {
2003
- toast.update(id, _extends$n({}, baseParams, params));
1996
+ toast.update(id, _extends$l({}, baseParams, params));
2004
1997
  } else {
2005
1998
  // using toast.promise without loading
2006
- toast(params.render, _extends$n({}, baseParams, params));
1999
+ toast(params.render, _extends$l({}, baseParams, params));
2007
2000
  }
2008
2001
 
2009
2002
  return result;
@@ -2027,7 +2020,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
2027
2020
  toast.warn = toast.warning;
2028
2021
 
2029
2022
  toast.dark = function (content, options) {
2030
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$n({
2023
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$l({
2031
2024
  theme: 'dark'
2032
2025
  }, options)));
2033
2026
  };
@@ -2084,7 +2077,7 @@ toast.update = function (toastId, options) {
2084
2077
  var oldOptions = toast.props,
2085
2078
  oldContent = toast.content;
2086
2079
 
2087
- var nextOptions = _extends$n({}, oldOptions, options, {
2080
+ var nextOptions = _extends$l({}, oldOptions, options, {
2088
2081
  toastId: options.toastId || toastId,
2089
2082
  updateId: generateToastId()
2090
2083
  });
@@ -11787,20 +11780,18 @@ var getFilteredChartVersions = function (charts, selectedChartType) {
11787
11780
  chartRefId: item.chartRefId,
11788
11781
  }); });
11789
11782
  };
11790
- function removeEmptyObjectKeysAndNullValues(obj) {
11791
- // It recursively removes empty object keys and array values that are null
11783
+ function removeEmptyObjectKeysAndNullValues(obj, originaljsonCopy) {
11784
+ // It recursively removes empty object keys and empty array keys
11792
11785
  for (var key in obj) {
11793
11786
  if (Array.isArray(obj[key])) {
11794
- if (obj[key].length === 0)
11795
- continue;
11796
- obj[key] = obj[key].filter(function (item) { return item !== null; });
11797
11787
  // Check if the array is empty
11798
- if (obj[key].length === 0) {
11799
- delete obj[key]; // Delete the key if the array is empty
11788
+ if (obj[key].length === 0 && originaljsonCopy[key].length !== 0) {
11789
+ delete obj[key];
11800
11790
  }
11801
11791
  }
11802
11792
  else if (obj[key] && typeof obj[key] === 'object') {
11803
- if (removeEmptyObjectKeysAndNullValues(obj[key])) {
11793
+ if (removeEmptyObjectKeysAndNullValues(obj[key], originaljsonCopy[key]) &&
11794
+ Object.keys(originaljsonCopy[key]).length !== 0) {
11804
11795
  delete obj[key];
11805
11796
  }
11806
11797
  }
@@ -11810,19 +11801,27 @@ function removeEmptyObjectKeysAndNullValues(obj) {
11810
11801
  }
11811
11802
  return Object.keys(obj).length === 0;
11812
11803
  }
11813
- function getUnlockedJSON(json, jsonPathArray) {
11804
+ function getUnlockedJSON(json, jsonPathArray, removeParentKeysAndEmptyArrays) {
11805
+ if (removeParentKeysAndEmptyArrays === void 0) { removeParentKeysAndEmptyArrays = false; }
11806
+ if (!jsonPathArray.length)
11807
+ return { newDocument: json, removedPatches: [] };
11814
11808
  var jsonCopy = JSON.parse(JSON.stringify(json));
11809
+ var originaljsonCopy = JSON.parse(JSON.stringify(json));
11810
+ var removedPatches = [];
11815
11811
  var patches = jsonPathArray.flatMap(function (jsonPath) {
11816
11812
  var pathsToRemove = JSONPath({ path: jsonPath, json: jsonCopy, resultType: 'all' });
11813
+ //reversing patches to handle correct array index deletion
11814
+ pathsToRemove.reverse();
11817
11815
  return pathsToRemove.map(function (result) {
11818
- return Array.isArray(result.parent)
11819
- ? { op: 'replace', path: result.pointer, value: null }
11820
- : { op: 'remove', path: result.pointer };
11816
+ //storing removed patches to have functionality of undo
11817
+ removedPatches.push({ op: 'add', path: result.pointer, value: result.value });
11818
+ return { op: 'remove', path: result.pointer };
11821
11819
  });
11822
11820
  });
11823
11821
  var newDocument = applyPatch(jsonCopy, patches).newDocument;
11824
- removeEmptyObjectKeysAndNullValues(newDocument);
11825
- return newDocument;
11822
+ if (removeParentKeysAndEmptyArrays)
11823
+ removeEmptyObjectKeysAndNullValues(newDocument, originaljsonCopy);
11824
+ return { newDocument: newDocument, removedPatches: removedPatches.reverse() };
11826
11825
  }
11827
11826
  function getLockedJSON(json, jsonPathArray) {
11828
11827
  var jsonCopy = JSON.parse(JSON.stringify(json));
@@ -11846,27 +11845,7 @@ function getLockedJSON(json, jsonPathArray) {
11846
11845
  });
11847
11846
  });
11848
11847
  return resultJson['$'];
11849
- }
11850
- /**
11851
- * Returns a debounced variant of the function
11852
- */
11853
- var debounce$2 = function (func, timeout) {
11854
- if (timeout === void 0) { timeout = 500; }
11855
- var timer;
11856
- return function () {
11857
- var args = [];
11858
- for (var _i = 0; _i < arguments.length; _i++) {
11859
- args[_i] = arguments[_i];
11860
- }
11861
- var context = this;
11862
- if (timer)
11863
- clearTimeout(timer);
11864
- timer = setTimeout(function () {
11865
- timer = null;
11866
- func.apply(context, args);
11867
- }, timeout);
11868
- };
11869
- };
11848
+ }
11870
11849
 
11871
11850
  function Progressing(_a) {
11872
11851
  var pageLoader = _a.pageLoader, size = _a.size, theme = _a.theme, styles = _a.styles, fillColor = _a.fillColor;
@@ -11918,8 +11897,8 @@ var VisibleModal = /** @class */ (function (_super) {
11918
11897
  return VisibleModal;
11919
11898
  }(React.Component));
11920
11899
 
11921
- var css_248z$7 = ".drawer {\n position: absolute;\n overflow: hidden;\n}\n.drawer.left, .drawer.right {\n top: 0;\n bottom: 0;\n width: 0;\n transition: width 200ms;\n}\n.drawer.left.show, .drawer.right.show {\n min-width: var(--minWidth);\n width: var(--width);\n max-width: var(--maxWidth);\n}\n.drawer.top, .drawer.bottom {\n left: 0;\n right: 0;\n height: 0;\n transition: height 200ms;\n}\n.drawer.top.show, .drawer.bottom.show {\n height: var(--height);\n}\n.drawer.right {\n right: 0;\n}\n.drawer.left {\n left: 0;\n}\n.drawer.top {\n top: 0;\n}\n.drawer.bottom {\n bottom: 0;\n}";
11922
- styleInject(css_248z$7);
11900
+ var css_248z$6 = ".drawer {\n position: absolute;\n overflow: hidden;\n}\n.drawer.left, .drawer.right {\n top: 0;\n bottom: 0;\n width: 0;\n transition: width 200ms;\n}\n.drawer.left.show, .drawer.right.show {\n min-width: var(--minWidth);\n width: var(--width);\n max-width: var(--maxWidth);\n}\n.drawer.top, .drawer.bottom {\n left: 0;\n right: 0;\n height: 0;\n transition: height 200ms;\n}\n.drawer.top.show, .drawer.bottom.show {\n height: var(--height);\n}\n.drawer.right {\n right: 0;\n}\n.drawer.left {\n left: 0;\n}\n.drawer.top {\n top: 0;\n}\n.drawer.bottom {\n bottom: 0;\n}";
11901
+ styleInject(css_248z$6);
11923
11902
 
11924
11903
  var Drawer = function (_a) {
11925
11904
  var children = _a.children, position = _a.position, height = _a.height, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, parentClassName = _a.parentClassName, onEscape = _a.onEscape;
@@ -11993,16 +11972,16 @@ var Modal = function (_a) {
11993
11972
  }, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
11994
11973
  };
11995
11974
 
11996
- var _path$d;
11997
- 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); }
11975
+ var _path$c;
11976
+ 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); }
11998
11977
  var SvgIcCross = function SvgIcCross(props) {
11999
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
11978
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
12000
11979
  width: "1em",
12001
11980
  height: "1em",
12002
11981
  viewBox: "0 0 24 24",
12003
11982
  fill: "none",
12004
11983
  xmlns: "http://www.w3.org/2000/svg"
12005
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
11984
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
12006
11985
  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",
12007
11986
  fill: "#596168"
12008
11987
  })));
@@ -16301,38 +16280,38 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
16301
16280
 
16302
16281
  var Tippy = index;
16303
16282
 
16304
- var _path$c;
16305
- 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); }
16283
+ var _path$b;
16284
+ 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); }
16306
16285
  var SvgIcHelp = function SvgIcHelp(props) {
16307
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
16286
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
16308
16287
  xmlns: "http://www.w3.org/2000/svg",
16309
16288
  width: "1em",
16310
16289
  height: "1em",
16311
16290
  viewBox: "0 0 24 24"
16312
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16291
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
16313
16292
  fill: "#767D84",
16314
16293
  fillRule: "evenodd",
16315
16294
  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"
16316
16295
  })));
16317
16296
  };
16318
16297
 
16319
- var _path$b;
16320
- 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); }
16298
+ var _path$a;
16299
+ 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); }
16321
16300
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
16322
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
16301
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
16323
16302
  xmlns: "http://www.w3.org/2000/svg",
16324
16303
  viewBox: "0 0 17 16",
16325
16304
  width: "1em",
16326
16305
  height: "1em"
16327
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
16306
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
16328
16307
  fill: "#767D84",
16329
16308
  fillRule: "evenodd",
16330
16309
  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"
16331
16310
  })));
16332
16311
  };
16333
16312
 
16334
- var css_248z$6 = ".tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translateX(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translateX(5px)}";
16335
- styleInject(css_248z$6);
16313
+ var css_248z$5 = ".tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translateX(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translateX(5px)}";
16314
+ styleInject(css_248z$5);
16336
16315
 
16337
16316
  // This component will handle some of the new tippy designs and interactions
16338
16317
  // So this can be updated to support further for new features or interactions
@@ -16376,16 +16355,16 @@ function TippyCustomized(props) {
16376
16355
  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 })));
16377
16356
  }
16378
16357
 
16379
- var _path$a, _circle, _path2$1;
16380
- 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); }
16358
+ var _path$9, _circle, _path2$1;
16359
+ 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); }
16381
16360
  var SvgInjectTag = function SvgInjectTag(props) {
16382
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
16361
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
16383
16362
  width: "1em",
16384
16363
  height: "1em",
16385
16364
  viewBox: "0 0 20 20",
16386
16365
  fill: "none",
16387
16366
  xmlns: "http://www.w3.org/2000/svg"
16388
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
16367
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
16389
16368
  d: "M10 10H3.333",
16390
16369
  stroke: "#596168",
16391
16370
  strokeWidth: 1.5,
@@ -16413,15 +16392,15 @@ function PropagateTagInfo(_a) {
16413
16392
  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" })] })) })));
16414
16393
  }
16415
16394
 
16416
- var _path$9;
16417
- 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); }
16395
+ var _path$8;
16396
+ 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); }
16418
16397
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
16419
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
16398
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
16420
16399
  xmlns: "http://www.w3.org/2000/svg",
16421
16400
  width: "1em",
16422
16401
  height: "1em",
16423
16402
  viewBox: "0 0 20 20"
16424
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
16403
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
16425
16404
  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",
16426
16405
  fill: "#06C",
16427
16406
  fillRule: "evenodd"
@@ -16655,15 +16634,15 @@ var TagDetails = function (_a) {
16655
16634
  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" }) }))] })));
16656
16635
  };
16657
16636
 
16658
- var _path$8;
16659
- 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); }
16637
+ var _path$7;
16638
+ 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); }
16660
16639
  var SvgIcAdd = function SvgIcAdd(props) {
16661
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
16640
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
16662
16641
  xmlns: "http://www.w3.org/2000/svg",
16663
16642
  width: "1em",
16664
16643
  height: "1em",
16665
16644
  viewBox: "0 0 24 24"
16666
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
16645
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
16667
16646
  className: "ic-add_svg__fill-color",
16668
16647
  fill: "#999",
16669
16648
  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"
@@ -16793,8 +16772,8 @@ function ForceDeleteDialog(_a) {
16793
16772
  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?" })] }) })) }));
16794
16773
  }
16795
16774
 
16796
- function _extends$g() {
16797
- _extends$g = Object.assign ? Object.assign.bind() : function (target) {
16775
+ function _extends$e() {
16776
+ _extends$e = Object.assign ? Object.assign.bind() : function (target) {
16798
16777
  for (var i = 1; i < arguments.length; i++) {
16799
16778
  var source = arguments[i];
16800
16779
  for (var key in source) {
@@ -16805,7 +16784,7 @@ function _extends$g() {
16805
16784
  }
16806
16785
  return target;
16807
16786
  };
16808
- return _extends$g.apply(this, arguments);
16787
+ return _extends$e.apply(this, arguments);
16809
16788
  }
16810
16789
 
16811
16790
  /*
@@ -19633,14 +19612,14 @@ function _objectWithoutProperties(source, excluded) {
19633
19612
  return target;
19634
19613
  }
19635
19614
 
19636
- function _typeof(o) {
19615
+ function _typeof(obj) {
19637
19616
  "@babel/helpers - typeof";
19638
19617
 
19639
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
19640
- return typeof o;
19641
- } : function (o) {
19642
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
19643
- }, _typeof(o);
19618
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19619
+ return typeof obj;
19620
+ } : function (obj) {
19621
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19622
+ }, _typeof(obj);
19644
19623
  }
19645
19624
 
19646
19625
  function _classCallCheck(instance, Constructor) {
@@ -19649,20 +19628,20 @@ function _classCallCheck(instance, Constructor) {
19649
19628
  }
19650
19629
  }
19651
19630
 
19652
- function toPrimitive(t, r) {
19653
- if ("object" != _typeof(t) || !t) return t;
19654
- var e = t[Symbol.toPrimitive];
19655
- if (void 0 !== e) {
19656
- var i = e.call(t, r || "default");
19657
- if ("object" != _typeof(i)) return i;
19631
+ function _toPrimitive(input, hint) {
19632
+ if (_typeof(input) !== "object" || input === null) return input;
19633
+ var prim = input[Symbol.toPrimitive];
19634
+ if (prim !== undefined) {
19635
+ var res = prim.call(input, hint || "default");
19636
+ if (_typeof(res) !== "object") return res;
19658
19637
  throw new TypeError("@@toPrimitive must return a primitive value.");
19659
19638
  }
19660
- return ("string" === r ? String : Number)(t);
19639
+ return (hint === "string" ? String : Number)(input);
19661
19640
  }
19662
19641
 
19663
- function toPropertyKey(t) {
19664
- var i = toPrimitive(t, "string");
19665
- return "symbol" == _typeof(i) ? i : String(i);
19642
+ function _toPropertyKey(arg) {
19643
+ var key = _toPrimitive(arg, "string");
19644
+ return _typeof(key) === "symbol" ? key : String(key);
19666
19645
  }
19667
19646
 
19668
19647
  function _defineProperties(target, props) {
@@ -19671,7 +19650,7 @@ function _defineProperties(target, props) {
19671
19650
  descriptor.enumerable = descriptor.enumerable || false;
19672
19651
  descriptor.configurable = true;
19673
19652
  if ("value" in descriptor) descriptor.writable = true;
19674
- Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
19653
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
19675
19654
  }
19676
19655
  }
19677
19656
  function _createClass(Constructor, protoProps, staticProps) {
@@ -19709,7 +19688,7 @@ function _inherits(subClass, superClass) {
19709
19688
  }
19710
19689
 
19711
19690
  function _defineProperty$1(obj, key, value) {
19712
- key = toPropertyKey(key);
19691
+ key = _toPropertyKey(key);
19713
19692
  if (key in obj) {
19714
19693
  Object.defineProperty(obj, key, {
19715
19694
  value: value,
@@ -20346,7 +20325,7 @@ var Menu = function Menu(props) {
20346
20325
  getStyles = props.getStyles,
20347
20326
  innerRef = props.innerRef,
20348
20327
  innerProps = props.innerProps;
20349
- return jsx("div", _extends$g({
20328
+ return jsx("div", _extends$e({
20350
20329
  css: getStyles('menu', props),
20351
20330
  className: cx({
20352
20331
  menu: true
@@ -20378,7 +20357,7 @@ var MenuList$1 = function MenuList(props) {
20378
20357
  innerProps = props.innerProps,
20379
20358
  innerRef = props.innerRef,
20380
20359
  isMulti = props.isMulti;
20381
- return jsx("div", _extends$g({
20360
+ return jsx("div", _extends$e({
20382
20361
  css: getStyles('menuList', props),
20383
20362
  className: cx({
20384
20363
  'menu-list': true,
@@ -20409,7 +20388,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
20409
20388
  cx = props.cx,
20410
20389
  getStyles = props.getStyles,
20411
20390
  innerProps = props.innerProps;
20412
- return jsx("div", _extends$g({
20391
+ return jsx("div", _extends$e({
20413
20392
  css: getStyles('noOptionsMessage', props),
20414
20393
  className: cx({
20415
20394
  'menu-notice': true,
@@ -20426,7 +20405,7 @@ var LoadingMessage = function LoadingMessage(props) {
20426
20405
  cx = props.cx,
20427
20406
  getStyles = props.getStyles,
20428
20407
  innerProps = props.innerProps;
20429
- return jsx("div", _extends$g({
20408
+ return jsx("div", _extends$e({
20430
20409
  css: getStyles('loadingMessage', props),
20431
20410
  className: cx({
20432
20411
  'menu-notice': true,
@@ -20514,7 +20493,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
20514
20493
  rect: rect
20515
20494
  }; // same wrapper element whether fixed or portalled
20516
20495
 
20517
- var menuWrapper = jsx("div", _extends$g({
20496
+ var menuWrapper = jsx("div", _extends$e({
20518
20497
  css: getStyles('menuPortal', state),
20519
20498
  className: cx({
20520
20499
  'menu-portal': true
@@ -20550,7 +20529,7 @@ var SelectContainer = function SelectContainer(props) {
20550
20529
  innerProps = props.innerProps,
20551
20530
  isDisabled = props.isDisabled,
20552
20531
  isRtl = props.isRtl;
20553
- return jsx("div", _extends$g({
20532
+ return jsx("div", _extends$e({
20554
20533
  css: getStyles('container', props),
20555
20534
  className: cx({
20556
20535
  '--is-disabled': isDisabled,
@@ -20585,7 +20564,7 @@ var ValueContainer = function ValueContainer(props) {
20585
20564
  isMulti = props.isMulti,
20586
20565
  getStyles = props.getStyles,
20587
20566
  hasValue = props.hasValue;
20588
- return jsx("div", _extends$g({
20567
+ return jsx("div", _extends$e({
20589
20568
  css: getStyles('valueContainer', props),
20590
20569
  className: cx({
20591
20570
  'value-container': true,
@@ -20611,7 +20590,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
20611
20590
  cx = props.cx,
20612
20591
  innerProps = props.innerProps,
20613
20592
  getStyles = props.getStyles;
20614
- return jsx("div", _extends$g({
20593
+ return jsx("div", _extends$e({
20615
20594
  css: getStyles('indicatorsContainer', props),
20616
20595
  className: cx({
20617
20596
  indicators: true
@@ -20642,7 +20621,7 @@ var Svg = function Svg(_ref) {
20642
20621
  var size = _ref.size,
20643
20622
  props = _objectWithoutProperties(_ref, _excluded$2);
20644
20623
 
20645
- return jsx("svg", _extends$g({
20624
+ return jsx("svg", _extends$e({
20646
20625
  height: size,
20647
20626
  width: size,
20648
20627
  viewBox: "0 0 20 20",
@@ -20653,14 +20632,14 @@ var Svg = function Svg(_ref) {
20653
20632
  };
20654
20633
 
20655
20634
  var CrossIcon = function CrossIcon(props) {
20656
- return jsx(Svg, _extends$g({
20635
+ return jsx(Svg, _extends$e({
20657
20636
  size: 20
20658
20637
  }, props), jsx("path", {
20659
20638
  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"
20660
20639
  }));
20661
20640
  };
20662
20641
  var DownChevron = function DownChevron(props) {
20663
- return jsx(Svg, _extends$g({
20642
+ return jsx(Svg, _extends$e({
20664
20643
  size: 20
20665
20644
  }, props), jsx("path", {
20666
20645
  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"
@@ -20693,7 +20672,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
20693
20672
  cx = props.cx,
20694
20673
  getStyles = props.getStyles,
20695
20674
  innerProps = props.innerProps;
20696
- return jsx("div", _extends$g({
20675
+ return jsx("div", _extends$e({
20697
20676
  css: getStyles('dropdownIndicator', props),
20698
20677
  className: cx({
20699
20678
  indicator: true,
@@ -20708,7 +20687,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
20708
20687
  cx = props.cx,
20709
20688
  getStyles = props.getStyles,
20710
20689
  innerProps = props.innerProps;
20711
- return jsx("div", _extends$g({
20690
+ return jsx("div", _extends$e({
20712
20691
  css: getStyles('clearIndicator', props),
20713
20692
  className: cx({
20714
20693
  indicator: true,
@@ -20738,7 +20717,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
20738
20717
  cx = props.cx,
20739
20718
  getStyles = props.getStyles,
20740
20719
  innerProps = props.innerProps;
20741
- return jsx("span", _extends$g({}, innerProps, {
20720
+ return jsx("span", _extends$e({}, innerProps, {
20742
20721
  css: getStyles('indicatorSeparator', props),
20743
20722
  className: cx({
20744
20723
  'indicator-separator': true
@@ -20793,7 +20772,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
20793
20772
  getStyles = props.getStyles,
20794
20773
  innerProps = props.innerProps,
20795
20774
  isRtl = props.isRtl;
20796
- return jsx("div", _extends$g({
20775
+ return jsx("div", _extends$e({
20797
20776
  css: getStyles('loadingIndicator', props),
20798
20777
  className: cx({
20799
20778
  indicator: true,
@@ -20854,7 +20833,7 @@ var Control = function Control(props) {
20854
20833
  innerRef = props.innerRef,
20855
20834
  innerProps = props.innerProps,
20856
20835
  menuIsOpen = props.menuIsOpen;
20857
- return jsx("div", _extends$g({
20836
+ return jsx("div", _extends$e({
20858
20837
  ref: innerRef,
20859
20838
  css: getStyles('control', props),
20860
20839
  className: cx({
@@ -20886,12 +20865,12 @@ var Group = function Group(props) {
20886
20865
  label = props.label,
20887
20866
  theme = props.theme,
20888
20867
  selectProps = props.selectProps;
20889
- return jsx("div", _extends$g({
20868
+ return jsx("div", _extends$e({
20890
20869
  css: getStyles('group', props),
20891
20870
  className: cx({
20892
20871
  group: true
20893
20872
  }, className)
20894
- }, innerProps), jsx(Heading, _extends$g({}, headingProps, {
20873
+ }, innerProps), jsx(Heading, _extends$e({}, headingProps, {
20895
20874
  selectProps: selectProps,
20896
20875
  theme: theme,
20897
20876
  getStyles: getStyles,
@@ -20923,7 +20902,7 @@ var GroupHeading = function GroupHeading(props) {
20923
20902
  _cleanCommonProps.data;
20924
20903
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
20925
20904
 
20926
- return jsx("div", _extends$g({
20905
+ return jsx("div", _extends$e({
20927
20906
  css: getStyles('groupHeading', props),
20928
20907
  className: cx({
20929
20908
  'group-heading': true
@@ -20999,7 +20978,7 @@ var Input = function Input(props) {
20999
20978
  }, className),
21000
20979
  css: getStyles('input', props),
21001
20980
  "data-value": value || ''
21002
- }, jsx("input", _extends$g({
20981
+ }, jsx("input", _extends$e({
21003
20982
  className: cx({
21004
20983
  input: true
21005
20984
  }, inputClassName),
@@ -21069,7 +21048,7 @@ var MultiValueLabel = MultiValueGeneric;
21069
21048
  function MultiValueRemove$1(_ref5) {
21070
21049
  var children = _ref5.children,
21071
21050
  innerProps = _ref5.innerProps;
21072
- return jsx("div", _extends$g({
21051
+ return jsx("div", _extends$e({
21073
21052
  role: "button"
21074
21053
  }, innerProps), children || jsx(CrossIcon, {
21075
21054
  size: 14
@@ -21158,7 +21137,7 @@ var Option$1 = function Option(props) {
21158
21137
  isSelected = props.isSelected,
21159
21138
  innerRef = props.innerRef,
21160
21139
  innerProps = props.innerProps;
21161
- return jsx("div", _extends$g({
21140
+ return jsx("div", _extends$e({
21162
21141
  css: getStyles('option', props),
21163
21142
  className: cx({
21164
21143
  option: true,
@@ -21190,7 +21169,7 @@ var Placeholder = function Placeholder(props) {
21190
21169
  cx = props.cx,
21191
21170
  getStyles = props.getStyles,
21192
21171
  innerProps = props.innerProps;
21193
- return jsx("div", _extends$g({
21172
+ return jsx("div", _extends$e({
21194
21173
  css: getStyles('placeholder', props),
21195
21174
  className: cx({
21196
21175
  placeholder: true
@@ -21223,7 +21202,7 @@ var SingleValue = function SingleValue(props) {
21223
21202
  getStyles = props.getStyles,
21224
21203
  isDisabled = props.isDisabled,
21225
21204
  innerProps = props.innerProps;
21226
- return jsx("div", _extends$g({
21205
+ return jsx("div", _extends$e({
21227
21206
  css: getStyles('singleValue', props),
21228
21207
  className: cx({
21229
21208
  'single-value': true,
@@ -21267,31 +21246,31 @@ function _arrayWithHoles(arr) {
21267
21246
  if (Array.isArray(arr)) return arr;
21268
21247
  }
21269
21248
 
21270
- function _iterableToArrayLimit(r, l) {
21271
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
21272
- if (null != t) {
21273
- var e,
21274
- n,
21275
- i,
21276
- u,
21277
- a = [],
21278
- f = !0,
21279
- o = !1;
21249
+ function _iterableToArrayLimit(arr, i) {
21250
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
21251
+ if (null != _i) {
21252
+ var _s,
21253
+ _e,
21254
+ _x,
21255
+ _r,
21256
+ _arr = [],
21257
+ _n = !0,
21258
+ _d = !1;
21280
21259
  try {
21281
- if (i = (t = t.call(r)).next, 0 === l) {
21282
- if (Object(t) !== t) return;
21283
- f = !1;
21284
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
21285
- } catch (r) {
21286
- o = !0, n = r;
21260
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
21261
+ if (Object(_i) !== _i) return;
21262
+ _n = !1;
21263
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
21264
+ } catch (err) {
21265
+ _d = !0, _e = err;
21287
21266
  } finally {
21288
21267
  try {
21289
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
21268
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
21290
21269
  } finally {
21291
- if (o) throw n;
21270
+ if (_d) throw _e;
21292
21271
  }
21293
21272
  }
21294
- return a;
21273
+ return _arr;
21295
21274
  }
21296
21275
  }
21297
21276
 
@@ -21471,7 +21450,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
21471
21450
  };
21472
21451
 
21473
21452
  var A11yText = function A11yText(props) {
21474
- return jsx("span", _extends$g({
21453
+ return jsx("span", _extends$e({
21475
21454
  css: _ref
21476
21455
  }, props));
21477
21456
  };
@@ -22007,7 +21986,7 @@ function DummyInput(_ref) {
22007
21986
  var innerRef = _ref.innerRef,
22008
21987
  props = _objectWithoutProperties(_ref, _excluded);
22009
21988
 
22010
- return jsx("input", _extends$g({
21989
+ return jsx("input", _extends$e({
22011
21990
  ref: innerRef
22012
21991
  }, props, {
22013
21992
  css: /*#__PURE__*/css$2({
@@ -23642,7 +23621,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23642
23621
 
23643
23622
  if (!isSearchable) {
23644
23623
  // use a dummy input to maintain focus/blur functionality
23645
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$g({
23624
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$e({
23646
23625
  id: id,
23647
23626
  innerRef: this.getInputRef,
23648
23627
  onBlur: this.onInputBlur,
@@ -23656,7 +23635,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23656
23635
  }, ariaAttributes));
23657
23636
  }
23658
23637
 
23659
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$g({}, commonProps, {
23638
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$e({}, commonProps, {
23660
23639
  autoCapitalize: "none",
23661
23640
  autoComplete: "off",
23662
23641
  autoCorrect: "off",
@@ -23700,7 +23679,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23700
23679
  isFocused = _this$state5.isFocused;
23701
23680
 
23702
23681
  if (!this.hasValue() || !controlShouldRenderValue) {
23703
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$g({}, commonProps, {
23682
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$e({}, commonProps, {
23704
23683
  key: "placeholder",
23705
23684
  isDisabled: isDisabled,
23706
23685
  isFocused: isFocused,
@@ -23714,7 +23693,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23714
23693
  return selectValue.map(function (opt, index) {
23715
23694
  var isOptionFocused = opt === focusedValue;
23716
23695
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
23717
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$g({}, commonProps, {
23696
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$e({}, commonProps, {
23718
23697
  components: {
23719
23698
  Container: MultiValueContainer,
23720
23699
  Label: MultiValueLabel,
@@ -23746,7 +23725,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23746
23725
  }
23747
23726
 
23748
23727
  var singleValue = selectValue[0];
23749
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$g({}, commonProps, {
23728
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$e({}, commonProps, {
23750
23729
  data: singleValue,
23751
23730
  isDisabled: isDisabled
23752
23731
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -23772,7 +23751,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23772
23751
  onTouchEnd: this.onClearIndicatorTouchEnd,
23773
23752
  'aria-hidden': 'true'
23774
23753
  };
23775
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$g({}, commonProps, {
23754
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$e({}, commonProps, {
23776
23755
  innerProps: innerProps,
23777
23756
  isFocused: isFocused
23778
23757
  }));
@@ -23792,7 +23771,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23792
23771
  var innerProps = {
23793
23772
  'aria-hidden': 'true'
23794
23773
  };
23795
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$g({}, commonProps, {
23774
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$e({}, commonProps, {
23796
23775
  innerProps: innerProps,
23797
23776
  isDisabled: isDisabled,
23798
23777
  isFocused: isFocused
@@ -23810,7 +23789,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23810
23789
  var commonProps = this.commonProps;
23811
23790
  var isDisabled = this.props.isDisabled;
23812
23791
  var isFocused = this.state.isFocused;
23813
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$g({}, commonProps, {
23792
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$e({}, commonProps, {
23814
23793
  isDisabled: isDisabled,
23815
23794
  isFocused: isFocused
23816
23795
  }));
@@ -23830,7 +23809,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23830
23809
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
23831
23810
  'aria-hidden': 'true'
23832
23811
  };
23833
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$g({}, commonProps, {
23812
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$e({}, commonProps, {
23834
23813
  innerProps: innerProps,
23835
23814
  isDisabled: isDisabled,
23836
23815
  isFocused: isFocused
@@ -23893,7 +23872,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23893
23872
  onMouseOver: onHover,
23894
23873
  tabIndex: -1
23895
23874
  };
23896
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$g({}, commonProps, {
23875
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$e({}, commonProps, {
23897
23876
  innerProps: innerProps,
23898
23877
  data: data,
23899
23878
  isDisabled: isDisabled,
@@ -23917,7 +23896,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23917
23896
  groupIndex = item.index;
23918
23897
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
23919
23898
  var headingId = "".concat(groupId, "-heading");
23920
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$g({}, commonProps, {
23899
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$e({}, commonProps, {
23921
23900
  key: groupId,
23922
23901
  data: _data,
23923
23902
  options: options,
@@ -23956,12 +23935,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23956
23935
  menuPosition: menuPosition,
23957
23936
  menuShouldScrollIntoView: menuShouldScrollIntoView
23958
23937
  };
23959
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$g({}, commonProps, menuPlacementProps), function (_ref4) {
23938
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$e({}, commonProps, menuPlacementProps), function (_ref4) {
23960
23939
  var ref = _ref4.ref,
23961
23940
  _ref4$placerProps = _ref4.placerProps,
23962
23941
  placement = _ref4$placerProps.placement,
23963
23942
  maxHeight = _ref4$placerProps.maxHeight;
23964
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$g({}, commonProps, menuPlacementProps, {
23943
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$e({}, commonProps, menuPlacementProps, {
23965
23944
  innerRef: ref,
23966
23945
  innerProps: {
23967
23946
  onMouseDown: _this4.onMenuMouseDown,
@@ -23976,7 +23955,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23976
23955
  onBottomArrive: onMenuScrollToBottom,
23977
23956
  lockEnabled: menuShouldBlockScroll
23978
23957
  }, function (scrollTargetRef) {
23979
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$g({}, commonProps, {
23958
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$e({}, commonProps, {
23980
23959
  innerRef: function innerRef(instance) {
23981
23960
  _this4.getMenuListRef(instance);
23982
23961
 
@@ -23991,7 +23970,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23991
23970
  // so we use the same component. the actual portalling logic is forked
23992
23971
  // within the component based on `menuPosition`
23993
23972
 
23994
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$g({}, commonProps, {
23973
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$e({}, commonProps, {
23995
23974
  appendTo: menuPortalTarget,
23996
23975
  controlElement: this.controlRef,
23997
23976
  menuPlacement: menuPlacement,
@@ -24056,7 +24035,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24056
24035
  isFocused = _this$state6.isFocused,
24057
24036
  selectValue = _this$state6.selectValue;
24058
24037
  var focusableOptions = this.getFocusableOptions();
24059
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$g({}, commonProps, {
24038
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$e({}, commonProps, {
24060
24039
  id: this.getElementId('live-region'),
24061
24040
  ariaSelection: ariaSelection,
24062
24041
  focusedOption: focusedOption,
@@ -24082,7 +24061,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24082
24061
  menuIsOpen = _this$props14.menuIsOpen;
24083
24062
  var isFocused = this.state.isFocused;
24084
24063
  var commonProps = this.commonProps = this.getCommonProps();
24085
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$g({}, commonProps, {
24064
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$e({}, commonProps, {
24086
24065
  className: className,
24087
24066
  innerProps: {
24088
24067
  id: id,
@@ -24090,7 +24069,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24090
24069
  },
24091
24070
  isDisabled: isDisabled,
24092
24071
  isFocused: isFocused
24093
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$g({}, commonProps, {
24072
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$e({}, commonProps, {
24094
24073
  innerRef: this.getControlRef,
24095
24074
  innerProps: {
24096
24075
  onMouseDown: this.onControlMouseDown,
@@ -24099,9 +24078,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24099
24078
  isDisabled: isDisabled,
24100
24079
  isFocused: isFocused,
24101
24080
  menuIsOpen: menuIsOpen
24102
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$g({}, commonProps, {
24081
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$e({}, commonProps, {
24103
24082
  isDisabled: isDisabled
24104
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$g({}, commonProps, {
24083
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$e({}, commonProps, {
24105
24084
  isDisabled: isDisabled
24106
24085
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
24107
24086
  }
@@ -24174,22 +24153,22 @@ Select$1.defaultProps = defaultProps;
24174
24153
 
24175
24154
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24176
24155
  var baseSelectProps = useStateManager(props);
24177
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$g({
24156
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$e({
24178
24157
  ref: ref
24179
24158
  }, baseSelectProps));
24180
24159
  });
24181
24160
 
24182
24161
  var ReactSelect = StateManagedSelect;
24183
24162
 
24184
- var _g$6;
24185
- 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); }
24163
+ var _g$5;
24164
+ 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); }
24186
24165
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24187
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24166
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24188
24167
  xmlns: "http://www.w3.org/2000/svg",
24189
24168
  viewBox: "0 0 28 28",
24190
24169
  width: "1em",
24191
24170
  height: "1em"
24192
- }, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
24171
+ }, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
24193
24172
  fill: "none",
24194
24173
  fillRule: "evenodd",
24195
24174
  transform: "translate(2 2)"
@@ -24205,15 +24184,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24205
24184
  }))));
24206
24185
  };
24207
24186
 
24208
- var _path$7;
24209
- 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); }
24187
+ var _path$6;
24188
+ 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); }
24210
24189
  var SvgIcCheck = function SvgIcCheck(props) {
24211
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24190
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24212
24191
  xmlns: "http://www.w3.org/2000/svg",
24213
24192
  width: "1em",
24214
24193
  height: "1em",
24215
24194
  viewBox: "0 0 24 24"
24216
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
24195
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
24217
24196
  stroke: "#06C",
24218
24197
  strokeLinecap: "round",
24219
24198
  strokeLinejoin: "round",
@@ -24224,15 +24203,15 @@ var SvgIcCheck = function SvgIcCheck(props) {
24224
24203
  })));
24225
24204
  };
24226
24205
 
24227
- var _g$5;
24228
- 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); }
24206
+ var _g$4;
24207
+ 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); }
24229
24208
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
24230
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24209
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24231
24210
  xmlns: "http://www.w3.org/2000/svg",
24232
24211
  width: "1em",
24233
24212
  height: "1em",
24234
24213
  viewBox: "0 0 20 21"
24235
- }, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
24214
+ }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
24236
24215
  fill: "none",
24237
24216
  fillRule: "evenodd"
24238
24217
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -24292,8 +24271,8 @@ var CustomSelect = function (props) {
24292
24271
  return jsxRuntime.jsx(ReactSelect, __assign({}, props));
24293
24272
  };
24294
24273
 
24295
- var css_248z$5 = ".info-bar-container .info_text .success {\n background-color: var(--G100);\n}\n.info-bar-container .warn {\n background: var(--Y100);\n border: solid var(--Y200);\n}\n.info-bar-container .warn .warning-icon path:nth-child(2) {\n fill: var(--Y700);\n}\n.info-bar-container .info_bar {\n background-color: var(--B100);\n border: 1px solid var(--B200);\n}\n.info-bar-container .error_bar {\n background-color: var(--R100);\n border: 1px solid var(--R200);\n}\n.info-bar-container .question-bar {\n background-color: var(--V100);\n border: 1px solid var(--V200);\n}";
24296
- styleInject(css_248z$5);
24274
+ var css_248z$4 = ".info-bar-container .info_text .success {\n background-color: var(--G100);\n}\n.info-bar-container .warn {\n background: var(--Y100);\n border: solid var(--Y200);\n}\n.info-bar-container .warn .warning-icon path:nth-child(2) {\n fill: var(--Y700);\n}\n.info-bar-container .info_bar {\n background-color: var(--B100);\n border: 1px solid var(--B200);\n}\n.info-bar-container .error_bar {\n background-color: var(--R100);\n border: 1px solid var(--R200);\n}\n.info-bar-container .question-bar {\n background-color: var(--V100);\n border: 1px solid var(--V200);\n}";
24275
+ styleInject(css_248z$4);
24297
24276
 
24298
24277
  function InfoColourBar(_a) {
24299
24278
  var message = _a.message, classname = _a.classname, Icon = _a.Icon, iconClass = _a.iconClass, iconSize = _a.iconSize, renderActionButton = _a.renderActionButton, linkText = _a.linkText, redirectLink = _a.redirectLink, linkOnClick = _a.linkOnClick, linkClass = _a.linkClass, internalLink = _a.internalLink, styles = _a.styles;
@@ -24569,124 +24548,6 @@ var Checkbox$1 = /** @class */ (function (_super) {
24569
24548
  return Checkbox;
24570
24549
  }(React.Component));
24571
24550
 
24572
- var _g$4;
24573
- 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); }
24574
- var SvgIcSearch = function SvgIcSearch(props) {
24575
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24576
- xmlns: "http://www.w3.org/2000/svg",
24577
- viewBox: "0 0 24 24",
24578
- width: "1em",
24579
- height: "1em"
24580
- }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
24581
- fill: "none",
24582
- fillRule: "evenodd"
24583
- }, /*#__PURE__*/React__namespace.createElement("path", {
24584
- d: "M0 0h24v24H0z"
24585
- }), /*#__PURE__*/React__namespace.createElement("path", {
24586
- fill: "#959BA1",
24587
- d: "M10 2a8 8 0 0 1 6.32 12.905l5.044 5.045a1 1 0 1 1-1.414 1.414l-5.045-5.043A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z"
24588
- }))));
24589
- };
24590
-
24591
- var _g$3;
24592
- 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); }
24593
- var SvgIcErrorCross = function SvgIcErrorCross(props) {
24594
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24595
- xmlns: "http://www.w3.org/2000/svg",
24596
- width: "1em",
24597
- height: "1em",
24598
- viewBox: "0 0 32 32"
24599
- }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
24600
- transform: "translate(2.667 2.667)",
24601
- fill: "none",
24602
- fillRule: "evenodd"
24603
- }, /*#__PURE__*/React__namespace.createElement("rect", {
24604
- width: 26.667,
24605
- height: 26.667,
24606
- className: "ic-error-cross_svg__fill-color",
24607
- fill: "#596168",
24608
- rx: 13.333
24609
- }), /*#__PURE__*/React__namespace.createElement("path", {
24610
- fill: "#FFF",
24611
- fillRule: "nonzero",
24612
- d: "M8.62 8.62a1.332 1.332 0 0 1 1.885 0l2.828 2.827 2.829-2.828a1.334 1.334 0 0 1 1.777-.097l.108.097a1.333 1.333 0 0 1 0 1.886l-2.828 2.828 2.828 2.829c.486.486.519 1.254.098 1.777l-.098.108a1.332 1.332 0 0 1-1.885 0l-2.83-2.828-2.827 2.828a1.334 1.334 0 0 1-1.777.098l-.109-.098a1.333 1.333 0 0 1 0-1.885l2.828-2.83-2.828-2.827a1.334 1.334 0 0 1-.097-1.777z"
24613
- }))));
24614
- };
24615
-
24616
- var css_248z$4 = ".search-bar:focus, .search-bar:focus-within {\n outline: none;\n border: solid 1px var(--B500);\n}\n.search-bar__input:focus, .search-bar__input:focus-visible {\n border: none;\n outline: none;\n}\n.search-bar__icon {\n z-index: 1;\n top: 50%;\n left: 8px;\n transform: translateY(-50%);\n}\n.search-bar__clear-button {\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n}";
24617
- styleInject(css_248z$4);
24618
-
24619
- /**
24620
- * Generic search input component with support for enter based and debounced search
24621
- * Note: The component is uncontrolled
24622
- *
24623
- * @example Usage with default debounced search
24624
- * ```tsx
24625
- * <SearchBar handleSearchChange={triggerSearchApi} shouldDebounce />
24626
- * ```
24627
- *
24628
- * @example Initial search text
24629
- * ```tsx
24630
- * <SearchBar initialSearchText="Keyword" />
24631
- * ```
24632
- *
24633
- * @example Custom width
24634
- * ```tsx
24635
- * <SearchBar containerClassName="w-300" />
24636
- * ```
24637
- *
24638
- * @example Trigger search on enter key press
24639
- * ```tsx
24640
- * <SearchBar handleEnter={triggerSearchApi} />
24641
- * ```
24642
- *
24643
- * @example Custom timeout for debounced search
24644
- * ```tsx
24645
- * <SearchBar handleSearchChange={triggerSearchApi} shouldDebounce debounceTimeout={500} />
24646
- * ```
24647
- *
24648
- * @example Placeholder for the search
24649
- * ```tsx
24650
- * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
24651
- * ```
24652
- */
24653
- var SearchBar = function (_a) {
24654
- var _b = _a.initialSearchText, initialSearchText = _b === void 0 ? '' : _b, _c = _a.handleSearchChange, handleSearchChange = _c === void 0 ? function () { } : _c, _d = _a.handleEnter, handleEnter = _d === void 0 ? function () { } : _d, _e = _a.inputProps, inputProps = _e === void 0 ? {} : _e, containerClassName = _a.containerClassName, _f = _a.shouldDebounce, shouldDebounce = _f === void 0 ? false : _f, _g = _a.debounceTimeout, debounceTimeout = _g === void 0 ? 300 : _g;
24655
- var _h = __read(React.useState(!!initialSearchText), 2), showClearButton = _h[0], setShowClearButton = _h[1];
24656
- var inputRef = React.useRef();
24657
- var debouncedSearchChange = React.useCallback(debounce$2(handleSearchChange, debounceTimeout), [
24658
- handleSearchChange,
24659
- debounceTimeout,
24660
- ]);
24661
- var handleChange = function (e) {
24662
- var value = e.target.value;
24663
- setShowClearButton(!!value);
24664
- if (shouldDebounce) {
24665
- debouncedSearchChange(value);
24666
- }
24667
- else {
24668
- handleSearchChange(value);
24669
- }
24670
- };
24671
- var _applySearch = function (value) {
24672
- handleSearchChange(value);
24673
- handleEnter(value);
24674
- };
24675
- var handleKeyDown = function (e) {
24676
- var key = e.key;
24677
- if (key === 'Enter') {
24678
- var inputTarget = e.target;
24679
- var value = inputTarget.value.trim();
24680
- _applySearch(value);
24681
- }
24682
- };
24683
- var clearSearch = function () {
24684
- inputRef.current.value = '';
24685
- _applySearch('');
24686
- };
24687
- return (jsxRuntime.jsx("div", __assign({ className: containerClassName }, { children: jsxRuntime.jsxs("div", __assign({ className: "search-bar bcn-0 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-18" }), jsxRuntime.jsx("input", __assign({ placeholder: "Search", "data-testid": "search-bar", type: "text" }, inputProps, { defaultValue: initialSearchText, className: "search-bar__input bcn-0 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-18 icon-n4 dc__vertical-align-middle" }) })))] })) })));
24688
- };
24689
-
24690
24551
  var css_248z$3 = ".toggle__switch {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 100%;\n}\n.toggle__switch.disabled {\n cursor: not-allowed;\n}\n.toggle__switch.disabled .toggle__slider {\n cursor: not-allowed;\n}\n\n/* Hide default HTML checkbox */\n.toggle__switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* The slider */\n.toggle__slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n transition: all 0.4s ease;\n}\n.toggle__slider.round {\n border-radius: 34px;\n}\n.toggle__slider.round:before {\n border-radius: 50%;\n}\n.toggle__slider:before {\n position: absolute;\n content: \"\";\n height: calc(100% - 8px);\n width: calc(50% - 4px);\n left: 4px;\n bottom: 4px;\n background-color: white;\n transition: all 0.4s ease;\n}\n.toggle__slider.with-icon {\n background-color: var(--N000) !important;\n}\n.toggle__slider.with-icon svg {\n position: absolute;\n content: \"\";\n top: -1px;\n left: -1px;\n background-color: var(--N300);\n transition: all 0.4s ease;\n}\n\ninput:checked + .toggle__slider {\n background-color: var(--color);\n}\ninput:checked + .toggle__slider:before {\n transform: translateX(100%);\n}\ninput:checked + .toggle__slider.with-icon svg {\n transform: translateX(100%);\n background-color: var(--color);\n}\n\ninput:focus + .toggle__slider {\n box-shadow: 0 0 1px var(--color);\n}";
24691
24552
  styleInject(css_248z$3);
24692
24553
 
@@ -24822,7 +24683,7 @@ exports.ConsequenceAction = void 0;
24822
24683
  ConsequenceAction["ALLOW_FOREVER"] = "ALLOW_FOREVER";
24823
24684
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
24824
24685
 
24825
- var _g$2;
24686
+ var _g$3;
24826
24687
  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); }
24827
24688
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
24828
24689
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
@@ -24830,7 +24691,7 @@ var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
24830
24691
  width: "1em",
24831
24692
  height: "1em",
24832
24693
  viewBox: "0 0 32 32"
24833
- }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
24694
+ }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
24834
24695
  fill: "none",
24835
24696
  fillRule: "evenodd"
24836
24697
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -24904,7 +24765,7 @@ function DeleteComponent(_a) {
24904
24765
  return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
24905
24766
  }
24906
24767
 
24907
- var _path$6;
24768
+ var _path$5;
24908
24769
  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); }
24909
24770
  var SvgIcPencil = function SvgIcPencil(props) {
24910
24771
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
@@ -24913,7 +24774,7 @@ var SvgIcPencil = function SvgIcPencil(props) {
24913
24774
  viewBox: "0 0 20 20",
24914
24775
  fill: "none",
24915
24776
  xmlns: "http://www.w3.org/2000/svg"
24916
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
24777
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
24917
24778
  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",
24918
24779
  stroke: "#596168",
24919
24780
  strokeWidth: 1.5,
@@ -24922,7 +24783,7 @@ var SvgIcPencil = function SvgIcPencil(props) {
24922
24783
  })));
24923
24784
  };
24924
24785
 
24925
- var _path$5, _path2, _path3;
24786
+ var _path$4, _path2, _path3;
24926
24787
  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); }
24927
24788
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24928
24789
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
@@ -24931,7 +24792,7 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24931
24792
  viewBox: "0 0 12 12",
24932
24793
  fill: "none",
24933
24794
  xmlns: "http://www.w3.org/2000/svg"
24934
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
24795
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
24935
24796
  d: "M3.742 4.674h-2.25v-2.25",
24936
24797
  fill: "#767D84"
24937
24798
  })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -24949,7 +24810,7 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24949
24810
  })));
24950
24811
  };
24951
24812
 
24952
- var _path$4;
24813
+ var _path$3;
24953
24814
  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); }
24954
24815
  var SvgIcMinus = function SvgIcMinus(props) {
24955
24816
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
@@ -24957,7 +24818,7 @@ var SvgIcMinus = function SvgIcMinus(props) {
24957
24818
  width: "1em",
24958
24819
  height: "1em",
24959
24820
  viewBox: "0 0 14 14"
24960
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
24821
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
24961
24822
  fill: "#959BA1",
24962
24823
  className: "ic-minus_svg__fill-color",
24963
24824
  fillRule: "evenodd",
@@ -24965,7 +24826,7 @@ var SvgIcMinus = function SvgIcMinus(props) {
24965
24826
  })));
24966
24827
  };
24967
24828
 
24968
- var _g$1;
24829
+ var _g$2;
24969
24830
  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); }
24970
24831
  var SvgIcWarning = function SvgIcWarning(props) {
24971
24832
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
@@ -24973,7 +24834,7 @@ var SvgIcWarning = function SvgIcWarning(props) {
24973
24834
  width: "1em",
24974
24835
  height: "1em",
24975
24836
  viewBox: "0 0 32 32"
24976
- }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
24837
+ }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
24977
24838
  fill: "none",
24978
24839
  fillRule: "evenodd"
24979
24840
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -24987,7 +24848,7 @@ var SvgIcWarning = function SvgIcWarning(props) {
24987
24848
  }))));
24988
24849
  };
24989
24850
 
24990
- var _g;
24851
+ var _g$1;
24991
24852
  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); }
24992
24853
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
24993
24854
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
@@ -24995,7 +24856,7 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
24995
24856
  width: "1em",
24996
24857
  height: "1em",
24997
24858
  viewBox: "0 0 20 20"
24998
- }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
24859
+ }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
24999
24860
  fill: "none",
25000
24861
  fillRule: "evenodd"
25001
24862
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -25007,7 +24868,7 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25007
24868
  }))));
25008
24869
  };
25009
24870
 
25010
- var _path$3;
24871
+ var _path$2;
25011
24872
  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); }
25012
24873
  var SvgIcEnter = function SvgIcEnter(props) {
25013
24874
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
@@ -25016,7 +24877,7 @@ var SvgIcEnter = function SvgIcEnter(props) {
25016
24877
  viewBox: "0 0 16 16",
25017
24878
  fill: "none",
25018
24879
  xmlns: "http://www.w3.org/2000/svg"
25019
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
24880
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
25020
24881
  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",
25021
24882
  fill: "#3B444C"
25022
24883
  })));
@@ -25374,9 +25235,32 @@ function useDebouncedEffect(callback, delay, deps) {
25374
25235
  }, __spreadArray([delay], __read(deps), false));
25375
25236
  }
25376
25237
 
25238
+ var _g;
25239
+ 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); }
25240
+ var SvgIcErrorCross = function SvgIcErrorCross(props) {
25241
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
25242
+ xmlns: "http://www.w3.org/2000/svg",
25243
+ width: "1em",
25244
+ height: "1em",
25245
+ viewBox: "0 0 32 32"
25246
+ }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
25247
+ transform: "translate(2.667 2.667)",
25248
+ fill: "none",
25249
+ fillRule: "evenodd"
25250
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
25251
+ width: 26.667,
25252
+ height: 26.667,
25253
+ className: "ic-error-cross_svg__fill-color",
25254
+ fill: "#596168",
25255
+ rx: 13.333
25256
+ }), /*#__PURE__*/React__namespace.createElement("path", {
25257
+ fill: "#FFF",
25258
+ fillRule: "nonzero",
25259
+ d: "M8.62 8.62a1.332 1.332 0 0 1 1.885 0l2.828 2.827 2.829-2.828a1.334 1.334 0 0 1 1.777-.097l.108.097a1.333 1.333 0 0 1 0 1.886l-2.828 2.828 2.828 2.829c.486.486.519 1.254.098 1.777l-.098.108a1.332 1.332 0 0 1-1.885 0l-2.83-2.828-2.827 2.828a1.334 1.334 0 0 1-1.777.098l-.109-.098a1.333 1.333 0 0 1 0-1.885l2.828-2.83-2.828-2.827a1.334 1.334 0 0 1-.097-1.777z"
25260
+ }))));
25261
+ };
25262
+
25377
25263
  /**
25378
- * @deprecated Use `SearchBar` component instead.
25379
- *
25380
25264
  * @param onSearch - Callback function to be called on search
25381
25265
  * @param Icon - (Optional) Icon to be shown before the input
25382
25266
  * @param iconClass - (Optional) Class for the icon
@@ -25406,7 +25290,7 @@ function DebouncedSearch(_a) {
25406
25290
 
25407
25291
  // This is meant to be a reusable component that will provide a grid like dynamic layout where xs is the number of columns out of 12 that the item will take up
25408
25292
  function Grid(_a) {
25409
- var container = _a.container, _b = _a.spacing, spacing = _b === void 0 ? 0 : _b, item = _a.item, xs = _a.xs, _c = _a.containerClass, containerClass = _c === void 0 ? '' : _c, _d = _a.itemClass, itemClass = _d === void 0 ? '' : _d, children = _a.children, containerDivProps = __rest(_a, ["container", "spacing", "item", "xs", "containerClass", "itemClass", "children"]);
25293
+ var container = _a.container, _b = _a.spacing, spacing = _b === void 0 ? 0 : _b, item = _a.item, xs = _a.xs, _c = _a.containerClass, containerClass = _c === void 0 ? '' : _c, _d = _a.itemClass, itemClass = _d === void 0 ? '' : _d, children = _a.children;
25410
25294
  var containerStyles = container ? { gap: spacing + 'px' } : {};
25411
25295
  if (item) {
25412
25296
  var getColumnWidth = function () {
@@ -25417,20 +25301,20 @@ function Grid(_a) {
25417
25301
  var itemStyles = {
25418
25302
  flex: "1 1 ".concat(getColumnWidth()),
25419
25303
  };
25420
- return (jsxRuntime.jsx("div", __assign({ className: "p-0 ".concat(itemClass), style: itemStyles }, containerDivProps, { children: children })));
25304
+ return (jsxRuntime.jsx("div", __assign({ className: "p-0 ".concat(itemClass), style: itemStyles }, { children: children })));
25421
25305
  }
25422
- return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, containerDivProps, { children: children })));
25306
+ return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, { children: children })));
25423
25307
  }
25424
25308
 
25425
- var _path$2;
25426
- 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); }
25309
+ var _path$1;
25310
+ 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); }
25427
25311
  var SvgIcCopy = function SvgIcCopy(props) {
25428
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
25312
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
25429
25313
  xmlns: "http://www.w3.org/2000/svg",
25430
25314
  width: "1em",
25431
25315
  height: "1em",
25432
25316
  viewBox: "0 0 20 20"
25433
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
25317
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
25434
25318
  fill: "#767D84",
25435
25319
  fillRule: "evenodd",
25436
25320
  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"
@@ -25503,30 +25387,6 @@ var useClickOutside = function (ref, callback) {
25503
25387
  }, [ref, callback]);
25504
25388
  };
25505
25389
 
25506
- var timeout;
25507
- var getSize = function () {
25508
- return {
25509
- width: window.innerWidth,
25510
- height: window.innerHeight,
25511
- };
25512
- };
25513
- var useWindowSize = function () {
25514
- var _a = __read(React.useState(getSize), 2), windowSize = _a[0], setWindowSize = _a[1];
25515
- function handleResize(e) {
25516
- if (timeout) {
25517
- window.cancelAnimationFrame(timeout);
25518
- }
25519
- timeout = window.requestAnimationFrame(function () {
25520
- setWindowSize(getSize());
25521
- });
25522
- }
25523
- React.useEffect(function () {
25524
- window.addEventListener('resize', handleResize, false);
25525
- return function () { return window.removeEventListener('resize', handleResize, false); };
25526
- }, []);
25527
- return windowSize;
25528
- };
25529
-
25530
25390
  var StatusConstants = {
25531
25391
  NOT_DEPLOYED: {
25532
25392
  noSpaceLower: 'notdeployed',
@@ -28262,15 +28122,15 @@ var getInferredTypeFromValueType = function (value) {
28262
28122
  }
28263
28123
  };
28264
28124
 
28265
- var _path$1;
28266
- 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); }
28125
+ var _path;
28126
+ 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); }
28267
28127
  var SvgIcChevronDown = function SvgIcChevronDown(props) {
28268
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
28128
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
28269
28129
  xmlns: "http://www.w3.org/2000/svg",
28270
28130
  width: "1em",
28271
28131
  height: "1em",
28272
28132
  viewBox: "0 0 24 24"
28273
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
28133
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
28274
28134
  fill: "#999",
28275
28135
  className: "ic-chevron-down_svg__fill-color",
28276
28136
  fillRule: "nonzero",
@@ -28330,9 +28190,9 @@ var validator = RJSFValidator.default;
28330
28190
  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 }))); };
28331
28191
 
28332
28192
  var _style, _rect;
28333
- 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); }
28193
+ 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); }
28334
28194
  var SvgIcRotateDevtron = function SvgIcRotateDevtron(props) {
28335
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
28195
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28336
28196
  width: "1em",
28337
28197
  height: "1em",
28338
28198
  viewBox: "0 0 100 100",
@@ -28523,109 +28383,6 @@ function CustomInput(_a) {
28523
28383
  }, onBlur: onBlur, onFocus: onFocus, placeholder: placeholder, value: value, disabled: disabled, tabIndex: tabIndex, autoFocus: autoFocus, readOnly: readOnly, ref: ref, onKeyPress: onKeyPress, defaultValue: defaultValue, onKeyDown: onKeyDown, required: required }), getInputError(), helperText && (jsxRuntime.jsxs("div", __assign({ className: "form__text-field-info" }, { children: [jsxRuntime.jsx(SvgIcInfoFilled, { className: "form__icon form__icon--info" }), jsxRuntime.jsx("p", __assign({ className: "sentence-case" }, { children: helperText }))] })))] })));
28524
28384
  }
28525
28385
 
28526
- exports.DraggablePositionVariant = void 0;
28527
- (function (DraggablePositionVariant) {
28528
- DraggablePositionVariant["PARENT_BOTTOM_CENTER"] = "PARENT_BOTTOM_CENTER";
28529
- DraggablePositionVariant["SCREEN_BOTTOM_CENTER"] = "SCREEN_BOTTOM_CENTER";
28530
- // Can add more based on requirement
28531
- })(exports.DraggablePositionVariant || (exports.DraggablePositionVariant = {}));
28532
-
28533
- /**
28534
- * TODO: import it as lazy, after it is supported in common
28535
- * 1. If using react select please use menuPlacement='auto'
28536
- * 2. dragSelector will be used to identify the grabbable button that will grab the div to drag
28537
- * 3. parentRef is the reference point from which we will derive the base top:0 ,left: 0 position
28538
- */
28539
- function DraggableWrapper(_a) {
28540
- var children = _a.children, _b = _a.zIndex, zIndex = _b === void 0 ? MAX_Z_INDEX : _b, positionVariant = _a.positionVariant, dragSelector = _a.dragSelector, parentRef = _a.parentRef, _c = _a.boundaryGap, boundaryGap = _c === void 0 ? 16 : _c, _d = _a.childDivProps, childDivProps = _d === void 0 ? {} : _d;
28541
- var windowSize = useWindowSize();
28542
- var nodeRef = React.useRef(null);
28543
- var _e = __read(React.useState({
28544
- x: 0,
28545
- y: 0,
28546
- }), 2), position = _e[0], setPosition = _e[1];
28547
- var getDefaultPosition = function (positionVariant) {
28548
- var _a, _b, _c, _d, _e, _f;
28549
- // if this return x: 0, y: 0 then it will be top left corner of parentDiv
28550
- var parentRect = (_b = (_a = parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) !== null && _b !== void 0 ? _b : {
28551
- width: 0,
28552
- height: 0,
28553
- top: 0,
28554
- left: 0,
28555
- bottom: 0,
28556
- };
28557
- var nodeRefHeight = (_d = (_c = nodeRef.current) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect().height) !== null && _d !== void 0 ? _d : 0;
28558
- var nodeRefWidth = (_f = (_e = nodeRef.current) === null || _e === void 0 ? void 0 : _e.getBoundingClientRect().width) !== null && _f !== void 0 ? _f : 0;
28559
- switch (positionVariant) {
28560
- case exports.DraggablePositionVariant.PARENT_BOTTOM_CENTER: {
28561
- // currently at parentRect.x and need to start to the center of its width and half of node should lie on left of center and other half on right
28562
- var x = (parentRect.width - nodeRefWidth) / 2;
28563
- // currently at parentRect.y now parent height can be greater than windowSize.height so taking min
28564
- // subtracting parentRect.top since window height already contains that
28565
- var baseY = parentRect.height > windowSize.height ? windowSize.height - parentRect.top : parentRect.height;
28566
- var y = baseY - nodeRefHeight - boundaryGap;
28567
- return { x: x, y: y };
28568
- }
28569
- // Add more cases for other variants if needed
28570
- default: {
28571
- // Since need node to be in center of screen so subtracting width/2 by left of parentRect it will start the node from center but want node's midpoint at center so subtracting node's width from it.
28572
- var x = windowSize.width / 2 - parentRect.left - nodeRefWidth / 2;
28573
- // subtracting top since windowSize already contains that
28574
- var y = windowSize.height - parentRect.top - nodeRefHeight - boundaryGap;
28575
- return { x: x, y: y };
28576
- }
28577
- }
28578
- };
28579
- // On change of windowSize we will reset the position to default
28580
- React.useEffect(function () {
28581
- var defaultPosition = getDefaultPosition(positionVariant);
28582
- setPosition(defaultPosition);
28583
- }, [nodeRef, positionVariant, windowSize]);
28584
- // Would be called on drag and will not update the state if the new position is out of window screen
28585
- function handlePositionChange(e, data) {
28586
- var _a, _b, _c, _d, _e, _f, _g, _h;
28587
- var offsetX = (_b = (_a = parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().left) !== null && _b !== void 0 ? _b : 0;
28588
- var offsetY = (_d = (_c = parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect().top) !== null && _d !== void 0 ? _d : 0;
28589
- var nodeRefHeight = (_f = (_e = nodeRef.current) === null || _e === void 0 ? void 0 : _e.getBoundingClientRect().height) !== null && _f !== void 0 ? _f : 0;
28590
- var nodeRefWidth = (_h = (_g = nodeRef.current) === null || _g === void 0 ? void 0 : _g.getBoundingClientRect().width) !== null && _h !== void 0 ? _h : 0;
28591
- if (offsetX + data.x + nodeRefWidth + boundaryGap > windowSize.width ||
28592
- offsetY + data.y + nodeRefHeight + boundaryGap > windowSize.height ||
28593
- offsetX + data.x < 0 ||
28594
- offsetY + data.y < 0) {
28595
- return;
28596
- }
28597
- setPosition({
28598
- x: data.x,
28599
- y: data.y,
28600
- });
28601
- }
28602
- return (jsxRuntime.jsx("div", __assign({ className: "dc__position-fixed", style: {
28603
- zIndex: zIndex,
28604
- } }, { children: jsxRuntime.jsx(Draggable, __assign({ handle: dragSelector, nodeRef: nodeRef, position: position, onDrag: handlePositionChange }, { children: jsxRuntime.jsx("div", __assign({ ref: nodeRef }, childDivProps, { style: {
28605
- zIndex: zIndex,
28606
- } }, { children: children })) })) })));
28607
- }
28608
-
28609
- var _path;
28610
- 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); }
28611
- var SvgIcDrag = function SvgIcDrag(props) {
28612
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28613
- width: "1em",
28614
- height: "1em",
28615
- viewBox: "0 0 16 16",
28616
- fill: "none",
28617
- xmlns: "http://www.w3.org/2000/svg"
28618
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
28619
- 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",
28620
- fill: "#596168"
28621
- })));
28622
- };
28623
-
28624
- function DraggableButton(_a) {
28625
- var dragClassName = _a.dragClassName;
28626
- return (jsxRuntime.jsx("button", __assign({ type: "button", className: "".concat(dragClassName, " dc__outline-none-imp dc__no-border p-0 dc__transparent h-20") }, { children: jsxRuntime.jsx(SvgIcDrag, { className: "dc__grabbable icon-dim-20 fcn-6" }) })));
28627
- }
28628
-
28629
28386
  exports.AddCDButton = AddCDButton;
28630
28387
  exports.AppStatus = AppStatus;
28631
28388
  exports.BreadCrumb = BreadCrumb;
@@ -28650,8 +28407,6 @@ exports.DetailsProgressing = DetailsProgressing;
28650
28407
  exports.DevtronProgressing = DevtronProgressing;
28651
28408
  exports.DialogForm = DialogForm;
28652
28409
  exports.DialogFormSubmit = DialogFormSubmit;
28653
- exports.DraggableButton = DraggableButton;
28654
- exports.DraggableWrapper = DraggableWrapper;
28655
28410
  exports.Drawer = Drawer;
28656
28411
  exports.ERROR_EMPTY_SCREEN = ERROR_EMPTY_SCREEN;
28657
28412
  exports.EmptyState = EmptyState;
@@ -28665,7 +28420,6 @@ exports.Host = Host;
28665
28420
  exports.ImageTagButton = ImageTagButton;
28666
28421
  exports.ImageTagsContainer = ImageTagsContainer;
28667
28422
  exports.InfoColourBar = InfoColourBar;
28668
- exports.MAX_Z_INDEX = MAX_Z_INDEX;
28669
28423
  exports.Modal = Modal;
28670
28424
  exports.MultiValueChipContainer = MultiValueChipContainer;
28671
28425
  exports.MultiValueContainer = MultiValueContainer;
@@ -28686,7 +28440,6 @@ exports.RepositoryAction = RepositoryAction;
28686
28440
  exports.ResizableTagTextArea = ResizableTagTextArea;
28687
28441
  exports.ResizableTextarea = ResizableTextarea;
28688
28442
  exports.ScanVulnerabilitiesTable = ScanVulnerabilitiesTable;
28689
- exports.SearchBar = SearchBar;
28690
28443
  exports.ServerError = ServerError;
28691
28444
  exports.ServerErrors = ServerErrors;
28692
28445
  exports.SingleSelectOption = SingleSelectOption;
@@ -28710,7 +28463,6 @@ exports.closeOnEscKeyPressed = closeOnEscKeyPressed;
28710
28463
  exports.copyToClipboard = copyToClipboard;
28711
28464
  exports.createGitCommitUrl = createGitCommitUrl;
28712
28465
  exports.customStyles = customStyles;
28713
- exports.debounce = debounce$2;
28714
28466
  exports.extractImage = extractImage;
28715
28467
  exports.fetchChartTemplateVersions = fetchChartTemplateVersions;
28716
28468
  exports.genericCDMaterialsService = genericCDMaterialsService;
@@ -28751,4 +28503,3 @@ exports.useForm = useForm;
28751
28503
  exports.useSearchString = useSearchString;
28752
28504
  exports.useSuperAdmin = useSuperAdmin;
28753
28505
  exports.useThrottledEffect = useThrottledEffect;
28754
- exports.useWindowSize = useWindowSize;