@devtron-labs/devtron-fe-common-lib 0.0.59-beta-1 → 0.0.59-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.
@@ -1,3 +1,4 @@
1
- export * from './BulkSelection';
2
- export * from './types';
1
+ export { default as BulkSelection } from './BulkSelection';
2
+ export { default as useBulkSelection } from './UseBulkSelection';
3
3
  export * from './types';
4
+ export * from './constants';
package/dist/index.js CHANGED
@@ -783,9 +783,9 @@ var css_248z$9 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n heig
783
783
  styleInject(css_248z$9);
784
784
 
785
785
  var _g$7;
786
- 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); }
786
+ 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); }
787
787
  var SvgIcProgressing = function SvgIcProgressing(props) {
788
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
788
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$t({
789
789
  xmlns: "http://www.w3.org/2000/svg",
790
790
  viewBox: "0 0 24 24",
791
791
  width: "1em",
@@ -837,8 +837,8 @@ EmptyState.Loading = Loading;
837
837
 
838
838
  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}
839
839
 
840
- function _extends$q() {
841
- _extends$q = Object.assign || function (target) {
840
+ function _extends$s() {
841
+ _extends$s = Object.assign || function (target) {
842
842
  for (var i = 1; i < arguments.length; i++) {
843
843
  var source = arguments[i];
844
844
 
@@ -852,7 +852,7 @@ function _extends$q() {
852
852
  return target;
853
853
  };
854
854
 
855
- return _extends$q.apply(this, arguments);
855
+ return _extends$s.apply(this, arguments);
856
856
  }
857
857
 
858
858
  function _objectWithoutPropertiesLoose$2(source, excluded) {
@@ -1578,7 +1578,7 @@ function ProgressBar(_ref) {
1578
1578
  isIn = _ref.isIn,
1579
1579
  theme = _ref.theme;
1580
1580
 
1581
- var style = _extends$q({}, userStyle, {
1581
+ var style = _extends$s({}, userStyle, {
1582
1582
  animationDuration: delay + "ms",
1583
1583
  animationPlayState: isRunning ? 'running' : 'paused',
1584
1584
  opacity: hide ? 0 : 1
@@ -1855,9 +1855,9 @@ var ToastContainer = function ToastContainer(props) {
1855
1855
  ,
1856
1856
  id: containerId
1857
1857
  }, getToastToRender(function (position, toastList) {
1858
- var containerStyle = !toastList.length ? _extends$q({}, style, {
1858
+ var containerStyle = !toastList.length ? _extends$s({}, style, {
1859
1859
  pointerEvents: 'none'
1860
- }) : _extends$q({}, style);
1860
+ }) : _extends$s({}, style);
1861
1861
  return React.createElement("div", {
1862
1862
  className: getClassName(position),
1863
1863
  style: containerStyle,
@@ -1964,7 +1964,7 @@ function dispatchToast(content, options) {
1964
1964
 
1965
1965
 
1966
1966
  function mergeOptions(type, options) {
1967
- return _extends$q({}, options, {
1967
+ return _extends$s({}, options, {
1968
1968
  type: options && options.type || type,
1969
1969
  toastId: getToastId(options)
1970
1970
  });
@@ -1981,7 +1981,7 @@ function toast(content, options) {
1981
1981
  }
1982
1982
 
1983
1983
  toast.loading = function (content, options) {
1984
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$q({
1984
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$s({
1985
1985
  isLoading: true,
1986
1986
  autoClose: false,
1987
1987
  closeOnClick: false,
@@ -1997,7 +1997,7 @@ function handlePromise(promise, _ref2, options) {
1997
1997
  var id;
1998
1998
 
1999
1999
  if (pending) {
2000
- id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$q({}, options, pending));
2000
+ id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$s({}, options, pending));
2001
2001
  }
2002
2002
 
2003
2003
  var resetParams = {
@@ -2016,7 +2016,7 @@ function handlePromise(promise, _ref2, options) {
2016
2016
  return;
2017
2017
  }
2018
2018
 
2019
- var baseParams = _extends$q({
2019
+ var baseParams = _extends$s({
2020
2020
  type: type
2021
2021
  }, resetParams, options, {
2022
2022
  data: result
@@ -2027,10 +2027,10 @@ function handlePromise(promise, _ref2, options) {
2027
2027
  } : input; // if the id is set we know that it's an update
2028
2028
 
2029
2029
  if (id) {
2030
- toast.update(id, _extends$q({}, baseParams, params));
2030
+ toast.update(id, _extends$s({}, baseParams, params));
2031
2031
  } else {
2032
2032
  // using toast.promise without loading
2033
- toast(params.render, _extends$q({}, baseParams, params));
2033
+ toast(params.render, _extends$s({}, baseParams, params));
2034
2034
  }
2035
2035
 
2036
2036
  return result;
@@ -2054,7 +2054,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
2054
2054
  toast.warn = toast.warning;
2055
2055
 
2056
2056
  toast.dark = function (content, options) {
2057
- return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$q({
2057
+ return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$s({
2058
2058
  theme: 'dark'
2059
2059
  }, options)));
2060
2060
  };
@@ -2111,7 +2111,7 @@ toast.update = function (toastId, options) {
2111
2111
  var oldOptions = toast.props,
2112
2112
  oldContent = toast.content;
2113
2113
 
2114
- var nextOptions = _extends$q({}, oldOptions, options, {
2114
+ var nextOptions = _extends$s({}, oldOptions, options, {
2115
2115
  toastId: options.toastId || toastId,
2116
2116
  updateId: generateToastId()
2117
2117
  });
@@ -12028,16 +12028,16 @@ var Modal = function (_a) {
12028
12028
  }, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
12029
12029
  };
12030
12030
 
12031
- var _path$g;
12032
- 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); }
12031
+ var _path$i;
12032
+ 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); }
12033
12033
  var SvgIcCross = function SvgIcCross(props) {
12034
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
12034
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
12035
12035
  width: "1em",
12036
12036
  height: "1em",
12037
12037
  viewBox: "0 0 24 24",
12038
12038
  fill: "none",
12039
12039
  xmlns: "http://www.w3.org/2000/svg"
12040
- }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
12040
+ }, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
12041
12041
  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",
12042
12042
  fill: "#596168"
12043
12043
  })));
@@ -16336,30 +16336,30 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
16336
16336
 
16337
16337
  var Tippy = index;
16338
16338
 
16339
- var _path$f;
16340
- 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); }
16339
+ var _path$h;
16340
+ 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); }
16341
16341
  var SvgIcHelp = function SvgIcHelp(props) {
16342
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
16342
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$q({
16343
16343
  xmlns: "http://www.w3.org/2000/svg",
16344
16344
  width: "1em",
16345
16345
  height: "1em",
16346
16346
  viewBox: "0 0 24 24"
16347
- }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
16347
+ }, props), _path$h || (_path$h = /*#__PURE__*/React__namespace.createElement("path", {
16348
16348
  fill: "#767D84",
16349
16349
  fillRule: "evenodd",
16350
16350
  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"
16351
16351
  })));
16352
16352
  };
16353
16353
 
16354
- var _path$e;
16355
- 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); }
16354
+ var _path$g;
16355
+ 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); }
16356
16356
  var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
16357
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
16357
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({
16358
16358
  xmlns: "http://www.w3.org/2000/svg",
16359
16359
  viewBox: "0 0 17 16",
16360
16360
  width: "1em",
16361
16361
  height: "1em"
16362
- }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
16362
+ }, props), _path$g || (_path$g = /*#__PURE__*/React__namespace.createElement("path", {
16363
16363
  fill: "#767D84",
16364
16364
  fillRule: "evenodd",
16365
16365
  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"
@@ -16411,16 +16411,16 @@ function TippyCustomized(props) {
16411
16411
  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 })));
16412
16412
  }
16413
16413
 
16414
- var _path$d, _circle, _path2$2;
16415
- 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); }
16414
+ var _path$f, _circle, _path2$2;
16415
+ 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); }
16416
16416
  var SvgInjectTag = function SvgInjectTag(props) {
16417
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
16417
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$o({
16418
16418
  width: "1em",
16419
16419
  height: "1em",
16420
16420
  viewBox: "0 0 20 20",
16421
16421
  fill: "none",
16422
16422
  xmlns: "http://www.w3.org/2000/svg"
16423
- }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
16423
+ }, props), _path$f || (_path$f = /*#__PURE__*/React__namespace.createElement("path", {
16424
16424
  d: "M10 10H3.333",
16425
16425
  stroke: "#596168",
16426
16426
  strokeWidth: 1.5,
@@ -16448,15 +16448,15 @@ function PropagateTagInfo(_a) {
16448
16448
  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" })] })) })));
16449
16449
  }
16450
16450
 
16451
- var _path$c;
16452
- 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); }
16451
+ var _path$e;
16452
+ 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); }
16453
16453
  var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
16454
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
16454
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
16455
16455
  xmlns: "http://www.w3.org/2000/svg",
16456
16456
  width: "1em",
16457
16457
  height: "1em",
16458
16458
  viewBox: "0 0 20 20"
16459
- }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
16459
+ }, props), _path$e || (_path$e = /*#__PURE__*/React__namespace.createElement("path", {
16460
16460
  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",
16461
16461
  fill: "#06C",
16462
16462
  fillRule: "evenodd"
@@ -16690,15 +16690,15 @@ var TagDetails = function (_a) {
16690
16690
  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" }) }))] })));
16691
16691
  };
16692
16692
 
16693
- var _path$b;
16694
- 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); }
16693
+ var _path$d;
16694
+ 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); }
16695
16695
  var SvgIcAdd = function SvgIcAdd(props) {
16696
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
16696
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
16697
16697
  xmlns: "http://www.w3.org/2000/svg",
16698
16698
  width: "1em",
16699
16699
  height: "1em",
16700
16700
  viewBox: "0 0 24 24"
16701
- }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
16701
+ }, props), _path$d || (_path$d = /*#__PURE__*/React__namespace.createElement("path", {
16702
16702
  className: "ic-add_svg__fill-color",
16703
16703
  fill: "#999",
16704
16704
  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"
@@ -16828,8 +16828,8 @@ function ForceDeleteDialog(_a) {
16828
16828
  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?" })] }) })) }));
16829
16829
  }
16830
16830
 
16831
- function _extends$j() {
16832
- _extends$j = Object.assign ? Object.assign.bind() : function (target) {
16831
+ function _extends$l() {
16832
+ _extends$l = Object.assign ? Object.assign.bind() : function (target) {
16833
16833
  for (var i = 1; i < arguments.length; i++) {
16834
16834
  var source = arguments[i];
16835
16835
  for (var key in source) {
@@ -16840,7 +16840,7 @@ function _extends$j() {
16840
16840
  }
16841
16841
  return target;
16842
16842
  };
16843
- return _extends$j.apply(this, arguments);
16843
+ return _extends$l.apply(this, arguments);
16844
16844
  }
16845
16845
 
16846
16846
  /*
@@ -20381,7 +20381,7 @@ var Menu = function Menu(props) {
20381
20381
  getStyles = props.getStyles,
20382
20382
  innerRef = props.innerRef,
20383
20383
  innerProps = props.innerProps;
20384
- return jsx("div", _extends$j({
20384
+ return jsx("div", _extends$l({
20385
20385
  css: getStyles('menu', props),
20386
20386
  className: cx({
20387
20387
  menu: true
@@ -20413,7 +20413,7 @@ var MenuList$1 = function MenuList(props) {
20413
20413
  innerProps = props.innerProps,
20414
20414
  innerRef = props.innerRef,
20415
20415
  isMulti = props.isMulti;
20416
- return jsx("div", _extends$j({
20416
+ return jsx("div", _extends$l({
20417
20417
  css: getStyles('menuList', props),
20418
20418
  className: cx({
20419
20419
  'menu-list': true,
@@ -20444,7 +20444,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
20444
20444
  cx = props.cx,
20445
20445
  getStyles = props.getStyles,
20446
20446
  innerProps = props.innerProps;
20447
- return jsx("div", _extends$j({
20447
+ return jsx("div", _extends$l({
20448
20448
  css: getStyles('noOptionsMessage', props),
20449
20449
  className: cx({
20450
20450
  'menu-notice': true,
@@ -20461,7 +20461,7 @@ var LoadingMessage = function LoadingMessage(props) {
20461
20461
  cx = props.cx,
20462
20462
  getStyles = props.getStyles,
20463
20463
  innerProps = props.innerProps;
20464
- return jsx("div", _extends$j({
20464
+ return jsx("div", _extends$l({
20465
20465
  css: getStyles('loadingMessage', props),
20466
20466
  className: cx({
20467
20467
  'menu-notice': true,
@@ -20549,7 +20549,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
20549
20549
  rect: rect
20550
20550
  }; // same wrapper element whether fixed or portalled
20551
20551
 
20552
- var menuWrapper = jsx("div", _extends$j({
20552
+ var menuWrapper = jsx("div", _extends$l({
20553
20553
  css: getStyles('menuPortal', state),
20554
20554
  className: cx({
20555
20555
  'menu-portal': true
@@ -20585,7 +20585,7 @@ var SelectContainer = function SelectContainer(props) {
20585
20585
  innerProps = props.innerProps,
20586
20586
  isDisabled = props.isDisabled,
20587
20587
  isRtl = props.isRtl;
20588
- return jsx("div", _extends$j({
20588
+ return jsx("div", _extends$l({
20589
20589
  css: getStyles('container', props),
20590
20590
  className: cx({
20591
20591
  '--is-disabled': isDisabled,
@@ -20620,7 +20620,7 @@ var ValueContainer = function ValueContainer(props) {
20620
20620
  isMulti = props.isMulti,
20621
20621
  getStyles = props.getStyles,
20622
20622
  hasValue = props.hasValue;
20623
- return jsx("div", _extends$j({
20623
+ return jsx("div", _extends$l({
20624
20624
  css: getStyles('valueContainer', props),
20625
20625
  className: cx({
20626
20626
  'value-container': true,
@@ -20646,7 +20646,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
20646
20646
  cx = props.cx,
20647
20647
  innerProps = props.innerProps,
20648
20648
  getStyles = props.getStyles;
20649
- return jsx("div", _extends$j({
20649
+ return jsx("div", _extends$l({
20650
20650
  css: getStyles('indicatorsContainer', props),
20651
20651
  className: cx({
20652
20652
  indicators: true
@@ -20677,7 +20677,7 @@ var Svg = function Svg(_ref) {
20677
20677
  var size = _ref.size,
20678
20678
  props = _objectWithoutProperties(_ref, _excluded$2);
20679
20679
 
20680
- return jsx("svg", _extends$j({
20680
+ return jsx("svg", _extends$l({
20681
20681
  height: size,
20682
20682
  width: size,
20683
20683
  viewBox: "0 0 20 20",
@@ -20688,14 +20688,14 @@ var Svg = function Svg(_ref) {
20688
20688
  };
20689
20689
 
20690
20690
  var CrossIcon = function CrossIcon(props) {
20691
- return jsx(Svg, _extends$j({
20691
+ return jsx(Svg, _extends$l({
20692
20692
  size: 20
20693
20693
  }, props), jsx("path", {
20694
20694
  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"
20695
20695
  }));
20696
20696
  };
20697
20697
  var DownChevron = function DownChevron(props) {
20698
- return jsx(Svg, _extends$j({
20698
+ return jsx(Svg, _extends$l({
20699
20699
  size: 20
20700
20700
  }, props), jsx("path", {
20701
20701
  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"
@@ -20728,7 +20728,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
20728
20728
  cx = props.cx,
20729
20729
  getStyles = props.getStyles,
20730
20730
  innerProps = props.innerProps;
20731
- return jsx("div", _extends$j({
20731
+ return jsx("div", _extends$l({
20732
20732
  css: getStyles('dropdownIndicator', props),
20733
20733
  className: cx({
20734
20734
  indicator: true,
@@ -20743,7 +20743,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
20743
20743
  cx = props.cx,
20744
20744
  getStyles = props.getStyles,
20745
20745
  innerProps = props.innerProps;
20746
- return jsx("div", _extends$j({
20746
+ return jsx("div", _extends$l({
20747
20747
  css: getStyles('clearIndicator', props),
20748
20748
  className: cx({
20749
20749
  indicator: true,
@@ -20773,7 +20773,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
20773
20773
  cx = props.cx,
20774
20774
  getStyles = props.getStyles,
20775
20775
  innerProps = props.innerProps;
20776
- return jsx("span", _extends$j({}, innerProps, {
20776
+ return jsx("span", _extends$l({}, innerProps, {
20777
20777
  css: getStyles('indicatorSeparator', props),
20778
20778
  className: cx({
20779
20779
  'indicator-separator': true
@@ -20828,7 +20828,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
20828
20828
  getStyles = props.getStyles,
20829
20829
  innerProps = props.innerProps,
20830
20830
  isRtl = props.isRtl;
20831
- return jsx("div", _extends$j({
20831
+ return jsx("div", _extends$l({
20832
20832
  css: getStyles('loadingIndicator', props),
20833
20833
  className: cx({
20834
20834
  indicator: true,
@@ -20889,7 +20889,7 @@ var Control = function Control(props) {
20889
20889
  innerRef = props.innerRef,
20890
20890
  innerProps = props.innerProps,
20891
20891
  menuIsOpen = props.menuIsOpen;
20892
- return jsx("div", _extends$j({
20892
+ return jsx("div", _extends$l({
20893
20893
  ref: innerRef,
20894
20894
  css: getStyles('control', props),
20895
20895
  className: cx({
@@ -20921,12 +20921,12 @@ var Group = function Group(props) {
20921
20921
  label = props.label,
20922
20922
  theme = props.theme,
20923
20923
  selectProps = props.selectProps;
20924
- return jsx("div", _extends$j({
20924
+ return jsx("div", _extends$l({
20925
20925
  css: getStyles('group', props),
20926
20926
  className: cx({
20927
20927
  group: true
20928
20928
  }, className)
20929
- }, innerProps), jsx(Heading, _extends$j({}, headingProps, {
20929
+ }, innerProps), jsx(Heading, _extends$l({}, headingProps, {
20930
20930
  selectProps: selectProps,
20931
20931
  theme: theme,
20932
20932
  getStyles: getStyles,
@@ -20958,7 +20958,7 @@ var GroupHeading = function GroupHeading(props) {
20958
20958
  _cleanCommonProps.data;
20959
20959
  var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
20960
20960
 
20961
- return jsx("div", _extends$j({
20961
+ return jsx("div", _extends$l({
20962
20962
  css: getStyles('groupHeading', props),
20963
20963
  className: cx({
20964
20964
  'group-heading': true
@@ -21034,7 +21034,7 @@ var Input = function Input(props) {
21034
21034
  }, className),
21035
21035
  css: getStyles('input', props),
21036
21036
  "data-value": value || ''
21037
- }, jsx("input", _extends$j({
21037
+ }, jsx("input", _extends$l({
21038
21038
  className: cx({
21039
21039
  input: true
21040
21040
  }, inputClassName),
@@ -21104,7 +21104,7 @@ var MultiValueLabel = MultiValueGeneric;
21104
21104
  function MultiValueRemove$1(_ref5) {
21105
21105
  var children = _ref5.children,
21106
21106
  innerProps = _ref5.innerProps;
21107
- return jsx("div", _extends$j({
21107
+ return jsx("div", _extends$l({
21108
21108
  role: "button"
21109
21109
  }, innerProps), children || jsx(CrossIcon, {
21110
21110
  size: 14
@@ -21193,7 +21193,7 @@ var Option$1 = function Option(props) {
21193
21193
  isSelected = props.isSelected,
21194
21194
  innerRef = props.innerRef,
21195
21195
  innerProps = props.innerProps;
21196
- return jsx("div", _extends$j({
21196
+ return jsx("div", _extends$l({
21197
21197
  css: getStyles('option', props),
21198
21198
  className: cx({
21199
21199
  option: true,
@@ -21225,7 +21225,7 @@ var Placeholder = function Placeholder(props) {
21225
21225
  cx = props.cx,
21226
21226
  getStyles = props.getStyles,
21227
21227
  innerProps = props.innerProps;
21228
- return jsx("div", _extends$j({
21228
+ return jsx("div", _extends$l({
21229
21229
  css: getStyles('placeholder', props),
21230
21230
  className: cx({
21231
21231
  placeholder: true
@@ -21258,7 +21258,7 @@ var SingleValue = function SingleValue(props) {
21258
21258
  getStyles = props.getStyles,
21259
21259
  isDisabled = props.isDisabled,
21260
21260
  innerProps = props.innerProps;
21261
- return jsx("div", _extends$j({
21261
+ return jsx("div", _extends$l({
21262
21262
  css: getStyles('singleValue', props),
21263
21263
  className: cx({
21264
21264
  'single-value': true,
@@ -21506,7 +21506,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
21506
21506
  };
21507
21507
 
21508
21508
  var A11yText = function A11yText(props) {
21509
- return jsx("span", _extends$j({
21509
+ return jsx("span", _extends$l({
21510
21510
  css: _ref
21511
21511
  }, props));
21512
21512
  };
@@ -22042,7 +22042,7 @@ function DummyInput(_ref) {
22042
22042
  var innerRef = _ref.innerRef,
22043
22043
  props = _objectWithoutProperties(_ref, _excluded);
22044
22044
 
22045
- return jsx("input", _extends$j({
22045
+ return jsx("input", _extends$l({
22046
22046
  ref: innerRef
22047
22047
  }, props, {
22048
22048
  css: /*#__PURE__*/css$2({
@@ -23677,7 +23677,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23677
23677
 
23678
23678
  if (!isSearchable) {
23679
23679
  // use a dummy input to maintain focus/blur functionality
23680
- return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$j({
23680
+ return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$l({
23681
23681
  id: id,
23682
23682
  innerRef: this.getInputRef,
23683
23683
  onBlur: this.onInputBlur,
@@ -23691,7 +23691,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23691
23691
  }, ariaAttributes));
23692
23692
  }
23693
23693
 
23694
- return /*#__PURE__*/React__namespace.createElement(Input, _extends$j({}, commonProps, {
23694
+ return /*#__PURE__*/React__namespace.createElement(Input, _extends$l({}, commonProps, {
23695
23695
  autoCapitalize: "none",
23696
23696
  autoComplete: "off",
23697
23697
  autoCorrect: "off",
@@ -23735,7 +23735,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23735
23735
  isFocused = _this$state5.isFocused;
23736
23736
 
23737
23737
  if (!this.hasValue() || !controlShouldRenderValue) {
23738
- return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$j({}, commonProps, {
23738
+ return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$l({}, commonProps, {
23739
23739
  key: "placeholder",
23740
23740
  isDisabled: isDisabled,
23741
23741
  isFocused: isFocused,
@@ -23749,7 +23749,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23749
23749
  return selectValue.map(function (opt, index) {
23750
23750
  var isOptionFocused = opt === focusedValue;
23751
23751
  var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
23752
- return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$j({}, commonProps, {
23752
+ return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$l({}, commonProps, {
23753
23753
  components: {
23754
23754
  Container: MultiValueContainer,
23755
23755
  Label: MultiValueLabel,
@@ -23781,7 +23781,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23781
23781
  }
23782
23782
 
23783
23783
  var singleValue = selectValue[0];
23784
- return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$j({}, commonProps, {
23784
+ return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$l({}, commonProps, {
23785
23785
  data: singleValue,
23786
23786
  isDisabled: isDisabled
23787
23787
  }), this.formatOptionLabel(singleValue, 'value'));
@@ -23807,7 +23807,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23807
23807
  onTouchEnd: this.onClearIndicatorTouchEnd,
23808
23808
  'aria-hidden': 'true'
23809
23809
  };
23810
- return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$j({}, commonProps, {
23810
+ return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$l({}, commonProps, {
23811
23811
  innerProps: innerProps,
23812
23812
  isFocused: isFocused
23813
23813
  }));
@@ -23827,7 +23827,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23827
23827
  var innerProps = {
23828
23828
  'aria-hidden': 'true'
23829
23829
  };
23830
- return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$j({}, commonProps, {
23830
+ return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$l({}, commonProps, {
23831
23831
  innerProps: innerProps,
23832
23832
  isDisabled: isDisabled,
23833
23833
  isFocused: isFocused
@@ -23845,7 +23845,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23845
23845
  var commonProps = this.commonProps;
23846
23846
  var isDisabled = this.props.isDisabled;
23847
23847
  var isFocused = this.state.isFocused;
23848
- return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$j({}, commonProps, {
23848
+ return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$l({}, commonProps, {
23849
23849
  isDisabled: isDisabled,
23850
23850
  isFocused: isFocused
23851
23851
  }));
@@ -23865,7 +23865,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23865
23865
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
23866
23866
  'aria-hidden': 'true'
23867
23867
  };
23868
- return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$j({}, commonProps, {
23868
+ return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$l({}, commonProps, {
23869
23869
  innerProps: innerProps,
23870
23870
  isDisabled: isDisabled,
23871
23871
  isFocused: isFocused
@@ -23928,7 +23928,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23928
23928
  onMouseOver: onHover,
23929
23929
  tabIndex: -1
23930
23930
  };
23931
- return /*#__PURE__*/React__namespace.createElement(Option, _extends$j({}, commonProps, {
23931
+ return /*#__PURE__*/React__namespace.createElement(Option, _extends$l({}, commonProps, {
23932
23932
  innerProps: innerProps,
23933
23933
  data: data,
23934
23934
  isDisabled: isDisabled,
@@ -23952,7 +23952,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23952
23952
  groupIndex = item.index;
23953
23953
  var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
23954
23954
  var headingId = "".concat(groupId, "-heading");
23955
- return /*#__PURE__*/React__namespace.createElement(Group, _extends$j({}, commonProps, {
23955
+ return /*#__PURE__*/React__namespace.createElement(Group, _extends$l({}, commonProps, {
23956
23956
  key: groupId,
23957
23957
  data: _data,
23958
23958
  options: options,
@@ -23991,12 +23991,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
23991
23991
  menuPosition: menuPosition,
23992
23992
  menuShouldScrollIntoView: menuShouldScrollIntoView
23993
23993
  };
23994
- var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$j({}, commonProps, menuPlacementProps), function (_ref4) {
23994
+ var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$l({}, commonProps, menuPlacementProps), function (_ref4) {
23995
23995
  var ref = _ref4.ref,
23996
23996
  _ref4$placerProps = _ref4.placerProps,
23997
23997
  placement = _ref4$placerProps.placement,
23998
23998
  maxHeight = _ref4$placerProps.maxHeight;
23999
- return /*#__PURE__*/React__namespace.createElement(Menu, _extends$j({}, commonProps, menuPlacementProps, {
23999
+ return /*#__PURE__*/React__namespace.createElement(Menu, _extends$l({}, commonProps, menuPlacementProps, {
24000
24000
  innerRef: ref,
24001
24001
  innerProps: {
24002
24002
  onMouseDown: _this4.onMenuMouseDown,
@@ -24011,7 +24011,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24011
24011
  onBottomArrive: onMenuScrollToBottom,
24012
24012
  lockEnabled: menuShouldBlockScroll
24013
24013
  }, function (scrollTargetRef) {
24014
- return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$j({}, commonProps, {
24014
+ return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$l({}, commonProps, {
24015
24015
  innerRef: function innerRef(instance) {
24016
24016
  _this4.getMenuListRef(instance);
24017
24017
 
@@ -24026,7 +24026,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24026
24026
  // so we use the same component. the actual portalling logic is forked
24027
24027
  // within the component based on `menuPosition`
24028
24028
 
24029
- return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$j({}, commonProps, {
24029
+ return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$l({}, commonProps, {
24030
24030
  appendTo: menuPortalTarget,
24031
24031
  controlElement: this.controlRef,
24032
24032
  menuPlacement: menuPlacement,
@@ -24091,7 +24091,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24091
24091
  isFocused = _this$state6.isFocused,
24092
24092
  selectValue = _this$state6.selectValue;
24093
24093
  var focusableOptions = this.getFocusableOptions();
24094
- return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$j({}, commonProps, {
24094
+ return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$l({}, commonProps, {
24095
24095
  id: this.getElementId('live-region'),
24096
24096
  ariaSelection: ariaSelection,
24097
24097
  focusedOption: focusedOption,
@@ -24117,7 +24117,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24117
24117
  menuIsOpen = _this$props14.menuIsOpen;
24118
24118
  var isFocused = this.state.isFocused;
24119
24119
  var commonProps = this.commonProps = this.getCommonProps();
24120
- return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$j({}, commonProps, {
24120
+ return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$l({}, commonProps, {
24121
24121
  className: className,
24122
24122
  innerProps: {
24123
24123
  id: id,
@@ -24125,7 +24125,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24125
24125
  },
24126
24126
  isDisabled: isDisabled,
24127
24127
  isFocused: isFocused
24128
- }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$j({}, commonProps, {
24128
+ }), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$l({}, commonProps, {
24129
24129
  innerRef: this.getControlRef,
24130
24130
  innerProps: {
24131
24131
  onMouseDown: this.onControlMouseDown,
@@ -24134,9 +24134,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
24134
24134
  isDisabled: isDisabled,
24135
24135
  isFocused: isFocused,
24136
24136
  menuIsOpen: menuIsOpen
24137
- }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$j({}, commonProps, {
24137
+ }), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$l({}, commonProps, {
24138
24138
  isDisabled: isDisabled
24139
- }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$j({}, commonProps, {
24139
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$l({}, commonProps, {
24140
24140
  isDisabled: isDisabled
24141
24141
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
24142
24142
  }
@@ -24209,7 +24209,7 @@ Select$1.defaultProps = defaultProps;
24209
24209
 
24210
24210
  var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24211
24211
  var baseSelectProps = useStateManager(props);
24212
- return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$j({
24212
+ return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$l({
24213
24213
  ref: ref
24214
24214
  }, baseSelectProps));
24215
24215
  });
@@ -24217,9 +24217,9 @@ var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
24217
24217
  var ReactSelect = StateManagedSelect;
24218
24218
 
24219
24219
  var _g$6;
24220
- 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); }
24220
+ 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); }
24221
24221
  var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24222
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
24222
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
24223
24223
  xmlns: "http://www.w3.org/2000/svg",
24224
24224
  viewBox: "0 0 28 28",
24225
24225
  width: "1em",
@@ -24240,15 +24240,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
24240
24240
  }))));
24241
24241
  };
24242
24242
 
24243
- var _path$a;
24244
- 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); }
24243
+ var _path$c;
24244
+ 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); }
24245
24245
  var SvgIcCheck = function SvgIcCheck(props) {
24246
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
24246
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
24247
24247
  xmlns: "http://www.w3.org/2000/svg",
24248
24248
  width: "1em",
24249
24249
  height: "1em",
24250
24250
  viewBox: "0 0 24 24"
24251
- }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
24251
+ }, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
24252
24252
  stroke: "#06C",
24253
24253
  strokeLinecap: "round",
24254
24254
  strokeLinejoin: "round",
@@ -24260,9 +24260,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
24260
24260
  };
24261
24261
 
24262
24262
  var _g$5;
24263
- 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); }
24263
+ 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); }
24264
24264
  var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
24265
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
24265
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
24266
24266
  xmlns: "http://www.w3.org/2000/svg",
24267
24267
  width: "1em",
24268
24268
  height: "1em",
@@ -24606,9 +24606,9 @@ var Checkbox$1 = /** @class */ (function (_super) {
24606
24606
  }(React.Component));
24607
24607
 
24608
24608
  var _g$4;
24609
- 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); }
24609
+ 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); }
24610
24610
  var SvgIcSearch = function SvgIcSearch(props) {
24611
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24611
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
24612
24612
  xmlns: "http://www.w3.org/2000/svg",
24613
24613
  viewBox: "0 0 24 24",
24614
24614
  width: "1em",
@@ -24625,9 +24625,9 @@ var SvgIcSearch = function SvgIcSearch(props) {
24625
24625
  };
24626
24626
 
24627
24627
  var _g$3;
24628
- 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); }
24628
+ 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); }
24629
24629
  var SvgIcErrorCross = function SvgIcErrorCross(props) {
24630
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24630
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
24631
24631
  xmlns: "http://www.w3.org/2000/svg",
24632
24632
  width: "1em",
24633
24633
  height: "1em",
@@ -24867,9 +24867,9 @@ exports.ConsequenceAction = void 0;
24867
24867
  })(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
24868
24868
 
24869
24869
  var _g$2;
24870
- 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); }
24870
+ 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); }
24871
24871
  var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
24872
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24872
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
24873
24873
  xmlns: "http://www.w3.org/2000/svg",
24874
24874
  width: "1em",
24875
24875
  height: "1em",
@@ -24948,16 +24948,16 @@ function DeleteComponent(_a) {
24948
24948
  return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
24949
24949
  }
24950
24950
 
24951
- var _path$9;
24952
- function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
24951
+ var _path$b;
24952
+ 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); }
24953
24953
  var SvgIcPencil = function SvgIcPencil(props) {
24954
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
24954
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
24955
24955
  width: "1em",
24956
24956
  height: "1em",
24957
24957
  viewBox: "0 0 20 20",
24958
24958
  fill: "none",
24959
24959
  xmlns: "http://www.w3.org/2000/svg"
24960
- }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
24960
+ }, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
24961
24961
  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",
24962
24962
  stroke: "#596168",
24963
24963
  strokeWidth: 1.5,
@@ -24966,16 +24966,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
24966
24966
  })));
24967
24967
  };
24968
24968
 
24969
- var _path$8, _path2$1, _path3;
24970
- function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
24969
+ var _path$a, _path2$1, _path3;
24970
+ 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); }
24971
24971
  var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24972
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
24972
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
24973
24973
  width: "1em",
24974
24974
  height: "1em",
24975
24975
  viewBox: "0 0 12 12",
24976
24976
  fill: "none",
24977
24977
  xmlns: "http://www.w3.org/2000/svg"
24978
- }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
24978
+ }, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
24979
24979
  d: "M3.742 4.674h-2.25v-2.25",
24980
24980
  fill: "#767D84"
24981
24981
  })), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
@@ -24993,15 +24993,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
24993
24993
  })));
24994
24994
  };
24995
24995
 
24996
- var _path$7;
24997
- function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
24996
+ var _path$9;
24997
+ 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); }
24998
24998
  var SvgIcMinus = function SvgIcMinus(props) {
24999
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
24999
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
25000
25000
  xmlns: "http://www.w3.org/2000/svg",
25001
25001
  width: "1em",
25002
25002
  height: "1em",
25003
25003
  viewBox: "0 0 14 14"
25004
- }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
25004
+ }, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
25005
25005
  fill: "#959BA1",
25006
25006
  className: "ic-minus_svg__fill-color",
25007
25007
  fillRule: "evenodd",
@@ -25010,9 +25010,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
25010
25010
  };
25011
25011
 
25012
25012
  var _g$1;
25013
- 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); }
25013
+ 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); }
25014
25014
  var SvgIcWarning = function SvgIcWarning(props) {
25015
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25015
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
25016
25016
  xmlns: "http://www.w3.org/2000/svg",
25017
25017
  width: "1em",
25018
25018
  height: "1em",
@@ -25032,9 +25032,9 @@ var SvgIcWarning = function SvgIcWarning(props) {
25032
25032
  };
25033
25033
 
25034
25034
  var _g;
25035
- 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); }
25035
+ 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); }
25036
25036
  var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25037
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25037
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
25038
25038
  xmlns: "http://www.w3.org/2000/svg",
25039
25039
  width: "1em",
25040
25040
  height: "1em",
@@ -25051,16 +25051,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
25051
25051
  }))));
25052
25052
  };
25053
25053
 
25054
- var _path$6;
25055
- function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
25054
+ var _path$8;
25055
+ 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); }
25056
25056
  var SvgIcEnter = function SvgIcEnter(props) {
25057
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
25057
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
25058
25058
  width: "1em",
25059
25059
  height: "1em",
25060
25060
  viewBox: "0 0 16 16",
25061
25061
  fill: "none",
25062
25062
  xmlns: "http://www.w3.org/2000/svg"
25063
- }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
25063
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
25064
25064
  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",
25065
25065
  fill: "#3B444C"
25066
25066
  })));
@@ -25466,15 +25466,15 @@ function Grid(_a) {
25466
25466
  return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, containerDivProps, { children: children })));
