@code0-tech/pictor 0.0.0-mvp.31 → 0.0.0-mvp.32
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/components/avatar/Avatar.js +7 -7
- package/dist/components/breadcrumb/Breadcrumb.js +4 -4
- package/dist/components/button/Button.js +8 -8
- package/dist/components/context-menu/ContextMenu.js +131 -131
- package/dist/components/d-flow/DFlow.edges.hook.js +22 -22
- package/dist/components/d-flow/DFlow.js +32 -32
- package/dist/components/d-flow/DFlow.nodes.hook.js +8 -8
- package/dist/components/d-flow-file/DFlowTabDefault.js +16 -16
- package/dist/components/d-flow-folder/DFlowFolder.js +13 -13
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +5 -5
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.js +13 -13
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +5 -5
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +11 -11
- package/dist/components/d-flow-function/DFlowFunctionDefaultCard.js +7 -7
- package/dist/components/d-flow-function/DFlowFunctionSuggestionCard.js +9 -9
- package/dist/components/d-flow-function/DFlowFunctionTriggerCard.js +12 -12
- package/dist/components/d-flow-input/DFlowInputDataType.js +16 -16
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +8 -8
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +4 -4
- package/dist/components/d-flow-panel/DFlowExport.js +5 -5
- package/dist/components/d-flow-panel/DFlowPanelControl.js +4 -4
- package/dist/components/d-flow-suggestion/DFlowFunctionSuggestions.hook.js +4 -4
- package/dist/components/d-flow-suggestion/DFlowSuggestion.hook.js +7 -7
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +12 -12
- package/dist/components/d-flow-suggestion/DFlowSuggestionSearchInput.js +5 -5
- package/dist/components/d-flow-suggestion/DFlowValueSuggestions.hook.js +4 -4
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +3 -3
- package/dist/components/d-fullscreen/DFullScreen.js +2 -2
- package/dist/components/d-member/DNamespaceMemberList.js +5 -5
- package/dist/components/d-organization/DOrganizationList.js +7 -7
- package/dist/components/d-organization/DOrganizationMenu.js +5 -5
- package/dist/components/d-organization/DOrganizatonContent.js +22 -22
- package/dist/components/d-project/DNamespaceProjectContent.js +6 -6
- package/dist/components/d-project/DNamespaceProjectList.js +5 -5
- package/dist/components/d-project/DNamespaceProjectMenu.js +2 -2
- package/dist/components/d-role/DNamespaceRolePermissions.js +5 -5
- package/dist/components/d-runtime/DRuntimeList.js +7 -7
- package/dist/components/d-user/DUser.session.hook.js +2 -2
- package/dist/components/d-user/DUserContent.js +13 -13
- package/dist/components/d-user/DUserList.js +9 -9
- package/dist/components/form/CheckboxInput.js +4 -4
- package/dist/components/form/EmailInput.js +9 -9
- package/dist/components/form/Input.js +311 -230
- package/dist/components/form/Input.utils.js +1 -1
- package/dist/components/form/InputContentEditable.hook.d.ts +14 -2
- package/dist/components/form/InputContentEditable.hook.js +296 -317
- package/dist/components/form/NumberInput.js +9 -9
- package/dist/components/form/PasswordInput.js +2 -2
- package/dist/components/form/SwitchInput.js +7 -7
- package/dist/components/form/TextInput.js +6 -6
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +2 -2
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +8 -8
- package/dist/utils/objectStore.js +15 -15
- package/dist/utils/reactiveArrayService.js +10 -10
- package/package.json +18 -18
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/react-contenteditable.js +0 -7
- package/dist/_virtual/react-contenteditable2.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server-legacy.browser.production.js +0 -4
- package/dist/_virtual/react-dom-server.browser.development.js +0 -4
- package/dist/_virtual/react-dom-server.browser.production.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/server.browser.js +0 -5
- package/dist/_virtual/server.browser2.js +0 -4
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -48
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -53
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +0 -222
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +0 -636
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -183
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
- package/dist/node_modules/fast-deep-equal/index.js +0 -31
- package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
- package/dist/node_modules/object-assign/index.js +0 -49
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -87
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -70
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/react-contenteditable/lib/react-contenteditable.js +0 -132
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -6235
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +0 -4096
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -6753
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +0 -4645
- package/dist/node_modules/react-dom/server.browser.js +0 -15
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -112
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
- package/dist/node_modules/tslib/tslib.es6.js +0 -27
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as h from "react";
|
|
2
|
-
import { useLayoutEffect as z } from "../../react-use-layout-effect/dist/index.js";
|
|
3
|
-
function c(r) {
|
|
4
|
-
const [d, e] = h.useState(void 0);
|
|
5
|
-
return z(() => {
|
|
6
|
-
if (r) {
|
|
7
|
-
e({ width: r.offsetWidth, height: r.offsetHeight });
|
|
8
|
-
const f = new ResizeObserver((i) => {
|
|
9
|
-
if (!Array.isArray(i) || !i.length)
|
|
10
|
-
return;
|
|
11
|
-
const b = i[0];
|
|
12
|
-
let o, t;
|
|
13
|
-
if ("borderBoxSize" in b) {
|
|
14
|
-
const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
|
|
15
|
-
o = u.inlineSize, t = u.blockSize;
|
|
16
|
-
} else
|
|
17
|
-
o = r.offsetWidth, t = r.offsetHeight;
|
|
18
|
-
e({ width: o, height: t });
|
|
19
|
-
});
|
|
20
|
-
return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
|
|
21
|
-
} else
|
|
22
|
-
e(void 0);
|
|
23
|
-
}, [r]), d;
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
c as useSize
|
|
27
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
var S = function(r) {
|
|
2
|
-
if (typeof document > "u")
|
|
3
|
-
return null;
|
|
4
|
-
var u = Array.isArray(r) ? r[0] : r;
|
|
5
|
-
return u.ownerDocument.body;
|
|
6
|
-
}, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
|
|
7
|
-
return r && (r.host || W(r.parentNode));
|
|
8
|
-
}, D = function(r, u) {
|
|
9
|
-
return u.map(function(e) {
|
|
10
|
-
if (r.contains(e))
|
|
11
|
-
return e;
|
|
12
|
-
var n = W(e);
|
|
13
|
-
return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
|
|
14
|
-
}).filter(function(e) {
|
|
15
|
-
return !!e;
|
|
16
|
-
});
|
|
17
|
-
}, E = function(r, u, e, n) {
|
|
18
|
-
var i = D(u, Array.isArray(r) ? r : [r]);
|
|
19
|
-
p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
|
|
20
|
-
var s = p[e], l = [], o = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
|
|
21
|
-
!t || o.has(t) || (o.add(t), y(t.parentNode));
|
|
22
|
-
};
|
|
23
|
-
i.forEach(y);
|
|
24
|
-
var A = function(t) {
|
|
25
|
-
!t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
|
|
26
|
-
if (o.has(a))
|
|
27
|
-
A(a);
|
|
28
|
-
else
|
|
29
|
-
try {
|
|
30
|
-
var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (s.get(a) || 0) + 1;
|
|
31
|
-
f.set(a, d), s.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
|
|
32
|
-
} catch (k) {
|
|
33
|
-
console.error("aria-hidden: cannot operate on ", a, k);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
return A(u), o.clear(), h++, function() {
|
|
38
|
-
l.forEach(function(t) {
|
|
39
|
-
var a = f.get(t) - 1, c = s.get(t) - 1;
|
|
40
|
-
f.set(t, a), s.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
|
|
41
|
-
}), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
|
|
42
|
-
};
|
|
43
|
-
}, C = function(r, u, e) {
|
|
44
|
-
e === void 0 && (e = "data-aria-hidden");
|
|
45
|
-
var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
|
|
46
|
-
return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live], script"))), E(n, i, e, "aria-hidden")) : function() {
|
|
47
|
-
return null;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export {
|
|
51
|
-
C as hideOthers
|
|
52
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var o, c;
|
|
2
|
-
function l() {
|
|
3
|
-
return c || (c = 1, o = function n(r, e) {
|
|
4
|
-
if (r === e) return !0;
|
|
5
|
-
if (r && e && typeof r == "object" && typeof e == "object") {
|
|
6
|
-
if (r.constructor !== e.constructor) return !1;
|
|
7
|
-
var u, t, f;
|
|
8
|
-
if (Array.isArray(r)) {
|
|
9
|
-
if (u = r.length, u != e.length) return !1;
|
|
10
|
-
for (t = u; t-- !== 0; )
|
|
11
|
-
if (!n(r[t], e[t])) return !1;
|
|
12
|
-
return !0;
|
|
13
|
-
}
|
|
14
|
-
if (r.constructor === RegExp) return r.source === e.source && r.flags === e.flags;
|
|
15
|
-
if (r.valueOf !== Object.prototype.valueOf) return r.valueOf() === e.valueOf();
|
|
16
|
-
if (r.toString !== Object.prototype.toString) return r.toString() === e.toString();
|
|
17
|
-
if (f = Object.keys(r), u = f.length, u !== Object.keys(e).length) return !1;
|
|
18
|
-
for (t = u; t-- !== 0; )
|
|
19
|
-
if (!Object.prototype.hasOwnProperty.call(e, f[t])) return !1;
|
|
20
|
-
for (t = u; t-- !== 0; ) {
|
|
21
|
-
var s = f[t];
|
|
22
|
-
if (!n(r[s], e[s])) return !1;
|
|
23
|
-
}
|
|
24
|
-
return !0;
|
|
25
|
-
}
|
|
26
|
-
return r !== r && e !== e;
|
|
27
|
-
}), o;
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
l as __require
|
|
31
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,329 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
};
|