@devtron-labs/devtron-fe-common-lib 0.0.26-beta-2 → 0.0.26-beta-3

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.
package/dist/index.js CHANGED
@@ -685,15 +685,15 @@ function styleInject(css, ref) {
685
685
  var css_248z$6 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n height: 40%;\n max-height: 200px;\n width: auto;\n max-width: 250px;\n}\n.empty-state svg {\n height: 40%;\n max-height: 200px;\n width: auto;\n}\n.empty-state h1,\n.empty-state h2,\n.empty-state h3,\n.empty-state h4,\n.empty-state h5,\n.empty-state h6 {\n color: var(--N900);\n}\n.empty-state .subtitle {\n font-size: 13px;\n width: 300px;\n font-weight: 400;\n text-align: center;\n line-height: 1.5;\n margin-bottom: 20px;\n}\n.empty-state .cta {\n height: 36px;\n}\n.empty-state p {\n width: 300px;\n text-align: center;\n font-size: 13px;\n color: var(--N700);\n}\n.empty-state strong {\n font-size: 16px;\n margin-bottom: 4px;\n color: var(--N900);\n font-weight: normal;\n}\n.empty-state .select-popup {\n height: min-content;\n max-height: 250px;\n overflow: auto;\n padding: 8px 0;\n}\n.empty-state .empty-state__loader {\n width: 34px;\n height: 34px;\n margin-bottom: 16px;\n}\n.empty-state .empty-state__loading-text {\n font-size: 12px;\n width: 200px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: var(--N900);\n}\n.empty-state .button__icon {\n width: 16px;\n height: 16px;\n margin-left: 8px;\n}";
686
686
  styleInject(css_248z$6);
687
687
 
688
- var _g$5;
689
- 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); }
688
+ var _g$6;
689
+ 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); }
690
690
  var SvgIcProgressing = function SvgIcProgressing(props) {
691
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
691
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
692
692
  xmlns: "http://www.w3.org/2000/svg",
693
693
  viewBox: "0 0 24 24",
694
694
  width: "1em",
695
695
  height: "1em"
696
- }, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
696
+ }, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
697
697
  fill: "none"
