@rpcbase/ui 0.248.0 → 0.250.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 (445) hide show
  1. package/dist/index105.js +36 -36
  2. package/dist/index117.js +6 -6
  3. package/dist/index120.js +10 -10
  4. package/dist/index122.js +2 -2
  5. package/dist/index123.js +3 -3
  6. package/dist/index124.js +1 -1
  7. package/dist/index126.js +2 -2
  8. package/dist/index128.js +2 -2
  9. package/dist/index167.js +3 -3
  10. package/dist/index172.js +9 -9
  11. package/dist/index175.js +1 -1
  12. package/dist/index176.js +4 -4
  13. package/dist/index178.js +1 -1
  14. package/dist/index182.js +2 -2
  15. package/dist/index184.js +5 -5
  16. package/dist/index185.js +13 -13
  17. package/dist/index186.js +1 -1
  18. package/dist/index188.js +6 -6
  19. package/dist/index189.js +1 -1
  20. package/dist/index192.js +2 -2
  21. package/dist/index193.js +6 -6
  22. package/dist/index194.js +20 -59
  23. package/dist/index194.js.map +1 -1
  24. package/dist/index195.js +66 -8
  25. package/dist/index195.js.map +1 -1
  26. package/dist/index196.js +6 -87
  27. package/dist/index196.js.map +1 -1
  28. package/dist/index197.js +5 -19
  29. package/dist/index197.js.map +1 -1
  30. package/dist/index198.js +11 -16
  31. package/dist/index198.js.map +1 -1
  32. package/dist/index199.js +3 -5
  33. package/dist/index199.js.map +1 -1
  34. package/dist/index200.js +49 -4
  35. package/dist/index200.js.map +1 -1
  36. package/dist/index201.js +4 -7
  37. package/dist/index201.js.map +1 -1
  38. package/dist/index202.js +29 -4
  39. package/dist/index202.js.map +1 -1
  40. package/dist/index203.js +16 -6
  41. package/dist/index203.js.map +1 -1
  42. package/dist/index204.js +5 -16
  43. package/dist/index204.js.map +1 -1
  44. package/dist/index205.js +21 -4
  45. package/dist/index205.js.map +1 -1
  46. package/dist/index206.js +53 -4
  47. package/dist/index206.js.map +1 -1
  48. package/dist/index207.js +20 -12
  49. package/dist/index207.js.map +1 -1
  50. package/dist/index208.js +41 -9
  51. package/dist/index208.js.map +1 -1
  52. package/dist/index209.js +39 -13
  53. package/dist/index209.js.map +1 -1
  54. package/dist/index210.js +46 -14
  55. package/dist/index210.js.map +1 -1
  56. package/dist/index211.js +20 -4
  57. package/dist/index211.js.map +1 -1
  58. package/dist/index212.js +70 -5
  59. package/dist/index212.js.map +1 -1
  60. package/dist/index213.js +17 -6
  61. package/dist/index213.js.map +1 -1
  62. package/dist/index214.js +3 -5
  63. package/dist/index214.js.map +1 -1
  64. package/dist/index215.js +11 -54
  65. package/dist/index215.js.map +1 -1
  66. package/dist/index216.js +13 -8
  67. package/dist/index216.js.map +1 -1
  68. package/dist/index217.js +18 -4
  69. package/dist/index217.js.map +1 -1
  70. package/dist/index218.js +36 -4
  71. package/dist/index218.js.map +1 -1
  72. package/dist/index219.js +239 -8
  73. package/dist/index219.js.map +1 -1
  74. package/dist/index220.js +252 -4
  75. package/dist/index220.js.map +1 -1
  76. package/dist/index221.js +68 -4
  77. package/dist/index221.js.map +1 -1
  78. package/dist/index222.js +99 -3
  79. package/dist/index222.js.map +1 -1
  80. package/dist/index223.js +83 -10
  81. package/dist/index223.js.map +1 -1
  82. package/dist/index224.js +3 -9
  83. package/dist/index224.js.map +1 -1
  84. package/dist/index225.js +29 -9
  85. package/dist/index225.js.map +1 -1
  86. package/dist/index226.js +16 -10
  87. package/dist/index226.js.map +1 -1
  88. package/dist/index227.js +35 -11
  89. package/dist/index227.js.map +1 -1
  90. package/dist/index228.js +17 -9
  91. package/dist/index228.js.map +1 -1
  92. package/dist/index229.js +3 -6
  93. package/dist/index229.js.map +1 -1
  94. package/dist/index230.js +26 -5
  95. package/dist/index230.js.map +1 -1
  96. package/dist/index231.js +28 -4
  97. package/dist/index231.js.map +1 -1
  98. package/dist/index232.js +4 -6
  99. package/dist/index232.js.map +1 -1
  100. package/dist/index233.js +78 -6
  101. package/dist/index233.js.map +1 -1
  102. package/dist/index234.js +272 -5
  103. package/dist/index234.js.map +1 -1
  104. package/dist/index235.js +10 -15
  105. package/dist/index235.js.map +1 -1
  106. package/dist/index236.js +10 -7
  107. package/dist/index236.js.map +1 -1
  108. package/dist/index237.js +25 -10
  109. package/dist/index237.js.map +1 -1
  110. package/dist/index238.js +16 -10
  111. package/dist/index238.js.map +1 -1
  112. package/dist/index239.js +125 -21
  113. package/dist/index239.js.map +1 -1
  114. package/dist/index240.js +5 -8
  115. package/dist/index240.js.map +1 -1
  116. package/dist/index241.js +65 -9
  117. package/dist/index241.js.map +1 -1
  118. package/dist/index242.js +14 -10
  119. package/dist/index242.js.map +1 -1
  120. package/dist/index243.js +7 -4
  121. package/dist/index243.js.map +1 -1
  122. package/dist/index244.js +5 -5
  123. package/dist/index244.js.map +1 -1
  124. package/dist/index245.js +3 -16
  125. package/dist/index245.js.map +1 -1
  126. package/dist/index246.js +10 -9
  127. package/dist/index246.js.map +1 -1
  128. package/dist/index247.js +7 -18
  129. package/dist/index247.js.map +1 -1
  130. package/dist/index248.js +132 -19
  131. package/dist/index248.js.map +1 -1
  132. package/dist/index249.js +397 -10
  133. package/dist/index249.js.map +1 -1
  134. package/dist/index250.js +5 -30
  135. package/dist/index250.js.map +1 -1
  136. package/dist/index251.js +52 -12
  137. package/dist/index251.js.map +1 -1
  138. package/dist/index252.js +11 -25
  139. package/dist/index252.js.map +1 -1
  140. package/dist/index253.js +27 -5
  141. package/dist/index253.js.map +1 -1
  142. package/dist/index254.js +12 -20
  143. package/dist/index254.js.map +1 -1
  144. package/dist/index255.js +57 -65
  145. package/dist/index255.js.map +1 -1
  146. package/dist/index256.js +8 -6
  147. package/dist/index256.js.map +1 -1
  148. package/dist/index257.js +87 -5
  149. package/dist/index257.js.map +1 -1
  150. package/dist/index258.js +19 -11
  151. package/dist/index258.js.map +1 -1
  152. package/dist/index259.js +16 -3
  153. package/dist/index259.js.map +1 -1
  154. package/dist/index260.js +4 -49
  155. package/dist/index260.js.map +1 -1
  156. package/dist/index261.js +6 -4
  157. package/dist/index261.js.map +1 -1
  158. package/dist/index262.js +6 -29
  159. package/dist/index262.js.map +1 -1
  160. package/dist/index263.js +4 -16
  161. package/dist/index263.js.map +1 -1
  162. package/dist/index264.js +6 -5
  163. package/dist/index264.js.map +1 -1
  164. package/dist/index265.js +16 -21
  165. package/dist/index265.js.map +1 -1
  166. package/dist/index266.js +4 -53
  167. package/dist/index266.js.map +1 -1
  168. package/dist/index267.js +4 -20
  169. package/dist/index267.js.map +1 -1
  170. package/dist/index268.js +12 -41
  171. package/dist/index268.js.map +1 -1
  172. package/dist/index269.js +9 -39
  173. package/dist/index269.js.map +1 -1
  174. package/dist/index270.js +14 -46
  175. package/dist/index270.js.map +1 -1
  176. package/dist/index271.js +13 -20
  177. package/dist/index271.js.map +1 -1
  178. package/dist/index272.js +4 -70
  179. package/dist/index272.js.map +1 -1
  180. package/dist/index273.js +5 -17
  181. package/dist/index273.js.map +1 -1
  182. package/dist/index274.js +6 -3
  183. package/dist/index274.js.map +1 -1
  184. package/dist/index275.js +5 -11
  185. package/dist/index275.js.map +1 -1
  186. package/dist/index276.js +53 -12
  187. package/dist/index276.js.map +1 -1
  188. package/dist/index277.js +8 -18
  189. package/dist/index277.js.map +1 -1
  190. package/dist/index278.js +4 -36
  191. package/dist/index278.js.map +1 -1
  192. package/dist/index279.js +4 -239
  193. package/dist/index279.js.map +1 -1
  194. package/dist/index280.js +8 -252
  195. package/dist/index280.js.map +1 -1
  196. package/dist/index281.js +4 -68
  197. package/dist/index281.js.map +1 -1
  198. package/dist/index282.js +4 -99
  199. package/dist/index282.js.map +1 -1
  200. package/dist/index283.js +3 -83
  201. package/dist/index283.js.map +1 -1
  202. package/dist/index284.js +10 -3
  203. package/dist/index284.js.map +1 -1
  204. package/dist/index285.js +9 -29
  205. package/dist/index285.js.map +1 -1
  206. package/dist/index286.js +9 -16
  207. package/dist/index286.js.map +1 -1
  208. package/dist/index287.js +11 -35
  209. package/dist/index287.js.map +1 -1
  210. package/dist/index288.js +10 -17
  211. package/dist/index288.js.map +1 -1
  212. package/dist/index289.js +9 -3
  213. package/dist/index289.js.map +1 -1
  214. package/dist/index290.js +6 -26
  215. package/dist/index290.js.map +1 -1
  216. package/dist/index291.js +5 -28
  217. package/dist/index291.js.map +1 -1
  218. package/dist/index292.js +5 -4
  219. package/dist/index292.js.map +1 -1
  220. package/dist/index293.js +5 -78
  221. package/dist/index293.js.map +1 -1
  222. package/dist/index294.js +6 -272
  223. package/dist/index294.js.map +1 -1
  224. package/dist/index295.js +5 -11
  225. package/dist/index295.js.map +1 -1
  226. package/dist/index296.js +16 -10
  227. package/dist/index296.js.map +1 -1
  228. package/dist/index297.js +7 -25
  229. package/dist/index297.js.map +1 -1
  230. package/dist/index298.js +10 -16
  231. package/dist/index298.js.map +1 -1
  232. package/dist/index299.js +9 -124
  233. package/dist/index299.js.map +1 -1
  234. package/dist/index300.js +21 -5
  235. package/dist/index300.js.map +1 -1
  236. package/dist/index301.js +8 -65
  237. package/dist/index301.js.map +1 -1
  238. package/dist/index302.js +10 -14
  239. package/dist/index302.js.map +1 -1
  240. package/dist/index303.js +9 -7
  241. package/dist/index303.js.map +1 -1
  242. package/dist/index304.js +4 -5
  243. package/dist/index304.js.map +1 -1
  244. package/dist/index305.js +5 -3
  245. package/dist/index305.js.map +1 -1
  246. package/dist/index306.js +16 -10
  247. package/dist/index306.js.map +1 -1
  248. package/dist/index307.js +9 -7
  249. package/dist/index307.js.map +1 -1
  250. package/dist/index308.js +17 -132
  251. package/dist/index308.js.map +1 -1
  252. package/dist/index309.js +18 -397
  253. package/dist/index309.js.map +1 -1
  254. package/dist/index310.js +13 -5
  255. package/dist/index310.js.map +1 -1
  256. package/dist/index311.js +29 -52
  257. package/dist/index311.js.map +1 -1
  258. package/dist/index312.js +12 -11
  259. package/dist/index312.js.map +1 -1
  260. package/dist/index313.js +25 -27
  261. package/dist/index313.js.map +1 -1
  262. package/dist/index314.js +5 -11
  263. package/dist/index314.js.map +1 -1
  264. package/dist/index317.js +1 -1
  265. package/dist/index318.js +1 -1
  266. package/dist/index321.js +2 -2
  267. package/dist/index322.js +1 -1
  268. package/dist/index325.js +1 -1
  269. package/dist/index330.js +3 -135
  270. package/dist/index330.js.map +1 -1
  271. package/dist/index331.js +134 -16
  272. package/dist/index331.js.map +1 -1
  273. package/dist/index332.js +17 -15
  274. package/dist/index332.js.map +1 -1
  275. package/dist/index333.js +15 -3
  276. package/dist/index333.js.map +1 -1
  277. package/dist/index334.js +2 -2
  278. package/dist/index338.js +24 -8
  279. package/dist/index338.js.map +1 -1
  280. package/dist/index339.js +28 -11
  281. package/dist/index339.js.map +1 -1
  282. package/dist/index340.js +15 -7
  283. package/dist/index340.js.map +1 -1
  284. package/dist/index341.js +8 -13
  285. package/dist/index341.js.map +1 -1
  286. package/dist/index342.js +11 -3
  287. package/dist/index342.js.map +1 -1
  288. package/dist/index343.js +8 -3
  289. package/dist/index343.js.map +1 -1
  290. package/dist/index344.js +12 -16
  291. package/dist/index344.js.map +1 -1
  292. package/dist/index345.js +3 -24
  293. package/dist/index345.js.map +1 -1
  294. package/dist/index346.js +3 -28
  295. package/dist/index346.js.map +1 -1
  296. package/dist/index347.js +50 -15
  297. package/dist/index347.js.map +1 -1
  298. package/dist/index348.js +5 -51
  299. package/dist/index348.js.map +1 -1
  300. package/dist/index349.js +4 -4
  301. package/dist/index351.js +17 -5
  302. package/dist/index351.js.map +1 -1
  303. package/dist/index357.js +1 -1
  304. package/dist/index358.js +5 -5
  305. package/dist/index359.js +1 -1
  306. package/dist/index362.js +4 -5
  307. package/dist/index362.js.map +1 -1
  308. package/dist/index363.js +6 -18
  309. package/dist/index363.js.map +1 -1
  310. package/dist/index364.js +3 -13
  311. package/dist/index364.js.map +1 -1
  312. package/dist/index365.js +12 -4
  313. package/dist/index365.js.map +1 -1
  314. package/dist/index366.js +19 -10
  315. package/dist/index366.js.map +1 -1
  316. package/dist/index367.js +45 -6
  317. package/dist/index367.js.map +1 -1
  318. package/dist/index368.js +18 -3
  319. package/dist/index368.js.map +1 -1
  320. package/dist/index369.js +5 -21
  321. package/dist/index369.js.map +1 -1
  322. package/dist/index370.js +200 -44
  323. package/dist/index370.js.map +1 -1
  324. package/dist/index371.js +73 -17
  325. package/dist/index371.js.map +1 -1
  326. package/dist/index372.js +124 -5
  327. package/dist/index372.js.map +1 -1
  328. package/dist/index373.js +4 -200
  329. package/dist/index373.js.map +1 -1
  330. package/dist/index374.js +18 -74
  331. package/dist/index374.js.map +1 -1
  332. package/dist/index375.js +12 -123
  333. package/dist/index375.js.map +1 -1
  334. package/dist/index379.js +4 -4
  335. package/dist/index380.js +3 -3
  336. package/dist/index382.js +1 -1
  337. package/dist/index384.js +1 -1
  338. package/dist/index385.js +2 -2
  339. package/dist/index388.js +2 -2
  340. package/dist/index389.js +2 -2
  341. package/dist/index392.js +3 -5
  342. package/dist/index392.js.map +1 -1
  343. package/dist/index393.js +3 -5
  344. package/dist/index393.js.map +1 -1
  345. package/dist/index394.js +5 -4
  346. package/dist/index394.js.map +1 -1
  347. package/dist/index395.js +4 -15
  348. package/dist/index395.js.map +1 -1
  349. package/dist/index396.js +4 -9
  350. package/dist/index396.js.map +1 -1
  351. package/dist/index397.js +15 -5
  352. package/dist/index397.js.map +1 -1
  353. package/dist/index398.js +8 -4
  354. package/dist/index398.js.map +1 -1
  355. package/dist/index399.js +5 -545
  356. package/dist/index399.js.map +1 -1
  357. package/dist/index400.js +5 -47
  358. package/dist/index400.js.map +1 -1
  359. package/dist/index401.js +543 -15
  360. package/dist/index401.js.map +1 -1
  361. package/dist/index402.js +47 -6
  362. package/dist/index402.js.map +1 -1
  363. package/dist/index403.js +17 -7
  364. package/dist/index403.js.map +1 -1
  365. package/dist/index404.js +5 -6
  366. package/dist/index404.js.map +1 -1
  367. package/dist/index405.js +7 -7
  368. package/dist/index405.js.map +1 -1
  369. package/dist/index406.js +6 -11
  370. package/dist/index406.js.map +1 -1
  371. package/dist/index407.js +7 -8
  372. package/dist/index407.js.map +1 -1
  373. package/dist/index408.js +11 -12
  374. package/dist/index408.js.map +1 -1
  375. package/dist/index409.js +9 -3
  376. package/dist/index409.js.map +1 -1
  377. package/dist/index410.js +13 -3
  378. package/dist/index410.js.map +1 -1
  379. package/dist/index411.js +3 -15
  380. package/dist/index411.js.map +1 -1
  381. package/dist/index412.js +15 -3
  382. package/dist/index412.js.map +1 -1
  383. package/dist/index413.js +1 -1
  384. package/dist/index414.js +7 -4
  385. package/dist/index414.js.map +1 -1
  386. package/dist/index415.js +2 -56
  387. package/dist/index415.js.map +1 -1
  388. package/dist/index416.js +43 -67
  389. package/dist/index416.js.map +1 -1
  390. package/dist/index417.js +56 -31
  391. package/dist/index417.js.map +1 -1
  392. package/dist/index418.js +8 -9
  393. package/dist/index418.js.map +1 -1
  394. package/dist/index419.js +2 -153
  395. package/dist/index419.js.map +1 -1
  396. package/dist/index420.js +54 -107
  397. package/dist/index420.js.map +1 -1
  398. package/dist/index421.js +55 -7
  399. package/dist/index421.js.map +1 -1
  400. package/dist/index422.js +33 -2
  401. package/dist/index422.js.map +1 -1
  402. package/dist/index423.js +4 -43
  403. package/dist/index423.js.map +1 -1
  404. package/dist/index424.js +55 -55
  405. package/dist/index424.js.map +1 -1
  406. package/dist/index425.js +68 -8
  407. package/dist/index425.js.map +1 -1
  408. package/dist/index426.js +31 -2
  409. package/dist/index426.js.map +1 -1
  410. package/dist/index427.js +9 -55
  411. package/dist/index427.js.map +1 -1
  412. package/dist/index428.js +152 -55
  413. package/dist/index428.js.map +1 -1
  414. package/dist/index429.js +107 -32
  415. package/dist/index429.js.map +1 -1
  416. package/dist/index430.js +2 -16
  417. package/dist/index430.js.map +1 -1
  418. package/dist/index431.js +2 -29
  419. package/dist/index431.js.map +1 -1
  420. package/dist/index432.js +2 -13
  421. package/dist/index432.js.map +1 -1
  422. package/dist/index433.js +2 -7
  423. package/dist/index433.js.map +1 -1
  424. package/dist/index434.js +16 -2
  425. package/dist/index434.js.map +1 -1
  426. package/dist/index435.js +29 -2
  427. package/dist/index435.js.map +1 -1
  428. package/dist/index436.js +13 -2
  429. package/dist/index436.js.map +1 -1
  430. package/dist/index437.js +7 -2
  431. package/dist/index437.js.map +1 -1
  432. package/dist/index49.js +30 -30
  433. package/dist/index50.js +21 -21
  434. package/dist/index51.js +1 -1
  435. package/dist/index52.js +8 -8
  436. package/dist/index53.js +2 -2
  437. package/dist/index55.js +16 -16
  438. package/dist/index56.js +4 -4
  439. package/dist/index57.js +3 -3
  440. package/dist/index58.js +7 -7
  441. package/dist/index59.js +4 -4
  442. package/dist/index60.js +12 -12
  443. package/dist/index61.js +2 -2
  444. package/dist/index62.js +2 -2
  445. package/package.json +1 -1
