@devtron-labs/devtron-fe-common-lib 0.0.62-beta-1 → 0.0.62-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 (36) hide show
  1. package/dist/Common/DraggableWrapper/types.d.ts +1 -4
  2. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
  3. package/dist/Common/Hooks/useUrlFilters/types.d.ts +0 -13
  4. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +14 -2
  5. package/dist/Common/Types.d.ts +3 -3
  6. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +1 -1
  7. package/dist/index.d.ts +0 -1
  8. package/dist/index.js +150 -441
  9. package/package.json +1 -1
  10. package/src/Common/DraggableWrapper/types.ts +1 -4
  11. package/src/Common/Helper.tsx +1 -8
  12. package/src/Common/Hooks/useUrlFilters/index.ts +1 -1
  13. package/src/Common/Hooks/useUrlFilters/types.ts +0 -15
  14. package/src/Common/Hooks/useUrlFilters/useUrlFilters.ts +2 -2
  15. package/src/Common/Types.ts +2 -3
  16. package/src/Pages/GlobalConfigurations/Authorization/constants.ts +1 -1
  17. package/src/index.ts +0 -1
  18. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +0 -4
  19. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +0 -4
  20. package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +0 -4
  21. package/dist/Shared/Components/BulkSelection/constants.d.ts +0 -9
  22. package/dist/Shared/Components/BulkSelection/index.d.ts +0 -4
  23. package/dist/Shared/Components/BulkSelection/types.d.ts +0 -56
  24. package/dist/Shared/Components/index.d.ts +0 -1
  25. package/dist/Shared/index.d.ts +0 -1
  26. package/src/Assets/Icon/ic-check-all.svg +0 -5
  27. package/src/Assets/Icon/ic-check-square.svg +0 -4
  28. package/src/Assets/Icon/ic-close.svg +0 -9
  29. package/src/Shared/Components/BulkSelection/BulkSelection.tsx +0 -77
  30. package/src/Shared/Components/BulkSelection/BulkSelectionDropdownItems.tsx +0 -31
  31. package/src/Shared/Components/BulkSelection/BulkSelectionProvider.tsx +0 -171
  32. package/src/Shared/Components/BulkSelection/constants.tsx +0 -13
  33. package/src/Shared/Components/BulkSelection/index.ts +0 -4
  34. package/src/Shared/Components/BulkSelection/types.tsx +0 -67
  35. package/src/Shared/Components/index.ts +0 -1
  36. package/src/Shared/index.ts +0 -1
package/dist/index.js CHANGED
@@ -444,7 +444,6 @@ exports.CHECKBOX_VALUE = void 0;
444
444
  (function (CHECKBOX_VALUE) {
445
445
  CHECKBOX_VALUE["CHECKED"] = "CHECKED";
446
446
  CHECKBOX_VALUE["INTERMEDIATE"] = "INTERMEDIATE";
447
- CHECKBOX_VALUE["BULK_CHECKED"] = "BULK_CHECKED";
448
447
  })(exports.CHECKBOX_VALUE || (exports.CHECKBOX_VALUE = {}));
449
448
  exports.ImageType = void 0;