25467
25467
  }
25468
25468
 
25469
- var _path$5;
25470
- function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
25469
+ var _path$7;
25470
+ 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); }
25471
25471
  var SvgIcCopy = function SvgIcCopy(props) {
25472
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
25472
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
25473
25473
  xmlns: "http://www.w3.org/2000/svg",
25474
25474
  width: "1em",
25475
25475
  height: "1em",
25476
25476
  viewBox: "0 0 20 20"
25477
- }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
25477
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
25478
25478
  fill: "#767D84",
25479
25479
  fillRule: "evenodd",
25480
25480
  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"
@@ -28306,15 +28306,15 @@ var getInferredTypeFromValueType = function (value) {
28306
28306
  }
28307
28307
  };
28308
28308
 
28309
- var _path$4;
28310
- function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
28309
+ var _path$6;
28310
+ 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); }
28311
28311
  var SvgIcChevronDown = function SvgIcChevronDown(props) {
28312
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
28312
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
28313
28313
  xmlns: "http://www.w3.org/2000/svg",
28314
28314
  width: "1em",
28315
28315
  height: "1em",
28316
28316
  viewBox: "0 0 24 24"
28317
- }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
28317
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
28318
28318
  fill: "#999",
28319
28319
  className: "ic-chevron-down_svg__fill-color",
