@devtron-labs/devtron-fe-common-lib 0.0.51-beta-4 → 0.0.52-beta-1
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/{CodeEditor-a1233daa.js → CodeEditor-68cd2e5b.js} +21 -21
- package/dist/Common/Api.js +13 -13
- package/dist/Common/BreadCrumb/BreadCrumb.js +1 -1
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +3 -0
- package/dist/Common/ChartVersionAndTypeSelector.js +61 -0
- package/dist/Common/ClipboardButton/ClipboardButton.js +1 -1
- package/dist/Common/CodeEditor/CodeEditor.js +2 -2
- package/dist/Common/Common.service.d.ts +1 -0
- package/dist/Common/Common.service.js +32 -28
- package/dist/Common/Constants.d.ts +3 -1
- package/dist/Common/Constants.js +9 -6
- package/dist/Common/CustomTagSelector/PropagateTagInfo.js +1 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.js +1 -1
- package/dist/Common/CustomTagSelector/TagDetails.js +1 -1
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.js +1 -1
- package/dist/Common/DeleteComponentModal/DeleteComponent.js +1 -1
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +3 -0
- package/dist/Common/DraggableWrapper/DraggableButton.js +16 -0
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +9 -0
- package/dist/Common/DraggableWrapper/DraggableWrapper.js +1499 -0
- package/dist/Common/DraggableWrapper/index.d.ts +3 -0
- package/dist/Common/DraggableWrapper/index.js +8 -0
- package/dist/Common/DraggableWrapper/types.d.ts +23 -0
- package/dist/Common/DraggableWrapper/types.js +4 -0
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Grid/Grid.js +19 -10
- package/dist/Common/Grid/types.d.ts +2 -2
- package/dist/Common/Helper.d.ts +9 -0
- package/dist/Common/Helper.js +24 -20
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.js +1 -1
- package/dist/Common/Hooks/UseWindowSize/UseWindowSize.d.ts +4 -0
- package/dist/Common/Hooks/UseWindowSize/UseWindowSize.js +17 -0
- package/dist/Common/Hooks/index.d.ts +1 -0
- package/dist/Common/Hooks/index.js +6 -4
- package/dist/Common/ImageTags.js +3 -3
- package/dist/Common/MultiSelectCustomization.js +1 -1
- package/dist/Common/RJSF/widgets/Select.js +1 -1
- package/dist/Common/RadioGroup/RadioGroup.js +1 -1
- package/dist/Common/ResizableTextarea.js +1 -1
- package/dist/Common/Select/Select.js +1 -1
- package/dist/Common/TippyCustomized.js +2 -2
- package/dist/Common/ToastBody.js +1 -1
- package/dist/Common/Toggle/Toggle.js +1 -1
- package/dist/Common/Types.d.ts +64 -0
- package/dist/Common/index.d.ts +2 -0
- package/dist/Common/index.js +206 -190
- package/dist/Helper-1f1cf2ba.js +9824 -0
- package/dist/{TippyCustomized-b4379006.js → TippyCustomized-0d0b9a6f.js} +1 -1
- package/dist/{cssMode-a1869154.js → cssMode-7289250b.js} +1 -1
- package/dist/{freemarker2-51e1c403.js → freemarker2-3b903d5b.js} +1 -1
- package/dist/{handlebars-91940b5d.js → handlebars-702717e9.js} +1 -1
- package/dist/{html-f466e610.js → html-9a684e15.js} +1 -1
- package/dist/{htmlMode-1f121ca6.js → htmlMode-3e336aa8.js} +1 -1
- package/dist/index-c855d89c.js +173 -0
- package/dist/index.js +206 -190
- package/dist/{javascript-c8bf1ba9.js → javascript-101cb9b7.js} +1 -1
- package/dist/{jsonMode-d03e0315.js → jsonMode-006d8be9.js} +1 -1
- package/dist/{liquid-8f190965.js → liquid-729ea99d.js} +1 -1
- package/dist/{python-89c90f80.js → python-c9b92f72.js} +1 -1
- package/dist/{razor-3889a56a.js → razor-c48ef378.js} +1 -1
- package/dist/{react-select.esm-a99b516e.js → react-select.esm-fa95915b.js} +1111 -1279
- package/dist/{react-toastify.esm-f2ac8a63.js → react-toastify.esm-e28f7200.js} +162 -156
- package/dist/{tsMode-a6b9a239.js → tsMode-da78a323.js} +1 -1
- package/dist/{typescript-f36342d1.js → typescript-bd6d35ce.js} +1 -1
- package/dist/{xml-20660057.js → xml-828eca7a.js} +1 -1
- package/dist/{yaml-b321e220.js → yaml-89980d67.js} +1 -1
- package/package.json +5 -2
- package/dist/Helper-e95e2932.js +0 -8839
|
@@ -5,7 +5,7 @@ import { useRef as B, useState as j } from "react";
|
|
|
5
5
|
import { T as D } from "./tippy-react.esm-d5c56a0a.js";
|
|
6
6
|
import { S as F } from "./ic-cross-0e71861d.js";
|
|
7
7
|
import { TippyTheme as P } from "./Common/Types.js";
|
|
8
|
-
import { e as W } from "./Helper-
|
|
8
|
+
import { e as W } from "./Helper-1f1cf2ba.js";
|
|
9
9
|
const q = (n) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...n }, /* @__PURE__ */ a.createElement("path", { fill: "#767D84", fillRule: "evenodd", 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" })), A = (n) => /* @__PURE__ */ a.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 17 16", ...n }, /* @__PURE__ */ a.createElement("path", { fill: "#767D84", fillRule: "evenodd", d: "M9 1.333c3.682 0 6.667 2.985 6.667 6.667S12.682 14.667 9 14.667 2.333 11.682 2.333 8 5.318 1.333 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-.747c0-.41.338-.747.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" }));
|
|
10
10
|
function Y(n) {
|
|
11
11
|
const o = B(null), [b, d] = j(!1), t = n.theme === P.white, N = (i) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ne } from "./CodeEditor-
|
|
4
|
+
import { m as Ne } from "./CodeEditor-68cd2e5b.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as F } from "./CodeEditor-
|
|
1
|
+
import { m as F } from "./CodeEditor-68cd2e5b.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as i } from "./CodeEditor-
|
|
1
|
+
import { m as i } from "./CodeEditor-68cd2e5b.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as d } from "./CodeEditor-
|
|
1
|
+
import { m as d } from "./CodeEditor-68cd2e5b.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $e = Object.defineProperty;
|
|
2
2
|
var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Qe } from "./CodeEditor-
|
|
4
|
+
import { m as Qe } from "./CodeEditor-68cd2e5b.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
var M = { exports: {} }, t = {};
|
|
2
|
+
/** @license React v16.13.1
|
|
3
|
+
* react-is.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
var F;
|
|
11
|
+
function te() {
|
|
12
|
+
if (F)
|
|
13
|
+
return t;
|
|
14
|
+
F = 1;
|
|
15
|
+
var o = typeof Symbol == "function" && Symbol.for, _ = o ? Symbol.for("react.element") : 60103, p = o ? Symbol.for("react.portal") : 60106, s = o ? Symbol.for("react.fragment") : 60107, f = o ? Symbol.for("react.strict_mode") : 60108, i = o ? Symbol.for("react.profiler") : 60114, u = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, v = o ? Symbol.for("react.async_mode") : 60111, m = o ? Symbol.for("react.concurrent_mode") : 60111, d = o ? Symbol.for("react.forward_ref") : 60112, y = o ? Symbol.for("react.suspense") : 60113, b = o ? Symbol.for("react.suspense_list") : 60120, E = o ? Symbol.for("react.memo") : 60115, S = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, P = o ? Symbol.for("react.fundamental") : 60117, $ = o ? Symbol.for("react.responder") : 60118, x = o ? Symbol.for("react.scope") : 60119;
|
|
16
|
+
function a(e) {
|
|
17
|
+
if (typeof e == "object" && e !== null) {
|
|
18
|
+
var C = e.$$typeof;
|
|
19
|
+
switch (C) {
|
|
20
|
+
case _:
|
|
21
|
+
switch (e = e.type, e) {
|
|
22
|
+
case v:
|
|
23
|
+
case m:
|
|
24
|
+
case s:
|
|
25
|
+
case i:
|
|
26
|
+
case f:
|
|
27
|
+
case y:
|
|
28
|
+
return e;
|
|
29
|
+
default:
|
|
30
|
+
switch (e = e && e.$$typeof, e) {
|
|
31
|
+
case l:
|
|
32
|
+
case d:
|
|
33
|
+
case S:
|
|
34
|
+
case E:
|
|
35
|
+
case u:
|
|
36
|
+
return e;
|
|
37
|
+
default:
|
|
38
|
+
return C;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
case p:
|
|
42
|
+
return C;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function c(e) {
|
|
47
|
+
return a(e) === m;
|
|
48
|
+
}
|
|
49
|
+
return t.AsyncMode = v, t.ConcurrentMode = m, t.ContextConsumer = l, t.ContextProvider = u, t.Element = _, t.ForwardRef = d, t.Fragment = s, t.Lazy = S, t.Memo = E, t.Portal = p, t.Profiler = i, t.StrictMode = f, t.Suspense = y, t.isAsyncMode = function(e) {
|
|
50
|
+
return c(e) || a(e) === v;
|
|
51
|
+
}, t.isConcurrentMode = c, t.isContextConsumer = function(e) {
|
|
52
|
+
return a(e) === l;
|
|
53
|
+
}, t.isContextProvider = function(e) {
|
|
54
|
+
return a(e) === u;
|
|
55
|
+
}, t.isElement = function(e) {
|
|
56
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
57
|
+
}, t.isForwardRef = function(e) {
|
|
58
|
+
return a(e) === d;
|
|
59
|
+
}, t.isFragment = function(e) {
|
|
60
|
+
return a(e) === s;
|
|
61
|
+
}, t.isLazy = function(e) {
|
|
62
|
+
return a(e) === S;
|
|
63
|
+
}, t.isMemo = function(e) {
|
|
64
|
+
return a(e) === E;
|
|
65
|
+
}, t.isPortal = function(e) {
|
|
66
|
+
return a(e) === p;
|
|
67
|
+
}, t.isProfiler = function(e) {
|
|
68
|
+
return a(e) === i;
|
|
69
|
+
}, t.isStrictMode = function(e) {
|
|
70
|
+
return a(e) === f;
|
|
71
|
+
}, t.isSuspense = function(e) {
|
|
72
|
+
return a(e) === y;
|
|
73
|
+
}, t.isValidElementType = function(e) {
|
|
74
|
+
return typeof e == "string" || typeof e == "function" || e === s || e === m || e === i || e === f || e === y || e === b || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === E || e.$$typeof === u || e.$$typeof === l || e.$$typeof === d || e.$$typeof === P || e.$$typeof === $ || e.$$typeof === x || e.$$typeof === R);
|
|
75
|
+
}, t.typeOf = a, t;
|
|
76
|
+
}
|
|
77
|
+
var n = {};
|
|
78
|
+
/** @license React v16.13.1
|
|
79
|
+
* react-is.development.js
|
|
80
|
+
*
|
|
81
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
82
|
+
*
|
|
83
|
+
* This source code is licensed under the MIT license found in the
|
|
84
|
+
* LICENSE file in the root directory of this source tree.
|
|
85
|
+
*/
|
|
86
|
+
var I;
|
|
87
|
+
function ne() {
|
|
88
|
+
return I || (I = 1, process.env.NODE_ENV !== "production" && function() {
|
|
89
|
+
var o = typeof Symbol == "function" && Symbol.for, _ = o ? Symbol.for("react.element") : 60103, p = o ? Symbol.for("react.portal") : 60106, s = o ? Symbol.for("react.fragment") : 60107, f = o ? Symbol.for("react.strict_mode") : 60108, i = o ? Symbol.for("react.profiler") : 60114, u = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, v = o ? Symbol.for("react.async_mode") : 60111, m = o ? Symbol.for("react.concurrent_mode") : 60111, d = o ? Symbol.for("react.forward_ref") : 60112, y = o ? Symbol.for("react.suspense") : 60113, b = o ? Symbol.for("react.suspense_list") : 60120, E = o ? Symbol.for("react.memo") : 60115, S = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, P = o ? Symbol.for("react.fundamental") : 60117, $ = o ? Symbol.for("react.responder") : 60118, x = o ? Symbol.for("react.scope") : 60119;
|
|
90
|
+
function a(r) {
|
|
91
|
+
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
92
|
+
r === s || r === m || r === i || r === f || r === y || r === b || typeof r == "object" && r !== null && (r.$$typeof === S || r.$$typeof === E || r.$$typeof === u || r.$$typeof === l || r.$$typeof === d || r.$$typeof === P || r.$$typeof === $ || r.$$typeof === x || r.$$typeof === R);
|
|
93
|
+
}
|
|
94
|
+
function c(r) {
|
|
95
|
+
if (typeof r == "object" && r !== null) {
|
|
96
|
+
var A = r.$$typeof;
|
|
97
|
+
switch (A) {
|
|
98
|
+
case _:
|
|
99
|
+
var T = r.type;
|
|
100
|
+
switch (T) {
|
|
101
|
+
case v:
|
|
102
|
+
case m:
|
|
103
|
+
case s:
|
|
104
|
+
case i:
|
|
105
|
+
case f:
|
|
106
|
+
case y:
|
|
107
|
+
return T;
|
|
108
|
+
default:
|
|
109
|
+
var w = T && T.$$typeof;
|
|
110
|
+
switch (w) {
|
|
111
|
+
case l:
|
|
112
|
+
case d:
|
|
113
|
+
case S:
|
|
114
|
+
case E:
|
|
115
|
+
case u:
|
|
116
|
+
return w;
|
|
117
|
+
default:
|
|
118
|
+
return A;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
case p:
|
|
122
|
+
return A;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
var e = v, C = m, h = l, N = u, L = _, g = d, D = s, z = S, V = E, q = p, U = i, k = f, W = y, Y = !1;
|
|
127
|
+
function B(r) {
|
|
128
|
+
return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(r) || c(r) === v;
|
|
129
|
+
}
|
|
130
|
+
function O(r) {
|
|
131
|
+
return c(r) === m;
|
|
132
|
+
}
|
|
133
|
+
function G(r) {
|
|
134
|
+
return c(r) === l;
|
|
135
|
+
}
|
|
136
|
+
function K(r) {
|
|
137
|
+
return c(r) === u;
|
|
138
|
+
}
|
|
139
|
+
function X(r) {
|
|
140
|
+
return typeof r == "object" && r !== null && r.$$typeof === _;
|
|
141
|
+
}
|
|
142
|
+
function Z(r) {
|
|
143
|
+
return c(r) === d;
|
|
144
|
+
}
|
|
145
|
+
function j(r) {
|
|
146
|
+
return c(r) === s;
|
|
147
|
+
}
|
|
148
|
+
function H(r) {
|
|
149
|
+
return c(r) === S;
|
|
150
|
+
}
|
|
151
|
+
function J(r) {
|
|
152
|
+
return c(r) === E;
|
|
153
|
+
}
|
|
154
|
+
function Q(r) {
|
|
155
|
+
return c(r) === p;
|
|
156
|
+
}
|
|
157
|
+
function ee(r) {
|
|
158
|
+
return c(r) === i;
|
|
159
|
+
}
|
|
160
|
+
function re(r) {
|
|
161
|
+
return c(r) === f;
|
|
162
|
+
}
|
|
163
|
+
function oe(r) {
|
|
164
|
+
return c(r) === y;
|
|
165
|
+
}
|
|
166
|
+
n.AsyncMode = e, n.ConcurrentMode = C, n.ContextConsumer = h, n.ContextProvider = N, n.Element = L, n.ForwardRef = g, n.Fragment = D, n.Lazy = z, n.Memo = V, n.Portal = q, n.Profiler = U, n.StrictMode = k, n.Suspense = W, n.isAsyncMode = B, n.isConcurrentMode = O, n.isContextConsumer = G, n.isContextProvider = K, n.isElement = X, n.isForwardRef = Z, n.isFragment = j, n.isLazy = H, n.isMemo = J, n.isPortal = Q, n.isProfiler = ee, n.isStrictMode = re, n.isSuspense = oe, n.isValidElementType = a, n.typeOf = c;
|
|
167
|
+
}()), n;
|
|
168
|
+
}
|
|
169
|
+
process.env.NODE_ENV === "production" ? M.exports = te() : M.exports = ne();
|
|
170
|
+
var ce = M.exports;
|
|
171
|
+
export {
|
|
172
|
+
ce as r
|
|
173
|
+
};
|