@anoki/fse-ui 1.0.424 → 1.0.425

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.
Files changed (264) hide show
  1. package/dist/index.cjs186.js +1 -1
  2. package/dist/index.cjs190.js +1 -1
  3. package/dist/index.cjs197.js +1 -1
  4. package/dist/index.cjs208.js +1 -1
  5. package/dist/index.cjs215.js +1 -1
  6. package/dist/index.cjs220.js +1 -1
  7. package/dist/index.cjs227.js +1 -1
  8. package/dist/index.cjs235.js +1 -1
  9. package/dist/index.cjs288.js +1 -1
  10. package/dist/index.cjs288.js.map +1 -1
  11. package/dist/index.cjs291.js +1 -1
  12. package/dist/index.cjs291.js.map +1 -1
  13. package/dist/index.cjs292.js +1 -1
  14. package/dist/index.cjs292.js.map +1 -1
  15. package/dist/index.cjs293.js +1 -1
  16. package/dist/index.cjs293.js.map +1 -1
  17. package/dist/{index.cjs290.js → index.cjs294.js} +2 -2
  18. package/dist/{index.cjs290.js.map → index.cjs294.js.map} +1 -1
  19. package/dist/index.cjs295.js +1 -1
  20. package/dist/index.cjs295.js.map +1 -1
  21. package/dist/index.cjs296.js +1 -1
  22. package/dist/index.cjs296.js.map +1 -1
  23. package/dist/index.cjs297.js +1 -1
  24. package/dist/index.cjs297.js.map +1 -1
  25. package/dist/index.cjs298.js +1 -1
  26. package/dist/index.cjs298.js.map +1 -1
  27. package/dist/index.cjs299.js +1 -1
  28. package/dist/index.cjs299.js.map +1 -1
  29. package/dist/index.cjs300.js +1 -1
  30. package/dist/index.cjs300.js.map +1 -1
  31. package/dist/index.cjs301.js +1 -1
  32. package/dist/index.cjs301.js.map +1 -1
  33. package/dist/index.cjs302.js +1 -1
  34. package/dist/index.cjs302.js.map +1 -1
  35. package/dist/index.cjs303.js +1 -1
  36. package/dist/index.cjs303.js.map +1 -1
  37. package/dist/index.cjs304.js +1 -1
  38. package/dist/index.cjs304.js.map +1 -1
  39. package/dist/index.cjs305.js +1 -1
  40. package/dist/index.cjs305.js.map +1 -1
  41. package/dist/index.cjs306.js +1 -1
  42. package/dist/index.cjs306.js.map +1 -1
  43. package/dist/index.cjs307.js +1 -1
  44. package/dist/index.cjs307.js.map +1 -1
  45. package/dist/index.cjs308.js +1 -1
  46. package/dist/index.cjs308.js.map +1 -1
  47. package/dist/index.cjs309.js +1 -1
  48. package/dist/index.cjs309.js.map +1 -1
  49. package/dist/{index.cjs317.js → index.cjs310.js} +2 -2
  50. package/dist/index.cjs310.js.map +1 -0
  51. package/dist/index.cjs311.js +2 -0
  52. package/dist/index.cjs311.js.map +1 -0
  53. package/dist/index.cjs312.js +2 -0
  54. package/dist/index.cjs312.js.map +1 -0
  55. package/dist/index.cjs313.js +2 -0
  56. package/dist/index.cjs313.js.map +1 -0
  57. package/dist/index.cjs314.js +2 -0
  58. package/dist/index.cjs314.js.map +1 -0
  59. package/dist/index.cjs315.js +1 -1
  60. package/dist/index.cjs315.js.map +1 -1
  61. package/dist/index.cjs318.js +1 -1
  62. package/dist/index.cjs318.js.map +1 -1
  63. package/dist/index.cjs319.js +1 -1
  64. package/dist/index.cjs319.js.map +1 -1
  65. package/dist/index.cjs320.js +1 -1
  66. package/dist/index.cjs320.js.map +1 -1
  67. package/dist/index.cjs321.js +1 -1
  68. package/dist/index.cjs321.js.map +1 -1
  69. package/dist/index.cjs322.js +1 -1
  70. package/dist/index.cjs322.js.map +1 -1
  71. package/dist/index.cjs329.js +2 -0
  72. package/dist/index.cjs329.js.map +1 -0
  73. package/dist/index.cjs330.js +1 -1
  74. package/dist/index.cjs330.js.map +1 -1
  75. package/dist/index.cjs331.js +1 -1
  76. package/dist/index.cjs331.js.map +1 -1
  77. package/dist/index.cjs332.js +1 -1
  78. package/dist/index.cjs332.js.map +1 -1
  79. package/dist/index.cjs339.js +1 -1
  80. package/dist/index.cjs339.js.map +1 -1
  81. package/dist/index.cjs340.js +1 -1
  82. package/dist/index.cjs340.js.map +1 -1
  83. package/dist/index.cjs341.js +1 -1
  84. package/dist/index.cjs341.js.map +1 -1
  85. package/dist/index.cjs342.js +1 -4
  86. package/dist/index.cjs342.js.map +1 -1
  87. package/dist/index.cjs343.js +1 -1
  88. package/dist/index.cjs343.js.map +1 -1
  89. package/dist/index.cjs344.js +1 -1
  90. package/dist/index.cjs344.js.map +1 -1
  91. package/dist/index.cjs345.js +2 -0
  92. package/dist/index.cjs345.js.map +1 -0
  93. package/dist/index.cjs346.js +2 -0
  94. package/dist/index.cjs346.js.map +1 -0
  95. package/dist/index.cjs347.js +5 -0
  96. package/dist/index.cjs347.js.map +1 -0
  97. package/dist/index.cjs348.js +1 -1
  98. package/dist/index.cjs348.js.map +1 -1
  99. package/dist/index.cjs349.js +1 -1
  100. package/dist/index.cjs349.js.map +1 -1
  101. package/dist/index.cjs350.js +1 -1
  102. package/dist/index.cjs350.js.map +1 -1
  103. package/dist/index.cjs351.js +1 -38
  104. package/dist/index.cjs351.js.map +1 -1
  105. package/dist/index.cjs352.js +1 -1
  106. package/dist/index.cjs352.js.map +1 -1
  107. package/dist/index.cjs353.js +38 -1
  108. package/dist/index.cjs353.js.map +1 -1
  109. package/dist/index.cjs354.js +1 -1
  110. package/dist/index.cjs354.js.map +1 -1
  111. package/dist/index.cjs355.js +1 -1
  112. package/dist/index.cjs355.js.map +1 -1
  113. package/dist/index.cjs356.js +1 -1
  114. package/dist/index.cjs356.js.map +1 -1
  115. package/dist/index.es186.js +7 -7
  116. package/dist/index.es190.js +1 -1
  117. package/dist/index.es197.js +8 -8
  118. package/dist/index.es208.js +14 -14
  119. package/dist/index.es215.js +1 -1
  120. package/dist/index.es220.js +1 -1
  121. package/dist/index.es227.js +1 -1
  122. package/dist/index.es235.js +7 -7
  123. package/dist/index.es288.js +15 -27
  124. package/dist/index.es288.js.map +1 -1
  125. package/dist/index.es291.js +6 -32
  126. package/dist/index.es291.js.map +1 -1
  127. package/dist/index.es292.js +23 -618
  128. package/dist/index.es292.js.map +1 -1
  129. package/dist/index.es293.js +66 -9
  130. package/dist/index.es293.js.map +1 -1
  131. package/dist/{index.es290.js → index.es294.js} +2 -2
  132. package/dist/{index.es290.js.map → index.es294.js.map} +1 -1
  133. package/dist/index.es295.js +32 -10
  134. package/dist/index.es295.js.map +1 -1
  135. package/dist/index.es296.js +621 -45
  136. package/dist/index.es296.js.map +1 -1
  137. package/dist/index.es297.js +10 -45
  138. package/dist/index.es297.js.map +1 -1
  139. package/dist/index.es298.js +5 -7
  140. package/dist/index.es298.js.map +1 -1
  141. package/dist/index.es299.js +23 -123
  142. package/dist/index.es299.js.map +1 -1
  143. package/dist/index.es300.js +67 -13
  144. package/dist/index.es300.js.map +1 -1
  145. package/dist/index.es301.js +28 -134
  146. package/dist/index.es301.js.map +1 -1
  147. package/dist/index.es302.js +10 -217
  148. package/dist/index.es302.js.map +1 -1
  149. package/dist/index.es303.js +45 -13
  150. package/dist/index.es303.js.map +1 -1
  151. package/dist/index.es304.js +43 -66
  152. package/dist/index.es304.js.map +1 -1
  153. package/dist/index.es305.js +7 -177
  154. package/dist/index.es305.js.map +1 -1
  155. package/dist/index.es306.js +122 -47
  156. package/dist/index.es306.js.map +1 -1
  157. package/dist/index.es307.js +14 -8
  158. package/dist/index.es307.js.map +1 -1
  159. package/dist/index.es308.js +135 -4
  160. package/dist/index.es308.js.map +1 -1
  161. package/dist/index.es309.js +217 -14
  162. package/dist/index.es309.js.map +1 -1
  163. package/dist/{index.es317.js → index.es310.js} +3 -3
  164. package/dist/index.es310.js.map +1 -0
  165. package/dist/index.es311.js +181 -0
  166. package/dist/index.es311.js.map +1 -0
  167. package/dist/index.es312.js +53 -0
  168. package/dist/index.es312.js.map +1 -0
  169. package/dist/index.es313.js +12 -0
  170. package/dist/index.es313.js.map +1 -0
  171. package/dist/index.es314.js +7 -0
  172. package/dist/index.es314.js.map +1 -0
  173. package/dist/index.es315.js +37 -120
  174. package/dist/index.es315.js.map +1 -1
  175. package/dist/index.es318.js +122 -30
  176. package/dist/index.es318.js.map +1 -1
  177. package/dist/index.es319.js +130 -37
  178. package/dist/index.es319.js.map +1 -1
  179. package/dist/index.es320.js +13 -11
  180. package/dist/index.es320.js.map +1 -1
  181. package/dist/index.es321.js +32 -204
  182. package/dist/index.es321.js.map +1 -1
  183. package/dist/index.es322.js +41 -21
  184. package/dist/index.es322.js.map +1 -1
  185. package/dist/index.es329.js +15 -0
  186. package/dist/index.es329.js.map +1 -0
  187. package/dist/index.es330.js +202 -22
  188. package/dist/index.es330.js.map +1 -1
  189. package/dist/index.es331.js +20 -27
  190. package/dist/index.es331.js.map +1 -1
  191. package/dist/index.es332.js +393 -5
  192. package/dist/index.es332.js.map +1 -1
  193. package/dist/index.es339.js +29 -5
  194. package/dist/index.es339.js.map +1 -1
  195. package/dist/index.es340.js +25 -3
  196. package/dist/index.es340.js.map +1 -1
  197. package/dist/index.es341.js +29 -24
  198. package/dist/index.es341.js.map +1 -1
  199. package/dist/index.es342.js +5 -110
  200. package/dist/index.es342.js.map +1 -1
  201. package/dist/index.es343.js +41 -15
  202. package/dist/index.es343.js.map +1 -1
  203. package/dist/index.es344.js +5 -29
  204. package/dist/index.es344.js.map +1 -1
  205. package/dist/index.es345.js +6 -0
  206. package/dist/index.es345.js.map +1 -0
  207. package/dist/index.es346.js +27 -0
  208. package/dist/index.es346.js.map +1 -0
  209. package/dist/index.es347.js +113 -0
  210. package/dist/index.es347.js.map +1 -0
  211. package/dist/index.es348.js +14 -521
  212. package/dist/index.es348.js.map +1 -1
  213. package/dist/index.es349.js +509 -113
  214. package/dist/index.es349.js.map +1 -1
  215. package/dist/index.es350.js +121 -123
  216. package/dist/index.es350.js.map +1 -1
  217. package/dist/index.es351.js +127 -67
  218. package/dist/index.es351.js.map +1 -1
  219. package/dist/index.es352.js +64 -8
  220. package/dist/index.es352.js.map +1 -1
  221. package/dist/index.es353.js +68 -13
  222. package/dist/index.es353.js.map +1 -1
  223. package/dist/index.es354.js +8 -61
  224. package/dist/index.es354.js.map +1 -1
  225. package/dist/index.es355.js +13 -64
  226. package/dist/index.es355.js.map +1 -1
  227. package/dist/index.es356.js +62 -42
  228. package/dist/index.es356.js.map +1 -1
  229. package/package.json +1 -4
  230. package/dist/index.cjs287.js +0 -2
  231. package/dist/index.cjs287.js.map +0 -1
  232. package/dist/index.cjs289.js +0 -2
  233. package/dist/index.cjs289.js.map +0 -1
  234. package/dist/index.cjs316.js +0 -2
  235. package/dist/index.cjs316.js.map +0 -1
  236. package/dist/index.cjs317.js.map +0 -1
  237. package/dist/index.cjs323.js +0 -2
  238. package/dist/index.cjs323.js.map +0 -1
  239. package/dist/index.cjs324.js +0 -2
  240. package/dist/index.cjs324.js.map +0 -1
  241. package/dist/index.cjs325.js +0 -2
  242. package/dist/index.cjs325.js.map +0 -1
  243. package/dist/index.cjs326.js +0 -2
  244. package/dist/index.cjs326.js.map +0 -1
  245. package/dist/index.cjs338.js +0 -2
  246. package/dist/index.cjs338.js.map +0 -1
  247. package/dist/index.es287.js +0 -10
  248. package/dist/index.es287.js.map +0 -1
  249. package/dist/index.es289.js +0 -71
  250. package/dist/index.es289.js.map +0 -1
  251. package/dist/index.es316.js +0 -138
  252. package/dist/index.es316.js.map +0 -1
  253. package/dist/index.es317.js.map +0 -1
  254. package/dist/index.es323.js +0 -28
  255. package/dist/index.es323.js.map +0 -1
  256. package/dist/index.es324.js +0 -396
  257. package/dist/index.es324.js.map +0 -1
  258. package/dist/index.es325.js +0 -9
  259. package/dist/index.es325.js.map +0 -1
  260. package/dist/index.es326.js +0 -32
  261. package/dist/index.es326.js.map +0 -1
  262. package/dist/index.es338.js +0 -45
  263. package/dist/index.es338.js.map +0 -1
  264. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1,208 +1,36 @@