28320
28320
  fillRule: "nonzero",
@@ -28373,16 +28373,16 @@ var Form = RJSF.default;
28373
28373
  var validator = RJSFValidator.default;
28374
28374
  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 }))); };
28375
28375
 
28376
- var _style, _rect;
28377
- function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
28376
+ var _style, _rect$2;
28377
+ 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); }
28378
28378
  var SvgIcRotateDevtron = function SvgIcRotateDevtron(props) {
28379
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
28379
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
28380
28380
  width: "1em",
28381
28381
  height: "1em",
28382
28382
  viewBox: "0 0 100 100",
28383
28383
  fill: "none",
28384
28384
  xmlns: "http://www.w3.org/2000/svg"
28385
- }, 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", {
28385
+ }, 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", {
28386
28386
  width: 100,
28387
28387
  height: 100,
28388
28388
  rx: 20,
@@ -28654,16 +28654,16 @@ function DraggableWrapper(_a) {
28654
28654
  } }, { children: children })) })) })));
28655
28655
  }
28656
28656
 
28657
- var _path$3;
28658
- 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); }
28657
+ var _path$5;
28658
+ 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); }
28659
28659
  var SvgIcDrag = function SvgIcDrag(props) {
28660
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
28660
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
28661
28661
  width: "1em",
28662
28662
  height: "1em",
28663
28663
  viewBox: "0 0 16 16",
28664
28664
  fill: "none",
28665
28665
  xmlns: "http://www.w3.org/2000/svg"
28666
- }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
28666
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
28667
28667
  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",
