@devtron-labs/devtron-fe-common-lib 0.0.51-beta-2 → 0.0.51-beta-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Common/Constants.d.ts +4 -1
- package/dist/Common/CustomInput/CustomInput.d.ts +1 -1
- package/dist/Common/CustomInput/Types.d.ts +1 -0
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +1 -1
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Grid/types.d.ts +2 -2
- package/dist/Common/Hooks/index.d.ts +0 -1
- package/dist/Common/index.d.ts +0 -1
- package/dist/index.js +153 -267
- package/package.json +2 -3
- package/src/Common/Constants.ts +4 -1
- package/src/Common/CustomInput/CustomInput.tsx +3 -2
- package/src/Common/CustomInput/Types.ts +1 -0
- package/src/Common/EmptyState/GenericEmptyState.tsx +37 -13
- package/src/Common/Grid/Grid.tsx +2 -7
- package/src/Common/Grid/types.ts +1 -3
- package/src/Common/Hooks/index.ts +0 -1
- package/src/Common/index.ts +0 -1
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +0 -3
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +0 -9
- package/dist/Common/DraggableWrapper/index.d.ts +0 -3
- package/dist/Common/DraggableWrapper/types.d.ts +0 -19
- package/dist/Common/Hooks/UseWindowSize/UseWindowSize.d.ts +0 -4
- package/src/Assets/Icon/ic-drag.svg +0 -8
- package/src/Common/DraggableWrapper/DraggableButton.tsx +0 -11
- package/src/Common/DraggableWrapper/DraggableWrapper.tsx +0 -109
- package/src/Common/DraggableWrapper/index.ts +0 -3
- package/src/Common/DraggableWrapper/types.ts +0 -22
- package/src/Common/Hooks/UseWindowSize/UseWindowSize.tsx +0 -30
package/dist/index.js
CHANGED
|
@@ -8,7 +8,6 @@ var vm = require('vm');
|
|
|
8
8
|
var RJSF = require('@rjsf/core');
|
|
9
9
|
var RJSFValidator = require('@rjsf/validator-ajv8');
|
|
10
10
|
var utils = require('@rjsf/utils');
|
|
11
|
-
var Draggable = require('react-draggable');
|
|
12
11
|
|
|
13
12
|
function _interopNamespaceDefault(e) {
|
|
14
13
|
var n = Object.create(null);
|
|
@@ -258,7 +257,11 @@ var RepositoryAction = {
|
|
|
258
257
|
CHART_PULL: "CHART_PULL",
|
|
259
258
|
CHART_PUSH: "CHART_PUSH"
|
|
260
259
|
};
|
|
261
|
-
|
|
260
|
+
exports.APPROVAL_MODAL_TYPE = void 0;
|
|
261
|
+
(function (APPROVAL_MODAL_TYPE) {
|
|
262
|
+
APPROVAL_MODAL_TYPE["CONFIG"] = "CONFIG";
|
|
263
|
+
APPROVAL_MODAL_TYPE["DEPLOYMENT"] = "DEPLOYMENT";
|
|
264
|
+
})(exports.APPROVAL_MODAL_TYPE || (exports.APPROVAL_MODAL_TYPE = {}));
|
|
262
265
|
|
|
263
266
|
/******************************************************************************
|
|
264
267
|
Copyright (c) Microsoft Corporation.
|
|
@@ -751,9 +754,9 @@ var css_248z$7 = ".empty-state {\n height: 100%;\n}\n.empty-state img {\n heig
|
|
|
751
754
|
styleInject(css_248z$7);
|
|
752
755
|
|
|
753
756
|
var _g$6;
|
|
754
|
-
function _extends$
|
|
757
|
+
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); }
|
|
755
758
|
var SvgIcProgressing = function SvgIcProgressing(props) {
|
|
756
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
759
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
|
|
757
760
|
xmlns: "http://www.w3.org/2000/svg",
|
|
758
761
|
viewBox: "0 0 24 24",
|
|
759
762
|
width: "1em",
|
|
@@ -805,8 +808,8 @@ EmptyState.Loading = Loading;
|
|
|
805
808
|
|
|
806
809
|
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}
|
|
807
810
|
|
|
808
|
-
function _extends$
|
|
809
|
-
_extends$
|
|
811
|
+
function _extends$l() {
|
|
812
|
+
_extends$l = Object.assign || function (target) {
|
|
810
813
|
for (var i = 1; i < arguments.length; i++) {
|
|
811
814
|
var source = arguments[i];
|
|
812
815
|
|
|
@@ -820,7 +823,7 @@ function _extends$m() {
|
|
|
820
823
|
return target;
|
|
821
824
|
};
|
|
822
825
|
|
|
823
|
-
return _extends$
|
|
826
|
+
return _extends$l.apply(this, arguments);
|
|
824
827
|
}
|
|
825
828
|
|
|
826
829
|
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
@@ -1546,7 +1549,7 @@ function ProgressBar(_ref) {
|
|
|
1546
1549
|
isIn = _ref.isIn,
|
|
1547
1550
|
theme = _ref.theme;
|
|
1548
1551
|
|
|
1549
|
-
var style = _extends$
|
|
1552
|
+
var style = _extends$l({}, userStyle, {
|
|
1550
1553
|
animationDuration: delay + "ms",
|
|
1551
1554
|
animationPlayState: isRunning ? 'running' : 'paused',
|
|
1552
1555
|
opacity: hide ? 0 : 1
|
|
@@ -1823,9 +1826,9 @@ var ToastContainer = function ToastContainer(props) {
|
|
|
1823
1826
|
,
|
|
1824
1827
|
id: containerId
|
|
1825
1828
|
}, getToastToRender(function (position, toastList) {
|
|
1826
|
-
var containerStyle = !toastList.length ? _extends$
|
|
1829
|
+
var containerStyle = !toastList.length ? _extends$l({}, style, {
|
|
1827
1830
|
pointerEvents: 'none'
|
|
1828
|
-
}) : _extends$
|
|
1831
|
+
}) : _extends$l({}, style);
|
|
1829
1832
|
return React.createElement("div", {
|
|
1830
1833
|
className: getClassName(position),
|
|
1831
1834
|
style: containerStyle,
|
|
@@ -1932,7 +1935,7 @@ function dispatchToast(content, options) {
|
|
|
1932
1935
|
|
|
1933
1936
|
|
|
1934
1937
|
function mergeOptions(type, options) {
|
|
1935
|
-
return _extends$
|
|
1938
|
+
return _extends$l({}, options, {
|
|
1936
1939
|
type: options && options.type || type,
|
|
1937
1940
|
toastId: getToastId(options)
|
|
1938
1941
|
});
|
|
@@ -1949,7 +1952,7 @@ function toast(content, options) {
|
|
|
1949
1952
|
}
|
|
1950
1953
|
|
|
1951
1954
|
toast.loading = function (content, options) {
|
|
1952
|
-
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$
|
|
1955
|
+
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$l({
|
|
1953
1956
|
isLoading: true,
|
|
1954
1957
|
autoClose: false,
|
|
1955
1958
|
closeOnClick: false,
|
|
@@ -1965,7 +1968,7 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1965
1968
|
var id;
|
|
1966
1969
|
|
|
1967
1970
|
if (pending) {
|
|
1968
|
-
id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$
|
|
1971
|
+
id = isStr(pending) ? toast.loading(pending, options) : toast.loading(pending.render, _extends$l({}, options, pending));
|
|
1969
1972
|
}
|
|
1970
1973
|
|
|
1971
1974
|
var resetParams = {
|
|
@@ -1984,7 +1987,7 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1984
1987
|
return;
|
|
1985
1988
|
}
|
|
1986
1989
|
|
|
1987
|
-
var baseParams = _extends$
|
|
1990
|
+
var baseParams = _extends$l({
|
|
1988
1991
|
type: type
|
|
1989
1992
|
}, resetParams, options, {
|
|
1990
1993
|
data: result
|
|
@@ -1995,10 +1998,10 @@ function handlePromise(promise, _ref2, options) {
|
|
|
1995
1998
|
} : input; // if the id is set we know that it's an update
|
|
1996
1999
|
|
|
1997
2000
|
if (id) {
|
|
1998
|
-
toast.update(id, _extends$
|
|
2001
|
+
toast.update(id, _extends$l({}, baseParams, params));
|
|
1999
2002
|
} else {
|
|
2000
2003
|
// using toast.promise without loading
|
|
2001
|
-
toast(params.render, _extends$
|
|
2004
|
+
toast(params.render, _extends$l({}, baseParams, params));
|
|
2002
2005
|
}
|
|
2003
2006
|
|
|
2004
2007
|
return result;
|
|
@@ -2022,7 +2025,7 @@ toast.warning = /*#__PURE__*/createToastByType(TYPE.WARNING);
|
|
|
2022
2025
|
toast.warn = toast.warning;
|
|
2023
2026
|
|
|
2024
2027
|
toast.dark = function (content, options) {
|
|
2025
|
-
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$
|
|
2028
|
+
return dispatchToast(content, mergeOptions(TYPE.DEFAULT, _extends$l({
|
|
2026
2029
|
theme: 'dark'
|
|
2027
2030
|
}, options)));
|
|
2028
2031
|
};
|
|
@@ -2079,7 +2082,7 @@ toast.update = function (toastId, options) {
|
|
|
2079
2082
|
var oldOptions = toast.props,
|
|
2080
2083
|
oldContent = toast.content;
|
|
2081
2084
|
|
|
2082
|
-
var nextOptions = _extends$
|
|
2085
|
+
var nextOptions = _extends$l({}, oldOptions, options, {
|
|
2083
2086
|
toastId: options.toastId || toastId,
|
|
2084
2087
|
updateId: generateToastId()
|
|
2085
2088
|
});
|
|
@@ -2233,7 +2236,17 @@ var AppNotDeployed = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAGQCAYA
|
|
|
2233
2236
|
function GenericEmptyState(_a) {
|
|
2234
2237
|
var title = _a.title, image = _a.image, subTitle = _a.subTitle, isButtonAvailable = _a.isButtonAvailable, classname = _a.classname, styles = _a.styles, heightToDeduct = _a.heightToDeduct, imageType = _a.imageType, renderButton = _a.renderButton, imageClassName = _a.imageClassName, children = _a.children, SvgImage = _a.SvgImage, noImage = _a.noImage, _b = _a.layout, layout = _b === void 0 ? 'column' : _b, _c = _a.contentClassName, contentClassName = _c === void 0 ? '' : _c;
|
|
2235
2238
|
var isRowLayout = layout === 'row';
|
|
2236
|
-
|
|
2239
|
+
var getImageSize = function () {
|
|
2240
|
+
switch (imageType) {
|
|
2241
|
+
case exports.ImageType.Medium:
|
|
2242
|
+
return { width: '200', height: '160' };
|
|
2243
|
+
case exports.ImageType.Large:
|
|
2244
|
+
return { width: '250', height: '200' };
|
|
2245
|
+
default:
|
|
2246
|
+
return { width: '200', height: '160' };
|
|
2247
|
+
}
|
|
2248
|
+
};
|
|
2249
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "flex ".concat(isRowLayout ? 'dc__gap-32' : 'column dc__gap-20', " empty-state ").concat(classname ? classname : ''), style: styles, "data-testid": "generic-empty-state" }, (heightToDeduct >= 0 && { style: __assign(__assign({}, styles), { height: "calc(100vh - ".concat(heightToDeduct, "px)") }) }), { children: [!SvgImage ? (!noImage && (jsxRuntime.jsx("img", { className: imageClassName ? imageClassName : '', src: image || AppNotDeployed, width: getImageSize().width, height: getImageSize().height, alt: "empty-state" }))) : (jsxRuntime.jsx(SvgImage, { style: { width: "".concat(getImageSize().width, "px"), height: "".concat(getImageSize().height, "px") } })), jsxRuntime.jsxs("div", __assign({ className: "flex column dc__gap-10 dc__mxw-300 ".concat(isRowLayout ? 'dc__align-start' : '', " ").concat(contentClassName) }, { children: [jsxRuntime.jsx("h4", __assign({ className: "title fw-6 cn-9 mt-0 mb-0" }, { children: title })), subTitle && jsxRuntime.jsx("p", __assign({ className: "subtitle ".concat(isRowLayout ? 'subtitle--text-start' : '') }, { children: subTitle })), isButtonAvailable && renderButton(), children] }))] })));
|
|
2237
2250
|
}
|
|
2238
2251
|
|
|
2239
2252
|
function ErrorScreenNotFound() {
|
|
@@ -11968,16 +11981,16 @@ var Modal = function (_a) {
|
|
|
11968
11981
|
}, id: "popup", className: "".concat(rootClassName, " popup ").concat(modal ? 'modal' : ''), style: __assign({}, style) }, { children: children })), document.getElementById('visible-modal'));
|
|
11969
11982
|
};
|
|
11970
11983
|
|
|
11971
|
-
var _path$
|
|
11972
|
-
function _extends$
|
|
11984
|
+
var _path$c;
|
|
11985
|
+
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); }
|
|
11973
11986
|
var SvgIcCross = function SvgIcCross(props) {
|
|
11974
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
11987
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$k({
|
|
11975
11988
|
width: "1em",
|
|
11976
11989
|
height: "1em",
|
|
11977
11990
|
viewBox: "0 0 24 24",
|
|
11978
11991
|
fill: "none",
|
|
11979
11992
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11980
|
-
}, props), _path$
|
|
11993
|
+
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
11981
11994
|
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",
|
|
11982
11995
|
fill: "#596168"
|
|
11983
11996
|
})));
|
|
@@ -16276,30 +16289,30 @@ var index = /*#__PURE__*/forwardRef( /*#__PURE__*/TippyGenerator(tippy));
|
|
|
16276
16289
|
|
|
16277
16290
|
var Tippy = index;
|
|
16278
16291
|
|
|
16279
|
-
var _path$
|
|
16280
|
-
function _extends$
|
|
16292
|
+
var _path$b;
|
|
16293
|
+
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); }
|
|
16281
16294
|
var SvgIcHelp = function SvgIcHelp(props) {
|
|
16282
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16295
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$j({
|
|
16283
16296
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16284
16297
|
width: "1em",
|
|
16285
16298
|
height: "1em",
|
|
16286
16299
|
viewBox: "0 0 24 24"
|
|
16287
|
-
}, props), _path$
|
|
16300
|
+
}, props), _path$b || (_path$b = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16288
16301
|
fill: "#767D84",
|
|
16289
16302
|
fillRule: "evenodd",
|
|
16290
16303
|
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"
|
|
16291
16304
|
})));
|
|
16292
16305
|
};
|
|
16293
16306
|
|
|
16294
|
-
var _path$
|
|
16295
|
-
function _extends$
|
|
16307
|
+
var _path$a;
|
|
16308
|
+
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); }
|
|
16296
16309
|
var SvgIcHelpOutline = function SvgIcHelpOutline(props) {
|
|
16297
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16310
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
16298
16311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16299
16312
|
viewBox: "0 0 17 16",
|
|
16300
16313
|
width: "1em",
|
|
16301
16314
|
height: "1em"
|
|
16302
|
-
}, props), _path$
|
|
16315
|
+
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16303
16316
|
fill: "#767D84",
|
|
16304
16317
|
fillRule: "evenodd",
|
|
16305
16318
|
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"
|
|
@@ -16351,16 +16364,16 @@ function TippyCustomized(props) {
|
|
|
16351
16364
|
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 })));
|
|
16352
16365
|
}
|
|
16353
16366
|
|
|
16354
|
-
var _path$
|
|
16355
|
-
function _extends$
|
|
16367
|
+
var _path$9, _circle, _path2$1;
|
|
16368
|
+
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); }
|
|
16356
16369
|
var SvgInjectTag = function SvgInjectTag(props) {
|
|
16357
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16370
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$h({
|
|
16358
16371
|
width: "1em",
|
|
16359
16372
|
height: "1em",
|
|
16360
16373
|
viewBox: "0 0 20 20",
|
|
16361
16374
|
fill: "none",
|
|
16362
16375
|
xmlns: "http://www.w3.org/2000/svg"
|
|
16363
|
-
}, props), _path$
|
|
16376
|
+
}, props), _path$9 || (_path$9 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16364
16377
|
d: "M10 10H3.333",
|
|
16365
16378
|
stroke: "#596168",
|
|
16366
16379
|
strokeWidth: 1.5,
|
|
@@ -16388,15 +16401,15 @@ function PropagateTagInfo(_a) {
|
|
|
16388
16401
|
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" })] })) })));
|
|
16389
16402
|
}
|
|
16390
16403
|
|
|
16391
|
-
var _path$
|
|
16392
|
-
function _extends$
|
|
16404
|
+
var _path$8;
|
|
16405
|
+
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); }
|
|
16393
16406
|
var SvgIcInfoOutlined = function SvgIcInfoOutlined(props) {
|
|
16394
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16407
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$g({
|
|
16395
16408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16396
16409
|
width: "1em",
|
|
16397
16410
|
height: "1em",
|
|
16398
16411
|
viewBox: "0 0 20 20"
|
|
16399
|
-
}, props), _path$
|
|
16412
|
+
}, props), _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16400
16413
|
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",
|
|
16401
16414
|
fill: "#06C",
|
|
16402
16415
|
fillRule: "evenodd"
|
|
@@ -16630,15 +16643,15 @@ var TagDetails = function (_a) {
|
|
|
16630
16643
|
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" }) }))] })));
|
|
16631
16644
|
};
|
|
16632
16645
|
|
|
16633
|
-
var _path$
|
|
16634
|
-
function _extends$
|
|
16646
|
+
var _path$7;
|
|
16647
|
+
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); }
|
|
16635
16648
|
var SvgIcAdd = function SvgIcAdd(props) {
|
|
16636
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
16649
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$f({
|
|
16637
16650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16638
16651
|
width: "1em",
|
|
16639
16652
|
height: "1em",
|
|
16640
16653
|
viewBox: "0 0 24 24"
|
|
16641
|
-
}, props), _path$
|
|
16654
|
+
}, props), _path$7 || (_path$7 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
16642
16655
|
className: "ic-add_svg__fill-color",
|
|
16643
16656
|
fill: "#999",
|
|
16644
16657
|
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"
|
|
@@ -16768,8 +16781,8 @@ function ForceDeleteDialog(_a) {
|
|
|
16768
16781
|
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?" })] }) })) }));
|
|
16769
16782
|
}
|
|
16770
16783
|
|
|
16771
|
-
function _extends$
|
|
16772
|
-
_extends$
|
|
16784
|
+
function _extends$e() {
|
|
16785
|
+
_extends$e = Object.assign ? Object.assign.bind() : function (target) {
|
|
16773
16786
|
for (var i = 1; i < arguments.length; i++) {
|
|
16774
16787
|
var source = arguments[i];
|
|
16775
16788
|
for (var key in source) {
|
|
@@ -16780,7 +16793,7 @@ function _extends$f() {
|
|
|
16780
16793
|
}
|
|
16781
16794
|
return target;
|
|
16782
16795
|
};
|
|
16783
|
-
return _extends$
|
|
16796
|
+
return _extends$e.apply(this, arguments);
|
|
16784
16797
|
}
|
|
16785
16798
|
|
|
16786
16799
|
/*
|
|
@@ -20321,7 +20334,7 @@ var Menu = function Menu(props) {
|
|
|
20321
20334
|
getStyles = props.getStyles,
|
|
20322
20335
|
innerRef = props.innerRef,
|
|
20323
20336
|
innerProps = props.innerProps;
|
|
20324
|
-
return jsx("div", _extends$
|
|
20337
|
+
return jsx("div", _extends$e({
|
|
20325
20338
|
css: getStyles('menu', props),
|
|
20326
20339
|
className: cx({
|
|
20327
20340
|
menu: true
|
|
@@ -20353,7 +20366,7 @@ var MenuList$1 = function MenuList(props) {
|
|
|
20353
20366
|
innerProps = props.innerProps,
|
|
20354
20367
|
innerRef = props.innerRef,
|
|
20355
20368
|
isMulti = props.isMulti;
|
|
20356
|
-
return jsx("div", _extends$
|
|
20369
|
+
return jsx("div", _extends$e({
|
|
20357
20370
|
css: getStyles('menuList', props),
|
|
20358
20371
|
className: cx({
|
|
20359
20372
|
'menu-list': true,
|
|
@@ -20384,7 +20397,7 @@ var NoOptionsMessage = function NoOptionsMessage(props) {
|
|
|
20384
20397
|
cx = props.cx,
|
|
20385
20398
|
getStyles = props.getStyles,
|
|
20386
20399
|
innerProps = props.innerProps;
|
|
20387
|
-
return jsx("div", _extends$
|
|
20400
|
+
return jsx("div", _extends$e({
|
|
20388
20401
|
css: getStyles('noOptionsMessage', props),
|
|
20389
20402
|
className: cx({
|
|
20390
20403
|
'menu-notice': true,
|
|
@@ -20401,7 +20414,7 @@ var LoadingMessage = function LoadingMessage(props) {
|
|
|
20401
20414
|
cx = props.cx,
|
|
20402
20415
|
getStyles = props.getStyles,
|
|
20403
20416
|
innerProps = props.innerProps;
|
|
20404
|
-
return jsx("div", _extends$
|
|
20417
|
+
return jsx("div", _extends$e({
|
|
20405
20418
|
css: getStyles('loadingMessage', props),
|
|
20406
20419
|
className: cx({
|
|
20407
20420
|
'menu-notice': true,
|
|
@@ -20489,7 +20502,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
20489
20502
|
rect: rect
|
|
20490
20503
|
}; // same wrapper element whether fixed or portalled
|
|
20491
20504
|
|
|
20492
|
-
var menuWrapper = jsx("div", _extends$
|
|
20505
|
+
var menuWrapper = jsx("div", _extends$e({
|
|
20493
20506
|
css: getStyles('menuPortal', state),
|
|
20494
20507
|
className: cx({
|
|
20495
20508
|
'menu-portal': true
|
|
@@ -20525,7 +20538,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
20525
20538
|
innerProps = props.innerProps,
|
|
20526
20539
|
isDisabled = props.isDisabled,
|
|
20527
20540
|
isRtl = props.isRtl;
|
|
20528
|
-
return jsx("div", _extends$
|
|
20541
|
+
return jsx("div", _extends$e({
|
|
20529
20542
|
css: getStyles('container', props),
|
|
20530
20543
|
className: cx({
|
|
20531
20544
|
'--is-disabled': isDisabled,
|
|
@@ -20560,7 +20573,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
20560
20573
|
isMulti = props.isMulti,
|
|
20561
20574
|
getStyles = props.getStyles,
|
|
20562
20575
|
hasValue = props.hasValue;
|
|
20563
|
-
return jsx("div", _extends$
|
|
20576
|
+
return jsx("div", _extends$e({
|
|
20564
20577
|
css: getStyles('valueContainer', props),
|
|
20565
20578
|
className: cx({
|
|
20566
20579
|
'value-container': true,
|
|
@@ -20586,7 +20599,7 @@ var IndicatorsContainer = function IndicatorsContainer(props) {
|
|
|
20586
20599
|
cx = props.cx,
|
|
20587
20600
|
innerProps = props.innerProps,
|
|
20588
20601
|
getStyles = props.getStyles;
|
|
20589
|
-
return jsx("div", _extends$
|
|
20602
|
+
return jsx("div", _extends$e({
|
|
20590
20603
|
css: getStyles('indicatorsContainer', props),
|
|
20591
20604
|
className: cx({
|
|
20592
20605
|
indicators: true
|
|
@@ -20617,7 +20630,7 @@ var Svg = function Svg(_ref) {
|
|
|
20617
20630
|
var size = _ref.size,
|
|
20618
20631
|
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
20619
20632
|
|
|
20620
|
-
return jsx("svg", _extends$
|
|
20633
|
+
return jsx("svg", _extends$e({
|
|
20621
20634
|
height: size,
|
|
20622
20635
|
width: size,
|
|
20623
20636
|
viewBox: "0 0 20 20",
|
|
@@ -20628,14 +20641,14 @@ var Svg = function Svg(_ref) {
|
|
|
20628
20641
|
};
|
|
20629
20642
|
|
|
20630
20643
|
var CrossIcon = function CrossIcon(props) {
|
|
20631
|
-
return jsx(Svg, _extends$
|
|
20644
|
+
return jsx(Svg, _extends$e({
|
|
20632
20645
|
size: 20
|
|
20633
20646
|
}, props), jsx("path", {
|
|
20634
20647
|
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"
|
|
20635
20648
|
}));
|
|
20636
20649
|
};
|
|
20637
20650
|
var DownChevron = function DownChevron(props) {
|
|
20638
|
-
return jsx(Svg, _extends$
|
|
20651
|
+
return jsx(Svg, _extends$e({
|
|
20639
20652
|
size: 20
|
|
20640
20653
|
}, props), jsx("path", {
|
|
20641
20654
|
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"
|
|
@@ -20668,7 +20681,7 @@ var DropdownIndicator$1 = function DropdownIndicator(props) {
|
|
|
20668
20681
|
cx = props.cx,
|
|
20669
20682
|
getStyles = props.getStyles,
|
|
20670
20683
|
innerProps = props.innerProps;
|
|
20671
|
-
return jsx("div", _extends$
|
|
20684
|
+
return jsx("div", _extends$e({
|
|
20672
20685
|
css: getStyles('dropdownIndicator', props),
|
|
20673
20686
|
className: cx({
|
|
20674
20687
|
indicator: true,
|
|
@@ -20683,7 +20696,7 @@ var ClearIndicator$1 = function ClearIndicator(props) {
|
|
|
20683
20696
|
cx = props.cx,
|
|
20684
20697
|
getStyles = props.getStyles,
|
|
20685
20698
|
innerProps = props.innerProps;
|
|
20686
|
-
return jsx("div", _extends$
|
|
20699
|
+
return jsx("div", _extends$e({
|
|
20687
20700
|
css: getStyles('clearIndicator', props),
|
|
20688
20701
|
className: cx({
|
|
20689
20702
|
indicator: true,
|
|
@@ -20713,7 +20726,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
|
20713
20726
|
cx = props.cx,
|
|
20714
20727
|
getStyles = props.getStyles,
|
|
20715
20728
|
innerProps = props.innerProps;
|
|
20716
|
-
return jsx("span", _extends$
|
|
20729
|
+
return jsx("span", _extends$e({}, innerProps, {
|
|
20717
20730
|
css: getStyles('indicatorSeparator', props),
|
|
20718
20731
|
className: cx({
|
|
20719
20732
|
'indicator-separator': true
|
|
@@ -20768,7 +20781,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
|
20768
20781
|
getStyles = props.getStyles,
|
|
20769
20782
|
innerProps = props.innerProps,
|
|
20770
20783
|
isRtl = props.isRtl;
|
|
20771
|
-
return jsx("div", _extends$
|
|
20784
|
+
return jsx("div", _extends$e({
|
|
20772
20785
|
css: getStyles('loadingIndicator', props),
|
|
20773
20786
|
className: cx({
|
|
20774
20787
|
indicator: true,
|
|
@@ -20829,7 +20842,7 @@ var Control = function Control(props) {
|
|
|
20829
20842
|
innerRef = props.innerRef,
|
|
20830
20843
|
innerProps = props.innerProps,
|
|
20831
20844
|
menuIsOpen = props.menuIsOpen;
|
|
20832
|
-
return jsx("div", _extends$
|
|
20845
|
+
return jsx("div", _extends$e({
|
|
20833
20846
|
ref: innerRef,
|
|
20834
20847
|
css: getStyles('control', props),
|
|
20835
20848
|
className: cx({
|
|
@@ -20861,12 +20874,12 @@ var Group = function Group(props) {
|
|
|
20861
20874
|
label = props.label,
|
|
20862
20875
|
theme = props.theme,
|
|
20863
20876
|
selectProps = props.selectProps;
|
|
20864
|
-
return jsx("div", _extends$
|
|
20877
|
+
return jsx("div", _extends$e({
|
|
20865
20878
|
css: getStyles('group', props),
|
|
20866
20879
|
className: cx({
|
|
20867
20880
|
group: true
|
|
20868
20881
|
}, className)
|
|
20869
|
-
}, innerProps), jsx(Heading, _extends$
|
|
20882
|
+
}, innerProps), jsx(Heading, _extends$e({}, headingProps, {
|
|
20870
20883
|
selectProps: selectProps,
|
|
20871
20884
|
theme: theme,
|
|
20872
20885
|
getStyles: getStyles,
|
|
@@ -20898,7 +20911,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
20898
20911
|
_cleanCommonProps.data;
|
|
20899
20912
|
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
20900
20913
|
|
|
20901
|
-
return jsx("div", _extends$
|
|
20914
|
+
return jsx("div", _extends$e({
|
|
20902
20915
|
css: getStyles('groupHeading', props),
|
|
20903
20916
|
className: cx({
|
|
20904
20917
|
'group-heading': true
|
|
@@ -20974,7 +20987,7 @@ var Input = function Input(props) {
|
|
|
20974
20987
|
}, className),
|
|
20975
20988
|
css: getStyles('input', props),
|
|
20976
20989
|
"data-value": value || ''
|
|
20977
|
-
}, jsx("input", _extends$
|
|
20990
|
+
}, jsx("input", _extends$e({
|
|
20978
20991
|
className: cx({
|
|
20979
20992
|
input: true
|
|
20980
20993
|
}, inputClassName),
|
|
@@ -21044,7 +21057,7 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
21044
21057
|
function MultiValueRemove$1(_ref5) {
|
|
21045
21058
|
var children = _ref5.children,
|
|
21046
21059
|
innerProps = _ref5.innerProps;
|
|
21047
|
-
return jsx("div", _extends$
|
|
21060
|
+
return jsx("div", _extends$e({
|
|
21048
21061
|
role: "button"
|
|
21049
21062
|
}, innerProps), children || jsx(CrossIcon, {
|
|
21050
21063
|
size: 14
|
|
@@ -21133,7 +21146,7 @@ var Option$1 = function Option(props) {
|
|
|
21133
21146
|
isSelected = props.isSelected,
|
|
21134
21147
|
innerRef = props.innerRef,
|
|
21135
21148
|
innerProps = props.innerProps;
|
|
21136
|
-
return jsx("div", _extends$
|
|
21149
|
+
return jsx("div", _extends$e({
|
|
21137
21150
|
css: getStyles('option', props),
|
|
21138
21151
|
className: cx({
|
|
21139
21152
|
option: true,
|
|
@@ -21165,7 +21178,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
21165
21178
|
cx = props.cx,
|
|
21166
21179
|
getStyles = props.getStyles,
|
|
21167
21180
|
innerProps = props.innerProps;
|
|
21168
|
-
return jsx("div", _extends$
|
|
21181
|
+
return jsx("div", _extends$e({
|
|
21169
21182
|
css: getStyles('placeholder', props),
|
|
21170
21183
|
className: cx({
|
|
21171
21184
|
placeholder: true
|
|
@@ -21198,7 +21211,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
21198
21211
|
getStyles = props.getStyles,
|
|
21199
21212
|
isDisabled = props.isDisabled,
|
|
21200
21213
|
innerProps = props.innerProps;
|
|
21201
|
-
return jsx("div", _extends$
|
|
21214
|
+
return jsx("div", _extends$e({
|
|
21202
21215
|
css: getStyles('singleValue', props),
|
|
21203
21216
|
className: cx({
|
|
21204
21217
|
'single-value': true,
|
|
@@ -21446,7 +21459,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
21446
21459
|
};
|
|
21447
21460
|
|
|
21448
21461
|
var A11yText = function A11yText(props) {
|
|
21449
|
-
return jsx("span", _extends$
|
|
21462
|
+
return jsx("span", _extends$e({
|
|
21450
21463
|
css: _ref
|
|
21451
21464
|
}, props));
|
|
21452
21465
|
};
|
|
@@ -21982,7 +21995,7 @@ function DummyInput(_ref) {
|
|
|
21982
21995
|
var innerRef = _ref.innerRef,
|
|
21983
21996
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
21984
21997
|
|
|
21985
|
-
return jsx("input", _extends$
|
|
21998
|
+
return jsx("input", _extends$e({
|
|
21986
21999
|
ref: innerRef
|
|
21987
22000
|
}, props, {
|
|
21988
22001
|
css: /*#__PURE__*/css$2({
|
|
@@ -23617,7 +23630,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23617
23630
|
|
|
23618
23631
|
if (!isSearchable) {
|
|
23619
23632
|
// use a dummy input to maintain focus/blur functionality
|
|
23620
|
-
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$
|
|
23633
|
+
return /*#__PURE__*/React__namespace.createElement(DummyInput, _extends$e({
|
|
23621
23634
|
id: id,
|
|
23622
23635
|
innerRef: this.getInputRef,
|
|
23623
23636
|
onBlur: this.onInputBlur,
|
|
@@ -23631,7 +23644,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23631
23644
|
}, ariaAttributes));
|
|
23632
23645
|
}
|
|
23633
23646
|
|
|
23634
|
-
return /*#__PURE__*/React__namespace.createElement(Input, _extends$
|
|
23647
|
+
return /*#__PURE__*/React__namespace.createElement(Input, _extends$e({}, commonProps, {
|
|
23635
23648
|
autoCapitalize: "none",
|
|
23636
23649
|
autoComplete: "off",
|
|
23637
23650
|
autoCorrect: "off",
|
|
@@ -23675,7 +23688,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23675
23688
|
isFocused = _this$state5.isFocused;
|
|
23676
23689
|
|
|
23677
23690
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
23678
|
-
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$
|
|
23691
|
+
return inputValue ? null : /*#__PURE__*/React__namespace.createElement(Placeholder, _extends$e({}, commonProps, {
|
|
23679
23692
|
key: "placeholder",
|
|
23680
23693
|
isDisabled: isDisabled,
|
|
23681
23694
|
isFocused: isFocused,
|
|
@@ -23689,7 +23702,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23689
23702
|
return selectValue.map(function (opt, index) {
|
|
23690
23703
|
var isOptionFocused = opt === focusedValue;
|
|
23691
23704
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
23692
|
-
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$
|
|
23705
|
+
return /*#__PURE__*/React__namespace.createElement(MultiValue, _extends$e({}, commonProps, {
|
|
23693
23706
|
components: {
|
|
23694
23707
|
Container: MultiValueContainer,
|
|
23695
23708
|
Label: MultiValueLabel,
|
|
@@ -23721,7 +23734,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23721
23734
|
}
|
|
23722
23735
|
|
|
23723
23736
|
var singleValue = selectValue[0];
|
|
23724
|
-
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$
|
|
23737
|
+
return /*#__PURE__*/React__namespace.createElement(SingleValue, _extends$e({}, commonProps, {
|
|
23725
23738
|
data: singleValue,
|
|
23726
23739
|
isDisabled: isDisabled
|
|
23727
23740
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -23747,7 +23760,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23747
23760
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
23748
23761
|
'aria-hidden': 'true'
|
|
23749
23762
|
};
|
|
23750
|
-
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$
|
|
23763
|
+
return /*#__PURE__*/React__namespace.createElement(ClearIndicator, _extends$e({}, commonProps, {
|
|
23751
23764
|
innerProps: innerProps,
|
|
23752
23765
|
isFocused: isFocused
|
|
23753
23766
|
}));
|
|
@@ -23767,7 +23780,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23767
23780
|
var innerProps = {
|
|
23768
23781
|
'aria-hidden': 'true'
|
|
23769
23782
|
};
|
|
23770
|
-
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$
|
|
23783
|
+
return /*#__PURE__*/React__namespace.createElement(LoadingIndicator, _extends$e({}, commonProps, {
|
|
23771
23784
|
innerProps: innerProps,
|
|
23772
23785
|
isDisabled: isDisabled,
|
|
23773
23786
|
isFocused: isFocused
|
|
@@ -23785,7 +23798,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23785
23798
|
var commonProps = this.commonProps;
|
|
23786
23799
|
var isDisabled = this.props.isDisabled;
|
|
23787
23800
|
var isFocused = this.state.isFocused;
|
|
23788
|
-
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$
|
|
23801
|
+
return /*#__PURE__*/React__namespace.createElement(IndicatorSeparator, _extends$e({}, commonProps, {
|
|
23789
23802
|
isDisabled: isDisabled,
|
|
23790
23803
|
isFocused: isFocused
|
|
23791
23804
|
}));
|
|
@@ -23805,7 +23818,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23805
23818
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
23806
23819
|
'aria-hidden': 'true'
|
|
23807
23820
|
};
|
|
23808
|
-
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$
|
|
23821
|
+
return /*#__PURE__*/React__namespace.createElement(DropdownIndicator, _extends$e({}, commonProps, {
|
|
23809
23822
|
innerProps: innerProps,
|
|
23810
23823
|
isDisabled: isDisabled,
|
|
23811
23824
|
isFocused: isFocused
|
|
@@ -23868,7 +23881,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23868
23881
|
onMouseOver: onHover,
|
|
23869
23882
|
tabIndex: -1
|
|
23870
23883
|
};
|
|
23871
|
-
return /*#__PURE__*/React__namespace.createElement(Option, _extends$
|
|
23884
|
+
return /*#__PURE__*/React__namespace.createElement(Option, _extends$e({}, commonProps, {
|
|
23872
23885
|
innerProps: innerProps,
|
|
23873
23886
|
data: data,
|
|
23874
23887
|
isDisabled: isDisabled,
|
|
@@ -23892,7 +23905,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23892
23905
|
groupIndex = item.index;
|
|
23893
23906
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
23894
23907
|
var headingId = "".concat(groupId, "-heading");
|
|
23895
|
-
return /*#__PURE__*/React__namespace.createElement(Group, _extends$
|
|
23908
|
+
return /*#__PURE__*/React__namespace.createElement(Group, _extends$e({}, commonProps, {
|
|
23896
23909
|
key: groupId,
|
|
23897
23910
|
data: _data,
|
|
23898
23911
|
options: options,
|
|
@@ -23931,12 +23944,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23931
23944
|
menuPosition: menuPosition,
|
|
23932
23945
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
23933
23946
|
};
|
|
23934
|
-
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$
|
|
23947
|
+
var menuElement = /*#__PURE__*/React__namespace.createElement(MenuPlacer, _extends$e({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
23935
23948
|
var ref = _ref4.ref,
|
|
23936
23949
|
_ref4$placerProps = _ref4.placerProps,
|
|
23937
23950
|
placement = _ref4$placerProps.placement,
|
|
23938
23951
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
23939
|
-
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$
|
|
23952
|
+
return /*#__PURE__*/React__namespace.createElement(Menu, _extends$e({}, commonProps, menuPlacementProps, {
|
|
23940
23953
|
innerRef: ref,
|
|
23941
23954
|
innerProps: {
|
|
23942
23955
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -23951,7 +23964,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23951
23964
|
onBottomArrive: onMenuScrollToBottom,
|
|
23952
23965
|
lockEnabled: menuShouldBlockScroll
|
|
23953
23966
|
}, function (scrollTargetRef) {
|
|
23954
|
-
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$
|
|
23967
|
+
return /*#__PURE__*/React__namespace.createElement(MenuList, _extends$e({}, commonProps, {
|
|
23955
23968
|
innerRef: function innerRef(instance) {
|
|
23956
23969
|
_this4.getMenuListRef(instance);
|
|
23957
23970
|
|
|
@@ -23966,7 +23979,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
23966
23979
|
// so we use the same component. the actual portalling logic is forked
|
|
23967
23980
|
// within the component based on `menuPosition`
|
|
23968
23981
|
|
|
23969
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$
|
|
23982
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React__namespace.createElement(MenuPortal, _extends$e({}, commonProps, {
|
|
23970
23983
|
appendTo: menuPortalTarget,
|
|
23971
23984
|
controlElement: this.controlRef,
|
|
23972
23985
|
menuPlacement: menuPlacement,
|
|
@@ -24031,7 +24044,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24031
24044
|
isFocused = _this$state6.isFocused,
|
|
24032
24045
|
selectValue = _this$state6.selectValue;
|
|
24033
24046
|
var focusableOptions = this.getFocusableOptions();
|
|
24034
|
-
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$
|
|
24047
|
+
return /*#__PURE__*/React__namespace.createElement(LiveRegion, _extends$e({}, commonProps, {
|
|
24035
24048
|
id: this.getElementId('live-region'),
|
|
24036
24049
|
ariaSelection: ariaSelection,
|
|
24037
24050
|
focusedOption: focusedOption,
|
|
@@ -24057,7 +24070,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24057
24070
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
24058
24071
|
var isFocused = this.state.isFocused;
|
|
24059
24072
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
24060
|
-
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$
|
|
24073
|
+
return /*#__PURE__*/React__namespace.createElement(SelectContainer, _extends$e({}, commonProps, {
|
|
24061
24074
|
className: className,
|
|
24062
24075
|
innerProps: {
|
|
24063
24076
|
id: id,
|
|
@@ -24065,7 +24078,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24065
24078
|
},
|
|
24066
24079
|
isDisabled: isDisabled,
|
|
24067
24080
|
isFocused: isFocused
|
|
24068
|
-
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$
|
|
24081
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React__namespace.createElement(Control, _extends$e({}, commonProps, {
|
|
24069
24082
|
innerRef: this.getControlRef,
|
|
24070
24083
|
innerProps: {
|
|
24071
24084
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -24074,9 +24087,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
24074
24087
|
isDisabled: isDisabled,
|
|
24075
24088
|
isFocused: isFocused,
|
|
24076
24089
|
menuIsOpen: menuIsOpen
|
|
24077
|
-
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$
|
|
24090
|
+
}), /*#__PURE__*/React__namespace.createElement(ValueContainer, _extends$e({}, commonProps, {
|
|
24078
24091
|
isDisabled: isDisabled
|
|
24079
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$
|
|
24092
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React__namespace.createElement(IndicatorsContainer, _extends$e({}, commonProps, {
|
|
24080
24093
|
isDisabled: isDisabled
|
|
24081
24094
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
24082
24095
|
}
|
|
@@ -24149,7 +24162,7 @@ Select$1.defaultProps = defaultProps;
|
|
|
24149
24162
|
|
|
24150
24163
|
var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
24151
24164
|
var baseSelectProps = useStateManager(props);
|
|
24152
|
-
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$
|
|
24165
|
+
return /*#__PURE__*/React__namespace.createElement(Select$1, _extends$e({
|
|
24153
24166
|
ref: ref
|
|
24154
24167
|
}, baseSelectProps));
|
|
24155
24168
|
});
|
|
@@ -24157,9 +24170,9 @@ var StateManagedSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
24157
24170
|
var ReactSelect = StateManagedSelect;
|
|
24158
24171
|
|
|
24159
24172
|
var _g$5;
|
|
24160
|
-
function _extends$
|
|
24173
|
+
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); }
|
|
24161
24174
|
var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
24162
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24175
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$d({
|
|
24163
24176
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24164
24177
|
viewBox: "0 0 28 28",
|
|
24165
24178
|
width: "1em",
|
|
@@ -24180,15 +24193,15 @@ var SvgIcAppstatusCancelled = function SvgIcAppstatusCancelled(props) {
|
|
|
24180
24193
|
}))));
|
|
24181
24194
|
};
|
|
24182
24195
|
|
|
24183
|
-
var _path$
|
|
24184
|
-
function _extends$
|
|
24196
|
+
var _path$6;
|
|
24197
|
+
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); }
|
|
24185
24198
|
var SvgIcCheck = function SvgIcCheck(props) {
|
|
24186
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24199
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$c({
|
|
24187
24200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24188
24201
|
width: "1em",
|
|
24189
24202
|
height: "1em",
|
|
24190
24203
|
viewBox: "0 0 24 24"
|
|
24191
|
-
}, props), _path$
|
|
24204
|
+
}, props), _path$6 || (_path$6 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24192
24205
|
stroke: "#06C",
|
|
24193
24206
|
strokeLinecap: "round",
|
|
24194
24207
|
strokeLinejoin: "round",
|
|
@@ -24200,9 +24213,9 @@ var SvgIcCheck = function SvgIcCheck(props) {
|
|
|
24200
24213
|
};
|
|
24201
24214
|
|
|
24202
24215
|
var _g$4;
|
|
24203
|
-
function _extends$
|
|
24216
|
+
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); }
|
|
24204
24217
|
var SvgIcErrorMedium = function SvgIcErrorMedium(props) {
|
|
24205
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24218
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$b({
|
|
24206
24219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24207
24220
|
width: "1em",
|
|
24208
24221
|
height: "1em",
|
|
@@ -24680,9 +24693,9 @@ exports.ConsequenceAction = void 0;
|
|
|
24680
24693
|
})(exports.ConsequenceAction || (exports.ConsequenceAction = {}));
|
|
24681
24694
|
|
|
24682
24695
|
var _g$3;
|
|
24683
|
-
function _extends$
|
|
24696
|
+
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); }
|
|
24684
24697
|
var SvgIcInfoFilled = function SvgIcInfoFilled(props) {
|
|
24685
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24698
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$a({
|
|
24686
24699
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24687
24700
|
width: "1em",
|
|
24688
24701
|
height: "1em",
|
|
@@ -24761,16 +24774,16 @@ function DeleteComponent(_a) {
|
|
|
24761
24774
|
return (jsxRuntime.jsxs("div", { children: [!showCannotDeleteDialogModal && renderDeleteDialog(), showCannotDeleteDialogModal && renderCannotDeleteDialogModal()] }));
|
|
24762
24775
|
}
|
|
24763
24776
|
|
|
24764
|
-
var _path$
|
|
24765
|
-
function _extends$
|
|
24777
|
+
var _path$5;
|
|
24778
|
+
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); }
|
|
24766
24779
|
var SvgIcPencil = function SvgIcPencil(props) {
|
|
24767
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24780
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$9({
|
|
24768
24781
|
width: "1em",
|
|
24769
24782
|
height: "1em",
|
|
24770
24783
|
viewBox: "0 0 20 20",
|
|
24771
24784
|
fill: "none",
|
|
24772
24785
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24773
|
-
}, props), _path$
|
|
24786
|
+
}, props), _path$5 || (_path$5 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24774
24787
|
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",
|
|
24775
24788
|
stroke: "#596168",
|
|
24776
24789
|
strokeWidth: 1.5,
|
|
@@ -24779,16 +24792,16 @@ var SvgIcPencil = function SvgIcPencil(props) {
|
|
|
24779
24792
|
})));
|
|
24780
24793
|
};
|
|
24781
24794
|
|
|
24782
|
-
var _path$
|
|
24783
|
-
function _extends$
|
|
24795
|
+
var _path$4, _path2, _path3;
|
|
24796
|
+
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); }
|
|
24784
24797
|
var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
24785
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24798
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$8({
|
|
24786
24799
|
width: "1em",
|
|
24787
24800
|
height: "1em",
|
|
24788
24801
|
viewBox: "0 0 12 12",
|
|
24789
24802
|
fill: "none",
|
|
24790
24803
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24791
|
-
}, props), _path$
|
|
24804
|
+
}, props), _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24792
24805
|
d: "M3.742 4.674h-2.25v-2.25",
|
|
24793
24806
|
fill: "#767D84"
|
|
24794
24807
|
})), _path2 || (_path2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -24806,15 +24819,15 @@ var SvgIcArrowCounterClockwise = function SvgIcArrowCounterClockwise(props) {
|
|
|
24806
24819
|
})));
|
|
24807
24820
|
};
|
|
24808
24821
|
|
|
24809
|
-
var _path$
|
|
24810
|
-
function _extends$
|
|
24822
|
+
var _path$3;
|
|
24823
|
+
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); }
|
|
24811
24824
|
var SvgIcMinus = function SvgIcMinus(props) {
|
|
24812
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24825
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$7({
|
|
24813
24826
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24814
24827
|
width: "1em",
|
|
24815
24828
|
height: "1em",
|
|
24816
24829
|
viewBox: "0 0 14 14"
|
|
24817
|
-
}, props), _path$
|
|
24830
|
+
}, props), _path$3 || (_path$3 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24818
24831
|
fill: "#959BA1",
|
|
24819
24832
|
className: "ic-minus_svg__fill-color",
|
|
24820
24833
|
fillRule: "evenodd",
|
|
@@ -24823,9 +24836,9 @@ var SvgIcMinus = function SvgIcMinus(props) {
|
|
|
24823
24836
|
};
|
|
24824
24837
|
|
|
24825
24838
|
var _g$2;
|
|
24826
|
-
function _extends$
|
|
24839
|
+
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); }
|
|
24827
24840
|
var SvgIcWarning = function SvgIcWarning(props) {
|
|
24828
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24841
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$6({
|
|
24829
24842
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24830
24843
|
width: "1em",
|
|
24831
24844
|
height: "1em",
|
|
@@ -24845,9 +24858,9 @@ var SvgIcWarning = function SvgIcWarning(props) {
|
|
|
24845
24858
|
};
|
|
24846
24859
|
|
|
24847
24860
|
var _g$1;
|
|
24848
|
-
function _extends$
|
|
24861
|
+
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); }
|
|
24849
24862
|
var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
24850
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24863
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$5({
|
|
24851
24864
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24852
24865
|
width: "1em",
|
|
24853
24866
|
height: "1em",
|
|
@@ -24864,16 +24877,16 @@ var SvgIcErrorExclamation = function SvgIcErrorExclamation(props) {
|
|
|
24864
24877
|
}))));
|
|
24865
24878
|
};
|
|
24866
24879
|
|
|
24867
|
-
var _path$
|
|
24868
|
-
function _extends$
|
|
24880
|
+
var _path$2;
|
|
24881
|
+
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); }
|
|
24869
24882
|
var SvgIcEnter = function SvgIcEnter(props) {
|
|
24870
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
24883
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$4({
|
|
24871
24884
|
width: "1em",
|
|
24872
24885
|
height: "1em",
|
|
24873
24886
|
viewBox: "0 0 16 16",
|
|
24874
24887
|
fill: "none",
|
|
24875
24888
|
xmlns: "http://www.w3.org/2000/svg"
|
|
24876
|
-
}, props), _path$
|
|
24889
|
+
}, props), _path$2 || (_path$2 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
24877
24890
|
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",
|
|
24878
24891
|
fill: "#3B444C"
|
|
24879
24892
|
})));
|
|
@@ -25232,9 +25245,9 @@ function useDebouncedEffect(callback, delay, deps) {
|
|
|
25232
25245
|
}
|
|
25233
25246
|
|
|
25234
25247
|
var _g;
|
|
25235
|
-
function _extends$
|
|
25248
|
+
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); }
|
|
25236
25249
|
var SvgIcErrorCross = function SvgIcErrorCross(props) {
|
|
25237
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
25250
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
|
|
25238
25251
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25239
25252
|
width: "1em",
|
|
25240
25253
|
height: "1em",
|
|
@@ -25286,7 +25299,7 @@ function DebouncedSearch(_a) {
|
|
|
25286
25299
|
|
|
25287
25300
|
// This is meant to be a reusable component that will provide a grid like dynamic layout where xs is the number of columns out of 12 that the item will take up
|
|
25288
25301
|
function Grid(_a) {
|
|
25289
|
-
var container = _a.container, _b = _a.spacing, spacing = _b === void 0 ? 0 : _b, item = _a.item, xs = _a.xs, _c = _a.containerClass, containerClass = _c === void 0 ? '' : _c, _d = _a.itemClass, itemClass = _d === void 0 ? '' : _d, children = _a.children
|
|
25302
|
+
var container = _a.container, _b = _a.spacing, spacing = _b === void 0 ? 0 : _b, item = _a.item, xs = _a.xs, _c = _a.containerClass, containerClass = _c === void 0 ? '' : _c, _d = _a.itemClass, itemClass = _d === void 0 ? '' : _d, children = _a.children;
|
|
25290
25303
|
var containerStyles = container ? { gap: spacing + 'px' } : {};
|
|
25291
25304
|
if (item) {
|
|
25292
25305
|
var getColumnWidth = function () {
|
|
@@ -25297,20 +25310,20 @@ function Grid(_a) {
|
|
|
25297
25310
|
var itemStyles = {
|
|
25298
25311
|
flex: "1 1 ".concat(getColumnWidth()),
|
|
25299
25312
|
};
|
|
25300
|
-
return (jsxRuntime.jsx("div", __assign({ className: "p-0 ".concat(itemClass), style: itemStyles },
|
|
25313
|
+
return (jsxRuntime.jsx("div", __assign({ className: "p-0 ".concat(itemClass), style: itemStyles }, { children: children })));
|
|
25301
25314
|
}
|
|
25302
|
-
return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles },
|
|
25315
|
+
return (jsxRuntime.jsx("div", __assign({ className: "flex-wrap flexbox ".concat(container ? containerClass : ''), style: containerStyles }, { children: children })));
|
|
25303
25316
|
}
|
|
25304
25317
|
|
|
25305
|
-
var _path$
|
|
25306
|
-
function _extends$
|
|
25318
|
+
var _path$1;
|
|
25319
|
+
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); }
|
|
25307
25320
|
var SvgIcCopy = function SvgIcCopy(props) {
|
|
25308
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
25321
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
|
|
25309
25322
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25310
25323
|
width: "1em",
|
|
25311
25324
|
height: "1em",
|
|
25312
25325
|
viewBox: "0 0 20 20"
|
|
25313
|
-
}, props), _path$
|
|
25326
|
+
}, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
25314
25327
|
fill: "#767D84",
|
|
25315
25328
|
fillRule: "evenodd",
|
|
25316
25329
|
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"
|
|
@@ -25383,30 +25396,6 @@ var useClickOutside = function (ref, callback) {
|
|
|
25383
25396
|
}, [ref, callback]);
|
|
25384
25397
|
};
|
|
25385
25398
|
|
|
25386
|
-
function getSize() {
|
|
25387
|
-
return {
|
|
25388
|
-
width: window.innerWidth,
|
|
25389
|
-
height: window.innerHeight,
|
|
25390
|
-
};
|
|
25391
|
-
}
|
|
25392
|
-
function useWindowSize() {
|
|
25393
|
-
var timeout;
|
|
25394
|
-
var _a = __read(React.useState(getSize), 2), windowSize = _a[0], setWindowSize = _a[1];
|
|
25395
|
-
function handleResize(e) {
|
|
25396
|
-
if (timeout) {
|
|
25397
|
-
window.cancelAnimationFrame(timeout);
|
|
25398
|
-
}
|
|
25399
|
-
timeout = window.requestAnimationFrame(function () {
|
|
25400
|
-
setWindowSize(getSize());
|
|
25401
|
-
});
|
|
25402
|
-
}
|
|
25403
|
-
React.useEffect(function () {
|
|
25404
|
-
window.addEventListener('resize', handleResize, false);
|
|
25405
|
-
return function () { return window.removeEventListener('resize', handleResize, false); };
|
|
25406
|
-
}, []);
|
|
25407
|
-
return windowSize;
|
|
25408
|
-
}
|
|
25409
|
-
|
|
25410
25399
|
var StatusConstants = {
|
|
25411
25400
|
NOT_DEPLOYED: {
|
|
25412
25401
|
noSpaceLower: 'notdeployed',
|
|
@@ -28142,15 +28131,15 @@ var getInferredTypeFromValueType = function (value) {
|
|
|
28142
28131
|
}
|
|
28143
28132
|
};
|
|
28144
28133
|
|
|
28145
|
-
var _path
|
|
28146
|
-
function _extends$
|
|
28134
|
+
var _path;
|
|
28135
|
+
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); }
|
|
28147
28136
|
var SvgIcChevronDown = function SvgIcChevronDown(props) {
|
|
28148
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
28137
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
|
|
28149
28138
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28150
28139
|
width: "1em",
|
|
28151
28140
|
height: "1em",
|
|
28152
28141
|
viewBox: "0 0 24 24"
|
|
28153
|
-
}, props), _path
|
|
28142
|
+
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
28154
28143
|
fill: "#999",
|
|
28155
28144
|
className: "ic-chevron-down_svg__fill-color",
|
|
28156
28145
|
fillRule: "nonzero",
|
|
@@ -28210,9 +28199,9 @@ var validator = RJSFValidator.default;
|
|
|
28210
28199
|
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 }))); };
|
|
28211
28200
|
|
|
28212
28201
|
var _style, _rect;
|
|
28213
|
-
function _extends
|
|
28202
|
+
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); }
|
|
28214
28203
|
var SvgIcRotateDevtron = function SvgIcRotateDevtron(props) {
|
|
28215
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends
|
|
28204
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
28216
28205
|
width: "1em",
|
|
28217
28206
|
height: "1em",
|
|
28218
28207
|
viewBox: "0 0 100 100",
|
|
@@ -28348,7 +28337,7 @@ var handleAddCD = function (_a) {
|
|
|
28348
28337
|
};
|
|
28349
28338
|
|
|
28350
28339
|
function CustomInput(_a) {
|
|
28351
|
-
var name = _a.name, value = _a.value, error = _a.error, onChange = _a.onChange, _b = _a.onFocus, onFocus = _b === void 0 ? function (e) { } : _b, label = _a.label, _c = _a.type, type = _c === void 0 ? 'text' : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.labelClassName, labelClassName = _e === void 0 ? '' : _e, _f = _a.placeholder, placeholder = _f === void 0 ? '' : _f, _g = _a.tabIndex, tabIndex = _g === void 0 ? 1 : _g, _h = _a.dataTestid, dataTestid = _h === void 0 ? '' : _h, _j = _a.isRequiredField, isRequiredField = _j === void 0 ? false : _j, _k = _a.autoFocus, autoFocus = _k === void 0 ? false : _k, _l = _a.rootClassName, rootClassName = _l === void 0 ? '' : _l, _m = _a.autoComplete, autoComplete = _m === void 0 ? 'off' : _m, _o = _a.helperText, helperText = _o === void 0 ? '' : _o, handleOnBlur = _a.handleOnBlur, _p = _a.readOnly, readOnly = _p === void 0 ? false : _p, _q = _a.noTrim, noTrim = _q === void 0 ? false : _q, ref = _a.ref, onKeyPress = _a.onKeyPress, defaultValue = _a.defaultValue, onKeyDown = _a.onKeyDown, required = _a.required, additionalErrorInfo = _a.additionalErrorInfo;
|
|
28340
|
+
var name = _a.name, value = _a.value, error = _a.error, onChange = _a.onChange, _b = _a.onFocus, onFocus = _b === void 0 ? function (e) { } : _b, label = _a.label, _c = _a.type, type = _c === void 0 ? 'text' : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d, _e = _a.labelClassName, labelClassName = _e === void 0 ? '' : _e, _f = _a.placeholder, placeholder = _f === void 0 ? '' : _f, _g = _a.tabIndex, tabIndex = _g === void 0 ? 1 : _g, _h = _a.dataTestid, dataTestid = _h === void 0 ? '' : _h, _j = _a.isRequiredField, isRequiredField = _j === void 0 ? false : _j, _k = _a.autoFocus, autoFocus = _k === void 0 ? false : _k, _l = _a.rootClassName, rootClassName = _l === void 0 ? '' : _l, _m = _a.autoComplete, autoComplete = _m === void 0 ? 'off' : _m, _o = _a.helperText, helperText = _o === void 0 ? '' : _o, handleOnBlur = _a.handleOnBlur, _p = _a.readOnly, readOnly = _p === void 0 ? false : _p, _q = _a.noTrim, noTrim = _q === void 0 ? false : _q, ref = _a.ref, onKeyPress = _a.onKeyPress, defaultValue = _a.defaultValue, onKeyDown = _a.onKeyDown, required = _a.required, additionalErrorInfo = _a.additionalErrorInfo, _r = _a.inputWrapClassname, inputWrapClassname = _r === void 0 ? '' : _r;
|
|
28352
28341
|
function handleError(error) {
|
|
28353
28342
|
if (!Array.isArray(error)) {
|
|
28354
28343
|
return [error];
|
|
@@ -28397,111 +28386,12 @@ function CustomInput(_a) {
|
|
|
28397
28386
|
return (jsxRuntime.jsx("label", __assign({ className: "form__label ".concat(labelClassName), "data-testid": "label-".concat(dataTestid) }, { children: renderInputLabelConditionally() })));
|
|
28398
28387
|
}
|
|
28399
28388
|
};
|
|
28400
|
-
return (jsxRuntime.jsxs("div", __assign({ className: "flex column left top" }, { children: [renderInputLabel(), jsxRuntime.jsx("input", { "data-testid": dataTestid, type: type, name: name, autoComplete: autoComplete, className: "form__input ".concat(rootClassName), onChange: function (e) {
|
|
28389
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "flex column left top ".concat(inputWrapClassname) }, { children: [renderInputLabel(), jsxRuntime.jsx("input", { "data-testid": dataTestid, type: type, name: name, autoComplete: autoComplete, className: "form__input ".concat(rootClassName), onChange: function (e) {
|
|
28401
28390
|
e.persist();
|
|
28402
28391
|
onChange(e);
|
|
28403
28392
|
}, onBlur: onBlur, onFocus: onFocus, placeholder: placeholder, value: value, disabled: disabled, tabIndex: tabIndex, autoFocus: autoFocus, readOnly: readOnly, ref: ref, onKeyPress: onKeyPress, defaultValue: defaultValue, onKeyDown: onKeyDown, required: required }), getInputError(), helperText && (jsxRuntime.jsxs("div", __assign({ className: "form__text-field-info" }, { children: [jsxRuntime.jsx(SvgIcInfoFilled, { className: "form__icon form__icon--info" }), jsxRuntime.jsx("p", __assign({ className: "sentence-case" }, { children: helperText }))] })))] })));
|
|
28404
28393
|
}
|
|
28405
28394
|
|
|
28406
|
-
exports.DraggablePositionVariant = void 0;
|
|
28407
|
-
(function (DraggablePositionVariant) {
|
|
28408
|
-
DraggablePositionVariant["PARENT_BOTTOM_CENTER"] = "PARENT_BOTTOM_CENTER";
|
|
28409
|
-
DraggablePositionVariant["SCREEN_BOTTOM_CENTER"] = "SCREEN_BOTTOM_CENTER";
|
|
28410
|
-
// Can add more based on requirement
|
|
28411
|
-
})(exports.DraggablePositionVariant || (exports.DraggablePositionVariant = {}));
|
|
28412
|
-
|
|
28413
|
-
/**
|
|
28414
|
-
* TODO: import it as lazy, after it is supported in common
|
|
28415
|
-
* 1. If using react select please use menuPlacement='auto'
|
|
28416
|
-
* 2. dragClassName will be used to identify the grabbable button that will grab the div to drag
|
|
28417
|
-
* 3. parentRef is the reference point from which we will derive the base top:0 ,left: 0 position
|
|
28418
|
-
*/
|
|
28419
|
-
function DraggableWrapper(_a) {
|
|
28420
|
-
var children = _a.children, _b = _a.zIndex, zIndex = _b === void 0 ? MAX_Z_INDEX : _b, positionVariant = _a.positionVariant, dragClassName = _a.dragClassName, parentRef = _a.parentRef, _c = _a.boundaryGap, boundaryGap = _c === void 0 ? 16 : _c, _d = _a.childDivProps, childDivProps = _d === void 0 ? {} : _d;
|
|
28421
|
-
var windowSize = useWindowSize();
|
|
28422
|
-
var nodeRef = React.useRef(null);
|
|
28423
|
-
var getDefaultPosition = function (positionVariant) {
|
|
28424
|
-
var _a, _b, _c, _d, _e, _f;
|
|
28425
|
-
// if i return x: 0, y: 0 then it will be top left corner of parentDiv
|
|
28426
|
-
var parentRect = (_b = (_a = parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) !== null && _b !== void 0 ? _b : {
|
|
28427
|
-
width: 0,
|
|
28428
|
-
height: 0,
|
|
28429
|
-
top: 0,
|
|
28430
|
-
left: 0,
|
|
28431
|
-
bottom: 0,
|
|
28432
|
-
};
|
|
28433
|
-
switch (positionVariant) {
|
|
28434
|
-
case exports.DraggablePositionVariant.PARENT_BOTTOM_CENTER: {
|
|
28435
|
-
var x = parentRect.width / 2 - ((_c = nodeRef.current) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect().width) / 2;
|
|
28436
|
-
var y = Math.min(parentRect.height, windowSize.height) -
|
|
28437
|
-
parentRect.top -
|
|
28438
|
-
((_d = nodeRef.current) === null || _d === void 0 ? void 0 : _d.getBoundingClientRect().height) -
|
|
28439
|
-
boundaryGap;
|
|
28440
|
-
return { x: x, y: y };
|
|
28441
|
-
}
|
|
28442
|
-
case exports.DraggablePositionVariant.SCREEN_BOTTOM_CENTER: {
|
|
28443
|
-
var x = windowSize.width / 2 - parentRect.left - ((_e = nodeRef.current) === null || _e === void 0 ? void 0 : _e.getBoundingClientRect().width) / 2;
|
|
28444
|
-
var y = windowSize.height - parentRect.top - ((_f = nodeRef.current) === null || _f === void 0 ? void 0 : _f.getBoundingClientRect().height) - boundaryGap;
|
|
28445
|
-
return { x: x, y: y };
|
|
28446
|
-
}
|
|
28447
|
-
// Add more cases for other variants if needed
|
|
28448
|
-
default:
|
|
28449
|
-
throw new Error('Please use DraggablePositionVariant enum');
|
|
28450
|
-
}
|
|
28451
|
-
};
|
|
28452
|
-
var _e = __read(React.useState({
|
|
28453
|
-
x: 0,
|
|
28454
|
-
y: 0,
|
|
28455
|
-
}), 2), position = _e[0], setPosition = _e[1];
|
|
28456
|
-
// On change of windowSize we will reset the position to default
|
|
28457
|
-
React.useEffect(function () {
|
|
28458
|
-
var defaultPosition = getDefaultPosition(positionVariant);
|
|
28459
|
-
setPosition(defaultPosition);
|
|
28460
|
-
}, [nodeRef, positionVariant, windowSize]);
|
|
28461
|
-
function handlePositionChange(e, data) {
|
|
28462
|
-
var _a, _b, _c, _d, _e, _f;
|
|
28463
|
-
var offsetX = (_b = (_a = parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().left) !== null && _b !== void 0 ? _b : 0;
|
|
28464
|
-
var offsetY = (_d = (_c = parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) === null || _c === void 0 ? void 0 : _c.getBoundingClientRect().top) !== null && _d !== void 0 ? _d : 0;
|
|
28465
|
-
if (offsetX + data.x + ((_e = nodeRef.current) === null || _e === void 0 ? void 0 : _e.getBoundingClientRect().width) + boundaryGap > windowSize.width ||
|
|
28466
|
-
offsetY + data.y + ((_f = nodeRef.current) === null || _f === void 0 ? void 0 : _f.getBoundingClientRect().height) + boundaryGap > windowSize.height ||
|
|
28467
|
-
offsetX + data.x < 0 ||
|
|
28468
|
-
offsetY + data.y < 0) {
|
|
28469
|
-
return;
|
|
28470
|
-
}
|
|
28471
|
-
setPosition({
|
|
28472
|
-
x: data.x,
|
|
28473
|
-
y: data.y,
|
|
28474
|
-
});
|
|
28475
|
-
}
|
|
28476
|
-
return (
|
|
28477
|
-
// Check there might be a case if we need it to be absolute?
|
|
28478
|
-
jsxRuntime.jsx("div", __assign({ className: "dc__position-fixed", style: {
|
|
28479
|
-
zIndex: zIndex,
|
|
28480
|
-
} }, { children: jsxRuntime.jsx(Draggable, __assign({ handle: ".".concat(dragClassName), nodeRef: nodeRef, position: position, onDrag: handlePositionChange }, { children: jsxRuntime.jsx("div", __assign({ ref: nodeRef }, childDivProps, { style: {
|
|
28481
|
-
zIndex: zIndex,
|
|
28482
|
-
} }, { children: children })) })) })));
|
|
28483
|
-
}
|
|
28484
|
-
|
|
28485
|
-
var _path;
|
|
28486
|
-
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); }
|
|
28487
|
-
var SvgIcDrag = function SvgIcDrag(props) {
|
|
28488
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
28489
|
-
width: "1em",
|
|
28490
|
-
height: "1em",
|
|
28491
|
-
viewBox: "0 0 16 16",
|
|
28492
|
-
fill: "none",
|
|
28493
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
28494
|
-
}, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
28495
|
-
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",
|
|
28496
|
-
fill: "#596168"
|
|
28497
|
-
})));
|
|
28498
|
-
};
|
|
28499
|
-
|
|
28500
|
-
function DraggableButton(_a) {
|
|
28501
|
-
var dragClassName = _a.dragClassName;
|
|
28502
|
-
return (jsxRuntime.jsx("button", __assign({ type: "button", className: "dc__outline-none-imp dc__no-border p-0 dc__transparent h-20" }, { children: jsxRuntime.jsx(SvgIcDrag, { className: "".concat(dragClassName, " dc__grabbable icon-dim-20 fcn-6") }) })));
|
|
28503
|
-
}
|
|
28504
|
-
|
|
28505
28395
|
exports.AddCDButton = AddCDButton;
|
|
28506
28396
|
exports.AppStatus = AppStatus;
|
|
28507
28397
|
exports.BreadCrumb = BreadCrumb;
|
|
@@ -28526,8 +28416,6 @@ exports.DetailsProgressing = DetailsProgressing;
|
|
|
28526
28416
|
exports.DevtronProgressing = DevtronProgressing;
|
|
28527
28417
|
exports.DialogForm = DialogForm;
|
|
28528
28418
|
exports.DialogFormSubmit = DialogFormSubmit;
|
|
28529
|
-
exports.DraggableButton = DraggableButton;
|
|
28530
|
-
exports.DraggableWrapper = DraggableWrapper;
|
|
28531
28419
|
exports.Drawer = Drawer;
|
|
28532
28420
|
exports.ERROR_EMPTY_SCREEN = ERROR_EMPTY_SCREEN;
|
|
28533
28421
|
exports.EmptyState = EmptyState;
|
|
@@ -28541,7 +28429,6 @@ exports.Host = Host;
|
|
|
28541
28429
|
exports.ImageTagButton = ImageTagButton;
|
|
28542
28430
|
exports.ImageTagsContainer = ImageTagsContainer;
|
|
28543
28431
|
exports.InfoColourBar = InfoColourBar;
|
|
28544
|
-
exports.MAX_Z_INDEX = MAX_Z_INDEX;
|
|
28545
28432
|
exports.Modal = Modal;
|
|
28546
28433
|
exports.MultiValueChipContainer = MultiValueChipContainer;
|
|
28547
28434
|
exports.MultiValueContainer = MultiValueContainer;
|
|
@@ -28625,4 +28512,3 @@ exports.useForm = useForm;
|
|
|
28625
28512
|
exports.useSearchString = useSearchString;
|
|
28626
28513
|
exports.useSuperAdmin = useSuperAdmin;
|
|
28627
28514
|
exports.useThrottledEffect = useThrottledEffect;
|
|
28628
|
-
exports.useWindowSize = useWindowSize;
|