1
- import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, arrow as L, limitShift as X } from "./index.es324.js";
2
- import { autoUpdate as me, platform as pe } from "./index.es324.js";
3
- import * as f from "react";
4
- import { useLayoutEffect as Y, useEffect as Z } from "react";
5
- import * as b from "react-dom";
6
- var w = typeof document < "u" ? Y : Z;
7
- function R(e, t) {
8
- if (e === t)
9
- return !0;
10
- if (typeof e != typeof t)
11
- return !1;
12
- if (typeof e == "function" && e.toString() === t.toString())
13
- return !0;
14
- let n, r, s;
15
- if (e && t && typeof e == "object") {
16
- if (Array.isArray(e)) {
17
- if (n = e.length, n !== t.length) return !1;
18
- for (r = n; r-- !== 0; )
19
- if (!R(e[r], t[r]))
20
- return !1;
21
- return !0;
22
- }
23
- if (s = Object.keys(e), n = s.length, n !== Object.keys(t).length)
24
- return !1;
25
- for (r = n; r-- !== 0; )
26
- if (!{}.hasOwnProperty.call(t, s[r]))
27
- return !1;
28
- for (r = n; r-- !== 0; ) {
29
- const p = s[r];
30
- if (!(p === "_owner" && e.$$typeof) && !R(e[p], t[p]))
31
- return !1;
32
- }
33
- return !0;
34
- }
35
- return e !== e && t !== t;
1
+ import * as n from "react";
2
+ import * as p from "react-dom";
3
+ import { Slot as f } from "./index.es322.js";
4
+ import { j as u } from "./index.es161.js";
5
+ var c = [
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
+ "span",
20
+ "svg",
21
+ "ul"
22
+ ], v = c.reduce((r, i) => {
23
+ const t = n.forwardRef((o, e) => {
24
+ const { asChild: s, ...m } = o, a = s ? f : i;
25
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(a, { ...m, ref: e });
26
+ });
27
+ return t.displayName = `Primitive.${i}`, { ...r, [i]: t };
28
+ }, {});
29
+ function h(r, i) {
30
+ r && p.flushSync(() => r.dispatchEvent(i));
36
31
  }
37
- function q(e) {
38
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
39
- }
40
- function A(e, t) {
41
- const n = q(e);
42
- return Math.round(t * n) / n;
43
- }
44
- function E(e) {
45
- const t = f.useRef(e);
46
- return w(() => {
47
- t.current = e;
48
- }), t;
49
- }
50
- function re(e) {
51
- e === void 0 && (e = {});
52
- const {
53
- placement: t = "bottom",
54
- strategy: n = "absolute",
55
- middleware: r = [],
56
- platform: s,
57
- elements: {
58
- reference: p,
59
- floating: v
60
- } = {},
61
- transform: k = !0,
62
- whileElementsMounted: D,
63
- open: x
64
- } = e, [i, O] = f.useState({
65
- x: 0,
66
- y: 0,
67
- strategy: n,
68
- placement: t,
69
- middlewareData: {},
70
- isPositioned: !1
71
- }), [M, B] = f.useState(r);
72
- R(M, r) || B(r);
73
- const [U, V] = f.useState(null), [W, G] = f.useState(null), _ = f.useCallback((o) => {
74
- o !== a.current && (a.current = o, V(o));
75
- }, []), C = f.useCallback((o) => {
76
- o !== d.current && (d.current = o, G(o));
77
- }, []), u = p || U, l = v || W, a = f.useRef(null), d = f.useRef(null), y = f.useRef(i), H = D != null, S = E(D), P = E(s), F = E(x), g = f.useCallback(() => {
78
- if (!a.current || !d.current)
79
- return;
80
- const o = {
81
- placement: t,
82
- strategy: n,
83
- middleware: M
84
- };
85
- P.current && (o.platform = P.current), I(a.current, d.current, o).then((h) => {
86
- const m = {
87
- ...h,
88
- // The floating element's position may be recomputed while it's closed
89
- // but still mounted (such as when transitioning out). To ensure
90
- // `isPositioned` will be `false` initially on the next open, avoid
91
- // setting it to `true` when `open === false` (must be specified).
92
- isPositioned: F.current !== !1
93
- };
94
- $.current && !R(y.current, m) && (y.current = m, b.flushSync(() => {
95
- O(m);
96
- }));
97
- });
98
- }, [M, t, n, P, F]);
99
- w(() => {
100
- x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
101
- ...o,
102
- isPositioned: !1
103
- })));
104
- }, [x]);
105
- const $ = f.useRef(!1);
106
- w(() => ($.current = !0, () => {
107
- $.current = !1;
108
- }), []), w(() => {
109
- if (u && (a.current = u), l && (d.current = l), u && l) {
110
- if (S.current)
111
- return S.current(u, l, g);
112
- g();
113
- }
114
- }, [u, l, g, S, H]);
115
- const j = f.useMemo(() => ({
116
- reference: a,
117
- floating: d,
118
- setReference: _,
119
- setFloating: C
120
- }), [_, C]), c = f.useMemo(() => ({
121
- reference: u,
122
- floating: l
123
- }), [u, l]), z = f.useMemo(() => {
124
- const o = {
125
- position: n,
126
- left: 0,
127
- top: 0
128
- };
129
- if (!c.floating)
130
- return o;
131
- const h = A(c.floating, i.x), m = A(c.floating, i.y);
132
- return k ? {
133
- ...o,
134
- transform: "translate(" + h + "px, " + m + "px)",
135
- ...q(c.floating) >= 1.5 && {
136
- willChange: "transform"
137
- }
138
- } : {
139
- position: n,
140
- left: h,
141
- top: m
142
- };
143
- }, [n, k, c.floating, i.x, i.y]);
144
- return f.useMemo(() => ({
145
- ...i,
146
- update: g,
147
- refs: j,
148
- elements: c,
149
- floatingStyles: z
150
- }), [i, g, j, c, z]);
151
- }
152
- const ee = (e) => {
153
- function t(n) {
154
- return {}.hasOwnProperty.call(n, "current");
155
- }
156
- return {
157
- name: "arrow",
158
- options: e,
159
- fn(n) {
160
- const {
161
- element: r,
162
- padding: s
163
- } = typeof e == "function" ? e(n) : e;
164
- return r && t(r) ? r.current != null ? L({
165
- element: r.current,
166
- padding: s
167
- }).fn(n) : {} : r ? L({
168
- element: r,
169
- padding: s
170
- }).fn(n) : {};
171
- }
172
- };
173
- }, fe = (e, t) => ({
174
- ...J(e),
175
- options: [e, t]
176
- }), oe = (e, t) => ({
177
- ...K(e),
178
- options: [e, t]
179
- }), se = (e, t) => ({
180
- ...X(e),
181
- options: [e, t]
182
- }), ie = (e, t) => ({
183
- ...N(e),
184
- options: [e, t]
185
- }), ue = (e, t) => ({
186
- ...Q(e),
187
- options: [e, t]
188
- }), le = (e, t) => ({
189
- ...T(e),
190
- options: [e, t]
191
- }), ce = (e, t) => ({
192
- ...ee(e),
193
- options: [e, t]
194
- });
195
32
  export {
196
- ce as arrow,
197
- me as autoUpdate,
198
- I as computePosition,
199
- ie as flip,
200
- le as hide,
201
- se as limitShift,
202
- fe as offset,
203
- pe as platform,
204
- oe as shift,
205
- ue as size,
206
- re as useFloating
33
+ v as Primitive,
34
+ h as dispatchDiscreteCustomEvent
207
35
  };
