reaxify 0.0.98 → 1.3.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/dist/_virtual/_commonjsHelpers.cjs.js +1 -1
- package/dist/_virtual/_commonjsHelpers.es.js +3 -4
- package/dist/_virtual/index.cjs.js +1 -1
- package/dist/_virtual/index.cjs2.js +1 -1
- package/dist/_virtual/index.cjs3.js +1 -1
- package/dist/_virtual/index.es.js +3 -4
- package/dist/_virtual/index.es2.js +2 -3
- package/dist/_virtual/index.es3.js +0 -1
- package/dist/_virtual/react-is.development.cjs.js +1 -1
- package/dist/_virtual/react-is.development.es.js +0 -1
- package/dist/_virtual/react-is.production.min.cjs.js +1 -1
- package/dist/_virtual/react-is.production.min.es.js +2 -3
- package/dist/axios/index.d.ts.map +1 -1
- package/dist/axios/useAxios.cjs.js +1 -1
- package/dist/axios/useAxios.es.js +7 -7
- package/dist/components/Accordion/index.cjs.js +1 -1
- package/dist/components/Accordion/index.d.ts +4 -2
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.es.js +80 -96
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.d.ts +6 -11
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/index.es.js +122 -99
- package/dist/components/Avatar/index.cjs.js +1 -1
- package/dist/components/Avatar/index.d.ts +3 -3
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Avatar/index.es.js +108 -97
- package/dist/components/Badge/index.cjs.js +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.es.js +35 -35
- package/dist/components/Button/index.cjs.js +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.es.js +97 -99
- package/dist/components/ButtonGroup/index.cjs.js +1 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -4
- package/dist/components/ButtonGroup/index.d.ts.map +1 -1
- package/dist/components/ButtonGroup/index.es.js +41 -37
- package/dist/components/Card/index.cjs.js +1 -1
- package/dist/components/Card/index.d.ts +4 -4
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/index.es.js +62 -36
- package/dist/components/Collapse/index.cjs.js +1 -0
- package/dist/components/Collapse/index.d.ts +14 -0
- package/dist/components/Collapse/index.d.ts.map +1 -0
- package/dist/components/Collapse/index.es.js +57 -0
- package/dist/components/Divider/index.cjs.js +1 -1
- package/dist/components/Divider/index.d.ts.map +1 -1
- package/dist/components/Divider/index.es.js +21 -18
- package/dist/components/Drawer/index.cjs.js +1 -1
- package/dist/components/Drawer/index.d.ts +6 -9
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.es.js +143 -104
- package/dist/components/Fill/index.cjs.js +1 -1
- package/dist/components/Fill/index.d.ts +1 -1
- package/dist/components/Fill/index.d.ts.map +1 -1
- package/dist/components/Fill/index.es.js +18 -10
- package/dist/components/InputGroup/index.cjs.js +1 -1
- package/dist/components/InputGroup/index.d.ts.map +1 -1
- package/dist/components/InputGroup/index.es.js +49 -37
- package/dist/components/List/index.cjs.js +1 -0
- package/dist/components/List/index.d.ts +25 -0
- package/dist/components/List/index.d.ts.map +1 -0
- package/dist/components/List/index.es.js +169 -0
- package/dist/components/Menu/index.cjs.js +1 -1
- package/dist/components/Menu/index.d.ts +3 -2
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.es.js +115 -96
- package/dist/components/Modal/index.cjs.js +1 -1
- package/dist/components/Modal/index.d.ts +7 -9
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.es.js +134 -87
- package/dist/components/Portal/index.cjs.js +1 -1
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/Portal/index.es.js +5 -4
- package/dist/components/Progress/index.cjs.js +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.es.js +27 -22
- package/dist/components/Skeleton/index.cjs.js +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.es.js +8 -8
- package/dist/components/Spacer/index.cjs.js +1 -1
- package/dist/components/Spacer/index.d.ts.map +1 -1
- package/dist/components/Spacer/index.es.js +5 -5
- package/dist/components/Spinner/index.cjs.js +1 -1
- package/dist/components/Spinner/index.d.ts +3 -2
- package/dist/components/Spinner/index.d.ts.map +1 -1
- package/dist/components/Spinner/index.es.js +17 -16
- package/dist/components/Stack/index.cjs.js +1 -1
- package/dist/components/Stack/index.d.ts.map +1 -1
- package/dist/components/Stack/index.es.js +30 -28
- package/dist/components/Switch/index.cjs.js +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.es.js +17 -13
- package/dist/components/Table/index.cjs.js +1 -1
- package/dist/components/Table/index.d.ts +12 -6
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.es.js +143 -87
- package/dist/components/Tabs/index.cjs.js +1 -1
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.es.js +58 -48
- package/dist/components/Toggle/index.cjs.js +1 -0
- package/dist/components/Toggle/index.d.ts +48 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/Toggle/index.es.js +115 -0
- package/dist/components/Tooltip/index.cjs.js +1 -1
- package/dist/components/Tooltip/index.d.ts +16 -9
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/index.es.js +191 -114
- package/dist/components/Typography/index.cjs.js +1 -1
- package/dist/components/Typography/index.d.ts +2 -2
- package/dist/components/Typography/index.d.ts.map +1 -1
- package/dist/components/Typography/index.es.js +19 -17
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.es.js +48 -41
- package/dist/helpers/anchorPointer.cjs.js +1 -0
- package/dist/helpers/anchorPointer.d.ts +8 -0
- package/dist/helpers/anchorPointer.d.ts.map +1 -0
- package/dist/helpers/anchorPointer.es.js +11 -0
- package/dist/helpers/cn.cjs.js +1 -1
- package/dist/helpers/cn.es.js +2 -3
- package/dist/helpers/copy.cjs.js +1 -1
- package/dist/helpers/copy.es.js +4 -5
- package/dist/helpers/createPolymorphicComponent.cjs.js +1 -0
- package/dist/helpers/createPolymorphicComponent.d.ts +7 -0
- package/dist/helpers/createPolymorphicComponent.d.ts.map +1 -0
- package/dist/helpers/createPolymorphicComponent.es.js +15 -0
- package/dist/helpers/index.cjs.js +1 -1
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.es.js +30 -25
- package/dist/helpers/isEmpty.cjs.js +1 -1
- package/dist/helpers/isEmpty.es.js +0 -1
- package/dist/helpers/isServer.cjs.js +1 -1
- package/dist/helpers/isServer.es.js +0 -1
- package/dist/helpers/randomID.cjs.js +1 -1
- package/dist/helpers/randomID.es.js +0 -1
- package/dist/helpers/replaceNonDigits.cjs.js +1 -1
- package/dist/helpers/replaceNonDigits.es.js +4 -5
- package/dist/helpers/replacePersianNumbers.cjs.js +1 -1
- package/dist/helpers/replacePersianNumbers.es.js +0 -1
- package/dist/helpers/scrollIntoView.cjs.js +1 -1
- package/dist/helpers/scrollIntoView.es.js +4 -5
- package/dist/helpers/twoDigitNumber.cjs.js +1 -1
- package/dist/helpers/twoDigitNumber.es.js +0 -1
- package/dist/helpers/wait.cjs.js +1 -1
- package/dist/helpers/wait.es.js +5 -6
- package/dist/hooks/index.cjs.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.es.js +6 -4
- package/dist/hooks/usePreventableClose.cjs.js +1 -0
- package/dist/hooks/usePreventableClose.d.ts +8 -0
- package/dist/hooks/usePreventableClose.d.ts.map +1 -0
- package/dist/hooks/usePreventableClose.es.js +21 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.cjs.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.es.js +2 -3
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.es.js +7 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.es.js +0 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/constants.cjs.js +1 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/constants.es.js +0 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/format.cjs.js +1 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/format.es.js +4 -5
- package/dist/node_modules/@tanstack/hotkeys/dist/hotkey-manager.cjs.js +1 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/hotkey-manager.es.js +11 -12
- package/dist/node_modules/@tanstack/hotkeys/dist/manager.utils.cjs.js +1 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/manager.utils.es.js +0 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/match.cjs.js +1 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/match.es.js +2 -3
- package/dist/node_modules/@tanstack/hotkeys/dist/parse.cjs.js +1 -1
- package/dist/node_modules/@tanstack/hotkeys/dist/parse.es.js +45 -42
- package/dist/node_modules/@tanstack/react-hotkeys/dist/HotkeysProvider.cjs.js +1 -1
- package/dist/node_modules/@tanstack/react-hotkeys/dist/HotkeysProvider.es.js +0 -1
- package/dist/node_modules/@tanstack/react-hotkeys/dist/useHotkey.cjs.js +1 -1
- package/dist/node_modules/@tanstack/react-hotkeys/dist/useHotkey.es.js +3 -4
- package/dist/node_modules/@tanstack/react-hotkeys/dist/utils.cjs.js +1 -1
- package/dist/node_modules/@tanstack/react-hotkeys/dist/utils.es.js +0 -1
- package/dist/node_modules/@tanstack/store/dist/esm/alien.cjs.js +1 -1
- package/dist/node_modules/@tanstack/store/dist/esm/alien.es.js +22 -23
- package/dist/node_modules/@tanstack/store/dist/esm/atom.cjs.js +1 -1
- package/dist/node_modules/@tanstack/store/dist/esm/atom.es.js +0 -1
- package/dist/node_modules/@tanstack/store/dist/esm/store.cjs.js +1 -1
- package/dist/node_modules/@tanstack/store/dist/esm/store.es.js +2 -3
- package/dist/node_modules/iconsax-react/dist/esm/ArrowDown2.cjs.js +1 -1
- package/dist/node_modules/iconsax-react/dist/esm/ArrowDown2.es.js +0 -1
- package/dist/node_modules/iconsax-react/dist/esm/_rollupPluginBabelHelpers-3bc641ae.cjs.js +1 -1
- package/dist/node_modules/iconsax-react/dist/esm/_rollupPluginBabelHelpers-3bc641ae.es.js +12 -13
- package/dist/node_modules/object-assign/index.cjs.js +1 -1
- package/dist/node_modules/object-assign/index.es.js +7 -8
- package/dist/node_modules/prop-types/checkPropTypes.cjs.js +1 -1
- package/dist/node_modules/prop-types/checkPropTypes.es.js +12 -13
- package/dist/node_modules/prop-types/factoryWithThrowingShims.cjs.js +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.es.js +6 -7
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.cjs.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.es.js +1 -2
- package/dist/node_modules/prop-types/index.cjs.js +1 -1
- package/dist/node_modules/prop-types/index.es.js +3 -4
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.cjs.js +1 -1
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.es.js +0 -1
- package/dist/node_modules/prop-types/lib/has.cjs.js +1 -1
- package/dist/node_modules/prop-types/lib/has.es.js +2 -3
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.cjs.js +2 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.es.js +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.cjs.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.es.js +0 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.cjs.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.es.js +3 -4
- package/dist/node_modules/react-animate-height/dist/esm/index.cjs.js +1 -1
- package/dist/node_modules/react-animate-height/dist/esm/index.es.js +0 -1
- package/dist/node_modules/react-transition-group/esm/Transition.cjs.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.es.js +0 -1
- package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.cjs.js +1 -1
- package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.es.js +2 -3
- package/dist/node_modules/react-transition-group/esm/config.cjs.js +1 -1
- package/dist/node_modules/react-transition-group/esm/config.es.js +2 -3
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.cjs.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.es.js +2 -3
- package/dist/node_modules/react-transition-group/esm/utils/reflow.cjs.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/reflow.es.js +3 -4
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.cjs.js +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.es.js +0 -1
- package/dist/providers/ThemeProvider.d.ts +33 -1
- package/dist/providers/ThemeProvider.d.ts.map +1 -1
- package/dist/providers/index.cjs.js +1 -1
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.es.js +3 -2
- package/dist/stores/portalElement.cjs.js +1 -1
- package/dist/stores/portalElement.d.ts.map +1 -1
- package/dist/stores/portalElement.es.js +13 -10
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +7 -3
- package/dist/reaxify.css +0 -1
|
@@ -1,72 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
let
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
if (s === o.length - 1) i = f(n);
|
|
1
|
+
import { detectPlatform as l, normalizeKeyName as a, MODIFIER_ALIASES as u, resolveModifier as m, MODIFIER_ORDER as c } from "./constants.es.js";
|
|
2
|
+
function y(t, o = l()) {
|
|
3
|
+
const i = t.split("+"), e = /* @__PURE__ */ new Set();
|
|
4
|
+
let r = "";
|
|
5
|
+
for (let n = 0; n < i.length; n++) {
|
|
6
|
+
const s = i[n].trim();
|
|
7
|
+
if (n === i.length - 1) r = a(s);
|
|
9
8
|
else {
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
12
|
-
const
|
|
13
|
-
e.add(
|
|
14
|
-
} else
|
|
9
|
+
const f = u[s] ?? u[s.toLowerCase()];
|
|
10
|
+
if (f) {
|
|
11
|
+
const d = m(f, o);
|
|
12
|
+
e.add(d);
|
|
13
|
+
} else i.length === 1 && (r = a(s));
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
|
-
return !
|
|
18
|
-
key:
|
|
16
|
+
return !r && i.length > 0 && (r = a(i[i.length - 1].trim())), {
|
|
17
|
+
key: r,
|
|
19
18
|
ctrl: e.has("Control"),
|
|
20
19
|
shift: e.has("Shift"),
|
|
21
20
|
alt: e.has("Alt"),
|
|
22
21
|
meta: e.has("Meta"),
|
|
23
|
-
modifiers: c.filter((
|
|
22
|
+
modifiers: c.filter((n) => e.has(n))
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
|
-
function
|
|
27
|
-
let
|
|
28
|
-
const e = t.shift ?? !1,
|
|
29
|
-
let
|
|
30
|
-
t.mod && (
|
|
31
|
-
const
|
|
32
|
-
switch (
|
|
25
|
+
function k(t, o = l()) {
|
|
26
|
+
let i = t.ctrl ?? !1;
|
|
27
|
+
const e = t.shift ?? !1, r = t.alt ?? !1;
|
|
28
|
+
let n = t.meta ?? !1;
|
|
29
|
+
t.mod && (m("Mod", o) === "Control" ? i = !0 : n = !0);
|
|
30
|
+
const s = c.filter((f) => {
|
|
31
|
+
switch (f) {
|
|
33
32
|
case "Control":
|
|
34
|
-
return
|
|
33
|
+
return i;
|
|
35
34
|
case "Shift":
|
|
36
35
|
return e;
|
|
37
36
|
case "Alt":
|
|
38
|
-
return
|
|
37
|
+
return r;
|
|
39
38
|
case "Meta":
|
|
40
|
-
return
|
|
39
|
+
return n;
|
|
41
40
|
default:
|
|
42
41
|
return !1;
|
|
43
42
|
}
|
|
44
43
|
});
|
|
45
44
|
return {
|
|
46
45
|
key: t.key,
|
|
47
|
-
ctrl:
|
|
46
|
+
ctrl: i,
|
|
48
47
|
shift: e,
|
|
49
|
-
alt:
|
|
50
|
-
meta:
|
|
51
|
-
modifiers:
|
|
48
|
+
alt: r,
|
|
49
|
+
meta: n,
|
|
50
|
+
modifiers: s
|
|
52
51
|
};
|
|
53
52
|
}
|
|
54
|
-
function
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
53
|
+
function h(t, o) {
|
|
54
|
+
const i = o === "mac" ? t.meta && !t.ctrl : t.ctrl && !t.meta, e = [];
|
|
55
|
+
if (i)
|
|
57
56
|
e.push("Mod"), t.alt && e.push("Alt"), t.shift && e.push("Shift");
|
|
58
|
-
else for (const
|
|
59
|
-
return e.push(
|
|
57
|
+
else for (const r of c) t.modifiers.includes(r) && e.push(r);
|
|
58
|
+
return e.push(a(t.key)), e.join("+");
|
|
59
|
+
}
|
|
60
|
+
function g(t, o = l()) {
|
|
61
|
+
return h(y(t, o), o);
|
|
60
62
|
}
|
|
61
|
-
function
|
|
62
|
-
return
|
|
63
|
+
function M(t, o = l()) {
|
|
64
|
+
return h(t, o);
|
|
63
65
|
}
|
|
64
|
-
function S(t,
|
|
65
|
-
return k(t,
|
|
66
|
+
function S(t, o = l()) {
|
|
67
|
+
return typeof t == "string" ? g(t, o) : M(k(t, o), o);
|
|
66
68
|
}
|
|
67
69
|
export {
|
|
68
|
-
|
|
70
|
+
g as normalizeHotkey,
|
|
71
|
+
M as normalizeHotkeyFromParsed,
|
|
69
72
|
S as normalizeRegisterableHotkey,
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
y as parseHotkey,
|
|
74
|
+
k as rawHotkeyToParsedHotkey
|
|
72
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=e.createContext(null);function n(){var t;return((t=e.useContext(o))==null?void 0:t.defaultOptions)??{}}exports.useDefaultHotkeysOptions=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("./HotkeysProvider.cjs.js"),q=require("./utils.cjs.js"),A=require("../../hotkeys/dist/constants.cjs.js"),O=require("../../hotkeys/dist/parse.cjs.js"),T=require("../../hotkeys/dist/hotkey-manager.cjs.js"),t=require("react");function b(k,i,p={}){var g;const n={...H.useDefaultHotkeysOptions().hotkey,...p},l=T.getHotkeyManager(),e=t.useRef(null),a=t.useRef(i),r=t.useRef(n),f=t.useRef(l);a.current=i,r.current=n,f.current=l;const u=t.useRef(null),c=t.useRef(null),s=O.normalizeRegisterableHotkey(k,n.platform??A.detectPlatform()),{target:M,...v}=n;t.useEffect(()=>{var R,y;const o=q.isRef(r.current.target)?r.current.target.current:r.current.target??(typeof document<"u"?document:null);if(!o){(R=e.current)!=null&&R.isActive&&(e.current.unregister(),e.current=null),u.current=null,c.current=null;return}const m=u.current!==null&&u.current!==o,h=c.current!==null&&c.current!==s;return(y=e.current)!=null&&y.isActive&&(m||h)&&(e.current.unregister(),e.current=null),(!e.current||!e.current.isActive)&&(e.current=f.current.register(s,a.current,{...r.current,target:o})),u.current=o,c.current=s,()=>{var d;(d=e.current)!=null&&d.isActive&&(e.current.unregister(),e.current=null)}},[s]),(g=e.current)!=null&&g.isActive&&(e.current.callback=i,e.current.setOptions(v))}exports.useHotkey=b;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { useDefaultHotkeysOptions as A } from "./HotkeysProvider.es.js";
|
|
3
2
|
import { isRef as H } from "./utils.es.js";
|
|
4
3
|
import { detectPlatform as O } from "../../hotkeys/dist/constants.es.js";
|
|
@@ -10,8 +9,8 @@ function W(y, s, R = {}) {
|
|
|
10
9
|
const n = {
|
|
11
10
|
...A().hotkey,
|
|
12
11
|
...R
|
|
13
|
-
},
|
|
14
|
-
|
|
12
|
+
}, f = C(), r = t(null), l = t(s), e = t(n), a = t(f);
|
|
13
|
+
l.current = s, e.current = n, a.current = f;
|
|
15
14
|
const u = t(null), c = t(null), o = T(y, n.platform ?? O()), { target: x, ...k } = n;
|
|
16
15
|
b(() => {
|
|
17
16
|
var m, p;
|
|
@@ -21,7 +20,7 @@ function W(y, s, R = {}) {
|
|
|
21
20
|
return;
|
|
22
21
|
}
|
|
23
22
|
const v = u.current !== null && u.current !== i, h = c.current !== null && c.current !== o;
|
|
24
|
-
return (p = r.current) != null && p.isActive && (v || h) && (r.current.unregister(), r.current = null), (!r.current || !r.current.isActive) && (r.current = a.current.register(o,
|
|
23
|
+
return (p = r.current) != null && p.isActive && (v || h) && (r.current.unregister(), r.current = null), (!r.current || !r.current.isActive) && (r.current = a.current.register(o, l.current, {
|
|
25
24
|
...e.current,
|
|
26
25
|
target: i
|
|
27
26
|
})), u.current = i, c.current = o, () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(e){return e!==null&&typeof e=="object"&&"current"in e}exports.isRef=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var b=(u=>(u[u.None=0]="None",u[u.Mutable=1]="Mutable",u[u.Watching=2]="Watching",u[u.RecursedCheck=4]="RecursedCheck",u[u.Recursed=8]="Recursed",u[u.Dirty=16]="Dirty",u[u.Pending=32]="Pending",u))(b||{});function T({update:u,notify:p,unwatched:l}){return{link:S,unlink:x,propagate:a,checkDirty:D,shallowPropagate:d};function S(e,s,i){const n=s.depsTail;if(n!==void 0&&n.dep===e)return;const t=n!==void 0?n.nextDep:s.deps;if(t!==void 0&&t.dep===e){t.version=i,s.depsTail=t;return}const o=e.subsTail;if(o!==void 0&&o.version===i&&o.sub===s)return;const f=s.depsTail=e.subsTail={version:i,dep:e,sub:s,prevDep:n,nextDep:t,prevSub:o,nextSub:void 0};t!==void 0&&(t.prevDep=f),n!==void 0?n.nextDep=f:s.deps=f,o!==void 0?o.nextSub=f:e.subs=f}function x(e,s=e.sub){const i=e.dep,n=e.prevDep,t=e.nextDep,o=e.nextSub,f=e.prevSub;return t!==void 0?t.prevDep=n:s.depsTail=n,n!==void 0?n.nextDep=t:s.deps=t,o!==void 0?o.prevSub=f:i.subsTail=f,f!==void 0?f.nextSub=o:(i.subs=o)===void 0&&l(i),t}function a(e){let s=e.nextSub,i;e:do{const n=e.sub;let t=n.flags;if(t&60?t&12?t&4?!(t&48)&&h(e,n)?(n.flags=t|40,t&=1):t=0:n.flags=t&-9|32:t=0:n.flags=t|32,t&2&&p(n),t&1){const o=n.subs;if(o!==void 0){const f=(e=o).nextSub;f!==void 0&&(i={value:s,prev:i},s=f);continue}}if((e=s)!==void 0){s=e.nextSub;continue}for(;i!==void 0;)if(e=i.value,i=i.prev,e!==void 0){s=e.nextSub;continue e}break}while(!0)}function D(e,s){let i,n=0,t=!1;e:do{const o=e.dep,f=o.flags;if(s.flags&16)t=!0;else if((f&17)===17){if(u(o)){const r=o.subs;r.nextSub!==void 0&&d(r),t=!0}}else if((f&33)===33){(e.nextSub!==void 0||e.prevSub!==void 0)&&(i={value:e,prev:i}),e=o.deps,s=o,++n;continue}if(!t){const r=e.nextDep;if(r!==void 0){e=r;continue}}for(;n--;){const r=s.subs,c=r.nextSub!==void 0;if(c?(e=i.value,i=i.prev):e=r,t){if(u(s)){c&&d(r),s=e.sub;continue}t=!1}else s.flags&=-33;s=e.sub;const v=e.nextDep;if(v!==void 0){e=v;continue e}}return t}while(!0)}function d(e){do{const s=e.sub,i=s.flags;(i&48)===32&&(s.flags=i|16,(i&6)===2&&p(s))}while((e=e.nextSub)!==void 0)}function h(e,s){let i=s.depsTail;for(;i!==void 0;){if(i===e)return!0;i=i.prevDep}return!1}}exports.ReactiveFlags=b;exports.createReactiveSystem=T;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
var h = /* @__PURE__ */ ((u) => (u[u.None = 0] = "None", u[u.Mutable = 1] = "Mutable", u[u.Watching = 2] = "Watching", u[u.RecursedCheck = 4] = "RecursedCheck", u[u.Recursed = 8] = "Recursed", u[u.Dirty = 16] = "Dirty", u[u.Pending = 32] = "Pending", u))(h || {});
|
|
3
2
|
// @__NO_SIDE_EFFECTS__
|
|
4
3
|
function w({
|
|
@@ -14,41 +13,41 @@ function w({
|
|
|
14
13
|
shallowPropagate: d
|
|
15
14
|
};
|
|
16
15
|
function x(e, s, n) {
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
16
|
+
const o = s.depsTail;
|
|
17
|
+
if (o !== void 0 && o.dep === e)
|
|
19
18
|
return;
|
|
20
|
-
const t =
|
|
19
|
+
const t = o !== void 0 ? o.nextDep : s.deps;
|
|
21
20
|
if (t !== void 0 && t.dep === e) {
|
|
22
21
|
t.version = n, s.depsTail = t;
|
|
23
22
|
return;
|
|
24
23
|
}
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
24
|
+
const i = e.subsTail;
|
|
25
|
+
if (i !== void 0 && i.version === n && i.sub === s)
|
|
27
26
|
return;
|
|
28
27
|
const f = s.depsTail = e.subsTail = {
|
|
29
28
|
version: n,
|
|
30
29
|
dep: e,
|
|
31
30
|
sub: s,
|
|
32
|
-
prevDep:
|
|
31
|
+
prevDep: o,
|
|
33
32
|
nextDep: t,
|
|
34
|
-
prevSub:
|
|
33
|
+
prevSub: i,
|
|
35
34
|
nextSub: void 0
|
|
36
35
|
};
|
|
37
|
-
t !== void 0 && (t.prevDep = f),
|
|
36
|
+
t !== void 0 && (t.prevDep = f), o !== void 0 ? o.nextDep = f : s.deps = f, i !== void 0 ? i.nextSub = f : e.subs = f;
|
|
38
37
|
}
|
|
39
38
|
function l(e, s = e.sub) {
|
|
40
|
-
const n = e.dep,
|
|
41
|
-
return t !== void 0 ? t.prevDep =
|
|
39
|
+
const n = e.dep, o = e.prevDep, t = e.nextDep, i = e.nextSub, f = e.prevSub;
|
|
40
|
+
return t !== void 0 ? t.prevDep = o : s.depsTail = o, o !== void 0 ? o.nextDep = t : s.deps = t, i !== void 0 ? i.prevSub = f : n.subsTail = f, f !== void 0 ? f.nextSub = i : (n.subs = i) === void 0 && b(n), t;
|
|
42
41
|
}
|
|
43
42
|
function S(e) {
|
|
44
43
|
let s = e.nextSub, n;
|
|
45
44
|
e: do {
|
|
46
|
-
const
|
|
47
|
-
let t =
|
|
48
|
-
if (t & 60 ? t & 12 ? t & 4 ? !(t & 48) && a(e,
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
51
|
-
const f = (e =
|
|
45
|
+
const o = e.sub;
|
|
46
|
+
let t = o.flags;
|
|
47
|
+
if (t & 60 ? t & 12 ? t & 4 ? !(t & 48) && a(e, o) ? (o.flags = t | 40, t &= 1) : t = 0 : o.flags = t & -9 | 32 : t = 0 : o.flags = t | 32, t & 2 && p(o), t & 1) {
|
|
48
|
+
const i = o.subs;
|
|
49
|
+
if (i !== void 0) {
|
|
50
|
+
const f = (e = i).nextSub;
|
|
52
51
|
f !== void 0 && (n = { value: s, prev: n }, s = f);
|
|
53
52
|
continue;
|
|
54
53
|
}
|
|
@@ -66,18 +65,18 @@ function w({
|
|
|
66
65
|
} while (!0);
|
|
67
66
|
}
|
|
68
67
|
function D(e, s) {
|
|
69
|
-
let n,
|
|
68
|
+
let n, o = 0, t = !1;
|
|
70
69
|
e: do {
|
|
71
|
-
const
|
|
70
|
+
const i = e.dep, f = i.flags;
|
|
72
71
|
if (s.flags & 16)
|
|
73
72
|
t = !0;
|
|
74
73
|
else if ((f & 17) === 17) {
|
|
75
|
-
if (u(
|
|
76
|
-
const r =
|
|
74
|
+
if (u(i)) {
|
|
75
|
+
const r = i.subs;
|
|
77
76
|
r.nextSub !== void 0 && d(r), t = !0;
|
|
78
77
|
}
|
|
79
78
|
} else if ((f & 33) === 33) {
|
|
80
|
-
(e.nextSub !== void 0 || e.prevSub !== void 0) && (n = { value: e, prev: n }), e =
|
|
79
|
+
(e.nextSub !== void 0 || e.prevSub !== void 0) && (n = { value: e, prev: n }), e = i.deps, s = i, ++o;
|
|
81
80
|
continue;
|
|
82
81
|
}
|
|
83
82
|
if (!t) {
|
|
@@ -87,7 +86,7 @@ function w({
|
|
|
87
86
|
continue;
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
|
-
for (;
|
|
89
|
+
for (; o--; ) {
|
|
91
90
|
const r = s.subs, c = r.nextSub !== void 0;
|
|
92
91
|
if (c ? (e = n.value, n = n.prev) : e = r, t) {
|
|
93
92
|
if (u(s)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./alien.cjs.js");function F(t,l,i){var a,c,r;const o=typeof t=="object",e=o?t:void 0;return{next:(a=o?t.next:t)==null?void 0:a.bind(e),error:(c=o?t.error:l)==null?void 0:c.bind(e),complete:(r=o?t.complete:i)==null?void 0:r.bind(e)}}const p=[];let v=0;const{link:R,unlink:_,propagate:k,checkDirty:y,shallowPropagate:b}=s.createReactiveSystem({update(t){return t._update()},notify(t){p[h++]=t,t.flags&=~s.ReactiveFlags.Watching},unwatched(t){t.depsTail!==void 0&&(t.depsTail=void 0,t.flags=s.ReactiveFlags.Mutable|s.ReactiveFlags.Dirty,g(t))}});let d=0,h=0,n;function g(t){const l=t.depsTail;let i=l!==void 0?l.nextDep:t.deps;for(;i!==void 0;)i=_(i,t)}function T(){for(;d<h;){const t=p[d];p[d++]=void 0,t.notify()}d=0,h=0}function D(t,l){const i=typeof t=="function",o=t,e={_snapshot:i?void 0:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:i?s.ReactiveFlags.None:s.ReactiveFlags.Mutable,get(){return n!==void 0&&R(e,n,v),e._snapshot},subscribe(a){const c=F(a),r={current:!1},f=m(()=>{var u;e.get(),r.current?(u=c.next)==null||u.call(c,e._snapshot):r.current=!0});return{unsubscribe:()=>{f.stop()}}},_update(a){const c=n,r=Object.is;if(i)n=e,++v,e.depsTail=void 0;else if(a===void 0)return!1;i&&(e.flags=s.ReactiveFlags.Mutable|s.ReactiveFlags.RecursedCheck);try{const f=e._snapshot,u=typeof a=="function"?a(f):a===void 0&&i?o(f):a;return f===void 0||!r(f,u)?(e._snapshot=u,!0):!1}finally{n=c,i&&(e.flags&=~s.ReactiveFlags.RecursedCheck),g(e)}}};return i?(e.flags=s.ReactiveFlags.Mutable|s.ReactiveFlags.Dirty,e.get=function(){const a=e.flags;if(a&s.ReactiveFlags.Dirty||a&s.ReactiveFlags.Pending&&y(e.deps,e)){if(e._update()){const c=e.subs;c!==void 0&&b(c)}}else a&s.ReactiveFlags.Pending&&(e.flags=a&~s.ReactiveFlags.Pending);return n!==void 0&&R(e,n,v),e._snapshot}):e.set=function(a){if(e._update(a)){const c=e.subs;c!==void 0&&(k(c),b(c),T())}},e}function m(t){const l=()=>{const o=n;n=i,++v,i.depsTail=void 0,i.flags=s.ReactiveFlags.Watching|s.ReactiveFlags.RecursedCheck;try{return t()}finally{n=o,i.flags&=~s.ReactiveFlags.RecursedCheck,g(i)}},i={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:s.ReactiveFlags.Watching|s.ReactiveFlags.RecursedCheck,notify(){const o=this.flags;o&s.ReactiveFlags.Dirty||o&s.ReactiveFlags.Pending&&y(this.deps,this)?l():this.flags=s.ReactiveFlags.Watching},stop(){this.flags=s.ReactiveFlags.None,this.depsTail=void 0,g(this)}};return l(),i}exports.createAtom=D;exports.flush=T;exports.toObserver=F;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./atom.cjs.js");class r{constructor(t){this.atom=e.createAtom(t)}setState(t){this.atom.set(t)}get state(){return this.atom.get()}get(){return this.state}subscribe(t){return this.atom.subscribe(e.toObserver(t))}}exports.Store=r;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { createAtom as e, toObserver as s } from "./atom.es.js";
|
|
1
|
+
import { createAtom as e, toObserver as r } from "./atom.es.js";
|
|
3
2
|
class a {
|
|
4
3
|
constructor(t) {
|
|
5
4
|
this.atom = e(
|
|
@@ -16,7 +15,7 @@ class a {
|
|
|
16
15
|
return this.state;
|
|
17
16
|
}
|
|
18
17
|
subscribe(t) {
|
|
19
|
-
return this.atom.subscribe(
|
|
18
|
+
return this.atom.subscribe(r(t));
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";const c=require("./_rollupPluginBabelHelpers-3bc641ae.cjs.js"),e=require("react"),o=require("../../../../_virtual/index.cjs.js");var m=["variant","color","size"],d=function(t){var r=t.color;return e.createElement(e.Fragment,null,e.createElement("path",{fill:r,d:"M17.919 8.18H6.079c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97 3.21-3.21c.67-.68.19-1.84-.77-1.84z"}))},v=function(t){var r=t.color;return e.createElement(e.Fragment,null,e.createElement("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M16.01 12.85l-2.62 2.62c-.77.77-2.03.77-2.8 0L4.08 8.95M19.92 8.95l-1.04 1.04"}))},k=function(t){var r=t.color;return e.createElement(e.Fragment,null,e.createElement("path",{fill:r,d:"M15.48 13.23l-3.79-5.05H6.08c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97z",opacity:".4"}),e.createElement("path",{fill:r,d:"M17.92 8.18h-6.23l3.79 5.05 3.21-3.21c.67-.68.19-1.84-.77-1.84z"}))},i=function(t){var r=t.color;return e.createElement(e.Fragment,null,e.createElement("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"}))},p=function(t){var r=t.color;return e.createElement(e.Fragment,null,e.createElement("path",{fill:r,d:"M12 16.8c-.7 0-1.4-.27-1.93-.8L3.55 9.48a.754.754 0 010-1.06c.29-.29.77-.29 1.06 0l6.52 6.52c.48.48 1.26.48 1.74 0l6.52-6.52c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L13.93 16c-.53.53-1.23.8-1.93.8z"}))},E=function(t){var r=t.color;return e.createElement(e.Fragment,null,e.createElement("path",{stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"}))},h=function(t,r){switch(t){case"Bold":return e.createElement(d,{color:r});case"Broken":return e.createElement(v,{color:r});case"Bulk":return e.createElement(k,{color:r});case"Linear":return e.createElement(i,{color:r});case"Outline":return e.createElement(p,{color:r});case"TwoTone":return e.createElement(E,{color:r});default:return e.createElement(i,{color:r})}},l=e.forwardRef(function(n,t){var r=n.variant,u=n.color,a=n.size,s=c._(n,m);return e.createElement("svg",c.a({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:a,height:a,viewBox:"0 0 24 24",fill:"none"}),h(r,u))});l.propTypes={variant:o.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:o.string,size:o.oneOfType([o.string,o.number])};l.defaultProps={variant:"Linear",color:"currentColor",size:"24"};l.displayName="ArrowDown2";module.exports=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function a(){return a=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var r=arguments[i];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},a.apply(this,arguments)}function f(t,i){if(t==null)return{};var r={},e=Object.keys(t),n,o;for(o=0;o<e.length;o++)n=e[o],!(i.indexOf(n)>=0)&&(r[n]=t[n]);return r}function l(t,i){if(t==null)return{};var r=f(t,i),e,n;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)e=o[n],!(i.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(t,e)&&(r[e]=t[e])}return r}exports._=l;exports.a=a;
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
function o() {
|
|
3
2
|
return o = Object.assign || function(t) {
|
|
4
3
|
for (var i = 1; i < arguments.length; i++) {
|
|
5
|
-
var
|
|
6
|
-
for (var n in
|
|
7
|
-
Object.prototype.hasOwnProperty.call(
|
|
4
|
+
var r = arguments[i];
|
|
5
|
+
for (var n in r)
|
|
6
|
+
Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
|
8
7
|
}
|
|
9
8
|
return t;
|
|
10
9
|
}, o.apply(this, arguments);
|
|
11
10
|
}
|
|
12
11
|
function f(t, i) {
|
|
13
12
|
if (t == null) return {};
|
|
14
|
-
var
|
|
13
|
+
var r = {}, n = Object.keys(t), e, a;
|
|
15
14
|
for (a = 0; a < n.length; a++)
|
|
16
|
-
|
|
17
|
-
return
|
|
15
|
+
e = n[a], !(i.indexOf(e) >= 0) && (r[e] = t[e]);
|
|
16
|
+
return r;
|
|
18
17
|
}
|
|
19
|
-
function
|
|
18
|
+
function p(t, i) {
|
|
20
19
|
if (t == null) return {};
|
|
21
|
-
var
|
|
20
|
+
var r = f(t, i), n, e;
|
|
22
21
|
if (Object.getOwnPropertySymbols) {
|
|
23
22
|
var a = Object.getOwnPropertySymbols(t);
|
|
24
|
-
for (
|
|
25
|
-
n = a[
|
|
23
|
+
for (e = 0; e < a.length; e++)
|
|
24
|
+
n = a[e], !(i.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(t, n) && (r[n] = t[n]);
|
|
26
25
|
}
|
|
27
|
-
return
|
|
26
|
+
return r;
|
|
28
27
|
}
|
|
29
28
|
export {
|
|
30
|
-
|
|
29
|
+
p as _,
|
|
31
30
|
o as a
|
|
32
31
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
/*
|
|
3
2
|
object-assign
|
|
4
3
|
(c) Sindre Sorhus
|
|
5
4
|
@license MIT
|
|
6
5
|
*/
|
|
7
|
-
var
|
|
6
|
+
var f, i;
|
|
8
7
|
function p() {
|
|
9
|
-
if (i) return
|
|
8
|
+
if (i) return f;
|
|
10
9
|
i = 1;
|
|
11
|
-
var
|
|
10
|
+
var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
|
|
12
11
|
function O(n) {
|
|
13
12
|
if (n == null)
|
|
14
13
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -36,19 +35,19 @@ function p() {
|
|
|
36
35
|
return !1;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
return
|
|
38
|
+
return f = j() ? Object.assign : function(n, s) {
|
|
40
39
|
for (var r, a = O(n), t, e = 1; e < arguments.length; e++) {
|
|
41
40
|
r = Object(arguments[e]);
|
|
42
41
|
for (var c in r)
|
|
43
42
|
b.call(r, c) && (a[c] = r[c]);
|
|
44
|
-
if (
|
|
45
|
-
t =
|
|
43
|
+
if (u) {
|
|
44
|
+
t = u(r);
|
|
46
45
|
for (var o = 0; o < t.length; o++)
|
|
47
46
|
l.call(r, t[o]) && (a[t[o]] = r[t[o]]);
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
return a;
|
|
51
|
-
},
|
|
50
|
+
}, f;
|
|
52
51
|
}
|
|
53
52
|
export {
|
|
54
53
|
p as __require
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./lib/ReactPropTypesSecret.cjs.js"),_=require("./lib/has.cjs.js");var u,p;function O(){if(p)return u;p=1;var o=function(){};if(process.env.NODE_ENV!=="production"){var l=E.__require(),a={},y=_.__require();o=function(r){var t="Warning: "+r;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function f(r,t,i,s,c){if(process.env.NODE_ENV!=="production"){for(var e in r)if(y(r,e)){var n;try{if(typeof r[e]!="function"){var h=Error((s||"React class")+": "+i+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}n=r[e](t,e,s,i,null,l)}catch(d){n=d}if(n&&!(n instanceof Error)&&o((s||"React class")+": type specification of "+i+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof n+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),n instanceof Error&&!(n.message in a)){a[n.message]=!0;var v=c?c():"";o("Failed "+i+" type: "+n.message+(v??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(a={})},u=f,u}exports.__require=O;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { __require as E } from "./lib/ReactPropTypesSecret.es.js";
|
|
3
2
|
import { __require as _ } from "./lib/has.es.js";
|
|
4
3
|
var f, v;
|
|
5
4
|
function P() {
|
|
6
5
|
if (v) return f;
|
|
7
6
|
v = 1;
|
|
8
|
-
var
|
|
7
|
+
var o = function() {
|
|
9
8
|
};
|
|
10
9
|
if (process.env.NODE_ENV !== "production") {
|
|
11
|
-
var
|
|
12
|
-
|
|
10
|
+
var y = /* @__PURE__ */ E(), t = {}, d = /* @__PURE__ */ _();
|
|
11
|
+
o = function(n) {
|
|
13
12
|
var a = "Warning: " + n;
|
|
14
13
|
typeof console < "u" && console.error(a);
|
|
15
14
|
try {
|
|
@@ -21,7 +20,7 @@ function P() {
|
|
|
21
20
|
function u(n, a, i, s, c) {
|
|
22
21
|
if (process.env.NODE_ENV !== "production") {
|
|
23
22
|
for (var e in n)
|
|
24
|
-
if (
|
|
23
|
+
if (d(n, e)) {
|
|
25
24
|
var r;
|
|
26
25
|
try {
|
|
27
26
|
if (typeof n[e] != "function") {
|
|
@@ -30,16 +29,16 @@ function P() {
|
|
|
30
29
|
);
|
|
31
30
|
throw h.name = "Invariant Violation", h;
|
|
32
31
|
}
|
|
33
|
-
r = n[e](a, e, s, i, null,
|
|
34
|
-
} catch (
|
|
35
|
-
r =
|
|
32
|
+
r = n[e](a, e, s, i, null, y);
|
|
33
|
+
} catch (l) {
|
|
34
|
+
r = l;
|
|
36
35
|
}
|
|
37
|
-
if (r && !(r instanceof Error) &&
|
|
36
|
+
if (r && !(r instanceof Error) && o(
|
|
38
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)."
|
|
39
|
-
), r instanceof Error && !(r.message in
|
|
40
|
-
|
|
38
|
+
), r instanceof Error && !(r.message in t)) {
|
|
39
|
+
t[r.message] = !0;
|
|
41
40
|
var p = c ? c() : "";
|
|
42
|
-
|
|
41
|
+
o(
|
|
43
42
|
"Failed " + i + " type: " + r.message + (p ?? "")
|
|
44
43
|
);
|
|
45
44
|
}
|
|
@@ -47,7 +46,7 @@ function P() {
|
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
return u.resetWarningCache = function() {
|
|
50
|
-
process.env.NODE_ENV !== "production" && (
|
|
49
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
51
50
|
}, f = u, f;
|
|
52
51
|
}
|
|
53
52
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./lib/ReactPropTypesSecret.cjs.js");var n,p;function y(){if(p)return n;p=1;var c=u.__require();function o(){}function i(){}return i.resetWarningCache=o,n=function(){function e(h,m,f,l,T,s){if(s!==c){var a=new Error("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");throw a.name="Invariant Violation",a}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:o};return t.PropTypes=t,t},n}exports.__require=y;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { __require as u } from "./lib/ReactPropTypesSecret.es.js";
|
|
3
|
-
var
|
|
2
|
+
var o, p;
|
|
4
3
|
function g() {
|
|
5
|
-
if (p) return
|
|
4
|
+
if (p) return o;
|
|
6
5
|
p = 1;
|
|
7
6
|
var c = /* @__PURE__ */ u();
|
|
8
|
-
function
|
|
7
|
+
function n() {
|
|
9
8
|
}
|
|
10
9
|
function i() {
|
|
11
10
|
}
|
|
12
|
-
return i.resetWarningCache =
|
|
11
|
+
return i.resetWarningCache = n, o = function() {
|
|
13
12
|
function e(h, y, m, f, l, s) {
|
|
14
13
|
if (s !== c) {
|
|
15
14
|
var a = new Error(
|
|
@@ -43,10 +42,10 @@ function g() {
|
|
|
43
42
|
shape: r,
|
|
44
43
|
exact: r,
|
|
45
44
|
checkPropTypes: i,
|
|
46
|
-
resetWarningCache:
|
|
45
|
+
resetWarningCache: n
|
|
47
46
|
};
|
|
48
47
|
return t.PropTypes = t, t;
|
|
49
|
-
},
|
|
48
|
+
}, o;
|
|
50
49
|
}
|
|
51
50
|
export {
|
|
52
51
|
g as __require
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./node_modules/react-is/index.cjs.js"),N=require("../object-assign/index.cjs.js"),ee=require("./lib/ReactPropTypesSecret.cjs.js"),re=require("./lib/has.cjs.js"),ne=require("./checkPropTypes.cjs.js");var A,C;function te(){if(C)return A;C=1;var k=F.__require(),W=N.__require(),h=ee.__require(),I=re.__require(),q=ne.__require(),T=function(){};process.env.NODE_ENV!=="production"&&(T=function(x){var S="Warning: "+x;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function E(){return null}return A=function(x,S){var P=typeof Symbol=="function"&&Symbol.iterator,D="@@iterator";function M(e){var r=e&&(P&&e[P]||e[D]);if(typeof r=="function")return r}var _="<<anonymous>>",w={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:U(),arrayOf:$,element:B(),elementType:J(),instanceOf:z,node:H(),objectOf:X,oneOf:L,oneOfType:G,shape:K,exact:Q};function Y(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}function d(e,r){this.message=e,this.data=r&&typeof r=="object"?r:{},this.stack=""}d.prototype=Error.prototype;function v(e){if(process.env.NODE_ENV!=="production")var r={},u=0;function i(f,t,a,o,s,c,y){if(o=o||_,c=c||a,y!==h){if(S){var l=new Error("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");throw l.name="Invariant Violation",l}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var b=o+":"+a;!r[b]&&u<3&&(T("You are manually calling a React.PropTypes validation function for the `"+c+"` 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."),r[b]=!0,u++)}}return t[a]==null?f?t[a]===null?new d("The "+s+" `"+c+"` is marked as required "+("in `"+o+"`, but its value is `null`.")):new d("The "+s+" `"+c+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null:e(t,a,o,s,c)}var n=i.bind(null,!1);return n.isRequired=i.bind(null,!0),n}function p(e){function r(u,i,n,f,t,a){var o=u[i],s=g(o);if(s!==e){var c=O(o);return new d("Invalid "+f+" `"+t+"` of type "+("`"+c+"` supplied to `"+n+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return v(r)}function U(){return v(E)}function $(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=u[i];if(!Array.isArray(a)){var o=g(a);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an array."))}for(var s=0;s<a.length;s++){var c=e(a,s,n,f,t+"["+s+"]",h);if(c instanceof Error)return c}return null}return v(r)}function B(){function e(r,u,i,n,f){var t=r[u];if(!x(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement."))}return null}return v(e)}function J(){function e(r,u,i,n,f){var t=r[u];if(!k.isValidElementType(t)){var a=g(t);return new d("Invalid "+n+" `"+f+"` of type "+("`"+a+"` supplied to `"+i+"`, expected a single ReactElement type."))}return null}return v(e)}function z(e){function r(u,i,n,f,t){if(!(u[i]instanceof e)){var a=e.name||_,o=V(u[i]);return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected ")+("instance of `"+a+"`."))}return null}return v(r)}function L(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?T("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])."):T("Invalid argument supplied to oneOf, expected an array.")),E;function r(u,i,n,f,t){for(var a=u[i],o=0;o<e.length;o++)if(Y(a,e[o]))return null;var s=JSON.stringify(e,function(y,l){var b=O(l);return b==="symbol"?String(l):l});return new d("Invalid "+f+" `"+t+"` of value `"+String(a)+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return v(r)}function X(e){function r(u,i,n,f,t){if(typeof e!="function")return new d("Property `"+t+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type "+("`"+o+"` supplied to `"+n+"`, expected an object."));for(var s in a)if(I(a,s)){var c=e(a,s,n,f,t+"."+s,h);if(c instanceof Error)return c}return null}return v(r)}function G(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&T("Invalid argument supplied to oneOfType, expected an instance of array."),E;for(var r=0;r<e.length;r++){var u=e[r];if(typeof u!="function")return T("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(u)+" at index "+r+"."),E}function i(n,f,t,a,o){for(var s=[],c=0;c<e.length;c++){var y=e[c],l=y(n,f,t,a,o,h);if(l==null)return null;l.data&&I(l.data,"expectedType")&&s.push(l.data.expectedType)}var b=s.length>0?", expected one of type ["+s.join(", ")+"]":"";return new d("Invalid "+a+" `"+o+"` supplied to "+("`"+t+"`"+b+"."))}return v(i)}function H(){function e(r,u,i,n,f){return j(r[u])?null:new d("Invalid "+n+" `"+f+"` supplied to "+("`"+i+"`, expected a ReactNode."))}return v(e)}function R(e,r,u,i,n){return new d((e||"React class")+": "+r+" type `"+u+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function K(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));for(var s in e){var c=e[s];if(typeof c!="function")return R(n,f,t,s,O(c));var y=c(a,s,n,f,t+"."+s,h);if(y)return y}return null}return v(r)}function Q(e){function r(u,i,n,f,t){var a=u[i],o=g(a);if(o!=="object")return new d("Invalid "+f+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `object`."));var s=W({},u[i],e);for(var c in s){var y=e[c];if(I(e,c)&&typeof y!="function")return R(n,f,t,c,O(y));if(!y)return new d("Invalid "+f+" `"+t+"` key `"+c+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(u[i],null," ")+`
|
|
2
2
|
Valid keys: `+JSON.stringify(Object.keys(e),null," "));var l=y(a,c,n,f,t+"."+c,h);if(l)return l}return null}return v(r)}function j(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(j);if(e===null||x(e))return!0;var r=M(e);if(r){var u=r.call(e),i;if(r!==e.entries){for(;!(i=u.next()).done;)if(!j(i.value))return!1}else for(;!(i=u.next()).done;){var n=i.value;if(n&&!j(n[1]))return!1}}else return!1;return!0;default:return!1}}function Z(e,r){return e==="symbol"?!0:r?r["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&r instanceof Symbol:!1}function g(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Z(r,e)?"symbol":r}function O(e){if(typeof e>"u"||e===null)return""+e;var r=g(e);if(r==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=O(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function V(e){return!e.constructor||!e.constructor.name?_:e.constructor.name}return w.checkPropTypes=q,w.resetWarningCache=q.resetWarningCache,w.PropTypes=w,w},A}exports.__require=te;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { __require as F } from "./node_modules/react-is/index.es.js";
|
|
3
2
|
import { __require as N } from "../object-assign/index.es.js";
|
|
4
3
|
import { __require as ee } from "./lib/ReactPropTypesSecret.es.js";
|
|
@@ -8,7 +7,7 @@ var A, C;
|
|
|
8
7
|
function oe() {
|
|
9
8
|
if (C) return A;
|
|
10
9
|
C = 1;
|
|
11
|
-
var k = F(), W = N(), h = /* @__PURE__ */ ee(), j = /* @__PURE__ */ re(), R = /* @__PURE__ */ ne(), T = function() {
|
|
10
|
+
var k = /* @__PURE__ */ F(), W = /* @__PURE__ */ N(), h = /* @__PURE__ */ ee(), j = /* @__PURE__ */ re(), R = /* @__PURE__ */ ne(), T = function() {
|
|
12
11
|
};
|
|
13
12
|
process.env.NODE_ENV !== "production" && (T = function(x) {
|
|
14
13
|
var S = "Warning: " + x;
|