package/dist/index105.js CHANGED
@@ -1,40 +1,40 @@
1
- import { TZDate as a } from "./index194.js";
2
- import "./index196.js";
3
- import { endOfBroadcastWeek as f } from "./index201.js";
4
- import { startOfBroadcastWeek as d } from "./index202.js";
1
+ import { TZDate as a } from "./index255.js";
2
+ import "./index257.js";
3
+ import { endOfBroadcastWeek as f } from "./index262.js";
4
+ import { startOfBroadcastWeek as d } from "./index263.js";
5
5
  import { enUS as m } from "./index128.js";
6
- import { addDays as v } from "./index203.js";
7
- import { addMonths as p } from "./index204.js";
8
- import { addWeeks as O } from "./index205.js";
9
- import { addYears as c } from "./index206.js";
10
- import { differenceInCalendarDays as u } from "./index207.js";
11
- import { differenceInCalendarMonths as l } from "./index208.js";
12
- import { eachMonthOfInterval as M } from "./index209.js";
13
- import { eachYearOfInterval as k } from "./index210.js";
14
- import { endOfISOWeek as W } from "./index211.js";
15
- import { endOfMonth as D } from "./index212.js";
16
- import { endOfWeek as Y } from "./index213.js";
17
- import { endOfYear as S } from "./index214.js";
18
- import { format as y } from "./index215.js";
19
- import { getISOWeek as g } from "./index216.js";
20
- import { getMonth as I } from "./index217.js";
21
- import { getYear as w } from "./index218.js";
22
- import { getWeek as B } from "./index219.js";
23
- import { isAfter as L } from "./index220.js";
24
- import { isBefore as C } from "./index221.js";
25
- import { isDate as z } from "./index222.js";
26
- import { isSameDay as Z } from "./index223.js";
27
- import { isSameMonth as b } from "./index224.js";
28
- import { isSameYear as A } from "./index225.js";
29
- import { max as F } from "./index226.js";
30
- import { min as N } from "./index227.js";
31
- import { setMonth as _ } from "./index228.js";
32
- import { setYear as j } from "./index229.js";
33
- import { startOfDay as x } from "./index230.js";
34
- import { startOfISOWeek as H } from "./index231.js";
35
- import { startOfMonth as K } from "./index232.js";
36
- import { startOfWeek as T } from "./index233.js";
37
- import { startOfYear as U } from "./index234.js";
6
+ import { addDays as v } from "./index264.js";
7
+ import { addMonths as p } from "./index265.js";
8
+ import { addWeeks as O } from "./index266.js";
9
+ import { addYears as c } from "./index267.js";
10
+ import { differenceInCalendarDays as u } from "./index268.js";
11
+ import { differenceInCalendarMonths as l } from "./index269.js";
12
+ import { eachMonthOfInterval as M } from "./index270.js";
13
+ import { eachYearOfInterval as k } from "./index271.js";
14
+ import { endOfISOWeek as W } from "./index272.js";
15
+ import { endOfMonth as D } from "./index273.js";
16
+ import { endOfWeek as Y } from "./index274.js";
17
+ import { endOfYear as S } from "./index275.js";
18
+ import { format as y } from "./index276.js";
19
+ import { getISOWeek as g } from "./index277.js";
20
+ import { getMonth as I } from "./index278.js";
21
+ import { getYear as w } from "./index279.js";
22
+ import { getWeek as B } from "./index280.js";
23
+ import { isAfter as L } from "./index281.js";
24
+ import { isBefore as C } from "./index282.js";
25
+ import { isDate as z } from "./index283.js";
26
+ import { isSameDay as Z } from "./index284.js";
27
+ import { isSameMonth as b } from "./index285.js";
28
+ import { isSameYear as A } from "./index286.js";
29
+ import { max as F } from "./index287.js";
30
+ import { min as N } from "./index288.js";
31
+ import { setMonth as _ } from "./index289.js";
32
+ import { setYear as j } from "./index290.js";
33
+ import { startOfDay as x } from "./index291.js";
34
+ import { startOfISOWeek as H } from "./index292.js";
35
+ import { startOfMonth as K } from "./index293.js";
36
+ import { startOfWeek as T } from "./index294.js";
37
+ import { startOfYear as U } from "./index295.js";
38
38
  class n {
39
39
  /**
40
40
  * Creates an instance of `DateLib`.
package/dist/index117.js CHANGED
@@ -1,9 +1,9 @@
1
- import { TZDate as c } from "./index194.js";
2
- import "./index196.js";
3
- import { differenceInCalendarMonths as h } from "./index208.js";
4
- import { differenceInCalendarDays as O } from "./index207.js";
5
- import { getISOWeek as k } from "./index216.js";
6
- import { getWeek as w } from "./index219.js";
1
+ import { TZDate as c } from "./index255.js";
2
+ import "./index257.js";
3
+ import { differenceInCalendarMonths as h } from "./index269.js";
4
+ import { differenceInCalendarDays as O } from "./index268.js";
5
+ import { getISOWeek as k } from "./index277.js";
6
+ import { getWeek as w } from "./index280.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/index120.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { useEffect as D, useMemo as S } from "react";
2
- import { getDates as N } from "./index235.js";
3
- import { getDays as w } from "./index236.js";
4
- import { getDisplayMonths as E } from "./index237.js";
5
- import { getInitialMonth as c } from "./index238.js";
6
- import { getMonths as b } from "./index239.js";
7
- import { getNavMonths as q } from "./index240.js";
8
- import { getNextMonth as F } from "./index241.js";
9
- import { getPreviousMonth as P } from "./index242.js";
10
- import { getWeeks as V } from "./index243.js";
11
- import { useControlledValue as Z } from "./index244.js";
2
+ import { getDates as N } from "./index296.js";
3
+ import { getDays as w } from "./index297.js";
4
+ import { getDisplayMonths as E } from "./index298.js";
5
+ import { getInitialMonth as c } from "./index299.js";
6
+ import { getMonths as b } from "./index300.js";
7
+ import { getNavMonths as q } from "./index301.js";
8
+ import { getNextMonth as F } from "./index302.js";
9
+ import { getPreviousMonth as P } from "./index303.js";
10
+ import { getWeeks as V } from "./index304.js";
11
+ import { useControlledValue as Z } from "./index305.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/index122.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useState as a } from "react";
2
- import { calculateFocusTarget as T } from "./index245.js";
3
- import { getNextFocus as v } from "./index246.js";
2
+ import { calculateFocusTarget as T } from "./index306.js";
3
+ import { getNextFocus as v } from "./index307.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/index123.js CHANGED
@@ -1,6 +1,6 @@
1
- import { useMulti as i } from "./index247.js";
2
- import { useRange as o } from "./index248.js";
3
- import { useSingle as s } from "./index249.js";
1
+ import { useMulti as i } from "./index308.js";
2
+ import { useRange as o } from "./index309.js";
3
+ import { useSingle as s } from "./index310.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/index124.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./index196.js";
1
+ import "./index257.js";
2
2
  import { toTimeZone as i } from "./index126.js";
3
3
  import { isDateRange as e, isDateInterval as p, isDateAfterType as y, isDateBeforeType as D } from "./index127.js";
4
4
  function n(o, f, u) {
package/dist/index126.js CHANGED
@@ -1,5 +1,5 @@
1
- import { TZDate as r } from "./index194.js";
2
- import "./index196.js";
1
+ import { TZDate as r } from "./index255.js";
2
+ import "./index257.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/index128.js CHANGED
@@ -1,5 +1,5 @@
1
- import { enUS as f } from "./index363.js";
2
- import { format as n } from "./index215.js";
1
+ import { enUS as f } from "./index374.js";
2
+ import { format as n } from "./index276.js";
3
3
  const s = {
4
4
  ...f,
5
5
  labels: {
package/dist/index167.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import b from "./index321.js";
2
- import y from "./index345.js";
3
- import m from "./index346.js";
4
- import C from "./index347.js";
2
+ import y from "./index338.js";
3
+ import m from "./index339.js";
4
+ import C from "./index340.js";
5
5
  import v from "./index157.js";
6
6
  import { VALID_PUNCTUATION as s, VALID_DIGITS as g, PLUS_CHARS as p } from "./index159.js";
7
7
  function d(i) {
package/dist/index172.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import b from "./index190.js";
2
2
  import * as c from "react";
3
3
  import { createElement as p } from "react";
4
- import { useMergedRefs as E, useMergedRefsN as g } from "./index255.js";
5
- import { getReactElementRef as y } from "./index338.js";
6
- import { mergeObjects as R } from "./index339.js";
7
- import { warn as v } from "./index340.js";
8
- import { EMPTY_OBJECT as f } from "./index264.js";
9
- import { getStateAttributesProps as w } from "./index341.js";
10
- import { resolveClassName as C } from "./index342.js";
11
- import { resolveStyle as T } from "./index343.js";
12
- import { mergeClassNames as _, mergeProps as h, mergePropsN as k } from "./index282.js";
4
+ import { useMergedRefs as E, useMergedRefsN as g } from "./index195.js";
5
+ import { getReactElementRef as y } from "./index341.js";
6
+ import { mergeObjects as R } from "./index342.js";
7
+ import { warn as v } from "./index343.js";
8
+ import { EMPTY_OBJECT as f } from "./index204.js";
9
+ import { getStateAttributesProps as w } from "./index344.js";
10
+ import { resolveClassName as C } from "./index345.js";
11
+ import { resolveStyle as T } from "./index346.js";
12
+ import { mergeClassNames as _, mergeProps as h, mergePropsN as k } from "./index222.js";
13
13
  function q(r, e, t = {}) {
14
14
  const a = e.render, s = I(e, t);
15
15
  if (t.enabled === !1)
package/dist/index175.js CHANGED
@@ -1,4 +1,4 @@
1
- import { EMPTY_OBJECT as l } from "./index264.js";
1
+ import { EMPTY_OBJECT as l } from "./index204.js";
2
2
  function u(a, n, o, s) {
3
3
  let e = !1, t = !1;
4
4
  const r = l;
package/dist/index176.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as l from "react";
2
- import { isHTMLElement as M } from "./index308.js";
3
- import { useStableCallback as H } from "./index262.js";
2
+ import { isHTMLElement as M } from "./index248.js";
3
+ import { useStableCallback as H } from "./index202.js";
4
4
  import { error as y } from "./index352.js";
5
5
  import { SafeReact as B } from "./index353.js";
6
- import { useIsoLayoutEffect as A } from "./index261.js";
6
+ import { useIsoLayoutEffect as A } from "./index201.js";
7
7
  import { useCompositeRootContext as L } from "./index354.js";
8
8
  import { useFocusableWhenDisabled as W } from "./index355.js";
9
- import { mergeProps as $, makeEventPreventable as x } from "./index282.js";
9
+ import { mergeProps as $, makeEventPreventable as x } from "./index222.js";
10
10
  function X(a = {}) {
11
11
  const {
12
12
  disabled: o = !1,
package/dist/index178.js CHANGED
@@ -1,4 +1,4 @@
1
- import { useId as r } from "./index344.js";
1
+ import { useId as r } from "./index351.js";
2
2
  function i(e) {
3
3
  return r(e, "base-ui");
4
4
  }
package/dist/index182.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as l from "react";
2
- import { useStableCallback as m } from "./index262.js";
3
- import { useAnimationsFinished as f } from "./index348.js";
2
+ import { useStableCallback as m } from "./index202.js";
3
+ import { useAnimationsFinished as f } from "./index347.js";
4
4
  function c(a) {
5
5
  const {
6
6
  enabled: e = !0,
package/dist/index184.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as a from "react";
2
2
  import "react-dom";
3
- import { EMPTY_OBJECT as f } from "./index264.js";
4
- import { useId as T } from "./index344.js";
5
- import { useStableCallback as p } from "./index262.js";
6
- import { useIsoLayoutEffect as s } from "./index261.js";
3
+ import { EMPTY_OBJECT as f } from "./index204.js";
4
+ import { useId as T } from "./index351.js";
5
+ import { useStableCallback as p } from "./index202.js";
6
+ import { useIsoLayoutEffect as s } from "./index201.js";
7
7
  import { FOCUSABLE_ATTRIBUTE as v } from "./index390.js";
8
8
  import { useFloatingParentNodeId as C } from "./index386.js";
9
9
  import { useSyncedFloatingRootContext as E } from "./index389.js";
10
- import { useTransitionStatus as I } from "./index269.js";
10
+ import { useTransitionStatus as I } from "./index209.js";
11
11
  import { useOpenChangeComplete as O } from "./index182.js";
12
12
  import { createChangeEventDetails as S } from "./index175.js";
13
13
  import { none as P } from "./index177.js";
package/dist/index185.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import * as E from "react";
2
- import { isHTMLElement as q, getNodeName as Se, getWindow as Be } from "./index308.js";
3
- import { addEventListener as I } from "./index300.js";
2
+ import { isHTMLElement as q, getNodeName as Se, getWindow as Be } from "./index248.js";
3
+ import { addEventListener as I } from "./index240.js";
4
4
  import { mergeCleanups as ge } from "./index378.js";
5
- import { useMergedRefs as Ee } from "./index255.js";
6
- import { useValueAsRef as $ } from "./index263.js";
7
- import { useStableCallback as oe } from "./index262.js";
8
- import { useIsoLayoutEffect as W } from "./index261.js";
9
- import { useTimeout as Fe } from "./index285.js";
10
- import { useAnimationFrame as Ue } from "./index301.js";
11
- import { ownerDocument as O } from "./index284.js";
5
+ import { useMergedRefs as Ee } from "./index195.js";
6
+ import { useValueAsRef as $ } from "./index203.js";
7
+ import { useStableCallback as oe } from "./index202.js";
8
+ import { useIsoLayoutEffect as W } from "./index201.js";
9
+ import { useTimeout as Fe } from "./index225.js";
10
+ import { useAnimationFrame as Ue } from "./index241.js";
11
+ import { ownerDocument as O } from "./index224.js";
12
12
  import { FocusGuard as Te } from "./index379.js";
13
- import { isTypeableCombobox as xe, getFloatingFocusElement as ye, isTypeableElement as $e } from "./index290.js";
14
- import { isVirtualClick as ze, isVirtualPointerEvent as Je, stopEvent as Qe } from "./index313.js";
13
+ import { isTypeableCombobox as xe, getFloatingFocusElement as ye, isTypeableElement as $e } from "./index230.js";
14
+ import { isVirtualClick as ze, isVirtualPointerEvent as Je, stopEvent as Qe } from "./index253.js";
15
15
  import { isOutsideEvent as Ie, getNextTabbable as Xe, getPreviousTabbable as Ye, tabbable as De, isTabbable as ie, focusable as Ze } from "./index380.js";
16
16
  import { getNodeAncestors as ve, getNodeChildren as he } from "./index381.js";
17
17
  import { isElementVisible as et } from "./index382.js";
@@ -24,9 +24,9 @@ import { useFloatingTree as rt } from "./index386.js";
24
24
  import { CLICK_TRIGGER_IDENTIFIER as ot } from "./index191.js";
25
25
  import { resolveRef as w } from "./index387.js";
26
26
  import { j as ue } from "./index30.js";
27
- import { activeElement as N, contains as c, getTarget as z } from "./index291.js";
27
+ import { activeElement as N, contains as c, getTarget as z } from "./index231.js";
28
28
  import { triggerHover as st, outsidePress as ut, focusOut as it } from "./index177.js";
29
- import { webkit as ct } from "./index310.js";
29
+ import { webkit as ct } from "./index250.js";
30
30
  function ft(n, D) {
31
31
  const M = Be(z(n));
32
32
  return n instanceof M.KeyboardEvent ? "keyboard" : n instanceof M.FocusEvent ? D || "keyboard" : "pointerType" in n ? n.pointerType || "keyboard" : "touches" in n ? "touch" : n instanceof M.MouseEvent ? D || (n.detail === 0 ? "keyboard" : "mouse") : "";
package/dist/index186.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isReactVersionAtLeast as r } from "./index351.js";
1
+ import { isReactVersionAtLeast as r } from "./index348.js";
2
2
  function n(e) {
3
3
  return r(19) ? e : e ? "true" : void 0;
4
4
  }
package/dist/index188.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as o from "react";
2
2
  import * as j from "react-dom";
3
- import { isNode as w } from "./index308.js";
4
- import { addEventListener as S } from "./index300.js";
3
+ import { isNode as w } from "./index248.js";
4
+ import { addEventListener as S } from "./index240.js";
5
5
  import { mergeCleanups as G } from "./index378.js";
6
- import { useId as _ } from "./index344.js";
7
- import { useIsoLayoutEffect as h } from "./index261.js";
8
- import { useStableCallback as L } from "./index262.js";
9
- import { EMPTY_OBJECT as k } from "./index264.js";
6
+ import { useId as _ } from "./index351.js";
7
+ import { useIsoLayoutEffect as h } from "./index201.js";
8
+ import { useStableCallback as L } from "./index202.js";
9
+ import { EMPTY_OBJECT as k } from "./index204.js";
10
10
  import { FocusGuard as T } from "./index379.js";
11
11
  import { enableFocusInside as I, isOutsideEvent as E, getPreviousTabbable as q, getNextTabbable as A, disableFocusInside as B } from "./index380.js";
12
12
  import { createChangeEventDetails as H } from "./index175.js";
package/dist/index189.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as w from "react";
2
- import { useOnFirstRender as y } from "./index257.js";
2
+ import { useOnFirstRender as y } from "./index197.js";
3
3
  import { useDialogRoot as T, DialogInteractions as k } from "./index349.js";
4
4
  import { useDialogRootContext as V, IsDrawerContext as A, DialogRootContext as B } from "./index171.js";
5
5
  import { DialogStore as E } from "./index350.js";
package/dist/index192.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as i from "react";
2
- import { useStableCallback as u } from "./index262.js";
2
+ import { useStableCallback as u } from "./index202.js";
3
3
  import { useEnhancedClickHandler as c } from "./index356.js";
4
- import { useValueChanged as l } from "./index275.js";
4
+ import { useValueChanged as l } from "./index215.js";
5
5
  import { ios as a } from "./index357.js";
6
6
  function m(e, t) {
7
7
  const n = u((p, s) => {
package/dist/index193.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as p from "react";
2
- import { useAnimationFrame as v } from "./index301.js";
3
- import { useTimeout as P } from "./index285.js";
4
- import { EMPTY_OBJECT as b } from "./index264.js";
5
- import { isTypeableElement as x } from "./index290.js";
6
- import { isMouseLikePointerType as E } from "./index313.js";
2
+ import { useAnimationFrame as v } from "./index241.js";
3
+ import { useTimeout as P } from "./index225.js";
4
+ import { EMPTY_OBJECT as b } from "./index204.js";
5
+ import { isTypeableElement as x } from "./index230.js";
6
+ import { isMouseLikePointerType as E } from "./index253.js";
7
7
  import { createChangeEventDetails as I } from "./index175.js";
8
- import { getTarget as S } from "./index291.js";
8
+ import { getTarget as S } from "./index231.js";
9
9
  import { triggerPress as q } from "./index177.js";
10
10
  function Y(s, M = {}) {
11
11
  const {
package/dist/index194.js CHANGED
@@ -1,62 +1,23 @@
1
- import { tzName as r } from "./index195.js";
2
- import { TZDateMini as s } from "./index196.js";
3
- class o extends s {
4
- //#region static
5
- static tz(t, ...e) {
6
- return e.length ? new o(...e, t) : new o(Date.now(), t);
7
- }
8
- //#endregion
9
- //#region representation
10
- toISOString() {
11
- const [t, e, n] = this.tzComponents(), i = `${t}${e}:${n}`;
12
- return this.internal.toISOString().slice(0, -1) + i;
13
- }
14
- toString() {
15
- return `${this.toDateString()} ${this.toTimeString()}`;
16
- }
17
- toDateString() {
18
- const [t, e, n, i] = this.internal.toUTCString().split(" ");
19
- return `${t?.slice(0, -1)} ${n} ${e} ${i}`;
20
- }
21
- toTimeString() {
22
- const t = this.internal.toUTCString().split(" ")[4], [e, n, i] = this.tzComponents();
23
- return `${t} GMT${e}${n}${i} (${r(this.timeZone, this)})`;
24
- }
25
- toLocaleString(t, e) {
26
- return Date.prototype.toLocaleString.call(this, t, {
27
- ...e,
28
- timeZone: e?.timeZone || this.timeZone
29
- });
30
- }
31
- toLocaleDateString(t, e) {
32
- return Date.prototype.toLocaleDateString.call(this, t, {
33
- ...e,
34
- timeZone: e?.timeZone || this.timeZone
35
- });
36
- }
37
- toLocaleTimeString(t, e) {
38
- return Date.prototype.toLocaleTimeString.call(this, t, {
39
- ...e,
40
- timeZone: e?.timeZone || this.timeZone
41
- });
42
- }
43
- //#endregion
44
- //#region private
45
- tzComponents() {
46
- const t = this.getTimezoneOffset(), e = t > 0 ? "-" : "+", n = String(Math.floor(Math.abs(t) / 60)).padStart(2, "0"), i = String(Math.abs(t) % 60).padStart(2, "0");
47
- return [e, n, i];
48
- }
49
- //#endregion
50
- withTimeZone(t) {
51
- return new o(+this, t);
52
- }
53
- //#region date-fns integration
54
- [/* @__PURE__ */ Symbol.for("constructDateFrom")](t) {
55
- return new o(+new Date(t), this.timeZone);
56
- }
57
- //#endregion
58
- }
1
+ const i = {
2
+ clipPath: "inset(50%)",
3
+ overflow: "hidden",
4
+ whiteSpace: "nowrap",
5
+ border: 0,
6
+ padding: 0,
7
+ width: 1,
8
+ height: 1,
9
+ margin: -1
10
+ }, e = {
11
+ ...i,
12
+ position: "fixed",
13
+ top: 0,
14
+ left: 0
15
+ }, t = {
16
+ ...i,
17
+ position: "absolute"
18
+ };
59
19
  export {
60
- o as TZDate
20
+ e as visuallyHidden,
21
+ t as visuallyHiddenInput
61
22
  };