208
36
  //# sourceMappingURL=index.es321.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es321.js","sources":["../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","useLayoutEffect","useEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":";;;;;AAMA,IAAIA,IAAQ,OAAO,WAAa,MAAcC,IAAkBC;AAIhE,SAASC,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AAET,MAAI,OAAOD,KAAM,OAAOC;AACtB,WAAO;AAET,MAAI,OAAOD,KAAM,cAAcA,EAAE,eAAeC,EAAE;AAChD,WAAO;AAET,MAAIC,GACAC,GACAC;AACJ,MAAIJ,KAAKC,KAAK,OAAOD,KAAM,UAAU;AACnC,QAAI,MAAM,QAAQA,CAAC,GAAG;AAEpB,UADAE,IAASF,EAAE,QACPE,MAAWD,EAAE,OAAQ,QAAO;AA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AIR,KAAWmD,EAAMnD,CAAO,IACtBA,EAAQ,WAAW,OACdsD,EAAQ;AAAA,QACb,SAAStD,EAAQ;AAAA,QACjB,SAAAqD;AAAA,MACZ,CAAW,EAAE,GAAGD,CAAK,IAEN,CAAE,IAEPpD,IACKsD,EAAQ;AAAA,QACb,SAAAtD;AAAA,QACA,SAAAqD;AAAA,MACV,CAAS,EAAE,GAAGD,CAAK,IAEN,CAAE;AAAA,IACf;AAAA,EACG;AACH,GASMG,KAAS,CAAC/C,GAASgD,OAAU;AAAA,EACjC,GAAGC,EAASjD,CAAO;AAAA,EACnB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAOME,KAAQ,CAAClD,GAASgD,OAAU;AAAA,EAChC,GAAGG,EAAQnD,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAKMI,KAAa,CAACpD,GAASgD,OAAU;AAAA,EACrC,GAAGK,EAAarD,CAAO;AAAA,EACvB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAQMM,KAAO,CAACtD,GAASgD,OAAU;AAAA,EAC/B,GAAGO,EAAOvD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAQMQ,KAAO,CAACxD,GAASgD,OAAU;AAAA,EAC/B,GAAGS,EAAOzD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkBMU,KAAO,CAAC1D,GAASgD,OAAU;AAAA,EAC/B,GAAGW,EAAO3D,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkBMY,KAAQ,CAAC5D,GAASgD,OAAU;AAAA,EAChC,GAAGN,GAAQ1C,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es321.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } 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 \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((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","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","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;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUG,IAAOR;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZS,gBAAAA,EAAAA,IAAIF,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaD,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGC,EAAM;AACvC,GAAG,CAAE,CAAA;AACL,SAASS,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0]}