28668
28668
  fill: "#596168"
28669
28669
  })));
@@ -28785,16 +28785,16 @@ var Pagination = function (_a) {
28785
28785
  jsxRuntime.jsxs("div", __assign({ className: rootClassName || '' }, { children: [jsxRuntime.jsxs("div", __assign({ className: "page-number" }, { children: [offset + 1, " - ", lastPageNo, " of ", size] })), jsxRuntime.jsxs("ul", __assign({ className: "pagination" }, { children: [jsxRuntime.jsx("li", __assign({ className: "page" }, { children: jsxRuntime.jsx("button", __assign({ className: "page__button page__button--icon", disabled: !pageNoIndex, onClick: selectPreviousPage, type: "button", "aria-label": "Previous page" }, { children: jsxRuntime.jsx("span", __assign({ className: "left-icon" }, { children: jsxRuntime.jsx("i", { className: "fa fa-chevron-left" }) })) })) })), visiblePages.map(function (page) { return (jsxRuntime.jsx(PageValueItem, { value: page.value, isSelected: page.selected, selectPage: selectPage }, page.value)); }), jsxRuntime.jsx("li", __assign({ className: "page" }, { children: jsxRuntime.jsx("button", __assign({ className: "page__button page__button--icon", disabled: pageNoIndex === pages.length - 1, onClick: selectNextPage, type: "button", "aria-label": "Next page" }, { children: jsxRuntime.jsx("span", __assign({ className: "left-icon" }, { children: jsxRuntime.jsx("i", { className: "fa fa-chevron-right" }) })) })) }))] })), !isPageSizeFix && (jsxRuntime.jsxs("div", __assign({ className: "select" }, { children: [jsxRuntime.jsx("span", __assign({ className: "select__placeholder" }, { children: "Rows per page" })), jsxRuntime.jsx(PageSizeSelector, { pageSizeOptions: pageSizeOptions, pageSize: pageSize, changePageSize: changePageSize })] })))] })));
