@anoki/fse-ui 1.0.526 → 1.0.527
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/index.cjs106.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs259.js +2 -2
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs316.js +2 -2
- package/dist/index.cjs317.js +9 -9
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs324.js +1 -1
- package/dist/index.cjs324.js.map +1 -1
- package/dist/index.cjs325.js +2 -0
- package/dist/index.cjs325.js.map +1 -0
- package/dist/index.cjs326.js +2 -0
- package/dist/index.cjs326.js.map +1 -0
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs346.js.map +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs347.js.map +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/{index.cjs362.js → index.cjs365.js} +1 -1
- package/dist/{index.cjs362.js.map → index.cjs365.js.map} +1 -1
- package/dist/{index.cjs363.js → index.cjs366.js} +2 -2
- package/dist/{index.cjs363.js.map → index.cjs366.js.map} +1 -1
- package/dist/{index.cjs364.js → index.cjs367.js} +1 -1
- package/dist/{index.cjs364.js.map → index.cjs367.js.map} +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs380.js +38 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -38
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.es106.js +17 -17
- package/dist/index.es16.js +18 -18
- package/dist/index.es161.js +1 -1
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +24 -24
- package/dist/index.es171.js +1 -1
- package/dist/index.es18.js +22 -22
- package/dist/index.es208.js +22 -22
- package/dist/index.es212.js +25 -25
- package/dist/index.es213.js +10 -10
- package/dist/index.es219.js +8 -8
- package/dist/index.es230.js +14 -14
- package/dist/index.es238.js +1 -1
- package/dist/index.es24.js +4 -4
- package/dist/index.es247.js +1 -1
- package/dist/index.es25.js +38 -38
- package/dist/index.es257.js +32 -32
- package/dist/index.es259.js +22 -22
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +21 -21
- package/dist/index.es27.js +2 -2
- package/dist/index.es296.js +13 -13
- package/dist/index.es30.js +6 -6
- package/dist/index.es309.js +3 -3
- package/dist/index.es316.js +20 -20
- package/dist/index.es317.js +91 -91
- package/dist/index.es32.js +4 -4
- package/dist/index.es324.js +7 -15
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +30 -0
- package/dist/index.es325.js.map +1 -0
- package/dist/index.es326.js +71 -0
- package/dist/index.es326.js.map +1 -0
- package/dist/index.es327.js +29 -6
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +32 -26
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +617 -63
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +10 -29
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +15 -33
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es334.js +10 -5
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +52 -24
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +43 -66
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +7 -10
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +120 -48
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +14 -45
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +134 -7
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +206 -113
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +13 -14
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +60 -126
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +163 -203
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +50 -14
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +9 -178
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +3 -49
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +6 -9
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +25 -4
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es35.js +14 -14
- package/dist/index.es350.js +1 -1
- package/dist/index.es351.js +8 -8
- package/dist/index.es352.js +1 -1
- package/dist/index.es353.js +126 -126
- package/dist/{index.es362.js → index.es365.js} +1 -1
- package/dist/{index.es362.js.map → index.es365.js.map} +1 -1
- package/dist/{index.es363.js → index.es366.js} +12 -12
- package/dist/{index.es363.js.map → index.es366.js.map} +1 -1
- package/dist/{index.es364.js → index.es367.js} +1 -1
- package/dist/{index.es364.js.map → index.es367.js.map} +1 -1
- package/dist/index.es37.js +6 -6
- package/dist/index.es373.js +1 -1
- package/dist/index.es375.js +5 -5
- package/dist/index.es376.js +1 -1
- package/dist/index.es377.js +97 -97
- package/dist/index.es378.js +6 -6
- package/dist/index.es379.js +42 -42
- package/dist/index.es380.js +69 -65
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +8 -68
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +14 -9
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +62 -14
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +64 -61
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es387.js +11 -21
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +26 -11
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +4 -27
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +22 -4
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es394.js +2 -2
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es397.js +34 -34
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es399.js +2 -2
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es400.js +8 -8
- package/dist/index.es403.js +2 -2
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es5.js +4 -4
- package/dist/index.es65.js +44 -44
- package/dist/index.es68.js +25 -25
- package/dist/index.es69.js +23 -23
- package/dist/index.es98.js +12 -12
- package/package.json +1 -1
- package/dist/index.cjs332.js +0 -2
- package/dist/index.cjs332.js.map +0 -1
- package/dist/index.cjs333.js +0 -2
- package/dist/index.cjs333.js.map +0 -1
- package/dist/index.es332.js +0 -625
- package/dist/index.es332.js.map +0 -1
- package/dist/index.es333.js +0 -14
- package/dist/index.es333.js.map +0 -1
- /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
package/dist/index.es316.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { __exports as
|
1
|
+
import { __exports as t } from "./index.es321.js";
|
2
2
|
/**
|
3
3
|
* @license React
|
4
4
|
* react-jsx-runtime.production.js
|
@@ -8,29 +8,29 @@ import { __exports as e } from "./index.es321.js";
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
10
10
|
*/
|
11
|
-
var
|
12
|
-
function
|
13
|
-
if (
|
14
|
-
|
15
|
-
var
|
16
|
-
function
|
17
|
-
var
|
18
|
-
if (
|
19
|
-
|
20
|
-
for (var
|
21
|
-
|
22
|
-
} else
|
23
|
-
return r =
|
24
|
-
$$typeof:
|
25
|
-
type:
|
26
|
-
key:
|
11
|
+
var i;
|
12
|
+
function R() {
|
13
|
+
if (i) return t;
|
14
|
+
i = 1;
|
15
|
+
var d = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
|
16
|
+
function s(_, r, e) {
|
17
|
+
var n = null;
|
18
|
+
if (e !== void 0 && (n = "" + e), r.key !== void 0 && (n = "" + r.key), "key" in r) {
|
19
|
+
e = {};
|
20
|
+
for (var u in r)
|
21
|
+
u !== "key" && (e[u] = r[u]);
|
22
|
+
} else e = r;
|
23
|
+
return r = e.ref, {
|
24
|
+
$$typeof: d,
|
25
|
+
type: _,
|
26
|
+
key: n,
|
27
27
|
ref: r !== void 0 ? r : null,
|
28
|
-
props:
|
28
|
+
props: e
|
29
29
|
};
|
30
30
|
}
|
31
|
-
return
|
31
|
+
return t.Fragment = o, t.jsx = s, t.jsxs = s, t;
|
32
32
|
}
|
33
33
|
export {
|
34
|
-
|
34
|
+
R as __require
|
35
35
|
};
|
36
36
|
//# sourceMappingURL=index.es316.js.map
|
package/dist/index.es317.js
CHANGED
@@ -20,7 +20,7 @@ function he() {
|
|
20
20
|
switch (e) {
|
21
21
|
case j:
|
22
22
|
return "Fragment";
|
23
|
-
case
|
23
|
+
case ge:
|
24
24
|
return "Portal";
|
25
25
|
case K:
|
26
26
|
return "Profiler";
|
@@ -65,8 +65,8 @@ function he() {
|
|
65
65
|
}
|
66
66
|
if (r) {
|
67
67
|
r = console;
|
68
|
-
var
|
69
|
-
return
|
68
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
69
|
+
return t.call(
|
70
70
|
r,
|
71
71
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
72
72
|
n
|
@@ -76,7 +76,7 @@ function he() {
|
|
76
76
|
function $() {
|
77
77
|
}
|
78
78
|
function le() {
|
79
|
-
if (
|
79
|
+
if (v === 0) {
|
80
80
|
Z = console.log, F = console.info, I = console.warn, L = console.error, Q = console.group, D = console.groupCollapsed, ee = console.groupEnd;
|
81
81
|
var e = {
|
82
82
|
configurable: !0,
|
@@ -94,22 +94,22 @@ function he() {
|
|
94
94
|
groupEnd: e
|
95
95
|
});
|
96
96
|
}
|
97
|
-
|
97
|
+
v++;
|
98
98
|
}
|
99
99
|
function fe() {
|
100
|
-
if (
|
100
|
+
if (v--, v === 0) {
|
101
101
|
var e = { configurable: !0, enumerable: !0, writable: !0 };
|
102
102
|
Object.defineProperties(console, {
|
103
|
-
log:
|
104
|
-
info:
|
105
|
-
warn:
|
106
|
-
error:
|
107
|
-
group:
|
108
|
-
groupCollapsed:
|
109
|
-
groupEnd:
|
103
|
+
log: E({}, e, { value: Z }),
|
104
|
+
info: E({}, e, { value: F }),
|
105
|
+
warn: E({}, e, { value: I }),
|
106
|
+
error: E({}, e, { value: L }),
|
107
|
+
group: E({}, e, { value: Q }),
|
108
|
+
groupCollapsed: E({}, e, { value: D }),
|
109
|
+
groupEnd: E({}, e, { value: ee })
|
110
110
|
});
|
111
111
|
}
|
112
|
-
0 >
|
112
|
+
0 > v && console.error(
|
113
113
|
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
114
114
|
);
|
115
115
|
}
|
@@ -117,21 +117,21 @@ function he() {
|
|
117
117
|
if (x === void 0)
|
118
118
|
try {
|
119
119
|
throw Error();
|
120
|
-
} catch (
|
121
|
-
var r =
|
122
|
-
x = r && r[1] || "", re = -1 <
|
123
|
-
at`) ? " (<anonymous>)" : -1 <
|
120
|
+
} catch (t) {
|
121
|
+
var r = t.stack.trim().match(/\n( *(at )?)/);
|
122
|
+
x = r && r[1] || "", re = -1 < t.stack.indexOf(`
|
123
|
+
at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
|
124
124
|
}
|
125
125
|
return `
|
126
126
|
` + x + e + re;
|
127
127
|
}
|
128
128
|
function U(e, r) {
|
129
129
|
if (!e || P) return "";
|
130
|
-
var
|
131
|
-
if (
|
132
|
-
P = !0,
|
130
|
+
var t = Y.get(e);
|
131
|
+
if (t !== void 0) return t;
|
132
|
+
P = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
133
133
|
var n = null;
|
134
|
-
n =
|
134
|
+
n = d.H, d.H = null, le();
|
135
135
|
try {
|
136
136
|
var u = {
|
137
137
|
DetermineComponentFrameRoot: function() {
|
@@ -185,27 +185,27 @@ function he() {
|
|
185
185
|
"name",
|
186
186
|
{ value: "DetermineComponentFrameRoot" }
|
187
187
|
);
|
188
|
-
var
|
189
|
-
if (f &&
|
188
|
+
var o = u.DetermineComponentFrameRoot(), f = o[0], g = o[1];
|
189
|
+
if (f && g) {
|
190
190
|
var l = f.split(`
|
191
|
-
`), b =
|
191
|
+
`), b = g.split(`
|
192
192
|
`);
|
193
|
-
for (
|
193
|
+
for (o = a = 0; a < l.length && !l[a].includes(
|
194
194
|
"DetermineComponentFrameRoot"
|
195
195
|
); )
|
196
196
|
a++;
|
197
|
-
for (;
|
197
|
+
for (; o < b.length && !b[o].includes(
|
198
198
|
"DetermineComponentFrameRoot"
|
199
199
|
); )
|
200
|
-
|
201
|
-
if (a === l.length ||
|
202
|
-
for (a = l.length - 1,
|
203
|
-
|
204
|
-
for (; 1 <= a && 0 <=
|
205
|
-
if (l[a] !== b[
|
206
|
-
if (a !== 1 ||
|
200
|
+
o++;
|
201
|
+
if (a === l.length || o === b.length)
|
202
|
+
for (a = l.length - 1, o = b.length - 1; 1 <= a && 0 <= o && l[a] !== b[o]; )
|
203
|
+
o--;
|
204
|
+
for (; 1 <= a && 0 <= o; a--, o--)
|
205
|
+
if (l[a] !== b[o]) {
|
206
|
+
if (a !== 1 || o !== 1)
|
207
207
|
do
|
208
|
-
if (a--,
|
208
|
+
if (a--, o--, 0 > o || l[a] !== b[o]) {
|
209
209
|
var m = `
|
210
210
|
` + l[a].replace(
|
211
211
|
" at new ",
|
@@ -213,12 +213,12 @@ function he() {
|
|
213
213
|
);
|
214
214
|
return e.displayName && m.includes("<anonymous>") && (m = m.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, m), m;
|
215
215
|
}
|
216
|
-
while (1 <= a && 0 <=
|
216
|
+
while (1 <= a && 0 <= o);
|
217
217
|
break;
|
218
218
|
}
|
219
219
|
}
|
220
220
|
} finally {
|
221
|
-
P = !1,
|
221
|
+
P = !1, d.H = n, fe(), Error.prepareStackTrace = t;
|
222
222
|
}
|
223
223
|
return l = (l = e ? e.displayName || e.name : "") ? y(l) : "", typeof e == "function" && Y.set(e, l), l;
|
224
224
|
}
|
@@ -254,7 +254,7 @@ function he() {
|
|
254
254
|
return "";
|
255
255
|
}
|
256
256
|
function C() {
|
257
|
-
var e =
|
257
|
+
var e = d.A;
|
258
258
|
return e === null ? null : e.getOwner();
|
259
259
|
}
|
260
260
|
function ce(e) {
|
@@ -265,31 +265,31 @@ function he() {
|
|
265
265
|
return e.key !== void 0;
|
266
266
|
}
|
267
267
|
function se(e, r) {
|
268
|
-
function
|
269
|
-
|
268
|
+
function t() {
|
269
|
+
te || (te = !0, console.error(
|
270
270
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
271
271
|
r
|
272
272
|
));
|
273
273
|
}
|
274
|
-
|
275
|
-
get:
|
274
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
275
|
+
get: t,
|
276
276
|
configurable: !0
|
277
277
|
});
|
278
278
|
}
|
279
279
|
function ie() {
|
280
280
|
var e = s(this.type);
|
281
|
-
return
|
281
|
+
return oe[e] || (oe[e] = !0, console.error(
|
282
282
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
283
283
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
284
284
|
}
|
285
|
-
function
|
286
|
-
return
|
285
|
+
function de(e, r, t, n, u, a) {
|
286
|
+
return t = a.ref, e = {
|
287
287
|
$$typeof: O,
|
288
288
|
type: e,
|
289
289
|
key: r,
|
290
290
|
props: a,
|
291
291
|
_owner: u
|
292
|
-
}, (
|
292
|
+
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
293
293
|
enumerable: !1,
|
294
294
|
get: ie
|
295
295
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
@@ -304,32 +304,32 @@ function he() {
|
|
304
304
|
value: null
|
305
305
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
306
306
|
}
|
307
|
-
function z(e, r,
|
308
|
-
if (typeof e == "string" || typeof e == "function" || e === j || e === K || e === H || e === A || e === R || e ===
|
309
|
-
var
|
310
|
-
if (
|
307
|
+
function z(e, r, t, n, u, a) {
|
308
|
+
if (typeof e == "string" || typeof e == "function" || e === j || e === K || e === H || e === A || e === R || e === ve || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === k || e.$$typeof === q || e.$$typeof === X || e.$$typeof === S || e.$$typeof === _e || e.getModuleId !== void 0)) {
|
309
|
+
var o = r.children;
|
310
|
+
if (o !== void 0)
|
311
311
|
if (n)
|
312
|
-
if (N(
|
313
|
-
for (n = 0; n <
|
314
|
-
V(
|
315
|
-
Object.freeze && Object.freeze(
|
312
|
+
if (N(o)) {
|
313
|
+
for (n = 0; n < o.length; n++)
|
314
|
+
V(o[n], e);
|
315
|
+
Object.freeze && Object.freeze(o);
|
316
316
|
} else
|
317
317
|
console.error(
|
318
318
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
319
319
|
);
|
320
|
-
else V(
|
320
|
+
else V(o, e);
|
321
321
|
} else
|
322
|
-
|
322
|
+
o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : N(e) ? n = "array" : e !== void 0 && e.$$typeof === O ? (n = "<" + (s(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
|
323
323
|
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
324
324
|
n,
|
325
|
-
|
325
|
+
o
|
326
326
|
);
|
327
327
|
if (J.call(r, "key")) {
|
328
|
-
|
328
|
+
o = s(e);
|
329
329
|
var f = Object.keys(r).filter(function(l) {
|
330
330
|
return l !== "key";
|
331
331
|
});
|
332
|
-
n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", ne[
|
332
|
+
n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", ne[o + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
|
333
333
|
`A props object containing a "key" prop is being spread into JSX:
|
334
334
|
let props = %s;
|
335
335
|
<%s {...props} />
|
@@ -337,32 +337,32 @@ React keys must be passed directly to JSX without using spread:
|
|
337
337
|
let props = %s;
|
338
338
|
<%s key={someKey} {...props} />`,
|
339
339
|
n,
|
340
|
-
|
340
|
+
o,
|
341
341
|
f,
|
342
|
-
|
343
|
-
), ne[
|
342
|
+
o
|
343
|
+
), ne[o + n] = !0);
|
344
344
|
}
|
345
|
-
if (
|
346
|
-
|
347
|
-
for (var
|
348
|
-
|
349
|
-
} else
|
350
|
-
return
|
351
|
-
|
345
|
+
if (o = null, t !== void 0 && (W(t), o = "" + t), ce(r) && (W(r.key), o = "" + r.key), "key" in r) {
|
346
|
+
t = {};
|
347
|
+
for (var g in r)
|
348
|
+
g !== "key" && (t[g] = r[g]);
|
349
|
+
} else t = r;
|
350
|
+
return o && se(
|
351
|
+
t,
|
352
352
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
353
|
-
),
|
353
|
+
), de(e, o, a, u, C(), t);
|
354
354
|
}
|
355
355
|
function V(e, r) {
|
356
356
|
if (typeof e == "object" && e && e.$$typeof !== ye) {
|
357
357
|
if (N(e))
|
358
|
-
for (var
|
359
|
-
var n = e[
|
358
|
+
for (var t = 0; t < e.length; t++) {
|
359
|
+
var n = e[t];
|
360
360
|
h(n) && G(n, r);
|
361
361
|
}
|
362
362
|
else if (h(e))
|
363
363
|
e._store && (e._store.validated = 1);
|
364
|
-
else if (e === null || typeof e != "object" ?
|
365
|
-
for (; !(e =
|
364
|
+
else if (e === null || typeof e != "object" ? t = null : (t = B && e[B] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
|
365
|
+
for (; !(e = t.next()).done; )
|
366
366
|
h(e.value) && G(e.value, r);
|
367
367
|
}
|
368
368
|
}
|
@@ -370,36 +370,36 @@ React keys must be passed directly to JSX without using spread:
|
|
370
370
|
return typeof e == "object" && e !== null && e.$$typeof === O;
|
371
371
|
}
|
372
372
|
function G(e, r) {
|
373
|
-
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r =
|
373
|
+
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = Ee(r), !ae[r])) {
|
374
374
|
ae[r] = !0;
|
375
|
-
var
|
376
|
-
e && e._owner != null && e._owner !== C() && (
|
377
|
-
var n =
|
378
|
-
|
375
|
+
var t = "";
|
376
|
+
e && e._owner != null && e._owner !== C() && (t = null, typeof e._owner.tag == "number" ? t = s(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
|
377
|
+
var n = d.getCurrentStack;
|
378
|
+
d.getCurrentStack = function() {
|
379
379
|
var u = T(e.type);
|
380
380
|
return n && (u += n() || ""), u;
|
381
381
|
}, console.error(
|
382
382
|
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
383
383
|
r,
|
384
|
-
|
385
|
-
),
|
384
|
+
t
|
385
|
+
), d.getCurrentStack = n;
|
386
386
|
}
|
387
387
|
}
|
388
|
-
function
|
389
|
-
var r = "",
|
390
|
-
return
|
388
|
+
function Ee(e) {
|
389
|
+
var r = "", t = C();
|
390
|
+
return t && (t = s(t.type)) && (r = `
|
391
391
|
|
392
|
-
Check the render method of \`` +
|
392
|
+
Check the render method of \`` + t + "`."), r || (e = s(e)) && (r = `
|
393
393
|
|
394
394
|
Check the top-level render call using <` + e + ">."), r;
|
395
395
|
}
|
396
|
-
var be = we, O = Symbol.for("react.transitional.element"),
|
396
|
+
var be = we, O = Symbol.for("react.transitional.element"), ge = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), q = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), ve = Symbol.for("react.offscreen"), B = Symbol.iterator, me = Symbol.for("react.client.reference"), d = be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, E = Object.assign, _e = Symbol.for("react.client.reference"), N = Array.isArray, v = 0, Z, F, I, L, Q, D, ee;
|
397
397
|
$.__reactDisabledLog = !0;
|
398
|
-
var x, re, P = !1, Y = new (typeof WeakMap == "function" ? WeakMap : Map)(), ye = Symbol.for("react.client.reference"),
|
399
|
-
_.Fragment = j, _.jsx = function(e, r,
|
400
|
-
return z(e, r,
|
401
|
-
}, _.jsxs = function(e, r,
|
402
|
-
return z(e, r,
|
398
|
+
var x, re, P = !1, Y = new (typeof WeakMap == "function" ? WeakMap : Map)(), ye = Symbol.for("react.client.reference"), te, oe = {}, ne = {}, ae = {};
|
399
|
+
_.Fragment = j, _.jsx = function(e, r, t, n, u) {
|
400
|
+
return z(e, r, t, !1, n, u);
|
401
|
+
}, _.jsxs = function(e, r, t, n, u) {
|
402
|
+
return z(e, r, t, !0, n, u);
|
403
403
|
};
|
404
404
|
}(), _);
|
405
405
|
}
|
package/dist/index.es32.js
CHANGED
@@ -2,12 +2,12 @@ import { j as r } from "./index.es180.js";
|
|
2
2
|
import { clsx as n } from "./index.es182.js";
|
3
3
|
import './components/ui/SupportBanner/SupportBanner.css';/* empty css */
|
4
4
|
import { useMemo as h } from "react";
|
5
|
-
import {
|
6
|
-
import {
|
5
|
+
import { ArrowLink as g } from "./index.es35.js";
|
6
|
+
import { Attachment as w } from "./index.es150.js";
|
7
7
|
import { Col as A } from "./index.es10.js";
|
8
8
|
import { Button as C } from "./index.es25.js";
|
9
9
|
const b = {
|
10
|
-
link: (s, a) => /* @__PURE__ */ r.jsx(
|
10
|
+
link: (s, a) => /* @__PURE__ */ r.jsx(g, { href: a, children: s }),
|
11
11
|
button: (s) => /* @__PURE__ */ r.jsx("button", { className: "button-style", children: s }),
|
12
12
|
outlineButton: (s, a, l, u) => /* @__PURE__ */ r.jsxs(
|
13
13
|
C,
|
@@ -19,7 +19,7 @@ const b = {
|
|
19
19
|
border: "primary",
|
20
20
|
onClick: u,
|
21
21
|
children: [
|
22
|
-
l && /* @__PURE__ */ r.jsx(
|
22
|
+
l && /* @__PURE__ */ r.jsx(w, { className: "mr-x8" }),
|
23
23
|
/* @__PURE__ */ r.jsx("p", { className: "fs-6 fw-bold", children: s })
|
24
24
|
]
|
25
25
|
}
|
package/dist/index.es324.js
CHANGED
@@ -1,18 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
), c = o[0], r = o[o.length - 1], s = (e) => {
|
8
|
-
e.key === "Tab" && (e.shiftKey ? document.activeElement === c && (r.focus(), e.preventDefault()) : document.activeElement === r && (c.focus(), e.preventDefault()));
|
9
|
-
}, u = document.activeElement;
|
10
|
-
return c.focus(), document.addEventListener("keydown", s), () => {
|
11
|
-
document.removeEventListener("keydown", s), n && (u == null || u.focus());
|
12
|
-
};
|
13
|
-
}, [n, t]);
|
14
|
-
};
|
1
|
+
function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
|
2
|
+
return function(s) {
|
3
|
+
if (f == null || f(s), p === !1 || !s.defaultPrevented)
|
4
|
+
return c == null ? void 0 : c(s);
|
5
|
+
};
|
6
|
+
}
|
15
7
|
export {
|
16
|
-
|
8
|
+
h as composeEventHandlers
|
17
9
|
};
|
18
10
|
//# sourceMappingURL=index.es324.js.map
|
package/dist/index.es324.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es324.js","sources":["../
|
1
|
+
{"version":3,"file":"index.es324.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import * as l from "react";
|
2
|
+
function f(n, u) {
|
3
|
+
if (typeof n == "function")
|
4
|
+
return n(u);
|
5
|
+
n != null && (n.current = u);
|
6
|
+
}
|
7
|
+
function i(...n) {
|
8
|
+
return (u) => {
|
9
|
+
let o = !1;
|
10
|
+
const c = n.map((e) => {
|
11
|
+
const t = f(e, u);
|
12
|
+
return !o && typeof t == "function" && (o = !0), t;
|
13
|
+
});
|
14
|
+
if (o)
|
15
|
+
return () => {
|
16
|
+
for (let e = 0; e < c.length; e++) {
|
17
|
+
const t = c[e];
|
18
|
+
typeof t == "function" ? t() : f(n[e], null);
|
19
|
+
}
|
20
|
+
};
|
21
|
+
};
|
22
|
+
}
|
23
|
+
function s(...n) {
|
24
|
+
return l.useCallback(i(...n), n);
|
25
|
+
}
|
26
|
+
export {
|
27
|
+
i as composeRefs,
|
28
|
+
s as useComposedRefs
|
29
|
+
};
|
30
|
+
//# sourceMappingURL=index.es325.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es325.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\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 if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import * as u from "react";
|
2
|
+
import { j as h } from "./index.es180.js";
|
3
|
+
function j(t, c) {
|
4
|
+
const r = u.createContext(c), a = (o) => {
|
5
|
+
const { children: e, ...n } = o, s = u.useMemo(() => n, Object.values(n));
|
6
|
+
return /* @__PURE__ */ h.jsx(r.Provider, { value: s, children: e });
|
7
|
+
};
|
8
|
+
a.displayName = t + "Provider";
|
9
|
+
function i(o) {
|
10
|
+
const e = u.useContext(r);
|
11
|
+
if (e) return e;
|
12
|
+
if (c !== void 0) return c;
|
13
|
+
throw new Error(`\`${o}\` must be used within \`${t}\``);
|
14
|
+
}
|
15
|
+
return [a, i];
|
16
|
+
}
|
17
|
+
function w(t, c = []) {
|
18
|
+
let r = [];
|
19
|
+
function a(o, e) {
|
20
|
+
const n = u.createContext(e), s = r.length;
|
21
|
+
r = [...r, e];
|
22
|
+
const p = (d) => {
|
23
|
+
var S;
|
24
|
+
const { scope: x, children: C, ...m } = d, f = ((S = x == null ? void 0 : x[t]) == null ? void 0 : S[s]) || n, P = u.useMemo(() => m, Object.values(m));
|
25
|
+
return /* @__PURE__ */ h.jsx(f.Provider, { value: P, children: C });
|
26
|
+
};
|
27
|
+
p.displayName = o + "Provider";
|
28
|
+
function v(d, x) {
|
29
|
+
var f;
|
30
|
+
const C = ((f = x == null ? void 0 : x[t]) == null ? void 0 : f[s]) || n, m = u.useContext(C);
|
31
|
+
if (m) return m;
|
32
|
+
if (e !== void 0) return e;
|
33
|
+
throw new Error(`\`${d}\` must be used within \`${o}\``);
|
34
|
+
}
|
35
|
+
return [p, v];
|
36
|
+
}
|
37
|
+
const i = () => {
|
38
|
+
const o = r.map((e) => u.createContext(e));
|
39
|
+
return function(n) {
|
40
|
+
const s = (n == null ? void 0 : n[t]) || o;
|
41
|
+
return u.useMemo(
|
42
|
+
() => ({ [`__scope${t}`]: { ...n, [t]: s } }),
|
43
|
+
[n, s]
|
44
|
+
);
|
45
|
+
};
|
46
|
+
};
|
47
|
+
return i.scopeName = t, [a, l(i, ...c)];
|
48
|
+
}
|
49
|
+
function l(...t) {
|
50
|
+
const c = t[0];
|
51
|
+
if (t.length === 1) return c;
|
52
|
+
const r = () => {
|
53
|
+
const a = t.map((i) => ({
|
54
|
+
useScope: i(),
|
55
|
+
scopeName: i.scopeName
|
56
|
+
}));
|
57
|
+
return function(o) {
|
58
|
+
const e = a.reduce((n, { useScope: s, scopeName: p }) => {
|
59
|
+
const d = s(o)[`__scope${p}`];
|
60
|
+
return { ...n, ...d };
|
61
|
+
}, {});
|
62
|
+
return u.useMemo(() => ({ [`__scope${c.scopeName}`]: e }), [e]);
|
63
|
+
};
|
64
|
+
};
|
65
|
+
return r.scopeName = c.scopeName, r;
|
66
|
+
}
|
67
|
+
export {
|
68
|
+
j as createContext,
|
69
|
+
w as createContextScope
|
70
|
+
};
|
71
|
+
//# sourceMappingURL=index.es326.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es326.js","sources":["../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.es327.js
CHANGED
@@ -1,10 +1,33 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
import * as l from "react";
|
2
|
+
import { useCallbackRef as f } from "./index.es334.js";
|
3
|
+
function R({
|
4
|
+
prop: e,
|
5
|
+
defaultProp: r,
|
6
|
+
onChange: s = () => {
|
7
|
+
}
|
8
|
+
}) {
|
9
|
+
const [t, n] = C({ defaultProp: r, onChange: s }), o = e !== void 0, i = o ? e : t, u = f(s), d = l.useCallback(
|
10
|
+
(c) => {
|
11
|
+
if (o) {
|
12
|
+
const a = typeof c == "function" ? c(e) : c;
|
13
|
+
a !== e && u(a);
|
14
|
+
} else
|
15
|
+
n(c);
|
16
|
+
},
|
17
|
+
[o, e, n, u]
|
18
|
+
);
|
19
|
+
return [i, d];
|
20
|
+
}
|
21
|
+
function C({
|
22
|
+
defaultProp: e,
|
23
|
+
onChange: r
|
24
|
+
}) {
|
25
|
+
const s = l.useState(e), [t] = s, n = l.useRef(t), o = f(r);
|
26
|
+
return l.useEffect(() => {
|
27
|
+
n.current !== t && (o(t), n.current = t);
|
28
|
+
}, [t, n, o]), s;
|
6
29
|
}
|
7
30
|
export {
|
8
|
-
|
31
|
+
R as useControllableState
|
9
32
|
};
|
10
33
|
//# sourceMappingURL=index.es327.js.map
|