62
23
  //# sourceMappingURL=index194.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index194.js","sources":["../../../node_modules/@date-fns/tz/date/index.js"],"sourcesContent":["import { tzName } from \"../tzName/index.js\";\nimport { TZDateMini } from \"./mini.js\";\nexport class TZDate extends TZDateMini {\n //#region static\n\n static tz(tz, ...args) {\n return args.length ? new TZDate(...args, tz) : new TZDate(Date.now(), tz);\n }\n\n //#endregion\n\n //#region representation\n\n toISOString() {\n const [sign, hours, minutes] = this.tzComponents();\n const tz = `${sign}${hours}:${minutes}`;\n return this.internal.toISOString().slice(0, -1) + tz;\n }\n toString() {\n // \"Tue Aug 13 2024 07:50:19 GMT+0800 (Singapore Standard Time)\";\n return `${this.toDateString()} ${this.toTimeString()}`;\n }\n toDateString() {\n // toUTCString returns RFC 7231 (\"Mon, 12 Aug 2024 23:36:08 GMT\")\n const [day, date, month, year] = this.internal.toUTCString().split(\" \");\n // \"Tue Aug 13 2024\"\n return `${day?.slice(0, -1) /* Remove \",\" */} ${month} ${date} ${year}`;\n }\n toTimeString() {\n // toUTCString returns RFC 7231 (\"Mon, 12 Aug 2024 23:36:08 GMT\")\n const time = this.internal.toUTCString().split(\" \")[4];\n const [sign, hours, minutes] = this.tzComponents();\n // \"07:42:23 GMT+0800 (Singapore Standard Time)\"\n return `${time} GMT${sign}${hours}${minutes} (${tzName(this.timeZone, this)})`;\n }\n toLocaleString(locales, options) {\n return Date.prototype.toLocaleString.call(this, locales, {\n ...options,\n timeZone: options?.timeZone || this.timeZone\n });\n }\n toLocaleDateString(locales, options) {\n return Date.prototype.toLocaleDateString.call(this, locales, {\n ...options,\n timeZone: options?.timeZone || this.timeZone\n });\n }\n toLocaleTimeString(locales, options) {\n return Date.prototype.toLocaleTimeString.call(this, locales, {\n ...options,\n timeZone: options?.timeZone || this.timeZone\n });\n }\n\n //#endregion\n\n //#region private\n\n tzComponents() {\n const offset = this.getTimezoneOffset();\n const sign = offset > 0 ? \"-\" : \"+\";\n const hours = String(Math.floor(Math.abs(offset) / 60)).padStart(2, \"0\");\n const minutes = String(Math.abs(offset) % 60).padStart(2, \"0\");\n return [sign, hours, minutes];\n }\n\n //#endregion\n\n withTimeZone(timeZone) {\n return new TZDate(+this, timeZone);\n }\n\n //#region date-fns integration\n\n [Symbol.for(\"constructDateFrom\")](date) {\n return new TZDate(+new Date(date), this.timeZone);\n }\n\n //#endregion\n}"],"names":["TZDate","TZDateMini","tz","args","sign","hours","minutes","day","date","month","year","time","tzName","locales","options","offset","timeZone"],"mappings":";;AAEO,MAAMA,UAAeC,EAAW;AAAA;AAAA,EAGrC,OAAO,GAAGC,MAAOC,GAAM;AACrB,WAAOA,EAAK,SAAS,IAAIH,EAAO,GAAGG,GAAMD,CAAE,IAAI,IAAIF,EAAO,KAAK,IAAG,GAAIE,CAAE;AAAA,EAC1E;AAAA;AAAA;AAAA,EAMA,cAAc;AACZ,UAAM,CAACE,GAAMC,GAAOC,CAAO,IAAI,KAAK,aAAY,GAC1CJ,IAAK,GAAGE,CAAI,GAAGC,CAAK,IAAIC,CAAO;AACrC,WAAO,KAAK,SAAS,YAAW,EAAG,MAAM,GAAG,EAAE,IAAIJ;AAAA,EACpD;AAAA,EACA,WAAW;AAET,WAAO,GAAG,KAAK,aAAY,CAAE,IAAI,KAAK,aAAY,CAAE;AAAA,EACtD;AAAA,EACA,eAAe;AAEb,UAAM,CAACK,GAAKC,GAAMC,GAAOC,CAAI,IAAI,KAAK,SAAS,cAAc,MAAM,GAAG;AAEtE,WAAO,GAAGH,GAAK,MAAM,GAAG,EAAE,CAAC,IAAqBE,CAAK,IAAID,CAAI,IAAIE,CAAI;AAAA,EACvE;AAAA,EACA,eAAe;AAEb,UAAMC,IAAO,KAAK,SAAS,YAAW,EAAG,MAAM,GAAG,EAAE,CAAC,GAC/C,CAACP,GAAMC,GAAOC,CAAO,IAAI,KAAK,aAAY;AAEhD,WAAO,GAAGK,CAAI,OAAOP,CAAI,GAAGC,CAAK,GAAGC,CAAO,KAAKM,EAAO,KAAK,UAAU,IAAI,CAAC;AAAA,EAC7E;AAAA,EACA,eAAeC,GAASC,GAAS;AAC/B,WAAO,KAAK,UAAU,eAAe,KAAK,MAAMD,GAAS;AAAA,MACvD,GAAGC;AAAA,MACH,UAAUA,GAAS,YAAY,KAAK;AAAA,IAC1C,CAAK;AAAA,EACH;AAAA,EACA,mBAAmBD,GAASC,GAAS;AACnC,WAAO,KAAK,UAAU,mBAAmB,KAAK,MAAMD,GAAS;AAAA,MAC3D,GAAGC;AAAA,MACH,UAAUA,GAAS,YAAY,KAAK;AAAA,IAC1C,CAAK;AAAA,EACH;AAAA,EACA,mBAAmBD,GAASC,GAAS;AACnC,WAAO,KAAK,UAAU,mBAAmB,KAAK,MAAMD,GAAS;AAAA,MAC3D,GAAGC;AAAA,MACH,UAAUA,GAAS,YAAY,KAAK;AAAA,IAC1C,CAAK;AAAA,EACH;AAAA;AAAA;AAAA,EAMA,eAAe;AACb,UAAMC,IAAS,KAAK,kBAAiB,GAC/BX,IAAOW,IAAS,IAAI,MAAM,KAC1BV,IAAQ,OAAO,KAAK,MAAM,KAAK,IAAIU,CAAM,IAAI,EAAE,CAAC,EAAE,SAAS,GAAG,GAAG,GACjET,IAAU,OAAO,KAAK,IAAIS,CAAM,IAAI,EAAE,EAAE,SAAS,GAAG,GAAG;AAC7D,WAAO,CAACX,GAAMC,GAAOC,CAAO;AAAA,EAC9B;AAAA;AAAA,EAIA,aAAaU,GAAU;AACrB,WAAO,IAAIhB,EAAO,CAAC,MAAMgB,CAAQ;AAAA,EACnC;AAAA;AAAA,EAIA,CAAC,uBAAO,IAAI,mBAAmB,CAAC,EAAER,GAAM;AACtC,WAAO,IAAIR,EAAO,CAAC,IAAI,KAAKQ,CAAI,GAAG,KAAK,QAAQ;AAAA,EAClD;AAAA;AAGF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index194.js","sources":["../../../node_modules/@base-ui/utils/visuallyHidden.mjs"],"sourcesContent":["const visuallyHiddenBase = {\n clipPath: 'inset(50%)',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n border: 0,\n padding: 0,\n width: 1,\n height: 1,\n margin: -1\n};\nexport const visuallyHidden = {\n ...visuallyHiddenBase,\n position: 'fixed',\n top: 0,\n left: 0\n};\nexport const visuallyHiddenInput = {\n ...visuallyHiddenBase,\n position: 'absolute'\n};"],"names":["visuallyHiddenBase","visuallyHidden","visuallyHiddenInput"],"mappings":"AAAA,MAAMA,IAAqB;AAAA,EACzB,UAAU;AAAA,EACV,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AACV,GACaC,IAAiB;AAAA,EAC5B,GAAGD;AAAA,EACH,UAAU;AAAA,EACV,KAAK;AAAA,EACL,MAAM;AACR,GACaE,IAAsB;AAAA,EACjC,GAAGF;AAAA,EACH,UAAU;AACZ;","x_google_ignoreList":[0]}