28786
28786
  };
28787
28787
 
28788
- var _path$2, _path2;
28789
- 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); }
28788
+ var _path$4, _path2;
28789
+ 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); }
28790
28790
  var SvgIcCpu = function SvgIcCpu(props) {
28791
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
28791
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
28792
28792
  xmlns: "http://www.w3.org/2000/svg",
28793
28793
  width: "1em",
28794
28794
  height: "1em",
28795
28795
  viewBox: "0 0 20 20",
28796
28796
  fill: "none"
28797
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
28797
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
28798
28798
  d: "M12.5 5.625h-5m5 2.5h-5m8.125-5v13.75c0 .345-.28.625-.625.625H5a.625.625 0 0 1-.625-.625V3.125c0-.345.28-.625.625-.625h10c.345 0 .625.28.625.625Z",
28799
28799
  stroke: "#596168",
28800
28800
  strokeWidth: 1.5,
@@ -28806,16 +28806,16 @@ var SvgIcCpu = function SvgIcCpu(props) {
28806
28806
  })));
28807
28807
  };
28808
28808
 
28809
- var _path$1;
28810
- 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); }
28809
+ var _path$3;
28810
+ 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); }
28811
28811
  var SvgIcMemory = function SvgIcMemory(props) {
28812
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
28812
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
28813
28813
  xmlns: "http://www.w3.org/2000/svg",
28814
28814
  width: "1em",
28815
28815
  height: "1em",
28816
28816
  viewBox: "0 0 20 20",
28817
28817
  fill: "none"
28818
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
28818
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
28819
28819
  d: "M16.25 8.125h1.875m-1.875 3.75h1.875m-16.25-3.75H3.75m-1.875 3.75H3.75m8.125 4.375v1.875m-3.75-1.875v1.875m3.75-16.25V3.75m-3.75-1.875V3.75m-.313 4.063h4.375v4.375H7.814V7.811ZM4.376 3.75h11.25c.345 0 .625.28.625.625v11.25c0 .345-.28.625-.625.625H4.375a.625.625 0 0 1-.625-.625V4.375c0-.345.28-.625.625-.625Z",
28820
28820
  stroke: "#596168",
28821
28821
  strokeWidth: 1.5,
@@ -28824,16 +28824,16 @@ var SvgIcMemory = function SvgIcMemory(props) {
28824
28824
  })));
