@dao42/d42paas-front 0.5.18 → 0.5.19
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/DaoPaaS.es.js +538 -1605
- package/dist/DaoPaaS.umd.js +456 -456
- package/package.json +3 -3
package/dist/DaoPaaS.es.js
CHANGED
|
@@ -146,21 +146,21 @@ var objectAssign = shouldUseNative() ? Object.assign : function(target, source)
|
|
|
146
146
|
* This source code is licensed under the MIT license found in the
|
|
147
147
|
* LICENSE file in the root directory of this source tree.
|
|
148
148
|
*/
|
|
149
|
-
var l$2 = objectAssign, n$
|
|
149
|
+
var l$2 = objectAssign, n$3 = 60103, p$2 = 60106;
|
|
150
150
|
react_production_min.Fragment = 60107;
|
|
151
151
|
react_production_min.StrictMode = 60108;
|
|
152
152
|
react_production_min.Profiler = 60114;
|
|
153
|
-
var q$
|
|
153
|
+
var q$2 = 60109, r$4 = 60110, t$2 = 60112;
|
|
154
154
|
react_production_min.Suspense = 60113;
|
|
155
155
|
var u$1 = 60115, v$1 = 60116;
|
|
156
156
|
if (typeof Symbol === "function" && Symbol.for) {
|
|
157
157
|
var w$1 = Symbol.for;
|
|
158
|
-
n$
|
|
159
|
-
p$
|
|
158
|
+
n$3 = w$1("react.element");
|
|
159
|
+
p$2 = w$1("react.portal");
|
|
160
160
|
react_production_min.Fragment = w$1("react.fragment");
|
|
161
161
|
react_production_min.StrictMode = w$1("react.strict_mode");
|
|
162
162
|
react_production_min.Profiler = w$1("react.profiler");
|
|
163
|
-
q$
|
|
163
|
+
q$2 = w$1("react.provider");
|
|
164
164
|
r$4 = w$1("react.context");
|
|
165
165
|
t$2 = w$1("react.forward_ref");
|
|
166
166
|
react_production_min.Suspense = w$1("react.suspense");
|
|
@@ -230,13 +230,13 @@ function J(a2, b2, c2) {
|
|
|
230
230
|
if (a2 && a2.defaultProps)
|
|
231
231
|
for (e2 in g2 = a2.defaultProps, g2)
|
|
232
232
|
d2[e2] === void 0 && (d2[e2] = g2[e2]);
|
|
233
|
-
return { $$typeof: n$
|
|
233
|
+
return { $$typeof: n$3, type: a2, key: k2, ref: h2, props: d2, _owner: G$1.current };
|
|
234
234
|
}
|
|
235
235
|
function K(a2, b2) {
|
|
236
|
-
return { $$typeof: n$
|
|
236
|
+
return { $$typeof: n$3, type: a2.type, key: b2, ref: a2.ref, props: a2.props, _owner: a2._owner };
|
|
237
237
|
}
|
|
238
238
|
function L(a2) {
|
|
239
|
-
return typeof a2 === "object" && a2 !== null && a2.$$typeof === n$
|
|
239
|
+
return typeof a2 === "object" && a2 !== null && a2.$$typeof === n$3;
|
|
240
240
|
}
|
|
241
241
|
function escape$2(a2) {
|
|
242
242
|
var b2 = { "=": "=0", ":": "=2" };
|
|
@@ -263,8 +263,8 @@ function O$1(a2, b2, c2, e2, d2) {
|
|
|
263
263
|
break;
|
|
264
264
|
case "object":
|
|
265
265
|
switch (a2.$$typeof) {
|
|
266
|
-
case n$
|
|
267
|
-
case p$
|
|
266
|
+
case n$3:
|
|
267
|
+
case p$2:
|
|
268
268
|
h2 = true;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
@@ -364,7 +364,7 @@ react_production_min.cloneElement = function(a2, b2, c2) {
|
|
|
364
364
|
e2.children = g2;
|
|
365
365
|
}
|
|
366
366
|
return {
|
|
367
|
-
$$typeof: n$
|
|
367
|
+
$$typeof: n$3,
|
|
368
368
|
type: a2.type,
|
|
369
369
|
key: d2,
|
|
370
370
|
ref: k2,
|
|
@@ -375,7 +375,7 @@ react_production_min.cloneElement = function(a2, b2, c2) {
|
|
|
375
375
|
react_production_min.createContext = function(a2, b2) {
|
|
376
376
|
b2 === void 0 && (b2 = null);
|
|
377
377
|
a2 = { $$typeof: r$4, _calculateChangedBits: b2, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null };
|
|
378
|
-
a2.Provider = { $$typeof: q$
|
|
378
|
+
a2.Provider = { $$typeof: q$2, _context: a2 };
|
|
379
379
|
return a2.Consumer = a2;
|
|
380
380
|
};
|
|
381
381
|
react_production_min.createElement = J;
|
|
@@ -727,7 +727,7 @@ var scheduler_production_min = {};
|
|
|
727
727
|
* This source code is licensed under the MIT license found in the
|
|
728
728
|
* LICENSE file in the root directory of this source tree.
|
|
729
729
|
*/
|
|
730
|
-
var aa = react.exports, m$
|
|
730
|
+
var aa = react.exports, m$2 = objectAssign, r$3 = scheduler$1.exports;
|
|
731
731
|
function y$1(a2) {
|
|
732
732
|
for (var b2 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a2, c2 = 1; c2 < arguments.length; c2++)
|
|
733
733
|
b2 += "&args[]=" + encodeURIComponent(arguments[c2]);
|
|
@@ -1088,7 +1088,7 @@ function Xa(a2) {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
function Ya(a2, b2) {
|
|
1090
1090
|
var c2 = b2.checked;
|
|
1091
|
-
return m$
|
|
1091
|
+
return m$2({}, b2, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c2 != null ? c2 : a2._wrapperState.initialChecked });
|
|
1092
1092
|
}
|
|
1093
1093
|
function Za(a2, b2) {
|
|
1094
1094
|
var c2 = b2.defaultValue == null ? "" : b2.defaultValue, d2 = b2.checked != null ? b2.checked : b2.defaultChecked;
|
|
@@ -1141,7 +1141,7 @@ function db(a2) {
|
|
|
1141
1141
|
return b2;
|
|
1142
1142
|
}
|
|
1143
1143
|
function eb(a2, b2) {
|
|
1144
|
-
a2 = m$
|
|
1144
|
+
a2 = m$2({ children: void 0 }, b2);
|
|
1145
1145
|
if (b2 = db(b2.children))
|
|
1146
1146
|
a2.children = b2;
|
|
1147
1147
|
return a2;
|
|
@@ -1171,7 +1171,7 @@ function fb(a2, b2, c2, d2) {
|
|
|
1171
1171
|
function gb(a2, b2) {
|
|
1172
1172
|
if (b2.dangerouslySetInnerHTML != null)
|
|
1173
1173
|
throw Error(y$1(91));
|
|
1174
|
-
return m$
|
|
1174
|
+
return m$2({}, b2, { value: void 0, defaultValue: void 0, children: "" + a2._wrapperState.initialValue });
|
|
1175
1175
|
}
|
|
1176
1176
|
function hb(a2, b2) {
|
|
1177
1177
|
var c2 = b2.value;
|
|
@@ -1306,7 +1306,7 @@ function tb(a2, b2) {
|
|
|
1306
1306
|
d2 ? a2.setProperty(c2, e2) : a2[c2] = e2;
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
|
-
var ub = m$
|
|
1309
|
+
var ub = m$2({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true });
|
|
1310
1310
|
function vb$1(a2, b2) {
|
|
1311
1311
|
if (b2) {
|
|
1312
1312
|
if (ub[a2] && (b2.children != null || b2.dangerouslySetInnerHTML != null))
|
|
@@ -2070,7 +2070,7 @@ function rd(a2) {
|
|
|
2070
2070
|
this.isPropagationStopped = qd;
|
|
2071
2071
|
return this;
|
|
2072
2072
|
}
|
|
2073
|
-
m$
|
|
2073
|
+
m$2(b2.prototype, { preventDefault: function() {
|
|
2074
2074
|
this.defaultPrevented = true;
|
|
2075
2075
|
var a3 = this.nativeEvent;
|
|
2076
2076
|
a3 && (a3.preventDefault ? a3.preventDefault() : typeof a3.returnValue !== "unknown" && (a3.returnValue = false), this.isDefaultPrevented = pd);
|
|
@@ -2083,7 +2083,7 @@ function rd(a2) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a2) {
|
|
2085
2085
|
return a2.timeStamp || Date.now();
|
|
2086
|
-
}, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = m$
|
|
2086
|
+
}, defaultPrevented: 0, isTrusted: 0 }, td = rd(sd), ud = m$2({}, sd, { view: 0, detail: 0 }), vd = rd(ud), wd, xd, yd, Ad = m$2({}, ud, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: zd, button: 0, buttons: 0, relatedTarget: function(a2) {
|
|
2087
2087
|
return a2.relatedTarget === void 0 ? a2.fromElement === a2.srcElement ? a2.toElement : a2.fromElement : a2.relatedTarget;
|
|
2088
2088
|
}, movementX: function(a2) {
|
|
2089
2089
|
if ("movementX" in a2)
|
|
@@ -2092,9 +2092,9 @@ var sd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a2) {
|
|
|
2092
2092
|
return wd;
|
|
2093
2093
|
}, movementY: function(a2) {
|
|
2094
2094
|
return "movementY" in a2 ? a2.movementY : xd;
|
|
2095
|
-
} }), Bd = rd(Ad), Cd = m$
|
|
2095
|
+
} }), Bd = rd(Ad), Cd = m$2({}, Ad, { dataTransfer: 0 }), Dd = rd(Cd), Ed = m$2({}, ud, { relatedTarget: 0 }), Fd = rd(Ed), Gd = m$2({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hd = rd(Gd), Id = m$2({}, sd, { clipboardData: function(a2) {
|
|
2096
2096
|
return "clipboardData" in a2 ? a2.clipboardData : window.clipboardData;
|
|
2097
|
-
} }), Jd = rd(Id), Kd = m$
|
|
2097
|
+
} }), Jd = rd(Id), Kd = m$2({}, sd, { data: 0 }), Ld = rd(Kd), Md = {
|
|
2098
2098
|
Esc: "Escape",
|
|
2099
2099
|
Spacebar: " ",
|
|
2100
2100
|
Left: "ArrowLeft",
|
|
@@ -2152,7 +2152,7 @@ function Pd(a2) {
|
|
|
2152
2152
|
function zd() {
|
|
2153
2153
|
return Pd;
|
|
2154
2154
|
}
|
|
2155
|
-
var Qd = m$
|
|
2155
|
+
var Qd = m$2({}, ud, { key: function(a2) {
|
|
2156
2156
|
if (a2.key) {
|
|
2157
2157
|
var b2 = Md[a2.key] || a2.key;
|
|
2158
2158
|
if (b2 !== "Unidentified")
|
|
@@ -2165,7 +2165,7 @@ var Qd = m$1({}, ud, { key: function(a2) {
|
|
|
2165
2165
|
return a2.type === "keydown" || a2.type === "keyup" ? a2.keyCode : 0;
|
|
2166
2166
|
}, which: function(a2) {
|
|
2167
2167
|
return a2.type === "keypress" ? od(a2) : a2.type === "keydown" || a2.type === "keyup" ? a2.keyCode : 0;
|
|
2168
|
-
} }), Rd = rd(Qd), Sd = m$
|
|
2168
|
+
} }), Rd = rd(Qd), Sd = m$2({}, Ad, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Td = rd(Sd), Ud = m$2({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: zd }), Vd = rd(Ud), Wd = m$2({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Xd = rd(Wd), Yd = m$2({}, Ad, {
|
|
2169
2169
|
deltaX: function(a2) {
|
|
2170
2170
|
return "deltaX" in a2 ? a2.deltaX : "wheelDeltaX" in a2 ? -a2.wheelDeltaX : 0;
|
|
2171
2171
|
},
|
|
@@ -2894,7 +2894,7 @@ function If(a2, b2, c2) {
|
|
|
2894
2894
|
for (var e2 in d2)
|
|
2895
2895
|
if (!(e2 in a2))
|
|
2896
2896
|
throw Error(y$1(108, Ra(b2) || "Unknown", e2));
|
|
2897
|
-
return m$
|
|
2897
|
+
return m$2({}, c2, d2);
|
|
2898
2898
|
}
|
|
2899
2899
|
function Jf(a2) {
|
|
2900
2900
|
a2 = (a2 = a2.stateNode) && a2.__reactInternalMemoizedMergedChildContext || Cf;
|
|
@@ -2987,7 +2987,7 @@ function jg() {
|
|
|
2987
2987
|
var kg = ra.ReactCurrentBatchConfig;
|
|
2988
2988
|
function lg(a2, b2) {
|
|
2989
2989
|
if (a2 && a2.defaultProps) {
|
|
2990
|
-
b2 = m$
|
|
2990
|
+
b2 = m$2({}, b2);
|
|
2991
2991
|
a2 = a2.defaultProps;
|
|
2992
2992
|
for (var c2 in a2)
|
|
2993
2993
|
b2[c2] === void 0 && (b2[c2] = a2[c2]);
|
|
@@ -3133,7 +3133,7 @@ function Cg(a2, b2, c2, d2) {
|
|
|
3133
3133
|
h2 = typeof C2 === "function" ? C2.call(p2, A2, h2) : C2;
|
|
3134
3134
|
if (h2 === null || h2 === void 0)
|
|
3135
3135
|
break a;
|
|
3136
|
-
A2 = m$
|
|
3136
|
+
A2 = m$2({}, A2, h2);
|
|
3137
3137
|
break a;
|
|
3138
3138
|
case 2:
|
|
3139
3139
|
wg = true;
|
|
@@ -3177,7 +3177,7 @@ var Fg = new aa.Component().refs;
|
|
|
3177
3177
|
function Gg(a2, b2, c2, d2) {
|
|
3178
3178
|
b2 = a2.memoizedState;
|
|
3179
3179
|
c2 = c2(d2, b2);
|
|
3180
|
-
c2 = c2 === null || c2 === void 0 ? b2 : m$
|
|
3180
|
+
c2 = c2 === null || c2 === void 0 ? b2 : m$2({}, b2, c2);
|
|
3181
3181
|
a2.memoizedState = c2;
|
|
3182
3182
|
a2.lanes === 0 && (a2.updateQueue.baseState = c2);
|
|
3183
3183
|
}
|
|
@@ -4454,8 +4454,8 @@ Di = function(a2, b2, c2, d2) {
|
|
|
4454
4454
|
f2 = [];
|
|
4455
4455
|
break;
|
|
4456
4456
|
case "select":
|
|
4457
|
-
e2 = m$
|
|
4458
|
-
d2 = m$
|
|
4457
|
+
e2 = m$2({}, e2, { value: void 0 });
|
|
4458
|
+
d2 = m$2({}, d2, { value: void 0 });
|
|
4459
4459
|
f2 = [];
|
|
4460
4460
|
break;
|
|
4461
4461
|
case "textarea":
|
|
@@ -4675,7 +4675,7 @@ function Gi(a2, b2, c2) {
|
|
|
4675
4675
|
break;
|
|
4676
4676
|
case "select":
|
|
4677
4677
|
a2._wrapperState = { wasMultiple: !!d2.multiple };
|
|
4678
|
-
e2 = m$
|
|
4678
|
+
e2 = m$2({}, d2, { value: void 0 });
|
|
4679
4679
|
G("invalid", a2);
|
|
4680
4680
|
break;
|
|
4681
4681
|
case "textarea":
|
|
@@ -9484,11 +9484,7 @@ var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
|
|
|
9484
9484
|
}
|
|
9485
9485
|
return intrinsic;
|
|
9486
9486
|
};
|
|
9487
|
-
var __viteBrowserExternal =
|
|
9488
|
-
get() {
|
|
9489
|
-
throw new Error('Module "" has been externalized for browser compatibility and cannot be accessed in client code.');
|
|
9490
|
-
}
|
|
9491
|
-
});
|
|
9487
|
+
var __viteBrowserExternal = {};
|
|
9492
9488
|
var __viteBrowserExternal$1 = /* @__PURE__ */ Object.freeze({
|
|
9493
9489
|
__proto__: null,
|
|
9494
9490
|
[Symbol.toStringTag]: "Module",
|
|
@@ -24924,26 +24920,44 @@ var Fade$1 = Fade;
|
|
|
24924
24920
|
var OverlayContext = /* @__PURE__ */ React.createContext({});
|
|
24925
24921
|
OverlayContext.displayName = "OverlayContext";
|
|
24926
24922
|
var OverlayContext$1 = OverlayContext;
|
|
24927
|
-
var
|
|
24928
|
-
var
|
|
24923
|
+
var jsxRuntime = { exports: {} };
|
|
24924
|
+
var reactJsxRuntime_production_min = {};
|
|
24929
24925
|
/** @license React v17.0.2
|
|
24930
|
-
* react-jsx-
|
|
24926
|
+
* react-jsx-runtime.production.min.js
|
|
24931
24927
|
*
|
|
24932
24928
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24933
24929
|
*
|
|
24934
24930
|
* This source code is licensed under the MIT license found in the
|
|
24935
24931
|
* LICENSE file in the root directory of this source tree.
|
|
24936
24932
|
*/
|
|
24937
|
-
|
|
24933
|
+
var f$1 = react.exports, g$1 = 60103;
|
|
24934
|
+
reactJsxRuntime_production_min.Fragment = 60107;
|
|
24938
24935
|
if (typeof Symbol === "function" && Symbol.for) {
|
|
24939
|
-
var
|
|
24940
|
-
|
|
24941
|
-
|
|
24942
|
-
|
|
24936
|
+
var h$2 = Symbol.for;
|
|
24937
|
+
g$1 = h$2("react.element");
|
|
24938
|
+
reactJsxRuntime_production_min.Fragment = h$2("react.fragment");
|
|
24939
|
+
}
|
|
24940
|
+
var m$1 = f$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n$2 = Object.prototype.hasOwnProperty, p$1 = { key: true, ref: true, __self: true, __source: true };
|
|
24941
|
+
function q$1(c2, a2, k2) {
|
|
24942
|
+
var b2, d2 = {}, e2 = null, l2 = null;
|
|
24943
|
+
k2 !== void 0 && (e2 = "" + k2);
|
|
24944
|
+
a2.key !== void 0 && (e2 = "" + a2.key);
|
|
24945
|
+
a2.ref !== void 0 && (l2 = a2.ref);
|
|
24946
|
+
for (b2 in a2)
|
|
24947
|
+
n$2.call(a2, b2) && !p$1.hasOwnProperty(b2) && (d2[b2] = a2[b2]);
|
|
24948
|
+
if (c2 && c2.defaultProps)
|
|
24949
|
+
for (b2 in a2 = c2.defaultProps, a2)
|
|
24950
|
+
d2[b2] === void 0 && (d2[b2] = a2[b2]);
|
|
24951
|
+
return { $$typeof: g$1, type: c2, key: e2, ref: l2, props: d2, _owner: m$1.current };
|
|
24952
|
+
}
|
|
24953
|
+
reactJsxRuntime_production_min.jsx = q$1;
|
|
24954
|
+
reactJsxRuntime_production_min.jsxs = q$1;
|
|
24943
24955
|
{
|
|
24944
|
-
|
|
24956
|
+
jsxRuntime.exports = reactJsxRuntime_production_min;
|
|
24945
24957
|
}
|
|
24946
|
-
|
|
24958
|
+
const jsx = jsxRuntime.exports.jsx;
|
|
24959
|
+
const jsxs = jsxRuntime.exports.jsxs;
|
|
24960
|
+
const Fragment = jsxRuntime.exports.Fragment;
|
|
24947
24961
|
var overlayPropTypes = {
|
|
24948
24962
|
container: PropTypes.any,
|
|
24949
24963
|
children: PropTypes.any,
|
|
@@ -24996,7 +25010,7 @@ var Overlay = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
24996
25010
|
preventOverflow
|
|
24997
25011
|
};
|
|
24998
25012
|
var renderChildWithPosition = function renderChildWithPosition2(transitionProps, transitionRef) {
|
|
24999
|
-
return /* @__PURE__ */
|
|
25013
|
+
return /* @__PURE__ */ jsx(Position$7, __spreadProps(__spreadValues(__spreadValues({}, positionProps), transitionProps), {
|
|
25000
25014
|
ref: mergeRefs(ref, transitionRef),
|
|
25001
25015
|
children: function(childProps, childRef) {
|
|
25002
25016
|
if (typeof children === "function") {
|
|
@@ -25012,14 +25026,10 @@ var Overlay = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
25012
25026
|
ref: mergeRefs(childRef, overlayTarget)
|
|
25013
25027
|
}));
|
|
25014
25028
|
}
|
|
25015
|
-
})
|
|
25016
|
-
fileName: _jsxFileName$F,
|
|
25017
|
-
lineNumber: 89,
|
|
25018
|
-
columnNumber: 25
|
|
25019
|
-
}, this);
|
|
25029
|
+
}));
|
|
25020
25030
|
};
|
|
25021
25031
|
if (Transition2) {
|
|
25022
|
-
return /* @__PURE__ */
|
|
25032
|
+
return /* @__PURE__ */ jsx(Transition2, {
|
|
25023
25033
|
in: open,
|
|
25024
25034
|
transitionAppear: true,
|
|
25025
25035
|
onExit,
|
|
@@ -25029,18 +25039,13 @@ var Overlay = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
25029
25039
|
onEntering,
|
|
25030
25040
|
onEntered,
|
|
25031
25041
|
children: renderChildWithPosition
|
|
25032
|
-
}
|
|
25033
|
-
fileName: _jsxFileName$F,
|
|
25034
|
-
lineNumber: 113,
|
|
25035
|
-
columnNumber: 25
|
|
25036
|
-
}, this);
|
|
25042
|
+
});
|
|
25037
25043
|
}
|
|
25038
25044
|
return renderChildWithPosition();
|
|
25039
25045
|
});
|
|
25040
25046
|
Overlay.displayName = "Overlay";
|
|
25041
25047
|
Overlay.propTypes = overlayPropTypes;
|
|
25042
25048
|
var Overlay$1 = Overlay;
|
|
25043
|
-
var _jsxFileName$E = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Overlay/OverlayTrigger.js";
|
|
25044
25049
|
function mergeEvents(events2, props) {
|
|
25045
25050
|
if (events2 === void 0) {
|
|
25046
25051
|
events2 = {};
|
|
@@ -25240,7 +25245,7 @@ var OverlayTrigger = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
25240
25245
|
speakerProps.onMouseEnter = handleSpeakerMouseEnter;
|
|
25241
25246
|
speakerProps.onMouseLeave = handleSpeakerMouseLeave;
|
|
25242
25247
|
}
|
|
25243
|
-
return /* @__PURE__ */
|
|
25248
|
+
return /* @__PURE__ */ jsx(Overlay$1, __spreadProps(__spreadValues({}, overlayProps), {
|
|
25244
25249
|
ref: overlayRef,
|
|
25245
25250
|
childrenProps: speakerProps,
|
|
25246
25251
|
children: typeof speaker === "function" ? function(props2, ref2) {
|
|
@@ -25248,24 +25253,16 @@ var OverlayTrigger = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
25248
25253
|
onClose: handleClose
|
|
25249
25254
|
}), ref2);
|
|
25250
25255
|
} : speaker
|
|
25251
|
-
})
|
|
25252
|
-
fileName: _jsxFileName$E,
|
|
25253
|
-
lineNumber: 308,
|
|
25254
|
-
columnNumber: 25
|
|
25255
|
-
}, this);
|
|
25256
|
+
}));
|
|
25256
25257
|
};
|
|
25257
|
-
return /* @__PURE__ */
|
|
25258
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
25258
25259
|
children: [typeof children === "function" ? children(triggerEvents, triggerRef) : /* @__PURE__ */ React.cloneElement(children, _extends({
|
|
25259
25260
|
ref: triggerRef,
|
|
25260
25261
|
"aria-describedby": controlId
|
|
25261
|
-
}, mergeEvents(triggerEvents, children.props))), /* @__PURE__ */
|
|
25262
|
+
}, mergeEvents(triggerEvents, children.props))), /* @__PURE__ */ jsx(Portal, {
|
|
25262
25263
|
children: renderOverlay()
|
|
25263
|
-
}
|
|
25264
|
-
|
|
25265
|
-
lineNumber: 321,
|
|
25266
|
-
columnNumber: 65
|
|
25267
|
-
}, this)]
|
|
25268
|
-
}, void 0, true);
|
|
25264
|
+
})]
|
|
25265
|
+
});
|
|
25269
25266
|
});
|
|
25270
25267
|
OverlayTrigger.displayName = "OverlayTrigger";
|
|
25271
25268
|
var OverlayTrigger$1 = OverlayTrigger;
|
|
@@ -26305,7 +26302,6 @@ function useIsMounted() {
|
|
|
26305
26302
|
}
|
|
26306
26303
|
var ButtonGroupContext = /* @__PURE__ */ React.createContext(null);
|
|
26307
26304
|
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
26308
|
-
var _jsxFileName$D = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/SafeAnchor/SafeAnchor.js";
|
|
26309
26305
|
function isTrivialHref(href) {
|
|
26310
26306
|
return !href || href.trim() === "#";
|
|
26311
26307
|
}
|
|
@@ -26329,16 +26325,12 @@ var SafeAnchor = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26329
26325
|
restProps.tabIndex = -1;
|
|
26330
26326
|
restProps["aria-disabled"] = true;
|
|
26331
26327
|
}
|
|
26332
|
-
return /* @__PURE__ */
|
|
26328
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues(__spreadValues({
|
|
26333
26329
|
ref,
|
|
26334
26330
|
href
|
|
26335
26331
|
}, trivialProps), restProps), {
|
|
26336
26332
|
onClick: handleClick
|
|
26337
|
-
})
|
|
26338
|
-
fileName: _jsxFileName$D,
|
|
26339
|
-
lineNumber: 41,
|
|
26340
|
-
columnNumber: 23
|
|
26341
|
-
}, this);
|
|
26333
|
+
}));
|
|
26342
26334
|
});
|
|
26343
26335
|
SafeAnchor.displayName = "SafeAnchor";
|
|
26344
26336
|
SafeAnchor.propTypes = {
|
|
@@ -26347,7 +26339,6 @@ SafeAnchor.propTypes = {
|
|
|
26347
26339
|
as: PropTypes.elementType
|
|
26348
26340
|
};
|
|
26349
26341
|
var SafeAnchor$1 = SafeAnchor;
|
|
26350
|
-
var _jsxFileName$C = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Ripple/Ripple.js";
|
|
26351
26342
|
var getPosition = function getPosition2(target, event) {
|
|
26352
26343
|
var offset = getOffset(target);
|
|
26353
26344
|
var offsetX = (event.pageX || 0) - offset.left;
|
|
@@ -26385,35 +26376,23 @@ var Ripple = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26385
26376
|
mousedownListener === null || mousedownListener === void 0 ? void 0 : mousedownListener.off();
|
|
26386
26377
|
};
|
|
26387
26378
|
}, [handleMouseDown]);
|
|
26388
|
-
return /* @__PURE__ */
|
|
26379
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, rest), {
|
|
26389
26380
|
className: classes,
|
|
26390
26381
|
ref: mergeRefs(triggerRef, ref),
|
|
26391
|
-
children: /* @__PURE__ */
|
|
26382
|
+
children: /* @__PURE__ */ jsx(Transition$1, {
|
|
26392
26383
|
in: rippling,
|
|
26393
26384
|
enteringClassName: prefix2("rippling"),
|
|
26394
26385
|
onEntered: handleRippled,
|
|
26395
26386
|
children: function(props2, ref2) {
|
|
26396
26387
|
var className2 = props2.className, transitionRest = _objectWithoutPropertiesLoose(props2, ["className"]);
|
|
26397
|
-
return /* @__PURE__ */
|
|
26388
|
+
return /* @__PURE__ */ jsx("span", __spreadProps(__spreadValues({}, transitionRest), {
|
|
26398
26389
|
ref: ref2,
|
|
26399
26390
|
className: merge3(withClassPrefix(), className2),
|
|
26400
26391
|
style: position2
|
|
26401
|
-
})
|
|
26402
|
-
|
|
26403
|
-
|
|
26404
|
-
|
|
26405
|
-
}, this);
|
|
26406
|
-
}
|
|
26407
|
-
}, void 0, false, {
|
|
26408
|
-
fileName: _jsxFileName$C,
|
|
26409
|
-
lineNumber: 70,
|
|
26410
|
-
columnNumber: 20
|
|
26411
|
-
}, this)
|
|
26412
|
-
}), void 0, false, {
|
|
26413
|
-
fileName: _jsxFileName$C,
|
|
26414
|
-
lineNumber: 67,
|
|
26415
|
-
columnNumber: 23
|
|
26416
|
-
}, this);
|
|
26392
|
+
}));
|
|
26393
|
+
}
|
|
26394
|
+
})
|
|
26395
|
+
}));
|
|
26417
26396
|
});
|
|
26418
26397
|
Ripple.displayName = "Ripple";
|
|
26419
26398
|
Ripple.propTypes = {
|
|
@@ -26422,7 +26401,6 @@ Ripple.propTypes = {
|
|
|
26422
26401
|
onMouseDown: PropTypes.func
|
|
26423
26402
|
};
|
|
26424
26403
|
var Ripple$1 = Ripple;
|
|
26425
|
-
var _jsxFileName$B = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Button/Button.js";
|
|
26426
26404
|
var _templateObject$4;
|
|
26427
26405
|
var Button$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
26428
26406
|
var as = props.as, active = props.active, _props$appearance = props.appearance, appearance = _props$appearance === void 0 ? "default" : _props$appearance, block = props.block, className = props.className, children = props.children, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "btn" : _props$classPrefix, color = props.color, disabled = props.disabled, loading = props.loading, _props$ripple = props.ripple, ripple = _props$ripple === void 0 ? true : _props$ripple, sizeProp = props.size, typeProp = props.type, rest = _objectWithoutPropertiesLoose(props, ["as", "active", "appearance", "block", "className", "children", "classPrefix", "color", "disabled", "loading", "ripple", "size", "type"]);
|
|
@@ -26435,36 +26413,24 @@ var Button$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26435
26413
|
loading,
|
|
26436
26414
|
block
|
|
26437
26415
|
}));
|
|
26438
|
-
var rippleElement = ripple && !isOneOf(appearance, ["link", "ghost"]) ? /* @__PURE__ */
|
|
26439
|
-
|
|
26440
|
-
lineNumber: 46,
|
|
26441
|
-
columnNumber: 88
|
|
26442
|
-
}, this) : null;
|
|
26443
|
-
var spin = /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
26416
|
+
var rippleElement = ripple && !isOneOf(appearance, ["link", "ghost"]) ? /* @__PURE__ */ jsx(Ripple$1, {}) : null;
|
|
26417
|
+
var spin = /* @__PURE__ */ jsx("span", {
|
|
26444
26418
|
className: prefix2(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["spin"])))
|
|
26445
|
-
}
|
|
26446
|
-
fileName: _jsxFileName$B,
|
|
26447
|
-
lineNumber: 47,
|
|
26448
|
-
columnNumber: 27
|
|
26449
|
-
}, this);
|
|
26419
|
+
});
|
|
26450
26420
|
if (rest.href) {
|
|
26451
|
-
return /* @__PURE__ */
|
|
26421
|
+
return /* @__PURE__ */ jsxs(SafeAnchor$1, __spreadProps(__spreadValues({}, rest), {
|
|
26452
26422
|
as,
|
|
26453
26423
|
ref,
|
|
26454
26424
|
"aria-disabled": disabled,
|
|
26455
26425
|
disabled,
|
|
26456
26426
|
className: classes,
|
|
26457
26427
|
children: [loading && spin, children, rippleElement]
|
|
26458
|
-
})
|
|
26459
|
-
fileName: _jsxFileName$B,
|
|
26460
|
-
lineNumber: 52,
|
|
26461
|
-
columnNumber: 25
|
|
26462
|
-
}, this);
|
|
26428
|
+
}));
|
|
26463
26429
|
}
|
|
26464
26430
|
var Component = as || "button";
|
|
26465
26431
|
var type = typeProp || (Component === "button" ? "button" : void 0);
|
|
26466
26432
|
var role = rest.role || (Component !== "button" ? "button" : void 0);
|
|
26467
|
-
return /* @__PURE__ */
|
|
26433
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({}, rest), {
|
|
26468
26434
|
role,
|
|
26469
26435
|
type,
|
|
26470
26436
|
ref,
|
|
@@ -26472,11 +26438,7 @@ var Button$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26472
26438
|
"aria-disabled": disabled,
|
|
26473
26439
|
className: classes,
|
|
26474
26440
|
children: [loading && spin, children, rippleElement]
|
|
26475
|
-
})
|
|
26476
|
-
fileName: _jsxFileName$B,
|
|
26477
|
-
lineNumber: 64,
|
|
26478
|
-
columnNumber: 23
|
|
26479
|
-
}, this);
|
|
26441
|
+
}));
|
|
26480
26442
|
});
|
|
26481
26443
|
Button$1.displayName = "Button";
|
|
26482
26444
|
Button$1.propTypes = {
|
|
@@ -26531,7 +26493,6 @@ function useUniqueId(prefix2, idProp) {
|
|
|
26531
26493
|
}
|
|
26532
26494
|
return idProp !== null && idProp !== void 0 ? idProp : idRef.current;
|
|
26533
26495
|
}
|
|
26534
|
-
var _jsxFileName$A = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Message/Message.js";
|
|
26535
26496
|
var _templateObject$3, _templateObject2$3, _templateObject3$1, _templateObject4$1, _templateObject5;
|
|
26536
26497
|
var Message = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
26537
26498
|
var _withClassPrefix;
|
|
@@ -26556,58 +26517,30 @@ var Message = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26556
26517
|
var classes = merge3(className, withClassPrefix(type, display, (_withClassPrefix = {
|
|
26557
26518
|
full
|
|
26558
26519
|
}, _withClassPrefix["has-title"] = header, _withClassPrefix["has-icon"] = showIcon, _withClassPrefix)));
|
|
26559
|
-
return /* @__PURE__ */
|
|
26520
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({
|
|
26560
26521
|
role: "alert"
|
|
26561
26522
|
}, rest), {
|
|
26562
26523
|
ref,
|
|
26563
26524
|
className: classes,
|
|
26564
|
-
children: /* @__PURE__ */
|
|
26525
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
26565
26526
|
className: prefix2(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["container"]))),
|
|
26566
|
-
children: [closable && /* @__PURE__ */
|
|
26527
|
+
children: [closable && /* @__PURE__ */ jsx(CloseButton$1, {
|
|
26567
26528
|
onClick: handleClose
|
|
26568
|
-
},
|
|
26569
|
-
fileName: _jsxFileName$A,
|
|
26570
|
-
lineNumber: 70,
|
|
26571
|
-
columnNumber: 31
|
|
26572
|
-
}, this), showIcon && /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
26529
|
+
}), showIcon && /* @__PURE__ */ jsx("div", {
|
|
26573
26530
|
className: prefix2(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["icon-wrapper"]))),
|
|
26574
26531
|
children: MESSAGE_STATUS_ICONS[type]
|
|
26575
|
-
},
|
|
26576
|
-
fileName: _jsxFileName$A,
|
|
26577
|
-
lineNumber: 72,
|
|
26578
|
-
columnNumber: 32
|
|
26579
|
-
}, this), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
26532
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
26580
26533
|
className: prefix2(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["content"]))),
|
|
26581
|
-
children: [header && /* @__PURE__ */
|
|
26534
|
+
children: [header && /* @__PURE__ */ jsx("div", {
|
|
26582
26535
|
className: prefix2(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["header"]))),
|
|
26583
26536
|
children: header
|
|
26584
|
-
},
|
|
26585
|
-
fileName: _jsxFileName$A,
|
|
26586
|
-
lineNumber: 76,
|
|
26587
|
-
columnNumber: 29
|
|
26588
|
-
}, this), children && /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
26537
|
+
}), children && /* @__PURE__ */ jsx("div", {
|
|
26589
26538
|
className: prefix2(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["body"]))),
|
|
26590
26539
|
children
|
|
26591
|
-
}
|
|
26592
|
-
|
|
26593
|
-
|
|
26594
|
-
|
|
26595
|
-
}, this)]
|
|
26596
|
-
}, void 0, true, {
|
|
26597
|
-
fileName: _jsxFileName$A,
|
|
26598
|
-
lineNumber: 74,
|
|
26599
|
-
columnNumber: 48
|
|
26600
|
-
}, this)]
|
|
26601
|
-
}, void 0, true, {
|
|
26602
|
-
fileName: _jsxFileName$A,
|
|
26603
|
-
lineNumber: 68,
|
|
26604
|
-
columnNumber: 20
|
|
26605
|
-
}, this)
|
|
26606
|
-
}), void 0, false, {
|
|
26607
|
-
fileName: _jsxFileName$A,
|
|
26608
|
-
lineNumber: 63,
|
|
26609
|
-
columnNumber: 23
|
|
26610
|
-
}, this);
|
|
26540
|
+
})]
|
|
26541
|
+
})]
|
|
26542
|
+
})
|
|
26543
|
+
}));
|
|
26611
26544
|
});
|
|
26612
26545
|
Message.displayName = "Message";
|
|
26613
26546
|
Message.propTypes = {
|
|
@@ -26622,7 +26555,6 @@ Message.propTypes = {
|
|
|
26622
26555
|
classPrefix: PropTypes.string
|
|
26623
26556
|
};
|
|
26624
26557
|
var Message$1 = Message;
|
|
26625
|
-
var _jsxFileName$z = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/utils/deprecateComponent.js";
|
|
26626
26558
|
function deprecateComponent(Component, message) {
|
|
26627
26559
|
var _Component$displayNam;
|
|
26628
26560
|
var componentDisplayName = (_Component$displayNam = Component.displayName) !== null && _Component$displayNam !== void 0 ? _Component$displayNam : Component.name;
|
|
@@ -26630,18 +26562,13 @@ function deprecateComponent(Component, message) {
|
|
|
26630
26562
|
react.exports.useEffect(function() {
|
|
26631
26563
|
console.warn(message);
|
|
26632
26564
|
}, []);
|
|
26633
|
-
return /* @__PURE__ */
|
|
26565
|
+
return /* @__PURE__ */ jsx(Component, __spreadValues({
|
|
26634
26566
|
ref
|
|
26635
|
-
}, props)
|
|
26636
|
-
fileName: _jsxFileName$z,
|
|
26637
|
-
lineNumber: 16,
|
|
26638
|
-
columnNumber: 25
|
|
26639
|
-
}, this);
|
|
26567
|
+
}, props));
|
|
26640
26568
|
});
|
|
26641
26569
|
Deprecated.displayName = "deprecated(" + componentDisplayName + ")";
|
|
26642
26570
|
return Deprecated;
|
|
26643
26571
|
}
|
|
26644
|
-
var _jsxFileName$y = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/toaster/ToastContainer.js";
|
|
26645
26572
|
var useMessages = function useMessages2() {
|
|
26646
26573
|
var _useState = react.exports.useState([]), messages2 = _useState[0], setMessages = _useState[1];
|
|
26647
26574
|
var getKey = react.exports.useCallback(function(key) {
|
|
@@ -26704,7 +26631,7 @@ var ToastContainer = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26704
26631
|
};
|
|
26705
26632
|
});
|
|
26706
26633
|
var elements = messages2.map(function(item) {
|
|
26707
|
-
return /* @__PURE__ */
|
|
26634
|
+
return /* @__PURE__ */ jsx(Transition$1, {
|
|
26708
26635
|
in: item.visible,
|
|
26709
26636
|
exitedClassName: rootPrefix("toast-fade-exited"),
|
|
26710
26637
|
exitingClassName: rootPrefix("toast-fade-exiting"),
|
|
@@ -26722,21 +26649,13 @@ var ToastContainer = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
26722
26649
|
className: merge3(rootPrefix("toast"), (_item$node2 = item.node) === null || _item$node2 === void 0 ? void 0 : (_item$node2$props = _item$node2.props) === null || _item$node2$props === void 0 ? void 0 : _item$node2$props.className, transitionClassName)
|
|
26723
26650
|
}));
|
|
26724
26651
|
}
|
|
26725
|
-
}, item.key
|
|
26726
|
-
fileName: _jsxFileName$y,
|
|
26727
|
-
lineNumber: 102,
|
|
26728
|
-
columnNumber: 25
|
|
26729
|
-
}, this);
|
|
26652
|
+
}, item.key);
|
|
26730
26653
|
});
|
|
26731
|
-
return /* @__PURE__ */
|
|
26654
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, rest), {
|
|
26732
26655
|
ref: rootRef,
|
|
26733
26656
|
className: classes,
|
|
26734
26657
|
children: elements
|
|
26735
|
-
})
|
|
26736
|
-
fileName: _jsxFileName$y,
|
|
26737
|
-
lineNumber: 126,
|
|
26738
|
-
columnNumber: 23
|
|
26739
|
-
}, this);
|
|
26658
|
+
}));
|
|
26740
26659
|
});
|
|
26741
26660
|
ToastContainer.getInstance = function(props) {
|
|
26742
26661
|
var container = props.container, rest = _objectWithoutPropertiesLoose(props, ["container"]);
|
|
@@ -26749,13 +26668,9 @@ ToastContainer.getInstance = function(props) {
|
|
|
26749
26668
|
reactDom.exports.unmountComponentAtNode(mountElement);
|
|
26750
26669
|
parentElement.removeChild(mountElement);
|
|
26751
26670
|
}
|
|
26752
|
-
reactDom.exports.render(/* @__PURE__ */
|
|
26671
|
+
reactDom.exports.render(/* @__PURE__ */ jsx(ToastContainer, __spreadProps(__spreadValues({}, rest), {
|
|
26753
26672
|
ref: containerRef
|
|
26754
|
-
}),
|
|
26755
|
-
fileName: _jsxFileName$y,
|
|
26756
|
-
lineNumber: 149,
|
|
26757
|
-
columnNumber: 24
|
|
26758
|
-
}, this), mountElement);
|
|
26673
|
+
})), mountElement);
|
|
26759
26674
|
return [containerRef, destroy];
|
|
26760
26675
|
};
|
|
26761
26676
|
ToastContainer.displayName = "ToastContainer";
|
|
@@ -26975,7 +26890,6 @@ function isFocusableElement(element) {
|
|
|
26975
26890
|
return false;
|
|
26976
26891
|
return element.matches(focusableSelector);
|
|
26977
26892
|
}
|
|
26978
|
-
var _jsxFileName$x = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Menu/Menu.js";
|
|
26979
26893
|
var defaultOpenMenuOn = ["click"];
|
|
26980
26894
|
function Menu$2(props) {
|
|
26981
26895
|
var _items$activeItemInde;
|
|
@@ -27113,15 +27027,11 @@ function Menu$2(props) {
|
|
|
27113
27027
|
var customMenuButton = react.exports.useMemo(function() {
|
|
27114
27028
|
return renderMenuButton === null || renderMenuButton === void 0 ? void 0 : renderMenuButton(buttonProps, buttonElementRef);
|
|
27115
27029
|
}, [renderMenuButton, buttonProps, buttonElementRef]);
|
|
27116
|
-
var buttonElement = customMenuButton !== null && customMenuButton !== void 0 ? customMenuButton : /* @__PURE__ */
|
|
27030
|
+
var buttonElement = customMenuButton !== null && customMenuButton !== void 0 ? customMenuButton : /* @__PURE__ */ jsx("button", __spreadProps(__spreadValues({
|
|
27117
27031
|
ref: buttonElementRef
|
|
27118
27032
|
}, buttonProps), {
|
|
27119
27033
|
children: menuButtonText
|
|
27120
|
-
})
|
|
27121
|
-
fileName: _jsxFileName$x,
|
|
27122
|
-
lineNumber: 203,
|
|
27123
|
-
columnNumber: 114
|
|
27124
|
-
}, this);
|
|
27034
|
+
}));
|
|
27125
27035
|
var handleMenuKeydown = react.exports.useCallback(function(e2) {
|
|
27126
27036
|
switch (e2.key) {
|
|
27127
27037
|
case KEY_VALUES.UP:
|
|
@@ -27223,16 +27133,12 @@ function Menu$2(props) {
|
|
|
27223
27133
|
var customMenuPopup = renderMenuPopup === null || renderMenuPopup === void 0 ? void 0 : renderMenuPopup(_extends({}, menuProps, {
|
|
27224
27134
|
open
|
|
27225
27135
|
}), menuElementRef);
|
|
27226
|
-
var menuElement = customMenuPopup !== null && customMenuPopup !== void 0 ? customMenuPopup : /* @__PURE__ */
|
|
27136
|
+
var menuElement = customMenuPopup !== null && customMenuPopup !== void 0 ? customMenuPopup : /* @__PURE__ */ jsx("ul", __spreadProps(__spreadValues({
|
|
27227
27137
|
ref: menuElementRef
|
|
27228
27138
|
}, menuProps), {
|
|
27229
27139
|
hidden: !open,
|
|
27230
27140
|
children
|
|
27231
|
-
})
|
|
27232
|
-
fileName: _jsxFileName$x,
|
|
27233
|
-
lineNumber: 340,
|
|
27234
|
-
columnNumber: 109
|
|
27235
|
-
}, this);
|
|
27141
|
+
}));
|
|
27236
27142
|
var handleMouseEnter = react.exports.useCallback(function(e2) {
|
|
27237
27143
|
if (!disabled) {
|
|
27238
27144
|
openMenu(e2);
|
|
@@ -27257,16 +27163,12 @@ function Menu$2(props) {
|
|
|
27257
27163
|
rootEventHandlers.onMouseLeave = handleMouseLeave;
|
|
27258
27164
|
}
|
|
27259
27165
|
var rootProps = _extends({}, rootEventHandlers, {
|
|
27260
|
-
children: /* @__PURE__ */
|
|
27261
|
-
children: [buttonElement, /* @__PURE__ */
|
|
27166
|
+
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
27167
|
+
children: [buttonElement, /* @__PURE__ */ jsx(MenuContext$1.Provider, {
|
|
27262
27168
|
value: menu,
|
|
27263
27169
|
children: menuElement
|
|
27264
|
-
}
|
|
27265
|
-
|
|
27266
|
-
lineNumber: 371,
|
|
27267
|
-
columnNumber: 98
|
|
27268
|
-
}, this)]
|
|
27269
|
-
}, void 0, true),
|
|
27170
|
+
})]
|
|
27171
|
+
}),
|
|
27270
27172
|
open
|
|
27271
27173
|
});
|
|
27272
27174
|
if (isSubmenu) {
|
|
@@ -27395,7 +27297,6 @@ SidenavToggle.propTypes = {
|
|
|
27395
27297
|
onToggle: PropTypes.func
|
|
27396
27298
|
};
|
|
27397
27299
|
var SidenavToggle$1 = SidenavToggle;
|
|
27398
|
-
var _jsxFileName$w = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Sidenav/Sidenav.js";
|
|
27399
27300
|
var SidenavContext = /* @__PURE__ */ React.createContext(null);
|
|
27400
27301
|
var emptyArray$1 = [];
|
|
27401
27302
|
var Sidenav = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
@@ -27426,9 +27327,9 @@ var Sidenav = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27426
27327
|
onSelect
|
|
27427
27328
|
};
|
|
27428
27329
|
}, [activeKey, expanded, handleOpenChange, onSelect, openKeys]);
|
|
27429
|
-
return /* @__PURE__ */
|
|
27330
|
+
return /* @__PURE__ */ jsx(SidenavContext.Provider, {
|
|
27430
27331
|
value: contextValue,
|
|
27431
|
-
children: /* @__PURE__ */
|
|
27332
|
+
children: /* @__PURE__ */ jsx(Transition$1, {
|
|
27432
27333
|
in: expanded,
|
|
27433
27334
|
timeout: 300,
|
|
27434
27335
|
exitedClassName: prefix2("collapse-out"),
|
|
@@ -27437,25 +27338,13 @@ var Sidenav = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27437
27338
|
enteringClassName: prefix2("collapse-in", "collapsing"),
|
|
27438
27339
|
children: function(transitionProps, transitionRef) {
|
|
27439
27340
|
var className2 = transitionProps.className, transitionRest = _objectWithoutPropertiesLoose(transitionProps, ["className"]);
|
|
27440
|
-
return /* @__PURE__ */
|
|
27341
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues(__spreadValues({}, rest), transitionRest), {
|
|
27441
27342
|
ref: mergeRefs(ref, transitionRef),
|
|
27442
27343
|
className: merge3(classes, className2)
|
|
27443
|
-
})
|
|
27444
|
-
|
|
27445
|
-
|
|
27446
|
-
|
|
27447
|
-
}, this);
|
|
27448
|
-
}
|
|
27449
|
-
}, void 0, false, {
|
|
27450
|
-
fileName: _jsxFileName$w,
|
|
27451
|
-
lineNumber: 72,
|
|
27452
|
-
columnNumber: 19
|
|
27453
|
-
}, this)
|
|
27454
|
-
}, void 0, false, {
|
|
27455
|
-
fileName: _jsxFileName$w,
|
|
27456
|
-
lineNumber: 70,
|
|
27457
|
-
columnNumber: 23
|
|
27458
|
-
}, this);
|
|
27344
|
+
}));
|
|
27345
|
+
}
|
|
27346
|
+
})
|
|
27347
|
+
});
|
|
27459
27348
|
});
|
|
27460
27349
|
Sidenav.Header = SidenavHeader$1;
|
|
27461
27350
|
Sidenav.Body = SidenavBody$1;
|
|
@@ -27476,7 +27365,6 @@ Sidenav.propTypes = {
|
|
|
27476
27365
|
var DropdownContext = /* @__PURE__ */ React.createContext(null);
|
|
27477
27366
|
DropdownContext.displayName = "DropdownContext";
|
|
27478
27367
|
var DropdownContext$1 = DropdownContext;
|
|
27479
|
-
var _jsxFileName$v = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Menu/Menubar.js";
|
|
27480
27368
|
function Menubar(_ref2) {
|
|
27481
27369
|
var _ref$vertical = _ref2.vertical, vertical = _ref$vertical === void 0 ? false : _ref$vertical, children = _ref2.children, onActivateItem = _ref2.onActivateItem;
|
|
27482
27370
|
var menubar = useMenu({
|
|
@@ -27566,7 +27454,7 @@ function Menubar(_ref2) {
|
|
|
27566
27454
|
onActivateItem === null || onActivateItem === void 0 ? void 0 : onActivateItem(event);
|
|
27567
27455
|
}
|
|
27568
27456
|
}, [items, onActivateItem]);
|
|
27569
|
-
return /* @__PURE__ */
|
|
27457
|
+
return /* @__PURE__ */ jsx(MenuContext$1.Provider, {
|
|
27570
27458
|
value: menubar,
|
|
27571
27459
|
children: children({
|
|
27572
27460
|
role: "menubar",
|
|
@@ -27578,11 +27466,7 @@ function Menubar(_ref2) {
|
|
|
27578
27466
|
"aria-activedescendant": isNil$1(activeItemIndex) ? void 0 : items[activeItemIndex].element.id,
|
|
27579
27467
|
"aria-orientation": vertical ? "vertical" : void 0
|
|
27580
27468
|
}, menubarElementRef)
|
|
27581
|
-
}
|
|
27582
|
-
fileName: _jsxFileName$v,
|
|
27583
|
-
lineNumber: 117,
|
|
27584
|
-
columnNumber: 23
|
|
27585
|
-
}, this);
|
|
27469
|
+
});
|
|
27586
27470
|
}
|
|
27587
27471
|
var castSlice = _castSlice, hasUnicode = _hasUnicode, stringToArray = _stringToArray, toString$1 = toString_1;
|
|
27588
27472
|
function createCaseFirst$1(methodName) {
|
|
@@ -27603,7 +27487,6 @@ function capitalize(string2) {
|
|
|
27603
27487
|
return upperFirst(toString(string2).toLowerCase());
|
|
27604
27488
|
}
|
|
27605
27489
|
var capitalize_1 = capitalize;
|
|
27606
|
-
var _jsxFileName$u = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Animation/Collapse.js";
|
|
27607
27490
|
var DIMENSION;
|
|
27608
27491
|
(function(DIMENSION2) {
|
|
27609
27492
|
DIMENSION2["HEIGHT"] = "height";
|
|
@@ -27646,7 +27529,7 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27646
27529
|
triggerBrowserReflow(elem);
|
|
27647
27530
|
addStyle(elem, dimension, 0);
|
|
27648
27531
|
}, [dimension]);
|
|
27649
|
-
return /* @__PURE__ */
|
|
27532
|
+
return /* @__PURE__ */ jsx(Transition$1, __spreadProps(__spreadValues({}, rest), {
|
|
27650
27533
|
ref,
|
|
27651
27534
|
timeout: timeout2,
|
|
27652
27535
|
className: merge3(className, prefix2({
|
|
@@ -27661,11 +27544,7 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27661
27544
|
onEntered: createChainedFunction(handleEntered, onEntered),
|
|
27662
27545
|
onExit: createChainedFunction(handleExit, onExit),
|
|
27663
27546
|
onExiting: createChainedFunction(handleExiting, onExiting)
|
|
27664
|
-
})
|
|
27665
|
-
fileName: _jsxFileName$u,
|
|
27666
|
-
lineNumber: 79,
|
|
27667
|
-
columnNumber: 23
|
|
27668
|
-
}, this);
|
|
27547
|
+
}));
|
|
27669
27548
|
});
|
|
27670
27549
|
Collapse.displayName = "Collapse";
|
|
27671
27550
|
Collapse.propTypes = _extends({}, transitionPropTypes, {
|
|
@@ -27765,7 +27644,6 @@ function DisclosureContent(props) {
|
|
|
27765
27644
|
}, elementRef);
|
|
27766
27645
|
}
|
|
27767
27646
|
DisclosureContent.displayName = "Disclosure.Content";
|
|
27768
|
-
var _jsxFileName$t = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Disclosure/Disclosure.js";
|
|
27769
27647
|
var initialDisclosureState = {
|
|
27770
27648
|
open: false
|
|
27771
27649
|
};
|
|
@@ -27808,20 +27686,15 @@ function Disclosure(props) {
|
|
|
27808
27686
|
onToggle
|
|
27809
27687
|
}];
|
|
27810
27688
|
}, [open, dispatch, onToggle]);
|
|
27811
|
-
return /* @__PURE__ */
|
|
27689
|
+
return /* @__PURE__ */ jsx(DisclosureContext$1.Provider, {
|
|
27812
27690
|
value: context,
|
|
27813
27691
|
children: children({
|
|
27814
27692
|
open
|
|
27815
27693
|
}, containerElementRef)
|
|
27816
|
-
}
|
|
27817
|
-
fileName: _jsxFileName$t,
|
|
27818
|
-
lineNumber: 66,
|
|
27819
|
-
columnNumber: 23
|
|
27820
|
-
}, this);
|
|
27694
|
+
});
|
|
27821
27695
|
}
|
|
27822
27696
|
Disclosure.Button = DisclosureButton;
|
|
27823
27697
|
Disclosure.Content = DisclosureContent;
|
|
27824
|
-
var _jsxFileName$s = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Sidenav/SidenavDropdownMenu.js";
|
|
27825
27698
|
var _templateObject$1, _templateObject2$1;
|
|
27826
27699
|
var SidenavDropdownMenu = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
27827
27700
|
var _props$as = props.as, Component = _props$as === void 0 ? "li" : _props$as, children = props.children, disabled = props.disabled, className = props.className, style = props.style, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "dropdown-item" : _props$classPrefix, tabIndex = props.tabIndex, icon = props.icon, title = props.title, eventKey = props.eventKey, onClick = props.onClick, onSelect = props.onSelect, rest = _objectWithoutPropertiesLoose(props, ["as", "children", "disabled", "className", "style", "classPrefix", "tabIndex", "icon", "title", "eventKey", "onClick", "onSelect"]);
|
|
@@ -27842,7 +27715,7 @@ var SidenavDropdownMenu = /* @__PURE__ */ React.forwardRef(function(props, ref)
|
|
|
27842
27715
|
onClick: createChainedFunction(handleClick, onClick)
|
|
27843
27716
|
};
|
|
27844
27717
|
var Icon2 = rtl ? AngleLeftIcon : AngleRightIcon;
|
|
27845
|
-
return /* @__PURE__ */
|
|
27718
|
+
return /* @__PURE__ */ jsx(Disclosure, {
|
|
27846
27719
|
open: !isNil$1(eventKey) && openKeys.includes(eventKey),
|
|
27847
27720
|
onToggle: function onToggle(_, event) {
|
|
27848
27721
|
return onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(eventKey, event);
|
|
@@ -27853,70 +27726,38 @@ var SidenavDropdownMenu = /* @__PURE__ */ React.forwardRef(function(props, ref)
|
|
|
27853
27726
|
"with-icon": icon,
|
|
27854
27727
|
disabled
|
|
27855
27728
|
}));
|
|
27856
|
-
return /* @__PURE__ */
|
|
27729
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues(__spreadProps(__spreadValues({
|
|
27857
27730
|
ref
|
|
27858
27731
|
}, rest), {
|
|
27859
27732
|
tabIndex: disabled ? -1 : tabIndex,
|
|
27860
27733
|
style,
|
|
27861
27734
|
className: classes
|
|
27862
27735
|
}), menuitemEventHandlers), {
|
|
27863
|
-
children: [/* @__PURE__ */
|
|
27736
|
+
children: [/* @__PURE__ */ jsx(Disclosure.Button, {
|
|
27864
27737
|
children: function(buttonProps) {
|
|
27865
|
-
return /* @__PURE__ */
|
|
27738
|
+
return /* @__PURE__ */ jsxs("button", __spreadProps(__spreadValues({
|
|
27866
27739
|
className: prefix2(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["toggle"]))),
|
|
27867
27740
|
onClick: handleClick
|
|
27868
27741
|
}, omit_1(buttonProps, ["open"])), {
|
|
27869
27742
|
children: [icon && /* @__PURE__ */ React.cloneElement(icon, {
|
|
27870
27743
|
className: prefix2("menu-icon")
|
|
27871
|
-
}), title, /* @__PURE__ */
|
|
27744
|
+
}), title, /* @__PURE__ */ jsx(Icon2, {
|
|
27872
27745
|
className: prefix2(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["toggle-icon"])))
|
|
27873
|
-
},
|
|
27874
|
-
|
|
27875
|
-
|
|
27876
|
-
|
|
27877
|
-
}, this), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Ripple$1, {}, void 0, false, {
|
|
27878
|
-
fileName: _jsxFileName$s,
|
|
27879
|
-
lineNumber: 94,
|
|
27880
|
-
columnNumber: 24
|
|
27881
|
-
}, this)]
|
|
27882
|
-
}), void 0, true, {
|
|
27883
|
-
fileName: _jsxFileName$s,
|
|
27884
|
-
lineNumber: 87,
|
|
27885
|
-
columnNumber: 27
|
|
27886
|
-
}, this);
|
|
27887
|
-
}
|
|
27888
|
-
}, void 0, false, {
|
|
27889
|
-
fileName: _jsxFileName$s,
|
|
27890
|
-
lineNumber: 86,
|
|
27891
|
-
columnNumber: 45
|
|
27892
|
-
}, this), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Disclosure.Content, {
|
|
27746
|
+
}), /* @__PURE__ */ jsx(Ripple$1, {})]
|
|
27747
|
+
}));
|
|
27748
|
+
}
|
|
27749
|
+
}), /* @__PURE__ */ jsx(Disclosure.Content, {
|
|
27893
27750
|
children: function(_ref22) {
|
|
27894
27751
|
var open2 = _ref22.open;
|
|
27895
|
-
return /* @__PURE__ */
|
|
27752
|
+
return /* @__PURE__ */ jsx(SidenavDropdownCollapse$1, {
|
|
27896
27753
|
open: open2,
|
|
27897
27754
|
children
|
|
27898
|
-
}
|
|
27899
|
-
|
|
27900
|
-
|
|
27901
|
-
|
|
27902
|
-
|
|
27903
|
-
|
|
27904
|
-
}, void 0, false, {
|
|
27905
|
-
fileName: _jsxFileName$s,
|
|
27906
|
-
lineNumber: 95,
|
|
27907
|
-
columnNumber: 22
|
|
27908
|
-
}, this)]
|
|
27909
|
-
}), void 0, true, {
|
|
27910
|
-
fileName: _jsxFileName$s,
|
|
27911
|
-
lineNumber: 80,
|
|
27912
|
-
columnNumber: 25
|
|
27913
|
-
}, this);
|
|
27914
|
-
}
|
|
27915
|
-
}, void 0, false, {
|
|
27916
|
-
fileName: _jsxFileName$s,
|
|
27917
|
-
lineNumber: 68,
|
|
27918
|
-
columnNumber: 23
|
|
27919
|
-
}, this);
|
|
27755
|
+
});
|
|
27756
|
+
}
|
|
27757
|
+
})]
|
|
27758
|
+
}));
|
|
27759
|
+
}
|
|
27760
|
+
});
|
|
27920
27761
|
});
|
|
27921
27762
|
SidenavDropdownMenu.displayName = "Sidenav.Dropdown.Menu";
|
|
27922
27763
|
SidenavDropdownMenu.propTypes = {
|
|
@@ -27937,7 +27778,6 @@ SidenavDropdownMenu.propTypes = {
|
|
|
27937
27778
|
onMouseOut: PropTypes.func
|
|
27938
27779
|
};
|
|
27939
27780
|
var SidenavDropdownMenu$1 = SidenavDropdownMenu;
|
|
27940
|
-
var _jsxFileName$r = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Dropdown/DropdownMenu.js";
|
|
27941
27781
|
var _templateObject, _templateObject2;
|
|
27942
27782
|
var DropdownMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
27943
27783
|
var onToggle = props.onToggle, eventKey = props.eventKey, title = props.title, activeKey = props.activeKey, onSelect = props.onSelect, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "dropdown-menu" : _props$classPrefix, children = props.children, rest = _objectWithoutPropertiesLoose(props, ["onToggle", "eventKey", "title", "activeKey", "onSelect", "classPrefix", "children"]);
|
|
@@ -27952,12 +27792,12 @@ var DropdownMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27952
27792
|
var _useClassNames3 = useClassNames("dropdown-item"), mergeItemClassNames = _useClassNames3.merge, withItemClassPrefix = _useClassNames3.withClassPrefix, prefixItemClassName = _useClassNames3.prefix;
|
|
27953
27793
|
if (!dropdown2) {
|
|
27954
27794
|
var classes = merge3(props.className, withClassPrefix());
|
|
27955
|
-
return /* @__PURE__ */
|
|
27795
|
+
return /* @__PURE__ */ jsx(DropdownContext$1.Provider, {
|
|
27956
27796
|
value: {
|
|
27957
27797
|
activeKey,
|
|
27958
27798
|
onSelect
|
|
27959
27799
|
},
|
|
27960
|
-
children: /* @__PURE__ */
|
|
27800
|
+
children: /* @__PURE__ */ jsx(Menubar, {
|
|
27961
27801
|
vertical: true,
|
|
27962
27802
|
onActivateItem: function onActivateItem(event) {
|
|
27963
27803
|
var _dataset = event.target.dataset, eventKey2 = _dataset.eventKey, eventKeyType = _dataset.eventKeyType;
|
|
@@ -27965,42 +27805,26 @@ var DropdownMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
27965
27805
|
onSelect === null || onSelect === void 0 ? void 0 : onSelect(eventKeyToEmit, event);
|
|
27966
27806
|
},
|
|
27967
27807
|
children: function(menubar, menubarRef) {
|
|
27968
|
-
return /* @__PURE__ */
|
|
27808
|
+
return /* @__PURE__ */ jsx("ul", __spreadProps(__spreadValues(__spreadValues({
|
|
27969
27809
|
ref: mergeRefs(menubarRef, ref),
|
|
27970
27810
|
className: classes
|
|
27971
27811
|
}, menubar), rest), {
|
|
27972
27812
|
children
|
|
27973
|
-
})
|
|
27974
|
-
|
|
27975
|
-
|
|
27976
|
-
|
|
27977
|
-
}, this);
|
|
27978
|
-
}
|
|
27979
|
-
}, void 0, false, {
|
|
27980
|
-
fileName: _jsxFileName$r,
|
|
27981
|
-
lineNumber: 83,
|
|
27982
|
-
columnNumber: 21
|
|
27983
|
-
}, this)
|
|
27984
|
-
}, void 0, false, {
|
|
27985
|
-
fileName: _jsxFileName$r,
|
|
27986
|
-
lineNumber: 78,
|
|
27987
|
-
columnNumber: 25
|
|
27988
|
-
}, this);
|
|
27813
|
+
}));
|
|
27814
|
+
}
|
|
27815
|
+
})
|
|
27816
|
+
});
|
|
27989
27817
|
}
|
|
27990
27818
|
if (sidenav !== null && sidenav !== void 0 && sidenav.expanded) {
|
|
27991
|
-
return /* @__PURE__ */
|
|
27992
|
-
fileName: _jsxFileName$r,
|
|
27993
|
-
lineNumber: 102,
|
|
27994
|
-
columnNumber: 25
|
|
27995
|
-
}, this);
|
|
27819
|
+
return /* @__PURE__ */ jsx(SidenavDropdownMenu$1, __spreadValues({}, omit_1(props, "classPrefix")));
|
|
27996
27820
|
}
|
|
27997
27821
|
var _omit = omit_1(rest, ["trigger"]), icon = _omit.icon, className = _omit.className, disabled = _omit.disabled, menuProps = _objectWithoutPropertiesLoose(_omit, ["icon", "className", "disabled"]);
|
|
27998
27822
|
var Icon2 = rtl ? AngleLeftIcon : AngleRightIcon;
|
|
27999
|
-
return /* @__PURE__ */
|
|
27823
|
+
return /* @__PURE__ */ jsx(Menu$2, {
|
|
28000
27824
|
openMenuOn: ["mouseover", "click"],
|
|
28001
27825
|
renderMenuButton: function renderMenuButton(_ref2, buttonRef) {
|
|
28002
27826
|
var open = _ref2.open, menuButtonProps = _objectWithoutPropertiesLoose(_ref2, ["open"]);
|
|
28003
|
-
return /* @__PURE__ */
|
|
27827
|
+
return /* @__PURE__ */ jsx(MenuItem, {
|
|
28004
27828
|
disabled,
|
|
28005
27829
|
children: function(_ref22, menuitemRef) {
|
|
28006
27830
|
var selected = _ref22.selected, active = _ref22.active, menuitem = _objectWithoutPropertiesLoose(_ref22, ["selected", "active"]);
|
|
@@ -28011,7 +27835,7 @@ var DropdownMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28011
27835
|
disabled,
|
|
28012
27836
|
focus: active
|
|
28013
27837
|
}));
|
|
28014
|
-
return /* @__PURE__ */
|
|
27838
|
+
return /* @__PURE__ */ jsxs("div", __spreadProps(__spreadValues(__spreadValues({
|
|
28015
27839
|
ref: mergeRefs(buttonRef, menuitemRef),
|
|
28016
27840
|
className: classes2,
|
|
28017
27841
|
"data-event-key": eventKey,
|
|
@@ -28019,39 +27843,23 @@ var DropdownMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28019
27843
|
}, menuitem), omit_1(menuButtonProps, ["role"])), {
|
|
28020
27844
|
children: [icon && /* @__PURE__ */ React.cloneElement(icon, {
|
|
28021
27845
|
className: prefix2("menu-icon")
|
|
28022
|
-
}), title, /* @__PURE__ */
|
|
27846
|
+
}), title, /* @__PURE__ */ jsx(Icon2, {
|
|
28023
27847
|
className: prefix2(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["toggle-icon"])))
|
|
28024
|
-
}
|
|
28025
|
-
|
|
28026
|
-
|
|
28027
|
-
|
|
28028
|
-
}, this)]
|
|
28029
|
-
}), void 0, true, {
|
|
28030
|
-
fileName: _jsxFileName$r,
|
|
28031
|
-
lineNumber: 135,
|
|
28032
|
-
columnNumber: 29
|
|
28033
|
-
}, this);
|
|
28034
|
-
}
|
|
28035
|
-
}, void 0, false, {
|
|
28036
|
-
fileName: _jsxFileName$r,
|
|
28037
|
-
lineNumber: 120,
|
|
28038
|
-
columnNumber: 27
|
|
28039
|
-
}, this);
|
|
27848
|
+
})]
|
|
27849
|
+
}));
|
|
27850
|
+
}
|
|
27851
|
+
});
|
|
28040
27852
|
},
|
|
28041
27853
|
renderMenuPopup: function renderMenuPopup(_ref3, popupRef) {
|
|
28042
27854
|
var open = _ref3.open, popupProps = _objectWithoutPropertiesLoose(_ref3, ["open"]);
|
|
28043
27855
|
var menuClassName = mergeMenuClassName(className, withMenuClassPrefix());
|
|
28044
|
-
return /* @__PURE__ */
|
|
27856
|
+
return /* @__PURE__ */ jsx("ul", __spreadProps(__spreadValues(__spreadValues({
|
|
28045
27857
|
ref: popupRef,
|
|
28046
27858
|
className: menuClassName,
|
|
28047
27859
|
hidden: !open
|
|
28048
27860
|
}, popupProps), menuProps), {
|
|
28049
27861
|
children
|
|
28050
|
-
})
|
|
28051
|
-
fileName: _jsxFileName$r,
|
|
28052
|
-
lineNumber: 152,
|
|
28053
|
-
columnNumber: 27
|
|
28054
|
-
}, this);
|
|
27862
|
+
}));
|
|
28055
27863
|
},
|
|
28056
27864
|
onToggleMenu: handleToggleSubmenu,
|
|
28057
27865
|
children: function(_ref4, menuContainerRef) {
|
|
@@ -28061,20 +27869,12 @@ var DropdownMenu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28061
27869
|
open,
|
|
28062
27870
|
submenu: true
|
|
28063
27871
|
}));
|
|
28064
|
-
return /* @__PURE__ */
|
|
27872
|
+
return /* @__PURE__ */ jsx("li", __spreadValues({
|
|
28065
27873
|
ref: mergeRefs(ref, menuContainerRef),
|
|
28066
27874
|
className: classes2
|
|
28067
|
-
}, menuContainer)
|
|
28068
|
-
|
|
28069
|
-
|
|
28070
|
-
columnNumber: 25
|
|
28071
|
-
}, this);
|
|
28072
|
-
}
|
|
28073
|
-
}, void 0, false, {
|
|
28074
|
-
fileName: _jsxFileName$r,
|
|
28075
|
-
lineNumber: 114,
|
|
28076
|
-
columnNumber: 23
|
|
28077
|
-
}, this);
|
|
27875
|
+
}, menuContainer));
|
|
27876
|
+
}
|
|
27877
|
+
});
|
|
28078
27878
|
});
|
|
28079
27879
|
DropdownMenu$1.displayName = "Dropdown.Menu";
|
|
28080
27880
|
DropdownMenu$1.propTypes = {
|
|
@@ -28131,45 +27931,23 @@ var NavContext = /* @__PURE__ */ React.createContext({
|
|
|
28131
27931
|
onSelect: noop_1
|
|
28132
27932
|
});
|
|
28133
27933
|
var NavContext$1 = NavContext;
|
|
28134
|
-
var _jsxFileName$q = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Dropdown/useRenderDropdownItem.js";
|
|
28135
27934
|
function useRenderDropdownItem(Component) {
|
|
28136
27935
|
return react.exports.useCallback(function(props, OverrideComponent) {
|
|
28137
27936
|
if (Component === "li") {
|
|
28138
27937
|
if (OverrideComponent) {
|
|
28139
|
-
return /* @__PURE__ */
|
|
27938
|
+
return /* @__PURE__ */ jsx("li", {
|
|
28140
27939
|
role: "none presentation",
|
|
28141
|
-
children: /* @__PURE__ */
|
|
28142
|
-
|
|
28143
|
-
|
|
28144
|
-
|
|
28145
|
-
|
|
28146
|
-
|
|
28147
|
-
fileName: _jsxFileName$q,
|
|
28148
|
-
lineNumber: 6,
|
|
28149
|
-
columnNumber: 29
|
|
28150
|
-
}, this);
|
|
28151
|
-
}
|
|
28152
|
-
return /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Component, __spreadValues({}, props), void 0, false, {
|
|
28153
|
-
fileName: _jsxFileName$q,
|
|
28154
|
-
lineNumber: 11,
|
|
28155
|
-
columnNumber: 27
|
|
28156
|
-
}, this);
|
|
28157
|
-
}
|
|
28158
|
-
return /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("li", {
|
|
27940
|
+
children: /* @__PURE__ */ jsx(OverrideComponent, __spreadValues({}, props))
|
|
27941
|
+
});
|
|
27942
|
+
}
|
|
27943
|
+
return /* @__PURE__ */ jsx(Component, __spreadValues({}, props));
|
|
27944
|
+
}
|
|
27945
|
+
return /* @__PURE__ */ jsx("li", {
|
|
28159
27946
|
role: "none presentation",
|
|
28160
|
-
children: /* @__PURE__ */
|
|
28161
|
-
|
|
28162
|
-
lineNumber: 16,
|
|
28163
|
-
columnNumber: 21
|
|
28164
|
-
}, this)
|
|
28165
|
-
}, void 0, false, {
|
|
28166
|
-
fileName: _jsxFileName$q,
|
|
28167
|
-
lineNumber: 14,
|
|
28168
|
-
columnNumber: 25
|
|
28169
|
-
}, this);
|
|
27947
|
+
children: /* @__PURE__ */ jsx(Component, __spreadValues({}, props))
|
|
27948
|
+
});
|
|
28170
27949
|
}, [Component]);
|
|
28171
27950
|
}
|
|
28172
|
-
var _jsxFileName$p = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Sidenav/SidenavDropdownItem.js";
|
|
28173
27951
|
var SidenavDropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
28174
27952
|
var _props$as = props.as, Component = _props$as === void 0 ? "li" : _props$as, activeProp = props.active, children = props.children, disabled = props.disabled, divider = props.divider, panel = props.panel, className = props.className, style = props.style, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "dropdown-item" : _props$classPrefix, icon = props.icon, eventKey = props.eventKey, onClick = props.onClick, onSelect = props.onSelect, rest = _objectWithoutPropertiesLoose(props, ["as", "active", "children", "disabled", "divider", "panel", "className", "style", "classPrefix", "icon", "eventKey", "onClick", "onSelect"]);
|
|
28175
27953
|
var sidenavContext = react.exports.useContext(SidenavContext);
|
|
@@ -28223,15 +28001,11 @@ var SidenavDropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref)
|
|
|
28223
28001
|
className: classes,
|
|
28224
28002
|
"aria-current": selected || void 0
|
|
28225
28003
|
}, menuitemEventHandlers, {
|
|
28226
|
-
children: /* @__PURE__ */
|
|
28004
|
+
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
28227
28005
|
children: [icon && /* @__PURE__ */ React.cloneElement(icon, {
|
|
28228
28006
|
className: prefix2("menu-icon")
|
|
28229
|
-
}), children, /* @__PURE__ */
|
|
28230
|
-
|
|
28231
|
-
lineNumber: 100,
|
|
28232
|
-
columnNumber: 32
|
|
28233
|
-
}, this)]
|
|
28234
|
-
}, void 0, true)
|
|
28007
|
+
}), children, /* @__PURE__ */ jsx(Ripple$1, {})]
|
|
28008
|
+
})
|
|
28235
28009
|
}), SafeAnchor$1);
|
|
28236
28010
|
});
|
|
28237
28011
|
SidenavDropdownItem.displayName = "Sidenav.Dropdown.Item";
|
|
@@ -28312,7 +28086,6 @@ function reducer(state, action) {
|
|
|
28312
28086
|
return state;
|
|
28313
28087
|
}
|
|
28314
28088
|
}
|
|
28315
|
-
var _jsxFileName$o = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Dropdown/DropdownItem.js";
|
|
28316
28089
|
var DropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
28317
28090
|
var _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "dropdown-item" : _props$classPrefix, className = props.className, activeProp = props.active, eventKey = props.eventKey, onSelect = props.onSelect, icon = props.icon, _props$as = props.as, Component = _props$as === void 0 ? "li" : _props$as, divider = props.divider, panel = props.panel, children = props.children, disabled = props.disabled, restProps = _objectWithoutPropertiesLoose(props, ["classPrefix", "className", "active", "eventKey", "onSelect", "icon", "as", "divider", "panel", "children", "disabled"]);
|
|
28318
28091
|
var internalId = useInternalId("DropdownItem");
|
|
@@ -28359,13 +28132,9 @@ var DropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28359
28132
|
}, [internalId, selected, dispatch]);
|
|
28360
28133
|
var renderDropdownItem = useRenderDropdownItem(Component);
|
|
28361
28134
|
if (sidenav !== null && sidenav !== void 0 && sidenav.expanded) {
|
|
28362
|
-
return /* @__PURE__ */
|
|
28135
|
+
return /* @__PURE__ */ jsx(SidenavDropdownItem$1, __spreadValues({
|
|
28363
28136
|
ref
|
|
28364
|
-
}, props)
|
|
28365
|
-
fileName: _jsxFileName$o,
|
|
28366
|
-
lineNumber: 95,
|
|
28367
|
-
columnNumber: 25
|
|
28368
|
-
}, this);
|
|
28137
|
+
}, props));
|
|
28369
28138
|
}
|
|
28370
28139
|
if (divider) {
|
|
28371
28140
|
return renderDropdownItem(_extends({
|
|
@@ -28395,8 +28164,8 @@ var DropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28395
28164
|
if (!isNil$1(eventKey) && typeof eventKey !== "string") {
|
|
28396
28165
|
dataAttributes["data-event-key-type"] = typeof eventKey;
|
|
28397
28166
|
}
|
|
28398
|
-
return /* @__PURE__ */
|
|
28399
|
-
children: /* @__PURE__ */
|
|
28167
|
+
return /* @__PURE__ */ jsx("li", {
|
|
28168
|
+
children: /* @__PURE__ */ jsxs(SafeAnchor$1, __spreadProps(__spreadValues(__spreadValues({
|
|
28400
28169
|
ref,
|
|
28401
28170
|
className: classes,
|
|
28402
28171
|
"aria-current": selected || void 0
|
|
@@ -28406,18 +28175,10 @@ var DropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28406
28175
|
children: [icon && /* @__PURE__ */ React.cloneElement(icon, {
|
|
28407
28176
|
className: prefix2("menu-icon")
|
|
28408
28177
|
}), children]
|
|
28409
|
-
})
|
|
28410
|
-
|
|
28411
|
-
|
|
28412
|
-
|
|
28413
|
-
}, this)
|
|
28414
|
-
}, void 0, false, {
|
|
28415
|
-
fileName: _jsxFileName$o,
|
|
28416
|
-
lineNumber: 132,
|
|
28417
|
-
columnNumber: 25
|
|
28418
|
-
}, this);
|
|
28419
|
-
}
|
|
28420
|
-
return /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(MenuItem, {
|
|
28178
|
+
}))
|
|
28179
|
+
});
|
|
28180
|
+
}
|
|
28181
|
+
return /* @__PURE__ */ jsx(MenuItem, {
|
|
28421
28182
|
selected,
|
|
28422
28183
|
disabled,
|
|
28423
28184
|
onActivate: handleSelectItem,
|
|
@@ -28441,18 +28202,14 @@ var DropdownItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28441
28202
|
ref: mergeRefs(ref, menuitemRef),
|
|
28442
28203
|
className: classes2
|
|
28443
28204
|
}, menuitem, dataAttributes2, restProps, {
|
|
28444
|
-
children: /* @__PURE__ */
|
|
28205
|
+
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
28445
28206
|
children: [icon && /* @__PURE__ */ React.cloneElement(icon, {
|
|
28446
28207
|
className: prefix2("menu-icon")
|
|
28447
28208
|
}), children]
|
|
28448
|
-
}
|
|
28209
|
+
})
|
|
28449
28210
|
}));
|
|
28450
28211
|
}
|
|
28451
|
-
}
|
|
28452
|
-
fileName: _jsxFileName$o,
|
|
28453
|
-
lineNumber: 144,
|
|
28454
|
-
columnNumber: 23
|
|
28455
|
-
}, this);
|
|
28212
|
+
});
|
|
28456
28213
|
});
|
|
28457
28214
|
DropdownItem.displayName = "Dropdown.Item";
|
|
28458
28215
|
DropdownItem.propTypes = {
|
|
@@ -28476,7 +28233,6 @@ DropdownItem.propTypes = {
|
|
|
28476
28233
|
tabIndex: PropTypes.number
|
|
28477
28234
|
};
|
|
28478
28235
|
var DropdownItem$1 = DropdownItem;
|
|
28479
|
-
var _jsxFileName$n = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Dropdown/DropdownToggle.js";
|
|
28480
28236
|
var DropdownToggle = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
28481
28237
|
var _props$as = props.as, Component = _props$as === void 0 ? Button$2 : _props$as, className = props.className, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "dropdown-toggle" : _props$classPrefix, renderToggle = props.renderToggle, children = props.children, icon = props.icon, noCaret = props.noCaret, _props$placement = props.placement, placement = _props$placement === void 0 ? "bottomStart" : _props$placement, rest = _objectWithoutPropertiesLoose(props, ["as", "className", "classPrefix", "renderToggle", "children", "icon", "noCaret", "placement"]);
|
|
28482
28238
|
var sidenav = react.exports.useContext(SidenavContext);
|
|
@@ -28487,25 +28243,17 @@ var DropdownToggle = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28487
28243
|
}));
|
|
28488
28244
|
var inSidenav = !!sidenav;
|
|
28489
28245
|
var Caret = useToggleCaret(inSidenav ? "bottomStart" : placement);
|
|
28490
|
-
var toggle = /* @__PURE__ */
|
|
28246
|
+
var toggle = /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({
|
|
28491
28247
|
appearance: withinNav ? "subtle" : void 0
|
|
28492
28248
|
}, rest), {
|
|
28493
28249
|
ref,
|
|
28494
28250
|
className: classes,
|
|
28495
28251
|
children: [icon && /* @__PURE__ */ React.cloneElement(icon, {
|
|
28496
28252
|
className: prefix2("icon")
|
|
28497
|
-
}), children, noCaret ? null : /* @__PURE__ */
|
|
28253
|
+
}), children, noCaret ? null : /* @__PURE__ */ jsx(Caret, {
|
|
28498
28254
|
className: prefix2("caret")
|
|
28499
|
-
}
|
|
28500
|
-
|
|
28501
|
-
lineNumber: 47,
|
|
28502
|
-
columnNumber: 47
|
|
28503
|
-
}, this)]
|
|
28504
|
-
}), void 0, true, {
|
|
28505
|
-
fileName: _jsxFileName$n,
|
|
28506
|
-
lineNumber: 40,
|
|
28507
|
-
columnNumber: 29
|
|
28508
|
-
}, this);
|
|
28255
|
+
})]
|
|
28256
|
+
}));
|
|
28509
28257
|
return renderToggle ? renderToggle(rest, ref) : toggle;
|
|
28510
28258
|
});
|
|
28511
28259
|
DropdownToggle.displayName = "DropdownToggle";
|
|
@@ -28520,7 +28268,6 @@ DropdownToggle.propTypes = {
|
|
|
28520
28268
|
placement: PropTypes.oneOf(["bottomStart", "bottomEnd", "topStart", "topEnd", "leftStart", "rightStart", "leftEnd", "rightEnd"])
|
|
28521
28269
|
};
|
|
28522
28270
|
var DropdownToggle$1 = DropdownToggle;
|
|
28523
|
-
var _jsxFileName$m = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Sidenav/SidenavDropdown.js";
|
|
28524
28271
|
var SidenavDropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
28525
28272
|
var _props$as = props.as, Component = _props$as === void 0 ? "div" : _props$as, title = props.title, children = props.children, className = props.className, menuStyle = props.menuStyle, disabled = props.disabled;
|
|
28526
28273
|
props.renderTitle;
|
|
@@ -28545,22 +28292,22 @@ var SidenavDropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28545
28292
|
onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(uniqueKey, event);
|
|
28546
28293
|
}, [onClose, onOpen, onToggle, uniqueKey, onOpenChange]);
|
|
28547
28294
|
var open = openProp !== null && openProp !== void 0 ? openProp : openKeys.includes(uniqueKey);
|
|
28548
|
-
return /* @__PURE__ */
|
|
28295
|
+
return /* @__PURE__ */ jsx(Disclosure, {
|
|
28549
28296
|
open,
|
|
28550
28297
|
onToggle: handleToggleDisclosure,
|
|
28551
28298
|
children: function(_ref2, containerRef) {
|
|
28552
28299
|
var _withClassPrefix;
|
|
28553
28300
|
var open2 = _ref2.open;
|
|
28554
28301
|
var classes = merge3(className, withClassPrefix((_withClassPrefix = {}, _withClassPrefix["placement-" + kebabCase_1(placementPolyfill(placement))] = placement, _withClassPrefix[open2 ? "expand" : "collapse"] = true, _withClassPrefix.disabled = disabled, _withClassPrefix["selected-within"] = hasSelectedItem, _withClassPrefix["no-caret"] = noCaret, _withClassPrefix)));
|
|
28555
|
-
return /* @__PURE__ */
|
|
28302
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({
|
|
28556
28303
|
ref: mergeRefs(ref, containerRef),
|
|
28557
28304
|
style,
|
|
28558
28305
|
className: classes
|
|
28559
28306
|
}, rest), {
|
|
28560
28307
|
"data-event-key": eventKey,
|
|
28561
|
-
children: [/* @__PURE__ */
|
|
28308
|
+
children: [/* @__PURE__ */ jsx(Disclosure.Button, {
|
|
28562
28309
|
children: function(buttonProps, buttonRef) {
|
|
28563
|
-
return /* @__PURE__ */
|
|
28310
|
+
return /* @__PURE__ */ jsx(DropdownToggle$1, __spreadProps(__spreadValues({
|
|
28564
28311
|
ref: buttonRef,
|
|
28565
28312
|
as: toggleAs,
|
|
28566
28313
|
noCaret,
|
|
@@ -28570,45 +28317,21 @@ var SidenavDropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28570
28317
|
placement
|
|
28571
28318
|
}, omit_1(buttonProps, ["open"])), {
|
|
28572
28319
|
children: title
|
|
28573
|
-
})
|
|
28574
|
-
|
|
28575
|
-
|
|
28576
|
-
columnNumber: 27
|
|
28577
|
-
}, this);
|
|
28578
|
-
}
|
|
28579
|
-
}, void 0, false, {
|
|
28580
|
-
fileName: _jsxFileName$m,
|
|
28581
|
-
lineNumber: 84,
|
|
28582
|
-
columnNumber: 22
|
|
28583
|
-
}, this), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Disclosure.Content, {
|
|
28320
|
+
}));
|
|
28321
|
+
}
|
|
28322
|
+
}), /* @__PURE__ */ jsx(Disclosure.Content, {
|
|
28584
28323
|
children: function(_ref22) {
|
|
28585
28324
|
var open3 = _ref22.open;
|
|
28586
|
-
return /* @__PURE__ */
|
|
28325
|
+
return /* @__PURE__ */ jsx(SidenavDropdownCollapse$1, {
|
|
28587
28326
|
open: open3,
|
|
28588
28327
|
style: menuStyle,
|
|
28589
28328
|
children
|
|
28590
|
-
}
|
|
28591
|
-
|
|
28592
|
-
|
|
28593
|
-
|
|
28594
|
-
|
|
28595
|
-
|
|
28596
|
-
}, void 0, false, {
|
|
28597
|
-
fileName: _jsxFileName$m,
|
|
28598
|
-
lineNumber: 94,
|
|
28599
|
-
columnNumber: 22
|
|
28600
|
-
}, this)]
|
|
28601
|
-
}), void 0, true, {
|
|
28602
|
-
fileName: _jsxFileName$m,
|
|
28603
|
-
lineNumber: 78,
|
|
28604
|
-
columnNumber: 25
|
|
28605
|
-
}, this);
|
|
28606
|
-
}
|
|
28607
|
-
}, void 0, false, {
|
|
28608
|
-
fileName: _jsxFileName$m,
|
|
28609
|
-
lineNumber: 70,
|
|
28610
|
-
columnNumber: 23
|
|
28611
|
-
}, this);
|
|
28329
|
+
});
|
|
28330
|
+
}
|
|
28331
|
+
})]
|
|
28332
|
+
}));
|
|
28333
|
+
}
|
|
28334
|
+
});
|
|
28612
28335
|
});
|
|
28613
28336
|
SidenavDropdown.displayName = "Sidenav.Dropdown";
|
|
28614
28337
|
SidenavDropdown.propTypes = {
|
|
@@ -28640,7 +28363,6 @@ SidenavDropdown.propTypes = {
|
|
|
28640
28363
|
renderToggle: PropTypes.func
|
|
28641
28364
|
};
|
|
28642
28365
|
var SidenavDropdown$1 = SidenavDropdown;
|
|
28643
|
-
var _jsxFileName$l = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Dropdown/Dropdown.js";
|
|
28644
28366
|
var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
28645
28367
|
var activeKey = props.activeKey, onSelectProp = props.onSelect, rest = _objectWithoutPropertiesLoose(props, ["activeKey", "onSelect"]);
|
|
28646
28368
|
var _rest$as = rest.as, Component = _rest$as === void 0 ? "div" : _rest$as, title = rest.title, onClose = rest.onClose, onOpen = rest.onOpen, onToggle = rest.onToggle, eventKey = rest.eventKey, _rest$trigger = rest.trigger, trigger2 = _rest$trigger === void 0 ? "click" : _rest$trigger, _rest$placement = rest.placement, placement = _rest$placement === void 0 ? "bottomStart" : _rest$placement, toggleAs = rest.toggleAs, toggleClassName = rest.toggleClassName, _rest$classPrefix = rest.classPrefix, classPrefix = _rest$classPrefix === void 0 ? "dropdown" : _rest$classPrefix, className = rest.className, disabled = rest.disabled, children = rest.children, menuStyle = rest.menuStyle, style = rest.style, toggleProps = _objectWithoutPropertiesLoose(rest, ["as", "title", "onClose", "onOpen", "onToggle", "eventKey", "trigger", "placement", "toggleAs", "toggleClassName", "classPrefix", "className", "disabled", "children", "menuStyle", "style"]);
|
|
@@ -28686,37 +28408,29 @@ var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28686
28408
|
};
|
|
28687
28409
|
}, [activeKey, emitSelect, hasSelectedItem, dispatch]);
|
|
28688
28410
|
if (sidenav !== null && sidenav !== void 0 && sidenav.expanded) {
|
|
28689
|
-
return /* @__PURE__ */
|
|
28411
|
+
return /* @__PURE__ */ jsx(DropdownContext$1.Provider, {
|
|
28690
28412
|
value: dropdownContextValue,
|
|
28691
|
-
children: /* @__PURE__ */
|
|
28413
|
+
children: /* @__PURE__ */ jsx(SidenavDropdown$1, __spreadValues({
|
|
28692
28414
|
ref
|
|
28693
|
-
}, rest)
|
|
28694
|
-
|
|
28695
|
-
lineNumber: 122,
|
|
28696
|
-
columnNumber: 21
|
|
28697
|
-
}, this)
|
|
28698
|
-
}, void 0, false, {
|
|
28699
|
-
fileName: _jsxFileName$l,
|
|
28700
|
-
lineNumber: 120,
|
|
28701
|
-
columnNumber: 25
|
|
28702
|
-
}, this);
|
|
28415
|
+
}, rest))
|
|
28416
|
+
});
|
|
28703
28417
|
}
|
|
28704
28418
|
if (navbar) {
|
|
28705
|
-
return /* @__PURE__ */
|
|
28419
|
+
return /* @__PURE__ */ jsx(DropdownContext$1.Provider, {
|
|
28706
28420
|
value: dropdownContextValue,
|
|
28707
|
-
children: /* @__PURE__ */
|
|
28421
|
+
children: /* @__PURE__ */ jsx(Disclosure, {
|
|
28708
28422
|
hideOnClickOutside: true,
|
|
28709
28423
|
children: function(_ref2, containerRef) {
|
|
28710
28424
|
var _withClassPrefix;
|
|
28711
28425
|
var open = _ref2.open;
|
|
28712
28426
|
var classes = merge3(className, withClassPrefix((_withClassPrefix = {}, _withClassPrefix["placement-" + kebabCase_1(placementPolyfill(placement))] = !!placement, _withClassPrefix.disabled = disabled, _withClassPrefix.open = open, _withClassPrefix)));
|
|
28713
|
-
return /* @__PURE__ */
|
|
28427
|
+
return /* @__PURE__ */ jsxs(Component, {
|
|
28714
28428
|
ref: mergeRefs(ref, containerRef),
|
|
28715
28429
|
className: classes,
|
|
28716
28430
|
style,
|
|
28717
|
-
children: [/* @__PURE__ */
|
|
28431
|
+
children: [/* @__PURE__ */ jsx(Disclosure.Button, {
|
|
28718
28432
|
children: function(buttonProps, buttonRef) {
|
|
28719
|
-
return /* @__PURE__ */
|
|
28433
|
+
return /* @__PURE__ */ jsx(DropdownToggle$1, __spreadProps(__spreadValues(__spreadValues({
|
|
28720
28434
|
ref: buttonRef,
|
|
28721
28435
|
as: toggleAs,
|
|
28722
28436
|
className: toggleClassName,
|
|
@@ -28724,56 +28438,28 @@ var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28724
28438
|
disabled
|
|
28725
28439
|
}, omit_1(buttonProps, ["open"])), toggleProps), {
|
|
28726
28440
|
children: title
|
|
28727
|
-
})
|
|
28728
|
-
fileName: _jsxFileName$l,
|
|
28729
|
-
lineNumber: 143,
|
|
28730
|
-
columnNumber: 29
|
|
28731
|
-
}, this);
|
|
28441
|
+
}));
|
|
28732
28442
|
}
|
|
28733
|
-
},
|
|
28734
|
-
fileName: _jsxFileName$l,
|
|
28735
|
-
lineNumber: 142,
|
|
28736
|
-
columnNumber: 23
|
|
28737
|
-
}, this), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Disclosure.Content, {
|
|
28443
|
+
}), /* @__PURE__ */ jsx(Disclosure.Content, {
|
|
28738
28444
|
children: function(_ref22, elementRef) {
|
|
28739
28445
|
var open2 = _ref22.open;
|
|
28740
28446
|
var menuClassName = mergeMenuClassName(className, withMenuClassPrefix());
|
|
28741
|
-
return /* @__PURE__ */
|
|
28447
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
28742
28448
|
ref: elementRef,
|
|
28743
28449
|
className: menuClassName,
|
|
28744
28450
|
style: menuStyle,
|
|
28745
28451
|
hidden: !open2,
|
|
28746
28452
|
children
|
|
28747
|
-
}
|
|
28748
|
-
fileName: _jsxFileName$l,
|
|
28749
|
-
lineNumber: 153,
|
|
28750
|
-
columnNumber: 29
|
|
28751
|
-
}, this);
|
|
28453
|
+
});
|
|
28752
28454
|
}
|
|
28753
|
-
}
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
}, void 0, true, {
|
|
28759
|
-
fileName: _jsxFileName$l,
|
|
28760
|
-
lineNumber: 138,
|
|
28761
|
-
columnNumber: 27
|
|
28762
|
-
}, this);
|
|
28763
|
-
}
|
|
28764
|
-
}, void 0, false, {
|
|
28765
|
-
fileName: _jsxFileName$l,
|
|
28766
|
-
lineNumber: 131,
|
|
28767
|
-
columnNumber: 21
|
|
28768
|
-
}, this)
|
|
28769
|
-
}, void 0, false, {
|
|
28770
|
-
fileName: _jsxFileName$l,
|
|
28771
|
-
lineNumber: 129,
|
|
28772
|
-
columnNumber: 25
|
|
28773
|
-
}, this);
|
|
28455
|
+
})]
|
|
28456
|
+
});
|
|
28457
|
+
}
|
|
28458
|
+
})
|
|
28459
|
+
});
|
|
28774
28460
|
}
|
|
28775
28461
|
var renderMenuButton = function renderMenuButton2(menuButtonProps, menuButtonRef) {
|
|
28776
|
-
return /* @__PURE__ */
|
|
28462
|
+
return /* @__PURE__ */ jsx(DropdownToggle$1, __spreadProps(__spreadValues(__spreadValues({
|
|
28777
28463
|
ref: menuButtonRef,
|
|
28778
28464
|
as: toggleAs,
|
|
28779
28465
|
className: toggleClassName,
|
|
@@ -28781,19 +28467,15 @@ var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28781
28467
|
disabled
|
|
28782
28468
|
}, omit_1(menuButtonProps, ["open"])), omit_1(toggleProps, ["data-testid"])), {
|
|
28783
28469
|
children: title
|
|
28784
|
-
})
|
|
28785
|
-
fileName: _jsxFileName$l,
|
|
28786
|
-
lineNumber: 164,
|
|
28787
|
-
columnNumber: 25
|
|
28788
|
-
}, this);
|
|
28470
|
+
}));
|
|
28789
28471
|
};
|
|
28790
28472
|
if (parentMenu) {
|
|
28791
28473
|
renderMenuButton = function renderMenuButton2(menuButtonProps, buttonRef) {
|
|
28792
|
-
return /* @__PURE__ */
|
|
28474
|
+
return /* @__PURE__ */ jsx(MenuItem, {
|
|
28793
28475
|
disabled,
|
|
28794
28476
|
children: function(_ref3, menuitemRef) {
|
|
28795
28477
|
var active = _ref3.active, menuitemProps = _objectWithoutPropertiesLoose(_ref3, ["active"]);
|
|
28796
|
-
return /* @__PURE__ */
|
|
28478
|
+
return /* @__PURE__ */ jsx(DropdownToggle$1, __spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
28797
28479
|
ref: mergeRefs(buttonRef, menuitemRef),
|
|
28798
28480
|
as: toggleAs,
|
|
28799
28481
|
className: mergeNavItemClassNames(toggleClassName, withNavItemClassPrefix({
|
|
@@ -28801,22 +28483,14 @@ var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28801
28483
|
}))
|
|
28802
28484
|
}, menuButtonProps), omit_1(menuitemProps, ["onClick"])), omit_1(toggleProps, "data-testid")), {
|
|
28803
28485
|
children: title
|
|
28804
|
-
})
|
|
28805
|
-
|
|
28806
|
-
|
|
28807
|
-
columnNumber: 29
|
|
28808
|
-
}, this);
|
|
28809
|
-
}
|
|
28810
|
-
}, void 0, false, {
|
|
28811
|
-
fileName: _jsxFileName$l,
|
|
28812
|
-
lineNumber: 175,
|
|
28813
|
-
columnNumber: 27
|
|
28814
|
-
}, this);
|
|
28486
|
+
}));
|
|
28487
|
+
}
|
|
28488
|
+
});
|
|
28815
28489
|
};
|
|
28816
28490
|
}
|
|
28817
|
-
return /* @__PURE__ */
|
|
28491
|
+
return /* @__PURE__ */ jsx(DropdownContext$1.Provider, {
|
|
28818
28492
|
value: dropdownContextValue,
|
|
28819
|
-
children: /* @__PURE__ */
|
|
28493
|
+
children: /* @__PURE__ */ jsx(Menu$2, {
|
|
28820
28494
|
menuButtonText: title,
|
|
28821
28495
|
renderMenuButton,
|
|
28822
28496
|
openMenuOn: menuButtonTriggers,
|
|
@@ -28824,25 +28498,17 @@ var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28824
28498
|
var open = _ref4.open, popupProps = _objectWithoutPropertiesLoose(_ref4, ["open"]);
|
|
28825
28499
|
var menuClassName = mergeMenuClassName(className, withMenuClassPrefix({}));
|
|
28826
28500
|
var showHeader = !!sidenav;
|
|
28827
|
-
return /* @__PURE__ */
|
|
28501
|
+
return /* @__PURE__ */ jsxs("ul", __spreadProps(__spreadValues({
|
|
28828
28502
|
ref: popupRef,
|
|
28829
28503
|
className: menuClassName,
|
|
28830
28504
|
style: menuStyle,
|
|
28831
28505
|
hidden: !open
|
|
28832
28506
|
}, popupProps), {
|
|
28833
|
-
children: [showHeader && /* @__PURE__ */
|
|
28507
|
+
children: [showHeader && /* @__PURE__ */ jsx("div", {
|
|
28834
28508
|
className: prefix2("header"),
|
|
28835
28509
|
children: title
|
|
28836
|
-
},
|
|
28837
|
-
|
|
28838
|
-
lineNumber: 210,
|
|
28839
|
-
columnNumber: 50
|
|
28840
|
-
}, this), children]
|
|
28841
|
-
}), void 0, true, {
|
|
28842
|
-
fileName: _jsxFileName$l,
|
|
28843
|
-
lineNumber: 205,
|
|
28844
|
-
columnNumber: 27
|
|
28845
|
-
}, this);
|
|
28510
|
+
}), children]
|
|
28511
|
+
}));
|
|
28846
28512
|
},
|
|
28847
28513
|
onToggleMenu: function onToggleMenu(open, event) {
|
|
28848
28514
|
onToggle === null || onToggle === void 0 ? void 0 : onToggle(open);
|
|
@@ -28857,27 +28523,15 @@ var Dropdown = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28857
28523
|
var _withClassPrefix2;
|
|
28858
28524
|
var open = _ref5.open, menuContainer = _objectWithoutPropertiesLoose(_ref5, ["open"]);
|
|
28859
28525
|
var classes = merge3(className, withClassPrefix((_withClassPrefix2 = {}, _withClassPrefix2["placement-" + kebabCase_1(placementPolyfill(placement))] = !!placement, _withClassPrefix2.disabled = disabled, _withClassPrefix2.open = open, _withClassPrefix2.submenu = !!parentMenu, _withClassPrefix2["selected-within"] = hasSelectedItem, _withClassPrefix2)));
|
|
28860
|
-
return /* @__PURE__ */
|
|
28526
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues(__spreadValues({
|
|
28861
28527
|
ref: mergeRefs(ref, menuContainerRef),
|
|
28862
28528
|
className: classes
|
|
28863
28529
|
}, menuContainer), pick_1(toggleProps, ["data-testid"])), {
|
|
28864
28530
|
style
|
|
28865
|
-
})
|
|
28866
|
-
|
|
28867
|
-
|
|
28868
|
-
|
|
28869
|
-
}, this);
|
|
28870
|
-
}
|
|
28871
|
-
}, void 0, false, {
|
|
28872
|
-
fileName: _jsxFileName$l,
|
|
28873
|
-
lineNumber: 194,
|
|
28874
|
-
columnNumber: 19
|
|
28875
|
-
}, this)
|
|
28876
|
-
}, void 0, false, {
|
|
28877
|
-
fileName: _jsxFileName$l,
|
|
28878
|
-
lineNumber: 192,
|
|
28879
|
-
columnNumber: 23
|
|
28880
|
-
}, this);
|
|
28531
|
+
}));
|
|
28532
|
+
}
|
|
28533
|
+
})
|
|
28534
|
+
});
|
|
28881
28535
|
});
|
|
28882
28536
|
Dropdown.Item = DropdownItem$1;
|
|
28883
28537
|
Dropdown.Menu = DropdownMenu$2;
|
|
@@ -28911,7 +28565,6 @@ Dropdown.propTypes = {
|
|
|
28911
28565
|
renderToggle: PropTypes.func
|
|
28912
28566
|
};
|
|
28913
28567
|
var Dropdown$1 = Dropdown;
|
|
28914
|
-
var _jsxFileName$k = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Sidenav/SidenavItem.js";
|
|
28915
28568
|
var SidenavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
28916
28569
|
var _props$as = props.as, Component = _props$as === void 0 ? SafeAnchor$1 : _props$as, activeProp = props.active, _children = props.children, className = props.className, disabled = props.disabled, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "sidenav-item" : _props$classPrefix, icon = props.icon, eventKey = props.eventKey, style = props.style, onClick = props.onClick, onSelect = props.onSelect, divider = props.divider, panel = props.panel, rest = _objectWithoutPropertiesLoose(props, ["as", "active", "children", "className", "disabled", "classPrefix", "icon", "eventKey", "style", "onClick", "onSelect", "divider", "panel"]);
|
|
28917
28570
|
var sidenav = react.exports.useContext(SidenavContext);
|
|
@@ -28929,7 +28582,7 @@ var SidenavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28929
28582
|
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
28930
28583
|
}, [disabled, onSelect, onSelectFromNav, eventKey, onClick]);
|
|
28931
28584
|
if (!sidenav.expanded) {
|
|
28932
|
-
return /* @__PURE__ */
|
|
28585
|
+
return /* @__PURE__ */ jsx(MenuItem, {
|
|
28933
28586
|
selected,
|
|
28934
28587
|
disabled,
|
|
28935
28588
|
onActivate: handleClick,
|
|
@@ -28942,60 +28595,40 @@ var SidenavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
28942
28595
|
}));
|
|
28943
28596
|
return appendTooltip({
|
|
28944
28597
|
children: function children(triggerProps, triggerRef) {
|
|
28945
|
-
return /* @__PURE__ */
|
|
28598
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
28946
28599
|
ref: mergeRefs(mergeRefs(ref, menuitemRef), triggerRef),
|
|
28947
28600
|
disabled: Component === SafeAnchor$1 ? disabled : void 0,
|
|
28948
28601
|
className: classes,
|
|
28949
28602
|
"data-event-key": eventKey
|
|
28950
28603
|
}, omit_1(rest, ["divider", "panel"])), triggerProps), menuitem), {
|
|
28951
|
-
children: [icon, _children, /* @__PURE__ */
|
|
28952
|
-
|
|
28953
|
-
lineNumber: 77,
|
|
28954
|
-
columnNumber: 103
|
|
28955
|
-
}, this)]
|
|
28956
|
-
}), void 0, true, {
|
|
28957
|
-
fileName: _jsxFileName$k,
|
|
28958
|
-
lineNumber: 72,
|
|
28959
|
-
columnNumber: 31
|
|
28960
|
-
}, this);
|
|
28604
|
+
children: [icon, _children, /* @__PURE__ */ jsx(Ripple$1, {})]
|
|
28605
|
+
}));
|
|
28961
28606
|
},
|
|
28962
28607
|
message: _children,
|
|
28963
28608
|
placement: "right"
|
|
28964
28609
|
});
|
|
28965
28610
|
}
|
|
28966
|
-
}
|
|
28967
|
-
fileName: _jsxFileName$k,
|
|
28968
|
-
lineNumber: 55,
|
|
28969
|
-
columnNumber: 25
|
|
28970
|
-
}, this);
|
|
28611
|
+
});
|
|
28971
28612
|
}
|
|
28972
28613
|
if (divider) {
|
|
28973
|
-
return /* @__PURE__ */
|
|
28614
|
+
return /* @__PURE__ */ jsx("li", __spreadValues({
|
|
28974
28615
|
ref,
|
|
28975
28616
|
role: "separator",
|
|
28976
28617
|
style,
|
|
28977
28618
|
className: merge3(className, prefix2("divider"))
|
|
28978
|
-
}, rest)
|
|
28979
|
-
fileName: _jsxFileName$k,
|
|
28980
|
-
lineNumber: 86,
|
|
28981
|
-
columnNumber: 25
|
|
28982
|
-
}, this);
|
|
28619
|
+
}, rest));
|
|
28983
28620
|
}
|
|
28984
28621
|
if (panel) {
|
|
28985
|
-
return /* @__PURE__ */
|
|
28622
|
+
return /* @__PURE__ */ jsx("li", __spreadProps(__spreadValues({
|
|
28986
28623
|
ref,
|
|
28987
28624
|
role: "none presentation",
|
|
28988
28625
|
style,
|
|
28989
28626
|
className: merge3(className, prefix2("panel"))
|
|
28990
28627
|
}, rest), {
|
|
28991
28628
|
children: _children
|
|
28992
|
-
})
|
|
28993
|
-
fileName: _jsxFileName$k,
|
|
28994
|
-
lineNumber: 95,
|
|
28995
|
-
columnNumber: 25
|
|
28996
|
-
}, this);
|
|
28629
|
+
}));
|
|
28997
28630
|
}
|
|
28998
|
-
return /* @__PURE__ */
|
|
28631
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({
|
|
28999
28632
|
ref,
|
|
29000
28633
|
className: merge3(className, withClassPrefix({
|
|
29001
28634
|
active: selected,
|
|
@@ -29006,16 +28639,8 @@ var SidenavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
29006
28639
|
"aria-selected": selected || void 0,
|
|
29007
28640
|
"data-event-key": eventKey
|
|
29008
28641
|
}, rest), {
|
|
29009
|
-
children: [icon, _children, /* @__PURE__ */
|
|
29010
|
-
|
|
29011
|
-
lineNumber: 113,
|
|
29012
|
-
columnNumber: 43
|
|
29013
|
-
}, this)]
|
|
29014
|
-
}), void 0, true, {
|
|
29015
|
-
fileName: _jsxFileName$k,
|
|
29016
|
-
lineNumber: 103,
|
|
29017
|
-
columnNumber: 23
|
|
29018
|
-
}, this);
|
|
28642
|
+
children: [icon, _children, /* @__PURE__ */ jsx(Ripple$1, {})]
|
|
28643
|
+
}));
|
|
29019
28644
|
});
|
|
29020
28645
|
SidenavItem.displayName = "Sidenav.Item";
|
|
29021
28646
|
SidenavItem.propTypes = {
|
|
@@ -29034,7 +28659,6 @@ SidenavItem.propTypes = {
|
|
|
29034
28659
|
onClick: PropTypes.func
|
|
29035
28660
|
};
|
|
29036
28661
|
var SidenavItem$1 = SidenavItem;
|
|
29037
|
-
var _jsxFileName$j = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Navbar/NavbarItem.js";
|
|
29038
28662
|
var NavbarItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
29039
28663
|
var _props$as = props.as, Component = _props$as === void 0 ? SafeAnchor$1 : _props$as, activeProp = props.active, disabled = props.disabled, eventKey = props.eventKey, className = props.className, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "navbar-item" : _props$classPrefix, style = props.style, children = props.children, icon = props.icon, onClick = props.onClick, onSelectProp = props.onSelect, rest = _objectWithoutPropertiesLoose(props, ["as", "active", "disabled", "eventKey", "className", "classPrefix", "style", "children", "icon", "onClick", "onSelect"]);
|
|
29040
28664
|
var _useContext = react.exports.useContext(NavContext$1), activeKey = _useContext.activeKey, onSelectFromNav = _useContext.onSelect;
|
|
@@ -29054,23 +28678,15 @@ var NavbarItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
29054
28678
|
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
29055
28679
|
}
|
|
29056
28680
|
}, [disabled, emitSelect, onClick]);
|
|
29057
|
-
return /* @__PURE__ */
|
|
28681
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({
|
|
29058
28682
|
ref,
|
|
29059
28683
|
"aria-selected": active || void 0
|
|
29060
28684
|
}, rest), {
|
|
29061
28685
|
className: classes,
|
|
29062
28686
|
onClick: handleClick,
|
|
29063
28687
|
style,
|
|
29064
|
-
children: [icon, children, /* @__PURE__ */
|
|
29065
|
-
|
|
29066
|
-
lineNumber: 57,
|
|
29067
|
-
columnNumber: 36
|
|
29068
|
-
}, this)]
|
|
29069
|
-
}), void 0, true, {
|
|
29070
|
-
fileName: _jsxFileName$j,
|
|
29071
|
-
lineNumber: 50,
|
|
29072
|
-
columnNumber: 23
|
|
29073
|
-
}, this);
|
|
28688
|
+
children: [icon, children, /* @__PURE__ */ jsx(Ripple$1, {})]
|
|
28689
|
+
}));
|
|
29074
28690
|
});
|
|
29075
28691
|
NavbarItem.displayName = "Navbar.Item";
|
|
29076
28692
|
NavbarItem.propTypes = {
|
|
@@ -29087,7 +28703,6 @@ NavbarItem.propTypes = {
|
|
|
29087
28703
|
eventKey: PropTypes.any
|
|
29088
28704
|
};
|
|
29089
28705
|
var NavbarItem$1 = NavbarItem;
|
|
29090
|
-
var _jsxFileName$i = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Nav/NavItem.js";
|
|
29091
28706
|
var NavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
29092
28707
|
var _props$as = props.as, Component = _props$as === void 0 ? SafeAnchor$1 : _props$as, activeProp = props.active, disabled = props.disabled, eventKey = props.eventKey, className = props.className, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "nav-item" : _props$classPrefix, style = props.style, children = props.children, icon = props.icon, divider = props.divider, panel = props.panel, onClick = props.onClick, onSelectProp = props.onSelect, rest = _objectWithoutPropertiesLoose(props, ["as", "active", "disabled", "eventKey", "className", "classPrefix", "style", "children", "icon", "divider", "panel", "onClick", "onSelect"]);
|
|
29093
28708
|
var _useContext = react.exports.useContext(NavContext$1), activeKey = _useContext.activeKey, onSelectFromNav = _useContext.onSelect;
|
|
@@ -29110,45 +28725,29 @@ var NavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
29110
28725
|
}
|
|
29111
28726
|
}, [disabled, emitSelect, onClick]);
|
|
29112
28727
|
if (sidenav) {
|
|
29113
|
-
return /* @__PURE__ */
|
|
29114
|
-
fileName: _jsxFileName$i,
|
|
29115
|
-
lineNumber: 65,
|
|
29116
|
-
columnNumber: 25
|
|
29117
|
-
}, this);
|
|
28728
|
+
return /* @__PURE__ */ jsx(SidenavItem$1, __spreadValues({}, props));
|
|
29118
28729
|
}
|
|
29119
28730
|
if (divider) {
|
|
29120
|
-
return /* @__PURE__ */
|
|
28731
|
+
return /* @__PURE__ */ jsx("div", __spreadValues({
|
|
29121
28732
|
ref,
|
|
29122
28733
|
role: "separator",
|
|
29123
28734
|
style,
|
|
29124
28735
|
className: merge3(className, prefix2("divider"))
|
|
29125
|
-
}, rest)
|
|
29126
|
-
fileName: _jsxFileName$i,
|
|
29127
|
-
lineNumber: 69,
|
|
29128
|
-
columnNumber: 25
|
|
29129
|
-
}, this);
|
|
28736
|
+
}, rest));
|
|
29130
28737
|
}
|
|
29131
28738
|
if (panel) {
|
|
29132
|
-
return /* @__PURE__ */
|
|
28739
|
+
return /* @__PURE__ */ jsx("div", __spreadProps(__spreadValues({
|
|
29133
28740
|
ref,
|
|
29134
28741
|
style,
|
|
29135
28742
|
className: merge3(className, prefix2("panel"))
|
|
29136
28743
|
}, rest), {
|
|
29137
28744
|
children
|
|
29138
|
-
})
|
|
29139
|
-
fileName: _jsxFileName$i,
|
|
29140
|
-
lineNumber: 78,
|
|
29141
|
-
columnNumber: 25
|
|
29142
|
-
}, this);
|
|
28745
|
+
}));
|
|
29143
28746
|
}
|
|
29144
28747
|
if (navbar) {
|
|
29145
|
-
return /* @__PURE__ */
|
|
29146
|
-
fileName: _jsxFileName$i,
|
|
29147
|
-
lineNumber: 86,
|
|
29148
|
-
columnNumber: 25
|
|
29149
|
-
}, this);
|
|
28748
|
+
return /* @__PURE__ */ jsx(NavbarItem$1, __spreadValues({}, props));
|
|
29150
28749
|
}
|
|
29151
|
-
return /* @__PURE__ */
|
|
28750
|
+
return /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({
|
|
29152
28751
|
ref,
|
|
29153
28752
|
tabIndex: disabled ? -1 : void 0
|
|
29154
28753
|
}, rest), {
|
|
@@ -29156,16 +28755,8 @@ var NavItem = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
29156
28755
|
onClick: handleClick,
|
|
29157
28756
|
style,
|
|
29158
28757
|
"aria-selected": active || void 0,
|
|
29159
|
-
children: [icon, children, /* @__PURE__ */
|
|
29160
|
-
|
|
29161
|
-
lineNumber: 97,
|
|
29162
|
-
columnNumber: 36
|
|
29163
|
-
}, this)]
|
|
29164
|
-
}), void 0, true, {
|
|
29165
|
-
fileName: _jsxFileName$i,
|
|
29166
|
-
lineNumber: 89,
|
|
29167
|
-
columnNumber: 23
|
|
29168
|
-
}, this);
|
|
28758
|
+
children: [icon, children, /* @__PURE__ */ jsx(Ripple$1, {})]
|
|
28759
|
+
}));
|
|
29169
28760
|
});
|
|
29170
28761
|
NavItem.displayName = "Nav.Item";
|
|
29171
28762
|
NavItem.propTypes = {
|
|
@@ -29191,7 +28782,6 @@ function useEnsuredRef(ref) {
|
|
|
29191
28782
|
}
|
|
29192
28783
|
return dumpRef;
|
|
29193
28784
|
}
|
|
29194
|
-
var _jsxFileName$h = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/rsuite/esm/Nav/Nav.js";
|
|
29195
28785
|
var Nav = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
29196
28786
|
var _props$as = props.as, Component = _props$as === void 0 ? "div" : _props$as, _props$classPrefix = props.classPrefix, classPrefix = _props$classPrefix === void 0 ? "nav" : _props$classPrefix, _props$appearance = props.appearance, appearance = _props$appearance === void 0 ? "default" : _props$appearance, vertical = props.vertical, justified = props.justified, reversed = props.reversed, pullRight = props.pullRight, className = props.className, children = props.children, activeKeyProp = props.activeKey, onSelectProp = props.onSelect, rest = _objectWithoutPropertiesLoose(props, ["as", "classPrefix", "appearance", "vertical", "justified", "reversed", "pullRight", "className", "children", "activeKey", "onSelect"]);
|
|
29197
28787
|
var sidenav = react.exports.useContext(SidenavContext);
|
|
@@ -29211,88 +28801,56 @@ var Nav = /* @__PURE__ */ React.forwardRef(function(props, ref) {
|
|
|
29211
28801
|
var _ref2 = sidenav || {}, activeKeyFromSidenav = _ref2.activeKey, _ref$onSelect = _ref2.onSelect, onSelectFromSidenav = _ref$onSelect === void 0 ? onSelectProp : _ref$onSelect;
|
|
29212
28802
|
var activeKey = activeKeyProp !== null && activeKeyProp !== void 0 ? activeKeyProp : activeKeyFromSidenav;
|
|
29213
28803
|
if (sidenav !== null && sidenav !== void 0 && sidenav.expanded) {
|
|
29214
|
-
return /* @__PURE__ */
|
|
28804
|
+
return /* @__PURE__ */ jsx(NavContext$1.Provider, {
|
|
29215
28805
|
value: {
|
|
29216
28806
|
withinNav: true,
|
|
29217
28807
|
activeKey,
|
|
29218
28808
|
onSelect: onSelectProp !== null && onSelectProp !== void 0 ? onSelectProp : onSelectFromSidenav
|
|
29219
28809
|
},
|
|
29220
|
-
children: /* @__PURE__ */
|
|
28810
|
+
children: /* @__PURE__ */ jsx("ul", __spreadProps(__spreadValues({
|
|
29221
28811
|
ref,
|
|
29222
28812
|
className: classes
|
|
29223
28813
|
}, rest), {
|
|
29224
28814
|
children
|
|
29225
|
-
})
|
|
29226
|
-
|
|
29227
|
-
lineNumber: 66,
|
|
29228
|
-
columnNumber: 21
|
|
29229
|
-
}, this)
|
|
29230
|
-
}, void 0, false, {
|
|
29231
|
-
fileName: _jsxFileName$h,
|
|
29232
|
-
lineNumber: 60,
|
|
29233
|
-
columnNumber: 25
|
|
29234
|
-
}, this);
|
|
28815
|
+
}))
|
|
28816
|
+
});
|
|
29235
28817
|
}
|
|
29236
28818
|
var hasWaterline = appearance !== "default";
|
|
29237
28819
|
if (sidenav) {
|
|
29238
|
-
return /* @__PURE__ */
|
|
28820
|
+
return /* @__PURE__ */ jsx(NavContext$1.Provider, {
|
|
29239
28821
|
value: {
|
|
29240
28822
|
withinNav: true,
|
|
29241
28823
|
activeKey,
|
|
29242
28824
|
onSelect: onSelectProp !== null && onSelectProp !== void 0 ? onSelectProp : onSelectFromSidenav
|
|
29243
28825
|
},
|
|
29244
|
-
children: /* @__PURE__ */
|
|
28826
|
+
children: /* @__PURE__ */ jsx(Menubar, {
|
|
29245
28827
|
vertical: !!sidenav,
|
|
29246
28828
|
children: function(menubar, ref2) {
|
|
29247
|
-
return /* @__PURE__ */
|
|
28829
|
+
return /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues(__spreadProps(__spreadValues({
|
|
29248
28830
|
ref: ref2
|
|
29249
28831
|
}, rest), {
|
|
29250
28832
|
className: classes
|
|
29251
28833
|
}), menubar), {
|
|
29252
28834
|
children
|
|
29253
|
-
})
|
|
29254
|
-
|
|
29255
|
-
|
|
29256
|
-
|
|
29257
|
-
|
|
29258
|
-
|
|
29259
|
-
}, void 0, false, {
|
|
29260
|
-
fileName: _jsxFileName$h,
|
|
29261
|
-
lineNumber: 81,
|
|
29262
|
-
columnNumber: 21
|
|
29263
|
-
}, this)
|
|
29264
|
-
}, void 0, false, {
|
|
29265
|
-
fileName: _jsxFileName$h,
|
|
29266
|
-
lineNumber: 75,
|
|
29267
|
-
columnNumber: 25
|
|
29268
|
-
}, this);
|
|
29269
|
-
}
|
|
29270
|
-
return /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(NavContext$1.Provider, {
|
|
28835
|
+
}));
|
|
28836
|
+
}
|
|
28837
|
+
})
|
|
28838
|
+
});
|
|
28839
|
+
}
|
|
28840
|
+
return /* @__PURE__ */ jsx(NavContext$1.Provider, {
|
|
29271
28841
|
value: {
|
|
29272
28842
|
withinNav: true,
|
|
29273
28843
|
activeKey,
|
|
29274
28844
|
onSelect: onSelectProp !== null && onSelectProp !== void 0 ? onSelectProp : onSelectFromSidenav
|
|
29275
28845
|
},
|
|
29276
|
-
children: /* @__PURE__ */
|
|
28846
|
+
children: /* @__PURE__ */ jsxs(Component, __spreadProps(__spreadValues({}, rest), {
|
|
29277
28847
|
ref: menubarRef,
|
|
29278
28848
|
className: classes,
|
|
29279
|
-
children: [children, hasWaterline && /* @__PURE__ */
|
|
28849
|
+
children: [children, hasWaterline && /* @__PURE__ */ jsx("div", {
|
|
29280
28850
|
className: prefix2("bar")
|
|
29281
|
-
}
|
|
29282
|
-
|
|
29283
|
-
|
|
29284
|
-
columnNumber: 46
|
|
29285
|
-
}, this)]
|
|
29286
|
-
}), void 0, true, {
|
|
29287
|
-
fileName: _jsxFileName$h,
|
|
29288
|
-
lineNumber: 98,
|
|
29289
|
-
columnNumber: 19
|
|
29290
|
-
}, this)
|
|
29291
|
-
}, void 0, false, {
|
|
29292
|
-
fileName: _jsxFileName$h,
|
|
29293
|
-
lineNumber: 92,
|
|
29294
|
-
columnNumber: 23
|
|
29295
|
-
}, this);
|
|
28851
|
+
})]
|
|
28852
|
+
}))
|
|
28853
|
+
});
|
|
29296
28854
|
});
|
|
29297
28855
|
Nav.Dropdown = Dropdown$1;
|
|
29298
28856
|
Nav.Item = NavItem$1;
|
|
@@ -29316,18 +28874,13 @@ function _assertThisInitialized(self2) {
|
|
|
29316
28874
|
}
|
|
29317
28875
|
return self2;
|
|
29318
28876
|
}
|
|
29319
|
-
var _jsxFileName$g = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/helpers/collections/toast.tsx";
|
|
29320
28877
|
class Toast {
|
|
29321
28878
|
static message(props) {
|
|
29322
|
-
toaster$1.push(/* @__PURE__ */
|
|
28879
|
+
toaster$1.push(/* @__PURE__ */ jsx(Message$1, __spreadProps(__spreadValues({
|
|
29323
28880
|
showIcon: true
|
|
29324
28881
|
}, props), {
|
|
29325
28882
|
children: props.content
|
|
29326
|
-
}),
|
|
29327
|
-
fileName: _jsxFileName$g,
|
|
29328
|
-
lineNumber: 9,
|
|
29329
|
-
columnNumber: 7
|
|
29330
|
-
}, this), {
|
|
28883
|
+
})), {
|
|
29331
28884
|
placement: props.placement || "topCenter"
|
|
29332
28885
|
});
|
|
29333
28886
|
}
|
|
@@ -31244,7 +30797,6 @@ var newStyled = createStyled.bind();
|
|
|
31244
30797
|
tags.forEach(function(tagName) {
|
|
31245
30798
|
newStyled[tagName] = newStyled(tagName);
|
|
31246
30799
|
});
|
|
31247
|
-
var _jsxFileName$f = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/loading/index.tsx";
|
|
31248
30800
|
const LoadingLayout = newStyled.div`
|
|
31249
30801
|
position: fixed;
|
|
31250
30802
|
width: 100%;
|
|
@@ -31414,10 +30966,10 @@ const LoadingLayout = newStyled.div`
|
|
|
31414
30966
|
}
|
|
31415
30967
|
`;
|
|
31416
30968
|
const Loading = () => {
|
|
31417
|
-
return /* @__PURE__ */
|
|
31418
|
-
children: /* @__PURE__ */
|
|
30969
|
+
return /* @__PURE__ */ jsx(LoadingLayout, {
|
|
30970
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
31419
30971
|
className: "preloader",
|
|
31420
|
-
children: [/* @__PURE__ */
|
|
30972
|
+
children: [/* @__PURE__ */ jsx("svg", {
|
|
31421
30973
|
className: "first-svg",
|
|
31422
30974
|
version: "1.1",
|
|
31423
30975
|
id: "sun",
|
|
@@ -31430,109 +30982,49 @@ const Loading = () => {
|
|
|
31430
30982
|
viewBox: "0 0 10 10",
|
|
31431
30983
|
enableBackground: "new 0 0 10 10",
|
|
31432
30984
|
xmlSpace: "preserve",
|
|
31433
|
-
children: /* @__PURE__ */
|
|
31434
|
-
children: [/* @__PURE__ */
|
|
30985
|
+
children: /* @__PURE__ */ jsxs("g", {
|
|
30986
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
31435
30987
|
fill: "none",
|
|
31436
30988
|
d: "M6.942,3.876c-0.4-0.692-1.146-1.123-1.946-1.123c-0.392,0-0.779,0.104-1.121,0.301c-1.072,0.619-1.44,1.994-0.821,3.067C3.454,6.815,4.2,7.245,5,7.245c0.392,0,0.779-0.104,1.121-0.301C6.64,6.644,7.013,6.159,7.167,5.581C7.321,5,7.243,4.396,6.942,3.876z M6.88,5.505C6.745,6.007,6.423,6.427,5.973,6.688C5.676,6.858,5.34,6.948,5,6.948c-0.695,0-1.343-0.373-1.69-0.975C2.774,5.043,3.093,3.849,4.024,3.312C4.32,3.14,4.656,3.05,4.996,3.05c0.695,0,1.342,0.374,1.69,0.975C6.946,4.476,7.015,5,6.88,5.505z"
|
|
31437
|
-
},
|
|
31438
|
-
fileName: _jsxFileName$f,
|
|
31439
|
-
lineNumber: 192,
|
|
31440
|
-
columnNumber: 13
|
|
31441
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
30989
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31442
30990
|
fill: "none",
|
|
31443
30991
|
d: "M8.759,2.828C8.718,2.757,8.626,2.732,8.556,2.774L7.345,3.473c-0.07,0.041-0.094,0.132-0.053,0.202C7.319,3.723,7.368,3.75,7.419,3.75c0.025,0,0.053-0.007,0.074-0.02l1.211-0.699C8.774,2.989,8.8,2.899,8.759,2.828z"
|
|
31444
|
-
},
|
|
31445
|
-
fileName: _jsxFileName$f,
|
|
31446
|
-
lineNumber: 196,
|
|
31447
|
-
columnNumber: 13
|
|
31448
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
30992
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31449
30993
|
fill: "none",
|
|
31450
30994
|
d: "M1.238,7.171c0.027,0.047,0.077,0.074,0.128,0.074c0.025,0,0.051-0.008,0.074-0.02l1.211-0.699c0.071-0.041,0.095-0.133,0.054-0.203S2.574,6.228,2.503,6.269l-1.21,0.699C1.221,7.009,1.197,7.101,1.238,7.171z"
|
|
31451
|
-
},
|
|
31452
|
-
fileName: _jsxFileName$f,
|
|
31453
|
-
lineNumber: 200,
|
|
31454
|
-
columnNumber: 13
|
|
31455
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
30995
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31456
30996
|
fill: "none",
|
|
31457
30997
|
d: "M6.396,2.726c0.052,0,0.102-0.026,0.13-0.075l0.349-0.605C6.915,1.976,6.89,1.885,6.819,1.844c-0.07-0.042-0.162-0.017-0.202,0.054L6.269,2.503C6.228,2.574,6.251,2.666,6.322,2.706C6.346,2.719,6.371,2.726,6.396,2.726z"
|
|
31458
|
-
},
|
|
31459
|
-
fileName: _jsxFileName$f,
|
|
31460
|
-
lineNumber: 204,
|
|
31461
|
-
columnNumber: 13
|
|
31462
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
30998
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31463
30999
|
fill: "none",
|
|
31464
31000
|
d: "M3.472,7.347L3.123,7.952c-0.041,0.07-0.017,0.162,0.054,0.203C3.2,8.169,3.226,8.175,3.25,8.175c0.052,0,0.102-0.027,0.129-0.074l0.349-0.605c0.041-0.07,0.017-0.16-0.054-0.203C3.603,7.251,3.513,7.276,3.472,7.347z"
|
|
31465
|
-
},
|
|
31466
|
-
fileName: _jsxFileName$f,
|
|
31467
|
-
lineNumber: 208,
|
|
31468
|
-
columnNumber: 13
|
|
31469
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31001
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31470
31002
|
fill: "none",
|
|
31471
31003
|
d: "M3.601,2.726c0.025,0,0.051-0.007,0.074-0.02C3.746,2.666,3.77,2.574,3.729,2.503l-0.35-0.604C3.338,1.828,3.248,1.804,3.177,1.844C3.106,1.886,3.082,1.976,3.123,2.047l0.35,0.604C3.5,2.7,3.549,2.726,3.601,2.726z"
|
|
31472
|
-
},
|
|
31473
|
-
fileName: _jsxFileName$f,
|
|
31474
|
-
lineNumber: 212,
|
|
31475
|
-
columnNumber: 13
|
|
31476
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31004
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31477
31005
|
fill: "none",
|
|
31478
31006
|
d: "M6.321,7.292c-0.07,0.043-0.094,0.133-0.054,0.203l0.351,0.605c0.026,0.047,0.076,0.074,0.127,0.074c0.025,0,0.051-0.006,0.074-0.02c0.072-0.041,0.096-0.133,0.055-0.203l-0.35-0.605C6.483,7.276,6.393,7.253,6.321,7.292z"
|
|
31479
|
-
},
|
|
31480
|
-
fileName: _jsxFileName$f,
|
|
31481
|
-
lineNumber: 216,
|
|
31482
|
-
columnNumber: 13
|
|
31483
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31007
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31484
31008
|
fill: "none",
|
|
31485
31009
|
d: "M2.202,5.146c0.082,0,0.149-0.065,0.149-0.147S2.284,4.851,2.202,4.851H1.503c-0.082,0-0.148,0.066-0.148,0.148s0.066,0.147,0.148,0.147H2.202z"
|
|
31486
|
-
},
|
|
31487
|
-
fileName: _jsxFileName$f,
|
|
31488
|
-
lineNumber: 220,
|
|
31489
|
-
columnNumber: 13
|
|
31490
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31010
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31491
31011
|
fill: "none",
|
|
31492
31012
|
d: "M8.493,4.851H7.794c-0.082,0-0.148,0.066-0.148,0.148s0.066,0.147,0.148,0.147l0,0h0.699c0.082,0,0.148-0.065,0.148-0.147S8.575,4.851,8.493,4.851L8.493,4.851z"
|
|
31493
|
-
},
|
|
31494
|
-
fileName: _jsxFileName$f,
|
|
31495
|
-
lineNumber: 224,
|
|
31496
|
-
columnNumber: 13
|
|
31497
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31013
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31498
31014
|
fill: "none",
|
|
31499
31015
|
d: "M5.146,2.203V0.805c0-0.082-0.066-0.148-0.148-0.148c-0.082,0-0.148,0.066-0.148,0.148v1.398c0,0.082,0.066,0.149,0.148,0.149C5.08,2.352,5.146,2.285,5.146,2.203z"
|
|
31500
|
-
},
|
|
31501
|
-
fileName: _jsxFileName$f,
|
|
31502
|
-
lineNumber: 228,
|
|
31503
|
-
columnNumber: 13
|
|
31504
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31016
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31505
31017
|
fill: "none",
|
|
31506
31018
|
d: "M4.85,7.796v1.396c0,0.082,0.066,0.15,0.148,0.15c0.082,0,0.148-0.068,0.148-0.15V7.796c0-0.082-0.066-0.148-0.148-0.148C4.917,7.647,4.85,7.714,4.85,7.796z"
|
|
31507
|
-
},
|
|
31508
|
-
fileName: _jsxFileName$f,
|
|
31509
|
-
lineNumber: 232,
|
|
31510
|
-
columnNumber: 13
|
|
31511
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31019
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31512
31020
|
fill: "none",
|
|
31513
31021
|
d: "M2.651,3.473L1.44,2.774C1.369,2.732,1.279,2.757,1.238,2.828C1.197,2.899,1.221,2.989,1.292,3.031l1.21,0.699c0.023,0.013,0.049,0.02,0.074,0.02c0.051,0,0.101-0.026,0.129-0.075C2.747,3.604,2.722,3.514,2.651,3.473z"
|
|
31514
|
-
},
|
|
31515
|
-
fileName: _jsxFileName$f,
|
|
31516
|
-
lineNumber: 236,
|
|
31517
|
-
columnNumber: 13
|
|
31518
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("path", {
|
|
31022
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
31519
31023
|
fill: "none",
|
|
31520
31024
|
d: "M8.704,6.968L7.493,6.269c-0.07-0.041-0.162-0.016-0.201,0.055c-0.041,0.07-0.018,0.162,0.053,0.203l1.211,0.699c0.023,0.012,0.049,0.02,0.074,0.02c0.051,0,0.102-0.027,0.129-0.074C8.8,7.101,8.776,7.009,8.704,6.968z"
|
|
31521
|
-
}
|
|
31522
|
-
|
|
31523
|
-
|
|
31524
|
-
columnNumber: 13
|
|
31525
|
-
}, globalThis)]
|
|
31526
|
-
}, void 0, true, {
|
|
31527
|
-
fileName: _jsxFileName$f,
|
|
31528
|
-
lineNumber: 191,
|
|
31529
|
-
columnNumber: 11
|
|
31530
|
-
}, globalThis)
|
|
31531
|
-
}, void 0, false, {
|
|
31532
|
-
fileName: _jsxFileName$f,
|
|
31533
|
-
lineNumber: 177,
|
|
31534
|
-
columnNumber: 9
|
|
31535
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("svg", {
|
|
31025
|
+
})]
|
|
31026
|
+
})
|
|
31027
|
+
}), /* @__PURE__ */ jsx("svg", {
|
|
31536
31028
|
version: "1.1",
|
|
31537
31029
|
id: "cloud",
|
|
31538
31030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -31544,103 +31036,39 @@ const Loading = () => {
|
|
|
31544
31036
|
viewBox: "0 0 10 10",
|
|
31545
31037
|
enableBackground: "new 0 0 10 10",
|
|
31546
31038
|
xmlSpace: "preserve",
|
|
31547
|
-
children: /* @__PURE__ */
|
|
31039
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
31548
31040
|
fill: "none",
|
|
31549
31041
|
d: "M8.528,5.624H8.247c-0.085,0-0.156-0.068-0.156-0.154c0-0.694-0.563-1.257-1.257-1.257c-0.098,0-0.197,0.013-0.3,0.038C6.493,4.259,6.45,4.252,6.415,4.229C6.38,4.208,6.356,4.172,6.348,4.131C6.117,3.032,5.135,2.235,4.01,2.235c-1.252,0-2.297,0.979-2.379,2.23c-0.004,0.056-0.039,0.108-0.093,0.13C1.076,4.793,0.776,5.249,0.776,5.752c0,0.693,0.564,1.257,1.257,1.257h6.495c0.383,0,0.695-0.31,0.695-0.692S8.911,5.624,8.528,5.624z"
|
|
31550
|
-
}
|
|
31551
|
-
|
|
31552
|
-
lineNumber: 260,
|
|
31553
|
-
columnNumber: 11
|
|
31554
|
-
}, globalThis)
|
|
31555
|
-
}, void 0, false, {
|
|
31556
|
-
fileName: _jsxFileName$f,
|
|
31557
|
-
lineNumber: 247,
|
|
31558
|
-
columnNumber: 9
|
|
31559
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
31042
|
+
})
|
|
31043
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
31560
31044
|
className: "rain",
|
|
31561
|
-
children: [/* @__PURE__ */
|
|
31045
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
31562
31046
|
className: "drop"
|
|
31563
|
-
},
|
|
31564
|
-
fileName: _jsxFileName$f,
|
|
31565
|
-
lineNumber: 267,
|
|
31566
|
-
columnNumber: 11
|
|
31567
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31047
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31568
31048
|
className: "drop"
|
|
31569
|
-
},
|
|
31570
|
-
fileName: _jsxFileName$f,
|
|
31571
|
-
lineNumber: 268,
|
|
31572
|
-
columnNumber: 11
|
|
31573
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31049
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31574
31050
|
className: "drop"
|
|
31575
|
-
},
|
|
31576
|
-
fileName: _jsxFileName$f,
|
|
31577
|
-
lineNumber: 269,
|
|
31578
|
-
columnNumber: 11
|
|
31579
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31051
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31580
31052
|
className: "drop"
|
|
31581
|
-
},
|
|
31582
|
-
fileName: _jsxFileName$f,
|
|
31583
|
-
lineNumber: 270,
|
|
31584
|
-
columnNumber: 11
|
|
31585
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31053
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31586
31054
|
className: "drop"
|
|
31587
|
-
},
|
|
31588
|
-
fileName: _jsxFileName$f,
|
|
31589
|
-
lineNumber: 271,
|
|
31590
|
-
columnNumber: 11
|
|
31591
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31055
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31592
31056
|
className: "drop"
|
|
31593
|
-
},
|
|
31594
|
-
fileName: _jsxFileName$f,
|
|
31595
|
-
lineNumber: 272,
|
|
31596
|
-
columnNumber: 11
|
|
31597
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31057
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31598
31058
|
className: "drop"
|
|
31599
|
-
},
|
|
31600
|
-
fileName: _jsxFileName$f,
|
|
31601
|
-
lineNumber: 273,
|
|
31602
|
-
columnNumber: 11
|
|
31603
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31059
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31604
31060
|
className: "drop"
|
|
31605
|
-
},
|
|
31606
|
-
fileName: _jsxFileName$f,
|
|
31607
|
-
lineNumber: 274,
|
|
31608
|
-
columnNumber: 11
|
|
31609
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31061
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31610
31062
|
className: "drop"
|
|
31611
|
-
},
|
|
31612
|
-
fileName: _jsxFileName$f,
|
|
31613
|
-
lineNumber: 275,
|
|
31614
|
-
columnNumber: 11
|
|
31615
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
31063
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
31616
31064
|
className: "drop"
|
|
31617
|
-
}
|
|
31618
|
-
|
|
31619
|
-
lineNumber: 276,
|
|
31620
|
-
columnNumber: 11
|
|
31621
|
-
}, globalThis)]
|
|
31622
|
-
}, void 0, true, {
|
|
31623
|
-
fileName: _jsxFileName$f,
|
|
31624
|
-
lineNumber: 266,
|
|
31625
|
-
columnNumber: 9
|
|
31626
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
31065
|
+
})]
|
|
31066
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
31627
31067
|
className: "text",
|
|
31628
31068
|
children: "Loading......"
|
|
31629
|
-
}
|
|
31630
|
-
|
|
31631
|
-
|
|
31632
|
-
columnNumber: 9
|
|
31633
|
-
}, globalThis)]
|
|
31634
|
-
}, void 0, true, {
|
|
31635
|
-
fileName: _jsxFileName$f,
|
|
31636
|
-
lineNumber: 176,
|
|
31637
|
-
columnNumber: 7
|
|
31638
|
-
}, globalThis)
|
|
31639
|
-
}, void 0, false, {
|
|
31640
|
-
fileName: _jsxFileName$f,
|
|
31641
|
-
lineNumber: 175,
|
|
31642
|
-
columnNumber: 5
|
|
31643
|
-
}, globalThis);
|
|
31069
|
+
})]
|
|
31070
|
+
})
|
|
31071
|
+
});
|
|
31644
31072
|
};
|
|
31645
31073
|
let index$5 = 0;
|
|
31646
31074
|
const REPLAY_INTERVAL = 250;
|
|
@@ -31734,7 +31162,6 @@ const replay = async (status2) => {
|
|
|
31734
31162
|
}
|
|
31735
31163
|
};
|
|
31736
31164
|
var index$4 = "";
|
|
31737
|
-
var _jsxFileName$e = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/_bundle.tsx";
|
|
31738
31165
|
const LazyTreeComponent = lazy$2(async () => (await Promise.resolve().then(function() {
|
|
31739
31166
|
return index$3;
|
|
31740
31167
|
})).FileTree);
|
|
@@ -31873,88 +31300,40 @@ class DaoPaaS {
|
|
|
31873
31300
|
}) {
|
|
31874
31301
|
this.storeProps = props;
|
|
31875
31302
|
this.pageDOM = container ? isHTMLElement$1(container) : this.pageDOM;
|
|
31876
|
-
reactDom.exports.render(/* @__PURE__ */
|
|
31877
|
-
fallback: /* @__PURE__ */
|
|
31878
|
-
|
|
31879
|
-
|
|
31880
|
-
columnNumber: 27
|
|
31881
|
-
}, this),
|
|
31882
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(LazyPageComponent, {}, void 0, false, {
|
|
31883
|
-
fileName: _jsxFileName$e,
|
|
31884
|
-
lineNumber: 188,
|
|
31885
|
-
columnNumber: 9
|
|
31886
|
-
}, this)
|
|
31887
|
-
}, void 0, false, {
|
|
31888
|
-
fileName: _jsxFileName$e,
|
|
31889
|
-
lineNumber: 186,
|
|
31890
|
-
columnNumber: 7
|
|
31891
|
-
}, this), this.pageDOM);
|
|
31303
|
+
reactDom.exports.render(/* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
31304
|
+
fallback: /* @__PURE__ */ jsx(Loading, {}),
|
|
31305
|
+
children: /* @__PURE__ */ jsx(LazyPageComponent, {})
|
|
31306
|
+
}), this.pageDOM);
|
|
31892
31307
|
}
|
|
31893
31308
|
Editor({
|
|
31894
31309
|
container,
|
|
31895
31310
|
props
|
|
31896
31311
|
}) {
|
|
31897
31312
|
this.editorDOM = container ? isHTMLElement$1(container) : this.editorDOM;
|
|
31898
|
-
reactDom.exports.render(/* @__PURE__ */
|
|
31899
|
-
fallback: /* @__PURE__ */
|
|
31900
|
-
|
|
31901
|
-
|
|
31902
|
-
columnNumber: 27
|
|
31903
|
-
}, this),
|
|
31904
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(LazyEditorComponent, __spreadValues({}, props), void 0, false, {
|
|
31905
|
-
fileName: _jsxFileName$e,
|
|
31906
|
-
lineNumber: 200,
|
|
31907
|
-
columnNumber: 9
|
|
31908
|
-
}, this)
|
|
31909
|
-
}, void 0, false, {
|
|
31910
|
-
fileName: _jsxFileName$e,
|
|
31911
|
-
lineNumber: 199,
|
|
31912
|
-
columnNumber: 7
|
|
31913
|
-
}, this), this.editorDOM);
|
|
31313
|
+
reactDom.exports.render(/* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
31314
|
+
fallback: /* @__PURE__ */ jsx(Loading, {}),
|
|
31315
|
+
children: /* @__PURE__ */ jsx(LazyEditorComponent, __spreadValues({}, props))
|
|
31316
|
+
}), this.editorDOM);
|
|
31914
31317
|
}
|
|
31915
31318
|
Shell({
|
|
31916
31319
|
container,
|
|
31917
31320
|
props
|
|
31918
31321
|
}) {
|
|
31919
31322
|
this.editorDOM = container ? isHTMLElement$1(container) : this.editorDOM;
|
|
31920
|
-
reactDom.exports.render(/* @__PURE__ */
|
|
31921
|
-
fallback: /* @__PURE__ */
|
|
31922
|
-
|
|
31923
|
-
|
|
31924
|
-
columnNumber: 27
|
|
31925
|
-
}, this),
|
|
31926
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(LazyShellComponent, __spreadValues({}, props), void 0, false, {
|
|
31927
|
-
fileName: _jsxFileName$e,
|
|
31928
|
-
lineNumber: 211,
|
|
31929
|
-
columnNumber: 9
|
|
31930
|
-
}, this)
|
|
31931
|
-
}, void 0, false, {
|
|
31932
|
-
fileName: _jsxFileName$e,
|
|
31933
|
-
lineNumber: 210,
|
|
31934
|
-
columnNumber: 7
|
|
31935
|
-
}, this), this.editorDOM);
|
|
31323
|
+
reactDom.exports.render(/* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
31324
|
+
fallback: /* @__PURE__ */ jsx(Loading, {}),
|
|
31325
|
+
children: /* @__PURE__ */ jsx(LazyShellComponent, __spreadValues({}, props))
|
|
31326
|
+
}), this.editorDOM);
|
|
31936
31327
|
}
|
|
31937
31328
|
Tree({
|
|
31938
31329
|
container,
|
|
31939
31330
|
props
|
|
31940
31331
|
}) {
|
|
31941
31332
|
this.editorDOM = container ? isHTMLElement$1(container) : this.editorDOM;
|
|
31942
|
-
reactDom.exports.render(/* @__PURE__ */
|
|
31943
|
-
fallback: /* @__PURE__ */
|
|
31944
|
-
|
|
31945
|
-
|
|
31946
|
-
columnNumber: 27
|
|
31947
|
-
}, this),
|
|
31948
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(LazyTreeComponent, __spreadValues({}, props), void 0, false, {
|
|
31949
|
-
fileName: _jsxFileName$e,
|
|
31950
|
-
lineNumber: 222,
|
|
31951
|
-
columnNumber: 9
|
|
31952
|
-
}, this)
|
|
31953
|
-
}, void 0, false, {
|
|
31954
|
-
fileName: _jsxFileName$e,
|
|
31955
|
-
lineNumber: 221,
|
|
31956
|
-
columnNumber: 7
|
|
31957
|
-
}, this), this.editorDOM);
|
|
31333
|
+
reactDom.exports.render(/* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
31334
|
+
fallback: /* @__PURE__ */ jsx(Loading, {}),
|
|
31335
|
+
children: /* @__PURE__ */ jsx(LazyTreeComponent, __spreadValues({}, props))
|
|
31336
|
+
}), this.editorDOM);
|
|
31958
31337
|
}
|
|
31959
31338
|
}
|
|
31960
31339
|
function isHTMLElement$1(arg) {
|
|
@@ -33235,7 +32614,6 @@ var TreeItemRenamingInput = function(props) {
|
|
|
33235
32614
|
inputProps
|
|
33236
32615
|
});
|
|
33237
32616
|
};
|
|
33238
|
-
var _jsxFileName$d = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/node_modules/react-complex-tree/lib/esm/treeItem/TreeItem.js";
|
|
33239
32617
|
var TreeItem = function(props) {
|
|
33240
32618
|
var _a2, _b2;
|
|
33241
32619
|
var _c2 = react.exports.useState(false), hasBeenRequested = _c2[0], setHasBeenRequested = _c2[1];
|
|
@@ -33255,23 +32633,15 @@ var TreeItem = function(props) {
|
|
|
33255
32633
|
}
|
|
33256
32634
|
return null;
|
|
33257
32635
|
}
|
|
33258
|
-
var children = item.hasChildren && isExpanded && item.children && /* @__PURE__ */
|
|
32636
|
+
var children = item.hasChildren && isExpanded && item.children && /* @__PURE__ */ jsx(TreeItemChildren, {
|
|
33259
32637
|
depth: props.depth + 1,
|
|
33260
32638
|
parentId: props.itemIndex,
|
|
33261
32639
|
children: item.children
|
|
33262
|
-
}
|
|
33263
|
-
fileName: _jsxFileName$d,
|
|
33264
|
-
lineNumber: 26,
|
|
33265
|
-
columnNumber: 72
|
|
33266
|
-
}, this);
|
|
32640
|
+
});
|
|
33267
32641
|
var title = environment.getItemTitle(item);
|
|
33268
|
-
var titleComponent = renamingItem === props.itemIndex ? /* @__PURE__ */
|
|
32642
|
+
var titleComponent = renamingItem === props.itemIndex ? /* @__PURE__ */ jsx(TreeItemRenamingInput, {
|
|
33269
32643
|
itemIndex: props.itemIndex
|
|
33270
|
-
}
|
|
33271
|
-
fileName: _jsxFileName$d,
|
|
33272
|
-
lineNumber: 28,
|
|
33273
|
-
columnNumber: 62
|
|
33274
|
-
}, this) : renderers.renderItemTitle({
|
|
32644
|
+
}) : renderers.renderItemTitle({
|
|
33275
32645
|
info: treeInformation,
|
|
33276
32646
|
context: renderContext,
|
|
33277
32647
|
title,
|
|
@@ -34015,7 +33385,6 @@ AwaitingWithBuffer.prototype.transformSelection = function(selection2) {
|
|
|
34015
33385
|
AwaitingWithBuffer.prototype.resend = function(client2) {
|
|
34016
33386
|
client2.sendOperation(client2.revision, this.outstanding);
|
|
34017
33387
|
};
|
|
34018
|
-
var _jsxFileName$c = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/FileTree/index.tsx";
|
|
34019
33388
|
function addChildrenArray(children, parent2) {
|
|
34020
33389
|
for (let i2 = 0; i2 < children.length; i2++) {
|
|
34021
33390
|
if (children[i2].type === "DIRECTORY") {
|
|
@@ -34293,13 +33662,13 @@ const FileTree = ({
|
|
|
34293
33662
|
}
|
|
34294
33663
|
}
|
|
34295
33664
|
}, [CRDTInfo]);
|
|
34296
|
-
return /* @__PURE__ */
|
|
33665
|
+
return /* @__PURE__ */ jsx("div", {
|
|
34297
33666
|
ref: treeRef,
|
|
34298
33667
|
style: {
|
|
34299
33668
|
height: "100%",
|
|
34300
33669
|
overflow: "auto"
|
|
34301
33670
|
},
|
|
34302
|
-
children: /* @__PURE__ */
|
|
33671
|
+
children: /* @__PURE__ */ jsx(ControlledTreeEnvironment, {
|
|
34303
33672
|
canDragAndDrop: true,
|
|
34304
33673
|
items: treeData,
|
|
34305
33674
|
onFocusItem: (item) => setFocusedItem(item.index),
|
|
@@ -34328,61 +33697,33 @@ const FileTree = ({
|
|
|
34328
33697
|
context,
|
|
34329
33698
|
children
|
|
34330
33699
|
}) => {
|
|
34331
|
-
return /* @__PURE__ */
|
|
33700
|
+
return /* @__PURE__ */ jsxs("div", __spreadProps(__spreadValues({}, context.itemContainerWithChildrenProps), {
|
|
34332
33701
|
className: ["rct-tree-item-li", context.isSelected ? "rct-tree-item-li-selected" : "", context.isExpanded ? "rct-tree-item-li-expanded" : "", context.isFocused ? "rct-tree-item-li-focused" : "", children ? "rct-tree-item-li-hasChildren" : ""].join(" "),
|
|
34333
|
-
children: [/* @__PURE__ */
|
|
33702
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
34334
33703
|
className: ["rct-tree-item-title-container", context.isSelected ? "rct-tree-item-title-container-selected" : "", context.isExpanded ? "rct-tree-item-title-container-expanded" : "", context.isFocused ? "rct-tree-item-title-container-focused" : "", children ? "rct-tree-item-title-container-hasChildren" : ""].join(" "),
|
|
34335
33704
|
style: {
|
|
34336
33705
|
paddingLeft: `${depth}0px`
|
|
34337
33706
|
},
|
|
34338
|
-
children: [arrow, /* @__PURE__ */
|
|
33707
|
+
children: [arrow, /* @__PURE__ */ jsx("button", __spreadProps(__spreadValues(__spreadValues({}, context.itemContainerWithoutChildrenProps), context.interactiveElementProps), {
|
|
34339
33708
|
className: ["rct-tree-item-button", context.isSelected ? "rct-tree-item-button-selected" : "", context.isExpanded ? "rct-tree-item-button-expanded" : "", context.isFocused ? "rct-tree-item-button-focused" : "", children ? "rct-tree-item-button-hasChildren" : ""].join(" "),
|
|
34340
33709
|
children: title
|
|
34341
|
-
}),
|
|
34342
|
-
fileName: _jsxFileName$c,
|
|
34343
|
-
lineNumber: 438,
|
|
34344
|
-
columnNumber: 17
|
|
34345
|
-
}, globalThis), remoteUserList[context.interactiveElementProps["data-rct-item-id"]] && remoteUserList[context.interactiveElementProps["data-rct-item-id"]].map((remoteUser) => /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
33710
|
+
})), remoteUserList[context.interactiveElementProps["data-rct-item-id"]] && remoteUserList[context.interactiveElementProps["data-rct-item-id"]].map((remoteUser) => /* @__PURE__ */ jsx("div", {
|
|
34346
33711
|
className: "rct-tree-item-avatar rounded-full absolute border",
|
|
34347
33712
|
style: {
|
|
34348
33713
|
borderColor: remoteUser.color,
|
|
34349
33714
|
backgroundImage: `url(${remoteUser.avatar})`
|
|
34350
33715
|
}
|
|
34351
|
-
}, remoteUser.uuid
|
|
34352
|
-
|
|
34353
|
-
|
|
34354
|
-
columnNumber: 21
|
|
34355
|
-
}, globalThis))]
|
|
34356
|
-
}, void 0, true, {
|
|
34357
|
-
fileName: _jsxFileName$c,
|
|
34358
|
-
lineNumber: 421,
|
|
34359
|
-
columnNumber: 15
|
|
34360
|
-
}, globalThis), children]
|
|
34361
|
-
}), void 0, true, {
|
|
34362
|
-
fileName: _jsxFileName$c,
|
|
34363
|
-
lineNumber: 411,
|
|
34364
|
-
columnNumber: 13
|
|
34365
|
-
}, globalThis);
|
|
33716
|
+
}, remoteUser.uuid))]
|
|
33717
|
+
}), children]
|
|
33718
|
+
}));
|
|
34366
33719
|
},
|
|
34367
|
-
children: /* @__PURE__ */
|
|
33720
|
+
children: /* @__PURE__ */ jsx(Tree, {
|
|
34368
33721
|
treeId: "tree-1",
|
|
34369
33722
|
rootItem: "/",
|
|
34370
33723
|
treeLabel: "File Tree"
|
|
34371
|
-
}
|
|
34372
|
-
|
|
34373
|
-
|
|
34374
|
-
columnNumber: 9
|
|
34375
|
-
}, globalThis)
|
|
34376
|
-
}, void 0, false, {
|
|
34377
|
-
fileName: _jsxFileName$c,
|
|
34378
|
-
lineNumber: 387,
|
|
34379
|
-
columnNumber: 7
|
|
34380
|
-
}, globalThis)
|
|
34381
|
-
}, void 0, false, {
|
|
34382
|
-
fileName: _jsxFileName$c,
|
|
34383
|
-
lineNumber: 386,
|
|
34384
|
-
columnNumber: 5
|
|
34385
|
-
}, globalThis);
|
|
33724
|
+
})
|
|
33725
|
+
})
|
|
33726
|
+
});
|
|
34386
33727
|
};
|
|
34387
33728
|
var index$3 = /* @__PURE__ */ Object.freeze({
|
|
34388
33729
|
__proto__: null,
|
|
@@ -176936,7 +176277,6 @@ function WorkerWrapper() {
|
|
|
176936
176277
|
"type": "module"
|
|
176937
176278
|
});
|
|
176938
176279
|
}
|
|
176939
|
-
var _jsxFileName$b = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Editor/index.tsx";
|
|
176940
176280
|
self.MonacoEnvironment = {
|
|
176941
176281
|
getWorker(_, label) {
|
|
176942
176282
|
if (label === "json") {
|
|
@@ -177456,15 +176796,11 @@ const Editor = ({
|
|
|
177456
176796
|
}
|
|
177457
176797
|
});
|
|
177458
176798
|
}, [USERLISTSTORE.userList, file.path]);
|
|
177459
|
-
return /* @__PURE__ */
|
|
176799
|
+
return /* @__PURE__ */ jsx(EditorLayout, {
|
|
177460
176800
|
ref: divEl,
|
|
177461
176801
|
className: "editor-layout",
|
|
177462
176802
|
userList: userListStore.getState().userList
|
|
177463
|
-
}
|
|
177464
|
-
fileName: _jsxFileName$b,
|
|
177465
|
-
lineNumber: 1006,
|
|
177466
|
-
columnNumber: 5
|
|
177467
|
-
}, globalThis);
|
|
176803
|
+
});
|
|
177468
176804
|
};
|
|
177469
176805
|
var index$2 = /* @__PURE__ */ Object.freeze({
|
|
177470
176806
|
__proto__: null,
|
|
@@ -184521,7 +183857,6 @@ var xtermAddonFit = { exports: {} };
|
|
|
184521
183857
|
})();
|
|
184522
183858
|
});
|
|
184523
183859
|
})(xtermAddonFit);
|
|
184524
|
-
var _jsxFileName$a = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/XTerm/index.tsx";
|
|
184525
183860
|
const XTerm = (_a2) => {
|
|
184526
183861
|
var _b2 = _a2, {
|
|
184527
183862
|
terminal,
|
|
@@ -184587,18 +183922,13 @@ const XTerm = (_a2) => {
|
|
|
184587
183922
|
react.exports.useEffect(() => {
|
|
184588
183923
|
fitTerminal();
|
|
184589
183924
|
}, [fitHook]);
|
|
184590
|
-
return /* @__PURE__ */
|
|
184591
|
-
children: /* @__PURE__ */
|
|
183925
|
+
return /* @__PURE__ */ jsx(Fragment, {
|
|
183926
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
184592
183927
|
style: __spreadValues({}, stateStyle),
|
|
184593
183928
|
ref: terminalRef
|
|
184594
|
-
}
|
|
184595
|
-
|
|
184596
|
-
|
|
184597
|
-
columnNumber: 7
|
|
184598
|
-
}, globalThis)
|
|
184599
|
-
}, void 0, false);
|
|
184600
|
-
};
|
|
184601
|
-
var _jsxFileName$9 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Terminal/index.tsx";
|
|
183929
|
+
})
|
|
183930
|
+
});
|
|
183931
|
+
};
|
|
184602
183932
|
const TerminalComponent = (_c2) => {
|
|
184603
183933
|
var _d2 = _c2, {
|
|
184604
183934
|
options
|
|
@@ -184689,32 +184019,23 @@ const TerminalComponent = (_c2) => {
|
|
|
184689
184019
|
}
|
|
184690
184020
|
}
|
|
184691
184021
|
}, [CRDTInfo.terminal]);
|
|
184692
|
-
return /* @__PURE__ */
|
|
184022
|
+
return /* @__PURE__ */ jsx("div", {
|
|
184693
184023
|
id: "terminal",
|
|
184694
184024
|
style: {
|
|
184695
184025
|
height: "100%",
|
|
184696
184026
|
width: "100%"
|
|
184697
184027
|
},
|
|
184698
|
-
children: /* @__PURE__ */
|
|
184028
|
+
children: /* @__PURE__ */ jsx(XTerm, __spreadValues({
|
|
184699
184029
|
terminal,
|
|
184700
184030
|
onKey
|
|
184701
|
-
}, props)
|
|
184702
|
-
|
|
184703
|
-
lineNumber: 122,
|
|
184704
|
-
columnNumber: 7
|
|
184705
|
-
}, globalThis)
|
|
184706
|
-
}, void 0, false, {
|
|
184707
|
-
fileName: _jsxFileName$9,
|
|
184708
|
-
lineNumber: 121,
|
|
184709
|
-
columnNumber: 5
|
|
184710
|
-
}, globalThis);
|
|
184031
|
+
}, props))
|
|
184032
|
+
});
|
|
184711
184033
|
};
|
|
184712
184034
|
var index$1 = /* @__PURE__ */ Object.freeze({
|
|
184713
184035
|
__proto__: null,
|
|
184714
184036
|
[Symbol.toStringTag]: "Module",
|
|
184715
184037
|
"default": TerminalComponent
|
|
184716
184038
|
});
|
|
184717
|
-
var _jsxFileName$8 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Tabs/index.tsx";
|
|
184718
184039
|
const Tabs = (_e2) => {
|
|
184719
184040
|
var _f2 = _e2, {
|
|
184720
184041
|
activeKey,
|
|
@@ -184725,22 +184046,14 @@ const Tabs = (_e2) => {
|
|
|
184725
184046
|
"onSelect",
|
|
184726
184047
|
"tabItems"
|
|
184727
184048
|
]);
|
|
184728
|
-
return /* @__PURE__ */
|
|
184049
|
+
return /* @__PURE__ */ jsx(Nav$1, __spreadProps(__spreadValues({}, props), {
|
|
184729
184050
|
activeKey,
|
|
184730
184051
|
onSelect,
|
|
184731
|
-
children: tabItems.map((item) => /* @__PURE__ */
|
|
184052
|
+
children: tabItems.map((item) => /* @__PURE__ */ jsx(Nav$1.Item, {
|
|
184732
184053
|
eventKey: item.eventKey,
|
|
184733
184054
|
children: item.itemName
|
|
184734
|
-
}, item.eventKey
|
|
184735
|
-
|
|
184736
|
-
lineNumber: 15,
|
|
184737
|
-
columnNumber: 9
|
|
184738
|
-
}, globalThis))
|
|
184739
|
-
}), void 0, false, {
|
|
184740
|
-
fileName: _jsxFileName$8,
|
|
184741
|
-
lineNumber: 13,
|
|
184742
|
-
columnNumber: 5
|
|
184743
|
-
}, globalThis);
|
|
184055
|
+
}, item.eventKey))
|
|
184056
|
+
}));
|
|
184744
184057
|
};
|
|
184745
184058
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
184746
184059
|
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
@@ -185041,7 +184354,6 @@ var classnames = function classnames2(args) {
|
|
|
185041
184354
|
var _createEmotion = createEmotion({
|
|
185042
184355
|
key: "css"
|
|
185043
184356
|
}), css$1 = _createEmotion.css;
|
|
185044
|
-
var _jsxFileName$7 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Avatar/index.tsx";
|
|
185045
184357
|
const AvatarLayout = newStyled.div`
|
|
185046
184358
|
background: #eee;
|
|
185047
184359
|
border-color: ${(props) => props.user.color};
|
|
@@ -185053,14 +184365,10 @@ const Avatar = (_g2) => {
|
|
|
185053
184365
|
} = _h2, props = __objRest(_h2, [
|
|
185054
184366
|
"user"
|
|
185055
184367
|
]);
|
|
185056
|
-
return /* @__PURE__ */
|
|
184368
|
+
return /* @__PURE__ */ jsx(AvatarLayout, __spreadValues({
|
|
185057
184369
|
className: "rounded-full motion-safe:hover:scale-110 h-8 w-8 self-center bg-cover bg-no-repeat bg-center border-2",
|
|
185058
184370
|
user
|
|
185059
|
-
}, props)
|
|
185060
|
-
fileName: _jsxFileName$7,
|
|
185061
|
-
lineNumber: 16,
|
|
185062
|
-
columnNumber: 5
|
|
185063
|
-
}, globalThis);
|
|
184371
|
+
}, props));
|
|
185064
184372
|
};
|
|
185065
184373
|
const SkeletonThemeContext = React.createContext({});
|
|
185066
184374
|
function SkeletonTheme(_i) {
|
|
@@ -185114,32 +184422,23 @@ function Skeleton$1(_k) {
|
|
|
185114
184422
|
return React.createElement("span", { className: containerClassName, "data-testid": containerTestId, "aria-live": "polite", "aria-busy": (_b2 = styleOptions.enableAnimation) !== null && _b2 !== void 0 ? _b2 : defaultEnableAnimation }, Wrapper ? elements.map((el, i2) => React.createElement(Wrapper, { key: i2 }, el)) : elements);
|
|
185115
184423
|
}
|
|
185116
184424
|
var skeleton = "";
|
|
185117
|
-
var _jsxFileName$6 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Skeleton/index.tsx";
|
|
185118
184425
|
const Skeleton = ({
|
|
185119
184426
|
count
|
|
185120
184427
|
}) => {
|
|
185121
|
-
return /* @__PURE__ */
|
|
184428
|
+
return /* @__PURE__ */ jsxs(SkeletonTheme, {
|
|
185122
184429
|
baseColor: "#202020",
|
|
185123
184430
|
highlightColor: "#444",
|
|
185124
|
-
children: [/* @__PURE__ */
|
|
184431
|
+
children: [/* @__PURE__ */ jsx(Skeleton$1, {
|
|
185125
184432
|
wrapper: Box,
|
|
185126
184433
|
height: 15,
|
|
185127
184434
|
count: count ? count : 5
|
|
185128
|
-
},
|
|
185129
|
-
|
|
185130
|
-
lineNumber: 13,
|
|
185131
|
-
columnNumber: 7
|
|
185132
|
-
}, globalThis), ";"]
|
|
185133
|
-
}, void 0, true, {
|
|
185134
|
-
fileName: _jsxFileName$6,
|
|
185135
|
-
lineNumber: 12,
|
|
185136
|
-
columnNumber: 5
|
|
185137
|
-
}, globalThis);
|
|
184435
|
+
}), ";"]
|
|
184436
|
+
});
|
|
185138
184437
|
};
|
|
185139
184438
|
function Box({
|
|
185140
184439
|
children
|
|
185141
184440
|
}) {
|
|
185142
|
-
return /* @__PURE__ */
|
|
184441
|
+
return /* @__PURE__ */ jsx("div", {
|
|
185143
184442
|
style: {
|
|
185144
184443
|
display: "block",
|
|
185145
184444
|
lineHeight: 1,
|
|
@@ -185149,13 +184448,8 @@ function Box({
|
|
|
185149
184448
|
width: "100%"
|
|
185150
184449
|
},
|
|
185151
184450
|
children
|
|
185152
|
-
}
|
|
185153
|
-
fileName: _jsxFileName$6,
|
|
185154
|
-
lineNumber: 25,
|
|
185155
|
-
columnNumber: 5
|
|
185156
|
-
}, this);
|
|
184451
|
+
});
|
|
185157
184452
|
}
|
|
185158
|
-
var _jsxFileName$5 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/Console/index.tsx";
|
|
185159
184453
|
const Console = (_m) => {
|
|
185160
184454
|
var _n = _m, {
|
|
185161
184455
|
options
|
|
@@ -185227,25 +184521,16 @@ const Console = (_m) => {
|
|
|
185227
184521
|
initTerminalText(terminal, "");
|
|
185228
184522
|
}
|
|
185229
184523
|
}, [dockerStatus]);
|
|
185230
|
-
return /* @__PURE__ */
|
|
184524
|
+
return /* @__PURE__ */ jsx("div", {
|
|
185231
184525
|
style: {
|
|
185232
184526
|
height: "100%",
|
|
185233
184527
|
width: "100%"
|
|
185234
184528
|
},
|
|
185235
|
-
children: /* @__PURE__ */
|
|
184529
|
+
children: /* @__PURE__ */ jsx(XTerm, __spreadValues({
|
|
185236
184530
|
terminal
|
|
185237
|
-
}, props)
|
|
185238
|
-
|
|
185239
|
-
|
|
185240
|
-
columnNumber: 7
|
|
185241
|
-
}, globalThis)
|
|
185242
|
-
}, void 0, false, {
|
|
185243
|
-
fileName: _jsxFileName$5,
|
|
185244
|
-
lineNumber: 82,
|
|
185245
|
-
columnNumber: 5
|
|
185246
|
-
}, globalThis);
|
|
185247
|
-
};
|
|
185248
|
-
var _jsxFileName$4 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/ToolBar/index.tsx";
|
|
184531
|
+
}, props))
|
|
184532
|
+
});
|
|
184533
|
+
};
|
|
185249
184534
|
const ToolBarWrapper = newStyled.div`
|
|
185250
184535
|
position: relative;
|
|
185251
184536
|
display: flex;
|
|
@@ -185279,76 +184564,44 @@ const ButtonContent = ({
|
|
|
185279
184564
|
playgroundStatus,
|
|
185280
184565
|
dockerStatus
|
|
185281
184566
|
}) => {
|
|
185282
|
-
return /* @__PURE__ */
|
|
184567
|
+
return /* @__PURE__ */ jsx(Fragment, {
|
|
185283
184568
|
children: (() => {
|
|
185284
184569
|
switch (playgroundStatus) {
|
|
185285
184570
|
case "EMPTY":
|
|
185286
|
-
return /* @__PURE__ */
|
|
185287
|
-
children: [/* @__PURE__ */
|
|
184571
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
184572
|
+
children: [/* @__PURE__ */ jsx("i", {
|
|
185288
184573
|
className: "w-5 h-5 mr-2.5 text-xl d42 loading text-white animate-spin flex justify-center items-center"
|
|
185289
|
-
},
|
|
185290
|
-
fileName: _jsxFileName$4,
|
|
185291
|
-
lineNumber: 49,
|
|
185292
|
-
columnNumber: 17
|
|
185293
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
184574
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
185294
184575
|
children: "\u52A0\u8F7D\u4E2D..."
|
|
185295
|
-
}
|
|
185296
|
-
|
|
185297
|
-
lineNumber: 50,
|
|
185298
|
-
columnNumber: 17
|
|
185299
|
-
}, globalThis)]
|
|
185300
|
-
}, void 0, true);
|
|
184576
|
+
})]
|
|
184577
|
+
});
|
|
185301
184578
|
case "ACTIVE":
|
|
185302
|
-
return dockerStatus === "STOP" ? /* @__PURE__ */
|
|
185303
|
-
children: [/* @__PURE__ */
|
|
184579
|
+
return dockerStatus === "STOP" ? /* @__PURE__ */ jsxs(Fragment, {
|
|
184580
|
+
children: [/* @__PURE__ */ jsx("i", {
|
|
185304
184581
|
className: "w-5 h-5 mr-2.5 text-xl d42 run-solid text-white flex justify-center items-center"
|
|
185305
|
-
},
|
|
185306
|
-
fileName: _jsxFileName$4,
|
|
185307
|
-
lineNumber: 56,
|
|
185308
|
-
columnNumber: 17
|
|
185309
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
184582
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
185310
184583
|
children: "\u8FD0\u884C"
|
|
185311
|
-
}
|
|
185312
|
-
|
|
185313
|
-
|
|
185314
|
-
columnNumber: 17
|
|
185315
|
-
}, globalThis)]
|
|
185316
|
-
}, void 0, true) : dockerStatus === "RUNNING" && /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(jsxDevRuntime.exports.Fragment, {
|
|
185317
|
-
children: [/* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
184584
|
+
})]
|
|
184585
|
+
}) : dockerStatus === "RUNNING" && /* @__PURE__ */ jsxs(Fragment, {
|
|
184586
|
+
children: [/* @__PURE__ */ jsx("i", {
|
|
185318
184587
|
className: "w-5 h-5 mr-2.5 text-xl d42 stop text-white flex justify-center items-center"
|
|
185319
|
-
},
|
|
185320
|
-
fileName: _jsxFileName$4,
|
|
185321
|
-
lineNumber: 62,
|
|
185322
|
-
columnNumber: 19
|
|
185323
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
184588
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
185324
184589
|
children: "\u505C\u6B62\u8FD0\u884C"
|
|
185325
|
-
}
|
|
185326
|
-
|
|
185327
|
-
lineNumber: 63,
|
|
185328
|
-
columnNumber: 19
|
|
185329
|
-
}, globalThis)]
|
|
185330
|
-
}, void 0, true);
|
|
184590
|
+
})]
|
|
184591
|
+
});
|
|
185331
184592
|
case "INACTIVE":
|
|
185332
|
-
return /* @__PURE__ */
|
|
185333
|
-
children: [/* @__PURE__ */
|
|
184593
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
184594
|
+
children: [/* @__PURE__ */ jsx("i", {
|
|
185334
184595
|
className: "w-5 h-5 mr-2.5 self-center text-xl d42 cloud-offline-outline flex justify-center items-center"
|
|
185335
|
-
},
|
|
185336
|
-
fileName: _jsxFileName$4,
|
|
185337
|
-
lineNumber: 70,
|
|
185338
|
-
columnNumber: 17
|
|
185339
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
184596
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
185340
184597
|
children: "\u6FC0\u6D3B"
|
|
185341
|
-
}
|
|
185342
|
-
|
|
185343
|
-
lineNumber: 71,
|
|
185344
|
-
columnNumber: 17
|
|
185345
|
-
}, globalThis)]
|
|
185346
|
-
}, void 0, true);
|
|
184598
|
+
})]
|
|
184599
|
+
});
|
|
185347
184600
|
default:
|
|
185348
|
-
return /* @__PURE__ */
|
|
184601
|
+
return /* @__PURE__ */ jsx(Fragment, {});
|
|
185349
184602
|
}
|
|
185350
184603
|
})()
|
|
185351
|
-
}
|
|
184604
|
+
});
|
|
185352
184605
|
};
|
|
185353
184606
|
const ToolBar = (_o) => {
|
|
185354
184607
|
var props = __objRest(_o, []);
|
|
@@ -185395,49 +184648,28 @@ const ToolBar = (_o) => {
|
|
|
185395
184648
|
return connection2.downlink * 1024 / 8;
|
|
185396
184649
|
}
|
|
185397
184650
|
};
|
|
185398
|
-
return /* @__PURE__ */
|
|
185399
|
-
children: [/* @__PURE__ */
|
|
184651
|
+
return /* @__PURE__ */ jsxs(ToolBarWrapper, {
|
|
184652
|
+
children: [/* @__PURE__ */ jsx(ButtonWrapper, __spreadProps(__spreadValues({
|
|
185400
184653
|
onClick: playgroundStatus === "INACTIVE" || dockerStatus === "STOP" ? onRun : onStop,
|
|
185401
184654
|
className: [playgroundStatus === "EMPTY" ? "disabled" : "", playgroundStatus === "ACTIVE" && dockerStatus === "RUNNING" ? "pro-running" : ""].join(" ")
|
|
185402
184655
|
}, props), {
|
|
185403
|
-
children: /* @__PURE__ */
|
|
184656
|
+
children: /* @__PURE__ */ jsx(ButtonContent, {
|
|
185404
184657
|
playgroundStatus,
|
|
185405
184658
|
dockerStatus
|
|
185406
|
-
}
|
|
185407
|
-
|
|
185408
|
-
lineNumber: 152,
|
|
185409
|
-
columnNumber: 9
|
|
185410
|
-
}, globalThis)
|
|
185411
|
-
}), void 0, false, {
|
|
185412
|
-
fileName: _jsxFileName$4,
|
|
185413
|
-
lineNumber: 138,
|
|
185414
|
-
columnNumber: 7
|
|
185415
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
184659
|
+
})
|
|
184660
|
+
})), /* @__PURE__ */ jsx("i", {
|
|
185416
184661
|
className: "d42 offline text-xl text-white absolute animate-pulse -right-2",
|
|
185417
184662
|
style: {
|
|
185418
184663
|
display: netStatus === "OFFLINE" ? "block" : "none"
|
|
185419
184664
|
}
|
|
185420
|
-
},
|
|
185421
|
-
fileName: _jsxFileName$4,
|
|
185422
|
-
lineNumber: 157,
|
|
185423
|
-
columnNumber: 7
|
|
185424
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
184665
|
+
}), /* @__PURE__ */ jsx("i", {
|
|
185425
184666
|
className: "d42 loading text-xl text-white animate-spin absolute -right-2",
|
|
185426
184667
|
style: {
|
|
185427
184668
|
display: netStatus === "WEAK_NET" ? "block" : "none"
|
|
185428
184669
|
}
|
|
185429
|
-
}
|
|
185430
|
-
|
|
185431
|
-
|
|
185432
|
-
columnNumber: 7
|
|
185433
|
-
}, globalThis)]
|
|
185434
|
-
}, void 0, true, {
|
|
185435
|
-
fileName: _jsxFileName$4,
|
|
185436
|
-
lineNumber: 137,
|
|
185437
|
-
columnNumber: 5
|
|
185438
|
-
}, globalThis);
|
|
185439
|
-
};
|
|
185440
|
-
var _jsxFileName$3 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/OutputBrowser/index.tsx";
|
|
184670
|
+
})]
|
|
184671
|
+
});
|
|
184672
|
+
};
|
|
185441
184673
|
const PROTOCOL = "https://";
|
|
185442
184674
|
const NavBar = newStyled.div`
|
|
185443
184675
|
background-color: white;
|
|
@@ -185544,61 +184776,33 @@ const OutputBrowser = (_p) => {
|
|
|
185544
184776
|
}
|
|
185545
184777
|
}
|
|
185546
184778
|
}, [playgroundStatus, dockerStatus]);
|
|
185547
|
-
return /* @__PURE__ */
|
|
185548
|
-
children: [/* @__PURE__ */
|
|
185549
|
-
children: [/* @__PURE__ */
|
|
184779
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
184780
|
+
children: [/* @__PURE__ */ jsxs(NavBar, {
|
|
184781
|
+
children: [/* @__PURE__ */ jsx("i", {
|
|
185550
184782
|
className: "d42 text-xl reload cursor-pointer",
|
|
185551
184783
|
onClick: onRefresh
|
|
185552
|
-
},
|
|
185553
|
-
fileName: _jsxFileName$3,
|
|
185554
|
-
lineNumber: 154,
|
|
185555
|
-
columnNumber: 9
|
|
185556
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("input", {
|
|
184784
|
+
}), /* @__PURE__ */ jsx("input", {
|
|
185557
184785
|
type: "text",
|
|
185558
184786
|
value: iframeSrc,
|
|
185559
184787
|
onChange: (e2) => setIframeSrc(e2.target.value),
|
|
185560
184788
|
onKeyDown: onEnterKey
|
|
185561
|
-
},
|
|
185562
|
-
fileName: _jsxFileName$3,
|
|
185563
|
-
lineNumber: 155,
|
|
185564
|
-
columnNumber: 9
|
|
185565
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
184789
|
+
}), /* @__PURE__ */ jsx("i", {
|
|
185566
184790
|
className: "d42 text-xl file-copy cursor-pointer",
|
|
185567
184791
|
onClick: onOpenInNewTab
|
|
185568
|
-
}
|
|
185569
|
-
|
|
185570
|
-
|
|
185571
|
-
columnNumber: 9
|
|
185572
|
-
}, globalThis)]
|
|
185573
|
-
}, void 0, true, {
|
|
185574
|
-
fileName: _jsxFileName$3,
|
|
185575
|
-
lineNumber: 145,
|
|
185576
|
-
columnNumber: 7
|
|
185577
|
-
}, globalThis), dockerStatus === "STOP" && /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(StopMask, {
|
|
185578
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("span", {
|
|
184792
|
+
})]
|
|
184793
|
+
}), dockerStatus === "STOP" && /* @__PURE__ */ jsx(StopMask, {
|
|
184794
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
185579
184795
|
children: "\u70B9\u51FB\u201C\u8FD0\u884C\u201D\uFF0C\u542F\u52A8\u5E94\u7528"
|
|
185580
|
-
}
|
|
185581
|
-
|
|
185582
|
-
lineNumber: 168,
|
|
185583
|
-
columnNumber: 11
|
|
185584
|
-
}, globalThis)
|
|
185585
|
-
}, void 0, false, {
|
|
185586
|
-
fileName: _jsxFileName$3,
|
|
185587
|
-
lineNumber: 167,
|
|
185588
|
-
columnNumber: 9
|
|
185589
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("iframe", {
|
|
184796
|
+
})
|
|
184797
|
+
}), /* @__PURE__ */ jsx("iframe", {
|
|
185590
184798
|
ref: iframeRef,
|
|
185591
184799
|
src: iframeSrc,
|
|
185592
184800
|
style: {
|
|
185593
184801
|
width: "100%",
|
|
185594
184802
|
height: "calc(100% - 30px)"
|
|
185595
184803
|
}
|
|
185596
|
-
}
|
|
185597
|
-
|
|
185598
|
-
lineNumber: 171,
|
|
185599
|
-
columnNumber: 7
|
|
185600
|
-
}, globalThis)]
|
|
185601
|
-
}, void 0, true);
|
|
184804
|
+
})]
|
|
184805
|
+
});
|
|
185602
184806
|
};
|
|
185603
184807
|
var loglevel = { exports: {} };
|
|
185604
184808
|
(function(module2) {
|
|
@@ -226708,7 +225912,7 @@ var hls = { exports: {} };
|
|
|
226708
225912
|
return BaseSegment;
|
|
226709
225913
|
});
|
|
226710
225914
|
__webpack_require__.d(__webpack_exports__, "Fragment", function() {
|
|
226711
|
-
return
|
|
225915
|
+
return Fragment2;
|
|
226712
225916
|
});
|
|
226713
225917
|
__webpack_require__.d(__webpack_exports__, "Part", function() {
|
|
226714
225918
|
return Part;
|
|
@@ -226809,9 +226013,9 @@ var hls = { exports: {} };
|
|
|
226809
226013
|
}]);
|
|
226810
226014
|
return BaseSegment2;
|
|
226811
226015
|
}();
|
|
226812
|
-
var
|
|
226813
|
-
_inheritsLoose2(
|
|
226814
|
-
function
|
|
226016
|
+
var Fragment2 = /* @__PURE__ */ function(_BaseSegment) {
|
|
226017
|
+
_inheritsLoose2(Fragment3, _BaseSegment);
|
|
226018
|
+
function Fragment3(type, baseurl) {
|
|
226815
226019
|
var _this;
|
|
226816
226020
|
_this = _BaseSegment.call(this, baseurl) || this;
|
|
226817
226021
|
_this._decryptdata = null;
|
|
@@ -226843,7 +226047,7 @@ var hls = { exports: {} };
|
|
|
226843
226047
|
_this.type = type;
|
|
226844
226048
|
return _this;
|
|
226845
226049
|
}
|
|
226846
|
-
var _proto2 =
|
|
226050
|
+
var _proto2 = Fragment3.prototype;
|
|
226847
226051
|
_proto2.createInitializationVector = function createInitializationVector(segmentNumber) {
|
|
226848
226052
|
var uint8View = new Uint8Array(16);
|
|
226849
226053
|
for (var i2 = 12; i2 < 16; i2++) {
|
|
@@ -226888,7 +226092,7 @@ var hls = { exports: {} };
|
|
|
226888
226092
|
elementaryStreams[ElementaryStreamTypes.VIDEO] = null;
|
|
226889
226093
|
elementaryStreams[ElementaryStreamTypes.AUDIOVIDEO] = null;
|
|
226890
226094
|
};
|
|
226891
|
-
_createClass(
|
|
226095
|
+
_createClass(Fragment3, [{
|
|
226892
226096
|
key: "decryptdata",
|
|
226893
226097
|
get: function get2() {
|
|
226894
226098
|
if (!this.levelkey && !this._decryptdata) {
|
|
@@ -226933,7 +226137,7 @@ var hls = { exports: {} };
|
|
|
226933
226137
|
return false;
|
|
226934
226138
|
}
|
|
226935
226139
|
}]);
|
|
226936
|
-
return
|
|
226140
|
+
return Fragment3;
|
|
226937
226141
|
}(BaseSegment);
|
|
226938
226142
|
var Part = /* @__PURE__ */ function(_BaseSegment2) {
|
|
226939
226143
|
_inheritsLoose2(Part2, _BaseSegment2);
|
|
@@ -234577,7 +233781,6 @@ var s = function() {
|
|
|
234577
233781
|
return this.map[t3] = i2, i2;
|
|
234578
233782
|
}, t2;
|
|
234579
233783
|
}();
|
|
234580
|
-
var _jsxFileName$2 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/LiveContent/video.tsx";
|
|
234581
233784
|
const VideoWrapper = newStyled.div`
|
|
234582
233785
|
position: relative;
|
|
234583
233786
|
min-width: 300px;
|
|
@@ -234617,63 +233820,39 @@ const MicroPhoneComponent = ({
|
|
|
234617
233820
|
onCloseAudio,
|
|
234618
233821
|
onOpenAudio
|
|
234619
233822
|
}) => {
|
|
234620
|
-
return audioOpening ? /* @__PURE__ */
|
|
233823
|
+
return audioOpening ? /* @__PURE__ */ jsx("i", {
|
|
234621
233824
|
className: "d42 microphone",
|
|
234622
233825
|
onClick: onCloseAudio
|
|
234623
|
-
}
|
|
234624
|
-
fileName: _jsxFileName$2,
|
|
234625
|
-
lineNumber: 62,
|
|
234626
|
-
columnNumber: 5
|
|
234627
|
-
}, globalThis) : /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
233826
|
+
}) : /* @__PURE__ */ jsx("i", {
|
|
234628
233827
|
className: "d42 microphone-off",
|
|
234629
233828
|
onClick: onOpenAudio
|
|
234630
|
-
}
|
|
234631
|
-
fileName: _jsxFileName$2,
|
|
234632
|
-
lineNumber: 64,
|
|
234633
|
-
columnNumber: 5
|
|
234634
|
-
}, globalThis);
|
|
233829
|
+
});
|
|
234635
233830
|
};
|
|
234636
233831
|
const VideoPlayingComponent = ({
|
|
234637
233832
|
videoPlaying,
|
|
234638
233833
|
onCloseVideo,
|
|
234639
233834
|
onOpenVideo
|
|
234640
233835
|
}) => {
|
|
234641
|
-
return videoPlaying ? /* @__PURE__ */
|
|
233836
|
+
return videoPlaying ? /* @__PURE__ */ jsx("i", {
|
|
234642
233837
|
className: "d42 video-off",
|
|
234643
233838
|
onClick: onCloseVideo
|
|
234644
|
-
}
|
|
234645
|
-
fileName: _jsxFileName$2,
|
|
234646
|
-
lineNumber: 74,
|
|
234647
|
-
columnNumber: 5
|
|
234648
|
-
}, globalThis) : /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
233839
|
+
}) : /* @__PURE__ */ jsx("i", {
|
|
234649
233840
|
className: "d42 video",
|
|
234650
233841
|
onClick: onOpenVideo
|
|
234651
|
-
}
|
|
234652
|
-
fileName: _jsxFileName$2,
|
|
234653
|
-
lineNumber: 76,
|
|
234654
|
-
columnNumber: 5
|
|
234655
|
-
}, globalThis);
|
|
233842
|
+
});
|
|
234656
233843
|
};
|
|
234657
233844
|
const RecordComponent = ({
|
|
234658
233845
|
recording,
|
|
234659
233846
|
onStopRecord,
|
|
234660
233847
|
onStartRecord
|
|
234661
233848
|
}) => {
|
|
234662
|
-
return recording ? /* @__PURE__ */
|
|
233849
|
+
return recording ? /* @__PURE__ */ jsx("i", {
|
|
234663
233850
|
className: "d42 stop text-red-600",
|
|
234664
233851
|
onClick: onStopRecord
|
|
234665
|
-
}
|
|
234666
|
-
fileName: _jsxFileName$2,
|
|
234667
|
-
lineNumber: 86,
|
|
234668
|
-
columnNumber: 5
|
|
234669
|
-
}, globalThis) : /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
233852
|
+
}) : /* @__PURE__ */ jsx("i", {
|
|
234670
233853
|
className: "d42 record text-red-600",
|
|
234671
233854
|
onClick: onStartRecord
|
|
234672
|
-
}
|
|
234673
|
-
fileName: _jsxFileName$2,
|
|
234674
|
-
lineNumber: 88,
|
|
234675
|
-
columnNumber: 5
|
|
234676
|
-
}, globalThis);
|
|
233855
|
+
});
|
|
234677
233856
|
};
|
|
234678
233857
|
const VideoComponent = ({
|
|
234679
233858
|
userMedia,
|
|
@@ -234749,67 +233928,34 @@ const VideoComponent = ({
|
|
|
234749
233928
|
return;
|
|
234750
233929
|
}
|
|
234751
233930
|
}, [rtc, segmentId]);
|
|
234752
|
-
return /* @__PURE__ */
|
|
234753
|
-
children: [/* @__PURE__ */
|
|
233931
|
+
return /* @__PURE__ */ jsxs(VideoWrapper, {
|
|
233932
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
234754
233933
|
className: "absolute text-red-600 top-1 right-3 z-10 cursor-pointer",
|
|
234755
233934
|
onClick: closeWindow,
|
|
234756
233935
|
children: "x"
|
|
234757
|
-
},
|
|
234758
|
-
fileName: _jsxFileName$2,
|
|
234759
|
-
lineNumber: 178,
|
|
234760
|
-
columnNumber: 7
|
|
234761
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("video", {
|
|
233936
|
+
}), /* @__PURE__ */ jsx("video", {
|
|
234762
233937
|
id: "video-" + currentId
|
|
234763
|
-
},
|
|
234764
|
-
fileName: _jsxFileName$2,
|
|
234765
|
-
lineNumber: 184,
|
|
234766
|
-
columnNumber: 7
|
|
234767
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("audio", {
|
|
233938
|
+
}), /* @__PURE__ */ jsx("audio", {
|
|
234768
233939
|
id: "audio-" + currentId
|
|
234769
|
-
},
|
|
234770
|
-
|
|
234771
|
-
|
|
234772
|
-
columnNumber: 7
|
|
234773
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(ToolMask, {
|
|
234774
|
-
children: isRemote ? "\u97F3\u91CF" : /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(jsxDevRuntime.exports.Fragment, {
|
|
234775
|
-
children: [/* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(MicroPhoneComponent, {
|
|
233940
|
+
}), /* @__PURE__ */ jsx(ToolMask, {
|
|
233941
|
+
children: isRemote ? "\u97F3\u91CF" : /* @__PURE__ */ jsxs(Fragment, {
|
|
233942
|
+
children: [/* @__PURE__ */ jsx(MicroPhoneComponent, {
|
|
234776
233943
|
audioOpening,
|
|
234777
233944
|
onOpenAudio,
|
|
234778
233945
|
onCloseAudio
|
|
234779
|
-
},
|
|
234780
|
-
fileName: _jsxFileName$2,
|
|
234781
|
-
lineNumber: 191,
|
|
234782
|
-
columnNumber: 13
|
|
234783
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(VideoPlayingComponent, {
|
|
233946
|
+
}), /* @__PURE__ */ jsx(VideoPlayingComponent, {
|
|
234784
233947
|
videoPlaying,
|
|
234785
233948
|
onOpenVideo,
|
|
234786
233949
|
onCloseVideo
|
|
234787
|
-
},
|
|
234788
|
-
fileName: _jsxFileName$2,
|
|
234789
|
-
lineNumber: 196,
|
|
234790
|
-
columnNumber: 13
|
|
234791
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(RecordComponent, {
|
|
233950
|
+
}), /* @__PURE__ */ jsx(RecordComponent, {
|
|
234792
233951
|
recording,
|
|
234793
233952
|
onStartRecord,
|
|
234794
233953
|
onStopRecord
|
|
234795
|
-
}
|
|
234796
|
-
|
|
234797
|
-
|
|
234798
|
-
|
|
234799
|
-
|
|
234800
|
-
}, void 0, true)
|
|
234801
|
-
}, void 0, false, {
|
|
234802
|
-
fileName: _jsxFileName$2,
|
|
234803
|
-
lineNumber: 186,
|
|
234804
|
-
columnNumber: 7
|
|
234805
|
-
}, globalThis)]
|
|
234806
|
-
}, void 0, true, {
|
|
234807
|
-
fileName: _jsxFileName$2,
|
|
234808
|
-
lineNumber: 177,
|
|
234809
|
-
columnNumber: 5
|
|
234810
|
-
}, globalThis);
|
|
234811
|
-
};
|
|
234812
|
-
var _jsxFileName$1 = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/components/LiveContent/index.tsx";
|
|
233954
|
+
})]
|
|
233955
|
+
})
|
|
233956
|
+
})]
|
|
233957
|
+
});
|
|
233958
|
+
};
|
|
234813
233959
|
const LiveLayout = newStyled.div`
|
|
234814
233960
|
button {
|
|
234815
233961
|
color: #fff;
|
|
@@ -234938,47 +234084,31 @@ const LiveContent = ({}) => {
|
|
|
234938
234084
|
react.exports.useEffect(() => {
|
|
234939
234085
|
initRTC();
|
|
234940
234086
|
}, []);
|
|
234941
|
-
return /* @__PURE__ */
|
|
234087
|
+
return /* @__PURE__ */ jsxs(LiveLayout, {
|
|
234942
234088
|
className: "flex items-center",
|
|
234943
|
-
children: [joining ? /* @__PURE__ */
|
|
234944
|
-
children: [/* @__PURE__ */
|
|
234089
|
+
children: [joining ? /* @__PURE__ */ jsxs(Fragment, {
|
|
234090
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
234945
234091
|
className: "button",
|
|
234946
234092
|
onClick: () => joinOrLeaveHome(d42rtc, false),
|
|
234947
234093
|
children: "\u79BB\u5F00\u623F\u95F4"
|
|
234948
|
-
},
|
|
234949
|
-
fileName: _jsxFileName$1,
|
|
234950
|
-
lineNumber: 178,
|
|
234951
|
-
columnNumber: 11
|
|
234952
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234094
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
234953
234095
|
className: "button",
|
|
234954
234096
|
onClick: () => startVideo(d42rtc),
|
|
234955
234097
|
children: "\u53D1\u8D77\u89C6\u9891"
|
|
234956
|
-
}
|
|
234957
|
-
|
|
234958
|
-
lineNumber: 184,
|
|
234959
|
-
columnNumber: 11
|
|
234960
|
-
}, globalThis)]
|
|
234961
|
-
}, void 0, true) : /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234098
|
+
})]
|
|
234099
|
+
}) : /* @__PURE__ */ jsx("button", {
|
|
234962
234100
|
className: "button",
|
|
234963
234101
|
onClick: () => joinOrLeaveHome(d42rtc, true),
|
|
234964
234102
|
children: "\u52A0\u5165\u623F\u95F4"
|
|
234965
|
-
},
|
|
234966
|
-
fileName: _jsxFileName$1,
|
|
234967
|
-
lineNumber: 189,
|
|
234968
|
-
columnNumber: 9
|
|
234969
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234103
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
234970
234104
|
className: "button",
|
|
234971
234105
|
onClick: replayMedia,
|
|
234972
234106
|
children: "\u89C6\u9891\u56DE\u653E"
|
|
234973
|
-
},
|
|
234974
|
-
fileName: _jsxFileName$1,
|
|
234975
|
-
lineNumber: 196,
|
|
234976
|
-
columnNumber: 7
|
|
234977
|
-
}, globalThis), ReactDOM.createPortal(/* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(VideoLayout, {
|
|
234107
|
+
}), ReactDOM.createPortal(/* @__PURE__ */ jsx(VideoLayout, {
|
|
234978
234108
|
style: {
|
|
234979
234109
|
display: visible ? "block" : "none"
|
|
234980
234110
|
},
|
|
234981
|
-
children: callingUserMedias.map((item, index2) => /* @__PURE__ */
|
|
234111
|
+
children: callingUserMedias.map((item, index2) => /* @__PURE__ */ jsx(VideoComponent, {
|
|
234982
234112
|
userMedia: item,
|
|
234983
234113
|
isRemote: !IsMe({
|
|
234984
234114
|
uuid: item.id
|
|
@@ -234989,23 +234119,10 @@ const LiveContent = ({}) => {
|
|
|
234989
234119
|
closeVideoWindow,
|
|
234990
234120
|
replaying,
|
|
234991
234121
|
segmentId: segmentId[index2]
|
|
234992
|
-
}, item.id
|
|
234993
|
-
|
|
234994
|
-
|
|
234995
|
-
|
|
234996
|
-
}, globalThis))
|
|
234997
|
-
}, void 0, false, {
|
|
234998
|
-
fileName: _jsxFileName$1,
|
|
234999
|
-
lineNumber: 200,
|
|
235000
|
-
columnNumber: 9
|
|
235001
|
-
}, globalThis), document.body)]
|
|
235002
|
-
}, void 0, true, {
|
|
235003
|
-
fileName: _jsxFileName$1,
|
|
235004
|
-
lineNumber: 175,
|
|
235005
|
-
columnNumber: 5
|
|
235006
|
-
}, globalThis);
|
|
235007
|
-
};
|
|
235008
|
-
var _jsxFileName = "/Users/NewItem/Documents/WorkSpace/d42paas_frontend/packages/client/src/pages/index.tsx";
|
|
234122
|
+
}, item.id))
|
|
234123
|
+
}), document.body)]
|
|
234124
|
+
});
|
|
234125
|
+
};
|
|
235009
234126
|
var LanguageIcon;
|
|
235010
234127
|
(function(LanguageIcon2) {
|
|
235011
234128
|
LanguageIcon2["js"] = "javascript";
|
|
@@ -235109,18 +234226,14 @@ const Index = (props) => {
|
|
|
235109
234226
|
socket: socket2
|
|
235110
234227
|
} = useOT.getState();
|
|
235111
234228
|
let terminalTabsTimer = 1;
|
|
235112
|
-
const [consoleComp, setConsoleComp] = react.exports.useState(/* @__PURE__ */
|
|
234229
|
+
const [consoleComp, setConsoleComp] = react.exports.useState(/* @__PURE__ */ jsx(Fragment, {}));
|
|
235113
234230
|
react.exports.useEffect(() => {
|
|
235114
234231
|
if (terminalTabsTimer && active === "console") {
|
|
235115
234232
|
terminalTabsTimer--;
|
|
235116
|
-
setConsoleComp(/* @__PURE__ */
|
|
234233
|
+
setConsoleComp(/* @__PURE__ */ jsx(Console, {
|
|
235117
234234
|
options: defaultOptions2,
|
|
235118
234235
|
fitHook: isFolded
|
|
235119
|
-
}
|
|
235120
|
-
fileName: _jsxFileName,
|
|
235121
|
-
lineNumber: 154,
|
|
235122
|
-
columnNumber: 22
|
|
235123
|
-
}, globalThis));
|
|
234236
|
+
}));
|
|
235124
234237
|
}
|
|
235125
234238
|
}, [active]);
|
|
235126
234239
|
react.exports.useEffect(() => {
|
|
@@ -235135,93 +234248,41 @@ const Index = (props) => {
|
|
|
235135
234248
|
playgroundId: props.playgroundId
|
|
235136
234249
|
})));
|
|
235137
234250
|
}, [props.playgroundId]);
|
|
235138
|
-
return /* @__PURE__ */
|
|
235139
|
-
children: /* @__PURE__ */
|
|
234251
|
+
return /* @__PURE__ */ jsx(Fragment, {
|
|
234252
|
+
children: /* @__PURE__ */ jsxs(MainLayout, {
|
|
235140
234253
|
className: "flex flex-col",
|
|
235141
|
-
children: [/* @__PURE__ */
|
|
235142
|
-
fileName: _jsxFileName,
|
|
235143
|
-
lineNumber: 189,
|
|
235144
|
-
columnNumber: 9
|
|
235145
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(ContainerLayout, {
|
|
234254
|
+
children: [/* @__PURE__ */ jsx(HeaderComponent, {}), /* @__PURE__ */ jsxs(ContainerLayout, {
|
|
235146
234255
|
className: "flex flex-1 mt-2.5 flex-row",
|
|
235147
|
-
children: [/* @__PURE__ */
|
|
234256
|
+
children: [/* @__PURE__ */ jsxs("section", {
|
|
235148
234257
|
className: "flex flex-row",
|
|
235149
|
-
children: [/* @__PURE__ */
|
|
235150
|
-
|
|
235151
|
-
lineNumber: 195,
|
|
235152
|
-
columnNumber: 13
|
|
235153
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(TreeComponent, {}, void 0, false, {
|
|
235154
|
-
fileName: _jsxFileName,
|
|
235155
|
-
lineNumber: 196,
|
|
235156
|
-
columnNumber: 13
|
|
235157
|
-
}, globalThis)]
|
|
235158
|
-
}, void 0, true, {
|
|
235159
|
-
fileName: _jsxFileName,
|
|
235160
|
-
lineNumber: 194,
|
|
235161
|
-
columnNumber: 11
|
|
235162
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("section", {
|
|
234258
|
+
children: [/* @__PURE__ */ jsx(SliderComponent, {}), /* @__PURE__ */ jsx(TreeComponent, {})]
|
|
234259
|
+
}), /* @__PURE__ */ jsx("section", {
|
|
235163
234260
|
className: "bg-codezone-black rounded-sm mx-3.5 flex-1 flex flex-col",
|
|
235164
|
-
children: playgroundInfo.dockerId ? /* @__PURE__ */
|
|
235165
|
-
children: /* @__PURE__ */
|
|
235166
|
-
fallback: /* @__PURE__ */
|
|
234261
|
+
children: playgroundInfo.dockerId ? /* @__PURE__ */ jsx(IDELayout, {
|
|
234262
|
+
children: /* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
234263
|
+
fallback: /* @__PURE__ */ jsx(Skeleton, {
|
|
235167
234264
|
count: 10
|
|
235168
|
-
},
|
|
235169
|
-
|
|
235170
|
-
|
|
235171
|
-
|
|
235172
|
-
|
|
235173
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Editor, {}, void 0, false, {
|
|
235174
|
-
fileName: _jsxFileName,
|
|
235175
|
-
lineNumber: 205,
|
|
235176
|
-
columnNumber: 19
|
|
235177
|
-
}, globalThis)
|
|
235178
|
-
}, void 0, false, {
|
|
235179
|
-
fileName: _jsxFileName,
|
|
235180
|
-
lineNumber: 204,
|
|
235181
|
-
columnNumber: 17
|
|
235182
|
-
}, globalThis)
|
|
235183
|
-
}, void 0, false, {
|
|
235184
|
-
fileName: _jsxFileName,
|
|
235185
|
-
lineNumber: 202,
|
|
235186
|
-
columnNumber: 15
|
|
235187
|
-
}, globalThis) : null
|
|
235188
|
-
}, void 0, false, {
|
|
235189
|
-
fileName: _jsxFileName,
|
|
235190
|
-
lineNumber: 200,
|
|
235191
|
-
columnNumber: 11
|
|
235192
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(RunnerLayout, {
|
|
234265
|
+
}),
|
|
234266
|
+
children: /* @__PURE__ */ jsx(Editor, {})
|
|
234267
|
+
})
|
|
234268
|
+
}) : null
|
|
234269
|
+
}), /* @__PURE__ */ jsxs(RunnerLayout, {
|
|
235193
234270
|
className: `rounded-sm mr-2.5`,
|
|
235194
|
-
children: [/* @__PURE__ */
|
|
234271
|
+
children: [/* @__PURE__ */ jsx(PreviewWrapper, {
|
|
235195
234272
|
className: "mb-2.5 relative",
|
|
235196
|
-
children: /* @__PURE__ */
|
|
234273
|
+
children: /* @__PURE__ */ jsx(OutputBrowser, {
|
|
235197
234274
|
url: url2
|
|
235198
|
-
}
|
|
235199
|
-
|
|
235200
|
-
lineNumber: 217,
|
|
235201
|
-
columnNumber: 15
|
|
235202
|
-
}, globalThis)
|
|
235203
|
-
}, void 0, false, {
|
|
235204
|
-
fileName: _jsxFileName,
|
|
235205
|
-
lineNumber: 216,
|
|
235206
|
-
columnNumber: 13
|
|
235207
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Tabs, {
|
|
234275
|
+
})
|
|
234276
|
+
}), /* @__PURE__ */ jsx(Tabs, {
|
|
235208
234277
|
className: "mb-1",
|
|
235209
234278
|
appearance: "tabs",
|
|
235210
234279
|
activeKey: active,
|
|
235211
234280
|
onSelect: setActive,
|
|
235212
234281
|
tabItems
|
|
235213
|
-
},
|
|
235214
|
-
|
|
235215
|
-
|
|
235216
|
-
|
|
235217
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(react.exports.Suspense, {
|
|
235218
|
-
fallback: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(Skeleton, {}, void 0, false, {
|
|
235219
|
-
fileName: _jsxFileName,
|
|
235220
|
-
lineNumber: 227,
|
|
235221
|
-
columnNumber: 33
|
|
235222
|
-
}, globalThis),
|
|
235223
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(TermWrapper, {
|
|
235224
|
-
children: [/* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
234282
|
+
}), /* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
234283
|
+
fallback: /* @__PURE__ */ jsx(Skeleton, {}),
|
|
234284
|
+
children: /* @__PURE__ */ jsxs(TermWrapper, {
|
|
234285
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
235225
234286
|
className: "",
|
|
235226
234287
|
style: {
|
|
235227
234288
|
display: active === "console" ? "block" : "none",
|
|
@@ -235229,55 +234290,23 @@ const Index = (props) => {
|
|
|
235229
234290
|
width: "100%"
|
|
235230
234291
|
},
|
|
235231
234292
|
children: consoleComp
|
|
235232
|
-
}, "console",
|
|
235233
|
-
fileName: _jsxFileName,
|
|
235234
|
-
lineNumber: 229,
|
|
235235
|
-
columnNumber: 17
|
|
235236
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
234293
|
+
}, "console"), /* @__PURE__ */ jsx("div", {
|
|
235237
234294
|
style: {
|
|
235238
234295
|
display: active === "console" ? "none" : "block",
|
|
235239
234296
|
height: "100%",
|
|
235240
234297
|
width: "100%"
|
|
235241
234298
|
},
|
|
235242
|
-
children: /* @__PURE__ */
|
|
234299
|
+
children: /* @__PURE__ */ jsx(TerminalComponent, {
|
|
235243
234300
|
options: defaultOptions2,
|
|
235244
234301
|
fitHook: isFolded
|
|
235245
|
-
}
|
|
235246
|
-
|
|
235247
|
-
|
|
235248
|
-
|
|
235249
|
-
|
|
235250
|
-
|
|
235251
|
-
|
|
235252
|
-
|
|
235253
|
-
columnNumber: 17
|
|
235254
|
-
}, globalThis)]
|
|
235255
|
-
}, void 0, true, {
|
|
235256
|
-
fileName: _jsxFileName,
|
|
235257
|
-
lineNumber: 228,
|
|
235258
|
-
columnNumber: 15
|
|
235259
|
-
}, globalThis)
|
|
235260
|
-
}, void 0, false, {
|
|
235261
|
-
fileName: _jsxFileName,
|
|
235262
|
-
lineNumber: 227,
|
|
235263
|
-
columnNumber: 13
|
|
235264
|
-
}, globalThis)]
|
|
235265
|
-
}, void 0, true, {
|
|
235266
|
-
fileName: _jsxFileName,
|
|
235267
|
-
lineNumber: 212,
|
|
235268
|
-
columnNumber: 11
|
|
235269
|
-
}, globalThis)]
|
|
235270
|
-
}, void 0, true, {
|
|
235271
|
-
fileName: _jsxFileName,
|
|
235272
|
-
lineNumber: 191,
|
|
235273
|
-
columnNumber: 9
|
|
235274
|
-
}, globalThis)]
|
|
235275
|
-
}, void 0, true, {
|
|
235276
|
-
fileName: _jsxFileName,
|
|
235277
|
-
lineNumber: 187,
|
|
235278
|
-
columnNumber: 7
|
|
235279
|
-
}, globalThis)
|
|
235280
|
-
}, void 0, false);
|
|
234302
|
+
})
|
|
234303
|
+
}, "terminal")]
|
|
234304
|
+
})
|
|
234305
|
+
})]
|
|
234306
|
+
})]
|
|
234307
|
+
})]
|
|
234308
|
+
})
|
|
234309
|
+
});
|
|
235281
234310
|
};
|
|
235282
234311
|
const HeaderComponent = () => {
|
|
235283
234312
|
var _a2, _b2;
|
|
@@ -235288,11 +234317,11 @@ const HeaderComponent = () => {
|
|
|
235288
234317
|
setAppStatus
|
|
235289
234318
|
} = oTStore.getState();
|
|
235290
234319
|
const user = userStore.getState().userInfo;
|
|
235291
|
-
return userList ? /* @__PURE__ */
|
|
234320
|
+
return userList ? /* @__PURE__ */ jsxs(HeaderLayout, {
|
|
235292
234321
|
className: "relative bg-codezone-black h-16 flex px-9 flex-shrink-0 justify-between",
|
|
235293
|
-
children: [/* @__PURE__ */
|
|
234322
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
235294
234323
|
className: "flex",
|
|
235295
|
-
children: [/* @__PURE__ */
|
|
234324
|
+
children: [/* @__PURE__ */ jsx(Avatar, {
|
|
235296
234325
|
user,
|
|
235297
234326
|
onClick: () => {
|
|
235298
234327
|
const minePage = window.open("//github.com/login/oauth/authorize?client_id=7333fa72cf5753ba016e&redirect_uri=http://localhost:3000/auth/github", "targetWindow", `toolbar=no,
|
|
@@ -235307,47 +234336,27 @@ const HeaderComponent = () => {
|
|
|
235307
234336
|
minePage.close();
|
|
235308
234337
|
}, false);
|
|
235309
234338
|
}
|
|
235310
|
-
},
|
|
235311
|
-
fileName: _jsxFileName,
|
|
235312
|
-
lineNumber: 271,
|
|
235313
|
-
columnNumber: 9
|
|
235314
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
234339
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
235315
234340
|
className: "flex",
|
|
235316
234341
|
style: {
|
|
235317
234342
|
color: "#fff",
|
|
235318
234343
|
marginLeft: 20
|
|
235319
234344
|
},
|
|
235320
|
-
children: [/* @__PURE__ */
|
|
234345
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
235321
234346
|
className: "self-center",
|
|
235322
234347
|
children: user.name
|
|
235323
|
-
},
|
|
235324
|
-
fileName: _jsxFileName,
|
|
235325
|
-
lineNumber: 297,
|
|
235326
|
-
columnNumber: 11
|
|
235327
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
234348
|
+
}), /* @__PURE__ */ jsx("i", {
|
|
235328
234349
|
className: "self-center",
|
|
235329
234350
|
style: {
|
|
235330
234351
|
margin: "0 10px"
|
|
235331
234352
|
}
|
|
235332
|
-
},
|
|
235333
|
-
fileName: _jsxFileName,
|
|
235334
|
-
lineNumber: 298,
|
|
235335
|
-
columnNumber: 11
|
|
235336
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("i", {
|
|
234353
|
+
}), /* @__PURE__ */ jsx("i", {
|
|
235337
234354
|
className: `self-center
|
|
235338
234355
|
|
|
235339
234356
|
devicon-${(_b2 = (_a2 = oTStore.getState().playgroundInfo) == null ? void 0 : _a2.language) == null ? void 0 : _b2.toLowerCase()}-plain
|
|
235340
234357
|
lan-iconfont
|
|
235341
234358
|
colored`
|
|
235342
|
-
},
|
|
235343
|
-
fileName: _jsxFileName,
|
|
235344
|
-
lineNumber: 299,
|
|
235345
|
-
columnNumber: 11
|
|
235346
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(ToolBar, {}, void 0, false, {
|
|
235347
|
-
fileName: _jsxFileName,
|
|
235348
|
-
lineNumber: 311,
|
|
235349
|
-
columnNumber: 11
|
|
235350
|
-
}, globalThis), !globalData.isRecording ? /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234359
|
+
}), /* @__PURE__ */ jsx(ToolBar, {}), !globalData.isRecording ? /* @__PURE__ */ jsx("button", {
|
|
235351
234360
|
className: "replay-button self-center",
|
|
235352
234361
|
style: {
|
|
235353
234362
|
color: appStatus === "replay" ? "rgb(48, 89, 182)" : "#000"
|
|
@@ -235361,21 +234370,13 @@ const HeaderComponent = () => {
|
|
|
235361
234370
|
}
|
|
235362
234371
|
},
|
|
235363
234372
|
children: appStatus === "replay" ? "\u6682\u505C\u64AD\u653E" : appStatus === "pause" ? "\u7EE7\u7EED\u64AD\u653E" : "\u64AD\u653E"
|
|
235364
|
-
}
|
|
235365
|
-
fileName: _jsxFileName,
|
|
235366
|
-
lineNumber: 313,
|
|
235367
|
-
columnNumber: 13
|
|
235368
|
-
}, globalThis) : null, appStatus === "replay" ? /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234373
|
+
}) : null, appStatus === "replay" ? /* @__PURE__ */ jsx("button", {
|
|
235369
234374
|
className: "replay-button self-center",
|
|
235370
234375
|
onClick: () => {
|
|
235371
234376
|
replay("stop");
|
|
235372
234377
|
},
|
|
235373
234378
|
children: appStatus === "replay" ? "\u505C\u6B62\u64AD\u653E" : null
|
|
235374
|
-
}
|
|
235375
|
-
fileName: _jsxFileName,
|
|
235376
|
-
lineNumber: 337,
|
|
235377
|
-
columnNumber: 13
|
|
235378
|
-
}, globalThis) : null, appStatus !== "replay" ? /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234379
|
+
}) : null, appStatus !== "replay" ? /* @__PURE__ */ jsx("button", {
|
|
235379
234380
|
className: "replay-button self-center",
|
|
235380
234381
|
onClick: () => {
|
|
235381
234382
|
if (!globalData.isRecording) {
|
|
@@ -235389,11 +234390,7 @@ const HeaderComponent = () => {
|
|
|
235389
234390
|
}
|
|
235390
234391
|
},
|
|
235391
234392
|
children: globalData.isRecording ? "\u91CD\u65B0\u5F55\u5236" : "\u5F00\u59CB\u5F55\u5236"
|
|
235392
|
-
}
|
|
235393
|
-
fileName: _jsxFileName,
|
|
235394
|
-
lineNumber: 348,
|
|
235395
|
-
columnNumber: 13
|
|
235396
|
-
}, globalThis) : null, globalData.isRecording ? /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("button", {
|
|
234393
|
+
}) : null, globalData.isRecording ? /* @__PURE__ */ jsx("button", {
|
|
235397
234394
|
className: "replay-button self-center",
|
|
235398
234395
|
onClick: () => {
|
|
235399
234396
|
oTStore.getState().setGlobalData({
|
|
@@ -235405,119 +234402,55 @@ const HeaderComponent = () => {
|
|
|
235405
234402
|
setAppStatus("code");
|
|
235406
234403
|
},
|
|
235407
234404
|
children: "\u505C\u6B62\u5F55\u5236"
|
|
235408
|
-
}
|
|
235409
|
-
|
|
235410
|
-
|
|
235411
|
-
columnNumber: 13
|
|
235412
|
-
}, globalThis) : null]
|
|
235413
|
-
}, void 0, true, {
|
|
235414
|
-
fileName: _jsxFileName,
|
|
235415
|
-
lineNumber: 296,
|
|
235416
|
-
columnNumber: 9
|
|
235417
|
-
}, globalThis)]
|
|
235418
|
-
}, void 0, true, {
|
|
235419
|
-
fileName: _jsxFileName,
|
|
235420
|
-
lineNumber: 270,
|
|
235421
|
-
columnNumber: 7
|
|
235422
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(LiveContent, {}, void 0, false, {
|
|
235423
|
-
fileName: _jsxFileName,
|
|
235424
|
-
lineNumber: 394,
|
|
235425
|
-
columnNumber: 7
|
|
235426
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
234405
|
+
}) : null]
|
|
234406
|
+
})]
|
|
234407
|
+
}), /* @__PURE__ */ jsx(LiveContent, {}), /* @__PURE__ */ jsx("div", {
|
|
235427
234408
|
className: "items-center flex relative",
|
|
235428
234409
|
children: userListStore.getState().userList.map((item, index2) => {
|
|
235429
|
-
return /* @__PURE__ */
|
|
234410
|
+
return /* @__PURE__ */ jsx("div", {
|
|
235430
234411
|
className: "-ml-2.5 z-0 avatar-hover",
|
|
235431
|
-
children: /* @__PURE__ */
|
|
234412
|
+
children: /* @__PURE__ */ jsx(Avatar, {
|
|
235432
234413
|
user: item
|
|
235433
|
-
}
|
|
235434
|
-
|
|
235435
|
-
lineNumber: 400,
|
|
235436
|
-
columnNumber: 15
|
|
235437
|
-
}, globalThis)
|
|
235438
|
-
}, index2, false, {
|
|
235439
|
-
fileName: _jsxFileName,
|
|
235440
|
-
lineNumber: 399,
|
|
235441
|
-
columnNumber: 13
|
|
235442
|
-
}, globalThis);
|
|
234414
|
+
})
|
|
234415
|
+
}, index2);
|
|
235443
234416
|
})
|
|
235444
|
-
}
|
|
235445
|
-
|
|
235446
|
-
lineNumber: 396,
|
|
235447
|
-
columnNumber: 7
|
|
235448
|
-
}, globalThis)]
|
|
235449
|
-
}, void 0, true, {
|
|
235450
|
-
fileName: _jsxFileName,
|
|
235451
|
-
lineNumber: 269,
|
|
235452
|
-
columnNumber: 5
|
|
235453
|
-
}, globalThis) : null;
|
|
234417
|
+
})]
|
|
234418
|
+
}) : null;
|
|
235454
234419
|
};
|
|
235455
234420
|
const SliderComponent = () => {
|
|
235456
234421
|
const setFold = useIndexState((state) => state.setFold);
|
|
235457
234422
|
const isFolded = useIndexState((state) => state.isFolded);
|
|
235458
|
-
return /* @__PURE__ */
|
|
234423
|
+
return /* @__PURE__ */ jsx("section", {
|
|
235459
234424
|
className: "bg-codezone-black rounded-sm w-14 ml-2.5 flex flex-col pt-5 flex-shrink-0",
|
|
235460
|
-
children: /* @__PURE__ */
|
|
234425
|
+
children: /* @__PURE__ */ jsx("i", {
|
|
235461
234426
|
onClick: () => setFold(!isFolded),
|
|
235462
234427
|
className: "cursor-pointer text-2xl text-gray-50 self-center mb-6 flex-center d42 snippets"
|
|
235463
|
-
}
|
|
235464
|
-
|
|
235465
|
-
lineNumber: 415,
|
|
235466
|
-
columnNumber: 7
|
|
235467
|
-
}, globalThis)
|
|
235468
|
-
}, void 0, false, {
|
|
235469
|
-
fileName: _jsxFileName,
|
|
235470
|
-
lineNumber: 414,
|
|
235471
|
-
columnNumber: 5
|
|
235472
|
-
}, globalThis);
|
|
234428
|
+
})
|
|
234429
|
+
});
|
|
235473
234430
|
};
|
|
235474
234431
|
const TreeComponent = () => {
|
|
235475
234432
|
const isFolded = useIndexState.getState().isFolded;
|
|
235476
|
-
return /* @__PURE__ */
|
|
234433
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
235477
234434
|
className: `bg-codezone-black rounded-sm ml-2.5 transition-all flex-shrink-0 min-w-52 ${!isFolded ? "visible" : "invisible"} ${!isFolded ? "w-52" : "w-0"}`,
|
|
235478
|
-
children: [/* @__PURE__ */
|
|
234435
|
+
children: [/* @__PURE__ */ jsx("header", {
|
|
235479
234436
|
className: css$1`
|
|
235480
234437
|
margin: 15px;
|
|
235481
234438
|
color: #fff;
|
|
235482
234439
|
visibility: ${!isFolded ? "visible" : "hidden"};
|
|
235483
234440
|
`,
|
|
235484
234441
|
children: "\u6587\u4EF6"
|
|
235485
|
-
},
|
|
235486
|
-
fileName: _jsxFileName,
|
|
235487
|
-
lineNumber: 437,
|
|
235488
|
-
columnNumber: 7
|
|
235489
|
-
}, globalThis), /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV("div", {
|
|
234442
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
235490
234443
|
style: {
|
|
235491
234444
|
height: "calc(100% - 52px)"
|
|
235492
234445
|
},
|
|
235493
|
-
children: /* @__PURE__ */
|
|
235494
|
-
fallback: /* @__PURE__ */
|
|
234446
|
+
children: /* @__PURE__ */ jsx(react.exports.Suspense, {
|
|
234447
|
+
fallback: /* @__PURE__ */ jsx(Skeleton, {
|
|
235495
234448
|
count: 5
|
|
235496
|
-
},
|
|
235497
|
-
|
|
235498
|
-
|
|
235499
|
-
|
|
235500
|
-
|
|
235501
|
-
children: /* @__PURE__ */ jsxDevRuntime.exports.jsxDEV(FileTree, {}, void 0, false, {
|
|
235502
|
-
fileName: _jsxFileName,
|
|
235503
|
-
lineNumber: 448,
|
|
235504
|
-
columnNumber: 11
|
|
235505
|
-
}, globalThis)
|
|
235506
|
-
}, void 0, false, {
|
|
235507
|
-
fileName: _jsxFileName,
|
|
235508
|
-
lineNumber: 447,
|
|
235509
|
-
columnNumber: 9
|
|
235510
|
-
}, globalThis)
|
|
235511
|
-
}, void 0, false, {
|
|
235512
|
-
fileName: _jsxFileName,
|
|
235513
|
-
lineNumber: 446,
|
|
235514
|
-
columnNumber: 7
|
|
235515
|
-
}, globalThis)]
|
|
235516
|
-
}, void 0, true, {
|
|
235517
|
-
fileName: _jsxFileName,
|
|
235518
|
-
lineNumber: 431,
|
|
235519
|
-
columnNumber: 5
|
|
235520
|
-
}, globalThis);
|
|
234449
|
+
}),
|
|
234450
|
+
children: /* @__PURE__ */ jsx(FileTree, {})
|
|
234451
|
+
})
|
|
234452
|
+
})]
|
|
234453
|
+
});
|
|
235521
234454
|
};
|
|
235522
234455
|
var index = /* @__PURE__ */ Object.freeze({
|
|
235523
234456
|
__proto__: null,
|