package/dist/index195.js CHANGED
@@ -1,12 +1,70 @@
1
- function o(e, n, t = "long") {
2
- return new Intl.DateTimeFormat("en-US", {
3
- // Enforces engine to render the time. Without the option JavaScriptCore omits it.
4
- hour: "numeric",
5
- timeZone: e,
6
- timeZoneName: t
7
- }).format(n).split(/\s/g).slice(2).join(" ");
1
+ import { useRefWithInit as r } from "./index196.js";
2
+ function b(n, e, c, t) {
3
+ const l = r(i).current;
4
+ return s(l, n, e, c, t) && o(l, [n, e, c, t]), l.callback;
5
+ }
6
+ function h(n) {
7
+ const e = r(i).current;
8
+ return f(e, n) && o(e, n), e.callback;
9
+ }
10
+ function i() {
11
+ return {
12
+ callback: null,
13
+ cleanup: null,
14
+ refs: []
15
+ };
16
+ }
17
+ function s(n, e, c, t, l) {
18
+ return n.refs[0] !== e || n.refs[1] !== c || n.refs[2] !== t || n.refs[3] !== l;
19
+ }
20
+ function f(n, e) {
21
+ return n.refs.length !== e.length || n.refs.some((c, t) => c !== e[t]);
22
+ }
23
+ function o(n, e) {
24
+ if (n.refs = e, e.every((c) => c == null)) {
25
+ n.callback = null;
26
+ return;
27
+ }
28
+ n.callback = (c) => {
29
+ if (n.cleanup && (n.cleanup(), n.cleanup = null), c != null) {
30
+ const t = Array(e.length).fill(null);
31
+ for (let l = 0; l < e.length; l += 1) {
32
+ const u = e[l];
33
+ if (u != null)
34
+ switch (typeof u) {
35
+ case "function": {
36
+ const a = u(c);
37
+ typeof a == "function" && (t[l] = a);
38
+ break;
39
+ }
40
+ case "object": {
41
+ u.current = c;
42
+ break;
43
+ }
44
+ }
45
+ }
46
+ n.cleanup = () => {
47
+ for (let l = 0; l < e.length; l += 1) {
48
+ const u = e[l];
49
+ if (u != null)
50
+ switch (typeof u) {
51
+ case "function": {
52
+ const a = t[l];
53
+ typeof a == "function" ? a() : u(null);
54
+ break;
55
+ }
56
+ case "object": {
57
+ u.current = null;
58
+ break;
59
+ }
60
+ }
61
+ }
62
+ };
63
+ }
64
+ };
8
65
  }
9
66
  export {
10
- o as tzName
67
+ b as useMergedRefs,
68
+ h as useMergedRefsN
11
69
  };
12
70
  //# sourceMappingURL=index195.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index195.js","sources":["../../../node_modules/@date-fns/tz/tzName/index.js"],"sourcesContent":["/**\n * Time zone name format.\n */\n\n/**\n * The function returns the time zone name for the given date in the specified\n * time zone.\n *\n * It uses the `Intl.DateTimeFormat` API and by default outputs the time zone\n * name in a long format, e.g. \"Pacific Standard Time\" or\n * \"Singapore Standard Time\".\n *\n * It is possible to specify the format as the third argument using one of the following options\n *\n * - \"short\": e.g. \"EDT\" or \"GMT+8\".\n * - \"long\": e.g. \"Eastern Daylight Time\".\n * - \"shortGeneric\": e.g. \"ET\" or \"Singapore Time\".\n * - \"longGeneric\": e.g. \"Eastern Time\" or \"Singapore Standard Time\".\n *\n * These options correspond to TR35 tokens `z..zzz`, `zzzz`, `v`, and `vvvv` respectively: https://www.unicode.org/reports/tr35/tr35-dates.html#dfst-zone\n *\n * @param timeZone - Time zone name (IANA or UTC offset)\n * @param date - Date object to get the time zone name for\n * @param format - Optional format of the time zone name. Defaults to \"long\". Can be \"short\", \"long\", \"shortGeneric\", or \"longGeneric\".\n *\n * @returns Time zone name (e.g. \"Singapore Standard Time\")\n */\nexport function tzName(timeZone, date, format = \"long\") {\n return new Intl.DateTimeFormat(\"en-US\", {\n // Enforces engine to render the time. Without the option JavaScriptCore omits it.\n hour: \"numeric\",\n timeZone: timeZone,\n timeZoneName: format\n }).format(date).split(/\\s/g) // Format.JS uses non-breaking spaces\n .slice(2) // Skip the hour and AM/PM parts\n .join(\" \");\n}"],"names":["tzName","timeZone","date","format"],"mappings":"AA2BO,SAASA,EAAOC,GAAUC,GAAMC,IAAS,QAAQ;AACtD,SAAO,IAAI,KAAK,eAAe,SAAS;AAAA;AAAA,IAEtC,MAAM;AAAA,IACN,UAAUF;AAAA,IACV,cAAcE;AAAA,EAClB,CAAG,EAAE,OAAOD,CAAI,EAAE,MAAM,KAAK,EAC1B,MAAM,CAAC,EACP,KAAK,GAAG;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index195.js","sources":["../../../node_modules/@base-ui/utils/useMergedRefs.mjs"],"sourcesContent":["import { useRefWithInit } from \"./useRefWithInit.mjs\";\n\n/**\n * Merges refs into a single memoized callback ref or `null`.\n * This makes sure multiple refs are updated together and have the same value.\n *\n * This function accepts up to four refs. If you need to merge more, or have an unspecified number of refs to merge,\n * use `useMergedRefsN` instead.\n */\n\nexport function useMergedRefs(a, b, c, d) {\n const forkRef = useRefWithInit(createForkRef).current;\n if (didChange(forkRef, a, b, c, d)) {\n update(forkRef, [a, b, c, d]);\n }\n return forkRef.callback;\n}\n\n/**\n * Merges an array of refs into a single memoized callback ref or `null`.\n *\n * If you need to merge a fixed number (up to four) of refs, use `useMergedRefs` instead for better performance.\n */\nexport function useMergedRefsN(refs) {\n const forkRef = useRefWithInit(createForkRef).current;\n if (didChangeN(forkRef, refs)) {\n update(forkRef, refs);\n }\n return forkRef.callback;\n}\nfunction createForkRef() {\n return {\n callback: null,\n cleanup: null,\n refs: []\n };\n}\nfunction didChange(forkRef, a, b, c, d) {\n // prettier-ignore\n return forkRef.refs[0] !== a || forkRef.refs[1] !== b || forkRef.refs[2] !== c || forkRef.refs[3] !== d;\n}\nfunction didChangeN(forkRef, newRefs) {\n return forkRef.refs.length !== newRefs.length || forkRef.refs.some((ref, index) => ref !== newRefs[index]);\n}\nfunction update(forkRef, refs) {\n forkRef.refs = refs;\n if (refs.every(ref => ref == null)) {\n forkRef.callback = null;\n return;\n }\n forkRef.callback = instance => {\n if (forkRef.cleanup) {\n forkRef.cleanup();\n forkRef.cleanup = null;\n }\n if (instance != null) {\n const cleanupCallbacks = Array(refs.length).fill(null);\n for (let i = 0; i < refs.length; i += 1) {\n const ref = refs[i];\n if (ref == null) {\n continue;\n }\n switch (typeof ref) {\n case 'function':\n {\n const refCleanup = ref(instance);\n if (typeof refCleanup === 'function') {\n cleanupCallbacks[i] = refCleanup;\n }\n break;\n }\n case 'object':\n {\n ref.current = instance;\n break;\n }\n default:\n }\n }\n forkRef.cleanup = () => {\n for (let i = 0; i < refs.length; i += 1) {\n const ref = refs[i];\n if (ref == null) {\n continue;\n }\n switch (typeof ref) {\n case 'function':\n {\n const cleanupCallback = cleanupCallbacks[i];\n if (typeof cleanupCallback === 'function') {\n cleanupCallback();\n } else {\n ref(null);\n }\n break;\n }\n case 'object':\n {\n ref.current = null;\n break;\n }\n default:\n }\n }\n };\n }\n };\n}"],"names":["useMergedRefs","a","b","d","forkRef","useRefWithInit","createForkRef","didChange","update","useMergedRefsN","refs","didChangeN","c","newRefs","ref","index","instance","cleanupCallbacks","i","refCleanup","cleanupCallback"],"mappings":";AAUO,SAASA,EAAcC,GAAGC,GAAG,GAAGC,GAAG;AACxC,QAAMC,IAAUC,EAAeC,CAAa,EAAE;AAC9C,SAAIC,EAAUH,GAASH,GAAGC,GAAG,GAAGC,CAAC,KAC/BK,EAAOJ,GAAS,CAACH,GAAGC,GAAG,GAAGC,CAAC,CAAC,GAEvBC,EAAQ;AACjB;AAOO,SAASK,EAAeC,GAAM;AACnC,QAAMN,IAAUC,EAAeC,CAAa,EAAE;AAC9C,SAAIK,EAAWP,GAASM,CAAI,KAC1BF,EAAOJ,GAASM,CAAI,GAEfN,EAAQ;AACjB;AACA,SAASE,IAAgB;AACvB,SAAO;AAAA,IACL,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM,CAAA;AAAA,EACV;AACA;AACA,SAASC,EAAUH,GAASH,GAAGC,GAAGU,GAAGT,GAAG;AAEtC,SAAOC,EAAQ,KAAK,CAAC,MAAMH,KAAKG,EAAQ,KAAK,CAAC,MAAMF,KAAKE,EAAQ,KAAK,CAAC,MAAMQ,KAAKR,EAAQ,KAAK,CAAC,MAAMD;AACxG;AACA,SAASQ,EAAWP,GAASS,GAAS;AACpC,SAAOT,EAAQ,KAAK,WAAWS,EAAQ,UAAUT,EAAQ,KAAK,KAAK,CAACU,GAAKC,MAAUD,MAAQD,EAAQE,CAAK,CAAC;AAC3G;AACA,SAASP,EAAOJ,GAASM,GAAM;AAE7B,MADAN,EAAQ,OAAOM,GACXA,EAAK,MAAM,CAAAI,MAAOA,KAAO,IAAI,GAAG;AAClC,IAAAV,EAAQ,WAAW;AACnB;AAAA,EACF;AACA,EAAAA,EAAQ,WAAW,CAAAY,MAAY;AAK7B,QAJIZ,EAAQ,YACVA,EAAQ,QAAO,GACfA,EAAQ,UAAU,OAEhBY,KAAY,MAAM;AACpB,YAAMC,IAAmB,MAAMP,EAAK,MAAM,EAAE,KAAK,IAAI;AACrD,eAASQ,IAAI,GAAGA,IAAIR,EAAK,QAAQQ,KAAK,GAAG;AACvC,cAAMJ,IAAMJ,EAAKQ,CAAC;AAClB,YAAIJ,KAAO;AAGX,kBAAQ,OAAOA,GAAG;AAAA,YAChB,KAAK,YACH;AACE,oBAAMK,IAAaL,EAAIE,CAAQ;AAC/B,cAAI,OAAOG,KAAe,eACxBF,EAAiBC,CAAC,IAAIC;AAExB;AAAA,YACF;AAAA,YACF,KAAK,UACH;AACE,cAAAL,EAAI,UAAUE;AACd;AAAA,YACF;AAAA,UAEZ;AAAA,MACM;AACA,MAAAZ,EAAQ,UAAU,MAAM;AACtB,iBAASc,IAAI,GAAGA,IAAIR,EAAK,QAAQQ,KAAK,GAAG;AACvC,gBAAMJ,IAAMJ,EAAKQ,CAAC;AAClB,cAAIJ,KAAO;AAGX,oBAAQ,OAAOA,GAAG;AAAA,cAChB,KAAK,YACH;AACE,sBAAMM,IAAkBH,EAAiBC,CAAC;AAC1C,gBAAI,OAAOE,KAAoB,aAC7BA,EAAe,IAEfN,EAAI,IAAI;AAEV;AAAA,cACF;AAAA,cACF,KAAK,UACH;AACE,gBAAAA,EAAI,UAAU;AACd;AAAA,cACF;AAAA,YAEd;AAAA,QACQ;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","x_google_ignoreList":[0]}