@rpcbase/ui 0.213.0 → 0.214.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.
Files changed (361) hide show
  1. package/dist/index108.js +36 -36
  2. package/dist/index120.js +6 -6
  3. package/dist/index123.js +10 -10
  4. package/dist/index125.js +2 -2
  5. package/dist/index126.js +3 -3
  6. package/dist/index127.js +1 -1
  7. package/dist/index129.js +2 -2
  8. package/dist/index131.js +1 -1
  9. package/dist/index152.js +46 -5
  10. package/dist/index152.js.map +1 -1
  11. package/dist/index153.js +40 -62
  12. package/dist/index153.js.map +1 -1
  13. package/dist/index154.js +230 -2
  14. package/dist/index154.js.map +1 -1
  15. package/dist/index155.js +22 -364
  16. package/dist/index155.js.map +1 -1
  17. package/dist/index156.js +23 -260
  18. package/dist/index156.js.map +1 -1
  19. package/dist/index157.js +391 -51
  20. package/dist/index157.js.map +1 -1
  21. package/dist/index158.js +5 -46
  22. package/dist/index158.js.map +1 -1
  23. package/dist/index159.js +56 -157
  24. package/dist/index159.js.map +1 -1
  25. package/dist/index16.js +1 -1
  26. package/dist/index160.js +2 -110
  27. package/dist/index160.js.map +1 -1
  28. package/dist/index161.js +363 -24
  29. package/dist/index161.js.map +1 -1
  30. package/dist/index162.js +262 -8
  31. package/dist/index162.js.map +1 -1
  32. package/dist/index163.js +60 -4
  33. package/dist/index163.js.map +1 -1
  34. package/dist/index164.js +46 -5
  35. package/dist/index164.js.map +1 -1
  36. package/dist/index165.js +169 -4
  37. package/dist/index165.js.map +1 -1
  38. package/dist/index166.js +102 -459
  39. package/dist/index166.js.map +1 -1
  40. package/dist/index167.js +24 -185
  41. package/dist/index167.js.map +1 -1
  42. package/dist/index168.js +8 -108
  43. package/dist/index168.js.map +1 -1
  44. package/dist/index169.js +4 -262
  45. package/dist/index169.js.map +1 -1
  46. package/dist/index170.js +5 -9
  47. package/dist/index170.js.map +1 -1
  48. package/dist/index171.js +4 -42
  49. package/dist/index171.js.map +1 -1
  50. package/dist/index172.js +466 -4
  51. package/dist/index172.js.map +1 -1
  52. package/dist/index173.js +177 -597
  53. package/dist/index173.js.map +1 -1
  54. package/dist/index174.js +103 -42
  55. package/dist/index174.js.map +1 -1
  56. package/dist/index175.js +253 -220
  57. package/dist/index175.js.map +1 -1
  58. package/dist/index176.js +10 -22
  59. package/dist/index176.js.map +1 -1
  60. package/dist/index177.js +42 -24
  61. package/dist/index177.js.map +1 -1
  62. package/dist/index178.js +4 -400
  63. package/dist/index178.js.map +1 -1
  64. package/dist/index179.js +67 -58
  65. package/dist/index179.js.map +1 -1
  66. package/dist/index180.js +180 -8
  67. package/dist/index180.js.map +1 -1
  68. package/dist/index181.js +42 -62
  69. package/dist/index181.js.map +1 -1
  70. package/dist/index182.js +57 -18
  71. package/dist/index182.js.map +1 -1
  72. package/dist/index183.js +8 -16
  73. package/dist/index183.js.map +1 -1
  74. package/dist/index184.js +65 -4
  75. package/dist/index184.js.map +1 -1
  76. package/dist/index185.js +18 -4
  77. package/dist/index185.js.map +1 -1
  78. package/dist/index186.js +16 -6
  79. package/dist/index186.js.map +1 -1
  80. package/dist/index187.js +5 -4
  81. package/dist/index187.js.map +1 -1
  82. package/dist/index188.js +5 -6
  83. package/dist/index188.js.map +1 -1
  84. package/dist/index189.js +6 -16
  85. package/dist/index189.js.map +1 -1
  86. package/dist/index190.js +4 -4
  87. package/dist/index190.js.map +1 -1
  88. package/dist/index191.js +6 -4
  89. package/dist/index191.js.map +1 -1
  90. package/dist/index192.js +16 -12
  91. package/dist/index192.js.map +1 -1
  92. package/dist/index193.js +4 -9
  93. package/dist/index193.js.map +1 -1
  94. package/dist/index194.js +4 -13
  95. package/dist/index194.js.map +1 -1
  96. package/dist/index195.js +12 -13
  97. package/dist/index195.js.map +1 -1
  98. package/dist/index196.js +9 -4
  99. package/dist/index196.js.map +1 -1
  100. package/dist/index197.js +13 -5
  101. package/dist/index197.js.map +1 -1
  102. package/dist/index198.js +13 -6
  103. package/dist/index198.js.map +1 -1
  104. package/dist/index199.js +4 -5
  105. package/dist/index199.js.map +1 -1
  106. package/dist/index200.js +5 -54
  107. package/dist/index200.js.map +1 -1
  108. package/dist/index201.js +6 -8
  109. package/dist/index201.js.map +1 -1
  110. package/dist/index202.js +4 -3
  111. package/dist/index202.js.map +1 -1
  112. package/dist/index203.js +54 -4
  113. package/dist/index203.js.map +1 -1
  114. package/dist/index204.js +6 -6
  115. package/dist/index204.js.map +1 -1
  116. package/dist/index205.js +4 -4
  117. package/dist/index205.js.map +1 -1
  118. package/dist/index206.js +4 -4
  119. package/dist/index206.js.map +1 -1
  120. package/dist/index207.js +8 -3
  121. package/dist/index207.js.map +1 -1
  122. package/dist/index208.js +4 -10
  123. package/dist/index208.js.map +1 -1
  124. package/dist/index209.js +4 -9
  125. package/dist/index209.js.map +1 -1
  126. package/dist/index210.js +3 -9
  127. package/dist/index210.js.map +1 -1
  128. package/dist/index211.js +10 -10
  129. package/dist/index211.js.map +1 -1
  130. package/dist/index212.js +9 -10
  131. package/dist/index212.js.map +1 -1
  132. package/dist/index213.js +9 -9
  133. package/dist/index213.js.map +1 -1
  134. package/dist/index214.js +10 -6
  135. package/dist/index214.js.map +1 -1
  136. package/dist/index215.js +10 -5
  137. package/dist/index215.js.map +1 -1
  138. package/dist/index216.js +9 -4
  139. package/dist/index216.js.map +1 -1
  140. package/dist/index217.js +6 -5
  141. package/dist/index217.js.map +1 -1
  142. package/dist/index218.js +5 -6
  143. package/dist/index218.js.map +1 -1
  144. package/dist/index219.js +4 -5
  145. package/dist/index219.js.map +1 -1
  146. package/dist/index220.js +5 -16
  147. package/dist/index220.js.map +1 -1
  148. package/dist/index221.js +6 -7
  149. package/dist/index221.js.map +1 -1
  150. package/dist/index222.js +5 -10
  151. package/dist/index222.js.map +1 -1
  152. package/dist/index223.js +15 -9
  153. package/dist/index223.js.map +1 -1
  154. package/dist/index224.js +7 -21
  155. package/dist/index224.js.map +1 -1
  156. package/dist/index225.js +10 -10
  157. package/dist/index225.js.map +1 -1
  158. package/dist/index226.js +10 -9
  159. package/dist/index226.js.map +1 -1
  160. package/dist/index227.js +21 -9
  161. package/dist/index227.js.map +1 -1
  162. package/dist/index228.js +10 -4
  163. package/dist/index228.js.map +1 -1
  164. package/dist/index229.js +9 -5
  165. package/dist/index229.js.map +1 -1
  166. package/dist/index230.js +9 -16
  167. package/dist/index230.js.map +1 -1
  168. package/dist/index231.js +4 -9
  169. package/dist/index231.js.map +1 -1
  170. package/dist/index232.js +5 -18
  171. package/dist/index232.js.map +1 -1
  172. package/dist/index233.js +16 -15
  173. package/dist/index233.js.map +1 -1
  174. package/dist/index234.js +9 -12
  175. package/dist/index234.js.map +1 -1
  176. package/dist/index235.js +18 -29
  177. package/dist/index235.js.map +1 -1
  178. package/dist/index236.js +15 -12
  179. package/dist/index236.js.map +1 -1
  180. package/dist/index237.js +12 -25
  181. package/dist/index237.js.map +1 -1
  182. package/dist/index238.js +29 -5
  183. package/dist/index238.js.map +1 -1
  184. package/dist/index239.js +12 -13
  185. package/dist/index239.js.map +1 -1
  186. package/dist/index240.js +23 -152
  187. package/dist/index240.js.map +1 -1
  188. package/dist/index241.js +5 -30
  189. package/dist/index241.js.map +1 -1
  190. package/dist/index242.js +24 -9
  191. package/dist/index242.js.map +1 -1
  192. package/dist/index243.js +29 -49
  193. package/dist/index243.js.map +1 -1
  194. package/dist/index244.js +5 -12
  195. package/dist/index244.js.map +1 -1
  196. package/dist/index245.js +13 -44
  197. package/dist/index245.js.map +1 -1
  198. package/dist/index246.js +145 -86
  199. package/dist/index246.js.map +1 -1
  200. package/dist/index247.js +27 -83
  201. package/dist/index247.js.map +1 -1
  202. package/dist/index248.js +9 -105
  203. package/dist/index248.js.map +1 -1
  204. package/dist/index249.js +41 -45
  205. package/dist/index249.js.map +1 -1
  206. package/dist/index250.js +11 -11
  207. package/dist/index250.js.map +1 -1
  208. package/dist/index251.js +42 -35
  209. package/dist/index251.js.map +1 -1
  210. package/dist/index252.js +95 -8
  211. package/dist/index252.js.map +1 -1
  212. package/dist/index253.js +86 -3
  213. package/dist/index253.js.map +1 -1
  214. package/dist/index254.js +105 -9
  215. package/dist/index254.js.map +1 -1
  216. package/dist/index255.js +46 -110
  217. package/dist/index255.js.map +1 -1
  218. package/dist/index256.js +11 -17
  219. package/dist/index256.js.map +1 -1
  220. package/dist/index257.js +35 -13
  221. package/dist/index257.js.map +1 -1
  222. package/dist/index258.js +8 -36
  223. package/dist/index258.js.map +1 -1
  224. package/dist/index259.js +115 -19
  225. package/dist/index259.js.map +1 -1
  226. package/dist/index260.js +17 -8
  227. package/dist/index260.js.map +1 -1
  228. package/dist/index261.js +12 -16
  229. package/dist/index261.js.map +1 -1
  230. package/dist/index262.js +3 -28
  231. package/dist/index262.js.map +1 -1
  232. package/dist/index263.js +35 -15
  233. package/dist/index263.js.map +1 -1
  234. package/dist/index264.js +20 -67
  235. package/dist/index264.js.map +1 -1
  236. package/dist/index265.js +9 -180
  237. package/dist/index265.js.map +1 -1
  238. package/dist/index266.js +8 -46
  239. package/dist/index266.js.map +1 -1
  240. package/dist/index267.js +19 -24
  241. package/dist/index267.js.map +1 -1
  242. package/dist/index268.js +29 -29
  243. package/dist/index268.js.map +1 -1
  244. package/dist/index269.js +17 -5
  245. package/dist/index269.js.map +1 -1
  246. package/dist/index271.js +5 -5
  247. package/dist/index273.js +5 -21
  248. package/dist/index273.js.map +1 -1
  249. package/dist/index274.js +3 -5
  250. package/dist/index274.js.map +1 -1
  251. package/dist/index275.js +24 -3
  252. package/dist/index275.js.map +1 -1
  253. package/dist/index276.js +111 -22
  254. package/dist/index276.js.map +1 -1
  255. package/dist/index277.js +14 -111
  256. package/dist/index277.js.map +1 -1
  257. package/dist/index278.js +528 -14
  258. package/dist/index278.js.map +1 -1
  259. package/dist/index279.js +111 -515
  260. package/dist/index279.js.map +1 -1
  261. package/dist/index280.js +117 -109
  262. package/dist/index280.js.map +1 -1
  263. package/dist/index281.js +20 -133
  264. package/dist/index281.js.map +1 -1
  265. package/dist/index289.js +4 -4
  266. package/dist/index292.js +1 -1
  267. package/dist/index293.js +2 -2
  268. package/dist/index295.js +1 -1
  269. package/dist/index296.js +1 -1
  270. package/dist/index297.js +1 -1
  271. package/dist/index298.js +1 -1
  272. package/dist/index299.js +1 -1
  273. package/dist/index300.js +1 -1
  274. package/dist/index304.js +68 -5
  275. package/dist/index304.js.map +1 -1
  276. package/dist/index305.js +30 -55
  277. package/dist/index305.js.map +1 -1
  278. package/dist/index306.js +9 -68
  279. package/dist/index306.js.map +1 -1
  280. package/dist/index307.js +148 -26
  281. package/dist/index307.js.map +1 -1
  282. package/dist/index308.js +108 -9
  283. package/dist/index308.js.map +1 -1
  284. package/dist/index309.js +5 -153
  285. package/dist/index309.js.map +1 -1
  286. package/dist/index31.js +5 -5
  287. package/dist/index310.js +54 -106
  288. package/dist/index310.js.map +1 -1
  289. package/dist/index36.js +1 -1
  290. package/dist/index37.js +2 -2
  291. package/dist/index40.js +2 -2
  292. package/dist/index41.js +20 -20
  293. package/dist/index45.js +1 -1
  294. package/dist/index46.js +1 -1
  295. package/dist/index49.js +1 -1
  296. package/dist/index50.js +1 -1
  297. package/dist/index51.js +205 -7
  298. package/dist/index51.js.map +1 -1
  299. package/dist/index52.js +2 -34
  300. package/dist/index52.js.map +1 -1
  301. package/dist/index53.js +2 -27
  302. package/dist/index53.js.map +1 -1
  303. package/dist/index54.js +6 -7
  304. package/dist/index54.js.map +1 -1
  305. package/dist/index55.js +33 -11
  306. package/dist/index55.js.map +1 -1
  307. package/dist/index56.js +27 -2
  308. package/dist/index56.js.map +1 -1
  309. package/dist/index57.js +8 -2
  310. package/dist/index57.js.map +1 -1
  311. package/dist/index58.js +12 -205
  312. package/dist/index58.js.map +1 -1
  313. package/dist/index59.js +3 -5
  314. package/dist/index59.js.map +1 -1
  315. package/dist/index60.js +47 -7
  316. package/dist/index60.js.map +1 -1
  317. package/dist/index61.js +50 -5
  318. package/dist/index61.js.map +1 -1
  319. package/dist/index62.js +8 -2
  320. package/dist/index62.js.map +1 -1
  321. package/dist/index63.js +15 -2
  322. package/dist/index63.js.map +1 -1
  323. package/dist/index64.js +133 -3
  324. package/dist/index64.js.map +1 -1
  325. package/dist/index65.js +10 -47
  326. package/dist/index65.js.map +1 -1
  327. package/dist/index66.js +214 -48
  328. package/dist/index66.js.map +1 -1
  329. package/dist/index67.js +13 -8
  330. package/dist/index67.js.map +1 -1
  331. package/dist/index68.js +45 -13
  332. package/dist/index68.js.map +1 -1
  333. package/dist/index69.js +47 -131
  334. package/dist/index69.js.map +1 -1
  335. package/dist/index70.js +4 -11
  336. package/dist/index70.js.map +1 -1
  337. package/dist/index71.js +5 -216
  338. package/dist/index71.js.map +1 -1
  339. package/dist/index72.js +28 -13
  340. package/dist/index72.js.map +1 -1
  341. package/dist/index73.js +49 -46
  342. package/dist/index73.js.map +1 -1
  343. package/dist/index74.js +9 -50
  344. package/dist/index74.js.map +1 -1
  345. package/dist/index75.js +2 -4
  346. package/dist/index75.js.map +1 -1
  347. package/dist/index76.js +2 -6
  348. package/dist/index76.js.map +1 -1
  349. package/dist/index77.js +6 -28
  350. package/dist/index77.js.map +1 -1
  351. package/dist/index78.js +8 -50
  352. package/dist/index78.js.map +1 -1
  353. package/dist/index79.js +6 -9
  354. package/dist/index79.js.map +1 -1
  355. package/dist/index80.js +599 -40
  356. package/dist/index80.js.map +1 -1
  357. package/package.json +1 -1
  358. package/dist/helpers/isMobileDevice.test.d.ts +0 -2
  359. package/dist/helpers/isMobileDevice.test.d.ts.map +0 -1
  360. package/dist/helpers/useScrollPagination.test.d.ts +0 -2
  361. package/dist/helpers/useScrollPagination.test.d.ts.map +0 -1