450
449
  (function (ImageType) {
@@ -797,9 +796,9 @@ var css_248z$9 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n heig
797
796
  styleInject(css_248z$9);
798
797
 
799
798
  var _g$7;
800
- function _extends$t() { _extends$t = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$t.apply(this, arguments); }
799
+ function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
801
800
  var SvgIcProgressing = function SvgIcProgressing(props) {
802
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
801
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
803
802
  xmlns: "http://www.w3.org/2000/svg",
804
803
  viewBox: "0 0 24 24",
805
804
  width: "1em",
@@ -851,8 +850,8 @@ EmptyState.Loading = Loading;
851
850
 
852
851
  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}
853
852
 
854
- function _extends$s() {
855
- _extends$s = Object.assign || function (target) {
853
+ function _extends$p() {
854
+ _extends$p = Object.assign || function (target) {
856
855
  for (var i = 1; i < arguments.length; i++) {
857
856
  var source = arguments[i];
858
857
 
@@ -866,7 +865,7 @@ function _extends$s() {
866
865
  return target;
867
866
  };
868
867
 
869
- return _extends$s.apply(this, arguments);
868
+ return _extends$p.apply(this, arguments);
870
869
  }
871
870
 
872
871
  function _objectWithoutPropertiesLoose$2(source, excluded) {
@@ -1592,7 +1591,7 @@ function ProgressBar(_ref) {
1592
1591
  isIn = _ref.isIn,
1593
1592
  theme = _ref.theme;
1594
1593
 
1595
- var style = _extends$s({}, userStyle, {
1594
+ var style = _extends$p({}, userStyle, {
1596
1595
  animationDuration: delay + "ms",
1597
1596
  animationPlayState: isRunning ? 'running' : 'paused',
1598
1597
  opacity: hide ? 0 : 1
@@ -1869,9 +1868,9 @@ var ToastContainer = function ToastContainer(props) {
1869
1868
  ,
1870
1869
  id: containerId
1871
1870
  }, getToastToRender(function (position, toastList) {
1872
- var containerStyle = !toastList.length ? _extends$s({}, style, {
1871
+ var containerStyle = !toastList.length ? _extends$p({}, style, {
1873
1872
  pointerEvents: 'none'
1874
- }) : _extends$s({}, style);
1873
+ }) : _extends$p({}, style);
1875
1874
  return React.createElement("div", {
1876
1875
  className: getClassName(position),
1877
1876
  style: containerStyle,
@@ -1978,7 +1977,7 @@ function dispatchToast(content, options) {
1978
1977
 
1979
1978
 
1980
1979
  function mergeOptions(type, options) {
1981
- return _extends$s({}, options, {
1980
+ return _extends$p({}, options, {
1982
1981
  type: options && options.type || type,
1983
1982
  toastId: getToastId(options)
1984
1983
  });
@@ -1995,7 +1994,7 @@ function toast(content, options) {
1995
1994
  }
1996
1995
 
1997
1996
  toast.loading = function (content, options) {
1998
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$s({
1997
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$p({
1999
1998
  isLoading: true,
2000
1999
  autoClose: false,
2001
2000
  closeOnClick: false,
@@ -2011,7 +2010,7 @@ function handlePromise(promise, _ref2, options) {
2011
2010
  var id;
2012
2011
 
2013
2012
  if (pending) {
2014
- id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$s({}, options, pending));
2013
+ id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$p({}, options, pending));
2015
2014
  }
2016
2015
 
2017
2016
  var resetParams = {
@@ -2030,7 +2029,7 @@ function handlePromise(promise, _ref2, options) {
2030
2029
  return;
2031
2030
  }
2032
2031
 
2033
- var baseParams = _extends$s({
2032
+ var baseParams = _extends$p({
2034
2033
  type: type
2035
2034
  }, resetParams, options, {
2036
2035
  data: result
@@ -2041,10 +2040,10 @@ function handlePromise(promise, _ref2, options) {
2041
2040
  } : input; // if the id is set we know that it's an update
2042
2041
 
2043
2042
  if (id) {
2044
- toast.update(id, _extends$s({}, baseParams, params));
2043
+ toast.update(id, _extends$p({}, baseParams, params));
2045
2044
  } else {
2046
2045
  // using toast.promise without loading
2047
- toast(params.render, _extends$s({}, baseParams, params));
2046
+ toast(params.render, _extends$p({}, baseParams, params));
2048
2047
  }
2049
2048
 
2050
2049
  return result;
@@ -2068,7 +2067,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
2068
2067
  toast.warn = toast.warning;
2069
2068
 
2070
2069
  toast.dark = function (content, options) {
2071
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$s({
2070
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$p({
2072
2071
  theme: 'dark'
2073
2072
  }, options)));
2074
2073
  };
@@ -2125,7 +2124,7 @@ toast.update = function (toastId, options) {
2125
2124
  var oldOptions = toast.props,
2126
2125
  oldContent = toast.content;
2127
2126
 
2128
- var nextOptions = _extends$s({}, oldOptions, options, {
2127
+ var nextOptions = _extends$p({}, oldOptions, options, {
2129
2128
  toastId: options.toastId || toastId,
2130
2129
  updateId: generateToastId()
2131
2130
  });
@@ -11808,17 +11807,9 @@ var processDeployedTime = function (lastDeployed, isArgoInstalled) {
11808
11807
  */
11809
11808
  var getUrlWithSearchParams = function (url, params) {
11810
11809
  var searchParams = new URLSearchParams();
11811
- // TODO: Common out
11812
11810
  Object.keys(params).forEach(function (key) {
11813
11811
  if (params[key]) {
11814
- if (Array.isArray(params[key])) {
11815
- params[key].forEach(function (val) {
11816
- searchParams.append(key, val);
11817
- });
11818
- }
11819
- else {
11820
- searchParams.set(key, params[key]);
11821
- }
11812
+ searchParams.append(key, params[key]);
11822
11813
  }
11823
11814
  });
11824
11815
  var queryString = searchParams.toString();
@@ -12067,16 +12058,16 @@ var Modal = function (_a) {
12067
12058
  }, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
12068
12059
  };
12069
12060
 
12070
- var _path$h;
12071
- function _extends$r() { _extends$r = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$r.apply(this, arguments); }
12061
+ var _path$f;
12062
+ 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); }
12072
12063
  var SvgIcCross = function SvgIcCross(props) {
12073
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
12064
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
12074
12065
  width: "1em",
12075
12066
  height: "1em",
12076
12067
  viewBox: "0 0 24 24",
12077
12068
  fill: "none",
12078
12069
  xmlns: "http://www.w3.org/2000/svg"
12079
- }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
12070
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
12080
12071
  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",
12081
12072
  fill: "#596168"
12082
12073
  })));
@@ -16375,30 +16366,30 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
16375
16366
 
16376
16367
  var Tippy = index;
16377
16368
 
16378
- var _path$g;
16379
- function _extends$q() { _extends$q = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$q.apply(this, arguments); }
16369
+ var _path$e;
16370
+ function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
16380
16371
  var SvgIcHelp = function SvgIcHelp(props) {
16381
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
16372
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
16382
16373
  xmlns: "http://www.w3.org/2000/svg",
16383
16374
  width: "1em",
16384
16375
  height: "1em",
16385
16376
  viewBox: "0 0 24 24"
16386
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
16377
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
16387
16378
  fill: "#767D84",
16388
16379
  fillRule: "evenodd",
16389
16380
  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"
16390
16381
  })));
16391
16382
  };
16392
16383
 
16393
- var _path$f;
16394
- function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
16384
+ var _path$d;
16385
+ 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); }
16395
16386
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
16396
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
16387
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
16397
16388
  xmlns: "http://www.w3.org/2000/svg",
16398
16389
  viewBox: "0 0 17 16",
16399
16390
  width: "1em",
16400
16391
  height: "1em"
16401
- }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
16392
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
16402
16393
  fill: "#767D84",
16403
16394
  fillRule: "evenodd",
16404
16395
  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"
@@ -16450,16 +16441,16 @@ function TippyCustomized(props) {
16450
16441
  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 })));
16451
16442
  }
16452
16443
 
16453
- var _path$e, _circle, _path2$1;
16454
- function _extends$o() { _extends$o = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$o.apply(this, arguments); }
16444
+ var _path$c, _circle, _path2$1;
16445
+ 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); }
16455
16446
  var SvgInjectTag = function SvgInjectTag(props) {
16456
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
16447
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
16457
16448
  width: "1em",
16458
16449
  height: "1em",
16459
16450
  viewBox: "0 0 20 20",
16460
16451
  fill: "none",
16461
16452
  xmlns: "http://www.w3.org/2000/svg"
16462
- }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
16453
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16463
16454
  d: "M10 10H3.333",
16464
16455
  stroke: "#596168",
16465
16456
  strokeWidth: 1.5,
@@ -16487,15 +16478,15 @@ function PropagateTagInfo(_a) {
16487
16478
  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" })] })) })));
16488
16479
  }
16489
16480
 
16490
- var _path$d;
16491
- function _extends$n() { _extends$n = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$n.apply(this, arguments); }
16481
+ var _path$b;
16482
+ 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); }
16492
16483
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
16493
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
16484
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
16494
16485
  xmlns: "http://www.w3.org/2000/svg",
16495
16486
  width: "1em",
16496
16487
  height: "1em",
16497
16488
  viewBox: "0 0 20 20"
16498
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
16489
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
16499
16490
  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",
16500
16491
  fill: "#06C",
16501
16492
  fillRule: "evenodd"
@@ -16729,15 +16720,15 @@ var TagDetails = function (_a) {
16729
16720
  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" }) }))] })));
16730
16721
  };
16731
16722
 
16732
- var _path$c;
16733
- function _extends$m() { _extends$m = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$m.apply(this, arguments); }
16723
+ var _path$a;
16724
+ 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); }
16734
16725
  var SvgIcAdd = function SvgIcAdd(props) {
16735
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
16726
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
16736
16727
  xmlns: "http://www.w3.org/2000/svg",
16737
16728
  width: "1em",
16738
16729
  height: "1em",
16739
16730
  viewBox: "0 0 24 24"
16740
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16731
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
16741
16732
  className: "ic-add_svg__fill-color",
16742
16733
  fill: "#999",
16743
16734
  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"
@@ -16867,8 +16858,8 @@ function ForceDeleteDialog(_a) {
16867
16858
  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?" })] }) })) }));
16868
16859
  }
16869
16860
 
16870
- function _extends$l() {
16871
- _extends$l = Object.assign ? Object.assign.bind() : function (target) {
16861
+ function _extends$i() {
16862
+ _extends$i = Object.assign ? Object.assign.bind() : function (target) {
16872
16863
  for (var i = 1; i < arguments.length; i++) {
16873
16864
  var source = arguments[i];
16874
16865
  for (var key in source) {
@@ -16879,7 +16870,7 @@ function _extends$l() {
16879
16870
  }
16880
16871
  return target;
16881
16872
  };
16882
- return _extends$l.apply(this, arguments);
16873
+ return _extends$i.apply(this, arguments);
16883
16874
  }
16884
16875
 
16885
16876
  /*
@@ -20420,7 +20411,7 @@ var Menu = function Menu(props) {
20420
20411
  getStyles = props.getStyles,
20421
20412
  innerRef = props.innerRef,
20422
20413
  innerProps = props.innerProps;
20423
- return jsx("div", _extends$l({
20414
+ return jsx("div", _extends$i({
20424
20415
  css: getStyles('menu', props),
20425
20416
  className: cx({
20426
20417
  menu: true
@@ -20452,7 +20443,7 @@ var MenuList$1 = function MenuList(props) {
20452
20443
  innerProps = props.innerProps,
20453
20444
  innerRef = props.innerRef,
20454
20445
  isMulti = props.isMulti;
20455
- return jsx("div", _extends$l({
20446
+ return jsx("div", _extends$i({
20456
20447
  css: getStyles('menuList', props),
20457
20448
  className: cx({
20458
20449
  'menu-list': true,
@@ -20483,7 +20474,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
20483
20474
  cx = props.cx,
20484
20475
  getStyles = props.getStyles,
20485
20476
  innerProps = props.innerProps;
20486
- return jsx("div", _extends$l({
20477
+ return jsx("div", _extends$i({
20487
20478
  css: getStyles('noOptionsMessage', props),
20488
20479
  className: cx({
20489
20480
  'menu-notice': true,
@@ -20500,7 +20491,7 @@ var LoadingMessage = function LoadingMessage(props) {
20500
20491
  cx = props.cx,
20501
20492
  getStyles = props.getStyles,
20502
20493
  innerProps = props.innerProps;
20503
- return jsx("div", _extends$l({
20494
+ return jsx("div", _extends$i({
20504
20495
  css: getStyles('loadingMessage', props),
20505
20496
  className: cx({
20506
20497
  'menu-notice': true,
@@ -20588,7 +20579,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
20588
20579
  rect: rect
20589
20580
  }; // same wrapper element whether fixed or portalled
20590
20581
 
20591
- var menuWrapper = jsx("div", _extends$l({
20582
+ var menuWrapper = jsx("div", _extends$i({
20592
20583
  css: getStyles('menuPortal', state),
20593
20584
  className: cx({
20594
20585
  'menu-portal': true
@@ -20624,7 +20615,7 @@ var SelectContainer = function SelectContainer(props) {
20624
20615
  innerProps = props.innerProps,
20625
20616
  isDisabled = props.isDisabled,
20626
20617
  isRtl = props.isRtl;
20627
- return jsx("div", _extends$l({
20618
+ return jsx("div", _extends$i({
20628
20619
  css: getStyles('container', props),
20629
20620
  className: cx({
20630
20621
  '--is-disabled': isDisabled,
@@ -20659,7 +20650,7 @@ var ValueContainer = function ValueContainer(props) {
20659
20650
  isMulti = props.isMulti,
20660
20651
  getStyles = props.getStyles,
20661
20652
  hasValue = props.hasValue;
20662
- return jsx("div", _extends$l({
20653
+ return jsx("div", _extends$i({
20663
20654
  css: getStyles('valueContainer', props),
20664
20655
  className: cx({
20665
20656
  'value-container': true,
@@ -20685,7 +20676,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
20685
20676
  cx = props.cx,
20686
20677
  innerProps = props.innerProps,
20687
20678
  getStyles = props.getStyles;
20688
- return jsx("div", _extends$l({
20679
+ return jsx("div", _extends$i({
20689
20680
  css: getStyles('indicatorsContainer', props),
20690
20681
  className: cx({
20691
20682
  indicators: true
@@ -20716,7 +20707,7 @@ var Svg = function Svg(_ref) {
20716
20707
  var size = _ref.size,
20717
20708
  props = _objectWithoutProperties(_ref, _excluded$2);
20718
20709
 
20719
- return jsx("svg", _extends$l({
20710
+ return jsx("svg", _extends$i({
20720
20711
  height: size,
20721
20712
  width: size,
20722
20713
  viewBox: "0 0 20 20",
@@ -20727,14 +20718,14 @@ var Svg = function Svg(_ref) {
20727
20718
  };
20728
20719
 
20729
20720
  var CrossIcon = function CrossIcon(props) {
20730
- return jsx(Svg, _extends$l({
20721
+ return jsx(Svg, _extends$i({
20731
20722
  size: 20
20732
20723
  }, props), jsx("path", {
20733
20724
  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"
20734
20725
  }));
20735
20726
  };
20736
20727
  var DownChevron = function DownChevron(props) {
20737
- return jsx(Svg, _extends$l({
20728
+ return jsx(Svg, _extends$i({
20738
20729
  size: 20
20739
20730
  }, props), jsx("path", {
20740
20731
  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"
@@ -20767,7 +20758,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
20767
20758
  cx = props.cx,
20768
20759
  getStyles = props.getStyles,
20769
20760
  innerProps = props.innerProps;
20770
- return jsx("div", _extends$l({
20761
+ return jsx("div", _extends$i({
20771
20762
  css: getStyles('dropdownIndicator', props),
20772
20763
  className: cx({
20773
20764
  indicator: true,
@@ -20782,7 +20773,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
20782
20773
  cx = props.cx,
20783
20774
  getStyles = props.getStyles,
20784
20775
  innerProps = props.innerProps;
20785
- return jsx("div", _extends$l({
20776
+ return jsx("div", _extends$i({
20786
20777
  css: getStyles('clearIndicator', props),
20787
20778
  className: cx({
20788
20779
  indicator: true,
@@ -20812,7 +20803,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
20812
20803
  cx = props.cx,
20813
20804
  getStyles = props.getStyles,
20814
20805
  innerProps = props.innerProps;
20815
- return jsx("span", _extends$l({}, innerProps, {
20806
+ return jsx("span", _extends$i({}, innerProps, {
20816
20807
  css: getStyles('indicatorSeparator', props),
20817
20808
  className: cx({
20818
20809
  'indicator-separator': true
@@ -20867,7 +20858,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
20867
20858
  getStyles = props.getStyles,
20868
20859
  innerProps = props.innerProps,
20869
20860
  isRtl = props.isRtl;
20870
- return jsx("div", _extends$l({
20861
+ return jsx("div", _extends$i({
20871
20862
  css: getStyles('loadingIndicator', props),
20872
20863
  className: cx({
20873
20864
  indicator: true,
@@ -20928,7 +20919,7 @@ var Control = function Control(props) {
20928
20919
  innerRef = props.innerRef,
20929
20920
  innerProps = props.innerProps,
20930
20921
  menuIsOpen = props.menuIsOpen;
20931
- return jsx("div", _extends$l({
20922
+ return jsx("div", _extends$i({
20932
20923
  ref: innerRef,
20933
20924
  css: getStyles('control', props),
20934
20925
  className: cx({
@@ -20960,12 +20951,12 @@ var Group = function Group(props) {
20960
20951
  label = props.label,
20961
20952
  theme = props.theme,
20962
20953
  selectProps = props.selectProps;
20963
- return jsx("div", _extends$l({
20954
+ return jsx("div", _extends$i({
20964
20955
  css: getStyles('group', props),
20965
20956
  className: cx({
20966
20957
  group: true
20967
20958
  }, className)
20968
- }, innerProps), jsx(Heading, _extends$l({}, headingProps, {
20959
+ }, innerProps), jsx(Heading, _extends$i({}, headingProps, {
20969
20960
  selectProps: selectProps,
20970
20961
  theme: theme,
20971
20962
  getStyles: getStyles,
@@ -20997,7 +20988,7 @@ var GroupHeading = function GroupHeading(props) {
20997
20988
  _cleanCommonProps.data;
20998
20989
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
20999
20990
 
21000
- return jsx("div", _extends$l({
20991
+ return jsx("div", _extends$i({
21001
20992
  css: getStyles('groupHeading', props),
21002
20993
  className: cx({
21003
20994
  'group-heading': true
@@ -21073,7 +21064,7 @@ var Input = function Input(props) {
21073
21064
  }, className),
21074
21065
  css: getStyles('input', props),
21075
21066
  "data-value": value || ''
21076
- }, jsx("input", _extends$l({
21067
+ }, jsx("input", _extends$i({
21077
21068
  className: cx({
21078
21069
  input: true
21079
21070
  }, inputClassName),
@@ -21143,7 +21134,7 @@ var MultiValueLabel = MultiValueGeneric;
21143
21134
  function MultiValueRemove$1(_ref5) {
21144
21135
  var children = _ref5.children,
21145
21136
  innerProps = _ref5.innerProps;
21146
- return jsx("div", _extends$l({
21137
+ return jsx("div", _extends$i({
21147
21138
  role: "button"
21148
21139
  }, innerProps), children || jsx(CrossIcon, {
21149
21140
  size: 14
@@ -21232,7 +21223,7 @@ var Option$1 = function Option(props) {
21232
21223
  isSelected = props.isSelected,
21233
21224
  innerRef = props.innerRef,
21234
21225
  innerProps = props.innerProps;
21235
- return jsx("div", _extends$l({
21226
+ return jsx("div", _extends$i({
21236
21227
  css: getStyles('option', props),
21237
21228
  className: cx({
21238
21229
  option: true,
@@ -21264,7 +21255,7 @@ var Placeholder = function Placeholder(props) {
21264
21255
  cx = props.cx,
21265
21256
  getStyles = props.getStyles,
21266
21257
  innerProps = props.innerProps;
21267
- return jsx("div", _extends$l({
21258
+ return jsx("div", _extends$i({
21268
21259
  css: getStyles('placeholder', props),
21269
21260
  className: cx({
21270
21261
  placeholder: true
@@ -21297,7 +21288,7 @@ var SingleValue = function SingleValue(props) {
21297
21288
  getStyles = props.getStyles,
21298
21289
  isDisabled = props.isDisabled,
21299
21290
  innerProps = props.innerProps;
21300
- return jsx("div", _extends$l({
21291
+ return jsx("div", _extends$i({
21301
21292
  css: getStyles('singleValue', props),
21302
21293
  className: cx({
21303
21294
  'single-value': true,
@@ -21545,7 +21536,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
21545
21536
  };
21546
21537
 
21547
21538
  var A11yText = function A11yText(props) {
21548
- return jsx("span", _extends$l({
21539
+ return jsx("span", _extends$i({
21549
21540
  css: _ref
21550
21541
  }, props));
21551
21542
  };
@@ -22081,7 +22072,7 @@ function DummyInput(_ref) {
22081
22072
  var innerRef = _ref.innerRef,
22082
22073
  props = _objectWithoutProperties(_ref, _excluded);
22083
22074
 
22084
- return jsx("input", _extends$l({
22075
+ return jsx("input", _extends$i({
22085
22076
  ref: innerRef
22086
22077
  }, props, {
22087
22078
  css: /*#__PURE__*/css$2({
@@ -23716,7 +23707,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23716
23707
 
23717
23708
  if (!isSearchable) {
23718
23709
  // use a dummy input to maintain focus/blur functionality
23719
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$l({
23710
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$i({
23720
23711
  id: id,
23721
23712
  innerRef: this.getInputRef,
23722
23713
  onBlur: this.onInputBlur,
@@ -23730,7 +23721,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23730
23721
  }, ariaAttributes));
23731
23722
  }
23732
23723
 
23733
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$l({}, commonProps, {
23724
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$i({}, commonProps, {
23734
23725
  autoCapitalize: "none",
23735
23726
  autoComplete: "off",
23736
23727
  autoCorrect: "off",
@@ -23774,7 +23765,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23774
23765
  isFocused = _this$state5.isFocused;
23775
23766
 
23776
23767
  if (!this.hasValue() || !controlShouldRenderValue) {
23777
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$l({}, commonProps, {
23768
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$i({}, commonProps, {
23778
23769
  key: "placeholder",
23779
23770
  isDisabled: isDisabled,
23780
23771
  isFocused: isFocused,
@@ -23788,7 +23779,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23788
23779
  return selectValue.map(function (opt, index) {
23789
23780
  var isOptionFocused = opt === focusedValue;
23790
23781
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
23791
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$l({}, commonProps, {
23782
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$i({}, commonProps, {
23792
23783
  components: {
23793
23784
  Container: MultiValueContainer,
23794
23785
  Label: MultiValueLabel,
@@ -23820,7 +23811,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23820
23811
  }
23821
23812
 
23822
23813
  var singleValue = selectValue[0];
23823
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$l({}, commonProps, {
23814
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$i({}, commonProps, {
23824
23815
  data: singleValue,
23825
23816
  isDisabled: isDisabled
23826
23817
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -23846,7 +23837,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23846
23837
  onTouchEnd: this.onClearIndicatorTouchEnd,
23847
23838
  'aria-hidden': 'true'
23848
23839
  };
23849
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$l({}, commonProps, {
23840
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$i({}, commonProps, {
23850
23841
  innerProps: innerProps,
23851
23842
  isFocused: isFocused
23852
23843
  }));
@@ -23866,7 +23857,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23866
23857
  var innerProps = {
23867
23858
  'aria-hidden': 'true'
23868
23859
  };
23869
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$l({}, commonProps, {
23860
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$i({}, commonProps, {
23870
23861
  innerProps: innerProps,
23871
23862
  isDisabled: isDisabled,
23872
23863
  isFocused: isFocused
@@ -23884,7 +23875,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23884
23875
  var commonProps = this.commonProps;
23885
23876
  var isDisabled = this.props.isDisabled;
23886
23877
  var isFocused = this.state.isFocused;
23887
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$l({}, commonProps, {
23878
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$i({}, commonProps, {
23888
23879
  isDisabled: isDisabled,
23889
23880
  isFocused: isFocused
23890
23881
  }));
@@ -23904,7 +23895,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23904
23895
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
23905
23896
  'aria-hidden': 'true'
23906
23897
  };
23907
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$l({}, commonProps, {
23898
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$i({}, commonProps, {
23908
23899
  innerProps: innerProps,
23909
23900
  isDisabled: isDisabled,
23910
23901
  isFocused: isFocused
@@ -23967,7 +23958,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23967
23958
  onMouseOver: onHover,
23968
23959
  tabIndex: -1
23969
23960
  };
23970
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$l({}, commonProps, {
23961
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$i({}, commonProps, {
23971
23962
  innerProps: innerProps,
23972
23963
  data: data,
23973
23964
  isDisabled: isDisabled,
@@ -23991,7 +23982,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23991
23982
  groupIndex = item.index;
23992
23983
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
23993
23984
  var headingId = "".concat(groupId, "-heading");
23994
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$l({}, commonProps, {
23985
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$i({}, commonProps, {
23995
23986
  key: groupId,
23996
23987
  data: _data,
23997
23988
  options: options,
@@ -24030,12 +24021,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24030
24021
  menuPosition: menuPosition,
24031
24022
  menuShouldScrollIntoView: menuShouldScrollIntoView
24032
24023
  };
24033
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$l({}, commonProps, menuPlacementProps), function (_ref4) {
24024
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$i({}, commonProps, menuPlacementProps), function (_ref4) {
24034
24025
  var ref = _ref4.ref,
24035
24026
  _ref4$placerProps = _ref4.placerProps,
24036
24027
  placement = _ref4$placerProps.placement,
24037
24028
  maxHeight = _ref4$placerProps.maxHeight;
24038
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$l({}, commonProps, menuPlacementProps, {
24029
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$i({}, commonProps, menuPlacementProps, {
24039
24030
  innerRef: ref,
24040
24031
  innerProps: {
24041
24032
  onMouseDown: _this4.onMenuMouseDown,
@@ -24050,7 +24041,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24050
24041
  onBottomArrive: onMenuScrollToBottom,
24051
24042
  lockEnabled: menuShouldBlockScroll
24052
24043
  }, function (scrollTargetRef) {
24053
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$l({}, commonProps, {
24044
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$i({}, commonProps, {
24054
24045
  innerRef: function innerRef(instance) {
24055
24046
  _this4.getMenuListRef(instance);
24056
24047
 
@@ -24065,7 +24056,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24065
24056
  // so we use the same component. the actual portalling logic is forked
24066
24057
  // within the component based on `menuPosition`
24067
24058
 
24068
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$l({}, commonProps, {
24059
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$i({}, commonProps, {
24069
24060
  appendTo: menuPortalTarget,
24070
24061
  controlElement: this.controlRef,
24071
24062
  menuPlacement: menuPlacement,
@@ -24130,7 +24121,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24130
24121
  isFocused = _this$state6.isFocused,
24131
24122
  selectValue = _this$state6.selectValue;
24132
24123
  var focusableOptions = this.getFocusableOptions();
24133
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$l({}, commonProps, {
24124
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$i({}, commonProps, {
24134
24125
  id: this.getElementId('live-region'),
24135
24126
  ariaSelection: ariaSelection,
24136
24127
  focusedOption: focusedOption,
@@ -24156,7 +24147,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24156
24147
  menuIsOpen = _this$props14.menuIsOpen;
24157
24148
  var isFocused = this.state.isFocused;
24158
24149
  var commonProps = this.commonProps = this.getCommonProps();
24159
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$l({}, commonProps, {
24150
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$i({}, commonProps, {
24160
24151
  className: className,
24161
24152
  innerProps: {
24162
24153
  id: id,
@@ -24164,7 +24155,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24164
24155
  },
24165
24156
  isDisabled: isDisabled,
24166
24157
  isFocused: isFocused
24167
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$l({}, commonProps, {
24158
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$i({}, commonProps, {
24168
24159
  innerRef: this.getControlRef,
24169
24160
  innerProps: {
24170
24161
  onMouseDown: this.onControlMouseDown,
@@ -24173,9 +24164,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24173
24164
  isDisabled: isDisabled,
24174
24165
  isFocused: isFocused,
24175
24166
  menuIsOpen: menuIsOpen
24176
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$l({}, commonProps, {
24167
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$i({}, commonProps, {
24177
24168
  isDisabled: isDisabled
24178
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$l({}, commonProps, {
24169
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$i({}, commonProps, {
24179
24170
  isDisabled: isDisabled
24180
24171
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
24181
24172
  }
@@ -24248,7 +24239,7 @@ Select$1.defaultProps = defaultProps;
24248
24239
 
24249
24240
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24250
24241
  var baseSelectProps = useStateManager(props);
24251
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$l({
24242
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$i({
24252
24243
  ref: ref
24253
24244
  }, baseSelectProps));
24254
24245
  });
@@ -24256,9 +24247,9 @@ var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24256
24247
  var ReactSelect = StateManagedSelect;
24257
24248
 
24258
24249
  var _g$6;
24259
- function _extends$k() { _extends$k = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$k.apply(this, arguments); }
24250
+ 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); }
24260
24251
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24261
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
24252
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
24262
24253
  xmlns: "http://www.w3.org/2000/svg",
24263
24254
  viewBox: "0 0 28 28",
24264
24255
  width: "1em",
@@ -24279,15 +24270,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24279
24270
  }))));
24280
24271
  };
24281
24272
 
24282
- var _path$b;
24283
- function _extends$j() { _extends$j = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$j.apply(this, arguments); }
24273
+ var _path$9;
24274
+ 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); }
24284
24275
  var SvgIcCheck = function SvgIcCheck(props) {
24285
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
24276
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
24286
24277
  xmlns: "http://www.w3.org/2000/svg",
24287
24278
  width: "1em",
24288
24279
  height: "1em",
24289
24280
  viewBox: "0 0 24 24"
24290
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
24281
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
24291
24282
  stroke: "#06C",
24292
24283
  strokeLinecap: "round",
24293
24284
  strokeLinejoin: "round",
@@ -24299,9 +24290,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
24299
24290
  };
24300
24291
 
24301
24292
  var _g$5;
24302
- function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
24293
+ 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); }
24303
24294
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
24304
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
24295
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24305
24296
  xmlns: "http://www.w3.org/2000/svg",
24306
24297
  width: "1em",
24307
24298
  height: "1em",
@@ -24644,9 +24635,9 @@ var Checkbox$1 = /** @class */ (function (_super) {
24644
24635
  }(React.Component));
24645
24636
 
24646
24637
  var _g$4;
24647
- function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
24638
+ 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); }
24648
24639
  var SvgIcSearch = function SvgIcSearch(props) {
24649
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
24640
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24650
24641
  xmlns: "http://www.w3.org/2000/svg",
24651
24642
  viewBox: "0 0 24 24",
24652
24643
  width: "1em",
@@ -24663,9 +24654,9 @@ var SvgIcSearch = function SvgIcSearch(props) {
24663
24654
  };
24664
24655
 
24665
24656
  var _g$3;
24666
- function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
24657
+ 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); }
24667
24658
  var SvgIcErrorCross = function SvgIcErrorCross(props) {
24668
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
24659
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24669
24660
  xmlns: "http://www.w3.org/2000/svg",
24670
24661
  width: "1em",
24671
24662
  height: "1em",
@@ -24769,16 +24760,16 @@ var SearchBar = function (_a) {
24769
24760
  return (jsxRuntime.jsx("div", __assign({ className: containerClassName }, { children: jsxRuntime.jsxs("div", __assign({ className: "search-bar bc-n50 focus-within-border-b5 dc__hover-border-n300 dc__block w-100 min-w-200 dc__position-rel en-2 bw-1 br-4 h-32" }, { children: [jsxRuntime.jsx(SvgIcSearch, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-16" }), jsxRuntime.jsx("input", __assign({ placeholder: "Search", "data-testid": "search-bar", type: "text" }, inputProps, { defaultValue: initialSearchText, className: "search-bar__input bc-n50 dc__position-abs w-100 h-100 br-4 dc__no-border pt-6 pr-10 pb-6 pl-30 fs-13 lh-20 fw-4 cn-9 placeholder-cn5 ".concat(showClearButton ? 'pr-30' : 'pr-10'), onChange: handleChange, onKeyDown: handleKeyDown, ref: inputRef })), showClearButton && (jsxRuntime.jsx("button", __assign({ className: "flex search-bar__clear-button dc__position-abs dc__transparent mt-0 mb-0 mr-5 ml-5", type: "button", onClick: clearSearch, "aria-label": "Clear search" }, { children: jsxRuntime.jsx(SvgIcErrorCross, { className: "icon-dim-16 icon-n4 dc__vertical-align-middle" }) })))] })) })));
24770
24761
  };
24771
24762
 
24772
- var _path$a;
24773
- function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
24763
+ var _path$8;
24764
+ 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); }
24774
24765
  var SvgIcArrowUpDown = function SvgIcArrowUpDown(props) {
24775
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24766
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24776
24767
  xmlns: "http://www.w3.org/2000/svg",
24777
24768
  width: "1em",
24778
24769
  height: "1em",
24779
24770
  viewBox: "0 0 12 12",
24780
24771
  fill: "none"
24781
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
24772
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
24782
24773
  d: "M4.125 8.5 6 10.75 7.875 8.5m-3.75-5L6 1.25 7.875 3.5",
24783
24774
  stroke: "#3B444C",
24784
24775
  strokeWidth: 1.5,
@@ -24787,16 +24778,16 @@ var SvgIcArrowUpDown = function SvgIcArrowUpDown(props) {
24787
24778
  })));
24788
24779
  };
24789
24780
 
24790
- var _path$9;
24791
- function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
24781
+ var _path$7;
24782
+ 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); }
24792
24783
  var SvgIcSortArrowDown = function SvgIcSortArrowDown(props) {
24793
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24784
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24794
24785
  width: "1em",
24795
24786
  height: "1em",
24796
24787
  viewBox: "0 0 12 12",
24797
24788
  fill: "none",
24798
24789
  xmlns: "http://www.w3.org/2000/svg"
24799
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
24790
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
24800
24791
  d: "M3.5 7.5 6 10m0 0 2.5-2.5M6 10V2",
24801
24792
  stroke: "#596168",
24802
24793
  strokeWidth: 1.5,
@@ -24960,9 +24951,9 @@ exports.ConsequenceAction = void 0;
24960
24951
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
24961
24952
 
24962
24953
  var _g$2;
24963
- function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
24954
+ 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); }
24964
24955
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
24965
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24956
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24966
24957
  xmlns: "http://www.w3.org/2000/svg",
24967
24958
  width: "1em",
24968
24959
  height: "1em",
@@ -25041,16 +25032,16 @@ function DeleteComponent(_a) {
25041
25032
  return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
25042
25033
  }
25043
25034
 
25044
- var _path$8;
25045
- function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
25035
+ var _path$6;
25036
+ 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); }
25046
25037
  var SvgIcPencil = function SvgIcPencil(props) {
25047
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
25038
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25048
25039
  width: "1em",
25049
25040
  height: "1em",
25050
25041
  viewBox: "0 0 20 20",
25051
25042
  fill: "none",
25052
25043
  xmlns: "http://www.w3.org/2000/svg"
25053
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
25044
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
25054
25045
  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",
25055
25046
  stroke: "#596168",
25056
25047
  strokeWidth: 1.5,
@@ -25059,16 +25050,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
25059
25050
  })));
25060
25051
  };
25061
25052
 
25062
- var _path$7, _path2, _path3;
25063
- function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
25053
+ var _path$5, _path2, _path3;
25054
+ 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); }
25064
25055
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
25065
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
25056
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25066
25057
  width: "1em",
25067
25058
  height: "1em",
25068
25059
  viewBox: "0 0 12 12",
25069
25060
  fill: "none",
25070
25061
  xmlns: "http://www.w3.org/2000/svg"
25071
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
25062
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25072
25063
  d: "M3.742 4.674h-2.25v-2.25",
25073
25064
  fill: "#767D84"
25074
25065
  })), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -25086,15 +25077,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
25086
25077
  })));
25087
25078
  };
25088
25079
 
25089
- var _path$6;
25090
- function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
25080
+ var _path$4;
25081
+ 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); }
25091
25082
  var SvgIcMinus = function SvgIcMinus(props) {
25092
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
25083
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25093
25084
  xmlns: "http://www.w3.org/2000/svg",
25094
25085
  width: "1em",
25095
25086
  height: "1em",
25096
25087
  viewBox: "0 0 14 14"
25097
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
25088
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
25098
25089
  fill: "#959BA1",
25099
25090
  className: "ic-minus_svg__fill-color",
25100
25091
  fillRule: "evenodd",
@@ -25103,9 +25094,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
25103
25094
  };
25104
25095
 
25105
25096
  var _g$1;
25106
- function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
25097
+ 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); }
25107
25098
  var SvgIcWarning = function SvgIcWarning(props) {
25108
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25099
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25109
25100
  xmlns: "http://www.w3.org/2000/svg",
25110
25101
  width: "1em",
25111
25102
  height: "1em",
@@ -25125,9 +25116,9 @@ var SvgIcWarning = function SvgIcWarning(props) {
25125
25116
  };
25126
25117
 
25127
25118
  var _g;
25128
- function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
25119
+ 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); }
25129
25120
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25130
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25121
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
25131
25122
  xmlns: "http://www.w3.org/2000/svg",
25132
25123
  width: "1em",
25133
25124
  height: "1em",
@@ -25144,16 +25135,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25144
25135
  }))));
25145
25136
  };
25146
25137
 
25147
- var _path$5;
25148
- function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
25138
+ var _path$3;
25139
+ 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); }
25149
25140
  var SvgIcEnter = function SvgIcEnter(props) {
25150
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25141
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
25151
25142
  width: "1em",
25152
25143
  height: "1em",
25153
25144
  viewBox: "0 0 16 16",
25154
25145
  fill: "none",
25155
25146
  xmlns: "http://www.w3.org/2000/svg"
25156
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25147
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
25157
25148
  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",
25158
25149
  fill: "#3B444C"
25159
25150
  })));
@@ -25559,15 +25550,15 @@ function Grid(_a) {
25559
25550
  return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, containerDivProps, { children: children })));
25560
25551
  }
25561
25552
 
25562
- var _path$4;
25563
- function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
25553
+ var _path$2;
25554
+ 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); }
25564
25555
  var SvgIcCopy = function SvgIcCopy(props) {
25565
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25556
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
25566
25557
  xmlns: "http://www.w3.org/2000/svg",
25567
25558
  width: "1em",
25568
25559
  height: "1em",
25569
25560
  viewBox: "0 0 20 20"
25570
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
25561
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
25571
25562
  fill: "#767D84",
25572
25563
  fillRule: "evenodd",
25573
25564
  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"
@@ -28509,15 +28500,15 @@ var getInferredTypeFromValueType = function (value) {
28509
28500
  }
28510
28501
  };
28511
28502
 
28512
- var _path$3;
28513
- function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
28503
+ var _path$1;
28504
+ 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); }
28514
28505
  var SvgIcChevronDown = function SvgIcChevronDown(props) {
28515
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
28506
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
28516
28507
  xmlns: "http://www.w3.org/2000/svg",
28517
28508
  width: "1em",
28518
28509
  height: "1em",
28519
28510
  viewBox: "0 0 24 24"
28520
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
28511
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
28521
28512
  fill: "#999",
28522
28513
  className: "ic-chevron-down_svg__fill-color",
28523
28514
  fillRule: "nonzero",
@@ -28576,16 +28567,16 @@ var Form = RJSF.default;
28576
28567
  var validator = RJSFValidator.default;
28577
28568
  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 }))); };
28578
28569
 
28579
- var _style, _rect$2;
28580
- function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
28570
+ var _style, _rect;
28571
+ 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); }
28581
28572
  var SvgIcRotateDevtron = function SvgIcRotateDevtron(props) {
28582
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
28573
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
28583
28574
  width: "1em",
28584
28575
  height: "1em",
28585
28576
  viewBox: "0 0 100 100",
28586
28577
  fill: "none",
28587
28578
  xmlns: "http://www.w3.org/2000/svg"
28588
- }, props), _style || (_style = /*#__PURE__*/React__namespace.createElement("style", null, "@keyframes path-fill{0%,30%,to{fill:#3989d9}45%{fill:#abcff3}}@keyframes top-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(-6px) translateY(-6px) rotate(15deg);transform-origin:center center}}@keyframes bottom-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(6px) translateY(6px) rotate(15deg);transform-origin:center center}}@keyframes rotate-group{0%,44%{transform:rotate(0deg)}to{transform:rotate(360deg);animation-timing-function:ease-in-out}}")), _rect$2 || (_rect$2 = /*#__PURE__*/React__namespace.createElement("rect", {
28579
+ }, props), _style || (_style = /*#__PURE__*/React__namespace.createElement("style", null, "@keyframes path-fill{0%,30%,to{fill:#3989d9}45%{fill:#abcff3}}@keyframes top-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(-6px) translateY(-6px) rotate(15deg);transform-origin:center center}}@keyframes bottom-shape{0%,to{transform:translateX(0) translateY(0) rotate(0deg);transform-origin:center center}30%{transform:translateX(0) translateY(0) rotate(10deg);transform-origin:center center}45%{transform:translateX(6px) translateY(6px) rotate(15deg);transform-origin:center center}}@keyframes rotate-group{0%,44%{transform:rotate(0deg)}to{transform:rotate(360deg);animation-timing-function:ease-in-out}}")), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
28589
28580
  width: 100,
28590
28581
  height: 100,
28591
28582
  rx: 20,
@@ -28853,16 +28844,16 @@ function DraggableWrapper(_a) {
28853
28844
  } }, { children: children })) })) })));
28854
28845
  }
28855
28846
 
28856
- var _path$2;
28857
- function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
28847
+ var _path;
28848
+ 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); }
28858
28849
  var SvgIcDrag = function SvgIcDrag(props) {
28859
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
28850
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28860
28851
  width: "1em",
28861
28852
  height: "1em",
28862
28853
  viewBox: "0 0 16 16",
28863
28854
  fill: "none",
28864
28855
  xmlns: "http://www.w3.org/2000/svg"
28865
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
28856
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
28866
28857
  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",
28867
28858
  fill: "#596168"
28868
28859
  })));
@@ -28999,293 +28990,14 @@ exports.UserStatus = void 0;
28999
28990
  (function (UserStatus) {
29000
28991
  UserStatus["active"] = "active";
29001
28992
  UserStatus["inactive"] = "inactive";
29002
- UserStatus["temporary"] = "temporaryAccess";
28993
+ UserStatus["temporary"] = "temporary";
29003
28994
  })(exports.UserStatus || (exports.UserStatus = {}));
29004
28995
 
29005
- var BulkSelectionDropdownItems = function (_a) {
29006
- var locator = _a.locator, label = _a.label, isSelected = _a.isSelected, handleBulkSelection = _a.handleBulkSelection, Icon = _a.icon;
29007
- var handleSelect = function () {
29008
- handleBulkSelection({
29009
- action: locator,
29010
- });
29011
- };
29012
- return (jsxRuntime.jsxs("button", __assign({ "data-testid": "bulk-action-".concat(locator), onClick: handleSelect, className: "dc__no-border dc__outline-none-imp w-100 flexbox h-32 dc__align-items-center pt-6 pr-8 pb-6 pl-8 dc__gap-8 ".concat(isSelected ? 'cb-5 bcb-2 fs-13 fw-6 lh-20' : 'dc__no-background cn-9 fs-13 fw-4 lh-20 dc__hover-n50'), type: "button" }, { children: [jsxRuntime.jsx(Icon, { className: "icon-dim-16" }), label] })));
29013
- };
29014
-
29015
- exports.BulkSelectionEvents = void 0;
29016
- (function (BulkSelectionEvents) {
29017
- BulkSelectionEvents["CLEAR_ALL_SELECTIONS"] = "CLEAR_ALL_SELECTIONS";
29018
- BulkSelectionEvents["CLEAR_IDENTIFIERS"] = "CLEAR_IDENTIFIERS";
29019
- BulkSelectionEvents["SELECT_ALL_ACROSS_PAGES"] = "SELECT_ALL_ACROSS_PAGES";
29020
- BulkSelectionEvents["SELECT_ALL_ON_PAGE"] = "SELECT_ALL_ON_PAGE";
29021
- BulkSelectionEvents["SELECT_IDENTIFIER"] = "SELECT_IDENTIFIER";
29022
- BulkSelectionEvents["CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION"] = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION";
29023
- BulkSelectionEvents["CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES"] = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES";
29024
- })(exports.BulkSelectionEvents || (exports.BulkSelectionEvents = {}));
29025
- exports.SelectAllDialogStatus = void 0;
29026
- (function (SelectAllDialogStatus) {
29027
- SelectAllDialogStatus["OPEN"] = "OPEN";
29028
- SelectAllDialogStatus["CLOSED"] = "CLOSED";
29029
- })(exports.SelectAllDialogStatus || (exports.SelectAllDialogStatus = {}));
29030
-
29031
- var _a;
29032
- var BULK_DROPDOWN_TEST_ID = 'bulk-selection-pop-up-menu';
29033
- var BulkSelectionOptionsLabels = (_a = {},
29034
- _a[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE] = 'All on this page',
29035
- _a[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES] = 'All across pages',
29036
- _a[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS] = 'Clear selection',
29037
- _a);
29038
- // Considering application can not be named as *
29039
- var SELECT_ALL_ACROSS_PAGES_LOCATOR = '*';
29040
- var getInvalidActionMessage = function (action) { return "Invalid action ".concat(action, " passed to useBulkSelection"); };
29041
- var BULK_SELECTION_CONTEXT_ERROR = 'useBulkSelection must be used within BulkSelectionContext';
29042
-
29043
- // giving type any here since not exporting this context, rather using it through useBulkSelection hook which is typed
29044
- var BulkSelectionContext = React.createContext({
29045
- selectedIdentifiers: {},
29046
- handleBulkSelection: noop$1,
29047
- isChecked: false,
29048
- checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29049
- isBulkSelectionApplied: false,
29050
- getSelectedIdentifiersCount: noop$1,
29051
- });
29052
- var useBulkSelection = function () {
29053
- var context = React.useContext(BulkSelectionContext);
29054
- if (!context) {
29055
- throw new Error(BULK_SELECTION_CONTEXT_ERROR);
29056
- }
29057
- return context;
29058
- };
29059
- var BulkSelectionProvider = function (_a) {
29060
- var children = _a.children, identifiers = _a.identifiers, getSelectAllDialogStatus = _a.getSelectAllDialogStatus;
29061
- var _b = __read(React.useState({}), 2), selectedIdentifiers = _b[0], setSelectedIdentifiers = _b[1];
29062
- var isBulkSelectionApplied = selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR];
29063
- var getSelectedIdentifiersCount = function () { return Object.keys(selectedIdentifiers).length; };
29064
- var setIdentifiersAfterClear = function (newIdentifiers, selectedIds) {
29065
- var _newIdentifiers = JSON.parse(JSON.stringify(newIdentifiers));
29066
- selectedIds.forEach(function (id) {
29067
- delete _newIdentifiers[id];
29068
- });
29069
- setSelectedIdentifiers(_newIdentifiers);
29070
- };
29071
- var setIdentifiersAfterPageSelection = function (baseObject) {
29072
- var _selectedIdentifiers = JSON.parse(JSON.stringify(selectedIdentifiers));
29073
- // removing bulk selection across pages if present
29074
- if (isBulkSelectionApplied) {
29075
- delete _selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR];
29076
- }
29077
- setSelectedIdentifiers(__assign(__assign({}, _selectedIdentifiers), baseObject));
29078
- };
29079
- var handleBulkSelection = function (_a) {
29080
- var _b, _c;
29081
- var _d, _e;
29082
- var action = _a.action, data = _a.data;
29083
- var selectedIds = (_d = data === null || data === void 0 ? void 0 : data.identifierIds) !== null && _d !== void 0 ? _d : [];
29084
- var identifierObject = (_e = data === null || data === void 0 ? void 0 : data.identifierObject) !== null && _e !== void 0 ? _e : {};
29085
- switch (action) {
29086
- case exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS:
29087
- setSelectedIdentifiers({});
29088
- break;
29089
- case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
29090
- setIdentifiersAfterClear(identifiers, selectedIds);
29091
- break;
29092
- }
29093
- case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS: {
29094
- setIdentifiersAfterClear(selectedIdentifiers, selectedIds);
29095
- break;
29096
- }
29097
- case exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES: {
29098
- if (isBulkSelectionApplied) {
29099
- return;
29100
- }
29101
- var selectedIdentifiersLength = getSelectedIdentifiersCount();
29102
- // This is for showing a modal dialog if applicable to confirm if bulk selection is to be applied
29103
- // Do note that the 'getSelectAllDialogStatus' should be called after the length check explicitly
29104
- // otherwise the modal will open each time
29105
- if (selectedIdentifiersLength > 0 && getSelectAllDialogStatus() === exports.SelectAllDialogStatus.OPEN) {
29106
- return;
29107
- }
29108
- setSelectedIdentifiers((_b = {},
29109
- _b[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29110
- _b));
29111
- break;
29112
- }
29113
- case exports.BulkSelectionEvents.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
29114
- setSelectedIdentifiers((_c = {},
29115
- _c[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29116
- _c));
29117
- break;
29118
- case exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE: {
29119
- setIdentifiersAfterPageSelection(identifiers);
29120
- break;
29121
- }
29122
- case exports.BulkSelectionEvents.SELECT_IDENTIFIER: {
29123
- setIdentifiersAfterPageSelection(identifierObject);
29124
- break;
29125
- }
29126
- default:
29127
- throw new Error(getInvalidActionMessage(action));
29128
- }
29129
- };
29130
- var getBulkSelectionCheckboxValues = function () {
29131
- var selectedIdentifiersArray = Object.keys(selectedIdentifiers);
29132
- if (selectedIdentifiersArray.length === 0) {
29133
- return {
29134
- isChecked: false,
29135
- checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29136
- };
29137
- }
29138
- // if selectedIdentifiers contains select all across pages locator then it means all are selected
29139
- if (isBulkSelectionApplied) {
29140
- return {
29141
- isChecked: true,
29142
- checkboxValue: exports.CHECKBOX_VALUE.BULK_CHECKED,
29143
- };
29144
- }
29145
- // if all the identifiers are selected then CHECKED else intermediate
29146
- var areAllPresentIdentifiersSelected = Object.keys(identifiers).every(function (identifierId) { return selectedIdentifiers[identifierId]; });
29147
- if (areAllPresentIdentifiersSelected) {
29148
- return {
29149
- isChecked: true,
29150
- checkboxValue: exports.CHECKBOX_VALUE.CHECKED,
29151
- };
29152
- }
29153
- return {
29154
- isChecked: true,
29155
- checkboxValue: exports.CHECKBOX_VALUE.INTERMEDIATE,
29156
- };
29157
- };
29158
- var _c = getBulkSelectionCheckboxValues(), isChecked = _c.isChecked, checkboxValue = _c.checkboxValue;
29159
- var value = React.useMemo(function () { return ({
29160
- selectedIdentifiers: selectedIdentifiers,
29161
- handleBulkSelection: handleBulkSelection,
29162
- isChecked: isChecked,
29163
- checkboxValue: checkboxValue,
29164
- isBulkSelectionApplied: isBulkSelectionApplied,
29165
- getSelectedIdentifiersCount: getSelectedIdentifiersCount,
29166
- }); }, [selectedIdentifiers, handleBulkSelection, isChecked, checkboxValue, getSelectedIdentifiersCount]);
29167
- return jsxRuntime.jsx(BulkSelectionContext.Provider, __assign({ value: value }, { children: children }));
29168
- };
29169
-
29170
- var _rect$1, _path$1;
29171
- function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
29172
- var SvgIcCheckSquare = function SvgIcCheckSquare(props) {
29173
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
29174
- width: "1em",
29175
- height: "1em",
29176
- viewBox: "0 0 16 16",
29177
- fill: "none",
29178
- xmlns: "http://www.w3.org/2000/svg"
29179
- }, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
29180
- x: 2,
29181
- y: 2,
29182
- width: 12,
29183
- height: 12,
29184
- rx: 2,
29185
- stroke: "#596168",
29186
- strokeWidth: 1.5,
29187
- strokeLinecap: "round",
29188
- strokeLinejoin: "round"
29189
- })), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
29190
- d: "m11.208 5.958-4.083 4.083L5.083 8",
29191
- stroke: "#596168",
29192
- strokeWidth: 1.5,
29193
- strokeLinecap: "round",
29194
- strokeLinejoin: "round"
29195
- })));
29196
- };
29197
-
29198
- var _rect, _path;
29199
- function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
29200
- var SvgIcCheckAll = function SvgIcCheckAll(props) {
29201
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
29202
- width: "1em",
29203
- height: "1em",
29204
- viewBox: "0 0 17 17",
29205
- fill: "none",
29206
- xmlns: "http://www.w3.org/2000/svg"
29207
- }, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
29208
- x: 2,
29209
- y: 2,
29210
- width: 11.2,
29211
- height: 11.2,
29212
- rx: 2,
29213
- stroke: "#596168",
29214
- strokeWidth: 1.5,
29215
- strokeLinecap: "round",
29216
- strokeLinejoin: "round"
29217
- })), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
29218
- d: "M15.467 5.866v5.6a4 4 0 0 1-4 4h-5.6M10.35 5.85l-3.5 3.5L5.1 7.6",
29219
- stroke: "#596168",
29220
- strokeWidth: 1.5,
29221
- strokeLinecap: "round",
29222
- strokeLinejoin: "round"
29223
- })));
29224
- };
29225
-
29226
- var _defs, _use;
29227
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29228
- var SvgIcClose = function SvgIcClose(props) {
29229
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
29230
- xmlns: "http://www.w3.org/2000/svg",
29231
- xmlnsXlink: "http://www.w3.org/1999/xlink",
29232
- width: "1em",
29233
- height: "1em",
29234
- viewBox: "0 0 24 24"
29235
- }, props), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("path", {
29236
- id: "ic-close_svg__a",
29237
- className: "ic-close_svg__stroke-color",
29238
- d: "M18.295 5.705a.997.997 0 0 0-1.41 0L12 10.59 7.115 5.705a.997.997 0 1 0-1.41 1.41L10.59 12l-4.885 4.885a.997.997 0 1 0 1.41 1.41L12 13.41l4.885 4.885a.997.997 0 0 0 1.41-1.41L13.41 12l4.885-4.885a.997.997 0 0 0 0-1.41z"
29239
- }))), _use || (_use = /*#__PURE__*/React__namespace.createElement("use", {
29240
- fill: "#999",
29241
- xlinkHref: "#ic-close_svg__a",
29242
- fillRule: "evenodd"
29243
- })));
29244
- };
29245
-
29246
- var BulkSelection = function (_a) {
29247
- var showPagination = _a.showPagination;
29248
- var _b = useBulkSelection(), handleBulkSelection = _b.handleBulkSelection, isChecked = _b.isChecked, checkboxValue = _b.checkboxValue, getSelectedIdentifiersCount = _b.getSelectedIdentifiersCount;
29249
- var areOptionsSelected = getSelectedIdentifiersCount() > 0;
29250
- var BulkSelectionItems = __spreadArray(__spreadArray([
29251
- {
29252
- locator: exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE,
29253
- label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE],
29254
- isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.CHECKED,
29255
- icon: SvgIcCheckSquare,
29256
- }
29257
- ], __read((showPagination
29258
- ? [
29259
- {
29260
- locator: exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES,
29261
- label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES],
29262
- isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.BULK_CHECKED,
29263
- icon: SvgIcCheckAll,
29264
- },
29265
- ]
29266
- : [])), false), __read((areOptionsSelected
29267
- ? [
29268
- {
29269
- locator: exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS,
29270
- label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS],
29271
- isSelected: false,
29272
- icon: SvgIcClose,
29273
- },
29274
- ]
29275
- : [])), false);
29276
- return (jsxRuntime.jsxs(PopupMenu, __assign({ autoClose: true }, { children: [jsxRuntime.jsxs(PopupMenu.Button, __assign({ isKebab: true, rootClassName: "h-20 flexbox p-0 dc__no-background dc__no-border dc__outline-none-imp", dataTestId: BULK_DROPDOWN_TEST_ID }, { children: [jsxRuntime.jsx(Checkbox$1, { isChecked: isChecked, onChange: noop$1, rootClassName: "icon-dim-20 m-0", value: checkboxValue }), jsxRuntime.jsx(SvgIcChevronDown, { className: "icon-dim-20 fcn-6 dc__no-shrink" })] })), jsxRuntime.jsx(PopupMenu.Body, __assign({ rootClassName: "dc__top-22 w-150 dc__right-0 pt-4 pb-4 pl-0 pr-0 bcn-0 flex column dc__content-start dc__align-start dc__position-abs bcn-0 dc__border dc__border-radius-4-imp" }, { children: BulkSelectionItems.map(function (item) { return (jsxRuntime.jsx(BulkSelectionDropdownItems, { locator: item.locator, label: item.label, isSelected: item.isSelected, icon: item.icon, handleBulkSelection: handleBulkSelection }, item.locator)); }) }))] })));
29277
- };
29278
-
29279
28996
  exports.AddCDButton = AddCDButton;
