@code0-tech/pictor 0.0.0-mvp.29 → 0.0.0-mvp.30
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/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +4 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/react-contenteditable.js +7 -0
- package/dist/_virtual/react-contenteditable2.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server-legacy.browser.production.js +4 -0
- package/dist/_virtual/react-dom-server.browser.development.js +4 -0
- package/dist/_virtual/react-dom-server.browser.production.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/server.browser.js +5 -0
- package/dist/_virtual/server.browser2.js +4 -0
- package/dist/assets/components/d-resizable/DResizable.style.css +1 -1
- package/dist/assets/components/form/Input.style.css +1 -1
- package/dist/components/breadcrumb/Breadcrumb.js +12 -12
- package/dist/components/button-group/ButtonGroup.js +12 -12
- package/dist/components/d-flow/DFlow.edges.hook.js +57 -54
- package/dist/components/d-flow/DFlow.js +304 -268
- package/dist/components/d-flow/DFlow.nodes.hook.js +60 -59
- package/dist/components/d-flow/DFlow.service.d.ts +3 -2
- package/dist/components/d-flow/DFlow.service.js +62 -47
- package/dist/components/d-flow/DFlow.util.d.ts +4 -0
- package/dist/components/d-flow/DFlow.util.js +63 -0
- package/dist/components/d-flow/DFlowEdge.js +34 -34
- package/dist/components/d-flow-data-type/DFlowDataType.service.js +17 -14
- package/dist/components/d-flow-data-type/DFlowDataType.view.d.ts +7 -4
- package/dist/components/d-flow-data-type/DFlowDataType.view.js +11 -6
- package/dist/components/d-flow-file/DFlowTabDefault.d.ts +0 -3
- package/dist/components/d-flow-file/DFlowTabDefault.js +77 -112
- package/dist/components/d-flow-file/DFlowTabTrigger.js +38 -49
- package/dist/components/d-flow-file/DFlowTabs.js +26 -27
- package/dist/components/d-flow-folder/DFlowFolder.js +170 -143
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +18 -11
- package/dist/components/d-flow-folder/DFlowFolderItemPathInput.js +1 -0
- package/dist/components/d-flow-function/DFlowFunction.input.hook.js +4 -5
- package/dist/components/d-flow-function/DFlowFunction.return.hook.js +1 -1
- package/dist/components/d-flow-function/DFlowFunction.view.d.ts +14 -11
- package/dist/components/d-flow-function/DFlowFunction.view.js +19 -12
- package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +72 -75
- package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +27 -32
- package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +17 -10
- package/dist/components/d-flow-input/DFlowInputDataType.js +38 -33
- package/dist/components/d-flow-input/DFlowInputDefault.d.ts +10 -0
- package/dist/components/d-flow-input/DFlowInputDefault.js +128 -0
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.d.ts +7 -0
- package/dist/components/d-flow-input/DFlowInputLiteralBadge.js +24 -0
- package/dist/components/d-flow-input/DFlowInputNodeBadge.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +44 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +33 -0
- package/dist/components/d-flow-panel/DFlowExport.js +1 -1
- package/dist/components/d-flow-panel/DFlowMiniMap.js +1 -1
- package/dist/components/d-flow-panel/DFlowPanelControl.js +34 -32
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowDataTypeSuggestions.hook.js +34 -0
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +50 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +133 -0
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.d.ts +3 -18
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +19 -156
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +47 -58
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.util.js +5 -4
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +6 -6
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.d.ts +3 -0
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +44 -0
- package/dist/components/d-flow-type/DFlowType.view.d.ts +5 -5
- package/dist/components/d-flow-type/DFlowType.view.js +22 -12
- package/dist/components/d-flow-validation/DFlowValidation.hook.js +1 -1
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +39 -43
- package/dist/components/d-resizable/DResizable.d.ts +4 -4
- package/dist/components/d-resizable/DResizable.js +22 -21
- package/dist/components/d-user/DUserInput.js +23 -21
- package/dist/components/file-tabs/FileTabs.service.d.ts +0 -1
- package/dist/components/file-tabs/FileTabs.service.js +49 -53
- package/dist/components/form/EmailInput.js +9 -9
- package/dist/components/form/Input.d.ts +2 -1
- package/dist/components/form/Input.js +294 -397
- package/dist/components/form/Input.syntax.hook.d.ts +1 -18
- package/dist/components/form/Input.syntax.hook.js +7 -73
- package/dist/components/form/Input.utils.d.ts +1 -2
- package/dist/components/form/Input.utils.js +26 -21
- package/dist/components/form/InputContentEditable.hook.d.ts +40 -0
- package/dist/components/form/InputContentEditable.hook.js +471 -0
- package/dist/components/form/InputSuggestion.d.ts +2 -2
- package/dist/components/form/InputSuggestion.js +169 -107
- package/dist/components/form/PasswordInput.js +8 -8
- package/dist/components/form/TextInput.js +11 -11
- package/dist/components/form/useForm.d.ts +1 -0
- package/dist/components/form/useForm.js +45 -60
- package/dist/components/menu/Menu.js +4 -4
- package/dist/index.js +155 -154
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +30 -30
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +8 -8
- package/dist/node_modules/fast-deep-equal/index.js +31 -0
- package/dist/node_modules/object-assign/index.js +49 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +70 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-contenteditable/lib/react-contenteditable.js +132 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +6235 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +4096 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +6753 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +4645 -0
- package/dist/node_modules/react-dom/server.browser.js +15 -0
- package/dist/utils/generics.d.ts +2 -0
- package/dist/utils/generics.js +93 -80
- package/dist/utils/index.js +22 -21
- package/dist/utils/inspection.d.ts +4 -2
- package/dist/utils/inspection.js +27 -2
- package/package.json +10 -8
- package/dist/components/form/Input.selection.hook.d.ts +0 -17
- package/dist/components/form/Input.selection.hook.js +0 -78
- package/dist/components/form/InputSyntax.d.ts +0 -19
- package/dist/components/form/InputSyntax.js +0 -52
- package/dist/components/form/inputSyntaxMapping.d.ts +0 -3
- package/dist/components/form/inputSyntaxMapping.js +0 -42
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var f, i;
|
|
2
|
+
function p() {
|
|
3
|
+
if (i) return f;
|
|
4
|
+
i = 1;
|
|
5
|
+
var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
6
|
+
function O(n) {
|
|
7
|
+
if (n == null)
|
|
8
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
9
|
+
return Object(n);
|
|
10
|
+
}
|
|
11
|
+
function j() {
|
|
12
|
+
try {
|
|
13
|
+
if (!Object.assign)
|
|
14
|
+
return !1;
|
|
15
|
+
var n = new String("abc");
|
|
16
|
+
if (n[5] = "de", Object.getOwnPropertyNames(n)[0] === "5")
|
|
17
|
+
return !1;
|
|
18
|
+
for (var s = {}, r = 0; r < 10; r++)
|
|
19
|
+
s["_" + String.fromCharCode(r)] = r;
|
|
20
|
+
var a = Object.getOwnPropertyNames(s).map(function(e) {
|
|
21
|
+
return s[e];
|
|
22
|
+
});
|
|
23
|
+
if (a.join("") !== "0123456789")
|
|
24
|
+
return !1;
|
|
25
|
+
var t = {};
|
|
26
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
27
|
+
t[e] = e;
|
|
28
|
+
}), Object.keys(Object.assign({}, t)).join("") === "abcdefghijklmnopqrst";
|
|
29
|
+
} catch {
|
|
30
|
+
return !1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return f = j() ? Object.assign : function(n, s) {
|
|
34
|
+
for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
|
|
35
|
+
r = Object(arguments[e]);
|
|
36
|
+
for (var c in r)
|
|
37
|
+
b.call(r, c) && (a[c] = r[c]);
|
|
38
|
+
if (u) {
|
|
39
|
+
t = u(r);
|
|
40
|
+
for (var o = 0; o < t.length; o++)
|
|
41
|
+
l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return a;
|
|
45
|
+
}, f;
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
p as __require
|
|
49
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { __require as E } from "./lib/ReactPropTypesSecret.js";
|
|
2
|
+
import { __require as _ } from "./lib/has.js";
|
|
3
|
+
var f, v;
|
|
4
|
+
function P() {
|
|
5
|
+
if (v) return f;
|
|
6
|
+
v = 1;
|
|
7
|
+
var o = function() {
|
|
8
|
+
};
|
|
9
|
+
if (process.env.NODE_ENV !== "production") {
|
|
10
|
+
var y = /* @__PURE__ */ E(), t = {}, d = /* @__PURE__ */ _();
|
|
11
|
+
o = function(n) {
|
|
12
|
+
var a = "Warning: " + n;
|
|
13
|
+
typeof console < "u" && console.error(a);
|
|
14
|
+
try {
|
|
15
|
+
throw new Error(a);
|
|
16
|
+
} catch {
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function u(n, a, i, s, c) {
|
|
21
|
+
if (process.env.NODE_ENV !== "production") {
|
|
22
|
+
for (var e in n)
|
|
23
|
+
if (d(n, e)) {
|
|
24
|
+
var r;
|
|
25
|
+
try {
|
|
26
|
+
if (typeof n[e] != "function") {
|
|
27
|
+
var h = Error(
|
|
28
|
+
(s || "React class") + ": " + i + " type `" + e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
29
|
+
);
|
|
30
|
+
throw h.name = "Invariant Violation", h;
|
|
31
|
+
}
|
|
32
|
+
r = n[e](a, e, s, i, null, y);
|
|
33
|
+
} catch (l) {
|
|
34
|
+
r = l;
|
|
35
|
+
}
|
|
36
|
+
if (r && !(r instanceof Error) && o(
|
|
37
|
+
(s || "React class") + ": type specification of " + i + " `" + e + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof r + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
38
|
+
), r instanceof Error && !(r.message in t)) {
|
|
39
|
+
t[r.message] = !0;
|
|
40
|
+
var p = c ? c() : "";
|
|
41
|
+
o(
|
|
42
|
+
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return u.resetWarningCache = function() {
|
|
49
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
50
|
+
}, f = u, f;
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
P as __require
|
|
54
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __require as u } from "./lib/ReactPropTypesSecret.js";
|
|
2
|
+
var o, p;
|
|
3
|
+
function g() {
|
|
4
|
+
if (p) return o;
|
|
5
|
+
p = 1;
|
|
6
|
+
var c = /* @__PURE__ */ u();
|
|
7
|
+
function n() {
|
|
8
|
+
}
|
|
9
|
+
function i() {
|
|
10
|
+
}
|
|
11
|
+
return i.resetWarningCache = n, o = function() {
|
|
12
|
+
function e(h, y, m, f, l, s) {
|
|
13
|
+
if (s !== c) {
|
|
14
|
+
var a = new Error(
|
|
15
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
16
|
+
);
|
|
17
|
+
throw a.name = "Invariant Violation", a;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
e.isRequired = e;
|
|
21
|
+
function r() {
|
|
22
|
+
return e;
|
|
23
|
+
}
|
|
24
|
+
var t = {
|
|
25
|
+
array: e,
|
|
26
|
+
bigint: e,
|
|
27
|
+
bool: e,
|
|
28
|
+
func: e,
|
|
29
|
+
number: e,
|
|
30
|
+
object: e,
|
|
31
|
+
string: e,
|
|
32
|
+
symbol: e,
|
|
33
|
+
any: e,
|
|
34
|
+
arrayOf: r,
|
|
35
|
+
element: e,
|
|
36
|
+
elementType: e,
|
|
37
|
+
instanceOf: r,
|
|
38
|
+
node: e,
|
|
39
|
+
objectOf: r,
|
|
40
|
+
oneOf: r,
|
|
41
|
+
oneOfType: r,
|
|
42
|
+
shape: r,
|
|
43
|
+
exact: r,
|
|
44
|
+
checkPropTypes: i,
|
|
45
|
+
resetWarningCache: n
|
|
46
|
+
};
|
|
47
|
+
return t.PropTypes = t, t;
|
|
48
|
+
}, o;
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
g as __require
|
|
52
|
+
};
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { __require as F } from "./node_modules/react-is/index.js";
|
|
2
|
+
import { __require as N } from "../object-assign/index.js";
|
|
3
|
+
import { __require as ee } from "./lib/ReactPropTypesSecret.js";
|
|
4
|
+
import { __require as re } from "./lib/has.js";
|
|
5
|
+
import { __require as ne } from "./checkPropTypes.js";
|
|
6
|
+
var A, C;
|
|
7
|
+
function oe() {
|
|
8
|
+
if (C) return A;
|
|
9
|
+
C = 1;
|
|
10
|
+
var k = F(), W = N(), h = /* @__PURE__ */ ee(), j = /* @__PURE__ */ re(), R = /* @__PURE__ */ ne(), T = function() {
|
|
11
|
+
};
|
|
12
|
+
process.env.NODE_ENV !== "production" && (T = function(x) {
|
|
13
|
+
var S = "Warning: " + x;
|
|
14
|
+
typeof console < "u" && console.error(S);
|
|
15
|
+
try {
|
|
16
|
+
throw new Error(S);
|
|
17
|
+
} catch {
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
function E() {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return A = function(x, S) {
|
|
24
|
+
var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
|
|
25
|
+
function m(e) {
|
|
26
|
+
var r = e && (_ && e[_] || e[D]);
|
|
27
|
+
if (typeof r == "function")
|
|
28
|
+
return r;
|
|
29
|
+
}
|
|
30
|
+
var P = "<<anonymous>>", w = {
|
|
31
|
+
array: p("array"),
|
|
32
|
+
bigint: p("bigint"),
|
|
33
|
+
bool: p("boolean"),
|
|
34
|
+
func: p("function"),
|
|
35
|
+
number: p("number"),
|
|
36
|
+
object: p("object"),
|
|
37
|
+
string: p("string"),
|
|
38
|
+
symbol: p("symbol"),
|
|
39
|
+
any: M(),
|
|
40
|
+
arrayOf: U,
|
|
41
|
+
element: B(),
|
|
42
|
+
elementType: J(),
|
|
43
|
+
instanceOf: z,
|
|
44
|
+
node: G(),
|
|
45
|
+
objectOf: H,
|
|
46
|
+
oneOf: L,
|
|
47
|
+
oneOfType: X,
|
|
48
|
+
shape: K,
|
|
49
|
+
exact: Q
|
|
50
|
+
};
|
|
51
|
+
function Y(e, r) {
|
|
52
|
+
return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
|
|
53
|
+
}
|
|
54
|
+
function d(e, r) {
|
|
55
|
+
this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
|
|
56
|
+
}
|
|
57
|
+
d.prototype = Error.prototype;
|
|
58
|
+
function v(e) {
|
|
59
|
+
if (process.env.NODE_ENV !== "production")
|
|
60
|
+
var r = {}, u = 0;
|
|
61
|
+
function i(f, t, a, o, c, s, y) {
|
|
62
|
+
if (o = o || P, s = s || a, y !== h) {
|
|
63
|
+
if (S) {
|
|
64
|
+
var l = new Error(
|
|
65
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
66
|
+
);
|
|
67
|
+
throw l.name = "Invariant Violation", l;
|
|
68
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
69
|
+
var b = o + ":" + a;
|
|
70
|
+
!r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
71
|
+
u < 3 && (T(
|
|
72
|
+
"You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
73
|
+
), r[b] = !0, u++);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
|
|
77
|
+
}
|
|
78
|
+
var n = i.bind(null, !1);
|
|
79
|
+
return n.isRequired = i.bind(null, !0), n;
|
|
80
|
+
}
|
|
81
|
+
function p(e) {
|
|
82
|
+
function r(u, i, n, f, t, a) {
|
|
83
|
+
var o = u[i], c = g(o);
|
|
84
|
+
if (c !== e) {
|
|
85
|
+
var s = O(o);
|
|
86
|
+
return new d(
|
|
87
|
+
"Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
|
|
88
|
+
{ expectedType: e }
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
return v(r);
|
|
94
|
+
}
|
|
95
|
+
function M() {
|
|
96
|
+
return v(E);
|
|
97
|
+
}
|
|
98
|
+
function U(e) {
|
|
99
|
+
function r(u, i, n, f, t) {
|
|
100
|
+
if (typeof e != "function")
|
|
101
|
+
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
|
|
102
|
+
var a = u[i];
|
|
103
|
+
if (!Array.isArray(a)) {
|
|
104
|
+
var o = g(a);
|
|
105
|
+
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
|
|
106
|
+
}
|
|
107
|
+
for (var c = 0; c < a.length; c++) {
|
|
108
|
+
var s = e(a, c, n, f, t + "[" + c + "]", h);
|
|
109
|
+
if (s instanceof Error)
|
|
110
|
+
return s;
|
|
111
|
+
}
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
return v(r);
|
|
115
|
+
}
|
|
116
|
+
function B() {
|
|
117
|
+
function e(r, u, i, n, f) {
|
|
118
|
+
var t = r[u];
|
|
119
|
+
if (!x(t)) {
|
|
120
|
+
var a = g(t);
|
|
121
|
+
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
|
|
122
|
+
}
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
return v(e);
|
|
126
|
+
}
|
|
127
|
+
function J() {
|
|
128
|
+
function e(r, u, i, n, f) {
|
|
129
|
+
var t = r[u];
|
|
130
|
+
if (!k.isValidElementType(t)) {
|
|
131
|
+
var a = g(t);
|
|
132
|
+
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
|
|
133
|
+
}
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
return v(e);
|
|
137
|
+
}
|
|
138
|
+
function z(e) {
|
|
139
|
+
function r(u, i, n, f, t) {
|
|
140
|
+
if (!(u[i] instanceof e)) {
|
|
141
|
+
var a = e.name || P, o = V(u[i]);
|
|
142
|
+
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
|
|
143
|
+
}
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
146
|
+
return v(r);
|
|
147
|
+
}
|
|
148
|
+
function L(e) {
|
|
149
|
+
if (!Array.isArray(e))
|
|
150
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
|
|
151
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
152
|
+
) : T("Invalid argument supplied to oneOf, expected an array.")), E;
|
|
153
|
+
function r(u, i, n, f, t) {
|
|
154
|
+
for (var a = u[i], o = 0; o < e.length; o++)
|
|
155
|
+
if (Y(a, e[o]))
|
|
156
|
+
return null;
|
|
157
|
+
var c = JSON.stringify(e, function(y, l) {
|
|
158
|
+
var b = O(l);
|
|
159
|
+
return b === "symbol" ? String(l) : l;
|
|
160
|
+
});
|
|
161
|
+
return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
|
|
162
|
+
}
|
|
163
|
+
return v(r);
|
|
164
|
+
}
|
|
165
|
+
function H(e) {
|
|
166
|
+
function r(u, i, n, f, t) {
|
|
167
|
+
if (typeof e != "function")
|
|
168
|
+
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
|
|
169
|
+
var a = u[i], o = g(a);
|
|
170
|
+
if (o !== "object")
|
|
171
|
+
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
|
|
172
|
+
for (var c in a)
|
|
173
|
+
if (j(a, c)) {
|
|
174
|
+
var s = e(a, c, n, f, t + "." + c, h);
|
|
175
|
+
if (s instanceof Error)
|
|
176
|
+
return s;
|
|
177
|
+
}
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
return v(r);
|
|
181
|
+
}
|
|
182
|
+
function X(e) {
|
|
183
|
+
if (!Array.isArray(e))
|
|
184
|
+
return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
|
|
185
|
+
for (var r = 0; r < e.length; r++) {
|
|
186
|
+
var u = e[r];
|
|
187
|
+
if (typeof u != "function")
|
|
188
|
+
return T(
|
|
189
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
|
|
190
|
+
), E;
|
|
191
|
+
}
|
|
192
|
+
function i(n, f, t, a, o) {
|
|
193
|
+
for (var c = [], s = 0; s < e.length; s++) {
|
|
194
|
+
var y = e[s], l = y(n, f, t, a, o, h);
|
|
195
|
+
if (l == null)
|
|
196
|
+
return null;
|
|
197
|
+
l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
|
|
198
|
+
}
|
|
199
|
+
var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
|
|
200
|
+
return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
|
|
201
|
+
}
|
|
202
|
+
return v(i);
|
|
203
|
+
}
|
|
204
|
+
function G() {
|
|
205
|
+
function e(r, u, i, n, f) {
|
|
206
|
+
return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
|
|
207
|
+
}
|
|
208
|
+
return v(e);
|
|
209
|
+
}
|
|
210
|
+
function q(e, r, u, i, n) {
|
|
211
|
+
return new d(
|
|
212
|
+
(e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
function K(e) {
|
|
216
|
+
function r(u, i, n, f, t) {
|
|
217
|
+
var a = u[i], o = g(a);
|
|
218
|
+
if (o !== "object")
|
|
219
|
+
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
|
220
|
+
for (var c in e) {
|
|
221
|
+
var s = e[c];
|
|
222
|
+
if (typeof s != "function")
|
|
223
|
+
return q(n, f, t, c, O(s));
|
|
224
|
+
var y = s(a, c, n, f, t + "." + c, h);
|
|
225
|
+
if (y)
|
|
226
|
+
return y;
|
|
227
|
+
}
|
|
228
|
+
return null;
|
|
229
|
+
}
|
|
230
|
+
return v(r);
|
|
231
|
+
}
|
|
232
|
+
function Q(e) {
|
|
233
|
+
function r(u, i, n, f, t) {
|
|
234
|
+
var a = u[i], o = g(a);
|
|
235
|
+
if (o !== "object")
|
|
236
|
+
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
|
237
|
+
var c = W({}, u[i], e);
|
|
238
|
+
for (var s in c) {
|
|
239
|
+
var y = e[s];
|
|
240
|
+
if (j(e, s) && typeof y != "function")
|
|
241
|
+
return q(n, f, t, s, O(y));
|
|
242
|
+
if (!y)
|
|
243
|
+
return new d(
|
|
244
|
+
"Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
|
|
245
|
+
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
246
|
+
);
|
|
247
|
+
var l = y(a, s, n, f, t + "." + s, h);
|
|
248
|
+
if (l)
|
|
249
|
+
return l;
|
|
250
|
+
}
|
|
251
|
+
return null;
|
|
252
|
+
}
|
|
253
|
+
return v(r);
|
|
254
|
+
}
|
|
255
|
+
function I(e) {
|
|
256
|
+
switch (typeof e) {
|
|
257
|
+
case "number":
|
|
258
|
+
case "string":
|
|
259
|
+
case "undefined":
|
|
260
|
+
return !0;
|
|
261
|
+
case "boolean":
|
|
262
|
+
return !e;
|
|
263
|
+
case "object":
|
|
264
|
+
if (Array.isArray(e))
|
|
265
|
+
return e.every(I);
|
|
266
|
+
if (e === null || x(e))
|
|
267
|
+
return !0;
|
|
268
|
+
var r = m(e);
|
|
269
|
+
if (r) {
|
|
270
|
+
var u = r.call(e), i;
|
|
271
|
+
if (r !== e.entries) {
|
|
272
|
+
for (; !(i = u.next()).done; )
|
|
273
|
+
if (!I(i.value))
|
|
274
|
+
return !1;
|
|
275
|
+
} else
|
|
276
|
+
for (; !(i = u.next()).done; ) {
|
|
277
|
+
var n = i.value;
|
|
278
|
+
if (n && !I(n[1]))
|
|
279
|
+
return !1;
|
|
280
|
+
}
|
|
281
|
+
} else
|
|
282
|
+
return !1;
|
|
283
|
+
return !0;
|
|
284
|
+
default:
|
|
285
|
+
return !1;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
function Z(e, r) {
|
|
289
|
+
return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
|
|
290
|
+
}
|
|
291
|
+
function g(e) {
|
|
292
|
+
var r = typeof e;
|
|
293
|
+
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
|
|
294
|
+
}
|
|
295
|
+
function O(e) {
|
|
296
|
+
if (typeof e > "u" || e === null)
|
|
297
|
+
return "" + e;
|
|
298
|
+
var r = g(e);
|
|
299
|
+
if (r === "object") {
|
|
300
|
+
if (e instanceof Date)
|
|
301
|
+
return "date";
|
|
302
|
+
if (e instanceof RegExp)
|
|
303
|
+
return "regexp";
|
|
304
|
+
}
|
|
305
|
+
return r;
|
|
306
|
+
}
|
|
307
|
+
function $(e) {
|
|
308
|
+
var r = O(e);
|
|
309
|
+
switch (r) {
|
|
310
|
+
case "array":
|
|
311
|
+
case "object":
|
|
312
|
+
return "an " + r;
|
|
313
|
+
case "boolean":
|
|
314
|
+
case "date":
|
|
315
|
+
case "regexp":
|
|
316
|
+
return "a " + r;
|
|
317
|
+
default:
|
|
318
|
+
return r;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
function V(e) {
|
|
322
|
+
return !e.constructor || !e.constructor.name ? P : e.constructor.name;
|
|
323
|
+
}
|
|
324
|
+
return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
|
|
325
|
+
}, A;
|
|
326
|
+
}
|
|
327
|
+
export {
|
|
328
|
+
oe as __require
|
|
329
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { __module as r } from "../../_virtual/index.js";
|
|
2
|
+
import { __require as s } from "./node_modules/react-is/index.js";
|
|
3
|
+
import { __require as t } from "./factoryWithTypeCheckers.js";
|
|
4
|
+
import { __require as p } from "./factoryWithThrowingShims.js";
|
|
5
|
+
var e;
|
|
6
|
+
function q() {
|
|
7
|
+
if (e) return r.exports;
|
|
8
|
+
if (e = 1, process.env.NODE_ENV !== "production") {
|
|
9
|
+
var o = s(), i = !0;
|
|
10
|
+
r.exports = /* @__PURE__ */ t()(o.isElement, i);
|
|
11
|
+
} else
|
|
12
|
+
r.exports = /* @__PURE__ */ p()();
|
|
13
|
+
return r.exports;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
q as __require
|
|
17
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { __exports as r } from "../../../../../_virtual/react-is.development.js";
|
|
2
|
+
var A;
|
|
3
|
+
function re() {
|
|
4
|
+
return A ? r : (A = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
5
|
+
var o = typeof Symbol == "function" && Symbol.for, _ = o ? Symbol.for("react.element") : 60103, T = o ? Symbol.for("react.portal") : 60106, t = o ? Symbol.for("react.fragment") : 60107, n = o ? Symbol.for("react.strict_mode") : 60108, s = o ? Symbol.for("react.profiler") : 60114, c = o ? Symbol.for("react.provider") : 60109, i = o ? Symbol.for("react.context") : 60110, v = o ? Symbol.for("react.async_mode") : 60111, f = o ? Symbol.for("react.concurrent_mode") : 60111, u = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, y = o ? Symbol.for("react.suspense_list") : 60120, d = o ? Symbol.for("react.memo") : 60115, l = o ? Symbol.for("react.lazy") : 60116, x = o ? Symbol.for("react.block") : 60121, M = o ? Symbol.for("react.fundamental") : 60117, b = o ? Symbol.for("react.responder") : 60118, p = o ? Symbol.for("react.scope") : 60119;
|
|
6
|
+
function Y(e) {
|
|
7
|
+
return typeof e == "string" || typeof e == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
8
|
+
e === t || e === f || e === s || e === n || e === E || e === y || typeof e == "object" && e !== null && (e.$$typeof === l || e.$$typeof === d || e.$$typeof === c || e.$$typeof === i || e.$$typeof === u || e.$$typeof === M || e.$$typeof === b || e.$$typeof === p || e.$$typeof === x);
|
|
9
|
+
}
|
|
10
|
+
function a(e) {
|
|
11
|
+
if (typeof e == "object" && e !== null) {
|
|
12
|
+
var C = e.$$typeof;
|
|
13
|
+
switch (C) {
|
|
14
|
+
case _:
|
|
15
|
+
var m = e.type;
|
|
16
|
+
switch (m) {
|
|
17
|
+
case v:
|
|
18
|
+
case f:
|
|
19
|
+
case t:
|
|
20
|
+
case s:
|
|
21
|
+
case n:
|
|
22
|
+
case E:
|
|
23
|
+
return m;
|
|
24
|
+
default:
|
|
25
|
+
var P = m && m.$$typeof;
|
|
26
|
+
switch (P) {
|
|
27
|
+
case i:
|
|
28
|
+
case u:
|
|
29
|
+
case l:
|
|
30
|
+
case d:
|
|
31
|
+
case c:
|
|
32
|
+
return P;
|
|
33
|
+
default:
|
|
34
|
+
return C;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
case T:
|
|
38
|
+
return C;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
var $ = v, O = f, F = i, N = c, I = _, L = u, h = t, w = l, D = d, g = T, z = s, U = n, V = E, R = !1;
|
|
43
|
+
function q(e) {
|
|
44
|
+
return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), S(e) || a(e) === v;
|
|
45
|
+
}
|
|
46
|
+
function S(e) {
|
|
47
|
+
return a(e) === f;
|
|
48
|
+
}
|
|
49
|
+
function W(e) {
|
|
50
|
+
return a(e) === i;
|
|
51
|
+
}
|
|
52
|
+
function k(e) {
|
|
53
|
+
return a(e) === c;
|
|
54
|
+
}
|
|
55
|
+
function B(e) {
|
|
56
|
+
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
57
|
+
}
|
|
58
|
+
function G(e) {
|
|
59
|
+
return a(e) === u;
|
|
60
|
+
}
|
|
61
|
+
function K(e) {
|
|
62
|
+
return a(e) === t;
|
|
63
|
+
}
|
|
64
|
+
function X(e) {
|
|
65
|
+
return a(e) === l;
|
|
66
|
+
}
|
|
67
|
+
function Z(e) {
|
|
68
|
+
return a(e) === d;
|
|
69
|
+
}
|
|
70
|
+
function H(e) {
|
|
71
|
+
return a(e) === T;
|
|
72
|
+
}
|
|
73
|
+
function J(e) {
|
|
74
|
+
return a(e) === s;
|
|
75
|
+
}
|
|
76
|
+
function Q(e) {
|
|
77
|
+
return a(e) === n;
|
|
78
|
+
}
|
|
79
|
+
function j(e) {
|
|
80
|
+
return a(e) === E;
|
|
81
|
+
}
|
|
82
|
+
r.AsyncMode = $, r.ConcurrentMode = O, r.ContextConsumer = F, r.ContextProvider = N, r.Element = I, r.ForwardRef = L, r.Fragment = h, r.Lazy = w, r.Memo = D, r.Portal = g, r.Profiler = z, r.StrictMode = U, r.Suspense = V, r.isAsyncMode = q, r.isConcurrentMode = S, r.isContextConsumer = W, r.isContextProvider = k, r.isElement = B, r.isForwardRef = G, r.isFragment = K, r.isLazy = X, r.isMemo = Z, r.isPortal = H, r.isProfiler = J, r.isStrictMode = Q, r.isSuspense = j, r.isValidElementType = Y, r.typeOf = a;
|
|
83
|
+
})(), r);
|
|
84
|
+
}
|
|
85
|
+
export {
|
|
86
|
+
re as __require
|
|
87
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __exports as r } from "../../../../../_virtual/react-is.production.min.js";
|
|
2
|
+
var _;
|
|
3
|
+
function g() {
|
|
4
|
+
if (_) return r;
|
|
5
|
+
_ = 1;
|
|
6
|
+
var t = typeof Symbol == "function" && Symbol.for, a = t ? Symbol.for("react.element") : 60103, b = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, c = t ? Symbol.for("react.strict_mode") : 60108, f = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, y = t ? Symbol.for("react.forward_ref") : 60112, l = t ? Symbol.for("react.suspense") : 60113, x = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, C = t ? Symbol.for("react.block") : 60121, M = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
7
|
+
function o(e) {
|
|
8
|
+
if (typeof e == "object" && e !== null) {
|
|
9
|
+
var S = e.$$typeof;
|
|
10
|
+
switch (S) {
|
|
11
|
+
case a:
|
|
12
|
+
switch (e = e.type, e) {
|
|
13
|
+
case d:
|
|
14
|
+
case u:
|
|
15
|
+
case n:
|
|
16
|
+
case f:
|
|
17
|
+
case c:
|
|
18
|
+
case l:
|
|
19
|
+
return e;
|
|
20
|
+
default:
|
|
21
|
+
switch (e = e && e.$$typeof, e) {
|
|
22
|
+
case s:
|
|
23
|
+
case y:
|
|
24
|
+
case p:
|
|
25
|
+
case m:
|
|
26
|
+
case i:
|
|
27
|
+
return e;
|
|
28
|
+
default:
|
|
29
|
+
return S;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
case b:
|
|
33
|
+
return S;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function $(e) {
|
|
38
|
+
return o(e) === u;
|
|
39
|
+
}
|
|
40
|
+
return r.AsyncMode = d, r.ConcurrentMode = u, r.ContextConsumer = s, r.ContextProvider = i, r.Element = a, r.ForwardRef = y, r.Fragment = n, r.Lazy = p, r.Memo = m, r.Portal = b, r.Profiler = f, r.StrictMode = c, r.Suspense = l, r.isAsyncMode = function(e) {
|
|
41
|
+
return $(e) || o(e) === d;
|
|
42
|
+
}, r.isConcurrentMode = $, r.isContextConsumer = function(e) {
|
|
43
|
+
return o(e) === s;
|
|
44
|
+
}, r.isContextProvider = function(e) {
|
|
45
|
+
return o(e) === i;
|
|
46
|
+
}, r.isElement = function(e) {
|
|
47
|
+
return typeof e == "object" && e !== null && e.$$typeof === a;
|
|
48
|
+
}, r.isForwardRef = function(e) {
|
|
49
|
+
return o(e) === y;
|
|
50
|
+
}, r.isFragment = function(e) {
|
|
51
|
+
return o(e) === n;
|
|
52
|
+
}, r.isLazy = function(e) {
|
|
53
|
+
return o(e) === p;
|
|
54
|
+
}, r.isMemo = function(e) {
|
|
55
|
+
return o(e) === m;
|
|
56
|
+
}, r.isPortal = function(e) {
|
|
57
|
+
return o(e) === b;
|
|
58
|
+
}, r.isProfiler = function(e) {
|
|
59
|
+
return o(e) === f;
|
|
60
|
+
}, r.isStrictMode = function(e) {
|
|
61
|
+
return o(e) === c;
|
|
62
|
+
}, r.isSuspense = function(e) {
|
|
63
|
+
return o(e) === l;
|
|
64
|
+
}, r.isValidElementType = function(e) {
|
|
65
|
+
return typeof e == "string" || typeof e == "function" || e === n || e === u || e === f || e === c || e === l || e === x || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === m || e.$$typeof === i || e.$$typeof === s || e.$$typeof === y || e.$$typeof === M || e.$$typeof === v || e.$$typeof === w || e.$$typeof === C);
|
|
66
|
+
}, r.typeOf = o, r;
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
g as __require
|
|
70
|
+
};
|