698
698
  }, /*#__PURE__*/React__namespace.createElement("animateTransform", {
699
699
  attributeName: "transform",
@@ -740,8 +740,8 @@ EmptyState.Loading = Loading;
740
740
 
741
741
  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}
742
742
 
743
- function _extends$h() {
744
- _extends$h = Object.assign || function (target) {
743
+ function _extends$i() {
744
+ _extends$i = Object.assign || function (target) {
745
745
  for (var i = 1; i < arguments.length; i++) {
746
746
  var source = arguments[i];
747
747
 
@@ -755,7 +755,7 @@ function _extends$h() {
755
755
  return target;
756
756
  };
757
757
 
758
- return _extends$h.apply(this, arguments);
758
+ return _extends$i.apply(this, arguments);
759
759
  }
760
760
 
761
761
  function _objectWithoutPropertiesLoose$2(source, excluded) {
@@ -1481,7 +1481,7 @@ function ProgressBar(_ref) {
1481
1481
  isIn = _ref.isIn,
1482
1482
  theme = _ref.theme;
1483
1483
 
1484
- var style = _extends$h({}, userStyle, {
1484
+ var style = _extends$i({}, userStyle, {
1485
1485
  animationDuration: delay + "ms",
1486
1486
  animationPlayState: isRunning ? 'running' : 'paused',
1487
1487
  opacity: hide ? 0 : 1
@@ -1758,9 +1758,9 @@ var ToastContainer = function ToastContainer(props) {
1758
1758
  ,
1759
1759
  id: containerId
1760
1760
  }, getToastToRender(function (position, toastList) {
1761
- var containerStyle = !toastList.length ? _extends$h({}, style, {
1761
+ var containerStyle = !toastList.length ? _extends$i({}, style, {
1762
1762
  pointerEvents: 'none'
1763
- }) : _extends$h({}, style);
1763
+ }) : _extends$i({}, style);
1764
1764
  return React.createElement("div", {
1765
1765
  className: getClassName(position),
1766
1766
  style: containerStyle,
@@ -1867,7 +1867,7 @@ function dispatchToast(content, options) {
1867
1867
 
1868
1868
 
1869
1869
  function mergeOptions(type, options) {
1870
- return _extends$h({}, options, {
1870
+ return _extends$i({}, options, {
1871
1871
  type: options && options.type || type,
1872
1872
  toastId: getToastId(options)
1873
1873
  });
@@ -1884,7 +1884,7 @@ function toast(content, options) {
1884
1884
  }
1885
1885
 
1886
1886
  toast.loading = function (content, options) {
1887
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$h({
1887
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$i({
1888
1888
  isLoading: true,
1889
1889
  autoClose: false,
1890
1890
  closeOnClick: false,
@@ -1900,7 +1900,7 @@ function handlePromise(promise, _ref2, options) {
1900
1900
  var id;
1901
1901
 
1902
1902
  if (pending) {
1903
- id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$h({}, options, pending));
1903
+ id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$i({}, options, pending));
1904
1904
  }
1905
1905
 
1906
1906
  var resetParams = {
@@ -1919,7 +1919,7 @@ function handlePromise(promise, _ref2, options) {
1919
1919
  return;
1920
1920
  }
1921
1921
 
1922
- var baseParams = _extends$h({
1922
+ var baseParams = _extends$i({
1923
1923
  type: type
1924
1924
  }, resetParams, options, {
1925
1925
  data: result
@@ -1930,10 +1930,10 @@ function handlePromise(promise, _ref2, options) {
1930
1930
  } : input; // if the id is set we know that it's an update
1931
1931
 
1932
1932
  if (id) {
1933
- toast.update(id, _extends$h({}, baseParams, params));
1933
+ toast.update(id, _extends$i({}, baseParams, params));
1934
1934
  } else {
1935
1935
  // using toast.promise without loading
1936
- toast(params.render, _extends$h({}, baseParams, params));
1936
+ toast(params.render, _extends$i({}, baseParams, params));
1937
1937
  }
1938
1938
 
1939
1939
  return result;
@@ -1957,7 +1957,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
1957
1957
  toast.warn = toast.warning;
1958
1958
 
1959
1959
  toast.dark = function (content, options) {
1960
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$h({
1960
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$i({
1961
1961
  theme: 'dark'
1962
1962
  }, options)));
1963
1963
  };
@@ -2014,7 +2014,7 @@ toast.update = function (toastId, options) {
2014
2014
  var oldOptions = toast.props,
2015
2015
  oldContent = toast.content;
2016
2016
 
2017
- var nextOptions = _extends$h({}, oldOptions, options, {
2017
+ var nextOptions = _extends$i({}, oldOptions, options, {
2018
2018
  toastId: options.toastId || toastId,
2019
2019
  updateId: generateToastId()
2020
2020
  });
@@ -4109,15 +4109,15 @@ function captureException(exception, captureContext) {
4109
4109
  return getCurrentHub().captureException(exception, { captureContext });
4110
4110
  }
4111
4111
 
4112
- var _g$4;
4113
- 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); }
4112
+ var _g$5;
4113
+ 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); }
4114
4114
  var SvgIcWarning = function SvgIcWarning(props) {
4115
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
4115
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
4116
4116
  xmlns: "http://www.w3.org/2000/svg",
4117
4117
  width: "1em",
4118
4118
  height: "1em",
4119
4119
  viewBox: "0 0 32 32"
4120
- }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
4120
+ }, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
4121
4121
  fill: "none",
4122
4122
  fillRule: "evenodd"
4123
4123
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -10232,9 +10232,9 @@ var Modal = function (_a) {
10232
10232
  };
10233
10233
 
10234
10234
  var _path$a;
10235
- 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); }
10235
+ 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); }
10236
10236
  var SvgIcCross = function SvgIcCross(props) {
10237
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
10237
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
10238
10238
  width: "1em",
10239
10239
  height: "1em",
10240
10240
  viewBox: "0 0 24 24",
@@ -14540,9 +14540,9 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
14540
14540
  var Tippy = index;
14541
14541
 
14542
14542
  var _path$9;
14543
- 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); }
14543
+ 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); }
14544
14544
  var SvgIcHelp = function SvgIcHelp(props) {
14545
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
14545
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
14546
14546
  xmlns: "http://www.w3.org/2000/svg",
14547
14547
  width: "1em",
14548
14548
  height: "1em",
@@ -14555,9 +14555,9 @@ var SvgIcHelp = function SvgIcHelp(props) {
14555
14555
  };
14556
14556
 
14557
14557
  var _path$8;
14558
- 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); }
14558
+ 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); }
14559
14559
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
14560
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
14560
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
14561
14561
  xmlns: "http://www.w3.org/2000/svg",
14562
14562
  viewBox: "0 0 17 16",
14563
14563
  width: "1em",
@@ -14615,9 +14615,9 @@ function TippyCustomized(props) {
14615
14615
  }
14616
14616
 
14617
14617
  var _path$7, _circle, _path2$1;
14618
- 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); }
14618
+ 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); }
14619
14619
  var SvgInjectTag = function SvgInjectTag(props) {
14620
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
14620
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
14621
14621
  width: "1em",
14622
14622
  height: "1em",
14623
14623
  viewBox: "0 0 20 20",
@@ -14652,9 +14652,9 @@ function PropagateTagInfo(_a) {
14652
14652
  }
14653
14653
 
14654
14654
  var _path$6;
14655
- 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); }
14655
+ 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); }
14656
14656
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
14657
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
14657
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
14658
14658
  xmlns: "http://www.w3.org/2000/svg",
14659
14659
  width: "1em",
14660
14660
  height: "1em",
@@ -14667,7 +14667,7 @@ var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
14667
14667
  };
14668
14668
 
14669
14669
  function ResizableTagTextArea(_a) {
14670
- var className = _a.className, minHeight = _a.minHeight, maxHeight = _a.maxHeight, value = _a.value, onChange = _a.onChange, onBlur = _a.onBlur, onFocus = _a.onFocus, placeholder = _a.placeholder, tabIndex = _a.tabIndex, refVar = _a.refVar, dependentRef = _a.dependentRef, dataTestId = _a.dataTestId, handleKeyDown = _a.handleKeyDown;
14670
+ var className = _a.className, minHeight = _a.minHeight, maxHeight = _a.maxHeight, value = _a.value, onChange = _a.onChange, onBlur = _a.onBlur, onFocus = _a.onFocus, placeholder = _a.placeholder, tabIndex = _a.tabIndex, refVar = _a.refVar, dependentRef = _a.dependentRef, dataTestId = _a.dataTestId;
14671
14671
  var _b = __read(React.useState(''), 2), text = _b[0], setText = _b[1];
14672
14672
  React.useEffect(function () {
14673
14673
  setText(value);
@@ -14680,11 +14680,9 @@ function ResizableTagTextArea(_a) {
14680
14680
  if (document.activeElement !== refVar.current)
14681
14681
  return;
14682
14682
  refVar.current.style.height = minHeight + 'px';
14683
- if (dependentRef) {
14684
- dependentRef.current.style.height = minHeight + 'px';
14685
- }
14683
+ dependentRef.current.style.height = minHeight + 'px';
14686
14684
  var nextHeight = refVar.current.scrollHeight;
14687
- if (dependentRef && nextHeight < dependentRef.current.scrollHeight) {
14685
+ if (nextHeight < dependentRef.current.scrollHeight) {
14688
14686
  nextHeight = dependentRef.current.scrollHeight;
14689
14687
  }
14690
14688
  if (minHeight && nextHeight < minHeight) {
@@ -14694,23 +14692,19 @@ function ResizableTagTextArea(_a) {
14694
14692
  nextHeight = maxHeight;
14695
14693
  }
14696
14694
  refVar.current.style.height = nextHeight + 'px';
14697
- if (dependentRef) {
14698
- dependentRef.current.style.height = nextHeight + 'px';
14699
- }
14695
+ dependentRef.current.style.height = nextHeight + 'px';
14700
14696
  };
14701
14697
  useThrottledEffect(reInitHeight, 500, [text]);
14702
14698
  var handleOnBlur = function (event) {
14703
14699
  refVar.current.style.height = minHeight + 'px';
14704
- if (dependentRef) {
14705
- dependentRef.current.style.height = minHeight + 'px';
14706
- }
14700
+ dependentRef.current.style.height = minHeight + 'px';
14707
14701
  onBlur && onBlur(event);
14708
14702
  };
14709
14703
  var handleOnFocus = function (event) {
14710
14704
  reInitHeight();
14711
14705
  onFocus && onFocus(event);
14712
14706
  };
14713
- return (jsxRuntime.jsx("textarea", { rows: 1, ref: refVar, value: text, placeholder: placeholder, className: "".concat(className || '', " lh-20"), style: { resize: 'none' }, onChange: handleChange, onBlur: handleOnBlur, onFocus: handleOnFocus, tabIndex: tabIndex, "data-testid": dataTestId, onKeyDown: handleKeyDown }));
14707
+ return (jsxRuntime.jsx("textarea", { rows: 1, ref: refVar, value: text, placeholder: placeholder, className: "".concat(className || '', " lh-20"), style: { resize: 'none' }, onChange: handleChange, onBlur: handleOnBlur, onFocus: handleOnFocus, tabIndex: tabIndex, "data-testid": dataTestId }));
14714
14708
  }
14715
14709
 
14716
14710
  var validateTagValue = function (value) {
@@ -14894,9 +14888,9 @@ var TagDetails = function (_a) {
14894
14888
  };
14895
14889
 
14896
14890
  var _path$5;
14897
- 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); }
14891
+ 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); }
14898
14892
  var SvgIcAdd = function SvgIcAdd(props) {
14899
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
14893
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
14900
14894
  xmlns: "http://www.w3.org/2000/svg",
14901
14895
  width: "1em",
14902
14896
  height: "1em",
@@ -15019,8 +15013,8 @@ function ForceDeleteDialog(_a) {
15019
15013
  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?" })] }) })) }));
15020
15014
  }
15021
15015
 
15022
- function _extends$9() {
15023
- _extends$9 = Object.assign ? Object.assign.bind() : function (target) {
15016
+ function _extends$a() {
15017
+ _extends$a = Object.assign ? Object.assign.bind() : function (target) {
15024
15018
  for (var i = 1; i < arguments.length; i++) {
15025
15019
  var source = arguments[i];
15026
15020
  for (var key in source) {
@@ -15031,7 +15025,7 @@ function _extends$9() {
15031
15025
  }
15032
15026
  return target;
15033
15027
  };
15034
- return _extends$9.apply(this, arguments);
15028
+ return _extends$a.apply(this, arguments);
15035
15029
  }
15036
15030
 
15037
15031
  /*
@@ -18572,7 +18566,7 @@ var Menu = function Menu(props) {
18572
18566
  getStyles = props.getStyles,
18573
18567
  innerRef = props.innerRef,
18574
18568
  innerProps = props.innerProps;
18575
- return jsx("div", _extends$9({
18569
+ return jsx("div", _extends$a({
18576
18570
  css: getStyles('menu', props),
18577
18571
  className: cx({
18578
18572
  menu: true
@@ -18604,7 +18598,7 @@ var MenuList = function MenuList(props) {
18604
18598
  innerProps = props.innerProps,
18605
18599
  innerRef = props.innerRef,
18606
18600
  isMulti = props.isMulti;
18607
- return jsx("div", _extends$9({
18601
+ return jsx("div", _extends$a({
18608
18602
  css: getStyles('menuList', props),
18609
18603
  className: cx({
18610
18604
  'menu-list': true,
@@ -18635,7 +18629,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
18635
18629
  cx = props.cx,
18636
18630
  getStyles = props.getStyles,
18637
18631
  innerProps = props.innerProps;
18638
- return jsx("div", _extends$9({
18632
+ return jsx("div", _extends$a({
18639
18633
  css: getStyles('noOptionsMessage', props),
18640
18634
  className: cx({
18641
18635
  'menu-notice': true,
@@ -18652,7 +18646,7 @@ var LoadingMessage = function LoadingMessage(props) {
18652
18646
  cx = props.cx,
18653
18647
  getStyles = props.getStyles,
18654
18648
  innerProps = props.innerProps;
18655
- return jsx("div", _extends$9({
18649
+ return jsx("div", _extends$a({
18656
18650
  css: getStyles('loadingMessage', props),
18657
18651
  className: cx({
18658
18652
  'menu-notice': true,
@@ -18740,7 +18734,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
18740
18734
  rect: rect
18741
18735
  }; // same wrapper element whether fixed or portalled
18742
18736
 
18743
- var menuWrapper = jsx("div", _extends$9({
18737
+ var menuWrapper = jsx("div", _extends$a({
18744
18738
  css: getStyles('menuPortal', state),
18745
18739
  className: cx({
18746
18740
  'menu-portal': true
@@ -18776,7 +18770,7 @@ var SelectContainer = function SelectContainer(props) {
18776
18770
  innerProps = props.innerProps,
18777
18771
  isDisabled = props.isDisabled,
18778
18772
  isRtl = props.isRtl;
18779
- return jsx("div", _extends$9({
18773
+ return jsx("div", _extends$a({
18780
18774
  css: getStyles('container', props),
18781
18775
  className: cx({
18782
18776
  '--is-disabled': isDisabled,
@@ -18811,7 +18805,7 @@ var ValueContainer = function ValueContainer(props) {
18811
18805
  isMulti = props.isMulti,
18812
18806
  getStyles = props.getStyles,
18813
18807
  hasValue = props.hasValue;
18814
- return jsx("div", _extends$9({
18808
+ return jsx("div", _extends$a({
18815
18809
  css: getStyles('valueContainer', props),
18816
18810
  className: cx({
18817
18811
  'value-container': true,
@@ -18837,7 +18831,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
18837
18831
  cx = props.cx,
18838
18832
  innerProps = props.innerProps,
18839
18833
  getStyles = props.getStyles;
18840
- return jsx("div", _extends$9({
18834
+ return jsx("div", _extends$a({
18841
18835
  css: getStyles('indicatorsContainer', props),
18842
18836
  className: cx({
18843
18837
  indicators: true
@@ -18868,7 +18862,7 @@ var Svg = function Svg(_ref) {
18868
18862
  var size = _ref.size,
18869
18863
  props = _objectWithoutProperties(_ref, _excluded$2);
18870
18864
 
18871
- return jsx("svg", _extends$9({
18865
+ return jsx("svg", _extends$a({
18872
18866
  height: size,
18873
18867
  width: size,
18874
18868
  viewBox: "0 0 20 20",
@@ -18879,14 +18873,14 @@ var Svg = function Svg(_ref) {
18879
18873
  };
18880
18874
 
18881
18875
  var CrossIcon = function CrossIcon(props) {
18882
- return jsx(Svg, _extends$9({
18876
+ return jsx(Svg, _extends$a({
18883
18877
  size: 20
18884
18878
  }, props), jsx("path", {
18885
18879
  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"
18886
18880
  }));
18887
18881
  };
18888
18882
  var DownChevron = function DownChevron(props) {
18889
- return jsx(Svg, _extends$9({
18883
+ return jsx(Svg, _extends$a({
18890
18884
  size: 20
18891
18885
  }, props), jsx("path", {
18892
18886
  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"
@@ -18919,7 +18913,7 @@ var DropdownIndicator = function DropdownIndicator(props) {
18919
18913
  cx = props.cx,
18920
18914
  getStyles = props.getStyles,
18921
18915
  innerProps = props.innerProps;
18922
- return jsx("div", _extends$9({
18916
+ return jsx("div", _extends$a({
18923
18917
  css: getStyles('dropdownIndicator', props),
18924
18918
  className: cx({
18925
18919
  indicator: true,
@@ -18934,7 +18928,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
18934
18928
  cx = props.cx,
18935
18929
  getStyles = props.getStyles,
18936
18930
  innerProps = props.innerProps;
18937
- return jsx("div", _extends$9({
18931
+ return jsx("div", _extends$a({
18938
18932
  css: getStyles('clearIndicator', props),
18939
18933
  className: cx({
18940
18934
  indicator: true,
@@ -18964,7 +18958,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
18964
18958
  cx = props.cx,
18965
18959
  getStyles = props.getStyles,
18966
18960
  innerProps = props.innerProps;
18967
- return jsx("span", _extends$9({}, innerProps, {
18961
+ return jsx("span", _extends$a({}, innerProps, {
18968
18962
  css: getStyles('indicatorSeparator', props),
18969
18963
  className: cx({
18970
18964
  'indicator-separator': true
@@ -19019,7 +19013,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
19019
19013
  getStyles = props.getStyles,
19020
19014
  innerProps = props.innerProps,
19021
19015
  isRtl = props.isRtl;
19022
- return jsx("div", _extends$9({
19016
+ return jsx("div", _extends$a({
19023
19017
  css: getStyles('loadingIndicator', props),
19024
19018
  className: cx({
19025
19019
  indicator: true,
@@ -19080,7 +19074,7 @@ var Control = function Control(props) {
19080
19074
  innerRef = props.innerRef,
19081
19075
  innerProps = props.innerProps,
19082
19076
  menuIsOpen = props.menuIsOpen;
19083
- return jsx("div", _extends$9({
19077
+ return jsx("div", _extends$a({
19084
19078
  ref: innerRef,
19085
19079
  css: getStyles('control', props),
19086
19080
  className: cx({
@@ -19112,12 +19106,12 @@ var Group = function Group(props) {
19112
19106
  label = props.label,
19113
19107
  theme = props.theme,
19114
19108
  selectProps = props.selectProps;
19115
- return jsx("div", _extends$9({
19109
+ return jsx("div", _extends$a({
19116
19110
  css: getStyles('group', props),
19117
19111
  className: cx({
19118
19112
  group: true
19119
19113
  }, className)
19120
- }, innerProps), jsx(Heading, _extends$9({}, headingProps, {
19114
+ }, innerProps), jsx(Heading, _extends$a({}, headingProps, {
19121
19115
  selectProps: selectProps,
19122
19116
  theme: theme,
19123
19117
  getStyles: getStyles,
@@ -19149,7 +19143,7 @@ var GroupHeading = function GroupHeading(props) {
19149
19143
  _cleanCommonProps.data;
19150
19144
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
19151
19145
 
19152
- return jsx("div", _extends$9({
19146
+ return jsx("div", _extends$a({
19153
19147
  css: getStyles('groupHeading', props),
19154
19148
  className: cx({
19155
19149
  'group-heading': true
@@ -19225,7 +19219,7 @@ var Input = function Input(props) {
19225
19219
  }, className),
19226
19220
  css: getStyles('input', props),
19227
19221
  "data-value": value || ''
19228
- }, jsx("input", _extends$9({
19222
+ }, jsx("input", _extends$a({
19229
19223
  className: cx({
19230
19224
  input: true
19231
19225
  }, inputClassName),
@@ -19295,7 +19289,7 @@ var MultiValueLabel = MultiValueGeneric;
19295
19289
  function MultiValueRemove$1(_ref5) {
19296
19290
  var children = _ref5.children,
19297
19291
  innerProps = _ref5.innerProps;
19298
- return jsx("div", _extends$9({
19292
+ return jsx("div", _extends$a({
19299
19293
  role: "button"
19300
19294
  }, innerProps), children || jsx(CrossIcon, {
19301
19295
  size: 14
@@ -19384,7 +19378,7 @@ var Option$1 = function Option(props) {
19384
19378
  isSelected = props.isSelected,
19385
19379
  innerRef = props.innerRef,
19386
19380
  innerProps = props.innerProps;
19387
- return jsx("div", _extends$9({
19381
+ return jsx("div", _extends$a({
19388
19382
  css: getStyles('option', props),
19389
19383
  className: cx({
19390
19384
  option: true,
@@ -19416,7 +19410,7 @@ var Placeholder = function Placeholder(props) {
19416
19410
  cx = props.cx,
19417
19411
  getStyles = props.getStyles,
19418
19412
  innerProps = props.innerProps;
19419
- return jsx("div", _extends$9({
19413
+ return jsx("div", _extends$a({
19420
19414
  css: getStyles('placeholder', props),
19421
19415
  className: cx({
19422
19416
  placeholder: true
@@ -19449,7 +19443,7 @@ var SingleValue = function SingleValue(props) {
19449
19443
  getStyles = props.getStyles,
19450
19444
  isDisabled = props.isDisabled,
19451
19445
  innerProps = props.innerProps;
19452
- return jsx("div", _extends$9({
19446
+ return jsx("div", _extends$a({
19453
19447
  css: getStyles('singleValue', props),
19454
19448
  className: cx({
19455
19449
  'single-value': true,
@@ -19697,7 +19691,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
19697
19691
  };
19698
19692
 
19699
19693
  var A11yText = function A11yText(props) {
19700
- return jsx("span", _extends$9({
19694
+ return jsx("span", _extends$a({
19701
19695
  css: _ref
19702
19696
  }, props));
19703
19697
  };
@@ -20233,7 +20227,7 @@ function DummyInput(_ref) {
20233
20227
  var innerRef = _ref.innerRef,
20234
20228
  props = _objectWithoutProperties(_ref, _excluded);
20235
20229
 
20236
- return jsx("input", _extends$9({
20230
+ return jsx("input", _extends$a({
20237
20231
  ref: innerRef
20238
20232
  }, props, {
20239
20233
  css: /*#__PURE__*/css$2({
@@ -21868,7 +21862,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21868
21862
 
21869
21863
  if (!isSearchable) {
21870
21864
  // use a dummy input to maintain focus/blur functionality
21871
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$9({
21865
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$a({
21872
21866
  id: id,
21873
21867
  innerRef: this.getInputRef,
21874
21868
  onBlur: this.onInputBlur,
@@ -21882,7 +21876,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21882
21876
  }, ariaAttributes));
21883
21877
  }
21884
21878
 
21885
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$9({}, commonProps, {
21879
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$a({}, commonProps, {
21886
21880
  autoCapitalize: "none",
21887
21881
  autoComplete: "off",
21888
21882
  autoCorrect: "off",
@@ -21926,7 +21920,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21926
21920
  isFocused = _this$state5.isFocused;
21927
21921
 
21928
21922
  if (!this.hasValue() || !controlShouldRenderValue) {
21929
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$9({}, commonProps, {
21923
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$a({}, commonProps, {
21930
21924
  key: "placeholder",
21931
21925
  isDisabled: isDisabled,
21932
21926
  isFocused: isFocused,
@@ -21940,7 +21934,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21940
21934
  return selectValue.map(function (opt, index) {
21941
21935
  var isOptionFocused = opt === focusedValue;
21942
21936
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
21943
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$9({}, commonProps, {
21937
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$a({}, commonProps, {
21944
21938
  components: {
21945
21939
  Container: MultiValueContainer,
21946
21940
  Label: MultiValueLabel,
@@ -21972,7 +21966,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21972
21966
  }
21973
21967
 
21974
21968
  var singleValue = selectValue[0];
21975
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$9({}, commonProps, {
21969
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$a({}, commonProps, {
21976
21970
  data: singleValue,
21977
21971
  isDisabled: isDisabled
21978
21972
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -21998,7 +21992,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
21998
21992
  onTouchEnd: this.onClearIndicatorTouchEnd,
21999
21993
  'aria-hidden': 'true'
22000
21994
  };
22001
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$9({}, commonProps, {
21995
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$a({}, commonProps, {
22002
21996
  innerProps: innerProps,
22003
21997
  isFocused: isFocused
22004
21998
  }));
@@ -22018,7 +22012,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22018
22012
  var innerProps = {
22019
22013
  'aria-hidden': 'true'
22020
22014
  };
22021
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$9({}, commonProps, {
22015
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$a({}, commonProps, {
22022
22016
  innerProps: innerProps,
22023
22017
  isDisabled: isDisabled,
22024
22018
  isFocused: isFocused
@@ -22036,7 +22030,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22036
22030
  var commonProps = this.commonProps;
22037
22031
  var isDisabled = this.props.isDisabled;
22038
22032
  var isFocused = this.state.isFocused;
22039
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$9({}, commonProps, {
22033
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$a({}, commonProps, {
22040
22034
  isDisabled: isDisabled,
22041
22035
  isFocused: isFocused
22042
22036
  }));
@@ -22056,7 +22050,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22056
22050
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
22057
22051
  'aria-hidden': 'true'
22058
22052
  };
22059
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$9({}, commonProps, {
22053
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$a({}, commonProps, {
22060
22054
  innerProps: innerProps,
22061
22055
  isDisabled: isDisabled,
22062
22056
  isFocused: isFocused
@@ -22119,7 +22113,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22119
22113
  onMouseOver: onHover,
22120
22114
  tabIndex: -1
22121
22115
  };
22122
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$9({}, commonProps, {
22116
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$a({}, commonProps, {
22123
22117
  innerProps: innerProps,
22124
22118
  data: data,
22125
22119
  isDisabled: isDisabled,
@@ -22143,7 +22137,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22143
22137
  groupIndex = item.index;
22144
22138
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
22145
22139
  var headingId = "".concat(groupId, "-heading");
22146
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$9({}, commonProps, {
22140
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$a({}, commonProps, {
22147
22141
  key: groupId,
22148
22142
  data: _data,
22149
22143
  options: options,
@@ -22182,12 +22176,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22182
22176
  menuPosition: menuPosition,
22183
22177
  menuShouldScrollIntoView: menuShouldScrollIntoView
22184
22178
  };
22185
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$9({}, commonProps, menuPlacementProps), function (_ref4) {
22179
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$a({}, commonProps, menuPlacementProps), function (_ref4) {
22186
22180
  var ref = _ref4.ref,
22187
22181
  _ref4$placerProps = _ref4.placerProps,
22188
22182
  placement = _ref4$placerProps.placement,
22189
22183
  maxHeight = _ref4$placerProps.maxHeight;
22190
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$9({}, commonProps, menuPlacementProps, {
22184
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$a({}, commonProps, menuPlacementProps, {
22191
22185
  innerRef: ref,
22192
22186
  innerProps: {
22193
22187
  onMouseDown: _this4.onMenuMouseDown,
@@ -22202,7 +22196,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22202
22196
  onBottomArrive: onMenuScrollToBottom,
22203
22197
  lockEnabled: menuShouldBlockScroll
22204
22198
  }, function (scrollTargetRef) {
22205
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$9({}, commonProps, {
22199
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$a({}, commonProps, {
22206
22200
  innerRef: function innerRef(instance) {
22207
22201
  _this4.getMenuListRef(instance);
22208
22202
 
@@ -22217,7 +22211,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22217
22211
  // so we use the same component. the actual portalling logic is forked
22218
22212
  // within the component based on `menuPosition`
22219
22213
 
22220
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$9({}, commonProps, {
22214
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$a({}, commonProps, {
22221
22215
  appendTo: menuPortalTarget,
22222
22216
  controlElement: this.controlRef,
22223
22217
  menuPlacement: menuPlacement,
@@ -22282,7 +22276,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22282
22276
  isFocused = _this$state6.isFocused,
22283
22277
  selectValue = _this$state6.selectValue;
22284
22278
  var focusableOptions = this.getFocusableOptions();
22285
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$9({}, commonProps, {
22279
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$a({}, commonProps, {
22286
22280
  id: this.getElementId('live-region'),
22287
22281
  ariaSelection: ariaSelection,
22288
22282
  focusedOption: focusedOption,
@@ -22308,7 +22302,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22308
22302
  menuIsOpen = _this$props14.menuIsOpen;
22309
22303
  var isFocused = this.state.isFocused;
22310
22304
  var commonProps = this.commonProps = this.getCommonProps();
22311
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$9({}, commonProps, {
22305
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$a({}, commonProps, {
22312
22306
  className: className,
22313
22307
  innerProps: {
22314
22308
  id: id,
@@ -22316,7 +22310,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22316
22310
  },
22317
22311
  isDisabled: isDisabled,
22318
22312
  isFocused: isFocused
22319
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$9({}, commonProps, {
22313
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$a({}, commonProps, {
22320
22314
  innerRef: this.getControlRef,
22321
22315
  innerProps: {
22322
22316
  onMouseDown: this.onControlMouseDown,
@@ -22325,9 +22319,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
22325
22319
  isDisabled: isDisabled,
22326
22320
  isFocused: isFocused,
22327
22321
  menuIsOpen: menuIsOpen
22328
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$9({}, commonProps, {
22322
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$a({}, commonProps, {
22329
22323
  isDisabled: isDisabled
22330
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$9({}, commonProps, {
22324
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$a({}, commonProps, {
22331
22325
  isDisabled: isDisabled
22332
22326
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
22333
22327
  }
@@ -22400,22 +22394,22 @@ Select$1.defaultProps = defaultProps;
22400
22394
 
22401
22395
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
22402
22396
  var baseSelectProps = useStateManager(props);
22403
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$9({
22397
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$a({
22404
22398
  ref: ref
22405
22399
  }, baseSelectProps));
22406
22400
  });
22407
22401
 
22408
22402
  var Select = StateManagedSelect;
22409
22403
 
22410
- var _g$3;
22411
- 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); }
22404
+ var _g$4;
22405
+ 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); }
22412
22406
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
22413
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
22407
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
22414
22408
  xmlns: "http://www.w3.org/2000/svg",
22415
22409
  viewBox: "0 0 28 28",
22416
22410
  width: "1em",
22417
22411
  height: "1em"
22418
- }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
22412
+ }, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
22419
22413
  fill: "none",
22420
22414
  fillRule: "evenodd",
22421
22415
  transform: "translate(2 2)"
@@ -22432,9 +22426,9 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
22432
22426
  };
22433
22427
 
22434
22428
  var _path$4;
22435
- 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); }
22429
+ 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); }
22436
22430
  var SvgIcCheck = function SvgIcCheck(props) {
22437
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
22431
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
22438
22432
  xmlns: "http://www.w3.org/2000/svg",
22439
22433
  width: "1em",
22440
22434
  height: "1em",
@@ -22450,15 +22444,15 @@ var SvgIcCheck = function SvgIcCheck(props) {
22450
22444
  })));
22451
22445
  };
22452
22446
 
22453
- var _g$2;
22454
- 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); }
22447
+ var _g$3;
22448
+ 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); }
22455
22449
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
22456
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
22450
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
22457
22451
  xmlns: "http://www.w3.org/2000/svg",
22458
22452
  width: "1em",
22459
22453
  height: "1em",
22460
22454
  viewBox: "0 0 20 21"
22461
- }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
22455
+ }, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
22462
22456
  fill: "none",
22463
22457
  fillRule: "evenodd"
22464
22458
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -22827,15 +22821,15 @@ exports.ConsequenceAction = void 0;
22827
22821
  ConsequenceAction["ALLOW_FOREVER"] = "ALLOW_FOREVER";
22828
22822
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
22829
22823
 
22830
- var _g$1;
22831
- 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); }
22824
+ var _g$2;
22825
+ 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); }
22832
22826
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
22833
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
22827
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
22834
22828
  xmlns: "http://www.w3.org/2000/svg",
22835
22829
  width: "1em",
22836
22830
  height: "1em",
22837
22831
  viewBox: "0 0 32 32"
22838
- }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
22832
+ }, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
22839
22833
  fill: "none",
22840
22834
  fillRule: "evenodd"
22841
22835
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -22910,9 +22904,9 @@ function DeleteComponent(_a) {
22910
22904
  }
22911
22905
 
22912
22906
  var _path$3;
22913
- 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); }
22907
+ 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); }
22914
22908
  var SvgIcPencil = function SvgIcPencil(props) {
22915
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
22909
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
22916
22910
  width: "1em",
22917
22911
  height: "1em",
22918
22912
  viewBox: "0 0 20 20",
@@ -22928,9 +22922,9 @@ var SvgIcPencil = function SvgIcPencil(props) {
22928
22922
  };
22929
22923
 
22930
22924
  var _path$2, _path2, _path3;
22931
- 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); }
22925
+ 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); }
22932
22926
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
22933
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
22927
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
22934
22928
  width: "1em",
22935
22929
  height: "1em",
22936
22930
  viewBox: "0 0 12 12",
@@ -22955,9 +22949,9 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
22955
22949
  };
22956
22950
 
22957
22951
  var _path$1;
22958
- 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); }
22952
+ 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); }
22959
22953
  var SvgIcMinus = function SvgIcMinus(props) {
22960
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
22954
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
22961
22955
  xmlns: "http://www.w3.org/2000/svg",
22962
22956
  width: "1em",
22963
22957
  height: "1em",
@@ -22970,15 +22964,15 @@ var SvgIcMinus = function SvgIcMinus(props) {
22970
22964
  })));
22971
22965
  };
22972
22966
 
22973
- var _g;
22974
- 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); }
22967
+ var _g$1;
22968
+ 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); }
22975
22969
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
22976
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
22970
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
22977
22971
  xmlns: "http://www.w3.org/2000/svg",
22978
22972
  width: "1em",
22979
22973
  height: "1em",
22980
22974
  viewBox: "0 0 20 20"
22981
- }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
22975
+ }, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
22982
22976
  fill: "none",
22983
22977
  fillRule: "evenodd"
22984
22978
  }, /*#__PURE__*/React__namespace.createElement("path", {
@@ -22991,9 +22985,9 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
22991
22985
  };
22992
22986
 
22993
22987
  var _path;
22994
- 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); }
22988
+ 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); }
22995
22989
  var SvgIcEnter = function SvgIcEnter(props) {
22996
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
22990
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
22997
22991
  width: "1em",
22998
22992
  height: "1em",
22999
22993
  viewBox: "0 0 16 16",
@@ -23359,6 +23353,95 @@ var ResizableTextarea = function (_a) {
23359
23353
  return (jsxRuntime.jsx("textarea", __assign({ "data-testid": dataTestId, ref: function (el) { return (_textRef.current = el); }, value: text, placeholder: placeholder, className: "dc__resizable-textarea ".concat(className), onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, style: { lineHeight: "".concat(lineHeight, "px"), padding: "".concat(padding, "px") }, spellCheck: false, disabled: disabled }, props)));
23360
23354
  };
23361
23355
 
23356
+ function useDebouncedEffect(callback, delay, deps) {
23357
+ if (deps === void 0) { deps = []; }
23358
+ // function will be executed only after the specified time once the user stops firing the event.
23359
+ var firstUpdate = React.useRef(true);
23360
+ React.useEffect(function () {
23361
+ if (firstUpdate.current) {
23362
+ firstUpdate.current = false;
23363
+ return;
23364
+ }
23365
+ var handler = setTimeout(function () {
23366
+ callback();
23367
+ }, delay);
23368
+ return function () {
23369
+ clearTimeout(handler);
23370
+ };
23371
+ }, __spreadArray([delay], __read(deps), false));
23372
+ }
23373
+
23374
+ var _g;
23375
+ 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); }
23376
+ var SvgIcErrorCross = function SvgIcErrorCross(props) {
23377
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
23378
+ xmlns: "http://www.w3.org/2000/svg",
23379
+ width: "1em",
23380
+ height: "1em",
23381
+ viewBox: "0 0 32 32"
23382
+ }, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
23383
+ transform: "translate(2.667 2.667)",
23384
+ fill: "none",
23385
+ fillRule: "evenodd"
23386
+ }, /*#__PURE__*/React__namespace.createElement("rect", {
23387
+ width: 26.667,
23388
+ height: 26.667,
23389
+ className: "ic-error-cross_svg__fill-color",
23390
+ fill: "#596168",
23391
+ rx: 13.333
23392
+ }), /*#__PURE__*/React__namespace.createElement("path", {
23393
+ fill: "#FFF",
23394
+ fillRule: "nonzero",
23395
+ d: "M8.62 8.62a1.332 1.332 0 0 1 1.885 0l2.828 2.827 2.829-2.828a1.334 1.334 0 0 1 1.777-.097l.108.097a1.333 1.333 0 0 1 0 1.886l-2.828 2.828 2.828 2.829c.486.486.519 1.254.098 1.777l-.098.108a1.332 1.332 0 0 1-1.885 0l-2.83-2.828-2.827 2.828a1.334 1.334 0 0 1-1.777.098l-.109-.098a1.333 1.333 0 0 1 0-1.885l2.828-2.83-2.828-2.827a1.334 1.334 0 0 1-.097-1.777z"
23396
+ }))));
23397
+ };
23398
+
23399
+ /**
23400
+ * @param onSearch - Callback function to be called on search
23401
+ * @param Icon - (Optional) Icon to be shown before the input
23402
+ * @param iconClass - (Optional) Class for the icon
23403
+ * @param children - (Optional) In case we want to add another button or any other element
23404
+ * @param placeholder - (Optional) Placeholder for the input
23405
+ * @param containerClass - (Optional) Class for the container
23406
+ * @param inputClass - (Optional) Class for the input field
23407
+ * @param debounceTimeout - (Optional) Timeout for the debounce with default value of 500ms
23408
+ * @param clearSearch - (Optional) To clear the search text
23409
+ * @param showClearIcon - (Optional) To show the clear icon default value is true
23410
+ */
23411
+ function DebouncedSearch(_a) {
23412
+ var onSearch = _a.onSearch, Icon = _a.Icon, children = _a.children, placeholder = _a.placeholder, _b = _a.containerClass, containerClass = _b === void 0 ? '' : _b, _c = _a.iconClass, iconClass = _c === void 0 ? '' : _c, _d = _a.inputClass, inputClass = _d === void 0 ? '' : _d, _e = _a.debounceTimeout, debounceTimeout = _e === void 0 ? 500 : _e, clearSearch = _a.clearSearch, _f = _a.showClearIcon, showClearIcon = _f === void 0 ? true : _f;
23413
+ var _g = __read(React.useState(''), 2), searchText = _g[0], setSearchText = _g[1];
23414
+ React.useEffect(function () {
23415
+ setSearchText('');
23416
+ }, [clearSearch]);
23417
+ var handleSearchTextChange = function (e) {
23418
+ setSearchText(e.target.value);
23419
+ };
23420
+ var handleClearSearch = function () {
23421
+ setSearchText('');
23422
+ };
23423
+ useDebouncedEffect(function () { return onSearch(searchText); }, debounceTimeout, [searchText, onSearch]);
23424
+ return (jsxRuntime.jsxs("div", __assign({ className: containerClass }, { children: [Icon && jsxRuntime.jsx(Icon, { className: iconClass }), jsxRuntime.jsx("input", { type: "text", className: inputClass, placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : 'Search', value: searchText, onChange: handleSearchTextChange, autoFocus: true, "data-testid": "debounced-search" }), showClearIcon && !!searchText && (jsxRuntime.jsx("button", __assign({ type: "button", className: "dc__outline-none-imp dc__no-border p-0 bc-n50 flex", onClick: handleClearSearch, "data-testid": "clear-search" }, { children: jsxRuntime.jsx(SvgIcErrorCross, { className: "icon-dim-20 icon-n6" }) }))), children] })));
23425
+ }
23426
+
23427
+ // This is meant to be a reusable component that will provide a grid like dynamic layout where xs is the number of columns out of 12 that the item will take up
23428
+ function Grid(_a) {
23429
+ var container = _a.container, _b = _a.spacing, spacing = _b === void 0 ? 0 : _b, item = _a.item, xs = _a.xs, _c = _a.containerClass, containerClass = _c === void 0 ? '' : _c, _d = _a.itemClass, itemClass = _d === void 0 ? '' : _d, children = _a.children;
23430
+ var containerStyles = container ? { gap: spacing + 'px' } : {};
23431
+ if (item) {
23432
+ var getColumnWidth = function () {
23433
+ var percentageWidth = (xs / 12) * 100;
23434
+ // DONT CHANGE IT FROM CALC SINCE CALC CONVERTS TO PX which is needed to handle text overflow
23435
+ return "calc(".concat(percentageWidth, "%)");
23436
+ };
23437
+ var itemStyles = {
23438
+ flex: "1 1 ".concat(getColumnWidth()),
23439
+ };
23440
+ return (jsxRuntime.jsx("div", __assign({ className: "p-0 ".concat(itemClass), style: itemStyles }, { children: children })));
23441
+ }
23442
+ return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, { children: children })));
23443
+ }
23444
+
23362
23445
  exports.BreadCrumb = BreadCrumb;
23363
23446
  exports.BreadcrumbStore = Store;
23364
23447
  exports.BuildStageVariable = BuildStageVariable;
@@ -23372,6 +23455,7 @@ exports.CustomSelect = CustomSelect;
23372
23455
  exports.DEFAULT_TAG_DATA = DEFAULT_TAG_DATA;
23373
23456
  exports.DOCUMENTATION = DOCUMENTATION;
23374
23457
  exports.DOCUMENTATION_HOME_PAGE = DOCUMENTATION_HOME_PAGE;
23458
+ exports.DebouncedSearch = DebouncedSearch;
23375
23459
  exports.DeleteComponent = DeleteComponent;
23376
23460
  exports.DeleteDialog = DeleteDialog;
23377
23461
  exports.DetailsProgressing = DetailsProgressing;
@@ -23384,6 +23468,7 @@ exports.ErrorScreenManager = ErrorScreenManager;
23384
23468
  exports.ErrorScreenNotAuthorized = ErrorScreenNotAuthorized;
23385
23469
  exports.ForceDeleteDialog = ForceDeleteDialog;
23386
23470
  exports.GenericEmptyState = GenericEmptyState;
23471
+ exports.Grid = Grid;
23387
23472
  exports.Host = Host;
23388
23473
  exports.ImageTagButton = ImageTagButton;
23389
23474
  exports.ImageTagsContainer = ImageTagsContainer;