29280
28997
  exports.AppStatus = AppStatus;
29281
- exports.BULK_DROPDOWN_TEST_ID = BULK_DROPDOWN_TEST_ID;
29282
- exports.BULK_SELECTION_CONTEXT_ERROR = BULK_SELECTION_CONTEXT_ERROR;
29283
28998
  exports.BreadCrumb = BreadCrumb;
29284
28999
  exports.BreadcrumbStore = Store;
29285
29000
  exports.BuildStageVariable = BuildStageVariable;
29286
- exports.BulkSelection = BulkSelection;
29287
- exports.BulkSelectionOptionsLabels = BulkSelectionOptionsLabels;
29288
- exports.BulkSelectionProvider = BulkSelectionProvider;
29289
29001
  exports.CDModalTab = CDModalTab;
29290
29002
  exports.ChartVersionAndTypeSelector = ChartVersionAndTypeSelector;
29291
29003
  exports.Checkbox = Checkbox$1;
@@ -29343,7 +29055,6 @@ exports.RepositoryAction = RepositoryAction;
29343
29055
  exports.ResizableTagTextArea = ResizableTagTextArea;
29344
29056
  exports.ResizableTextarea = ResizableTextarea;
29345
29057
  exports.SELECTED_APPROVAL_TAB_STATE = SELECTED_APPROVAL_TAB_STATE;
