@strapi-community/plugin-io 1.0.0
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/LICENSE +21 -0
- package/README.md +1308 -0
- package/dist/_chunks/MonitoringPage-DLZdTZpg.mjs +752 -0
- package/dist/_chunks/MonitoringPage-HxHK1nFr.js +754 -0
- package/dist/_chunks/SettingsPage-88RdJkLy.js +1411 -0
- package/dist/_chunks/SettingsPage-DBIu309c.mjs +1409 -0
- package/dist/_chunks/SocketStatsWidget--uGHcYvU.mjs +220 -0
- package/dist/_chunks/SocketStatsWidget-C1-1_VOB.js +222 -0
- package/dist/_chunks/de-BoFxKIL3.mjs +102 -0
- package/dist/_chunks/de-Crne_WJ-.js +102 -0
- package/dist/_chunks/en-B4_6Q0aQ.mjs +120 -0
- package/dist/_chunks/en-Bd2IKJzy.js +120 -0
- package/dist/_chunks/es-CCwv5Ulk.mjs +41 -0
- package/dist/_chunks/es-Xj8RgKuQ.js +41 -0
- package/dist/_chunks/fr-D_r96iuZ.js +41 -0
- package/dist/_chunks/fr-DtBI9vH_.mjs +41 -0
- package/dist/_chunks/index-BVQ20t1c.js +113 -0
- package/dist/_chunks/index-CEh8vkxY.mjs +411 -0
- package/dist/_chunks/index-DLXtrAtk.mjs +114 -0
- package/dist/_chunks/index-DkTxsEqL.js +428 -0
- package/dist/_chunks/pt-Bba2cd2e.js +41 -0
- package/dist/_chunks/pt-I9epJZpI.mjs +41 -0
- package/dist/admin/index.js +3 -0
- package/dist/admin/index.mjs +4 -0
- package/dist/server/index.js +30000 -0
- package/dist/server/index.mjs +29970 -0
- package/package.json +120 -0
- package/types.d.ts +362 -0
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const React = require("react");
|
|
3
|
+
function _interopNamespace(e) {
|
|
4
|
+
if (e && e.__esModule) return e;
|
|
5
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
6
|
+
if (e) {
|
|
7
|
+
for (const k in e) {
|
|
8
|
+
if (k !== "default") {
|
|
9
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
10
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: () => e[k]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
n.default = e;
|
|
18
|
+
return Object.freeze(n);
|
|
19
|
+
}
|
|
20
|
+
const React__namespace = /* @__PURE__ */ _interopNamespace(React);
|
|
21
|
+
var __assign = function() {
|
|
22
|
+
__assign = Object.assign || function __assign2(t) {
|
|
23
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
24
|
+
s = arguments[i];
|
|
25
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
26
|
+
}
|
|
27
|
+
return t;
|
|
28
|
+
};
|
|
29
|
+
return __assign.apply(this, arguments);
|
|
30
|
+
};
|
|
31
|
+
function __rest(s, e) {
|
|
32
|
+
var t = {};
|
|
33
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
34
|
+
t[p] = s[p];
|
|
35
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
36
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
37
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
38
|
+
t[p[i]] = s[p[i]];
|
|
39
|
+
}
|
|
40
|
+
return t;
|
|
41
|
+
}
|
|
42
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
43
|
+
var e = new Error(message);
|
|
44
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
45
|
+
};
|
|
46
|
+
var reactIs$1 = { exports: {} };
|
|
47
|
+
var reactIs_production_min = {};
|
|
48
|
+
/** @license React v16.13.1
|
|
49
|
+
* react-is.production.min.js
|
|
50
|
+
*
|
|
51
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the MIT license found in the
|
|
54
|
+
* LICENSE file in the root directory of this source tree.
|
|
55
|
+
*/
|
|
56
|
+
var hasRequiredReactIs_production_min;
|
|
57
|
+
function requireReactIs_production_min() {
|
|
58
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
59
|
+
hasRequiredReactIs_production_min = 1;
|
|
60
|
+
var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
|
|
61
|
+
function z(a) {
|
|
62
|
+
if ("object" === typeof a && null !== a) {
|
|
63
|
+
var u = a.$$typeof;
|
|
64
|
+
switch (u) {
|
|
65
|
+
case c:
|
|
66
|
+
switch (a = a.type, a) {
|
|
67
|
+
case l:
|
|
68
|
+
case m:
|
|
69
|
+
case e:
|
|
70
|
+
case g:
|
|
71
|
+
case f:
|
|
72
|
+
case p:
|
|
73
|
+
return a;
|
|
74
|
+
default:
|
|
75
|
+
switch (a = a && a.$$typeof, a) {
|
|
76
|
+
case k:
|
|
77
|
+
case n:
|
|
78
|
+
case t:
|
|
79
|
+
case r:
|
|
80
|
+
case h:
|
|
81
|
+
return a;
|
|
82
|
+
default:
|
|
83
|
+
return u;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
case d:
|
|
87
|
+
return u;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function A(a) {
|
|
92
|
+
return z(a) === m;
|
|
93
|
+
}
|
|
94
|
+
reactIs_production_min.AsyncMode = l;
|
|
95
|
+
reactIs_production_min.ConcurrentMode = m;
|
|
96
|
+
reactIs_production_min.ContextConsumer = k;
|
|
97
|
+
reactIs_production_min.ContextProvider = h;
|
|
98
|
+
reactIs_production_min.Element = c;
|
|
99
|
+
reactIs_production_min.ForwardRef = n;
|
|
100
|
+
reactIs_production_min.Fragment = e;
|
|
101
|
+
reactIs_production_min.Lazy = t;
|
|
102
|
+
reactIs_production_min.Memo = r;
|
|
103
|
+
reactIs_production_min.Portal = d;
|
|
104
|
+
reactIs_production_min.Profiler = g;
|
|
105
|
+
reactIs_production_min.StrictMode = f;
|
|
106
|
+
reactIs_production_min.Suspense = p;
|
|
107
|
+
reactIs_production_min.isAsyncMode = function(a) {
|
|
108
|
+
return A(a) || z(a) === l;
|
|
109
|
+
};
|
|
110
|
+
reactIs_production_min.isConcurrentMode = A;
|
|
111
|
+
reactIs_production_min.isContextConsumer = function(a) {
|
|
112
|
+
return z(a) === k;
|
|
113
|
+
};
|
|
114
|
+
reactIs_production_min.isContextProvider = function(a) {
|
|
115
|
+
return z(a) === h;
|
|
116
|
+
};
|
|
117
|
+
reactIs_production_min.isElement = function(a) {
|
|
118
|
+
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
119
|
+
};
|
|
120
|
+
reactIs_production_min.isForwardRef = function(a) {
|
|
121
|
+
return z(a) === n;
|
|
122
|
+
};
|
|
123
|
+
reactIs_production_min.isFragment = function(a) {
|
|
124
|
+
return z(a) === e;
|
|
125
|
+
};
|
|
126
|
+
reactIs_production_min.isLazy = function(a) {
|
|
127
|
+
return z(a) === t;
|
|
128
|
+
};
|
|
129
|
+
reactIs_production_min.isMemo = function(a) {
|
|
130
|
+
return z(a) === r;
|
|
131
|
+
};
|
|
132
|
+
reactIs_production_min.isPortal = function(a) {
|
|
133
|
+
return z(a) === d;
|
|
134
|
+
};
|
|
135
|
+
reactIs_production_min.isProfiler = function(a) {
|
|
136
|
+
return z(a) === g;
|
|
137
|
+
};
|
|
138
|
+
reactIs_production_min.isStrictMode = function(a) {
|
|
139
|
+
return z(a) === f;
|
|
140
|
+
};
|
|
141
|
+
reactIs_production_min.isSuspense = function(a) {
|
|
142
|
+
return z(a) === p;
|
|
143
|
+
};
|
|
144
|
+
reactIs_production_min.isValidElementType = function(a) {
|
|
145
|
+
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
146
|
+
};
|
|
147
|
+
reactIs_production_min.typeOf = z;
|
|
148
|
+
return reactIs_production_min;
|
|
149
|
+
}
|
|
150
|
+
var reactIs_development = {};
|
|
151
|
+
/** @license React v16.13.1
|
|
152
|
+
* react-is.development.js
|
|
153
|
+
*
|
|
154
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
155
|
+
*
|
|
156
|
+
* This source code is licensed under the MIT license found in the
|
|
157
|
+
* LICENSE file in the root directory of this source tree.
|
|
158
|
+
*/
|
|
159
|
+
var hasRequiredReactIs_development;
|
|
160
|
+
function requireReactIs_development() {
|
|
161
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
162
|
+
hasRequiredReactIs_development = 1;
|
|
163
|
+
if (process.env.NODE_ENV !== "production") {
|
|
164
|
+
(function() {
|
|
165
|
+
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
|
166
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
|
167
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
|
168
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
|
|
169
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
|
|
170
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
|
|
171
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
|
|
172
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
|
|
173
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
|
|
174
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
|
|
175
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
|
|
176
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
|
|
177
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
|
|
178
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
|
|
179
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
|
|
180
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
|
|
181
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
|
182
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
|
183
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
|
184
|
+
function isValidElementType(type) {
|
|
185
|
+
return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
186
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
187
|
+
}
|
|
188
|
+
function typeOf(object) {
|
|
189
|
+
if (typeof object === "object" && object !== null) {
|
|
190
|
+
var $$typeof = object.$$typeof;
|
|
191
|
+
switch ($$typeof) {
|
|
192
|
+
case REACT_ELEMENT_TYPE:
|
|
193
|
+
var type = object.type;
|
|
194
|
+
switch (type) {
|
|
195
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
196
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
197
|
+
case REACT_FRAGMENT_TYPE:
|
|
198
|
+
case REACT_PROFILER_TYPE:
|
|
199
|
+
case REACT_STRICT_MODE_TYPE:
|
|
200
|
+
case REACT_SUSPENSE_TYPE:
|
|
201
|
+
return type;
|
|
202
|
+
default:
|
|
203
|
+
var $$typeofType = type && type.$$typeof;
|
|
204
|
+
switch ($$typeofType) {
|
|
205
|
+
case REACT_CONTEXT_TYPE:
|
|
206
|
+
case REACT_FORWARD_REF_TYPE:
|
|
207
|
+
case REACT_LAZY_TYPE:
|
|
208
|
+
case REACT_MEMO_TYPE:
|
|
209
|
+
case REACT_PROVIDER_TYPE:
|
|
210
|
+
return $$typeofType;
|
|
211
|
+
default:
|
|
212
|
+
return $$typeof;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
case REACT_PORTAL_TYPE:
|
|
216
|
+
return $$typeof;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
return void 0;
|
|
220
|
+
}
|
|
221
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
222
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
223
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
224
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
225
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
226
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
227
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
228
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
229
|
+
var Memo = REACT_MEMO_TYPE;
|
|
230
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
231
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
232
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
233
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
234
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
235
|
+
function isAsyncMode(object) {
|
|
236
|
+
{
|
|
237
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
238
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
239
|
+
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
243
|
+
}
|
|
244
|
+
function isConcurrentMode(object) {
|
|
245
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
246
|
+
}
|
|
247
|
+
function isContextConsumer(object) {
|
|
248
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
249
|
+
}
|
|
250
|
+
function isContextProvider(object) {
|
|
251
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
252
|
+
}
|
|
253
|
+
function isElement(object) {
|
|
254
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
255
|
+
}
|
|
256
|
+
function isForwardRef(object) {
|
|
257
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
258
|
+
}
|
|
259
|
+
function isFragment(object) {
|
|
260
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
261
|
+
}
|
|
262
|
+
function isLazy(object) {
|
|
263
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
264
|
+
}
|
|
265
|
+
function isMemo(object) {
|
|
266
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
267
|
+
}
|
|
268
|
+
function isPortal(object) {
|
|
269
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
270
|
+
}
|
|
271
|
+
function isProfiler(object) {
|
|
272
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
273
|
+
}
|
|
274
|
+
function isStrictMode(object) {
|
|
275
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
276
|
+
}
|
|
277
|
+
function isSuspense(object) {
|
|
278
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
279
|
+
}
|
|
280
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
281
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
282
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
283
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
284
|
+
reactIs_development.Element = Element;
|
|
285
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
286
|
+
reactIs_development.Fragment = Fragment;
|
|
287
|
+
reactIs_development.Lazy = Lazy;
|
|
288
|
+
reactIs_development.Memo = Memo;
|
|
289
|
+
reactIs_development.Portal = Portal;
|
|
290
|
+
reactIs_development.Profiler = Profiler;
|
|
291
|
+
reactIs_development.StrictMode = StrictMode;
|
|
292
|
+
reactIs_development.Suspense = Suspense;
|
|
293
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
294
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
295
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
296
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
297
|
+
reactIs_development.isElement = isElement;
|
|
298
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
299
|
+
reactIs_development.isFragment = isFragment;
|
|
300
|
+
reactIs_development.isLazy = isLazy;
|
|
301
|
+
reactIs_development.isMemo = isMemo;
|
|
302
|
+
reactIs_development.isPortal = isPortal;
|
|
303
|
+
reactIs_development.isProfiler = isProfiler;
|
|
304
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
305
|
+
reactIs_development.isSuspense = isSuspense;
|
|
306
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
307
|
+
reactIs_development.typeOf = typeOf;
|
|
308
|
+
})();
|
|
309
|
+
}
|
|
310
|
+
return reactIs_development;
|
|
311
|
+
}
|
|
312
|
+
if (process.env.NODE_ENV === "production") {
|
|
313
|
+
reactIs$1.exports = requireReactIs_production_min();
|
|
314
|
+
} else {
|
|
315
|
+
reactIs$1.exports = requireReactIs_development();
|
|
316
|
+
}
|
|
317
|
+
var reactIsExports = reactIs$1.exports;
|
|
318
|
+
var reactIs = reactIsExports;
|
|
319
|
+
var FORWARD_REF_STATICS = {
|
|
320
|
+
"$$typeof": true,
|
|
321
|
+
render: true,
|
|
322
|
+
defaultProps: true,
|
|
323
|
+
displayName: true,
|
|
324
|
+
propTypes: true
|
|
325
|
+
};
|
|
326
|
+
var MEMO_STATICS = {
|
|
327
|
+
"$$typeof": true,
|
|
328
|
+
compare: true,
|
|
329
|
+
defaultProps: true,
|
|
330
|
+
displayName: true,
|
|
331
|
+
propTypes: true,
|
|
332
|
+
type: true
|
|
333
|
+
};
|
|
334
|
+
var TYPE_STATICS = {};
|
|
335
|
+
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
336
|
+
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
337
|
+
function invariant(condition, message, Err) {
|
|
338
|
+
if (Err === void 0) {
|
|
339
|
+
Err = Error;
|
|
340
|
+
}
|
|
341
|
+
if (!condition) {
|
|
342
|
+
throw new Err(message);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
var defaultErrorHandler = function(error) {
|
|
346
|
+
if (process.env.NODE_ENV !== "production") {
|
|
347
|
+
console.error(error);
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
var defaultWarnHandler = function(warning) {
|
|
351
|
+
if (process.env.NODE_ENV !== "production") {
|
|
352
|
+
console.warn(warning);
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
var DEFAULT_INTL_CONFIG = {
|
|
356
|
+
formats: {},
|
|
357
|
+
messages: {},
|
|
358
|
+
timeZone: void 0,
|
|
359
|
+
defaultLocale: "en",
|
|
360
|
+
defaultFormats: {},
|
|
361
|
+
fallbackOnEmptyString: true,
|
|
362
|
+
onError: defaultErrorHandler,
|
|
363
|
+
onWarn: defaultWarnHandler
|
|
364
|
+
};
|
|
365
|
+
function invariantIntlContext(intl) {
|
|
366
|
+
invariant(intl, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
|
367
|
+
}
|
|
368
|
+
__assign(__assign({}, DEFAULT_INTL_CONFIG), { textComponent: React__namespace.Fragment });
|
|
369
|
+
var IntlContext = typeof window !== "undefined" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = React__namespace.createContext(null)) : React__namespace.createContext(null);
|
|
370
|
+
IntlContext.Consumer;
|
|
371
|
+
IntlContext.Provider;
|
|
372
|
+
var Context = IntlContext;
|
|
373
|
+
function useIntl() {
|
|
374
|
+
var intl = React__namespace.useContext(Context);
|
|
375
|
+
invariantIntlContext(intl);
|
|
376
|
+
return intl;
|
|
377
|
+
}
|
|
378
|
+
var DisplayName;
|
|
379
|
+
(function(DisplayName2) {
|
|
380
|
+
DisplayName2["formatDate"] = "FormattedDate";
|
|
381
|
+
DisplayName2["formatTime"] = "FormattedTime";
|
|
382
|
+
DisplayName2["formatNumber"] = "FormattedNumber";
|
|
383
|
+
DisplayName2["formatList"] = "FormattedList";
|
|
384
|
+
DisplayName2["formatDisplayName"] = "FormattedDisplayName";
|
|
385
|
+
})(DisplayName || (DisplayName = {}));
|
|
386
|
+
var DisplayNameParts;
|
|
387
|
+
(function(DisplayNameParts2) {
|
|
388
|
+
DisplayNameParts2["formatDate"] = "FormattedDateParts";
|
|
389
|
+
DisplayNameParts2["formatTime"] = "FormattedTimeParts";
|
|
390
|
+
DisplayNameParts2["formatNumber"] = "FormattedNumberParts";
|
|
391
|
+
DisplayNameParts2["formatList"] = "FormattedListParts";
|
|
392
|
+
})(DisplayNameParts || (DisplayNameParts = {}));
|
|
393
|
+
function createFormattedDateTimePartsComponent(name) {
|
|
394
|
+
var ComponentParts = function(props) {
|
|
395
|
+
var intl = useIntl();
|
|
396
|
+
var value = props.value, children = props.children, formatProps = __rest(props, ["value", "children"]);
|
|
397
|
+
var date = typeof value === "string" ? new Date(value || 0) : value;
|
|
398
|
+
var formattedParts = name === "formatDate" ? intl.formatDateToParts(date, formatProps) : intl.formatTimeToParts(date, formatProps);
|
|
399
|
+
return children(formattedParts);
|
|
400
|
+
};
|
|
401
|
+
ComponentParts.displayName = DisplayNameParts[name];
|
|
402
|
+
return ComponentParts;
|
|
403
|
+
}
|
|
404
|
+
function createFormattedComponent(name) {
|
|
405
|
+
var Component = function(props) {
|
|
406
|
+
var intl = useIntl();
|
|
407
|
+
var value = props.value, children = props.children, formatProps = __rest(
|
|
408
|
+
props,
|
|
409
|
+
["value", "children"]
|
|
410
|
+
);
|
|
411
|
+
var formattedValue = intl[name](value, formatProps);
|
|
412
|
+
if (typeof children === "function") {
|
|
413
|
+
return children(formattedValue);
|
|
414
|
+
}
|
|
415
|
+
var Text = intl.textComponent || React__namespace.Fragment;
|
|
416
|
+
return React__namespace.createElement(Text, null, formattedValue);
|
|
417
|
+
};
|
|
418
|
+
Component.displayName = DisplayName[name];
|
|
419
|
+
return Component;
|
|
420
|
+
}
|
|
421
|
+
createFormattedComponent("formatDate");
|
|
422
|
+
createFormattedComponent("formatTime");
|
|
423
|
+
createFormattedComponent("formatNumber");
|
|
424
|
+
createFormattedComponent("formatList");
|
|
425
|
+
createFormattedComponent("formatDisplayName");
|
|
426
|
+
createFormattedDateTimePartsComponent("formatDate");
|
|
427
|
+
createFormattedDateTimePartsComponent("formatTime");
|
|
428
|
+
exports.useIntl = useIntl;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const pt = {
|
|
4
|
+
"plugin.name": "Socket.IO",
|
|
5
|
+
"widget.socket-stats.title": "Estatísticas Socket.IO",
|
|
6
|
+
"widget.connections": "Conexões Ativas",
|
|
7
|
+
"widget.rooms": "Salas Ativas",
|
|
8
|
+
"widget.eventsPerSec": "Eventos/seg",
|
|
9
|
+
"widget.totalEvents": "Eventos Totais",
|
|
10
|
+
"widget.viewMonitoring": "Ver Monitoramento",
|
|
11
|
+
"widget.live": "Ao Vivo",
|
|
12
|
+
"widget.offline": "Desconectado",
|
|
13
|
+
"settings.title": "Configurações",
|
|
14
|
+
"settings.description": "Configure a conexão Socket.IO para eventos em tempo real",
|
|
15
|
+
"settings.save": "Salvar",
|
|
16
|
+
"settings.saved": "Salvo",
|
|
17
|
+
"settings.saveAndApply": "Salvar e Aplicar",
|
|
18
|
+
"settings.success": "Configurações salvas com sucesso!",
|
|
19
|
+
"settings.error": "Erro ao salvar configurações",
|
|
20
|
+
"settings.loadError": "Erro ao carregar configurações",
|
|
21
|
+
"settings.noRestart": "As alterações são aplicadas imediatamente – nenhum reinício necessário!",
|
|
22
|
+
"cors.title": "Configurações CORS",
|
|
23
|
+
"cors.description": "Configure quais frontends podem se conectar",
|
|
24
|
+
"cors.origin": "URL do Frontend (CORS Origin)",
|
|
25
|
+
"cors.originHint": "A URL do seu frontend (ex: http://localhost:3000 ou https://meu-app.com.br)",
|
|
26
|
+
"cors.credentials": "Permitir Credentials",
|
|
27
|
+
"cors.methods": "Métodos HTTP permitidos",
|
|
28
|
+
"events.title": "Eventos em tempo real",
|
|
29
|
+
"events.description": "Configure quais eventos são enviados para quais tipos de conteúdo",
|
|
30
|
+
"events.enableAll": "Ativar todos",
|
|
31
|
+
"events.disableAll": "Desativar todos",
|
|
32
|
+
"events.noContentTypes": "Nenhum tipo de conteúdo API encontrado. Crie primeiro tipos de conteúdo no Content-Type Builder.",
|
|
33
|
+
"events.contentType": "Tipo de conteúdo",
|
|
34
|
+
"events.create": "Criar",
|
|
35
|
+
"events.update": "Atualizar",
|
|
36
|
+
"events.delete": "Excluir",
|
|
37
|
+
"logging.title": "Registro",
|
|
38
|
+
"logging.connectionLogging": "Registro de conexões",
|
|
39
|
+
"logging.connectionLoggingHint": "Mostra conexões de clientes no log do servidor"
|
|
40
|
+
};
|
|
41
|
+
exports.default = pt;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const pt = {
|
|
2
|
+
"plugin.name": "Socket.IO",
|
|
3
|
+
"widget.socket-stats.title": "Estatísticas Socket.IO",
|
|
4
|
+
"widget.connections": "Conexões Ativas",
|
|
5
|
+
"widget.rooms": "Salas Ativas",
|
|
6
|
+
"widget.eventsPerSec": "Eventos/seg",
|
|
7
|
+
"widget.totalEvents": "Eventos Totais",
|
|
8
|
+
"widget.viewMonitoring": "Ver Monitoramento",
|
|
9
|
+
"widget.live": "Ao Vivo",
|
|
10
|
+
"widget.offline": "Desconectado",
|
|
11
|
+
"settings.title": "Configurações",
|
|
12
|
+
"settings.description": "Configure a conexão Socket.IO para eventos em tempo real",
|
|
13
|
+
"settings.save": "Salvar",
|
|
14
|
+
"settings.saved": "Salvo",
|
|
15
|
+
"settings.saveAndApply": "Salvar e Aplicar",
|
|
16
|
+
"settings.success": "Configurações salvas com sucesso!",
|
|
17
|
+
"settings.error": "Erro ao salvar configurações",
|
|
18
|
+
"settings.loadError": "Erro ao carregar configurações",
|
|
19
|
+
"settings.noRestart": "As alterações são aplicadas imediatamente – nenhum reinício necessário!",
|
|
20
|
+
"cors.title": "Configurações CORS",
|
|
21
|
+
"cors.description": "Configure quais frontends podem se conectar",
|
|
22
|
+
"cors.origin": "URL do Frontend (CORS Origin)",
|
|
23
|
+
"cors.originHint": "A URL do seu frontend (ex: http://localhost:3000 ou https://meu-app.com.br)",
|
|
24
|
+
"cors.credentials": "Permitir Credentials",
|
|
25
|
+
"cors.methods": "Métodos HTTP permitidos",
|
|
26
|
+
"events.title": "Eventos em tempo real",
|
|
27
|
+
"events.description": "Configure quais eventos são enviados para quais tipos de conteúdo",
|
|
28
|
+
"events.enableAll": "Ativar todos",
|
|
29
|
+
"events.disableAll": "Desativar todos",
|
|
30
|
+
"events.noContentTypes": "Nenhum tipo de conteúdo API encontrado. Crie primeiro tipos de conteúdo no Content-Type Builder.",
|
|
31
|
+
"events.contentType": "Tipo de conteúdo",
|
|
32
|
+
"events.create": "Criar",
|
|
33
|
+
"events.update": "Atualizar",
|
|
34
|
+
"events.delete": "Excluir",
|
|
35
|
+
"logging.title": "Registro",
|
|
36
|
+
"logging.connectionLogging": "Registro de conexões",
|
|
37
|
+
"logging.connectionLoggingHint": "Mostra conexões de clientes no log do servidor"
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
pt as default
|
|
41
|
+
};
|