@@ -1,25 +1,45 @@
1
- import * as n from "react";
2
- import { Primitive as p } from "./index.es291.js";
3
- import { j as o } from "./index.es161.js";
4
- var v = "Arrow", e = n.forwardRef((r, i) => {
5
- const { children: t, width: s = 10, height: a = 5, ...m } = r;
6
- return /* @__PURE__ */ o.jsx(
7
- p.svg,
8
- {
9
- ...m,
10
- ref: i,
11
- width: s,
12
- height: a,
13
- viewBox: "0 0 30 10",
14
- preserveAspectRatio: "none",
15
- children: r.asChild ? t : /* @__PURE__ */ o.jsx("polygon", { points: "0,0 30,0 15,10" })
16
- }
17
- );
1
+ import * as l from "react";
2
+ import { composeRefs as u } from "./index.es292.js";
3
+ import { j as c } from "./index.es161.js";
4
+ var d = l.forwardRef((r, n) => {
5
+ const { children: e, ...t } = r, o = l.Children.toArray(e), i = o.find(g);
6
+ if (i) {
7
+ const s = i.props.children, a = o.map((p) => p === i ? l.Children.count(s) > 1 ? l.Children.only(null) : l.isValidElement(s) ? s.props.children : null : p);
8
+ return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: l.isValidElement(s) ? l.cloneElement(s, void 0, a) : null });
9
+ }
10
+ return /* @__PURE__ */ c.jsx(f, { ...t, ref: n, children: e });
18
11
  });