29346
- exports.SELECT_ALL_ACROSS_PAGES_LOCATOR = SELECT_ALL_ACROSS_PAGES_LOCATOR;
29347
29058
  exports.ScanVulnerabilitiesTable = ScanVulnerabilitiesTable;
29348
29059
  exports.SearchBar = SearchBar;
29349
29060
  exports.ServerError = ServerError;
@@ -29381,7 +29092,6 @@ exports.getCookie = getCookie;
29381
29092
  exports.getEmptyArrayOfLength = getEmptyArrayOfLength;
29382
29093
  exports.getFilteredChartVersions = getFilteredChartVersions;
29383
29094
  exports.getInferredTypeFromValueType = getInferredTypeFromValueType;
29384
- exports.getInvalidActionMessage = getInvalidActionMessage;
29385
29095
  exports.getIsRequestAborted = getIsRequestAborted;
29386
29096
  exports.getLockedJSON = getLockedJSON;
29387
29097
  exports.getLoginInfo = getLoginInfo;
@@ -29408,7 +29118,6 @@ exports.toastAccessDenied = toastAccessDenied;
29408
29118
  exports.trash = trash;
29409
29119
  exports.useAsync = useAsync;
29410
29120
  exports.useBreadcrumb = useBreadcrumb;
29411
- exports.useBulkSelection = useBulkSelection;
29412
29121
  exports.useClickOutside = useClickOutside;
29413
29122
  exports.useEffectAfterMount = useEffectAfterMount;
29414
29123
  exports.useForm = useForm;