@devtron-labs/devtron-fe-common-lib 0.0.55-beta-1 → 0.0.55-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/{CodeEditor-0a5bfd53.js → CodeEditor-3c2aaef5.js} +11082 -11082
- package/dist/Common/AddCDButton/AddCDButton.js +24 -24
- package/dist/Common/AppStatus/AppStatus.js +16 -16
- package/dist/Common/BreadCrumb/BreadCrumb.js +43 -43
- package/dist/Common/BreadCrumb/BreadcrumbStore.js +9 -9
- package/dist/Common/ChartVersionAndTypeSelector.js +42 -42
- package/dist/Common/Checkbox.js +8 -8
- package/dist/Common/ClipboardButton/ClipboardButton.js +17 -17
- package/dist/Common/ClipboardButton/__tests__/ClipboardButton.test.js +10 -10
- package/dist/Common/CodeEditor/CodeEditor.js +4 -4
- package/dist/Common/Common.service.js +1 -1
- package/dist/Common/CustomInput/CustomInput.js +56 -56
- package/dist/Common/CustomTagSelector/PropagateTagInfo.js +22 -22
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.js +22 -22
- package/dist/Common/CustomTagSelector/TagDetails.js +33 -33
- package/dist/Common/CustomTagSelector/TagLabelSelect.js +33 -33
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.js +83 -83
- package/dist/Common/DebouncedSearch/DebouncedSearch.js +24 -24
- package/dist/Common/DebouncedSearch/__tests__/DebouncedSearch.test.js +16 -16
- package/dist/Common/DeleteComponentModal/DeleteComponent.js +49 -49
- package/dist/Common/DevtronProgressing/DevtronProgressing.js +2 -2
- package/dist/Common/Dialogs/ConfirmationDialog.js +14 -14
- package/dist/Common/Dialogs/DeleteDialog.js +24 -24
- package/dist/Common/Dialogs/DialogForm.js +21 -21
- package/dist/Common/Dialogs/ForceDeleteDialog.js +12 -12
- package/dist/Common/DraggableWrapper/DraggableButton.js +6 -6
- package/dist/Common/DraggableWrapper/DraggableWrapper.js +42 -1468
- package/dist/Common/Drawer/Drawer.js +6 -6
- package/dist/Common/EmptyState/EmptyState.js +19 -19
- package/dist/Common/EmptyState/GenericEmptyState.js +25 -25
- package/dist/Common/Error.js +6 -6
- package/dist/Common/ErrorScreenNotFound.js +3 -3
- package/dist/Common/Grid/Grid.js +11 -11
- package/dist/Common/Helper.js +3 -3
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.js +1 -1
- package/dist/Common/ImageTags.js +224 -221
- package/dist/Common/InfoColorBar/InfoColourbar.js +37 -37
- package/dist/Common/Modals/Modal.js +8 -8
- package/dist/Common/Modals/OpaqueModal.js +13 -13
- package/dist/Common/Modals/VisibleModal.js +3 -3
- package/dist/Common/Modals/VisibleModal2.js +8 -8
- package/dist/Common/MultiSelectCustomization.js +45 -45
- package/dist/Common/Pagination/PageSizeSelector.js +37 -34
- package/dist/Common/Pagination/Pagination.js +60 -57
- package/dist/Common/PopupMenu.js +32 -32
- package/dist/Common/Progressing.js +20 -20
- package/dist/Common/RJSF/Form.js +14 -9877
- package/dist/Common/RJSF/common/FieldRow.js +16 -16
- package/dist/Common/RJSF/config.js +3 -3
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.js +13 -13
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.js +37 -40
- package/dist/Common/RJSF/templates/BaseInput.js +14 -6
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.js +6 -6
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.js +3 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.js +6 -8
- package/dist/Common/RJSF/templates/Description.js +6 -6
- package/dist/Common/RJSF/templates/Field.js +12 -15
- package/dist/Common/RJSF/templates/FieldErrorTemplate.js +8 -10
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.js +35 -40
- package/dist/Common/RJSF/templates/TitleField.js +5 -5
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.js +23 -24
- package/dist/Common/RJSF/templates/index.js +3 -3
- package/dist/Common/RJSF/utils.js +9 -12
- package/dist/Common/RJSF/widgets/Checkbox.js +20 -20
- package/dist/Common/RJSF/widgets/Select.js +609 -40
- package/dist/Common/RadioGroup/RadioGroup.js +32 -32
- package/dist/Common/RadioGroup.js +17 -17
- package/dist/Common/Reload.js +10 -10
- package/dist/Common/ResizableTextarea.js +11 -11
- package/dist/Common/SearchBar/SearchBar.component.js +26 -26
- package/dist/Common/Security/ScanVulnerabilitiesTable.js +20 -20
- package/dist/Common/Select/Select.js +93 -93
- package/dist/Common/TippyCustomized.js +4 -4
- package/dist/Common/ToastBody.js +22 -22
- package/dist/Common/Toggle/Toggle.js +15 -15
- package/dist/Common/index.js +3 -3
- package/dist/{Helper-e1262739.js → Helper-a0caa238.js} +916 -916
- package/dist/TippyCustomized-7b9b46b9.js +124 -0
- package/dist/{_commonjsHelpers-c5d32002.js → _commonjsHelpers-aeeeeb92.js} +2 -2
- package/dist/{cssMode-c259da7f.js → cssMode-c5cae484.js} +1 -1
- package/dist/{freemarker2-d852fa33.js → freemarker2-b9a8615c.js} +1 -1
- package/dist/{handlebars-7e868cd0.js → handlebars-3803af36.js} +1 -1
- package/dist/{html-1faea799.js → html-498f0150.js} +1 -1
- package/dist/{htmlMode-175871d9.js → htmlMode-a8ae8cc5.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{javascript-46245cbe.js → javascript-4363ced3.js} +1 -1
- package/dist/{jsonMode-bbe5176f.js → jsonMode-80290b9e.js} +1 -1
- package/dist/jsx-runtime-0dcb030c.js +667 -0
- package/dist/{liquid-e6b820e1.js → liquid-1398df0a.js} +1 -1
- package/dist/{python-7d292338.js → python-dd2d43e8.js} +1 -1
- package/dist/{razor-c6ab49dd.js → razor-20a66096.js} +1 -1
- package/dist/{react-select.esm-27b8d563.js → react-select.esm-97f26847.js} +1280 -1112
- package/dist/{react-toastify.esm-e28f7200.js → react-toastify.esm-1042de65.js} +149 -155
- package/dist/{react.esm-5465a283.js → react.esm-2c92920f.js} +4929 -4393
- package/dist/{tippy-react.esm-d5c56a0a.js → tippy-react.esm-8dc66a75.js} +89 -89
- package/dist/{tsMode-4d1329d1.js → tsMode-3fa4eb6a.js} +1 -1
- package/dist/{typescript-402306e6.js → typescript-1bbaf605.js} +1 -1
- package/dist/{xml-8975e1f9.js → xml-a2693dbd.js} +1 -1
- package/dist/{yaml-680c02bf.js → yaml-01ce4fdd.js} +1 -1
- package/package.json +3 -12
- package/dist/BaseInput-8101e714.js +0 -1686
- package/dist/Common/UseWindowSize.d.ts +0 -4
- package/dist/Common/UseWindowSize.js +0 -20
- package/dist/TippyCustomized-c58fd46a.js +0 -124
- package/dist/canExpand-ab1f6741.js +0 -10
- package/dist/englishStringTranslator-2c9a30fc.js +0 -17
- package/dist/enums-d0bd3f97.js +0 -6618
- package/dist/getSubmitButtonOptions-a1be9bb0.js +0 -20
- package/dist/getTemplate-91d3260d.js +0 -11
- package/dist/getUiOptions-844b45a7.js +0 -10
- package/dist/idGenerators-0b33693c.js +0 -35
- package/dist/index-5a231705.js +0 -17417
- package/dist/index-c855d89c.js +0 -173
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
import xe from "react";
|
|
2
|
+
var X = { exports: {} }, D = {};
|
|
3
|
+
/*
|
|
4
|
+
object-assign
|
|
5
|
+
(c) Sindre Sorhus
|
|
6
|
+
@license MIT
|
|
7
|
+
*/
|
|
8
|
+
var z, Pe;
|
|
9
|
+
function Ce() {
|
|
10
|
+
if (Pe)
|
|
11
|
+
return z;
|
|
12
|
+
Pe = 1;
|
|
13
|
+
var b = Object.getOwnPropertySymbols, x = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
14
|
+
function T(E) {
|
|
15
|
+
if (E == null)
|
|
16
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
17
|
+
return Object(E);
|
|
18
|
+
}
|
|
19
|
+
function C() {
|
|
20
|
+
try {
|
|
21
|
+
if (!Object.assign)
|
|
22
|
+
return !1;
|
|
23
|
+
var E = new String("abc");
|
|
24
|
+
if (E[5] = "de", Object.getOwnPropertyNames(E)[0] === "5")
|
|
25
|
+
return !1;
|
|
26
|
+
for (var m = {}, c = 0; c < 10; c++)
|
|
27
|
+
m["_" + String.fromCharCode(c)] = c;
|
|
28
|
+
var l = Object.getOwnPropertyNames(m).map(function(f) {
|
|
29
|
+
return m[f];
|
|
30
|
+
});
|
|
31
|
+
if (l.join("") !== "0123456789")
|
|
32
|
+
return !1;
|
|
33
|
+
var p = {};
|
|
34
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(f) {
|
|
35
|
+
p[f] = f;
|
|
36
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
37
|
+
} catch {
|
|
38
|
+
return !1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return z = C() ? Object.assign : function(E, m) {
|
|
42
|
+
for (var c, l = T(E), p, f = 1; f < arguments.length; f++) {
|
|
43
|
+
c = Object(arguments[f]);
|
|
44
|
+
for (var R in c)
|
|
45
|
+
x.call(c, R) && (l[R] = c[R]);
|
|
46
|
+
if (b) {
|
|
47
|
+
p = b(c);
|
|
48
|
+
for (var _ = 0; _ < p.length; _++)
|
|
49
|
+
O.call(c, p[_]) && (l[p[_]] = c[p[_]]);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return l;
|
|
53
|
+
}, z;
|
|
54
|
+
}
|
|
55
|
+
/** @license React v17.0.2
|
|
56
|
+
* react-jsx-runtime.production.min.js
|
|
57
|
+
*
|
|
58
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the MIT license found in the
|
|
61
|
+
* LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/
|
|
63
|
+
var Te;
|
|
64
|
+
function ar() {
|
|
65
|
+
if (Te)
|
|
66
|
+
return D;
|
|
67
|
+
Te = 1, Ce();
|
|
68
|
+
var b = xe, x = 60103;
|
|
69
|
+
if (D.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
|
|
70
|
+
var O = Symbol.for;
|
|
71
|
+
x = O("react.element"), D.Fragment = O("react.fragment");
|
|
72
|
+
}
|
|
73
|
+
var T = b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, C = Object.prototype.hasOwnProperty, E = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
74
|
+
function m(c, l, p) {
|
|
75
|
+
var f, R = {}, _ = null, w = null;
|
|
76
|
+
p !== void 0 && (_ = "" + p), l.key !== void 0 && (_ = "" + l.key), l.ref !== void 0 && (w = l.ref);
|
|
77
|
+
for (f in l)
|
|
78
|
+
C.call(l, f) && !E.hasOwnProperty(f) && (R[f] = l[f]);
|
|
79
|
+
if (c && c.defaultProps)
|
|
80
|
+
for (f in l = c.defaultProps, l)
|
|
81
|
+
R[f] === void 0 && (R[f] = l[f]);
|
|
82
|
+
return { $$typeof: x, type: c, key: _, ref: w, props: R, _owner: T.current };
|
|
83
|
+
}
|
|
84
|
+
return D.jsx = m, D.jsxs = m, D;
|
|
85
|
+
}
|
|
86
|
+
var H = {};
|
|
87
|
+
/** @license React v17.0.2
|
|
88
|
+
* react-jsx-runtime.development.js
|
|
89
|
+
*
|
|
90
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the MIT license found in the
|
|
93
|
+
* LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/
|
|
95
|
+
var we;
|
|
96
|
+
function nr() {
|
|
97
|
+
return we || (we = 1, function(b) {
|
|
98
|
+
process.env.NODE_ENV !== "production" && function() {
|
|
99
|
+
var x = xe, O = Ce(), T = 60103, C = 60106;
|
|
100
|
+
b.Fragment = 60107;
|
|
101
|
+
var E = 60108, m = 60114, c = 60109, l = 60110, p = 60112, f = 60113, R = 60120, _ = 60115, w = 60116, $ = 60121, Z = 60122, Q = 60117, ee = 60129, re = 60131;
|
|
102
|
+
if (typeof Symbol == "function" && Symbol.for) {
|
|
103
|
+
var v = Symbol.for;
|
|
104
|
+
T = v("react.element"), C = v("react.portal"), b.Fragment = v("react.fragment"), E = v("react.strict_mode"), m = v("react.profiler"), c = v("react.provider"), l = v("react.context"), p = v("react.forward_ref"), f = v("react.suspense"), R = v("react.suspense_list"), _ = v("react.memo"), w = v("react.lazy"), $ = v("react.block"), Z = v("react.server.block"), Q = v("react.fundamental"), v("react.scope"), v("react.opaque.id"), ee = v("react.debug_trace_mode"), v("react.offscreen"), re = v("react.legacy_hidden");
|
|
105
|
+
}
|
|
106
|
+
var te = typeof Symbol == "function" && Symbol.iterator, Se = "@@iterator";
|
|
107
|
+
function Ae(e) {
|
|
108
|
+
if (e === null || typeof e != "object")
|
|
109
|
+
return null;
|
|
110
|
+
var r = te && e[te] || e[Se];
|
|
111
|
+
return typeof r == "function" ? r : null;
|
|
112
|
+
}
|
|
113
|
+
var S = x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
114
|
+
function h(e) {
|
|
115
|
+
{
|
|
116
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
117
|
+
t[a - 1] = arguments[a];
|
|
118
|
+
ke("error", e, t);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function ke(e, r, t) {
|
|
122
|
+
{
|
|
123
|
+
var a = S.ReactDebugCurrentFrame, o = a.getStackAddendum();
|
|
124
|
+
o !== "" && (r += "%s", t = t.concat([o]));
|
|
125
|
+
var u = t.map(function(i) {
|
|
126
|
+
return "" + i;
|
|
127
|
+
});
|
|
128
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
var De = !1;
|
|
132
|
+
function Ie(e) {
|
|
133
|
+
return !!(typeof e == "string" || typeof e == "function" || e === b.Fragment || e === m || e === ee || e === E || e === f || e === R || e === re || De || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === _ || e.$$typeof === c || e.$$typeof === l || e.$$typeof === p || e.$$typeof === Q || e.$$typeof === $ || e[0] === Z));
|
|
134
|
+
}
|
|
135
|
+
function Ye(e, r, t) {
|
|
136
|
+
var a = r.displayName || r.name || "";
|
|
137
|
+
return e.displayName || (a !== "" ? t + "(" + a + ")" : t);
|
|
138
|
+
}
|
|
139
|
+
function ae(e) {
|
|
140
|
+
return e.displayName || "Context";
|
|
141
|
+
}
|
|
142
|
+
function y(e) {
|
|
143
|
+
if (e == null)
|
|
144
|
+
return null;
|
|
145
|
+
if (typeof e.tag == "number" && h("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
146
|
+
return e.displayName || e.name || null;
|
|
147
|
+
if (typeof e == "string")
|
|
148
|
+
return e;
|
|
149
|
+
switch (e) {
|
|
150
|
+
case b.Fragment:
|
|
151
|
+
return "Fragment";
|
|
152
|
+
case C:
|
|
153
|
+
return "Portal";
|
|
154
|
+
case m:
|
|
155
|
+
return "Profiler";
|
|
156
|
+
case E:
|
|
157
|
+
return "StrictMode";
|
|
158
|
+
case f:
|
|
159
|
+
return "Suspense";
|
|
160
|
+
case R:
|
|
161
|
+
return "SuspenseList";
|
|
162
|
+
}
|
|
163
|
+
if (typeof e == "object")
|
|
164
|
+
switch (e.$$typeof) {
|
|
165
|
+
case l:
|
|
166
|
+
var r = e;
|
|
167
|
+
return ae(r) + ".Consumer";
|
|
168
|
+
case c:
|
|
169
|
+
var t = e;
|
|
170
|
+
return ae(t._context) + ".Provider";
|
|
171
|
+
case p:
|
|
172
|
+
return Ye(e, e.render, "ForwardRef");
|
|
173
|
+
case _:
|
|
174
|
+
return y(e.type);
|
|
175
|
+
case $:
|
|
176
|
+
return y(e._render);
|
|
177
|
+
case w: {
|
|
178
|
+
var a = e, o = a._payload, u = a._init;
|
|
179
|
+
try {
|
|
180
|
+
return y(u(o));
|
|
181
|
+
} catch {
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return null;
|
|
187
|
+
}
|
|
188
|
+
var I = 0, ne, ie, oe, ue, fe, ce, se;
|
|
189
|
+
function le() {
|
|
190
|
+
}
|
|
191
|
+
le.__reactDisabledLog = !0;
|
|
192
|
+
function $e() {
|
|
193
|
+
{
|
|
194
|
+
if (I === 0) {
|
|
195
|
+
ne = console.log, ie = console.info, oe = console.warn, ue = console.error, fe = console.group, ce = console.groupCollapsed, se = console.groupEnd;
|
|
196
|
+
var e = {
|
|
197
|
+
configurable: !0,
|
|
198
|
+
enumerable: !0,
|
|
199
|
+
value: le,
|
|
200
|
+
writable: !0
|
|
201
|
+
};
|
|
202
|
+
Object.defineProperties(console, {
|
|
203
|
+
info: e,
|
|
204
|
+
log: e,
|
|
205
|
+
warn: e,
|
|
206
|
+
error: e,
|
|
207
|
+
group: e,
|
|
208
|
+
groupCollapsed: e,
|
|
209
|
+
groupEnd: e
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
I++;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
function We() {
|
|
216
|
+
{
|
|
217
|
+
if (I--, I === 0) {
|
|
218
|
+
var e = {
|
|
219
|
+
configurable: !0,
|
|
220
|
+
enumerable: !0,
|
|
221
|
+
writable: !0
|
|
222
|
+
};
|
|
223
|
+
Object.defineProperties(console, {
|
|
224
|
+
log: O({}, e, {
|
|
225
|
+
value: ne
|
|
226
|
+
}),
|
|
227
|
+
info: O({}, e, {
|
|
228
|
+
value: ie
|
|
229
|
+
}),
|
|
230
|
+
warn: O({}, e, {
|
|
231
|
+
value: oe
|
|
232
|
+
}),
|
|
233
|
+
error: O({}, e, {
|
|
234
|
+
value: ue
|
|
235
|
+
}),
|
|
236
|
+
group: O({}, e, {
|
|
237
|
+
value: fe
|
|
238
|
+
}),
|
|
239
|
+
groupCollapsed: O({}, e, {
|
|
240
|
+
value: ce
|
|
241
|
+
}),
|
|
242
|
+
groupEnd: O({}, e, {
|
|
243
|
+
value: se
|
|
244
|
+
})
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
I < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
var V = S.ReactCurrentDispatcher, F;
|
|
251
|
+
function W(e, r, t) {
|
|
252
|
+
{
|
|
253
|
+
if (F === void 0)
|
|
254
|
+
try {
|
|
255
|
+
throw Error();
|
|
256
|
+
} catch (o) {
|
|
257
|
+
var a = o.stack.trim().match(/\n( *(at )?)/);
|
|
258
|
+
F = a && a[1] || "";
|
|
259
|
+
}
|
|
260
|
+
return `
|
|
261
|
+
` + F + e;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
var M = !1, L;
|
|
265
|
+
{
|
|
266
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
267
|
+
L = new Le();
|
|
268
|
+
}
|
|
269
|
+
function ve(e, r) {
|
|
270
|
+
if (!e || M)
|
|
271
|
+
return "";
|
|
272
|
+
{
|
|
273
|
+
var t = L.get(e);
|
|
274
|
+
if (t !== void 0)
|
|
275
|
+
return t;
|
|
276
|
+
}
|
|
277
|
+
var a;
|
|
278
|
+
M = !0;
|
|
279
|
+
var o = Error.prepareStackTrace;
|
|
280
|
+
Error.prepareStackTrace = void 0;
|
|
281
|
+
var u;
|
|
282
|
+
u = V.current, V.current = null, $e();
|
|
283
|
+
try {
|
|
284
|
+
if (r) {
|
|
285
|
+
var i = function() {
|
|
286
|
+
throw Error();
|
|
287
|
+
};
|
|
288
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
289
|
+
set: function() {
|
|
290
|
+
throw Error();
|
|
291
|
+
}
|
|
292
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
293
|
+
try {
|
|
294
|
+
Reflect.construct(i, []);
|
|
295
|
+
} catch (P) {
|
|
296
|
+
a = P;
|
|
297
|
+
}
|
|
298
|
+
Reflect.construct(e, [], i);
|
|
299
|
+
} else {
|
|
300
|
+
try {
|
|
301
|
+
i.call();
|
|
302
|
+
} catch (P) {
|
|
303
|
+
a = P;
|
|
304
|
+
}
|
|
305
|
+
e.call(i.prototype);
|
|
306
|
+
}
|
|
307
|
+
} else {
|
|
308
|
+
try {
|
|
309
|
+
throw Error();
|
|
310
|
+
} catch (P) {
|
|
311
|
+
a = P;
|
|
312
|
+
}
|
|
313
|
+
e();
|
|
314
|
+
}
|
|
315
|
+
} catch (P) {
|
|
316
|
+
if (P && a && typeof P.stack == "string") {
|
|
317
|
+
for (var n = P.stack.split(`
|
|
318
|
+
`), g = a.stack.split(`
|
|
319
|
+
`), s = n.length - 1, d = g.length - 1; s >= 1 && d >= 0 && n[s] !== g[d]; )
|
|
320
|
+
d--;
|
|
321
|
+
for (; s >= 1 && d >= 0; s--, d--)
|
|
322
|
+
if (n[s] !== g[d]) {
|
|
323
|
+
if (s !== 1 || d !== 1)
|
|
324
|
+
do
|
|
325
|
+
if (s--, d--, d < 0 || n[s] !== g[d]) {
|
|
326
|
+
var j = `
|
|
327
|
+
` + n[s].replace(" at new ", " at ");
|
|
328
|
+
return typeof e == "function" && L.set(e, j), j;
|
|
329
|
+
}
|
|
330
|
+
while (s >= 1 && d >= 0);
|
|
331
|
+
break;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
} finally {
|
|
335
|
+
M = !1, V.current = u, We(), Error.prepareStackTrace = o;
|
|
336
|
+
}
|
|
337
|
+
var k = e ? e.displayName || e.name : "", je = k ? W(k) : "";
|
|
338
|
+
return typeof e == "function" && L.set(e, je), je;
|
|
339
|
+
}
|
|
340
|
+
function de(e, r, t) {
|
|
341
|
+
return ve(e, !1);
|
|
342
|
+
}
|
|
343
|
+
function Ne(e) {
|
|
344
|
+
var r = e.prototype;
|
|
345
|
+
return !!(r && r.isReactComponent);
|
|
346
|
+
}
|
|
347
|
+
function N(e, r, t) {
|
|
348
|
+
if (e == null)
|
|
349
|
+
return "";
|
|
350
|
+
if (typeof e == "function")
|
|
351
|
+
return ve(e, Ne(e));
|
|
352
|
+
if (typeof e == "string")
|
|
353
|
+
return W(e);
|
|
354
|
+
switch (e) {
|
|
355
|
+
case f:
|
|
356
|
+
return W("Suspense");
|
|
357
|
+
case R:
|
|
358
|
+
return W("SuspenseList");
|
|
359
|
+
}
|
|
360
|
+
if (typeof e == "object")
|
|
361
|
+
switch (e.$$typeof) {
|
|
362
|
+
case p:
|
|
363
|
+
return de(e.render);
|
|
364
|
+
case _:
|
|
365
|
+
return N(e.type, r, t);
|
|
366
|
+
case $:
|
|
367
|
+
return de(e._render);
|
|
368
|
+
case w: {
|
|
369
|
+
var a = e, o = a._payload, u = a._init;
|
|
370
|
+
try {
|
|
371
|
+
return N(u(o), r, t);
|
|
372
|
+
} catch {
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
return "";
|
|
377
|
+
}
|
|
378
|
+
var pe = {}, _e = S.ReactDebugCurrentFrame;
|
|
379
|
+
function U(e) {
|
|
380
|
+
if (e) {
|
|
381
|
+
var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
|
|
382
|
+
_e.setExtraStackFrame(t);
|
|
383
|
+
} else
|
|
384
|
+
_e.setExtraStackFrame(null);
|
|
385
|
+
}
|
|
386
|
+
function Ue(e, r, t, a, o) {
|
|
387
|
+
{
|
|
388
|
+
var u = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
389
|
+
for (var i in e)
|
|
390
|
+
if (u(e, i)) {
|
|
391
|
+
var n = void 0;
|
|
392
|
+
try {
|
|
393
|
+
if (typeof e[i] != "function") {
|
|
394
|
+
var g = Error((a || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
395
|
+
throw g.name = "Invariant Violation", g;
|
|
396
|
+
}
|
|
397
|
+
n = e[i](r, i, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
398
|
+
} catch (s) {
|
|
399
|
+
n = s;
|
|
400
|
+
}
|
|
401
|
+
n && !(n instanceof Error) && (U(o), h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", t, i, typeof n), U(null)), n instanceof Error && !(n.message in pe) && (pe[n.message] = !0, U(o), h("Failed %s type: %s", t, n.message), U(null));
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
var Y = S.ReactCurrentOwner, q = Object.prototype.hasOwnProperty, Ve = {
|
|
406
|
+
key: !0,
|
|
407
|
+
ref: !0,
|
|
408
|
+
__self: !0,
|
|
409
|
+
__source: !0
|
|
410
|
+
}, ge, Ee, B;
|
|
411
|
+
B = {};
|
|
412
|
+
function Fe(e) {
|
|
413
|
+
if (q.call(e, "ref")) {
|
|
414
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
415
|
+
if (r && r.isReactWarning)
|
|
416
|
+
return !1;
|
|
417
|
+
}
|
|
418
|
+
return e.ref !== void 0;
|
|
419
|
+
}
|
|
420
|
+
function Me(e) {
|
|
421
|
+
if (q.call(e, "key")) {
|
|
422
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
423
|
+
if (r && r.isReactWarning)
|
|
424
|
+
return !1;
|
|
425
|
+
}
|
|
426
|
+
return e.key !== void 0;
|
|
427
|
+
}
|
|
428
|
+
function qe(e, r) {
|
|
429
|
+
if (typeof e.ref == "string" && Y.current && r && Y.current.stateNode !== r) {
|
|
430
|
+
var t = y(Y.current.type);
|
|
431
|
+
B[t] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', y(Y.current.type), e.ref), B[t] = !0);
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
function Be(e, r) {
|
|
435
|
+
{
|
|
436
|
+
var t = function() {
|
|
437
|
+
ge || (ge = !0, h("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
438
|
+
};
|
|
439
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
440
|
+
get: t,
|
|
441
|
+
configurable: !0
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
function Ge(e, r) {
|
|
446
|
+
{
|
|
447
|
+
var t = function() {
|
|
448
|
+
Ee || (Ee = !0, h("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
449
|
+
};
|
|
450
|
+
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
451
|
+
get: t,
|
|
452
|
+
configurable: !0
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
var Je = function(e, r, t, a, o, u, i) {
|
|
457
|
+
var n = {
|
|
458
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
459
|
+
$$typeof: T,
|
|
460
|
+
// Built-in properties that belong on the element
|
|
461
|
+
type: e,
|
|
462
|
+
key: r,
|
|
463
|
+
ref: t,
|
|
464
|
+
props: i,
|
|
465
|
+
// Record the component responsible for creating this element.
|
|
466
|
+
_owner: u
|
|
467
|
+
};
|
|
468
|
+
return n._store = {}, Object.defineProperty(n._store, "validated", {
|
|
469
|
+
configurable: !1,
|
|
470
|
+
enumerable: !1,
|
|
471
|
+
writable: !0,
|
|
472
|
+
value: !1
|
|
473
|
+
}), Object.defineProperty(n, "_self", {
|
|
474
|
+
configurable: !1,
|
|
475
|
+
enumerable: !1,
|
|
476
|
+
writable: !1,
|
|
477
|
+
value: a
|
|
478
|
+
}), Object.defineProperty(n, "_source", {
|
|
479
|
+
configurable: !1,
|
|
480
|
+
enumerable: !1,
|
|
481
|
+
writable: !1,
|
|
482
|
+
value: o
|
|
483
|
+
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
484
|
+
};
|
|
485
|
+
function Ke(e, r, t, a, o) {
|
|
486
|
+
{
|
|
487
|
+
var u, i = {}, n = null, g = null;
|
|
488
|
+
t !== void 0 && (n = "" + t), Me(r) && (n = "" + r.key), Fe(r) && (g = r.ref, qe(r, o));
|
|
489
|
+
for (u in r)
|
|
490
|
+
q.call(r, u) && !Ve.hasOwnProperty(u) && (i[u] = r[u]);
|
|
491
|
+
if (e && e.defaultProps) {
|
|
492
|
+
var s = e.defaultProps;
|
|
493
|
+
for (u in s)
|
|
494
|
+
i[u] === void 0 && (i[u] = s[u]);
|
|
495
|
+
}
|
|
496
|
+
if (n || g) {
|
|
497
|
+
var d = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
498
|
+
n && Be(i, d), g && Ge(i, d);
|
|
499
|
+
}
|
|
500
|
+
return Je(e, n, g, o, a, Y.current, i);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
var G = S.ReactCurrentOwner, he = S.ReactDebugCurrentFrame;
|
|
504
|
+
function A(e) {
|
|
505
|
+
if (e) {
|
|
506
|
+
var r = e._owner, t = N(e.type, e._source, r ? r.type : null);
|
|
507
|
+
he.setExtraStackFrame(t);
|
|
508
|
+
} else
|
|
509
|
+
he.setExtraStackFrame(null);
|
|
510
|
+
}
|
|
511
|
+
var J;
|
|
512
|
+
J = !1;
|
|
513
|
+
function K(e) {
|
|
514
|
+
return typeof e == "object" && e !== null && e.$$typeof === T;
|
|
515
|
+
}
|
|
516
|
+
function Re() {
|
|
517
|
+
{
|
|
518
|
+
if (G.current) {
|
|
519
|
+
var e = y(G.current.type);
|
|
520
|
+
if (e)
|
|
521
|
+
return `
|
|
522
|
+
|
|
523
|
+
Check the render method of \`` + e + "`.";
|
|
524
|
+
}
|
|
525
|
+
return "";
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
function ze(e) {
|
|
529
|
+
{
|
|
530
|
+
if (e !== void 0) {
|
|
531
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
532
|
+
return `
|
|
533
|
+
|
|
534
|
+
Check your code at ` + r + ":" + t + ".";
|
|
535
|
+
}
|
|
536
|
+
return "";
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
var be = {};
|
|
540
|
+
function He(e) {
|
|
541
|
+
{
|
|
542
|
+
var r = Re();
|
|
543
|
+
if (!r) {
|
|
544
|
+
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
545
|
+
t && (r = `
|
|
546
|
+
|
|
547
|
+
Check the top-level render call using <` + t + ">.");
|
|
548
|
+
}
|
|
549
|
+
return r;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
function Oe(e, r) {
|
|
553
|
+
{
|
|
554
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
555
|
+
return;
|
|
556
|
+
e._store.validated = !0;
|
|
557
|
+
var t = He(r);
|
|
558
|
+
if (be[t])
|
|
559
|
+
return;
|
|
560
|
+
be[t] = !0;
|
|
561
|
+
var a = "";
|
|
562
|
+
e && e._owner && e._owner !== G.current && (a = " It was passed a child from " + y(e._owner.type) + "."), A(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), A(null);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
function me(e, r) {
|
|
566
|
+
{
|
|
567
|
+
if (typeof e != "object")
|
|
568
|
+
return;
|
|
569
|
+
if (Array.isArray(e))
|
|
570
|
+
for (var t = 0; t < e.length; t++) {
|
|
571
|
+
var a = e[t];
|
|
572
|
+
K(a) && Oe(a, r);
|
|
573
|
+
}
|
|
574
|
+
else if (K(e))
|
|
575
|
+
e._store && (e._store.validated = !0);
|
|
576
|
+
else if (e) {
|
|
577
|
+
var o = Ae(e);
|
|
578
|
+
if (typeof o == "function" && o !== e.entries)
|
|
579
|
+
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
580
|
+
K(i.value) && Oe(i.value, r);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
function Xe(e) {
|
|
585
|
+
{
|
|
586
|
+
var r = e.type;
|
|
587
|
+
if (r == null || typeof r == "string")
|
|
588
|
+
return;
|
|
589
|
+
var t;
|
|
590
|
+
if (typeof r == "function")
|
|
591
|
+
t = r.propTypes;
|
|
592
|
+
else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
|
|
593
|
+
// Inner props are checked in the reconciler.
|
|
594
|
+
r.$$typeof === _))
|
|
595
|
+
t = r.propTypes;
|
|
596
|
+
else
|
|
597
|
+
return;
|
|
598
|
+
if (t) {
|
|
599
|
+
var a = y(r);
|
|
600
|
+
Ue(t, e.props, "prop", a, e);
|
|
601
|
+
} else if (r.PropTypes !== void 0 && !J) {
|
|
602
|
+
J = !0;
|
|
603
|
+
var o = y(r);
|
|
604
|
+
h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
605
|
+
}
|
|
606
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
function Ze(e) {
|
|
610
|
+
{
|
|
611
|
+
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
612
|
+
var a = r[t];
|
|
613
|
+
if (a !== "children" && a !== "key") {
|
|
614
|
+
A(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), A(null);
|
|
615
|
+
break;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
e.ref !== null && (A(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
function ye(e, r, t, a, o, u) {
|
|
622
|
+
{
|
|
623
|
+
var i = Ie(e);
|
|
624
|
+
if (!i) {
|
|
625
|
+
var n = "";
|
|
626
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (n += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
627
|
+
var g = ze(o);
|
|
628
|
+
g ? n += g : n += Re();
|
|
629
|
+
var s;
|
|
630
|
+
e === null ? s = "null" : Array.isArray(e) ? s = "array" : e !== void 0 && e.$$typeof === T ? (s = "<" + (y(e.type) || "Unknown") + " />", n = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, n);
|
|
631
|
+
}
|
|
632
|
+
var d = Ke(e, r, t, o, u);
|
|
633
|
+
if (d == null)
|
|
634
|
+
return d;
|
|
635
|
+
if (i) {
|
|
636
|
+
var j = r.children;
|
|
637
|
+
if (j !== void 0)
|
|
638
|
+
if (a)
|
|
639
|
+
if (Array.isArray(j)) {
|
|
640
|
+
for (var k = 0; k < j.length; k++)
|
|
641
|
+
me(j[k], e);
|
|
642
|
+
Object.freeze && Object.freeze(j);
|
|
643
|
+
} else
|
|
644
|
+
h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
645
|
+
else
|
|
646
|
+
me(j, e);
|
|
647
|
+
}
|
|
648
|
+
return e === b.Fragment ? Ze(d) : Xe(d), d;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
function Qe(e, r, t) {
|
|
652
|
+
return ye(e, r, t, !0);
|
|
653
|
+
}
|
|
654
|
+
function er(e, r, t) {
|
|
655
|
+
return ye(e, r, t, !1);
|
|
656
|
+
}
|
|
657
|
+
var rr = er, tr = Qe;
|
|
658
|
+
b.jsx = rr, b.jsxs = tr;
|
|
659
|
+
}();
|
|
660
|
+
}(H)), H;
|
|
661
|
+
}
|
|
662
|
+
process.env.NODE_ENV === "production" ? X.exports = ar() : X.exports = nr();
|
|
663
|
+
var or = X.exports;
|
|
664
|
+
export {
|
|
665
|
+
or as j,
|
|
666
|
+
Ce as r
|
|
667
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as d } from "./CodeEditor-
|
|
1
|
+
import { m as d } from "./CodeEditor-3c2aaef5.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 a } from "./CodeEditor-
|
|
1
|
+
import { m as a } from "./CodeEditor-3c2aaef5.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 s } from "./CodeEditor-
|
|
1
|
+
import { m as s } from "./CodeEditor-3c2aaef5.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|