19
- e.displayName = v;
20
- var h = e;
12
+ d.displayName = "Slot";
13
+ var f = l.forwardRef((r, n) => {
14
+ const { children: e, ...t } = r;
15
+ if (l.isValidElement(e)) {
16
+ const o = h(e), i = y(t, e.props);
17
+ return e.type !== l.Fragment && (i.ref = n ? u(n, o) : o), l.cloneElement(e, i);
18
+ }
19
+ return l.Children.count(e) > 1 ? l.Children.only(null) : null;
20
+ });
21
+ f.displayName = "SlotClone";
22
+ var m = ({ children: r }) => /* @__PURE__ */ c.jsx(c.Fragment, { children: r });
23
+ function g(r) {
24
+ return l.isValidElement(r) && r.type === m;
25
+ }
26
+ function y(r, n) {
27
+ const e = { ...n };
28
+ for (const t in n) {
29
+ const o = r[t], i = n[t];
30
+ /^on[A-Z]/.test(t) ? o && i ? e[t] = (...a) => {
31
+ i(...a), o(...a);
32
+ } : o && (e[t] = o) : t === "style" ? e[t] = { ...o, ...i } : t === "className" && (e[t] = [o, i].filter(Boolean).join(" "));
33
+ }
34
+ return { ...r, ...e };
35
+ }
36
+ function h(r) {
37
+ var t, o;
38
+ let n = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, e = n && "isReactWarning" in n && n.isReactWarning;
39
+ return e ? r.ref : (n = (o = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : o.get, e = n && "isReactWarning" in n && n.isReactWarning, e ? r.props.ref : r.props.ref || r.ref);
40
+ }
21
41
  export {
22
- e as Arrow,
23
- h as Root
42
+ d as Slot,
43
+ m as Slottable
24
44
  };
25
45
  //# sourceMappingURL=index.es322.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es322.js","sources":["../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// packages/react/arrow/src/Arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":";;;AAIA,IAAIA,IAAO,SACPC,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACpD,QAAM,EAAE,UAAAC,GAAU,OAAAC,IAAQ,IAAI,QAAAC,IAAS,GAAG,GAAGC,EAAU,IAAKL;AAC5D,SAAuBM,gBAAAA,EAAG;AAAA,IACxBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGF;AAAA,MACH,KAAKJ;AAAA,MACL,OAAAE;AAAA,MACA,QAAAC;AAAA,MACA,SAAS;AAAA,MACT,qBAAqB;AAAA,MACrB,UAAUJ,EAAM,UAAUE,IAA2BI,gBAAAA,EAAG,IAAC,WAAW,EAAE,QAAQ,iBAAkB,CAAA;AAAA,IACtG;AAAA,EACG;AACH,CAAC;AACDR,EAAM,cAAcD;AACjB,IAACW,IAAOV;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es322.js","sources":["../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;AAIG,IAACA,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,MAAID,GAAW;AACb,UAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,WAAuBC,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,EACtL;AACE,SAAuBE,gBAAAA,EAAAA,IAAIC,GAAW,EAAE,GAAGR,GAAW,KAAKF,GAAc,UAAAC,GAAU;AACrF,CAAC;AACDJ,EAAK,cAAc;AACnB,IAAIa,IAAYZ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACxD,QAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,MAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,UAAMU,IAAcC,EAAcX,CAAQ,GACpCY,IAASC,EAAWZ,GAAWD,EAAS,KAAK;AACnD,WAAIA,EAAS,SAASH,EAAM,aAC1Be,EAAO,MAAMb,IAAee,EAAYf,GAAcW,CAAW,IAAIA,IAEhEb,EAAM,a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DE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -0,0 +1,15 @@
1
+ import * as r from "react";
2
+ import { useCallbackRef as s } from "./index.es302.js";
3
+ function p(n, e = globalThis == null ? void 0 : 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
+ }
12
+ export {
13
+ p as useEscapeKeydown
14
+ };
15
+ //# sourceMappingURL=index.es329.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es329.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/useEscapeKeydown.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,yCAAY,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,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
@@ -1,28 +1,208 @@
1
- var p = function() {
2
- return p = Object.assign || function(e) {
3
- for (var n, r = 1, o = arguments.length; r < o; r++) {
4
- n = arguments[r];
5
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
1
+ import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, arrow as L, limitShift as X } from "./index.es332.js";
2
+ import { autoUpdate as me, platform as pe } from "./index.es332.js";
3
+ import * as f from "react";
4
+ import { useLayoutEffect as Y, useEffect as Z } from "react";
5
+ import * as b from "react-dom";
6
+ var w = typeof document < "u" ? Y : Z;
7
+ function R(e, t) {
8
+ if (e === t)
9
+ return !0;
10
+ if (typeof e != typeof t)
11
+ return !1;
12
+ if (typeof e == "function" && e.toString() === t.toString())
13
+ return !0;
14
+ let n, r, s;
15
+ if (e && t && typeof e == "object") {
16
+ if (Array.isArray(e)) {
17
+ if (n = e.length, n !== t.length) return !1;
18
+ for (r = n; r-- !== 0; )
19
+ if (!R(e[r], t[r]))
20
+ return !1;
21
+ return !0;
6
22
  }
7
- return e;
8
- }, p.apply(this, arguments);
9
- };
10
- function c(t, e) {
11
- var n = {};
12
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
- e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
- return n;
23
+ if (s = Object.keys(e), n = s.length, n !== Object.keys(t).length)
24
+ return !1;
25
+ for (r = n; r-- !== 0; )
26
+ if (!{}.hasOwnProperty.call(t, s[r]))
27
+ return !1;
28
+ for (r = n; r-- !== 0; ) {
29
+ const p = s[r];
30
+ if (!(p === "_owner" && e.$$typeof) && !R(e[p], t[p]))
31
+ return !1;
32
+ }
33
+ return !0;
34
+ }
35
+ return e !== e && t !== t;
36
+ }
37
+ function q(e) {
38
+ return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
39
+ }
40
+ function A(e, t) {
41
+ const n = q(e);
42
+ return Math.round(t * n) / n;
17
43
  }
18
- function l(t, e, n) {
19
- if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
- (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
- return t.concat(a || Array.prototype.slice.call(e));
44
+ function E(e) {
45
+ const t = f.useRef(e);
46
+ return w(() => {
47
+ t.current = e;
48
+ }), t;
22
49
  }
50
+ function re(e) {
51
+ e === void 0 && (e = {});
52
+ const {
53
+ placement: t = "bottom",
54
+ strategy: n = "absolute",
55
+ middleware: r = [],
56
+ platform: s,
57
+ elements: {
58
+ reference: p,
59
+ floating: v
60
+ } = {},
61
+ transform: k = !0,
62
+ whileElementsMounted: D,
63
+ open: x
64
+ } = e, [i, O] = f.useState({
65
+ x: 0,
66
+ y: 0,
67
+ strategy: n,
68
+ placement: t,
69
+ middlewareData: {},
70
+ isPositioned: !1
71
+ }), [M, B] = f.useState(r);
72
+ R(M, r) || B(r);
73
+ const [U, V] = f.useState(null), [W, G] = f.useState(null), _ = f.useCallback((o) => {
74
+ o !== a.current && (a.current = o, V(o));
75
+ }, []), C = f.useCallback((o) => {
76
+ o !== d.current && (d.current = o, G(o));
77
+ }, []), u = p || U, l = v || W, a = f.useRef(null), d = f.useRef(null), y = f.useRef(i), H = D != null, S = E(D), P = E(s), F = E(x), g = f.useCallback(() => {
78
+ if (!a.current || !d.current)
79
+ return;
80
+ const o = {
81
+ placement: t,
82
+ strategy: n,
83
+ middleware: M
84
+ };
85
+ P.current && (o.platform = P.current), I(a.current, d.current, o).then((h) => {
86
+ const m = {
87
+ ...h,
88
+ // The floating element's position may be recomputed while it's closed
89
+ // but still mounted (such as when transitioning out). To ensure
90
+ // `isPositioned` will be `false` initially on the next open, avoid
91
+ // setting it to `true` when `open === false` (must be specified).
92
+ isPositioned: F.current !== !1
93
+ };
94
+ $.current && !R(y.current, m) && (y.current = m, b.flushSync(() => {
95
+ O(m);
96
+ }));
97
+ });
98
+ }, [M, t, n, P, F]);
99
+ w(() => {
100
+ x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
101
+ ...o,
102
+ isPositioned: !1
103
+ })));
104
+ }, [x]);
105
+ const $ = f.useRef(!1);
106
+ w(() => ($.current = !0, () => {
107
+ $.current = !1;
108
+ }), []), w(() => {
109
+ if (u && (a.current = u), l && (d.current = l), u && l) {
110
+ if (S.current)
111
+ return S.current(u, l, g);
112
+ g();
113
+ }
114
+ }, [u, l, g, S, H]);
115
+ const j = f.useMemo(() => ({
116
+ reference: a,
117
+ floating: d,
118
+ setReference: _,
119
+ setFloating: C
120
+ }), [_, C]), c = f.useMemo(() => ({
121
+ reference: u,
122
+ floating: l
123
+ }), [u, l]), z = f.useMemo(() => {
124
+ const o = {
125
+ position: n,
126
+ left: 0,
127
+ top: 0
128
+ };
129
+ if (!c.floating)
130
+ return o;
131
+ const h = A(c.floating, i.x), m = A(c.floating, i.y);
132
+ return k ? {
133
+ ...o,
134
+ transform: "translate(" + h + "px, " + m + "px)",
135
+ ...q(c.floating) >= 1.5 && {
136
+ willChange: "transform"
137
+ }
138
+ } : {
139
+ position: n,
140
+ left: h,
141
+ top: m
142
+ };
143
+ }, [n, k, c.floating, i.x, i.y]);
144
+ return f.useMemo(() => ({
145
+ ...i,
146
+ update: g,
147
+ refs: j,
148
+ elements: c,
149
+ floatingStyles: z
150
+ }), [i, g, j, c, z]);
151
+ }
152
+ const ee = (e) => {
153
+ function t(n) {
154
+ return {}.hasOwnProperty.call(n, "current");
155
+ }
156
+ return {
157
+ name: "arrow",
158
+ options: e,
159
+ fn(n) {
160
+ const {
161
+ element: r,
162
+ padding: s
163
+ } = typeof e == "function" ? e(n) : e;
164
+ return r && t(r) ? r.current != null ? L({
165
+ element: r.current,
166
+ padding: s
167
+ }).fn(n) : {} : r ? L({
168
+ element: r,
169
+ padding: s
170
+ }).fn(n) : {};
171
+ }
172
+ };
173
+ }, fe = (e, t) => ({
174
+ ...J(e),
175
+ options: [e, t]
176
+ }), oe = (e, t) => ({
177
+ ...K(e),
178
+ options: [e, t]
179
+ }), se = (e, t) => ({
180
+ ...X(e),
181
+ options: [e, t]
182
+ }), ie = (e, t) => ({
183
+ ...N(e),
184
+ options: [e, t]
185
+ }), ue = (e, t) => ({
186
+ ...Q(e),
187
+ options: [e, t]
188
+ }), le = (e, t) => ({
189
+ ...T(e),
190
+ options: [e, t]
191
+ }), ce = (e, t) => ({
192
+ ...ee(e),
193
+ options: [e, t]
194
+ });
23
195
  export {
24
- p as __assign,
25
- c as __rest,
26
- l as __spreadArray
196
+ ce as arrow,
197
+ me as autoUpdate,
198
+ I as computePosition,
199
+ ie as flip,
200
+ le as hide,
201
+ se as limitShift,
202
+ fe as offset,
203
+ pe as platform,
204
+ oe as shift,
205
+ ue as size,
206
+ re as useFloating
27
207
  };
28
208
  //# sourceMappingURL=index.es330.js.map