@devtron-labs/devtron-fe-common-lib 0.0.53-beta-5 → 0.0.53-beta-6
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/Common/Common.service.d.ts +2 -2
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +0 -2
- package/dist/Common/Helper.d.ts +0 -4
- package/dist/Common/Types.d.ts +4 -15
- package/dist/Common/index.d.ts +0 -1
- package/dist/index.js +146 -261
- package/package.json +1 -1
- package/src/Common/Common.service.ts +2 -0
- package/src/Common/DebouncedSearch/DebouncedSearch.tsx +0 -2
- package/src/Common/Helper.tsx +0 -15
- package/src/Common/Types.ts +4 -15
- package/src/Common/index.ts +0 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +0 -39
- package/dist/Common/SearchBar/index.d.ts +0 -2
- package/dist/Common/SearchBar/types.d.ts +0 -35
- package/src/Assets/Icon/ic-search.svg +0 -6
- package/src/Common/SearchBar/SearchBar.component.tsx +0 -120
- package/src/Common/SearchBar/index.ts +0 -2
- package/src/Common/SearchBar/searchBar.scss +0 -31
- package/src/Common/SearchBar/types.ts +0 -36
package/dist/index.js
CHANGED
|
@@ -752,18 +752,18 @@ function styleInject(css, ref) {
|
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
var css_248z$
|
|
756
|
-
styleInject(css_248z$
|
|
755
|
+
var css_248z$7 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n height: 40%;\n max-height: 200px;\n width: auto;\n max-width: 250px;\n}\n.empty-state svg {\n height: 40%;\n max-height: 200px;\n width: auto;\n}\n.empty-state h1,\n.empty-state h2,\n.empty-state h3,\n.empty-state h4,\n.empty-state h5,\n.empty-state h6 {\n color: var(--N900);\n}\n.empty-state .subtitle {\n font-size: 13px;\n font-weight: 400;\n text-align: center;\n line-height: 1.5;\n margin-bottom: 6px;\n}\n.empty-state .subtitle--text-start {\n text-align: start;\n}\n.empty-state .cta {\n height: 36px;\n}\n.empty-state p {\n text-align: center;\n font-size: 13px;\n color: var(--N700);\n}\n.empty-state strong {\n font-size: 16px;\n margin-bottom: 4px;\n color: var(--N900);\n font-weight: normal;\n}\n.empty-state .select-popup {\n height: min-content;\n max-height: 250px;\n overflow: auto;\n padding: 8px 0;\n}\n.empty-state .empty-state__loader {\n width: 34px;\n height: 34px;\n margin-bottom: 16px;\n}\n.empty-state .empty-state__loading-text {\n font-size: 12px;\n width: 200px;\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.5;\n letter-spacing: normal;\n text-align: center;\n color: var(--N900);\n}\n.empty-state .button__icon {\n width: 16px;\n height: 16px;\n margin-left: 8px;\n}";
|
|
756
|
+
styleInject(css_248z$7);
|
|
757
757
|
|
|
758
|
-
var _g$
|
|
759
|
-
function _extends$
|
|
758
|
+
var _g$6;
|
|
759
|
+
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); }
|
|
760
760
|
var SvgIcProgressing = function SvgIcProgressing(props) {
|
|
761
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
761
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$n({
|
|
762
762
|
xmlns: "http://www.w3.org/2000/svg",
|
|
763
763
|
viewBox: "0 0 24 24",
|
|
764
764
|
width: "1em",
|
|
765
765
|
height: "1em"
|
|
766
|
-
}, props), _g$
|
|
766
|
+
}, props), _g$6 || (_g$6 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
767
767
|
fill: "none"
|
|
768
768
|
}, /*#__PURE__*/React__namespace.createElement("animateTransform", {
|
|
769
769
|
attributeName: "transform",
|
|
@@ -810,8 +810,8 @@ EmptyState.Loading = Loading;
|
|
|
810
810
|
|
|
811
811
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
812
812
|
|
|
813
|
-
function _extends$
|
|
814
|
-
_extends$
|
|
813
|
+
function _extends$m() {
|
|
814
|
+
_extends$m = Object.assign || function (target) {
|
|
815
815
|
for (var i = 1; i < arguments.length; i++) {
|
|
816
816
|
var source = arguments[i];
|
|
817
817
|
|
|
@@ -825,7 +825,7 @@ function _extends$n() {
|
|
|
825
825
|
return target;
|
|
826
826
|
};
|
|
827
827
|
|
|
828
|
-
return _extends$
|
|
828
|
+
return _extends$m.apply(this, arguments);
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
@@ -1551,7 +1551,7 @@ function ProgressBar(_ref) {
|
|
|
1551
1551
|
isIn = _ref.isIn,
|
|
1552
1552
|
theme = _ref.theme;
|
|
1553
1553
|
|
|
1554
|
-
var style = _extends$
|
|
1554
|
+
var style = _extends$m({}, userStyle, {
|
|
1555
1555
|
animationDuration: delay + "ms",
|
|
1556
1556
|
animationPlayState: isRunning ? 'running' : 'paused',
|
|
1557
1557
|
opacity: hide ? 0 : 1
|
|
@@ -1828,9 +1828,9 @@ var ToastContainer = function ToastContainer(props) {
|
|
|
1828
1828
|
,
|
|
1829
1829
|
id: containerId
|
|
1830
1830
|
}, getToastToRender(function (position, toastList) {
|
|
1831
|
-
var containerStyle = !toastList.length ? _extends$
|
|
1831
|
+
var containerStyle = !toastList.length ? _extends$m({}, style, {
|
|
1832
1832
|
pointerEvents: 'none'
|
|
1833
|
-
}) : _extends$
|
|
1833
|
+
}) : _extends$m({}, style);
|
|
1834
1834
|
return React.createElement("div", {
|
|
1835
1835
|
className: getClassName(position),
|
|
1836
1836
|
style: containerStyle,
|
|
@@ -1937,7 +1937,7 @@ function dispatchToast(content, options) {
|
|
|
1937
1937
|
|
|
1938
1938
|
|
|
1939
1939
|
function mergeOptions(type, options) {
|
|
1940
|
-
return _extends$
|
|
1940
|
+
return _extends$m({}, options, {
|
|
1941
1941
|
type: options && options.type || type,
|
|
1942
1942
|
toastId: getToastId(options)
|
|
1943
1943
|
});
|
|
@@ -1954,7 +1954,7 @@ function toast(content, options) {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
|
|
1956
1956
|
toast.loading = function (content, options) {
|
|
1957
|
-
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$
|
|
1957
|
+
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$m({
|
|
1958
1958
|
isLoading: true,
|
|
1959
1959
|
autoClose: false,
|
|
1960
1960
|
closeOnClick: false,
|
|
@@ -1970,7 +1970,7 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1970
1970
|
var id;
|
|
1971
1971
|
|
|
1972
1972
|
if (pending) {
|
|
1973
|
-
id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$
|
|
1973
|
+
id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$m({}, options, pending));
|
|
1974
1974
|
}
|
|
1975
1975
|
|
|
1976
1976
|
var resetParams = {
|
|
@@ -1989,7 +1989,7 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1989
1989
|
return;
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
|
-
var baseParams = _extends$
|
|
1992
|
+
var baseParams = _extends$m({
|
|
1993
1993
|
type: type
|
|
1994
1994
|
}, resetParams, options, {
|
|
1995
1995
|
data: result
|
|
@@ -2000,10 +2000,10 @@ function handlePromise(promise, _ref2, options) {
|
|
|
2000
2000
|
} : input; // if the id is set we know that it's an update
|
|
2001
2001
|
|
|
2002
2002
|
if (id) {
|
|
2003
|
-
toast.update(id, _extends$
|
|
2003
|
+
toast.update(id, _extends$m({}, baseParams, params));
|
|
2004
2004
|
} else {
|
|
2005
2005
|
// using toast.promise without loading
|
|
2006
|
-
toast(params.render, _extends$
|
|
2006
|
+
toast(params.render, _extends$m({}, baseParams, params));
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
2009
2009
|
return result;
|
|
@@ -2027,7 +2027,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
|
|
|
2027
2027
|
toast.warn = toast.warning;
|
|
2028
2028
|
|
|
2029
2029
|
toast.dark = function (content, options) {
|
|
2030
|
-
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$
|
|
2030
|
+
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$m({
|
|
2031
2031
|
theme: 'dark'
|
|
2032
2032
|
}, options)));
|
|
2033
2033
|
};
|
|
@@ -2084,7 +2084,7 @@ toast.update = function (toastId, options) {
|
|
|
2084
2084
|
var oldOptions = toast.props,
|
|
2085
2085
|
oldContent = toast.content;
|
|
2086
2086
|
|
|
2087
|
-
var nextOptions = _extends$
|
|
2087
|
+
var nextOptions = _extends$m({}, oldOptions, options, {
|
|
2088
2088
|
toastId: options.toastId || toastId,
|
|
2089
2089
|
updateId: generateToastId()
|
|
2090
2090
|
});
|
|
@@ -11846,27 +11846,7 @@ function getLockedJSON(json, jsonPathArray) {
|
|
|
11846
11846
|
});
|
|
11847
11847
|
});
|
|
11848
11848
|
return resultJson['$'];
|
|
11849
|
-
}
|
|
11850
|
-
/**
|
|
11851
|
-
* Returns a debounced variant of the function
|
|
11852
|
-
*/
|
|
11853
|
-
var debounce$2 = function (func, timeout) {
|
|
11854
|
-
if (timeout === void 0) { timeout = 500; }
|
|
11855
|
-
var timer;
|
|
11856
|
-
return function () {
|
|
11857
|
-
var args = [];
|
|
11858
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
11859
|
-
args[_i] = arguments[_i];
|
|
11860
|
-
}
|
|
11861
|
-
var context = this;
|
|
11862
|
-
if (timer)
|
|
11863
|
-
clearTimeout(timer);
|
|
11864
|
-
timer = setTimeout(function () {
|
|
11865
|
-
timer = null;
|
|
11866
|
-
func.apply(context, args);
|
|
11867
|
-
}, timeout);
|
|
11868
|
-
};
|
|
11869
|
-
};
|
|
11849
|
+
}
|
|
11870
11850
|
|
|
11871
11851
|
function Progressing(_a) {
|
|
11872
11852
|
var pageLoader = _a.pageLoader, size = _a.size, theme = _a.theme, styles = _a.styles, fillColor = _a.fillColor;
|
|
@@ -11918,8 +11898,8 @@ var VisibleModal = /** @class */ (function (_super) {
|
|
|
11918
11898
|
return VisibleModal;
|
|
11919
11899
|
}(React.Component));
|
|
11920
11900
|
|
|
11921
|
-
var css_248z$
|
|
11922
|
-
styleInject(css_248z$
|
|
11901
|
+
var css_248z$6 = ".drawer {\n position: absolute;\n overflow: hidden;\n}\n.drawer.left, .drawer.right {\n top: 0;\n bottom: 0;\n width: 0;\n transition: width 200ms;\n}\n.drawer.left.show, .drawer.right.show {\n min-width: var(--minWidth);\n width: var(--width);\n max-width: var(--maxWidth);\n}\n.drawer.top, .drawer.bottom {\n left: 0;\n right: 0;\n height: 0;\n transition: height 200ms;\n}\n.drawer.top.show, .drawer.bottom.show {\n height: var(--height);\n}\n.drawer.right {\n right: 0;\n}\n.drawer.left {\n left: 0;\n}\n.drawer.top {\n top: 0;\n}\n.drawer.bottom {\n bottom: 0;\n}";
|
|
11902
|
+
styleInject(css_248z$6);
|
|
11923
11903
|
|
|
11924
11904
|
var Drawer = function (_a) {
|
|
11925
11905
|
var children = _a.children, position = _a.position, height = _a.height, width = _a.width, minWidth = _a.minWidth, maxWidth = _a.maxWidth, parentClassName = _a.parentClassName, onEscape = _a.onEscape;
|
|
@@ -11994,9 +11974,9 @@ var Modal = function (_a) {
|
|
|
11994
11974
|
};
|
|
11995
11975
|
|
|
11996
11976
|
var _path$d;
|
|
11997
|
-
function _extends$
|
|
11977
|
+
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); }
|
|
11998
11978
|
var SvgIcCross = function SvgIcCross(props) {
|
|
11999
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11979
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$l({
|
|
12000
11980
|
width: "1em",
|
|
12001
11981
|
height: "1em",
|
|
12002
11982
|
viewBox: "0 0 24 24",
|
|
@@ -16302,9 +16282,9 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
|
|
|
16302
16282
|
var Tippy = index;
|
|
16303
16283
|
|
|
16304
16284
|
var _path$c;
|
|
16305
|
-
function _extends$
|
|
16285
|
+
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); }
|
|
16306
16286
|
var SvgIcHelp = function SvgIcHelp(props) {
|
|
16307
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16287
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
16308
16288
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16309
16289
|
width: "1em",
|
|
16310
16290
|
height: "1em",
|
|
@@ -16317,9 +16297,9 @@ var SvgIcHelp = function SvgIcHelp(props) {
|
|
|
16317
16297
|
};
|
|
16318
16298
|
|
|
16319
16299
|
var _path$b;
|
|
16320
|
-
function _extends$
|
|
16300
|
+
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); }
|
|
16321
16301
|
var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
|
|
16322
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16302
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
16323
16303
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16324
16304
|
viewBox: "0 0 17 16",
|
|
16325
16305
|
width: "1em",
|
|
@@ -16331,8 +16311,8 @@ var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
|
|
|
16331
16311
|
})));
|
|
16332
16312
|
};
|
|
16333
16313
|
|
|
16334
|
-
var css_248z$
|
|
16335
|
-
styleInject(css_248z$
|
|
16314
|
+
var css_248z$5 = ".tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translateX(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translateX(5px)}";
|
|
16315
|
+
styleInject(css_248z$5);
|
|
16336
16316
|
|
|
16337
16317
|
// This component will handle some of the new tippy designs and interactions
|
|
16338
16318
|
// So this can be updated to support further for new features or interactions
|
|
@@ -16377,9 +16357,9 @@ function TippyCustomized(props) {
|
|
|
16377
16357
|
}
|
|
16378
16358
|
|
|
16379
16359
|
var _path$a, _circle, _path2$1;
|
|
16380
|
-
function _extends$
|
|
16360
|
+
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); }
|
|
16381
16361
|
var SvgInjectTag = function SvgInjectTag(props) {
|
|
16382
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16362
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
16383
16363
|
width: "1em",
|
|
16384
16364
|
height: "1em",
|
|
16385
16365
|
viewBox: "0 0 20 20",
|
|
@@ -16414,9 +16394,9 @@ function PropagateTagInfo(_a) {
|
|
|
16414
16394
|
}
|
|
16415
16395
|
|
|
16416
16396
|
var _path$9;
|
|
16417
|
-
function _extends$
|
|
16397
|
+
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); }
|
|
16418
16398
|
var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
|
|
16419
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16399
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
16420
16400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16421
16401
|
width: "1em",
|
|
16422
16402
|
height: "1em",
|
|
@@ -16656,9 +16636,9 @@ var TagDetails = function (_a) {
|
|
|
16656
16636
|
};
|
|
16657
16637
|
|
|
16658
16638
|
var _path$8;
|
|
16659
|
-
function _extends$
|
|
16639
|
+
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); }
|
|
16660
16640
|
var SvgIcAdd = function SvgIcAdd(props) {
|
|
16661
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16641
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
16662
16642
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16663
16643
|
width: "1em",
|
|
16664
16644
|
height: "1em",
|
|
@@ -16793,8 +16773,8 @@ function ForceDeleteDialog(_a) {
|
|
|
16793
16773
|
return (jsxRuntime.jsx("div", { children: jsxRuntime.jsx(DeleteDialog, __assign({ title: forceDeleteDialogTitle, delete: onClickDelete, closeDelete: closeDeleteModal, deletePrefix: "Force " }, { children: jsxRuntime.jsxs(DeleteDialog.Description, { children: [jsxRuntime.jsxs("p", __assign({ className: "mt-12 mb-12 p-8 dc__break-word dc__window-bg" }, { children: ["Error: ", forceDeleteDialogMessage] })), jsxRuntime.jsx("p", { children: "Do you want to force delete?" })] }) })) }));
|
|
16794
16774
|
}
|
|
16795
16775
|
|
|
16796
|
-
function _extends$
|
|
16797
|
-
_extends$
|
|
16776
|
+
function _extends$f() {
|
|
16777
|
+
_extends$f = Object.assign ? Object.assign.bind() : function (target) {
|
|
16798
16778
|
for (var i = 1; i < arguments.length; i++) {
|
|
16799
16779
|
var source = arguments[i];
|
|
16800
16780
|
for (var key in source) {
|
|
@@ -16805,7 +16785,7 @@ function _extends$g() {
|
|
|
16805
16785
|
}
|
|
16806
16786
|
return target;
|
|
16807
16787
|
};
|
|
16808
|
-
return _extends$
|
|
16788
|
+
return _extends$f.apply(this, arguments);
|
|
16809
16789
|
}
|
|
16810
16790
|
|
|
16811
16791
|
/*
|
|
@@ -20346,7 +20326,7 @@ var Menu = function Menu(props) {
|
|
|
20346
20326
|
getStyles = props.getStyles,
|
|
20347
20327
|
innerRef = props.innerRef,
|
|
20348
20328
|
innerProps = props.innerProps;
|
|
20349
|
-
return jsx("div", _extends$
|
|
20329
|
+
return jsx("div", _extends$f({
|
|
20350
20330
|
css: getStyles('menu', props),
|
|
20351
20331
|
className: cx({
|
|
20352
20332
|
menu: true
|
|
@@ -20378,7 +20358,7 @@ var MenuList$1 = function MenuList(props) {
|
|
|
20378
20358
|
innerProps = props.innerProps,
|
|
20379
20359
|
innerRef = props.innerRef,
|
|
20380
20360
|
isMulti = props.isMulti;
|
|
20381
|
-
return jsx("div", _extends$
|
|
20361
|
+
return jsx("div", _extends$f({
|
|
20382
20362
|
css: getStyles('menuList', props),
|
|
20383
20363
|
className: cx({
|
|
20384
20364
|
'menu-list': true,
|
|
@@ -20409,7 +20389,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
|
|
|
20409
20389
|
cx = props.cx,
|
|
20410
20390
|
getStyles = props.getStyles,
|
|
20411
20391
|
innerProps = props.innerProps;
|
|
20412
|
-
return jsx("div", _extends$
|
|
20392
|
+
return jsx("div", _extends$f({
|
|
20413
20393
|
css: getStyles('noOptionsMessage', props),
|
|
20414
20394
|
className: cx({
|
|
20415
20395
|
'menu-notice': true,
|
|
@@ -20426,7 +20406,7 @@ var LoadingMessage = function LoadingMessage(props) {
|
|
|
20426
20406
|
cx = props.cx,
|
|
20427
20407
|
getStyles = props.getStyles,
|
|
20428
20408
|
innerProps = props.innerProps;
|
|
20429
|
-
return jsx("div", _extends$
|
|
20409
|
+
return jsx("div", _extends$f({
|
|
20430
20410
|
css: getStyles('loadingMessage', props),
|
|
20431
20411
|
className: cx({
|
|
20432
20412
|
'menu-notice': true,
|
|
@@ -20514,7 +20494,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
20514
20494
|
rect: rect
|
|
20515
20495
|
}; // same wrapper element whether fixed or portalled
|
|
20516
20496
|
|
|
20517
|
-
var menuWrapper = jsx("div", _extends$
|
|
20497
|
+
var menuWrapper = jsx("div", _extends$f({
|
|
20518
20498
|
css: getStyles('menuPortal', state),
|
|
20519
20499
|
className: cx({
|
|
20520
20500
|
'menu-portal': true
|
|
@@ -20550,7 +20530,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
20550
20530
|
innerProps = props.innerProps,
|
|
20551
20531
|
isDisabled = props.isDisabled,
|
|
20552
20532
|
isRtl = props.isRtl;
|
|
20553
|
-
return jsx("div", _extends$
|
|
20533
|
+
return jsx("div", _extends$f({
|
|
20554
20534
|
css: getStyles('container', props),
|
|
20555
20535
|
className: cx({
|
|
20556
20536
|
'--is-disabled': isDisabled,
|
|
@@ -20585,7 +20565,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
20585
20565
|
isMulti = props.isMulti,
|
|
20586
20566
|
getStyles = props.getStyles,
|
|
20587
20567
|
hasValue = props.hasValue;
|
|
20588
|
-
return jsx("div", _extends$
|
|
20568
|
+
return jsx("div", _extends$f({
|
|
20589
20569
|
css: getStyles('valueContainer', props),
|
|
20590
20570
|
className: cx({
|
|
20591
20571
|
'value-container': true,
|
|
@@ -20611,7 +20591,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
|
20611
20591
|
cx = props.cx,
|
|
20612
20592
|
innerProps = props.innerProps,
|
|
20613
20593
|
getStyles = props.getStyles;
|
|
20614
|
-
return jsx("div", _extends$
|
|
20594
|
+
return jsx("div", _extends$f({
|
|
20615
20595
|
css: getStyles('indicatorsContainer', props),
|
|
20616
20596
|
className: cx({
|
|
20617
20597
|
indicators: true
|
|
@@ -20642,7 +20622,7 @@ var Svg = function Svg(_ref) {
|
|
|
20642
20622
|
var size = _ref.size,
|
|
20643
20623
|
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
20644
20624
|
|
|
20645
|
-
return jsx("svg", _extends$
|
|
20625
|
+
return jsx("svg", _extends$f({
|
|
20646
20626
|
height: size,
|
|
20647
20627
|
width: size,
|
|
20648
20628
|
viewBox: "0 0 20 20",
|
|
@@ -20653,14 +20633,14 @@ var Svg = function Svg(_ref) {
|
|
|
20653
20633
|
};
|
|
20654
20634
|
|
|
20655
20635
|
var CrossIcon = function CrossIcon(props) {
|
|
20656
|
-
return jsx(Svg, _extends$
|
|
20636
|
+
return jsx(Svg, _extends$f({
|
|
20657
20637
|
size: 20
|
|
20658
20638
|
}, props), jsx("path", {
|
|
20659
20639
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
20660
20640
|
}));
|
|
20661
20641
|
};
|
|
20662
20642
|
var DownChevron = function DownChevron(props) {
|
|
20663
|
-
return jsx(Svg, _extends$
|
|
20643
|
+
return jsx(Svg, _extends$f({
|
|
20664
20644
|
size: 20
|
|
20665
20645
|
}, props), jsx("path", {
|
|
20666
20646
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
@@ -20693,7 +20673,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
|
|
|
20693
20673
|
cx = props.cx,
|
|
20694
20674
|
getStyles = props.getStyles,
|
|
20695
20675
|
innerProps = props.innerProps;
|
|
20696
|
-
return jsx("div", _extends$
|
|
20676
|
+
return jsx("div", _extends$f({
|
|
20697
20677
|
css: getStyles('dropdownIndicator', props),
|
|
20698
20678
|
className: cx({
|
|
20699
20679
|
indicator: true,
|
|
@@ -20708,7 +20688,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
|
|
|
20708
20688
|
cx = props.cx,
|
|
20709
20689
|
getStyles = props.getStyles,
|
|
20710
20690
|
innerProps = props.innerProps;
|
|
20711
|
-
return jsx("div", _extends$
|
|
20691
|
+
return jsx("div", _extends$f({
|
|
20712
20692
|
css: getStyles('clearIndicator', props),
|
|
20713
20693
|
className: cx({
|
|
20714
20694
|
indicator: true,
|
|
@@ -20738,7 +20718,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
|
20738
20718
|
cx = props.cx,
|
|
20739
20719
|
getStyles = props.getStyles,
|
|
20740
20720
|
innerProps = props.innerProps;
|
|
20741
|
-
return jsx("span", _extends$
|
|
20721
|
+
return jsx("span", _extends$f({}, innerProps, {
|
|
20742
20722
|
css: getStyles('indicatorSeparator', props),
|
|
20743
20723
|
className: cx({
|
|
20744
20724
|
'indicator-separator': true
|
|
@@ -20793,7 +20773,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
|
20793
20773
|
getStyles = props.getStyles,
|
|
20794
20774
|
innerProps = props.innerProps,
|
|
20795
20775
|
isRtl = props.isRtl;
|
|
20796
|
-
return jsx("div", _extends$
|
|
20776
|
+
return jsx("div", _extends$f({
|
|
20797
20777
|
css: getStyles('loadingIndicator', props),
|
|
20798
20778
|
className: cx({
|
|
20799
20779
|
indicator: true,
|
|
@@ -20854,7 +20834,7 @@ var Control = function Control(props) {
|
|
|
20854
20834
|
innerRef = props.innerRef,
|
|
20855
20835
|
innerProps = props.innerProps,
|
|
20856
20836
|
menuIsOpen = props.menuIsOpen;
|
|
20857
|
-
return jsx("div", _extends$
|
|
20837
|
+
return jsx("div", _extends$f({
|
|
20858
20838
|
ref: innerRef,
|
|
20859
20839
|
css: getStyles('control', props),
|
|
20860
20840
|
className: cx({
|
|
@@ -20886,12 +20866,12 @@ var Group = function Group(props) {
|
|
|
20886
20866
|
label = props.label,
|
|
20887
20867
|
theme = props.theme,
|
|
20888
20868
|
selectProps = props.selectProps;
|
|
20889
|
-
return jsx("div", _extends$
|
|
20869
|
+
return jsx("div", _extends$f({
|
|
20890
20870
|
css: getStyles('group', props),
|
|
20891
20871
|
className: cx({
|
|
20892
20872
|
group: true
|
|
20893
20873
|
}, className)
|
|
20894
|
-
}, innerProps), jsx(Heading, _extends$
|
|
20874
|
+
}, innerProps), jsx(Heading, _extends$f({}, headingProps, {
|
|
20895
20875
|
selectProps: selectProps,
|
|
20896
20876
|
theme: theme,
|
|
20897
20877
|
getStyles: getStyles,
|
|
@@ -20923,7 +20903,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
20923
20903
|
_cleanCommonProps.data;
|
|
20924
20904
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
20925
20905
|
|
|
20926
|
-
return jsx("div", _extends$
|
|
20906
|
+
return jsx("div", _extends$f({
|
|
20927
20907
|
css: getStyles('groupHeading', props),
|
|
20928
20908
|
className: cx({
|
|
20929
20909
|
'group-heading': true
|
|
@@ -20999,7 +20979,7 @@ var Input = function Input(props) {
|
|
|
20999
20979
|
}, className),
|
|
21000
20980
|
css: getStyles('input', props),
|
|
21001
20981
|
"data-value": value || ''
|
|
21002
|
-
}, jsx("input", _extends$
|
|
20982
|
+
}, jsx("input", _extends$f({
|
|
21003
20983
|
className: cx({
|
|
21004
20984
|
input: true
|
|
21005
20985
|
}, inputClassName),
|
|
@@ -21069,7 +21049,7 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
21069
21049
|
function MultiValueRemove$1(_ref5) {
|
|
21070
21050
|
var children = _ref5.children,
|
|
21071
21051
|
innerProps = _ref5.innerProps;
|
|
21072
|
-
return jsx("div", _extends$
|
|
21052
|
+
return jsx("div", _extends$f({
|
|
21073
21053
|
role: "button"
|
|
21074
21054
|
}, innerProps), children || jsx(CrossIcon, {
|
|
21075
21055
|
size: 14
|
|
@@ -21158,7 +21138,7 @@ var Option$1 = function Option(props) {
|
|
|
21158
21138
|
isSelected = props.isSelected,
|
|
21159
21139
|
innerRef = props.innerRef,
|
|
21160
21140
|
innerProps = props.innerProps;
|
|
21161
|
-
return jsx("div", _extends$
|
|
21141
|
+
return jsx("div", _extends$f({
|
|
21162
21142
|
css: getStyles('option', props),
|
|
21163
21143
|
className: cx({
|
|
21164
21144
|
option: true,
|
|
@@ -21190,7 +21170,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
21190
21170
|
cx = props.cx,
|
|
21191
21171
|
getStyles = props.getStyles,
|
|
21192
21172
|
innerProps = props.innerProps;
|
|
21193
|
-
return jsx("div", _extends$
|
|
21173
|
+
return jsx("div", _extends$f({
|
|
21194
21174
|
css: getStyles('placeholder', props),
|
|
21195
21175
|
className: cx({
|
|
21196
21176
|
placeholder: true
|
|
@@ -21223,7 +21203,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
21223
21203
|
getStyles = props.getStyles,
|
|
21224
21204
|
isDisabled = props.isDisabled,
|
|
21225
21205
|
innerProps = props.innerProps;
|
|
21226
|
-
return jsx("div", _extends$
|
|
21206
|
+
return jsx("div", _extends$f({
|
|
21227
21207
|
css: getStyles('singleValue', props),
|
|
21228
21208
|
className: cx({
|
|
21229
21209
|
'single-value': true,
|
|
@@ -21471,7 +21451,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
21471
21451
|
};
|
|
21472
21452
|
|
|
21473
21453
|
var A11yText = function A11yText(props) {
|
|
21474
|
-
return jsx("span", _extends$
|
|
21454
|
+
return jsx("span", _extends$f({
|
|
21475
21455
|
css: _ref
|
|
21476
21456
|
}, props));
|
|
21477
21457
|
};
|
|
@@ -22007,7 +21987,7 @@ function DummyInput(_ref) {
|
|
|
22007
21987
|
var innerRef = _ref.innerRef,
|
|
22008
21988
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
22009
21989
|
|
|
22010
|
-
return jsx("input", _extends$
|
|
21990
|
+
return jsx("input", _extends$f({
|
|
22011
21991
|
ref: innerRef
|
|
22012
21992
|
}, props, {
|
|
22013
21993
|
css: /*#__PURE__*/css$2({
|
|
@@ -23642,7 +23622,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23642
23622
|
|
|
23643
23623
|
if (!isSearchable) {
|
|
23644
23624
|
// use a dummy input to maintain focus/blur functionality
|
|
23645
|
-
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$
|
|
23625
|
+
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$f({
|
|
23646
23626
|
id: id,
|
|
23647
23627
|
innerRef: this.getInputRef,
|
|
23648
23628
|
onBlur: this.onInputBlur,
|
|
@@ -23656,7 +23636,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23656
23636
|
}, ariaAttributes));
|
|
23657
23637
|
}
|
|
23658
23638
|
|
|
23659
|
-
return /*#__PURE__*/React__namespace.createElement(Input, _extends$
|
|
23639
|
+
return /*#__PURE__*/React__namespace.createElement(Input, _extends$f({}, commonProps, {
|
|
23660
23640
|
autoCapitalize: "none",
|
|
23661
23641
|
autoComplete: "off",
|
|
23662
23642
|
autoCorrect: "off",
|
|
@@ -23700,7 +23680,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23700
23680
|
isFocused = _this$state5.isFocused;
|
|
23701
23681
|
|
|
23702
23682
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
23703
|
-
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$
|
|
23683
|
+
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$f({}, commonProps, {
|
|
23704
23684
|
key: "placeholder",
|
|
23705
23685
|
isDisabled: isDisabled,
|
|
23706
23686
|
isFocused: isFocused,
|
|
@@ -23714,7 +23694,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23714
23694
|
return selectValue.map(function (opt, index) {
|
|
23715
23695
|
var isOptionFocused = opt === focusedValue;
|
|
23716
23696
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
23717
|
-
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$
|
|
23697
|
+
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$f({}, commonProps, {
|
|
23718
23698
|
components: {
|
|
23719
23699
|
Container: MultiValueContainer,
|
|
23720
23700
|
Label: MultiValueLabel,
|
|
@@ -23746,7 +23726,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23746
23726
|
}
|
|
23747
23727
|
|
|
23748
23728
|
var singleValue = selectValue[0];
|
|
23749
|
-
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$
|
|
23729
|
+
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$f({}, commonProps, {
|
|
23750
23730
|
data: singleValue,
|
|
23751
23731
|
isDisabled: isDisabled
|
|
23752
23732
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -23772,7 +23752,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23772
23752
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
23773
23753
|
'aria-hidden': 'true'
|
|
23774
23754
|
};
|
|
23775
|
-
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$
|
|
23755
|
+
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$f({}, commonProps, {
|
|
23776
23756
|
innerProps: innerProps,
|
|
23777
23757
|
isFocused: isFocused
|
|
23778
23758
|
}));
|
|
@@ -23792,7 +23772,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23792
23772
|
var innerProps = {
|
|
23793
23773
|
'aria-hidden': 'true'
|
|
23794
23774
|
};
|
|
23795
|
-
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$
|
|
23775
|
+
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$f({}, commonProps, {
|
|
23796
23776
|
innerProps: innerProps,
|
|
23797
23777
|
isDisabled: isDisabled,
|
|
23798
23778
|
isFocused: isFocused
|
|
@@ -23810,7 +23790,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23810
23790
|
var commonProps = this.commonProps;
|
|
23811
23791
|
var isDisabled = this.props.isDisabled;
|
|
23812
23792
|
var isFocused = this.state.isFocused;
|
|
23813
|
-
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$
|
|
23793
|
+
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$f({}, commonProps, {
|
|
23814
23794
|
isDisabled: isDisabled,
|
|
23815
23795
|
isFocused: isFocused
|
|
23816
23796
|
}));
|
|
@@ -23830,7 +23810,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23830
23810
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
23831
23811
|
'aria-hidden': 'true'
|
|
23832
23812
|
};
|
|
23833
|
-
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$
|
|
23813
|
+
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$f({}, commonProps, {
|
|
23834
23814
|
innerProps: innerProps,
|
|
23835
23815
|
isDisabled: isDisabled,
|
|
23836
23816
|
isFocused: isFocused
|
|
@@ -23893,7 +23873,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23893
23873
|
onMouseOver: onHover,
|
|
23894
23874
|
tabIndex: -1
|
|
23895
23875
|
};
|
|
23896
|
-
return /*#__PURE__*/React__namespace.createElement(Option, _extends$
|
|
23876
|
+
return /*#__PURE__*/React__namespace.createElement(Option, _extends$f({}, commonProps, {
|
|
23897
23877
|
innerProps: innerProps,
|
|
23898
23878
|
data: data,
|
|
23899
23879
|
isDisabled: isDisabled,
|
|
@@ -23917,7 +23897,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23917
23897
|
groupIndex = item.index;
|
|
23918
23898
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
23919
23899
|
var headingId = "".concat(groupId, "-heading");
|
|
23920
|
-
return /*#__PURE__*/React__namespace.createElement(Group, _extends$
|
|
23900
|
+
return /*#__PURE__*/React__namespace.createElement(Group, _extends$f({}, commonProps, {
|
|
23921
23901
|
key: groupId,
|
|
23922
23902
|
data: _data,
|
|
23923
23903
|
options: options,
|
|
@@ -23956,12 +23936,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23956
23936
|
menuPosition: menuPosition,
|
|
23957
23937
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
23958
23938
|
};
|
|
23959
|
-
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$
|
|
23939
|
+
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$f({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
23960
23940
|
var ref = _ref4.ref,
|
|
23961
23941
|
_ref4$placerProps = _ref4.placerProps,
|
|
23962
23942
|
placement = _ref4$placerProps.placement,
|
|
23963
23943
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
23964
|
-
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$
|
|
23944
|
+
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$f({}, commonProps, menuPlacementProps, {
|
|
23965
23945
|
innerRef: ref,
|
|
23966
23946
|
innerProps: {
|
|
23967
23947
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -23976,7 +23956,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23976
23956
|
onBottomArrive: onMenuScrollToBottom,
|
|
23977
23957
|
lockEnabled: menuShouldBlockScroll
|
|
23978
23958
|
}, function (scrollTargetRef) {
|
|
23979
|
-
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$
|
|
23959
|
+
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$f({}, commonProps, {
|
|
23980
23960
|
innerRef: function innerRef(instance) {
|
|
23981
23961
|
_this4.getMenuListRef(instance);
|
|
23982
23962
|
|
|
@@ -23991,7 +23971,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23991
23971
|
// so we use the same component. the actual portalling logic is forked
|
|
23992
23972
|
// within the component based on `menuPosition`
|
|
23993
23973
|
|
|
23994
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$
|
|
23974
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$f({}, commonProps, {
|
|
23995
23975
|
appendTo: menuPortalTarget,
|
|
23996
23976
|
controlElement: this.controlRef,
|
|
23997
23977
|
menuPlacement: menuPlacement,
|
|
@@ -24056,7 +24036,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24056
24036
|
isFocused = _this$state6.isFocused,
|
|
24057
24037
|
selectValue = _this$state6.selectValue;
|
|
24058
24038
|
var focusableOptions = this.getFocusableOptions();
|
|
24059
|
-
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$
|
|
24039
|
+
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$f({}, commonProps, {
|
|
24060
24040
|
id: this.getElementId('live-region'),
|
|
24061
24041
|
ariaSelection: ariaSelection,
|
|
24062
24042
|
focusedOption: focusedOption,
|
|
@@ -24082,7 +24062,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24082
24062
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
24083
24063
|
var isFocused = this.state.isFocused;
|
|
24084
24064
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
24085
|
-
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$
|
|
24065
|
+
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$f({}, commonProps, {
|
|
24086
24066
|
className: className,
|
|
24087
24067
|
innerProps: {
|
|
24088
24068
|
id: id,
|
|
@@ -24090,7 +24070,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24090
24070
|
},
|
|
24091
24071
|
isDisabled: isDisabled,
|
|
24092
24072
|
isFocused: isFocused
|
|
24093
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$
|
|
24073
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$f({}, commonProps, {
|
|
24094
24074
|
innerRef: this.getControlRef,
|
|
24095
24075
|
innerProps: {
|
|
24096
24076
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -24099,9 +24079,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24099
24079
|
isDisabled: isDisabled,
|
|
24100
24080
|
isFocused: isFocused,
|
|
24101
24081
|
menuIsOpen: menuIsOpen
|
|
24102
|
-
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$
|
|
24082
|
+
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$f({}, commonProps, {
|
|
24103
24083
|
isDisabled: isDisabled
|
|
24104
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$
|
|
24084
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$f({}, commonProps, {
|
|
24105
24085
|
isDisabled: isDisabled
|
|
24106
24086
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
24107
24087
|
}
|
|
@@ -24174,22 +24154,22 @@ Select$1.defaultProps = defaultProps;
|
|
|
24174
24154
|
|
|
24175
24155
|
var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
24176
24156
|
var baseSelectProps = useStateManager(props);
|
|
24177
|
-
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$
|
|
24157
|
+
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$f({
|
|
24178
24158
|
ref: ref
|
|
24179
24159
|
}, baseSelectProps));
|
|
24180
24160
|
});
|
|
24181
24161
|
|
|
24182
24162
|
var ReactSelect = StateManagedSelect;
|
|
24183
24163
|
|
|
24184
|
-
var _g$
|
|
24185
|
-
function _extends$
|
|
24164
|
+
var _g$5;
|
|
24165
|
+
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); }
|
|
24186
24166
|
var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
24187
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24167
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$e({
|
|
24188
24168
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24189
24169
|
viewBox: "0 0 28 28",
|
|
24190
24170
|
width: "1em",
|
|
24191
24171
|
height: "1em"
|
|
24192
|
-
}, props), _g$
|
|
24172
|
+
}, props), _g$5 || (_g$5 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24193
24173
|
fill: "none",
|
|
24194
24174
|
fillRule: "evenodd",
|
|
24195
24175
|
transform: "translate(2 2)"
|
|
@@ -24206,9 +24186,9 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
|
24206
24186
|
};
|
|
24207
24187
|
|
|
24208
24188
|
var _path$7;
|
|
24209
|
-
function _extends$
|
|
24189
|
+
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); }
|
|
24210
24190
|
var SvgIcCheck = function SvgIcCheck(props) {
|
|
24211
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24191
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
24212
24192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24213
24193
|
width: "1em",
|
|
24214
24194
|
height: "1em",
|
|
@@ -24224,15 +24204,15 @@ var SvgIcCheck = function SvgIcCheck(props) {
|
|
|
24224
24204
|
})));
|
|
24225
24205
|
};
|
|
24226
24206
|
|
|
24227
|
-
var _g$
|
|
24228
|
-
function _extends$
|
|
24207
|
+
var _g$4;
|
|
24208
|
+
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); }
|
|
24229
24209
|
var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
|
|
24230
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24210
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
24231
24211
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24232
24212
|
width: "1em",
|
|
24233
24213
|
height: "1em",
|
|
24234
24214
|
viewBox: "0 0 20 21"
|
|
24235
|
-
}, props), _g$
|
|
24215
|
+
}, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24236
24216
|
fill: "none",
|
|
24237
24217
|
fillRule: "evenodd"
|
|
24238
24218
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -24292,8 +24272,8 @@ var CustomSelect = function (props) {
|
|
|
24292
24272
|
return jsxRuntime.jsx(ReactSelect, __assign({}, props));
|
|
24293
24273
|
};
|
|
24294
24274
|
|
|
24295
|
-
var css_248z$
|
|
24296
|
-
styleInject(css_248z$
|
|
24275
|
+
var css_248z$4 = ".info-bar-container .info_text .success {\n background-color: var(--G100);\n}\n.info-bar-container .warn {\n background: var(--Y100);\n border: solid var(--Y200);\n}\n.info-bar-container .warn .warning-icon path:nth-child(2) {\n fill: var(--Y700);\n}\n.info-bar-container .info_bar {\n background-color: var(--B100);\n border: 1px solid var(--B200);\n}\n.info-bar-container .error_bar {\n background-color: var(--R100);\n border: 1px solid var(--R200);\n}\n.info-bar-container .question-bar {\n background-color: var(--V100);\n border: 1px solid var(--V200);\n}";
|
|
24276
|
+
styleInject(css_248z$4);
|
|
24297
24277
|
|
|
24298
24278
|
function InfoColourBar(_a) {
|
|
24299
24279
|
var message = _a.message, classname = _a.classname, Icon = _a.Icon, iconClass = _a.iconClass, iconSize = _a.iconSize, renderActionButton = _a.renderActionButton, linkText = _a.linkText, redirectLink = _a.redirectLink, linkOnClick = _a.linkOnClick, linkClass = _a.linkClass, internalLink = _a.internalLink, styles = _a.styles;
|
|
@@ -24409,6 +24389,8 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
|
|
|
24409
24389
|
isVirtualEnvironment: material.isVirtualEnvironment,
|
|
24410
24390
|
imageComment: material.imageComment,
|
|
24411
24391
|
imageReleaseTags: material.imageReleaseTags,
|
|
24392
|
+
hasDuplicateImages: material.hasDuplicateImages,
|
|
24393
|
+
isSuperseded: material.isSuperseded,
|
|
24412
24394
|
// It is going to be null but required in type so can't remove
|
|
24413
24395
|
lastExecution: material.lastExecution,
|
|
24414
24396
|
materialInfo: material.material_info
|
|
@@ -24569,124 +24551,6 @@ var Checkbox$1 = /** @class */ (function (_super) {
|
|
|
24569
24551
|
return Checkbox;
|
|
24570
24552
|
}(React.Component));
|
|
24571
24553
|
|
|
24572
|
-
var _g$4;
|
|
24573
|
-
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
24574
|
-
var SvgIcSearch = function SvgIcSearch(props) {
|
|
24575
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
24576
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
24577
|
-
viewBox: "0 0 24 24",
|
|
24578
|
-
width: "1em",
|
|
24579
|
-
height: "1em"
|
|
24580
|
-
}, props), _g$4 || (_g$4 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24581
|
-
fill: "none",
|
|
24582
|
-
fillRule: "evenodd"
|
|
24583
|
-
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
24584
|
-
d: "M0 0h24v24H0z"
|
|
24585
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
24586
|
-
fill: "#959BA1",
|
|
24587
|
-
d: "M10 2a8 8 0 0 1 6.32 12.905l5.044 5.045a1 1 0 1 1-1.414 1.414l-5.045-5.043A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z"
|
|
24588
|
-
}))));
|
|
24589
|
-
};
|
|
24590
|
-
|
|
24591
|
-
var _g$3;
|
|
24592
|
-
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
24593
|
-
var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
24594
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
24595
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
24596
|
-
width: "1em",
|
|
24597
|
-
height: "1em",
|
|
24598
|
-
viewBox: "0 0 32 32"
|
|
24599
|
-
}, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24600
|
-
transform: "translate(2.667 2.667)",
|
|
24601
|
-
fill: "none",
|
|
24602
|
-
fillRule: "evenodd"
|
|
24603
|
-
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
24604
|
-
width: 26.667,
|
|
24605
|
-
height: 26.667,
|
|
24606
|
-
className: "ic-error-cross_svg__fill-color",
|
|
24607
|
-
fill: "#596168",
|
|
24608
|
-
rx: 13.333
|
|
24609
|
-
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
24610
|
-
fill: "#FFF",
|
|
24611
|
-
fillRule: "nonzero",
|
|
24612
|
-
d: "M8.62 8.62a1.332 1.332 0 0 1 1.885 0l2.828 2.827 2.829-2.828a1.334 1.334 0 0 1 1.777-.097l.108.097a1.333 1.333 0 0 1 0 1.886l-2.828 2.828 2.828 2.829c.486.486.519 1.254.098 1.777l-.098.108a1.332 1.332 0 0 1-1.885 0l-2.83-2.828-2.827 2.828a1.334 1.334 0 0 1-1.777.098l-.109-.098a1.333 1.333 0 0 1 0-1.885l2.828-2.83-2.828-2.827a1.334 1.334 0 0 1-.097-1.777z"
|
|
24613
|
-
}))));
|
|
24614
|
-
};
|
|
24615
|
-
|
|
24616
|
-
var css_248z$4 = ".search-bar:focus, .search-bar:focus-within {\n outline: none;\n border: solid 1px var(--B500);\n}\n.search-bar__input:focus, .search-bar__input:focus-visible {\n border: none;\n outline: none;\n}\n.search-bar__icon {\n z-index: 1;\n top: 50%;\n left: 8px;\n transform: translateY(-50%);\n}\n.search-bar__clear-button {\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n}";
|
|
24617
|
-
styleInject(css_248z$4);
|
|
24618
|
-
|
|
24619
|
-
/**
|
|
24620
|
-
* Generic search input component with support for enter based and debounced search
|
|
24621
|
-
* Note: The component is uncontrolled
|
|
24622
|
-
*
|
|
24623
|
-
* @example Usage with default debounced search
|
|
24624
|
-
* ```tsx
|
|
24625
|
-
* <SearchBar handleSearchChange={triggerSearchApi} shouldDebounce />
|
|
24626
|
-
* ```
|
|
24627
|
-
*
|
|
24628
|
-
* @example Initial search text
|
|
24629
|
-
* ```tsx
|
|
24630
|
-
* <SearchBar initialSearchText="Keyword" />
|
|
24631
|
-
* ```
|
|
24632
|
-
*
|
|
24633
|
-
* @example Custom width
|
|
24634
|
-
* ```tsx
|
|
24635
|
-
* <SearchBar containerClassName="w-300" />
|
|
24636
|
-
* ```
|
|
24637
|
-
*
|
|
24638
|
-
* @example Trigger search on enter key press
|
|
24639
|
-
* ```tsx
|
|
24640
|
-
* <SearchBar handleEnter={triggerSearchApi} />
|
|
24641
|
-
* ```
|
|
24642
|
-
*
|
|
24643
|
-
* @example Custom timeout for debounced search
|
|
24644
|
-
* ```tsx
|
|
24645
|
-
* <SearchBar handleSearchChange={triggerSearchApi} shouldDebounce debounceTimeout={500} />
|
|
24646
|
-
* ```
|
|
24647
|
-
*
|
|
24648
|
-
* @example Placeholder for the search
|
|
24649
|
-
* ```tsx
|
|
24650
|
-
* <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
|
|
24651
|
-
* ```
|
|
24652
|
-
*/
|
|
24653
|
-
var SearchBar = function (_a) {
|
|
24654
|
-
var _b = _a.initialSearchText, initialSearchText = _b === void 0 ? '' : _b, _c = _a.handleSearchChange, handleSearchChange = _c === void 0 ? function () { } : _c, _d = _a.handleEnter, handleEnter = _d === void 0 ? function () { } : _d, _e = _a.inputProps, inputProps = _e === void 0 ? {} : _e, containerClassName = _a.containerClassName, _f = _a.shouldDebounce, shouldDebounce = _f === void 0 ? false : _f, _g = _a.debounceTimeout, debounceTimeout = _g === void 0 ? 300 : _g;
|
|
24655
|
-
var _h = __read(React.useState(!!initialSearchText), 2), showClearButton = _h[0], setShowClearButton = _h[1];
|
|
24656
|
-
var inputRef = React.useRef();
|
|
24657
|
-
var debouncedSearchChange = React.useCallback(debounce$2(handleSearchChange, debounceTimeout), [
|
|
24658
|
-
handleSearchChange,
|
|
24659
|
-
debounceTimeout,
|
|
24660
|
-
]);
|
|
24661
|
-
var handleChange = function (e) {
|
|
24662
|
-
var value = e.target.value;
|
|
24663
|
-
setShowClearButton(!!value);
|
|
24664
|
-
if (shouldDebounce) {
|
|
24665
|
-
debouncedSearchChange(value);
|
|
24666
|
-
}
|
|
24667
|
-
else {
|
|
24668
|
-
handleSearchChange(value);
|
|
24669
|
-
}
|
|
24670
|
-
};
|
|
24671
|
-
var _applySearch = function (value) {
|
|
24672
|
-
handleSearchChange(value);
|
|
24673
|
-
handleEnter(value);
|
|
24674
|
-
};
|
|
24675
|
-
var handleKeyDown = function (e) {
|
|
24676
|
-
var key = e.key;
|
|
24677
|
-
if (key === 'Enter') {
|
|
24678
|
-
var inputTarget = e.target;
|
|
24679
|
-
var value = inputTarget.value.trim();
|
|
24680
|
-
_applySearch(value);
|
|
24681
|
-
}
|
|
24682
|
-
};
|
|
24683
|
-
var clearSearch = function () {
|
|
24684
|
-
inputRef.current.value = '';
|
|
24685
|
-
_applySearch('');
|
|
24686
|
-
};
|
|
24687
|
-
return (jsxRuntime.jsx("div", __assign({ className: containerClassName }, { children: jsxRuntime.jsxs("div", __assign({ className: "search-bar bcn-0 dc__block w-100 min-w-200 dc__position-rel en-2 bw-1 br-4 h-32" }, { children: [jsxRuntime.jsx(SvgIcSearch, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-18" }), jsxRuntime.jsx("input", __assign({ placeholder: "Search", "data-testid": "search-bar", type: "text" }, inputProps, { defaultValue: initialSearchText, className: "search-bar__input bcn-0 dc__position-abs w-100 h-100 br-4 dc__no-border pt-6 pr-10 pb-6 pl-30 fs-13 lh-20 fw-4 cn-9 placeholder-cn5 ".concat(showClearButton ? 'pr-30' : 'pr-10'), onChange: handleChange, onKeyDown: handleKeyDown, ref: inputRef })), showClearButton && (jsxRuntime.jsx("button", __assign({ className: "flex search-bar__clear-button dc__position-abs dc__transparent mt-0 mb-0 mr-5 ml-5", type: "button", onClick: clearSearch, "aria-label": "Clear search" }, { children: jsxRuntime.jsx(SvgIcErrorCross, { className: "icon-dim-18 icon-n4 dc__vertical-align-middle" }) })))] })) })));
|
|
24688
|
-
};
|
|
24689
|
-
|
|
24690
24554
|
var css_248z$3 = ".toggle__switch {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 100%;\n}\n.toggle__switch.disabled {\n cursor: not-allowed;\n}\n.toggle__switch.disabled .toggle__slider {\n cursor: not-allowed;\n}\n\n/* Hide default HTML checkbox */\n.toggle__switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* The slider */\n.toggle__slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n transition: all 0.4s ease;\n}\n.toggle__slider.round {\n border-radius: 34px;\n}\n.toggle__slider.round:before {\n border-radius: 50%;\n}\n.toggle__slider:before {\n position: absolute;\n content: \"\";\n height: calc(100% - 8px);\n width: calc(50% - 4px);\n left: 4px;\n bottom: 4px;\n background-color: white;\n transition: all 0.4s ease;\n}\n.toggle__slider.with-icon {\n background-color: var(--N000) !important;\n}\n.toggle__slider.with-icon svg {\n position: absolute;\n content: \"\";\n top: -1px;\n left: -1px;\n background-color: var(--N300);\n transition: all 0.4s ease;\n}\n\ninput:checked + .toggle__slider {\n background-color: var(--color);\n}\ninput:checked + .toggle__slider:before {\n transform: translateX(100%);\n}\ninput:checked + .toggle__slider.with-icon svg {\n transform: translateX(100%);\n background-color: var(--color);\n}\n\ninput:focus + .toggle__slider {\n box-shadow: 0 0 1px var(--color);\n}";
|
|
24691
24555
|
styleInject(css_248z$3);
|
|
24692
24556
|
|
|
@@ -24822,15 +24686,15 @@ exports.ConsequenceAction = void 0;
|
|
|
24822
24686
|
ConsequenceAction["ALLOW_FOREVER"] = "ALLOW_FOREVER";
|
|
24823
24687
|
})(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
|
|
24824
24688
|
|
|
24825
|
-
var _g$
|
|
24826
|
-
function _extends$
|
|
24689
|
+
var _g$3;
|
|
24690
|
+
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); }
|
|
24827
24691
|
var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
|
|
24828
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24692
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
24829
24693
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24830
24694
|
width: "1em",
|
|
24831
24695
|
height: "1em",
|
|
24832
24696
|
viewBox: "0 0 32 32"
|
|
24833
|
-
}, props), _g$
|
|
24697
|
+
}, props), _g$3 || (_g$3 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24834
24698
|
fill: "none",
|
|
24835
24699
|
fillRule: "evenodd"
|
|
24836
24700
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -24905,9 +24769,9 @@ function DeleteComponent(_a) {
|
|
|
24905
24769
|
}
|
|
24906
24770
|
|
|
24907
24771
|
var _path$6;
|
|
24908
|
-
function _extends$
|
|
24772
|
+
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); }
|
|
24909
24773
|
var SvgIcPencil = function SvgIcPencil(props) {
|
|
24910
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24774
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
24911
24775
|
width: "1em",
|
|
24912
24776
|
height: "1em",
|
|
24913
24777
|
viewBox: "0 0 20 20",
|
|
@@ -24923,9 +24787,9 @@ var SvgIcPencil = function SvgIcPencil(props) {
|
|
|
24923
24787
|
};
|
|
24924
24788
|
|
|
24925
24789
|
var _path$5, _path2, _path3;
|
|
24926
|
-
function _extends$
|
|
24790
|
+
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); }
|
|
24927
24791
|
var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
24928
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24792
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
24929
24793
|
width: "1em",
|
|
24930
24794
|
height: "1em",
|
|
24931
24795
|
viewBox: "0 0 12 12",
|
|
@@ -24950,9 +24814,9 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
|
24950
24814
|
};
|
|
24951
24815
|
|
|
24952
24816
|
var _path$4;
|
|
24953
|
-
function _extends$
|
|
24817
|
+
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); }
|
|
24954
24818
|
var SvgIcMinus = function SvgIcMinus(props) {
|
|
24955
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24819
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
24956
24820
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24957
24821
|
width: "1em",
|
|
24958
24822
|
height: "1em",
|
|
@@ -24965,15 +24829,15 @@ var SvgIcMinus = function SvgIcMinus(props) {
|
|
|
24965
24829
|
})));
|
|
24966
24830
|
};
|
|
24967
24831
|
|
|
24968
|
-
var _g$
|
|
24969
|
-
function _extends$
|
|
24832
|
+
var _g$2;
|
|
24833
|
+
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); }
|
|
24970
24834
|
var SvgIcWarning = function SvgIcWarning(props) {
|
|
24971
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24835
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
24972
24836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24973
24837
|
width: "1em",
|
|
24974
24838
|
height: "1em",
|
|
24975
24839
|
viewBox: "0 0 32 32"
|
|
24976
|
-
}, props), _g$
|
|
24840
|
+
}, props), _g$2 || (_g$2 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24977
24841
|
fill: "none",
|
|
24978
24842
|
fillRule: "evenodd"
|
|
24979
24843
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -24987,15 +24851,15 @@ var SvgIcWarning = function SvgIcWarning(props) {
|
|
|
24987
24851
|
}))));
|
|
24988
24852
|
};
|
|
24989
24853
|
|
|
24990
|
-
var _g;
|
|
24991
|
-
function _extends$
|
|
24854
|
+
var _g$1;
|
|
24855
|
+
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); }
|
|
24992
24856
|
var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
24993
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24857
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
24994
24858
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24995
24859
|
width: "1em",
|
|
24996
24860
|
height: "1em",
|
|
24997
24861
|
viewBox: "0 0 20 20"
|
|
24998
|
-
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24862
|
+
}, props), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
24999
24863
|
fill: "none",
|
|
25000
24864
|
fillRule: "evenodd"
|
|
25001
24865
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -25008,9 +24872,9 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
|
25008
24872
|
};
|
|
25009
24873
|
|
|
25010
24874
|
var _path$3;
|
|
25011
|
-
function _extends$
|
|
24875
|
+
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); }
|
|
25012
24876
|
var SvgIcEnter = function SvgIcEnter(props) {
|
|
25013
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24877
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
25014
24878
|
width: "1em",
|
|
25015
24879
|
height: "1em",
|
|
25016
24880
|
viewBox: "0 0 16 16",
|
|
@@ -25374,9 +25238,32 @@ function useDebouncedEffect(callback, delay, deps) {
|
|
|
25374
25238
|
}, __spreadArray([delay], __read(deps), false));
|
|
25375
25239
|
}
|
|
25376
25240
|
|
|
25241
|
+
var _g;
|
|
25242
|
+
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); }
|
|
25243
|
+
var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
25244
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
25245
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
25246
|
+
width: "1em",
|
|
25247
|
+
height: "1em",
|
|
25248
|
+
viewBox: "0 0 32 32"
|
|
25249
|
+
}, props), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
25250
|
+
transform: "translate(2.667 2.667)",
|
|
25251
|
+
fill: "none",
|
|
25252
|
+
fillRule: "evenodd"
|
|
25253
|
+
}, /*#__PURE__*/React__namespace.createElement("rect", {
|
|
25254
|
+
width: 26.667,
|
|
25255
|
+
height: 26.667,
|
|
25256
|
+
className: "ic-error-cross_svg__fill-color",
|
|
25257
|
+
fill: "#596168",
|
|
25258
|
+
rx: 13.333
|
|
25259
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
25260
|
+
fill: "#FFF",
|
|
25261
|
+
fillRule: "nonzero",
|
|
25262
|
+
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"
|
|
25263
|
+
}))));
|
|
25264
|
+
};
|
|
25265
|
+
|
|
25377
25266
|
/**
|
|
25378
|
-
* @deprecated Use `SearchBar` component instead.
|
|
25379
|
-
*
|
|
25380
25267
|
* @param onSearch - Callback function to be called on search
|
|
25381
25268
|
* @param Icon - (Optional) Icon to be shown before the input
|
|
25382
25269
|
* @param iconClass - (Optional) Class for the icon
|
|
@@ -28686,7 +28573,6 @@ exports.RepositoryAction = RepositoryAction;
|
|
|
28686
28573
|
exports.ResizableTagTextArea = ResizableTagTextArea;
|
|
28687
28574
|
exports.ResizableTextarea = ResizableTextarea;
|
|
28688
28575
|
exports.ScanVulnerabilitiesTable = ScanVulnerabilitiesTable;
|
|
28689
|
-
exports.SearchBar = SearchBar;
|
|
28690
28576
|
exports.ServerError = ServerError;
|
|
28691
28577
|
exports.ServerErrors = ServerErrors;
|
|
28692
28578
|
exports.SingleSelectOption = SingleSelectOption;
|
|
@@ -28710,7 +28596,6 @@ exports.closeOnEscKeyPressed = closeOnEscKeyPressed;
|
|
|
28710
28596
|
exports.copyToClipboard = copyToClipboard;
|
|
28711
28597
|
exports.createGitCommitUrl = createGitCommitUrl;
|
|
28712
28598
|
exports.customStyles = customStyles;
|
|
28713
|
-
exports.debounce = debounce$2;
|
|
28714
28599
|
exports.extractImage = extractImage;
|
|
28715
28600
|
exports.fetchChartTemplateVersions = fetchChartTemplateVersions;
|
|
28716
28601
|
exports.genericCDMaterialsService = genericCDMaterialsService;
|