28825
28825
  };
28826
28826
 
28827
- var _path;
28828
- 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); }
28827
+ var _path$2;
28828
+ 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); }
28829
28829
  var SvgIcTimer = function SvgIcTimer(props) {
28830
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
28830
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
28831
28831
  xmlns: "http://www.w3.org/2000/svg",
28832
28832
  width: "1em",
28833
28833
  height: "1em",
28834
28834
  viewBox: "0 0 20 20",
28835
28835
  fill: "none"
28836
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
28836
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
28837
28837
  d: "m10 11.041 3.094-3.093M8.125 1.666h3.75m5 9.376a6.875 6.875 0 1 1-13.75 0 6.875 6.875 0 0 1 13.75 0Z",
28838
28838
  stroke: "#596168",
28839
28839
  strokeWidth: 1.5,
@@ -29220,6 +29220,16 @@ var SelectOption = function (props) {
29220
29220
  return showTippy ? (jsxRuntime.jsx(Tippy, __assign({ className: tippyClass || 'default-white', arrow: false, placement: placement || 'right', content: tippyContent || data.label }, { children: getOption() }))) : (getOption());
29221
29221
  };
29222
29222
 
29223
+ var BulkSelectionDropdownItems = function (_a) {
29224
+ var locator = _a.locator, label = _a.label, isSelected = _a.isSelected, handleBulkSelection = _a.handleBulkSelection, Icon = _a.icon;
29225
+ var handleSelect = function () {
29226
+ handleBulkSelection({
29227
+ action: locator,
29228
+ });
29229
+ };
29230
+ 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 ".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] })));
29231
+ };
29232
+
29223
29233
  exports.BulkSelectionEvents = void 0;
29224
29234
  (function (BulkSelectionEvents) {
29225
29235
  BulkSelectionEvents["CLEAR_ALL_SELECTIONS"] = "CLEAR_ALL_SELECTIONS";
@@ -29237,11 +29247,175 @@ exports.SelectAllDialogStatus = void 0;
29237
29247
  })(exports.SelectAllDialogStatus || (exports.SelectAllDialogStatus = {}));
29238
29248
 
29239
29249
  var _a;
29240
- (_a = {},
29250
+ var BULK_DROPDOWN_TEST_ID = 'bulk-selection-pop-up-menu';
29251
+ var BulkSelectionOptionsLabels = (_a = {},
29241
29252
  _a[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE] = 'All on this page',
29242
29253
  _a[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES] = 'All across pages',
29243
29254
  _a[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS] = 'Clear all selections',
29244
- _a);
29255
+ _a);
29256
+ // Considering application can not be named as *
29257
+ var SELECT_ALL_ACROSS_PAGES_LOCATOR = '*';
29258
+ var getInvalidActionMessage = function (action) { return "Invalid action ".concat(action, " passed to useBulkSelection"); };
29259
+
29260
+ var _rect$1, _path$1;
29261
+ 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); }
29262
+ var SvgIcCheckSquare = function SvgIcCheckSquare(props) {
29263
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
29264
+ width: "1em",
29265
+ height: "1em",
29266
+ viewBox: "0 0 16 16",
29267
+ fill: "none",
29268
+ xmlns: "http://www.w3.org/2000/svg"
29269
+ }, props), _rect$1 || (_rect$1 = /*#__PURE__*/React__namespace.createElement("rect", {
29270
+ x: 2,
29271
+ y: 2,
29272
+ width: 12,
29273
+ height: 12,
29274
+ rx: 2,
29275
+ stroke: "#596168",
29276
+ strokeWidth: 1.5,
29277
+ strokeLinecap: "round",
29278
+ strokeLinejoin: "round"
29279
+ })), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
29280
+ d: "m11.208 5.958-4.083 4.083L5.083 8",
29281
+ stroke: "#596168",
29282
+ strokeWidth: 1.5,
29283
+ strokeLinecap: "round",
29284
+ strokeLinejoin: "round"
29285
+ })));
29286
+ };
29287
+
29288
+ var _rect, _path;
29289
+ 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); }
29290
+ var SvgIcCheckAll = function SvgIcCheckAll(props) {
29291
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
29292
+ width: "1em",
29293
+ height: "1em",
29294
+ viewBox: "0 0 17 17",
29295
+ fill: "none",
29296
+ xmlns: "http://www.w3.org/2000/svg"
29297
+ }, props), _rect || (_rect = /*#__PURE__*/React__namespace.createElement("rect", {
29298
+ x: 2,
29299
+ y: 2,
29300
+ width: 11.2,
29301
+ height: 11.2,
29302
+ rx: 2,
29303
+ stroke: "#596168",
29304
+ strokeWidth: 1.5,
29305
+ strokeLinecap: "round",
29306
+ strokeLinejoin: "round"
29307
+ })), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
29308
+ d: "M15.467 5.866v5.6a4 4 0 0 1-4 4h-5.6M10.35 5.85l-3.5 3.5L5.1 7.6",
29309
+ stroke: "#596168",
29310
+ strokeWidth: 1.5,
29311
+ strokeLinecap: "round",
29312
+ strokeLinejoin: "round"
29313
+ })));
29314
+ };
29315
+
29316
+ var BulkSelection = function (_a) {
29317
+ var checkboxValue = _a.checkboxValue, isChecked = _a.isChecked, selectedIdentifiers = _a.selectedIdentifiers, handleBulkSelection = _a.handleBulkSelection, showPagination = _a.showPagination;
29318
+ var areOptionsSelected = Object.keys(selectedIdentifiers).length > 0;
29319
+ var BulkSelectionItems = __spreadArray(__spreadArray([
29320
+ {
29321
+ locator: exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE,
29322
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE],
29323
+ isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.CHECKED,
29324
+ icon: SvgIcCheckSquare,
29325
+ }
29326
+ ], __read((showPagination
29327
+ ? [
29328
+ {
29329
+ locator: exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES,
29330
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES],
29331
+ isSelected: isChecked && checkboxValue === exports.CHECKBOX_VALUE.BULK_CHECKED,
29332
+ icon: SvgIcCheckAll,
29333
+ },
29334
+ ]
29335
+ : [])), false), __read((areOptionsSelected
29336
+ ? [
29337
+ {
29338
+ locator: exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS,
29339
+ label: BulkSelectionOptionsLabels[exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS],
29340
+ isSelected: false,
29341
+ icon: SvgIcCross,
29342
+ },
29343
+ ]
29344
+ : [])), false);
29345
+ 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", value: checkboxValue }), jsxRuntime.jsx(SvgIcChevronDown, { className: "icon-dim-20 icon-n6" })] })), 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)); }) }))] })));
29346
+ };
29347
+
29348
+ var useBulkSelection = function (_a) {
29349
+ var identifiers = _a.identifiers, getSelectAllDialogStatus = _a.getSelectAllDialogStatus;
29350
+ var _b = __read(React.useState({}), 2), selectedIdentifiers = _b[0], setSelectedIdentifiers = _b[1];
29351
+ var setIdentifiersAfterClear = function (newIdentifiers, selectedIds) {
29352
+ var _newIdentifiers = JSON.parse(JSON.stringify(newIdentifiers));
29353
+ selectedIds.forEach(function (id) {
29354
+ delete _newIdentifiers[id];
29355
+ });
29356
+ setSelectedIdentifiers(_newIdentifiers);
29357
+ };
29358
+ var setIdentifiersAfterPageSelection = function (baseObject) {
29359
+ var _selectedIdentifiers = JSON.parse(JSON.stringify(selectedIdentifiers));
29360
+ // removing bulk selection across pages if present
29361
+ if (_selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR]) {
29362
+ delete _selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR];
29363
+ }
29364
+ setSelectedIdentifiers(__assign(__assign({}, _selectedIdentifiers), baseObject));
29365
+ };
29366
+ var handleBulkSelection = function (_a) {
29367
+ var _b, _c;
29368
+ var _d, _e;
29369
+ var action = _a.action, data = _a.data;
29370
+ var selectedIds = (_d = data === null || data === void 0 ? void 0 : data.identifierIds) !== null && _d !== void 0 ? _d : [];
29371
+ var identifierObject = (_e = data === null || data === void 0 ? void 0 : data.identifierObject) !== null && _e !== void 0 ? _e : {};
29372
+ switch (action) {
29373
+ case exports.BulkSelectionEvents.CLEAR_ALL_SELECTIONS:
29374
+ setSelectedIdentifiers({});
29375
+ break;
29376
+ case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
29377
+ setIdentifiersAfterClear(identifiers, selectedIds);
29378
+ break;
29379
+ }
29380
+ case exports.BulkSelectionEvents.CLEAR_IDENTIFIERS: {
29381
+ setIdentifiersAfterClear(selectedIdentifiers, selectedIds);
29382
+ break;
29383
+ }
29384
+ case exports.BulkSelectionEvents.SELECT_ALL_ACROSS_PAGES: {
29385
+ if (selectedIdentifiers[SELECT_ALL_ACROSS_PAGES_LOCATOR]) {
29386
+ return;
29387
+ }
29388
+ var selectedIdentifiersLength = Object.keys(selectedIdentifiers).length;
29389
+ if (selectedIdentifiersLength > 0 && getSelectAllDialogStatus() === exports.SelectAllDialogStatus.OPEN) {
29390
+ return;
29391
+ }
29392
+ setSelectedIdentifiers((_b = {},
29393
+ _b[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29394
+ _b));
29395
+ break;
29396
+ }
29397
+ case exports.BulkSelectionEvents.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
29398
+ setSelectedIdentifiers((_c = {},
29399
+ _c[SELECT_ALL_ACROSS_PAGES_LOCATOR] = true,
29400
+ _c));
29401
+ break;
29402
+ case exports.BulkSelectionEvents.SELECT_ALL_ON_PAGE: {
29403
+ setIdentifiersAfterPageSelection(identifiers);
29404
+ break;
29405
+ }
29406
+ case exports.BulkSelectionEvents.SELECT_IDENTIFIER: {
29407
+ setIdentifiersAfterPageSelection(identifierObject);
29408
+ break;
29409
+ }
29410
+ default:
29411
+ throw new Error(getInvalidActionMessage(action));
29412
+ }
29413
+ };
29414
+ return {
29415
+ handleBulkSelection: handleBulkSelection,
29416
+ selectedIdentifiers: selectedIdentifiers,
29417
+ };
29418
+ };
29245
29419
 
