@rpcbase/ui 0.219.0 → 0.220.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/components/AddressAutocompleteInput/index.d.ts.map +1 -1
- package/dist/index10.js +3 -3
- package/dist/index107.js +1 -1
- package/dist/index11.js +2 -2
- package/dist/index12.js +3 -3
- package/dist/index13.js +2 -2
- package/dist/index14.js +2 -2
- package/dist/index15.js +2 -2
- package/dist/index150.js +2 -2
- package/dist/index151.js +2 -2
- package/dist/index153.js +2 -2
- package/dist/index16.js +2 -2
- package/dist/index17.js +1 -1
- package/dist/index18.js +7 -7
- package/dist/index19.js +3 -3
- package/dist/index21.js +1 -1
- package/dist/index22.js +2 -2
- package/dist/index229.js +1 -1
- package/dist/index23.js +1 -1
- package/dist/index235.js +1 -1
- package/dist/index24.js +1 -1
- package/dist/index25.js +1 -1
- package/dist/index28.js +2 -2
- package/dist/index29.js +37 -3
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +18 -12
- package/dist/index3.js.map +1 -1
- package/dist/index30.js +3 -125
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +120 -227
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +229 -21
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +23 -50
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +50 -21
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +18 -126
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +113 -205
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +205 -74
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +87 -115
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +118 -5
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +2 -2
- package/dist/index40.js +5 -819
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +819 -56
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +57 -37
- package/dist/index42.js.map +1 -1
- package/dist/index45.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index49.js +1 -1
- package/dist/index5.js +2 -2
- package/dist/index50.js +1 -1
- package/dist/index51.js +2 -7
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +2 -34
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +5 -47
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +33 -7
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +48 -11
- package/dist/index55.js.map +1 -1
- package/dist/index56.js +8 -2
- package/dist/index56.js.map +1 -1
- package/dist/index57.js +12 -2
- package/dist/index57.js.map +1 -1
- package/dist/index59.js +2 -2
- package/dist/index6.js +5 -5
- package/dist/index60.js +1 -1
- package/dist/index61.js +1 -1
- package/dist/index63.js +4 -4
- package/dist/index65.js +4 -4
- package/dist/index66.js +2 -2
- package/dist/index67.js +2 -2
- package/dist/index7.js +2 -2
- package/dist/index71.js +2 -2
- package/dist/index74.js +6 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +8 -2
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +5 -5
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +2 -8
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -6
- package/dist/index78.js.map +1 -1
- package/dist/index8.js +3 -3
- package/dist/index9.js +1 -1
- package/package.json +1 -1
package/dist/index54.js
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as p from "react";
|
|
2
|
+
import * as f from "react-dom";
|
|
3
|
+
import { createSlot as c } from "./index150.js";
|
|
4
|
+
import { j as u } from "./index30.js";
|
|
5
|
+
var l = [
|
|
6
|
+
"a",
|
|
7
|
+
"button",
|
|
8
|
+
"div",
|
|
9
|
+
"form",
|
|
10
|
+
"h2",
|
|
11
|
+
"h3",
|
|
12
|
+
"img",
|
|
13
|
+
"input",
|
|
14
|
+
"label",
|
|
15
|
+
"li",
|
|
16
|
+
"nav",
|
|
17
|
+
"ol",
|
|
18
|
+
"p",
|
|
19
|
+
"select",
|
|
20
|
+
"span",
|
|
21
|
+
"svg",
|
|
22
|
+
"ul"
|
|
23
|
+
], h = l.reduce((t, i) => {
|
|
24
|
+
const o = c(`Primitive.${i}`), r = p.forwardRef((e, s) => {
|
|
25
|
+
const { asChild: m, ...a } = e, n = m ? o : i;
|
|
26
|
+
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(n, { ...a, ref: s });
|
|
27
|
+
});
|
|
28
|
+
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
|
+
}, {});
|
|
30
|
+
function w(t, i) {
|
|
31
|
+
t && f.flushSync(() => t.dispatchEvent(i));
|
|
7
32
|
}
|
|
8
33
|
export {
|
|
9
|
-
|
|
34
|
+
h as Primitive,
|
|
35
|
+
w as dispatchDiscreteCustomEvent
|
|
10
36
|
};
|
|
11
37
|
//# sourceMappingURL=index54.js.map
|
package/dist/index54.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index54.js","sources":["../../../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index54.js","sources":["../../../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"select\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Slot","createSlot","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAW,aAAaF,CAAI,EAAE,GACrCG,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUN,IAAOD;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,uBAAO,IAAI,UAAU,CAAC,IAAI,KAEZU,gBAAAA,EAAAA,IAAID,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC3E,CAAC;AACD,SAAAH,EAAK,cAAc,aAAaH,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGG,EAAI;AACrC,GAAG,CAAA,CAAE;AACL,SAASQ,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0]}
|
package/dist/index55.js
CHANGED
|
@@ -1,15 +1,52 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
let s = 0;
|
|
3
|
+
const r = /* @__PURE__ */ new WeakMap(), i = typeof queueMicrotask == "function" ? queueMicrotask : (e) => Promise.resolve().then(e);
|
|
4
|
+
function o(e, t) {
|
|
5
|
+
if (typeof e == "function") {
|
|
6
|
+
if (t === null) {
|
|
7
|
+
const n = ++s;
|
|
8
|
+
r.set(e, n), i(() => {
|
|
9
|
+
r.get(e) === n && (e(null), r.get(e) === n && r.delete(e));
|
|
10
|
+
});
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
return r.delete(e), e(t);
|
|
14
|
+
}
|
|
15
|
+
e != null && (e.current = t);
|
|
16
|
+
}
|
|
17
|
+
function a(...e) {
|
|
18
|
+
return (t) => {
|
|
19
|
+
let n = !1;
|
|
20
|
+
const c = e.map((l) => {
|
|
21
|
+
const u = o(l, t);
|
|
22
|
+
return !n && typeof u == "function" && (n = !0), u;
|
|
23
|
+
});
|
|
24
|
+
if (n)
|
|
25
|
+
return () => {
|
|
26
|
+
for (let l = 0; l < c.length; l += 1) {
|
|
27
|
+
const u = c[l];
|
|
28
|
+
typeof u == "function" ? u() : o(e[l], null);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function d(e, t) {
|
|
34
|
+
if (e.length !== t.length)
|
|
35
|
+
return !1;
|
|
36
|
+
for (let n = 0; n < e.length; n += 1)
|
|
37
|
+
if (e[n] !== t[n])
|
|
38
|
+
return !1;
|
|
39
|
+
return !0;
|
|
40
|
+
}
|
|
41
|
+
function p(...e) {
|
|
42
|
+
const t = f.useRef(null);
|
|
43
|
+
return (t.current == null || !d(t.current.refs, e)) && (t.current = {
|
|
44
|
+
callback: a(...e),
|
|
45
|
+
refs: e
|
|
46
|
+
}), t.current.callback;
|
|
11
47
|
}
|
|
12
48
|
export {
|
|
13
|
-
|
|
49
|
+
a as composeRefs,
|
|
50
|
+
p as useComposedRefs
|
|
14
51
|
};
|
|
15
52
|
//# sourceMappingURL=index55.js.map
|
package/dist/index55.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index55.js","sources":["
|
|
1
|
+
{"version":3,"file":"index55.js","sources":["../src/lib/react-compose-refs.ts"],"sourcesContent":["import * as React from \"react\"\n\n\ntype PossibleCleanup = void | (() => void)\n\nlet nextDeferredNullId = 0\nconst deferredNullCalls = new WeakMap<React.RefCallback<unknown>, number>()\n\nconst scheduleMicrotask =\n typeof queueMicrotask === \"function\"\n ? queueMicrotask\n : (callback: () => void) => Promise.resolve().then(callback)\n\nfunction setRef<T>(ref: React.Ref<T> | undefined, value: T | null): PossibleCleanup {\n if (typeof ref === \"function\") {\n if (value === null) {\n const deferredNullId = ++nextDeferredNullId\n deferredNullCalls.set(ref, deferredNullId)\n\n scheduleMicrotask(() => {\n if (deferredNullCalls.get(ref) !== deferredNullId) {\n return\n }\n\n ref(null)\n if (deferredNullCalls.get(ref) === deferredNullId) {\n deferredNullCalls.delete(ref)\n }\n })\n\n return\n }\n\n deferredNullCalls.delete(ref)\n return ref(value)\n }\n\n if (ref != null) {\n ref.current = value\n }\n}\n\nfunction composeRefs<T>(...refs: Array<React.Ref<T> | undefined>) {\n return (node: T | null) => {\n let hasCleanup = false\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node)\n if (!hasCleanup && typeof cleanup === \"function\") {\n hasCleanup = true\n }\n return cleanup\n })\n\n if (hasCleanup) {\n return () => {\n for (let index = 0; index < cleanups.length; index += 1) {\n const cleanup = cleanups[index]\n\n if (typeof cleanup === \"function\") {\n cleanup()\n } else {\n setRef(refs[index], null)\n }\n }\n }\n }\n }\n}\n\nfunction haveSameRefs<T>(\n previousRefs: Array<React.Ref<T> | undefined>,\n nextRefs: Array<React.Ref<T> | undefined>,\n) {\n if (previousRefs.length !== nextRefs.length) {\n return false\n }\n\n for (let index = 0; index < previousRefs.length; index += 1) {\n if (previousRefs[index] !== nextRefs[index]) {\n return false\n }\n }\n\n return true\n}\n\nfunction useComposedRefs<T>(...refs: Array<React.Ref<T> | undefined>) {\n const composedRefsRef = React.useRef<{\n callback: ReturnType<typeof composeRefs<T>>\n refs: Array<React.Ref<T> | undefined>\n } | null>(null)\n\n if (\n composedRefsRef.current == null ||\n !haveSameRefs(composedRefsRef.current.refs, refs)\n ) {\n composedRefsRef.current = {\n callback: composeRefs(...refs),\n refs,\n }\n }\n\n return composedRefsRef.current.callback\n}\n\nexport {\n composeRefs,\n useComposedRefs,\n}\n"],"names":["nextDeferredNullId","deferredNullCalls","WeakMap","scheduleMicrotask","queueMicrotask","callback","Promise","resolve","then","setRef","ref","value","deferredNullId","set","get","delete","current","composeRefs","refs","node","hasCleanup","cleanups","map","cleanup","index","length","haveSameRefs","previousRefs","nextRefs","useComposedRefs","composedRefsRef","React","useRef"],"mappings":";AAKA,IAAIA,IAAqB;AACzB,MAAMC,wBAAwBC,QAAAA,GAExBC,IACJ,OAAOC,kBAAmB,aACtBA,iBACA,CAACC,MAAyBC,QAAQC,QAAAA,EAAUC,KAAKH,CAAQ;AAE/D,SAASI,EAAUC,GAA+BC,GAAkC;AAClF,MAAI,OAAOD,KAAQ,YAAY;AAC7B,QAAIC,MAAU,MAAM;AAClB,YAAMC,IAAiB,EAAEZ;AACzBC,MAAAA,EAAkBY,IAAIH,GAAKE,CAAc,GAEzCT,EAAkB,MAAM;AACtB,QAAIF,EAAkBa,IAAIJ,CAAG,MAAME,MAInCF,EAAI,IAAI,GACJT,EAAkBa,IAAIJ,CAAG,MAAME,KACjCX,EAAkBc,OAAOL,CAAG;AAAA,MAEhC,CAAC;AAED;AAAA,IACF;AAEAT,WAAAA,EAAkBc,OAAOL,CAAG,GACrBA,EAAIC,CAAK;AAAA,EAClB;AAEA,EAAID,KAAO,SACTA,EAAIM,UAAUL;AAElB;AAEA,SAASM,KAAkBC,GAAuC;AAChE,SAAO,CAACC,MAAmB;AACzB,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAKI,IAAKZ,CAAAA,MAAQ;AACjC,YAAMa,IAAUd,EAAOC,GAAKS,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOG,KAAY,eACpCH,IAAa,KAERG;AAAAA,IACT,CAAC;AAED,QAAIH;AACF,aAAO,MAAM;AACX,iBAASI,IAAQ,GAAGA,IAAQH,EAASI,QAAQD,KAAS,GAAG;AACvD,gBAAMD,IAAUF,EAASG,CAAK;AAE9B,UAAI,OAAOD,KAAY,aACrBA,EAAAA,IAEAd,EAAOS,EAAKM,CAAK,GAAG,IAAI;AAAA,QAE5B;AAAA,MACF;AAAA,EAEJ;AACF;AAEA,SAASE,EACPC,GACAC,GACA;AACA,MAAID,EAAaF,WAAWG,EAASH;AACnC,WAAO;AAGT,WAASD,IAAQ,GAAGA,IAAQG,EAAaF,QAAQD,KAAS;AACxD,QAAIG,EAAaH,CAAK,MAAMI,EAASJ,CAAK;AACxC,aAAO;AAIX,SAAO;AACT;AAEA,SAASK,KAAsBX,GAAuC;AACpE,QAAMY,IAAkBC,EAAMC,OAGpB,IAAI;AAEd,UACEF,EAAgBd,WAAW,QAC3B,CAACU,EAAaI,EAAgBd,QAAQE,MAAMA,CAAI,OAEhDY,EAAgBd,UAAU;AAAA,IACxBX,UAAUY,EAAY,GAAGC,CAAI;AAAA,IAC7BA,MAAAA;AAAAA,EAAAA,IAIGY,EAAgBd,QAAQX;AACjC;"}
|
package/dist/index56.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
function c(r) {
|
|
3
|
+
const t = e.useRef(r);
|
|
4
|
+
return e.useEffect(() => {
|
|
5
|
+
t.current = r;
|
|
6
|
+
}), e.useMemo(() => (...u) => t.current?.(...u), []);
|
|
7
|
+
}
|
|
2
8
|
export {
|
|
3
|
-
|
|
9
|
+
c as useCallbackRef
|
|
4
10
|
};
|
|
5
11
|
//# sourceMappingURL=index56.js.map
|
package/dist/index56.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index56.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index56.js","sources":["../../../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EACxB,CAAC,GACME,EAAM,QAAQ,MAAM,IAAIC,MAASF,EAAY,UAAU,GAAGE,CAAI,GAAG,EAAE;AAC5E;","x_google_ignoreList":[0]}
|
package/dist/index57.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import * as r from "react";
|
|
2
|
+
import { useCallbackRef as s } from "./index56.js";
|
|
3
|
+
function p(n, e = globalThis?.document) {
|
|
4
|
+
const t = s(n);
|
|
5
|
+
r.useEffect(() => {
|
|
6
|
+
const o = (a) => {
|
|
7
|
+
a.key === "Escape" && t(a);
|
|
8
|
+
};
|
|
9
|
+
return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
|
|
10
|
+
}, [t, e]);
|
|
11
|
+
}
|
|
2
12
|
export {
|
|
3
|
-
|
|
13
|
+
p as useEscapeKeydown
|
|
4
14
|
};
|
|
5
15
|
//# sourceMappingURL=index57.js.map
|
package/dist/index57.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index57.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index57.js","sources":["../../../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,YAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAEzB;AACA,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC5F,GAAG,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
|
package/dist/index59.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import r from "react";
|
|
2
2
|
import { createContextScope as y } from "./index60.js";
|
|
3
|
-
import { useComposedRefs as S } from "./
|
|
3
|
+
import { useComposedRefs as S } from "./index55.js";
|
|
4
4
|
import { createSlot as M } from "./index151.js";
|
|
5
|
-
import { j as d } from "./
|
|
5
|
+
import { j as d } from "./index30.js";
|
|
6
6
|
function D(s) {
|
|
7
7
|
const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
|
|
8
8
|
m,
|
package/dist/index6.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { j as h } from "./
|
|
2
|
-
import { c as le } from "./
|
|
1
|
+
import { j as h } from "./index30.js";
|
|
2
|
+
import { c as le } from "./index28.js";
|
|
3
3
|
import { CalendarDays as pe, ChevronLeft as ve, ChevronRight as xe } from "lucide-react";
|
|
4
4
|
import * as r from "react";
|
|
5
|
-
import { DismissableLayerBranch as me } from "./
|
|
5
|
+
import { DismissableLayerBranch as me } from "./index31.js";
|
|
6
6
|
import { createPortal as ge } from "react-dom";
|
|
7
7
|
import { IMaskInput as De } from "react-imask";
|
|
8
8
|
import ke, { InputMask as Ne } from "imask";
|
|
9
9
|
import { useIsTouchDevice as Ee } from "./index21.js";
|
|
10
10
|
import { cn as ee } from "./index2.js";
|
|
11
|
-
import { DayPicker as Pe } from "./
|
|
12
|
-
import { dateMatchModifiers as Me } from "./
|
|
11
|
+
import { DayPicker as Pe } from "./index32.js";
|
|
12
|
+
import { dateMatchModifiers as Me } from "./index33.js";
|
|
13
13
|
const de = ke;
|
|
14
14
|
typeof de.InputMask != "function" && (de.InputMask = Ne);
|
|
15
15
|
function ce(o) {
|
package/dist/index60.js
CHANGED
package/dist/index61.js
CHANGED
package/dist/index63.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import { useComposedRefs as P } from "./
|
|
3
|
-
import { Primitive as M } from "./
|
|
4
|
-
import { useCallbackRef as y } from "./
|
|
5
|
-
import { j as _ } from "./
|
|
2
|
+
import { useComposedRefs as P } from "./index55.js";
|
|
3
|
+
import { Primitive as M } from "./index54.js";
|
|
4
|
+
import { useCallbackRef as y } from "./index56.js";
|
|
5
|
+
import { j as _ } from "./index30.js";
|
|
6
6
|
var F = "focusScope.autoFocusOnMount", T = "focusScope.autoFocusOnUnmount", N = { bubbles: !1, cancelable: !0 }, K = "FocusScope", k = d.forwardRef((e, t) => {
|
|
7
7
|
const {
|
|
8
8
|
loop: n = !1,
|
package/dist/index65.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
2
|
import { useFloating as fe, offset as me, shift as he, flip as ue, size as ge, arrow as we, hide as xe, limitShift as Pe } from "./index152.js";
|
|
3
3
|
import { Root as ye } from "./index153.js";
|
|
4
|
-
import { useComposedRefs as z } from "./
|
|
4
|
+
import { useComposedRefs as z } from "./index55.js";
|
|
5
5
|
import { createContextScope as Ae } from "./index60.js";
|
|
6
|
-
import { Primitive as I } from "./
|
|
7
|
-
import { useCallbackRef as ve } from "./
|
|
6
|
+
import { Primitive as I } from "./index54.js";
|
|
7
|
+
import { useCallbackRef as ve } from "./index56.js";
|
|
8
8
|
import { useLayoutEffect as W } from "./index69.js";
|
|
9
9
|
import { useSize as Ce } from "./index154.js";
|
|
10
|
-
import { j as f } from "./
|
|
10
|
+
import { j as f } from "./index30.js";
|
|
11
11
|
import { autoUpdate as Se } from "./index155.js";
|
|
12
12
|
var R = "Popper", [Y, Fe] = Ae(R), [Re, M] = Y(R), X = (e) => {
|
|
13
13
|
const { __scopePopper: i, children: n } = e, [s, a] = p.useState(null);
|
package/dist/index66.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import n from "react-dom";
|
|
3
|
-
import { Primitive as f } from "./
|
|
3
|
+
import { Primitive as f } from "./index54.js";
|
|
4
4
|
import { useLayoutEffect as u } from "./index69.js";
|
|
5
|
-
import { j as c } from "./
|
|
5
|
+
import { j as c } from "./index30.js";
|
|
6
6
|
var l = "Portal", p = o.forwardRef((r, e) => {
|
|
7
7
|
const { container: a, ...s } = r, [i, m] = o.useState(!1);
|
|
8
8
|
u(() => m(!0), []);
|
package/dist/index67.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { composeRefs as m } from "./
|
|
3
|
-
import { j as u } from "./
|
|
2
|
+
import { composeRefs as m } from "./index55.js";
|
|
3
|
+
import { j as u } from "./index30.js";
|
|
4
4
|
// @__NO_SIDE_EFFECTS__
|
|
5
5
|
function x(e) {
|
|
6
6
|
const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
|
package/dist/index7.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as i } from "./
|
|
2
|
-
import { c as r } from "./
|
|
1
|
+
import { j as i } from "./index30.js";
|
|
2
|
+
import { c as r } from "./index28.js";
|
|
3
3
|
import * as j from "react";
|
|
4
4
|
import * as n from "@radix-ui/react-dialog";
|
|
5
5
|
import { XIcon as h } from "lucide-react";
|
package/dist/index71.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import { Primitive as a } from "./
|
|
3
|
-
import { j as t } from "./
|
|
2
|
+
import { Primitive as a } from "./index54.js";
|
|
3
|
+
import { j as t } from "./index30.js";
|
|
4
4
|
var o = Object.freeze({
|
|
5
5
|
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
6
6
|
position: "absolute",
|
package/dist/index74.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { getCountries as E } from "./index168.js";
|
|
2
|
+
const n = ["IM", "GG", "JE"], o = new Set(n), e = E().filter((t) => !o.has(t));
|
|
3
|
+
function s() {
|
|
4
|
+
return e;
|
|
5
|
+
}
|
|
2
6
|
export {
|
|
3
|
-
|
|
7
|
+
s as getCountryList
|
|
4
8
|
};
|
|
5
9
|
//# sourceMappingURL=index74.js.map
|
package/dist/index74.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index74.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index74.js","sources":["../src/components/PhoneNumberInput/countries.ts"],"sourcesContent":["import { getCountries } from \"libphonenumber-js\"\nimport type { CountryCode } from \"libphonenumber-js\"\n\n\nconst EXCLUDED_COUNTRIES: CountryCode[] = [\"IM\", \"GG\", \"JE\"]\nconst EXCLUDED_SET = new Set(EXCLUDED_COUNTRIES)\n\nconst FILTERED_COUNTRIES = getCountries().filter((code) => !EXCLUDED_SET.has(code))\n\nexport function getCountryList(): CountryCode[] {\n return FILTERED_COUNTRIES\n}\n"],"names":["EXCLUDED_COUNTRIES","EXCLUDED_SET","Set","FILTERED_COUNTRIES","getCountries","filter","code","has","getCountryList"],"mappings":";AAIA,MAAMA,IAAoC,CAAC,MAAM,MAAM,IAAI,GACrDC,IAAe,IAAIC,IAAIF,CAAkB,GAEzCG,IAAqBC,IAAeC,OAAQC,OAAS,CAACL,EAAaM,IAAID,CAAI,CAAC;AAE3E,SAASE,IAAgC;AAC9C,SAAOL;AACT;"}
|
package/dist/index75.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import e from "./index158.js";
|
|
2
|
+
import o from "./index159.js";
|
|
3
|
+
function t(r) {
|
|
4
|
+
return o.call(this, r, e);
|
|
5
|
+
}
|
|
6
|
+
t.prototype = Object.create(o.prototype, {});
|
|
7
|
+
t.prototype.constructor = t;
|
|
2
8
|
export {
|
|
3
|
-
|
|
9
|
+
t as AsYouType
|
|
4
10
|
};
|
|
5
11
|
//# sourceMappingURL=index75.js.map
|
package/dist/index75.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index75.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index75.js","sources":["../../../node_modules/libphonenumber-js/min/exports/AsYouType.js"],"sourcesContent":["// Importing from a \".js\" file is a workaround for Node.js \"ES Modules\"\r\n// importing system which is even uncapable of importing \"*.json\" files.\r\nimport metadata from '../../metadata.min.json.js'\r\n\r\nimport { AsYouType as _AsYouType } from '../../core/index.js'\r\n\r\nexport function AsYouType(country) {\r\n\treturn _AsYouType.call(this, country, metadata)\r\n}\r\n\r\nAsYouType.prototype = Object.create(_AsYouType.prototype, {})\r\nAsYouType.prototype.constructor = AsYouType"],"names":["AsYouType","country","_AsYouType","metadata"],"mappings":";;AAMO,SAASA,EAAUC,GAAS;AAClC,SAAOC,EAAW,KAAK,MAAMD,GAASE,CAAQ;AAC/C;AAEAH,EAAU,YAAY,OAAO,OAAOE,EAAW,WAAW,CAAA,CAAE;AAC5DF,EAAU,UAAU,cAAcA;","x_google_ignoreList":[0]}
|
package/dist/index76.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
function
|
|
4
|
-
return e;
|
|
1
|
+
import t from "./index156.js";
|
|
2
|
+
import e from "./index157.js";
|
|
3
|
+
function a() {
|
|
4
|
+
return t(e, arguments);
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as validatePhoneNumberLength
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=index76.js.map
|
package/dist/index76.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index76.js","sources":["
|
|
1
|
+
{"version":3,"file":"index76.js","sources":["../../../node_modules/libphonenumber-js/min/exports/validatePhoneNumberLength.js"],"sourcesContent":["import withMetadataArgument from './withMetadataArgument.js'\r\nimport { validatePhoneNumberLength as _validatePhoneNumberLength } from '../../core/index.js'\r\n\r\nexport function validatePhoneNumberLength() {\r\n\treturn withMetadataArgument(_validatePhoneNumberLength, arguments)\r\n}"],"names":["validatePhoneNumberLength","withMetadataArgument","_validatePhoneNumberLength"],"mappings":";;AAGO,SAASA,IAA4B;AAC3C,SAAOC,EAAqBC,GAA4B,SAAS;AAClE;","x_google_ignoreList":[0]}
|
package/dist/index77.js
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import o from "./index159.js";
|
|
3
|
-
function t(r) {
|
|
4
|
-
return o.call(this, r, e);
|
|
5
|
-
}
|
|
6
|
-
t.prototype = Object.create(o.prototype, {});
|
|
7
|
-
t.prototype.constructor = t;
|
|
1
|
+
var r = {};
|
|
8
2
|
export {
|
|
9
|
-
|
|
3
|
+
r as __exports
|
|
10
4
|
};
|
|
11
5
|
//# sourceMappingURL=index77.js.map
|
package/dist/index77.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index77.js","sources":[
|
|
1
|
+
{"version":3,"file":"index77.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index78.js
CHANGED
package/dist/index78.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index78.js","sources":[
|
|
1
|
+
{"version":3,"file":"index78.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index8.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as n } from "./
|
|
2
|
-
import { c as It } from "./
|
|
1
|
+
import { j as n } from "./index30.js";
|
|
2
|
+
import { c as It } from "./index28.js";
|
|
3
3
|
import { useRef as M, useState as Ee, useEffect as Q } from "react";
|
|
4
4
|
import { createPortal as Rt } from "react-dom";
|
|
5
|
-
import { DismissableLayerBranch as Dt } from "./
|
|
5
|
+
import { DismissableLayerBranch as Dt } from "./index31.js";
|
|
6
6
|
import { useSensors as Mt, useSensor as Ut, PointerSensor as Kt, KeyboardSensor as Tt, DragOverlay as Ft, DndContext as Ot, closestCenter as $t } from "@dnd-kit/core";
|
|
7
7
|
import { useSortable as Ht, sortableKeyboardCoordinates as Bt, arrayMove as Xt, SortableContext as Vt, rectSortingStrategy as _t } from "@dnd-kit/sortable";
|
|
8
8
|
import { CSS as Jt } from "@dnd-kit/utilities";
|
package/dist/index9.js
CHANGED