package/dist/index108.js CHANGED
@@ -1,40 +1,40 @@
1
- import { TZDate as a } from "./index179.js";
2
- import "./index181.js";
3
- import { endOfBroadcastWeek as f } from "./index186.js";
4
- import { startOfBroadcastWeek as d } from "./index187.js";
1
+ import { TZDate as a } from "./index182.js";
2
+ import "./index184.js";
3
+ import { endOfBroadcastWeek as f } from "./index189.js";
4
+ import { startOfBroadcastWeek as d } from "./index190.js";
5
5
  import { enUS as m } from "./index131.js";
6
- import { addDays as v } from "./index188.js";
7
- import { addMonths as p } from "./index189.js";
8
- import { addWeeks as O } from "./index190.js";
9
- import { addYears as c } from "./index191.js";
10
- import { differenceInCalendarDays as u } from "./index192.js";
11
- import { differenceInCalendarMonths as l } from "./index193.js";
12
- import { eachMonthOfInterval as M } from "./index194.js";
13
- import { eachYearOfInterval as k } from "./index195.js";
14
- import { endOfISOWeek as W } from "./index196.js";
15
- import { endOfMonth as D } from "./index197.js";
16
- import { endOfWeek as Y } from "./index198.js";
17
- import { endOfYear as S } from "./index199.js";
18
- import { format as y } from "./index200.js";
19
- import { getISOWeek as g } from "./index201.js";
20
- import { getMonth as I } from "./index202.js";
21
- import { getYear as w } from "./index203.js";
22
- import { getWeek as B } from "./index204.js";
23
- import { isAfter as L } from "./index205.js";
24
- import { isBefore as C } from "./index206.js";
25
- import { isDate as z } from "./index207.js";
26
- import { isSameDay as Z } from "./index208.js";
27
- import { isSameMonth as b } from "./index209.js";
28
- import { isSameYear as A } from "./index210.js";
29
- import { max as F } from "./index211.js";
30
- import { min as N } from "./index212.js";
31
- import { setMonth as _ } from "./index213.js";
32
- import { setYear as j } from "./index214.js";
33
- import { startOfDay as x } from "./index215.js";
34
- import { startOfISOWeek as H } from "./index216.js";
35
- import { startOfMonth as K } from "./index217.js";
36
- import { startOfWeek as T } from "./index218.js";
37
- import { startOfYear as U } from "./index219.js";
6
+ import { addDays as v } from "./index191.js";
7
+ import { addMonths as p } from "./index192.js";
8
+ import { addWeeks as O } from "./index193.js";
9
+ import { addYears as c } from "./index194.js";
10
+ import { differenceInCalendarDays as u } from "./index195.js";
11
+ import { differenceInCalendarMonths as l } from "./index196.js";
12
+ import { eachMonthOfInterval as M } from "./index197.js";
13
+ import { eachYearOfInterval as k } from "./index198.js";
14
+ import { endOfISOWeek as W } from "./index199.js";
15
+ import { endOfMonth as D } from "./index200.js";
16
+ import { endOfWeek as Y } from "./index201.js";
17
+ import { endOfYear as S } from "./index202.js";
18
+ import { format as y } from "./index203.js";
19
+ import { getISOWeek as g } from "./index204.js";
20
+ import { getMonth as I } from "./index205.js";
21
+ import { getYear as w } from "./index206.js";
22
+ import { getWeek as B } from "./index207.js";
23
+ import { isAfter as L } from "./index208.js";
24
+ import { isBefore as C } from "./index209.js";
25
+ import { isDate as z } from "./index210.js";
26
+ import { isSameDay as Z } from "./index211.js";
27
+ import { isSameMonth as b } from "./index212.js";
28
+ import { isSameYear as A } from "./index213.js";
29
+ import { max as F } from "./index214.js";
30
+ import { min as N } from "./index215.js";
31
+ import { setMonth as _ } from "./index216.js";
32
+ import { setYear as j } from "./index217.js";
33
+ import { startOfDay as x } from "./index218.js";
34
+ import { startOfISOWeek as H } from "./index219.js";
35
+ import { startOfMonth as K } from "./index220.js";
36
+ import { startOfWeek as T } from "./index221.js";
37
+ import { startOfYear as U } from "./index222.js";
38
38
  class n {
39
39
  /**
40
40
  * Creates an instance of `DateLib`.
package/dist/index120.js CHANGED
@@ -1,9 +1,9 @@
1
- import { TZDate as c } from "./index179.js";
2
- import "./index181.js";
3
- import { differenceInCalendarMonths as h } from "./index193.js";
4
- import { differenceInCalendarDays as O } from "./index192.js";
5
- import { getISOWeek as k } from "./index201.js";
6
- import { getWeek as w } from "./index204.js";
1
+ import { TZDate as c } from "./index182.js";
2
+ import "./index184.js";
3
+ import { differenceInCalendarMonths as h } from "./index196.js";
4
+ import { differenceInCalendarDays as O } from "./index195.js";
5
+ import { getISOWeek as k } from "./index204.js";
6
+ import { getWeek as w } from "./index207.js";
7
7
  function W(o, D = {}) {
8
8
  const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
9
9
  const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
package/dist/index123.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { useEffect as D, useMemo as S } from "react";
2
- import { getDates as N } from "./index220.js";
3
- import { getDays as w } from "./index221.js";
4
- import { getDisplayMonths as E } from "./index222.js";
5
- import { getInitialMonth as c } from "./index223.js";
6
- import { getMonths as b } from "./index224.js";
7
- import { getNavMonths as q } from "./index225.js";
8
- import { getNextMonth as F } from "./index226.js";
9
- import { getPreviousMonth as P } from "./index227.js";
10
- import { getWeeks as V } from "./index228.js";
11
- import { useControlledValue as Z } from "./index229.js";
2
+ import { getDates as N } from "./index223.js";
3
+ import { getDays as w } from "./index224.js";
4
+ import { getDisplayMonths as E } from "./index225.js";
5
+ import { getInitialMonth as c } from "./index226.js";
6
+ import { getMonths as b } from "./index227.js";
7
+ import { getNavMonths as q } from "./index228.js";
8
+ import { getNextMonth as F } from "./index229.js";
9
+ import { getPreviousMonth as P } from "./index230.js";
10
+ import { getWeeks as V } from "./index231.js";
11
+ import { useControlledValue as Z } from "./index232.js";
12
12
  function _(e, n) {
13
13
  const [s, a] = q(e, n), { startOfMonth: i, endOfMonth: g } = n, h = c(e, s, a, n), [m, f] = Z(
14
14
  h,
package/dist/index125.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useState as a } from "react";
2
- import { calculateFocusTarget as T } from "./index230.js";
3
- import { getNextFocus as v } from "./index231.js";
2
+ import { calculateFocusTarget as T } from "./index233.js";
3
+ import { getNextFocus as v } from "./index234.js";
4
4
  function I(e, o, r, i, f) {
5
5
  const { autoFocus: F } = e, [d, m] = a(), c = T(o.days, r, i || (() => !1), d), [s, u] = a(F ? c : void 0);
6
6
  return {
package/dist/index126.js CHANGED
@@ -1,6 +1,6 @@
1
- import { useMulti as i } from "./index232.js";
2
- import { useRange as o } from "./index233.js";
3
- import { useSingle as s } from "./index234.js";
1
+ import { useMulti as i } from "./index235.js";
2
+ import { useRange as o } from "./index236.js";
3
+ import { useSingle as s } from "./index237.js";
4
4
  function f(e, n) {
5
5
  const t = s(e, n), r = i(e, n), u = o(e, n);
6
6
  switch (e.mode) {
package/dist/index127.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./index181.js";
1
+ import "./index184.js";
2
2
  import { toTimeZone as i } from "./index129.js";
3
3
  import { isDateRange as e, isDateInterval as p, isDateAfterType as y, isDateBeforeType as D } from "./index130.js";
4
4
  function n(o, f, u) {
package/dist/index129.js CHANGED
@@ -1,5 +1,5 @@
1
- import { TZDate as r } from "./index179.js";
2
- import "./index181.js";
1
+ import { TZDate as r } from "./index182.js";
2
+ import "./index184.js";
3
3
  function e(n, o) {
4
4
  return n instanceof r && n.timeZone === o ? n : new r(n, o);
5
5
  }
package/dist/index131.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { enUS as f } from "./index271.js";
2
- import { format as n } from "./index200.js";
2
+ import { format as n } from "./index203.js";
3
3
  const s = {
4
4
  ...f,
5
5
  labels: {
package/dist/index152.js CHANGED
@@ -1,9 +1,50 @@
1
- import e from "./index154.js";
2
- function o(a, r) {
3
- var t = Array.prototype.slice.call(r);
4
- return t.push(e), a.apply(this, t);
1
+ import * as l from "react";
2
+ import { composeRefs as m } from "./index56.js";
3
+ import { j as u } from "./index30.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function x(e) {
6
+ const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
7
+ const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
8
+ if (a) {
9
+ const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
10
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
11
+ }
12
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
13
+ });
14
+ return t.displayName = `${e}.Slot`, t;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function y(e) {
18
+ const r = l.forwardRef((t, o) => {
19
+ const { children: n, ...i } = t;
20
+ if (l.isValidElement(n)) {
21
+ const c = R(n), s = C(i, n.props);
22
+ return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
23
+ }
24
+ return l.Children.count(n) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return r.displayName = `${e}.SlotClone`, r;
27
+ }
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
+ function g(e) {
30
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
+ }
32
+ function C(e, r) {
33
+ const t = { ...r };
34
+ for (const o in r) {
35
+ const n = e[o], i = r[o];
36
+ /^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
37
+ const a = i(...s);
38
+ return n(...s), a;
39
+ } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
40
+ }
41
+ return { ...e, ...t };
42
+ }
43
+ function R(e) {
44
+ let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
45
+ return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
5
46
  }
6
47
  export {
7
- o as default
48
+ x as createSlot
8
49
  };
9
50
  //# sourceMappingURL=index152.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index152.js","sources":["../../../node_modules/libphonenumber-js/min/exports/withMetadataArgument.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\nexport default function withMetadataArgument(func, _arguments) {\r\n\tvar args = Array.prototype.slice.call(_arguments)\r\n\targs.push(metadata)\r\n\treturn func.apply(this, args)\r\n}"],"names":["withMetadataArgument","func","_arguments","args","metadata"],"mappings":";AAIe,SAASA,EAAqBC,GAAMC,GAAY;AAC9D,MAAIC,IAAO,MAAM,UAAU,MAAM,KAAKD,CAAU;AAChD,SAAAC,EAAK,KAAKC,CAAQ,GACXH,EAAK,MAAM,MAAME,CAAI;AAC7B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index152.js","sources":["../../../node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// 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\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = 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 });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const 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 });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\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 const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\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}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childPro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MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
package/dist/index153.js CHANGED
@@ -1,72 +1,50 @@
1
- import m from "./index248.js";
2
- import p from "./index249.js";
3
- import y from "./index247.js";
4
- import b from "./index166.js";
5
- import l from "./index239.js";
6
- function i(e) {
7
- "@babel/helpers - typeof";
8
- return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
9
- return typeof r;
10
- } : function(r) {
11
- return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
12
- }, i(e);
13
- }
14
- function c(e, r) {
15
- var t = Object.keys(e);
16
- if (Object.getOwnPropertySymbols) {
17
- var o = Object.getOwnPropertySymbols(e);
18
- r && (o = o.filter(function(n) {
19
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
20
- })), t.push.apply(t, o);
21
- }
22
- return t;
23
- }
24
- function f(e) {
25
- for (var r = 1; r < arguments.length; r++) {
26
- var t = arguments[r] != null ? arguments[r] : {};
27
- r % 2 ? c(Object(t), !0).forEach(function(o) {
28
- s(e, o, t[o]);
29
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : c(Object(t)).forEach(function(o) {
30
- Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
31
- });
32
- }
33
- return e;
1
+ import * as l from "react";
2
+ import { composeRefs as m } from "./index56.js";
3
+ import { j as u } from "./index30.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function x(e) {
6
+ const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
7
+ const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
8
+ if (a) {
9
+ const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
10
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
11
+ }
12
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
13
+ });
14
+ return t.displayName = `${e}.Slot`, t;
34
15
  }
35
- function s(e, r, t) {
36
- return (r = g(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
16
+ // @__NO_SIDE_EFFECTS__
17
+ function y(e) {
18
+ const r = l.forwardRef((t, o) => {
19
+ const { children: n, ...i } = t;
20
+ if (l.isValidElement(n)) {
21
+ const c = R(n), s = C(i, n.props);
22
+ return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
23
+ }
24
+ return l.Children.count(n) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return r.displayName = `${e}.SlotClone`, r;
37
27
  }
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
38
29
  function g(e) {
39
- var r = O(e, "string");
40
- return i(r) == "symbol" ? r : r + "";
30
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
41
31
  }
42
- function O(e, r) {
43
- if (i(e) != "object" || !e) return e;
44
- var t = e[Symbol.toPrimitive];
45
- if (t !== void 0) {
46
- var o = t.call(e, r);
47
- if (i(o) != "object") return o;
48
- throw new TypeError("@@toPrimitive must return a primitive value.");
32
+ function C(e, r) {
33
+ const t = { ...r };
34
+ for (const o in r) {
35
+ const n = e[o], i = r[o];
36
+ /^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
37
+ const a = i(...s);
38
+ return n(...s), a;
39
+ } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
49
40
  }
50
- return (r === "string" ? String : Number)(e);
41
+ return { ...e, ...t };
51
42
  }
52
- function h() {
53
- var e = m(arguments), r = e.text, t = e.options, o = e.metadata;
54
- t = f(f({}, t), {}, {
55
- extract: !1
56
- });
57
- try {
58
- var n = p(r, t, o);
59
- o = new b(o), o.selectNumberingPlan(n.countryCallingCode);
60
- var u = l(n.nationalNumber, n.country, o);
61
- if (u !== "IS_POSSIBLE")
62
- return u;
63
- } catch (a) {
64
- if (a instanceof y)
65
- return a.message;
66
- throw a;
67
- }
43
+ function R(e) {
44
+ let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
45
+ return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
68
46
  }
69
47
  export {
70
- h as default
48
+ x as createSlot
71
49
  };
72
50
  //# sourceMappingURL=index153.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index153.js","sources":["../../../node_modules/libphonenumber-js/es6/validatePhoneNumberLength.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport normalizeArguments from './normalizeArguments.js';\nimport parsePhoneNumberWithError from './parsePhoneNumberWithError_.js';\nimport ParseError from './ParseError.js';\nimport Metadata from './metadata.js';\nimport checkNumberLength from './helpers/checkNumberLength.js';\nexport default function validatePhoneNumberLength() {\n var _normalizeArguments = normalizeArguments(arguments),\n text = _normalizeArguments.text,\n options = _normalizeArguments.options,\n metadata = _normalizeArguments.metadata;\n options = _objectSpread(_objectSpread({}, options), {}, {\n extract: false\n });\n\n // Parse phone number.\n try {\n var phoneNumber = parsePhoneNumberWithError(text, options, metadata);\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(phoneNumber.countryCallingCode);\n var result = checkNumberLength(phoneNumber.nationalNumber, phoneNumber.country, metadata);\n if (result !== 'IS_POSSIBLE') {\n return result;\n }\n } catch (error) {\n /* istanbul ignore else */\n if (error instanceof ParseError) {\n return error.message;\n } else {\n throw error;\n }\n }\n}\n//# sourceMappingURL=validatePhoneNumberLength.js.map"],"names":["_typeof","o","ownKeys","r","_objectSpread","_defineProperty","_toPropertyKey","t","i","_toPrimitive","e","validatePhoneNumberLength","_normalizeArguments","normalizeArguments","text","options","metadata","phoneNumber","parsePhoneNumberWithError","Metadata","result","checkNumberLength","error","ParseError"],"mappings":";;;;;AAAA,SAASA,EAAQC,GAAG;AAAE;AAA2B,SAAOD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAAE,WAAO,OAAOA;AAAA,EAAG,IAAI,SAAUA,GAAG;AAAE,WAAOA,KAAmB,OAAO,UAArB,cAA+BA,EAAE,gBAA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IA,IAAI;AAAI;AAC5G,SAASC,EAAaF,GAAG,GAAG;AAAE,MAAgBP,EAAQO,CAAC,KAArB,YAA0B,CAACA,EAAG,QAAOA;AAAG,MAAIG,IAAIH,EAAE,OAAO,WAAW;AAAG,MAAeG,MAAX,QAAc;AAAE,QAAIF,IAAIE,EAAE,KAAKH,GAAG,CAAc;AAAG,QAAgBP,EAAQQ,CAAC,KAArB,SAAwB,QAAOA;AAAG,UAAM,IAAI,UAAU,8CAA8C;AAAA,EAAG;AAAE,UAAqB,MAAb,WAAiB,SAAS,QAAQD,CAAC;AAAG;AAM5S,SAASI,IAA4B;AAClD,MAAIC,IAAsBC,EAAmB,SAAS,GACpDC,IAAOF,EAAoB,MAC3BG,IAAUH,EAAoB,SAC9BI,IAAWJ,EAAoB;AACjC,EAAAG,IAAUX,EAAcA,EAAc,CAAA,GAAIW,CAAO,GAAG,CAAA,GAAI;AAAA,IACtD,SAAS;AAAA,EACb,CAAG;AAGD,MAAI;AACF,QAAIE,IAAcC,EAA0BJ,GAAMC,GAASC,CAAQ;AACnE,IAAAA,IAAW,IAAIG,EAASH,CAAQ,GAChCA,EAAS,oBAAoBC,EAAY,kBAAkB;AAC3D,QAAIG,IAASC,EAAkBJ,EAAY,gBAAgBA,EAAY,SAASD,CAAQ;AACxF,QAAII,MAAW;AACb,aAAOA;AAAA,EAEX,SAASE,GAAO;AAEd,QAAIA,aAAiBC;AACnB,aAAOD,EAAM;AAEb,UAAMA;AAAA,EAEV;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index153.js","sources":["../../../node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// 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\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = 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 });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const 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 });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\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 const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\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}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IA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