29246
29420
  var validateName = function (name) {
29247
29421
  if (!/^.{3,50}$/.test(name)) {
@@ -29733,6 +29907,7 @@ exports.BUILD_INFRA_FORM_FIELDS = BUILD_INFRA_FORM_FIELDS;
29733
29907
  exports.BUILD_INFRA_INPUT_CONSTRAINTS = BUILD_INFRA_INPUT_CONSTRAINTS;
29734
29908
  exports.BUILD_INFRA_TEST_IDS = BUILD_INFRA_TEST_IDS;
29735
29909
  exports.BUILD_INFRA_TEXT = BUILD_INFRA_TEXT;
29910
+ exports.BULK_DROPDOWN_TEST_ID = BULK_DROPDOWN_TEST_ID;
29736
29911
  exports.BreadCrumb = BreadCrumb;
29737
29912
  exports.BreadcrumbStore = Store;
29738
29913
  exports.BuildInfraConfigActionMap = BuildInfraConfigActionMap;
@@ -29740,6 +29915,8 @@ exports.BuildInfraConfigForm = BuildInfraConfigForm;
29740
29915
  exports.BuildInfraDescriptor = Descriptor;
29741
29916
  exports.BuildInfraFooter = Footer;
29742
29917
  exports.BuildStageVariable = BuildStageVariable;
29918
+ exports.BulkSelection = BulkSelection;
29919
+ exports.BulkSelectionOptionsLabels = BulkSelectionOptionsLabels;
29743
29920
  exports.CDModalTab = CDModalTab;
29744
29921
  exports.CREATE_MODE_REQUIRED_INPUT_FIELDS = CREATE_MODE_REQUIRED_INPUT_FIELDS;
29745
29922
  exports.CREATE_PROFILE_BASE_VALUE = CREATE_PROFILE_BASE_VALUE;
@@ -29801,6 +29978,7 @@ exports.RepositoryAction = RepositoryAction;
29801
29978
  exports.ResizableTagTextArea = ResizableTagTextArea;
29802
29979
  exports.ResizableTextarea = ResizableTextarea;
29803
29980
  exports.SELECTED_APPROVAL_TAB_STATE = SELECTED_APPROVAL_TAB_STATE;
29981
+ exports.SELECT_ALL_ACROSS_PAGES_LOCATOR = SELECT_ALL_ACROSS_PAGES_LOCATOR;
29804
29982
  exports.ScanVulnerabilitiesTable = ScanVulnerabilitiesTable;
29805
29983
  exports.SearchBar = SearchBar;
29806
29984
  exports.SelectOption = SelectOption;
@@ -29842,6 +30020,7 @@ exports.getCustomOptionSelectionStyle = getCustomOptionSelectionStyle;
29842
30020
  exports.getEmptyArrayOfLength = getEmptyArrayOfLength;
29843
30021
  exports.getFilteredChartVersions = getFilteredChartVersions;
29844
30022
  exports.getInferredTypeFromValueType = getInferredTypeFromValueType;
30023
+ exports.getInvalidActionMessage = getInvalidActionMessage;
29845
30024
  exports.getIsRequestAborted = getIsRequestAborted;
29846
30025
  exports.getLockedJSON = getLockedJSON;
29847
30026
  exports.getLoginInfo = getLoginInfo;
@@ -29873,6 +30052,7 @@ exports.updateBuildInfraProfile = updateBuildInfraProfile;
29873
30052
  exports.useAsync = useAsync;
29874
30053
  exports.useBreadcrumb = useBreadcrumb;
29875
30054
  exports.useBuildInfraForm = useBuildInfraForm;
30055
+ exports.useBulkSelection = useBulkSelection;
29876
30056
  exports.useClickOutside = useClickOutside;
29877
30057
  exports.useEffectAfterMount = useEffectAfterMount;
29878
30058
  exports.useForm = useForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.59-beta-1",
3
+ "version": "0.0.59-beta-2",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,3 +1,4 @@
1
- export * from './BulkSelection'
2
- export * from './types'
1
+ export { default as BulkSelection } from './BulkSelection'
2
+ export { default as useBulkSelection } from './UseBulkSelection'
3
3
  export * from './types'
4
+ export * from './constants'